Update my e-mail address for my new employer.
[official-gcc.git] / libstdc++-v3 / configure
blob5a960cd2561afe03e66eb87e57f9385939b06a10
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 TLS support.
40952 # Check whether --enable-tls or --disable-tls was given.
40953 if test "${enable_tls+set}" = set; then
40954 enableval="$enable_tls"
40956 case "$enableval" in
40957 yes|no) ;;
40958 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40959 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40960 { (exit 1); exit 1; }; } ;;
40961 esac
40963 else
40964 enable_tls=yes
40967 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40968 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40969 if test "${gcc_cv_have_tls+set}" = set; then
40970 echo $ECHO_N "(cached) $ECHO_C" >&6
40971 else
40973 if test "$cross_compiling" = yes; then
40974 if test x$gcc_no_link = xyes; then
40975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40977 { (exit 1); exit 1; }; }
40979 cat >conftest.$ac_ext <<_ACEOF
40980 __thread int a; int b; int main() { return a = b; }
40981 _ACEOF
40982 rm -f conftest.$ac_objext conftest$ac_exeext
40983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40984 (eval $ac_link) 2>conftest.er1
40985 ac_status=$?
40986 grep -v '^ *+' conftest.er1 >conftest.err
40987 rm -f conftest.er1
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } &&
40991 { ac_try='test -z "$ac_c_werror_flag"
40992 || test ! -s conftest.err'
40993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40994 (eval $ac_try) 2>&5
40995 ac_status=$?
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); }; } &&
40998 { ac_try='test -s conftest$ac_exeext'
40999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41000 (eval $ac_try) 2>&5
41001 ac_status=$?
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); }; }; then
41004 gcc_cv_have_tls=yes
41005 else
41006 echo "$as_me: failed program was:" >&5
41007 sed 's/^/| /' conftest.$ac_ext >&5
41009 gcc_cv_have_tls=no
41011 rm -f conftest.err conftest.$ac_objext \
41012 conftest$ac_exeext conftest.$ac_ext
41015 else
41016 cat >conftest.$ac_ext <<_ACEOF
41017 __thread int a; int b; int main() { return a = b; }
41018 _ACEOF
41019 rm -f conftest$ac_exeext
41020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41021 (eval $ac_link) 2>&5
41022 ac_status=$?
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41026 (eval $ac_try) 2>&5
41027 ac_status=$?
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); }; }; then
41030 chktls_save_LDFLAGS="$LDFLAGS"
41031 LDFLAGS="-static $LDFLAGS"
41032 if test x$gcc_no_link = xyes; then
41033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41035 { (exit 1); exit 1; }; }
41037 cat >conftest.$ac_ext <<_ACEOF
41038 int main() { return 0; }
41039 _ACEOF
41040 rm -f conftest.$ac_objext conftest$ac_exeext
41041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41042 (eval $ac_link) 2>conftest.er1
41043 ac_status=$?
41044 grep -v '^ *+' conftest.er1 >conftest.err
41045 rm -f conftest.er1
41046 cat conftest.err >&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); } &&
41049 { ac_try='test -z "$ac_c_werror_flag"
41050 || test ! -s conftest.err'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41053 ac_status=$?
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; } &&
41056 { ac_try='test -s conftest$ac_exeext'
41057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41058 (eval $ac_try) 2>&5
41059 ac_status=$?
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); }; }; then
41062 if test "$cross_compiling" = yes; then
41063 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41064 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41065 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41066 See \`config.log' for more details." >&5
41067 echo "$as_me: error: cannot run test program while cross compiling
41068 See \`config.log' for more details." >&2;}
41069 { (exit 1); exit 1; }; }; }
41070 else
41071 cat >conftest.$ac_ext <<_ACEOF
41072 __thread int a; int b; int main() { return a = b; }
41073 _ACEOF
41074 rm -f conftest$ac_exeext
41075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41076 (eval $ac_link) 2>&5
41077 ac_status=$?
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41081 (eval $ac_try) 2>&5
41082 ac_status=$?
41083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41084 (exit $ac_status); }; }; then
41085 gcc_cv_have_tls=yes
41086 else
41087 echo "$as_me: program exited with status $ac_status" >&5
41088 echo "$as_me: failed program was:" >&5
41089 sed 's/^/| /' conftest.$ac_ext >&5
41091 ( exit $ac_status )
41092 gcc_cv_have_tls=no
41094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41096 else
41097 echo "$as_me: failed program was:" >&5
41098 sed 's/^/| /' conftest.$ac_ext >&5
41100 gcc_cv_have_tls=yes
41102 rm -f conftest.err conftest.$ac_objext \
41103 conftest$ac_exeext conftest.$ac_ext
41104 LDFLAGS="$chktls_save_LDFLAGS"
41105 if test $gcc_cv_have_tls = yes; then
41106 chktls_save_CFLAGS="$CFLAGS"
41107 thread_CFLAGS=failed
41108 for flag in '' '-pthread' '-lpthread'; do
41109 CFLAGS="$flag $chktls_save_CFLAGS"
41110 if test x$gcc_no_link = xyes; then
41111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41113 { (exit 1); exit 1; }; }
41115 cat >conftest.$ac_ext <<_ACEOF
41116 /* confdefs.h. */
41117 _ACEOF
41118 cat confdefs.h >>conftest.$ac_ext
41119 cat >>conftest.$ac_ext <<_ACEOF
41120 /* end confdefs.h. */
41121 #include <pthread.h>
41122 void *g(void *d) { return NULL; }
41124 main ()
41126 pthread_t t; pthread_create(&t,NULL,g,NULL);
41128 return 0;
41130 _ACEOF
41131 rm -f conftest.$ac_objext conftest$ac_exeext
41132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41133 (eval $ac_link) 2>conftest.er1
41134 ac_status=$?
41135 grep -v '^ *+' conftest.er1 >conftest.err
41136 rm -f conftest.er1
41137 cat conftest.err >&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } &&
41140 { ac_try='test -z "$ac_c_werror_flag"
41141 || test ! -s conftest.err'
41142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41143 (eval $ac_try) 2>&5
41144 ac_status=$?
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); }; } &&
41147 { ac_try='test -s conftest$ac_exeext'
41148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41149 (eval $ac_try) 2>&5
41150 ac_status=$?
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); }; }; then
41153 thread_CFLAGS="$flag"
41154 else
41155 echo "$as_me: failed program was:" >&5
41156 sed 's/^/| /' conftest.$ac_ext >&5
41159 rm -f conftest.err conftest.$ac_objext \
41160 conftest$ac_exeext conftest.$ac_ext
41161 if test "X$thread_CFLAGS" != Xfailed; then
41162 break
41164 done
41165 CFLAGS="$chktls_save_CFLAGS"
41166 if test "X$thread_CFLAGS" != Xfailed; then
41167 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41168 if test "$cross_compiling" = yes; then
41169 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41170 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41171 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41172 See \`config.log' for more details." >&5
41173 echo "$as_me: error: cannot run test program while cross compiling
41174 See \`config.log' for more details." >&2;}
41175 { (exit 1); exit 1; }; }; }
41176 else
41177 cat >conftest.$ac_ext <<_ACEOF
41178 /* confdefs.h. */
41179 _ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183 #include <pthread.h>
41184 __thread int a;
41185 static int *a_in_other_thread;
41186 static void *
41187 thread_func (void *arg)
41189 a_in_other_thread = &a;
41190 return (void *)0;
41193 main ()
41195 pthread_t thread;
41196 void *thread_retval;
41197 int *a_in_main_thread;
41198 if (pthread_create (&thread, (pthread_attr_t *)0,
41199 thread_func, (void *)0))
41200 return 0;
41201 a_in_main_thread = &a;
41202 if (pthread_join (thread, &thread_retval))
41203 return 0;
41204 return (a_in_other_thread == a_in_main_thread);
41206 return 0;
41208 _ACEOF
41209 rm -f conftest$ac_exeext
41210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41211 (eval $ac_link) 2>&5
41212 ac_status=$?
41213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41216 (eval $ac_try) 2>&5
41217 ac_status=$?
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); }; }; then
41220 gcc_cv_have_tls=yes
41221 else
41222 echo "$as_me: program exited with status $ac_status" >&5
41223 echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.$ac_ext >&5
41226 ( exit $ac_status )
41227 gcc_cv_have_tls=no
41229 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41231 CFLAGS="$chktls_save_CFLAGS"
41234 else
41235 echo "$as_me: program exited with status $ac_status" >&5
41236 echo "$as_me: failed program was:" >&5
41237 sed 's/^/| /' conftest.$ac_ext >&5
41239 ( exit $ac_status )
41240 gcc_cv_have_tls=no
41242 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41245 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41246 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41247 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41249 cat >>confdefs.h <<\_ACEOF
41250 #define HAVE_TLS 1
41251 _ACEOF
41255 # For _Unwind_GetIPInfo.
41259 ac_ext=cc
41260 ac_cpp='$CXXCPP $CPPFLAGS'
41261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41265 ac_save_CXXFLAGS="$CXXFLAGS"
41266 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41267 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41268 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41269 if test "${gcc_cv_getipinfo+set}" = set; then
41270 echo $ECHO_N "(cached) $ECHO_C" >&6
41271 else
41273 if test x$gcc_no_link = xyes; then
41274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41276 { (exit 1); exit 1; }; }
41278 cat >conftest.$ac_ext <<_ACEOF
41279 /* confdefs.h. */
41280 _ACEOF
41281 cat confdefs.h >>conftest.$ac_ext
41282 cat >>conftest.$ac_ext <<_ACEOF
41283 /* end confdefs.h. */
41284 extern "C" { extern void _Unwind_GetIPInfo(); }
41286 main ()
41288 _Unwind_GetIPInfo();
41290 return 0;
41292 _ACEOF
41293 rm -f conftest.$ac_objext conftest$ac_exeext
41294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41295 (eval $ac_link) 2>conftest.er1
41296 ac_status=$?
41297 grep -v '^ *+' conftest.er1 >conftest.err
41298 rm -f conftest.er1
41299 cat conftest.err >&5
41300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301 (exit $ac_status); } &&
41302 { ac_try='test -z "$ac_cxx_werror_flag"
41303 || test ! -s conftest.err'
41304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41305 (eval $ac_try) 2>&5
41306 ac_status=$?
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); }; } &&
41309 { ac_try='test -s conftest$ac_exeext'
41310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41311 (eval $ac_try) 2>&5
41312 ac_status=$?
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); }; }; then
41315 gcc_cv_getipinfo=yes
41316 else
41317 echo "$as_me: failed program was:" >&5
41318 sed 's/^/| /' conftest.$ac_ext >&5
41320 gcc_cv_getipinfo=no
41322 rm -f conftest.err conftest.$ac_objext \
41323 conftest$ac_exeext conftest.$ac_ext
41327 if test $gcc_cv_getipinfo = yes; then
41329 cat >>confdefs.h <<\_ACEOF
41330 #define HAVE_GETIPINFO 1
41331 _ACEOF
41334 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41335 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41336 CXXFLAGS="$ac_save_CXXFLAGS"
41337 ac_ext=c
41338 ac_cpp='$CPP $CPPFLAGS'
41339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41346 if test "${ac_cv_header_locale_h+set}" = set; then
41347 echo "$as_me:$LINENO: checking for locale.h" >&5
41348 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41349 if test "${ac_cv_header_locale_h+set}" = set; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41353 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41354 else
41355 # Is the header compilable?
41356 echo "$as_me:$LINENO: checking locale.h usability" >&5
41357 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41358 cat >conftest.$ac_ext <<_ACEOF
41359 /* confdefs.h. */
41360 _ACEOF
41361 cat confdefs.h >>conftest.$ac_ext
41362 cat >>conftest.$ac_ext <<_ACEOF
41363 /* end confdefs.h. */
41364 $ac_includes_default
41365 #include <locale.h>
41366 _ACEOF
41367 rm -f conftest.$ac_objext
41368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41369 (eval $ac_compile) 2>conftest.er1
41370 ac_status=$?
41371 grep -v '^ *+' conftest.er1 >conftest.err
41372 rm -f conftest.er1
41373 cat conftest.err >&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } &&
41376 { ac_try='test -z "$ac_c_werror_flag"
41377 || test ! -s conftest.err'
41378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41379 (eval $ac_try) 2>&5
41380 ac_status=$?
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); }; } &&
41383 { ac_try='test -s conftest.$ac_objext'
41384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41385 (eval $ac_try) 2>&5
41386 ac_status=$?
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); }; }; then
41389 ac_header_compiler=yes
41390 else
41391 echo "$as_me: failed program was:" >&5
41392 sed 's/^/| /' conftest.$ac_ext >&5
41394 ac_header_compiler=no
41396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41398 echo "${ECHO_T}$ac_header_compiler" >&6
41400 # Is the header present?
41401 echo "$as_me:$LINENO: checking locale.h presence" >&5
41402 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41403 cat >conftest.$ac_ext <<_ACEOF
41404 /* confdefs.h. */
41405 _ACEOF
41406 cat confdefs.h >>conftest.$ac_ext
41407 cat >>conftest.$ac_ext <<_ACEOF
41408 /* end confdefs.h. */
41409 #include <locale.h>
41410 _ACEOF
41411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41413 ac_status=$?
41414 grep -v '^ *+' conftest.er1 >conftest.err
41415 rm -f conftest.er1
41416 cat conftest.err >&5
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); } >/dev/null; then
41419 if test -s conftest.err; then
41420 ac_cpp_err=$ac_c_preproc_warn_flag
41421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41422 else
41423 ac_cpp_err=
41425 else
41426 ac_cpp_err=yes
41428 if test -z "$ac_cpp_err"; then
41429 ac_header_preproc=yes
41430 else
41431 echo "$as_me: failed program was:" >&5
41432 sed 's/^/| /' conftest.$ac_ext >&5
41434 ac_header_preproc=no
41436 rm -f conftest.err conftest.$ac_ext
41437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41438 echo "${ECHO_T}$ac_header_preproc" >&6
41440 # So? What about this header?
41441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41442 yes:no: )
41443 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41444 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41445 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41446 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41447 ac_header_preproc=yes
41449 no:yes:* )
41450 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41451 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41452 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41453 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41454 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41455 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41456 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41457 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41458 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41459 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41460 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41461 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41463 cat <<\_ASBOX
41464 ## ----------------------------------------- ##
41465 ## Report this to the package-unused lists. ##
41466 ## ----------------------------------------- ##
41467 _ASBOX
41469 sed "s/^/$as_me: WARNING: /" >&2
41471 esac
41472 echo "$as_me:$LINENO: checking for locale.h" >&5
41473 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41474 if test "${ac_cv_header_locale_h+set}" = set; then
41475 echo $ECHO_N "(cached) $ECHO_C" >&6
41476 else
41477 ac_cv_header_locale_h=$ac_header_preproc
41479 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41480 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41483 if test $ac_cv_header_locale_h = yes; then
41485 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41486 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41487 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41488 echo $ECHO_N "(cached) $ECHO_C" >&6
41489 else
41490 if test x$gcc_no_link = xyes; then
41491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41493 { (exit 1); exit 1; }; }
41495 cat >conftest.$ac_ext <<_ACEOF
41496 /* confdefs.h. */
41497 _ACEOF
41498 cat confdefs.h >>conftest.$ac_ext
41499 cat >>conftest.$ac_ext <<_ACEOF
41500 /* end confdefs.h. */
41501 #include <locale.h>
41503 main ()
41505 return LC_MESSAGES
41507 return 0;
41509 _ACEOF
41510 rm -f conftest.$ac_objext conftest$ac_exeext
41511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41512 (eval $ac_link) 2>conftest.er1
41513 ac_status=$?
41514 grep -v '^ *+' conftest.er1 >conftest.err
41515 rm -f conftest.er1
41516 cat conftest.err >&5
41517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518 (exit $ac_status); } &&
41519 { ac_try='test -z "$ac_c_werror_flag"
41520 || test ! -s conftest.err'
41521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41522 (eval $ac_try) 2>&5
41523 ac_status=$?
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; } &&
41526 { ac_try='test -s conftest$ac_exeext'
41527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41528 (eval $ac_try) 2>&5
41529 ac_status=$?
41530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531 (exit $ac_status); }; }; then
41532 ac_cv_val_LC_MESSAGES=yes
41533 else
41534 echo "$as_me: failed program was:" >&5
41535 sed 's/^/| /' conftest.$ac_ext >&5
41537 ac_cv_val_LC_MESSAGES=no
41539 rm -f conftest.err conftest.$ac_objext \
41540 conftest$ac_exeext conftest.$ac_ext
41542 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41543 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41544 if test $ac_cv_val_LC_MESSAGES = yes; then
41546 cat >>confdefs.h <<\_ACEOF
41547 #define HAVE_LC_MESSAGES 1
41548 _ACEOF
41557 cat >conftest.$ac_ext <<_ACEOF
41558 /* confdefs.h. */
41559 _ACEOF
41560 cat confdefs.h >>conftest.$ac_ext
41561 cat >>conftest.$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41563 #include <setjmp.h>
41565 main ()
41567 sigjmp_buf env;
41568 while (! sigsetjmp (env, 1))
41569 siglongjmp (env, 1);
41572 return 0;
41574 _ACEOF
41575 rm -f conftest.$ac_objext
41576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41577 (eval $ac_compile) 2>conftest.er1
41578 ac_status=$?
41579 grep -v '^ *+' conftest.er1 >conftest.err
41580 rm -f conftest.er1
41581 cat conftest.err >&5
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); } &&
41584 { ac_try='test -z "$ac_c_werror_flag"
41585 || test ! -s conftest.err'
41586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41587 (eval $ac_try) 2>&5
41588 ac_status=$?
41589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41590 (exit $ac_status); }; } &&
41591 { ac_try='test -s conftest.$ac_objext'
41592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41593 (eval $ac_try) 2>&5
41594 ac_status=$?
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); }; }; then
41598 cat >>confdefs.h <<\_ACEOF
41599 #define HAVE_SIGSETJMP 1
41600 _ACEOF
41602 else
41603 echo "$as_me: failed program was:" >&5
41604 sed 's/^/| /' conftest.$ac_ext >&5
41607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41609 if test x$gcc_no_link = xyes; then
41610 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41611 ac_cv_func_mmap_fixed_mapped=no
41614 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41617 for ac_header in stdlib.h unistd.h
41619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41621 echo "$as_me:$LINENO: checking for $ac_header" >&5
41622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41624 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41628 else
41629 # Is the header compilable?
41630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41632 cat >conftest.$ac_ext <<_ACEOF
41633 /* confdefs.h. */
41634 _ACEOF
41635 cat confdefs.h >>conftest.$ac_ext
41636 cat >>conftest.$ac_ext <<_ACEOF
41637 /* end confdefs.h. */
41638 $ac_includes_default
41639 #include <$ac_header>
41640 _ACEOF
41641 rm -f conftest.$ac_objext
41642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41643 (eval $ac_compile) 2>conftest.er1
41644 ac_status=$?
41645 grep -v '^ *+' conftest.er1 >conftest.err
41646 rm -f conftest.er1
41647 cat conftest.err >&5
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); } &&
41650 { ac_try='test -z "$ac_c_werror_flag"
41651 || test ! -s conftest.err'
41652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41653 (eval $ac_try) 2>&5
41654 ac_status=$?
41655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41656 (exit $ac_status); }; } &&
41657 { ac_try='test -s conftest.$ac_objext'
41658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41659 (eval $ac_try) 2>&5
41660 ac_status=$?
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); }; }; then
41663 ac_header_compiler=yes
41664 else
41665 echo "$as_me: failed program was:" >&5
41666 sed 's/^/| /' conftest.$ac_ext >&5
41668 ac_header_compiler=no
41670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41672 echo "${ECHO_T}$ac_header_compiler" >&6
41674 # Is the header present?
41675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41677 cat >conftest.$ac_ext <<_ACEOF
41678 /* confdefs.h. */
41679 _ACEOF
41680 cat confdefs.h >>conftest.$ac_ext
41681 cat >>conftest.$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41683 #include <$ac_header>
41684 _ACEOF
41685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41687 ac_status=$?
41688 grep -v '^ *+' conftest.er1 >conftest.err
41689 rm -f conftest.er1
41690 cat conftest.err >&5
41691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41692 (exit $ac_status); } >/dev/null; then
41693 if test -s conftest.err; then
41694 ac_cpp_err=$ac_c_preproc_warn_flag
41695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41696 else
41697 ac_cpp_err=
41699 else
41700 ac_cpp_err=yes
41702 if test -z "$ac_cpp_err"; then
41703 ac_header_preproc=yes
41704 else
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 ac_header_preproc=no
41710 rm -f conftest.err conftest.$ac_ext
41711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41712 echo "${ECHO_T}$ac_header_preproc" >&6
41714 # So? What about this header?
41715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41716 yes:no: )
41717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41721 ac_header_preproc=yes
41723 no:yes:* )
41724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41737 cat <<\_ASBOX
41738 ## ----------------------------------------- ##
41739 ## Report this to the package-unused lists. ##
41740 ## ----------------------------------------- ##
41741 _ASBOX
41743 sed "s/^/$as_me: WARNING: /" >&2
41745 esac
41746 echo "$as_me:$LINENO: checking for $ac_header" >&5
41747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41749 echo $ECHO_N "(cached) $ECHO_C" >&6
41750 else
41751 eval "$as_ac_Header=\$ac_header_preproc"
41753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41758 cat >>confdefs.h <<_ACEOF
41759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41760 _ACEOF
41764 done
41767 for ac_func in getpagesize
41769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41770 echo "$as_me:$LINENO: checking for $ac_func" >&5
41771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41772 if eval "test \"\${$as_ac_var+set}\" = set"; then
41773 echo $ECHO_N "(cached) $ECHO_C" >&6
41774 else
41775 if test x$gcc_no_link = xyes; then
41776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41778 { (exit 1); exit 1; }; }
41780 cat >conftest.$ac_ext <<_ACEOF
41781 /* confdefs.h. */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41788 #define $ac_func innocuous_$ac_func
41790 /* System header to define __stub macros and hopefully few prototypes,
41791 which can conflict with char $ac_func (); below.
41792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41793 <limits.h> exists even on freestanding compilers. */
41795 #ifdef __STDC__
41796 # include <limits.h>
41797 #else
41798 # include <assert.h>
41799 #endif
41801 #undef $ac_func
41803 /* Override any gcc2 internal prototype to avoid an error. */
41804 #ifdef __cplusplus
41805 extern "C"
41807 #endif
41808 /* We use char because int might match the return type of a gcc2
41809 builtin and then its argument prototype would still apply. */
41810 char $ac_func ();
41811 /* The GNU C library defines this for functions which it implements
41812 to always fail with ENOSYS. Some functions are actually named
41813 something starting with __ and the normal name is an alias. */
41814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41815 choke me
41816 #else
41817 char (*f) () = $ac_func;
41818 #endif
41819 #ifdef __cplusplus
41821 #endif
41824 main ()
41826 return f != $ac_func;
41828 return 0;
41830 _ACEOF
41831 rm -f conftest.$ac_objext conftest$ac_exeext
41832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41833 (eval $ac_link) 2>conftest.er1
41834 ac_status=$?
41835 grep -v '^ *+' conftest.er1 >conftest.err
41836 rm -f conftest.er1
41837 cat conftest.err >&5
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); } &&
41840 { ac_try='test -z "$ac_c_werror_flag"
41841 || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41844 ac_status=$?
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try='test -s conftest$ac_exeext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41850 ac_status=$?
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41853 eval "$as_ac_var=yes"
41854 else
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41858 eval "$as_ac_var=no"
41860 rm -f conftest.err conftest.$ac_objext \
41861 conftest$ac_exeext conftest.$ac_ext
41863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41865 if test `eval echo '${'$as_ac_var'}'` = yes; then
41866 cat >>confdefs.h <<_ACEOF
41867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41868 _ACEOF
41871 done
41873 echo "$as_me:$LINENO: checking for working mmap" >&5
41874 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41875 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41876 echo $ECHO_N "(cached) $ECHO_C" >&6
41877 else
41878 if test "$cross_compiling" = yes; then
41879 ac_cv_func_mmap_fixed_mapped=no
41880 else
41881 cat >conftest.$ac_ext <<_ACEOF
41882 /* confdefs.h. */
41883 _ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41887 $ac_includes_default
41888 /* malloc might have been renamed as rpl_malloc. */
41889 #undef malloc
41891 /* Thanks to Mike Haertel and Jim Avera for this test.
41892 Here is a matrix of mmap possibilities:
41893 mmap private not fixed
41894 mmap private fixed at somewhere currently unmapped
41895 mmap private fixed at somewhere already mapped
41896 mmap shared not fixed
41897 mmap shared fixed at somewhere currently unmapped
41898 mmap shared fixed at somewhere already mapped
41899 For private mappings, we should verify that changes cannot be read()
41900 back from the file, nor mmap's back from the file at a different
41901 address. (There have been systems where private was not correctly
41902 implemented like the infamous i386 svr4.0, and systems where the
41903 VM page cache was not coherent with the file system buffer cache
41904 like early versions of FreeBSD and possibly contemporary NetBSD.)
41905 For shared mappings, we should conversely verify that changes get
41906 propagated back to all the places they're supposed to be.
41908 Grep wants private fixed already mapped.
41909 The main things grep needs to know about mmap are:
41910 * does it exist and is it safe to write into the mmap'd area
41911 * how to use it (BSD variants) */
41913 #include <fcntl.h>
41914 #include <sys/mman.h>
41916 #if !STDC_HEADERS && !HAVE_STDLIB_H
41917 char *malloc ();
41918 #endif
41920 /* This mess was copied from the GNU getpagesize.h. */
41921 #if !HAVE_GETPAGESIZE
41922 /* Assume that all systems that can run configure have sys/param.h. */
41923 # if !HAVE_SYS_PARAM_H
41924 # define HAVE_SYS_PARAM_H 1
41925 # endif
41927 # ifdef _SC_PAGESIZE
41928 # define getpagesize() sysconf(_SC_PAGESIZE)
41929 # else /* no _SC_PAGESIZE */
41930 # if HAVE_SYS_PARAM_H
41931 # include <sys/param.h>
41932 # ifdef EXEC_PAGESIZE
41933 # define getpagesize() EXEC_PAGESIZE
41934 # else /* no EXEC_PAGESIZE */
41935 # ifdef NBPG
41936 # define getpagesize() NBPG * CLSIZE
41937 # ifndef CLSIZE
41938 # define CLSIZE 1
41939 # endif /* no CLSIZE */
41940 # else /* no NBPG */
41941 # ifdef NBPC
41942 # define getpagesize() NBPC
41943 # else /* no NBPC */
41944 # ifdef PAGESIZE
41945 # define getpagesize() PAGESIZE
41946 # endif /* PAGESIZE */
41947 # endif /* no NBPC */
41948 # endif /* no NBPG */
41949 # endif /* no EXEC_PAGESIZE */
41950 # else /* no HAVE_SYS_PARAM_H */
41951 # define getpagesize() 8192 /* punt totally */
41952 # endif /* no HAVE_SYS_PARAM_H */
41953 # endif /* no _SC_PAGESIZE */
41955 #endif /* no HAVE_GETPAGESIZE */
41958 main ()
41960 char *data, *data2, *data3;
41961 int i, pagesize;
41962 int fd;
41964 pagesize = getpagesize ();
41966 /* First, make a file with some known garbage in it. */
41967 data = (char *) malloc (pagesize);
41968 if (!data)
41969 exit (1);
41970 for (i = 0; i < pagesize; ++i)
41971 *(data + i) = rand ();
41972 umask (0);
41973 fd = creat ("conftest.mmap", 0600);
41974 if (fd < 0)
41975 exit (1);
41976 if (write (fd, data, pagesize) != pagesize)
41977 exit (1);
41978 close (fd);
41980 /* Next, try to mmap the file at a fixed address which already has
41981 something else allocated at it. If we can, also make sure that
41982 we see the same garbage. */
41983 fd = open ("conftest.mmap", O_RDWR);
41984 if (fd < 0)
41985 exit (1);
41986 data2 = (char *) malloc (2 * pagesize);
41987 if (!data2)
41988 exit (1);
41989 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41990 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41991 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41992 exit (1);
41993 for (i = 0; i < pagesize; ++i)
41994 if (*(data + i) != *(data2 + i))
41995 exit (1);
41997 /* Finally, make sure that changes to the mapped area do not
41998 percolate back to the file as seen by read(). (This is a bug on
41999 some variants of i386 svr4.0.) */
42000 for (i = 0; i < pagesize; ++i)
42001 *(data2 + i) = *(data2 + i) + 1;
42002 data3 = (char *) malloc (pagesize);
42003 if (!data3)
42004 exit (1);
42005 if (read (fd, data3, pagesize) != pagesize)
42006 exit (1);
42007 for (i = 0; i < pagesize; ++i)
42008 if (*(data + i) != *(data3 + i))
42009 exit (1);
42010 close (fd);
42011 exit (0);
42013 _ACEOF
42014 rm -f conftest$ac_exeext
42015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42016 (eval $ac_link) 2>&5
42017 ac_status=$?
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42021 (eval $ac_try) 2>&5
42022 ac_status=$?
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); }; }; then
42025 ac_cv_func_mmap_fixed_mapped=yes
42026 else
42027 echo "$as_me: program exited with status $ac_status" >&5
42028 echo "$as_me: failed program was:" >&5
42029 sed 's/^/| /' conftest.$ac_ext >&5
42031 ( exit $ac_status )
42032 ac_cv_func_mmap_fixed_mapped=no
42034 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42037 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42038 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42039 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42041 cat >>confdefs.h <<\_ACEOF
42042 #define HAVE_MMAP 1
42043 _ACEOF
42046 rm -f conftest.mmap
42050 # For iconv support.
42052 if test "X$prefix" = "XNONE"; then
42053 acl_final_prefix="$ac_default_prefix"
42054 else
42055 acl_final_prefix="$prefix"
42057 if test "X$exec_prefix" = "XNONE"; then
42058 acl_final_exec_prefix='${prefix}'
42059 else
42060 acl_final_exec_prefix="$exec_prefix"
42062 acl_save_prefix="$prefix"
42063 prefix="$acl_final_prefix"
42064 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42065 prefix="$acl_save_prefix"
42068 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42069 if test "${with_gnu_ld+set}" = set; then
42070 withval="$with_gnu_ld"
42071 test "$withval" = no || with_gnu_ld=yes
42072 else
42073 with_gnu_ld=no
42075 # Prepare PATH_SEPARATOR.
42076 # The user is always right.
42077 if test "${PATH_SEPARATOR+set}" != set; then
42078 echo "#! /bin/sh" >conf$$.sh
42079 echo "exit 0" >>conf$$.sh
42080 chmod +x conf$$.sh
42081 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42082 PATH_SEPARATOR=';'
42083 else
42084 PATH_SEPARATOR=:
42086 rm -f conf$$.sh
42088 ac_prog=ld
42089 if test "$GCC" = yes; then
42090 # Check if gcc -print-prog-name=ld gives a path.
42091 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42092 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42093 case $host in
42094 *-*-mingw*)
42095 # gcc leaves a trailing carriage return which upsets mingw
42096 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42098 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42099 esac
42100 case $ac_prog in
42101 # Accept absolute paths.
42102 [\\/]* | [A-Za-z]:[\\/]*)
42103 re_direlt='/[^/][^/]*/\.\./'
42104 # Canonicalize the path of ld
42105 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42106 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42107 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42108 done
42109 test -z "$LD" && LD="$ac_prog"
42112 # If it fails, then pretend we aren't using GCC.
42113 ac_prog=ld
42116 # If it is relative, then search for the first ld in PATH.
42117 with_gnu_ld=unknown
42119 esac
42120 elif test "$with_gnu_ld" = yes; then
42121 echo "$as_me:$LINENO: checking for GNU ld" >&5
42122 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42123 else
42124 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42125 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42127 if test "${acl_cv_path_LD+set}" = set; then
42128 echo $ECHO_N "(cached) $ECHO_C" >&6
42129 else
42130 if test -z "$LD"; then
42131 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42132 for ac_dir in $PATH; do
42133 test -z "$ac_dir" && ac_dir=.
42134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42135 acl_cv_path_LD="$ac_dir/$ac_prog"
42136 # Check to see if the program is GNU ld. I'd rather use --version,
42137 # but apparently some GNU ld's only accept -v.
42138 # Break only if it was the GNU/non-GNU ld that we prefer.
42139 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42140 test "$with_gnu_ld" != no && break
42141 else
42142 test "$with_gnu_ld" != yes && break
42145 done
42146 IFS="$ac_save_ifs"
42147 else
42148 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42152 LD="$acl_cv_path_LD"
42153 if test -n "$LD"; then
42154 echo "$as_me:$LINENO: result: $LD" >&5
42155 echo "${ECHO_T}$LD" >&6
42156 else
42157 echo "$as_me:$LINENO: result: no" >&5
42158 echo "${ECHO_T}no" >&6
42160 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42161 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42162 { (exit 1); exit 1; }; }
42163 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42164 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42165 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42166 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 else
42168 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42169 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42170 acl_cv_prog_gnu_ld=yes
42171 else
42172 acl_cv_prog_gnu_ld=no
42175 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42176 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42177 with_gnu_ld=$acl_cv_prog_gnu_ld
42181 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42182 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42183 if test "${acl_cv_rpath+set}" = set; then
42184 echo $ECHO_N "(cached) $ECHO_C" >&6
42185 else
42187 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42188 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42189 . ./conftest.sh
42190 rm -f ./conftest.sh
42191 acl_cv_rpath=done
42194 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42195 echo "${ECHO_T}$acl_cv_rpath" >&6
42196 wl="$acl_cv_wl"
42197 libext="$acl_cv_libext"
42198 shlibext="$acl_cv_shlibext"
42199 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42200 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42201 hardcode_direct="$acl_cv_hardcode_direct"
42202 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42203 # Check whether --enable-rpath or --disable-rpath was given.
42204 if test "${enable_rpath+set}" = set; then
42205 enableval="$enable_rpath"
42207 else
42208 enable_rpath=yes
42217 use_additional=yes
42219 acl_save_prefix="$prefix"
42220 prefix="$acl_final_prefix"
42221 acl_save_exec_prefix="$exec_prefix"
42222 exec_prefix="$acl_final_exec_prefix"
42224 eval additional_includedir=\"$includedir\"
42225 eval additional_libdir=\"$libdir\"
42227 exec_prefix="$acl_save_exec_prefix"
42228 prefix="$acl_save_prefix"
42231 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42232 if test "${with_libiconv_prefix+set}" = set; then
42233 withval="$with_libiconv_prefix"
42235 if test "X$withval" = "Xno"; then
42236 use_additional=no
42237 else
42238 if test "X$withval" = "X"; then
42240 acl_save_prefix="$prefix"
42241 prefix="$acl_final_prefix"
42242 acl_save_exec_prefix="$exec_prefix"
42243 exec_prefix="$acl_final_exec_prefix"
42245 eval additional_includedir=\"$includedir\"
42246 eval additional_libdir=\"$libdir\"
42248 exec_prefix="$acl_save_exec_prefix"
42249 prefix="$acl_save_prefix"
42251 else
42252 additional_includedir="$withval/include"
42253 additional_libdir="$withval/lib"
42258 LIBICONV=
42259 LTLIBICONV=
42260 INCICONV=
42261 rpathdirs=
42262 ltrpathdirs=
42263 names_already_handled=
42264 names_next_round='iconv '
42265 while test -n "$names_next_round"; do
42266 names_this_round="$names_next_round"
42267 names_next_round=
42268 for name in $names_this_round; do
42269 already_handled=
42270 for n in $names_already_handled; do
42271 if test "$n" = "$name"; then
42272 already_handled=yes
42273 break
42275 done
42276 if test -z "$already_handled"; then
42277 names_already_handled="$names_already_handled $name"
42278 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42279 eval value=\"\$HAVE_LIB$uppername\"
42280 if test -n "$value"; then
42281 if test "$value" = yes; then
42282 eval value=\"\$LIB$uppername\"
42283 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42284 eval value=\"\$LTLIB$uppername\"
42285 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42286 else
42289 else
42290 found_dir=
42291 found_la=
42292 found_so=
42293 found_a=
42294 if test $use_additional = yes; then
42295 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42296 found_dir="$additional_libdir"
42297 found_so="$additional_libdir/lib$name.$shlibext"
42298 if test -f "$additional_libdir/lib$name.la"; then
42299 found_la="$additional_libdir/lib$name.la"
42301 else
42302 if test -f "$additional_libdir/lib$name.$libext"; then
42303 found_dir="$additional_libdir"
42304 found_a="$additional_libdir/lib$name.$libext"
42305 if test -f "$additional_libdir/lib$name.la"; then
42306 found_la="$additional_libdir/lib$name.la"
42311 if test "X$found_dir" = "X"; then
42312 for x in $LDFLAGS $LTLIBICONV; do
42314 acl_save_prefix="$prefix"
42315 prefix="$acl_final_prefix"
42316 acl_save_exec_prefix="$exec_prefix"
42317 exec_prefix="$acl_final_exec_prefix"
42318 eval x=\"$x\"
42319 exec_prefix="$acl_save_exec_prefix"
42320 prefix="$acl_save_prefix"
42322 case "$x" in
42323 -L*)
42324 dir=`echo "X$x" | sed -e 's/^X-L//'`
42325 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42326 found_dir="$dir"
42327 found_so="$dir/lib$name.$shlibext"
42328 if test -f "$dir/lib$name.la"; then
42329 found_la="$dir/lib$name.la"
42331 else
42332 if test -f "$dir/lib$name.$libext"; then
42333 found_dir="$dir"
42334 found_a="$dir/lib$name.$libext"
42335 if test -f "$dir/lib$name.la"; then
42336 found_la="$dir/lib$name.la"
42341 esac
42342 if test "X$found_dir" != "X"; then
42343 break
42345 done
42347 if test "X$found_dir" != "X"; then
42348 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42349 if test "X$found_so" != "X"; then
42350 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42351 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42352 else
42353 haveit=
42354 for x in $ltrpathdirs; do
42355 if test "X$x" = "X$found_dir"; then
42356 haveit=yes
42357 break
42359 done
42360 if test -z "$haveit"; then
42361 ltrpathdirs="$ltrpathdirs $found_dir"
42363 if test "$hardcode_direct" = yes; then
42364 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42365 else
42366 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42367 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42368 haveit=
42369 for x in $rpathdirs; do
42370 if test "X$x" = "X$found_dir"; then
42371 haveit=yes
42372 break
42374 done
42375 if test -z "$haveit"; then
42376 rpathdirs="$rpathdirs $found_dir"
42378 else
42379 haveit=
42380 for x in $LDFLAGS $LIBICONV; do
42382 acl_save_prefix="$prefix"
42383 prefix="$acl_final_prefix"
42384 acl_save_exec_prefix="$exec_prefix"
42385 exec_prefix="$acl_final_exec_prefix"
42386 eval x=\"$x\"
42387 exec_prefix="$acl_save_exec_prefix"
42388 prefix="$acl_save_prefix"
42390 if test "X$x" = "X-L$found_dir"; then
42391 haveit=yes
42392 break
42394 done
42395 if test -z "$haveit"; then
42396 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42398 if test "$hardcode_minus_L" != no; then
42399 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42400 else
42401 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42406 else
42407 if test "X$found_a" != "X"; then
42408 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42409 else
42410 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42413 additional_includedir=
42414 case "$found_dir" in
42415 */lib | */lib/)
42416 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42417 additional_includedir="$basedir/include"
42419 esac
42420 if test "X$additional_includedir" != "X"; then
42421 if test "X$additional_includedir" != "X/usr/include"; then
42422 haveit=
42423 if test "X$additional_includedir" = "X/usr/local/include"; then
42424 if test -n "$GCC"; then
42425 case $host_os in
42426 linux*) haveit=yes;;
42427 esac
42430 if test -z "$haveit"; then
42431 for x in $CPPFLAGS $INCICONV; do
42433 acl_save_prefix="$prefix"
42434 prefix="$acl_final_prefix"
42435 acl_save_exec_prefix="$exec_prefix"
42436 exec_prefix="$acl_final_exec_prefix"
42437 eval x=\"$x\"
42438 exec_prefix="$acl_save_exec_prefix"
42439 prefix="$acl_save_prefix"
42441 if test "X$x" = "X-I$additional_includedir"; then
42442 haveit=yes
42443 break
42445 done
42446 if test -z "$haveit"; then
42447 if test -d "$additional_includedir"; then
42448 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42454 if test -n "$found_la"; then
42455 save_libdir="$libdir"
42456 case "$found_la" in
42457 */* | *\\*) . "$found_la" ;;
42458 *) . "./$found_la" ;;
42459 esac
42460 libdir="$save_libdir"
42461 for dep in $dependency_libs; do
42462 case "$dep" in
42463 -L*)
42464 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42465 if test "X$additional_libdir" != "X/usr/lib"; then
42466 haveit=
42467 if test "X$additional_libdir" = "X/usr/local/lib"; then
42468 if test -n "$GCC"; then
42469 case $host_os in
42470 linux*) haveit=yes;;
42471 esac
42474 if test -z "$haveit"; then
42475 haveit=
42476 for x in $LDFLAGS $LIBICONV; do
42478 acl_save_prefix="$prefix"
42479 prefix="$acl_final_prefix"
42480 acl_save_exec_prefix="$exec_prefix"
42481 exec_prefix="$acl_final_exec_prefix"
42482 eval x=\"$x\"
42483 exec_prefix="$acl_save_exec_prefix"
42484 prefix="$acl_save_prefix"
42486 if test "X$x" = "X-L$additional_libdir"; then
42487 haveit=yes
42488 break
42490 done
42491 if test -z "$haveit"; then
42492 if test -d "$additional_libdir"; then
42493 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42496 haveit=
42497 for x in $LDFLAGS $LTLIBICONV; do
42499 acl_save_prefix="$prefix"
42500 prefix="$acl_final_prefix"
42501 acl_save_exec_prefix="$exec_prefix"
42502 exec_prefix="$acl_final_exec_prefix"
42503 eval x=\"$x\"
42504 exec_prefix="$acl_save_exec_prefix"
42505 prefix="$acl_save_prefix"
42507 if test "X$x" = "X-L$additional_libdir"; then
42508 haveit=yes
42509 break
42511 done
42512 if test -z "$haveit"; then
42513 if test -d "$additional_libdir"; then
42514 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42520 -R*)
42521 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42522 if test "$enable_rpath" != no; then
42523 haveit=
42524 for x in $rpathdirs; do
42525 if test "X$x" = "X$dir"; then
42526 haveit=yes
42527 break
42529 done
42530 if test -z "$haveit"; then
42531 rpathdirs="$rpathdirs $dir"
42533 haveit=
42534 for x in $ltrpathdirs; do
42535 if test "X$x" = "X$dir"; then
42536 haveit=yes
42537 break
42539 done
42540 if test -z "$haveit"; then
42541 ltrpathdirs="$ltrpathdirs $dir"
42545 -l*)
42546 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42548 *.la)
42549 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42552 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42553 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42555 esac
42556 done
42558 else
42559 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42564 done
42565 done
42566 if test "X$rpathdirs" != "X"; then
42567 if test -n "$hardcode_libdir_separator"; then
42568 alldirs=
42569 for found_dir in $rpathdirs; do
42570 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42571 done
42572 acl_save_libdir="$libdir"
42573 libdir="$alldirs"
42574 eval flag=\"$hardcode_libdir_flag_spec\"
42575 libdir="$acl_save_libdir"
42576 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42577 else
42578 for found_dir in $rpathdirs; do
42579 acl_save_libdir="$libdir"
42580 libdir="$found_dir"
42581 eval flag=\"$hardcode_libdir_flag_spec\"
42582 libdir="$acl_save_libdir"
42583 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42584 done
42587 if test "X$ltrpathdirs" != "X"; then
42588 for found_dir in $ltrpathdirs; do
42589 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42590 done
42599 am_save_CPPFLAGS="$CPPFLAGS"
42601 for element in $INCICONV; do
42602 haveit=
42603 for x in $CPPFLAGS; do
42605 acl_save_prefix="$prefix"
42606 prefix="$acl_final_prefix"
42607 acl_save_exec_prefix="$exec_prefix"
42608 exec_prefix="$acl_final_exec_prefix"
42609 eval x=\"$x\"
42610 exec_prefix="$acl_save_exec_prefix"
42611 prefix="$acl_save_prefix"
42613 if test "X$x" = "X$element"; then
42614 haveit=yes
42615 break
42617 done
42618 if test -z "$haveit"; then
42619 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42621 done
42624 echo "$as_me:$LINENO: checking for iconv" >&5
42625 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42626 if test "${am_cv_func_iconv+set}" = set; then
42627 echo $ECHO_N "(cached) $ECHO_C" >&6
42628 else
42630 am_cv_func_iconv="no, consider installing GNU libiconv"
42631 am_cv_lib_iconv=no
42632 if test x$gcc_no_link = xyes; then
42633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42635 { (exit 1); exit 1; }; }
42637 cat >conftest.$ac_ext <<_ACEOF
42638 /* confdefs.h. */
42639 _ACEOF
42640 cat confdefs.h >>conftest.$ac_ext
42641 cat >>conftest.$ac_ext <<_ACEOF
42642 /* end confdefs.h. */
42643 #include <stdlib.h>
42644 #include <iconv.h>
42646 main ()
42648 iconv_t cd = iconv_open("","");
42649 iconv(cd,NULL,NULL,NULL,NULL);
42650 iconv_close(cd);
42652 return 0;
42654 _ACEOF
42655 rm -f conftest.$ac_objext conftest$ac_exeext
42656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42657 (eval $ac_link) 2>conftest.er1
42658 ac_status=$?
42659 grep -v '^ *+' conftest.er1 >conftest.err
42660 rm -f conftest.er1
42661 cat conftest.err >&5
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); } &&
42664 { ac_try='test -z "$ac_c_werror_flag"
42665 || test ! -s conftest.err'
42666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42667 (eval $ac_try) 2>&5
42668 ac_status=$?
42669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42670 (exit $ac_status); }; } &&
42671 { ac_try='test -s conftest$ac_exeext'
42672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42673 (eval $ac_try) 2>&5
42674 ac_status=$?
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); }; }; then
42677 am_cv_func_iconv=yes
42678 else
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42683 rm -f conftest.err conftest.$ac_objext \
42684 conftest$ac_exeext conftest.$ac_ext
42685 if test "$am_cv_func_iconv" != yes; then
42686 am_save_LIBS="$LIBS"
42687 LIBS="$LIBS $LIBICONV"
42688 if test x$gcc_no_link = xyes; then
42689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42691 { (exit 1); exit 1; }; }
42693 cat >conftest.$ac_ext <<_ACEOF
42694 /* confdefs.h. */
42695 _ACEOF
42696 cat confdefs.h >>conftest.$ac_ext
42697 cat >>conftest.$ac_ext <<_ACEOF
42698 /* end confdefs.h. */
42699 #include <stdlib.h>
42700 #include <iconv.h>
42702 main ()
42704 iconv_t cd = iconv_open("","");
42705 iconv(cd,NULL,NULL,NULL,NULL);
42706 iconv_close(cd);
42708 return 0;
42710 _ACEOF
42711 rm -f conftest.$ac_objext conftest$ac_exeext
42712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42713 (eval $ac_link) 2>conftest.er1
42714 ac_status=$?
42715 grep -v '^ *+' conftest.er1 >conftest.err
42716 rm -f conftest.er1
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } &&
42720 { ac_try='test -z "$ac_c_werror_flag"
42721 || test ! -s conftest.err'
42722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42723 (eval $ac_try) 2>&5
42724 ac_status=$?
42725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42726 (exit $ac_status); }; } &&
42727 { ac_try='test -s conftest$ac_exeext'
42728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42729 (eval $ac_try) 2>&5
42730 ac_status=$?
42731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42732 (exit $ac_status); }; }; then
42733 am_cv_lib_iconv=yes
42734 am_cv_func_iconv=yes
42735 else
42736 echo "$as_me: failed program was:" >&5
42737 sed 's/^/| /' conftest.$ac_ext >&5
42740 rm -f conftest.err conftest.$ac_objext \
42741 conftest$ac_exeext conftest.$ac_ext
42742 LIBS="$am_save_LIBS"
42746 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42747 echo "${ECHO_T}$am_cv_func_iconv" >&6
42748 if test "$am_cv_func_iconv" = yes; then
42750 cat >>confdefs.h <<\_ACEOF
42751 #define HAVE_ICONV 1
42752 _ACEOF
42755 if test "$am_cv_lib_iconv" = yes; then
42756 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42757 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42758 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42759 echo "${ECHO_T}$LIBICONV" >&6
42760 else
42761 CPPFLAGS="$am_save_CPPFLAGS"
42762 LIBICONV=
42763 LTLIBICONV=
42768 if test "$am_cv_func_iconv" = yes; then
42769 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42770 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42771 if test "${am_cv_proto_iconv+set}" = set; then
42772 echo $ECHO_N "(cached) $ECHO_C" >&6
42773 else
42775 cat >conftest.$ac_ext <<_ACEOF
42776 /* confdefs.h. */
42777 _ACEOF
42778 cat confdefs.h >>conftest.$ac_ext
42779 cat >>conftest.$ac_ext <<_ACEOF
42780 /* end confdefs.h. */
42782 #include <stdlib.h>
42783 #include <iconv.h>
42784 extern
42785 #ifdef __cplusplus
42787 #endif
42788 #if defined(__STDC__) || defined(__cplusplus)
42789 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42790 #else
42791 size_t iconv();
42792 #endif
42795 main ()
42799 return 0;
42801 _ACEOF
42802 rm -f conftest.$ac_objext
42803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42804 (eval $ac_compile) 2>conftest.er1
42805 ac_status=$?
42806 grep -v '^ *+' conftest.er1 >conftest.err
42807 rm -f conftest.er1
42808 cat conftest.err >&5
42809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42810 (exit $ac_status); } &&
42811 { ac_try='test -z "$ac_c_werror_flag"
42812 || test ! -s conftest.err'
42813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42814 (eval $ac_try) 2>&5
42815 ac_status=$?
42816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42817 (exit $ac_status); }; } &&
42818 { ac_try='test -s conftest.$ac_objext'
42819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42820 (eval $ac_try) 2>&5
42821 ac_status=$?
42822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42823 (exit $ac_status); }; }; then
42824 am_cv_proto_iconv_arg1=""
42825 else
42826 echo "$as_me: failed program was:" >&5
42827 sed 's/^/| /' conftest.$ac_ext >&5
42829 am_cv_proto_iconv_arg1="const"
42831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42832 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);"
42835 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42836 echo "$as_me:$LINENO: result: ${ac_t:-
42837 }$am_cv_proto_iconv" >&5
42838 echo "${ECHO_T}${ac_t:-
42839 }$am_cv_proto_iconv" >&6
42841 cat >>confdefs.h <<_ACEOF
42842 #define ICONV_CONST $am_cv_proto_iconv_arg1
42843 _ACEOF
42848 else
42850 # This lets us hard-code the functionality we know we'll have in the cross
42851 # target environment. "Let" is a sugar-coated word placed on an especially
42852 # dull and tedious hack, actually.
42854 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42855 # that involve linking, can't be used:
42856 # "cannot open sim-crt0.o"
42857 # "cannot open crt0.o"
42858 # etc. All this is because there currently exists no unified, consistent
42859 # way for top level CC information to be passed down to target directories:
42860 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42861 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42862 # crosses can be removed.
42864 # If Canadian cross, then don't pick up tools from the build directory.
42865 # Used only in GLIBCXX_EXPORT_INCLUDES.
42866 if test -n "$with_cross_host" &&
42867 test x"$build_alias" != x"$with_cross_host" &&
42868 test x"$build" != x"$target";
42869 then
42870 CANADIAN=yes
42871 else
42872 CANADIAN=no
42875 # Construct crosses by hand, eliminating bits that need ld...
42876 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42877 # GLIBCXX_CHECK_MATH_SUPPORT
42879 # First, test for "known" system libraries. We may be using newlib even
42880 # on a hosted environment.
42881 if test "x${with_newlib}" = "xyes"; then
42882 os_include_dir="os/newlib"
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_HYPOT 1
42885 _ACEOF
42888 # GLIBCXX_CHECK_STDLIB_SUPPORT
42889 cat >>confdefs.h <<\_ACEOF
42890 #define HAVE_STRTOF 1
42891 _ACEOF
42893 # AC_FUNC_MMAP
42894 cat >>confdefs.h <<\_ACEOF
42895 #define HAVE_MMAP 1
42896 _ACEOF
42899 cat >>confdefs.h <<\_ACEOF
42900 #define HAVE_ACOSF 1
42901 _ACEOF
42903 cat >>confdefs.h <<\_ACEOF
42904 #define HAVE_ASINF 1
42905 _ACEOF
42907 cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_ATAN2F 1
42909 _ACEOF
42911 cat >>confdefs.h <<\_ACEOF
42912 #define HAVE_ATANF 1
42913 _ACEOF
42915 cat >>confdefs.h <<\_ACEOF
42916 #define HAVE_CEILF 1
42917 _ACEOF
42919 cat >>confdefs.h <<\_ACEOF
42920 #define HAVE_COPYSIGN 1
42921 _ACEOF
42923 cat >>confdefs.h <<\_ACEOF
42924 #define HAVE_COPYSIGNF 1
42925 _ACEOF
42927 cat >>confdefs.h <<\_ACEOF
42928 #define HAVE_COSF 1
42929 _ACEOF
42931 cat >>confdefs.h <<\_ACEOF
42932 #define HAVE_COSHF 1
42933 _ACEOF
42935 cat >>confdefs.h <<\_ACEOF
42936 #define HAVE_EXPF 1
42937 _ACEOF
42939 cat >>confdefs.h <<\_ACEOF
42940 #define HAVE_FABSF 1
42941 _ACEOF
42943 cat >>confdefs.h <<\_ACEOF
42944 #define HAVE_FLOORF 1
42945 _ACEOF
42947 cat >>confdefs.h <<\_ACEOF
42948 #define HAVE_FMODF 1
42949 _ACEOF
42951 cat >>confdefs.h <<\_ACEOF
42952 #define HAVE_FREXPF 1
42953 _ACEOF
42955 cat >>confdefs.h <<\_ACEOF
42956 #define HAVE_LDEXPF 1
42957 _ACEOF
42959 cat >>confdefs.h <<\_ACEOF
42960 #define HAVE_LOG10F 1
42961 _ACEOF
42963 cat >>confdefs.h <<\_ACEOF
42964 #define HAVE_LOGF 1
42965 _ACEOF
42967 cat >>confdefs.h <<\_ACEOF
42968 #define HAVE_MODFF 1
42969 _ACEOF
42971 cat >>confdefs.h <<\_ACEOF
42972 #define HAVE_POWF 1
42973 _ACEOF
42975 cat >>confdefs.h <<\_ACEOF
42976 #define HAVE_SINF 1
42977 _ACEOF
42979 cat >>confdefs.h <<\_ACEOF
42980 #define HAVE_SINHF 1
42981 _ACEOF
42983 cat >>confdefs.h <<\_ACEOF
42984 #define HAVE_SQRTF 1
42985 _ACEOF
42987 cat >>confdefs.h <<\_ACEOF
42988 #define HAVE_TANF 1
42989 _ACEOF
42991 cat >>confdefs.h <<\_ACEOF
42992 #define HAVE_TANHF 1
42993 _ACEOF
42996 cat >>confdefs.h <<\_ACEOF
42997 #define HAVE_S_ISREG 1
42998 _ACEOF
43000 cat >>confdefs.h <<\_ACEOF
43001 #define HAVE_S_IFREG 1
43002 _ACEOF
43005 cat >>confdefs.h <<\_ACEOF
43006 #define HAVE_ICONV 1
43007 _ACEOF
43009 else
43011 # Base decisions on target environment.
43012 case "${host}" in
43013 arm*-*-symbianelf*)
43014 # This is a freestanding configuration; there is nothing to do here.
43017 mips*-sde-elf*)
43018 # These definitions are for the SDE C library rather than newlib.
43034 for ac_header in float.h inttypes.h locale.h \
43035 stdint.h stdlib.h string.h unistd.h wchar.h \
43036 machine/endian.h sys/ioctl.h sys/resource.h \
43037 sys/stat.h sys/time.h sys/types.h sys/uio.h
43039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43041 echo "$as_me:$LINENO: checking for $ac_header" >&5
43042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43044 echo $ECHO_N "(cached) $ECHO_C" >&6
43046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43048 else
43049 # Is the header compilable?
43050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43052 cat >conftest.$ac_ext <<_ACEOF
43053 /* confdefs.h. */
43054 _ACEOF
43055 cat confdefs.h >>conftest.$ac_ext
43056 cat >>conftest.$ac_ext <<_ACEOF
43057 /* end confdefs.h. */
43058 $ac_includes_default
43059 #include <$ac_header>
43060 _ACEOF
43061 rm -f conftest.$ac_objext
43062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43063 (eval $ac_compile) 2>conftest.er1
43064 ac_status=$?
43065 grep -v '^ *+' conftest.er1 >conftest.err
43066 rm -f conftest.er1
43067 cat conftest.err >&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); } &&
43070 { ac_try='test -z "$ac_c_werror_flag"
43071 || test ! -s conftest.err'
43072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43073 (eval $ac_try) 2>&5
43074 ac_status=$?
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); }; } &&
43077 { ac_try='test -s conftest.$ac_objext'
43078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43079 (eval $ac_try) 2>&5
43080 ac_status=$?
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); }; }; then
43083 ac_header_compiler=yes
43084 else
43085 echo "$as_me: failed program was:" >&5
43086 sed 's/^/| /' conftest.$ac_ext >&5
43088 ac_header_compiler=no
43090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43092 echo "${ECHO_T}$ac_header_compiler" >&6
43094 # Is the header present?
43095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43097 cat >conftest.$ac_ext <<_ACEOF
43098 /* confdefs.h. */
43099 _ACEOF
43100 cat confdefs.h >>conftest.$ac_ext
43101 cat >>conftest.$ac_ext <<_ACEOF
43102 /* end confdefs.h. */
43103 #include <$ac_header>
43104 _ACEOF
43105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43107 ac_status=$?
43108 grep -v '^ *+' conftest.er1 >conftest.err
43109 rm -f conftest.er1
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } >/dev/null; then
43113 if test -s conftest.err; then
43114 ac_cpp_err=$ac_c_preproc_warn_flag
43115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43116 else
43117 ac_cpp_err=
43119 else
43120 ac_cpp_err=yes
43122 if test -z "$ac_cpp_err"; then
43123 ac_header_preproc=yes
43124 else
43125 echo "$as_me: failed program was:" >&5
43126 sed 's/^/| /' conftest.$ac_ext >&5
43128 ac_header_preproc=no
43130 rm -f conftest.err conftest.$ac_ext
43131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43132 echo "${ECHO_T}$ac_header_preproc" >&6
43134 # So? What about this header?
43135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43136 yes:no: )
43137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43141 ac_header_preproc=yes
43143 no:yes:* )
43144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43157 cat <<\_ASBOX
43158 ## ----------------------------------------- ##
43159 ## Report this to the package-unused lists. ##
43160 ## ----------------------------------------- ##
43161 _ASBOX
43163 sed "s/^/$as_me: WARNING: /" >&2
43165 esac
43166 echo "$as_me:$LINENO: checking for $ac_header" >&5
43167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43169 echo $ECHO_N "(cached) $ECHO_C" >&6
43170 else
43171 eval "$as_ac_Header=\$ac_header_preproc"
43173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43178 cat >>confdefs.h <<_ACEOF
43179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43180 _ACEOF
43184 done
43186 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43189 # All these tests are for C++; save the language and the compiler flags.
43190 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43191 # found in GLIBCXX_CONFIGURE.
43194 ac_ext=cc
43195 ac_cpp='$CXXCPP $CPPFLAGS'
43196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43201 ac_save_CXXFLAGS="$CXXFLAGS"
43203 # Check for maintainer-mode bits.
43204 if test x"$USE_MAINTAINER_MODE" = xno; then
43205 WERROR=''
43206 else
43207 WERROR='-Werror'
43210 # Check for -ffunction-sections -fdata-sections
43211 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43212 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43213 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43214 cat >conftest.$ac_ext <<_ACEOF
43215 /* confdefs.h. */
43216 _ACEOF
43217 cat confdefs.h >>conftest.$ac_ext
43218 cat >>conftest.$ac_ext <<_ACEOF
43219 /* end confdefs.h. */
43220 int foo; void bar() { };
43222 main ()
43226 return 0;
43228 _ACEOF
43229 rm -f conftest.$ac_objext
43230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43231 (eval $ac_compile) 2>conftest.er1
43232 ac_status=$?
43233 grep -v '^ *+' conftest.er1 >conftest.err
43234 rm -f conftest.er1
43235 cat conftest.err >&5
43236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237 (exit $ac_status); } &&
43238 { ac_try='test -z "$ac_cxx_werror_flag"
43239 || test ! -s conftest.err'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43242 ac_status=$?
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; } &&
43245 { ac_try='test -s conftest.$ac_objext'
43246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247 (eval $ac_try) 2>&5
43248 ac_status=$?
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); }; }; then
43251 ac_fdsections=yes
43252 else
43253 echo "$as_me: failed program was:" >&5
43254 sed 's/^/| /' conftest.$ac_ext >&5
43256 ac_fdsections=no
43258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43259 if test "$ac_test_CXXFLAGS" = set; then
43260 CXXFLAGS="$ac_save_CXXFLAGS"
43261 else
43262 # this is the suspicious part
43263 CXXFLAGS=''
43265 if test x"$ac_fdsections" = x"yes"; then
43266 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43268 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43269 echo "${ECHO_T}$ac_fdsections" >&6
43271 ac_ext=c
43272 ac_cpp='$CPP $CPPFLAGS'
43273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43281 # If we're not using GNU ld, then there's no point in even trying these
43282 # tests. Check for that first. We should have already tested for gld
43283 # by now (in libtool), but require it now just to be safe...
43284 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43285 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43289 # The name set by libtool depends on the version of libtool. Shame on us
43290 # for depending on an impl detail, but c'est la vie. Older versions used
43291 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43292 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43293 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43294 # set (hence we're using an older libtool), then set it.
43295 if test x${with_gnu_ld+set} != xset; then
43296 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43297 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43298 with_gnu_ld=no
43299 else
43300 with_gnu_ld=$ac_cv_prog_gnu_ld
43304 # Start by getting the version number. I think the libtool test already
43305 # does some of this, but throws away the result.
43306 glibcxx_ld_is_gold=no
43307 if test x"$with_gnu_ld" = x"yes"; then
43308 echo "$as_me:$LINENO: checking for ld version" >&5
43309 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43311 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43312 glibcxx_ld_is_gold=yes
43314 ldver=`$LD --version 2>/dev/null | head -1 | \
43315 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43317 glibcxx_gnu_ld_version=`echo $ldver | \
43318 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43319 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43320 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43323 # Set --gc-sections.
43324 glibcxx_have_gc_sections=no
43325 if test "$glibcxx_ld_is_gold" = "yes"; then
43326 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43327 glibcxx_have_gc_sections=yes
43329 else
43330 glibcxx_gcsections_min_ld=21602
43331 if test x"$with_gnu_ld" = x"yes" &&
43332 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43333 glibcxx_have_gc_sections=yes
43336 if test "$glibcxx_have_gc_sections" = "yes"; then
43337 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43338 # NB: This flag only works reliably after 2.16.1. Configure tests
43339 # for this are difficult, so hard wire a value that should work.
43341 ac_test_CFLAGS="${CFLAGS+set}"
43342 ac_save_CFLAGS="$CFLAGS"
43343 CFLAGS='-Wl,--gc-sections'
43345 # Check for -Wl,--gc-sections
43346 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43347 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43348 if test x$gcc_no_link = xyes; then
43349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43351 { (exit 1); exit 1; }; }
43353 cat >conftest.$ac_ext <<_ACEOF
43354 /* confdefs.h. */
43355 _ACEOF
43356 cat confdefs.h >>conftest.$ac_ext
43357 cat >>conftest.$ac_ext <<_ACEOF
43358 /* end confdefs.h. */
43359 int one(void) { return 1; }
43360 int two(void) { return 2; }
43363 main ()
43365 two();
43367 return 0;
43369 _ACEOF
43370 rm -f conftest.$ac_objext conftest$ac_exeext
43371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43372 (eval $ac_link) 2>conftest.er1
43373 ac_status=$?
43374 grep -v '^ *+' conftest.er1 >conftest.err
43375 rm -f conftest.er1
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } &&
43379 { ac_try='test -z "$ac_c_werror_flag"
43380 || test ! -s conftest.err'
43381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43382 (eval $ac_try) 2>&5
43383 ac_status=$?
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); }; } &&
43386 { ac_try='test -s conftest$ac_exeext'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43389 ac_status=$?
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; }; then
43392 ac_gcsections=yes
43393 else
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.$ac_ext >&5
43397 ac_gcsections=no
43399 rm -f conftest.err conftest.$ac_objext \
43400 conftest$ac_exeext conftest.$ac_ext
43401 if test "$ac_gcsections" = "yes"; then
43402 rm -f conftest.c
43403 touch conftest.c
43404 if $CC -c conftest.c; then
43405 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43406 grep "Warning: gc-sections option ignored" > /dev/null; then
43407 ac_gcsections=no
43410 rm -f conftest.c conftest.o conftest
43412 if test "$ac_gcsections" = "yes"; then
43413 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43415 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43416 echo "${ECHO_T}$ac_gcsections" >&6
43418 if test "$ac_test_CFLAGS" = set; then
43419 CFLAGS="$ac_save_CFLAGS"
43420 else
43421 # this is the suspicious part
43422 CFLAGS=''
43426 # Set -z,relro.
43427 # Note this is only for shared objects.
43428 ac_ld_relro=no
43429 if test x"$with_gnu_ld" = x"yes"; then
43430 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43431 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43432 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43433 if test -n "$cxx_z_relo"; then
43434 OPT_LDFLAGS="-Wl,-z,relro"
43435 ac_ld_relro=yes
43437 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43438 echo "${ECHO_T}$ac_ld_relro" >&6
43441 # Set linker optimization flags.
43442 if test x"$with_gnu_ld" = x"yes"; then
43443 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43450 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43451 ac_save_CXXFLAGS="$CXXFLAGS"
43452 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43454 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43455 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43456 if test "${ac_cv_lib_m_sin+set}" = set; then
43457 echo $ECHO_N "(cached) $ECHO_C" >&6
43458 else
43459 ac_check_lib_save_LIBS=$LIBS
43460 LIBS="-lm $LIBS"
43461 if test x$gcc_no_link = xyes; then
43462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43464 { (exit 1); exit 1; }; }
43466 cat >conftest.$ac_ext <<_ACEOF
43467 /* confdefs.h. */
43468 _ACEOF
43469 cat confdefs.h >>conftest.$ac_ext
43470 cat >>conftest.$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43473 /* Override any gcc2 internal prototype to avoid an error. */
43474 #ifdef __cplusplus
43475 extern "C"
43476 #endif
43477 /* We use char because int might match the return type of a gcc2
43478 builtin and then its argument prototype would still apply. */
43479 char sin ();
43481 main ()
43483 sin ();
43485 return 0;
43487 _ACEOF
43488 rm -f conftest.$ac_objext conftest$ac_exeext
43489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43490 (eval $ac_link) 2>conftest.er1
43491 ac_status=$?
43492 grep -v '^ *+' conftest.er1 >conftest.err
43493 rm -f conftest.er1
43494 cat conftest.err >&5
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); } &&
43497 { ac_try='test -z "$ac_c_werror_flag"
43498 || test ! -s conftest.err'
43499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43500 (eval $ac_try) 2>&5
43501 ac_status=$?
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); }; } &&
43504 { ac_try='test -s conftest$ac_exeext'
43505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43506 (eval $ac_try) 2>&5
43507 ac_status=$?
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); }; }; then
43510 ac_cv_lib_m_sin=yes
43511 else
43512 echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.$ac_ext >&5
43515 ac_cv_lib_m_sin=no
43517 rm -f conftest.err conftest.$ac_objext \
43518 conftest$ac_exeext conftest.$ac_ext
43519 LIBS=$ac_check_lib_save_LIBS
43521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43522 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43523 if test $ac_cv_lib_m_sin = yes; then
43524 libm="-lm"
43527 ac_save_LIBS="$LIBS"
43528 LIBS="$LIBS $libm"
43532 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43533 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43536 echo $ECHO_N "(cached) $ECHO_C" >&6
43537 else
43541 ac_ext=cc
43542 ac_cpp='$CXXCPP $CPPFLAGS'
43543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43547 cat >conftest.$ac_ext <<_ACEOF
43548 /* confdefs.h. */
43549 _ACEOF
43550 cat confdefs.h >>conftest.$ac_ext
43551 cat >>conftest.$ac_ext <<_ACEOF
43552 /* end confdefs.h. */
43553 #include <math.h>
43554 #ifdef HAVE_IEEEFP_H
43555 #include <ieeefp.h>
43556 #endif
43559 main ()
43561 isinf(0);
43563 return 0;
43565 _ACEOF
43566 rm -f conftest.$ac_objext
43567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43568 (eval $ac_compile) 2>conftest.er1
43569 ac_status=$?
43570 grep -v '^ *+' conftest.er1 >conftest.err
43571 rm -f conftest.er1
43572 cat conftest.err >&5
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); } &&
43575 { ac_try='test -z "$ac_cxx_werror_flag"
43576 || test ! -s conftest.err'
43577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43578 (eval $ac_try) 2>&5
43579 ac_status=$?
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); }; } &&
43582 { ac_try='test -s conftest.$ac_objext'
43583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43584 (eval $ac_try) 2>&5
43585 ac_status=$?
43586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43587 (exit $ac_status); }; }; then
43588 glibcxx_cv_func_isinf_use=yes
43589 else
43590 echo "$as_me: failed program was:" >&5
43591 sed 's/^/| /' conftest.$ac_ext >&5
43593 glibcxx_cv_func_isinf_use=no
43595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43596 ac_ext=c
43597 ac_cpp='$CPP $CPPFLAGS'
43598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43607 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43609 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43611 for ac_func in isinf
43613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43614 echo "$as_me:$LINENO: checking for $ac_func" >&5
43615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43616 if eval "test \"\${$as_ac_var+set}\" = set"; then
43617 echo $ECHO_N "(cached) $ECHO_C" >&6
43618 else
43619 if test x$gcc_no_link = xyes; then
43620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43622 { (exit 1); exit 1; }; }
43624 cat >conftest.$ac_ext <<_ACEOF
43625 /* confdefs.h. */
43626 _ACEOF
43627 cat confdefs.h >>conftest.$ac_ext
43628 cat >>conftest.$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43632 #define $ac_func innocuous_$ac_func
43634 /* System header to define __stub macros and hopefully few prototypes,
43635 which can conflict with char $ac_func (); below.
43636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43637 <limits.h> exists even on freestanding compilers. */
43639 #ifdef __STDC__
43640 # include <limits.h>
43641 #else
43642 # include <assert.h>
43643 #endif
43645 #undef $ac_func
43647 /* Override any gcc2 internal prototype to avoid an error. */
43648 #ifdef __cplusplus
43649 extern "C"
43651 #endif
43652 /* We use char because int might match the return type of a gcc2
43653 builtin and then its argument prototype would still apply. */
43654 char $ac_func ();
43655 /* The GNU C library defines this for functions which it implements
43656 to always fail with ENOSYS. Some functions are actually named
43657 something starting with __ and the normal name is an alias. */
43658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43659 choke me
43660 #else
43661 char (*f) () = $ac_func;
43662 #endif
43663 #ifdef __cplusplus
43665 #endif
43668 main ()
43670 return f != $ac_func;
43672 return 0;
43674 _ACEOF
43675 rm -f conftest.$ac_objext conftest$ac_exeext
43676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43677 (eval $ac_link) 2>conftest.er1
43678 ac_status=$?
43679 grep -v '^ *+' conftest.er1 >conftest.err
43680 rm -f conftest.er1
43681 cat conftest.err >&5
43682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683 (exit $ac_status); } &&
43684 { ac_try='test -z "$ac_c_werror_flag"
43685 || test ! -s conftest.err'
43686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43687 (eval $ac_try) 2>&5
43688 ac_status=$?
43689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43690 (exit $ac_status); }; } &&
43691 { ac_try='test -s conftest$ac_exeext'
43692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43693 (eval $ac_try) 2>&5
43694 ac_status=$?
43695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43696 (exit $ac_status); }; }; then
43697 eval "$as_ac_var=yes"
43698 else
43699 echo "$as_me: failed program was:" >&5
43700 sed 's/^/| /' conftest.$ac_ext >&5
43702 eval "$as_ac_var=no"
43704 rm -f conftest.err conftest.$ac_objext \
43705 conftest$ac_exeext conftest.$ac_ext
43707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43709 if test `eval echo '${'$as_ac_var'}'` = yes; then
43710 cat >>confdefs.h <<_ACEOF
43711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43712 _ACEOF
43715 done
43717 else
43719 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43720 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43721 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43722 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43723 echo $ECHO_N "(cached) $ECHO_C" >&6
43724 else
43728 ac_ext=cc
43729 ac_cpp='$CXXCPP $CPPFLAGS'
43730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43734 cat >conftest.$ac_ext <<_ACEOF
43735 /* confdefs.h. */
43736 _ACEOF
43737 cat confdefs.h >>conftest.$ac_ext
43738 cat >>conftest.$ac_ext <<_ACEOF
43739 /* end confdefs.h. */
43740 #include <math.h>
43741 #ifdef HAVE_IEEEFP_H
43742 #include <ieeefp.h>
43743 #endif
43746 main ()
43748 _isinf(0);
43750 return 0;
43752 _ACEOF
43753 rm -f conftest.$ac_objext
43754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43755 (eval $ac_compile) 2>conftest.er1
43756 ac_status=$?
43757 grep -v '^ *+' conftest.er1 >conftest.err
43758 rm -f conftest.er1
43759 cat conftest.err >&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); } &&
43762 { ac_try='test -z "$ac_cxx_werror_flag"
43763 || test ! -s conftest.err'
43764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43765 (eval $ac_try) 2>&5
43766 ac_status=$?
43767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768 (exit $ac_status); }; } &&
43769 { ac_try='test -s conftest.$ac_objext'
43770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43771 (eval $ac_try) 2>&5
43772 ac_status=$?
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); }; }; then
43775 glibcxx_cv_func__isinf_use=yes
43776 else
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.$ac_ext >&5
43780 glibcxx_cv_func__isinf_use=no
43782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43783 ac_ext=c
43784 ac_cpp='$CPP $CPPFLAGS'
43785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43794 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43796 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43798 for ac_func in _isinf
43800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43801 echo "$as_me:$LINENO: checking for $ac_func" >&5
43802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43803 if eval "test \"\${$as_ac_var+set}\" = set"; then
43804 echo $ECHO_N "(cached) $ECHO_C" >&6
43805 else
43806 if test x$gcc_no_link = xyes; then
43807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43809 { (exit 1); exit 1; }; }
43811 cat >conftest.$ac_ext <<_ACEOF
43812 /* confdefs.h. */
43813 _ACEOF
43814 cat confdefs.h >>conftest.$ac_ext
43815 cat >>conftest.$ac_ext <<_ACEOF
43816 /* end confdefs.h. */
43817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43819 #define $ac_func innocuous_$ac_func
43821 /* System header to define __stub macros and hopefully few prototypes,
43822 which can conflict with char $ac_func (); below.
43823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43824 <limits.h> exists even on freestanding compilers. */
43826 #ifdef __STDC__
43827 # include <limits.h>
43828 #else
43829 # include <assert.h>
43830 #endif
43832 #undef $ac_func
43834 /* Override any gcc2 internal prototype to avoid an error. */
43835 #ifdef __cplusplus
43836 extern "C"
43838 #endif
43839 /* We use char because int might match the return type of a gcc2
43840 builtin and then its argument prototype would still apply. */
43841 char $ac_func ();
43842 /* The GNU C library defines this for functions which it implements
43843 to always fail with ENOSYS. Some functions are actually named
43844 something starting with __ and the normal name is an alias. */
43845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43846 choke me
43847 #else
43848 char (*f) () = $ac_func;
43849 #endif
43850 #ifdef __cplusplus
43852 #endif
43855 main ()
43857 return f != $ac_func;
43859 return 0;
43861 _ACEOF
43862 rm -f conftest.$ac_objext conftest$ac_exeext
43863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43864 (eval $ac_link) 2>conftest.er1
43865 ac_status=$?
43866 grep -v '^ *+' conftest.er1 >conftest.err
43867 rm -f conftest.er1
43868 cat conftest.err >&5
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); } &&
43871 { ac_try='test -z "$ac_c_werror_flag"
43872 || test ! -s conftest.err'
43873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43874 (eval $ac_try) 2>&5
43875 ac_status=$?
43876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43877 (exit $ac_status); }; } &&
43878 { ac_try='test -s conftest$ac_exeext'
43879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43880 (eval $ac_try) 2>&5
43881 ac_status=$?
43882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883 (exit $ac_status); }; }; then
43884 eval "$as_ac_var=yes"
43885 else
43886 echo "$as_me: failed program was:" >&5
43887 sed 's/^/| /' conftest.$ac_ext >&5
43889 eval "$as_ac_var=no"
43891 rm -f conftest.err conftest.$ac_objext \
43892 conftest$ac_exeext conftest.$ac_ext
43894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43896 if test `eval echo '${'$as_ac_var'}'` = yes; then
43897 cat >>confdefs.h <<_ACEOF
43898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43899 _ACEOF
43902 done
43912 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43913 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43914 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43915 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43916 echo $ECHO_N "(cached) $ECHO_C" >&6
43917 else
43921 ac_ext=cc
43922 ac_cpp='$CXXCPP $CPPFLAGS'
43923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43927 cat >conftest.$ac_ext <<_ACEOF
43928 /* confdefs.h. */
43929 _ACEOF
43930 cat confdefs.h >>conftest.$ac_ext
43931 cat >>conftest.$ac_ext <<_ACEOF
43932 /* end confdefs.h. */
43933 #include <math.h>
43934 #ifdef HAVE_IEEEFP_H
43935 #include <ieeefp.h>
43936 #endif
43939 main ()
43941 isnan(0);
43943 return 0;
43945 _ACEOF
43946 rm -f conftest.$ac_objext
43947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43948 (eval $ac_compile) 2>conftest.er1
43949 ac_status=$?
43950 grep -v '^ *+' conftest.er1 >conftest.err
43951 rm -f conftest.er1
43952 cat conftest.err >&5
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); } &&
43955 { ac_try='test -z "$ac_cxx_werror_flag"
43956 || test ! -s conftest.err'
43957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43958 (eval $ac_try) 2>&5
43959 ac_status=$?
43960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961 (exit $ac_status); }; } &&
43962 { ac_try='test -s conftest.$ac_objext'
43963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43964 (eval $ac_try) 2>&5
43965 ac_status=$?
43966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43967 (exit $ac_status); }; }; then
43968 glibcxx_cv_func_isnan_use=yes
43969 else
43970 echo "$as_me: failed program was:" >&5
43971 sed 's/^/| /' conftest.$ac_ext >&5
43973 glibcxx_cv_func_isnan_use=no
43975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43976 ac_ext=c
43977 ac_cpp='$CPP $CPPFLAGS'
43978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43987 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43989 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43991 for ac_func in isnan
43993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43994 echo "$as_me:$LINENO: checking for $ac_func" >&5
43995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43996 if eval "test \"\${$as_ac_var+set}\" = set"; then
43997 echo $ECHO_N "(cached) $ECHO_C" >&6
43998 else
43999 if test x$gcc_no_link = xyes; then
44000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44002 { (exit 1); exit 1; }; }
44004 cat >conftest.$ac_ext <<_ACEOF
44005 /* confdefs.h. */
44006 _ACEOF
44007 cat confdefs.h >>conftest.$ac_ext
44008 cat >>conftest.$ac_ext <<_ACEOF
44009 /* end confdefs.h. */
44010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44012 #define $ac_func innocuous_$ac_func
44014 /* System header to define __stub macros and hopefully few prototypes,
44015 which can conflict with char $ac_func (); below.
44016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44017 <limits.h> exists even on freestanding compilers. */
44019 #ifdef __STDC__
44020 # include <limits.h>
44021 #else
44022 # include <assert.h>
44023 #endif
44025 #undef $ac_func
44027 /* Override any gcc2 internal prototype to avoid an error. */
44028 #ifdef __cplusplus
44029 extern "C"
44031 #endif
44032 /* We use char because int might match the return type of a gcc2
44033 builtin and then its argument prototype would still apply. */
44034 char $ac_func ();
44035 /* The GNU C library defines this for functions which it implements
44036 to always fail with ENOSYS. Some functions are actually named
44037 something starting with __ and the normal name is an alias. */
44038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44039 choke me
44040 #else
44041 char (*f) () = $ac_func;
44042 #endif
44043 #ifdef __cplusplus
44045 #endif
44048 main ()
44050 return f != $ac_func;
44052 return 0;
44054 _ACEOF
44055 rm -f conftest.$ac_objext conftest$ac_exeext
44056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44057 (eval $ac_link) 2>conftest.er1
44058 ac_status=$?
44059 grep -v '^ *+' conftest.er1 >conftest.err
44060 rm -f conftest.er1
44061 cat conftest.err >&5
44062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44063 (exit $ac_status); } &&
44064 { ac_try='test -z "$ac_c_werror_flag"
44065 || test ! -s conftest.err'
44066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44067 (eval $ac_try) 2>&5
44068 ac_status=$?
44069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44070 (exit $ac_status); }; } &&
44071 { ac_try='test -s conftest$ac_exeext'
44072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44073 (eval $ac_try) 2>&5
44074 ac_status=$?
44075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44076 (exit $ac_status); }; }; then
44077 eval "$as_ac_var=yes"
44078 else
44079 echo "$as_me: failed program was:" >&5
44080 sed 's/^/| /' conftest.$ac_ext >&5
44082 eval "$as_ac_var=no"
44084 rm -f conftest.err conftest.$ac_objext \
44085 conftest$ac_exeext conftest.$ac_ext
44087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44089 if test `eval echo '${'$as_ac_var'}'` = yes; then
44090 cat >>confdefs.h <<_ACEOF
44091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44092 _ACEOF
44095 done
44097 else
44099 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44100 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44101 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44102 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44103 echo $ECHO_N "(cached) $ECHO_C" >&6
44104 else
44108 ac_ext=cc
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44114 cat >conftest.$ac_ext <<_ACEOF
44115 /* confdefs.h. */
44116 _ACEOF
44117 cat confdefs.h >>conftest.$ac_ext
44118 cat >>conftest.$ac_ext <<_ACEOF
44119 /* end confdefs.h. */
44120 #include <math.h>
44121 #ifdef HAVE_IEEEFP_H
44122 #include <ieeefp.h>
44123 #endif
44126 main ()
44128 _isnan(0);
44130 return 0;
44132 _ACEOF
44133 rm -f conftest.$ac_objext
44134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44135 (eval $ac_compile) 2>conftest.er1
44136 ac_status=$?
44137 grep -v '^ *+' conftest.er1 >conftest.err
44138 rm -f conftest.er1
44139 cat conftest.err >&5
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); } &&
44142 { ac_try='test -z "$ac_cxx_werror_flag"
44143 || test ! -s conftest.err'
44144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44145 (eval $ac_try) 2>&5
44146 ac_status=$?
44147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44148 (exit $ac_status); }; } &&
44149 { ac_try='test -s conftest.$ac_objext'
44150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44151 (eval $ac_try) 2>&5
44152 ac_status=$?
44153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44154 (exit $ac_status); }; }; then
44155 glibcxx_cv_func__isnan_use=yes
44156 else
44157 echo "$as_me: failed program was:" >&5
44158 sed 's/^/| /' conftest.$ac_ext >&5
44160 glibcxx_cv_func__isnan_use=no
44162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44163 ac_ext=c
44164 ac_cpp='$CPP $CPPFLAGS'
44165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44174 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44176 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44178 for ac_func in _isnan
44180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44181 echo "$as_me:$LINENO: checking for $ac_func" >&5
44182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44183 if eval "test \"\${$as_ac_var+set}\" = set"; then
44184 echo $ECHO_N "(cached) $ECHO_C" >&6
44185 else
44186 if test x$gcc_no_link = xyes; then
44187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44189 { (exit 1); exit 1; }; }
44191 cat >conftest.$ac_ext <<_ACEOF
44192 /* confdefs.h. */
44193 _ACEOF
44194 cat confdefs.h >>conftest.$ac_ext
44195 cat >>conftest.$ac_ext <<_ACEOF
44196 /* end confdefs.h. */
44197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44199 #define $ac_func innocuous_$ac_func
44201 /* System header to define __stub macros and hopefully few prototypes,
44202 which can conflict with char $ac_func (); below.
44203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44204 <limits.h> exists even on freestanding compilers. */
44206 #ifdef __STDC__
44207 # include <limits.h>
44208 #else
44209 # include <assert.h>
44210 #endif
44212 #undef $ac_func
44214 /* Override any gcc2 internal prototype to avoid an error. */
44215 #ifdef __cplusplus
44216 extern "C"
44218 #endif
44219 /* We use char because int might match the return type of a gcc2
44220 builtin and then its argument prototype would still apply. */
44221 char $ac_func ();
44222 /* The GNU C library defines this for functions which it implements
44223 to always fail with ENOSYS. Some functions are actually named
44224 something starting with __ and the normal name is an alias. */
44225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44226 choke me
44227 #else
44228 char (*f) () = $ac_func;
44229 #endif
44230 #ifdef __cplusplus
44232 #endif
44235 main ()
44237 return f != $ac_func;
44239 return 0;
44241 _ACEOF
44242 rm -f conftest.$ac_objext conftest$ac_exeext
44243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44244 (eval $ac_link) 2>conftest.er1
44245 ac_status=$?
44246 grep -v '^ *+' conftest.er1 >conftest.err
44247 rm -f conftest.er1
44248 cat conftest.err >&5
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); } &&
44251 { ac_try='test -z "$ac_c_werror_flag"
44252 || test ! -s conftest.err'
44253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44254 (eval $ac_try) 2>&5
44255 ac_status=$?
44256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44257 (exit $ac_status); }; } &&
44258 { ac_try='test -s conftest$ac_exeext'
44259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44260 (eval $ac_try) 2>&5
44261 ac_status=$?
44262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44263 (exit $ac_status); }; }; then
44264 eval "$as_ac_var=yes"
44265 else
44266 echo "$as_me: failed program was:" >&5
44267 sed 's/^/| /' conftest.$ac_ext >&5
44269 eval "$as_ac_var=no"
44271 rm -f conftest.err conftest.$ac_objext \
44272 conftest$ac_exeext conftest.$ac_ext
44274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44276 if test `eval echo '${'$as_ac_var'}'` = yes; then
44277 cat >>confdefs.h <<_ACEOF
44278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44279 _ACEOF
44282 done
44292 echo "$as_me:$LINENO: checking for finite declaration" >&5
44293 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44294 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44295 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44296 echo $ECHO_N "(cached) $ECHO_C" >&6
44297 else
44301 ac_ext=cc
44302 ac_cpp='$CXXCPP $CPPFLAGS'
44303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44307 cat >conftest.$ac_ext <<_ACEOF
44308 /* confdefs.h. */
44309 _ACEOF
44310 cat confdefs.h >>conftest.$ac_ext
44311 cat >>conftest.$ac_ext <<_ACEOF
44312 /* end confdefs.h. */
44313 #include <math.h>
44314 #ifdef HAVE_IEEEFP_H
44315 #include <ieeefp.h>
44316 #endif
44319 main ()
44321 finite(0);
44323 return 0;
44325 _ACEOF
44326 rm -f conftest.$ac_objext
44327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44328 (eval $ac_compile) 2>conftest.er1
44329 ac_status=$?
44330 grep -v '^ *+' conftest.er1 >conftest.err
44331 rm -f conftest.er1
44332 cat conftest.err >&5
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); } &&
44335 { ac_try='test -z "$ac_cxx_werror_flag"
44336 || test ! -s conftest.err'
44337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44338 (eval $ac_try) 2>&5
44339 ac_status=$?
44340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341 (exit $ac_status); }; } &&
44342 { ac_try='test -s conftest.$ac_objext'
44343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44344 (eval $ac_try) 2>&5
44345 ac_status=$?
44346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44347 (exit $ac_status); }; }; then
44348 glibcxx_cv_func_finite_use=yes
44349 else
44350 echo "$as_me: failed program was:" >&5
44351 sed 's/^/| /' conftest.$ac_ext >&5
44353 glibcxx_cv_func_finite_use=no
44355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44356 ac_ext=c
44357 ac_cpp='$CPP $CPPFLAGS'
44358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44367 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44369 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44371 for ac_func in finite
44373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44374 echo "$as_me:$LINENO: checking for $ac_func" >&5
44375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44376 if eval "test \"\${$as_ac_var+set}\" = set"; then
44377 echo $ECHO_N "(cached) $ECHO_C" >&6
44378 else
44379 if test x$gcc_no_link = xyes; then
44380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44382 { (exit 1); exit 1; }; }
44384 cat >conftest.$ac_ext <<_ACEOF
44385 /* confdefs.h. */
44386 _ACEOF
44387 cat confdefs.h >>conftest.$ac_ext
44388 cat >>conftest.$ac_ext <<_ACEOF
44389 /* end confdefs.h. */
44390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44392 #define $ac_func innocuous_$ac_func
44394 /* System header to define __stub macros and hopefully few prototypes,
44395 which can conflict with char $ac_func (); below.
44396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44397 <limits.h> exists even on freestanding compilers. */
44399 #ifdef __STDC__
44400 # include <limits.h>
44401 #else
44402 # include <assert.h>
44403 #endif
44405 #undef $ac_func
44407 /* Override any gcc2 internal prototype to avoid an error. */
44408 #ifdef __cplusplus
44409 extern "C"
44411 #endif
44412 /* We use char because int might match the return type of a gcc2
44413 builtin and then its argument prototype would still apply. */
44414 char $ac_func ();
44415 /* The GNU C library defines this for functions which it implements
44416 to always fail with ENOSYS. Some functions are actually named
44417 something starting with __ and the normal name is an alias. */
44418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44419 choke me
44420 #else
44421 char (*f) () = $ac_func;
44422 #endif
44423 #ifdef __cplusplus
44425 #endif
44428 main ()
44430 return f != $ac_func;
44432 return 0;
44434 _ACEOF
44435 rm -f conftest.$ac_objext conftest$ac_exeext
44436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44437 (eval $ac_link) 2>conftest.er1
44438 ac_status=$?
44439 grep -v '^ *+' conftest.er1 >conftest.err
44440 rm -f conftest.er1
44441 cat conftest.err >&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } &&
44444 { ac_try='test -z "$ac_c_werror_flag"
44445 || test ! -s conftest.err'
44446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44447 (eval $ac_try) 2>&5
44448 ac_status=$?
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; } &&
44451 { ac_try='test -s conftest$ac_exeext'
44452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44453 (eval $ac_try) 2>&5
44454 ac_status=$?
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); }; }; then
44457 eval "$as_ac_var=yes"
44458 else
44459 echo "$as_me: failed program was:" >&5
44460 sed 's/^/| /' conftest.$ac_ext >&5
44462 eval "$as_ac_var=no"
44464 rm -f conftest.err conftest.$ac_objext \
44465 conftest$ac_exeext conftest.$ac_ext
44467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44469 if test `eval echo '${'$as_ac_var'}'` = yes; then
44470 cat >>confdefs.h <<_ACEOF
44471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44472 _ACEOF
44475 done
44477 else
44479 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44480 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44481 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44482 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44483 echo $ECHO_N "(cached) $ECHO_C" >&6
44484 else
44488 ac_ext=cc
44489 ac_cpp='$CXXCPP $CPPFLAGS'
44490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44494 cat >conftest.$ac_ext <<_ACEOF
44495 /* confdefs.h. */
44496 _ACEOF
44497 cat confdefs.h >>conftest.$ac_ext
44498 cat >>conftest.$ac_ext <<_ACEOF
44499 /* end confdefs.h. */
44500 #include <math.h>
44501 #ifdef HAVE_IEEEFP_H
44502 #include <ieeefp.h>
44503 #endif
44506 main ()
44508 _finite(0);
44510 return 0;
44512 _ACEOF
44513 rm -f conftest.$ac_objext
44514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44515 (eval $ac_compile) 2>conftest.er1
44516 ac_status=$?
44517 grep -v '^ *+' conftest.er1 >conftest.err
44518 rm -f conftest.er1
44519 cat conftest.err >&5
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); } &&
44522 { ac_try='test -z "$ac_cxx_werror_flag"
44523 || test ! -s conftest.err'
44524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44525 (eval $ac_try) 2>&5
44526 ac_status=$?
44527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44528 (exit $ac_status); }; } &&
44529 { ac_try='test -s conftest.$ac_objext'
44530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44531 (eval $ac_try) 2>&5
44532 ac_status=$?
44533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44534 (exit $ac_status); }; }; then
44535 glibcxx_cv_func__finite_use=yes
44536 else
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.$ac_ext >&5
44540 glibcxx_cv_func__finite_use=no
44542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44543 ac_ext=c
44544 ac_cpp='$CPP $CPPFLAGS'
44545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44554 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44556 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44558 for ac_func in _finite
44560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44561 echo "$as_me:$LINENO: checking for $ac_func" >&5
44562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44563 if eval "test \"\${$as_ac_var+set}\" = set"; then
44564 echo $ECHO_N "(cached) $ECHO_C" >&6
44565 else
44566 if test x$gcc_no_link = xyes; then
44567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44569 { (exit 1); exit 1; }; }
44571 cat >conftest.$ac_ext <<_ACEOF
44572 /* confdefs.h. */
44573 _ACEOF
44574 cat confdefs.h >>conftest.$ac_ext
44575 cat >>conftest.$ac_ext <<_ACEOF
44576 /* end confdefs.h. */
44577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44579 #define $ac_func innocuous_$ac_func
44581 /* System header to define __stub macros and hopefully few prototypes,
44582 which can conflict with char $ac_func (); below.
44583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44584 <limits.h> exists even on freestanding compilers. */
44586 #ifdef __STDC__
44587 # include <limits.h>
44588 #else
44589 # include <assert.h>
44590 #endif
44592 #undef $ac_func
44594 /* Override any gcc2 internal prototype to avoid an error. */
44595 #ifdef __cplusplus
44596 extern "C"
44598 #endif
44599 /* We use char because int might match the return type of a gcc2
44600 builtin and then its argument prototype would still apply. */
44601 char $ac_func ();
44602 /* The GNU C library defines this for functions which it implements
44603 to always fail with ENOSYS. Some functions are actually named
44604 something starting with __ and the normal name is an alias. */
44605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44606 choke me
44607 #else
44608 char (*f) () = $ac_func;
44609 #endif
44610 #ifdef __cplusplus
44612 #endif
44615 main ()
44617 return f != $ac_func;
44619 return 0;
44621 _ACEOF
44622 rm -f conftest.$ac_objext conftest$ac_exeext
44623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44624 (eval $ac_link) 2>conftest.er1
44625 ac_status=$?
44626 grep -v '^ *+' conftest.er1 >conftest.err
44627 rm -f conftest.er1
44628 cat conftest.err >&5
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); } &&
44631 { ac_try='test -z "$ac_c_werror_flag"
44632 || test ! -s conftest.err'
44633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44634 (eval $ac_try) 2>&5
44635 ac_status=$?
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); }; } &&
44638 { ac_try='test -s conftest$ac_exeext'
44639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44640 (eval $ac_try) 2>&5
44641 ac_status=$?
44642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44643 (exit $ac_status); }; }; then
44644 eval "$as_ac_var=yes"
44645 else
44646 echo "$as_me: failed program was:" >&5
44647 sed 's/^/| /' conftest.$ac_ext >&5
44649 eval "$as_ac_var=no"
44651 rm -f conftest.err conftest.$ac_objext \
44652 conftest$ac_exeext conftest.$ac_ext
44654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44656 if test `eval echo '${'$as_ac_var'}'` = yes; then
44657 cat >>confdefs.h <<_ACEOF
44658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44659 _ACEOF
44662 done
44672 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44673 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44674 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44675 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44676 echo $ECHO_N "(cached) $ECHO_C" >&6
44677 else
44681 ac_ext=cc
44682 ac_cpp='$CXXCPP $CPPFLAGS'
44683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44687 cat >conftest.$ac_ext <<_ACEOF
44688 /* confdefs.h. */
44689 _ACEOF
44690 cat confdefs.h >>conftest.$ac_ext
44691 cat >>conftest.$ac_ext <<_ACEOF
44692 /* end confdefs.h. */
44693 #include <math.h>
44695 main ()
44697 copysign(0, 0);
44699 return 0;
44701 _ACEOF
44702 rm -f conftest.$ac_objext
44703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44704 (eval $ac_compile) 2>conftest.er1
44705 ac_status=$?
44706 grep -v '^ *+' conftest.er1 >conftest.err
44707 rm -f conftest.er1
44708 cat conftest.err >&5
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); } &&
44711 { ac_try='test -z "$ac_cxx_werror_flag"
44712 || test ! -s conftest.err'
44713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44714 (eval $ac_try) 2>&5
44715 ac_status=$?
44716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44717 (exit $ac_status); }; } &&
44718 { ac_try='test -s conftest.$ac_objext'
44719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44720 (eval $ac_try) 2>&5
44721 ac_status=$?
44722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723 (exit $ac_status); }; }; then
44724 glibcxx_cv_func_copysign_use=yes
44725 else
44726 echo "$as_me: failed program was:" >&5
44727 sed 's/^/| /' conftest.$ac_ext >&5
44729 glibcxx_cv_func_copysign_use=no
44731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44732 ac_ext=c
44733 ac_cpp='$CPP $CPPFLAGS'
44734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44743 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44745 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44747 for ac_func in copysign
44749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44750 echo "$as_me:$LINENO: checking for $ac_func" >&5
44751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44752 if eval "test \"\${$as_ac_var+set}\" = set"; then
44753 echo $ECHO_N "(cached) $ECHO_C" >&6
44754 else
44755 if test x$gcc_no_link = xyes; then
44756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44758 { (exit 1); exit 1; }; }
44760 cat >conftest.$ac_ext <<_ACEOF
44761 /* confdefs.h. */
44762 _ACEOF
44763 cat confdefs.h >>conftest.$ac_ext
44764 cat >>conftest.$ac_ext <<_ACEOF
44765 /* end confdefs.h. */
44766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44768 #define $ac_func innocuous_$ac_func
44770 /* System header to define __stub macros and hopefully few prototypes,
44771 which can conflict with char $ac_func (); below.
44772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44773 <limits.h> exists even on freestanding compilers. */
44775 #ifdef __STDC__
44776 # include <limits.h>
44777 #else
44778 # include <assert.h>
44779 #endif
44781 #undef $ac_func
44783 /* Override any gcc2 internal prototype to avoid an error. */
44784 #ifdef __cplusplus
44785 extern "C"
44787 #endif
44788 /* We use char because int might match the return type of a gcc2
44789 builtin and then its argument prototype would still apply. */
44790 char $ac_func ();
44791 /* The GNU C library defines this for functions which it implements
44792 to always fail with ENOSYS. Some functions are actually named
44793 something starting with __ and the normal name is an alias. */
44794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44795 choke me
44796 #else
44797 char (*f) () = $ac_func;
44798 #endif
44799 #ifdef __cplusplus
44801 #endif
44804 main ()
44806 return f != $ac_func;
44808 return 0;
44810 _ACEOF
44811 rm -f conftest.$ac_objext conftest$ac_exeext
44812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44813 (eval $ac_link) 2>conftest.er1
44814 ac_status=$?
44815 grep -v '^ *+' conftest.er1 >conftest.err
44816 rm -f conftest.er1
44817 cat conftest.err >&5
44818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819 (exit $ac_status); } &&
44820 { ac_try='test -z "$ac_c_werror_flag"
44821 || test ! -s conftest.err'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44824 ac_status=$?
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; } &&
44827 { ac_try='test -s conftest$ac_exeext'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44830 ac_status=$?
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; }; then
44833 eval "$as_ac_var=yes"
44834 else
44835 echo "$as_me: failed program was:" >&5
44836 sed 's/^/| /' conftest.$ac_ext >&5
44838 eval "$as_ac_var=no"
44840 rm -f conftest.err conftest.$ac_objext \
44841 conftest$ac_exeext conftest.$ac_ext
44843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44845 if test `eval echo '${'$as_ac_var'}'` = yes; then
44846 cat >>confdefs.h <<_ACEOF
44847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44848 _ACEOF
44851 done
44853 else
44855 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44856 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44857 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44858 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44859 echo $ECHO_N "(cached) $ECHO_C" >&6
44860 else
44864 ac_ext=cc
44865 ac_cpp='$CXXCPP $CPPFLAGS'
44866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44870 cat >conftest.$ac_ext <<_ACEOF
44871 /* confdefs.h. */
44872 _ACEOF
44873 cat confdefs.h >>conftest.$ac_ext
44874 cat >>conftest.$ac_ext <<_ACEOF
44875 /* end confdefs.h. */
44876 #include <math.h>
44878 main ()
44880 _copysign(0, 0);
44882 return 0;
44884 _ACEOF
44885 rm -f conftest.$ac_objext
44886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44887 (eval $ac_compile) 2>conftest.er1
44888 ac_status=$?
44889 grep -v '^ *+' conftest.er1 >conftest.err
44890 rm -f conftest.er1
44891 cat conftest.err >&5
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); } &&
44894 { ac_try='test -z "$ac_cxx_werror_flag"
44895 || test ! -s conftest.err'
44896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44897 (eval $ac_try) 2>&5
44898 ac_status=$?
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; } &&
44901 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
44907 glibcxx_cv_func__copysign_use=yes
44908 else
44909 echo "$as_me: failed program was:" >&5
44910 sed 's/^/| /' conftest.$ac_ext >&5
44912 glibcxx_cv_func__copysign_use=no
44914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44915 ac_ext=c
44916 ac_cpp='$CPP $CPPFLAGS'
44917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44926 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44928 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44930 for ac_func in _copysign
44932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44933 echo "$as_me:$LINENO: checking for $ac_func" >&5
44934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44935 if eval "test \"\${$as_ac_var+set}\" = set"; then
44936 echo $ECHO_N "(cached) $ECHO_C" >&6
44937 else
44938 if test x$gcc_no_link = xyes; then
44939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44941 { (exit 1); exit 1; }; }
44943 cat >conftest.$ac_ext <<_ACEOF
44944 /* confdefs.h. */
44945 _ACEOF
44946 cat confdefs.h >>conftest.$ac_ext
44947 cat >>conftest.$ac_ext <<_ACEOF
44948 /* end confdefs.h. */
44949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44951 #define $ac_func innocuous_$ac_func
44953 /* System header to define __stub macros and hopefully few prototypes,
44954 which can conflict with char $ac_func (); below.
44955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44956 <limits.h> exists even on freestanding compilers. */
44958 #ifdef __STDC__
44959 # include <limits.h>
44960 #else
44961 # include <assert.h>
44962 #endif
44964 #undef $ac_func
44966 /* Override any gcc2 internal prototype to avoid an error. */
44967 #ifdef __cplusplus
44968 extern "C"
44970 #endif
44971 /* We use char because int might match the return type of a gcc2
44972 builtin and then its argument prototype would still apply. */
44973 char $ac_func ();
44974 /* The GNU C library defines this for functions which it implements
44975 to always fail with ENOSYS. Some functions are actually named
44976 something starting with __ and the normal name is an alias. */
44977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44978 choke me
44979 #else
44980 char (*f) () = $ac_func;
44981 #endif
44982 #ifdef __cplusplus
44984 #endif
44987 main ()
44989 return f != $ac_func;
44991 return 0;
44993 _ACEOF
44994 rm -f conftest.$ac_objext conftest$ac_exeext
44995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44996 (eval $ac_link) 2>conftest.er1
44997 ac_status=$?
44998 grep -v '^ *+' conftest.er1 >conftest.err
44999 rm -f conftest.er1
45000 cat conftest.err >&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); } &&
45003 { ac_try='test -z "$ac_c_werror_flag"
45004 || test ! -s conftest.err'
45005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45006 (eval $ac_try) 2>&5
45007 ac_status=$?
45008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45009 (exit $ac_status); }; } &&
45010 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
45016 eval "$as_ac_var=yes"
45017 else
45018 echo "$as_me: failed program was:" >&5
45019 sed 's/^/| /' conftest.$ac_ext >&5
45021 eval "$as_ac_var=no"
45023 rm -f conftest.err conftest.$ac_objext \
45024 conftest$ac_exeext conftest.$ac_ext
45026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45028 if test `eval echo '${'$as_ac_var'}'` = yes; then
45029 cat >>confdefs.h <<_ACEOF
45030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45031 _ACEOF
45034 done
45044 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45045 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45046 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45047 if test "${glibcxx_cv_func_sincos_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>
45067 main ()
45069 sincos(0, 0, 0);
45071 return 0;
45073 _ACEOF
45074 rm -f conftest.$ac_objext
45075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45076 (eval $ac_compile) 2>conftest.er1
45077 ac_status=$?
45078 grep -v '^ *+' conftest.er1 >conftest.err
45079 rm -f conftest.er1
45080 cat conftest.err >&5
45081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082 (exit $ac_status); } &&
45083 { ac_try='test -z "$ac_cxx_werror_flag"
45084 || test ! -s conftest.err'
45085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45086 (eval $ac_try) 2>&5
45087 ac_status=$?
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); }; } &&
45090 { ac_try='test -s conftest.$ac_objext'
45091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45092 (eval $ac_try) 2>&5
45093 ac_status=$?
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); }; }; then
45096 glibcxx_cv_func_sincos_use=yes
45097 else
45098 echo "$as_me: failed program was:" >&5
45099 sed 's/^/| /' conftest.$ac_ext >&5
45101 glibcxx_cv_func_sincos_use=no
45103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45104 ac_ext=c
45105 ac_cpp='$CPP $CPPFLAGS'
45106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45115 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45117 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45119 for ac_func in sincos
45121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45122 echo "$as_me:$LINENO: checking for $ac_func" >&5
45123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45124 if eval "test \"\${$as_ac_var+set}\" = set"; then
45125 echo $ECHO_N "(cached) $ECHO_C" >&6
45126 else
45127 if test x$gcc_no_link = xyes; then
45128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45130 { (exit 1); exit 1; }; }
45132 cat >conftest.$ac_ext <<_ACEOF
45133 /* confdefs.h. */
45134 _ACEOF
45135 cat confdefs.h >>conftest.$ac_ext
45136 cat >>conftest.$ac_ext <<_ACEOF
45137 /* end confdefs.h. */
45138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45140 #define $ac_func innocuous_$ac_func
45142 /* System header to define __stub macros and hopefully few prototypes,
45143 which can conflict with char $ac_func (); below.
45144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45145 <limits.h> exists even on freestanding compilers. */
45147 #ifdef __STDC__
45148 # include <limits.h>
45149 #else
45150 # include <assert.h>
45151 #endif
45153 #undef $ac_func
45155 /* Override any gcc2 internal prototype to avoid an error. */
45156 #ifdef __cplusplus
45157 extern "C"
45159 #endif
45160 /* We use char because int might match the return type of a gcc2
45161 builtin and then its argument prototype would still apply. */
45162 char $ac_func ();
45163 /* The GNU C library defines this for functions which it implements
45164 to always fail with ENOSYS. Some functions are actually named
45165 something starting with __ and the normal name is an alias. */
45166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45167 choke me
45168 #else
45169 char (*f) () = $ac_func;
45170 #endif
45171 #ifdef __cplusplus
45173 #endif
45176 main ()
45178 return f != $ac_func;
45180 return 0;
45182 _ACEOF
45183 rm -f conftest.$ac_objext conftest$ac_exeext
45184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45185 (eval $ac_link) 2>conftest.er1
45186 ac_status=$?
45187 grep -v '^ *+' conftest.er1 >conftest.err
45188 rm -f conftest.er1
45189 cat conftest.err >&5
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); } &&
45192 { ac_try='test -z "$ac_c_werror_flag"
45193 || test ! -s conftest.err'
45194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45195 (eval $ac_try) 2>&5
45196 ac_status=$?
45197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198 (exit $ac_status); }; } &&
45199 { ac_try='test -s conftest$ac_exeext'
45200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201 (eval $ac_try) 2>&5
45202 ac_status=$?
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; }; then
45205 eval "$as_ac_var=yes"
45206 else
45207 echo "$as_me: failed program was:" >&5
45208 sed 's/^/| /' conftest.$ac_ext >&5
45210 eval "$as_ac_var=no"
45212 rm -f conftest.err conftest.$ac_objext \
45213 conftest$ac_exeext conftest.$ac_ext
45215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45217 if test `eval echo '${'$as_ac_var'}'` = yes; then
45218 cat >>confdefs.h <<_ACEOF
45219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45220 _ACEOF
45223 done
45225 else
45227 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45228 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45229 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45230 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45231 echo $ECHO_N "(cached) $ECHO_C" >&6
45232 else
45236 ac_ext=cc
45237 ac_cpp='$CXXCPP $CPPFLAGS'
45238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45242 cat >conftest.$ac_ext <<_ACEOF
45243 /* confdefs.h. */
45244 _ACEOF
45245 cat confdefs.h >>conftest.$ac_ext
45246 cat >>conftest.$ac_ext <<_ACEOF
45247 /* end confdefs.h. */
45248 #include <math.h>
45250 main ()
45252 _sincos(0, 0, 0);
45254 return 0;
45256 _ACEOF
45257 rm -f conftest.$ac_objext
45258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45259 (eval $ac_compile) 2>conftest.er1
45260 ac_status=$?
45261 grep -v '^ *+' conftest.er1 >conftest.err
45262 rm -f conftest.er1
45263 cat conftest.err >&5
45264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45265 (exit $ac_status); } &&
45266 { ac_try='test -z "$ac_cxx_werror_flag"
45267 || test ! -s conftest.err'
45268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45269 (eval $ac_try) 2>&5
45270 ac_status=$?
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); }; } &&
45273 { ac_try='test -s conftest.$ac_objext'
45274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275 (eval $ac_try) 2>&5
45276 ac_status=$?
45277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278 (exit $ac_status); }; }; then
45279 glibcxx_cv_func__sincos_use=yes
45280 else
45281 echo "$as_me: failed program was:" >&5
45282 sed 's/^/| /' conftest.$ac_ext >&5
45284 glibcxx_cv_func__sincos_use=no
45286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45287 ac_ext=c
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45298 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45300 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45302 for ac_func in _sincos
45304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45305 echo "$as_me:$LINENO: checking for $ac_func" >&5
45306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45307 if eval "test \"\${$as_ac_var+set}\" = set"; then
45308 echo $ECHO_N "(cached) $ECHO_C" >&6
45309 else
45310 if test x$gcc_no_link = xyes; then
45311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45313 { (exit 1); exit 1; }; }
45315 cat >conftest.$ac_ext <<_ACEOF
45316 /* confdefs.h. */
45317 _ACEOF
45318 cat confdefs.h >>conftest.$ac_ext
45319 cat >>conftest.$ac_ext <<_ACEOF
45320 /* end confdefs.h. */
45321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45323 #define $ac_func innocuous_$ac_func
45325 /* System header to define __stub macros and hopefully few prototypes,
45326 which can conflict with char $ac_func (); below.
45327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45328 <limits.h> exists even on freestanding compilers. */
45330 #ifdef __STDC__
45331 # include <limits.h>
45332 #else
45333 # include <assert.h>
45334 #endif
45336 #undef $ac_func
45338 /* Override any gcc2 internal prototype to avoid an error. */
45339 #ifdef __cplusplus
45340 extern "C"
45342 #endif
45343 /* We use char because int might match the return type of a gcc2
45344 builtin and then its argument prototype would still apply. */
45345 char $ac_func ();
45346 /* The GNU C library defines this for functions which it implements
45347 to always fail with ENOSYS. Some functions are actually named
45348 something starting with __ and the normal name is an alias. */
45349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45350 choke me
45351 #else
45352 char (*f) () = $ac_func;
45353 #endif
45354 #ifdef __cplusplus
45356 #endif
45359 main ()
45361 return f != $ac_func;
45363 return 0;
45365 _ACEOF
45366 rm -f conftest.$ac_objext conftest$ac_exeext
45367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45368 (eval $ac_link) 2>conftest.er1
45369 ac_status=$?
45370 grep -v '^ *+' conftest.er1 >conftest.err
45371 rm -f conftest.er1
45372 cat conftest.err >&5
45373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374 (exit $ac_status); } &&
45375 { ac_try='test -z "$ac_c_werror_flag"
45376 || test ! -s conftest.err'
45377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45378 (eval $ac_try) 2>&5
45379 ac_status=$?
45380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45381 (exit $ac_status); }; } &&
45382 { ac_try='test -s conftest$ac_exeext'
45383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45384 (eval $ac_try) 2>&5
45385 ac_status=$?
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); }; }; then
45388 eval "$as_ac_var=yes"
45389 else
45390 echo "$as_me: failed program was:" >&5
45391 sed 's/^/| /' conftest.$ac_ext >&5
45393 eval "$as_ac_var=no"
45395 rm -f conftest.err conftest.$ac_objext \
45396 conftest$ac_exeext conftest.$ac_ext
45398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45400 if test `eval echo '${'$as_ac_var'}'` = yes; then
45401 cat >>confdefs.h <<_ACEOF
45402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45403 _ACEOF
45406 done
45416 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45417 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45418 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45419 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45420 echo $ECHO_N "(cached) $ECHO_C" >&6
45421 else
45425 ac_ext=cc
45426 ac_cpp='$CXXCPP $CPPFLAGS'
45427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45431 cat >conftest.$ac_ext <<_ACEOF
45432 /* confdefs.h. */
45433 _ACEOF
45434 cat confdefs.h >>conftest.$ac_ext
45435 cat >>conftest.$ac_ext <<_ACEOF
45436 /* end confdefs.h. */
45437 #include <math.h>
45438 #ifdef HAVE_IEEEFP_H
45439 #include <ieeefp.h>
45440 #endif
45443 main ()
45445 fpclass(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_fpclass_use=yes
45473 else
45474 echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45477 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
45491 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45493 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45495 for ac_func in fpclass
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
45601 else
45603 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45604 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45605 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45606 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45607 echo $ECHO_N "(cached) $ECHO_C" >&6
45608 else
45612 ac_ext=cc
45613 ac_cpp='$CXXCPP $CPPFLAGS'
45614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45618 cat >conftest.$ac_ext <<_ACEOF
45619 /* confdefs.h. */
45620 _ACEOF
45621 cat confdefs.h >>conftest.$ac_ext
45622 cat >>conftest.$ac_ext <<_ACEOF
45623 /* end confdefs.h. */
45624 #include <math.h>
45625 #ifdef HAVE_IEEEFP_H
45626 #include <ieeefp.h>
45627 #endif
45630 main ()
45632 _fpclass(0);
45634 return 0;
45636 _ACEOF
45637 rm -f conftest.$ac_objext
45638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45639 (eval $ac_compile) 2>conftest.er1
45640 ac_status=$?
45641 grep -v '^ *+' conftest.er1 >conftest.err
45642 rm -f conftest.er1
45643 cat conftest.err >&5
45644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45645 (exit $ac_status); } &&
45646 { ac_try='test -z "$ac_cxx_werror_flag"
45647 || test ! -s conftest.err'
45648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45649 (eval $ac_try) 2>&5
45650 ac_status=$?
45651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45652 (exit $ac_status); }; } &&
45653 { ac_try='test -s conftest.$ac_objext'
45654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45655 (eval $ac_try) 2>&5
45656 ac_status=$?
45657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45658 (exit $ac_status); }; }; then
45659 glibcxx_cv_func__fpclass_use=yes
45660 else
45661 echo "$as_me: failed program was:" >&5
45662 sed 's/^/| /' conftest.$ac_ext >&5
45664 glibcxx_cv_func__fpclass_use=no
45666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45667 ac_ext=c
45668 ac_cpp='$CPP $CPPFLAGS'
45669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45678 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45680 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45682 for ac_func in _fpclass
45684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45685 echo "$as_me:$LINENO: checking for $ac_func" >&5
45686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45687 if eval "test \"\${$as_ac_var+set}\" = set"; then
45688 echo $ECHO_N "(cached) $ECHO_C" >&6
45689 else
45690 if test x$gcc_no_link = xyes; then
45691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45693 { (exit 1); exit 1; }; }
45695 cat >conftest.$ac_ext <<_ACEOF
45696 /* confdefs.h. */
45697 _ACEOF
45698 cat confdefs.h >>conftest.$ac_ext
45699 cat >>conftest.$ac_ext <<_ACEOF
45700 /* end confdefs.h. */
45701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45703 #define $ac_func innocuous_$ac_func
45705 /* System header to define __stub macros and hopefully few prototypes,
45706 which can conflict with char $ac_func (); below.
45707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45708 <limits.h> exists even on freestanding compilers. */
45710 #ifdef __STDC__
45711 # include <limits.h>
45712 #else
45713 # include <assert.h>
45714 #endif
45716 #undef $ac_func
45718 /* Override any gcc2 internal prototype to avoid an error. */
45719 #ifdef __cplusplus
45720 extern "C"
45722 #endif
45723 /* We use char because int might match the return type of a gcc2
45724 builtin and then its argument prototype would still apply. */
45725 char $ac_func ();
45726 /* The GNU C library defines this for functions which it implements
45727 to always fail with ENOSYS. Some functions are actually named
45728 something starting with __ and the normal name is an alias. */
45729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45730 choke me
45731 #else
45732 char (*f) () = $ac_func;
45733 #endif
45734 #ifdef __cplusplus
45736 #endif
45739 main ()
45741 return f != $ac_func;
45743 return 0;
45745 _ACEOF
45746 rm -f conftest.$ac_objext conftest$ac_exeext
45747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45748 (eval $ac_link) 2>conftest.er1
45749 ac_status=$?
45750 grep -v '^ *+' conftest.er1 >conftest.err
45751 rm -f conftest.er1
45752 cat conftest.err >&5
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } &&
45755 { ac_try='test -z "$ac_c_werror_flag"
45756 || test ! -s conftest.err'
45757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45758 (eval $ac_try) 2>&5
45759 ac_status=$?
45760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45761 (exit $ac_status); }; } &&
45762 { ac_try='test -s conftest$ac_exeext'
45763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45764 (eval $ac_try) 2>&5
45765 ac_status=$?
45766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45767 (exit $ac_status); }; }; then
45768 eval "$as_ac_var=yes"
45769 else
45770 echo "$as_me: failed program was:" >&5
45771 sed 's/^/| /' conftest.$ac_ext >&5
45773 eval "$as_ac_var=no"
45775 rm -f conftest.err conftest.$ac_objext \
45776 conftest$ac_exeext conftest.$ac_ext
45778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45780 if test `eval echo '${'$as_ac_var'}'` = yes; then
45781 cat >>confdefs.h <<_ACEOF
45782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45783 _ACEOF
45786 done
45796 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45797 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45798 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45799 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45800 echo $ECHO_N "(cached) $ECHO_C" >&6
45801 else
45805 ac_ext=cc
45806 ac_cpp='$CXXCPP $CPPFLAGS'
45807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45811 cat >conftest.$ac_ext <<_ACEOF
45812 /* confdefs.h. */
45813 _ACEOF
45814 cat confdefs.h >>conftest.$ac_ext
45815 cat >>conftest.$ac_ext <<_ACEOF
45816 /* end confdefs.h. */
45817 #include <math.h>
45818 #ifdef HAVE_IEEEFP_H
45819 #include <ieeefp.h>
45820 #endif
45823 main ()
45825 qfpclass(0);
45827 return 0;
45829 _ACEOF
45830 rm -f conftest.$ac_objext
45831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45832 (eval $ac_compile) 2>conftest.er1
45833 ac_status=$?
45834 grep -v '^ *+' conftest.er1 >conftest.err
45835 rm -f conftest.er1
45836 cat conftest.err >&5
45837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838 (exit $ac_status); } &&
45839 { ac_try='test -z "$ac_cxx_werror_flag"
45840 || test ! -s conftest.err'
45841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45842 (eval $ac_try) 2>&5
45843 ac_status=$?
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); }; } &&
45846 { ac_try='test -s conftest.$ac_objext'
45847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45848 (eval $ac_try) 2>&5
45849 ac_status=$?
45850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45851 (exit $ac_status); }; }; then
45852 glibcxx_cv_func_qfpclass_use=yes
45853 else
45854 echo "$as_me: failed program was:" >&5
45855 sed 's/^/| /' conftest.$ac_ext >&5
45857 glibcxx_cv_func_qfpclass_use=no
45859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45860 ac_ext=c
45861 ac_cpp='$CPP $CPPFLAGS'
45862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45871 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45873 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45875 for ac_func in qfpclass
45877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45878 echo "$as_me:$LINENO: checking for $ac_func" >&5
45879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45880 if eval "test \"\${$as_ac_var+set}\" = set"; then
45881 echo $ECHO_N "(cached) $ECHO_C" >&6
45882 else
45883 if test x$gcc_no_link = xyes; then
45884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45886 { (exit 1); exit 1; }; }
45888 cat >conftest.$ac_ext <<_ACEOF
45889 /* confdefs.h. */
45890 _ACEOF
45891 cat confdefs.h >>conftest.$ac_ext
45892 cat >>conftest.$ac_ext <<_ACEOF
45893 /* end confdefs.h. */
45894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45896 #define $ac_func innocuous_$ac_func
45898 /* System header to define __stub macros and hopefully few prototypes,
45899 which can conflict with char $ac_func (); below.
45900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45901 <limits.h> exists even on freestanding compilers. */
45903 #ifdef __STDC__
45904 # include <limits.h>
45905 #else
45906 # include <assert.h>
45907 #endif
45909 #undef $ac_func
45911 /* Override any gcc2 internal prototype to avoid an error. */
45912 #ifdef __cplusplus
45913 extern "C"
45915 #endif
45916 /* We use char because int might match the return type of a gcc2
45917 builtin and then its argument prototype would still apply. */
45918 char $ac_func ();
45919 /* The GNU C library defines this for functions which it implements
45920 to always fail with ENOSYS. Some functions are actually named
45921 something starting with __ and the normal name is an alias. */
45922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45923 choke me
45924 #else
45925 char (*f) () = $ac_func;
45926 #endif
45927 #ifdef __cplusplus
45929 #endif
45932 main ()
45934 return f != $ac_func;
45936 return 0;
45938 _ACEOF
45939 rm -f conftest.$ac_objext conftest$ac_exeext
45940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45941 (eval $ac_link) 2>conftest.er1
45942 ac_status=$?
45943 grep -v '^ *+' conftest.er1 >conftest.err
45944 rm -f conftest.er1
45945 cat conftest.err >&5
45946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45947 (exit $ac_status); } &&
45948 { ac_try='test -z "$ac_c_werror_flag"
45949 || test ! -s conftest.err'
45950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45951 (eval $ac_try) 2>&5
45952 ac_status=$?
45953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45954 (exit $ac_status); }; } &&
45955 { ac_try='test -s conftest$ac_exeext'
45956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45957 (eval $ac_try) 2>&5
45958 ac_status=$?
45959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45960 (exit $ac_status); }; }; then
45961 eval "$as_ac_var=yes"
45962 else
45963 echo "$as_me: failed program was:" >&5
45964 sed 's/^/| /' conftest.$ac_ext >&5
45966 eval "$as_ac_var=no"
45968 rm -f conftest.err conftest.$ac_objext \
45969 conftest$ac_exeext conftest.$ac_ext
45971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45973 if test `eval echo '${'$as_ac_var'}'` = yes; then
45974 cat >>confdefs.h <<_ACEOF
45975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45976 _ACEOF
45979 done
45981 else
45983 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45984 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45985 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45986 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45987 echo $ECHO_N "(cached) $ECHO_C" >&6
45988 else
45992 ac_ext=cc
45993 ac_cpp='$CXXCPP $CPPFLAGS'
45994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45998 cat >conftest.$ac_ext <<_ACEOF
45999 /* confdefs.h. */
46000 _ACEOF
46001 cat confdefs.h >>conftest.$ac_ext
46002 cat >>conftest.$ac_ext <<_ACEOF
46003 /* end confdefs.h. */
46004 #include <math.h>
46005 #ifdef HAVE_IEEEFP_H
46006 #include <ieeefp.h>
46007 #endif
46010 main ()
46012 _qfpclass(0);
46014 return 0;
46016 _ACEOF
46017 rm -f conftest.$ac_objext
46018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46019 (eval $ac_compile) 2>conftest.er1
46020 ac_status=$?
46021 grep -v '^ *+' conftest.er1 >conftest.err
46022 rm -f conftest.er1
46023 cat conftest.err >&5
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); } &&
46026 { ac_try='test -z "$ac_cxx_werror_flag"
46027 || test ! -s conftest.err'
46028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46029 (eval $ac_try) 2>&5
46030 ac_status=$?
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); }; } &&
46033 { ac_try='test -s conftest.$ac_objext'
46034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46035 (eval $ac_try) 2>&5
46036 ac_status=$?
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; }; then
46039 glibcxx_cv_func__qfpclass_use=yes
46040 else
46041 echo "$as_me: failed program was:" >&5
46042 sed 's/^/| /' conftest.$ac_ext >&5
46044 glibcxx_cv_func__qfpclass_use=no
46046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46047 ac_ext=c
46048 ac_cpp='$CPP $CPPFLAGS'
46049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46058 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46060 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46062 for ac_func in _qfpclass
46064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46065 echo "$as_me:$LINENO: checking for $ac_func" >&5
46066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46067 if eval "test \"\${$as_ac_var+set}\" = set"; then
46068 echo $ECHO_N "(cached) $ECHO_C" >&6
46069 else
46070 if test x$gcc_no_link = xyes; then
46071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46073 { (exit 1); exit 1; }; }
46075 cat >conftest.$ac_ext <<_ACEOF
46076 /* confdefs.h. */
46077 _ACEOF
46078 cat confdefs.h >>conftest.$ac_ext
46079 cat >>conftest.$ac_ext <<_ACEOF
46080 /* end confdefs.h. */
46081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46083 #define $ac_func innocuous_$ac_func
46085 /* System header to define __stub macros and hopefully few prototypes,
46086 which can conflict with char $ac_func (); below.
46087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46088 <limits.h> exists even on freestanding compilers. */
46090 #ifdef __STDC__
46091 # include <limits.h>
46092 #else
46093 # include <assert.h>
46094 #endif
46096 #undef $ac_func
46098 /* Override any gcc2 internal prototype to avoid an error. */
46099 #ifdef __cplusplus
46100 extern "C"
46102 #endif
46103 /* We use char because int might match the return type of a gcc2
46104 builtin and then its argument prototype would still apply. */
46105 char $ac_func ();
46106 /* The GNU C library defines this for functions which it implements
46107 to always fail with ENOSYS. Some functions are actually named
46108 something starting with __ and the normal name is an alias. */
46109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46110 choke me
46111 #else
46112 char (*f) () = $ac_func;
46113 #endif
46114 #ifdef __cplusplus
46116 #endif
46119 main ()
46121 return f != $ac_func;
46123 return 0;
46125 _ACEOF
46126 rm -f conftest.$ac_objext conftest$ac_exeext
46127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46128 (eval $ac_link) 2>conftest.er1
46129 ac_status=$?
46130 grep -v '^ *+' conftest.er1 >conftest.err
46131 rm -f conftest.er1
46132 cat conftest.err >&5
46133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134 (exit $ac_status); } &&
46135 { ac_try='test -z "$ac_c_werror_flag"
46136 || test ! -s conftest.err'
46137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46138 (eval $ac_try) 2>&5
46139 ac_status=$?
46140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46141 (exit $ac_status); }; } &&
46142 { ac_try='test -s conftest$ac_exeext'
46143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46144 (eval $ac_try) 2>&5
46145 ac_status=$?
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); }; }; then
46148 eval "$as_ac_var=yes"
46149 else
46150 echo "$as_me: failed program was:" >&5
46151 sed 's/^/| /' conftest.$ac_ext >&5
46153 eval "$as_ac_var=no"
46155 rm -f conftest.err conftest.$ac_objext \
46156 conftest$ac_exeext conftest.$ac_ext
46158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46160 if test `eval echo '${'$as_ac_var'}'` = yes; then
46161 cat >>confdefs.h <<_ACEOF
46162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46163 _ACEOF
46166 done
46176 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46177 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46178 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46179 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46180 echo $ECHO_N "(cached) $ECHO_C" >&6
46181 else
46185 ac_ext=cc
46186 ac_cpp='$CXXCPP $CPPFLAGS'
46187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46191 cat >conftest.$ac_ext <<_ACEOF
46192 /* confdefs.h. */
46193 _ACEOF
46194 cat confdefs.h >>conftest.$ac_ext
46195 cat >>conftest.$ac_ext <<_ACEOF
46196 /* end confdefs.h. */
46197 #include <math.h>
46199 main ()
46201 hypot(0, 0);
46203 return 0;
46205 _ACEOF
46206 rm -f conftest.$ac_objext
46207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46208 (eval $ac_compile) 2>conftest.er1
46209 ac_status=$?
46210 grep -v '^ *+' conftest.er1 >conftest.err
46211 rm -f conftest.er1
46212 cat conftest.err >&5
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); } &&
46215 { ac_try='test -z "$ac_cxx_werror_flag"
46216 || test ! -s conftest.err'
46217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46218 (eval $ac_try) 2>&5
46219 ac_status=$?
46220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46221 (exit $ac_status); }; } &&
46222 { ac_try='test -s conftest.$ac_objext'
46223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46224 (eval $ac_try) 2>&5
46225 ac_status=$?
46226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46227 (exit $ac_status); }; }; then
46228 glibcxx_cv_func_hypot_use=yes
46229 else
46230 echo "$as_me: failed program was:" >&5
46231 sed 's/^/| /' conftest.$ac_ext >&5
46233 glibcxx_cv_func_hypot_use=no
46235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46236 ac_ext=c
46237 ac_cpp='$CPP $CPPFLAGS'
46238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46247 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46249 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46251 for ac_func in hypot
46253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46254 echo "$as_me:$LINENO: checking for $ac_func" >&5
46255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46256 if eval "test \"\${$as_ac_var+set}\" = set"; then
46257 echo $ECHO_N "(cached) $ECHO_C" >&6
46258 else
46259 if test x$gcc_no_link = xyes; then
46260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46262 { (exit 1); exit 1; }; }
46264 cat >conftest.$ac_ext <<_ACEOF
46265 /* confdefs.h. */
46266 _ACEOF
46267 cat confdefs.h >>conftest.$ac_ext
46268 cat >>conftest.$ac_ext <<_ACEOF
46269 /* end confdefs.h. */
46270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46272 #define $ac_func innocuous_$ac_func
46274 /* System header to define __stub macros and hopefully few prototypes,
46275 which can conflict with char $ac_func (); below.
46276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46277 <limits.h> exists even on freestanding compilers. */
46279 #ifdef __STDC__
46280 # include <limits.h>
46281 #else
46282 # include <assert.h>
46283 #endif
46285 #undef $ac_func
46287 /* Override any gcc2 internal prototype to avoid an error. */
46288 #ifdef __cplusplus
46289 extern "C"
46291 #endif
46292 /* We use char because int might match the return type of a gcc2
46293 builtin and then its argument prototype would still apply. */
46294 char $ac_func ();
46295 /* The GNU C library defines this for functions which it implements
46296 to always fail with ENOSYS. Some functions are actually named
46297 something starting with __ and the normal name is an alias. */
46298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46299 choke me
46300 #else
46301 char (*f) () = $ac_func;
46302 #endif
46303 #ifdef __cplusplus
46305 #endif
46308 main ()
46310 return f != $ac_func;
46312 return 0;
46314 _ACEOF
46315 rm -f conftest.$ac_objext conftest$ac_exeext
46316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46317 (eval $ac_link) 2>conftest.er1
46318 ac_status=$?
46319 grep -v '^ *+' conftest.er1 >conftest.err
46320 rm -f conftest.er1
46321 cat conftest.err >&5
46322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323 (exit $ac_status); } &&
46324 { ac_try='test -z "$ac_c_werror_flag"
46325 || test ! -s conftest.err'
46326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46327 (eval $ac_try) 2>&5
46328 ac_status=$?
46329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46330 (exit $ac_status); }; } &&
46331 { ac_try='test -s conftest$ac_exeext'
46332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46333 (eval $ac_try) 2>&5
46334 ac_status=$?
46335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46336 (exit $ac_status); }; }; then
46337 eval "$as_ac_var=yes"
46338 else
46339 echo "$as_me: failed program was:" >&5
46340 sed 's/^/| /' conftest.$ac_ext >&5
46342 eval "$as_ac_var=no"
46344 rm -f conftest.err conftest.$ac_objext \
46345 conftest$ac_exeext conftest.$ac_ext
46347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46349 if test `eval echo '${'$as_ac_var'}'` = yes; then
46350 cat >>confdefs.h <<_ACEOF
46351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46352 _ACEOF
46355 done
46357 else
46359 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46360 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46361 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46362 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46363 echo $ECHO_N "(cached) $ECHO_C" >&6
46364 else
46368 ac_ext=cc
46369 ac_cpp='$CXXCPP $CPPFLAGS'
46370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46374 cat >conftest.$ac_ext <<_ACEOF
46375 /* confdefs.h. */
46376 _ACEOF
46377 cat confdefs.h >>conftest.$ac_ext
46378 cat >>conftest.$ac_ext <<_ACEOF
46379 /* end confdefs.h. */
46380 #include <math.h>
46382 main ()
46384 _hypot(0, 0);
46386 return 0;
46388 _ACEOF
46389 rm -f conftest.$ac_objext
46390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46391 (eval $ac_compile) 2>conftest.er1
46392 ac_status=$?
46393 grep -v '^ *+' conftest.er1 >conftest.err
46394 rm -f conftest.er1
46395 cat conftest.err >&5
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); } &&
46398 { ac_try='test -z "$ac_cxx_werror_flag"
46399 || test ! -s conftest.err'
46400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46401 (eval $ac_try) 2>&5
46402 ac_status=$?
46403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46404 (exit $ac_status); }; } &&
46405 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
46411 glibcxx_cv_func__hypot_use=yes
46412 else
46413 echo "$as_me: failed program was:" >&5
46414 sed 's/^/| /' conftest.$ac_ext >&5
46416 glibcxx_cv_func__hypot_use=no
46418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46419 ac_ext=c
46420 ac_cpp='$CPP $CPPFLAGS'
46421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46430 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46432 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46434 for ac_func in _hypot
46436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46437 echo "$as_me:$LINENO: checking for $ac_func" >&5
46438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46439 if eval "test \"\${$as_ac_var+set}\" = set"; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46441 else
46442 if test x$gcc_no_link = xyes; then
46443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46445 { (exit 1); exit 1; }; }
46447 cat >conftest.$ac_ext <<_ACEOF
46448 /* confdefs.h. */
46449 _ACEOF
46450 cat confdefs.h >>conftest.$ac_ext
46451 cat >>conftest.$ac_ext <<_ACEOF
46452 /* end confdefs.h. */
46453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46455 #define $ac_func innocuous_$ac_func
46457 /* System header to define __stub macros and hopefully few prototypes,
46458 which can conflict with char $ac_func (); below.
46459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46460 <limits.h> exists even on freestanding compilers. */
46462 #ifdef __STDC__
46463 # include <limits.h>
46464 #else
46465 # include <assert.h>
46466 #endif
46468 #undef $ac_func
46470 /* Override any gcc2 internal prototype to avoid an error. */
46471 #ifdef __cplusplus
46472 extern "C"
46474 #endif
46475 /* We use char because int might match the return type of a gcc2
46476 builtin and then its argument prototype would still apply. */
46477 char $ac_func ();
46478 /* The GNU C library defines this for functions which it implements
46479 to always fail with ENOSYS. Some functions are actually named
46480 something starting with __ and the normal name is an alias. */
46481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46482 choke me
46483 #else
46484 char (*f) () = $ac_func;
46485 #endif
46486 #ifdef __cplusplus
46488 #endif
46491 main ()
46493 return f != $ac_func;
46495 return 0;
46497 _ACEOF
46498 rm -f conftest.$ac_objext conftest$ac_exeext
46499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46500 (eval $ac_link) 2>conftest.er1
46501 ac_status=$?
46502 grep -v '^ *+' conftest.er1 >conftest.err
46503 rm -f conftest.er1
46504 cat conftest.err >&5
46505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46506 (exit $ac_status); } &&
46507 { ac_try='test -z "$ac_c_werror_flag"
46508 || test ! -s conftest.err'
46509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46510 (eval $ac_try) 2>&5
46511 ac_status=$?
46512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46513 (exit $ac_status); }; } &&
46514 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46520 eval "$as_ac_var=yes"
46521 else
46522 echo "$as_me: failed program was:" >&5
46523 sed 's/^/| /' conftest.$ac_ext >&5
46525 eval "$as_ac_var=no"
46527 rm -f conftest.err conftest.$ac_objext \
46528 conftest$ac_exeext conftest.$ac_ext
46530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46532 if test `eval echo '${'$as_ac_var'}'` = yes; then
46533 cat >>confdefs.h <<_ACEOF
46534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46535 _ACEOF
46538 done
46548 echo "$as_me:$LINENO: checking for float trig functions" >&5
46549 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46550 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46551 echo $ECHO_N "(cached) $ECHO_C" >&6
46552 else
46556 ac_ext=cc
46557 ac_cpp='$CXXCPP $CPPFLAGS'
46558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46562 cat >conftest.$ac_ext <<_ACEOF
46563 /* confdefs.h. */
46564 _ACEOF
46565 cat confdefs.h >>conftest.$ac_ext
46566 cat >>conftest.$ac_ext <<_ACEOF
46567 /* end confdefs.h. */
46568 #include <math.h>
46570 main ()
46572 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46574 return 0;
46576 _ACEOF
46577 rm -f conftest.$ac_objext
46578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46579 (eval $ac_compile) 2>conftest.er1
46580 ac_status=$?
46581 grep -v '^ *+' conftest.er1 >conftest.err
46582 rm -f conftest.er1
46583 cat conftest.err >&5
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); } &&
46586 { ac_try='test -z "$ac_cxx_werror_flag"
46587 || test ! -s conftest.err'
46588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46589 (eval $ac_try) 2>&5
46590 ac_status=$?
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); }; } &&
46593 { ac_try='test -s conftest.$ac_objext'
46594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46595 (eval $ac_try) 2>&5
46596 ac_status=$?
46597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46598 (exit $ac_status); }; }; then
46599 glibcxx_cv_func_float_trig_use=yes
46600 else
46601 echo "$as_me: failed program was:" >&5
46602 sed 's/^/| /' conftest.$ac_ext >&5
46604 glibcxx_cv_func_float_trig_use=no
46606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46607 ac_ext=c
46608 ac_cpp='$CPP $CPPFLAGS'
46609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46616 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46617 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46627 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
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
46733 else
46734 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46735 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46736 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46737 echo $ECHO_N "(cached) $ECHO_C" >&6
46738 else
46742 ac_ext=cc
46743 ac_cpp='$CXXCPP $CPPFLAGS'
46744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46748 cat >conftest.$ac_ext <<_ACEOF
46749 /* confdefs.h. */
46750 _ACEOF
46751 cat confdefs.h >>conftest.$ac_ext
46752 cat >>conftest.$ac_ext <<_ACEOF
46753 /* end confdefs.h. */
46754 #include <math.h>
46756 main ()
46758 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46760 return 0;
46762 _ACEOF
46763 rm -f conftest.$ac_objext
46764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46765 (eval $ac_compile) 2>conftest.er1
46766 ac_status=$?
46767 grep -v '^ *+' conftest.er1 >conftest.err
46768 rm -f conftest.er1
46769 cat conftest.err >&5
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); } &&
46772 { ac_try='test -z "$ac_cxx_werror_flag"
46773 || test ! -s conftest.err'
46774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46775 (eval $ac_try) 2>&5
46776 ac_status=$?
46777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46778 (exit $ac_status); }; } &&
46779 { ac_try='test -s conftest.$ac_objext'
46780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46781 (eval $ac_try) 2>&5
46782 ac_status=$?
46783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46784 (exit $ac_status); }; }; then
46785 glibcxx_cv_func__float_trig_use=yes
46786 else
46787 echo "$as_me: failed program was:" >&5
46788 sed 's/^/| /' conftest.$ac_ext >&5
46790 glibcxx_cv_func__float_trig_use=no
46792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46793 ac_ext=c
46794 ac_cpp='$CPP $CPPFLAGS'
46795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46802 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46803 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46813 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46816 echo "$as_me:$LINENO: checking for $ac_func" >&5
46817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46818 if eval "test \"\${$as_ac_var+set}\" = set"; then
46819 echo $ECHO_N "(cached) $ECHO_C" >&6
46820 else
46821 if test x$gcc_no_link = xyes; then
46822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46824 { (exit 1); exit 1; }; }
46826 cat >conftest.$ac_ext <<_ACEOF
46827 /* confdefs.h. */
46828 _ACEOF
46829 cat confdefs.h >>conftest.$ac_ext
46830 cat >>conftest.$ac_ext <<_ACEOF
46831 /* end confdefs.h. */
46832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46834 #define $ac_func innocuous_$ac_func
46836 /* System header to define __stub macros and hopefully few prototypes,
46837 which can conflict with char $ac_func (); below.
46838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46839 <limits.h> exists even on freestanding compilers. */
46841 #ifdef __STDC__
46842 # include <limits.h>
46843 #else
46844 # include <assert.h>
46845 #endif
46847 #undef $ac_func
46849 /* Override any gcc2 internal prototype to avoid an error. */
46850 #ifdef __cplusplus
46851 extern "C"
46853 #endif
46854 /* We use char because int might match the return type of a gcc2
46855 builtin and then its argument prototype would still apply. */
46856 char $ac_func ();
46857 /* The GNU C library defines this for functions which it implements
46858 to always fail with ENOSYS. Some functions are actually named
46859 something starting with __ and the normal name is an alias. */
46860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46861 choke me
46862 #else
46863 char (*f) () = $ac_func;
46864 #endif
46865 #ifdef __cplusplus
46867 #endif
46870 main ()
46872 return f != $ac_func;
46874 return 0;
46876 _ACEOF
46877 rm -f conftest.$ac_objext conftest$ac_exeext
46878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46879 (eval $ac_link) 2>conftest.er1
46880 ac_status=$?
46881 grep -v '^ *+' conftest.er1 >conftest.err
46882 rm -f conftest.er1
46883 cat conftest.err >&5
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); } &&
46886 { ac_try='test -z "$ac_c_werror_flag"
46887 || test ! -s conftest.err'
46888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46889 (eval $ac_try) 2>&5
46890 ac_status=$?
46891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46892 (exit $ac_status); }; } &&
46893 { ac_try='test -s conftest$ac_exeext'
46894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46895 (eval $ac_try) 2>&5
46896 ac_status=$?
46897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46898 (exit $ac_status); }; }; then
46899 eval "$as_ac_var=yes"
46900 else
46901 echo "$as_me: failed program was:" >&5
46902 sed 's/^/| /' conftest.$ac_ext >&5
46904 eval "$as_ac_var=no"
46906 rm -f conftest.err conftest.$ac_objext \
46907 conftest$ac_exeext conftest.$ac_ext
46909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46911 if test `eval echo '${'$as_ac_var'}'` = yes; then
46912 cat >>confdefs.h <<_ACEOF
46913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46914 _ACEOF
46917 done
46935 echo "$as_me:$LINENO: checking for float round functions" >&5
46936 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46937 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46938 echo $ECHO_N "(cached) $ECHO_C" >&6
46939 else
46943 ac_ext=cc
46944 ac_cpp='$CXXCPP $CPPFLAGS'
46945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46949 cat >conftest.$ac_ext <<_ACEOF
46950 /* confdefs.h. */
46951 _ACEOF
46952 cat confdefs.h >>conftest.$ac_ext
46953 cat >>conftest.$ac_ext <<_ACEOF
46954 /* end confdefs.h. */
46955 #include <math.h>
46957 main ()
46959 ceilf (0); floorf (0);
46961 return 0;
46963 _ACEOF
46964 rm -f conftest.$ac_objext
46965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46966 (eval $ac_compile) 2>conftest.er1
46967 ac_status=$?
46968 grep -v '^ *+' conftest.er1 >conftest.err
46969 rm -f conftest.er1
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } &&
46973 { ac_try='test -z "$ac_cxx_werror_flag"
46974 || test ! -s conftest.err'
46975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46976 (eval $ac_try) 2>&5
46977 ac_status=$?
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); }; } &&
46980 { ac_try='test -s conftest.$ac_objext'
46981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46982 (eval $ac_try) 2>&5
46983 ac_status=$?
46984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46985 (exit $ac_status); }; }; then
46986 glibcxx_cv_func_float_round_use=yes
46987 else
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46991 glibcxx_cv_func_float_round_use=no
46993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46994 ac_ext=c
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47003 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47004 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47007 for ac_func in ceilf floorf
47009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47010 echo "$as_me:$LINENO: checking for $ac_func" >&5
47011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47012 if eval "test \"\${$as_ac_var+set}\" = set"; then
47013 echo $ECHO_N "(cached) $ECHO_C" >&6
47014 else
47015 if test x$gcc_no_link = xyes; then
47016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47018 { (exit 1); exit 1; }; }
47020 cat >conftest.$ac_ext <<_ACEOF
47021 /* confdefs.h. */
47022 _ACEOF
47023 cat confdefs.h >>conftest.$ac_ext
47024 cat >>conftest.$ac_ext <<_ACEOF
47025 /* end confdefs.h. */
47026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47028 #define $ac_func innocuous_$ac_func
47030 /* System header to define __stub macros and hopefully few prototypes,
47031 which can conflict with char $ac_func (); below.
47032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47033 <limits.h> exists even on freestanding compilers. */
47035 #ifdef __STDC__
47036 # include <limits.h>
47037 #else
47038 # include <assert.h>
47039 #endif
47041 #undef $ac_func
47043 /* Override any gcc2 internal prototype to avoid an error. */
47044 #ifdef __cplusplus
47045 extern "C"
47047 #endif
47048 /* We use char because int might match the return type of a gcc2
47049 builtin and then its argument prototype would still apply. */
47050 char $ac_func ();
47051 /* The GNU C library defines this for functions which it implements
47052 to always fail with ENOSYS. Some functions are actually named
47053 something starting with __ and the normal name is an alias. */
47054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47055 choke me
47056 #else
47057 char (*f) () = $ac_func;
47058 #endif
47059 #ifdef __cplusplus
47061 #endif
47064 main ()
47066 return f != $ac_func;
47068 return 0;
47070 _ACEOF
47071 rm -f conftest.$ac_objext conftest$ac_exeext
47072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47073 (eval $ac_link) 2>conftest.er1
47074 ac_status=$?
47075 grep -v '^ *+' conftest.er1 >conftest.err
47076 rm -f conftest.er1
47077 cat conftest.err >&5
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); } &&
47080 { ac_try='test -z "$ac_c_werror_flag"
47081 || test ! -s conftest.err'
47082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47083 (eval $ac_try) 2>&5
47084 ac_status=$?
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); }; } &&
47087 { ac_try='test -s conftest$ac_exeext'
47088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47089 (eval $ac_try) 2>&5
47090 ac_status=$?
47091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092 (exit $ac_status); }; }; then
47093 eval "$as_ac_var=yes"
47094 else
47095 echo "$as_me: failed program was:" >&5
47096 sed 's/^/| /' conftest.$ac_ext >&5
47098 eval "$as_ac_var=no"
47100 rm -f conftest.err conftest.$ac_objext \
47101 conftest$ac_exeext conftest.$ac_ext
47103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47105 if test `eval echo '${'$as_ac_var'}'` = yes; then
47106 cat >>confdefs.h <<_ACEOF
47107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47108 _ACEOF
47111 done
47113 else
47114 echo "$as_me:$LINENO: checking for _float round functions" >&5
47115 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47116 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47117 echo $ECHO_N "(cached) $ECHO_C" >&6
47118 else
47122 ac_ext=cc
47123 ac_cpp='$CXXCPP $CPPFLAGS'
47124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47128 cat >conftest.$ac_ext <<_ACEOF
47129 /* confdefs.h. */
47130 _ACEOF
47131 cat confdefs.h >>conftest.$ac_ext
47132 cat >>conftest.$ac_ext <<_ACEOF
47133 /* end confdefs.h. */
47134 #include <math.h>
47136 main ()
47138 _ceilf (0); _floorf (0);
47140 return 0;
47142 _ACEOF
47143 rm -f conftest.$ac_objext
47144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47145 (eval $ac_compile) 2>conftest.er1
47146 ac_status=$?
47147 grep -v '^ *+' conftest.er1 >conftest.err
47148 rm -f conftest.er1
47149 cat conftest.err >&5
47150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151 (exit $ac_status); } &&
47152 { ac_try='test -z "$ac_cxx_werror_flag"
47153 || test ! -s conftest.err'
47154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47155 (eval $ac_try) 2>&5
47156 ac_status=$?
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); }; } &&
47159 { ac_try='test -s conftest.$ac_objext'
47160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47161 (eval $ac_try) 2>&5
47162 ac_status=$?
47163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47164 (exit $ac_status); }; }; then
47165 glibcxx_cv_func__float_round_use=yes
47166 else
47167 echo "$as_me: failed program was:" >&5
47168 sed 's/^/| /' conftest.$ac_ext >&5
47170 glibcxx_cv_func__float_round_use=no
47172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47173 ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47182 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47183 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47186 for ac_func in _ceilf _floorf
47188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47189 echo "$as_me:$LINENO: checking for $ac_func" >&5
47190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47191 if eval "test \"\${$as_ac_var+set}\" = set"; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47193 else
47194 if test x$gcc_no_link = xyes; then
47195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47197 { (exit 1); exit 1; }; }
47199 cat >conftest.$ac_ext <<_ACEOF
47200 /* confdefs.h. */
47201 _ACEOF
47202 cat confdefs.h >>conftest.$ac_ext
47203 cat >>conftest.$ac_ext <<_ACEOF
47204 /* end confdefs.h. */
47205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47207 #define $ac_func innocuous_$ac_func
47209 /* System header to define __stub macros and hopefully few prototypes,
47210 which can conflict with char $ac_func (); below.
47211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47212 <limits.h> exists even on freestanding compilers. */
47214 #ifdef __STDC__
47215 # include <limits.h>
47216 #else
47217 # include <assert.h>
47218 #endif
47220 #undef $ac_func
47222 /* Override any gcc2 internal prototype to avoid an error. */
47223 #ifdef __cplusplus
47224 extern "C"
47226 #endif
47227 /* We use char because int might match the return type of a gcc2
47228 builtin and then its argument prototype would still apply. */
47229 char $ac_func ();
47230 /* The GNU C library defines this for functions which it implements
47231 to always fail with ENOSYS. Some functions are actually named
47232 something starting with __ and the normal name is an alias. */
47233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47234 choke me
47235 #else
47236 char (*f) () = $ac_func;
47237 #endif
47238 #ifdef __cplusplus
47240 #endif
47243 main ()
47245 return f != $ac_func;
47247 return 0;
47249 _ACEOF
47250 rm -f conftest.$ac_objext conftest$ac_exeext
47251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47252 (eval $ac_link) 2>conftest.er1
47253 ac_status=$?
47254 grep -v '^ *+' conftest.er1 >conftest.err
47255 rm -f conftest.er1
47256 cat conftest.err >&5
47257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47258 (exit $ac_status); } &&
47259 { ac_try='test -z "$ac_c_werror_flag"
47260 || test ! -s conftest.err'
47261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47262 (eval $ac_try) 2>&5
47263 ac_status=$?
47264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47265 (exit $ac_status); }; } &&
47266 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
47272 eval "$as_ac_var=yes"
47273 else
47274 echo "$as_me: failed program was:" >&5
47275 sed 's/^/| /' conftest.$ac_ext >&5
47277 eval "$as_ac_var=no"
47279 rm -f conftest.err conftest.$ac_objext \
47280 conftest$ac_exeext conftest.$ac_ext
47282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47284 if test `eval echo '${'$as_ac_var'}'` = yes; then
47285 cat >>confdefs.h <<_ACEOF
47286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47287 _ACEOF
47290 done
47302 echo "$as_me:$LINENO: checking for expf declaration" >&5
47303 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47304 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47305 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47306 echo $ECHO_N "(cached) $ECHO_C" >&6
47307 else
47311 ac_ext=cc
47312 ac_cpp='$CXXCPP $CPPFLAGS'
47313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47317 cat >conftest.$ac_ext <<_ACEOF
47318 /* confdefs.h. */
47319 _ACEOF
47320 cat confdefs.h >>conftest.$ac_ext
47321 cat >>conftest.$ac_ext <<_ACEOF
47322 /* end confdefs.h. */
47323 #include <math.h>
47324 #ifdef HAVE_IEEEFP_H
47325 #include <ieeefp.h>
47326 #endif
47329 main ()
47331 expf(0);
47333 return 0;
47335 _ACEOF
47336 rm -f conftest.$ac_objext
47337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47338 (eval $ac_compile) 2>conftest.er1
47339 ac_status=$?
47340 grep -v '^ *+' conftest.er1 >conftest.err
47341 rm -f conftest.er1
47342 cat conftest.err >&5
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); } &&
47345 { ac_try='test -z "$ac_cxx_werror_flag"
47346 || test ! -s conftest.err'
47347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47348 (eval $ac_try) 2>&5
47349 ac_status=$?
47350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47351 (exit $ac_status); }; } &&
47352 { ac_try='test -s conftest.$ac_objext'
47353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47354 (eval $ac_try) 2>&5
47355 ac_status=$?
47356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357 (exit $ac_status); }; }; then
47358 glibcxx_cv_func_expf_use=yes
47359 else
47360 echo "$as_me: failed program was:" >&5
47361 sed 's/^/| /' conftest.$ac_ext >&5
47363 glibcxx_cv_func_expf_use=no
47365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47366 ac_ext=c
47367 ac_cpp='$CPP $CPPFLAGS'
47368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47377 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47379 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47381 for ac_func in expf
47383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47384 echo "$as_me:$LINENO: checking for $ac_func" >&5
47385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47386 if eval "test \"\${$as_ac_var+set}\" = set"; then
47387 echo $ECHO_N "(cached) $ECHO_C" >&6
47388 else
47389 if test x$gcc_no_link = xyes; then
47390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47392 { (exit 1); exit 1; }; }
47394 cat >conftest.$ac_ext <<_ACEOF
47395 /* confdefs.h. */
47396 _ACEOF
47397 cat confdefs.h >>conftest.$ac_ext
47398 cat >>conftest.$ac_ext <<_ACEOF
47399 /* end confdefs.h. */
47400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47402 #define $ac_func innocuous_$ac_func
47404 /* System header to define __stub macros and hopefully few prototypes,
47405 which can conflict with char $ac_func (); below.
47406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47407 <limits.h> exists even on freestanding compilers. */
47409 #ifdef __STDC__
47410 # include <limits.h>
47411 #else
47412 # include <assert.h>
47413 #endif
47415 #undef $ac_func
47417 /* Override any gcc2 internal prototype to avoid an error. */
47418 #ifdef __cplusplus
47419 extern "C"
47421 #endif
47422 /* We use char because int might match the return type of a gcc2
47423 builtin and then its argument prototype would still apply. */
47424 char $ac_func ();
47425 /* The GNU C library defines this for functions which it implements
47426 to always fail with ENOSYS. Some functions are actually named
47427 something starting with __ and the normal name is an alias. */
47428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47429 choke me
47430 #else
47431 char (*f) () = $ac_func;
47432 #endif
47433 #ifdef __cplusplus
47435 #endif
47438 main ()
47440 return f != $ac_func;
47442 return 0;
47444 _ACEOF
47445 rm -f conftest.$ac_objext conftest$ac_exeext
47446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47447 (eval $ac_link) 2>conftest.er1
47448 ac_status=$?
47449 grep -v '^ *+' conftest.er1 >conftest.err
47450 rm -f conftest.er1
47451 cat conftest.err >&5
47452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453 (exit $ac_status); } &&
47454 { ac_try='test -z "$ac_c_werror_flag"
47455 || test ! -s conftest.err'
47456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47457 (eval $ac_try) 2>&5
47458 ac_status=$?
47459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47460 (exit $ac_status); }; } &&
47461 { ac_try='test -s conftest$ac_exeext'
47462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47463 (eval $ac_try) 2>&5
47464 ac_status=$?
47465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47466 (exit $ac_status); }; }; then
47467 eval "$as_ac_var=yes"
47468 else
47469 echo "$as_me: failed program was:" >&5
47470 sed 's/^/| /' conftest.$ac_ext >&5
47472 eval "$as_ac_var=no"
47474 rm -f conftest.err conftest.$ac_objext \
47475 conftest$ac_exeext conftest.$ac_ext
47477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47479 if test `eval echo '${'$as_ac_var'}'` = yes; then
47480 cat >>confdefs.h <<_ACEOF
47481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47482 _ACEOF
47485 done
47487 else
47489 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47490 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47491 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47492 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47493 echo $ECHO_N "(cached) $ECHO_C" >&6
47494 else
47498 ac_ext=cc
47499 ac_cpp='$CXXCPP $CPPFLAGS'
47500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47504 cat >conftest.$ac_ext <<_ACEOF
47505 /* confdefs.h. */
47506 _ACEOF
47507 cat confdefs.h >>conftest.$ac_ext
47508 cat >>conftest.$ac_ext <<_ACEOF
47509 /* end confdefs.h. */
47510 #include <math.h>
47511 #ifdef HAVE_IEEEFP_H
47512 #include <ieeefp.h>
47513 #endif
47516 main ()
47518 _expf(0);
47520 return 0;
47522 _ACEOF
47523 rm -f conftest.$ac_objext
47524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47525 (eval $ac_compile) 2>conftest.er1
47526 ac_status=$?
47527 grep -v '^ *+' conftest.er1 >conftest.err
47528 rm -f conftest.er1
47529 cat conftest.err >&5
47530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531 (exit $ac_status); } &&
47532 { ac_try='test -z "$ac_cxx_werror_flag"
47533 || test ! -s conftest.err'
47534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47535 (eval $ac_try) 2>&5
47536 ac_status=$?
47537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47538 (exit $ac_status); }; } &&
47539 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
47545 glibcxx_cv_func__expf_use=yes
47546 else
47547 echo "$as_me: failed program was:" >&5
47548 sed 's/^/| /' conftest.$ac_ext >&5
47550 glibcxx_cv_func__expf_use=no
47552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47553 ac_ext=c
47554 ac_cpp='$CPP $CPPFLAGS'
47555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47564 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47566 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47568 for ac_func in _expf
47570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47571 echo "$as_me:$LINENO: checking for $ac_func" >&5
47572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47573 if eval "test \"\${$as_ac_var+set}\" = set"; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47575 else
47576 if test x$gcc_no_link = xyes; then
47577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47579 { (exit 1); exit 1; }; }
47581 cat >conftest.$ac_ext <<_ACEOF
47582 /* confdefs.h. */
47583 _ACEOF
47584 cat confdefs.h >>conftest.$ac_ext
47585 cat >>conftest.$ac_ext <<_ACEOF
47586 /* end confdefs.h. */
47587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47589 #define $ac_func innocuous_$ac_func
47591 /* System header to define __stub macros and hopefully few prototypes,
47592 which can conflict with char $ac_func (); below.
47593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47594 <limits.h> exists even on freestanding compilers. */
47596 #ifdef __STDC__
47597 # include <limits.h>
47598 #else
47599 # include <assert.h>
47600 #endif
47602 #undef $ac_func
47604 /* Override any gcc2 internal prototype to avoid an error. */
47605 #ifdef __cplusplus
47606 extern "C"
47608 #endif
47609 /* We use char because int might match the return type of a gcc2
47610 builtin and then its argument prototype would still apply. */
47611 char $ac_func ();
47612 /* The GNU C library defines this for functions which it implements
47613 to always fail with ENOSYS. Some functions are actually named
47614 something starting with __ and the normal name is an alias. */
47615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47616 choke me
47617 #else
47618 char (*f) () = $ac_func;
47619 #endif
47620 #ifdef __cplusplus
47622 #endif
47625 main ()
47627 return f != $ac_func;
47629 return 0;
47631 _ACEOF
47632 rm -f conftest.$ac_objext conftest$ac_exeext
47633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47634 (eval $ac_link) 2>conftest.er1
47635 ac_status=$?
47636 grep -v '^ *+' conftest.er1 >conftest.err
47637 rm -f conftest.er1
47638 cat conftest.err >&5
47639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640 (exit $ac_status); } &&
47641 { ac_try='test -z "$ac_c_werror_flag"
47642 || test ! -s conftest.err'
47643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47644 (eval $ac_try) 2>&5
47645 ac_status=$?
47646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47647 (exit $ac_status); }; } &&
47648 { ac_try='test -s conftest$ac_exeext'
47649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47650 (eval $ac_try) 2>&5
47651 ac_status=$?
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); }; }; then
47654 eval "$as_ac_var=yes"
47655 else
47656 echo "$as_me: failed program was:" >&5
47657 sed 's/^/| /' conftest.$ac_ext >&5
47659 eval "$as_ac_var=no"
47661 rm -f conftest.err conftest.$ac_objext \
47662 conftest$ac_exeext conftest.$ac_ext
47664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47666 if test `eval echo '${'$as_ac_var'}'` = yes; then
47667 cat >>confdefs.h <<_ACEOF
47668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47669 _ACEOF
47672 done
47682 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47683 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47684 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47685 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47686 echo $ECHO_N "(cached) $ECHO_C" >&6
47687 else
47691 ac_ext=cc
47692 ac_cpp='$CXXCPP $CPPFLAGS'
47693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47697 cat >conftest.$ac_ext <<_ACEOF
47698 /* confdefs.h. */
47699 _ACEOF
47700 cat confdefs.h >>conftest.$ac_ext
47701 cat >>conftest.$ac_ext <<_ACEOF
47702 /* end confdefs.h. */
47703 #include <math.h>
47704 #ifdef HAVE_IEEEFP_H
47705 #include <ieeefp.h>
47706 #endif
47709 main ()
47711 isnanf(0);
47713 return 0;
47715 _ACEOF
47716 rm -f conftest.$ac_objext
47717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47718 (eval $ac_compile) 2>conftest.er1
47719 ac_status=$?
47720 grep -v '^ *+' conftest.er1 >conftest.err
47721 rm -f conftest.er1
47722 cat conftest.err >&5
47723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724 (exit $ac_status); } &&
47725 { ac_try='test -z "$ac_cxx_werror_flag"
47726 || test ! -s conftest.err'
47727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47728 (eval $ac_try) 2>&5
47729 ac_status=$?
47730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731 (exit $ac_status); }; } &&
47732 { ac_try='test -s conftest.$ac_objext'
47733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47734 (eval $ac_try) 2>&5
47735 ac_status=$?
47736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47737 (exit $ac_status); }; }; then
47738 glibcxx_cv_func_isnanf_use=yes
47739 else
47740 echo "$as_me: failed program was:" >&5
47741 sed 's/^/| /' conftest.$ac_ext >&5
47743 glibcxx_cv_func_isnanf_use=no
47745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47746 ac_ext=c
47747 ac_cpp='$CPP $CPPFLAGS'
47748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47757 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47759 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47761 for ac_func in isnanf
47763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47764 echo "$as_me:$LINENO: checking for $ac_func" >&5
47765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47766 if eval "test \"\${$as_ac_var+set}\" = set"; then
47767 echo $ECHO_N "(cached) $ECHO_C" >&6
47768 else
47769 if test x$gcc_no_link = xyes; then
47770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47772 { (exit 1); exit 1; }; }
47774 cat >conftest.$ac_ext <<_ACEOF
47775 /* confdefs.h. */
47776 _ACEOF
47777 cat confdefs.h >>conftest.$ac_ext
47778 cat >>conftest.$ac_ext <<_ACEOF
47779 /* end confdefs.h. */
47780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47782 #define $ac_func innocuous_$ac_func
47784 /* System header to define __stub macros and hopefully few prototypes,
47785 which can conflict with char $ac_func (); below.
47786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47787 <limits.h> exists even on freestanding compilers. */
47789 #ifdef __STDC__
47790 # include <limits.h>
47791 #else
47792 # include <assert.h>
47793 #endif
47795 #undef $ac_func
47797 /* Override any gcc2 internal prototype to avoid an error. */
47798 #ifdef __cplusplus
47799 extern "C"
47801 #endif
47802 /* We use char because int might match the return type of a gcc2
47803 builtin and then its argument prototype would still apply. */
47804 char $ac_func ();
47805 /* The GNU C library defines this for functions which it implements
47806 to always fail with ENOSYS. Some functions are actually named
47807 something starting with __ and the normal name is an alias. */
47808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47809 choke me
47810 #else
47811 char (*f) () = $ac_func;
47812 #endif
47813 #ifdef __cplusplus
47815 #endif
47818 main ()
47820 return f != $ac_func;
47822 return 0;
47824 _ACEOF
47825 rm -f conftest.$ac_objext conftest$ac_exeext
47826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47827 (eval $ac_link) 2>conftest.er1
47828 ac_status=$?
47829 grep -v '^ *+' conftest.er1 >conftest.err
47830 rm -f conftest.er1
47831 cat conftest.err >&5
47832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833 (exit $ac_status); } &&
47834 { ac_try='test -z "$ac_c_werror_flag"
47835 || test ! -s conftest.err'
47836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47837 (eval $ac_try) 2>&5
47838 ac_status=$?
47839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47840 (exit $ac_status); }; } &&
47841 { ac_try='test -s conftest$ac_exeext'
47842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47843 (eval $ac_try) 2>&5
47844 ac_status=$?
47845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47846 (exit $ac_status); }; }; then
47847 eval "$as_ac_var=yes"
47848 else
47849 echo "$as_me: failed program was:" >&5
47850 sed 's/^/| /' conftest.$ac_ext >&5
47852 eval "$as_ac_var=no"
47854 rm -f conftest.err conftest.$ac_objext \
47855 conftest$ac_exeext conftest.$ac_ext
47857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47859 if test `eval echo '${'$as_ac_var'}'` = yes; then
47860 cat >>confdefs.h <<_ACEOF
47861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47862 _ACEOF
47865 done
47867 else
47869 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47870 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47871 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47872 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47873 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 else
47878 ac_ext=cc
47879 ac_cpp='$CXXCPP $CPPFLAGS'
47880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47884 cat >conftest.$ac_ext <<_ACEOF
47885 /* confdefs.h. */
47886 _ACEOF
47887 cat confdefs.h >>conftest.$ac_ext
47888 cat >>conftest.$ac_ext <<_ACEOF
47889 /* end confdefs.h. */
47890 #include <math.h>
47891 #ifdef HAVE_IEEEFP_H
47892 #include <ieeefp.h>
47893 #endif
47896 main ()
47898 _isnanf(0);
47900 return 0;
47902 _ACEOF
47903 rm -f conftest.$ac_objext
47904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47905 (eval $ac_compile) 2>conftest.er1
47906 ac_status=$?
47907 grep -v '^ *+' conftest.er1 >conftest.err
47908 rm -f conftest.er1
47909 cat conftest.err >&5
47910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47911 (exit $ac_status); } &&
47912 { ac_try='test -z "$ac_cxx_werror_flag"
47913 || test ! -s conftest.err'
47914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47915 (eval $ac_try) 2>&5
47916 ac_status=$?
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); }; } &&
47919 { ac_try='test -s conftest.$ac_objext'
47920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47921 (eval $ac_try) 2>&5
47922 ac_status=$?
47923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47924 (exit $ac_status); }; }; then
47925 glibcxx_cv_func__isnanf_use=yes
47926 else
47927 echo "$as_me: failed program was:" >&5
47928 sed 's/^/| /' conftest.$ac_ext >&5
47930 glibcxx_cv_func__isnanf_use=no
47932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47933 ac_ext=c
47934 ac_cpp='$CPP $CPPFLAGS'
47935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47944 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47946 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47948 for ac_func in _isnanf
47950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47951 echo "$as_me:$LINENO: checking for $ac_func" >&5
47952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47953 if eval "test \"\${$as_ac_var+set}\" = set"; then
47954 echo $ECHO_N "(cached) $ECHO_C" >&6
47955 else
47956 if test x$gcc_no_link = xyes; then
47957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47959 { (exit 1); exit 1; }; }
47961 cat >conftest.$ac_ext <<_ACEOF
47962 /* confdefs.h. */
47963 _ACEOF
47964 cat confdefs.h >>conftest.$ac_ext
47965 cat >>conftest.$ac_ext <<_ACEOF
47966 /* end confdefs.h. */
47967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47969 #define $ac_func innocuous_$ac_func
47971 /* System header to define __stub macros and hopefully few prototypes,
47972 which can conflict with char $ac_func (); below.
47973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47974 <limits.h> exists even on freestanding compilers. */
47976 #ifdef __STDC__
47977 # include <limits.h>
47978 #else
47979 # include <assert.h>
47980 #endif
47982 #undef $ac_func
47984 /* Override any gcc2 internal prototype to avoid an error. */
47985 #ifdef __cplusplus
47986 extern "C"
47988 #endif
47989 /* We use char because int might match the return type of a gcc2
47990 builtin and then its argument prototype would still apply. */
47991 char $ac_func ();
47992 /* The GNU C library defines this for functions which it implements
47993 to always fail with ENOSYS. Some functions are actually named
47994 something starting with __ and the normal name is an alias. */
47995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47996 choke me
47997 #else
47998 char (*f) () = $ac_func;
47999 #endif
48000 #ifdef __cplusplus
48002 #endif
48005 main ()
48007 return f != $ac_func;
48009 return 0;
48011 _ACEOF
48012 rm -f conftest.$ac_objext conftest$ac_exeext
48013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48014 (eval $ac_link) 2>conftest.er1
48015 ac_status=$?
48016 grep -v '^ *+' conftest.er1 >conftest.err
48017 rm -f conftest.er1
48018 cat conftest.err >&5
48019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020 (exit $ac_status); } &&
48021 { ac_try='test -z "$ac_c_werror_flag"
48022 || test ! -s conftest.err'
48023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48024 (eval $ac_try) 2>&5
48025 ac_status=$?
48026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48027 (exit $ac_status); }; } &&
48028 { ac_try='test -s conftest$ac_exeext'
48029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48030 (eval $ac_try) 2>&5
48031 ac_status=$?
48032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48033 (exit $ac_status); }; }; then
48034 eval "$as_ac_var=yes"
48035 else
48036 echo "$as_me: failed program was:" >&5
48037 sed 's/^/| /' conftest.$ac_ext >&5
48039 eval "$as_ac_var=no"
48041 rm -f conftest.err conftest.$ac_objext \
48042 conftest$ac_exeext conftest.$ac_ext
48044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48046 if test `eval echo '${'$as_ac_var'}'` = yes; then
48047 cat >>confdefs.h <<_ACEOF
48048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48049 _ACEOF
48052 done
48062 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48063 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48064 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48065 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48066 echo $ECHO_N "(cached) $ECHO_C" >&6
48067 else
48071 ac_ext=cc
48072 ac_cpp='$CXXCPP $CPPFLAGS'
48073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48077 cat >conftest.$ac_ext <<_ACEOF
48078 /* confdefs.h. */
48079 _ACEOF
48080 cat confdefs.h >>conftest.$ac_ext
48081 cat >>conftest.$ac_ext <<_ACEOF
48082 /* end confdefs.h. */
48083 #include <math.h>
48084 #ifdef HAVE_IEEEFP_H
48085 #include <ieeefp.h>
48086 #endif
48089 main ()
48091 isinff(0);
48093 return 0;
48095 _ACEOF
48096 rm -f conftest.$ac_objext
48097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48098 (eval $ac_compile) 2>conftest.er1
48099 ac_status=$?
48100 grep -v '^ *+' conftest.er1 >conftest.err
48101 rm -f conftest.er1
48102 cat conftest.err >&5
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); } &&
48105 { ac_try='test -z "$ac_cxx_werror_flag"
48106 || test ! -s conftest.err'
48107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48108 (eval $ac_try) 2>&5
48109 ac_status=$?
48110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48111 (exit $ac_status); }; } &&
48112 { ac_try='test -s conftest.$ac_objext'
48113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48114 (eval $ac_try) 2>&5
48115 ac_status=$?
48116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48117 (exit $ac_status); }; }; then
48118 glibcxx_cv_func_isinff_use=yes
48119 else
48120 echo "$as_me: failed program was:" >&5
48121 sed 's/^/| /' conftest.$ac_ext >&5
48123 glibcxx_cv_func_isinff_use=no
48125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48126 ac_ext=c
48127 ac_cpp='$CPP $CPPFLAGS'
48128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48137 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48139 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48141 for ac_func in isinff
48143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48144 echo "$as_me:$LINENO: checking for $ac_func" >&5
48145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48146 if eval "test \"\${$as_ac_var+set}\" = set"; then
48147 echo $ECHO_N "(cached) $ECHO_C" >&6
48148 else
48149 if test x$gcc_no_link = xyes; then
48150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48152 { (exit 1); exit 1; }; }
48154 cat >conftest.$ac_ext <<_ACEOF
48155 /* confdefs.h. */
48156 _ACEOF
48157 cat confdefs.h >>conftest.$ac_ext
48158 cat >>conftest.$ac_ext <<_ACEOF
48159 /* end confdefs.h. */
48160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48162 #define $ac_func innocuous_$ac_func
48164 /* System header to define __stub macros and hopefully few prototypes,
48165 which can conflict with char $ac_func (); below.
48166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48167 <limits.h> exists even on freestanding compilers. */
48169 #ifdef __STDC__
48170 # include <limits.h>
48171 #else
48172 # include <assert.h>
48173 #endif
48175 #undef $ac_func
48177 /* Override any gcc2 internal prototype to avoid an error. */
48178 #ifdef __cplusplus
48179 extern "C"
48181 #endif
48182 /* We use char because int might match the return type of a gcc2
48183 builtin and then its argument prototype would still apply. */
48184 char $ac_func ();
48185 /* The GNU C library defines this for functions which it implements
48186 to always fail with ENOSYS. Some functions are actually named
48187 something starting with __ and the normal name is an alias. */
48188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48189 choke me
48190 #else
48191 char (*f) () = $ac_func;
48192 #endif
48193 #ifdef __cplusplus
48195 #endif
48198 main ()
48200 return f != $ac_func;
48202 return 0;
48204 _ACEOF
48205 rm -f conftest.$ac_objext conftest$ac_exeext
48206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48207 (eval $ac_link) 2>conftest.er1
48208 ac_status=$?
48209 grep -v '^ *+' conftest.er1 >conftest.err
48210 rm -f conftest.er1
48211 cat conftest.err >&5
48212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48213 (exit $ac_status); } &&
48214 { ac_try='test -z "$ac_c_werror_flag"
48215 || test ! -s conftest.err'
48216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48217 (eval $ac_try) 2>&5
48218 ac_status=$?
48219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48220 (exit $ac_status); }; } &&
48221 { ac_try='test -s conftest$ac_exeext'
48222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48223 (eval $ac_try) 2>&5
48224 ac_status=$?
48225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48226 (exit $ac_status); }; }; then
48227 eval "$as_ac_var=yes"
48228 else
48229 echo "$as_me: failed program was:" >&5
48230 sed 's/^/| /' conftest.$ac_ext >&5
48232 eval "$as_ac_var=no"
48234 rm -f conftest.err conftest.$ac_objext \
48235 conftest$ac_exeext conftest.$ac_ext
48237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48239 if test `eval echo '${'$as_ac_var'}'` = yes; then
48240 cat >>confdefs.h <<_ACEOF
48241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48242 _ACEOF
48245 done
48247 else
48249 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48250 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48251 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48252 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48253 echo $ECHO_N "(cached) $ECHO_C" >&6
48254 else
48258 ac_ext=cc
48259 ac_cpp='$CXXCPP $CPPFLAGS'
48260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48264 cat >conftest.$ac_ext <<_ACEOF
48265 /* confdefs.h. */
48266 _ACEOF
48267 cat confdefs.h >>conftest.$ac_ext
48268 cat >>conftest.$ac_ext <<_ACEOF
48269 /* end confdefs.h. */
48270 #include <math.h>
48271 #ifdef HAVE_IEEEFP_H
48272 #include <ieeefp.h>
48273 #endif
48276 main ()
48278 _isinff(0);
48280 return 0;
48282 _ACEOF
48283 rm -f conftest.$ac_objext
48284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48285 (eval $ac_compile) 2>conftest.er1
48286 ac_status=$?
48287 grep -v '^ *+' conftest.er1 >conftest.err
48288 rm -f conftest.er1
48289 cat conftest.err >&5
48290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291 (exit $ac_status); } &&
48292 { ac_try='test -z "$ac_cxx_werror_flag"
48293 || test ! -s conftest.err'
48294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48295 (eval $ac_try) 2>&5
48296 ac_status=$?
48297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48298 (exit $ac_status); }; } &&
48299 { ac_try='test -s conftest.$ac_objext'
48300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48301 (eval $ac_try) 2>&5
48302 ac_status=$?
48303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48304 (exit $ac_status); }; }; then
48305 glibcxx_cv_func__isinff_use=yes
48306 else
48307 echo "$as_me: failed program was:" >&5
48308 sed 's/^/| /' conftest.$ac_ext >&5
48310 glibcxx_cv_func__isinff_use=no
48312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48313 ac_ext=c
48314 ac_cpp='$CPP $CPPFLAGS'
48315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48324 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48326 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48328 for ac_func in _isinff
48330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48331 echo "$as_me:$LINENO: checking for $ac_func" >&5
48332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48333 if eval "test \"\${$as_ac_var+set}\" = set"; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 else
48336 if test x$gcc_no_link = xyes; then
48337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48339 { (exit 1); exit 1; }; }
48341 cat >conftest.$ac_ext <<_ACEOF
48342 /* confdefs.h. */
48343 _ACEOF
48344 cat confdefs.h >>conftest.$ac_ext
48345 cat >>conftest.$ac_ext <<_ACEOF
48346 /* end confdefs.h. */
48347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48349 #define $ac_func innocuous_$ac_func
48351 /* System header to define __stub macros and hopefully few prototypes,
48352 which can conflict with char $ac_func (); below.
48353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48354 <limits.h> exists even on freestanding compilers. */
48356 #ifdef __STDC__
48357 # include <limits.h>
48358 #else
48359 # include <assert.h>
48360 #endif
48362 #undef $ac_func
48364 /* Override any gcc2 internal prototype to avoid an error. */
48365 #ifdef __cplusplus
48366 extern "C"
48368 #endif
48369 /* We use char because int might match the return type of a gcc2
48370 builtin and then its argument prototype would still apply. */
48371 char $ac_func ();
48372 /* The GNU C library defines this for functions which it implements
48373 to always fail with ENOSYS. Some functions are actually named
48374 something starting with __ and the normal name is an alias. */
48375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48376 choke me
48377 #else
48378 char (*f) () = $ac_func;
48379 #endif
48380 #ifdef __cplusplus
48382 #endif
48385 main ()
48387 return f != $ac_func;
48389 return 0;
48391 _ACEOF
48392 rm -f conftest.$ac_objext conftest$ac_exeext
48393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48394 (eval $ac_link) 2>conftest.er1
48395 ac_status=$?
48396 grep -v '^ *+' conftest.er1 >conftest.err
48397 rm -f conftest.er1
48398 cat conftest.err >&5
48399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48400 (exit $ac_status); } &&
48401 { ac_try='test -z "$ac_c_werror_flag"
48402 || test ! -s conftest.err'
48403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48404 (eval $ac_try) 2>&5
48405 ac_status=$?
48406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48407 (exit $ac_status); }; } &&
48408 { ac_try='test -s conftest$ac_exeext'
48409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48410 (eval $ac_try) 2>&5
48411 ac_status=$?
48412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48413 (exit $ac_status); }; }; then
48414 eval "$as_ac_var=yes"
48415 else
48416 echo "$as_me: failed program was:" >&5
48417 sed 's/^/| /' conftest.$ac_ext >&5
48419 eval "$as_ac_var=no"
48421 rm -f conftest.err conftest.$ac_objext \
48422 conftest$ac_exeext conftest.$ac_ext
48424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48426 if test `eval echo '${'$as_ac_var'}'` = yes; then
48427 cat >>confdefs.h <<_ACEOF
48428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48429 _ACEOF
48432 done
48442 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48443 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48444 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48445 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48446 echo $ECHO_N "(cached) $ECHO_C" >&6
48447 else
48451 ac_ext=cc
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48457 cat >conftest.$ac_ext <<_ACEOF
48458 /* confdefs.h. */
48459 _ACEOF
48460 cat confdefs.h >>conftest.$ac_ext
48461 cat >>conftest.$ac_ext <<_ACEOF
48462 /* end confdefs.h. */
48463 #include <math.h>
48465 main ()
48467 atan2f(0, 0);
48469 return 0;
48471 _ACEOF
48472 rm -f conftest.$ac_objext
48473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48474 (eval $ac_compile) 2>conftest.er1
48475 ac_status=$?
48476 grep -v '^ *+' conftest.er1 >conftest.err
48477 rm -f conftest.er1
48478 cat conftest.err >&5
48479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480 (exit $ac_status); } &&
48481 { ac_try='test -z "$ac_cxx_werror_flag"
48482 || test ! -s conftest.err'
48483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48484 (eval $ac_try) 2>&5
48485 ac_status=$?
48486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48487 (exit $ac_status); }; } &&
48488 { ac_try='test -s conftest.$ac_objext'
48489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48490 (eval $ac_try) 2>&5
48491 ac_status=$?
48492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48493 (exit $ac_status); }; }; then
48494 glibcxx_cv_func_atan2f_use=yes
48495 else
48496 echo "$as_me: failed program was:" >&5
48497 sed 's/^/| /' conftest.$ac_ext >&5
48499 glibcxx_cv_func_atan2f_use=no
48501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48502 ac_ext=c
48503 ac_cpp='$CPP $CPPFLAGS'
48504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48513 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48515 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48517 for ac_func in atan2f
48519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48520 echo "$as_me:$LINENO: checking for $ac_func" >&5
48521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48522 if eval "test \"\${$as_ac_var+set}\" = set"; then
48523 echo $ECHO_N "(cached) $ECHO_C" >&6
48524 else
48525 if test x$gcc_no_link = xyes; then
48526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48528 { (exit 1); exit 1; }; }
48530 cat >conftest.$ac_ext <<_ACEOF
48531 /* confdefs.h. */
48532 _ACEOF
48533 cat confdefs.h >>conftest.$ac_ext
48534 cat >>conftest.$ac_ext <<_ACEOF
48535 /* end confdefs.h. */
48536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48538 #define $ac_func innocuous_$ac_func
48540 /* System header to define __stub macros and hopefully few prototypes,
48541 which can conflict with char $ac_func (); below.
48542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48543 <limits.h> exists even on freestanding compilers. */
48545 #ifdef __STDC__
48546 # include <limits.h>
48547 #else
48548 # include <assert.h>
48549 #endif
48551 #undef $ac_func
48553 /* Override any gcc2 internal prototype to avoid an error. */
48554 #ifdef __cplusplus
48555 extern "C"
48557 #endif
48558 /* We use char because int might match the return type of a gcc2
48559 builtin and then its argument prototype would still apply. */
48560 char $ac_func ();
48561 /* The GNU C library defines this for functions which it implements
48562 to always fail with ENOSYS. Some functions are actually named
48563 something starting with __ and the normal name is an alias. */
48564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48565 choke me
48566 #else
48567 char (*f) () = $ac_func;
48568 #endif
48569 #ifdef __cplusplus
48571 #endif
48574 main ()
48576 return f != $ac_func;
48578 return 0;
48580 _ACEOF
48581 rm -f conftest.$ac_objext conftest$ac_exeext
48582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48583 (eval $ac_link) 2>conftest.er1
48584 ac_status=$?
48585 grep -v '^ *+' conftest.er1 >conftest.err
48586 rm -f conftest.er1
48587 cat conftest.err >&5
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); } &&
48590 { ac_try='test -z "$ac_c_werror_flag"
48591 || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try='test -s conftest$ac_exeext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48600 ac_status=$?
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48603 eval "$as_ac_var=yes"
48604 else
48605 echo "$as_me: failed program was:" >&5
48606 sed 's/^/| /' conftest.$ac_ext >&5
48608 eval "$as_ac_var=no"
48610 rm -f conftest.err conftest.$ac_objext \
48611 conftest$ac_exeext conftest.$ac_ext
48613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48615 if test `eval echo '${'$as_ac_var'}'` = yes; then
48616 cat >>confdefs.h <<_ACEOF
48617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48618 _ACEOF
48621 done
48623 else
48625 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48626 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48627 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48628 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48629 echo $ECHO_N "(cached) $ECHO_C" >&6
48630 else
48634 ac_ext=cc
48635 ac_cpp='$CXXCPP $CPPFLAGS'
48636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640 cat >conftest.$ac_ext <<_ACEOF
48641 /* confdefs.h. */
48642 _ACEOF
48643 cat confdefs.h >>conftest.$ac_ext
48644 cat >>conftest.$ac_ext <<_ACEOF
48645 /* end confdefs.h. */
48646 #include <math.h>
48648 main ()
48650 _atan2f(0, 0);
48652 return 0;
48654 _ACEOF
48655 rm -f conftest.$ac_objext
48656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48657 (eval $ac_compile) 2>conftest.er1
48658 ac_status=$?
48659 grep -v '^ *+' conftest.er1 >conftest.err
48660 rm -f conftest.er1
48661 cat conftest.err >&5
48662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48663 (exit $ac_status); } &&
48664 { ac_try='test -z "$ac_cxx_werror_flag"
48665 || test ! -s conftest.err'
48666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48667 (eval $ac_try) 2>&5
48668 ac_status=$?
48669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48670 (exit $ac_status); }; } &&
48671 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
48677 glibcxx_cv_func__atan2f_use=yes
48678 else
48679 echo "$as_me: failed program was:" >&5
48680 sed 's/^/| /' conftest.$ac_ext >&5
48682 glibcxx_cv_func__atan2f_use=no
48684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48685 ac_ext=c
48686 ac_cpp='$CPP $CPPFLAGS'
48687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48696 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48698 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48700 for ac_func in _atan2f
48702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48703 echo "$as_me:$LINENO: checking for $ac_func" >&5
48704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48705 if eval "test \"\${$as_ac_var+set}\" = set"; then
48706 echo $ECHO_N "(cached) $ECHO_C" >&6
48707 else
48708 if test x$gcc_no_link = xyes; then
48709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48711 { (exit 1); exit 1; }; }
48713 cat >conftest.$ac_ext <<_ACEOF
48714 /* confdefs.h. */
48715 _ACEOF
48716 cat confdefs.h >>conftest.$ac_ext
48717 cat >>conftest.$ac_ext <<_ACEOF
48718 /* end confdefs.h. */
48719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48721 #define $ac_func innocuous_$ac_func
48723 /* System header to define __stub macros and hopefully few prototypes,
48724 which can conflict with char $ac_func (); below.
48725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48726 <limits.h> exists even on freestanding compilers. */
48728 #ifdef __STDC__
48729 # include <limits.h>
48730 #else
48731 # include <assert.h>
48732 #endif
48734 #undef $ac_func
48736 /* Override any gcc2 internal prototype to avoid an error. */
48737 #ifdef __cplusplus
48738 extern "C"
48740 #endif
48741 /* We use char because int might match the return type of a gcc2
48742 builtin and then its argument prototype would still apply. */
48743 char $ac_func ();
48744 /* The GNU C library defines this for functions which it implements
48745 to always fail with ENOSYS. Some functions are actually named
48746 something starting with __ and the normal name is an alias. */
48747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48748 choke me
48749 #else
48750 char (*f) () = $ac_func;
48751 #endif
48752 #ifdef __cplusplus
48754 #endif
48757 main ()
48759 return f != $ac_func;
48761 return 0;
48763 _ACEOF
48764 rm -f conftest.$ac_objext conftest$ac_exeext
48765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48766 (eval $ac_link) 2>conftest.er1
48767 ac_status=$?
48768 grep -v '^ *+' conftest.er1 >conftest.err
48769 rm -f conftest.er1
48770 cat conftest.err >&5
48771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772 (exit $ac_status); } &&
48773 { ac_try='test -z "$ac_c_werror_flag"
48774 || test ! -s conftest.err'
48775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48776 (eval $ac_try) 2>&5
48777 ac_status=$?
48778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48779 (exit $ac_status); }; } &&
48780 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48786 eval "$as_ac_var=yes"
48787 else
48788 echo "$as_me: failed program was:" >&5
48789 sed 's/^/| /' conftest.$ac_ext >&5
48791 eval "$as_ac_var=no"
48793 rm -f conftest.err conftest.$ac_objext \
48794 conftest$ac_exeext conftest.$ac_ext
48796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48798 if test `eval echo '${'$as_ac_var'}'` = yes; then
48799 cat >>confdefs.h <<_ACEOF
48800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48801 _ACEOF
48804 done
48814 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48815 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48816 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48817 if test "${glibcxx_cv_func_fabsf_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 fabsf(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_fabsf_use=yes
48871 else
48872 echo "$as_me: failed program was:" >&5
48873 sed 's/^/| /' conftest.$ac_ext >&5
48875 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
48889 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48891 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48893 for ac_func in fabsf
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
48999 else
49001 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49002 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49003 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49004 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49005 echo $ECHO_N "(cached) $ECHO_C" >&6
49006 else
49010 ac_ext=cc
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49016 cat >conftest.$ac_ext <<_ACEOF
49017 /* confdefs.h. */
49018 _ACEOF
49019 cat confdefs.h >>conftest.$ac_ext
49020 cat >>conftest.$ac_ext <<_ACEOF
49021 /* end confdefs.h. */
49022 #include <math.h>
49023 #ifdef HAVE_IEEEFP_H
49024 #include <ieeefp.h>
49025 #endif
49028 main ()
49030 _fabsf(0);
49032 return 0;
49034 _ACEOF
49035 rm -f conftest.$ac_objext
49036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49037 (eval $ac_compile) 2>conftest.er1
49038 ac_status=$?
49039 grep -v '^ *+' conftest.er1 >conftest.err
49040 rm -f conftest.er1
49041 cat conftest.err >&5
49042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043 (exit $ac_status); } &&
49044 { ac_try='test -z "$ac_cxx_werror_flag"
49045 || test ! -s conftest.err'
49046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49047 (eval $ac_try) 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }; } &&
49051 { ac_try='test -s conftest.$ac_objext'
49052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49053 (eval $ac_try) 2>&5
49054 ac_status=$?
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; }; then
49057 glibcxx_cv_func__fabsf_use=yes
49058 else
49059 echo "$as_me: failed program was:" >&5
49060 sed 's/^/| /' conftest.$ac_ext >&5
49062 glibcxx_cv_func__fabsf_use=no
49064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49065 ac_ext=c
49066 ac_cpp='$CPP $CPPFLAGS'
49067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49076 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49078 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49080 for ac_func in _fabsf
49082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49083 echo "$as_me:$LINENO: checking for $ac_func" >&5
49084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49085 if eval "test \"\${$as_ac_var+set}\" = set"; then
49086 echo $ECHO_N "(cached) $ECHO_C" >&6
49087 else
49088 if test x$gcc_no_link = xyes; then
49089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49091 { (exit 1); exit 1; }; }
49093 cat >conftest.$ac_ext <<_ACEOF
49094 /* confdefs.h. */
49095 _ACEOF
49096 cat confdefs.h >>conftest.$ac_ext
49097 cat >>conftest.$ac_ext <<_ACEOF
49098 /* end confdefs.h. */
49099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49101 #define $ac_func innocuous_$ac_func
49103 /* System header to define __stub macros and hopefully few prototypes,
49104 which can conflict with char $ac_func (); below.
49105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49106 <limits.h> exists even on freestanding compilers. */
49108 #ifdef __STDC__
49109 # include <limits.h>
49110 #else
49111 # include <assert.h>
49112 #endif
49114 #undef $ac_func
49116 /* Override any gcc2 internal prototype to avoid an error. */
49117 #ifdef __cplusplus
49118 extern "C"
49120 #endif
49121 /* We use char because int might match the return type of a gcc2
49122 builtin and then its argument prototype would still apply. */
49123 char $ac_func ();
49124 /* The GNU C library defines this for functions which it implements
49125 to always fail with ENOSYS. Some functions are actually named
49126 something starting with __ and the normal name is an alias. */
49127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49128 choke me
49129 #else
49130 char (*f) () = $ac_func;
49131 #endif
49132 #ifdef __cplusplus
49134 #endif
49137 main ()
49139 return f != $ac_func;
49141 return 0;
49143 _ACEOF
49144 rm -f conftest.$ac_objext conftest$ac_exeext
49145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49146 (eval $ac_link) 2>conftest.er1
49147 ac_status=$?
49148 grep -v '^ *+' conftest.er1 >conftest.err
49149 rm -f conftest.er1
49150 cat conftest.err >&5
49151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152 (exit $ac_status); } &&
49153 { ac_try='test -z "$ac_c_werror_flag"
49154 || test ! -s conftest.err'
49155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49156 (eval $ac_try) 2>&5
49157 ac_status=$?
49158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49159 (exit $ac_status); }; } &&
49160 { ac_try='test -s conftest$ac_exeext'
49161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49162 (eval $ac_try) 2>&5
49163 ac_status=$?
49164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49165 (exit $ac_status); }; }; then
49166 eval "$as_ac_var=yes"
49167 else
49168 echo "$as_me: failed program was:" >&5
49169 sed 's/^/| /' conftest.$ac_ext >&5
49171 eval "$as_ac_var=no"
49173 rm -f conftest.err conftest.$ac_objext \
49174 conftest$ac_exeext conftest.$ac_ext
49176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49178 if test `eval echo '${'$as_ac_var'}'` = yes; then
49179 cat >>confdefs.h <<_ACEOF
49180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49181 _ACEOF
49184 done
49194 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49195 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49196 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49197 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49198 echo $ECHO_N "(cached) $ECHO_C" >&6
49199 else
49203 ac_ext=cc
49204 ac_cpp='$CXXCPP $CPPFLAGS'
49205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49209 cat >conftest.$ac_ext <<_ACEOF
49210 /* confdefs.h. */
49211 _ACEOF
49212 cat confdefs.h >>conftest.$ac_ext
49213 cat >>conftest.$ac_ext <<_ACEOF
49214 /* end confdefs.h. */
49215 #include <math.h>
49217 main ()
49219 fmodf(0, 0);
49221 return 0;
49223 _ACEOF
49224 rm -f conftest.$ac_objext
49225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49226 (eval $ac_compile) 2>conftest.er1
49227 ac_status=$?
49228 grep -v '^ *+' conftest.er1 >conftest.err
49229 rm -f conftest.er1
49230 cat conftest.err >&5
49231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232 (exit $ac_status); } &&
49233 { ac_try='test -z "$ac_cxx_werror_flag"
49234 || test ! -s conftest.err'
49235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49236 (eval $ac_try) 2>&5
49237 ac_status=$?
49238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49239 (exit $ac_status); }; } &&
49240 { ac_try='test -s conftest.$ac_objext'
49241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49242 (eval $ac_try) 2>&5
49243 ac_status=$?
49244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49245 (exit $ac_status); }; }; then
49246 glibcxx_cv_func_fmodf_use=yes
49247 else
49248 echo "$as_me: failed program was:" >&5
49249 sed 's/^/| /' conftest.$ac_ext >&5
49251 glibcxx_cv_func_fmodf_use=no
49253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49254 ac_ext=c
49255 ac_cpp='$CPP $CPPFLAGS'
49256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49265 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49267 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49269 for ac_func in fmodf
49271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49272 echo "$as_me:$LINENO: checking for $ac_func" >&5
49273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49274 if eval "test \"\${$as_ac_var+set}\" = set"; then
49275 echo $ECHO_N "(cached) $ECHO_C" >&6
49276 else
49277 if test x$gcc_no_link = xyes; then
49278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49280 { (exit 1); exit 1; }; }
49282 cat >conftest.$ac_ext <<_ACEOF
49283 /* confdefs.h. */
49284 _ACEOF
49285 cat confdefs.h >>conftest.$ac_ext
49286 cat >>conftest.$ac_ext <<_ACEOF
49287 /* end confdefs.h. */
49288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49290 #define $ac_func innocuous_$ac_func
49292 /* System header to define __stub macros and hopefully few prototypes,
49293 which can conflict with char $ac_func (); below.
49294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49295 <limits.h> exists even on freestanding compilers. */
49297 #ifdef __STDC__
49298 # include <limits.h>
49299 #else
49300 # include <assert.h>
49301 #endif
49303 #undef $ac_func
49305 /* Override any gcc2 internal prototype to avoid an error. */
49306 #ifdef __cplusplus
49307 extern "C"
49309 #endif
49310 /* We use char because int might match the return type of a gcc2
49311 builtin and then its argument prototype would still apply. */
49312 char $ac_func ();
49313 /* The GNU C library defines this for functions which it implements
49314 to always fail with ENOSYS. Some functions are actually named
49315 something starting with __ and the normal name is an alias. */
49316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49317 choke me
49318 #else
49319 char (*f) () = $ac_func;
49320 #endif
49321 #ifdef __cplusplus
49323 #endif
49326 main ()
49328 return f != $ac_func;
49330 return 0;
49332 _ACEOF
49333 rm -f conftest.$ac_objext conftest$ac_exeext
49334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49335 (eval $ac_link) 2>conftest.er1
49336 ac_status=$?
49337 grep -v '^ *+' conftest.er1 >conftest.err
49338 rm -f conftest.er1
49339 cat conftest.err >&5
49340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49341 (exit $ac_status); } &&
49342 { ac_try='test -z "$ac_c_werror_flag"
49343 || test ! -s conftest.err'
49344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49345 (eval $ac_try) 2>&5
49346 ac_status=$?
49347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49348 (exit $ac_status); }; } &&
49349 { ac_try='test -s conftest$ac_exeext'
49350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49351 (eval $ac_try) 2>&5
49352 ac_status=$?
49353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49354 (exit $ac_status); }; }; then
49355 eval "$as_ac_var=yes"
49356 else
49357 echo "$as_me: failed program was:" >&5
49358 sed 's/^/| /' conftest.$ac_ext >&5
49360 eval "$as_ac_var=no"
49362 rm -f conftest.err conftest.$ac_objext \
49363 conftest$ac_exeext conftest.$ac_ext
49365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49367 if test `eval echo '${'$as_ac_var'}'` = yes; then
49368 cat >>confdefs.h <<_ACEOF
49369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49370 _ACEOF
49373 done
49375 else
49377 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49378 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49379 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49380 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 else
49386 ac_ext=cc
49387 ac_cpp='$CXXCPP $CPPFLAGS'
49388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392 cat >conftest.$ac_ext <<_ACEOF
49393 /* confdefs.h. */
49394 _ACEOF
49395 cat confdefs.h >>conftest.$ac_ext
49396 cat >>conftest.$ac_ext <<_ACEOF
49397 /* end confdefs.h. */
49398 #include <math.h>
49400 main ()
49402 _fmodf(0, 0);
49404 return 0;
49406 _ACEOF
49407 rm -f conftest.$ac_objext
49408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49409 (eval $ac_compile) 2>conftest.er1
49410 ac_status=$?
49411 grep -v '^ *+' conftest.er1 >conftest.err
49412 rm -f conftest.er1
49413 cat conftest.err >&5
49414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49415 (exit $ac_status); } &&
49416 { ac_try='test -z "$ac_cxx_werror_flag"
49417 || test ! -s conftest.err'
49418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49419 (eval $ac_try) 2>&5
49420 ac_status=$?
49421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49422 (exit $ac_status); }; } &&
49423 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
49429 glibcxx_cv_func__fmodf_use=yes
49430 else
49431 echo "$as_me: failed program was:" >&5
49432 sed 's/^/| /' conftest.$ac_ext >&5
49434 glibcxx_cv_func__fmodf_use=no
49436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49437 ac_ext=c
49438 ac_cpp='$CPP $CPPFLAGS'
49439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49448 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49450 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49452 for ac_func in _fmodf
49454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49455 echo "$as_me:$LINENO: checking for $ac_func" >&5
49456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49457 if eval "test \"\${$as_ac_var+set}\" = set"; then
49458 echo $ECHO_N "(cached) $ECHO_C" >&6
49459 else
49460 if test x$gcc_no_link = xyes; then
49461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49463 { (exit 1); exit 1; }; }
49465 cat >conftest.$ac_ext <<_ACEOF
49466 /* confdefs.h. */
49467 _ACEOF
49468 cat confdefs.h >>conftest.$ac_ext
49469 cat >>conftest.$ac_ext <<_ACEOF
49470 /* end confdefs.h. */
49471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49473 #define $ac_func innocuous_$ac_func
49475 /* System header to define __stub macros and hopefully few prototypes,
49476 which can conflict with char $ac_func (); below.
49477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49478 <limits.h> exists even on freestanding compilers. */
49480 #ifdef __STDC__
49481 # include <limits.h>
49482 #else
49483 # include <assert.h>
49484 #endif
49486 #undef $ac_func
49488 /* Override any gcc2 internal prototype to avoid an error. */
49489 #ifdef __cplusplus
49490 extern "C"
49492 #endif
49493 /* We use char because int might match the return type of a gcc2
49494 builtin and then its argument prototype would still apply. */
49495 char $ac_func ();
49496 /* The GNU C library defines this for functions which it implements
49497 to always fail with ENOSYS. Some functions are actually named
49498 something starting with __ and the normal name is an alias. */
49499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49500 choke me
49501 #else
49502 char (*f) () = $ac_func;
49503 #endif
49504 #ifdef __cplusplus
49506 #endif
49509 main ()
49511 return f != $ac_func;
49513 return 0;
49515 _ACEOF
49516 rm -f conftest.$ac_objext conftest$ac_exeext
49517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49518 (eval $ac_link) 2>conftest.er1
49519 ac_status=$?
49520 grep -v '^ *+' conftest.er1 >conftest.err
49521 rm -f conftest.er1
49522 cat conftest.err >&5
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); } &&
49525 { ac_try='test -z "$ac_c_werror_flag"
49526 || test ! -s conftest.err'
49527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49528 (eval $ac_try) 2>&5
49529 ac_status=$?
49530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49531 (exit $ac_status); }; } &&
49532 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
49538 eval "$as_ac_var=yes"
49539 else
49540 echo "$as_me: failed program was:" >&5
49541 sed 's/^/| /' conftest.$ac_ext >&5
49543 eval "$as_ac_var=no"
49545 rm -f conftest.err conftest.$ac_objext \
49546 conftest$ac_exeext conftest.$ac_ext
49548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49550 if test `eval echo '${'$as_ac_var'}'` = yes; then
49551 cat >>confdefs.h <<_ACEOF
49552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49553 _ACEOF
49556 done
49566 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49567 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49568 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49569 if test "${glibcxx_cv_func_frexpf_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>
49589 main ()
49591 frexpf(0, 0);
49593 return 0;
49595 _ACEOF
49596 rm -f conftest.$ac_objext
49597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49598 (eval $ac_compile) 2>conftest.er1
49599 ac_status=$?
49600 grep -v '^ *+' conftest.er1 >conftest.err
49601 rm -f conftest.er1
49602 cat conftest.err >&5
49603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49604 (exit $ac_status); } &&
49605 { ac_try='test -z "$ac_cxx_werror_flag"
49606 || test ! -s conftest.err'
49607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49608 (eval $ac_try) 2>&5
49609 ac_status=$?
49610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49611 (exit $ac_status); }; } &&
49612 { ac_try='test -s conftest.$ac_objext'
49613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49614 (eval $ac_try) 2>&5
49615 ac_status=$?
49616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49617 (exit $ac_status); }; }; then
49618 glibcxx_cv_func_frexpf_use=yes
49619 else
49620 echo "$as_me: failed program was:" >&5
49621 sed 's/^/| /' conftest.$ac_ext >&5
49623 glibcxx_cv_func_frexpf_use=no
49625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49626 ac_ext=c
49627 ac_cpp='$CPP $CPPFLAGS'
49628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49637 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49639 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49641 for ac_func in frexpf
49643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49644 echo "$as_me:$LINENO: checking for $ac_func" >&5
49645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49646 if eval "test \"\${$as_ac_var+set}\" = set"; then
49647 echo $ECHO_N "(cached) $ECHO_C" >&6
49648 else
49649 if test x$gcc_no_link = xyes; then
49650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49652 { (exit 1); exit 1; }; }
49654 cat >conftest.$ac_ext <<_ACEOF
49655 /* confdefs.h. */
49656 _ACEOF
49657 cat confdefs.h >>conftest.$ac_ext
49658 cat >>conftest.$ac_ext <<_ACEOF
49659 /* end confdefs.h. */
49660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49662 #define $ac_func innocuous_$ac_func
49664 /* System header to define __stub macros and hopefully few prototypes,
49665 which can conflict with char $ac_func (); below.
49666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49667 <limits.h> exists even on freestanding compilers. */
49669 #ifdef __STDC__
49670 # include <limits.h>
49671 #else
49672 # include <assert.h>
49673 #endif
49675 #undef $ac_func
49677 /* Override any gcc2 internal prototype to avoid an error. */
49678 #ifdef __cplusplus
49679 extern "C"
49681 #endif
49682 /* We use char because int might match the return type of a gcc2
49683 builtin and then its argument prototype would still apply. */
49684 char $ac_func ();
49685 /* The GNU C library defines this for functions which it implements
49686 to always fail with ENOSYS. Some functions are actually named
49687 something starting with __ and the normal name is an alias. */
49688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49689 choke me
49690 #else
49691 char (*f) () = $ac_func;
49692 #endif
49693 #ifdef __cplusplus
49695 #endif
49698 main ()
49700 return f != $ac_func;
49702 return 0;
49704 _ACEOF
49705 rm -f conftest.$ac_objext conftest$ac_exeext
49706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49707 (eval $ac_link) 2>conftest.er1
49708 ac_status=$?
49709 grep -v '^ *+' conftest.er1 >conftest.err
49710 rm -f conftest.er1
49711 cat conftest.err >&5
49712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49713 (exit $ac_status); } &&
49714 { ac_try='test -z "$ac_c_werror_flag"
49715 || test ! -s conftest.err'
49716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49717 (eval $ac_try) 2>&5
49718 ac_status=$?
49719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49720 (exit $ac_status); }; } &&
49721 { ac_try='test -s conftest$ac_exeext'
49722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49723 (eval $ac_try) 2>&5
49724 ac_status=$?
49725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726 (exit $ac_status); }; }; then
49727 eval "$as_ac_var=yes"
49728 else
49729 echo "$as_me: failed program was:" >&5
49730 sed 's/^/| /' conftest.$ac_ext >&5
49732 eval "$as_ac_var=no"
49734 rm -f conftest.err conftest.$ac_objext \
49735 conftest$ac_exeext conftest.$ac_ext
49737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49739 if test `eval echo '${'$as_ac_var'}'` = yes; then
49740 cat >>confdefs.h <<_ACEOF
49741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49742 _ACEOF
49745 done
49747 else
49749 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49750 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49751 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49752 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49753 echo $ECHO_N "(cached) $ECHO_C" >&6
49754 else
49758 ac_ext=cc
49759 ac_cpp='$CXXCPP $CPPFLAGS'
49760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49764 cat >conftest.$ac_ext <<_ACEOF
49765 /* confdefs.h. */
49766 _ACEOF
49767 cat confdefs.h >>conftest.$ac_ext
49768 cat >>conftest.$ac_ext <<_ACEOF
49769 /* end confdefs.h. */
49770 #include <math.h>
49772 main ()
49774 _frexpf(0, 0);
49776 return 0;
49778 _ACEOF
49779 rm -f conftest.$ac_objext
49780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49781 (eval $ac_compile) 2>conftest.er1
49782 ac_status=$?
49783 grep -v '^ *+' conftest.er1 >conftest.err
49784 rm -f conftest.er1
49785 cat conftest.err >&5
49786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49787 (exit $ac_status); } &&
49788 { ac_try='test -z "$ac_cxx_werror_flag"
49789 || test ! -s conftest.err'
49790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49791 (eval $ac_try) 2>&5
49792 ac_status=$?
49793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49794 (exit $ac_status); }; } &&
49795 { ac_try='test -s conftest.$ac_objext'
49796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49797 (eval $ac_try) 2>&5
49798 ac_status=$?
49799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49800 (exit $ac_status); }; }; then
49801 glibcxx_cv_func__frexpf_use=yes
49802 else
49803 echo "$as_me: failed program was:" >&5
49804 sed 's/^/| /' conftest.$ac_ext >&5
49806 glibcxx_cv_func__frexpf_use=no
49808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49809 ac_ext=c
49810 ac_cpp='$CPP $CPPFLAGS'
49811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49820 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49822 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49824 for ac_func in _frexpf
49826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49827 echo "$as_me:$LINENO: checking for $ac_func" >&5
49828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49829 if eval "test \"\${$as_ac_var+set}\" = set"; then
49830 echo $ECHO_N "(cached) $ECHO_C" >&6
49831 else
49832 if test x$gcc_no_link = xyes; then
49833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49835 { (exit 1); exit 1; }; }
49837 cat >conftest.$ac_ext <<_ACEOF
49838 /* confdefs.h. */
49839 _ACEOF
49840 cat confdefs.h >>conftest.$ac_ext
49841 cat >>conftest.$ac_ext <<_ACEOF
49842 /* end confdefs.h. */
49843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49845 #define $ac_func innocuous_$ac_func
49847 /* System header to define __stub macros and hopefully few prototypes,
49848 which can conflict with char $ac_func (); below.
49849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49850 <limits.h> exists even on freestanding compilers. */
49852 #ifdef __STDC__
49853 # include <limits.h>
49854 #else
49855 # include <assert.h>
49856 #endif
49858 #undef $ac_func
49860 /* Override any gcc2 internal prototype to avoid an error. */
49861 #ifdef __cplusplus
49862 extern "C"
49864 #endif
49865 /* We use char because int might match the return type of a gcc2
49866 builtin and then its argument prototype would still apply. */
49867 char $ac_func ();
49868 /* The GNU C library defines this for functions which it implements
49869 to always fail with ENOSYS. Some functions are actually named
49870 something starting with __ and the normal name is an alias. */
49871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49872 choke me
49873 #else
49874 char (*f) () = $ac_func;
49875 #endif
49876 #ifdef __cplusplus
49878 #endif
49881 main ()
49883 return f != $ac_func;
49885 return 0;
49887 _ACEOF
49888 rm -f conftest.$ac_objext conftest$ac_exeext
49889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49890 (eval $ac_link) 2>conftest.er1
49891 ac_status=$?
49892 grep -v '^ *+' conftest.er1 >conftest.err
49893 rm -f conftest.er1
49894 cat conftest.err >&5
49895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49896 (exit $ac_status); } &&
49897 { ac_try='test -z "$ac_c_werror_flag"
49898 || test ! -s conftest.err'
49899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49900 (eval $ac_try) 2>&5
49901 ac_status=$?
49902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49903 (exit $ac_status); }; } &&
49904 { ac_try='test -s conftest$ac_exeext'
49905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49906 (eval $ac_try) 2>&5
49907 ac_status=$?
49908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49909 (exit $ac_status); }; }; then
49910 eval "$as_ac_var=yes"
49911 else
49912 echo "$as_me: failed program was:" >&5
49913 sed 's/^/| /' conftest.$ac_ext >&5
49915 eval "$as_ac_var=no"
49917 rm -f conftest.err conftest.$ac_objext \
49918 conftest$ac_exeext conftest.$ac_ext
49920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49922 if test `eval echo '${'$as_ac_var'}'` = yes; then
49923 cat >>confdefs.h <<_ACEOF
49924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49925 _ACEOF
49928 done
49938 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49939 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49940 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49941 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49942 echo $ECHO_N "(cached) $ECHO_C" >&6
49943 else
49947 ac_ext=cc
49948 ac_cpp='$CXXCPP $CPPFLAGS'
49949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49953 cat >conftest.$ac_ext <<_ACEOF
49954 /* confdefs.h. */
49955 _ACEOF
49956 cat confdefs.h >>conftest.$ac_ext
49957 cat >>conftest.$ac_ext <<_ACEOF
49958 /* end confdefs.h. */
49959 #include <math.h>
49961 main ()
49963 hypotf(0, 0);
49965 return 0;
49967 _ACEOF
49968 rm -f conftest.$ac_objext
49969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49970 (eval $ac_compile) 2>conftest.er1
49971 ac_status=$?
49972 grep -v '^ *+' conftest.er1 >conftest.err
49973 rm -f conftest.er1
49974 cat conftest.err >&5
49975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49976 (exit $ac_status); } &&
49977 { ac_try='test -z "$ac_cxx_werror_flag"
49978 || test ! -s conftest.err'
49979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49980 (eval $ac_try) 2>&5
49981 ac_status=$?
49982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49983 (exit $ac_status); }; } &&
49984 { ac_try='test -s conftest.$ac_objext'
49985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49986 (eval $ac_try) 2>&5
49987 ac_status=$?
49988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49989 (exit $ac_status); }; }; then
49990 glibcxx_cv_func_hypotf_use=yes
49991 else
49992 echo "$as_me: failed program was:" >&5
49993 sed 's/^/| /' conftest.$ac_ext >&5
49995 glibcxx_cv_func_hypotf_use=no
49997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49998 ac_ext=c
49999 ac_cpp='$CPP $CPPFLAGS'
50000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50009 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50011 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50013 for ac_func in hypotf
50015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50016 echo "$as_me:$LINENO: checking for $ac_func" >&5
50017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50018 if eval "test \"\${$as_ac_var+set}\" = set"; then
50019 echo $ECHO_N "(cached) $ECHO_C" >&6
50020 else
50021 if test x$gcc_no_link = xyes; then
50022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50024 { (exit 1); exit 1; }; }
50026 cat >conftest.$ac_ext <<_ACEOF
50027 /* confdefs.h. */
50028 _ACEOF
50029 cat confdefs.h >>conftest.$ac_ext
50030 cat >>conftest.$ac_ext <<_ACEOF
50031 /* end confdefs.h. */
50032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50034 #define $ac_func innocuous_$ac_func
50036 /* System header to define __stub macros and hopefully few prototypes,
50037 which can conflict with char $ac_func (); below.
50038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50039 <limits.h> exists even on freestanding compilers. */
50041 #ifdef __STDC__
50042 # include <limits.h>
50043 #else
50044 # include <assert.h>
50045 #endif
50047 #undef $ac_func
50049 /* Override any gcc2 internal prototype to avoid an error. */
50050 #ifdef __cplusplus
50051 extern "C"
50053 #endif
50054 /* We use char because int might match the return type of a gcc2
50055 builtin and then its argument prototype would still apply. */
50056 char $ac_func ();
50057 /* The GNU C library defines this for functions which it implements
50058 to always fail with ENOSYS. Some functions are actually named
50059 something starting with __ and the normal name is an alias. */
50060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50061 choke me
50062 #else
50063 char (*f) () = $ac_func;
50064 #endif
50065 #ifdef __cplusplus
50067 #endif
50070 main ()
50072 return f != $ac_func;
50074 return 0;
50076 _ACEOF
50077 rm -f conftest.$ac_objext conftest$ac_exeext
50078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50079 (eval $ac_link) 2>conftest.er1
50080 ac_status=$?
50081 grep -v '^ *+' conftest.er1 >conftest.err
50082 rm -f conftest.er1
50083 cat conftest.err >&5
50084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50085 (exit $ac_status); } &&
50086 { ac_try='test -z "$ac_c_werror_flag"
50087 || test ! -s conftest.err'
50088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50089 (eval $ac_try) 2>&5
50090 ac_status=$?
50091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50092 (exit $ac_status); }; } &&
50093 { ac_try='test -s conftest$ac_exeext'
50094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50095 (eval $ac_try) 2>&5
50096 ac_status=$?
50097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50098 (exit $ac_status); }; }; then
50099 eval "$as_ac_var=yes"
50100 else
50101 echo "$as_me: failed program was:" >&5
50102 sed 's/^/| /' conftest.$ac_ext >&5
50104 eval "$as_ac_var=no"
50106 rm -f conftest.err conftest.$ac_objext \
50107 conftest$ac_exeext conftest.$ac_ext
50109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50111 if test `eval echo '${'$as_ac_var'}'` = yes; then
50112 cat >>confdefs.h <<_ACEOF
50113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50114 _ACEOF
50117 done
50119 else
50121 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50122 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50123 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50124 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50125 echo $ECHO_N "(cached) $ECHO_C" >&6
50126 else
50130 ac_ext=cc
50131 ac_cpp='$CXXCPP $CPPFLAGS'
50132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50136 cat >conftest.$ac_ext <<_ACEOF
50137 /* confdefs.h. */
50138 _ACEOF
50139 cat confdefs.h >>conftest.$ac_ext
50140 cat >>conftest.$ac_ext <<_ACEOF
50141 /* end confdefs.h. */
50142 #include <math.h>
50144 main ()
50146 _hypotf(0, 0);
50148 return 0;
50150 _ACEOF
50151 rm -f conftest.$ac_objext
50152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50153 (eval $ac_compile) 2>conftest.er1
50154 ac_status=$?
50155 grep -v '^ *+' conftest.er1 >conftest.err
50156 rm -f conftest.er1
50157 cat conftest.err >&5
50158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159 (exit $ac_status); } &&
50160 { ac_try='test -z "$ac_cxx_werror_flag"
50161 || test ! -s conftest.err'
50162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50163 (eval $ac_try) 2>&5
50164 ac_status=$?
50165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50166 (exit $ac_status); }; } &&
50167 { ac_try='test -s conftest.$ac_objext'
50168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50169 (eval $ac_try) 2>&5
50170 ac_status=$?
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50173 glibcxx_cv_func__hypotf_use=yes
50174 else
50175 echo "$as_me: failed program was:" >&5
50176 sed 's/^/| /' conftest.$ac_ext >&5
50178 glibcxx_cv_func__hypotf_use=no
50180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50181 ac_ext=c
50182 ac_cpp='$CPP $CPPFLAGS'
50183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50192 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50194 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50196 for ac_func in _hypotf
50198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50199 echo "$as_me:$LINENO: checking for $ac_func" >&5
50200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50201 if eval "test \"\${$as_ac_var+set}\" = set"; then
50202 echo $ECHO_N "(cached) $ECHO_C" >&6
50203 else
50204 if test x$gcc_no_link = xyes; then
50205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50207 { (exit 1); exit 1; }; }
50209 cat >conftest.$ac_ext <<_ACEOF
50210 /* confdefs.h. */
50211 _ACEOF
50212 cat confdefs.h >>conftest.$ac_ext
50213 cat >>conftest.$ac_ext <<_ACEOF
50214 /* end confdefs.h. */
50215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50217 #define $ac_func innocuous_$ac_func
50219 /* System header to define __stub macros and hopefully few prototypes,
50220 which can conflict with char $ac_func (); below.
50221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50222 <limits.h> exists even on freestanding compilers. */
50224 #ifdef __STDC__
50225 # include <limits.h>
50226 #else
50227 # include <assert.h>
50228 #endif
50230 #undef $ac_func
50232 /* Override any gcc2 internal prototype to avoid an error. */
50233 #ifdef __cplusplus
50234 extern "C"
50236 #endif
50237 /* We use char because int might match the return type of a gcc2
50238 builtin and then its argument prototype would still apply. */
50239 char $ac_func ();
50240 /* The GNU C library defines this for functions which it implements
50241 to always fail with ENOSYS. Some functions are actually named
50242 something starting with __ and the normal name is an alias. */
50243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50244 choke me
50245 #else
50246 char (*f) () = $ac_func;
50247 #endif
50248 #ifdef __cplusplus
50250 #endif
50253 main ()
50255 return f != $ac_func;
50257 return 0;
50259 _ACEOF
50260 rm -f conftest.$ac_objext conftest$ac_exeext
50261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50262 (eval $ac_link) 2>conftest.er1
50263 ac_status=$?
50264 grep -v '^ *+' conftest.er1 >conftest.err
50265 rm -f conftest.er1
50266 cat conftest.err >&5
50267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50268 (exit $ac_status); } &&
50269 { ac_try='test -z "$ac_c_werror_flag"
50270 || test ! -s conftest.err'
50271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50272 (eval $ac_try) 2>&5
50273 ac_status=$?
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); }; } &&
50276 { ac_try='test -s conftest$ac_exeext'
50277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50278 (eval $ac_try) 2>&5
50279 ac_status=$?
50280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50281 (exit $ac_status); }; }; then
50282 eval "$as_ac_var=yes"
50283 else
50284 echo "$as_me: failed program was:" >&5
50285 sed 's/^/| /' conftest.$ac_ext >&5
50287 eval "$as_ac_var=no"
50289 rm -f conftest.err conftest.$ac_objext \
50290 conftest$ac_exeext conftest.$ac_ext
50292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50294 if test `eval echo '${'$as_ac_var'}'` = yes; then
50295 cat >>confdefs.h <<_ACEOF
50296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50297 _ACEOF
50300 done
50310 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50311 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50312 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50313 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50314 echo $ECHO_N "(cached) $ECHO_C" >&6
50315 else
50319 ac_ext=cc
50320 ac_cpp='$CXXCPP $CPPFLAGS'
50321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50325 cat >conftest.$ac_ext <<_ACEOF
50326 /* confdefs.h. */
50327 _ACEOF
50328 cat confdefs.h >>conftest.$ac_ext
50329 cat >>conftest.$ac_ext <<_ACEOF
50330 /* end confdefs.h. */
50331 #include <math.h>
50333 main ()
50335 ldexpf(0, 0);
50337 return 0;
50339 _ACEOF
50340 rm -f conftest.$ac_objext
50341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50342 (eval $ac_compile) 2>conftest.er1
50343 ac_status=$?
50344 grep -v '^ *+' conftest.er1 >conftest.err
50345 rm -f conftest.er1
50346 cat conftest.err >&5
50347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348 (exit $ac_status); } &&
50349 { ac_try='test -z "$ac_cxx_werror_flag"
50350 || test ! -s conftest.err'
50351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50352 (eval $ac_try) 2>&5
50353 ac_status=$?
50354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50355 (exit $ac_status); }; } &&
50356 { ac_try='test -s conftest.$ac_objext'
50357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50358 (eval $ac_try) 2>&5
50359 ac_status=$?
50360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50361 (exit $ac_status); }; }; then
50362 glibcxx_cv_func_ldexpf_use=yes
50363 else
50364 echo "$as_me: failed program was:" >&5
50365 sed 's/^/| /' conftest.$ac_ext >&5
50367 glibcxx_cv_func_ldexpf_use=no
50369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50370 ac_ext=c
50371 ac_cpp='$CPP $CPPFLAGS'
50372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50381 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50383 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50385 for ac_func in ldexpf
50387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50388 echo "$as_me:$LINENO: checking for $ac_func" >&5
50389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50390 if eval "test \"\${$as_ac_var+set}\" = set"; then
50391 echo $ECHO_N "(cached) $ECHO_C" >&6
50392 else
50393 if test x$gcc_no_link = xyes; then
50394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50396 { (exit 1); exit 1; }; }
50398 cat >conftest.$ac_ext <<_ACEOF
50399 /* confdefs.h. */
50400 _ACEOF
50401 cat confdefs.h >>conftest.$ac_ext
50402 cat >>conftest.$ac_ext <<_ACEOF
50403 /* end confdefs.h. */
50404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50406 #define $ac_func innocuous_$ac_func
50408 /* System header to define __stub macros and hopefully few prototypes,
50409 which can conflict with char $ac_func (); below.
50410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50411 <limits.h> exists even on freestanding compilers. */
50413 #ifdef __STDC__
50414 # include <limits.h>
50415 #else
50416 # include <assert.h>
50417 #endif
50419 #undef $ac_func
50421 /* Override any gcc2 internal prototype to avoid an error. */
50422 #ifdef __cplusplus
50423 extern "C"
50425 #endif
50426 /* We use char because int might match the return type of a gcc2
50427 builtin and then its argument prototype would still apply. */
50428 char $ac_func ();
50429 /* The GNU C library defines this for functions which it implements
50430 to always fail with ENOSYS. Some functions are actually named
50431 something starting with __ and the normal name is an alias. */
50432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50433 choke me
50434 #else
50435 char (*f) () = $ac_func;
50436 #endif
50437 #ifdef __cplusplus
50439 #endif
50442 main ()
50444 return f != $ac_func;
50446 return 0;
50448 _ACEOF
50449 rm -f conftest.$ac_objext conftest$ac_exeext
50450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50451 (eval $ac_link) 2>conftest.er1
50452 ac_status=$?
50453 grep -v '^ *+' conftest.er1 >conftest.err
50454 rm -f conftest.er1
50455 cat conftest.err >&5
50456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50457 (exit $ac_status); } &&
50458 { ac_try='test -z "$ac_c_werror_flag"
50459 || test ! -s conftest.err'
50460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50461 (eval $ac_try) 2>&5
50462 ac_status=$?
50463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50464 (exit $ac_status); }; } &&
50465 { ac_try='test -s conftest$ac_exeext'
50466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50467 (eval $ac_try) 2>&5
50468 ac_status=$?
50469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50470 (exit $ac_status); }; }; then
50471 eval "$as_ac_var=yes"
50472 else
50473 echo "$as_me: failed program was:" >&5
50474 sed 's/^/| /' conftest.$ac_ext >&5
50476 eval "$as_ac_var=no"
50478 rm -f conftest.err conftest.$ac_objext \
50479 conftest$ac_exeext conftest.$ac_ext
50481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50483 if test `eval echo '${'$as_ac_var'}'` = yes; then
50484 cat >>confdefs.h <<_ACEOF
50485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50486 _ACEOF
50489 done
50491 else
50493 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50494 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50495 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50496 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50497 echo $ECHO_N "(cached) $ECHO_C" >&6
50498 else
50502 ac_ext=cc
50503 ac_cpp='$CXXCPP $CPPFLAGS'
50504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50508 cat >conftest.$ac_ext <<_ACEOF
50509 /* confdefs.h. */
50510 _ACEOF
50511 cat confdefs.h >>conftest.$ac_ext
50512 cat >>conftest.$ac_ext <<_ACEOF
50513 /* end confdefs.h. */
50514 #include <math.h>
50516 main ()
50518 _ldexpf(0, 0);
50520 return 0;
50522 _ACEOF
50523 rm -f conftest.$ac_objext
50524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50525 (eval $ac_compile) 2>conftest.er1
50526 ac_status=$?
50527 grep -v '^ *+' conftest.er1 >conftest.err
50528 rm -f conftest.er1
50529 cat conftest.err >&5
50530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50531 (exit $ac_status); } &&
50532 { ac_try='test -z "$ac_cxx_werror_flag"
50533 || test ! -s conftest.err'
50534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50535 (eval $ac_try) 2>&5
50536 ac_status=$?
50537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50538 (exit $ac_status); }; } &&
50539 { ac_try='test -s conftest.$ac_objext'
50540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50541 (eval $ac_try) 2>&5
50542 ac_status=$?
50543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50544 (exit $ac_status); }; }; then
50545 glibcxx_cv_func__ldexpf_use=yes
50546 else
50547 echo "$as_me: failed program was:" >&5
50548 sed 's/^/| /' conftest.$ac_ext >&5
50550 glibcxx_cv_func__ldexpf_use=no
50552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50553 ac_ext=c
50554 ac_cpp='$CPP $CPPFLAGS'
50555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50563 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50564 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50566 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50568 for ac_func in _ldexpf
50570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50571 echo "$as_me:$LINENO: checking for $ac_func" >&5
50572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50573 if eval "test \"\${$as_ac_var+set}\" = set"; then
50574 echo $ECHO_N "(cached) $ECHO_C" >&6
50575 else
50576 if test x$gcc_no_link = xyes; then
50577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50579 { (exit 1); exit 1; }; }
50581 cat >conftest.$ac_ext <<_ACEOF
50582 /* confdefs.h. */
50583 _ACEOF
50584 cat confdefs.h >>conftest.$ac_ext
50585 cat >>conftest.$ac_ext <<_ACEOF
50586 /* end confdefs.h. */
50587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50589 #define $ac_func innocuous_$ac_func
50591 /* System header to define __stub macros and hopefully few prototypes,
50592 which can conflict with char $ac_func (); below.
50593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50594 <limits.h> exists even on freestanding compilers. */
50596 #ifdef __STDC__
50597 # include <limits.h>
50598 #else
50599 # include <assert.h>
50600 #endif
50602 #undef $ac_func
50604 /* Override any gcc2 internal prototype to avoid an error. */
50605 #ifdef __cplusplus
50606 extern "C"
50608 #endif
50609 /* We use char because int might match the return type of a gcc2
50610 builtin and then its argument prototype would still apply. */
50611 char $ac_func ();
50612 /* The GNU C library defines this for functions which it implements
50613 to always fail with ENOSYS. Some functions are actually named
50614 something starting with __ and the normal name is an alias. */
50615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50616 choke me
50617 #else
50618 char (*f) () = $ac_func;
50619 #endif
50620 #ifdef __cplusplus
50622 #endif
50625 main ()
50627 return f != $ac_func;
50629 return 0;
50631 _ACEOF
50632 rm -f conftest.$ac_objext conftest$ac_exeext
50633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50634 (eval $ac_link) 2>conftest.er1
50635 ac_status=$?
50636 grep -v '^ *+' conftest.er1 >conftest.err
50637 rm -f conftest.er1
50638 cat conftest.err >&5
50639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50640 (exit $ac_status); } &&
50641 { ac_try='test -z "$ac_c_werror_flag"
50642 || test ! -s conftest.err'
50643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50644 (eval $ac_try) 2>&5
50645 ac_status=$?
50646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50647 (exit $ac_status); }; } &&
50648 { ac_try='test -s conftest$ac_exeext'
50649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50650 (eval $ac_try) 2>&5
50651 ac_status=$?
50652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50653 (exit $ac_status); }; }; then
50654 eval "$as_ac_var=yes"
50655 else
50656 echo "$as_me: failed program was:" >&5
50657 sed 's/^/| /' conftest.$ac_ext >&5
50659 eval "$as_ac_var=no"
50661 rm -f conftest.err conftest.$ac_objext \
50662 conftest$ac_exeext conftest.$ac_ext
50664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50666 if test `eval echo '${'$as_ac_var'}'` = yes; then
50667 cat >>confdefs.h <<_ACEOF
50668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50669 _ACEOF
50672 done
50682 echo "$as_me:$LINENO: checking for logf declaration" >&5
50683 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50684 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50685 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50686 echo $ECHO_N "(cached) $ECHO_C" >&6
50687 else
50691 ac_ext=cc
50692 ac_cpp='$CXXCPP $CPPFLAGS'
50693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50697 cat >conftest.$ac_ext <<_ACEOF
50698 /* confdefs.h. */
50699 _ACEOF
50700 cat confdefs.h >>conftest.$ac_ext
50701 cat >>conftest.$ac_ext <<_ACEOF
50702 /* end confdefs.h. */
50703 #include <math.h>
50704 #ifdef HAVE_IEEEFP_H
50705 #include <ieeefp.h>
50706 #endif
50709 main ()
50711 logf(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_logf_use=yes
50739 else
50740 echo "$as_me: failed program was:" >&5
50741 sed 's/^/| /' conftest.$ac_ext >&5
50743 glibcxx_cv_func_logf_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_logf_use" >&5
50757 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50759 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50761 for ac_func in logf
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
50867 else
50869 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50870 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50871 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50872 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50873 echo $ECHO_N "(cached) $ECHO_C" >&6
50874 else
50878 ac_ext=cc
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50884 cat >conftest.$ac_ext <<_ACEOF
50885 /* confdefs.h. */
50886 _ACEOF
50887 cat confdefs.h >>conftest.$ac_ext
50888 cat >>conftest.$ac_ext <<_ACEOF
50889 /* end confdefs.h. */
50890 #include <math.h>
50891 #ifdef HAVE_IEEEFP_H
50892 #include <ieeefp.h>
50893 #endif
50896 main ()
50898 _logf(0);
50900 return 0;
50902 _ACEOF
50903 rm -f conftest.$ac_objext
50904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50905 (eval $ac_compile) 2>conftest.er1
50906 ac_status=$?
50907 grep -v '^ *+' conftest.er1 >conftest.err
50908 rm -f conftest.er1
50909 cat conftest.err >&5
50910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50911 (exit $ac_status); } &&
50912 { ac_try='test -z "$ac_cxx_werror_flag"
50913 || test ! -s conftest.err'
50914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50915 (eval $ac_try) 2>&5
50916 ac_status=$?
50917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50918 (exit $ac_status); }; } &&
50919 { ac_try='test -s conftest.$ac_objext'
50920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50921 (eval $ac_try) 2>&5
50922 ac_status=$?
50923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50924 (exit $ac_status); }; }; then
50925 glibcxx_cv_func__logf_use=yes
50926 else
50927 echo "$as_me: failed program was:" >&5
50928 sed 's/^/| /' conftest.$ac_ext >&5
50930 glibcxx_cv_func__logf_use=no
50932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50933 ac_ext=c
50934 ac_cpp='$CPP $CPPFLAGS'
50935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50944 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50946 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50948 for ac_func in _logf
50950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50951 echo "$as_me:$LINENO: checking for $ac_func" >&5
50952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50953 if eval "test \"\${$as_ac_var+set}\" = set"; then
50954 echo $ECHO_N "(cached) $ECHO_C" >&6
50955 else
50956 if test x$gcc_no_link = xyes; then
50957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50959 { (exit 1); exit 1; }; }
50961 cat >conftest.$ac_ext <<_ACEOF
50962 /* confdefs.h. */
50963 _ACEOF
50964 cat confdefs.h >>conftest.$ac_ext
50965 cat >>conftest.$ac_ext <<_ACEOF
50966 /* end confdefs.h. */
50967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50969 #define $ac_func innocuous_$ac_func
50971 /* System header to define __stub macros and hopefully few prototypes,
50972 which can conflict with char $ac_func (); below.
50973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50974 <limits.h> exists even on freestanding compilers. */
50976 #ifdef __STDC__
50977 # include <limits.h>
50978 #else
50979 # include <assert.h>
50980 #endif
50982 #undef $ac_func
50984 /* Override any gcc2 internal prototype to avoid an error. */
50985 #ifdef __cplusplus
50986 extern "C"
50988 #endif
50989 /* We use char because int might match the return type of a gcc2
50990 builtin and then its argument prototype would still apply. */
50991 char $ac_func ();
50992 /* The GNU C library defines this for functions which it implements
50993 to always fail with ENOSYS. Some functions are actually named
50994 something starting with __ and the normal name is an alias. */
50995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50996 choke me
50997 #else
50998 char (*f) () = $ac_func;
50999 #endif
51000 #ifdef __cplusplus
51002 #endif
51005 main ()
51007 return f != $ac_func;
51009 return 0;
51011 _ACEOF
51012 rm -f conftest.$ac_objext conftest$ac_exeext
51013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51014 (eval $ac_link) 2>conftest.er1
51015 ac_status=$?
51016 grep -v '^ *+' conftest.er1 >conftest.err
51017 rm -f conftest.er1
51018 cat conftest.err >&5
51019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51020 (exit $ac_status); } &&
51021 { ac_try='test -z "$ac_c_werror_flag"
51022 || test ! -s conftest.err'
51023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51024 (eval $ac_try) 2>&5
51025 ac_status=$?
51026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51027 (exit $ac_status); }; } &&
51028 { ac_try='test -s conftest$ac_exeext'
51029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51030 (eval $ac_try) 2>&5
51031 ac_status=$?
51032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51033 (exit $ac_status); }; }; then
51034 eval "$as_ac_var=yes"
51035 else
51036 echo "$as_me: failed program was:" >&5
51037 sed 's/^/| /' conftest.$ac_ext >&5
51039 eval "$as_ac_var=no"
51041 rm -f conftest.err conftest.$ac_objext \
51042 conftest$ac_exeext conftest.$ac_ext
51044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51046 if test `eval echo '${'$as_ac_var'}'` = yes; then
51047 cat >>confdefs.h <<_ACEOF
51048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51049 _ACEOF
51052 done
51062 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51063 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51064 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51065 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51066 echo $ECHO_N "(cached) $ECHO_C" >&6
51067 else
51071 ac_ext=cc
51072 ac_cpp='$CXXCPP $CPPFLAGS'
51073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51077 cat >conftest.$ac_ext <<_ACEOF
51078 /* confdefs.h. */
51079 _ACEOF
51080 cat confdefs.h >>conftest.$ac_ext
51081 cat >>conftest.$ac_ext <<_ACEOF
51082 /* end confdefs.h. */
51083 #include <math.h>
51084 #ifdef HAVE_IEEEFP_H
51085 #include <ieeefp.h>
51086 #endif
51089 main ()
51091 log10f(0);
51093 return 0;
51095 _ACEOF
51096 rm -f conftest.$ac_objext
51097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51098 (eval $ac_compile) 2>conftest.er1
51099 ac_status=$?
51100 grep -v '^ *+' conftest.er1 >conftest.err
51101 rm -f conftest.er1
51102 cat conftest.err >&5
51103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51104 (exit $ac_status); } &&
51105 { ac_try='test -z "$ac_cxx_werror_flag"
51106 || test ! -s conftest.err'
51107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51108 (eval $ac_try) 2>&5
51109 ac_status=$?
51110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51111 (exit $ac_status); }; } &&
51112 { ac_try='test -s conftest.$ac_objext'
51113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51114 (eval $ac_try) 2>&5
51115 ac_status=$?
51116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51117 (exit $ac_status); }; }; then
51118 glibcxx_cv_func_log10f_use=yes
51119 else
51120 echo "$as_me: failed program was:" >&5
51121 sed 's/^/| /' conftest.$ac_ext >&5
51123 glibcxx_cv_func_log10f_use=no
51125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51126 ac_ext=c
51127 ac_cpp='$CPP $CPPFLAGS'
51128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51137 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51139 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51141 for ac_func in log10f
51143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51144 echo "$as_me:$LINENO: checking for $ac_func" >&5
51145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51146 if eval "test \"\${$as_ac_var+set}\" = set"; then
51147 echo $ECHO_N "(cached) $ECHO_C" >&6
51148 else
51149 if test x$gcc_no_link = xyes; then
51150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51152 { (exit 1); exit 1; }; }
51154 cat >conftest.$ac_ext <<_ACEOF
51155 /* confdefs.h. */
51156 _ACEOF
51157 cat confdefs.h >>conftest.$ac_ext
51158 cat >>conftest.$ac_ext <<_ACEOF
51159 /* end confdefs.h. */
51160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51162 #define $ac_func innocuous_$ac_func
51164 /* System header to define __stub macros and hopefully few prototypes,
51165 which can conflict with char $ac_func (); below.
51166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51167 <limits.h> exists even on freestanding compilers. */
51169 #ifdef __STDC__
51170 # include <limits.h>
51171 #else
51172 # include <assert.h>
51173 #endif
51175 #undef $ac_func
51177 /* Override any gcc2 internal prototype to avoid an error. */
51178 #ifdef __cplusplus
51179 extern "C"
51181 #endif
51182 /* We use char because int might match the return type of a gcc2
51183 builtin and then its argument prototype would still apply. */
51184 char $ac_func ();
51185 /* The GNU C library defines this for functions which it implements
51186 to always fail with ENOSYS. Some functions are actually named
51187 something starting with __ and the normal name is an alias. */
51188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51189 choke me
51190 #else
51191 char (*f) () = $ac_func;
51192 #endif
51193 #ifdef __cplusplus
51195 #endif
51198 main ()
51200 return f != $ac_func;
51202 return 0;
51204 _ACEOF
51205 rm -f conftest.$ac_objext conftest$ac_exeext
51206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51207 (eval $ac_link) 2>conftest.er1
51208 ac_status=$?
51209 grep -v '^ *+' conftest.er1 >conftest.err
51210 rm -f conftest.er1
51211 cat conftest.err >&5
51212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213 (exit $ac_status); } &&
51214 { ac_try='test -z "$ac_c_werror_flag"
51215 || test ! -s conftest.err'
51216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51217 (eval $ac_try) 2>&5
51218 ac_status=$?
51219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51220 (exit $ac_status); }; } &&
51221 { ac_try='test -s conftest$ac_exeext'
51222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51223 (eval $ac_try) 2>&5
51224 ac_status=$?
51225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51226 (exit $ac_status); }; }; then
51227 eval "$as_ac_var=yes"
51228 else
51229 echo "$as_me: failed program was:" >&5
51230 sed 's/^/| /' conftest.$ac_ext >&5
51232 eval "$as_ac_var=no"
51234 rm -f conftest.err conftest.$ac_objext \
51235 conftest$ac_exeext conftest.$ac_ext
51237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51239 if test `eval echo '${'$as_ac_var'}'` = yes; then
51240 cat >>confdefs.h <<_ACEOF
51241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51242 _ACEOF
51245 done
51247 else
51249 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51250 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51251 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51252 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51253 echo $ECHO_N "(cached) $ECHO_C" >&6
51254 else
51258 ac_ext=cc
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51264 cat >conftest.$ac_ext <<_ACEOF
51265 /* confdefs.h. */
51266 _ACEOF
51267 cat confdefs.h >>conftest.$ac_ext
51268 cat >>conftest.$ac_ext <<_ACEOF
51269 /* end confdefs.h. */
51270 #include <math.h>
51271 #ifdef HAVE_IEEEFP_H
51272 #include <ieeefp.h>
51273 #endif
51276 main ()
51278 _log10f(0);
51280 return 0;
51282 _ACEOF
51283 rm -f conftest.$ac_objext
51284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51285 (eval $ac_compile) 2>conftest.er1
51286 ac_status=$?
51287 grep -v '^ *+' conftest.er1 >conftest.err
51288 rm -f conftest.er1
51289 cat conftest.err >&5
51290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291 (exit $ac_status); } &&
51292 { ac_try='test -z "$ac_cxx_werror_flag"
51293 || test ! -s conftest.err'
51294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51295 (eval $ac_try) 2>&5
51296 ac_status=$?
51297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51298 (exit $ac_status); }; } &&
51299 { ac_try='test -s conftest.$ac_objext'
51300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51301 (eval $ac_try) 2>&5
51302 ac_status=$?
51303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51304 (exit $ac_status); }; }; then
51305 glibcxx_cv_func__log10f_use=yes
51306 else
51307 echo "$as_me: failed program was:" >&5
51308 sed 's/^/| /' conftest.$ac_ext >&5
51310 glibcxx_cv_func__log10f_use=no
51312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51313 ac_ext=c
51314 ac_cpp='$CPP $CPPFLAGS'
51315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51324 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51326 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51328 for ac_func in _log10f
51330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51331 echo "$as_me:$LINENO: checking for $ac_func" >&5
51332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51333 if eval "test \"\${$as_ac_var+set}\" = set"; then
51334 echo $ECHO_N "(cached) $ECHO_C" >&6
51335 else
51336 if test x$gcc_no_link = xyes; then
51337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51339 { (exit 1); exit 1; }; }
51341 cat >conftest.$ac_ext <<_ACEOF
51342 /* confdefs.h. */
51343 _ACEOF
51344 cat confdefs.h >>conftest.$ac_ext
51345 cat >>conftest.$ac_ext <<_ACEOF
51346 /* end confdefs.h. */
51347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51349 #define $ac_func innocuous_$ac_func
51351 /* System header to define __stub macros and hopefully few prototypes,
51352 which can conflict with char $ac_func (); below.
51353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51354 <limits.h> exists even on freestanding compilers. */
51356 #ifdef __STDC__
51357 # include <limits.h>
51358 #else
51359 # include <assert.h>
51360 #endif
51362 #undef $ac_func
51364 /* Override any gcc2 internal prototype to avoid an error. */
51365 #ifdef __cplusplus
51366 extern "C"
51368 #endif
51369 /* We use char because int might match the return type of a gcc2
51370 builtin and then its argument prototype would still apply. */
51371 char $ac_func ();
51372 /* The GNU C library defines this for functions which it implements
51373 to always fail with ENOSYS. Some functions are actually named
51374 something starting with __ and the normal name is an alias. */
51375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51376 choke me
51377 #else
51378 char (*f) () = $ac_func;
51379 #endif
51380 #ifdef __cplusplus
51382 #endif
51385 main ()
51387 return f != $ac_func;
51389 return 0;
51391 _ACEOF
51392 rm -f conftest.$ac_objext conftest$ac_exeext
51393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51394 (eval $ac_link) 2>conftest.er1
51395 ac_status=$?
51396 grep -v '^ *+' conftest.er1 >conftest.err
51397 rm -f conftest.er1
51398 cat conftest.err >&5
51399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51400 (exit $ac_status); } &&
51401 { ac_try='test -z "$ac_c_werror_flag"
51402 || test ! -s conftest.err'
51403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51404 (eval $ac_try) 2>&5
51405 ac_status=$?
51406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51407 (exit $ac_status); }; } &&
51408 { ac_try='test -s conftest$ac_exeext'
51409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51410 (eval $ac_try) 2>&5
51411 ac_status=$?
51412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51413 (exit $ac_status); }; }; then
51414 eval "$as_ac_var=yes"
51415 else
51416 echo "$as_me: failed program was:" >&5
51417 sed 's/^/| /' conftest.$ac_ext >&5
51419 eval "$as_ac_var=no"
51421 rm -f conftest.err conftest.$ac_objext \
51422 conftest$ac_exeext conftest.$ac_ext
51424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51426 if test `eval echo '${'$as_ac_var'}'` = yes; then
51427 cat >>confdefs.h <<_ACEOF
51428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51429 _ACEOF
51432 done
51442 echo "$as_me:$LINENO: checking for modff declaration" >&5
51443 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51444 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51445 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51446 echo $ECHO_N "(cached) $ECHO_C" >&6
51447 else
51451 ac_ext=cc
51452 ac_cpp='$CXXCPP $CPPFLAGS'
51453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51457 cat >conftest.$ac_ext <<_ACEOF
51458 /* confdefs.h. */
51459 _ACEOF
51460 cat confdefs.h >>conftest.$ac_ext
51461 cat >>conftest.$ac_ext <<_ACEOF
51462 /* end confdefs.h. */
51463 #include <math.h>
51465 main ()
51467 modff(0, 0);
51469 return 0;
51471 _ACEOF
51472 rm -f conftest.$ac_objext
51473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51474 (eval $ac_compile) 2>conftest.er1
51475 ac_status=$?
51476 grep -v '^ *+' conftest.er1 >conftest.err
51477 rm -f conftest.er1
51478 cat conftest.err >&5
51479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51480 (exit $ac_status); } &&
51481 { ac_try='test -z "$ac_cxx_werror_flag"
51482 || test ! -s conftest.err'
51483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51484 (eval $ac_try) 2>&5
51485 ac_status=$?
51486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51487 (exit $ac_status); }; } &&
51488 { ac_try='test -s conftest.$ac_objext'
51489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51490 (eval $ac_try) 2>&5
51491 ac_status=$?
51492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51493 (exit $ac_status); }; }; then
51494 glibcxx_cv_func_modff_use=yes
51495 else
51496 echo "$as_me: failed program was:" >&5
51497 sed 's/^/| /' conftest.$ac_ext >&5
51499 glibcxx_cv_func_modff_use=no
51501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51502 ac_ext=c
51503 ac_cpp='$CPP $CPPFLAGS'
51504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51513 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51515 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51517 for ac_func in modff
51519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51520 echo "$as_me:$LINENO: checking for $ac_func" >&5
51521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51522 if eval "test \"\${$as_ac_var+set}\" = set"; then
51523 echo $ECHO_N "(cached) $ECHO_C" >&6
51524 else
51525 if test x$gcc_no_link = xyes; then
51526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51528 { (exit 1); exit 1; }; }
51530 cat >conftest.$ac_ext <<_ACEOF
51531 /* confdefs.h. */
51532 _ACEOF
51533 cat confdefs.h >>conftest.$ac_ext
51534 cat >>conftest.$ac_ext <<_ACEOF
51535 /* end confdefs.h. */
51536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51538 #define $ac_func innocuous_$ac_func
51540 /* System header to define __stub macros and hopefully few prototypes,
51541 which can conflict with char $ac_func (); below.
51542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51543 <limits.h> exists even on freestanding compilers. */
51545 #ifdef __STDC__
51546 # include <limits.h>
51547 #else
51548 # include <assert.h>
51549 #endif
51551 #undef $ac_func
51553 /* Override any gcc2 internal prototype to avoid an error. */
51554 #ifdef __cplusplus
51555 extern "C"
51557 #endif
51558 /* We use char because int might match the return type of a gcc2
51559 builtin and then its argument prototype would still apply. */
51560 char $ac_func ();
51561 /* The GNU C library defines this for functions which it implements
51562 to always fail with ENOSYS. Some functions are actually named
51563 something starting with __ and the normal name is an alias. */
51564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51565 choke me
51566 #else
51567 char (*f) () = $ac_func;
51568 #endif
51569 #ifdef __cplusplus
51571 #endif
51574 main ()
51576 return f != $ac_func;
51578 return 0;
51580 _ACEOF
51581 rm -f conftest.$ac_objext conftest$ac_exeext
51582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51583 (eval $ac_link) 2>conftest.er1
51584 ac_status=$?
51585 grep -v '^ *+' conftest.er1 >conftest.err
51586 rm -f conftest.er1
51587 cat conftest.err >&5
51588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589 (exit $ac_status); } &&
51590 { ac_try='test -z "$ac_c_werror_flag"
51591 || test ! -s conftest.err'
51592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51593 (eval $ac_try) 2>&5
51594 ac_status=$?
51595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51596 (exit $ac_status); }; } &&
51597 { ac_try='test -s conftest$ac_exeext'
51598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51599 (eval $ac_try) 2>&5
51600 ac_status=$?
51601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51602 (exit $ac_status); }; }; then
51603 eval "$as_ac_var=yes"
51604 else
51605 echo "$as_me: failed program was:" >&5
51606 sed 's/^/| /' conftest.$ac_ext >&5
51608 eval "$as_ac_var=no"
51610 rm -f conftest.err conftest.$ac_objext \
51611 conftest$ac_exeext conftest.$ac_ext
51613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51615 if test `eval echo '${'$as_ac_var'}'` = yes; then
51616 cat >>confdefs.h <<_ACEOF
51617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51618 _ACEOF
51621 done
51623 else
51625 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51626 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51627 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51628 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51629 echo $ECHO_N "(cached) $ECHO_C" >&6
51630 else
51634 ac_ext=cc
51635 ac_cpp='$CXXCPP $CPPFLAGS'
51636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51640 cat >conftest.$ac_ext <<_ACEOF
51641 /* confdefs.h. */
51642 _ACEOF
51643 cat confdefs.h >>conftest.$ac_ext
51644 cat >>conftest.$ac_ext <<_ACEOF
51645 /* end confdefs.h. */
51646 #include <math.h>
51648 main ()
51650 _modff(0, 0);
51652 return 0;
51654 _ACEOF
51655 rm -f conftest.$ac_objext
51656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51657 (eval $ac_compile) 2>conftest.er1
51658 ac_status=$?
51659 grep -v '^ *+' conftest.er1 >conftest.err
51660 rm -f conftest.er1
51661 cat conftest.err >&5
51662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51663 (exit $ac_status); } &&
51664 { ac_try='test -z "$ac_cxx_werror_flag"
51665 || test ! -s conftest.err'
51666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51667 (eval $ac_try) 2>&5
51668 ac_status=$?
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); }; } &&
51671 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
51677 glibcxx_cv_func__modff_use=yes
51678 else
51679 echo "$as_me: failed program was:" >&5
51680 sed 's/^/| /' conftest.$ac_ext >&5
51682 glibcxx_cv_func__modff_use=no
51684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51685 ac_ext=c
51686 ac_cpp='$CPP $CPPFLAGS'
51687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51696 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51698 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51700 for ac_func in _modff
51702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51703 echo "$as_me:$LINENO: checking for $ac_func" >&5
51704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51705 if eval "test \"\${$as_ac_var+set}\" = set"; then
51706 echo $ECHO_N "(cached) $ECHO_C" >&6
51707 else
51708 if test x$gcc_no_link = xyes; then
51709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51711 { (exit 1); exit 1; }; }
51713 cat >conftest.$ac_ext <<_ACEOF
51714 /* confdefs.h. */
51715 _ACEOF
51716 cat confdefs.h >>conftest.$ac_ext
51717 cat >>conftest.$ac_ext <<_ACEOF
51718 /* end confdefs.h. */
51719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51721 #define $ac_func innocuous_$ac_func
51723 /* System header to define __stub macros and hopefully few prototypes,
51724 which can conflict with char $ac_func (); below.
51725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51726 <limits.h> exists even on freestanding compilers. */
51728 #ifdef __STDC__
51729 # include <limits.h>
51730 #else
51731 # include <assert.h>
51732 #endif
51734 #undef $ac_func
51736 /* Override any gcc2 internal prototype to avoid an error. */
51737 #ifdef __cplusplus
51738 extern "C"
51740 #endif
51741 /* We use char because int might match the return type of a gcc2
51742 builtin and then its argument prototype would still apply. */
51743 char $ac_func ();
51744 /* The GNU C library defines this for functions which it implements
51745 to always fail with ENOSYS. Some functions are actually named
51746 something starting with __ and the normal name is an alias. */
51747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51748 choke me
51749 #else
51750 char (*f) () = $ac_func;
51751 #endif
51752 #ifdef __cplusplus
51754 #endif
51757 main ()
51759 return f != $ac_func;
51761 return 0;
51763 _ACEOF
51764 rm -f conftest.$ac_objext conftest$ac_exeext
51765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51766 (eval $ac_link) 2>conftest.er1
51767 ac_status=$?
51768 grep -v '^ *+' conftest.er1 >conftest.err
51769 rm -f conftest.er1
51770 cat conftest.err >&5
51771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51772 (exit $ac_status); } &&
51773 { ac_try='test -z "$ac_c_werror_flag"
51774 || test ! -s conftest.err'
51775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51776 (eval $ac_try) 2>&5
51777 ac_status=$?
51778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51779 (exit $ac_status); }; } &&
51780 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51786 eval "$as_ac_var=yes"
51787 else
51788 echo "$as_me: failed program was:" >&5
51789 sed 's/^/| /' conftest.$ac_ext >&5
51791 eval "$as_ac_var=no"
51793 rm -f conftest.err conftest.$ac_objext \
51794 conftest$ac_exeext conftest.$ac_ext
51796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51798 if test `eval echo '${'$as_ac_var'}'` = yes; then
51799 cat >>confdefs.h <<_ACEOF
51800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51801 _ACEOF
51804 done
51814 echo "$as_me:$LINENO: checking for modf declaration" >&5
51815 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51816 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51817 if test "${glibcxx_cv_func_modf_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>
51837 main ()
51839 modf(0, 0);
51841 return 0;
51843 _ACEOF
51844 rm -f conftest.$ac_objext
51845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51846 (eval $ac_compile) 2>conftest.er1
51847 ac_status=$?
51848 grep -v '^ *+' conftest.er1 >conftest.err
51849 rm -f conftest.er1
51850 cat conftest.err >&5
51851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852 (exit $ac_status); } &&
51853 { ac_try='test -z "$ac_cxx_werror_flag"
51854 || test ! -s conftest.err'
51855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51856 (eval $ac_try) 2>&5
51857 ac_status=$?
51858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51859 (exit $ac_status); }; } &&
51860 { ac_try='test -s conftest.$ac_objext'
51861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51862 (eval $ac_try) 2>&5
51863 ac_status=$?
51864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51865 (exit $ac_status); }; }; then
51866 glibcxx_cv_func_modf_use=yes
51867 else
51868 echo "$as_me: failed program was:" >&5
51869 sed 's/^/| /' conftest.$ac_ext >&5
51871 glibcxx_cv_func_modf_use=no
51873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51874 ac_ext=c
51875 ac_cpp='$CPP $CPPFLAGS'
51876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51885 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51887 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51889 for ac_func in modf
51891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51892 echo "$as_me:$LINENO: checking for $ac_func" >&5
51893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51894 if eval "test \"\${$as_ac_var+set}\" = set"; then
51895 echo $ECHO_N "(cached) $ECHO_C" >&6
51896 else
51897 if test x$gcc_no_link = xyes; then
51898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51900 { (exit 1); exit 1; }; }
51902 cat >conftest.$ac_ext <<_ACEOF
51903 /* confdefs.h. */
51904 _ACEOF
51905 cat confdefs.h >>conftest.$ac_ext
51906 cat >>conftest.$ac_ext <<_ACEOF
51907 /* end confdefs.h. */
51908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51910 #define $ac_func innocuous_$ac_func
51912 /* System header to define __stub macros and hopefully few prototypes,
51913 which can conflict with char $ac_func (); below.
51914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51915 <limits.h> exists even on freestanding compilers. */
51917 #ifdef __STDC__
51918 # include <limits.h>
51919 #else
51920 # include <assert.h>
51921 #endif
51923 #undef $ac_func
51925 /* Override any gcc2 internal prototype to avoid an error. */
51926 #ifdef __cplusplus
51927 extern "C"
51929 #endif
51930 /* We use char because int might match the return type of a gcc2
51931 builtin and then its argument prototype would still apply. */
51932 char $ac_func ();
51933 /* The GNU C library defines this for functions which it implements
51934 to always fail with ENOSYS. Some functions are actually named
51935 something starting with __ and the normal name is an alias. */
51936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51937 choke me
51938 #else
51939 char (*f) () = $ac_func;
51940 #endif
51941 #ifdef __cplusplus
51943 #endif
51946 main ()
51948 return f != $ac_func;
51950 return 0;
51952 _ACEOF
51953 rm -f conftest.$ac_objext conftest$ac_exeext
51954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51955 (eval $ac_link) 2>conftest.er1
51956 ac_status=$?
51957 grep -v '^ *+' conftest.er1 >conftest.err
51958 rm -f conftest.er1
51959 cat conftest.err >&5
51960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51961 (exit $ac_status); } &&
51962 { ac_try='test -z "$ac_c_werror_flag"
51963 || test ! -s conftest.err'
51964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51965 (eval $ac_try) 2>&5
51966 ac_status=$?
51967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51968 (exit $ac_status); }; } &&
51969 { ac_try='test -s conftest$ac_exeext'
51970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51971 (eval $ac_try) 2>&5
51972 ac_status=$?
51973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51974 (exit $ac_status); }; }; then
51975 eval "$as_ac_var=yes"
51976 else
51977 echo "$as_me: failed program was:" >&5
51978 sed 's/^/| /' conftest.$ac_ext >&5
51980 eval "$as_ac_var=no"
51982 rm -f conftest.err conftest.$ac_objext \
51983 conftest$ac_exeext conftest.$ac_ext
51985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51987 if test `eval echo '${'$as_ac_var'}'` = yes; then
51988 cat >>confdefs.h <<_ACEOF
51989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51990 _ACEOF
51993 done
51995 else
51997 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51998 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51999 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52000 if test "${glibcxx_cv_func__modf_use+set}" = set; then
52001 echo $ECHO_N "(cached) $ECHO_C" >&6
52002 else
52006 ac_ext=cc
52007 ac_cpp='$CXXCPP $CPPFLAGS'
52008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52012 cat >conftest.$ac_ext <<_ACEOF
52013 /* confdefs.h. */
52014 _ACEOF
52015 cat confdefs.h >>conftest.$ac_ext
52016 cat >>conftest.$ac_ext <<_ACEOF
52017 /* end confdefs.h. */
52018 #include <math.h>
52020 main ()
52022 _modf(0, 0);
52024 return 0;
52026 _ACEOF
52027 rm -f conftest.$ac_objext
52028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52029 (eval $ac_compile) 2>conftest.er1
52030 ac_status=$?
52031 grep -v '^ *+' conftest.er1 >conftest.err
52032 rm -f conftest.er1
52033 cat conftest.err >&5
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); } &&
52036 { ac_try='test -z "$ac_cxx_werror_flag"
52037 || test ! -s conftest.err'
52038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52039 (eval $ac_try) 2>&5
52040 ac_status=$?
52041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52042 (exit $ac_status); }; } &&
52043 { ac_try='test -s conftest.$ac_objext'
52044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52045 (eval $ac_try) 2>&5
52046 ac_status=$?
52047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52048 (exit $ac_status); }; }; then
52049 glibcxx_cv_func__modf_use=yes
52050 else
52051 echo "$as_me: failed program was:" >&5
52052 sed 's/^/| /' conftest.$ac_ext >&5
52054 glibcxx_cv_func__modf_use=no
52056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52057 ac_ext=c
52058 ac_cpp='$CPP $CPPFLAGS'
52059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52068 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52070 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52072 for ac_func in _modf
52074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52075 echo "$as_me:$LINENO: checking for $ac_func" >&5
52076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52077 if eval "test \"\${$as_ac_var+set}\" = set"; then
52078 echo $ECHO_N "(cached) $ECHO_C" >&6
52079 else
52080 if test x$gcc_no_link = xyes; then
52081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52083 { (exit 1); exit 1; }; }
52085 cat >conftest.$ac_ext <<_ACEOF
52086 /* confdefs.h. */
52087 _ACEOF
52088 cat confdefs.h >>conftest.$ac_ext
52089 cat >>conftest.$ac_ext <<_ACEOF
52090 /* end confdefs.h. */
52091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52093 #define $ac_func innocuous_$ac_func
52095 /* System header to define __stub macros and hopefully few prototypes,
52096 which can conflict with char $ac_func (); below.
52097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52098 <limits.h> exists even on freestanding compilers. */
52100 #ifdef __STDC__
52101 # include <limits.h>
52102 #else
52103 # include <assert.h>
52104 #endif
52106 #undef $ac_func
52108 /* Override any gcc2 internal prototype to avoid an error. */
52109 #ifdef __cplusplus
52110 extern "C"
52112 #endif
52113 /* We use char because int might match the return type of a gcc2
52114 builtin and then its argument prototype would still apply. */
52115 char $ac_func ();
52116 /* The GNU C library defines this for functions which it implements
52117 to always fail with ENOSYS. Some functions are actually named
52118 something starting with __ and the normal name is an alias. */
52119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52120 choke me
52121 #else
52122 char (*f) () = $ac_func;
52123 #endif
52124 #ifdef __cplusplus
52126 #endif
52129 main ()
52131 return f != $ac_func;
52133 return 0;
52135 _ACEOF
52136 rm -f conftest.$ac_objext conftest$ac_exeext
52137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52138 (eval $ac_link) 2>conftest.er1
52139 ac_status=$?
52140 grep -v '^ *+' conftest.er1 >conftest.err
52141 rm -f conftest.er1
52142 cat conftest.err >&5
52143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144 (exit $ac_status); } &&
52145 { ac_try='test -z "$ac_c_werror_flag"
52146 || test ! -s conftest.err'
52147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52148 (eval $ac_try) 2>&5
52149 ac_status=$?
52150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52151 (exit $ac_status); }; } &&
52152 { ac_try='test -s conftest$ac_exeext'
52153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52154 (eval $ac_try) 2>&5
52155 ac_status=$?
52156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52157 (exit $ac_status); }; }; then
52158 eval "$as_ac_var=yes"
52159 else
52160 echo "$as_me: failed program was:" >&5
52161 sed 's/^/| /' conftest.$ac_ext >&5
52163 eval "$as_ac_var=no"
52165 rm -f conftest.err conftest.$ac_objext \
52166 conftest$ac_exeext conftest.$ac_ext
52168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52170 if test `eval echo '${'$as_ac_var'}'` = yes; then
52171 cat >>confdefs.h <<_ACEOF
52172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52173 _ACEOF
52176 done
52186 echo "$as_me:$LINENO: checking for powf declaration" >&5
52187 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52188 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52189 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52190 echo $ECHO_N "(cached) $ECHO_C" >&6
52191 else
52195 ac_ext=cc
52196 ac_cpp='$CXXCPP $CPPFLAGS'
52197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52201 cat >conftest.$ac_ext <<_ACEOF
52202 /* confdefs.h. */
52203 _ACEOF
52204 cat confdefs.h >>conftest.$ac_ext
52205 cat >>conftest.$ac_ext <<_ACEOF
52206 /* end confdefs.h. */
52207 #include <math.h>
52209 main ()
52211 powf(0, 0);
52213 return 0;
52215 _ACEOF
52216 rm -f conftest.$ac_objext
52217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52218 (eval $ac_compile) 2>conftest.er1
52219 ac_status=$?
52220 grep -v '^ *+' conftest.er1 >conftest.err
52221 rm -f conftest.er1
52222 cat conftest.err >&5
52223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224 (exit $ac_status); } &&
52225 { ac_try='test -z "$ac_cxx_werror_flag"
52226 || test ! -s conftest.err'
52227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52228 (eval $ac_try) 2>&5
52229 ac_status=$?
52230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52231 (exit $ac_status); }; } &&
52232 { ac_try='test -s conftest.$ac_objext'
52233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52234 (eval $ac_try) 2>&5
52235 ac_status=$?
52236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237 (exit $ac_status); }; }; then
52238 glibcxx_cv_func_powf_use=yes
52239 else
52240 echo "$as_me: failed program was:" >&5
52241 sed 's/^/| /' conftest.$ac_ext >&5
52243 glibcxx_cv_func_powf_use=no
52245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52246 ac_ext=c
52247 ac_cpp='$CPP $CPPFLAGS'
52248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52257 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52259 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52261 for ac_func in powf
52263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52264 echo "$as_me:$LINENO: checking for $ac_func" >&5
52265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52266 if eval "test \"\${$as_ac_var+set}\" = set"; then
52267 echo $ECHO_N "(cached) $ECHO_C" >&6
52268 else
52269 if test x$gcc_no_link = xyes; then
52270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52272 { (exit 1); exit 1; }; }
52274 cat >conftest.$ac_ext <<_ACEOF
52275 /* confdefs.h. */
52276 _ACEOF
52277 cat confdefs.h >>conftest.$ac_ext
52278 cat >>conftest.$ac_ext <<_ACEOF
52279 /* end confdefs.h. */
52280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52282 #define $ac_func innocuous_$ac_func
52284 /* System header to define __stub macros and hopefully few prototypes,
52285 which can conflict with char $ac_func (); below.
52286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52287 <limits.h> exists even on freestanding compilers. */
52289 #ifdef __STDC__
52290 # include <limits.h>
52291 #else
52292 # include <assert.h>
52293 #endif
52295 #undef $ac_func
52297 /* Override any gcc2 internal prototype to avoid an error. */
52298 #ifdef __cplusplus
52299 extern "C"
52301 #endif
52302 /* We use char because int might match the return type of a gcc2
52303 builtin and then its argument prototype would still apply. */
52304 char $ac_func ();
52305 /* The GNU C library defines this for functions which it implements
52306 to always fail with ENOSYS. Some functions are actually named
52307 something starting with __ and the normal name is an alias. */
52308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52309 choke me
52310 #else
52311 char (*f) () = $ac_func;
52312 #endif
52313 #ifdef __cplusplus
52315 #endif
52318 main ()
52320 return f != $ac_func;
52322 return 0;
52324 _ACEOF
52325 rm -f conftest.$ac_objext conftest$ac_exeext
52326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52327 (eval $ac_link) 2>conftest.er1
52328 ac_status=$?
52329 grep -v '^ *+' conftest.er1 >conftest.err
52330 rm -f conftest.er1
52331 cat conftest.err >&5
52332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52333 (exit $ac_status); } &&
52334 { ac_try='test -z "$ac_c_werror_flag"
52335 || test ! -s conftest.err'
52336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52337 (eval $ac_try) 2>&5
52338 ac_status=$?
52339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52340 (exit $ac_status); }; } &&
52341 { ac_try='test -s conftest$ac_exeext'
52342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52343 (eval $ac_try) 2>&5
52344 ac_status=$?
52345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52346 (exit $ac_status); }; }; then
52347 eval "$as_ac_var=yes"
52348 else
52349 echo "$as_me: failed program was:" >&5
52350 sed 's/^/| /' conftest.$ac_ext >&5
52352 eval "$as_ac_var=no"
52354 rm -f conftest.err conftest.$ac_objext \
52355 conftest$ac_exeext conftest.$ac_ext
52357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52359 if test `eval echo '${'$as_ac_var'}'` = yes; then
52360 cat >>confdefs.h <<_ACEOF
52361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52362 _ACEOF
52365 done
52367 else
52369 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52370 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52371 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52372 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52373 echo $ECHO_N "(cached) $ECHO_C" >&6
52374 else
52378 ac_ext=cc
52379 ac_cpp='$CXXCPP $CPPFLAGS'
52380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52384 cat >conftest.$ac_ext <<_ACEOF
52385 /* confdefs.h. */
52386 _ACEOF
52387 cat confdefs.h >>conftest.$ac_ext
52388 cat >>conftest.$ac_ext <<_ACEOF
52389 /* end confdefs.h. */
52390 #include <math.h>
52392 main ()
52394 _powf(0, 0);
52396 return 0;
52398 _ACEOF
52399 rm -f conftest.$ac_objext
52400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52401 (eval $ac_compile) 2>conftest.er1
52402 ac_status=$?
52403 grep -v '^ *+' conftest.er1 >conftest.err
52404 rm -f conftest.er1
52405 cat conftest.err >&5
52406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407 (exit $ac_status); } &&
52408 { ac_try='test -z "$ac_cxx_werror_flag"
52409 || test ! -s conftest.err'
52410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52411 (eval $ac_try) 2>&5
52412 ac_status=$?
52413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52414 (exit $ac_status); }; } &&
52415 { ac_try='test -s conftest.$ac_objext'
52416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52417 (eval $ac_try) 2>&5
52418 ac_status=$?
52419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52420 (exit $ac_status); }; }; then
52421 glibcxx_cv_func__powf_use=yes
52422 else
52423 echo "$as_me: failed program was:" >&5
52424 sed 's/^/| /' conftest.$ac_ext >&5
52426 glibcxx_cv_func__powf_use=no
52428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52429 ac_ext=c
52430 ac_cpp='$CPP $CPPFLAGS'
52431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52440 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52442 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52444 for ac_func in _powf
52446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52447 echo "$as_me:$LINENO: checking for $ac_func" >&5
52448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52449 if eval "test \"\${$as_ac_var+set}\" = set"; then
52450 echo $ECHO_N "(cached) $ECHO_C" >&6
52451 else
52452 if test x$gcc_no_link = xyes; then
52453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52455 { (exit 1); exit 1; }; }
52457 cat >conftest.$ac_ext <<_ACEOF
52458 /* confdefs.h. */
52459 _ACEOF
52460 cat confdefs.h >>conftest.$ac_ext
52461 cat >>conftest.$ac_ext <<_ACEOF
52462 /* end confdefs.h. */
52463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52465 #define $ac_func innocuous_$ac_func
52467 /* System header to define __stub macros and hopefully few prototypes,
52468 which can conflict with char $ac_func (); below.
52469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52470 <limits.h> exists even on freestanding compilers. */
52472 #ifdef __STDC__
52473 # include <limits.h>
52474 #else
52475 # include <assert.h>
52476 #endif
52478 #undef $ac_func
52480 /* Override any gcc2 internal prototype to avoid an error. */
52481 #ifdef __cplusplus
52482 extern "C"
52484 #endif
52485 /* We use char because int might match the return type of a gcc2
52486 builtin and then its argument prototype would still apply. */
52487 char $ac_func ();
52488 /* The GNU C library defines this for functions which it implements
52489 to always fail with ENOSYS. Some functions are actually named
52490 something starting with __ and the normal name is an alias. */
52491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52492 choke me
52493 #else
52494 char (*f) () = $ac_func;
52495 #endif
52496 #ifdef __cplusplus
52498 #endif
52501 main ()
52503 return f != $ac_func;
52505 return 0;
52507 _ACEOF
52508 rm -f conftest.$ac_objext conftest$ac_exeext
52509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52510 (eval $ac_link) 2>conftest.er1
52511 ac_status=$?
52512 grep -v '^ *+' conftest.er1 >conftest.err
52513 rm -f conftest.er1
52514 cat conftest.err >&5
52515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516 (exit $ac_status); } &&
52517 { ac_try='test -z "$ac_c_werror_flag"
52518 || test ! -s conftest.err'
52519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52520 (eval $ac_try) 2>&5
52521 ac_status=$?
52522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52523 (exit $ac_status); }; } &&
52524 { ac_try='test -s conftest$ac_exeext'
52525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52526 (eval $ac_try) 2>&5
52527 ac_status=$?
52528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52529 (exit $ac_status); }; }; then
52530 eval "$as_ac_var=yes"
52531 else
52532 echo "$as_me: failed program was:" >&5
52533 sed 's/^/| /' conftest.$ac_ext >&5
52535 eval "$as_ac_var=no"
52537 rm -f conftest.err conftest.$ac_objext \
52538 conftest$ac_exeext conftest.$ac_ext
52540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52542 if test `eval echo '${'$as_ac_var'}'` = yes; then
52543 cat >>confdefs.h <<_ACEOF
52544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52545 _ACEOF
52548 done
52558 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52559 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52560 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52561 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52562 echo $ECHO_N "(cached) $ECHO_C" >&6
52563 else
52567 ac_ext=cc
52568 ac_cpp='$CXXCPP $CPPFLAGS'
52569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52573 cat >conftest.$ac_ext <<_ACEOF
52574 /* confdefs.h. */
52575 _ACEOF
52576 cat confdefs.h >>conftest.$ac_ext
52577 cat >>conftest.$ac_ext <<_ACEOF
52578 /* end confdefs.h. */
52579 #include <math.h>
52580 #ifdef HAVE_IEEEFP_H
52581 #include <ieeefp.h>
52582 #endif
52585 main ()
52587 sqrtf(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_sqrtf_use=yes
52615 else
52616 echo "$as_me: failed program was:" >&5
52617 sed 's/^/| /' conftest.$ac_ext >&5
52619 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
52633 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52635 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52637 for ac_func in sqrtf
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
52743 else
52745 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52746 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52747 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52748 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52749 echo $ECHO_N "(cached) $ECHO_C" >&6
52750 else
52754 ac_ext=cc
52755 ac_cpp='$CXXCPP $CPPFLAGS'
52756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52760 cat >conftest.$ac_ext <<_ACEOF
52761 /* confdefs.h. */
52762 _ACEOF
52763 cat confdefs.h >>conftest.$ac_ext
52764 cat >>conftest.$ac_ext <<_ACEOF
52765 /* end confdefs.h. */
52766 #include <math.h>
52767 #ifdef HAVE_IEEEFP_H
52768 #include <ieeefp.h>
52769 #endif
52772 main ()
52774 _sqrtf(0);
52776 return 0;
52778 _ACEOF
52779 rm -f conftest.$ac_objext
52780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52781 (eval $ac_compile) 2>conftest.er1
52782 ac_status=$?
52783 grep -v '^ *+' conftest.er1 >conftest.err
52784 rm -f conftest.er1
52785 cat conftest.err >&5
52786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52787 (exit $ac_status); } &&
52788 { ac_try='test -z "$ac_cxx_werror_flag"
52789 || test ! -s conftest.err'
52790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52791 (eval $ac_try) 2>&5
52792 ac_status=$?
52793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52794 (exit $ac_status); }; } &&
52795 { ac_try='test -s conftest.$ac_objext'
52796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52797 (eval $ac_try) 2>&5
52798 ac_status=$?
52799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52800 (exit $ac_status); }; }; then
52801 glibcxx_cv_func__sqrtf_use=yes
52802 else
52803 echo "$as_me: failed program was:" >&5
52804 sed 's/^/| /' conftest.$ac_ext >&5
52806 glibcxx_cv_func__sqrtf_use=no
52808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52809 ac_ext=c
52810 ac_cpp='$CPP $CPPFLAGS'
52811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52820 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52822 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52824 for ac_func in _sqrtf
52826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52827 echo "$as_me:$LINENO: checking for $ac_func" >&5
52828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52829 if eval "test \"\${$as_ac_var+set}\" = set"; then
52830 echo $ECHO_N "(cached) $ECHO_C" >&6
52831 else
52832 if test x$gcc_no_link = xyes; then
52833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52835 { (exit 1); exit 1; }; }
52837 cat >conftest.$ac_ext <<_ACEOF
52838 /* confdefs.h. */
52839 _ACEOF
52840 cat confdefs.h >>conftest.$ac_ext
52841 cat >>conftest.$ac_ext <<_ACEOF
52842 /* end confdefs.h. */
52843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52845 #define $ac_func innocuous_$ac_func
52847 /* System header to define __stub macros and hopefully few prototypes,
52848 which can conflict with char $ac_func (); below.
52849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52850 <limits.h> exists even on freestanding compilers. */
52852 #ifdef __STDC__
52853 # include <limits.h>
52854 #else
52855 # include <assert.h>
52856 #endif
52858 #undef $ac_func
52860 /* Override any gcc2 internal prototype to avoid an error. */
52861 #ifdef __cplusplus
52862 extern "C"
52864 #endif
52865 /* We use char because int might match the return type of a gcc2
52866 builtin and then its argument prototype would still apply. */
52867 char $ac_func ();
52868 /* The GNU C library defines this for functions which it implements
52869 to always fail with ENOSYS. Some functions are actually named
52870 something starting with __ and the normal name is an alias. */
52871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52872 choke me
52873 #else
52874 char (*f) () = $ac_func;
52875 #endif
52876 #ifdef __cplusplus
52878 #endif
52881 main ()
52883 return f != $ac_func;
52885 return 0;
52887 _ACEOF
52888 rm -f conftest.$ac_objext conftest$ac_exeext
52889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52890 (eval $ac_link) 2>conftest.er1
52891 ac_status=$?
52892 grep -v '^ *+' conftest.er1 >conftest.err
52893 rm -f conftest.er1
52894 cat conftest.err >&5
52895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896 (exit $ac_status); } &&
52897 { ac_try='test -z "$ac_c_werror_flag"
52898 || test ! -s conftest.err'
52899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52900 (eval $ac_try) 2>&5
52901 ac_status=$?
52902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52903 (exit $ac_status); }; } &&
52904 { ac_try='test -s conftest$ac_exeext'
52905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52906 (eval $ac_try) 2>&5
52907 ac_status=$?
52908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52909 (exit $ac_status); }; }; then
52910 eval "$as_ac_var=yes"
52911 else
52912 echo "$as_me: failed program was:" >&5
52913 sed 's/^/| /' conftest.$ac_ext >&5
52915 eval "$as_ac_var=no"
52917 rm -f conftest.err conftest.$ac_objext \
52918 conftest$ac_exeext conftest.$ac_ext
52920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52922 if test `eval echo '${'$as_ac_var'}'` = yes; then
52923 cat >>confdefs.h <<_ACEOF
52924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52925 _ACEOF
52928 done
52938 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52939 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52940 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52941 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52942 echo $ECHO_N "(cached) $ECHO_C" >&6
52943 else
52947 ac_ext=cc
52948 ac_cpp='$CXXCPP $CPPFLAGS'
52949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52953 cat >conftest.$ac_ext <<_ACEOF
52954 /* confdefs.h. */
52955 _ACEOF
52956 cat confdefs.h >>conftest.$ac_ext
52957 cat >>conftest.$ac_ext <<_ACEOF
52958 /* end confdefs.h. */
52959 #include <math.h>
52961 main ()
52963 sincosf(0, 0, 0);
52965 return 0;
52967 _ACEOF
52968 rm -f conftest.$ac_objext
52969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52970 (eval $ac_compile) 2>conftest.er1
52971 ac_status=$?
52972 grep -v '^ *+' conftest.er1 >conftest.err
52973 rm -f conftest.er1
52974 cat conftest.err >&5
52975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976 (exit $ac_status); } &&
52977 { ac_try='test -z "$ac_cxx_werror_flag"
52978 || test ! -s conftest.err'
52979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52980 (eval $ac_try) 2>&5
52981 ac_status=$?
52982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52983 (exit $ac_status); }; } &&
52984 { ac_try='test -s conftest.$ac_objext'
52985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52986 (eval $ac_try) 2>&5
52987 ac_status=$?
52988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52989 (exit $ac_status); }; }; then
52990 glibcxx_cv_func_sincosf_use=yes
52991 else
52992 echo "$as_me: failed program was:" >&5
52993 sed 's/^/| /' conftest.$ac_ext >&5
52995 glibcxx_cv_func_sincosf_use=no
52997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52998 ac_ext=c
52999 ac_cpp='$CPP $CPPFLAGS'
53000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53009 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53011 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53013 for ac_func in sincosf
53015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53016 echo "$as_me:$LINENO: checking for $ac_func" >&5
53017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53018 if eval "test \"\${$as_ac_var+set}\" = set"; then
53019 echo $ECHO_N "(cached) $ECHO_C" >&6
53020 else
53021 if test x$gcc_no_link = xyes; then
53022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53024 { (exit 1); exit 1; }; }
53026 cat >conftest.$ac_ext <<_ACEOF
53027 /* confdefs.h. */
53028 _ACEOF
53029 cat confdefs.h >>conftest.$ac_ext
53030 cat >>conftest.$ac_ext <<_ACEOF
53031 /* end confdefs.h. */
53032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53034 #define $ac_func innocuous_$ac_func
53036 /* System header to define __stub macros and hopefully few prototypes,
53037 which can conflict with char $ac_func (); below.
53038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53039 <limits.h> exists even on freestanding compilers. */
53041 #ifdef __STDC__
53042 # include <limits.h>
53043 #else
53044 # include <assert.h>
53045 #endif
53047 #undef $ac_func
53049 /* Override any gcc2 internal prototype to avoid an error. */
53050 #ifdef __cplusplus
53051 extern "C"
53053 #endif
53054 /* We use char because int might match the return type of a gcc2
53055 builtin and then its argument prototype would still apply. */
53056 char $ac_func ();
53057 /* The GNU C library defines this for functions which it implements
53058 to always fail with ENOSYS. Some functions are actually named
53059 something starting with __ and the normal name is an alias. */
53060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53061 choke me
53062 #else
53063 char (*f) () = $ac_func;
53064 #endif
53065 #ifdef __cplusplus
53067 #endif
53070 main ()
53072 return f != $ac_func;
53074 return 0;
53076 _ACEOF
53077 rm -f conftest.$ac_objext conftest$ac_exeext
53078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53079 (eval $ac_link) 2>conftest.er1
53080 ac_status=$?
53081 grep -v '^ *+' conftest.er1 >conftest.err
53082 rm -f conftest.er1
53083 cat conftest.err >&5
53084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53085 (exit $ac_status); } &&
53086 { ac_try='test -z "$ac_c_werror_flag"
53087 || test ! -s conftest.err'
53088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53089 (eval $ac_try) 2>&5
53090 ac_status=$?
53091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53092 (exit $ac_status); }; } &&
53093 { ac_try='test -s conftest$ac_exeext'
53094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53095 (eval $ac_try) 2>&5
53096 ac_status=$?
53097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53098 (exit $ac_status); }; }; then
53099 eval "$as_ac_var=yes"
53100 else
53101 echo "$as_me: failed program was:" >&5
53102 sed 's/^/| /' conftest.$ac_ext >&5
53104 eval "$as_ac_var=no"
53106 rm -f conftest.err conftest.$ac_objext \
53107 conftest$ac_exeext conftest.$ac_ext
53109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53111 if test `eval echo '${'$as_ac_var'}'` = yes; then
53112 cat >>confdefs.h <<_ACEOF
53113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53114 _ACEOF
53117 done
53119 else
53121 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53122 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53123 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53124 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53125 echo $ECHO_N "(cached) $ECHO_C" >&6
53126 else
53130 ac_ext=cc
53131 ac_cpp='$CXXCPP $CPPFLAGS'
53132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53136 cat >conftest.$ac_ext <<_ACEOF
53137 /* confdefs.h. */
53138 _ACEOF
53139 cat confdefs.h >>conftest.$ac_ext
53140 cat >>conftest.$ac_ext <<_ACEOF
53141 /* end confdefs.h. */
53142 #include <math.h>
53144 main ()
53146 _sincosf(0, 0, 0);
53148 return 0;
53150 _ACEOF
53151 rm -f conftest.$ac_objext
53152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53153 (eval $ac_compile) 2>conftest.er1
53154 ac_status=$?
53155 grep -v '^ *+' conftest.er1 >conftest.err
53156 rm -f conftest.er1
53157 cat conftest.err >&5
53158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53159 (exit $ac_status); } &&
53160 { ac_try='test -z "$ac_cxx_werror_flag"
53161 || test ! -s conftest.err'
53162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53163 (eval $ac_try) 2>&5
53164 ac_status=$?
53165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53166 (exit $ac_status); }; } &&
53167 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
53173 glibcxx_cv_func__sincosf_use=yes
53174 else
53175 echo "$as_me: failed program was:" >&5
53176 sed 's/^/| /' conftest.$ac_ext >&5
53178 glibcxx_cv_func__sincosf_use=no
53180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53181 ac_ext=c
53182 ac_cpp='$CPP $CPPFLAGS'
53183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53192 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53194 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53196 for ac_func in _sincosf
53198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53199 echo "$as_me:$LINENO: checking for $ac_func" >&5
53200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53201 if eval "test \"\${$as_ac_var+set}\" = set"; then
53202 echo $ECHO_N "(cached) $ECHO_C" >&6
53203 else
53204 if test x$gcc_no_link = xyes; then
53205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53207 { (exit 1); exit 1; }; }
53209 cat >conftest.$ac_ext <<_ACEOF
53210 /* confdefs.h. */
53211 _ACEOF
53212 cat confdefs.h >>conftest.$ac_ext
53213 cat >>conftest.$ac_ext <<_ACEOF
53214 /* end confdefs.h. */
53215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53217 #define $ac_func innocuous_$ac_func
53219 /* System header to define __stub macros and hopefully few prototypes,
53220 which can conflict with char $ac_func (); below.
53221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53222 <limits.h> exists even on freestanding compilers. */
53224 #ifdef __STDC__
53225 # include <limits.h>
53226 #else
53227 # include <assert.h>
53228 #endif
53230 #undef $ac_func
53232 /* Override any gcc2 internal prototype to avoid an error. */
53233 #ifdef __cplusplus
53234 extern "C"
53236 #endif
53237 /* We use char because int might match the return type of a gcc2
53238 builtin and then its argument prototype would still apply. */
53239 char $ac_func ();
53240 /* The GNU C library defines this for functions which it implements
53241 to always fail with ENOSYS. Some functions are actually named
53242 something starting with __ and the normal name is an alias. */
53243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53244 choke me
53245 #else
53246 char (*f) () = $ac_func;
53247 #endif
53248 #ifdef __cplusplus
53250 #endif
53253 main ()
53255 return f != $ac_func;
53257 return 0;
53259 _ACEOF
53260 rm -f conftest.$ac_objext conftest$ac_exeext
53261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53262 (eval $ac_link) 2>conftest.er1
53263 ac_status=$?
53264 grep -v '^ *+' conftest.er1 >conftest.err
53265 rm -f conftest.er1
53266 cat conftest.err >&5
53267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53268 (exit $ac_status); } &&
53269 { ac_try='test -z "$ac_c_werror_flag"
53270 || test ! -s conftest.err'
53271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53272 (eval $ac_try) 2>&5
53273 ac_status=$?
53274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53275 (exit $ac_status); }; } &&
53276 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
53282 eval "$as_ac_var=yes"
53283 else
53284 echo "$as_me: failed program was:" >&5
53285 sed 's/^/| /' conftest.$ac_ext >&5
53287 eval "$as_ac_var=no"
53289 rm -f conftest.err conftest.$ac_objext \
53290 conftest$ac_exeext conftest.$ac_ext
53292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53294 if test `eval echo '${'$as_ac_var'}'` = yes; then
53295 cat >>confdefs.h <<_ACEOF
53296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53297 _ACEOF
53300 done
53310 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53311 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53312 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53313 if test "${glibcxx_cv_func_finitef_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 finitef(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_finitef_use=yes
53367 else
53368 echo "$as_me: failed program was:" >&5
53369 sed 's/^/| /' conftest.$ac_ext >&5
53371 glibcxx_cv_func_finitef_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_finitef_use" >&5
53385 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53387 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53389 for ac_func in finitef
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
53495 else
53497 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53498 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53499 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53500 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53501 echo $ECHO_N "(cached) $ECHO_C" >&6
53502 else
53506 ac_ext=cc
53507 ac_cpp='$CXXCPP $CPPFLAGS'
53508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53512 cat >conftest.$ac_ext <<_ACEOF
53513 /* confdefs.h. */
53514 _ACEOF
53515 cat confdefs.h >>conftest.$ac_ext
53516 cat >>conftest.$ac_ext <<_ACEOF
53517 /* end confdefs.h. */
53518 #include <math.h>
53519 #ifdef HAVE_IEEEFP_H
53520 #include <ieeefp.h>
53521 #endif
53524 main ()
53526 _finitef(0);
53528 return 0;
53530 _ACEOF
53531 rm -f conftest.$ac_objext
53532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53533 (eval $ac_compile) 2>conftest.er1
53534 ac_status=$?
53535 grep -v '^ *+' conftest.er1 >conftest.err
53536 rm -f conftest.er1
53537 cat conftest.err >&5
53538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53539 (exit $ac_status); } &&
53540 { ac_try='test -z "$ac_cxx_werror_flag"
53541 || test ! -s conftest.err'
53542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53543 (eval $ac_try) 2>&5
53544 ac_status=$?
53545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53546 (exit $ac_status); }; } &&
53547 { ac_try='test -s conftest.$ac_objext'
53548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53549 (eval $ac_try) 2>&5
53550 ac_status=$?
53551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53552 (exit $ac_status); }; }; then
53553 glibcxx_cv_func__finitef_use=yes
53554 else
53555 echo "$as_me: failed program was:" >&5
53556 sed 's/^/| /' conftest.$ac_ext >&5
53558 glibcxx_cv_func__finitef_use=no
53560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53561 ac_ext=c
53562 ac_cpp='$CPP $CPPFLAGS'
53563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53571 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53572 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53574 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53576 for ac_func in _finitef
53578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53579 echo "$as_me:$LINENO: checking for $ac_func" >&5
53580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53581 if eval "test \"\${$as_ac_var+set}\" = set"; then
53582 echo $ECHO_N "(cached) $ECHO_C" >&6
53583 else
53584 if test x$gcc_no_link = xyes; then
53585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53587 { (exit 1); exit 1; }; }
53589 cat >conftest.$ac_ext <<_ACEOF
53590 /* confdefs.h. */
53591 _ACEOF
53592 cat confdefs.h >>conftest.$ac_ext
53593 cat >>conftest.$ac_ext <<_ACEOF
53594 /* end confdefs.h. */
53595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53597 #define $ac_func innocuous_$ac_func
53599 /* System header to define __stub macros and hopefully few prototypes,
53600 which can conflict with char $ac_func (); below.
53601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53602 <limits.h> exists even on freestanding compilers. */
53604 #ifdef __STDC__
53605 # include <limits.h>
53606 #else
53607 # include <assert.h>
53608 #endif
53610 #undef $ac_func
53612 /* Override any gcc2 internal prototype to avoid an error. */
53613 #ifdef __cplusplus
53614 extern "C"
53616 #endif
53617 /* We use char because int might match the return type of a gcc2
53618 builtin and then its argument prototype would still apply. */
53619 char $ac_func ();
53620 /* The GNU C library defines this for functions which it implements
53621 to always fail with ENOSYS. Some functions are actually named
53622 something starting with __ and the normal name is an alias. */
53623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53624 choke me
53625 #else
53626 char (*f) () = $ac_func;
53627 #endif
53628 #ifdef __cplusplus
53630 #endif
53633 main ()
53635 return f != $ac_func;
53637 return 0;
53639 _ACEOF
53640 rm -f conftest.$ac_objext conftest$ac_exeext
53641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53642 (eval $ac_link) 2>conftest.er1
53643 ac_status=$?
53644 grep -v '^ *+' conftest.er1 >conftest.err
53645 rm -f conftest.er1
53646 cat conftest.err >&5
53647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53648 (exit $ac_status); } &&
53649 { ac_try='test -z "$ac_c_werror_flag"
53650 || test ! -s conftest.err'
53651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53652 (eval $ac_try) 2>&5
53653 ac_status=$?
53654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53655 (exit $ac_status); }; } &&
53656 { ac_try='test -s conftest$ac_exeext'
53657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53658 (eval $ac_try) 2>&5
53659 ac_status=$?
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); }; }; then
53662 eval "$as_ac_var=yes"
53663 else
53664 echo "$as_me: failed program was:" >&5
53665 sed 's/^/| /' conftest.$ac_ext >&5
53667 eval "$as_ac_var=no"
53669 rm -f conftest.err conftest.$ac_objext \
53670 conftest$ac_exeext conftest.$ac_ext
53672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53674 if test `eval echo '${'$as_ac_var'}'` = yes; then
53675 cat >>confdefs.h <<_ACEOF
53676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53677 _ACEOF
53680 done
53690 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53691 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53692 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53693 echo $ECHO_N "(cached) $ECHO_C" >&6
53694 else
53698 ac_ext=cc
53699 ac_cpp='$CXXCPP $CPPFLAGS'
53700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53704 cat >conftest.$ac_ext <<_ACEOF
53705 /* confdefs.h. */
53706 _ACEOF
53707 cat confdefs.h >>conftest.$ac_ext
53708 cat >>conftest.$ac_ext <<_ACEOF
53709 /* end confdefs.h. */
53710 #include <math.h>
53712 main ()
53714 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53716 return 0;
53718 _ACEOF
53719 rm -f conftest.$ac_objext
53720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53721 (eval $ac_compile) 2>conftest.er1
53722 ac_status=$?
53723 grep -v '^ *+' conftest.er1 >conftest.err
53724 rm -f conftest.er1
53725 cat conftest.err >&5
53726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727 (exit $ac_status); } &&
53728 { ac_try='test -z "$ac_cxx_werror_flag"
53729 || test ! -s conftest.err'
53730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53731 (eval $ac_try) 2>&5
53732 ac_status=$?
53733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734 (exit $ac_status); }; } &&
53735 { ac_try='test -s conftest.$ac_objext'
53736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53737 (eval $ac_try) 2>&5
53738 ac_status=$?
53739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53740 (exit $ac_status); }; }; then
53741 glibcxx_cv_func_long_double_trig_use=yes
53742 else
53743 echo "$as_me: failed program was:" >&5
53744 sed 's/^/| /' conftest.$ac_ext >&5
53746 glibcxx_cv_func_long_double_trig_use=no
53748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53749 ac_ext=c
53750 ac_cpp='$CPP $CPPFLAGS'
53751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53757 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53758 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53759 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53769 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53772 echo "$as_me:$LINENO: checking for $ac_func" >&5
53773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53774 if eval "test \"\${$as_ac_var+set}\" = set"; then
53775 echo $ECHO_N "(cached) $ECHO_C" >&6
53776 else
53777 if test x$gcc_no_link = xyes; then
53778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53780 { (exit 1); exit 1; }; }
53782 cat >conftest.$ac_ext <<_ACEOF
53783 /* confdefs.h. */
53784 _ACEOF
53785 cat confdefs.h >>conftest.$ac_ext
53786 cat >>conftest.$ac_ext <<_ACEOF
53787 /* end confdefs.h. */
53788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53790 #define $ac_func innocuous_$ac_func
53792 /* System header to define __stub macros and hopefully few prototypes,
53793 which can conflict with char $ac_func (); below.
53794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53795 <limits.h> exists even on freestanding compilers. */
53797 #ifdef __STDC__
53798 # include <limits.h>
53799 #else
53800 # include <assert.h>
53801 #endif
53803 #undef $ac_func
53805 /* Override any gcc2 internal prototype to avoid an error. */
53806 #ifdef __cplusplus
53807 extern "C"
53809 #endif
53810 /* We use char because int might match the return type of a gcc2
53811 builtin and then its argument prototype would still apply. */
53812 char $ac_func ();
53813 /* The GNU C library defines this for functions which it implements
53814 to always fail with ENOSYS. Some functions are actually named
53815 something starting with __ and the normal name is an alias. */
53816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53817 choke me
53818 #else
53819 char (*f) () = $ac_func;
53820 #endif
53821 #ifdef __cplusplus
53823 #endif
53826 main ()
53828 return f != $ac_func;
53830 return 0;
53832 _ACEOF
53833 rm -f conftest.$ac_objext conftest$ac_exeext
53834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53835 (eval $ac_link) 2>conftest.er1
53836 ac_status=$?
53837 grep -v '^ *+' conftest.er1 >conftest.err
53838 rm -f conftest.er1
53839 cat conftest.err >&5
53840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53841 (exit $ac_status); } &&
53842 { ac_try='test -z "$ac_c_werror_flag"
53843 || test ! -s conftest.err'
53844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53845 (eval $ac_try) 2>&5
53846 ac_status=$?
53847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53848 (exit $ac_status); }; } &&
53849 { ac_try='test -s conftest$ac_exeext'
53850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53851 (eval $ac_try) 2>&5
53852 ac_status=$?
53853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53854 (exit $ac_status); }; }; then
53855 eval "$as_ac_var=yes"
53856 else
53857 echo "$as_me: failed program was:" >&5
53858 sed 's/^/| /' conftest.$ac_ext >&5
53860 eval "$as_ac_var=no"
53862 rm -f conftest.err conftest.$ac_objext \
53863 conftest$ac_exeext conftest.$ac_ext
53865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53867 if test `eval echo '${'$as_ac_var'}'` = yes; then
53868 cat >>confdefs.h <<_ACEOF
53869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53870 _ACEOF
53873 done
53875 else
53876 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53877 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53878 if test "${glibcxx_cv_func__long_double_trig_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>
53898 main ()
53900 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53902 return 0;
53904 _ACEOF
53905 rm -f conftest.$ac_objext
53906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53907 (eval $ac_compile) 2>conftest.er1
53908 ac_status=$?
53909 grep -v '^ *+' conftest.er1 >conftest.err
53910 rm -f conftest.er1
53911 cat conftest.err >&5
53912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913 (exit $ac_status); } &&
53914 { ac_try='test -z "$ac_cxx_werror_flag"
53915 || test ! -s conftest.err'
53916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53917 (eval $ac_try) 2>&5
53918 ac_status=$?
53919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53920 (exit $ac_status); }; } &&
53921 { ac_try='test -s conftest.$ac_objext'
53922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53923 (eval $ac_try) 2>&5
53924 ac_status=$?
53925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53926 (exit $ac_status); }; }; then
53927 glibcxx_cv_func__long_double_trig_use=yes
53928 else
53929 echo "$as_me: failed program was:" >&5
53930 sed 's/^/| /' conftest.$ac_ext >&5
53932 glibcxx_cv_func__long_double_trig_use=no
53934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53935 ac_ext=c
53936 ac_cpp='$CPP $CPPFLAGS'
53937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53944 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53945 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53955 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53958 echo "$as_me:$LINENO: checking for $ac_func" >&5
53959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53960 if eval "test \"\${$as_ac_var+set}\" = set"; then
53961 echo $ECHO_N "(cached) $ECHO_C" >&6
53962 else
53963 if test x$gcc_no_link = xyes; then
53964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53966 { (exit 1); exit 1; }; }
53968 cat >conftest.$ac_ext <<_ACEOF
53969 /* confdefs.h. */
53970 _ACEOF
53971 cat confdefs.h >>conftest.$ac_ext
53972 cat >>conftest.$ac_ext <<_ACEOF
53973 /* end confdefs.h. */
53974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53976 #define $ac_func innocuous_$ac_func
53978 /* System header to define __stub macros and hopefully few prototypes,
53979 which can conflict with char $ac_func (); below.
53980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53981 <limits.h> exists even on freestanding compilers. */
53983 #ifdef __STDC__
53984 # include <limits.h>
53985 #else
53986 # include <assert.h>
53987 #endif
53989 #undef $ac_func
53991 /* Override any gcc2 internal prototype to avoid an error. */
53992 #ifdef __cplusplus
53993 extern "C"
53995 #endif
53996 /* We use char because int might match the return type of a gcc2
53997 builtin and then its argument prototype would still apply. */
53998 char $ac_func ();
53999 /* The GNU C library defines this for functions which it implements
54000 to always fail with ENOSYS. Some functions are actually named
54001 something starting with __ and the normal name is an alias. */
54002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54003 choke me
54004 #else
54005 char (*f) () = $ac_func;
54006 #endif
54007 #ifdef __cplusplus
54009 #endif
54012 main ()
54014 return f != $ac_func;
54016 return 0;
54018 _ACEOF
54019 rm -f conftest.$ac_objext conftest$ac_exeext
54020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54021 (eval $ac_link) 2>conftest.er1
54022 ac_status=$?
54023 grep -v '^ *+' conftest.er1 >conftest.err
54024 rm -f conftest.er1
54025 cat conftest.err >&5
54026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54027 (exit $ac_status); } &&
54028 { ac_try='test -z "$ac_c_werror_flag"
54029 || test ! -s conftest.err'
54030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54031 (eval $ac_try) 2>&5
54032 ac_status=$?
54033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54034 (exit $ac_status); }; } &&
54035 { ac_try='test -s conftest$ac_exeext'
54036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54037 (eval $ac_try) 2>&5
54038 ac_status=$?
54039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54040 (exit $ac_status); }; }; then
54041 eval "$as_ac_var=yes"
54042 else
54043 echo "$as_me: failed program was:" >&5
54044 sed 's/^/| /' conftest.$ac_ext >&5
54046 eval "$as_ac_var=no"
54048 rm -f conftest.err conftest.$ac_objext \
54049 conftest$ac_exeext conftest.$ac_ext
54051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54053 if test `eval echo '${'$as_ac_var'}'` = yes; then
54054 cat >>confdefs.h <<_ACEOF
54055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54056 _ACEOF
54059 done
54077 echo "$as_me:$LINENO: checking for long double round functions" >&5
54078 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54079 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54080 echo $ECHO_N "(cached) $ECHO_C" >&6
54081 else
54085 ac_ext=cc
54086 ac_cpp='$CXXCPP $CPPFLAGS'
54087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54091 cat >conftest.$ac_ext <<_ACEOF
54092 /* confdefs.h. */
54093 _ACEOF
54094 cat confdefs.h >>conftest.$ac_ext
54095 cat >>conftest.$ac_ext <<_ACEOF
54096 /* end confdefs.h. */
54097 #include <math.h>
54099 main ()
54101 ceill (0); floorl (0);
54103 return 0;
54105 _ACEOF
54106 rm -f conftest.$ac_objext
54107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54108 (eval $ac_compile) 2>conftest.er1
54109 ac_status=$?
54110 grep -v '^ *+' conftest.er1 >conftest.err
54111 rm -f conftest.er1
54112 cat conftest.err >&5
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); } &&
54115 { ac_try='test -z "$ac_cxx_werror_flag"
54116 || test ! -s conftest.err'
54117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54118 (eval $ac_try) 2>&5
54119 ac_status=$?
54120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54121 (exit $ac_status); }; } &&
54122 { ac_try='test -s conftest.$ac_objext'
54123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54124 (eval $ac_try) 2>&5
54125 ac_status=$?
54126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54127 (exit $ac_status); }; }; then
54128 glibcxx_cv_func_long_double_round_use=yes
54129 else
54130 echo "$as_me: failed program was:" >&5
54131 sed 's/^/| /' conftest.$ac_ext >&5
54133 glibcxx_cv_func_long_double_round_use=no
54135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54136 ac_ext=c
54137 ac_cpp='$CPP $CPPFLAGS'
54138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54145 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54146 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54149 for ac_func in ceill floorl
54151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54152 echo "$as_me:$LINENO: checking for $ac_func" >&5
54153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54154 if eval "test \"\${$as_ac_var+set}\" = set"; then
54155 echo $ECHO_N "(cached) $ECHO_C" >&6
54156 else
54157 if test x$gcc_no_link = xyes; then
54158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54160 { (exit 1); exit 1; }; }
54162 cat >conftest.$ac_ext <<_ACEOF
54163 /* confdefs.h. */
54164 _ACEOF
54165 cat confdefs.h >>conftest.$ac_ext
54166 cat >>conftest.$ac_ext <<_ACEOF
54167 /* end confdefs.h. */
54168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54170 #define $ac_func innocuous_$ac_func
54172 /* System header to define __stub macros and hopefully few prototypes,
54173 which can conflict with char $ac_func (); below.
54174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54175 <limits.h> exists even on freestanding compilers. */
54177 #ifdef __STDC__
54178 # include <limits.h>
54179 #else
54180 # include <assert.h>
54181 #endif
54183 #undef $ac_func
54185 /* Override any gcc2 internal prototype to avoid an error. */
54186 #ifdef __cplusplus
54187 extern "C"
54189 #endif
54190 /* We use char because int might match the return type of a gcc2
54191 builtin and then its argument prototype would still apply. */
54192 char $ac_func ();
54193 /* The GNU C library defines this for functions which it implements
54194 to always fail with ENOSYS. Some functions are actually named
54195 something starting with __ and the normal name is an alias. */
54196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54197 choke me
54198 #else
54199 char (*f) () = $ac_func;
54200 #endif
54201 #ifdef __cplusplus
54203 #endif
54206 main ()
54208 return f != $ac_func;
54210 return 0;
54212 _ACEOF
54213 rm -f conftest.$ac_objext conftest$ac_exeext
54214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54215 (eval $ac_link) 2>conftest.er1
54216 ac_status=$?
54217 grep -v '^ *+' conftest.er1 >conftest.err
54218 rm -f conftest.er1
54219 cat conftest.err >&5
54220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221 (exit $ac_status); } &&
54222 { ac_try='test -z "$ac_c_werror_flag"
54223 || test ! -s conftest.err'
54224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54225 (eval $ac_try) 2>&5
54226 ac_status=$?
54227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54228 (exit $ac_status); }; } &&
54229 { ac_try='test -s conftest$ac_exeext'
54230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54231 (eval $ac_try) 2>&5
54232 ac_status=$?
54233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54234 (exit $ac_status); }; }; then
54235 eval "$as_ac_var=yes"
54236 else
54237 echo "$as_me: failed program was:" >&5
54238 sed 's/^/| /' conftest.$ac_ext >&5
54240 eval "$as_ac_var=no"
54242 rm -f conftest.err conftest.$ac_objext \
54243 conftest$ac_exeext conftest.$ac_ext
54245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54247 if test `eval echo '${'$as_ac_var'}'` = yes; then
54248 cat >>confdefs.h <<_ACEOF
54249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54250 _ACEOF
54253 done
54255 else
54256 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54257 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54258 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54259 echo $ECHO_N "(cached) $ECHO_C" >&6
54260 else
54264 ac_ext=cc
54265 ac_cpp='$CXXCPP $CPPFLAGS'
54266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54270 cat >conftest.$ac_ext <<_ACEOF
54271 /* confdefs.h. */
54272 _ACEOF
54273 cat confdefs.h >>conftest.$ac_ext
54274 cat >>conftest.$ac_ext <<_ACEOF
54275 /* end confdefs.h. */
54276 #include <math.h>
54278 main ()
54280 _ceill (0); _floorl (0);
54282 return 0;
54284 _ACEOF
54285 rm -f conftest.$ac_objext
54286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54287 (eval $ac_compile) 2>conftest.er1
54288 ac_status=$?
54289 grep -v '^ *+' conftest.er1 >conftest.err
54290 rm -f conftest.er1
54291 cat conftest.err >&5
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); } &&
54294 { ac_try='test -z "$ac_cxx_werror_flag"
54295 || test ! -s conftest.err'
54296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54297 (eval $ac_try) 2>&5
54298 ac_status=$?
54299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54300 (exit $ac_status); }; } &&
54301 { ac_try='test -s conftest.$ac_objext'
54302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54303 (eval $ac_try) 2>&5
54304 ac_status=$?
54305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54306 (exit $ac_status); }; }; then
54307 glibcxx_cv_func__long_double_round_use=yes
54308 else
54309 echo "$as_me: failed program was:" >&5
54310 sed 's/^/| /' conftest.$ac_ext >&5
54312 glibcxx_cv_func__long_double_round_use=no
54314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54315 ac_ext=c
54316 ac_cpp='$CPP $CPPFLAGS'
54317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54324 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54325 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54328 for ac_func in _ceill _floorl
54330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54331 echo "$as_me:$LINENO: checking for $ac_func" >&5
54332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54333 if eval "test \"\${$as_ac_var+set}\" = set"; then
54334 echo $ECHO_N "(cached) $ECHO_C" >&6
54335 else
54336 if test x$gcc_no_link = xyes; then
54337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54339 { (exit 1); exit 1; }; }
54341 cat >conftest.$ac_ext <<_ACEOF
54342 /* confdefs.h. */
54343 _ACEOF
54344 cat confdefs.h >>conftest.$ac_ext
54345 cat >>conftest.$ac_ext <<_ACEOF
54346 /* end confdefs.h. */
54347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54349 #define $ac_func innocuous_$ac_func
54351 /* System header to define __stub macros and hopefully few prototypes,
54352 which can conflict with char $ac_func (); below.
54353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54354 <limits.h> exists even on freestanding compilers. */
54356 #ifdef __STDC__
54357 # include <limits.h>
54358 #else
54359 # include <assert.h>
54360 #endif
54362 #undef $ac_func
54364 /* Override any gcc2 internal prototype to avoid an error. */
54365 #ifdef __cplusplus
54366 extern "C"
54368 #endif
54369 /* We use char because int might match the return type of a gcc2
54370 builtin and then its argument prototype would still apply. */
54371 char $ac_func ();
54372 /* The GNU C library defines this for functions which it implements
54373 to always fail with ENOSYS. Some functions are actually named
54374 something starting with __ and the normal name is an alias. */
54375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54376 choke me
54377 #else
54378 char (*f) () = $ac_func;
54379 #endif
54380 #ifdef __cplusplus
54382 #endif
54385 main ()
54387 return f != $ac_func;
54389 return 0;
54391 _ACEOF
54392 rm -f conftest.$ac_objext conftest$ac_exeext
54393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54394 (eval $ac_link) 2>conftest.er1
54395 ac_status=$?
54396 grep -v '^ *+' conftest.er1 >conftest.err
54397 rm -f conftest.er1
54398 cat conftest.err >&5
54399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54400 (exit $ac_status); } &&
54401 { ac_try='test -z "$ac_c_werror_flag"
54402 || test ! -s conftest.err'
54403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54404 (eval $ac_try) 2>&5
54405 ac_status=$?
54406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54407 (exit $ac_status); }; } &&
54408 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
54414 eval "$as_ac_var=yes"
54415 else
54416 echo "$as_me: failed program was:" >&5
54417 sed 's/^/| /' conftest.$ac_ext >&5
54419 eval "$as_ac_var=no"
54421 rm -f conftest.err conftest.$ac_objext \
54422 conftest$ac_exeext conftest.$ac_ext
54424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54426 if test `eval echo '${'$as_ac_var'}'` = yes; then
54427 cat >>confdefs.h <<_ACEOF
54428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54429 _ACEOF
54432 done
54444 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54445 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54446 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54447 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54448 echo $ECHO_N "(cached) $ECHO_C" >&6
54449 else
54453 ac_ext=cc
54454 ac_cpp='$CXXCPP $CPPFLAGS'
54455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54459 cat >conftest.$ac_ext <<_ACEOF
54460 /* confdefs.h. */
54461 _ACEOF
54462 cat confdefs.h >>conftest.$ac_ext
54463 cat >>conftest.$ac_ext <<_ACEOF
54464 /* end confdefs.h. */
54465 #include <math.h>
54466 #ifdef HAVE_IEEEFP_H
54467 #include <ieeefp.h>
54468 #endif
54471 main ()
54473 isnanl(0);
54475 return 0;
54477 _ACEOF
54478 rm -f conftest.$ac_objext
54479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54480 (eval $ac_compile) 2>conftest.er1
54481 ac_status=$?
54482 grep -v '^ *+' conftest.er1 >conftest.err
54483 rm -f conftest.er1
54484 cat conftest.err >&5
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); } &&
54487 { ac_try='test -z "$ac_cxx_werror_flag"
54488 || test ! -s conftest.err'
54489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54490 (eval $ac_try) 2>&5
54491 ac_status=$?
54492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54493 (exit $ac_status); }; } &&
54494 { ac_try='test -s conftest.$ac_objext'
54495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54496 (eval $ac_try) 2>&5
54497 ac_status=$?
54498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54499 (exit $ac_status); }; }; then
54500 glibcxx_cv_func_isnanl_use=yes
54501 else
54502 echo "$as_me: failed program was:" >&5
54503 sed 's/^/| /' conftest.$ac_ext >&5
54505 glibcxx_cv_func_isnanl_use=no
54507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54508 ac_ext=c
54509 ac_cpp='$CPP $CPPFLAGS'
54510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54518 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54519 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54521 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54523 for ac_func in isnanl
54525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54526 echo "$as_me:$LINENO: checking for $ac_func" >&5
54527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54528 if eval "test \"\${$as_ac_var+set}\" = set"; then
54529 echo $ECHO_N "(cached) $ECHO_C" >&6
54530 else
54531 if test x$gcc_no_link = xyes; then
54532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54534 { (exit 1); exit 1; }; }
54536 cat >conftest.$ac_ext <<_ACEOF
54537 /* confdefs.h. */
54538 _ACEOF
54539 cat confdefs.h >>conftest.$ac_ext
54540 cat >>conftest.$ac_ext <<_ACEOF
54541 /* end confdefs.h. */
54542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54544 #define $ac_func innocuous_$ac_func
54546 /* System header to define __stub macros and hopefully few prototypes,
54547 which can conflict with char $ac_func (); below.
54548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54549 <limits.h> exists even on freestanding compilers. */
54551 #ifdef __STDC__
54552 # include <limits.h>
54553 #else
54554 # include <assert.h>
54555 #endif
54557 #undef $ac_func
54559 /* Override any gcc2 internal prototype to avoid an error. */
54560 #ifdef __cplusplus
54561 extern "C"
54563 #endif
54564 /* We use char because int might match the return type of a gcc2
54565 builtin and then its argument prototype would still apply. */
54566 char $ac_func ();
54567 /* The GNU C library defines this for functions which it implements
54568 to always fail with ENOSYS. Some functions are actually named
54569 something starting with __ and the normal name is an alias. */
54570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54571 choke me
54572 #else
54573 char (*f) () = $ac_func;
54574 #endif
54575 #ifdef __cplusplus
54577 #endif
54580 main ()
54582 return f != $ac_func;
54584 return 0;
54586 _ACEOF
54587 rm -f conftest.$ac_objext conftest$ac_exeext
54588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54589 (eval $ac_link) 2>conftest.er1
54590 ac_status=$?
54591 grep -v '^ *+' conftest.er1 >conftest.err
54592 rm -f conftest.er1
54593 cat conftest.err >&5
54594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595 (exit $ac_status); } &&
54596 { ac_try='test -z "$ac_c_werror_flag"
54597 || test ! -s conftest.err'
54598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54599 (eval $ac_try) 2>&5
54600 ac_status=$?
54601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54602 (exit $ac_status); }; } &&
54603 { ac_try='test -s conftest$ac_exeext'
54604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54605 (eval $ac_try) 2>&5
54606 ac_status=$?
54607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54608 (exit $ac_status); }; }; then
54609 eval "$as_ac_var=yes"
54610 else
54611 echo "$as_me: failed program was:" >&5
54612 sed 's/^/| /' conftest.$ac_ext >&5
54614 eval "$as_ac_var=no"
54616 rm -f conftest.err conftest.$ac_objext \
54617 conftest$ac_exeext conftest.$ac_ext
54619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54621 if test `eval echo '${'$as_ac_var'}'` = yes; then
54622 cat >>confdefs.h <<_ACEOF
54623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54624 _ACEOF
54627 done
54629 else
54631 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54632 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54633 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54634 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54635 echo $ECHO_N "(cached) $ECHO_C" >&6
54636 else
54640 ac_ext=cc
54641 ac_cpp='$CXXCPP $CPPFLAGS'
54642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54646 cat >conftest.$ac_ext <<_ACEOF
54647 /* confdefs.h. */
54648 _ACEOF
54649 cat confdefs.h >>conftest.$ac_ext
54650 cat >>conftest.$ac_ext <<_ACEOF
54651 /* end confdefs.h. */
54652 #include <math.h>
54653 #ifdef HAVE_IEEEFP_H
54654 #include <ieeefp.h>
54655 #endif
54658 main ()
54660 _isnanl(0);
54662 return 0;
54664 _ACEOF
54665 rm -f conftest.$ac_objext
54666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54667 (eval $ac_compile) 2>conftest.er1
54668 ac_status=$?
54669 grep -v '^ *+' conftest.er1 >conftest.err
54670 rm -f conftest.er1
54671 cat conftest.err >&5
54672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673 (exit $ac_status); } &&
54674 { ac_try='test -z "$ac_cxx_werror_flag"
54675 || test ! -s conftest.err'
54676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54677 (eval $ac_try) 2>&5
54678 ac_status=$?
54679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54680 (exit $ac_status); }; } &&
54681 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
54687 glibcxx_cv_func__isnanl_use=yes
54688 else
54689 echo "$as_me: failed program was:" >&5
54690 sed 's/^/| /' conftest.$ac_ext >&5
54692 glibcxx_cv_func__isnanl_use=no
54694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54695 ac_ext=c
54696 ac_cpp='$CPP $CPPFLAGS'
54697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54706 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54708 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54710 for ac_func in _isnanl
54712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54713 echo "$as_me:$LINENO: checking for $ac_func" >&5
54714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54715 if eval "test \"\${$as_ac_var+set}\" = set"; then
54716 echo $ECHO_N "(cached) $ECHO_C" >&6
54717 else
54718 if test x$gcc_no_link = xyes; then
54719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54721 { (exit 1); exit 1; }; }
54723 cat >conftest.$ac_ext <<_ACEOF
54724 /* confdefs.h. */
54725 _ACEOF
54726 cat confdefs.h >>conftest.$ac_ext
54727 cat >>conftest.$ac_ext <<_ACEOF
54728 /* end confdefs.h. */
54729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54731 #define $ac_func innocuous_$ac_func
54733 /* System header to define __stub macros and hopefully few prototypes,
54734 which can conflict with char $ac_func (); below.
54735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54736 <limits.h> exists even on freestanding compilers. */
54738 #ifdef __STDC__
54739 # include <limits.h>
54740 #else
54741 # include <assert.h>
54742 #endif
54744 #undef $ac_func
54746 /* Override any gcc2 internal prototype to avoid an error. */
54747 #ifdef __cplusplus
54748 extern "C"
54750 #endif
54751 /* We use char because int might match the return type of a gcc2
54752 builtin and then its argument prototype would still apply. */
54753 char $ac_func ();
54754 /* The GNU C library defines this for functions which it implements
54755 to always fail with ENOSYS. Some functions are actually named
54756 something starting with __ and the normal name is an alias. */
54757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54758 choke me
54759 #else
54760 char (*f) () = $ac_func;
54761 #endif
54762 #ifdef __cplusplus
54764 #endif
54767 main ()
54769 return f != $ac_func;
54771 return 0;
54773 _ACEOF
54774 rm -f conftest.$ac_objext conftest$ac_exeext
54775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54776 (eval $ac_link) 2>conftest.er1
54777 ac_status=$?
54778 grep -v '^ *+' conftest.er1 >conftest.err
54779 rm -f conftest.er1
54780 cat conftest.err >&5
54781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54782 (exit $ac_status); } &&
54783 { ac_try='test -z "$ac_c_werror_flag"
54784 || test ! -s conftest.err'
54785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54786 (eval $ac_try) 2>&5
54787 ac_status=$?
54788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54789 (exit $ac_status); }; } &&
54790 { ac_try='test -s conftest$ac_exeext'
54791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54792 (eval $ac_try) 2>&5
54793 ac_status=$?
54794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54795 (exit $ac_status); }; }; then
54796 eval "$as_ac_var=yes"
54797 else
54798 echo "$as_me: failed program was:" >&5
54799 sed 's/^/| /' conftest.$ac_ext >&5
54801 eval "$as_ac_var=no"
54803 rm -f conftest.err conftest.$ac_objext \
54804 conftest$ac_exeext conftest.$ac_ext
54806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54808 if test `eval echo '${'$as_ac_var'}'` = yes; then
54809 cat >>confdefs.h <<_ACEOF
54810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54811 _ACEOF
54814 done
54824 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54825 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54826 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54827 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54828 echo $ECHO_N "(cached) $ECHO_C" >&6
54829 else
54833 ac_ext=cc
54834 ac_cpp='$CXXCPP $CPPFLAGS'
54835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54839 cat >conftest.$ac_ext <<_ACEOF
54840 /* confdefs.h. */
54841 _ACEOF
54842 cat confdefs.h >>conftest.$ac_ext
54843 cat >>conftest.$ac_ext <<_ACEOF
54844 /* end confdefs.h. */
54845 #include <math.h>
54846 #ifdef HAVE_IEEEFP_H
54847 #include <ieeefp.h>
54848 #endif
54851 main ()
54853 isinfl(0);
54855 return 0;
54857 _ACEOF
54858 rm -f conftest.$ac_objext
54859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54860 (eval $ac_compile) 2>conftest.er1
54861 ac_status=$?
54862 grep -v '^ *+' conftest.er1 >conftest.err
54863 rm -f conftest.er1
54864 cat conftest.err >&5
54865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866 (exit $ac_status); } &&
54867 { ac_try='test -z "$ac_cxx_werror_flag"
54868 || test ! -s conftest.err'
54869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54870 (eval $ac_try) 2>&5
54871 ac_status=$?
54872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54873 (exit $ac_status); }; } &&
54874 { ac_try='test -s conftest.$ac_objext'
54875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54876 (eval $ac_try) 2>&5
54877 ac_status=$?
54878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54879 (exit $ac_status); }; }; then
54880 glibcxx_cv_func_isinfl_use=yes
54881 else
54882 echo "$as_me: failed program was:" >&5
54883 sed 's/^/| /' conftest.$ac_ext >&5
54885 glibcxx_cv_func_isinfl_use=no
54887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54888 ac_ext=c
54889 ac_cpp='$CPP $CPPFLAGS'
54890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54899 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54901 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54903 for ac_func in isinfl
54905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54906 echo "$as_me:$LINENO: checking for $ac_func" >&5
54907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54908 if eval "test \"\${$as_ac_var+set}\" = set"; then
54909 echo $ECHO_N "(cached) $ECHO_C" >&6
54910 else
54911 if test x$gcc_no_link = xyes; then
54912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54914 { (exit 1); exit 1; }; }
54916 cat >conftest.$ac_ext <<_ACEOF
54917 /* confdefs.h. */
54918 _ACEOF
54919 cat confdefs.h >>conftest.$ac_ext
54920 cat >>conftest.$ac_ext <<_ACEOF
54921 /* end confdefs.h. */
54922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54924 #define $ac_func innocuous_$ac_func
54926 /* System header to define __stub macros and hopefully few prototypes,
54927 which can conflict with char $ac_func (); below.
54928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54929 <limits.h> exists even on freestanding compilers. */
54931 #ifdef __STDC__
54932 # include <limits.h>
54933 #else
54934 # include <assert.h>
54935 #endif
54937 #undef $ac_func
54939 /* Override any gcc2 internal prototype to avoid an error. */
54940 #ifdef __cplusplus
54941 extern "C"
54943 #endif
54944 /* We use char because int might match the return type of a gcc2
54945 builtin and then its argument prototype would still apply. */
54946 char $ac_func ();
54947 /* The GNU C library defines this for functions which it implements
54948 to always fail with ENOSYS. Some functions are actually named
54949 something starting with __ and the normal name is an alias. */
54950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54951 choke me
54952 #else
54953 char (*f) () = $ac_func;
54954 #endif
54955 #ifdef __cplusplus
54957 #endif
54960 main ()
54962 return f != $ac_func;
54964 return 0;
54966 _ACEOF
54967 rm -f conftest.$ac_objext conftest$ac_exeext
54968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54969 (eval $ac_link) 2>conftest.er1
54970 ac_status=$?
54971 grep -v '^ *+' conftest.er1 >conftest.err
54972 rm -f conftest.er1
54973 cat conftest.err >&5
54974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975 (exit $ac_status); } &&
54976 { ac_try='test -z "$ac_c_werror_flag"
54977 || test ! -s conftest.err'
54978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54979 (eval $ac_try) 2>&5
54980 ac_status=$?
54981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54982 (exit $ac_status); }; } &&
54983 { ac_try='test -s conftest$ac_exeext'
54984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54985 (eval $ac_try) 2>&5
54986 ac_status=$?
54987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54988 (exit $ac_status); }; }; then
54989 eval "$as_ac_var=yes"
54990 else
54991 echo "$as_me: failed program was:" >&5
54992 sed 's/^/| /' conftest.$ac_ext >&5
54994 eval "$as_ac_var=no"
54996 rm -f conftest.err conftest.$ac_objext \
54997 conftest$ac_exeext conftest.$ac_ext
54999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55001 if test `eval echo '${'$as_ac_var'}'` = yes; then
55002 cat >>confdefs.h <<_ACEOF
55003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55004 _ACEOF
55007 done
55009 else
55011 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55012 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55013 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55014 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55015 echo $ECHO_N "(cached) $ECHO_C" >&6
55016 else
55020 ac_ext=cc
55021 ac_cpp='$CXXCPP $CPPFLAGS'
55022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55026 cat >conftest.$ac_ext <<_ACEOF
55027 /* confdefs.h. */
55028 _ACEOF
55029 cat confdefs.h >>conftest.$ac_ext
55030 cat >>conftest.$ac_ext <<_ACEOF
55031 /* end confdefs.h. */
55032 #include <math.h>
55033 #ifdef HAVE_IEEEFP_H
55034 #include <ieeefp.h>
55035 #endif
55038 main ()
55040 _isinfl(0);
55042 return 0;
55044 _ACEOF
55045 rm -f conftest.$ac_objext
55046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55047 (eval $ac_compile) 2>conftest.er1
55048 ac_status=$?
55049 grep -v '^ *+' conftest.er1 >conftest.err
55050 rm -f conftest.er1
55051 cat conftest.err >&5
55052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55053 (exit $ac_status); } &&
55054 { ac_try='test -z "$ac_cxx_werror_flag"
55055 || test ! -s conftest.err'
55056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55057 (eval $ac_try) 2>&5
55058 ac_status=$?
55059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55060 (exit $ac_status); }; } &&
55061 { ac_try='test -s conftest.$ac_objext'
55062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55063 (eval $ac_try) 2>&5
55064 ac_status=$?
55065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55066 (exit $ac_status); }; }; then
55067 glibcxx_cv_func__isinfl_use=yes
55068 else
55069 echo "$as_me: failed program was:" >&5
55070 sed 's/^/| /' conftest.$ac_ext >&5
55072 glibcxx_cv_func__isinfl_use=no
55074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55075 ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55085 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55086 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55088 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55090 for ac_func in _isinfl
55092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55093 echo "$as_me:$LINENO: checking for $ac_func" >&5
55094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55095 if eval "test \"\${$as_ac_var+set}\" = set"; then
55096 echo $ECHO_N "(cached) $ECHO_C" >&6
55097 else
55098 if test x$gcc_no_link = xyes; then
55099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55101 { (exit 1); exit 1; }; }
55103 cat >conftest.$ac_ext <<_ACEOF
55104 /* confdefs.h. */
55105 _ACEOF
55106 cat confdefs.h >>conftest.$ac_ext
55107 cat >>conftest.$ac_ext <<_ACEOF
55108 /* end confdefs.h. */
55109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55111 #define $ac_func innocuous_$ac_func
55113 /* System header to define __stub macros and hopefully few prototypes,
55114 which can conflict with char $ac_func (); below.
55115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55116 <limits.h> exists even on freestanding compilers. */
55118 #ifdef __STDC__
55119 # include <limits.h>
55120 #else
55121 # include <assert.h>
55122 #endif
55124 #undef $ac_func
55126 /* Override any gcc2 internal prototype to avoid an error. */
55127 #ifdef __cplusplus
55128 extern "C"
55130 #endif
55131 /* We use char because int might match the return type of a gcc2
55132 builtin and then its argument prototype would still apply. */
55133 char $ac_func ();
55134 /* The GNU C library defines this for functions which it implements
55135 to always fail with ENOSYS. Some functions are actually named
55136 something starting with __ and the normal name is an alias. */
55137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55138 choke me
55139 #else
55140 char (*f) () = $ac_func;
55141 #endif
55142 #ifdef __cplusplus
55144 #endif
55147 main ()
55149 return f != $ac_func;
55151 return 0;
55153 _ACEOF
55154 rm -f conftest.$ac_objext conftest$ac_exeext
55155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55156 (eval $ac_link) 2>conftest.er1
55157 ac_status=$?
55158 grep -v '^ *+' conftest.er1 >conftest.err
55159 rm -f conftest.er1
55160 cat conftest.err >&5
55161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55162 (exit $ac_status); } &&
55163 { ac_try='test -z "$ac_c_werror_flag"
55164 || test ! -s conftest.err'
55165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55166 (eval $ac_try) 2>&5
55167 ac_status=$?
55168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55169 (exit $ac_status); }; } &&
55170 { ac_try='test -s conftest$ac_exeext'
55171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55172 (eval $ac_try) 2>&5
55173 ac_status=$?
55174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55175 (exit $ac_status); }; }; then
55176 eval "$as_ac_var=yes"
55177 else
55178 echo "$as_me: failed program was:" >&5
55179 sed 's/^/| /' conftest.$ac_ext >&5
55181 eval "$as_ac_var=no"
55183 rm -f conftest.err conftest.$ac_objext \
55184 conftest$ac_exeext conftest.$ac_ext
55186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55188 if test `eval echo '${'$as_ac_var'}'` = yes; then
55189 cat >>confdefs.h <<_ACEOF
55190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55191 _ACEOF
55194 done
55204 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55205 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55206 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55207 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55208 echo $ECHO_N "(cached) $ECHO_C" >&6
55209 else
55213 ac_ext=cc
55214 ac_cpp='$CXXCPP $CPPFLAGS'
55215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55219 cat >conftest.$ac_ext <<_ACEOF
55220 /* confdefs.h. */
55221 _ACEOF
55222 cat confdefs.h >>conftest.$ac_ext
55223 cat >>conftest.$ac_ext <<_ACEOF
55224 /* end confdefs.h. */
55225 #include <math.h>
55227 main ()
55229 copysignl(0, 0);
55231 return 0;
55233 _ACEOF
55234 rm -f conftest.$ac_objext
55235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55236 (eval $ac_compile) 2>conftest.er1
55237 ac_status=$?
55238 grep -v '^ *+' conftest.er1 >conftest.err
55239 rm -f conftest.er1
55240 cat conftest.err >&5
55241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55242 (exit $ac_status); } &&
55243 { ac_try='test -z "$ac_cxx_werror_flag"
55244 || test ! -s conftest.err'
55245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55246 (eval $ac_try) 2>&5
55247 ac_status=$?
55248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55249 (exit $ac_status); }; } &&
55250 { ac_try='test -s conftest.$ac_objext'
55251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55252 (eval $ac_try) 2>&5
55253 ac_status=$?
55254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55255 (exit $ac_status); }; }; then
55256 glibcxx_cv_func_copysignl_use=yes
55257 else
55258 echo "$as_me: failed program was:" >&5
55259 sed 's/^/| /' conftest.$ac_ext >&5
55261 glibcxx_cv_func_copysignl_use=no
55263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55264 ac_ext=c
55265 ac_cpp='$CPP $CPPFLAGS'
55266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55275 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55277 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55279 for ac_func in copysignl
55281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55282 echo "$as_me:$LINENO: checking for $ac_func" >&5
55283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55284 if eval "test \"\${$as_ac_var+set}\" = set"; then
55285 echo $ECHO_N "(cached) $ECHO_C" >&6
55286 else
55287 if test x$gcc_no_link = xyes; then
55288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55290 { (exit 1); exit 1; }; }
55292 cat >conftest.$ac_ext <<_ACEOF
55293 /* confdefs.h. */
55294 _ACEOF
55295 cat confdefs.h >>conftest.$ac_ext
55296 cat >>conftest.$ac_ext <<_ACEOF
55297 /* end confdefs.h. */
55298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55300 #define $ac_func innocuous_$ac_func
55302 /* System header to define __stub macros and hopefully few prototypes,
55303 which can conflict with char $ac_func (); below.
55304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55305 <limits.h> exists even on freestanding compilers. */
55307 #ifdef __STDC__
55308 # include <limits.h>
55309 #else
55310 # include <assert.h>
55311 #endif
55313 #undef $ac_func
55315 /* Override any gcc2 internal prototype to avoid an error. */
55316 #ifdef __cplusplus
55317 extern "C"
55319 #endif
55320 /* We use char because int might match the return type of a gcc2
55321 builtin and then its argument prototype would still apply. */
55322 char $ac_func ();
55323 /* The GNU C library defines this for functions which it implements
55324 to always fail with ENOSYS. Some functions are actually named
55325 something starting with __ and the normal name is an alias. */
55326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55327 choke me
55328 #else
55329 char (*f) () = $ac_func;
55330 #endif
55331 #ifdef __cplusplus
55333 #endif
55336 main ()
55338 return f != $ac_func;
55340 return 0;
55342 _ACEOF
55343 rm -f conftest.$ac_objext conftest$ac_exeext
55344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55345 (eval $ac_link) 2>conftest.er1
55346 ac_status=$?
55347 grep -v '^ *+' conftest.er1 >conftest.err
55348 rm -f conftest.er1
55349 cat conftest.err >&5
55350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351 (exit $ac_status); } &&
55352 { ac_try='test -z "$ac_c_werror_flag"
55353 || test ! -s conftest.err'
55354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55355 (eval $ac_try) 2>&5
55356 ac_status=$?
55357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55358 (exit $ac_status); }; } &&
55359 { ac_try='test -s conftest$ac_exeext'
55360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55361 (eval $ac_try) 2>&5
55362 ac_status=$?
55363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55364 (exit $ac_status); }; }; then
55365 eval "$as_ac_var=yes"
55366 else
55367 echo "$as_me: failed program was:" >&5
55368 sed 's/^/| /' conftest.$ac_ext >&5
55370 eval "$as_ac_var=no"
55372 rm -f conftest.err conftest.$ac_objext \
55373 conftest$ac_exeext conftest.$ac_ext
55375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55377 if test `eval echo '${'$as_ac_var'}'` = yes; then
55378 cat >>confdefs.h <<_ACEOF
55379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55380 _ACEOF
55383 done
55385 else
55387 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55388 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55389 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55390 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55391 echo $ECHO_N "(cached) $ECHO_C" >&6
55392 else
55396 ac_ext=cc
55397 ac_cpp='$CXXCPP $CPPFLAGS'
55398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55402 cat >conftest.$ac_ext <<_ACEOF
55403 /* confdefs.h. */
55404 _ACEOF
55405 cat confdefs.h >>conftest.$ac_ext
55406 cat >>conftest.$ac_ext <<_ACEOF
55407 /* end confdefs.h. */
55408 #include <math.h>
55410 main ()
55412 _copysignl(0, 0);
55414 return 0;
55416 _ACEOF
55417 rm -f conftest.$ac_objext
55418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55419 (eval $ac_compile) 2>conftest.er1
55420 ac_status=$?
55421 grep -v '^ *+' conftest.er1 >conftest.err
55422 rm -f conftest.er1
55423 cat conftest.err >&5
55424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55425 (exit $ac_status); } &&
55426 { ac_try='test -z "$ac_cxx_werror_flag"
55427 || test ! -s conftest.err'
55428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55429 (eval $ac_try) 2>&5
55430 ac_status=$?
55431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55432 (exit $ac_status); }; } &&
55433 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
55439 glibcxx_cv_func__copysignl_use=yes
55440 else
55441 echo "$as_me: failed program was:" >&5
55442 sed 's/^/| /' conftest.$ac_ext >&5
55444 glibcxx_cv_func__copysignl_use=no
55446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55447 ac_ext=c
55448 ac_cpp='$CPP $CPPFLAGS'
55449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55458 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55460 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55462 for ac_func in _copysignl
55464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55465 echo "$as_me:$LINENO: checking for $ac_func" >&5
55466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55467 if eval "test \"\${$as_ac_var+set}\" = set"; then
55468 echo $ECHO_N "(cached) $ECHO_C" >&6
55469 else
55470 if test x$gcc_no_link = xyes; then
55471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55473 { (exit 1); exit 1; }; }
55475 cat >conftest.$ac_ext <<_ACEOF
55476 /* confdefs.h. */
55477 _ACEOF
55478 cat confdefs.h >>conftest.$ac_ext
55479 cat >>conftest.$ac_ext <<_ACEOF
55480 /* end confdefs.h. */
55481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55483 #define $ac_func innocuous_$ac_func
55485 /* System header to define __stub macros and hopefully few prototypes,
55486 which can conflict with char $ac_func (); below.
55487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55488 <limits.h> exists even on freestanding compilers. */
55490 #ifdef __STDC__
55491 # include <limits.h>
55492 #else
55493 # include <assert.h>
55494 #endif
55496 #undef $ac_func
55498 /* Override any gcc2 internal prototype to avoid an error. */
55499 #ifdef __cplusplus
55500 extern "C"
55502 #endif
55503 /* We use char because int might match the return type of a gcc2
55504 builtin and then its argument prototype would still apply. */
55505 char $ac_func ();
55506 /* The GNU C library defines this for functions which it implements
55507 to always fail with ENOSYS. Some functions are actually named
55508 something starting with __ and the normal name is an alias. */
55509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55510 choke me
55511 #else
55512 char (*f) () = $ac_func;
55513 #endif
55514 #ifdef __cplusplus
55516 #endif
55519 main ()
55521 return f != $ac_func;
55523 return 0;
55525 _ACEOF
55526 rm -f conftest.$ac_objext conftest$ac_exeext
55527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55528 (eval $ac_link) 2>conftest.er1
55529 ac_status=$?
55530 grep -v '^ *+' conftest.er1 >conftest.err
55531 rm -f conftest.er1
55532 cat conftest.err >&5
55533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55534 (exit $ac_status); } &&
55535 { ac_try='test -z "$ac_c_werror_flag"
55536 || test ! -s conftest.err'
55537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55538 (eval $ac_try) 2>&5
55539 ac_status=$?
55540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55541 (exit $ac_status); }; } &&
55542 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
55548 eval "$as_ac_var=yes"
55549 else
55550 echo "$as_me: failed program was:" >&5
55551 sed 's/^/| /' conftest.$ac_ext >&5
55553 eval "$as_ac_var=no"
55555 rm -f conftest.err conftest.$ac_objext \
55556 conftest$ac_exeext conftest.$ac_ext
55558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55560 if test `eval echo '${'$as_ac_var'}'` = yes; then
55561 cat >>confdefs.h <<_ACEOF
55562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55563 _ACEOF
55566 done
55576 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55577 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55578 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55579 if test "${glibcxx_cv_func_atan2l_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>
55599 main ()
55601 atan2l(0, 0);
55603 return 0;
55605 _ACEOF
55606 rm -f conftest.$ac_objext
55607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55608 (eval $ac_compile) 2>conftest.er1
55609 ac_status=$?
55610 grep -v '^ *+' conftest.er1 >conftest.err
55611 rm -f conftest.er1
55612 cat conftest.err >&5
55613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55614 (exit $ac_status); } &&
55615 { ac_try='test -z "$ac_cxx_werror_flag"
55616 || test ! -s conftest.err'
55617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55618 (eval $ac_try) 2>&5
55619 ac_status=$?
55620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55621 (exit $ac_status); }; } &&
55622 { ac_try='test -s conftest.$ac_objext'
55623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55624 (eval $ac_try) 2>&5
55625 ac_status=$?
55626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55627 (exit $ac_status); }; }; then
55628 glibcxx_cv_func_atan2l_use=yes
55629 else
55630 echo "$as_me: failed program was:" >&5
55631 sed 's/^/| /' conftest.$ac_ext >&5
55633 glibcxx_cv_func_atan2l_use=no
55635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55636 ac_ext=c
55637 ac_cpp='$CPP $CPPFLAGS'
55638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55647 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55649 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55651 for ac_func in atan2l
55653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55654 echo "$as_me:$LINENO: checking for $ac_func" >&5
55655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55656 if eval "test \"\${$as_ac_var+set}\" = set"; then
55657 echo $ECHO_N "(cached) $ECHO_C" >&6
55658 else
55659 if test x$gcc_no_link = xyes; then
55660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55662 { (exit 1); exit 1; }; }
55664 cat >conftest.$ac_ext <<_ACEOF
55665 /* confdefs.h. */
55666 _ACEOF
55667 cat confdefs.h >>conftest.$ac_ext
55668 cat >>conftest.$ac_ext <<_ACEOF
55669 /* end confdefs.h. */
55670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55672 #define $ac_func innocuous_$ac_func
55674 /* System header to define __stub macros and hopefully few prototypes,
55675 which can conflict with char $ac_func (); below.
55676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55677 <limits.h> exists even on freestanding compilers. */
55679 #ifdef __STDC__
55680 # include <limits.h>
55681 #else
55682 # include <assert.h>
55683 #endif
55685 #undef $ac_func
55687 /* Override any gcc2 internal prototype to avoid an error. */
55688 #ifdef __cplusplus
55689 extern "C"
55691 #endif
55692 /* We use char because int might match the return type of a gcc2
55693 builtin and then its argument prototype would still apply. */
55694 char $ac_func ();
55695 /* The GNU C library defines this for functions which it implements
55696 to always fail with ENOSYS. Some functions are actually named
55697 something starting with __ and the normal name is an alias. */
55698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55699 choke me
55700 #else
55701 char (*f) () = $ac_func;
55702 #endif
55703 #ifdef __cplusplus
55705 #endif
55708 main ()
55710 return f != $ac_func;
55712 return 0;
55714 _ACEOF
55715 rm -f conftest.$ac_objext conftest$ac_exeext
55716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55717 (eval $ac_link) 2>conftest.er1
55718 ac_status=$?
55719 grep -v '^ *+' conftest.er1 >conftest.err
55720 rm -f conftest.er1
55721 cat conftest.err >&5
55722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55723 (exit $ac_status); } &&
55724 { ac_try='test -z "$ac_c_werror_flag"
55725 || test ! -s conftest.err'
55726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55727 (eval $ac_try) 2>&5
55728 ac_status=$?
55729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55730 (exit $ac_status); }; } &&
55731 { ac_try='test -s conftest$ac_exeext'
55732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55733 (eval $ac_try) 2>&5
55734 ac_status=$?
55735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55736 (exit $ac_status); }; }; then
55737 eval "$as_ac_var=yes"
55738 else
55739 echo "$as_me: failed program was:" >&5
55740 sed 's/^/| /' conftest.$ac_ext >&5
55742 eval "$as_ac_var=no"
55744 rm -f conftest.err conftest.$ac_objext \
55745 conftest$ac_exeext conftest.$ac_ext
55747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55749 if test `eval echo '${'$as_ac_var'}'` = yes; then
55750 cat >>confdefs.h <<_ACEOF
55751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55752 _ACEOF
55755 done
55757 else
55759 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55760 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55761 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55762 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55763 echo $ECHO_N "(cached) $ECHO_C" >&6
55764 else
55768 ac_ext=cc
55769 ac_cpp='$CXXCPP $CPPFLAGS'
55770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55774 cat >conftest.$ac_ext <<_ACEOF
55775 /* confdefs.h. */
55776 _ACEOF
55777 cat confdefs.h >>conftest.$ac_ext
55778 cat >>conftest.$ac_ext <<_ACEOF
55779 /* end confdefs.h. */
55780 #include <math.h>
55782 main ()
55784 _atan2l(0, 0);
55786 return 0;
55788 _ACEOF
55789 rm -f conftest.$ac_objext
55790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55791 (eval $ac_compile) 2>conftest.er1
55792 ac_status=$?
55793 grep -v '^ *+' conftest.er1 >conftest.err
55794 rm -f conftest.er1
55795 cat conftest.err >&5
55796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55797 (exit $ac_status); } &&
55798 { ac_try='test -z "$ac_cxx_werror_flag"
55799 || test ! -s conftest.err'
55800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55801 (eval $ac_try) 2>&5
55802 ac_status=$?
55803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55804 (exit $ac_status); }; } &&
55805 { ac_try='test -s conftest.$ac_objext'
55806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55807 (eval $ac_try) 2>&5
55808 ac_status=$?
55809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55810 (exit $ac_status); }; }; then
55811 glibcxx_cv_func__atan2l_use=yes
55812 else
55813 echo "$as_me: failed program was:" >&5
55814 sed 's/^/| /' conftest.$ac_ext >&5
55816 glibcxx_cv_func__atan2l_use=no
55818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55819 ac_ext=c
55820 ac_cpp='$CPP $CPPFLAGS'
55821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55830 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55832 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55834 for ac_func in _atan2l
55836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55837 echo "$as_me:$LINENO: checking for $ac_func" >&5
55838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55839 if eval "test \"\${$as_ac_var+set}\" = set"; then
55840 echo $ECHO_N "(cached) $ECHO_C" >&6
55841 else
55842 if test x$gcc_no_link = xyes; then
55843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55845 { (exit 1); exit 1; }; }
55847 cat >conftest.$ac_ext <<_ACEOF
55848 /* confdefs.h. */
55849 _ACEOF
55850 cat confdefs.h >>conftest.$ac_ext
55851 cat >>conftest.$ac_ext <<_ACEOF
55852 /* end confdefs.h. */
55853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55855 #define $ac_func innocuous_$ac_func
55857 /* System header to define __stub macros and hopefully few prototypes,
55858 which can conflict with char $ac_func (); below.
55859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55860 <limits.h> exists even on freestanding compilers. */
55862 #ifdef __STDC__
55863 # include <limits.h>
55864 #else
55865 # include <assert.h>
55866 #endif
55868 #undef $ac_func
55870 /* Override any gcc2 internal prototype to avoid an error. */
55871 #ifdef __cplusplus
55872 extern "C"
55874 #endif
55875 /* We use char because int might match the return type of a gcc2
55876 builtin and then its argument prototype would still apply. */
55877 char $ac_func ();
55878 /* The GNU C library defines this for functions which it implements
55879 to always fail with ENOSYS. Some functions are actually named
55880 something starting with __ and the normal name is an alias. */
55881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55882 choke me
55883 #else
55884 char (*f) () = $ac_func;
55885 #endif
55886 #ifdef __cplusplus
55888 #endif
55891 main ()
55893 return f != $ac_func;
55895 return 0;
55897 _ACEOF
55898 rm -f conftest.$ac_objext conftest$ac_exeext
55899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55900 (eval $ac_link) 2>conftest.er1
55901 ac_status=$?
55902 grep -v '^ *+' conftest.er1 >conftest.err
55903 rm -f conftest.er1
55904 cat conftest.err >&5
55905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55906 (exit $ac_status); } &&
55907 { ac_try='test -z "$ac_c_werror_flag"
55908 || test ! -s conftest.err'
55909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55910 (eval $ac_try) 2>&5
55911 ac_status=$?
55912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55913 (exit $ac_status); }; } &&
55914 { ac_try='test -s conftest$ac_exeext'
55915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55916 (eval $ac_try) 2>&5
55917 ac_status=$?
55918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55919 (exit $ac_status); }; }; then
55920 eval "$as_ac_var=yes"
55921 else
55922 echo "$as_me: failed program was:" >&5
55923 sed 's/^/| /' conftest.$ac_ext >&5
55925 eval "$as_ac_var=no"
55927 rm -f conftest.err conftest.$ac_objext \
55928 conftest$ac_exeext conftest.$ac_ext
55930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55932 if test `eval echo '${'$as_ac_var'}'` = yes; then
55933 cat >>confdefs.h <<_ACEOF
55934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55935 _ACEOF
55938 done
55948 echo "$as_me:$LINENO: checking for expl declaration" >&5
55949 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55950 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55951 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55952 echo $ECHO_N "(cached) $ECHO_C" >&6
55953 else
55957 ac_ext=cc
55958 ac_cpp='$CXXCPP $CPPFLAGS'
55959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55963 cat >conftest.$ac_ext <<_ACEOF
55964 /* confdefs.h. */
55965 _ACEOF
55966 cat confdefs.h >>conftest.$ac_ext
55967 cat >>conftest.$ac_ext <<_ACEOF
55968 /* end confdefs.h. */
55969 #include <math.h>
55970 #ifdef HAVE_IEEEFP_H
55971 #include <ieeefp.h>
55972 #endif
55975 main ()
55977 expl(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_expl_use=yes
56005 else
56006 echo "$as_me: failed program was:" >&5
56007 sed 's/^/| /' conftest.$ac_ext >&5
56009 glibcxx_cv_func_expl_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_expl_use" >&5
56023 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56025 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56027 for ac_func in expl
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
56133 else
56135 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56136 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56137 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56138 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56139 echo $ECHO_N "(cached) $ECHO_C" >&6
56140 else
56144 ac_ext=cc
56145 ac_cpp='$CXXCPP $CPPFLAGS'
56146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150 cat >conftest.$ac_ext <<_ACEOF
56151 /* confdefs.h. */
56152 _ACEOF
56153 cat confdefs.h >>conftest.$ac_ext
56154 cat >>conftest.$ac_ext <<_ACEOF
56155 /* end confdefs.h. */
56156 #include <math.h>
56157 #ifdef HAVE_IEEEFP_H
56158 #include <ieeefp.h>
56159 #endif
56162 main ()
56164 _expl(0);
56166 return 0;
56168 _ACEOF
56169 rm -f conftest.$ac_objext
56170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56171 (eval $ac_compile) 2>conftest.er1
56172 ac_status=$?
56173 grep -v '^ *+' conftest.er1 >conftest.err
56174 rm -f conftest.er1
56175 cat conftest.err >&5
56176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56177 (exit $ac_status); } &&
56178 { ac_try='test -z "$ac_cxx_werror_flag"
56179 || test ! -s conftest.err'
56180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56181 (eval $ac_try) 2>&5
56182 ac_status=$?
56183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56184 (exit $ac_status); }; } &&
56185 { ac_try='test -s conftest.$ac_objext'
56186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56187 (eval $ac_try) 2>&5
56188 ac_status=$?
56189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56190 (exit $ac_status); }; }; then
56191 glibcxx_cv_func__expl_use=yes
56192 else
56193 echo "$as_me: failed program was:" >&5
56194 sed 's/^/| /' conftest.$ac_ext >&5
56196 glibcxx_cv_func__expl_use=no
56198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56199 ac_ext=c
56200 ac_cpp='$CPP $CPPFLAGS'
56201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56210 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56212 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56214 for ac_func in _expl
56216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56217 echo "$as_me:$LINENO: checking for $ac_func" >&5
56218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56219 if eval "test \"\${$as_ac_var+set}\" = set"; then
56220 echo $ECHO_N "(cached) $ECHO_C" >&6
56221 else
56222 if test x$gcc_no_link = xyes; then
56223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56225 { (exit 1); exit 1; }; }
56227 cat >conftest.$ac_ext <<_ACEOF
56228 /* confdefs.h. */
56229 _ACEOF
56230 cat confdefs.h >>conftest.$ac_ext
56231 cat >>conftest.$ac_ext <<_ACEOF
56232 /* end confdefs.h. */
56233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56235 #define $ac_func innocuous_$ac_func
56237 /* System header to define __stub macros and hopefully few prototypes,
56238 which can conflict with char $ac_func (); below.
56239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56240 <limits.h> exists even on freestanding compilers. */
56242 #ifdef __STDC__
56243 # include <limits.h>
56244 #else
56245 # include <assert.h>
56246 #endif
56248 #undef $ac_func
56250 /* Override any gcc2 internal prototype to avoid an error. */
56251 #ifdef __cplusplus
56252 extern "C"
56254 #endif
56255 /* We use char because int might match the return type of a gcc2
56256 builtin and then its argument prototype would still apply. */
56257 char $ac_func ();
56258 /* The GNU C library defines this for functions which it implements
56259 to always fail with ENOSYS. Some functions are actually named
56260 something starting with __ and the normal name is an alias. */
56261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56262 choke me
56263 #else
56264 char (*f) () = $ac_func;
56265 #endif
56266 #ifdef __cplusplus
56268 #endif
56271 main ()
56273 return f != $ac_func;
56275 return 0;
56277 _ACEOF
56278 rm -f conftest.$ac_objext conftest$ac_exeext
56279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56280 (eval $ac_link) 2>conftest.er1
56281 ac_status=$?
56282 grep -v '^ *+' conftest.er1 >conftest.err
56283 rm -f conftest.er1
56284 cat conftest.err >&5
56285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56286 (exit $ac_status); } &&
56287 { ac_try='test -z "$ac_c_werror_flag"
56288 || test ! -s conftest.err'
56289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56290 (eval $ac_try) 2>&5
56291 ac_status=$?
56292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56293 (exit $ac_status); }; } &&
56294 { ac_try='test -s conftest$ac_exeext'
56295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56296 (eval $ac_try) 2>&5
56297 ac_status=$?
56298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56299 (exit $ac_status); }; }; then
56300 eval "$as_ac_var=yes"
56301 else
56302 echo "$as_me: failed program was:" >&5
56303 sed 's/^/| /' conftest.$ac_ext >&5
56305 eval "$as_ac_var=no"
56307 rm -f conftest.err conftest.$ac_objext \
56308 conftest$ac_exeext conftest.$ac_ext
56310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56312 if test `eval echo '${'$as_ac_var'}'` = yes; then
56313 cat >>confdefs.h <<_ACEOF
56314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56315 _ACEOF
56318 done
56328 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56329 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56330 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56331 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56332 echo $ECHO_N "(cached) $ECHO_C" >&6
56333 else
56337 ac_ext=cc
56338 ac_cpp='$CXXCPP $CPPFLAGS'
56339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56343 cat >conftest.$ac_ext <<_ACEOF
56344 /* confdefs.h. */
56345 _ACEOF
56346 cat confdefs.h >>conftest.$ac_ext
56347 cat >>conftest.$ac_ext <<_ACEOF
56348 /* end confdefs.h. */
56349 #include <math.h>
56350 #ifdef HAVE_IEEEFP_H
56351 #include <ieeefp.h>
56352 #endif
56355 main ()
56357 fabsl(0);
56359 return 0;
56361 _ACEOF
56362 rm -f conftest.$ac_objext
56363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56364 (eval $ac_compile) 2>conftest.er1
56365 ac_status=$?
56366 grep -v '^ *+' conftest.er1 >conftest.err
56367 rm -f conftest.er1
56368 cat conftest.err >&5
56369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56370 (exit $ac_status); } &&
56371 { ac_try='test -z "$ac_cxx_werror_flag"
56372 || test ! -s conftest.err'
56373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56374 (eval $ac_try) 2>&5
56375 ac_status=$?
56376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56377 (exit $ac_status); }; } &&
56378 { ac_try='test -s conftest.$ac_objext'
56379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56380 (eval $ac_try) 2>&5
56381 ac_status=$?
56382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56383 (exit $ac_status); }; }; then
56384 glibcxx_cv_func_fabsl_use=yes
56385 else
56386 echo "$as_me: failed program was:" >&5
56387 sed 's/^/| /' conftest.$ac_ext >&5
56389 glibcxx_cv_func_fabsl_use=no
56391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56392 ac_ext=c
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56403 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56405 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56407 for ac_func in fabsl
56409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56410 echo "$as_me:$LINENO: checking for $ac_func" >&5
56411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56412 if eval "test \"\${$as_ac_var+set}\" = set"; then
56413 echo $ECHO_N "(cached) $ECHO_C" >&6
56414 else
56415 if test x$gcc_no_link = xyes; then
56416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56418 { (exit 1); exit 1; }; }
56420 cat >conftest.$ac_ext <<_ACEOF
56421 /* confdefs.h. */
56422 _ACEOF
56423 cat confdefs.h >>conftest.$ac_ext
56424 cat >>conftest.$ac_ext <<_ACEOF
56425 /* end confdefs.h. */
56426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56428 #define $ac_func innocuous_$ac_func
56430 /* System header to define __stub macros and hopefully few prototypes,
56431 which can conflict with char $ac_func (); below.
56432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56433 <limits.h> exists even on freestanding compilers. */
56435 #ifdef __STDC__
56436 # include <limits.h>
56437 #else
56438 # include <assert.h>
56439 #endif
56441 #undef $ac_func
56443 /* Override any gcc2 internal prototype to avoid an error. */
56444 #ifdef __cplusplus
56445 extern "C"
56447 #endif
56448 /* We use char because int might match the return type of a gcc2
56449 builtin and then its argument prototype would still apply. */
56450 char $ac_func ();
56451 /* The GNU C library defines this for functions which it implements
56452 to always fail with ENOSYS. Some functions are actually named
56453 something starting with __ and the normal name is an alias. */
56454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56455 choke me
56456 #else
56457 char (*f) () = $ac_func;
56458 #endif
56459 #ifdef __cplusplus
56461 #endif
56464 main ()
56466 return f != $ac_func;
56468 return 0;
56470 _ACEOF
56471 rm -f conftest.$ac_objext conftest$ac_exeext
56472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56473 (eval $ac_link) 2>conftest.er1
56474 ac_status=$?
56475 grep -v '^ *+' conftest.er1 >conftest.err
56476 rm -f conftest.er1
56477 cat conftest.err >&5
56478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479 (exit $ac_status); } &&
56480 { ac_try='test -z "$ac_c_werror_flag"
56481 || test ! -s conftest.err'
56482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56483 (eval $ac_try) 2>&5
56484 ac_status=$?
56485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56486 (exit $ac_status); }; } &&
56487 { ac_try='test -s conftest$ac_exeext'
56488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56489 (eval $ac_try) 2>&5
56490 ac_status=$?
56491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56492 (exit $ac_status); }; }; then
56493 eval "$as_ac_var=yes"
56494 else
56495 echo "$as_me: failed program was:" >&5
56496 sed 's/^/| /' conftest.$ac_ext >&5
56498 eval "$as_ac_var=no"
56500 rm -f conftest.err conftest.$ac_objext \
56501 conftest$ac_exeext conftest.$ac_ext
56503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56505 if test `eval echo '${'$as_ac_var'}'` = yes; then
56506 cat >>confdefs.h <<_ACEOF
56507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56508 _ACEOF
56511 done
56513 else
56515 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56516 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56517 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56518 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56519 echo $ECHO_N "(cached) $ECHO_C" >&6
56520 else
56524 ac_ext=cc
56525 ac_cpp='$CXXCPP $CPPFLAGS'
56526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56530 cat >conftest.$ac_ext <<_ACEOF
56531 /* confdefs.h. */
56532 _ACEOF
56533 cat confdefs.h >>conftest.$ac_ext
56534 cat >>conftest.$ac_ext <<_ACEOF
56535 /* end confdefs.h. */
56536 #include <math.h>
56537 #ifdef HAVE_IEEEFP_H
56538 #include <ieeefp.h>
56539 #endif
56542 main ()
56544 _fabsl(0);
56546 return 0;
56548 _ACEOF
56549 rm -f conftest.$ac_objext
56550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56551 (eval $ac_compile) 2>conftest.er1
56552 ac_status=$?
56553 grep -v '^ *+' conftest.er1 >conftest.err
56554 rm -f conftest.er1
56555 cat conftest.err >&5
56556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557 (exit $ac_status); } &&
56558 { ac_try='test -z "$ac_cxx_werror_flag"
56559 || test ! -s conftest.err'
56560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56561 (eval $ac_try) 2>&5
56562 ac_status=$?
56563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56564 (exit $ac_status); }; } &&
56565 { ac_try='test -s conftest.$ac_objext'
56566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56567 (eval $ac_try) 2>&5
56568 ac_status=$?
56569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56570 (exit $ac_status); }; }; then
56571 glibcxx_cv_func__fabsl_use=yes
56572 else
56573 echo "$as_me: failed program was:" >&5
56574 sed 's/^/| /' conftest.$ac_ext >&5
56576 glibcxx_cv_func__fabsl_use=no
56578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56579 ac_ext=c
56580 ac_cpp='$CPP $CPPFLAGS'
56581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56590 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56592 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56594 for ac_func in _fabsl
56596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56597 echo "$as_me:$LINENO: checking for $ac_func" >&5
56598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56599 if eval "test \"\${$as_ac_var+set}\" = set"; then
56600 echo $ECHO_N "(cached) $ECHO_C" >&6
56601 else
56602 if test x$gcc_no_link = xyes; then
56603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56605 { (exit 1); exit 1; }; }
56607 cat >conftest.$ac_ext <<_ACEOF
56608 /* confdefs.h. */
56609 _ACEOF
56610 cat confdefs.h >>conftest.$ac_ext
56611 cat >>conftest.$ac_ext <<_ACEOF
56612 /* end confdefs.h. */
56613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56615 #define $ac_func innocuous_$ac_func
56617 /* System header to define __stub macros and hopefully few prototypes,
56618 which can conflict with char $ac_func (); below.
56619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56620 <limits.h> exists even on freestanding compilers. */
56622 #ifdef __STDC__
56623 # include <limits.h>
56624 #else
56625 # include <assert.h>
56626 #endif
56628 #undef $ac_func
56630 /* Override any gcc2 internal prototype to avoid an error. */
56631 #ifdef __cplusplus
56632 extern "C"
56634 #endif
56635 /* We use char because int might match the return type of a gcc2
56636 builtin and then its argument prototype would still apply. */
56637 char $ac_func ();
56638 /* The GNU C library defines this for functions which it implements
56639 to always fail with ENOSYS. Some functions are actually named
56640 something starting with __ and the normal name is an alias. */
56641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56642 choke me
56643 #else
56644 char (*f) () = $ac_func;
56645 #endif
56646 #ifdef __cplusplus
56648 #endif
56651 main ()
56653 return f != $ac_func;
56655 return 0;
56657 _ACEOF
56658 rm -f conftest.$ac_objext conftest$ac_exeext
56659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56660 (eval $ac_link) 2>conftest.er1
56661 ac_status=$?
56662 grep -v '^ *+' conftest.er1 >conftest.err
56663 rm -f conftest.er1
56664 cat conftest.err >&5
56665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56666 (exit $ac_status); } &&
56667 { ac_try='test -z "$ac_c_werror_flag"
56668 || test ! -s conftest.err'
56669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56670 (eval $ac_try) 2>&5
56671 ac_status=$?
56672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56673 (exit $ac_status); }; } &&
56674 { ac_try='test -s conftest$ac_exeext'
56675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56676 (eval $ac_try) 2>&5
56677 ac_status=$?
56678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56679 (exit $ac_status); }; }; then
56680 eval "$as_ac_var=yes"
56681 else
56682 echo "$as_me: failed program was:" >&5
56683 sed 's/^/| /' conftest.$ac_ext >&5
56685 eval "$as_ac_var=no"
56687 rm -f conftest.err conftest.$ac_objext \
56688 conftest$ac_exeext conftest.$ac_ext
56690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56692 if test `eval echo '${'$as_ac_var'}'` = yes; then
56693 cat >>confdefs.h <<_ACEOF
56694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56695 _ACEOF
56698 done
56708 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56709 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56710 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56711 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56712 echo $ECHO_N "(cached) $ECHO_C" >&6
56713 else
56717 ac_ext=cc
56718 ac_cpp='$CXXCPP $CPPFLAGS'
56719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56723 cat >conftest.$ac_ext <<_ACEOF
56724 /* confdefs.h. */
56725 _ACEOF
56726 cat confdefs.h >>conftest.$ac_ext
56727 cat >>conftest.$ac_ext <<_ACEOF
56728 /* end confdefs.h. */
56729 #include <math.h>
56731 main ()
56733 fmodl(0, 0);
56735 return 0;
56737 _ACEOF
56738 rm -f conftest.$ac_objext
56739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56740 (eval $ac_compile) 2>conftest.er1
56741 ac_status=$?
56742 grep -v '^ *+' conftest.er1 >conftest.err
56743 rm -f conftest.er1
56744 cat conftest.err >&5
56745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56746 (exit $ac_status); } &&
56747 { ac_try='test -z "$ac_cxx_werror_flag"
56748 || test ! -s conftest.err'
56749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56750 (eval $ac_try) 2>&5
56751 ac_status=$?
56752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56753 (exit $ac_status); }; } &&
56754 { ac_try='test -s conftest.$ac_objext'
56755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56756 (eval $ac_try) 2>&5
56757 ac_status=$?
56758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56759 (exit $ac_status); }; }; then
56760 glibcxx_cv_func_fmodl_use=yes
56761 else
56762 echo "$as_me: failed program was:" >&5
56763 sed 's/^/| /' conftest.$ac_ext >&5
56765 glibcxx_cv_func_fmodl_use=no
56767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56768 ac_ext=c
56769 ac_cpp='$CPP $CPPFLAGS'
56770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56779 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56781 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56783 for ac_func in fmodl
56785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56786 echo "$as_me:$LINENO: checking for $ac_func" >&5
56787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56788 if eval "test \"\${$as_ac_var+set}\" = set"; then
56789 echo $ECHO_N "(cached) $ECHO_C" >&6
56790 else
56791 if test x$gcc_no_link = xyes; then
56792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56794 { (exit 1); exit 1; }; }
56796 cat >conftest.$ac_ext <<_ACEOF
56797 /* confdefs.h. */
56798 _ACEOF
56799 cat confdefs.h >>conftest.$ac_ext
56800 cat >>conftest.$ac_ext <<_ACEOF
56801 /* end confdefs.h. */
56802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56804 #define $ac_func innocuous_$ac_func
56806 /* System header to define __stub macros and hopefully few prototypes,
56807 which can conflict with char $ac_func (); below.
56808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56809 <limits.h> exists even on freestanding compilers. */
56811 #ifdef __STDC__
56812 # include <limits.h>
56813 #else
56814 # include <assert.h>
56815 #endif
56817 #undef $ac_func
56819 /* Override any gcc2 internal prototype to avoid an error. */
56820 #ifdef __cplusplus
56821 extern "C"
56823 #endif
56824 /* We use char because int might match the return type of a gcc2
56825 builtin and then its argument prototype would still apply. */
56826 char $ac_func ();
56827 /* The GNU C library defines this for functions which it implements
56828 to always fail with ENOSYS. Some functions are actually named
56829 something starting with __ and the normal name is an alias. */
56830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56831 choke me
56832 #else
56833 char (*f) () = $ac_func;
56834 #endif
56835 #ifdef __cplusplus
56837 #endif
56840 main ()
56842 return f != $ac_func;
56844 return 0;
56846 _ACEOF
56847 rm -f conftest.$ac_objext conftest$ac_exeext
56848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56849 (eval $ac_link) 2>conftest.er1
56850 ac_status=$?
56851 grep -v '^ *+' conftest.er1 >conftest.err
56852 rm -f conftest.er1
56853 cat conftest.err >&5
56854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855 (exit $ac_status); } &&
56856 { ac_try='test -z "$ac_c_werror_flag"
56857 || test ! -s conftest.err'
56858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56859 (eval $ac_try) 2>&5
56860 ac_status=$?
56861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56862 (exit $ac_status); }; } &&
56863 { ac_try='test -s conftest$ac_exeext'
56864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56865 (eval $ac_try) 2>&5
56866 ac_status=$?
56867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56868 (exit $ac_status); }; }; then
56869 eval "$as_ac_var=yes"
56870 else
56871 echo "$as_me: failed program was:" >&5
56872 sed 's/^/| /' conftest.$ac_ext >&5
56874 eval "$as_ac_var=no"
56876 rm -f conftest.err conftest.$ac_objext \
56877 conftest$ac_exeext conftest.$ac_ext
56879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56881 if test `eval echo '${'$as_ac_var'}'` = yes; then
56882 cat >>confdefs.h <<_ACEOF
56883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56884 _ACEOF
56887 done
56889 else
56891 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56892 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56893 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56894 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56895 echo $ECHO_N "(cached) $ECHO_C" >&6
56896 else
56900 ac_ext=cc
56901 ac_cpp='$CXXCPP $CPPFLAGS'
56902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56906 cat >conftest.$ac_ext <<_ACEOF
56907 /* confdefs.h. */
56908 _ACEOF
56909 cat confdefs.h >>conftest.$ac_ext
56910 cat >>conftest.$ac_ext <<_ACEOF
56911 /* end confdefs.h. */
56912 #include <math.h>
56914 main ()
56916 _fmodl(0, 0);
56918 return 0;
56920 _ACEOF
56921 rm -f conftest.$ac_objext
56922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56923 (eval $ac_compile) 2>conftest.er1
56924 ac_status=$?
56925 grep -v '^ *+' conftest.er1 >conftest.err
56926 rm -f conftest.er1
56927 cat conftest.err >&5
56928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56929 (exit $ac_status); } &&
56930 { ac_try='test -z "$ac_cxx_werror_flag"
56931 || test ! -s conftest.err'
56932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56933 (eval $ac_try) 2>&5
56934 ac_status=$?
56935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56936 (exit $ac_status); }; } &&
56937 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
56943 glibcxx_cv_func__fmodl_use=yes
56944 else
56945 echo "$as_me: failed program was:" >&5
56946 sed 's/^/| /' conftest.$ac_ext >&5
56948 glibcxx_cv_func__fmodl_use=no
56950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56951 ac_ext=c
56952 ac_cpp='$CPP $CPPFLAGS'
56953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56962 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56964 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56966 for ac_func in _fmodl
56968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56969 echo "$as_me:$LINENO: checking for $ac_func" >&5
56970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56971 if eval "test \"\${$as_ac_var+set}\" = set"; then
56972 echo $ECHO_N "(cached) $ECHO_C" >&6
56973 else
56974 if test x$gcc_no_link = xyes; then
56975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56977 { (exit 1); exit 1; }; }
56979 cat >conftest.$ac_ext <<_ACEOF
56980 /* confdefs.h. */
56981 _ACEOF
56982 cat confdefs.h >>conftest.$ac_ext
56983 cat >>conftest.$ac_ext <<_ACEOF
56984 /* end confdefs.h. */
56985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56987 #define $ac_func innocuous_$ac_func
56989 /* System header to define __stub macros and hopefully few prototypes,
56990 which can conflict with char $ac_func (); below.
56991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56992 <limits.h> exists even on freestanding compilers. */
56994 #ifdef __STDC__
56995 # include <limits.h>
56996 #else
56997 # include <assert.h>
56998 #endif
57000 #undef $ac_func
57002 /* Override any gcc2 internal prototype to avoid an error. */
57003 #ifdef __cplusplus
57004 extern "C"
57006 #endif
57007 /* We use char because int might match the return type of a gcc2
57008 builtin and then its argument prototype would still apply. */
57009 char $ac_func ();
57010 /* The GNU C library defines this for functions which it implements
57011 to always fail with ENOSYS. Some functions are actually named
57012 something starting with __ and the normal name is an alias. */
57013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57014 choke me
57015 #else
57016 char (*f) () = $ac_func;
57017 #endif
57018 #ifdef __cplusplus
57020 #endif
57023 main ()
57025 return f != $ac_func;
57027 return 0;
57029 _ACEOF
57030 rm -f conftest.$ac_objext conftest$ac_exeext
57031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57032 (eval $ac_link) 2>conftest.er1
57033 ac_status=$?
57034 grep -v '^ *+' conftest.er1 >conftest.err
57035 rm -f conftest.er1
57036 cat conftest.err >&5
57037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038 (exit $ac_status); } &&
57039 { ac_try='test -z "$ac_c_werror_flag"
57040 || test ! -s conftest.err'
57041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57042 (eval $ac_try) 2>&5
57043 ac_status=$?
57044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57045 (exit $ac_status); }; } &&
57046 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
57052 eval "$as_ac_var=yes"
57053 else
57054 echo "$as_me: failed program was:" >&5
57055 sed 's/^/| /' conftest.$ac_ext >&5
57057 eval "$as_ac_var=no"
57059 rm -f conftest.err conftest.$ac_objext \
57060 conftest$ac_exeext conftest.$ac_ext
57062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57064 if test `eval echo '${'$as_ac_var'}'` = yes; then
57065 cat >>confdefs.h <<_ACEOF
57066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57067 _ACEOF
57070 done
57080 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57081 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57082 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57083 if test "${glibcxx_cv_func_frexpl_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>
57103 main ()
57105 frexpl(0, 0);
57107 return 0;
57109 _ACEOF
57110 rm -f conftest.$ac_objext
57111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57112 (eval $ac_compile) 2>conftest.er1
57113 ac_status=$?
57114 grep -v '^ *+' conftest.er1 >conftest.err
57115 rm -f conftest.er1
57116 cat conftest.err >&5
57117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118 (exit $ac_status); } &&
57119 { ac_try='test -z "$ac_cxx_werror_flag"
57120 || test ! -s conftest.err'
57121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57122 (eval $ac_try) 2>&5
57123 ac_status=$?
57124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57125 (exit $ac_status); }; } &&
57126 { ac_try='test -s conftest.$ac_objext'
57127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57128 (eval $ac_try) 2>&5
57129 ac_status=$?
57130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57131 (exit $ac_status); }; }; then
57132 glibcxx_cv_func_frexpl_use=yes
57133 else
57134 echo "$as_me: failed program was:" >&5
57135 sed 's/^/| /' conftest.$ac_ext >&5
57137 glibcxx_cv_func_frexpl_use=no
57139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57140 ac_ext=c
57141 ac_cpp='$CPP $CPPFLAGS'
57142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57151 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57153 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57155 for ac_func in frexpl
57157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57158 echo "$as_me:$LINENO: checking for $ac_func" >&5
57159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57160 if eval "test \"\${$as_ac_var+set}\" = set"; then
57161 echo $ECHO_N "(cached) $ECHO_C" >&6
57162 else
57163 if test x$gcc_no_link = xyes; then
57164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57166 { (exit 1); exit 1; }; }
57168 cat >conftest.$ac_ext <<_ACEOF
57169 /* confdefs.h. */
57170 _ACEOF
57171 cat confdefs.h >>conftest.$ac_ext
57172 cat >>conftest.$ac_ext <<_ACEOF
57173 /* end confdefs.h. */
57174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57176 #define $ac_func innocuous_$ac_func
57178 /* System header to define __stub macros and hopefully few prototypes,
57179 which can conflict with char $ac_func (); below.
57180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57181 <limits.h> exists even on freestanding compilers. */
57183 #ifdef __STDC__
57184 # include <limits.h>
57185 #else
57186 # include <assert.h>
57187 #endif
57189 #undef $ac_func
57191 /* Override any gcc2 internal prototype to avoid an error. */
57192 #ifdef __cplusplus
57193 extern "C"
57195 #endif
57196 /* We use char because int might match the return type of a gcc2
57197 builtin and then its argument prototype would still apply. */
57198 char $ac_func ();
57199 /* The GNU C library defines this for functions which it implements
57200 to always fail with ENOSYS. Some functions are actually named
57201 something starting with __ and the normal name is an alias. */
57202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57203 choke me
57204 #else
57205 char (*f) () = $ac_func;
57206 #endif
57207 #ifdef __cplusplus
57209 #endif
57212 main ()
57214 return f != $ac_func;
57216 return 0;
57218 _ACEOF
57219 rm -f conftest.$ac_objext conftest$ac_exeext
57220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57221 (eval $ac_link) 2>conftest.er1
57222 ac_status=$?
57223 grep -v '^ *+' conftest.er1 >conftest.err
57224 rm -f conftest.er1
57225 cat conftest.err >&5
57226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57227 (exit $ac_status); } &&
57228 { ac_try='test -z "$ac_c_werror_flag"
57229 || test ! -s conftest.err'
57230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57231 (eval $ac_try) 2>&5
57232 ac_status=$?
57233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57234 (exit $ac_status); }; } &&
57235 { ac_try='test -s conftest$ac_exeext'
57236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57237 (eval $ac_try) 2>&5
57238 ac_status=$?
57239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57240 (exit $ac_status); }; }; then
57241 eval "$as_ac_var=yes"
57242 else
57243 echo "$as_me: failed program was:" >&5
57244 sed 's/^/| /' conftest.$ac_ext >&5
57246 eval "$as_ac_var=no"
57248 rm -f conftest.err conftest.$ac_objext \
57249 conftest$ac_exeext conftest.$ac_ext
57251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57253 if test `eval echo '${'$as_ac_var'}'` = yes; then
57254 cat >>confdefs.h <<_ACEOF
57255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57256 _ACEOF
57259 done
57261 else
57263 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57264 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57265 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57266 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57267 echo $ECHO_N "(cached) $ECHO_C" >&6
57268 else
57272 ac_ext=cc
57273 ac_cpp='$CXXCPP $CPPFLAGS'
57274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57278 cat >conftest.$ac_ext <<_ACEOF
57279 /* confdefs.h. */
57280 _ACEOF
57281 cat confdefs.h >>conftest.$ac_ext
57282 cat >>conftest.$ac_ext <<_ACEOF
57283 /* end confdefs.h. */
57284 #include <math.h>
57286 main ()
57288 _frexpl(0, 0);
57290 return 0;
57292 _ACEOF
57293 rm -f conftest.$ac_objext
57294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57295 (eval $ac_compile) 2>conftest.er1
57296 ac_status=$?
57297 grep -v '^ *+' conftest.er1 >conftest.err
57298 rm -f conftest.er1
57299 cat conftest.err >&5
57300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301 (exit $ac_status); } &&
57302 { ac_try='test -z "$ac_cxx_werror_flag"
57303 || test ! -s conftest.err'
57304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57305 (eval $ac_try) 2>&5
57306 ac_status=$?
57307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57308 (exit $ac_status); }; } &&
57309 { ac_try='test -s conftest.$ac_objext'
57310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57311 (eval $ac_try) 2>&5
57312 ac_status=$?
57313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57314 (exit $ac_status); }; }; then
57315 glibcxx_cv_func__frexpl_use=yes
57316 else
57317 echo "$as_me: failed program was:" >&5
57318 sed 's/^/| /' conftest.$ac_ext >&5
57320 glibcxx_cv_func__frexpl_use=no
57322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57323 ac_ext=c
57324 ac_cpp='$CPP $CPPFLAGS'
57325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57334 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57336 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57338 for ac_func in _frexpl
57340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57341 echo "$as_me:$LINENO: checking for $ac_func" >&5
57342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57343 if eval "test \"\${$as_ac_var+set}\" = set"; then
57344 echo $ECHO_N "(cached) $ECHO_C" >&6
57345 else
57346 if test x$gcc_no_link = xyes; then
57347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57349 { (exit 1); exit 1; }; }
57351 cat >conftest.$ac_ext <<_ACEOF
57352 /* confdefs.h. */
57353 _ACEOF
57354 cat confdefs.h >>conftest.$ac_ext
57355 cat >>conftest.$ac_ext <<_ACEOF
57356 /* end confdefs.h. */
57357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57359 #define $ac_func innocuous_$ac_func
57361 /* System header to define __stub macros and hopefully few prototypes,
57362 which can conflict with char $ac_func (); below.
57363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57364 <limits.h> exists even on freestanding compilers. */
57366 #ifdef __STDC__
57367 # include <limits.h>
57368 #else
57369 # include <assert.h>
57370 #endif
57372 #undef $ac_func
57374 /* Override any gcc2 internal prototype to avoid an error. */
57375 #ifdef __cplusplus
57376 extern "C"
57378 #endif
57379 /* We use char because int might match the return type of a gcc2
57380 builtin and then its argument prototype would still apply. */
57381 char $ac_func ();
57382 /* The GNU C library defines this for functions which it implements
57383 to always fail with ENOSYS. Some functions are actually named
57384 something starting with __ and the normal name is an alias. */
57385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57386 choke me
57387 #else
57388 char (*f) () = $ac_func;
57389 #endif
57390 #ifdef __cplusplus
57392 #endif
57395 main ()
57397 return f != $ac_func;
57399 return 0;
57401 _ACEOF
57402 rm -f conftest.$ac_objext conftest$ac_exeext
57403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57404 (eval $ac_link) 2>conftest.er1
57405 ac_status=$?
57406 grep -v '^ *+' conftest.er1 >conftest.err
57407 rm -f conftest.er1
57408 cat conftest.err >&5
57409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57410 (exit $ac_status); } &&
57411 { ac_try='test -z "$ac_c_werror_flag"
57412 || test ! -s conftest.err'
57413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57414 (eval $ac_try) 2>&5
57415 ac_status=$?
57416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57417 (exit $ac_status); }; } &&
57418 { ac_try='test -s conftest$ac_exeext'
57419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57420 (eval $ac_try) 2>&5
57421 ac_status=$?
57422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57423 (exit $ac_status); }; }; then
57424 eval "$as_ac_var=yes"
57425 else
57426 echo "$as_me: failed program was:" >&5
57427 sed 's/^/| /' conftest.$ac_ext >&5
57429 eval "$as_ac_var=no"
57431 rm -f conftest.err conftest.$ac_objext \
57432 conftest$ac_exeext conftest.$ac_ext
57434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57436 if test `eval echo '${'$as_ac_var'}'` = yes; then
57437 cat >>confdefs.h <<_ACEOF
57438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57439 _ACEOF
57442 done
57452 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57453 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57454 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57455 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57456 echo $ECHO_N "(cached) $ECHO_C" >&6
57457 else
57461 ac_ext=cc
57462 ac_cpp='$CXXCPP $CPPFLAGS'
57463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57467 cat >conftest.$ac_ext <<_ACEOF
57468 /* confdefs.h. */
57469 _ACEOF
57470 cat confdefs.h >>conftest.$ac_ext
57471 cat >>conftest.$ac_ext <<_ACEOF
57472 /* end confdefs.h. */
57473 #include <math.h>
57475 main ()
57477 hypotl(0, 0);
57479 return 0;
57481 _ACEOF
57482 rm -f conftest.$ac_objext
57483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57484 (eval $ac_compile) 2>conftest.er1
57485 ac_status=$?
57486 grep -v '^ *+' conftest.er1 >conftest.err
57487 rm -f conftest.er1
57488 cat conftest.err >&5
57489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490 (exit $ac_status); } &&
57491 { ac_try='test -z "$ac_cxx_werror_flag"
57492 || test ! -s conftest.err'
57493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57494 (eval $ac_try) 2>&5
57495 ac_status=$?
57496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57497 (exit $ac_status); }; } &&
57498 { ac_try='test -s conftest.$ac_objext'
57499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57500 (eval $ac_try) 2>&5
57501 ac_status=$?
57502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57503 (exit $ac_status); }; }; then
57504 glibcxx_cv_func_hypotl_use=yes
57505 else
57506 echo "$as_me: failed program was:" >&5
57507 sed 's/^/| /' conftest.$ac_ext >&5
57509 glibcxx_cv_func_hypotl_use=no
57511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57512 ac_ext=c
57513 ac_cpp='$CPP $CPPFLAGS'
57514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57523 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57525 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57527 for ac_func in hypotl
57529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57530 echo "$as_me:$LINENO: checking for $ac_func" >&5
57531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57532 if eval "test \"\${$as_ac_var+set}\" = set"; then
57533 echo $ECHO_N "(cached) $ECHO_C" >&6
57534 else
57535 if test x$gcc_no_link = xyes; then
57536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57538 { (exit 1); exit 1; }; }
57540 cat >conftest.$ac_ext <<_ACEOF
57541 /* confdefs.h. */
57542 _ACEOF
57543 cat confdefs.h >>conftest.$ac_ext
57544 cat >>conftest.$ac_ext <<_ACEOF
57545 /* end confdefs.h. */
57546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57548 #define $ac_func innocuous_$ac_func
57550 /* System header to define __stub macros and hopefully few prototypes,
57551 which can conflict with char $ac_func (); below.
57552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57553 <limits.h> exists even on freestanding compilers. */
57555 #ifdef __STDC__
57556 # include <limits.h>
57557 #else
57558 # include <assert.h>
57559 #endif
57561 #undef $ac_func
57563 /* Override any gcc2 internal prototype to avoid an error. */
57564 #ifdef __cplusplus
57565 extern "C"
57567 #endif
57568 /* We use char because int might match the return type of a gcc2
57569 builtin and then its argument prototype would still apply. */
57570 char $ac_func ();
57571 /* The GNU C library defines this for functions which it implements
57572 to always fail with ENOSYS. Some functions are actually named
57573 something starting with __ and the normal name is an alias. */
57574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57575 choke me
57576 #else
57577 char (*f) () = $ac_func;
57578 #endif
57579 #ifdef __cplusplus
57581 #endif
57584 main ()
57586 return f != $ac_func;
57588 return 0;
57590 _ACEOF
57591 rm -f conftest.$ac_objext conftest$ac_exeext
57592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57593 (eval $ac_link) 2>conftest.er1
57594 ac_status=$?
57595 grep -v '^ *+' conftest.er1 >conftest.err
57596 rm -f conftest.er1
57597 cat conftest.err >&5
57598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57599 (exit $ac_status); } &&
57600 { ac_try='test -z "$ac_c_werror_flag"
57601 || test ! -s conftest.err'
57602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57603 (eval $ac_try) 2>&5
57604 ac_status=$?
57605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57606 (exit $ac_status); }; } &&
57607 { ac_try='test -s conftest$ac_exeext'
57608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57609 (eval $ac_try) 2>&5
57610 ac_status=$?
57611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57612 (exit $ac_status); }; }; then
57613 eval "$as_ac_var=yes"
57614 else
57615 echo "$as_me: failed program was:" >&5
57616 sed 's/^/| /' conftest.$ac_ext >&5
57618 eval "$as_ac_var=no"
57620 rm -f conftest.err conftest.$ac_objext \
57621 conftest$ac_exeext conftest.$ac_ext
57623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57625 if test `eval echo '${'$as_ac_var'}'` = yes; then
57626 cat >>confdefs.h <<_ACEOF
57627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57628 _ACEOF
57631 done
57633 else
57635 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57636 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57637 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57638 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57639 echo $ECHO_N "(cached) $ECHO_C" >&6
57640 else
57644 ac_ext=cc
57645 ac_cpp='$CXXCPP $CPPFLAGS'
57646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57650 cat >conftest.$ac_ext <<_ACEOF
57651 /* confdefs.h. */
57652 _ACEOF
57653 cat confdefs.h >>conftest.$ac_ext
57654 cat >>conftest.$ac_ext <<_ACEOF
57655 /* end confdefs.h. */
57656 #include <math.h>
57658 main ()
57660 _hypotl(0, 0);
57662 return 0;
57664 _ACEOF
57665 rm -f conftest.$ac_objext
57666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57667 (eval $ac_compile) 2>conftest.er1
57668 ac_status=$?
57669 grep -v '^ *+' conftest.er1 >conftest.err
57670 rm -f conftest.er1
57671 cat conftest.err >&5
57672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57673 (exit $ac_status); } &&
57674 { ac_try='test -z "$ac_cxx_werror_flag"
57675 || test ! -s conftest.err'
57676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57677 (eval $ac_try) 2>&5
57678 ac_status=$?
57679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57680 (exit $ac_status); }; } &&
57681 { ac_try='test -s conftest.$ac_objext'
57682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57683 (eval $ac_try) 2>&5
57684 ac_status=$?
57685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57686 (exit $ac_status); }; }; then
57687 glibcxx_cv_func__hypotl_use=yes
57688 else
57689 echo "$as_me: failed program was:" >&5
57690 sed 's/^/| /' conftest.$ac_ext >&5
57692 glibcxx_cv_func__hypotl_use=no
57694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57695 ac_ext=c
57696 ac_cpp='$CPP $CPPFLAGS'
57697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57706 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57708 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57710 for ac_func in _hypotl
57712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57713 echo "$as_me:$LINENO: checking for $ac_func" >&5
57714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57715 if eval "test \"\${$as_ac_var+set}\" = set"; then
57716 echo $ECHO_N "(cached) $ECHO_C" >&6
57717 else
57718 if test x$gcc_no_link = xyes; then
57719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57721 { (exit 1); exit 1; }; }
57723 cat >conftest.$ac_ext <<_ACEOF
57724 /* confdefs.h. */
57725 _ACEOF
57726 cat confdefs.h >>conftest.$ac_ext
57727 cat >>conftest.$ac_ext <<_ACEOF
57728 /* end confdefs.h. */
57729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57731 #define $ac_func innocuous_$ac_func
57733 /* System header to define __stub macros and hopefully few prototypes,
57734 which can conflict with char $ac_func (); below.
57735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57736 <limits.h> exists even on freestanding compilers. */
57738 #ifdef __STDC__
57739 # include <limits.h>
57740 #else
57741 # include <assert.h>
57742 #endif
57744 #undef $ac_func
57746 /* Override any gcc2 internal prototype to avoid an error. */
57747 #ifdef __cplusplus
57748 extern "C"
57750 #endif
57751 /* We use char because int might match the return type of a gcc2
57752 builtin and then its argument prototype would still apply. */
57753 char $ac_func ();
57754 /* The GNU C library defines this for functions which it implements
57755 to always fail with ENOSYS. Some functions are actually named
57756 something starting with __ and the normal name is an alias. */
57757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57758 choke me
57759 #else
57760 char (*f) () = $ac_func;
57761 #endif
57762 #ifdef __cplusplus
57764 #endif
57767 main ()
57769 return f != $ac_func;
57771 return 0;
57773 _ACEOF
57774 rm -f conftest.$ac_objext conftest$ac_exeext
57775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57776 (eval $ac_link) 2>conftest.er1
57777 ac_status=$?
57778 grep -v '^ *+' conftest.er1 >conftest.err
57779 rm -f conftest.er1
57780 cat conftest.err >&5
57781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782 (exit $ac_status); } &&
57783 { ac_try='test -z "$ac_c_werror_flag"
57784 || test ! -s conftest.err'
57785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57786 (eval $ac_try) 2>&5
57787 ac_status=$?
57788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57789 (exit $ac_status); }; } &&
57790 { ac_try='test -s conftest$ac_exeext'
57791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57792 (eval $ac_try) 2>&5
57793 ac_status=$?
57794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57795 (exit $ac_status); }; }; then
57796 eval "$as_ac_var=yes"
57797 else
57798 echo "$as_me: failed program was:" >&5
57799 sed 's/^/| /' conftest.$ac_ext >&5
57801 eval "$as_ac_var=no"
57803 rm -f conftest.err conftest.$ac_objext \
57804 conftest$ac_exeext conftest.$ac_ext
57806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57808 if test `eval echo '${'$as_ac_var'}'` = yes; then
57809 cat >>confdefs.h <<_ACEOF
57810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57811 _ACEOF
57814 done
57824 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57825 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57826 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57827 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57828 echo $ECHO_N "(cached) $ECHO_C" >&6
57829 else
57833 ac_ext=cc
57834 ac_cpp='$CXXCPP $CPPFLAGS'
57835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57839 cat >conftest.$ac_ext <<_ACEOF
57840 /* confdefs.h. */
57841 _ACEOF
57842 cat confdefs.h >>conftest.$ac_ext
57843 cat >>conftest.$ac_ext <<_ACEOF
57844 /* end confdefs.h. */
57845 #include <math.h>
57847 main ()
57849 ldexpl(0, 0);
57851 return 0;
57853 _ACEOF
57854 rm -f conftest.$ac_objext
57855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57856 (eval $ac_compile) 2>conftest.er1
57857 ac_status=$?
57858 grep -v '^ *+' conftest.er1 >conftest.err
57859 rm -f conftest.er1
57860 cat conftest.err >&5
57861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57862 (exit $ac_status); } &&
57863 { ac_try='test -z "$ac_cxx_werror_flag"
57864 || test ! -s conftest.err'
57865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57866 (eval $ac_try) 2>&5
57867 ac_status=$?
57868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57869 (exit $ac_status); }; } &&
57870 { ac_try='test -s conftest.$ac_objext'
57871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57872 (eval $ac_try) 2>&5
57873 ac_status=$?
57874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57875 (exit $ac_status); }; }; then
57876 glibcxx_cv_func_ldexpl_use=yes
57877 else
57878 echo "$as_me: failed program was:" >&5
57879 sed 's/^/| /' conftest.$ac_ext >&5
57881 glibcxx_cv_func_ldexpl_use=no
57883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57884 ac_ext=c
57885 ac_cpp='$CPP $CPPFLAGS'
57886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57895 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57897 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57899 for ac_func in ldexpl
57901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57902 echo "$as_me:$LINENO: checking for $ac_func" >&5
57903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57904 if eval "test \"\${$as_ac_var+set}\" = set"; then
57905 echo $ECHO_N "(cached) $ECHO_C" >&6
57906 else
57907 if test x$gcc_no_link = xyes; then
57908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57910 { (exit 1); exit 1; }; }
57912 cat >conftest.$ac_ext <<_ACEOF
57913 /* confdefs.h. */
57914 _ACEOF
57915 cat confdefs.h >>conftest.$ac_ext
57916 cat >>conftest.$ac_ext <<_ACEOF
57917 /* end confdefs.h. */
57918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57920 #define $ac_func innocuous_$ac_func
57922 /* System header to define __stub macros and hopefully few prototypes,
57923 which can conflict with char $ac_func (); below.
57924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57925 <limits.h> exists even on freestanding compilers. */
57927 #ifdef __STDC__
57928 # include <limits.h>
57929 #else
57930 # include <assert.h>
57931 #endif
57933 #undef $ac_func
57935 /* Override any gcc2 internal prototype to avoid an error. */
57936 #ifdef __cplusplus
57937 extern "C"
57939 #endif
57940 /* We use char because int might match the return type of a gcc2
57941 builtin and then its argument prototype would still apply. */
57942 char $ac_func ();
57943 /* The GNU C library defines this for functions which it implements
57944 to always fail with ENOSYS. Some functions are actually named
57945 something starting with __ and the normal name is an alias. */
57946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57947 choke me
57948 #else
57949 char (*f) () = $ac_func;
57950 #endif
57951 #ifdef __cplusplus
57953 #endif
57956 main ()
57958 return f != $ac_func;
57960 return 0;
57962 _ACEOF
57963 rm -f conftest.$ac_objext conftest$ac_exeext
57964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57965 (eval $ac_link) 2>conftest.er1
57966 ac_status=$?
57967 grep -v '^ *+' conftest.er1 >conftest.err
57968 rm -f conftest.er1
57969 cat conftest.err >&5
57970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57971 (exit $ac_status); } &&
57972 { ac_try='test -z "$ac_c_werror_flag"
57973 || test ! -s conftest.err'
57974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57975 (eval $ac_try) 2>&5
57976 ac_status=$?
57977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57978 (exit $ac_status); }; } &&
57979 { ac_try='test -s conftest$ac_exeext'
57980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57981 (eval $ac_try) 2>&5
57982 ac_status=$?
57983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57984 (exit $ac_status); }; }; then
57985 eval "$as_ac_var=yes"
57986 else
57987 echo "$as_me: failed program was:" >&5
57988 sed 's/^/| /' conftest.$ac_ext >&5
57990 eval "$as_ac_var=no"
57992 rm -f conftest.err conftest.$ac_objext \
57993 conftest$ac_exeext conftest.$ac_ext
57995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57997 if test `eval echo '${'$as_ac_var'}'` = yes; then
57998 cat >>confdefs.h <<_ACEOF
57999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58000 _ACEOF
58003 done
58005 else
58007 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58008 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58009 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58010 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58011 echo $ECHO_N "(cached) $ECHO_C" >&6
58012 else
58016 ac_ext=cc
58017 ac_cpp='$CXXCPP $CPPFLAGS'
58018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58022 cat >conftest.$ac_ext <<_ACEOF
58023 /* confdefs.h. */
58024 _ACEOF
58025 cat confdefs.h >>conftest.$ac_ext
58026 cat >>conftest.$ac_ext <<_ACEOF
58027 /* end confdefs.h. */
58028 #include <math.h>
58030 main ()
58032 _ldexpl(0, 0);
58034 return 0;
58036 _ACEOF
58037 rm -f conftest.$ac_objext
58038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58039 (eval $ac_compile) 2>conftest.er1
58040 ac_status=$?
58041 grep -v '^ *+' conftest.er1 >conftest.err
58042 rm -f conftest.er1
58043 cat conftest.err >&5
58044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045 (exit $ac_status); } &&
58046 { ac_try='test -z "$ac_cxx_werror_flag"
58047 || test ! -s conftest.err'
58048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58049 (eval $ac_try) 2>&5
58050 ac_status=$?
58051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58052 (exit $ac_status); }; } &&
58053 { ac_try='test -s conftest.$ac_objext'
58054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58055 (eval $ac_try) 2>&5
58056 ac_status=$?
58057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58058 (exit $ac_status); }; }; then
58059 glibcxx_cv_func__ldexpl_use=yes
58060 else
58061 echo "$as_me: failed program was:" >&5
58062 sed 's/^/| /' conftest.$ac_ext >&5
58064 glibcxx_cv_func__ldexpl_use=no
58066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58067 ac_ext=c
58068 ac_cpp='$CPP $CPPFLAGS'
58069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58078 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58080 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58082 for ac_func in _ldexpl
58084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58085 echo "$as_me:$LINENO: checking for $ac_func" >&5
58086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58087 if eval "test \"\${$as_ac_var+set}\" = set"; then
58088 echo $ECHO_N "(cached) $ECHO_C" >&6
58089 else
58090 if test x$gcc_no_link = xyes; then
58091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58093 { (exit 1); exit 1; }; }
58095 cat >conftest.$ac_ext <<_ACEOF
58096 /* confdefs.h. */
58097 _ACEOF
58098 cat confdefs.h >>conftest.$ac_ext
58099 cat >>conftest.$ac_ext <<_ACEOF
58100 /* end confdefs.h. */
58101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58103 #define $ac_func innocuous_$ac_func
58105 /* System header to define __stub macros and hopefully few prototypes,
58106 which can conflict with char $ac_func (); below.
58107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58108 <limits.h> exists even on freestanding compilers. */
58110 #ifdef __STDC__
58111 # include <limits.h>
58112 #else
58113 # include <assert.h>
58114 #endif
58116 #undef $ac_func
58118 /* Override any gcc2 internal prototype to avoid an error. */
58119 #ifdef __cplusplus
58120 extern "C"
58122 #endif
58123 /* We use char because int might match the return type of a gcc2
58124 builtin and then its argument prototype would still apply. */
58125 char $ac_func ();
58126 /* The GNU C library defines this for functions which it implements
58127 to always fail with ENOSYS. Some functions are actually named
58128 something starting with __ and the normal name is an alias. */
58129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58130 choke me
58131 #else
58132 char (*f) () = $ac_func;
58133 #endif
58134 #ifdef __cplusplus
58136 #endif
58139 main ()
58141 return f != $ac_func;
58143 return 0;
58145 _ACEOF
58146 rm -f conftest.$ac_objext conftest$ac_exeext
58147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58148 (eval $ac_link) 2>conftest.er1
58149 ac_status=$?
58150 grep -v '^ *+' conftest.er1 >conftest.err
58151 rm -f conftest.er1
58152 cat conftest.err >&5
58153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58154 (exit $ac_status); } &&
58155 { ac_try='test -z "$ac_c_werror_flag"
58156 || test ! -s conftest.err'
58157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58158 (eval $ac_try) 2>&5
58159 ac_status=$?
58160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58161 (exit $ac_status); }; } &&
58162 { ac_try='test -s conftest$ac_exeext'
58163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58164 (eval $ac_try) 2>&5
58165 ac_status=$?
58166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58167 (exit $ac_status); }; }; then
58168 eval "$as_ac_var=yes"
58169 else
58170 echo "$as_me: failed program was:" >&5
58171 sed 's/^/| /' conftest.$ac_ext >&5
58173 eval "$as_ac_var=no"
58175 rm -f conftest.err conftest.$ac_objext \
58176 conftest$ac_exeext conftest.$ac_ext
58178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58180 if test `eval echo '${'$as_ac_var'}'` = yes; then
58181 cat >>confdefs.h <<_ACEOF
58182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58183 _ACEOF
58186 done
58196 echo "$as_me:$LINENO: checking for logl declaration" >&5
58197 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58198 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58199 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58200 echo $ECHO_N "(cached) $ECHO_C" >&6
58201 else
58205 ac_ext=cc
58206 ac_cpp='$CXXCPP $CPPFLAGS'
58207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58211 cat >conftest.$ac_ext <<_ACEOF
58212 /* confdefs.h. */
58213 _ACEOF
58214 cat confdefs.h >>conftest.$ac_ext
58215 cat >>conftest.$ac_ext <<_ACEOF
58216 /* end confdefs.h. */
58217 #include <math.h>
58218 #ifdef HAVE_IEEEFP_H
58219 #include <ieeefp.h>
58220 #endif
58223 main ()
58225 logl(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_logl_use=yes
58253 else
58254 echo "$as_me: failed program was:" >&5
58255 sed 's/^/| /' conftest.$ac_ext >&5
58257 glibcxx_cv_func_logl_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_logl_use" >&5
58271 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58273 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58275 for ac_func in logl
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
58381 else
58383 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58384 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58385 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58386 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58387 echo $ECHO_N "(cached) $ECHO_C" >&6
58388 else
58392 ac_ext=cc
58393 ac_cpp='$CXXCPP $CPPFLAGS'
58394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58398 cat >conftest.$ac_ext <<_ACEOF
58399 /* confdefs.h. */
58400 _ACEOF
58401 cat confdefs.h >>conftest.$ac_ext
58402 cat >>conftest.$ac_ext <<_ACEOF
58403 /* end confdefs.h. */
58404 #include <math.h>
58405 #ifdef HAVE_IEEEFP_H
58406 #include <ieeefp.h>
58407 #endif
58410 main ()
58412 _logl(0);
58414 return 0;
58416 _ACEOF
58417 rm -f conftest.$ac_objext
58418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58419 (eval $ac_compile) 2>conftest.er1
58420 ac_status=$?
58421 grep -v '^ *+' conftest.er1 >conftest.err
58422 rm -f conftest.er1
58423 cat conftest.err >&5
58424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58425 (exit $ac_status); } &&
58426 { ac_try='test -z "$ac_cxx_werror_flag"
58427 || test ! -s conftest.err'
58428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58429 (eval $ac_try) 2>&5
58430 ac_status=$?
58431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58432 (exit $ac_status); }; } &&
58433 { ac_try='test -s conftest.$ac_objext'
58434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58435 (eval $ac_try) 2>&5
58436 ac_status=$?
58437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58438 (exit $ac_status); }; }; then
58439 glibcxx_cv_func__logl_use=yes
58440 else
58441 echo "$as_me: failed program was:" >&5
58442 sed 's/^/| /' conftest.$ac_ext >&5
58444 glibcxx_cv_func__logl_use=no
58446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58447 ac_ext=c
58448 ac_cpp='$CPP $CPPFLAGS'
58449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58458 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58460 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58462 for ac_func in _logl
58464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58465 echo "$as_me:$LINENO: checking for $ac_func" >&5
58466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58467 if eval "test \"\${$as_ac_var+set}\" = set"; then
58468 echo $ECHO_N "(cached) $ECHO_C" >&6
58469 else
58470 if test x$gcc_no_link = xyes; then
58471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58473 { (exit 1); exit 1; }; }
58475 cat >conftest.$ac_ext <<_ACEOF
58476 /* confdefs.h. */
58477 _ACEOF
58478 cat confdefs.h >>conftest.$ac_ext
58479 cat >>conftest.$ac_ext <<_ACEOF
58480 /* end confdefs.h. */
58481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58483 #define $ac_func innocuous_$ac_func
58485 /* System header to define __stub macros and hopefully few prototypes,
58486 which can conflict with char $ac_func (); below.
58487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58488 <limits.h> exists even on freestanding compilers. */
58490 #ifdef __STDC__
58491 # include <limits.h>
58492 #else
58493 # include <assert.h>
58494 #endif
58496 #undef $ac_func
58498 /* Override any gcc2 internal prototype to avoid an error. */
58499 #ifdef __cplusplus
58500 extern "C"
58502 #endif
58503 /* We use char because int might match the return type of a gcc2
58504 builtin and then its argument prototype would still apply. */
58505 char $ac_func ();
58506 /* The GNU C library defines this for functions which it implements
58507 to always fail with ENOSYS. Some functions are actually named
58508 something starting with __ and the normal name is an alias. */
58509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58510 choke me
58511 #else
58512 char (*f) () = $ac_func;
58513 #endif
58514 #ifdef __cplusplus
58516 #endif
58519 main ()
58521 return f != $ac_func;
58523 return 0;
58525 _ACEOF
58526 rm -f conftest.$ac_objext conftest$ac_exeext
58527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58528 (eval $ac_link) 2>conftest.er1
58529 ac_status=$?
58530 grep -v '^ *+' conftest.er1 >conftest.err
58531 rm -f conftest.er1
58532 cat conftest.err >&5
58533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58534 (exit $ac_status); } &&
58535 { ac_try='test -z "$ac_c_werror_flag"
58536 || test ! -s conftest.err'
58537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58538 (eval $ac_try) 2>&5
58539 ac_status=$?
58540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58541 (exit $ac_status); }; } &&
58542 { ac_try='test -s conftest$ac_exeext'
58543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58544 (eval $ac_try) 2>&5
58545 ac_status=$?
58546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58547 (exit $ac_status); }; }; then
58548 eval "$as_ac_var=yes"
58549 else
58550 echo "$as_me: failed program was:" >&5
58551 sed 's/^/| /' conftest.$ac_ext >&5
58553 eval "$as_ac_var=no"
58555 rm -f conftest.err conftest.$ac_objext \
58556 conftest$ac_exeext conftest.$ac_ext
58558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58560 if test `eval echo '${'$as_ac_var'}'` = yes; then
58561 cat >>confdefs.h <<_ACEOF
58562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58563 _ACEOF
58566 done
58576 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58577 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58578 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58579 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58580 echo $ECHO_N "(cached) $ECHO_C" >&6
58581 else
58585 ac_ext=cc
58586 ac_cpp='$CXXCPP $CPPFLAGS'
58587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58591 cat >conftest.$ac_ext <<_ACEOF
58592 /* confdefs.h. */
58593 _ACEOF
58594 cat confdefs.h >>conftest.$ac_ext
58595 cat >>conftest.$ac_ext <<_ACEOF
58596 /* end confdefs.h. */
58597 #include <math.h>
58598 #ifdef HAVE_IEEEFP_H
58599 #include <ieeefp.h>
58600 #endif
58603 main ()
58605 log10l(0);
58607 return 0;
58609 _ACEOF
58610 rm -f conftest.$ac_objext
58611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58612 (eval $ac_compile) 2>conftest.er1
58613 ac_status=$?
58614 grep -v '^ *+' conftest.er1 >conftest.err
58615 rm -f conftest.er1
58616 cat conftest.err >&5
58617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618 (exit $ac_status); } &&
58619 { ac_try='test -z "$ac_cxx_werror_flag"
58620 || test ! -s conftest.err'
58621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58622 (eval $ac_try) 2>&5
58623 ac_status=$?
58624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58625 (exit $ac_status); }; } &&
58626 { ac_try='test -s conftest.$ac_objext'
58627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58628 (eval $ac_try) 2>&5
58629 ac_status=$?
58630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58631 (exit $ac_status); }; }; then
58632 glibcxx_cv_func_log10l_use=yes
58633 else
58634 echo "$as_me: failed program was:" >&5
58635 sed 's/^/| /' conftest.$ac_ext >&5
58637 glibcxx_cv_func_log10l_use=no
58639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58640 ac_ext=c
58641 ac_cpp='$CPP $CPPFLAGS'
58642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58651 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58655 for ac_func in log10l
58657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58658 echo "$as_me:$LINENO: checking for $ac_func" >&5
58659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58660 if eval "test \"\${$as_ac_var+set}\" = set"; then
58661 echo $ECHO_N "(cached) $ECHO_C" >&6
58662 else
58663 if test x$gcc_no_link = xyes; then
58664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58666 { (exit 1); exit 1; }; }
58668 cat >conftest.$ac_ext <<_ACEOF
58669 /* confdefs.h. */
58670 _ACEOF
58671 cat confdefs.h >>conftest.$ac_ext
58672 cat >>conftest.$ac_ext <<_ACEOF
58673 /* end confdefs.h. */
58674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58676 #define $ac_func innocuous_$ac_func
58678 /* System header to define __stub macros and hopefully few prototypes,
58679 which can conflict with char $ac_func (); below.
58680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58681 <limits.h> exists even on freestanding compilers. */
58683 #ifdef __STDC__
58684 # include <limits.h>
58685 #else
58686 # include <assert.h>
58687 #endif
58689 #undef $ac_func
58691 /* Override any gcc2 internal prototype to avoid an error. */
58692 #ifdef __cplusplus
58693 extern "C"
58695 #endif
58696 /* We use char because int might match the return type of a gcc2
58697 builtin and then its argument prototype would still apply. */
58698 char $ac_func ();
58699 /* The GNU C library defines this for functions which it implements
58700 to always fail with ENOSYS. Some functions are actually named
58701 something starting with __ and the normal name is an alias. */
58702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58703 choke me
58704 #else
58705 char (*f) () = $ac_func;
58706 #endif
58707 #ifdef __cplusplus
58709 #endif
58712 main ()
58714 return f != $ac_func;
58716 return 0;
58718 _ACEOF
58719 rm -f conftest.$ac_objext conftest$ac_exeext
58720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58721 (eval $ac_link) 2>conftest.er1
58722 ac_status=$?
58723 grep -v '^ *+' conftest.er1 >conftest.err
58724 rm -f conftest.er1
58725 cat conftest.err >&5
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); } &&
58728 { ac_try='test -z "$ac_c_werror_flag"
58729 || test ! -s conftest.err'
58730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58731 (eval $ac_try) 2>&5
58732 ac_status=$?
58733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58734 (exit $ac_status); }; } &&
58735 { ac_try='test -s conftest$ac_exeext'
58736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58737 (eval $ac_try) 2>&5
58738 ac_status=$?
58739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58740 (exit $ac_status); }; }; then
58741 eval "$as_ac_var=yes"
58742 else
58743 echo "$as_me: failed program was:" >&5
58744 sed 's/^/| /' conftest.$ac_ext >&5
58746 eval "$as_ac_var=no"
58748 rm -f conftest.err conftest.$ac_objext \
58749 conftest$ac_exeext conftest.$ac_ext
58751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58753 if test `eval echo '${'$as_ac_var'}'` = yes; then
58754 cat >>confdefs.h <<_ACEOF
58755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58756 _ACEOF
58759 done
58761 else
58763 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58764 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58765 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58766 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58767 echo $ECHO_N "(cached) $ECHO_C" >&6
58768 else
58772 ac_ext=cc
58773 ac_cpp='$CXXCPP $CPPFLAGS'
58774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58778 cat >conftest.$ac_ext <<_ACEOF
58779 /* confdefs.h. */
58780 _ACEOF
58781 cat confdefs.h >>conftest.$ac_ext
58782 cat >>conftest.$ac_ext <<_ACEOF
58783 /* end confdefs.h. */
58784 #include <math.h>
58785 #ifdef HAVE_IEEEFP_H
58786 #include <ieeefp.h>
58787 #endif
58790 main ()
58792 _log10l(0);
58794 return 0;
58796 _ACEOF
58797 rm -f conftest.$ac_objext
58798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58799 (eval $ac_compile) 2>conftest.er1
58800 ac_status=$?
58801 grep -v '^ *+' conftest.er1 >conftest.err
58802 rm -f conftest.er1
58803 cat conftest.err >&5
58804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58805 (exit $ac_status); } &&
58806 { ac_try='test -z "$ac_cxx_werror_flag"
58807 || test ! -s conftest.err'
58808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58809 (eval $ac_try) 2>&5
58810 ac_status=$?
58811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58812 (exit $ac_status); }; } &&
58813 { ac_try='test -s conftest.$ac_objext'
58814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58815 (eval $ac_try) 2>&5
58816 ac_status=$?
58817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58818 (exit $ac_status); }; }; then
58819 glibcxx_cv_func__log10l_use=yes
58820 else
58821 echo "$as_me: failed program was:" >&5
58822 sed 's/^/| /' conftest.$ac_ext >&5
58824 glibcxx_cv_func__log10l_use=no
58826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58827 ac_ext=c
58828 ac_cpp='$CPP $CPPFLAGS'
58829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58838 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58840 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58842 for ac_func in _log10l
58844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58845 echo "$as_me:$LINENO: checking for $ac_func" >&5
58846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58847 if eval "test \"\${$as_ac_var+set}\" = set"; then
58848 echo $ECHO_N "(cached) $ECHO_C" >&6
58849 else
58850 if test x$gcc_no_link = xyes; then
58851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58853 { (exit 1); exit 1; }; }
58855 cat >conftest.$ac_ext <<_ACEOF
58856 /* confdefs.h. */
58857 _ACEOF
58858 cat confdefs.h >>conftest.$ac_ext
58859 cat >>conftest.$ac_ext <<_ACEOF
58860 /* end confdefs.h. */
58861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58863 #define $ac_func innocuous_$ac_func
58865 /* System header to define __stub macros and hopefully few prototypes,
58866 which can conflict with char $ac_func (); below.
58867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58868 <limits.h> exists even on freestanding compilers. */
58870 #ifdef __STDC__
58871 # include <limits.h>
58872 #else
58873 # include <assert.h>
58874 #endif
58876 #undef $ac_func
58878 /* Override any gcc2 internal prototype to avoid an error. */
58879 #ifdef __cplusplus
58880 extern "C"
58882 #endif
58883 /* We use char because int might match the return type of a gcc2
58884 builtin and then its argument prototype would still apply. */
58885 char $ac_func ();
58886 /* The GNU C library defines this for functions which it implements
58887 to always fail with ENOSYS. Some functions are actually named
58888 something starting with __ and the normal name is an alias. */
58889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58890 choke me
58891 #else
58892 char (*f) () = $ac_func;
58893 #endif
58894 #ifdef __cplusplus
58896 #endif
58899 main ()
58901 return f != $ac_func;
58903 return 0;
58905 _ACEOF
58906 rm -f conftest.$ac_objext conftest$ac_exeext
58907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58908 (eval $ac_link) 2>conftest.er1
58909 ac_status=$?
58910 grep -v '^ *+' conftest.er1 >conftest.err
58911 rm -f conftest.er1
58912 cat conftest.err >&5
58913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914 (exit $ac_status); } &&
58915 { ac_try='test -z "$ac_c_werror_flag"
58916 || test ! -s conftest.err'
58917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58918 (eval $ac_try) 2>&5
58919 ac_status=$?
58920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58921 (exit $ac_status); }; } &&
58922 { ac_try='test -s conftest$ac_exeext'
58923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58924 (eval $ac_try) 2>&5
58925 ac_status=$?
58926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58927 (exit $ac_status); }; }; then
58928 eval "$as_ac_var=yes"
58929 else
58930 echo "$as_me: failed program was:" >&5
58931 sed 's/^/| /' conftest.$ac_ext >&5
58933 eval "$as_ac_var=no"
58935 rm -f conftest.err conftest.$ac_objext \
58936 conftest$ac_exeext conftest.$ac_ext
58938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58940 if test `eval echo '${'$as_ac_var'}'` = yes; then
58941 cat >>confdefs.h <<_ACEOF
58942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58943 _ACEOF
58946 done
58956 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58957 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58958 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58959 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58960 echo $ECHO_N "(cached) $ECHO_C" >&6
58961 else
58965 ac_ext=cc
58966 ac_cpp='$CXXCPP $CPPFLAGS'
58967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58971 cat >conftest.$ac_ext <<_ACEOF
58972 /* confdefs.h. */
58973 _ACEOF
58974 cat confdefs.h >>conftest.$ac_ext
58975 cat >>conftest.$ac_ext <<_ACEOF
58976 /* end confdefs.h. */
58977 #include <math.h>
58979 main ()
58981 modfl(0, 0);
58983 return 0;
58985 _ACEOF
58986 rm -f conftest.$ac_objext
58987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58988 (eval $ac_compile) 2>conftest.er1
58989 ac_status=$?
58990 grep -v '^ *+' conftest.er1 >conftest.err
58991 rm -f conftest.er1
58992 cat conftest.err >&5
58993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58994 (exit $ac_status); } &&
58995 { ac_try='test -z "$ac_cxx_werror_flag"
58996 || test ! -s conftest.err'
58997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58998 (eval $ac_try) 2>&5
58999 ac_status=$?
59000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59001 (exit $ac_status); }; } &&
59002 { ac_try='test -s conftest.$ac_objext'
59003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59004 (eval $ac_try) 2>&5
59005 ac_status=$?
59006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59007 (exit $ac_status); }; }; then
59008 glibcxx_cv_func_modfl_use=yes
59009 else
59010 echo "$as_me: failed program was:" >&5
59011 sed 's/^/| /' conftest.$ac_ext >&5
59013 glibcxx_cv_func_modfl_use=no
59015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59016 ac_ext=c
59017 ac_cpp='$CPP $CPPFLAGS'
59018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59027 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59029 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59031 for ac_func in modfl
59033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59034 echo "$as_me:$LINENO: checking for $ac_func" >&5
59035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59036 if eval "test \"\${$as_ac_var+set}\" = set"; then
59037 echo $ECHO_N "(cached) $ECHO_C" >&6
59038 else
59039 if test x$gcc_no_link = xyes; then
59040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59042 { (exit 1); exit 1; }; }
59044 cat >conftest.$ac_ext <<_ACEOF
59045 /* confdefs.h. */
59046 _ACEOF
59047 cat confdefs.h >>conftest.$ac_ext
59048 cat >>conftest.$ac_ext <<_ACEOF
59049 /* end confdefs.h. */
59050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59052 #define $ac_func innocuous_$ac_func
59054 /* System header to define __stub macros and hopefully few prototypes,
59055 which can conflict with char $ac_func (); below.
59056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59057 <limits.h> exists even on freestanding compilers. */
59059 #ifdef __STDC__
59060 # include <limits.h>
59061 #else
59062 # include <assert.h>
59063 #endif
59065 #undef $ac_func
59067 /* Override any gcc2 internal prototype to avoid an error. */
59068 #ifdef __cplusplus
59069 extern "C"
59071 #endif
59072 /* We use char because int might match the return type of a gcc2
59073 builtin and then its argument prototype would still apply. */
59074 char $ac_func ();
59075 /* The GNU C library defines this for functions which it implements
59076 to always fail with ENOSYS. Some functions are actually named
59077 something starting with __ and the normal name is an alias. */
59078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59079 choke me
59080 #else
59081 char (*f) () = $ac_func;
59082 #endif
59083 #ifdef __cplusplus
59085 #endif
59088 main ()
59090 return f != $ac_func;
59092 return 0;
59094 _ACEOF
59095 rm -f conftest.$ac_objext conftest$ac_exeext
59096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59097 (eval $ac_link) 2>conftest.er1
59098 ac_status=$?
59099 grep -v '^ *+' conftest.er1 >conftest.err
59100 rm -f conftest.er1
59101 cat conftest.err >&5
59102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59103 (exit $ac_status); } &&
59104 { ac_try='test -z "$ac_c_werror_flag"
59105 || test ! -s conftest.err'
59106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59107 (eval $ac_try) 2>&5
59108 ac_status=$?
59109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59110 (exit $ac_status); }; } &&
59111 { ac_try='test -s conftest$ac_exeext'
59112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59113 (eval $ac_try) 2>&5
59114 ac_status=$?
59115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59116 (exit $ac_status); }; }; then
59117 eval "$as_ac_var=yes"
59118 else
59119 echo "$as_me: failed program was:" >&5
59120 sed 's/^/| /' conftest.$ac_ext >&5
59122 eval "$as_ac_var=no"
59124 rm -f conftest.err conftest.$ac_objext \
59125 conftest$ac_exeext conftest.$ac_ext
59127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59129 if test `eval echo '${'$as_ac_var'}'` = yes; then
59130 cat >>confdefs.h <<_ACEOF
59131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59132 _ACEOF
59135 done
59137 else
59139 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59140 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59141 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59142 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59143 echo $ECHO_N "(cached) $ECHO_C" >&6
59144 else
59148 ac_ext=cc
59149 ac_cpp='$CXXCPP $CPPFLAGS'
59150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59154 cat >conftest.$ac_ext <<_ACEOF
59155 /* confdefs.h. */
59156 _ACEOF
59157 cat confdefs.h >>conftest.$ac_ext
59158 cat >>conftest.$ac_ext <<_ACEOF
59159 /* end confdefs.h. */
59160 #include <math.h>
59162 main ()
59164 _modfl(0, 0);
59166 return 0;
59168 _ACEOF
59169 rm -f conftest.$ac_objext
59170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59171 (eval $ac_compile) 2>conftest.er1
59172 ac_status=$?
59173 grep -v '^ *+' conftest.er1 >conftest.err
59174 rm -f conftest.er1
59175 cat conftest.err >&5
59176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59177 (exit $ac_status); } &&
59178 { ac_try='test -z "$ac_cxx_werror_flag"
59179 || test ! -s conftest.err'
59180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59181 (eval $ac_try) 2>&5
59182 ac_status=$?
59183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59184 (exit $ac_status); }; } &&
59185 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
59191 glibcxx_cv_func__modfl_use=yes
59192 else
59193 echo "$as_me: failed program was:" >&5
59194 sed 's/^/| /' conftest.$ac_ext >&5
59196 glibcxx_cv_func__modfl_use=no
59198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59199 ac_ext=c
59200 ac_cpp='$CPP $CPPFLAGS'
59201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59210 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59212 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59214 for ac_func in _modfl
59216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59217 echo "$as_me:$LINENO: checking for $ac_func" >&5
59218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59219 if eval "test \"\${$as_ac_var+set}\" = set"; then
59220 echo $ECHO_N "(cached) $ECHO_C" >&6
59221 else
59222 if test x$gcc_no_link = xyes; then
59223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59225 { (exit 1); exit 1; }; }
59227 cat >conftest.$ac_ext <<_ACEOF
59228 /* confdefs.h. */
59229 _ACEOF
59230 cat confdefs.h >>conftest.$ac_ext
59231 cat >>conftest.$ac_ext <<_ACEOF
59232 /* end confdefs.h. */
59233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59235 #define $ac_func innocuous_$ac_func
59237 /* System header to define __stub macros and hopefully few prototypes,
59238 which can conflict with char $ac_func (); below.
59239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59240 <limits.h> exists even on freestanding compilers. */
59242 #ifdef __STDC__
59243 # include <limits.h>
59244 #else
59245 # include <assert.h>
59246 #endif
59248 #undef $ac_func
59250 /* Override any gcc2 internal prototype to avoid an error. */
59251 #ifdef __cplusplus
59252 extern "C"
59254 #endif
59255 /* We use char because int might match the return type of a gcc2
59256 builtin and then its argument prototype would still apply. */
59257 char $ac_func ();
59258 /* The GNU C library defines this for functions which it implements
59259 to always fail with ENOSYS. Some functions are actually named
59260 something starting with __ and the normal name is an alias. */
59261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59262 choke me
59263 #else
59264 char (*f) () = $ac_func;
59265 #endif
59266 #ifdef __cplusplus
59268 #endif
59271 main ()
59273 return f != $ac_func;
59275 return 0;
59277 _ACEOF
59278 rm -f conftest.$ac_objext conftest$ac_exeext
59279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59280 (eval $ac_link) 2>conftest.er1
59281 ac_status=$?
59282 grep -v '^ *+' conftest.er1 >conftest.err
59283 rm -f conftest.er1
59284 cat conftest.err >&5
59285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59286 (exit $ac_status); } &&
59287 { ac_try='test -z "$ac_c_werror_flag"
59288 || test ! -s conftest.err'
59289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59290 (eval $ac_try) 2>&5
59291 ac_status=$?
59292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59293 (exit $ac_status); }; } &&
59294 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
59300 eval "$as_ac_var=yes"
59301 else
59302 echo "$as_me: failed program was:" >&5
59303 sed 's/^/| /' conftest.$ac_ext >&5
59305 eval "$as_ac_var=no"
59307 rm -f conftest.err conftest.$ac_objext \
59308 conftest$ac_exeext conftest.$ac_ext
59310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59312 if test `eval echo '${'$as_ac_var'}'` = yes; then
59313 cat >>confdefs.h <<_ACEOF
59314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59315 _ACEOF
59318 done
59328 echo "$as_me:$LINENO: checking for powl declaration" >&5
59329 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59330 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59331 if test "${glibcxx_cv_func_powl_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>
59351 main ()
59353 powl(0, 0);
59355 return 0;
59357 _ACEOF
59358 rm -f conftest.$ac_objext
59359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59360 (eval $ac_compile) 2>conftest.er1
59361 ac_status=$?
59362 grep -v '^ *+' conftest.er1 >conftest.err
59363 rm -f conftest.er1
59364 cat conftest.err >&5
59365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59366 (exit $ac_status); } &&
59367 { ac_try='test -z "$ac_cxx_werror_flag"
59368 || test ! -s conftest.err'
59369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59370 (eval $ac_try) 2>&5
59371 ac_status=$?
59372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59373 (exit $ac_status); }; } &&
59374 { ac_try='test -s conftest.$ac_objext'
59375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59376 (eval $ac_try) 2>&5
59377 ac_status=$?
59378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59379 (exit $ac_status); }; }; then
59380 glibcxx_cv_func_powl_use=yes
59381 else
59382 echo "$as_me: failed program was:" >&5
59383 sed 's/^/| /' conftest.$ac_ext >&5
59385 glibcxx_cv_func_powl_use=no
59387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59388 ac_ext=c
59389 ac_cpp='$CPP $CPPFLAGS'
59390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59399 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59401 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59403 for ac_func in powl
59405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59406 echo "$as_me:$LINENO: checking for $ac_func" >&5
59407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59408 if eval "test \"\${$as_ac_var+set}\" = set"; then
59409 echo $ECHO_N "(cached) $ECHO_C" >&6
59410 else
59411 if test x$gcc_no_link = xyes; then
59412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59414 { (exit 1); exit 1; }; }
59416 cat >conftest.$ac_ext <<_ACEOF
59417 /* confdefs.h. */
59418 _ACEOF
59419 cat confdefs.h >>conftest.$ac_ext
59420 cat >>conftest.$ac_ext <<_ACEOF
59421 /* end confdefs.h. */
59422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59424 #define $ac_func innocuous_$ac_func
59426 /* System header to define __stub macros and hopefully few prototypes,
59427 which can conflict with char $ac_func (); below.
59428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59429 <limits.h> exists even on freestanding compilers. */
59431 #ifdef __STDC__
59432 # include <limits.h>
59433 #else
59434 # include <assert.h>
59435 #endif
59437 #undef $ac_func
59439 /* Override any gcc2 internal prototype to avoid an error. */
59440 #ifdef __cplusplus
59441 extern "C"
59443 #endif
59444 /* We use char because int might match the return type of a gcc2
59445 builtin and then its argument prototype would still apply. */
59446 char $ac_func ();
59447 /* The GNU C library defines this for functions which it implements
59448 to always fail with ENOSYS. Some functions are actually named
59449 something starting with __ and the normal name is an alias. */
59450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59451 choke me
59452 #else
59453 char (*f) () = $ac_func;
59454 #endif
59455 #ifdef __cplusplus
59457 #endif
59460 main ()
59462 return f != $ac_func;
59464 return 0;
59466 _ACEOF
59467 rm -f conftest.$ac_objext conftest$ac_exeext
59468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59469 (eval $ac_link) 2>conftest.er1
59470 ac_status=$?
59471 grep -v '^ *+' conftest.er1 >conftest.err
59472 rm -f conftest.er1
59473 cat conftest.err >&5
59474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59475 (exit $ac_status); } &&
59476 { ac_try='test -z "$ac_c_werror_flag"
59477 || test ! -s conftest.err'
59478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59479 (eval $ac_try) 2>&5
59480 ac_status=$?
59481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59482 (exit $ac_status); }; } &&
59483 { ac_try='test -s conftest$ac_exeext'
59484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59485 (eval $ac_try) 2>&5
59486 ac_status=$?
59487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59488 (exit $ac_status); }; }; then
59489 eval "$as_ac_var=yes"
59490 else
59491 echo "$as_me: failed program was:" >&5
59492 sed 's/^/| /' conftest.$ac_ext >&5
59494 eval "$as_ac_var=no"
59496 rm -f conftest.err conftest.$ac_objext \
59497 conftest$ac_exeext conftest.$ac_ext
59499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59501 if test `eval echo '${'$as_ac_var'}'` = yes; then
59502 cat >>confdefs.h <<_ACEOF
59503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59504 _ACEOF
59507 done
59509 else
59511 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59512 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59513 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59514 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59515 echo $ECHO_N "(cached) $ECHO_C" >&6
59516 else
59520 ac_ext=cc
59521 ac_cpp='$CXXCPP $CPPFLAGS'
59522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59526 cat >conftest.$ac_ext <<_ACEOF
59527 /* confdefs.h. */
59528 _ACEOF
59529 cat confdefs.h >>conftest.$ac_ext
59530 cat >>conftest.$ac_ext <<_ACEOF
59531 /* end confdefs.h. */
59532 #include <math.h>
59534 main ()
59536 _powl(0, 0);
59538 return 0;
59540 _ACEOF
59541 rm -f conftest.$ac_objext
59542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59543 (eval $ac_compile) 2>conftest.er1
59544 ac_status=$?
59545 grep -v '^ *+' conftest.er1 >conftest.err
59546 rm -f conftest.er1
59547 cat conftest.err >&5
59548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59549 (exit $ac_status); } &&
59550 { ac_try='test -z "$ac_cxx_werror_flag"
59551 || test ! -s conftest.err'
59552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59553 (eval $ac_try) 2>&5
59554 ac_status=$?
59555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59556 (exit $ac_status); }; } &&
59557 { ac_try='test -s conftest.$ac_objext'
59558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59559 (eval $ac_try) 2>&5
59560 ac_status=$?
59561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59562 (exit $ac_status); }; }; then
59563 glibcxx_cv_func__powl_use=yes
59564 else
59565 echo "$as_me: failed program was:" >&5
59566 sed 's/^/| /' conftest.$ac_ext >&5
59568 glibcxx_cv_func__powl_use=no
59570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59571 ac_ext=c
59572 ac_cpp='$CPP $CPPFLAGS'
59573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59582 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59584 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59586 for ac_func in _powl
59588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59589 echo "$as_me:$LINENO: checking for $ac_func" >&5
59590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59591 if eval "test \"\${$as_ac_var+set}\" = set"; then
59592 echo $ECHO_N "(cached) $ECHO_C" >&6
59593 else
59594 if test x$gcc_no_link = xyes; then
59595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59597 { (exit 1); exit 1; }; }
59599 cat >conftest.$ac_ext <<_ACEOF
59600 /* confdefs.h. */
59601 _ACEOF
59602 cat confdefs.h >>conftest.$ac_ext
59603 cat >>conftest.$ac_ext <<_ACEOF
59604 /* end confdefs.h. */
59605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59607 #define $ac_func innocuous_$ac_func
59609 /* System header to define __stub macros and hopefully few prototypes,
59610 which can conflict with char $ac_func (); below.
59611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59612 <limits.h> exists even on freestanding compilers. */
59614 #ifdef __STDC__
59615 # include <limits.h>
59616 #else
59617 # include <assert.h>
59618 #endif
59620 #undef $ac_func
59622 /* Override any gcc2 internal prototype to avoid an error. */
59623 #ifdef __cplusplus
59624 extern "C"
59626 #endif
59627 /* We use char because int might match the return type of a gcc2
59628 builtin and then its argument prototype would still apply. */
59629 char $ac_func ();
59630 /* The GNU C library defines this for functions which it implements
59631 to always fail with ENOSYS. Some functions are actually named
59632 something starting with __ and the normal name is an alias. */
59633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59634 choke me
59635 #else
59636 char (*f) () = $ac_func;
59637 #endif
59638 #ifdef __cplusplus
59640 #endif
59643 main ()
59645 return f != $ac_func;
59647 return 0;
59649 _ACEOF
59650 rm -f conftest.$ac_objext conftest$ac_exeext
59651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59652 (eval $ac_link) 2>conftest.er1
59653 ac_status=$?
59654 grep -v '^ *+' conftest.er1 >conftest.err
59655 rm -f conftest.er1
59656 cat conftest.err >&5
59657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59658 (exit $ac_status); } &&
59659 { ac_try='test -z "$ac_c_werror_flag"
59660 || test ! -s conftest.err'
59661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59662 (eval $ac_try) 2>&5
59663 ac_status=$?
59664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59665 (exit $ac_status); }; } &&
59666 { ac_try='test -s conftest$ac_exeext'
59667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59668 (eval $ac_try) 2>&5
59669 ac_status=$?
59670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59671 (exit $ac_status); }; }; then
59672 eval "$as_ac_var=yes"
59673 else
59674 echo "$as_me: failed program was:" >&5
59675 sed 's/^/| /' conftest.$ac_ext >&5
59677 eval "$as_ac_var=no"
59679 rm -f conftest.err conftest.$ac_objext \
59680 conftest$ac_exeext conftest.$ac_ext
59682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59684 if test `eval echo '${'$as_ac_var'}'` = yes; then
59685 cat >>confdefs.h <<_ACEOF
59686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59687 _ACEOF
59690 done
59700 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59701 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59702 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59703 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59704 echo $ECHO_N "(cached) $ECHO_C" >&6
59705 else
59709 ac_ext=cc
59710 ac_cpp='$CXXCPP $CPPFLAGS'
59711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59715 cat >conftest.$ac_ext <<_ACEOF
59716 /* confdefs.h. */
59717 _ACEOF
59718 cat confdefs.h >>conftest.$ac_ext
59719 cat >>conftest.$ac_ext <<_ACEOF
59720 /* end confdefs.h. */
59721 #include <math.h>
59722 #ifdef HAVE_IEEEFP_H
59723 #include <ieeefp.h>
59724 #endif
59727 main ()
59729 sqrtl(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_sqrtl_use=yes
59757 else
59758 echo "$as_me: failed program was:" >&5
59759 sed 's/^/| /' conftest.$ac_ext >&5
59761 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
59775 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59777 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59779 for ac_func in sqrtl
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
59885 else
59887 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59888 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59889 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59890 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59891 echo $ECHO_N "(cached) $ECHO_C" >&6
59892 else
59896 ac_ext=cc
59897 ac_cpp='$CXXCPP $CPPFLAGS'
59898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59902 cat >conftest.$ac_ext <<_ACEOF
59903 /* confdefs.h. */
59904 _ACEOF
59905 cat confdefs.h >>conftest.$ac_ext
59906 cat >>conftest.$ac_ext <<_ACEOF
59907 /* end confdefs.h. */
59908 #include <math.h>
59909 #ifdef HAVE_IEEEFP_H
59910 #include <ieeefp.h>
59911 #endif
59914 main ()
59916 _sqrtl(0);
59918 return 0;
59920 _ACEOF
59921 rm -f conftest.$ac_objext
59922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59923 (eval $ac_compile) 2>conftest.er1
59924 ac_status=$?
59925 grep -v '^ *+' conftest.er1 >conftest.err
59926 rm -f conftest.er1
59927 cat conftest.err >&5
59928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59929 (exit $ac_status); } &&
59930 { ac_try='test -z "$ac_cxx_werror_flag"
59931 || test ! -s conftest.err'
59932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59933 (eval $ac_try) 2>&5
59934 ac_status=$?
59935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59936 (exit $ac_status); }; } &&
59937 { ac_try='test -s conftest.$ac_objext'
59938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59939 (eval $ac_try) 2>&5
59940 ac_status=$?
59941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59942 (exit $ac_status); }; }; then
59943 glibcxx_cv_func__sqrtl_use=yes
59944 else
59945 echo "$as_me: failed program was:" >&5
59946 sed 's/^/| /' conftest.$ac_ext >&5
59948 glibcxx_cv_func__sqrtl_use=no
59950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59951 ac_ext=c
59952 ac_cpp='$CPP $CPPFLAGS'
59953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59962 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59964 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59966 for ac_func in _sqrtl
59968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59969 echo "$as_me:$LINENO: checking for $ac_func" >&5
59970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59971 if eval "test \"\${$as_ac_var+set}\" = set"; then
59972 echo $ECHO_N "(cached) $ECHO_C" >&6
59973 else
59974 if test x$gcc_no_link = xyes; then
59975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59977 { (exit 1); exit 1; }; }
59979 cat >conftest.$ac_ext <<_ACEOF
59980 /* confdefs.h. */
59981 _ACEOF
59982 cat confdefs.h >>conftest.$ac_ext
59983 cat >>conftest.$ac_ext <<_ACEOF
59984 /* end confdefs.h. */
59985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59987 #define $ac_func innocuous_$ac_func
59989 /* System header to define __stub macros and hopefully few prototypes,
59990 which can conflict with char $ac_func (); below.
59991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59992 <limits.h> exists even on freestanding compilers. */
59994 #ifdef __STDC__
59995 # include <limits.h>
59996 #else
59997 # include <assert.h>
59998 #endif
60000 #undef $ac_func
60002 /* Override any gcc2 internal prototype to avoid an error. */
60003 #ifdef __cplusplus
60004 extern "C"
60006 #endif
60007 /* We use char because int might match the return type of a gcc2
60008 builtin and then its argument prototype would still apply. */
60009 char $ac_func ();
60010 /* The GNU C library defines this for functions which it implements
60011 to always fail with ENOSYS. Some functions are actually named
60012 something starting with __ and the normal name is an alias. */
60013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60014 choke me
60015 #else
60016 char (*f) () = $ac_func;
60017 #endif
60018 #ifdef __cplusplus
60020 #endif
60023 main ()
60025 return f != $ac_func;
60027 return 0;
60029 _ACEOF
60030 rm -f conftest.$ac_objext conftest$ac_exeext
60031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60032 (eval $ac_link) 2>conftest.er1
60033 ac_status=$?
60034 grep -v '^ *+' conftest.er1 >conftest.err
60035 rm -f conftest.er1
60036 cat conftest.err >&5
60037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60038 (exit $ac_status); } &&
60039 { ac_try='test -z "$ac_c_werror_flag"
60040 || test ! -s conftest.err'
60041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60042 (eval $ac_try) 2>&5
60043 ac_status=$?
60044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60045 (exit $ac_status); }; } &&
60046 { ac_try='test -s conftest$ac_exeext'
60047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60048 (eval $ac_try) 2>&5
60049 ac_status=$?
60050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60051 (exit $ac_status); }; }; then
60052 eval "$as_ac_var=yes"
60053 else
60054 echo "$as_me: failed program was:" >&5
60055 sed 's/^/| /' conftest.$ac_ext >&5
60057 eval "$as_ac_var=no"
60059 rm -f conftest.err conftest.$ac_objext \
60060 conftest$ac_exeext conftest.$ac_ext
60062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60064 if test `eval echo '${'$as_ac_var'}'` = yes; then
60065 cat >>confdefs.h <<_ACEOF
60066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60067 _ACEOF
60070 done
60080 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60081 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60082 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60083 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60084 echo $ECHO_N "(cached) $ECHO_C" >&6
60085 else
60089 ac_ext=cc
60090 ac_cpp='$CXXCPP $CPPFLAGS'
60091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60095 cat >conftest.$ac_ext <<_ACEOF
60096 /* confdefs.h. */
60097 _ACEOF
60098 cat confdefs.h >>conftest.$ac_ext
60099 cat >>conftest.$ac_ext <<_ACEOF
60100 /* end confdefs.h. */
60101 #include <math.h>
60103 main ()
60105 sincosl(0, 0, 0);
60107 return 0;
60109 _ACEOF
60110 rm -f conftest.$ac_objext
60111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60112 (eval $ac_compile) 2>conftest.er1
60113 ac_status=$?
60114 grep -v '^ *+' conftest.er1 >conftest.err
60115 rm -f conftest.er1
60116 cat conftest.err >&5
60117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118 (exit $ac_status); } &&
60119 { ac_try='test -z "$ac_cxx_werror_flag"
60120 || test ! -s conftest.err'
60121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60122 (eval $ac_try) 2>&5
60123 ac_status=$?
60124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60125 (exit $ac_status); }; } &&
60126 { ac_try='test -s conftest.$ac_objext'
60127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60128 (eval $ac_try) 2>&5
60129 ac_status=$?
60130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60131 (exit $ac_status); }; }; then
60132 glibcxx_cv_func_sincosl_use=yes
60133 else
60134 echo "$as_me: failed program was:" >&5
60135 sed 's/^/| /' conftest.$ac_ext >&5
60137 glibcxx_cv_func_sincosl_use=no
60139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60140 ac_ext=c
60141 ac_cpp='$CPP $CPPFLAGS'
60142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60151 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60153 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60155 for ac_func in sincosl
60157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60158 echo "$as_me:$LINENO: checking for $ac_func" >&5
60159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60160 if eval "test \"\${$as_ac_var+set}\" = set"; then
60161 echo $ECHO_N "(cached) $ECHO_C" >&6
60162 else
60163 if test x$gcc_no_link = xyes; then
60164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60166 { (exit 1); exit 1; }; }
60168 cat >conftest.$ac_ext <<_ACEOF
60169 /* confdefs.h. */
60170 _ACEOF
60171 cat confdefs.h >>conftest.$ac_ext
60172 cat >>conftest.$ac_ext <<_ACEOF
60173 /* end confdefs.h. */
60174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60176 #define $ac_func innocuous_$ac_func
60178 /* System header to define __stub macros and hopefully few prototypes,
60179 which can conflict with char $ac_func (); below.
60180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60181 <limits.h> exists even on freestanding compilers. */
60183 #ifdef __STDC__
60184 # include <limits.h>
60185 #else
60186 # include <assert.h>
60187 #endif
60189 #undef $ac_func
60191 /* Override any gcc2 internal prototype to avoid an error. */
60192 #ifdef __cplusplus
60193 extern "C"
60195 #endif
60196 /* We use char because int might match the return type of a gcc2
60197 builtin and then its argument prototype would still apply. */
60198 char $ac_func ();
60199 /* The GNU C library defines this for functions which it implements
60200 to always fail with ENOSYS. Some functions are actually named
60201 something starting with __ and the normal name is an alias. */
60202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60203 choke me
60204 #else
60205 char (*f) () = $ac_func;
60206 #endif
60207 #ifdef __cplusplus
60209 #endif
60212 main ()
60214 return f != $ac_func;
60216 return 0;
60218 _ACEOF
60219 rm -f conftest.$ac_objext conftest$ac_exeext
60220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60221 (eval $ac_link) 2>conftest.er1
60222 ac_status=$?
60223 grep -v '^ *+' conftest.er1 >conftest.err
60224 rm -f conftest.er1
60225 cat conftest.err >&5
60226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60227 (exit $ac_status); } &&
60228 { ac_try='test -z "$ac_c_werror_flag"
60229 || test ! -s conftest.err'
60230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60231 (eval $ac_try) 2>&5
60232 ac_status=$?
60233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60234 (exit $ac_status); }; } &&
60235 { ac_try='test -s conftest$ac_exeext'
60236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60237 (eval $ac_try) 2>&5
60238 ac_status=$?
60239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60240 (exit $ac_status); }; }; then
60241 eval "$as_ac_var=yes"
60242 else
60243 echo "$as_me: failed program was:" >&5
60244 sed 's/^/| /' conftest.$ac_ext >&5
60246 eval "$as_ac_var=no"
60248 rm -f conftest.err conftest.$ac_objext \
60249 conftest$ac_exeext conftest.$ac_ext
60251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60253 if test `eval echo '${'$as_ac_var'}'` = yes; then
60254 cat >>confdefs.h <<_ACEOF
60255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60256 _ACEOF
60259 done
60261 else
60263 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60264 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60265 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60266 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60267 echo $ECHO_N "(cached) $ECHO_C" >&6
60268 else
60272 ac_ext=cc
60273 ac_cpp='$CXXCPP $CPPFLAGS'
60274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60278 cat >conftest.$ac_ext <<_ACEOF
60279 /* confdefs.h. */
60280 _ACEOF
60281 cat confdefs.h >>conftest.$ac_ext
60282 cat >>conftest.$ac_ext <<_ACEOF
60283 /* end confdefs.h. */
60284 #include <math.h>
60286 main ()
60288 _sincosl(0, 0, 0);
60290 return 0;
60292 _ACEOF
60293 rm -f conftest.$ac_objext
60294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60295 (eval $ac_compile) 2>conftest.er1
60296 ac_status=$?
60297 grep -v '^ *+' conftest.er1 >conftest.err
60298 rm -f conftest.er1
60299 cat conftest.err >&5
60300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60301 (exit $ac_status); } &&
60302 { ac_try='test -z "$ac_cxx_werror_flag"
60303 || test ! -s conftest.err'
60304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60305 (eval $ac_try) 2>&5
60306 ac_status=$?
60307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60308 (exit $ac_status); }; } &&
60309 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
60315 glibcxx_cv_func__sincosl_use=yes
60316 else
60317 echo "$as_me: failed program was:" >&5
60318 sed 's/^/| /' conftest.$ac_ext >&5
60320 glibcxx_cv_func__sincosl_use=no
60322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60323 ac_ext=c
60324 ac_cpp='$CPP $CPPFLAGS'
60325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60334 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60336 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60338 for ac_func in _sincosl
60340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60341 echo "$as_me:$LINENO: checking for $ac_func" >&5
60342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60343 if eval "test \"\${$as_ac_var+set}\" = set"; then
60344 echo $ECHO_N "(cached) $ECHO_C" >&6
60345 else
60346 if test x$gcc_no_link = xyes; then
60347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60349 { (exit 1); exit 1; }; }
60351 cat >conftest.$ac_ext <<_ACEOF
60352 /* confdefs.h. */
60353 _ACEOF
60354 cat confdefs.h >>conftest.$ac_ext
60355 cat >>conftest.$ac_ext <<_ACEOF
60356 /* end confdefs.h. */
60357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60359 #define $ac_func innocuous_$ac_func
60361 /* System header to define __stub macros and hopefully few prototypes,
60362 which can conflict with char $ac_func (); below.
60363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60364 <limits.h> exists even on freestanding compilers. */
60366 #ifdef __STDC__
60367 # include <limits.h>
60368 #else
60369 # include <assert.h>
60370 #endif
60372 #undef $ac_func
60374 /* Override any gcc2 internal prototype to avoid an error. */
60375 #ifdef __cplusplus
60376 extern "C"
60378 #endif
60379 /* We use char because int might match the return type of a gcc2
60380 builtin and then its argument prototype would still apply. */
60381 char $ac_func ();
60382 /* The GNU C library defines this for functions which it implements
60383 to always fail with ENOSYS. Some functions are actually named
60384 something starting with __ and the normal name is an alias. */
60385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60386 choke me
60387 #else
60388 char (*f) () = $ac_func;
60389 #endif
60390 #ifdef __cplusplus
60392 #endif
60395 main ()
60397 return f != $ac_func;
60399 return 0;
60401 _ACEOF
60402 rm -f conftest.$ac_objext conftest$ac_exeext
60403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60404 (eval $ac_link) 2>conftest.er1
60405 ac_status=$?
60406 grep -v '^ *+' conftest.er1 >conftest.err
60407 rm -f conftest.er1
60408 cat conftest.err >&5
60409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410 (exit $ac_status); } &&
60411 { ac_try='test -z "$ac_c_werror_flag"
60412 || test ! -s conftest.err'
60413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60414 (eval $ac_try) 2>&5
60415 ac_status=$?
60416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60417 (exit $ac_status); }; } &&
60418 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
60424 eval "$as_ac_var=yes"
60425 else
60426 echo "$as_me: failed program was:" >&5
60427 sed 's/^/| /' conftest.$ac_ext >&5
60429 eval "$as_ac_var=no"
60431 rm -f conftest.err conftest.$ac_objext \
60432 conftest$ac_exeext conftest.$ac_ext
60434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60436 if test `eval echo '${'$as_ac_var'}'` = yes; then
60437 cat >>confdefs.h <<_ACEOF
60438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60439 _ACEOF
60442 done
60452 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60453 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60454 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60455 if test "${glibcxx_cv_func_finitel_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 finitel(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_finitel_use=yes
60509 else
60510 echo "$as_me: failed program was:" >&5
60511 sed 's/^/| /' conftest.$ac_ext >&5
60513 glibcxx_cv_func_finitel_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_finitel_use" >&5
60527 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60529 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60531 for ac_func in finitel
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
60637 else
60639 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60640 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60641 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60642 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60643 echo $ECHO_N "(cached) $ECHO_C" >&6
60644 else
60648 ac_ext=cc
60649 ac_cpp='$CXXCPP $CPPFLAGS'
60650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60654 cat >conftest.$ac_ext <<_ACEOF
60655 /* confdefs.h. */
60656 _ACEOF
60657 cat confdefs.h >>conftest.$ac_ext
60658 cat >>conftest.$ac_ext <<_ACEOF
60659 /* end confdefs.h. */
60660 #include <math.h>
60661 #ifdef HAVE_IEEEFP_H
60662 #include <ieeefp.h>
60663 #endif
60666 main ()
60668 _finitel(0);
60670 return 0;
60672 _ACEOF
60673 rm -f conftest.$ac_objext
60674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60675 (eval $ac_compile) 2>conftest.er1
60676 ac_status=$?
60677 grep -v '^ *+' conftest.er1 >conftest.err
60678 rm -f conftest.er1
60679 cat conftest.err >&5
60680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60681 (exit $ac_status); } &&
60682 { ac_try='test -z "$ac_cxx_werror_flag"
60683 || test ! -s conftest.err'
60684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60685 (eval $ac_try) 2>&5
60686 ac_status=$?
60687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60688 (exit $ac_status); }; } &&
60689 { ac_try='test -s conftest.$ac_objext'
60690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60691 (eval $ac_try) 2>&5
60692 ac_status=$?
60693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60694 (exit $ac_status); }; }; then
60695 glibcxx_cv_func__finitel_use=yes
60696 else
60697 echo "$as_me: failed program was:" >&5
60698 sed 's/^/| /' conftest.$ac_ext >&5
60700 glibcxx_cv_func__finitel_use=no
60702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60703 ac_ext=c
60704 ac_cpp='$CPP $CPPFLAGS'
60705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60714 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60716 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60718 for ac_func in _finitel
60720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60721 echo "$as_me:$LINENO: checking for $ac_func" >&5
60722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60723 if eval "test \"\${$as_ac_var+set}\" = set"; then
60724 echo $ECHO_N "(cached) $ECHO_C" >&6
60725 else
60726 if test x$gcc_no_link = xyes; then
60727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60729 { (exit 1); exit 1; }; }
60731 cat >conftest.$ac_ext <<_ACEOF
60732 /* confdefs.h. */
60733 _ACEOF
60734 cat confdefs.h >>conftest.$ac_ext
60735 cat >>conftest.$ac_ext <<_ACEOF
60736 /* end confdefs.h. */
60737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60739 #define $ac_func innocuous_$ac_func
60741 /* System header to define __stub macros and hopefully few prototypes,
60742 which can conflict with char $ac_func (); below.
60743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60744 <limits.h> exists even on freestanding compilers. */
60746 #ifdef __STDC__
60747 # include <limits.h>
60748 #else
60749 # include <assert.h>
60750 #endif
60752 #undef $ac_func
60754 /* Override any gcc2 internal prototype to avoid an error. */
60755 #ifdef __cplusplus
60756 extern "C"
60758 #endif
60759 /* We use char because int might match the return type of a gcc2
60760 builtin and then its argument prototype would still apply. */
60761 char $ac_func ();
60762 /* The GNU C library defines this for functions which it implements
60763 to always fail with ENOSYS. Some functions are actually named
60764 something starting with __ and the normal name is an alias. */
60765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60766 choke me
60767 #else
60768 char (*f) () = $ac_func;
60769 #endif
60770 #ifdef __cplusplus
60772 #endif
60775 main ()
60777 return f != $ac_func;
60779 return 0;
60781 _ACEOF
60782 rm -f conftest.$ac_objext conftest$ac_exeext
60783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60784 (eval $ac_link) 2>conftest.er1
60785 ac_status=$?
60786 grep -v '^ *+' conftest.er1 >conftest.err
60787 rm -f conftest.er1
60788 cat conftest.err >&5
60789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60790 (exit $ac_status); } &&
60791 { ac_try='test -z "$ac_c_werror_flag"
60792 || test ! -s conftest.err'
60793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60794 (eval $ac_try) 2>&5
60795 ac_status=$?
60796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60797 (exit $ac_status); }; } &&
60798 { ac_try='test -s conftest$ac_exeext'
60799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60800 (eval $ac_try) 2>&5
60801 ac_status=$?
60802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60803 (exit $ac_status); }; }; then
60804 eval "$as_ac_var=yes"
60805 else
60806 echo "$as_me: failed program was:" >&5
60807 sed 's/^/| /' conftest.$ac_ext >&5
60809 eval "$as_ac_var=no"
60811 rm -f conftest.err conftest.$ac_objext \
60812 conftest$ac_exeext conftest.$ac_ext
60814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60816 if test `eval echo '${'$as_ac_var'}'` = yes; then
60817 cat >>confdefs.h <<_ACEOF
60818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60819 _ACEOF
60822 done
60831 LIBS="$ac_save_LIBS"
60832 CXXFLAGS="$ac_save_CXXFLAGS"
60836 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60837 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60838 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60839 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60840 echo $ECHO_N "(cached) $ECHO_C" >&6
60841 else
60845 ac_ext=cc
60846 ac_cpp='$CXXCPP $CPPFLAGS'
60847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60851 cat >conftest.$ac_ext <<_ACEOF
60852 /* confdefs.h. */
60853 _ACEOF
60854 cat confdefs.h >>conftest.$ac_ext
60855 cat >>conftest.$ac_ext <<_ACEOF
60856 /* end confdefs.h. */
60857 #include <math.h>
60859 main ()
60861 __builtin_abs(0);
60863 return 0;
60865 _ACEOF
60866 rm -f conftest.$ac_objext
60867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60868 (eval $ac_compile) 2>conftest.er1
60869 ac_status=$?
60870 grep -v '^ *+' conftest.er1 >conftest.err
60871 rm -f conftest.er1
60872 cat conftest.err >&5
60873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60874 (exit $ac_status); } &&
60875 { ac_try='test -z "$ac_cxx_werror_flag"
60876 || test ! -s conftest.err'
60877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60878 (eval $ac_try) 2>&5
60879 ac_status=$?
60880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60881 (exit $ac_status); }; } &&
60882 { ac_try='test -s conftest.$ac_objext'
60883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60884 (eval $ac_try) 2>&5
60885 ac_status=$?
60886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60887 (exit $ac_status); }; }; then
60888 glibcxx_cv_func___builtin_abs_use=yes
60889 else
60890 echo "$as_me: failed program was:" >&5
60891 sed 's/^/| /' conftest.$ac_ext >&5
60893 glibcxx_cv_func___builtin_abs_use=no
60895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60896 ac_ext=c
60897 ac_cpp='$CPP $CPPFLAGS'
60898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60906 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60907 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60908 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60909 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60910 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60911 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60912 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60913 echo $ECHO_N "(cached) $ECHO_C" >&6
60914 else
60916 if test x$gcc_no_link = xyes; then
60917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60919 { (exit 1); exit 1; }; }
60921 cat >conftest.$ac_ext <<_ACEOF
60922 /* confdefs.h. */
60923 _ACEOF
60924 cat confdefs.h >>conftest.$ac_ext
60925 cat >>conftest.$ac_ext <<_ACEOF
60926 /* end confdefs.h. */
60927 #include <math.h>
60929 main ()
60931 __builtin_abs(0);
60933 return 0;
60935 _ACEOF
60936 rm -f conftest.$ac_objext conftest$ac_exeext
60937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60938 (eval $ac_link) 2>conftest.er1
60939 ac_status=$?
60940 grep -v '^ *+' conftest.er1 >conftest.err
60941 rm -f conftest.er1
60942 cat conftest.err >&5
60943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60944 (exit $ac_status); } &&
60945 { ac_try='test -z "$ac_c_werror_flag"
60946 || test ! -s conftest.err'
60947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60948 (eval $ac_try) 2>&5
60949 ac_status=$?
60950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60951 (exit $ac_status); }; } &&
60952 { ac_try='test -s conftest$ac_exeext'
60953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60954 (eval $ac_try) 2>&5
60955 ac_status=$?
60956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60957 (exit $ac_status); }; }; then
60958 glibcxx_cv_func___builtin_abs_link=yes
60959 else
60960 echo "$as_me: failed program was:" >&5
60961 sed 's/^/| /' conftest.$ac_ext >&5
60963 glibcxx_cv_func___builtin_abs_link=no
60965 rm -f conftest.err conftest.$ac_objext \
60966 conftest$ac_exeext conftest.$ac_ext
60971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60972 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60974 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60976 cat >>confdefs.h <<\_ACEOF
60977 #define HAVE___BUILTIN_ABS 1
60978 _ACEOF
60985 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60986 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60987 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60988 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60989 echo $ECHO_N "(cached) $ECHO_C" >&6
60990 else
60994 ac_ext=cc
60995 ac_cpp='$CXXCPP $CPPFLAGS'
60996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61000 cat >conftest.$ac_ext <<_ACEOF
61001 /* confdefs.h. */
61002 _ACEOF
61003 cat confdefs.h >>conftest.$ac_ext
61004 cat >>conftest.$ac_ext <<_ACEOF
61005 /* end confdefs.h. */
61006 #include <math.h>
61008 main ()
61010 __builtin_fabsf(0);
61012 return 0;
61014 _ACEOF
61015 rm -f conftest.$ac_objext
61016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61017 (eval $ac_compile) 2>conftest.er1
61018 ac_status=$?
61019 grep -v '^ *+' conftest.er1 >conftest.err
61020 rm -f conftest.er1
61021 cat conftest.err >&5
61022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61023 (exit $ac_status); } &&
61024 { ac_try='test -z "$ac_cxx_werror_flag"
61025 || test ! -s conftest.err'
61026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61027 (eval $ac_try) 2>&5
61028 ac_status=$?
61029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61030 (exit $ac_status); }; } &&
61031 { ac_try='test -s conftest.$ac_objext'
61032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61033 (eval $ac_try) 2>&5
61034 ac_status=$?
61035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61036 (exit $ac_status); }; }; then
61037 glibcxx_cv_func___builtin_fabsf_use=yes
61038 else
61039 echo "$as_me: failed program was:" >&5
61040 sed 's/^/| /' conftest.$ac_ext >&5
61042 glibcxx_cv_func___builtin_fabsf_use=no
61044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61045 ac_ext=c
61046 ac_cpp='$CPP $CPPFLAGS'
61047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61055 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61056 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61057 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61058 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61059 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61060 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61061 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61062 echo $ECHO_N "(cached) $ECHO_C" >&6
61063 else
61065 if test x$gcc_no_link = xyes; then
61066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61068 { (exit 1); exit 1; }; }
61070 cat >conftest.$ac_ext <<_ACEOF
61071 /* confdefs.h. */
61072 _ACEOF
61073 cat confdefs.h >>conftest.$ac_ext
61074 cat >>conftest.$ac_ext <<_ACEOF
61075 /* end confdefs.h. */
61076 #include <math.h>
61078 main ()
61080 __builtin_fabsf(0);
61082 return 0;
61084 _ACEOF
61085 rm -f conftest.$ac_objext conftest$ac_exeext
61086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61087 (eval $ac_link) 2>conftest.er1
61088 ac_status=$?
61089 grep -v '^ *+' conftest.er1 >conftest.err
61090 rm -f conftest.er1
61091 cat conftest.err >&5
61092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61093 (exit $ac_status); } &&
61094 { ac_try='test -z "$ac_c_werror_flag"
61095 || test ! -s conftest.err'
61096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61097 (eval $ac_try) 2>&5
61098 ac_status=$?
61099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61100 (exit $ac_status); }; } &&
61101 { ac_try='test -s conftest$ac_exeext'
61102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61103 (eval $ac_try) 2>&5
61104 ac_status=$?
61105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61106 (exit $ac_status); }; }; then
61107 glibcxx_cv_func___builtin_fabsf_link=yes
61108 else
61109 echo "$as_me: failed program was:" >&5
61110 sed 's/^/| /' conftest.$ac_ext >&5
61112 glibcxx_cv_func___builtin_fabsf_link=no
61114 rm -f conftest.err conftest.$ac_objext \
61115 conftest$ac_exeext conftest.$ac_ext
61120 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61121 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61123 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61125 cat >>confdefs.h <<\_ACEOF
61126 #define HAVE___BUILTIN_FABSF 1
61127 _ACEOF
61134 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61135 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61136 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61137 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61138 echo $ECHO_N "(cached) $ECHO_C" >&6
61139 else
61143 ac_ext=cc
61144 ac_cpp='$CXXCPP $CPPFLAGS'
61145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61149 cat >conftest.$ac_ext <<_ACEOF
61150 /* confdefs.h. */
61151 _ACEOF
61152 cat confdefs.h >>conftest.$ac_ext
61153 cat >>conftest.$ac_ext <<_ACEOF
61154 /* end confdefs.h. */
61155 #include <math.h>
61157 main ()
61159 __builtin_fabs(0);
61161 return 0;
61163 _ACEOF
61164 rm -f conftest.$ac_objext
61165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61166 (eval $ac_compile) 2>conftest.er1
61167 ac_status=$?
61168 grep -v '^ *+' conftest.er1 >conftest.err
61169 rm -f conftest.er1
61170 cat conftest.err >&5
61171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61172 (exit $ac_status); } &&
61173 { ac_try='test -z "$ac_cxx_werror_flag"
61174 || test ! -s conftest.err'
61175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61176 (eval $ac_try) 2>&5
61177 ac_status=$?
61178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61179 (exit $ac_status); }; } &&
61180 { ac_try='test -s conftest.$ac_objext'
61181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61182 (eval $ac_try) 2>&5
61183 ac_status=$?
61184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61185 (exit $ac_status); }; }; then
61186 glibcxx_cv_func___builtin_fabs_use=yes
61187 else
61188 echo "$as_me: failed program was:" >&5
61189 sed 's/^/| /' conftest.$ac_ext >&5
61191 glibcxx_cv_func___builtin_fabs_use=no
61193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61194 ac_ext=c
61195 ac_cpp='$CPP $CPPFLAGS'
61196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61204 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61205 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61206 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61207 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61208 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61209 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61210 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61211 echo $ECHO_N "(cached) $ECHO_C" >&6
61212 else
61214 if test x$gcc_no_link = xyes; then
61215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61217 { (exit 1); exit 1; }; }
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>
61227 main ()
61229 __builtin_fabs(0);
61231 return 0;
61233 _ACEOF
61234 rm -f conftest.$ac_objext conftest$ac_exeext
61235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61236 (eval $ac_link) 2>conftest.er1
61237 ac_status=$?
61238 grep -v '^ *+' conftest.er1 >conftest.err
61239 rm -f conftest.er1
61240 cat conftest.err >&5
61241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61242 (exit $ac_status); } &&
61243 { ac_try='test -z "$ac_c_werror_flag"
61244 || test ! -s conftest.err'
61245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61246 (eval $ac_try) 2>&5
61247 ac_status=$?
61248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61249 (exit $ac_status); }; } &&
61250 { ac_try='test -s conftest$ac_exeext'
61251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61252 (eval $ac_try) 2>&5
61253 ac_status=$?
61254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61255 (exit $ac_status); }; }; then
61256 glibcxx_cv_func___builtin_fabs_link=yes
61257 else
61258 echo "$as_me: failed program was:" >&5
61259 sed 's/^/| /' conftest.$ac_ext >&5
61261 glibcxx_cv_func___builtin_fabs_link=no
61263 rm -f conftest.err conftest.$ac_objext \
61264 conftest$ac_exeext conftest.$ac_ext
61269 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61270 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61272 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61274 cat >>confdefs.h <<\_ACEOF
61275 #define HAVE___BUILTIN_FABS 1
61276 _ACEOF
61283 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61284 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61285 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61286 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61287 echo $ECHO_N "(cached) $ECHO_C" >&6
61288 else
61292 ac_ext=cc
61293 ac_cpp='$CXXCPP $CPPFLAGS'
61294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61298 cat >conftest.$ac_ext <<_ACEOF
61299 /* confdefs.h. */
61300 _ACEOF
61301 cat confdefs.h >>conftest.$ac_ext
61302 cat >>conftest.$ac_ext <<_ACEOF
61303 /* end confdefs.h. */
61304 #include <math.h>
61306 main ()
61308 __builtin_fabsl(0);
61310 return 0;
61312 _ACEOF
61313 rm -f conftest.$ac_objext
61314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61315 (eval $ac_compile) 2>conftest.er1
61316 ac_status=$?
61317 grep -v '^ *+' conftest.er1 >conftest.err
61318 rm -f conftest.er1
61319 cat conftest.err >&5
61320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61321 (exit $ac_status); } &&
61322 { ac_try='test -z "$ac_cxx_werror_flag"
61323 || test ! -s conftest.err'
61324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61325 (eval $ac_try) 2>&5
61326 ac_status=$?
61327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61328 (exit $ac_status); }; } &&
61329 { ac_try='test -s conftest.$ac_objext'
61330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61331 (eval $ac_try) 2>&5
61332 ac_status=$?
61333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334 (exit $ac_status); }; }; then
61335 glibcxx_cv_func___builtin_fabsl_use=yes
61336 else
61337 echo "$as_me: failed program was:" >&5
61338 sed 's/^/| /' conftest.$ac_ext >&5
61340 glibcxx_cv_func___builtin_fabsl_use=no
61342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61343 ac_ext=c
61344 ac_cpp='$CPP $CPPFLAGS'
61345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61353 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61354 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61355 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61356 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61357 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61358 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61359 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61360 echo $ECHO_N "(cached) $ECHO_C" >&6
61361 else
61363 if test x$gcc_no_link = xyes; then
61364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61366 { (exit 1); exit 1; }; }
61368 cat >conftest.$ac_ext <<_ACEOF
61369 /* confdefs.h. */
61370 _ACEOF
61371 cat confdefs.h >>conftest.$ac_ext
61372 cat >>conftest.$ac_ext <<_ACEOF
61373 /* end confdefs.h. */
61374 #include <math.h>
61376 main ()
61378 __builtin_fabsl(0);
61380 return 0;
61382 _ACEOF
61383 rm -f conftest.$ac_objext conftest$ac_exeext
61384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61385 (eval $ac_link) 2>conftest.er1
61386 ac_status=$?
61387 grep -v '^ *+' conftest.er1 >conftest.err
61388 rm -f conftest.er1
61389 cat conftest.err >&5
61390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61391 (exit $ac_status); } &&
61392 { ac_try='test -z "$ac_c_werror_flag"
61393 || test ! -s conftest.err'
61394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61395 (eval $ac_try) 2>&5
61396 ac_status=$?
61397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61398 (exit $ac_status); }; } &&
61399 { ac_try='test -s conftest$ac_exeext'
61400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61401 (eval $ac_try) 2>&5
61402 ac_status=$?
61403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61404 (exit $ac_status); }; }; then
61405 glibcxx_cv_func___builtin_fabsl_link=yes
61406 else
61407 echo "$as_me: failed program was:" >&5
61408 sed 's/^/| /' conftest.$ac_ext >&5
61410 glibcxx_cv_func___builtin_fabsl_link=no
61412 rm -f conftest.err conftest.$ac_objext \
61413 conftest$ac_exeext conftest.$ac_ext
61418 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61419 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61421 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61423 cat >>confdefs.h <<\_ACEOF
61424 #define HAVE___BUILTIN_FABSL 1
61425 _ACEOF
61432 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61433 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61434 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61435 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61436 echo $ECHO_N "(cached) $ECHO_C" >&6
61437 else
61441 ac_ext=cc
61442 ac_cpp='$CXXCPP $CPPFLAGS'
61443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61447 cat >conftest.$ac_ext <<_ACEOF
61448 /* confdefs.h. */
61449 _ACEOF
61450 cat confdefs.h >>conftest.$ac_ext
61451 cat >>conftest.$ac_ext <<_ACEOF
61452 /* end confdefs.h. */
61453 #include <math.h>
61455 main ()
61457 __builtin_labs(0);
61459 return 0;
61461 _ACEOF
61462 rm -f conftest.$ac_objext
61463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61464 (eval $ac_compile) 2>conftest.er1
61465 ac_status=$?
61466 grep -v '^ *+' conftest.er1 >conftest.err
61467 rm -f conftest.er1
61468 cat conftest.err >&5
61469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61470 (exit $ac_status); } &&
61471 { ac_try='test -z "$ac_cxx_werror_flag"
61472 || test ! -s conftest.err'
61473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61474 (eval $ac_try) 2>&5
61475 ac_status=$?
61476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61477 (exit $ac_status); }; } &&
61478 { ac_try='test -s conftest.$ac_objext'
61479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61480 (eval $ac_try) 2>&5
61481 ac_status=$?
61482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61483 (exit $ac_status); }; }; then
61484 glibcxx_cv_func___builtin_labs_use=yes
61485 else
61486 echo "$as_me: failed program was:" >&5
61487 sed 's/^/| /' conftest.$ac_ext >&5
61489 glibcxx_cv_func___builtin_labs_use=no
61491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61492 ac_ext=c
61493 ac_cpp='$CPP $CPPFLAGS'
61494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61502 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61503 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61504 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61505 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61506 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61507 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61508 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61509 echo $ECHO_N "(cached) $ECHO_C" >&6
61510 else
61512 if test x$gcc_no_link = xyes; then
61513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61515 { (exit 1); exit 1; }; }
61517 cat >conftest.$ac_ext <<_ACEOF
61518 /* confdefs.h. */
61519 _ACEOF
61520 cat confdefs.h >>conftest.$ac_ext
61521 cat >>conftest.$ac_ext <<_ACEOF
61522 /* end confdefs.h. */
61523 #include <math.h>
61525 main ()
61527 __builtin_labs(0);
61529 return 0;
61531 _ACEOF
61532 rm -f conftest.$ac_objext conftest$ac_exeext
61533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61534 (eval $ac_link) 2>conftest.er1
61535 ac_status=$?
61536 grep -v '^ *+' conftest.er1 >conftest.err
61537 rm -f conftest.er1
61538 cat conftest.err >&5
61539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61540 (exit $ac_status); } &&
61541 { ac_try='test -z "$ac_c_werror_flag"
61542 || test ! -s conftest.err'
61543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61544 (eval $ac_try) 2>&5
61545 ac_status=$?
61546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61547 (exit $ac_status); }; } &&
61548 { ac_try='test -s conftest$ac_exeext'
61549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61550 (eval $ac_try) 2>&5
61551 ac_status=$?
61552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61553 (exit $ac_status); }; }; then
61554 glibcxx_cv_func___builtin_labs_link=yes
61555 else
61556 echo "$as_me: failed program was:" >&5
61557 sed 's/^/| /' conftest.$ac_ext >&5
61559 glibcxx_cv_func___builtin_labs_link=no
61561 rm -f conftest.err conftest.$ac_objext \
61562 conftest$ac_exeext conftest.$ac_ext
61567 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61568 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61570 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61572 cat >>confdefs.h <<\_ACEOF
61573 #define HAVE___BUILTIN_LABS 1
61574 _ACEOF
61582 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61583 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61584 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61585 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61586 echo $ECHO_N "(cached) $ECHO_C" >&6
61587 else
61591 ac_ext=cc
61592 ac_cpp='$CXXCPP $CPPFLAGS'
61593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61597 cat >conftest.$ac_ext <<_ACEOF
61598 /* confdefs.h. */
61599 _ACEOF
61600 cat confdefs.h >>conftest.$ac_ext
61601 cat >>conftest.$ac_ext <<_ACEOF
61602 /* end confdefs.h. */
61603 #include <math.h>
61605 main ()
61607 __builtin_sqrtf(0);
61609 return 0;
61611 _ACEOF
61612 rm -f conftest.$ac_objext
61613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61614 (eval $ac_compile) 2>conftest.er1
61615 ac_status=$?
61616 grep -v '^ *+' conftest.er1 >conftest.err
61617 rm -f conftest.er1
61618 cat conftest.err >&5
61619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61620 (exit $ac_status); } &&
61621 { ac_try='test -z "$ac_cxx_werror_flag"
61622 || test ! -s conftest.err'
61623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61624 (eval $ac_try) 2>&5
61625 ac_status=$?
61626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61627 (exit $ac_status); }; } &&
61628 { ac_try='test -s conftest.$ac_objext'
61629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630 (eval $ac_try) 2>&5
61631 ac_status=$?
61632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633 (exit $ac_status); }; }; then
61634 glibcxx_cv_func___builtin_sqrtf_use=yes
61635 else
61636 echo "$as_me: failed program was:" >&5
61637 sed 's/^/| /' conftest.$ac_ext >&5
61639 glibcxx_cv_func___builtin_sqrtf_use=no
61641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61642 ac_ext=c
61643 ac_cpp='$CPP $CPPFLAGS'
61644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61653 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61654 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61655 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61656 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61657 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61658 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61659 echo $ECHO_N "(cached) $ECHO_C" >&6
61660 else
61662 if test x$gcc_no_link = xyes; then
61663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61665 { (exit 1); exit 1; }; }
61667 cat >conftest.$ac_ext <<_ACEOF
61668 /* confdefs.h. */
61669 _ACEOF
61670 cat confdefs.h >>conftest.$ac_ext
61671 cat >>conftest.$ac_ext <<_ACEOF
61672 /* end confdefs.h. */
61673 #include <math.h>
61675 main ()
61677 __builtin_sqrtf(0);
61679 return 0;
61681 _ACEOF
61682 rm -f conftest.$ac_objext conftest$ac_exeext
61683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61684 (eval $ac_link) 2>conftest.er1
61685 ac_status=$?
61686 grep -v '^ *+' conftest.er1 >conftest.err
61687 rm -f conftest.er1
61688 cat conftest.err >&5
61689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61690 (exit $ac_status); } &&
61691 { ac_try='test -z "$ac_c_werror_flag"
61692 || test ! -s conftest.err'
61693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61694 (eval $ac_try) 2>&5
61695 ac_status=$?
61696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61697 (exit $ac_status); }; } &&
61698 { ac_try='test -s conftest$ac_exeext'
61699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61700 (eval $ac_try) 2>&5
61701 ac_status=$?
61702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61703 (exit $ac_status); }; }; then
61704 glibcxx_cv_func___builtin_sqrtf_link=yes
61705 else
61706 echo "$as_me: failed program was:" >&5
61707 sed 's/^/| /' conftest.$ac_ext >&5
61709 glibcxx_cv_func___builtin_sqrtf_link=no
61711 rm -f conftest.err conftest.$ac_objext \
61712 conftest$ac_exeext conftest.$ac_ext
61717 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61718 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61720 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61722 cat >>confdefs.h <<\_ACEOF
61723 #define HAVE___BUILTIN_SQRTF 1
61724 _ACEOF
61731 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61732 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61733 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61734 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61735 echo $ECHO_N "(cached) $ECHO_C" >&6
61736 else
61740 ac_ext=cc
61741 ac_cpp='$CXXCPP $CPPFLAGS'
61742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61746 cat >conftest.$ac_ext <<_ACEOF
61747 /* confdefs.h. */
61748 _ACEOF
61749 cat confdefs.h >>conftest.$ac_ext
61750 cat >>conftest.$ac_ext <<_ACEOF
61751 /* end confdefs.h. */
61752 #include <math.h>
61754 main ()
61756 __builtin_sqrt(0);
61758 return 0;
61760 _ACEOF
61761 rm -f conftest.$ac_objext
61762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61763 (eval $ac_compile) 2>conftest.er1
61764 ac_status=$?
61765 grep -v '^ *+' conftest.er1 >conftest.err
61766 rm -f conftest.er1
61767 cat conftest.err >&5
61768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61769 (exit $ac_status); } &&
61770 { ac_try='test -z "$ac_cxx_werror_flag"
61771 || test ! -s conftest.err'
61772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61773 (eval $ac_try) 2>&5
61774 ac_status=$?
61775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61776 (exit $ac_status); }; } &&
61777 { ac_try='test -s conftest.$ac_objext'
61778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61779 (eval $ac_try) 2>&5
61780 ac_status=$?
61781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61782 (exit $ac_status); }; }; then
61783 glibcxx_cv_func___builtin_sqrt_use=yes
61784 else
61785 echo "$as_me: failed program was:" >&5
61786 sed 's/^/| /' conftest.$ac_ext >&5
61788 glibcxx_cv_func___builtin_sqrt_use=no
61790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61791 ac_ext=c
61792 ac_cpp='$CPP $CPPFLAGS'
61793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61802 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61803 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61804 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61805 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61806 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61807 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61808 echo $ECHO_N "(cached) $ECHO_C" >&6
61809 else
61811 if test x$gcc_no_link = xyes; then
61812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61814 { (exit 1); exit 1; }; }
61816 cat >conftest.$ac_ext <<_ACEOF
61817 /* confdefs.h. */
61818 _ACEOF
61819 cat confdefs.h >>conftest.$ac_ext
61820 cat >>conftest.$ac_ext <<_ACEOF
61821 /* end confdefs.h. */
61822 #include <math.h>
61824 main ()
61826 __builtin_sqrt(0);
61828 return 0;
61830 _ACEOF
61831 rm -f conftest.$ac_objext conftest$ac_exeext
61832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61833 (eval $ac_link) 2>conftest.er1
61834 ac_status=$?
61835 grep -v '^ *+' conftest.er1 >conftest.err
61836 rm -f conftest.er1
61837 cat conftest.err >&5
61838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61839 (exit $ac_status); } &&
61840 { ac_try='test -z "$ac_c_werror_flag"
61841 || test ! -s conftest.err'
61842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61843 (eval $ac_try) 2>&5
61844 ac_status=$?
61845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61846 (exit $ac_status); }; } &&
61847 { ac_try='test -s conftest$ac_exeext'
61848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61849 (eval $ac_try) 2>&5
61850 ac_status=$?
61851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61852 (exit $ac_status); }; }; then
61853 glibcxx_cv_func___builtin_sqrt_link=yes
61854 else
61855 echo "$as_me: failed program was:" >&5
61856 sed 's/^/| /' conftest.$ac_ext >&5
61858 glibcxx_cv_func___builtin_sqrt_link=no
61860 rm -f conftest.err conftest.$ac_objext \
61861 conftest$ac_exeext conftest.$ac_ext
61866 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61867 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61869 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61871 cat >>confdefs.h <<\_ACEOF
61872 #define HAVE___BUILTIN_SQRT 1
61873 _ACEOF
61880 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61881 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61882 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61883 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61884 echo $ECHO_N "(cached) $ECHO_C" >&6
61885 else
61889 ac_ext=cc
61890 ac_cpp='$CXXCPP $CPPFLAGS'
61891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61895 cat >conftest.$ac_ext <<_ACEOF
61896 /* confdefs.h. */
61897 _ACEOF
61898 cat confdefs.h >>conftest.$ac_ext
61899 cat >>conftest.$ac_ext <<_ACEOF
61900 /* end confdefs.h. */
61901 #include <math.h>
61903 main ()
61905 __builtin_sqrtl(0);
61907 return 0;
61909 _ACEOF
61910 rm -f conftest.$ac_objext
61911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61912 (eval $ac_compile) 2>conftest.er1
61913 ac_status=$?
61914 grep -v '^ *+' conftest.er1 >conftest.err
61915 rm -f conftest.er1
61916 cat conftest.err >&5
61917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918 (exit $ac_status); } &&
61919 { ac_try='test -z "$ac_cxx_werror_flag"
61920 || test ! -s conftest.err'
61921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61922 (eval $ac_try) 2>&5
61923 ac_status=$?
61924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61925 (exit $ac_status); }; } &&
61926 { ac_try='test -s conftest.$ac_objext'
61927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61928 (eval $ac_try) 2>&5
61929 ac_status=$?
61930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61931 (exit $ac_status); }; }; then
61932 glibcxx_cv_func___builtin_sqrtl_use=yes
61933 else
61934 echo "$as_me: failed program was:" >&5
61935 sed 's/^/| /' conftest.$ac_ext >&5
61937 glibcxx_cv_func___builtin_sqrtl_use=no
61939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61940 ac_ext=c
61941 ac_cpp='$CPP $CPPFLAGS'
61942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61950 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61951 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61952 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61953 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61954 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61955 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61956 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61957 echo $ECHO_N "(cached) $ECHO_C" >&6
61958 else
61960 if test x$gcc_no_link = xyes; then
61961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61963 { (exit 1); exit 1; }; }
61965 cat >conftest.$ac_ext <<_ACEOF
61966 /* confdefs.h. */
61967 _ACEOF
61968 cat confdefs.h >>conftest.$ac_ext
61969 cat >>conftest.$ac_ext <<_ACEOF
61970 /* end confdefs.h. */
61971 #include <math.h>
61973 main ()
61975 __builtin_sqrtl(0);
61977 return 0;
61979 _ACEOF
61980 rm -f conftest.$ac_objext conftest$ac_exeext
61981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61982 (eval $ac_link) 2>conftest.er1
61983 ac_status=$?
61984 grep -v '^ *+' conftest.er1 >conftest.err
61985 rm -f conftest.er1
61986 cat conftest.err >&5
61987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61988 (exit $ac_status); } &&
61989 { ac_try='test -z "$ac_c_werror_flag"
61990 || test ! -s conftest.err'
61991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61992 (eval $ac_try) 2>&5
61993 ac_status=$?
61994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61995 (exit $ac_status); }; } &&
61996 { ac_try='test -s conftest$ac_exeext'
61997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61998 (eval $ac_try) 2>&5
61999 ac_status=$?
62000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62001 (exit $ac_status); }; }; then
62002 glibcxx_cv_func___builtin_sqrtl_link=yes
62003 else
62004 echo "$as_me: failed program was:" >&5
62005 sed 's/^/| /' conftest.$ac_ext >&5
62007 glibcxx_cv_func___builtin_sqrtl_link=no
62009 rm -f conftest.err conftest.$ac_objext \
62010 conftest$ac_exeext conftest.$ac_ext
62015 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62016 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62018 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62020 cat >>confdefs.h <<\_ACEOF
62021 #define HAVE___BUILTIN_SQRTL 1
62022 _ACEOF
62030 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62031 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62032 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62033 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62034 echo $ECHO_N "(cached) $ECHO_C" >&6
62035 else
62039 ac_ext=cc
62040 ac_cpp='$CXXCPP $CPPFLAGS'
62041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62045 cat >conftest.$ac_ext <<_ACEOF
62046 /* confdefs.h. */
62047 _ACEOF
62048 cat confdefs.h >>conftest.$ac_ext
62049 cat >>conftest.$ac_ext <<_ACEOF
62050 /* end confdefs.h. */
62051 #include <math.h>
62053 main ()
62055 __builtin_sinf(0);
62057 return 0;
62059 _ACEOF
62060 rm -f conftest.$ac_objext
62061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62062 (eval $ac_compile) 2>conftest.er1
62063 ac_status=$?
62064 grep -v '^ *+' conftest.er1 >conftest.err
62065 rm -f conftest.er1
62066 cat conftest.err >&5
62067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62068 (exit $ac_status); } &&
62069 { ac_try='test -z "$ac_cxx_werror_flag"
62070 || test ! -s conftest.err'
62071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62072 (eval $ac_try) 2>&5
62073 ac_status=$?
62074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62075 (exit $ac_status); }; } &&
62076 { ac_try='test -s conftest.$ac_objext'
62077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62078 (eval $ac_try) 2>&5
62079 ac_status=$?
62080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62081 (exit $ac_status); }; }; then
62082 glibcxx_cv_func___builtin_sinf_use=yes
62083 else
62084 echo "$as_me: failed program was:" >&5
62085 sed 's/^/| /' conftest.$ac_ext >&5
62087 glibcxx_cv_func___builtin_sinf_use=no
62089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62090 ac_ext=c
62091 ac_cpp='$CPP $CPPFLAGS'
62092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62101 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62102 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62103 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62104 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62105 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62106 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62107 echo $ECHO_N "(cached) $ECHO_C" >&6
62108 else
62110 if test x$gcc_no_link = xyes; then
62111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62113 { (exit 1); exit 1; }; }
62115 cat >conftest.$ac_ext <<_ACEOF
62116 /* confdefs.h. */
62117 _ACEOF
62118 cat confdefs.h >>conftest.$ac_ext
62119 cat >>conftest.$ac_ext <<_ACEOF
62120 /* end confdefs.h. */
62121 #include <math.h>
62123 main ()
62125 __builtin_sinf(0);
62127 return 0;
62129 _ACEOF
62130 rm -f conftest.$ac_objext conftest$ac_exeext
62131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62132 (eval $ac_link) 2>conftest.er1
62133 ac_status=$?
62134 grep -v '^ *+' conftest.er1 >conftest.err
62135 rm -f conftest.er1
62136 cat conftest.err >&5
62137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62138 (exit $ac_status); } &&
62139 { ac_try='test -z "$ac_c_werror_flag"
62140 || test ! -s conftest.err'
62141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62142 (eval $ac_try) 2>&5
62143 ac_status=$?
62144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62145 (exit $ac_status); }; } &&
62146 { ac_try='test -s conftest$ac_exeext'
62147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62148 (eval $ac_try) 2>&5
62149 ac_status=$?
62150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151 (exit $ac_status); }; }; then
62152 glibcxx_cv_func___builtin_sinf_link=yes
62153 else
62154 echo "$as_me: failed program was:" >&5
62155 sed 's/^/| /' conftest.$ac_ext >&5
62157 glibcxx_cv_func___builtin_sinf_link=no
62159 rm -f conftest.err conftest.$ac_objext \
62160 conftest$ac_exeext conftest.$ac_ext
62165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62166 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62168 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62170 cat >>confdefs.h <<\_ACEOF
62171 #define HAVE___BUILTIN_SINF 1
62172 _ACEOF
62179 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62180 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62181 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62182 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62183 echo $ECHO_N "(cached) $ECHO_C" >&6
62184 else
62188 ac_ext=cc
62189 ac_cpp='$CXXCPP $CPPFLAGS'
62190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62194 cat >conftest.$ac_ext <<_ACEOF
62195 /* confdefs.h. */
62196 _ACEOF
62197 cat confdefs.h >>conftest.$ac_ext
62198 cat >>conftest.$ac_ext <<_ACEOF
62199 /* end confdefs.h. */
62200 #include <math.h>
62202 main ()
62204 __builtin_sin(0);
62206 return 0;
62208 _ACEOF
62209 rm -f conftest.$ac_objext
62210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62211 (eval $ac_compile) 2>conftest.er1
62212 ac_status=$?
62213 grep -v '^ *+' conftest.er1 >conftest.err
62214 rm -f conftest.er1
62215 cat conftest.err >&5
62216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62217 (exit $ac_status); } &&
62218 { ac_try='test -z "$ac_cxx_werror_flag"
62219 || test ! -s conftest.err'
62220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62221 (eval $ac_try) 2>&5
62222 ac_status=$?
62223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62224 (exit $ac_status); }; } &&
62225 { ac_try='test -s conftest.$ac_objext'
62226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62227 (eval $ac_try) 2>&5
62228 ac_status=$?
62229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62230 (exit $ac_status); }; }; then
62231 glibcxx_cv_func___builtin_sin_use=yes
62232 else
62233 echo "$as_me: failed program was:" >&5
62234 sed 's/^/| /' conftest.$ac_ext >&5
62236 glibcxx_cv_func___builtin_sin_use=no
62238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62239 ac_ext=c
62240 ac_cpp='$CPP $CPPFLAGS'
62241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62249 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62250 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62251 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62252 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62253 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62254 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62255 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62256 echo $ECHO_N "(cached) $ECHO_C" >&6
62257 else
62259 if test x$gcc_no_link = xyes; then
62260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62262 { (exit 1); exit 1; }; }
62264 cat >conftest.$ac_ext <<_ACEOF
62265 /* confdefs.h. */
62266 _ACEOF
62267 cat confdefs.h >>conftest.$ac_ext
62268 cat >>conftest.$ac_ext <<_ACEOF
62269 /* end confdefs.h. */
62270 #include <math.h>
62272 main ()
62274 __builtin_sin(0);
62276 return 0;
62278 _ACEOF
62279 rm -f conftest.$ac_objext conftest$ac_exeext
62280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62281 (eval $ac_link) 2>conftest.er1
62282 ac_status=$?
62283 grep -v '^ *+' conftest.er1 >conftest.err
62284 rm -f conftest.er1
62285 cat conftest.err >&5
62286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62287 (exit $ac_status); } &&
62288 { ac_try='test -z "$ac_c_werror_flag"
62289 || test ! -s conftest.err'
62290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62291 (eval $ac_try) 2>&5
62292 ac_status=$?
62293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294 (exit $ac_status); }; } &&
62295 { ac_try='test -s conftest$ac_exeext'
62296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62297 (eval $ac_try) 2>&5
62298 ac_status=$?
62299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62300 (exit $ac_status); }; }; then
62301 glibcxx_cv_func___builtin_sin_link=yes
62302 else
62303 echo "$as_me: failed program was:" >&5
62304 sed 's/^/| /' conftest.$ac_ext >&5
62306 glibcxx_cv_func___builtin_sin_link=no
62308 rm -f conftest.err conftest.$ac_objext \
62309 conftest$ac_exeext conftest.$ac_ext
62314 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62315 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62317 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62319 cat >>confdefs.h <<\_ACEOF
62320 #define HAVE___BUILTIN_SIN 1
62321 _ACEOF
62328 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62329 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62330 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62331 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62332 echo $ECHO_N "(cached) $ECHO_C" >&6
62333 else
62337 ac_ext=cc
62338 ac_cpp='$CXXCPP $CPPFLAGS'
62339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62343 cat >conftest.$ac_ext <<_ACEOF
62344 /* confdefs.h. */
62345 _ACEOF
62346 cat confdefs.h >>conftest.$ac_ext
62347 cat >>conftest.$ac_ext <<_ACEOF
62348 /* end confdefs.h. */
62349 #include <math.h>
62351 main ()
62353 __builtin_sinl(0);
62355 return 0;
62357 _ACEOF
62358 rm -f conftest.$ac_objext
62359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62360 (eval $ac_compile) 2>conftest.er1
62361 ac_status=$?
62362 grep -v '^ *+' conftest.er1 >conftest.err
62363 rm -f conftest.er1
62364 cat conftest.err >&5
62365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62366 (exit $ac_status); } &&
62367 { ac_try='test -z "$ac_cxx_werror_flag"
62368 || test ! -s conftest.err'
62369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62370 (eval $ac_try) 2>&5
62371 ac_status=$?
62372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62373 (exit $ac_status); }; } &&
62374 { ac_try='test -s conftest.$ac_objext'
62375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62376 (eval $ac_try) 2>&5
62377 ac_status=$?
62378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62379 (exit $ac_status); }; }; then
62380 glibcxx_cv_func___builtin_sinl_use=yes
62381 else
62382 echo "$as_me: failed program was:" >&5
62383 sed 's/^/| /' conftest.$ac_ext >&5
62385 glibcxx_cv_func___builtin_sinl_use=no
62387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62388 ac_ext=c
62389 ac_cpp='$CPP $CPPFLAGS'
62390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62400 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62401 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62402 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62403 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62404 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62405 echo $ECHO_N "(cached) $ECHO_C" >&6
62406 else
62408 if test x$gcc_no_link = xyes; then
62409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62411 { (exit 1); exit 1; }; }
62413 cat >conftest.$ac_ext <<_ACEOF
62414 /* confdefs.h. */
62415 _ACEOF
62416 cat confdefs.h >>conftest.$ac_ext
62417 cat >>conftest.$ac_ext <<_ACEOF
62418 /* end confdefs.h. */
62419 #include <math.h>
62421 main ()
62423 __builtin_sinl(0);
62425 return 0;
62427 _ACEOF
62428 rm -f conftest.$ac_objext conftest$ac_exeext
62429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62430 (eval $ac_link) 2>conftest.er1
62431 ac_status=$?
62432 grep -v '^ *+' conftest.er1 >conftest.err
62433 rm -f conftest.er1
62434 cat conftest.err >&5
62435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62436 (exit $ac_status); } &&
62437 { ac_try='test -z "$ac_c_werror_flag"
62438 || test ! -s conftest.err'
62439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62440 (eval $ac_try) 2>&5
62441 ac_status=$?
62442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62443 (exit $ac_status); }; } &&
62444 { ac_try='test -s conftest$ac_exeext'
62445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62446 (eval $ac_try) 2>&5
62447 ac_status=$?
62448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62449 (exit $ac_status); }; }; then
62450 glibcxx_cv_func___builtin_sinl_link=yes
62451 else
62452 echo "$as_me: failed program was:" >&5
62453 sed 's/^/| /' conftest.$ac_ext >&5
62455 glibcxx_cv_func___builtin_sinl_link=no
62457 rm -f conftest.err conftest.$ac_objext \
62458 conftest$ac_exeext conftest.$ac_ext
62463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62464 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62466 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62468 cat >>confdefs.h <<\_ACEOF
62469 #define HAVE___BUILTIN_SINL 1
62470 _ACEOF
62478 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62479 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62480 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62481 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62482 echo $ECHO_N "(cached) $ECHO_C" >&6
62483 else
62487 ac_ext=cc
62488 ac_cpp='$CXXCPP $CPPFLAGS'
62489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62493 cat >conftest.$ac_ext <<_ACEOF
62494 /* confdefs.h. */
62495 _ACEOF
62496 cat confdefs.h >>conftest.$ac_ext
62497 cat >>conftest.$ac_ext <<_ACEOF
62498 /* end confdefs.h. */
62499 #include <math.h>
62501 main ()
62503 __builtin_cosf(0);
62505 return 0;
62507 _ACEOF
62508 rm -f conftest.$ac_objext
62509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62510 (eval $ac_compile) 2>conftest.er1
62511 ac_status=$?
62512 grep -v '^ *+' conftest.er1 >conftest.err
62513 rm -f conftest.er1
62514 cat conftest.err >&5
62515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62516 (exit $ac_status); } &&
62517 { ac_try='test -z "$ac_cxx_werror_flag"
62518 || test ! -s conftest.err'
62519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62520 (eval $ac_try) 2>&5
62521 ac_status=$?
62522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62523 (exit $ac_status); }; } &&
62524 { ac_try='test -s conftest.$ac_objext'
62525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62526 (eval $ac_try) 2>&5
62527 ac_status=$?
62528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62529 (exit $ac_status); }; }; then
62530 glibcxx_cv_func___builtin_cosf_use=yes
62531 else
62532 echo "$as_me: failed program was:" >&5
62533 sed 's/^/| /' conftest.$ac_ext >&5
62535 glibcxx_cv_func___builtin_cosf_use=no
62537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62538 ac_ext=c
62539 ac_cpp='$CPP $CPPFLAGS'
62540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62549 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62550 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62551 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62552 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62553 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62554 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62555 echo $ECHO_N "(cached) $ECHO_C" >&6
62556 else
62558 if test x$gcc_no_link = xyes; then
62559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62561 { (exit 1); exit 1; }; }
62563 cat >conftest.$ac_ext <<_ACEOF
62564 /* confdefs.h. */
62565 _ACEOF
62566 cat confdefs.h >>conftest.$ac_ext
62567 cat >>conftest.$ac_ext <<_ACEOF
62568 /* end confdefs.h. */
62569 #include <math.h>
62571 main ()
62573 __builtin_cosf(0);
62575 return 0;
62577 _ACEOF
62578 rm -f conftest.$ac_objext conftest$ac_exeext
62579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62580 (eval $ac_link) 2>conftest.er1
62581 ac_status=$?
62582 grep -v '^ *+' conftest.er1 >conftest.err
62583 rm -f conftest.er1
62584 cat conftest.err >&5
62585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62586 (exit $ac_status); } &&
62587 { ac_try='test -z "$ac_c_werror_flag"
62588 || test ! -s conftest.err'
62589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62590 (eval $ac_try) 2>&5
62591 ac_status=$?
62592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62593 (exit $ac_status); }; } &&
62594 { ac_try='test -s conftest$ac_exeext'
62595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62596 (eval $ac_try) 2>&5
62597 ac_status=$?
62598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62599 (exit $ac_status); }; }; then
62600 glibcxx_cv_func___builtin_cosf_link=yes
62601 else
62602 echo "$as_me: failed program was:" >&5
62603 sed 's/^/| /' conftest.$ac_ext >&5
62605 glibcxx_cv_func___builtin_cosf_link=no
62607 rm -f conftest.err conftest.$ac_objext \
62608 conftest$ac_exeext conftest.$ac_ext
62613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62614 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62616 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62618 cat >>confdefs.h <<\_ACEOF
62619 #define HAVE___BUILTIN_COSF 1
62620 _ACEOF
62627 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62628 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62629 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62630 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62631 echo $ECHO_N "(cached) $ECHO_C" >&6
62632 else
62636 ac_ext=cc
62637 ac_cpp='$CXXCPP $CPPFLAGS'
62638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62642 cat >conftest.$ac_ext <<_ACEOF
62643 /* confdefs.h. */
62644 _ACEOF
62645 cat confdefs.h >>conftest.$ac_ext
62646 cat >>conftest.$ac_ext <<_ACEOF
62647 /* end confdefs.h. */
62648 #include <math.h>
62650 main ()
62652 __builtin_cos(0);
62654 return 0;
62656 _ACEOF
62657 rm -f conftest.$ac_objext
62658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62659 (eval $ac_compile) 2>conftest.er1
62660 ac_status=$?
62661 grep -v '^ *+' conftest.er1 >conftest.err
62662 rm -f conftest.er1
62663 cat conftest.err >&5
62664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62665 (exit $ac_status); } &&
62666 { ac_try='test -z "$ac_cxx_werror_flag"
62667 || test ! -s conftest.err'
62668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62669 (eval $ac_try) 2>&5
62670 ac_status=$?
62671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62672 (exit $ac_status); }; } &&
62673 { ac_try='test -s conftest.$ac_objext'
62674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62675 (eval $ac_try) 2>&5
62676 ac_status=$?
62677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62678 (exit $ac_status); }; }; then
62679 glibcxx_cv_func___builtin_cos_use=yes
62680 else
62681 echo "$as_me: failed program was:" >&5
62682 sed 's/^/| /' conftest.$ac_ext >&5
62684 glibcxx_cv_func___builtin_cos_use=no
62686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62687 ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62698 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62699 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62700 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62701 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62702 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62703 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62704 echo $ECHO_N "(cached) $ECHO_C" >&6
62705 else
62707 if test x$gcc_no_link = xyes; then
62708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62710 { (exit 1); exit 1; }; }
62712 cat >conftest.$ac_ext <<_ACEOF
62713 /* confdefs.h. */
62714 _ACEOF
62715 cat confdefs.h >>conftest.$ac_ext
62716 cat >>conftest.$ac_ext <<_ACEOF
62717 /* end confdefs.h. */
62718 #include <math.h>
62720 main ()
62722 __builtin_cos(0);
62724 return 0;
62726 _ACEOF
62727 rm -f conftest.$ac_objext conftest$ac_exeext
62728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62729 (eval $ac_link) 2>conftest.er1
62730 ac_status=$?
62731 grep -v '^ *+' conftest.er1 >conftest.err
62732 rm -f conftest.er1
62733 cat conftest.err >&5
62734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735 (exit $ac_status); } &&
62736 { ac_try='test -z "$ac_c_werror_flag"
62737 || test ! -s conftest.err'
62738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62739 (eval $ac_try) 2>&5
62740 ac_status=$?
62741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62742 (exit $ac_status); }; } &&
62743 { ac_try='test -s conftest$ac_exeext'
62744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62745 (eval $ac_try) 2>&5
62746 ac_status=$?
62747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62748 (exit $ac_status); }; }; then
62749 glibcxx_cv_func___builtin_cos_link=yes
62750 else
62751 echo "$as_me: failed program was:" >&5
62752 sed 's/^/| /' conftest.$ac_ext >&5
62754 glibcxx_cv_func___builtin_cos_link=no
62756 rm -f conftest.err conftest.$ac_objext \
62757 conftest$ac_exeext conftest.$ac_ext
62762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62763 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62765 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62767 cat >>confdefs.h <<\_ACEOF
62768 #define HAVE___BUILTIN_COS 1
62769 _ACEOF
62776 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62777 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62778 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62779 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62780 echo $ECHO_N "(cached) $ECHO_C" >&6
62781 else
62785 ac_ext=cc
62786 ac_cpp='$CXXCPP $CPPFLAGS'
62787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62791 cat >conftest.$ac_ext <<_ACEOF
62792 /* confdefs.h. */
62793 _ACEOF
62794 cat confdefs.h >>conftest.$ac_ext
62795 cat >>conftest.$ac_ext <<_ACEOF
62796 /* end confdefs.h. */
62797 #include <math.h>
62799 main ()
62801 __builtin_cosl(0);
62803 return 0;
62805 _ACEOF
62806 rm -f conftest.$ac_objext
62807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62808 (eval $ac_compile) 2>conftest.er1
62809 ac_status=$?
62810 grep -v '^ *+' conftest.er1 >conftest.err
62811 rm -f conftest.er1
62812 cat conftest.err >&5
62813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62814 (exit $ac_status); } &&
62815 { ac_try='test -z "$ac_cxx_werror_flag"
62816 || test ! -s conftest.err'
62817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62818 (eval $ac_try) 2>&5
62819 ac_status=$?
62820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62821 (exit $ac_status); }; } &&
62822 { ac_try='test -s conftest.$ac_objext'
62823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62824 (eval $ac_try) 2>&5
62825 ac_status=$?
62826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62827 (exit $ac_status); }; }; then
62828 glibcxx_cv_func___builtin_cosl_use=yes
62829 else
62830 echo "$as_me: failed program was:" >&5
62831 sed 's/^/| /' conftest.$ac_ext >&5
62833 glibcxx_cv_func___builtin_cosl_use=no
62835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62836 ac_ext=c
62837 ac_cpp='$CPP $CPPFLAGS'
62838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62847 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62848 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62849 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62850 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62851 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62852 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62853 echo $ECHO_N "(cached) $ECHO_C" >&6
62854 else
62856 if test x$gcc_no_link = xyes; then
62857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62859 { (exit 1); exit 1; }; }
62861 cat >conftest.$ac_ext <<_ACEOF
62862 /* confdefs.h. */
62863 _ACEOF
62864 cat confdefs.h >>conftest.$ac_ext
62865 cat >>conftest.$ac_ext <<_ACEOF
62866 /* end confdefs.h. */
62867 #include <math.h>
62869 main ()
62871 __builtin_cosl(0);
62873 return 0;
62875 _ACEOF
62876 rm -f conftest.$ac_objext conftest$ac_exeext
62877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62878 (eval $ac_link) 2>conftest.er1
62879 ac_status=$?
62880 grep -v '^ *+' conftest.er1 >conftest.err
62881 rm -f conftest.er1
62882 cat conftest.err >&5
62883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884 (exit $ac_status); } &&
62885 { ac_try='test -z "$ac_c_werror_flag"
62886 || test ! -s conftest.err'
62887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62888 (eval $ac_try) 2>&5
62889 ac_status=$?
62890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62891 (exit $ac_status); }; } &&
62892 { ac_try='test -s conftest$ac_exeext'
62893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62894 (eval $ac_try) 2>&5
62895 ac_status=$?
62896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62897 (exit $ac_status); }; }; then
62898 glibcxx_cv_func___builtin_cosl_link=yes
62899 else
62900 echo "$as_me: failed program was:" >&5
62901 sed 's/^/| /' conftest.$ac_ext >&5
62903 glibcxx_cv_func___builtin_cosl_link=no
62905 rm -f conftest.err conftest.$ac_objext \
62906 conftest$ac_exeext conftest.$ac_ext
62911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62912 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62914 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62916 cat >>confdefs.h <<\_ACEOF
62917 #define HAVE___BUILTIN_COSL 1
62918 _ACEOF
62927 echo "$as_me:$LINENO: checking for main in -lm" >&5
62928 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62929 if test "${ac_cv_lib_m_main+set}" = set; then
62930 echo $ECHO_N "(cached) $ECHO_C" >&6
62931 else
62932 ac_check_lib_save_LIBS=$LIBS
62933 LIBS="-lm $LIBS"
62934 if test x$gcc_no_link = xyes; then
62935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62937 { (exit 1); exit 1; }; }
62939 cat >conftest.$ac_ext <<_ACEOF
62940 /* confdefs.h. */
62941 _ACEOF
62942 cat confdefs.h >>conftest.$ac_ext
62943 cat >>conftest.$ac_ext <<_ACEOF
62944 /* end confdefs.h. */
62948 main ()
62950 main ();
62952 return 0;
62954 _ACEOF
62955 rm -f conftest.$ac_objext conftest$ac_exeext
62956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62957 (eval $ac_link) 2>conftest.er1
62958 ac_status=$?
62959 grep -v '^ *+' conftest.er1 >conftest.err
62960 rm -f conftest.er1
62961 cat conftest.err >&5
62962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62963 (exit $ac_status); } &&
62964 { ac_try='test -z "$ac_c_werror_flag"
62965 || test ! -s conftest.err'
62966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62967 (eval $ac_try) 2>&5
62968 ac_status=$?
62969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62970 (exit $ac_status); }; } &&
62971 { ac_try='test -s conftest$ac_exeext'
62972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62973 (eval $ac_try) 2>&5
62974 ac_status=$?
62975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62976 (exit $ac_status); }; }; then
62977 ac_cv_lib_m_main=yes
62978 else
62979 echo "$as_me: failed program was:" >&5
62980 sed 's/^/| /' conftest.$ac_ext >&5
62982 ac_cv_lib_m_main=no
62984 rm -f conftest.err conftest.$ac_objext \
62985 conftest$ac_exeext conftest.$ac_ext
62986 LIBS=$ac_check_lib_save_LIBS
62988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62989 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62990 if test $ac_cv_lib_m_main = yes; then
62991 cat >>confdefs.h <<_ACEOF
62992 #define HAVE_LIBM 1
62993 _ACEOF
62995 LIBS="-lm $LIBS"
63000 for ac_func in copysignf
63002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63003 echo "$as_me:$LINENO: checking for $ac_func" >&5
63004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63005 if eval "test \"\${$as_ac_var+set}\" = set"; then
63006 echo $ECHO_N "(cached) $ECHO_C" >&6
63007 else
63008 if test x$gcc_no_link = xyes; then
63009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63011 { (exit 1); exit 1; }; }
63013 cat >conftest.$ac_ext <<_ACEOF
63014 /* confdefs.h. */
63015 _ACEOF
63016 cat confdefs.h >>conftest.$ac_ext
63017 cat >>conftest.$ac_ext <<_ACEOF
63018 /* end confdefs.h. */
63019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63021 #define $ac_func innocuous_$ac_func
63023 /* System header to define __stub macros and hopefully few prototypes,
63024 which can conflict with char $ac_func (); below.
63025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63026 <limits.h> exists even on freestanding compilers. */
63028 #ifdef __STDC__
63029 # include <limits.h>
63030 #else
63031 # include <assert.h>
63032 #endif
63034 #undef $ac_func
63036 /* Override any gcc2 internal prototype to avoid an error. */
63037 #ifdef __cplusplus
63038 extern "C"
63040 #endif
63041 /* We use char because int might match the return type of a gcc2
63042 builtin and then its argument prototype would still apply. */
63043 char $ac_func ();
63044 /* The GNU C library defines this for functions which it implements
63045 to always fail with ENOSYS. Some functions are actually named
63046 something starting with __ and the normal name is an alias. */
63047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63048 choke me
63049 #else
63050 char (*f) () = $ac_func;
63051 #endif
63052 #ifdef __cplusplus
63054 #endif
63057 main ()
63059 return f != $ac_func;
63061 return 0;
63063 _ACEOF
63064 rm -f conftest.$ac_objext conftest$ac_exeext
63065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63066 (eval $ac_link) 2>conftest.er1
63067 ac_status=$?
63068 grep -v '^ *+' conftest.er1 >conftest.err
63069 rm -f conftest.er1
63070 cat conftest.err >&5
63071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63072 (exit $ac_status); } &&
63073 { ac_try='test -z "$ac_c_werror_flag"
63074 || test ! -s conftest.err'
63075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63076 (eval $ac_try) 2>&5
63077 ac_status=$?
63078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63079 (exit $ac_status); }; } &&
63080 { ac_try='test -s conftest$ac_exeext'
63081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63082 (eval $ac_try) 2>&5
63083 ac_status=$?
63084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63085 (exit $ac_status); }; }; then
63086 eval "$as_ac_var=yes"
63087 else
63088 echo "$as_me: failed program was:" >&5
63089 sed 's/^/| /' conftest.$ac_ext >&5
63091 eval "$as_ac_var=no"
63093 rm -f conftest.err conftest.$ac_objext \
63094 conftest$ac_exeext conftest.$ac_ext
63096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63098 if test `eval echo '${'$as_ac_var'}'` = yes; then
63099 cat >>confdefs.h <<_ACEOF
63100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63101 _ACEOF
63103 else
63104 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63106 done
63110 for ac_func in __signbit
63112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63113 echo "$as_me:$LINENO: checking for $ac_func" >&5
63114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63115 if eval "test \"\${$as_ac_var+set}\" = set"; then
63116 echo $ECHO_N "(cached) $ECHO_C" >&6
63117 else
63118 if test x$gcc_no_link = xyes; then
63119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63121 { (exit 1); exit 1; }; }
63123 cat >conftest.$ac_ext <<_ACEOF
63124 /* confdefs.h. */
63125 _ACEOF
63126 cat confdefs.h >>conftest.$ac_ext
63127 cat >>conftest.$ac_ext <<_ACEOF
63128 /* end confdefs.h. */
63129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63131 #define $ac_func innocuous_$ac_func
63133 /* System header to define __stub macros and hopefully few prototypes,
63134 which can conflict with char $ac_func (); below.
63135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63136 <limits.h> exists even on freestanding compilers. */
63138 #ifdef __STDC__
63139 # include <limits.h>
63140 #else
63141 # include <assert.h>
63142 #endif
63144 #undef $ac_func
63146 /* Override any gcc2 internal prototype to avoid an error. */
63147 #ifdef __cplusplus
63148 extern "C"
63150 #endif
63151 /* We use char because int might match the return type of a gcc2
63152 builtin and then its argument prototype would still apply. */
63153 char $ac_func ();
63154 /* The GNU C library defines this for functions which it implements
63155 to always fail with ENOSYS. Some functions are actually named
63156 something starting with __ and the normal name is an alias. */
63157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63158 choke me
63159 #else
63160 char (*f) () = $ac_func;
63161 #endif
63162 #ifdef __cplusplus
63164 #endif
63167 main ()
63169 return f != $ac_func;
63171 return 0;
63173 _ACEOF
63174 rm -f conftest.$ac_objext conftest$ac_exeext
63175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63176 (eval $ac_link) 2>conftest.er1
63177 ac_status=$?
63178 grep -v '^ *+' conftest.er1 >conftest.err
63179 rm -f conftest.er1
63180 cat conftest.err >&5
63181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63182 (exit $ac_status); } &&
63183 { ac_try='test -z "$ac_c_werror_flag"
63184 || test ! -s conftest.err'
63185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63186 (eval $ac_try) 2>&5
63187 ac_status=$?
63188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63189 (exit $ac_status); }; } &&
63190 { ac_try='test -s conftest$ac_exeext'
63191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63192 (eval $ac_try) 2>&5
63193 ac_status=$?
63194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63195 (exit $ac_status); }; }; then
63196 eval "$as_ac_var=yes"
63197 else
63198 echo "$as_me: failed program was:" >&5
63199 sed 's/^/| /' conftest.$ac_ext >&5
63201 eval "$as_ac_var=no"
63203 rm -f conftest.err conftest.$ac_objext \
63204 conftest$ac_exeext conftest.$ac_ext
63206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63208 if test `eval echo '${'$as_ac_var'}'` = yes; then
63209 cat >>confdefs.h <<_ACEOF
63210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63211 _ACEOF
63213 else
63214 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63216 done
63220 for ac_func in __signbitf
63222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63223 echo "$as_me:$LINENO: checking for $ac_func" >&5
63224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63225 if eval "test \"\${$as_ac_var+set}\" = set"; then
63226 echo $ECHO_N "(cached) $ECHO_C" >&6
63227 else
63228 if test x$gcc_no_link = xyes; then
63229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63231 { (exit 1); exit 1; }; }
63233 cat >conftest.$ac_ext <<_ACEOF
63234 /* confdefs.h. */
63235 _ACEOF
63236 cat confdefs.h >>conftest.$ac_ext
63237 cat >>conftest.$ac_ext <<_ACEOF
63238 /* end confdefs.h. */
63239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63241 #define $ac_func innocuous_$ac_func
63243 /* System header to define __stub macros and hopefully few prototypes,
63244 which can conflict with char $ac_func (); below.
63245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63246 <limits.h> exists even on freestanding compilers. */
63248 #ifdef __STDC__
63249 # include <limits.h>
63250 #else
63251 # include <assert.h>
63252 #endif
63254 #undef $ac_func
63256 /* Override any gcc2 internal prototype to avoid an error. */
63257 #ifdef __cplusplus
63258 extern "C"
63260 #endif
63261 /* We use char because int might match the return type of a gcc2
63262 builtin and then its argument prototype would still apply. */
63263 char $ac_func ();
63264 /* The GNU C library defines this for functions which it implements
63265 to always fail with ENOSYS. Some functions are actually named
63266 something starting with __ and the normal name is an alias. */
63267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63268 choke me
63269 #else
63270 char (*f) () = $ac_func;
63271 #endif
63272 #ifdef __cplusplus
63274 #endif
63277 main ()
63279 return f != $ac_func;
63281 return 0;
63283 _ACEOF
63284 rm -f conftest.$ac_objext conftest$ac_exeext
63285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63286 (eval $ac_link) 2>conftest.er1
63287 ac_status=$?
63288 grep -v '^ *+' conftest.er1 >conftest.err
63289 rm -f conftest.er1
63290 cat conftest.err >&5
63291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63292 (exit $ac_status); } &&
63293 { ac_try='test -z "$ac_c_werror_flag"
63294 || test ! -s conftest.err'
63295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63296 (eval $ac_try) 2>&5
63297 ac_status=$?
63298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63299 (exit $ac_status); }; } &&
63300 { ac_try='test -s conftest$ac_exeext'
63301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63302 (eval $ac_try) 2>&5
63303 ac_status=$?
63304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63305 (exit $ac_status); }; }; then
63306 eval "$as_ac_var=yes"
63307 else
63308 echo "$as_me: failed program was:" >&5
63309 sed 's/^/| /' conftest.$ac_ext >&5
63311 eval "$as_ac_var=no"
63313 rm -f conftest.err conftest.$ac_objext \
63314 conftest$ac_exeext conftest.$ac_ext
63316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63318 if test `eval echo '${'$as_ac_var'}'` = yes; then
63319 cat >>confdefs.h <<_ACEOF
63320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63321 _ACEOF
63323 else
63324 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63326 done
63329 if test x$ac_cv_func_copysignl = x"yes"; then
63331 for ac_func in __signbitl
63333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63334 echo "$as_me:$LINENO: checking for $ac_func" >&5
63335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63336 if eval "test \"\${$as_ac_var+set}\" = set"; then
63337 echo $ECHO_N "(cached) $ECHO_C" >&6
63338 else
63339 if test x$gcc_no_link = xyes; then
63340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63342 { (exit 1); exit 1; }; }
63344 cat >conftest.$ac_ext <<_ACEOF
63345 /* confdefs.h. */
63346 _ACEOF
63347 cat confdefs.h >>conftest.$ac_ext
63348 cat >>conftest.$ac_ext <<_ACEOF
63349 /* end confdefs.h. */
63350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63352 #define $ac_func innocuous_$ac_func
63354 /* System header to define __stub macros and hopefully few prototypes,
63355 which can conflict with char $ac_func (); below.
63356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63357 <limits.h> exists even on freestanding compilers. */
63359 #ifdef __STDC__
63360 # include <limits.h>
63361 #else
63362 # include <assert.h>
63363 #endif
63365 #undef $ac_func
63367 /* Override any gcc2 internal prototype to avoid an error. */
63368 #ifdef __cplusplus
63369 extern "C"
63371 #endif
63372 /* We use char because int might match the return type of a gcc2
63373 builtin and then its argument prototype would still apply. */
63374 char $ac_func ();
63375 /* The GNU C library defines this for functions which it implements
63376 to always fail with ENOSYS. Some functions are actually named
63377 something starting with __ and the normal name is an alias. */
63378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63379 choke me
63380 #else
63381 char (*f) () = $ac_func;
63382 #endif
63383 #ifdef __cplusplus
63385 #endif
63388 main ()
63390 return f != $ac_func;
63392 return 0;
63394 _ACEOF
63395 rm -f conftest.$ac_objext conftest$ac_exeext
63396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63397 (eval $ac_link) 2>conftest.er1
63398 ac_status=$?
63399 grep -v '^ *+' conftest.er1 >conftest.err
63400 rm -f conftest.er1
63401 cat conftest.err >&5
63402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63403 (exit $ac_status); } &&
63404 { ac_try='test -z "$ac_c_werror_flag"
63405 || test ! -s conftest.err'
63406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63407 (eval $ac_try) 2>&5
63408 ac_status=$?
63409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63410 (exit $ac_status); }; } &&
63411 { ac_try='test -s conftest$ac_exeext'
63412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63413 (eval $ac_try) 2>&5
63414 ac_status=$?
63415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63416 (exit $ac_status); }; }; then
63417 eval "$as_ac_var=yes"
63418 else
63419 echo "$as_me: failed program was:" >&5
63420 sed 's/^/| /' conftest.$ac_ext >&5
63422 eval "$as_ac_var=no"
63424 rm -f conftest.err conftest.$ac_objext \
63425 conftest$ac_exeext conftest.$ac_ext
63427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63429 if test `eval echo '${'$as_ac_var'}'` = yes; then
63430 cat >>confdefs.h <<_ACEOF
63431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63432 _ACEOF
63434 else
63435 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63437 done
63441 # Used in libmath/Makefile.am.
63442 if test -n "$LIBMATHOBJS"; then
63443 need_libmath=yes
63448 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63449 ac_save_CXXFLAGS="$CXXFLAGS"
63450 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63453 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63454 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63455 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63456 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63457 echo $ECHO_N "(cached) $ECHO_C" >&6
63458 else
63462 ac_ext=cc
63463 ac_cpp='$CXXCPP $CPPFLAGS'
63464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63468 cat >conftest.$ac_ext <<_ACEOF
63469 /* confdefs.h. */
63470 _ACEOF
63471 cat confdefs.h >>conftest.$ac_ext
63472 cat >>conftest.$ac_ext <<_ACEOF
63473 /* end confdefs.h. */
63474 #include <stdlib.h>
63476 main ()
63478 strtold(0, 0);
63480 return 0;
63482 _ACEOF
63483 rm -f conftest.$ac_objext
63484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63485 (eval $ac_compile) 2>conftest.er1
63486 ac_status=$?
63487 grep -v '^ *+' conftest.er1 >conftest.err
63488 rm -f conftest.er1
63489 cat conftest.err >&5
63490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63491 (exit $ac_status); } &&
63492 { ac_try='test -z "$ac_cxx_werror_flag"
63493 || test ! -s conftest.err'
63494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63495 (eval $ac_try) 2>&5
63496 ac_status=$?
63497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63498 (exit $ac_status); }; } &&
63499 { ac_try='test -s conftest.$ac_objext'
63500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63501 (eval $ac_try) 2>&5
63502 ac_status=$?
63503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63504 (exit $ac_status); }; }; then
63505 glibcxx_cv_func_strtold_use=yes
63506 else
63507 echo "$as_me: failed program was:" >&5
63508 sed 's/^/| /' conftest.$ac_ext >&5
63510 glibcxx_cv_func_strtold_use=no
63512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63513 ac_ext=c
63514 ac_cpp='$CPP $CPPFLAGS'
63515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63524 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63525 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63527 for ac_func in strtold
63529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63530 echo "$as_me:$LINENO: checking for $ac_func" >&5
63531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63532 if eval "test \"\${$as_ac_var+set}\" = set"; then
63533 echo $ECHO_N "(cached) $ECHO_C" >&6
63534 else
63535 if test x$gcc_no_link = xyes; then
63536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63538 { (exit 1); exit 1; }; }
63540 cat >conftest.$ac_ext <<_ACEOF
63541 /* confdefs.h. */
63542 _ACEOF
63543 cat confdefs.h >>conftest.$ac_ext
63544 cat >>conftest.$ac_ext <<_ACEOF
63545 /* end confdefs.h. */
63546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63548 #define $ac_func innocuous_$ac_func
63550 /* System header to define __stub macros and hopefully few prototypes,
63551 which can conflict with char $ac_func (); below.
63552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63553 <limits.h> exists even on freestanding compilers. */
63555 #ifdef __STDC__
63556 # include <limits.h>
63557 #else
63558 # include <assert.h>
63559 #endif
63561 #undef $ac_func
63563 /* Override any gcc2 internal prototype to avoid an error. */
63564 #ifdef __cplusplus
63565 extern "C"
63567 #endif
63568 /* We use char because int might match the return type of a gcc2
63569 builtin and then its argument prototype would still apply. */
63570 char $ac_func ();
63571 /* The GNU C library defines this for functions which it implements
63572 to always fail with ENOSYS. Some functions are actually named
63573 something starting with __ and the normal name is an alias. */
63574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63575 choke me
63576 #else
63577 char (*f) () = $ac_func;
63578 #endif
63579 #ifdef __cplusplus
63581 #endif
63584 main ()
63586 return f != $ac_func;
63588 return 0;
63590 _ACEOF
63591 rm -f conftest.$ac_objext conftest$ac_exeext
63592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63593 (eval $ac_link) 2>conftest.er1
63594 ac_status=$?
63595 grep -v '^ *+' conftest.er1 >conftest.err
63596 rm -f conftest.er1
63597 cat conftest.err >&5
63598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599 (exit $ac_status); } &&
63600 { ac_try='test -z "$ac_c_werror_flag"
63601 || test ! -s conftest.err'
63602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63603 (eval $ac_try) 2>&5
63604 ac_status=$?
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); }; } &&
63607 { ac_try='test -s conftest$ac_exeext'
63608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63609 (eval $ac_try) 2>&5
63610 ac_status=$?
63611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612 (exit $ac_status); }; }; then
63613 eval "$as_ac_var=yes"
63614 else
63615 echo "$as_me: failed program was:" >&5
63616 sed 's/^/| /' conftest.$ac_ext >&5
63618 eval "$as_ac_var=no"
63620 rm -f conftest.err conftest.$ac_objext \
63621 conftest$ac_exeext conftest.$ac_ext
63623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63625 if test `eval echo '${'$as_ac_var'}'` = yes; then
63626 cat >>confdefs.h <<_ACEOF
63627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63628 _ACEOF
63631 done
63639 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63640 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63641 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63642 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63643 echo $ECHO_N "(cached) $ECHO_C" >&6
63644 else
63648 ac_ext=cc
63649 ac_cpp='$CXXCPP $CPPFLAGS'
63650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63654 cat >conftest.$ac_ext <<_ACEOF
63655 /* confdefs.h. */
63656 _ACEOF
63657 cat confdefs.h >>conftest.$ac_ext
63658 cat >>conftest.$ac_ext <<_ACEOF
63659 /* end confdefs.h. */
63660 #include <stdlib.h>
63662 main ()
63664 strtof(0, 0);
63666 return 0;
63668 _ACEOF
63669 rm -f conftest.$ac_objext
63670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63671 (eval $ac_compile) 2>conftest.er1
63672 ac_status=$?
63673 grep -v '^ *+' conftest.er1 >conftest.err
63674 rm -f conftest.er1
63675 cat conftest.err >&5
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); } &&
63678 { ac_try='test -z "$ac_cxx_werror_flag"
63679 || test ! -s conftest.err'
63680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63681 (eval $ac_try) 2>&5
63682 ac_status=$?
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 (exit $ac_status); }; } &&
63685 { ac_try='test -s conftest.$ac_objext'
63686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687 (eval $ac_try) 2>&5
63688 ac_status=$?
63689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690 (exit $ac_status); }; }; then
63691 glibcxx_cv_func_strtof_use=yes
63692 else
63693 echo "$as_me: failed program was:" >&5
63694 sed 's/^/| /' conftest.$ac_ext >&5
63696 glibcxx_cv_func_strtof_use=no
63698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63710 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63711 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63713 for ac_func in strtof
63715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63716 echo "$as_me:$LINENO: checking for $ac_func" >&5
63717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63718 if eval "test \"\${$as_ac_var+set}\" = set"; then
63719 echo $ECHO_N "(cached) $ECHO_C" >&6
63720 else
63721 if test x$gcc_no_link = xyes; then
63722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63724 { (exit 1); exit 1; }; }
63726 cat >conftest.$ac_ext <<_ACEOF
63727 /* confdefs.h. */
63728 _ACEOF
63729 cat confdefs.h >>conftest.$ac_ext
63730 cat >>conftest.$ac_ext <<_ACEOF
63731 /* end confdefs.h. */
63732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63734 #define $ac_func innocuous_$ac_func
63736 /* System header to define __stub macros and hopefully few prototypes,
63737 which can conflict with char $ac_func (); below.
63738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63739 <limits.h> exists even on freestanding compilers. */
63741 #ifdef __STDC__
63742 # include <limits.h>
63743 #else
63744 # include <assert.h>
63745 #endif
63747 #undef $ac_func
63749 /* Override any gcc2 internal prototype to avoid an error. */
63750 #ifdef __cplusplus
63751 extern "C"
63753 #endif
63754 /* We use char because int might match the return type of a gcc2
63755 builtin and then its argument prototype would still apply. */
63756 char $ac_func ();
63757 /* The GNU C library defines this for functions which it implements
63758 to always fail with ENOSYS. Some functions are actually named
63759 something starting with __ and the normal name is an alias. */
63760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63761 choke me
63762 #else
63763 char (*f) () = $ac_func;
63764 #endif
63765 #ifdef __cplusplus
63767 #endif
63770 main ()
63772 return f != $ac_func;
63774 return 0;
63776 _ACEOF
63777 rm -f conftest.$ac_objext conftest$ac_exeext
63778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63779 (eval $ac_link) 2>conftest.er1
63780 ac_status=$?
63781 grep -v '^ *+' conftest.er1 >conftest.err
63782 rm -f conftest.er1
63783 cat conftest.err >&5
63784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63785 (exit $ac_status); } &&
63786 { ac_try='test -z "$ac_c_werror_flag"
63787 || test ! -s conftest.err'
63788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789 (eval $ac_try) 2>&5
63790 ac_status=$?
63791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792 (exit $ac_status); }; } &&
63793 { ac_try='test -s conftest$ac_exeext'
63794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63795 (eval $ac_try) 2>&5
63796 ac_status=$?
63797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63798 (exit $ac_status); }; }; then
63799 eval "$as_ac_var=yes"
63800 else
63801 echo "$as_me: failed program was:" >&5
63802 sed 's/^/| /' conftest.$ac_ext >&5
63804 eval "$as_ac_var=no"
63806 rm -f conftest.err conftest.$ac_objext \
63807 conftest$ac_exeext conftest.$ac_ext
63809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63811 if test `eval echo '${'$as_ac_var'}'` = yes; then
63812 cat >>confdefs.h <<_ACEOF
63813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63814 _ACEOF
63817 done
63825 CXXFLAGS="$ac_save_CXXFLAGS"
63828 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63829 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63830 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63831 echo $ECHO_N "(cached) $ECHO_C" >&6
63832 else
63834 if test x$gcc_no_link = xyes; then
63835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63837 { (exit 1); exit 1; }; }
63839 cat >conftest.$ac_ext <<_ACEOF
63840 /* confdefs.h. */
63841 _ACEOF
63842 cat confdefs.h >>conftest.$ac_ext
63843 cat >>conftest.$ac_ext <<_ACEOF
63844 /* end confdefs.h. */
63845 #include <sys/stat.h>
63847 main ()
63849 struct stat buffer;
63850 fstat(0, &buffer);
63851 S_ISREG(buffer.st_mode);
63853 return 0;
63855 _ACEOF
63856 rm -f conftest.$ac_objext conftest$ac_exeext
63857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63858 (eval $ac_link) 2>conftest.er1
63859 ac_status=$?
63860 grep -v '^ *+' conftest.er1 >conftest.err
63861 rm -f conftest.er1
63862 cat conftest.err >&5
63863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864 (exit $ac_status); } &&
63865 { ac_try='test -z "$ac_c_werror_flag"
63866 || test ! -s conftest.err'
63867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63868 (eval $ac_try) 2>&5
63869 ac_status=$?
63870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63871 (exit $ac_status); }; } &&
63872 { ac_try='test -s conftest$ac_exeext'
63873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63874 (eval $ac_try) 2>&5
63875 ac_status=$?
63876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63877 (exit $ac_status); }; }; then
63878 glibcxx_cv_S_ISREG=yes
63879 else
63880 echo "$as_me: failed program was:" >&5
63881 sed 's/^/| /' conftest.$ac_ext >&5
63883 glibcxx_cv_S_ISREG=no
63885 rm -f conftest.err conftest.$ac_objext \
63886 conftest$ac_exeext conftest.$ac_ext
63890 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63891 echo $ECHO_N "(cached) $ECHO_C" >&6
63892 else
63894 if test x$gcc_no_link = xyes; then
63895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63897 { (exit 1); exit 1; }; }
63899 cat >conftest.$ac_ext <<_ACEOF
63900 /* confdefs.h. */
63901 _ACEOF
63902 cat confdefs.h >>conftest.$ac_ext
63903 cat >>conftest.$ac_ext <<_ACEOF
63904 /* end confdefs.h. */
63905 #include <sys/stat.h>
63907 main ()
63909 struct stat buffer;
63910 fstat(0, &buffer);
63911 S_IFREG & buffer.st_mode;
63913 return 0;
63915 _ACEOF
63916 rm -f conftest.$ac_objext conftest$ac_exeext
63917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63918 (eval $ac_link) 2>conftest.er1
63919 ac_status=$?
63920 grep -v '^ *+' conftest.er1 >conftest.err
63921 rm -f conftest.er1
63922 cat conftest.err >&5
63923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63924 (exit $ac_status); } &&
63925 { ac_try='test -z "$ac_c_werror_flag"
63926 || test ! -s conftest.err'
63927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63928 (eval $ac_try) 2>&5
63929 ac_status=$?
63930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931 (exit $ac_status); }; } &&
63932 { ac_try='test -s conftest$ac_exeext'
63933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63934 (eval $ac_try) 2>&5
63935 ac_status=$?
63936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63937 (exit $ac_status); }; }; then
63938 glibcxx_cv_S_IFREG=yes
63939 else
63940 echo "$as_me: failed program was:" >&5
63941 sed 's/^/| /' conftest.$ac_ext >&5
63943 glibcxx_cv_S_IFREG=no
63945 rm -f conftest.err conftest.$ac_objext \
63946 conftest$ac_exeext conftest.$ac_ext
63950 res=no
63951 if test $glibcxx_cv_S_ISREG = yes; then
63953 cat >>confdefs.h <<\_ACEOF
63954 #define HAVE_S_ISREG 1
63955 _ACEOF
63957 res=S_ISREG
63958 elif test $glibcxx_cv_S_IFREG = yes; then
63960 cat >>confdefs.h <<\_ACEOF
63961 #define HAVE_S_IFREG 1
63962 _ACEOF
63964 res=S_IFREG
63966 echo "$as_me:$LINENO: result: $res" >&5
63967 echo "${ECHO_T}$res" >&6
63969 cat >>confdefs.h <<\_ACEOF
63970 #define HAVE_SIGSETJMP 1
63971 _ACEOF
63973 cat >>confdefs.h <<\_ACEOF
63974 #define HAVE_GETPAGESIZE 1
63975 _ACEOF
63977 cat >>confdefs.h <<\_ACEOF
63978 #define HAVE_WRITEV 1
63979 _ACEOF
63981 cat >>confdefs.h <<\_ACEOF
63982 #define HAVE_INT64_T 1
63983 _ACEOF
63986 cat >>confdefs.h <<\_ACEOF
63987 #define HAVE_LIBM 1
63988 _ACEOF
63990 cat >>confdefs.h <<\_ACEOF
63991 #define HAVE_COPYSIGN 1
63992 _ACEOF
63994 cat >>confdefs.h <<\_ACEOF
63995 #define HAVE_FINITE 1
63996 _ACEOF
63998 cat >>confdefs.h <<\_ACEOF
63999 #define HAVE_HYPOT 1
64000 _ACEOF
64002 cat >>confdefs.h <<\_ACEOF
64003 #define HAVE_ISNAN 1
64004 _ACEOF
64006 cat >>confdefs.h <<\_ACEOF
64007 #define HAVE_ISINF 1
64008 _ACEOF
64011 cat >>confdefs.h <<\_ACEOF
64012 #define HAVE_LDEXPF 1
64013 _ACEOF
64015 cat >>confdefs.h <<\_ACEOF
64016 #define HAVE_MODF 1
64017 _ACEOF
64019 cat >>confdefs.h <<\_ACEOF
64020 #define HAVE_SQRTF 1
64021 _ACEOF
64025 *-darwin*)
64026 # Darwin versions vary, but the linker should work in a cross environment,
64027 # so we just check for all the features here.
64028 # Check for available headers.
64041 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64042 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64043 sys/types.h
64045 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64047 echo "$as_me:$LINENO: checking for $ac_header" >&5
64048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64050 echo $ECHO_N "(cached) $ECHO_C" >&6
64052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64054 else
64055 # Is the header compilable?
64056 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64058 cat >conftest.$ac_ext <<_ACEOF
64059 /* confdefs.h. */
64060 _ACEOF
64061 cat confdefs.h >>conftest.$ac_ext
64062 cat >>conftest.$ac_ext <<_ACEOF
64063 /* end confdefs.h. */
64064 $ac_includes_default
64065 #include <$ac_header>
64066 _ACEOF
64067 rm -f conftest.$ac_objext
64068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64069 (eval $ac_compile) 2>conftest.er1
64070 ac_status=$?
64071 grep -v '^ *+' conftest.er1 >conftest.err
64072 rm -f conftest.er1
64073 cat conftest.err >&5
64074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64075 (exit $ac_status); } &&
64076 { ac_try='test -z "$ac_c_werror_flag"
64077 || test ! -s conftest.err'
64078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64079 (eval $ac_try) 2>&5
64080 ac_status=$?
64081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64082 (exit $ac_status); }; } &&
64083 { ac_try='test -s conftest.$ac_objext'
64084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64085 (eval $ac_try) 2>&5
64086 ac_status=$?
64087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64088 (exit $ac_status); }; }; then
64089 ac_header_compiler=yes
64090 else
64091 echo "$as_me: failed program was:" >&5
64092 sed 's/^/| /' conftest.$ac_ext >&5
64094 ac_header_compiler=no
64096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64098 echo "${ECHO_T}$ac_header_compiler" >&6
64100 # Is the header present?
64101 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64103 cat >conftest.$ac_ext <<_ACEOF
64104 /* confdefs.h. */
64105 _ACEOF
64106 cat confdefs.h >>conftest.$ac_ext
64107 cat >>conftest.$ac_ext <<_ACEOF
64108 /* end confdefs.h. */
64109 #include <$ac_header>
64110 _ACEOF
64111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64113 ac_status=$?
64114 grep -v '^ *+' conftest.er1 >conftest.err
64115 rm -f conftest.er1
64116 cat conftest.err >&5
64117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64118 (exit $ac_status); } >/dev/null; then
64119 if test -s conftest.err; then
64120 ac_cpp_err=$ac_c_preproc_warn_flag
64121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64122 else
64123 ac_cpp_err=
64125 else
64126 ac_cpp_err=yes
64128 if test -z "$ac_cpp_err"; then
64129 ac_header_preproc=yes
64130 else
64131 echo "$as_me: failed program was:" >&5
64132 sed 's/^/| /' conftest.$ac_ext >&5
64134 ac_header_preproc=no
64136 rm -f conftest.err conftest.$ac_ext
64137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64138 echo "${ECHO_T}$ac_header_preproc" >&6
64140 # So? What about this header?
64141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64142 yes:no: )
64143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64144 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64147 ac_header_preproc=yes
64149 no:yes:* )
64150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64155 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64163 cat <<\_ASBOX
64164 ## ----------------------------------------- ##
64165 ## Report this to the package-unused lists. ##
64166 ## ----------------------------------------- ##
64167 _ASBOX
64169 sed "s/^/$as_me: WARNING: /" >&2
64171 esac
64172 echo "$as_me:$LINENO: checking for $ac_header" >&5
64173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64175 echo $ECHO_N "(cached) $ECHO_C" >&6
64176 else
64177 eval "$as_ac_Header=\$ac_header_preproc"
64179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64184 cat >>confdefs.h <<_ACEOF
64185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64186 _ACEOF
64190 done
64193 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64196 ac_save_CXXFLAGS="$CXXFLAGS"
64197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64199 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64200 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64201 if test "${ac_cv_lib_m_sin+set}" = set; then
64202 echo $ECHO_N "(cached) $ECHO_C" >&6
64203 else
64204 ac_check_lib_save_LIBS=$LIBS
64205 LIBS="-lm $LIBS"
64206 if test x$gcc_no_link = xyes; then
64207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64209 { (exit 1); exit 1; }; }
64211 cat >conftest.$ac_ext <<_ACEOF
64212 /* confdefs.h. */
64213 _ACEOF
64214 cat confdefs.h >>conftest.$ac_ext
64215 cat >>conftest.$ac_ext <<_ACEOF
64216 /* end confdefs.h. */
64218 /* Override any gcc2 internal prototype to avoid an error. */
64219 #ifdef __cplusplus
64220 extern "C"
64221 #endif
64222 /* We use char because int might match the return type of a gcc2
64223 builtin and then its argument prototype would still apply. */
64224 char sin ();
64226 main ()
64228 sin ();
64230 return 0;
64232 _ACEOF
64233 rm -f conftest.$ac_objext conftest$ac_exeext
64234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64235 (eval $ac_link) 2>conftest.er1
64236 ac_status=$?
64237 grep -v '^ *+' conftest.er1 >conftest.err
64238 rm -f conftest.er1
64239 cat conftest.err >&5
64240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64241 (exit $ac_status); } &&
64242 { ac_try='test -z "$ac_c_werror_flag"
64243 || test ! -s conftest.err'
64244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64245 (eval $ac_try) 2>&5
64246 ac_status=$?
64247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64248 (exit $ac_status); }; } &&
64249 { ac_try='test -s conftest$ac_exeext'
64250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64251 (eval $ac_try) 2>&5
64252 ac_status=$?
64253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64254 (exit $ac_status); }; }; then
64255 ac_cv_lib_m_sin=yes
64256 else
64257 echo "$as_me: failed program was:" >&5
64258 sed 's/^/| /' conftest.$ac_ext >&5
64260 ac_cv_lib_m_sin=no
64262 rm -f conftest.err conftest.$ac_objext \
64263 conftest$ac_exeext conftest.$ac_ext
64264 LIBS=$ac_check_lib_save_LIBS
64266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64267 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64268 if test $ac_cv_lib_m_sin = yes; then
64269 libm="-lm"
64272 ac_save_LIBS="$LIBS"
64273 LIBS="$LIBS $libm"
64277 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64278 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64279 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64280 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64281 echo $ECHO_N "(cached) $ECHO_C" >&6
64282 else
64286 ac_ext=cc
64287 ac_cpp='$CXXCPP $CPPFLAGS'
64288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64292 cat >conftest.$ac_ext <<_ACEOF
64293 /* confdefs.h. */
64294 _ACEOF
64295 cat confdefs.h >>conftest.$ac_ext
64296 cat >>conftest.$ac_ext <<_ACEOF
64297 /* end confdefs.h. */
64298 #include <math.h>
64299 #ifdef HAVE_IEEEFP_H
64300 #include <ieeefp.h>
64301 #endif
64304 main ()
64306 isinf(0);
64308 return 0;
64310 _ACEOF
64311 rm -f conftest.$ac_objext
64312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64313 (eval $ac_compile) 2>conftest.er1
64314 ac_status=$?
64315 grep -v '^ *+' conftest.er1 >conftest.err
64316 rm -f conftest.er1
64317 cat conftest.err >&5
64318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64319 (exit $ac_status); } &&
64320 { ac_try='test -z "$ac_cxx_werror_flag"
64321 || test ! -s conftest.err'
64322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64323 (eval $ac_try) 2>&5
64324 ac_status=$?
64325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64326 (exit $ac_status); }; } &&
64327 { ac_try='test -s conftest.$ac_objext'
64328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64329 (eval $ac_try) 2>&5
64330 ac_status=$?
64331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64332 (exit $ac_status); }; }; then
64333 glibcxx_cv_func_isinf_use=yes
64334 else
64335 echo "$as_me: failed program was:" >&5
64336 sed 's/^/| /' conftest.$ac_ext >&5
64338 glibcxx_cv_func_isinf_use=no
64340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64341 ac_ext=c
64342 ac_cpp='$CPP $CPPFLAGS'
64343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64352 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64354 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64356 for ac_func in isinf
64358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64359 echo "$as_me:$LINENO: checking for $ac_func" >&5
64360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64361 if eval "test \"\${$as_ac_var+set}\" = set"; then
64362 echo $ECHO_N "(cached) $ECHO_C" >&6
64363 else
64364 if test x$gcc_no_link = xyes; then
64365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64367 { (exit 1); exit 1; }; }
64369 cat >conftest.$ac_ext <<_ACEOF
64370 /* confdefs.h. */
64371 _ACEOF
64372 cat confdefs.h >>conftest.$ac_ext
64373 cat >>conftest.$ac_ext <<_ACEOF
64374 /* end confdefs.h. */
64375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64377 #define $ac_func innocuous_$ac_func
64379 /* System header to define __stub macros and hopefully few prototypes,
64380 which can conflict with char $ac_func (); below.
64381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64382 <limits.h> exists even on freestanding compilers. */
64384 #ifdef __STDC__
64385 # include <limits.h>
64386 #else
64387 # include <assert.h>
64388 #endif
64390 #undef $ac_func
64392 /* Override any gcc2 internal prototype to avoid an error. */
64393 #ifdef __cplusplus
64394 extern "C"
64396 #endif
64397 /* We use char because int might match the return type of a gcc2
64398 builtin and then its argument prototype would still apply. */
64399 char $ac_func ();
64400 /* The GNU C library defines this for functions which it implements
64401 to always fail with ENOSYS. Some functions are actually named
64402 something starting with __ and the normal name is an alias. */
64403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64404 choke me
64405 #else
64406 char (*f) () = $ac_func;
64407 #endif
64408 #ifdef __cplusplus
64410 #endif
64413 main ()
64415 return f != $ac_func;
64417 return 0;
64419 _ACEOF
64420 rm -f conftest.$ac_objext conftest$ac_exeext
64421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64422 (eval $ac_link) 2>conftest.er1
64423 ac_status=$?
64424 grep -v '^ *+' conftest.er1 >conftest.err
64425 rm -f conftest.er1
64426 cat conftest.err >&5
64427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64428 (exit $ac_status); } &&
64429 { ac_try='test -z "$ac_c_werror_flag"
64430 || test ! -s conftest.err'
64431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64432 (eval $ac_try) 2>&5
64433 ac_status=$?
64434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64435 (exit $ac_status); }; } &&
64436 { ac_try='test -s conftest$ac_exeext'
64437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64438 (eval $ac_try) 2>&5
64439 ac_status=$?
64440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64441 (exit $ac_status); }; }; then
64442 eval "$as_ac_var=yes"
64443 else
64444 echo "$as_me: failed program was:" >&5
64445 sed 's/^/| /' conftest.$ac_ext >&5
64447 eval "$as_ac_var=no"
64449 rm -f conftest.err conftest.$ac_objext \
64450 conftest$ac_exeext conftest.$ac_ext
64452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64454 if test `eval echo '${'$as_ac_var'}'` = yes; then
64455 cat >>confdefs.h <<_ACEOF
64456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64457 _ACEOF
64460 done
64462 else
64464 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64465 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64468 echo $ECHO_N "(cached) $ECHO_C" >&6
64469 else
64473 ac_ext=cc
64474 ac_cpp='$CXXCPP $CPPFLAGS'
64475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64479 cat >conftest.$ac_ext <<_ACEOF
64480 /* confdefs.h. */
64481 _ACEOF
64482 cat confdefs.h >>conftest.$ac_ext
64483 cat >>conftest.$ac_ext <<_ACEOF
64484 /* end confdefs.h. */
64485 #include <math.h>
64486 #ifdef HAVE_IEEEFP_H
64487 #include <ieeefp.h>
64488 #endif
64491 main ()
64493 _isinf(0);
64495 return 0;
64497 _ACEOF
64498 rm -f conftest.$ac_objext
64499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64500 (eval $ac_compile) 2>conftest.er1
64501 ac_status=$?
64502 grep -v '^ *+' conftest.er1 >conftest.err
64503 rm -f conftest.er1
64504 cat conftest.err >&5
64505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64506 (exit $ac_status); } &&
64507 { ac_try='test -z "$ac_cxx_werror_flag"
64508 || test ! -s conftest.err'
64509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64510 (eval $ac_try) 2>&5
64511 ac_status=$?
64512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64513 (exit $ac_status); }; } &&
64514 { ac_try='test -s conftest.$ac_objext'
64515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64516 (eval $ac_try) 2>&5
64517 ac_status=$?
64518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64519 (exit $ac_status); }; }; then
64520 glibcxx_cv_func__isinf_use=yes
64521 else
64522 echo "$as_me: failed program was:" >&5
64523 sed 's/^/| /' conftest.$ac_ext >&5
64525 glibcxx_cv_func__isinf_use=no
64527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64528 ac_ext=c
64529 ac_cpp='$CPP $CPPFLAGS'
64530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64539 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64541 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64543 for ac_func in _isinf
64545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64546 echo "$as_me:$LINENO: checking for $ac_func" >&5
64547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64548 if eval "test \"\${$as_ac_var+set}\" = set"; then
64549 echo $ECHO_N "(cached) $ECHO_C" >&6
64550 else
64551 if test x$gcc_no_link = xyes; then
64552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64554 { (exit 1); exit 1; }; }
64556 cat >conftest.$ac_ext <<_ACEOF
64557 /* confdefs.h. */
64558 _ACEOF
64559 cat confdefs.h >>conftest.$ac_ext
64560 cat >>conftest.$ac_ext <<_ACEOF
64561 /* end confdefs.h. */
64562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64564 #define $ac_func innocuous_$ac_func
64566 /* System header to define __stub macros and hopefully few prototypes,
64567 which can conflict with char $ac_func (); below.
64568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64569 <limits.h> exists even on freestanding compilers. */
64571 #ifdef __STDC__
64572 # include <limits.h>
64573 #else
64574 # include <assert.h>
64575 #endif
64577 #undef $ac_func
64579 /* Override any gcc2 internal prototype to avoid an error. */
64580 #ifdef __cplusplus
64581 extern "C"
64583 #endif
64584 /* We use char because int might match the return type of a gcc2
64585 builtin and then its argument prototype would still apply. */
64586 char $ac_func ();
64587 /* The GNU C library defines this for functions which it implements
64588 to always fail with ENOSYS. Some functions are actually named
64589 something starting with __ and the normal name is an alias. */
64590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64591 choke me
64592 #else
64593 char (*f) () = $ac_func;
64594 #endif
64595 #ifdef __cplusplus
64597 #endif
64600 main ()
64602 return f != $ac_func;
64604 return 0;
64606 _ACEOF
64607 rm -f conftest.$ac_objext conftest$ac_exeext
64608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64609 (eval $ac_link) 2>conftest.er1
64610 ac_status=$?
64611 grep -v '^ *+' conftest.er1 >conftest.err
64612 rm -f conftest.er1
64613 cat conftest.err >&5
64614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64615 (exit $ac_status); } &&
64616 { ac_try='test -z "$ac_c_werror_flag"
64617 || test ! -s conftest.err'
64618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64619 (eval $ac_try) 2>&5
64620 ac_status=$?
64621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64622 (exit $ac_status); }; } &&
64623 { ac_try='test -s conftest$ac_exeext'
64624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64625 (eval $ac_try) 2>&5
64626 ac_status=$?
64627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64628 (exit $ac_status); }; }; then
64629 eval "$as_ac_var=yes"
64630 else
64631 echo "$as_me: failed program was:" >&5
64632 sed 's/^/| /' conftest.$ac_ext >&5
64634 eval "$as_ac_var=no"
64636 rm -f conftest.err conftest.$ac_objext \
64637 conftest$ac_exeext conftest.$ac_ext
64639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64641 if test `eval echo '${'$as_ac_var'}'` = yes; then
64642 cat >>confdefs.h <<_ACEOF
64643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64644 _ACEOF
64647 done
64657 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64658 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64659 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64660 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64661 echo $ECHO_N "(cached) $ECHO_C" >&6
64662 else
64666 ac_ext=cc
64667 ac_cpp='$CXXCPP $CPPFLAGS'
64668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64672 cat >conftest.$ac_ext <<_ACEOF
64673 /* confdefs.h. */
64674 _ACEOF
64675 cat confdefs.h >>conftest.$ac_ext
64676 cat >>conftest.$ac_ext <<_ACEOF
64677 /* end confdefs.h. */
64678 #include <math.h>
64679 #ifdef HAVE_IEEEFP_H
64680 #include <ieeefp.h>
64681 #endif
64684 main ()
64686 isnan(0);
64688 return 0;
64690 _ACEOF
64691 rm -f conftest.$ac_objext
64692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64693 (eval $ac_compile) 2>conftest.er1
64694 ac_status=$?
64695 grep -v '^ *+' conftest.er1 >conftest.err
64696 rm -f conftest.er1
64697 cat conftest.err >&5
64698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64699 (exit $ac_status); } &&
64700 { ac_try='test -z "$ac_cxx_werror_flag"
64701 || test ! -s conftest.err'
64702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64703 (eval $ac_try) 2>&5
64704 ac_status=$?
64705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64706 (exit $ac_status); }; } &&
64707 { ac_try='test -s conftest.$ac_objext'
64708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64709 (eval $ac_try) 2>&5
64710 ac_status=$?
64711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64712 (exit $ac_status); }; }; then
64713 glibcxx_cv_func_isnan_use=yes
64714 else
64715 echo "$as_me: failed program was:" >&5
64716 sed 's/^/| /' conftest.$ac_ext >&5
64718 glibcxx_cv_func_isnan_use=no
64720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64721 ac_ext=c
64722 ac_cpp='$CPP $CPPFLAGS'
64723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64732 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64734 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64736 for ac_func in isnan
64738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64739 echo "$as_me:$LINENO: checking for $ac_func" >&5
64740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64741 if eval "test \"\${$as_ac_var+set}\" = set"; then
64742 echo $ECHO_N "(cached) $ECHO_C" >&6
64743 else
64744 if test x$gcc_no_link = xyes; then
64745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64747 { (exit 1); exit 1; }; }
64749 cat >conftest.$ac_ext <<_ACEOF
64750 /* confdefs.h. */
64751 _ACEOF
64752 cat confdefs.h >>conftest.$ac_ext
64753 cat >>conftest.$ac_ext <<_ACEOF
64754 /* end confdefs.h. */
64755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64757 #define $ac_func innocuous_$ac_func
64759 /* System header to define __stub macros and hopefully few prototypes,
64760 which can conflict with char $ac_func (); below.
64761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64762 <limits.h> exists even on freestanding compilers. */
64764 #ifdef __STDC__
64765 # include <limits.h>
64766 #else
64767 # include <assert.h>
64768 #endif
64770 #undef $ac_func
64772 /* Override any gcc2 internal prototype to avoid an error. */
64773 #ifdef __cplusplus
64774 extern "C"
64776 #endif
64777 /* We use char because int might match the return type of a gcc2
64778 builtin and then its argument prototype would still apply. */
64779 char $ac_func ();
64780 /* The GNU C library defines this for functions which it implements
64781 to always fail with ENOSYS. Some functions are actually named
64782 something starting with __ and the normal name is an alias. */
64783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64784 choke me
64785 #else
64786 char (*f) () = $ac_func;
64787 #endif
64788 #ifdef __cplusplus
64790 #endif
64793 main ()
64795 return f != $ac_func;
64797 return 0;
64799 _ACEOF
64800 rm -f conftest.$ac_objext conftest$ac_exeext
64801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64802 (eval $ac_link) 2>conftest.er1
64803 ac_status=$?
64804 grep -v '^ *+' conftest.er1 >conftest.err
64805 rm -f conftest.er1
64806 cat conftest.err >&5
64807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64808 (exit $ac_status); } &&
64809 { ac_try='test -z "$ac_c_werror_flag"
64810 || test ! -s conftest.err'
64811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64812 (eval $ac_try) 2>&5
64813 ac_status=$?
64814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64815 (exit $ac_status); }; } &&
64816 { ac_try='test -s conftest$ac_exeext'
64817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64818 (eval $ac_try) 2>&5
64819 ac_status=$?
64820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64821 (exit $ac_status); }; }; then
64822 eval "$as_ac_var=yes"
64823 else
64824 echo "$as_me: failed program was:" >&5
64825 sed 's/^/| /' conftest.$ac_ext >&5
64827 eval "$as_ac_var=no"
64829 rm -f conftest.err conftest.$ac_objext \
64830 conftest$ac_exeext conftest.$ac_ext
64832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64834 if test `eval echo '${'$as_ac_var'}'` = yes; then
64835 cat >>confdefs.h <<_ACEOF
64836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64837 _ACEOF
64840 done
64842 else
64844 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64845 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64846 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64847 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64848 echo $ECHO_N "(cached) $ECHO_C" >&6
64849 else
64853 ac_ext=cc
64854 ac_cpp='$CXXCPP $CPPFLAGS'
64855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64859 cat >conftest.$ac_ext <<_ACEOF
64860 /* confdefs.h. */
64861 _ACEOF
64862 cat confdefs.h >>conftest.$ac_ext
64863 cat >>conftest.$ac_ext <<_ACEOF
64864 /* end confdefs.h. */
64865 #include <math.h>
64866 #ifdef HAVE_IEEEFP_H
64867 #include <ieeefp.h>
64868 #endif
64871 main ()
64873 _isnan(0);
64875 return 0;
64877 _ACEOF
64878 rm -f conftest.$ac_objext
64879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64880 (eval $ac_compile) 2>conftest.er1
64881 ac_status=$?
64882 grep -v '^ *+' conftest.er1 >conftest.err
64883 rm -f conftest.er1
64884 cat conftest.err >&5
64885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64886 (exit $ac_status); } &&
64887 { ac_try='test -z "$ac_cxx_werror_flag"
64888 || test ! -s conftest.err'
64889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64890 (eval $ac_try) 2>&5
64891 ac_status=$?
64892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893 (exit $ac_status); }; } &&
64894 { ac_try='test -s conftest.$ac_objext'
64895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64896 (eval $ac_try) 2>&5
64897 ac_status=$?
64898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64899 (exit $ac_status); }; }; then
64900 glibcxx_cv_func__isnan_use=yes
64901 else
64902 echo "$as_me: failed program was:" >&5
64903 sed 's/^/| /' conftest.$ac_ext >&5
64905 glibcxx_cv_func__isnan_use=no
64907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64908 ac_ext=c
64909 ac_cpp='$CPP $CPPFLAGS'
64910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64919 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64921 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64923 for ac_func in _isnan
64925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64926 echo "$as_me:$LINENO: checking for $ac_func" >&5
64927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64928 if eval "test \"\${$as_ac_var+set}\" = set"; then
64929 echo $ECHO_N "(cached) $ECHO_C" >&6
64930 else
64931 if test x$gcc_no_link = xyes; then
64932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64934 { (exit 1); exit 1; }; }
64936 cat >conftest.$ac_ext <<_ACEOF
64937 /* confdefs.h. */
64938 _ACEOF
64939 cat confdefs.h >>conftest.$ac_ext
64940 cat >>conftest.$ac_ext <<_ACEOF
64941 /* end confdefs.h. */
64942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64944 #define $ac_func innocuous_$ac_func
64946 /* System header to define __stub macros and hopefully few prototypes,
64947 which can conflict with char $ac_func (); below.
64948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64949 <limits.h> exists even on freestanding compilers. */
64951 #ifdef __STDC__
64952 # include <limits.h>
64953 #else
64954 # include <assert.h>
64955 #endif
64957 #undef $ac_func
64959 /* Override any gcc2 internal prototype to avoid an error. */
64960 #ifdef __cplusplus
64961 extern "C"
64963 #endif
64964 /* We use char because int might match the return type of a gcc2
64965 builtin and then its argument prototype would still apply. */
64966 char $ac_func ();
64967 /* The GNU C library defines this for functions which it implements
64968 to always fail with ENOSYS. Some functions are actually named
64969 something starting with __ and the normal name is an alias. */
64970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64971 choke me
64972 #else
64973 char (*f) () = $ac_func;
64974 #endif
64975 #ifdef __cplusplus
64977 #endif
64980 main ()
64982 return f != $ac_func;
64984 return 0;
64986 _ACEOF
64987 rm -f conftest.$ac_objext conftest$ac_exeext
64988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64989 (eval $ac_link) 2>conftest.er1
64990 ac_status=$?
64991 grep -v '^ *+' conftest.er1 >conftest.err
64992 rm -f conftest.er1
64993 cat conftest.err >&5
64994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64995 (exit $ac_status); } &&
64996 { ac_try='test -z "$ac_c_werror_flag"
64997 || test ! -s conftest.err'
64998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64999 (eval $ac_try) 2>&5
65000 ac_status=$?
65001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65002 (exit $ac_status); }; } &&
65003 { ac_try='test -s conftest$ac_exeext'
65004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65005 (eval $ac_try) 2>&5
65006 ac_status=$?
65007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65008 (exit $ac_status); }; }; then
65009 eval "$as_ac_var=yes"
65010 else
65011 echo "$as_me: failed program was:" >&5
65012 sed 's/^/| /' conftest.$ac_ext >&5
65014 eval "$as_ac_var=no"
65016 rm -f conftest.err conftest.$ac_objext \
65017 conftest$ac_exeext conftest.$ac_ext
65019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65021 if test `eval echo '${'$as_ac_var'}'` = yes; then
65022 cat >>confdefs.h <<_ACEOF
65023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65024 _ACEOF
65027 done
65037 echo "$as_me:$LINENO: checking for finite declaration" >&5
65038 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65039 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65040 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65041 echo $ECHO_N "(cached) $ECHO_C" >&6
65042 else
65046 ac_ext=cc
65047 ac_cpp='$CXXCPP $CPPFLAGS'
65048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65052 cat >conftest.$ac_ext <<_ACEOF
65053 /* confdefs.h. */
65054 _ACEOF
65055 cat confdefs.h >>conftest.$ac_ext
65056 cat >>conftest.$ac_ext <<_ACEOF
65057 /* end confdefs.h. */
65058 #include <math.h>
65059 #ifdef HAVE_IEEEFP_H
65060 #include <ieeefp.h>
65061 #endif
65064 main ()
65066 finite(0);
65068 return 0;
65070 _ACEOF
65071 rm -f conftest.$ac_objext
65072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65073 (eval $ac_compile) 2>conftest.er1
65074 ac_status=$?
65075 grep -v '^ *+' conftest.er1 >conftest.err
65076 rm -f conftest.er1
65077 cat conftest.err >&5
65078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65079 (exit $ac_status); } &&
65080 { ac_try='test -z "$ac_cxx_werror_flag"
65081 || test ! -s conftest.err'
65082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65083 (eval $ac_try) 2>&5
65084 ac_status=$?
65085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65086 (exit $ac_status); }; } &&
65087 { ac_try='test -s conftest.$ac_objext'
65088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65089 (eval $ac_try) 2>&5
65090 ac_status=$?
65091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65092 (exit $ac_status); }; }; then
65093 glibcxx_cv_func_finite_use=yes
65094 else
65095 echo "$as_me: failed program was:" >&5
65096 sed 's/^/| /' conftest.$ac_ext >&5
65098 glibcxx_cv_func_finite_use=no
65100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65101 ac_ext=c
65102 ac_cpp='$CPP $CPPFLAGS'
65103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65112 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65114 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65116 for ac_func in finite
65118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65119 echo "$as_me:$LINENO: checking for $ac_func" >&5
65120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65121 if eval "test \"\${$as_ac_var+set}\" = set"; then
65122 echo $ECHO_N "(cached) $ECHO_C" >&6
65123 else
65124 if test x$gcc_no_link = xyes; then
65125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65127 { (exit 1); exit 1; }; }
65129 cat >conftest.$ac_ext <<_ACEOF
65130 /* confdefs.h. */
65131 _ACEOF
65132 cat confdefs.h >>conftest.$ac_ext
65133 cat >>conftest.$ac_ext <<_ACEOF
65134 /* end confdefs.h. */
65135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65137 #define $ac_func innocuous_$ac_func
65139 /* System header to define __stub macros and hopefully few prototypes,
65140 which can conflict with char $ac_func (); below.
65141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65142 <limits.h> exists even on freestanding compilers. */
65144 #ifdef __STDC__
65145 # include <limits.h>
65146 #else
65147 # include <assert.h>
65148 #endif
65150 #undef $ac_func
65152 /* Override any gcc2 internal prototype to avoid an error. */
65153 #ifdef __cplusplus
65154 extern "C"
65156 #endif
65157 /* We use char because int might match the return type of a gcc2
65158 builtin and then its argument prototype would still apply. */
65159 char $ac_func ();
65160 /* The GNU C library defines this for functions which it implements
65161 to always fail with ENOSYS. Some functions are actually named
65162 something starting with __ and the normal name is an alias. */
65163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65164 choke me
65165 #else
65166 char (*f) () = $ac_func;
65167 #endif
65168 #ifdef __cplusplus
65170 #endif
65173 main ()
65175 return f != $ac_func;
65177 return 0;
65179 _ACEOF
65180 rm -f conftest.$ac_objext conftest$ac_exeext
65181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65182 (eval $ac_link) 2>conftest.er1
65183 ac_status=$?
65184 grep -v '^ *+' conftest.er1 >conftest.err
65185 rm -f conftest.er1
65186 cat conftest.err >&5
65187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65188 (exit $ac_status); } &&
65189 { ac_try='test -z "$ac_c_werror_flag"
65190 || test ! -s conftest.err'
65191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65192 (eval $ac_try) 2>&5
65193 ac_status=$?
65194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65195 (exit $ac_status); }; } &&
65196 { ac_try='test -s conftest$ac_exeext'
65197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65198 (eval $ac_try) 2>&5
65199 ac_status=$?
65200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65201 (exit $ac_status); }; }; then
65202 eval "$as_ac_var=yes"
65203 else
65204 echo "$as_me: failed program was:" >&5
65205 sed 's/^/| /' conftest.$ac_ext >&5
65207 eval "$as_ac_var=no"
65209 rm -f conftest.err conftest.$ac_objext \
65210 conftest$ac_exeext conftest.$ac_ext
65212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65214 if test `eval echo '${'$as_ac_var'}'` = yes; then
65215 cat >>confdefs.h <<_ACEOF
65216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65217 _ACEOF
65220 done
65222 else
65224 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65225 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65226 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65227 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65228 echo $ECHO_N "(cached) $ECHO_C" >&6
65229 else
65233 ac_ext=cc
65234 ac_cpp='$CXXCPP $CPPFLAGS'
65235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65239 cat >conftest.$ac_ext <<_ACEOF
65240 /* confdefs.h. */
65241 _ACEOF
65242 cat confdefs.h >>conftest.$ac_ext
65243 cat >>conftest.$ac_ext <<_ACEOF
65244 /* end confdefs.h. */
65245 #include <math.h>
65246 #ifdef HAVE_IEEEFP_H
65247 #include <ieeefp.h>
65248 #endif
65251 main ()
65253 _finite(0);
65255 return 0;
65257 _ACEOF
65258 rm -f conftest.$ac_objext
65259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65260 (eval $ac_compile) 2>conftest.er1
65261 ac_status=$?
65262 grep -v '^ *+' conftest.er1 >conftest.err
65263 rm -f conftest.er1
65264 cat conftest.err >&5
65265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65266 (exit $ac_status); } &&
65267 { ac_try='test -z "$ac_cxx_werror_flag"
65268 || test ! -s conftest.err'
65269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65270 (eval $ac_try) 2>&5
65271 ac_status=$?
65272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65273 (exit $ac_status); }; } &&
65274 { ac_try='test -s conftest.$ac_objext'
65275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65276 (eval $ac_try) 2>&5
65277 ac_status=$?
65278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65279 (exit $ac_status); }; }; then
65280 glibcxx_cv_func__finite_use=yes
65281 else
65282 echo "$as_me: failed program was:" >&5
65283 sed 's/^/| /' conftest.$ac_ext >&5
65285 glibcxx_cv_func__finite_use=no
65287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65288 ac_ext=c
65289 ac_cpp='$CPP $CPPFLAGS'
65290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65299 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65301 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65303 for ac_func in _finite
65305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65306 echo "$as_me:$LINENO: checking for $ac_func" >&5
65307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65308 if eval "test \"\${$as_ac_var+set}\" = set"; then
65309 echo $ECHO_N "(cached) $ECHO_C" >&6
65310 else
65311 if test x$gcc_no_link = xyes; then
65312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65314 { (exit 1); exit 1; }; }
65316 cat >conftest.$ac_ext <<_ACEOF
65317 /* confdefs.h. */
65318 _ACEOF
65319 cat confdefs.h >>conftest.$ac_ext
65320 cat >>conftest.$ac_ext <<_ACEOF
65321 /* end confdefs.h. */
65322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65324 #define $ac_func innocuous_$ac_func
65326 /* System header to define __stub macros and hopefully few prototypes,
65327 which can conflict with char $ac_func (); below.
65328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65329 <limits.h> exists even on freestanding compilers. */
65331 #ifdef __STDC__
65332 # include <limits.h>
65333 #else
65334 # include <assert.h>
65335 #endif
65337 #undef $ac_func
65339 /* Override any gcc2 internal prototype to avoid an error. */
65340 #ifdef __cplusplus
65341 extern "C"
65343 #endif
65344 /* We use char because int might match the return type of a gcc2
65345 builtin and then its argument prototype would still apply. */
65346 char $ac_func ();
65347 /* The GNU C library defines this for functions which it implements
65348 to always fail with ENOSYS. Some functions are actually named
65349 something starting with __ and the normal name is an alias. */
65350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65351 choke me
65352 #else
65353 char (*f) () = $ac_func;
65354 #endif
65355 #ifdef __cplusplus
65357 #endif
65360 main ()
65362 return f != $ac_func;
65364 return 0;
65366 _ACEOF
65367 rm -f conftest.$ac_objext conftest$ac_exeext
65368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65369 (eval $ac_link) 2>conftest.er1
65370 ac_status=$?
65371 grep -v '^ *+' conftest.er1 >conftest.err
65372 rm -f conftest.er1
65373 cat conftest.err >&5
65374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65375 (exit $ac_status); } &&
65376 { ac_try='test -z "$ac_c_werror_flag"
65377 || test ! -s conftest.err'
65378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65379 (eval $ac_try) 2>&5
65380 ac_status=$?
65381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65382 (exit $ac_status); }; } &&
65383 { ac_try='test -s conftest$ac_exeext'
65384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65385 (eval $ac_try) 2>&5
65386 ac_status=$?
65387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65388 (exit $ac_status); }; }; then
65389 eval "$as_ac_var=yes"
65390 else
65391 echo "$as_me: failed program was:" >&5
65392 sed 's/^/| /' conftest.$ac_ext >&5
65394 eval "$as_ac_var=no"
65396 rm -f conftest.err conftest.$ac_objext \
65397 conftest$ac_exeext conftest.$ac_ext
65399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65401 if test `eval echo '${'$as_ac_var'}'` = yes; then
65402 cat >>confdefs.h <<_ACEOF
65403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65404 _ACEOF
65407 done
65417 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65418 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65419 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65420 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65421 echo $ECHO_N "(cached) $ECHO_C" >&6
65422 else
65426 ac_ext=cc
65427 ac_cpp='$CXXCPP $CPPFLAGS'
65428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65432 cat >conftest.$ac_ext <<_ACEOF
65433 /* confdefs.h. */
65434 _ACEOF
65435 cat confdefs.h >>conftest.$ac_ext
65436 cat >>conftest.$ac_ext <<_ACEOF
65437 /* end confdefs.h. */
65438 #include <math.h>
65440 main ()
65442 copysign(0, 0);
65444 return 0;
65446 _ACEOF
65447 rm -f conftest.$ac_objext
65448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65449 (eval $ac_compile) 2>conftest.er1
65450 ac_status=$?
65451 grep -v '^ *+' conftest.er1 >conftest.err
65452 rm -f conftest.er1
65453 cat conftest.err >&5
65454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65455 (exit $ac_status); } &&
65456 { ac_try='test -z "$ac_cxx_werror_flag"
65457 || test ! -s conftest.err'
65458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65459 (eval $ac_try) 2>&5
65460 ac_status=$?
65461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65462 (exit $ac_status); }; } &&
65463 { ac_try='test -s conftest.$ac_objext'
65464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65465 (eval $ac_try) 2>&5
65466 ac_status=$?
65467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65468 (exit $ac_status); }; }; then
65469 glibcxx_cv_func_copysign_use=yes
65470 else
65471 echo "$as_me: failed program was:" >&5
65472 sed 's/^/| /' conftest.$ac_ext >&5
65474 glibcxx_cv_func_copysign_use=no
65476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65477 ac_ext=c
65478 ac_cpp='$CPP $CPPFLAGS'
65479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65488 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65490 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65492 for ac_func in copysign
65494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65495 echo "$as_me:$LINENO: checking for $ac_func" >&5
65496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65497 if eval "test \"\${$as_ac_var+set}\" = set"; then
65498 echo $ECHO_N "(cached) $ECHO_C" >&6
65499 else
65500 if test x$gcc_no_link = xyes; then
65501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65503 { (exit 1); exit 1; }; }
65505 cat >conftest.$ac_ext <<_ACEOF
65506 /* confdefs.h. */
65507 _ACEOF
65508 cat confdefs.h >>conftest.$ac_ext
65509 cat >>conftest.$ac_ext <<_ACEOF
65510 /* end confdefs.h. */
65511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65513 #define $ac_func innocuous_$ac_func
65515 /* System header to define __stub macros and hopefully few prototypes,
65516 which can conflict with char $ac_func (); below.
65517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65518 <limits.h> exists even on freestanding compilers. */
65520 #ifdef __STDC__
65521 # include <limits.h>
65522 #else
65523 # include <assert.h>
65524 #endif
65526 #undef $ac_func
65528 /* Override any gcc2 internal prototype to avoid an error. */
65529 #ifdef __cplusplus
65530 extern "C"
65532 #endif
65533 /* We use char because int might match the return type of a gcc2
65534 builtin and then its argument prototype would still apply. */
65535 char $ac_func ();
65536 /* The GNU C library defines this for functions which it implements
65537 to always fail with ENOSYS. Some functions are actually named
65538 something starting with __ and the normal name is an alias. */
65539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65540 choke me
65541 #else
65542 char (*f) () = $ac_func;
65543 #endif
65544 #ifdef __cplusplus
65546 #endif
65549 main ()
65551 return f != $ac_func;
65553 return 0;
65555 _ACEOF
65556 rm -f conftest.$ac_objext conftest$ac_exeext
65557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65558 (eval $ac_link) 2>conftest.er1
65559 ac_status=$?
65560 grep -v '^ *+' conftest.er1 >conftest.err
65561 rm -f conftest.er1
65562 cat conftest.err >&5
65563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65564 (exit $ac_status); } &&
65565 { ac_try='test -z "$ac_c_werror_flag"
65566 || test ! -s conftest.err'
65567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65568 (eval $ac_try) 2>&5
65569 ac_status=$?
65570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 (exit $ac_status); }; } &&
65572 { ac_try='test -s conftest$ac_exeext'
65573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65574 (eval $ac_try) 2>&5
65575 ac_status=$?
65576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65577 (exit $ac_status); }; }; then
65578 eval "$as_ac_var=yes"
65579 else
65580 echo "$as_me: failed program was:" >&5
65581 sed 's/^/| /' conftest.$ac_ext >&5
65583 eval "$as_ac_var=no"
65585 rm -f conftest.err conftest.$ac_objext \
65586 conftest$ac_exeext conftest.$ac_ext
65588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65590 if test `eval echo '${'$as_ac_var'}'` = yes; then
65591 cat >>confdefs.h <<_ACEOF
65592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65593 _ACEOF
65596 done
65598 else
65600 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65601 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65602 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65603 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65604 echo $ECHO_N "(cached) $ECHO_C" >&6
65605 else
65609 ac_ext=cc
65610 ac_cpp='$CXXCPP $CPPFLAGS'
65611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65615 cat >conftest.$ac_ext <<_ACEOF
65616 /* confdefs.h. */
65617 _ACEOF
65618 cat confdefs.h >>conftest.$ac_ext
65619 cat >>conftest.$ac_ext <<_ACEOF
65620 /* end confdefs.h. */
65621 #include <math.h>
65623 main ()
65625 _copysign(0, 0);
65627 return 0;
65629 _ACEOF
65630 rm -f conftest.$ac_objext
65631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65632 (eval $ac_compile) 2>conftest.er1
65633 ac_status=$?
65634 grep -v '^ *+' conftest.er1 >conftest.err
65635 rm -f conftest.er1
65636 cat conftest.err >&5
65637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65638 (exit $ac_status); } &&
65639 { ac_try='test -z "$ac_cxx_werror_flag"
65640 || test ! -s conftest.err'
65641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65642 (eval $ac_try) 2>&5
65643 ac_status=$?
65644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65645 (exit $ac_status); }; } &&
65646 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
65652 glibcxx_cv_func__copysign_use=yes
65653 else
65654 echo "$as_me: failed program was:" >&5
65655 sed 's/^/| /' conftest.$ac_ext >&5
65657 glibcxx_cv_func__copysign_use=no
65659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65660 ac_ext=c
65661 ac_cpp='$CPP $CPPFLAGS'
65662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65671 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65673 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65675 for ac_func in _copysign
65677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65678 echo "$as_me:$LINENO: checking for $ac_func" >&5
65679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65680 if eval "test \"\${$as_ac_var+set}\" = set"; then
65681 echo $ECHO_N "(cached) $ECHO_C" >&6
65682 else
65683 if test x$gcc_no_link = xyes; then
65684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65686 { (exit 1); exit 1; }; }
65688 cat >conftest.$ac_ext <<_ACEOF
65689 /* confdefs.h. */
65690 _ACEOF
65691 cat confdefs.h >>conftest.$ac_ext
65692 cat >>conftest.$ac_ext <<_ACEOF
65693 /* end confdefs.h. */
65694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65696 #define $ac_func innocuous_$ac_func
65698 /* System header to define __stub macros and hopefully few prototypes,
65699 which can conflict with char $ac_func (); below.
65700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65701 <limits.h> exists even on freestanding compilers. */
65703 #ifdef __STDC__
65704 # include <limits.h>
65705 #else
65706 # include <assert.h>
65707 #endif
65709 #undef $ac_func
65711 /* Override any gcc2 internal prototype to avoid an error. */
65712 #ifdef __cplusplus
65713 extern "C"
65715 #endif
65716 /* We use char because int might match the return type of a gcc2
65717 builtin and then its argument prototype would still apply. */
65718 char $ac_func ();
65719 /* The GNU C library defines this for functions which it implements
65720 to always fail with ENOSYS. Some functions are actually named
65721 something starting with __ and the normal name is an alias. */
65722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65723 choke me
65724 #else
65725 char (*f) () = $ac_func;
65726 #endif
65727 #ifdef __cplusplus
65729 #endif
65732 main ()
65734 return f != $ac_func;
65736 return 0;
65738 _ACEOF
65739 rm -f conftest.$ac_objext conftest$ac_exeext
65740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65741 (eval $ac_link) 2>conftest.er1
65742 ac_status=$?
65743 grep -v '^ *+' conftest.er1 >conftest.err
65744 rm -f conftest.er1
65745 cat conftest.err >&5
65746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65747 (exit $ac_status); } &&
65748 { ac_try='test -z "$ac_c_werror_flag"
65749 || test ! -s conftest.err'
65750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65751 (eval $ac_try) 2>&5
65752 ac_status=$?
65753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65754 (exit $ac_status); }; } &&
65755 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
65761 eval "$as_ac_var=yes"
65762 else
65763 echo "$as_me: failed program was:" >&5
65764 sed 's/^/| /' conftest.$ac_ext >&5
65766 eval "$as_ac_var=no"
65768 rm -f conftest.err conftest.$ac_objext \
65769 conftest$ac_exeext conftest.$ac_ext
65771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65773 if test `eval echo '${'$as_ac_var'}'` = yes; then
65774 cat >>confdefs.h <<_ACEOF
65775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65776 _ACEOF
65779 done
65789 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65790 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65791 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65792 if test "${glibcxx_cv_func_sincos_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>
65812 main ()
65814 sincos(0, 0, 0);
65816 return 0;
65818 _ACEOF
65819 rm -f conftest.$ac_objext
65820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65821 (eval $ac_compile) 2>conftest.er1
65822 ac_status=$?
65823 grep -v '^ *+' conftest.er1 >conftest.err
65824 rm -f conftest.er1
65825 cat conftest.err >&5
65826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65827 (exit $ac_status); } &&
65828 { ac_try='test -z "$ac_cxx_werror_flag"
65829 || test ! -s conftest.err'
65830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65831 (eval $ac_try) 2>&5
65832 ac_status=$?
65833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65834 (exit $ac_status); }; } &&
65835 { ac_try='test -s conftest.$ac_objext'
65836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65837 (eval $ac_try) 2>&5
65838 ac_status=$?
65839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65840 (exit $ac_status); }; }; then
65841 glibcxx_cv_func_sincos_use=yes
65842 else
65843 echo "$as_me: failed program was:" >&5
65844 sed 's/^/| /' conftest.$ac_ext >&5
65846 glibcxx_cv_func_sincos_use=no
65848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65849 ac_ext=c
65850 ac_cpp='$CPP $CPPFLAGS'
65851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65860 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65862 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65864 for ac_func in sincos
65866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65867 echo "$as_me:$LINENO: checking for $ac_func" >&5
65868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65869 if eval "test \"\${$as_ac_var+set}\" = set"; then
65870 echo $ECHO_N "(cached) $ECHO_C" >&6
65871 else
65872 if test x$gcc_no_link = xyes; then
65873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65875 { (exit 1); exit 1; }; }
65877 cat >conftest.$ac_ext <<_ACEOF
65878 /* confdefs.h. */
65879 _ACEOF
65880 cat confdefs.h >>conftest.$ac_ext
65881 cat >>conftest.$ac_ext <<_ACEOF
65882 /* end confdefs.h. */
65883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65885 #define $ac_func innocuous_$ac_func
65887 /* System header to define __stub macros and hopefully few prototypes,
65888 which can conflict with char $ac_func (); below.
65889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65890 <limits.h> exists even on freestanding compilers. */
65892 #ifdef __STDC__
65893 # include <limits.h>
65894 #else
65895 # include <assert.h>
65896 #endif
65898 #undef $ac_func
65900 /* Override any gcc2 internal prototype to avoid an error. */
65901 #ifdef __cplusplus
65902 extern "C"
65904 #endif
65905 /* We use char because int might match the return type of a gcc2
65906 builtin and then its argument prototype would still apply. */
65907 char $ac_func ();
65908 /* The GNU C library defines this for functions which it implements
65909 to always fail with ENOSYS. Some functions are actually named
65910 something starting with __ and the normal name is an alias. */
65911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65912 choke me
65913 #else
65914 char (*f) () = $ac_func;
65915 #endif
65916 #ifdef __cplusplus
65918 #endif
65921 main ()
65923 return f != $ac_func;
65925 return 0;
65927 _ACEOF
65928 rm -f conftest.$ac_objext conftest$ac_exeext
65929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65930 (eval $ac_link) 2>conftest.er1
65931 ac_status=$?
65932 grep -v '^ *+' conftest.er1 >conftest.err
65933 rm -f conftest.er1
65934 cat conftest.err >&5
65935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65936 (exit $ac_status); } &&
65937 { ac_try='test -z "$ac_c_werror_flag"
65938 || test ! -s conftest.err'
65939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65940 (eval $ac_try) 2>&5
65941 ac_status=$?
65942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943 (exit $ac_status); }; } &&
65944 { ac_try='test -s conftest$ac_exeext'
65945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65946 (eval $ac_try) 2>&5
65947 ac_status=$?
65948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65949 (exit $ac_status); }; }; then
65950 eval "$as_ac_var=yes"
65951 else
65952 echo "$as_me: failed program was:" >&5
65953 sed 's/^/| /' conftest.$ac_ext >&5
65955 eval "$as_ac_var=no"
65957 rm -f conftest.err conftest.$ac_objext \
65958 conftest$ac_exeext conftest.$ac_ext
65960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65962 if test `eval echo '${'$as_ac_var'}'` = yes; then
65963 cat >>confdefs.h <<_ACEOF
65964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65965 _ACEOF
65968 done
65970 else
65972 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65973 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65974 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65975 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65976 echo $ECHO_N "(cached) $ECHO_C" >&6
65977 else
65981 ac_ext=cc
65982 ac_cpp='$CXXCPP $CPPFLAGS'
65983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65987 cat >conftest.$ac_ext <<_ACEOF
65988 /* confdefs.h. */
65989 _ACEOF
65990 cat confdefs.h >>conftest.$ac_ext
65991 cat >>conftest.$ac_ext <<_ACEOF
65992 /* end confdefs.h. */
65993 #include <math.h>
65995 main ()
65997 _sincos(0, 0, 0);
65999 return 0;
66001 _ACEOF
66002 rm -f conftest.$ac_objext
66003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66004 (eval $ac_compile) 2>conftest.er1
66005 ac_status=$?
66006 grep -v '^ *+' conftest.er1 >conftest.err
66007 rm -f conftest.er1
66008 cat conftest.err >&5
66009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66010 (exit $ac_status); } &&
66011 { ac_try='test -z "$ac_cxx_werror_flag"
66012 || test ! -s conftest.err'
66013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66014 (eval $ac_try) 2>&5
66015 ac_status=$?
66016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66017 (exit $ac_status); }; } &&
66018 { ac_try='test -s conftest.$ac_objext'
66019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66020 (eval $ac_try) 2>&5
66021 ac_status=$?
66022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66023 (exit $ac_status); }; }; then
66024 glibcxx_cv_func__sincos_use=yes
66025 else
66026 echo "$as_me: failed program was:" >&5
66027 sed 's/^/| /' conftest.$ac_ext >&5
66029 glibcxx_cv_func__sincos_use=no
66031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66032 ac_ext=c
66033 ac_cpp='$CPP $CPPFLAGS'
66034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66043 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66045 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66047 for ac_func in _sincos
66049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66050 echo "$as_me:$LINENO: checking for $ac_func" >&5
66051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66052 if eval "test \"\${$as_ac_var+set}\" = set"; then
66053 echo $ECHO_N "(cached) $ECHO_C" >&6
66054 else
66055 if test x$gcc_no_link = xyes; then
66056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66058 { (exit 1); exit 1; }; }
66060 cat >conftest.$ac_ext <<_ACEOF
66061 /* confdefs.h. */
66062 _ACEOF
66063 cat confdefs.h >>conftest.$ac_ext
66064 cat >>conftest.$ac_ext <<_ACEOF
66065 /* end confdefs.h. */
66066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66068 #define $ac_func innocuous_$ac_func
66070 /* System header to define __stub macros and hopefully few prototypes,
66071 which can conflict with char $ac_func (); below.
66072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66073 <limits.h> exists even on freestanding compilers. */
66075 #ifdef __STDC__
66076 # include <limits.h>
66077 #else
66078 # include <assert.h>
66079 #endif
66081 #undef $ac_func
66083 /* Override any gcc2 internal prototype to avoid an error. */
66084 #ifdef __cplusplus
66085 extern "C"
66087 #endif
66088 /* We use char because int might match the return type of a gcc2
66089 builtin and then its argument prototype would still apply. */
66090 char $ac_func ();
66091 /* The GNU C library defines this for functions which it implements
66092 to always fail with ENOSYS. Some functions are actually named
66093 something starting with __ and the normal name is an alias. */
66094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66095 choke me
66096 #else
66097 char (*f) () = $ac_func;
66098 #endif
66099 #ifdef __cplusplus
66101 #endif
66104 main ()
66106 return f != $ac_func;
66108 return 0;
66110 _ACEOF
66111 rm -f conftest.$ac_objext conftest$ac_exeext
66112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66113 (eval $ac_link) 2>conftest.er1
66114 ac_status=$?
66115 grep -v '^ *+' conftest.er1 >conftest.err
66116 rm -f conftest.er1
66117 cat conftest.err >&5
66118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66119 (exit $ac_status); } &&
66120 { ac_try='test -z "$ac_c_werror_flag"
66121 || test ! -s conftest.err'
66122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66123 (eval $ac_try) 2>&5
66124 ac_status=$?
66125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66126 (exit $ac_status); }; } &&
66127 { ac_try='test -s conftest$ac_exeext'
66128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66129 (eval $ac_try) 2>&5
66130 ac_status=$?
66131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66132 (exit $ac_status); }; }; then
66133 eval "$as_ac_var=yes"
66134 else
66135 echo "$as_me: failed program was:" >&5
66136 sed 's/^/| /' conftest.$ac_ext >&5
66138 eval "$as_ac_var=no"
66140 rm -f conftest.err conftest.$ac_objext \
66141 conftest$ac_exeext conftest.$ac_ext
66143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66145 if test `eval echo '${'$as_ac_var'}'` = yes; then
66146 cat >>confdefs.h <<_ACEOF
66147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66148 _ACEOF
66151 done
66161 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66162 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66163 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66164 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66165 echo $ECHO_N "(cached) $ECHO_C" >&6
66166 else
66170 ac_ext=cc
66171 ac_cpp='$CXXCPP $CPPFLAGS'
66172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66176 cat >conftest.$ac_ext <<_ACEOF
66177 /* confdefs.h. */
66178 _ACEOF
66179 cat confdefs.h >>conftest.$ac_ext
66180 cat >>conftest.$ac_ext <<_ACEOF
66181 /* end confdefs.h. */
66182 #include <math.h>
66183 #ifdef HAVE_IEEEFP_H
66184 #include <ieeefp.h>
66185 #endif
66188 main ()
66190 fpclass(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_fpclass_use=yes
66218 else
66219 echo "$as_me: failed program was:" >&5
66220 sed 's/^/| /' conftest.$ac_ext >&5
66222 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
66236 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66238 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66240 for ac_func in fpclass
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
66346 else
66348 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66349 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66350 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66351 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66352 echo $ECHO_N "(cached) $ECHO_C" >&6
66353 else
66357 ac_ext=cc
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66363 cat >conftest.$ac_ext <<_ACEOF
66364 /* confdefs.h. */
66365 _ACEOF
66366 cat confdefs.h >>conftest.$ac_ext
66367 cat >>conftest.$ac_ext <<_ACEOF
66368 /* end confdefs.h. */
66369 #include <math.h>
66370 #ifdef HAVE_IEEEFP_H
66371 #include <ieeefp.h>
66372 #endif
66375 main ()
66377 _fpclass(0);
66379 return 0;
66381 _ACEOF
66382 rm -f conftest.$ac_objext
66383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66384 (eval $ac_compile) 2>conftest.er1
66385 ac_status=$?
66386 grep -v '^ *+' conftest.er1 >conftest.err
66387 rm -f conftest.er1
66388 cat conftest.err >&5
66389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66390 (exit $ac_status); } &&
66391 { ac_try='test -z "$ac_cxx_werror_flag"
66392 || test ! -s conftest.err'
66393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66394 (eval $ac_try) 2>&5
66395 ac_status=$?
66396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66397 (exit $ac_status); }; } &&
66398 { ac_try='test -s conftest.$ac_objext'
66399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66400 (eval $ac_try) 2>&5
66401 ac_status=$?
66402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66403 (exit $ac_status); }; }; then
66404 glibcxx_cv_func__fpclass_use=yes
66405 else
66406 echo "$as_me: failed program was:" >&5
66407 sed 's/^/| /' conftest.$ac_ext >&5
66409 glibcxx_cv_func__fpclass_use=no
66411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66412 ac_ext=c
66413 ac_cpp='$CPP $CPPFLAGS'
66414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66423 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66425 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66427 for ac_func in _fpclass
66429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66430 echo "$as_me:$LINENO: checking for $ac_func" >&5
66431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66432 if eval "test \"\${$as_ac_var+set}\" = set"; then
66433 echo $ECHO_N "(cached) $ECHO_C" >&6
66434 else
66435 if test x$gcc_no_link = xyes; then
66436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66438 { (exit 1); exit 1; }; }
66440 cat >conftest.$ac_ext <<_ACEOF
66441 /* confdefs.h. */
66442 _ACEOF
66443 cat confdefs.h >>conftest.$ac_ext
66444 cat >>conftest.$ac_ext <<_ACEOF
66445 /* end confdefs.h. */
66446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66448 #define $ac_func innocuous_$ac_func
66450 /* System header to define __stub macros and hopefully few prototypes,
66451 which can conflict with char $ac_func (); below.
66452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66453 <limits.h> exists even on freestanding compilers. */
66455 #ifdef __STDC__
66456 # include <limits.h>
66457 #else
66458 # include <assert.h>
66459 #endif
66461 #undef $ac_func
66463 /* Override any gcc2 internal prototype to avoid an error. */
66464 #ifdef __cplusplus
66465 extern "C"
66467 #endif
66468 /* We use char because int might match the return type of a gcc2
66469 builtin and then its argument prototype would still apply. */
66470 char $ac_func ();
66471 /* The GNU C library defines this for functions which it implements
66472 to always fail with ENOSYS. Some functions are actually named
66473 something starting with __ and the normal name is an alias. */
66474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66475 choke me
66476 #else
66477 char (*f) () = $ac_func;
66478 #endif
66479 #ifdef __cplusplus
66481 #endif
66484 main ()
66486 return f != $ac_func;
66488 return 0;
66490 _ACEOF
66491 rm -f conftest.$ac_objext conftest$ac_exeext
66492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66493 (eval $ac_link) 2>conftest.er1
66494 ac_status=$?
66495 grep -v '^ *+' conftest.er1 >conftest.err
66496 rm -f conftest.er1
66497 cat conftest.err >&5
66498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66499 (exit $ac_status); } &&
66500 { ac_try='test -z "$ac_c_werror_flag"
66501 || test ! -s conftest.err'
66502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66503 (eval $ac_try) 2>&5
66504 ac_status=$?
66505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66506 (exit $ac_status); }; } &&
66507 { ac_try='test -s conftest$ac_exeext'
66508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66509 (eval $ac_try) 2>&5
66510 ac_status=$?
66511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66512 (exit $ac_status); }; }; then
66513 eval "$as_ac_var=yes"
66514 else
66515 echo "$as_me: failed program was:" >&5
66516 sed 's/^/| /' conftest.$ac_ext >&5
66518 eval "$as_ac_var=no"
66520 rm -f conftest.err conftest.$ac_objext \
66521 conftest$ac_exeext conftest.$ac_ext
66523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66525 if test `eval echo '${'$as_ac_var'}'` = yes; then
66526 cat >>confdefs.h <<_ACEOF
66527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66528 _ACEOF
66531 done
66541 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66542 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66543 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66544 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66545 echo $ECHO_N "(cached) $ECHO_C" >&6
66546 else
66550 ac_ext=cc
66551 ac_cpp='$CXXCPP $CPPFLAGS'
66552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66556 cat >conftest.$ac_ext <<_ACEOF
66557 /* confdefs.h. */
66558 _ACEOF
66559 cat confdefs.h >>conftest.$ac_ext
66560 cat >>conftest.$ac_ext <<_ACEOF
66561 /* end confdefs.h. */
66562 #include <math.h>
66563 #ifdef HAVE_IEEEFP_H
66564 #include <ieeefp.h>
66565 #endif
66568 main ()
66570 qfpclass(0);
66572 return 0;
66574 _ACEOF
66575 rm -f conftest.$ac_objext
66576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66577 (eval $ac_compile) 2>conftest.er1
66578 ac_status=$?
66579 grep -v '^ *+' conftest.er1 >conftest.err
66580 rm -f conftest.er1
66581 cat conftest.err >&5
66582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66583 (exit $ac_status); } &&
66584 { ac_try='test -z "$ac_cxx_werror_flag"
66585 || test ! -s conftest.err'
66586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66587 (eval $ac_try) 2>&5
66588 ac_status=$?
66589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66590 (exit $ac_status); }; } &&
66591 { ac_try='test -s conftest.$ac_objext'
66592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66593 (eval $ac_try) 2>&5
66594 ac_status=$?
66595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66596 (exit $ac_status); }; }; then
66597 glibcxx_cv_func_qfpclass_use=yes
66598 else
66599 echo "$as_me: failed program was:" >&5
66600 sed 's/^/| /' conftest.$ac_ext >&5
66602 glibcxx_cv_func_qfpclass_use=no
66604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66605 ac_ext=c
66606 ac_cpp='$CPP $CPPFLAGS'
66607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66616 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66618 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66620 for ac_func in qfpclass
66622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66623 echo "$as_me:$LINENO: checking for $ac_func" >&5
66624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66625 if eval "test \"\${$as_ac_var+set}\" = set"; then
66626 echo $ECHO_N "(cached) $ECHO_C" >&6
66627 else
66628 if test x$gcc_no_link = xyes; then
66629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66631 { (exit 1); exit 1; }; }
66633 cat >conftest.$ac_ext <<_ACEOF
66634 /* confdefs.h. */
66635 _ACEOF
66636 cat confdefs.h >>conftest.$ac_ext
66637 cat >>conftest.$ac_ext <<_ACEOF
66638 /* end confdefs.h. */
66639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66641 #define $ac_func innocuous_$ac_func
66643 /* System header to define __stub macros and hopefully few prototypes,
66644 which can conflict with char $ac_func (); below.
66645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66646 <limits.h> exists even on freestanding compilers. */
66648 #ifdef __STDC__
66649 # include <limits.h>
66650 #else
66651 # include <assert.h>
66652 #endif
66654 #undef $ac_func
66656 /* Override any gcc2 internal prototype to avoid an error. */
66657 #ifdef __cplusplus
66658 extern "C"
66660 #endif
66661 /* We use char because int might match the return type of a gcc2
66662 builtin and then its argument prototype would still apply. */
66663 char $ac_func ();
66664 /* The GNU C library defines this for functions which it implements
66665 to always fail with ENOSYS. Some functions are actually named
66666 something starting with __ and the normal name is an alias. */
66667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66668 choke me
66669 #else
66670 char (*f) () = $ac_func;
66671 #endif
66672 #ifdef __cplusplus
66674 #endif
66677 main ()
66679 return f != $ac_func;
66681 return 0;
66683 _ACEOF
66684 rm -f conftest.$ac_objext conftest$ac_exeext
66685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66686 (eval $ac_link) 2>conftest.er1
66687 ac_status=$?
66688 grep -v '^ *+' conftest.er1 >conftest.err
66689 rm -f conftest.er1
66690 cat conftest.err >&5
66691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66692 (exit $ac_status); } &&
66693 { ac_try='test -z "$ac_c_werror_flag"
66694 || test ! -s conftest.err'
66695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66696 (eval $ac_try) 2>&5
66697 ac_status=$?
66698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66699 (exit $ac_status); }; } &&
66700 { ac_try='test -s conftest$ac_exeext'
66701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66702 (eval $ac_try) 2>&5
66703 ac_status=$?
66704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66705 (exit $ac_status); }; }; then
66706 eval "$as_ac_var=yes"
66707 else
66708 echo "$as_me: failed program was:" >&5
66709 sed 's/^/| /' conftest.$ac_ext >&5
66711 eval "$as_ac_var=no"
66713 rm -f conftest.err conftest.$ac_objext \
66714 conftest$ac_exeext conftest.$ac_ext
66716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66718 if test `eval echo '${'$as_ac_var'}'` = yes; then
66719 cat >>confdefs.h <<_ACEOF
66720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66721 _ACEOF
66724 done
66726 else
66728 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66729 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66730 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66731 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66732 echo $ECHO_N "(cached) $ECHO_C" >&6
66733 else
66737 ac_ext=cc
66738 ac_cpp='$CXXCPP $CPPFLAGS'
66739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66743 cat >conftest.$ac_ext <<_ACEOF
66744 /* confdefs.h. */
66745 _ACEOF
66746 cat confdefs.h >>conftest.$ac_ext
66747 cat >>conftest.$ac_ext <<_ACEOF
66748 /* end confdefs.h. */
66749 #include <math.h>
66750 #ifdef HAVE_IEEEFP_H
66751 #include <ieeefp.h>
66752 #endif
66755 main ()
66757 _qfpclass(0);
66759 return 0;
66761 _ACEOF
66762 rm -f conftest.$ac_objext
66763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66764 (eval $ac_compile) 2>conftest.er1
66765 ac_status=$?
66766 grep -v '^ *+' conftest.er1 >conftest.err
66767 rm -f conftest.er1
66768 cat conftest.err >&5
66769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66770 (exit $ac_status); } &&
66771 { ac_try='test -z "$ac_cxx_werror_flag"
66772 || test ! -s conftest.err'
66773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66774 (eval $ac_try) 2>&5
66775 ac_status=$?
66776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66777 (exit $ac_status); }; } &&
66778 { ac_try='test -s conftest.$ac_objext'
66779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66780 (eval $ac_try) 2>&5
66781 ac_status=$?
66782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66783 (exit $ac_status); }; }; then
66784 glibcxx_cv_func__qfpclass_use=yes
66785 else
66786 echo "$as_me: failed program was:" >&5
66787 sed 's/^/| /' conftest.$ac_ext >&5
66789 glibcxx_cv_func__qfpclass_use=no
66791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66792 ac_ext=c
66793 ac_cpp='$CPP $CPPFLAGS'
66794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66803 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66805 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66807 for ac_func in _qfpclass
66809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66810 echo "$as_me:$LINENO: checking for $ac_func" >&5
66811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66812 if eval "test \"\${$as_ac_var+set}\" = set"; then
66813 echo $ECHO_N "(cached) $ECHO_C" >&6
66814 else
66815 if test x$gcc_no_link = xyes; then
66816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66818 { (exit 1); exit 1; }; }
66820 cat >conftest.$ac_ext <<_ACEOF
66821 /* confdefs.h. */
66822 _ACEOF
66823 cat confdefs.h >>conftest.$ac_ext
66824 cat >>conftest.$ac_ext <<_ACEOF
66825 /* end confdefs.h. */
66826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66828 #define $ac_func innocuous_$ac_func
66830 /* System header to define __stub macros and hopefully few prototypes,
66831 which can conflict with char $ac_func (); below.
66832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66833 <limits.h> exists even on freestanding compilers. */
66835 #ifdef __STDC__
66836 # include <limits.h>
66837 #else
66838 # include <assert.h>
66839 #endif
66841 #undef $ac_func
66843 /* Override any gcc2 internal prototype to avoid an error. */
66844 #ifdef __cplusplus
66845 extern "C"
66847 #endif
66848 /* We use char because int might match the return type of a gcc2
66849 builtin and then its argument prototype would still apply. */
66850 char $ac_func ();
66851 /* The GNU C library defines this for functions which it implements
66852 to always fail with ENOSYS. Some functions are actually named
66853 something starting with __ and the normal name is an alias. */
66854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66855 choke me
66856 #else
66857 char (*f) () = $ac_func;
66858 #endif
66859 #ifdef __cplusplus
66861 #endif
66864 main ()
66866 return f != $ac_func;
66868 return 0;
66870 _ACEOF
66871 rm -f conftest.$ac_objext conftest$ac_exeext
66872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66873 (eval $ac_link) 2>conftest.er1
66874 ac_status=$?
66875 grep -v '^ *+' conftest.er1 >conftest.err
66876 rm -f conftest.er1
66877 cat conftest.err >&5
66878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66879 (exit $ac_status); } &&
66880 { ac_try='test -z "$ac_c_werror_flag"
66881 || test ! -s conftest.err'
66882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66883 (eval $ac_try) 2>&5
66884 ac_status=$?
66885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886 (exit $ac_status); }; } &&
66887 { ac_try='test -s conftest$ac_exeext'
66888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66889 (eval $ac_try) 2>&5
66890 ac_status=$?
66891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66892 (exit $ac_status); }; }; then
66893 eval "$as_ac_var=yes"
66894 else
66895 echo "$as_me: failed program was:" >&5
66896 sed 's/^/| /' conftest.$ac_ext >&5
66898 eval "$as_ac_var=no"
66900 rm -f conftest.err conftest.$ac_objext \
66901 conftest$ac_exeext conftest.$ac_ext
66903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66905 if test `eval echo '${'$as_ac_var'}'` = yes; then
66906 cat >>confdefs.h <<_ACEOF
66907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66908 _ACEOF
66911 done
66921 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66922 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66923 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66924 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66925 echo $ECHO_N "(cached) $ECHO_C" >&6
66926 else
66930 ac_ext=cc
66931 ac_cpp='$CXXCPP $CPPFLAGS'
66932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66936 cat >conftest.$ac_ext <<_ACEOF
66937 /* confdefs.h. */
66938 _ACEOF
66939 cat confdefs.h >>conftest.$ac_ext
66940 cat >>conftest.$ac_ext <<_ACEOF
66941 /* end confdefs.h. */
66942 #include <math.h>
66944 main ()
66946 hypot(0, 0);
66948 return 0;
66950 _ACEOF
66951 rm -f conftest.$ac_objext
66952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66953 (eval $ac_compile) 2>conftest.er1
66954 ac_status=$?
66955 grep -v '^ *+' conftest.er1 >conftest.err
66956 rm -f conftest.er1
66957 cat conftest.err >&5
66958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66959 (exit $ac_status); } &&
66960 { ac_try='test -z "$ac_cxx_werror_flag"
66961 || test ! -s conftest.err'
66962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66963 (eval $ac_try) 2>&5
66964 ac_status=$?
66965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66966 (exit $ac_status); }; } &&
66967 { ac_try='test -s conftest.$ac_objext'
66968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66969 (eval $ac_try) 2>&5
66970 ac_status=$?
66971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66972 (exit $ac_status); }; }; then
66973 glibcxx_cv_func_hypot_use=yes
66974 else
66975 echo "$as_me: failed program was:" >&5
66976 sed 's/^/| /' conftest.$ac_ext >&5
66978 glibcxx_cv_func_hypot_use=no
66980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66981 ac_ext=c
66982 ac_cpp='$CPP $CPPFLAGS'
66983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66992 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66994 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66996 for ac_func in hypot
66998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66999 echo "$as_me:$LINENO: checking for $ac_func" >&5
67000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67001 if eval "test \"\${$as_ac_var+set}\" = set"; then
67002 echo $ECHO_N "(cached) $ECHO_C" >&6
67003 else
67004 if test x$gcc_no_link = xyes; then
67005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67007 { (exit 1); exit 1; }; }
67009 cat >conftest.$ac_ext <<_ACEOF
67010 /* confdefs.h. */
67011 _ACEOF
67012 cat confdefs.h >>conftest.$ac_ext
67013 cat >>conftest.$ac_ext <<_ACEOF
67014 /* end confdefs.h. */
67015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67017 #define $ac_func innocuous_$ac_func
67019 /* System header to define __stub macros and hopefully few prototypes,
67020 which can conflict with char $ac_func (); below.
67021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67022 <limits.h> exists even on freestanding compilers. */
67024 #ifdef __STDC__
67025 # include <limits.h>
67026 #else
67027 # include <assert.h>
67028 #endif
67030 #undef $ac_func
67032 /* Override any gcc2 internal prototype to avoid an error. */
67033 #ifdef __cplusplus
67034 extern "C"
67036 #endif
67037 /* We use char because int might match the return type of a gcc2
67038 builtin and then its argument prototype would still apply. */
67039 char $ac_func ();
67040 /* The GNU C library defines this for functions which it implements
67041 to always fail with ENOSYS. Some functions are actually named
67042 something starting with __ and the normal name is an alias. */
67043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67044 choke me
67045 #else
67046 char (*f) () = $ac_func;
67047 #endif
67048 #ifdef __cplusplus
67050 #endif
67053 main ()
67055 return f != $ac_func;
67057 return 0;
67059 _ACEOF
67060 rm -f conftest.$ac_objext conftest$ac_exeext
67061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67062 (eval $ac_link) 2>conftest.er1
67063 ac_status=$?
67064 grep -v '^ *+' conftest.er1 >conftest.err
67065 rm -f conftest.er1
67066 cat conftest.err >&5
67067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67068 (exit $ac_status); } &&
67069 { ac_try='test -z "$ac_c_werror_flag"
67070 || test ! -s conftest.err'
67071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67072 (eval $ac_try) 2>&5
67073 ac_status=$?
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); }; } &&
67076 { ac_try='test -s conftest$ac_exeext'
67077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67078 (eval $ac_try) 2>&5
67079 ac_status=$?
67080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67081 (exit $ac_status); }; }; then
67082 eval "$as_ac_var=yes"
67083 else
67084 echo "$as_me: failed program was:" >&5
67085 sed 's/^/| /' conftest.$ac_ext >&5
67087 eval "$as_ac_var=no"
67089 rm -f conftest.err conftest.$ac_objext \
67090 conftest$ac_exeext conftest.$ac_ext
67092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67094 if test `eval echo '${'$as_ac_var'}'` = yes; then
67095 cat >>confdefs.h <<_ACEOF
67096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67097 _ACEOF
67100 done
67102 else
67104 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67105 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67106 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67107 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67108 echo $ECHO_N "(cached) $ECHO_C" >&6
67109 else
67113 ac_ext=cc
67114 ac_cpp='$CXXCPP $CPPFLAGS'
67115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67119 cat >conftest.$ac_ext <<_ACEOF
67120 /* confdefs.h. */
67121 _ACEOF
67122 cat confdefs.h >>conftest.$ac_ext
67123 cat >>conftest.$ac_ext <<_ACEOF
67124 /* end confdefs.h. */
67125 #include <math.h>
67127 main ()
67129 _hypot(0, 0);
67131 return 0;
67133 _ACEOF
67134 rm -f conftest.$ac_objext
67135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67136 (eval $ac_compile) 2>conftest.er1
67137 ac_status=$?
67138 grep -v '^ *+' conftest.er1 >conftest.err
67139 rm -f conftest.er1
67140 cat conftest.err >&5
67141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67142 (exit $ac_status); } &&
67143 { ac_try='test -z "$ac_cxx_werror_flag"
67144 || test ! -s conftest.err'
67145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67146 (eval $ac_try) 2>&5
67147 ac_status=$?
67148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67149 (exit $ac_status); }; } &&
67150 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
67156 glibcxx_cv_func__hypot_use=yes
67157 else
67158 echo "$as_me: failed program was:" >&5
67159 sed 's/^/| /' conftest.$ac_ext >&5
67161 glibcxx_cv_func__hypot_use=no
67163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67164 ac_ext=c
67165 ac_cpp='$CPP $CPPFLAGS'
67166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67175 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67177 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67179 for ac_func in _hypot
67181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67182 echo "$as_me:$LINENO: checking for $ac_func" >&5
67183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67184 if eval "test \"\${$as_ac_var+set}\" = set"; then
67185 echo $ECHO_N "(cached) $ECHO_C" >&6
67186 else
67187 if test x$gcc_no_link = xyes; then
67188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67190 { (exit 1); exit 1; }; }
67192 cat >conftest.$ac_ext <<_ACEOF
67193 /* confdefs.h. */
67194 _ACEOF
67195 cat confdefs.h >>conftest.$ac_ext
67196 cat >>conftest.$ac_ext <<_ACEOF
67197 /* end confdefs.h. */
67198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67200 #define $ac_func innocuous_$ac_func
67202 /* System header to define __stub macros and hopefully few prototypes,
67203 which can conflict with char $ac_func (); below.
67204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67205 <limits.h> exists even on freestanding compilers. */
67207 #ifdef __STDC__
67208 # include <limits.h>
67209 #else
67210 # include <assert.h>
67211 #endif
67213 #undef $ac_func
67215 /* Override any gcc2 internal prototype to avoid an error. */
67216 #ifdef __cplusplus
67217 extern "C"
67219 #endif
67220 /* We use char because int might match the return type of a gcc2
67221 builtin and then its argument prototype would still apply. */
67222 char $ac_func ();
67223 /* The GNU C library defines this for functions which it implements
67224 to always fail with ENOSYS. Some functions are actually named
67225 something starting with __ and the normal name is an alias. */
67226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67227 choke me
67228 #else
67229 char (*f) () = $ac_func;
67230 #endif
67231 #ifdef __cplusplus
67233 #endif
67236 main ()
67238 return f != $ac_func;
67240 return 0;
67242 _ACEOF
67243 rm -f conftest.$ac_objext conftest$ac_exeext
67244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67245 (eval $ac_link) 2>conftest.er1
67246 ac_status=$?
67247 grep -v '^ *+' conftest.er1 >conftest.err
67248 rm -f conftest.er1
67249 cat conftest.err >&5
67250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67251 (exit $ac_status); } &&
67252 { ac_try='test -z "$ac_c_werror_flag"
67253 || test ! -s conftest.err'
67254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67255 (eval $ac_try) 2>&5
67256 ac_status=$?
67257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67258 (exit $ac_status); }; } &&
67259 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
67265 eval "$as_ac_var=yes"
67266 else
67267 echo "$as_me: failed program was:" >&5
67268 sed 's/^/| /' conftest.$ac_ext >&5
67270 eval "$as_ac_var=no"
67272 rm -f conftest.err conftest.$ac_objext \
67273 conftest$ac_exeext conftest.$ac_ext
67275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67277 if test `eval echo '${'$as_ac_var'}'` = yes; then
67278 cat >>confdefs.h <<_ACEOF
67279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67280 _ACEOF
67283 done
67293 echo "$as_me:$LINENO: checking for float trig functions" >&5
67294 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67295 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67296 echo $ECHO_N "(cached) $ECHO_C" >&6
67297 else
67301 ac_ext=cc
67302 ac_cpp='$CXXCPP $CPPFLAGS'
67303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67307 cat >conftest.$ac_ext <<_ACEOF
67308 /* confdefs.h. */
67309 _ACEOF
67310 cat confdefs.h >>conftest.$ac_ext
67311 cat >>conftest.$ac_ext <<_ACEOF
67312 /* end confdefs.h. */
67313 #include <math.h>
67315 main ()
67317 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67319 return 0;
67321 _ACEOF
67322 rm -f conftest.$ac_objext
67323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67324 (eval $ac_compile) 2>conftest.er1
67325 ac_status=$?
67326 grep -v '^ *+' conftest.er1 >conftest.err
67327 rm -f conftest.er1
67328 cat conftest.err >&5
67329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330 (exit $ac_status); } &&
67331 { ac_try='test -z "$ac_cxx_werror_flag"
67332 || test ! -s conftest.err'
67333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67334 (eval $ac_try) 2>&5
67335 ac_status=$?
67336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67337 (exit $ac_status); }; } &&
67338 { ac_try='test -s conftest.$ac_objext'
67339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67340 (eval $ac_try) 2>&5
67341 ac_status=$?
67342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67343 (exit $ac_status); }; }; then
67344 glibcxx_cv_func_float_trig_use=yes
67345 else
67346 echo "$as_me: failed program was:" >&5
67347 sed 's/^/| /' conftest.$ac_ext >&5
67349 glibcxx_cv_func_float_trig_use=no
67351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67352 ac_ext=c
67353 ac_cpp='$CPP $CPPFLAGS'
67354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67361 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67362 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67372 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
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
67478 else
67479 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67480 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67481 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67482 echo $ECHO_N "(cached) $ECHO_C" >&6
67483 else
67487 ac_ext=cc
67488 ac_cpp='$CXXCPP $CPPFLAGS'
67489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67493 cat >conftest.$ac_ext <<_ACEOF
67494 /* confdefs.h. */
67495 _ACEOF
67496 cat confdefs.h >>conftest.$ac_ext
67497 cat >>conftest.$ac_ext <<_ACEOF
67498 /* end confdefs.h. */
67499 #include <math.h>
67501 main ()
67503 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67505 return 0;
67507 _ACEOF
67508 rm -f conftest.$ac_objext
67509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67510 (eval $ac_compile) 2>conftest.er1
67511 ac_status=$?
67512 grep -v '^ *+' conftest.er1 >conftest.err
67513 rm -f conftest.er1
67514 cat conftest.err >&5
67515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67516 (exit $ac_status); } &&
67517 { ac_try='test -z "$ac_cxx_werror_flag"
67518 || test ! -s conftest.err'
67519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67520 (eval $ac_try) 2>&5
67521 ac_status=$?
67522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67523 (exit $ac_status); }; } &&
67524 { ac_try='test -s conftest.$ac_objext'
67525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67526 (eval $ac_try) 2>&5
67527 ac_status=$?
67528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67529 (exit $ac_status); }; }; then
67530 glibcxx_cv_func__float_trig_use=yes
67531 else
67532 echo "$as_me: failed program was:" >&5
67533 sed 's/^/| /' conftest.$ac_ext >&5
67535 glibcxx_cv_func__float_trig_use=no
67537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67538 ac_ext=c
67539 ac_cpp='$CPP $CPPFLAGS'
67540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67547 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67548 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67558 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67561 echo "$as_me:$LINENO: checking for $ac_func" >&5
67562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67563 if eval "test \"\${$as_ac_var+set}\" = set"; then
67564 echo $ECHO_N "(cached) $ECHO_C" >&6
67565 else
67566 if test x$gcc_no_link = xyes; then
67567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67569 { (exit 1); exit 1; }; }
67571 cat >conftest.$ac_ext <<_ACEOF
67572 /* confdefs.h. */
67573 _ACEOF
67574 cat confdefs.h >>conftest.$ac_ext
67575 cat >>conftest.$ac_ext <<_ACEOF
67576 /* end confdefs.h. */
67577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67579 #define $ac_func innocuous_$ac_func
67581 /* System header to define __stub macros and hopefully few prototypes,
67582 which can conflict with char $ac_func (); below.
67583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67584 <limits.h> exists even on freestanding compilers. */
67586 #ifdef __STDC__
67587 # include <limits.h>
67588 #else
67589 # include <assert.h>
67590 #endif
67592 #undef $ac_func
67594 /* Override any gcc2 internal prototype to avoid an error. */
67595 #ifdef __cplusplus
67596 extern "C"
67598 #endif
67599 /* We use char because int might match the return type of a gcc2
67600 builtin and then its argument prototype would still apply. */
67601 char $ac_func ();
67602 /* The GNU C library defines this for functions which it implements
67603 to always fail with ENOSYS. Some functions are actually named
67604 something starting with __ and the normal name is an alias. */
67605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67606 choke me
67607 #else
67608 char (*f) () = $ac_func;
67609 #endif
67610 #ifdef __cplusplus
67612 #endif
67615 main ()
67617 return f != $ac_func;
67619 return 0;
67621 _ACEOF
67622 rm -f conftest.$ac_objext conftest$ac_exeext
67623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67624 (eval $ac_link) 2>conftest.er1
67625 ac_status=$?
67626 grep -v '^ *+' conftest.er1 >conftest.err
67627 rm -f conftest.er1
67628 cat conftest.err >&5
67629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67630 (exit $ac_status); } &&
67631 { ac_try='test -z "$ac_c_werror_flag"
67632 || test ! -s conftest.err'
67633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67634 (eval $ac_try) 2>&5
67635 ac_status=$?
67636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67637 (exit $ac_status); }; } &&
67638 { ac_try='test -s conftest$ac_exeext'
67639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67640 (eval $ac_try) 2>&5
67641 ac_status=$?
67642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643 (exit $ac_status); }; }; then
67644 eval "$as_ac_var=yes"
67645 else
67646 echo "$as_me: failed program was:" >&5
67647 sed 's/^/| /' conftest.$ac_ext >&5
67649 eval "$as_ac_var=no"
67651 rm -f conftest.err conftest.$ac_objext \
67652 conftest$ac_exeext conftest.$ac_ext
67654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67656 if test `eval echo '${'$as_ac_var'}'` = yes; then
67657 cat >>confdefs.h <<_ACEOF
67658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67659 _ACEOF
67662 done
67680 echo "$as_me:$LINENO: checking for float round functions" >&5
67681 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67682 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67683 echo $ECHO_N "(cached) $ECHO_C" >&6
67684 else
67688 ac_ext=cc
67689 ac_cpp='$CXXCPP $CPPFLAGS'
67690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67694 cat >conftest.$ac_ext <<_ACEOF
67695 /* confdefs.h. */
67696 _ACEOF
67697 cat confdefs.h >>conftest.$ac_ext
67698 cat >>conftest.$ac_ext <<_ACEOF
67699 /* end confdefs.h. */
67700 #include <math.h>
67702 main ()
67704 ceilf (0); floorf (0);
67706 return 0;
67708 _ACEOF
67709 rm -f conftest.$ac_objext
67710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67711 (eval $ac_compile) 2>conftest.er1
67712 ac_status=$?
67713 grep -v '^ *+' conftest.er1 >conftest.err
67714 rm -f conftest.er1
67715 cat conftest.err >&5
67716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717 (exit $ac_status); } &&
67718 { ac_try='test -z "$ac_cxx_werror_flag"
67719 || test ! -s conftest.err'
67720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67721 (eval $ac_try) 2>&5
67722 ac_status=$?
67723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67724 (exit $ac_status); }; } &&
67725 { ac_try='test -s conftest.$ac_objext'
67726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67727 (eval $ac_try) 2>&5
67728 ac_status=$?
67729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67730 (exit $ac_status); }; }; then
67731 glibcxx_cv_func_float_round_use=yes
67732 else
67733 echo "$as_me: failed program was:" >&5
67734 sed 's/^/| /' conftest.$ac_ext >&5
67736 glibcxx_cv_func_float_round_use=no
67738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67739 ac_ext=c
67740 ac_cpp='$CPP $CPPFLAGS'
67741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67748 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67749 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67752 for ac_func in ceilf floorf
67754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67755 echo "$as_me:$LINENO: checking for $ac_func" >&5
67756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67757 if eval "test \"\${$as_ac_var+set}\" = set"; then
67758 echo $ECHO_N "(cached) $ECHO_C" >&6
67759 else
67760 if test x$gcc_no_link = xyes; then
67761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67763 { (exit 1); exit 1; }; }
67765 cat >conftest.$ac_ext <<_ACEOF
67766 /* confdefs.h. */
67767 _ACEOF
67768 cat confdefs.h >>conftest.$ac_ext
67769 cat >>conftest.$ac_ext <<_ACEOF
67770 /* end confdefs.h. */
67771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67773 #define $ac_func innocuous_$ac_func
67775 /* System header to define __stub macros and hopefully few prototypes,
67776 which can conflict with char $ac_func (); below.
67777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67778 <limits.h> exists even on freestanding compilers. */
67780 #ifdef __STDC__
67781 # include <limits.h>
67782 #else
67783 # include <assert.h>
67784 #endif
67786 #undef $ac_func
67788 /* Override any gcc2 internal prototype to avoid an error. */
67789 #ifdef __cplusplus
67790 extern "C"
67792 #endif
67793 /* We use char because int might match the return type of a gcc2
67794 builtin and then its argument prototype would still apply. */
67795 char $ac_func ();
67796 /* The GNU C library defines this for functions which it implements
67797 to always fail with ENOSYS. Some functions are actually named
67798 something starting with __ and the normal name is an alias. */
67799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67800 choke me
67801 #else
67802 char (*f) () = $ac_func;
67803 #endif
67804 #ifdef __cplusplus
67806 #endif
67809 main ()
67811 return f != $ac_func;
67813 return 0;
67815 _ACEOF
67816 rm -f conftest.$ac_objext conftest$ac_exeext
67817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67818 (eval $ac_link) 2>conftest.er1
67819 ac_status=$?
67820 grep -v '^ *+' conftest.er1 >conftest.err
67821 rm -f conftest.er1
67822 cat conftest.err >&5
67823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67824 (exit $ac_status); } &&
67825 { ac_try='test -z "$ac_c_werror_flag"
67826 || test ! -s conftest.err'
67827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67828 (eval $ac_try) 2>&5
67829 ac_status=$?
67830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67831 (exit $ac_status); }; } &&
67832 { ac_try='test -s conftest$ac_exeext'
67833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67834 (eval $ac_try) 2>&5
67835 ac_status=$?
67836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67837 (exit $ac_status); }; }; then
67838 eval "$as_ac_var=yes"
67839 else
67840 echo "$as_me: failed program was:" >&5
67841 sed 's/^/| /' conftest.$ac_ext >&5
67843 eval "$as_ac_var=no"
67845 rm -f conftest.err conftest.$ac_objext \
67846 conftest$ac_exeext conftest.$ac_ext
67848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67850 if test `eval echo '${'$as_ac_var'}'` = yes; then
67851 cat >>confdefs.h <<_ACEOF
67852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67853 _ACEOF
67856 done
67858 else
67859 echo "$as_me:$LINENO: checking for _float round functions" >&5
67860 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67861 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67862 echo $ECHO_N "(cached) $ECHO_C" >&6
67863 else
67867 ac_ext=cc
67868 ac_cpp='$CXXCPP $CPPFLAGS'
67869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67873 cat >conftest.$ac_ext <<_ACEOF
67874 /* confdefs.h. */
67875 _ACEOF
67876 cat confdefs.h >>conftest.$ac_ext
67877 cat >>conftest.$ac_ext <<_ACEOF
67878 /* end confdefs.h. */
67879 #include <math.h>
67881 main ()
67883 _ceilf (0); _floorf (0);
67885 return 0;
67887 _ACEOF
67888 rm -f conftest.$ac_objext
67889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67890 (eval $ac_compile) 2>conftest.er1
67891 ac_status=$?
67892 grep -v '^ *+' conftest.er1 >conftest.err
67893 rm -f conftest.er1
67894 cat conftest.err >&5
67895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67896 (exit $ac_status); } &&
67897 { ac_try='test -z "$ac_cxx_werror_flag"
67898 || test ! -s conftest.err'
67899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67900 (eval $ac_try) 2>&5
67901 ac_status=$?
67902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67903 (exit $ac_status); }; } &&
67904 { ac_try='test -s conftest.$ac_objext'
67905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67906 (eval $ac_try) 2>&5
67907 ac_status=$?
67908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67909 (exit $ac_status); }; }; then
67910 glibcxx_cv_func__float_round_use=yes
67911 else
67912 echo "$as_me: failed program was:" >&5
67913 sed 's/^/| /' conftest.$ac_ext >&5
67915 glibcxx_cv_func__float_round_use=no
67917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67918 ac_ext=c
67919 ac_cpp='$CPP $CPPFLAGS'
67920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67927 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67928 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67931 for ac_func in _ceilf _floorf
67933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67934 echo "$as_me:$LINENO: checking for $ac_func" >&5
67935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67936 if eval "test \"\${$as_ac_var+set}\" = set"; then
67937 echo $ECHO_N "(cached) $ECHO_C" >&6
67938 else
67939 if test x$gcc_no_link = xyes; then
67940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67942 { (exit 1); exit 1; }; }
67944 cat >conftest.$ac_ext <<_ACEOF
67945 /* confdefs.h. */
67946 _ACEOF
67947 cat confdefs.h >>conftest.$ac_ext
67948 cat >>conftest.$ac_ext <<_ACEOF
67949 /* end confdefs.h. */
67950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67952 #define $ac_func innocuous_$ac_func
67954 /* System header to define __stub macros and hopefully few prototypes,
67955 which can conflict with char $ac_func (); below.
67956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67957 <limits.h> exists even on freestanding compilers. */
67959 #ifdef __STDC__
67960 # include <limits.h>
67961 #else
67962 # include <assert.h>
67963 #endif
67965 #undef $ac_func
67967 /* Override any gcc2 internal prototype to avoid an error. */
67968 #ifdef __cplusplus
67969 extern "C"
67971 #endif
67972 /* We use char because int might match the return type of a gcc2
67973 builtin and then its argument prototype would still apply. */
67974 char $ac_func ();
67975 /* The GNU C library defines this for functions which it implements
67976 to always fail with ENOSYS. Some functions are actually named
67977 something starting with __ and the normal name is an alias. */
67978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67979 choke me
67980 #else
67981 char (*f) () = $ac_func;
67982 #endif
67983 #ifdef __cplusplus
67985 #endif
67988 main ()
67990 return f != $ac_func;
67992 return 0;
67994 _ACEOF
67995 rm -f conftest.$ac_objext conftest$ac_exeext
67996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67997 (eval $ac_link) 2>conftest.er1
67998 ac_status=$?
67999 grep -v '^ *+' conftest.er1 >conftest.err
68000 rm -f conftest.er1
68001 cat conftest.err >&5
68002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68003 (exit $ac_status); } &&
68004 { ac_try='test -z "$ac_c_werror_flag"
68005 || test ! -s conftest.err'
68006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68007 (eval $ac_try) 2>&5
68008 ac_status=$?
68009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68010 (exit $ac_status); }; } &&
68011 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
68017 eval "$as_ac_var=yes"
68018 else
68019 echo "$as_me: failed program was:" >&5
68020 sed 's/^/| /' conftest.$ac_ext >&5
68022 eval "$as_ac_var=no"
68024 rm -f conftest.err conftest.$ac_objext \
68025 conftest$ac_exeext conftest.$ac_ext
68027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68029 if test `eval echo '${'$as_ac_var'}'` = yes; then
68030 cat >>confdefs.h <<_ACEOF
68031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68032 _ACEOF
68035 done
68047 echo "$as_me:$LINENO: checking for expf declaration" >&5
68048 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68049 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68050 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68051 echo $ECHO_N "(cached) $ECHO_C" >&6
68052 else
68056 ac_ext=cc
68057 ac_cpp='$CXXCPP $CPPFLAGS'
68058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062 cat >conftest.$ac_ext <<_ACEOF
68063 /* confdefs.h. */
68064 _ACEOF
68065 cat confdefs.h >>conftest.$ac_ext
68066 cat >>conftest.$ac_ext <<_ACEOF
68067 /* end confdefs.h. */
68068 #include <math.h>
68069 #ifdef HAVE_IEEEFP_H
68070 #include <ieeefp.h>
68071 #endif
68074 main ()
68076 expf(0);
68078 return 0;
68080 _ACEOF
68081 rm -f conftest.$ac_objext
68082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68083 (eval $ac_compile) 2>conftest.er1
68084 ac_status=$?
68085 grep -v '^ *+' conftest.er1 >conftest.err
68086 rm -f conftest.er1
68087 cat conftest.err >&5
68088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68089 (exit $ac_status); } &&
68090 { ac_try='test -z "$ac_cxx_werror_flag"
68091 || test ! -s conftest.err'
68092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68093 (eval $ac_try) 2>&5
68094 ac_status=$?
68095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68096 (exit $ac_status); }; } &&
68097 { ac_try='test -s conftest.$ac_objext'
68098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68099 (eval $ac_try) 2>&5
68100 ac_status=$?
68101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68102 (exit $ac_status); }; }; then
68103 glibcxx_cv_func_expf_use=yes
68104 else
68105 echo "$as_me: failed program was:" >&5
68106 sed 's/^/| /' conftest.$ac_ext >&5
68108 glibcxx_cv_func_expf_use=no
68110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68111 ac_ext=c
68112 ac_cpp='$CPP $CPPFLAGS'
68113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68122 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68124 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68126 for ac_func in expf
68128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68129 echo "$as_me:$LINENO: checking for $ac_func" >&5
68130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68131 if eval "test \"\${$as_ac_var+set}\" = set"; then
68132 echo $ECHO_N "(cached) $ECHO_C" >&6
68133 else
68134 if test x$gcc_no_link = xyes; then
68135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68137 { (exit 1); exit 1; }; }
68139 cat >conftest.$ac_ext <<_ACEOF
68140 /* confdefs.h. */
68141 _ACEOF
68142 cat confdefs.h >>conftest.$ac_ext
68143 cat >>conftest.$ac_ext <<_ACEOF
68144 /* end confdefs.h. */
68145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68147 #define $ac_func innocuous_$ac_func
68149 /* System header to define __stub macros and hopefully few prototypes,
68150 which can conflict with char $ac_func (); below.
68151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68152 <limits.h> exists even on freestanding compilers. */
68154 #ifdef __STDC__
68155 # include <limits.h>
68156 #else
68157 # include <assert.h>
68158 #endif
68160 #undef $ac_func
68162 /* Override any gcc2 internal prototype to avoid an error. */
68163 #ifdef __cplusplus
68164 extern "C"
68166 #endif
68167 /* We use char because int might match the return type of a gcc2
68168 builtin and then its argument prototype would still apply. */
68169 char $ac_func ();
68170 /* The GNU C library defines this for functions which it implements
68171 to always fail with ENOSYS. Some functions are actually named
68172 something starting with __ and the normal name is an alias. */
68173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68174 choke me
68175 #else
68176 char (*f) () = $ac_func;
68177 #endif
68178 #ifdef __cplusplus
68180 #endif
68183 main ()
68185 return f != $ac_func;
68187 return 0;
68189 _ACEOF
68190 rm -f conftest.$ac_objext conftest$ac_exeext
68191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68192 (eval $ac_link) 2>conftest.er1
68193 ac_status=$?
68194 grep -v '^ *+' conftest.er1 >conftest.err
68195 rm -f conftest.er1
68196 cat conftest.err >&5
68197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68198 (exit $ac_status); } &&
68199 { ac_try='test -z "$ac_c_werror_flag"
68200 || test ! -s conftest.err'
68201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68202 (eval $ac_try) 2>&5
68203 ac_status=$?
68204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68205 (exit $ac_status); }; } &&
68206 { ac_try='test -s conftest$ac_exeext'
68207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208 (eval $ac_try) 2>&5
68209 ac_status=$?
68210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211 (exit $ac_status); }; }; then
68212 eval "$as_ac_var=yes"
68213 else
68214 echo "$as_me: failed program was:" >&5
68215 sed 's/^/| /' conftest.$ac_ext >&5
68217 eval "$as_ac_var=no"
68219 rm -f conftest.err conftest.$ac_objext \
68220 conftest$ac_exeext conftest.$ac_ext
68222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68224 if test `eval echo '${'$as_ac_var'}'` = yes; then
68225 cat >>confdefs.h <<_ACEOF
68226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68227 _ACEOF
68230 done
68232 else
68234 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68235 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68236 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68237 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68238 echo $ECHO_N "(cached) $ECHO_C" >&6
68239 else
68243 ac_ext=cc
68244 ac_cpp='$CXXCPP $CPPFLAGS'
68245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68249 cat >conftest.$ac_ext <<_ACEOF
68250 /* confdefs.h. */
68251 _ACEOF
68252 cat confdefs.h >>conftest.$ac_ext
68253 cat >>conftest.$ac_ext <<_ACEOF
68254 /* end confdefs.h. */
68255 #include <math.h>
68256 #ifdef HAVE_IEEEFP_H
68257 #include <ieeefp.h>
68258 #endif
68261 main ()
68263 _expf(0);
68265 return 0;
68267 _ACEOF
68268 rm -f conftest.$ac_objext
68269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68270 (eval $ac_compile) 2>conftest.er1
68271 ac_status=$?
68272 grep -v '^ *+' conftest.er1 >conftest.err
68273 rm -f conftest.er1
68274 cat conftest.err >&5
68275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68276 (exit $ac_status); } &&
68277 { ac_try='test -z "$ac_cxx_werror_flag"
68278 || test ! -s conftest.err'
68279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68280 (eval $ac_try) 2>&5
68281 ac_status=$?
68282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68283 (exit $ac_status); }; } &&
68284 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
68290 glibcxx_cv_func__expf_use=yes
68291 else
68292 echo "$as_me: failed program was:" >&5
68293 sed 's/^/| /' conftest.$ac_ext >&5
68295 glibcxx_cv_func__expf_use=no
68297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68298 ac_ext=c
68299 ac_cpp='$CPP $CPPFLAGS'
68300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68309 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68311 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68313 for ac_func in _expf
68315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68316 echo "$as_me:$LINENO: checking for $ac_func" >&5
68317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68318 if eval "test \"\${$as_ac_var+set}\" = set"; then
68319 echo $ECHO_N "(cached) $ECHO_C" >&6
68320 else
68321 if test x$gcc_no_link = xyes; then
68322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68324 { (exit 1); exit 1; }; }
68326 cat >conftest.$ac_ext <<_ACEOF
68327 /* confdefs.h. */
68328 _ACEOF
68329 cat confdefs.h >>conftest.$ac_ext
68330 cat >>conftest.$ac_ext <<_ACEOF
68331 /* end confdefs.h. */
68332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68334 #define $ac_func innocuous_$ac_func
68336 /* System header to define __stub macros and hopefully few prototypes,
68337 which can conflict with char $ac_func (); below.
68338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68339 <limits.h> exists even on freestanding compilers. */
68341 #ifdef __STDC__
68342 # include <limits.h>
68343 #else
68344 # include <assert.h>
68345 #endif
68347 #undef $ac_func
68349 /* Override any gcc2 internal prototype to avoid an error. */
68350 #ifdef __cplusplus
68351 extern "C"
68353 #endif
68354 /* We use char because int might match the return type of a gcc2
68355 builtin and then its argument prototype would still apply. */
68356 char $ac_func ();
68357 /* The GNU C library defines this for functions which it implements
68358 to always fail with ENOSYS. Some functions are actually named
68359 something starting with __ and the normal name is an alias. */
68360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68361 choke me
68362 #else
68363 char (*f) () = $ac_func;
68364 #endif
68365 #ifdef __cplusplus
68367 #endif
68370 main ()
68372 return f != $ac_func;
68374 return 0;
68376 _ACEOF
68377 rm -f conftest.$ac_objext conftest$ac_exeext
68378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68379 (eval $ac_link) 2>conftest.er1
68380 ac_status=$?
68381 grep -v '^ *+' conftest.er1 >conftest.err
68382 rm -f conftest.er1
68383 cat conftest.err >&5
68384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68385 (exit $ac_status); } &&
68386 { ac_try='test -z "$ac_c_werror_flag"
68387 || test ! -s conftest.err'
68388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68389 (eval $ac_try) 2>&5
68390 ac_status=$?
68391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68392 (exit $ac_status); }; } &&
68393 { ac_try='test -s conftest$ac_exeext'
68394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68395 (eval $ac_try) 2>&5
68396 ac_status=$?
68397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68398 (exit $ac_status); }; }; then
68399 eval "$as_ac_var=yes"
68400 else
68401 echo "$as_me: failed program was:" >&5
68402 sed 's/^/| /' conftest.$ac_ext >&5
68404 eval "$as_ac_var=no"
68406 rm -f conftest.err conftest.$ac_objext \
68407 conftest$ac_exeext conftest.$ac_ext
68409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68411 if test `eval echo '${'$as_ac_var'}'` = yes; then
68412 cat >>confdefs.h <<_ACEOF
68413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68414 _ACEOF
68417 done
68427 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68428 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68429 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68430 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68431 echo $ECHO_N "(cached) $ECHO_C" >&6
68432 else
68436 ac_ext=cc
68437 ac_cpp='$CXXCPP $CPPFLAGS'
68438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68442 cat >conftest.$ac_ext <<_ACEOF
68443 /* confdefs.h. */
68444 _ACEOF
68445 cat confdefs.h >>conftest.$ac_ext
68446 cat >>conftest.$ac_ext <<_ACEOF
68447 /* end confdefs.h. */
68448 #include <math.h>
68449 #ifdef HAVE_IEEEFP_H
68450 #include <ieeefp.h>
68451 #endif
68454 main ()
68456 isnanf(0);
68458 return 0;
68460 _ACEOF
68461 rm -f conftest.$ac_objext
68462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68463 (eval $ac_compile) 2>conftest.er1
68464 ac_status=$?
68465 grep -v '^ *+' conftest.er1 >conftest.err
68466 rm -f conftest.er1
68467 cat conftest.err >&5
68468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68469 (exit $ac_status); } &&
68470 { ac_try='test -z "$ac_cxx_werror_flag"
68471 || test ! -s conftest.err'
68472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68473 (eval $ac_try) 2>&5
68474 ac_status=$?
68475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68476 (exit $ac_status); }; } &&
68477 { ac_try='test -s conftest.$ac_objext'
68478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68479 (eval $ac_try) 2>&5
68480 ac_status=$?
68481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68482 (exit $ac_status); }; }; then
68483 glibcxx_cv_func_isnanf_use=yes
68484 else
68485 echo "$as_me: failed program was:" >&5
68486 sed 's/^/| /' conftest.$ac_ext >&5
68488 glibcxx_cv_func_isnanf_use=no
68490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68491 ac_ext=c
68492 ac_cpp='$CPP $CPPFLAGS'
68493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68502 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68504 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68506 for ac_func in isnanf
68508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68509 echo "$as_me:$LINENO: checking for $ac_func" >&5
68510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68511 if eval "test \"\${$as_ac_var+set}\" = set"; then
68512 echo $ECHO_N "(cached) $ECHO_C" >&6
68513 else
68514 if test x$gcc_no_link = xyes; then
68515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68517 { (exit 1); exit 1; }; }
68519 cat >conftest.$ac_ext <<_ACEOF
68520 /* confdefs.h. */
68521 _ACEOF
68522 cat confdefs.h >>conftest.$ac_ext
68523 cat >>conftest.$ac_ext <<_ACEOF
68524 /* end confdefs.h. */
68525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68527 #define $ac_func innocuous_$ac_func
68529 /* System header to define __stub macros and hopefully few prototypes,
68530 which can conflict with char $ac_func (); below.
68531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68532 <limits.h> exists even on freestanding compilers. */
68534 #ifdef __STDC__
68535 # include <limits.h>
68536 #else
68537 # include <assert.h>
68538 #endif
68540 #undef $ac_func
68542 /* Override any gcc2 internal prototype to avoid an error. */
68543 #ifdef __cplusplus
68544 extern "C"
68546 #endif
68547 /* We use char because int might match the return type of a gcc2
68548 builtin and then its argument prototype would still apply. */
68549 char $ac_func ();
68550 /* The GNU C library defines this for functions which it implements
68551 to always fail with ENOSYS. Some functions are actually named
68552 something starting with __ and the normal name is an alias. */
68553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68554 choke me
68555 #else
68556 char (*f) () = $ac_func;
68557 #endif
68558 #ifdef __cplusplus
68560 #endif
68563 main ()
68565 return f != $ac_func;
68567 return 0;
68569 _ACEOF
68570 rm -f conftest.$ac_objext conftest$ac_exeext
68571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68572 (eval $ac_link) 2>conftest.er1
68573 ac_status=$?
68574 grep -v '^ *+' conftest.er1 >conftest.err
68575 rm -f conftest.er1
68576 cat conftest.err >&5
68577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68578 (exit $ac_status); } &&
68579 { ac_try='test -z "$ac_c_werror_flag"
68580 || test ! -s conftest.err'
68581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68582 (eval $ac_try) 2>&5
68583 ac_status=$?
68584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68585 (exit $ac_status); }; } &&
68586 { ac_try='test -s conftest$ac_exeext'
68587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68588 (eval $ac_try) 2>&5
68589 ac_status=$?
68590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68591 (exit $ac_status); }; }; then
68592 eval "$as_ac_var=yes"
68593 else
68594 echo "$as_me: failed program was:" >&5
68595 sed 's/^/| /' conftest.$ac_ext >&5
68597 eval "$as_ac_var=no"
68599 rm -f conftest.err conftest.$ac_objext \
68600 conftest$ac_exeext conftest.$ac_ext
68602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68604 if test `eval echo '${'$as_ac_var'}'` = yes; then
68605 cat >>confdefs.h <<_ACEOF
68606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68607 _ACEOF
68610 done
68612 else
68614 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68615 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68616 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68617 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68618 echo $ECHO_N "(cached) $ECHO_C" >&6
68619 else
68623 ac_ext=cc
68624 ac_cpp='$CXXCPP $CPPFLAGS'
68625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68629 cat >conftest.$ac_ext <<_ACEOF
68630 /* confdefs.h. */
68631 _ACEOF
68632 cat confdefs.h >>conftest.$ac_ext
68633 cat >>conftest.$ac_ext <<_ACEOF
68634 /* end confdefs.h. */
68635 #include <math.h>
68636 #ifdef HAVE_IEEEFP_H
68637 #include <ieeefp.h>
68638 #endif
68641 main ()
68643 _isnanf(0);
68645 return 0;
68647 _ACEOF
68648 rm -f conftest.$ac_objext
68649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68650 (eval $ac_compile) 2>conftest.er1
68651 ac_status=$?
68652 grep -v '^ *+' conftest.er1 >conftest.err
68653 rm -f conftest.er1
68654 cat conftest.err >&5
68655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68656 (exit $ac_status); } &&
68657 { ac_try='test -z "$ac_cxx_werror_flag"
68658 || test ! -s conftest.err'
68659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68660 (eval $ac_try) 2>&5
68661 ac_status=$?
68662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68663 (exit $ac_status); }; } &&
68664 { ac_try='test -s conftest.$ac_objext'
68665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68666 (eval $ac_try) 2>&5
68667 ac_status=$?
68668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68669 (exit $ac_status); }; }; then
68670 glibcxx_cv_func__isnanf_use=yes
68671 else
68672 echo "$as_me: failed program was:" >&5
68673 sed 's/^/| /' conftest.$ac_ext >&5
68675 glibcxx_cv_func__isnanf_use=no
68677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68678 ac_ext=c
68679 ac_cpp='$CPP $CPPFLAGS'
68680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68689 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68691 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68693 for ac_func in _isnanf
68695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68696 echo "$as_me:$LINENO: checking for $ac_func" >&5
68697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68698 if eval "test \"\${$as_ac_var+set}\" = set"; then
68699 echo $ECHO_N "(cached) $ECHO_C" >&6
68700 else
68701 if test x$gcc_no_link = xyes; then
68702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68704 { (exit 1); exit 1; }; }
68706 cat >conftest.$ac_ext <<_ACEOF
68707 /* confdefs.h. */
68708 _ACEOF
68709 cat confdefs.h >>conftest.$ac_ext
68710 cat >>conftest.$ac_ext <<_ACEOF
68711 /* end confdefs.h. */
68712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68714 #define $ac_func innocuous_$ac_func
68716 /* System header to define __stub macros and hopefully few prototypes,
68717 which can conflict with char $ac_func (); below.
68718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68719 <limits.h> exists even on freestanding compilers. */
68721 #ifdef __STDC__
68722 # include <limits.h>
68723 #else
68724 # include <assert.h>
68725 #endif
68727 #undef $ac_func
68729 /* Override any gcc2 internal prototype to avoid an error. */
68730 #ifdef __cplusplus
68731 extern "C"
68733 #endif
68734 /* We use char because int might match the return type of a gcc2
68735 builtin and then its argument prototype would still apply. */
68736 char $ac_func ();
68737 /* The GNU C library defines this for functions which it implements
68738 to always fail with ENOSYS. Some functions are actually named
68739 something starting with __ and the normal name is an alias. */
68740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68741 choke me
68742 #else
68743 char (*f) () = $ac_func;
68744 #endif
68745 #ifdef __cplusplus
68747 #endif
68750 main ()
68752 return f != $ac_func;
68754 return 0;
68756 _ACEOF
68757 rm -f conftest.$ac_objext conftest$ac_exeext
68758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68759 (eval $ac_link) 2>conftest.er1
68760 ac_status=$?
68761 grep -v '^ *+' conftest.er1 >conftest.err
68762 rm -f conftest.er1
68763 cat conftest.err >&5
68764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68765 (exit $ac_status); } &&
68766 { ac_try='test -z "$ac_c_werror_flag"
68767 || test ! -s conftest.err'
68768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68769 (eval $ac_try) 2>&5
68770 ac_status=$?
68771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68772 (exit $ac_status); }; } &&
68773 { ac_try='test -s conftest$ac_exeext'
68774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68775 (eval $ac_try) 2>&5
68776 ac_status=$?
68777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68778 (exit $ac_status); }; }; then
68779 eval "$as_ac_var=yes"
68780 else
68781 echo "$as_me: failed program was:" >&5
68782 sed 's/^/| /' conftest.$ac_ext >&5
68784 eval "$as_ac_var=no"
68786 rm -f conftest.err conftest.$ac_objext \
68787 conftest$ac_exeext conftest.$ac_ext
68789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68791 if test `eval echo '${'$as_ac_var'}'` = yes; then
68792 cat >>confdefs.h <<_ACEOF
68793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68794 _ACEOF
68797 done
68807 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68808 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68809 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68810 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68811 echo $ECHO_N "(cached) $ECHO_C" >&6
68812 else
68816 ac_ext=cc
68817 ac_cpp='$CXXCPP $CPPFLAGS'
68818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68822 cat >conftest.$ac_ext <<_ACEOF
68823 /* confdefs.h. */
68824 _ACEOF
68825 cat confdefs.h >>conftest.$ac_ext
68826 cat >>conftest.$ac_ext <<_ACEOF
68827 /* end confdefs.h. */
68828 #include <math.h>
68829 #ifdef HAVE_IEEEFP_H
68830 #include <ieeefp.h>
68831 #endif
68834 main ()
68836 isinff(0);
68838 return 0;
68840 _ACEOF
68841 rm -f conftest.$ac_objext
68842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68843 (eval $ac_compile) 2>conftest.er1
68844 ac_status=$?
68845 grep -v '^ *+' conftest.er1 >conftest.err
68846 rm -f conftest.er1
68847 cat conftest.err >&5
68848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68849 (exit $ac_status); } &&
68850 { ac_try='test -z "$ac_cxx_werror_flag"
68851 || test ! -s conftest.err'
68852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853 (eval $ac_try) 2>&5
68854 ac_status=$?
68855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856 (exit $ac_status); }; } &&
68857 { ac_try='test -s conftest.$ac_objext'
68858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68859 (eval $ac_try) 2>&5
68860 ac_status=$?
68861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68862 (exit $ac_status); }; }; then
68863 glibcxx_cv_func_isinff_use=yes
68864 else
68865 echo "$as_me: failed program was:" >&5
68866 sed 's/^/| /' conftest.$ac_ext >&5
68868 glibcxx_cv_func_isinff_use=no
68870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68882 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68884 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68886 for ac_func in isinff
68888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68889 echo "$as_me:$LINENO: checking for $ac_func" >&5
68890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68891 if eval "test \"\${$as_ac_var+set}\" = set"; then
68892 echo $ECHO_N "(cached) $ECHO_C" >&6
68893 else
68894 if test x$gcc_no_link = xyes; then
68895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68897 { (exit 1); exit 1; }; }
68899 cat >conftest.$ac_ext <<_ACEOF
68900 /* confdefs.h. */
68901 _ACEOF
68902 cat confdefs.h >>conftest.$ac_ext
68903 cat >>conftest.$ac_ext <<_ACEOF
68904 /* end confdefs.h. */
68905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68907 #define $ac_func innocuous_$ac_func
68909 /* System header to define __stub macros and hopefully few prototypes,
68910 which can conflict with char $ac_func (); below.
68911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68912 <limits.h> exists even on freestanding compilers. */
68914 #ifdef __STDC__
68915 # include <limits.h>
68916 #else
68917 # include <assert.h>
68918 #endif
68920 #undef $ac_func
68922 /* Override any gcc2 internal prototype to avoid an error. */
68923 #ifdef __cplusplus
68924 extern "C"
68926 #endif
68927 /* We use char because int might match the return type of a gcc2
68928 builtin and then its argument prototype would still apply. */
68929 char $ac_func ();
68930 /* The GNU C library defines this for functions which it implements
68931 to always fail with ENOSYS. Some functions are actually named
68932 something starting with __ and the normal name is an alias. */
68933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68934 choke me
68935 #else
68936 char (*f) () = $ac_func;
68937 #endif
68938 #ifdef __cplusplus
68940 #endif
68943 main ()
68945 return f != $ac_func;
68947 return 0;
68949 _ACEOF
68950 rm -f conftest.$ac_objext conftest$ac_exeext
68951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68952 (eval $ac_link) 2>conftest.er1
68953 ac_status=$?
68954 grep -v '^ *+' conftest.er1 >conftest.err
68955 rm -f conftest.er1
68956 cat conftest.err >&5
68957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68958 (exit $ac_status); } &&
68959 { ac_try='test -z "$ac_c_werror_flag"
68960 || test ! -s conftest.err'
68961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68962 (eval $ac_try) 2>&5
68963 ac_status=$?
68964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68965 (exit $ac_status); }; } &&
68966 { ac_try='test -s conftest$ac_exeext'
68967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68968 (eval $ac_try) 2>&5
68969 ac_status=$?
68970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68971 (exit $ac_status); }; }; then
68972 eval "$as_ac_var=yes"
68973 else
68974 echo "$as_me: failed program was:" >&5
68975 sed 's/^/| /' conftest.$ac_ext >&5
68977 eval "$as_ac_var=no"
68979 rm -f conftest.err conftest.$ac_objext \
68980 conftest$ac_exeext conftest.$ac_ext
68982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68984 if test `eval echo '${'$as_ac_var'}'` = yes; then
68985 cat >>confdefs.h <<_ACEOF
68986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68987 _ACEOF
68990 done
68992 else
68994 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68995 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68996 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68997 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68998 echo $ECHO_N "(cached) $ECHO_C" >&6
68999 else
69003 ac_ext=cc
69004 ac_cpp='$CXXCPP $CPPFLAGS'
69005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69009 cat >conftest.$ac_ext <<_ACEOF
69010 /* confdefs.h. */
69011 _ACEOF
69012 cat confdefs.h >>conftest.$ac_ext
69013 cat >>conftest.$ac_ext <<_ACEOF
69014 /* end confdefs.h. */
69015 #include <math.h>
69016 #ifdef HAVE_IEEEFP_H
69017 #include <ieeefp.h>
69018 #endif
69021 main ()
69023 _isinff(0);
69025 return 0;
69027 _ACEOF
69028 rm -f conftest.$ac_objext
69029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69030 (eval $ac_compile) 2>conftest.er1
69031 ac_status=$?
69032 grep -v '^ *+' conftest.er1 >conftest.err
69033 rm -f conftest.er1
69034 cat conftest.err >&5
69035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69036 (exit $ac_status); } &&
69037 { ac_try='test -z "$ac_cxx_werror_flag"
69038 || test ! -s conftest.err'
69039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69040 (eval $ac_try) 2>&5
69041 ac_status=$?
69042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69043 (exit $ac_status); }; } &&
69044 { ac_try='test -s conftest.$ac_objext'
69045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69046 (eval $ac_try) 2>&5
69047 ac_status=$?
69048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69049 (exit $ac_status); }; }; then
69050 glibcxx_cv_func__isinff_use=yes
69051 else
69052 echo "$as_me: failed program was:" >&5
69053 sed 's/^/| /' conftest.$ac_ext >&5
69055 glibcxx_cv_func__isinff_use=no
69057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69058 ac_ext=c
69059 ac_cpp='$CPP $CPPFLAGS'
69060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69069 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69071 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69073 for ac_func in _isinff
69075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69076 echo "$as_me:$LINENO: checking for $ac_func" >&5
69077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69078 if eval "test \"\${$as_ac_var+set}\" = set"; then
69079 echo $ECHO_N "(cached) $ECHO_C" >&6
69080 else
69081 if test x$gcc_no_link = xyes; then
69082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69084 { (exit 1); exit 1; }; }
69086 cat >conftest.$ac_ext <<_ACEOF
69087 /* confdefs.h. */
69088 _ACEOF
69089 cat confdefs.h >>conftest.$ac_ext
69090 cat >>conftest.$ac_ext <<_ACEOF
69091 /* end confdefs.h. */
69092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69094 #define $ac_func innocuous_$ac_func
69096 /* System header to define __stub macros and hopefully few prototypes,
69097 which can conflict with char $ac_func (); below.
69098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69099 <limits.h> exists even on freestanding compilers. */
69101 #ifdef __STDC__
69102 # include <limits.h>
69103 #else
69104 # include <assert.h>
69105 #endif
69107 #undef $ac_func
69109 /* Override any gcc2 internal prototype to avoid an error. */
69110 #ifdef __cplusplus
69111 extern "C"
69113 #endif
69114 /* We use char because int might match the return type of a gcc2
69115 builtin and then its argument prototype would still apply. */
69116 char $ac_func ();
69117 /* The GNU C library defines this for functions which it implements
69118 to always fail with ENOSYS. Some functions are actually named
69119 something starting with __ and the normal name is an alias. */
69120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69121 choke me
69122 #else
69123 char (*f) () = $ac_func;
69124 #endif
69125 #ifdef __cplusplus
69127 #endif
69130 main ()
69132 return f != $ac_func;
69134 return 0;
69136 _ACEOF
69137 rm -f conftest.$ac_objext conftest$ac_exeext
69138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69139 (eval $ac_link) 2>conftest.er1
69140 ac_status=$?
69141 grep -v '^ *+' conftest.er1 >conftest.err
69142 rm -f conftest.er1
69143 cat conftest.err >&5
69144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69145 (exit $ac_status); } &&
69146 { ac_try='test -z "$ac_c_werror_flag"
69147 || test ! -s conftest.err'
69148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69149 (eval $ac_try) 2>&5
69150 ac_status=$?
69151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69152 (exit $ac_status); }; } &&
69153 { ac_try='test -s conftest$ac_exeext'
69154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69155 (eval $ac_try) 2>&5
69156 ac_status=$?
69157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69158 (exit $ac_status); }; }; then
69159 eval "$as_ac_var=yes"
69160 else
69161 echo "$as_me: failed program was:" >&5
69162 sed 's/^/| /' conftest.$ac_ext >&5
69164 eval "$as_ac_var=no"
69166 rm -f conftest.err conftest.$ac_objext \
69167 conftest$ac_exeext conftest.$ac_ext
69169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69171 if test `eval echo '${'$as_ac_var'}'` = yes; then
69172 cat >>confdefs.h <<_ACEOF
69173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69174 _ACEOF
69177 done
69187 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69188 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69189 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69190 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69191 echo $ECHO_N "(cached) $ECHO_C" >&6
69192 else
69196 ac_ext=cc
69197 ac_cpp='$CXXCPP $CPPFLAGS'
69198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69202 cat >conftest.$ac_ext <<_ACEOF
69203 /* confdefs.h. */
69204 _ACEOF
69205 cat confdefs.h >>conftest.$ac_ext
69206 cat >>conftest.$ac_ext <<_ACEOF
69207 /* end confdefs.h. */
69208 #include <math.h>
69210 main ()
69212 atan2f(0, 0);
69214 return 0;
69216 _ACEOF
69217 rm -f conftest.$ac_objext
69218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69219 (eval $ac_compile) 2>conftest.er1
69220 ac_status=$?
69221 grep -v '^ *+' conftest.er1 >conftest.err
69222 rm -f conftest.er1
69223 cat conftest.err >&5
69224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69225 (exit $ac_status); } &&
69226 { ac_try='test -z "$ac_cxx_werror_flag"
69227 || test ! -s conftest.err'
69228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69229 (eval $ac_try) 2>&5
69230 ac_status=$?
69231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69232 (exit $ac_status); }; } &&
69233 { ac_try='test -s conftest.$ac_objext'
69234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69235 (eval $ac_try) 2>&5
69236 ac_status=$?
69237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69238 (exit $ac_status); }; }; then
69239 glibcxx_cv_func_atan2f_use=yes
69240 else
69241 echo "$as_me: failed program was:" >&5
69242 sed 's/^/| /' conftest.$ac_ext >&5
69244 glibcxx_cv_func_atan2f_use=no
69246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69247 ac_ext=c
69248 ac_cpp='$CPP $CPPFLAGS'
69249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69258 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69260 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69262 for ac_func in atan2f
69264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69265 echo "$as_me:$LINENO: checking for $ac_func" >&5
69266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69267 if eval "test \"\${$as_ac_var+set}\" = set"; then
69268 echo $ECHO_N "(cached) $ECHO_C" >&6
69269 else
69270 if test x$gcc_no_link = xyes; then
69271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69273 { (exit 1); exit 1; }; }
69275 cat >conftest.$ac_ext <<_ACEOF
69276 /* confdefs.h. */
69277 _ACEOF
69278 cat confdefs.h >>conftest.$ac_ext
69279 cat >>conftest.$ac_ext <<_ACEOF
69280 /* end confdefs.h. */
69281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69283 #define $ac_func innocuous_$ac_func
69285 /* System header to define __stub macros and hopefully few prototypes,
69286 which can conflict with char $ac_func (); below.
69287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69288 <limits.h> exists even on freestanding compilers. */
69290 #ifdef __STDC__
69291 # include <limits.h>
69292 #else
69293 # include <assert.h>
69294 #endif
69296 #undef $ac_func
69298 /* Override any gcc2 internal prototype to avoid an error. */
69299 #ifdef __cplusplus
69300 extern "C"
69302 #endif
69303 /* We use char because int might match the return type of a gcc2
69304 builtin and then its argument prototype would still apply. */
69305 char $ac_func ();
69306 /* The GNU C library defines this for functions which it implements
69307 to always fail with ENOSYS. Some functions are actually named
69308 something starting with __ and the normal name is an alias. */
69309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69310 choke me
69311 #else
69312 char (*f) () = $ac_func;
69313 #endif
69314 #ifdef __cplusplus
69316 #endif
69319 main ()
69321 return f != $ac_func;
69323 return 0;
69325 _ACEOF
69326 rm -f conftest.$ac_objext conftest$ac_exeext
69327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69328 (eval $ac_link) 2>conftest.er1
69329 ac_status=$?
69330 grep -v '^ *+' conftest.er1 >conftest.err
69331 rm -f conftest.er1
69332 cat conftest.err >&5
69333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69334 (exit $ac_status); } &&
69335 { ac_try='test -z "$ac_c_werror_flag"
69336 || test ! -s conftest.err'
69337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69338 (eval $ac_try) 2>&5
69339 ac_status=$?
69340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341 (exit $ac_status); }; } &&
69342 { ac_try='test -s conftest$ac_exeext'
69343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69344 (eval $ac_try) 2>&5
69345 ac_status=$?
69346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69347 (exit $ac_status); }; }; then
69348 eval "$as_ac_var=yes"
69349 else
69350 echo "$as_me: failed program was:" >&5
69351 sed 's/^/| /' conftest.$ac_ext >&5
69353 eval "$as_ac_var=no"
69355 rm -f conftest.err conftest.$ac_objext \
69356 conftest$ac_exeext conftest.$ac_ext
69358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69360 if test `eval echo '${'$as_ac_var'}'` = yes; then
69361 cat >>confdefs.h <<_ACEOF
69362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69363 _ACEOF
69366 done
69368 else
69370 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69371 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69372 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69373 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69374 echo $ECHO_N "(cached) $ECHO_C" >&6
69375 else
69379 ac_ext=cc
69380 ac_cpp='$CXXCPP $CPPFLAGS'
69381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69385 cat >conftest.$ac_ext <<_ACEOF
69386 /* confdefs.h. */
69387 _ACEOF
69388 cat confdefs.h >>conftest.$ac_ext
69389 cat >>conftest.$ac_ext <<_ACEOF
69390 /* end confdefs.h. */
69391 #include <math.h>
69393 main ()
69395 _atan2f(0, 0);
69397 return 0;
69399 _ACEOF
69400 rm -f conftest.$ac_objext
69401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69402 (eval $ac_compile) 2>conftest.er1
69403 ac_status=$?
69404 grep -v '^ *+' conftest.er1 >conftest.err
69405 rm -f conftest.er1
69406 cat conftest.err >&5
69407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69408 (exit $ac_status); } &&
69409 { ac_try='test -z "$ac_cxx_werror_flag"
69410 || test ! -s conftest.err'
69411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69412 (eval $ac_try) 2>&5
69413 ac_status=$?
69414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69415 (exit $ac_status); }; } &&
69416 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
69422 glibcxx_cv_func__atan2f_use=yes
69423 else
69424 echo "$as_me: failed program was:" >&5
69425 sed 's/^/| /' conftest.$ac_ext >&5
69427 glibcxx_cv_func__atan2f_use=no
69429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69430 ac_ext=c
69431 ac_cpp='$CPP $CPPFLAGS'
69432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69441 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69443 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69445 for ac_func in _atan2f
69447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69448 echo "$as_me:$LINENO: checking for $ac_func" >&5
69449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69450 if eval "test \"\${$as_ac_var+set}\" = set"; then
69451 echo $ECHO_N "(cached) $ECHO_C" >&6
69452 else
69453 if test x$gcc_no_link = xyes; then
69454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69456 { (exit 1); exit 1; }; }
69458 cat >conftest.$ac_ext <<_ACEOF
69459 /* confdefs.h. */
69460 _ACEOF
69461 cat confdefs.h >>conftest.$ac_ext
69462 cat >>conftest.$ac_ext <<_ACEOF
69463 /* end confdefs.h. */
69464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69466 #define $ac_func innocuous_$ac_func
69468 /* System header to define __stub macros and hopefully few prototypes,
69469 which can conflict with char $ac_func (); below.
69470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69471 <limits.h> exists even on freestanding compilers. */
69473 #ifdef __STDC__
69474 # include <limits.h>
69475 #else
69476 # include <assert.h>
69477 #endif
69479 #undef $ac_func
69481 /* Override any gcc2 internal prototype to avoid an error. */
69482 #ifdef __cplusplus
69483 extern "C"
69485 #endif
69486 /* We use char because int might match the return type of a gcc2
69487 builtin and then its argument prototype would still apply. */
69488 char $ac_func ();
69489 /* The GNU C library defines this for functions which it implements
69490 to always fail with ENOSYS. Some functions are actually named
69491 something starting with __ and the normal name is an alias. */
69492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69493 choke me
69494 #else
69495 char (*f) () = $ac_func;
69496 #endif
69497 #ifdef __cplusplus
69499 #endif
69502 main ()
69504 return f != $ac_func;
69506 return 0;
69508 _ACEOF
69509 rm -f conftest.$ac_objext conftest$ac_exeext
69510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69511 (eval $ac_link) 2>conftest.er1
69512 ac_status=$?
69513 grep -v '^ *+' conftest.er1 >conftest.err
69514 rm -f conftest.er1
69515 cat conftest.err >&5
69516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69517 (exit $ac_status); } &&
69518 { ac_try='test -z "$ac_c_werror_flag"
69519 || test ! -s conftest.err'
69520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69521 (eval $ac_try) 2>&5
69522 ac_status=$?
69523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69524 (exit $ac_status); }; } &&
69525 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
69531 eval "$as_ac_var=yes"
69532 else
69533 echo "$as_me: failed program was:" >&5
69534 sed 's/^/| /' conftest.$ac_ext >&5
69536 eval "$as_ac_var=no"
69538 rm -f conftest.err conftest.$ac_objext \
69539 conftest$ac_exeext conftest.$ac_ext
69541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69543 if test `eval echo '${'$as_ac_var'}'` = yes; then
69544 cat >>confdefs.h <<_ACEOF
69545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69546 _ACEOF
69549 done
69559 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69560 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69561 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69562 if test "${glibcxx_cv_func_fabsf_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 fabsf(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_fabsf_use=yes
69616 else
69617 echo "$as_me: failed program was:" >&5
69618 sed 's/^/| /' conftest.$ac_ext >&5
69620 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
69634 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69636 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69638 for ac_func in fabsf
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
69744 else
69746 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69747 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69748 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69749 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69750 echo $ECHO_N "(cached) $ECHO_C" >&6
69751 else
69755 ac_ext=cc
69756 ac_cpp='$CXXCPP $CPPFLAGS'
69757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69761 cat >conftest.$ac_ext <<_ACEOF
69762 /* confdefs.h. */
69763 _ACEOF
69764 cat confdefs.h >>conftest.$ac_ext
69765 cat >>conftest.$ac_ext <<_ACEOF
69766 /* end confdefs.h. */
69767 #include <math.h>
69768 #ifdef HAVE_IEEEFP_H
69769 #include <ieeefp.h>
69770 #endif
69773 main ()
69775 _fabsf(0);
69777 return 0;
69779 _ACEOF
69780 rm -f conftest.$ac_objext
69781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69782 (eval $ac_compile) 2>conftest.er1
69783 ac_status=$?
69784 grep -v '^ *+' conftest.er1 >conftest.err
69785 rm -f conftest.er1
69786 cat conftest.err >&5
69787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69788 (exit $ac_status); } &&
69789 { ac_try='test -z "$ac_cxx_werror_flag"
69790 || test ! -s conftest.err'
69791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69792 (eval $ac_try) 2>&5
69793 ac_status=$?
69794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69795 (exit $ac_status); }; } &&
69796 { ac_try='test -s conftest.$ac_objext'
69797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69798 (eval $ac_try) 2>&5
69799 ac_status=$?
69800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69801 (exit $ac_status); }; }; then
69802 glibcxx_cv_func__fabsf_use=yes
69803 else
69804 echo "$as_me: failed program was:" >&5
69805 sed 's/^/| /' conftest.$ac_ext >&5
69807 glibcxx_cv_func__fabsf_use=no
69809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69810 ac_ext=c
69811 ac_cpp='$CPP $CPPFLAGS'
69812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69820 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69821 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69823 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69825 for ac_func in _fabsf
69827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69828 echo "$as_me:$LINENO: checking for $ac_func" >&5
69829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69830 if eval "test \"\${$as_ac_var+set}\" = set"; then
69831 echo $ECHO_N "(cached) $ECHO_C" >&6
69832 else
69833 if test x$gcc_no_link = xyes; then
69834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69836 { (exit 1); exit 1; }; }
69838 cat >conftest.$ac_ext <<_ACEOF
69839 /* confdefs.h. */
69840 _ACEOF
69841 cat confdefs.h >>conftest.$ac_ext
69842 cat >>conftest.$ac_ext <<_ACEOF
69843 /* end confdefs.h. */
69844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69846 #define $ac_func innocuous_$ac_func
69848 /* System header to define __stub macros and hopefully few prototypes,
69849 which can conflict with char $ac_func (); below.
69850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69851 <limits.h> exists even on freestanding compilers. */
69853 #ifdef __STDC__
69854 # include <limits.h>
69855 #else
69856 # include <assert.h>
69857 #endif
69859 #undef $ac_func
69861 /* Override any gcc2 internal prototype to avoid an error. */
69862 #ifdef __cplusplus
69863 extern "C"
69865 #endif
69866 /* We use char because int might match the return type of a gcc2
69867 builtin and then its argument prototype would still apply. */
69868 char $ac_func ();
69869 /* The GNU C library defines this for functions which it implements
69870 to always fail with ENOSYS. Some functions are actually named
69871 something starting with __ and the normal name is an alias. */
69872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69873 choke me
69874 #else
69875 char (*f) () = $ac_func;
69876 #endif
69877 #ifdef __cplusplus
69879 #endif
69882 main ()
69884 return f != $ac_func;
69886 return 0;
69888 _ACEOF
69889 rm -f conftest.$ac_objext conftest$ac_exeext
69890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69891 (eval $ac_link) 2>conftest.er1
69892 ac_status=$?
69893 grep -v '^ *+' conftest.er1 >conftest.err
69894 rm -f conftest.er1
69895 cat conftest.err >&5
69896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69897 (exit $ac_status); } &&
69898 { ac_try='test -z "$ac_c_werror_flag"
69899 || test ! -s conftest.err'
69900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69901 (eval $ac_try) 2>&5
69902 ac_status=$?
69903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69904 (exit $ac_status); }; } &&
69905 { ac_try='test -s conftest$ac_exeext'
69906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69907 (eval $ac_try) 2>&5
69908 ac_status=$?
69909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69910 (exit $ac_status); }; }; then
69911 eval "$as_ac_var=yes"
69912 else
69913 echo "$as_me: failed program was:" >&5
69914 sed 's/^/| /' conftest.$ac_ext >&5
69916 eval "$as_ac_var=no"
69918 rm -f conftest.err conftest.$ac_objext \
69919 conftest$ac_exeext conftest.$ac_ext
69921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69923 if test `eval echo '${'$as_ac_var'}'` = yes; then
69924 cat >>confdefs.h <<_ACEOF
69925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69926 _ACEOF
69929 done
69939 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69940 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69941 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69942 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69943 echo $ECHO_N "(cached) $ECHO_C" >&6
69944 else
69948 ac_ext=cc
69949 ac_cpp='$CXXCPP $CPPFLAGS'
69950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69954 cat >conftest.$ac_ext <<_ACEOF
69955 /* confdefs.h. */
69956 _ACEOF
69957 cat confdefs.h >>conftest.$ac_ext
69958 cat >>conftest.$ac_ext <<_ACEOF
69959 /* end confdefs.h. */
69960 #include <math.h>
69962 main ()
69964 fmodf(0, 0);
69966 return 0;
69968 _ACEOF
69969 rm -f conftest.$ac_objext
69970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69971 (eval $ac_compile) 2>conftest.er1
69972 ac_status=$?
69973 grep -v '^ *+' conftest.er1 >conftest.err
69974 rm -f conftest.er1
69975 cat conftest.err >&5
69976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69977 (exit $ac_status); } &&
69978 { ac_try='test -z "$ac_cxx_werror_flag"
69979 || test ! -s conftest.err'
69980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69981 (eval $ac_try) 2>&5
69982 ac_status=$?
69983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69984 (exit $ac_status); }; } &&
69985 { ac_try='test -s conftest.$ac_objext'
69986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69987 (eval $ac_try) 2>&5
69988 ac_status=$?
69989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69990 (exit $ac_status); }; }; then
69991 glibcxx_cv_func_fmodf_use=yes
69992 else
69993 echo "$as_me: failed program was:" >&5
69994 sed 's/^/| /' conftest.$ac_ext >&5
69996 glibcxx_cv_func_fmodf_use=no
69998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69999 ac_ext=c
70000 ac_cpp='$CPP $CPPFLAGS'
70001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70009 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70010 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70012 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70014 for ac_func in fmodf
70016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70017 echo "$as_me:$LINENO: checking for $ac_func" >&5
70018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70019 if eval "test \"\${$as_ac_var+set}\" = set"; then
70020 echo $ECHO_N "(cached) $ECHO_C" >&6
70021 else
70022 if test x$gcc_no_link = xyes; then
70023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70025 { (exit 1); exit 1; }; }
70027 cat >conftest.$ac_ext <<_ACEOF
70028 /* confdefs.h. */
70029 _ACEOF
70030 cat confdefs.h >>conftest.$ac_ext
70031 cat >>conftest.$ac_ext <<_ACEOF
70032 /* end confdefs.h. */
70033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70035 #define $ac_func innocuous_$ac_func
70037 /* System header to define __stub macros and hopefully few prototypes,
70038 which can conflict with char $ac_func (); below.
70039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70040 <limits.h> exists even on freestanding compilers. */
70042 #ifdef __STDC__
70043 # include <limits.h>
70044 #else
70045 # include <assert.h>
70046 #endif
70048 #undef $ac_func
70050 /* Override any gcc2 internal prototype to avoid an error. */
70051 #ifdef __cplusplus
70052 extern "C"
70054 #endif
70055 /* We use char because int might match the return type of a gcc2
70056 builtin and then its argument prototype would still apply. */
70057 char $ac_func ();
70058 /* The GNU C library defines this for functions which it implements
70059 to always fail with ENOSYS. Some functions are actually named
70060 something starting with __ and the normal name is an alias. */
70061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70062 choke me
70063 #else
70064 char (*f) () = $ac_func;
70065 #endif
70066 #ifdef __cplusplus
70068 #endif
70071 main ()
70073 return f != $ac_func;
70075 return 0;
70077 _ACEOF
70078 rm -f conftest.$ac_objext conftest$ac_exeext
70079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70080 (eval $ac_link) 2>conftest.er1
70081 ac_status=$?
70082 grep -v '^ *+' conftest.er1 >conftest.err
70083 rm -f conftest.er1
70084 cat conftest.err >&5
70085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70086 (exit $ac_status); } &&
70087 { ac_try='test -z "$ac_c_werror_flag"
70088 || test ! -s conftest.err'
70089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70090 (eval $ac_try) 2>&5
70091 ac_status=$?
70092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70093 (exit $ac_status); }; } &&
70094 { ac_try='test -s conftest$ac_exeext'
70095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70096 (eval $ac_try) 2>&5
70097 ac_status=$?
70098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70099 (exit $ac_status); }; }; then
70100 eval "$as_ac_var=yes"
70101 else
70102 echo "$as_me: failed program was:" >&5
70103 sed 's/^/| /' conftest.$ac_ext >&5
70105 eval "$as_ac_var=no"
70107 rm -f conftest.err conftest.$ac_objext \
70108 conftest$ac_exeext conftest.$ac_ext
70110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70112 if test `eval echo '${'$as_ac_var'}'` = yes; then
70113 cat >>confdefs.h <<_ACEOF
70114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70115 _ACEOF
70118 done
70120 else
70122 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70123 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70124 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70125 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70126 echo $ECHO_N "(cached) $ECHO_C" >&6
70127 else
70131 ac_ext=cc
70132 ac_cpp='$CXXCPP $CPPFLAGS'
70133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70137 cat >conftest.$ac_ext <<_ACEOF
70138 /* confdefs.h. */
70139 _ACEOF
70140 cat confdefs.h >>conftest.$ac_ext
70141 cat >>conftest.$ac_ext <<_ACEOF
70142 /* end confdefs.h. */
70143 #include <math.h>
70145 main ()
70147 _fmodf(0, 0);
70149 return 0;
70151 _ACEOF
70152 rm -f conftest.$ac_objext
70153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70154 (eval $ac_compile) 2>conftest.er1
70155 ac_status=$?
70156 grep -v '^ *+' conftest.er1 >conftest.err
70157 rm -f conftest.er1
70158 cat conftest.err >&5
70159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70160 (exit $ac_status); } &&
70161 { ac_try='test -z "$ac_cxx_werror_flag"
70162 || test ! -s conftest.err'
70163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70164 (eval $ac_try) 2>&5
70165 ac_status=$?
70166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70167 (exit $ac_status); }; } &&
70168 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
70174 glibcxx_cv_func__fmodf_use=yes
70175 else
70176 echo "$as_me: failed program was:" >&5
70177 sed 's/^/| /' conftest.$ac_ext >&5
70179 glibcxx_cv_func__fmodf_use=no
70181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70182 ac_ext=c
70183 ac_cpp='$CPP $CPPFLAGS'
70184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70192 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70193 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70195 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70197 for ac_func in _fmodf
70199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70200 echo "$as_me:$LINENO: checking for $ac_func" >&5
70201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70202 if eval "test \"\${$as_ac_var+set}\" = set"; then
70203 echo $ECHO_N "(cached) $ECHO_C" >&6
70204 else
70205 if test x$gcc_no_link = xyes; then
70206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70208 { (exit 1); exit 1; }; }
70210 cat >conftest.$ac_ext <<_ACEOF
70211 /* confdefs.h. */
70212 _ACEOF
70213 cat confdefs.h >>conftest.$ac_ext
70214 cat >>conftest.$ac_ext <<_ACEOF
70215 /* end confdefs.h. */
70216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70218 #define $ac_func innocuous_$ac_func
70220 /* System header to define __stub macros and hopefully few prototypes,
70221 which can conflict with char $ac_func (); below.
70222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70223 <limits.h> exists even on freestanding compilers. */
70225 #ifdef __STDC__
70226 # include <limits.h>
70227 #else
70228 # include <assert.h>
70229 #endif
70231 #undef $ac_func
70233 /* Override any gcc2 internal prototype to avoid an error. */
70234 #ifdef __cplusplus
70235 extern "C"
70237 #endif
70238 /* We use char because int might match the return type of a gcc2
70239 builtin and then its argument prototype would still apply. */
70240 char $ac_func ();
70241 /* The GNU C library defines this for functions which it implements
70242 to always fail with ENOSYS. Some functions are actually named
70243 something starting with __ and the normal name is an alias. */
70244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70245 choke me
70246 #else
70247 char (*f) () = $ac_func;
70248 #endif
70249 #ifdef __cplusplus
70251 #endif
70254 main ()
70256 return f != $ac_func;
70258 return 0;
70260 _ACEOF
70261 rm -f conftest.$ac_objext conftest$ac_exeext
70262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70263 (eval $ac_link) 2>conftest.er1
70264 ac_status=$?
70265 grep -v '^ *+' conftest.er1 >conftest.err
70266 rm -f conftest.er1
70267 cat conftest.err >&5
70268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70269 (exit $ac_status); } &&
70270 { ac_try='test -z "$ac_c_werror_flag"
70271 || test ! -s conftest.err'
70272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70273 (eval $ac_try) 2>&5
70274 ac_status=$?
70275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70276 (exit $ac_status); }; } &&
70277 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
70283 eval "$as_ac_var=yes"
70284 else
70285 echo "$as_me: failed program was:" >&5
70286 sed 's/^/| /' conftest.$ac_ext >&5
70288 eval "$as_ac_var=no"
70290 rm -f conftest.err conftest.$ac_objext \
70291 conftest$ac_exeext conftest.$ac_ext
70293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70295 if test `eval echo '${'$as_ac_var'}'` = yes; then
70296 cat >>confdefs.h <<_ACEOF
70297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70298 _ACEOF
70301 done
70311 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70312 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70313 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70314 if test "${glibcxx_cv_func_frexpf_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>
70334 main ()
70336 frexpf(0, 0);
70338 return 0;
70340 _ACEOF
70341 rm -f conftest.$ac_objext
70342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70343 (eval $ac_compile) 2>conftest.er1
70344 ac_status=$?
70345 grep -v '^ *+' conftest.er1 >conftest.err
70346 rm -f conftest.er1
70347 cat conftest.err >&5
70348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70349 (exit $ac_status); } &&
70350 { ac_try='test -z "$ac_cxx_werror_flag"
70351 || test ! -s conftest.err'
70352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70353 (eval $ac_try) 2>&5
70354 ac_status=$?
70355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70356 (exit $ac_status); }; } &&
70357 { ac_try='test -s conftest.$ac_objext'
70358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70359 (eval $ac_try) 2>&5
70360 ac_status=$?
70361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70362 (exit $ac_status); }; }; then
70363 glibcxx_cv_func_frexpf_use=yes
70364 else
70365 echo "$as_me: failed program was:" >&5
70366 sed 's/^/| /' conftest.$ac_ext >&5
70368 glibcxx_cv_func_frexpf_use=no
70370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70371 ac_ext=c
70372 ac_cpp='$CPP $CPPFLAGS'
70373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70382 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70384 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70386 for ac_func in frexpf
70388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70389 echo "$as_me:$LINENO: checking for $ac_func" >&5
70390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70391 if eval "test \"\${$as_ac_var+set}\" = set"; then
70392 echo $ECHO_N "(cached) $ECHO_C" >&6
70393 else
70394 if test x$gcc_no_link = xyes; then
70395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70397 { (exit 1); exit 1; }; }
70399 cat >conftest.$ac_ext <<_ACEOF
70400 /* confdefs.h. */
70401 _ACEOF
70402 cat confdefs.h >>conftest.$ac_ext
70403 cat >>conftest.$ac_ext <<_ACEOF
70404 /* end confdefs.h. */
70405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70407 #define $ac_func innocuous_$ac_func
70409 /* System header to define __stub macros and hopefully few prototypes,
70410 which can conflict with char $ac_func (); below.
70411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70412 <limits.h> exists even on freestanding compilers. */
70414 #ifdef __STDC__
70415 # include <limits.h>
70416 #else
70417 # include <assert.h>
70418 #endif
70420 #undef $ac_func
70422 /* Override any gcc2 internal prototype to avoid an error. */
70423 #ifdef __cplusplus
70424 extern "C"
70426 #endif
70427 /* We use char because int might match the return type of a gcc2
70428 builtin and then its argument prototype would still apply. */
70429 char $ac_func ();
70430 /* The GNU C library defines this for functions which it implements
70431 to always fail with ENOSYS. Some functions are actually named
70432 something starting with __ and the normal name is an alias. */
70433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70434 choke me
70435 #else
70436 char (*f) () = $ac_func;
70437 #endif
70438 #ifdef __cplusplus
70440 #endif
70443 main ()
70445 return f != $ac_func;
70447 return 0;
70449 _ACEOF
70450 rm -f conftest.$ac_objext conftest$ac_exeext
70451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70452 (eval $ac_link) 2>conftest.er1
70453 ac_status=$?
70454 grep -v '^ *+' conftest.er1 >conftest.err
70455 rm -f conftest.er1
70456 cat conftest.err >&5
70457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70458 (exit $ac_status); } &&
70459 { ac_try='test -z "$ac_c_werror_flag"
70460 || test ! -s conftest.err'
70461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70462 (eval $ac_try) 2>&5
70463 ac_status=$?
70464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70465 (exit $ac_status); }; } &&
70466 { ac_try='test -s conftest$ac_exeext'
70467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70468 (eval $ac_try) 2>&5
70469 ac_status=$?
70470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70471 (exit $ac_status); }; }; then
70472 eval "$as_ac_var=yes"
70473 else
70474 echo "$as_me: failed program was:" >&5
70475 sed 's/^/| /' conftest.$ac_ext >&5
70477 eval "$as_ac_var=no"
70479 rm -f conftest.err conftest.$ac_objext \
70480 conftest$ac_exeext conftest.$ac_ext
70482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70484 if test `eval echo '${'$as_ac_var'}'` = yes; then
70485 cat >>confdefs.h <<_ACEOF
70486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70487 _ACEOF
70490 done
70492 else
70494 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70495 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70496 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70497 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70498 echo $ECHO_N "(cached) $ECHO_C" >&6
70499 else
70503 ac_ext=cc
70504 ac_cpp='$CXXCPP $CPPFLAGS'
70505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70509 cat >conftest.$ac_ext <<_ACEOF
70510 /* confdefs.h. */
70511 _ACEOF
70512 cat confdefs.h >>conftest.$ac_ext
70513 cat >>conftest.$ac_ext <<_ACEOF
70514 /* end confdefs.h. */
70515 #include <math.h>
70517 main ()
70519 _frexpf(0, 0);
70521 return 0;
70523 _ACEOF
70524 rm -f conftest.$ac_objext
70525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70526 (eval $ac_compile) 2>conftest.er1
70527 ac_status=$?
70528 grep -v '^ *+' conftest.er1 >conftest.err
70529 rm -f conftest.er1
70530 cat conftest.err >&5
70531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70532 (exit $ac_status); } &&
70533 { ac_try='test -z "$ac_cxx_werror_flag"
70534 || test ! -s conftest.err'
70535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70536 (eval $ac_try) 2>&5
70537 ac_status=$?
70538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539 (exit $ac_status); }; } &&
70540 { ac_try='test -s conftest.$ac_objext'
70541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70542 (eval $ac_try) 2>&5
70543 ac_status=$?
70544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70545 (exit $ac_status); }; }; then
70546 glibcxx_cv_func__frexpf_use=yes
70547 else
70548 echo "$as_me: failed program was:" >&5
70549 sed 's/^/| /' conftest.$ac_ext >&5
70551 glibcxx_cv_func__frexpf_use=no
70553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70554 ac_ext=c
70555 ac_cpp='$CPP $CPPFLAGS'
70556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70565 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70567 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70569 for ac_func in _frexpf
70571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70572 echo "$as_me:$LINENO: checking for $ac_func" >&5
70573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70574 if eval "test \"\${$as_ac_var+set}\" = set"; then
70575 echo $ECHO_N "(cached) $ECHO_C" >&6
70576 else
70577 if test x$gcc_no_link = xyes; then
70578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70580 { (exit 1); exit 1; }; }
70582 cat >conftest.$ac_ext <<_ACEOF
70583 /* confdefs.h. */
70584 _ACEOF
70585 cat confdefs.h >>conftest.$ac_ext
70586 cat >>conftest.$ac_ext <<_ACEOF
70587 /* end confdefs.h. */
70588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70590 #define $ac_func innocuous_$ac_func
70592 /* System header to define __stub macros and hopefully few prototypes,
70593 which can conflict with char $ac_func (); below.
70594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70595 <limits.h> exists even on freestanding compilers. */
70597 #ifdef __STDC__
70598 # include <limits.h>
70599 #else
70600 # include <assert.h>
70601 #endif
70603 #undef $ac_func
70605 /* Override any gcc2 internal prototype to avoid an error. */
70606 #ifdef __cplusplus
70607 extern "C"
70609 #endif
70610 /* We use char because int might match the return type of a gcc2
70611 builtin and then its argument prototype would still apply. */
70612 char $ac_func ();
70613 /* The GNU C library defines this for functions which it implements
70614 to always fail with ENOSYS. Some functions are actually named
70615 something starting with __ and the normal name is an alias. */
70616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70617 choke me
70618 #else
70619 char (*f) () = $ac_func;
70620 #endif
70621 #ifdef __cplusplus
70623 #endif
70626 main ()
70628 return f != $ac_func;
70630 return 0;
70632 _ACEOF
70633 rm -f conftest.$ac_objext conftest$ac_exeext
70634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70635 (eval $ac_link) 2>conftest.er1
70636 ac_status=$?
70637 grep -v '^ *+' conftest.er1 >conftest.err
70638 rm -f conftest.er1
70639 cat conftest.err >&5
70640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70641 (exit $ac_status); } &&
70642 { ac_try='test -z "$ac_c_werror_flag"
70643 || test ! -s conftest.err'
70644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70645 (eval $ac_try) 2>&5
70646 ac_status=$?
70647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648 (exit $ac_status); }; } &&
70649 { ac_try='test -s conftest$ac_exeext'
70650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70651 (eval $ac_try) 2>&5
70652 ac_status=$?
70653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70654 (exit $ac_status); }; }; then
70655 eval "$as_ac_var=yes"
70656 else
70657 echo "$as_me: failed program was:" >&5
70658 sed 's/^/| /' conftest.$ac_ext >&5
70660 eval "$as_ac_var=no"
70662 rm -f conftest.err conftest.$ac_objext \
70663 conftest$ac_exeext conftest.$ac_ext
70665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70667 if test `eval echo '${'$as_ac_var'}'` = yes; then
70668 cat >>confdefs.h <<_ACEOF
70669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70670 _ACEOF
70673 done
70683 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70684 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70685 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70686 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70687 echo $ECHO_N "(cached) $ECHO_C" >&6
70688 else
70692 ac_ext=cc
70693 ac_cpp='$CXXCPP $CPPFLAGS'
70694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70698 cat >conftest.$ac_ext <<_ACEOF
70699 /* confdefs.h. */
70700 _ACEOF
70701 cat confdefs.h >>conftest.$ac_ext
70702 cat >>conftest.$ac_ext <<_ACEOF
70703 /* end confdefs.h. */
70704 #include <math.h>
70706 main ()
70708 hypotf(0, 0);
70710 return 0;
70712 _ACEOF
70713 rm -f conftest.$ac_objext
70714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70715 (eval $ac_compile) 2>conftest.er1
70716 ac_status=$?
70717 grep -v '^ *+' conftest.er1 >conftest.err
70718 rm -f conftest.er1
70719 cat conftest.err >&5
70720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70721 (exit $ac_status); } &&
70722 { ac_try='test -z "$ac_cxx_werror_flag"
70723 || test ! -s conftest.err'
70724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70725 (eval $ac_try) 2>&5
70726 ac_status=$?
70727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70728 (exit $ac_status); }; } &&
70729 { ac_try='test -s conftest.$ac_objext'
70730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70731 (eval $ac_try) 2>&5
70732 ac_status=$?
70733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70734 (exit $ac_status); }; }; then
70735 glibcxx_cv_func_hypotf_use=yes
70736 else
70737 echo "$as_me: failed program was:" >&5
70738 sed 's/^/| /' conftest.$ac_ext >&5
70740 glibcxx_cv_func_hypotf_use=no
70742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70743 ac_ext=c
70744 ac_cpp='$CPP $CPPFLAGS'
70745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70754 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70756 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70758 for ac_func in hypotf
70760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70761 echo "$as_me:$LINENO: checking for $ac_func" >&5
70762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70763 if eval "test \"\${$as_ac_var+set}\" = set"; then
70764 echo $ECHO_N "(cached) $ECHO_C" >&6
70765 else
70766 if test x$gcc_no_link = xyes; then
70767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70769 { (exit 1); exit 1; }; }
70771 cat >conftest.$ac_ext <<_ACEOF
70772 /* confdefs.h. */
70773 _ACEOF
70774 cat confdefs.h >>conftest.$ac_ext
70775 cat >>conftest.$ac_ext <<_ACEOF
70776 /* end confdefs.h. */
70777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70779 #define $ac_func innocuous_$ac_func
70781 /* System header to define __stub macros and hopefully few prototypes,
70782 which can conflict with char $ac_func (); below.
70783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70784 <limits.h> exists even on freestanding compilers. */
70786 #ifdef __STDC__
70787 # include <limits.h>
70788 #else
70789 # include <assert.h>
70790 #endif
70792 #undef $ac_func
70794 /* Override any gcc2 internal prototype to avoid an error. */
70795 #ifdef __cplusplus
70796 extern "C"
70798 #endif
70799 /* We use char because int might match the return type of a gcc2
70800 builtin and then its argument prototype would still apply. */
70801 char $ac_func ();
70802 /* The GNU C library defines this for functions which it implements
70803 to always fail with ENOSYS. Some functions are actually named
70804 something starting with __ and the normal name is an alias. */
70805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70806 choke me
70807 #else
70808 char (*f) () = $ac_func;
70809 #endif
70810 #ifdef __cplusplus
70812 #endif
70815 main ()
70817 return f != $ac_func;
70819 return 0;
70821 _ACEOF
70822 rm -f conftest.$ac_objext conftest$ac_exeext
70823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70824 (eval $ac_link) 2>conftest.er1
70825 ac_status=$?
70826 grep -v '^ *+' conftest.er1 >conftest.err
70827 rm -f conftest.er1
70828 cat conftest.err >&5
70829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70830 (exit $ac_status); } &&
70831 { ac_try='test -z "$ac_c_werror_flag"
70832 || test ! -s conftest.err'
70833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70834 (eval $ac_try) 2>&5
70835 ac_status=$?
70836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837 (exit $ac_status); }; } &&
70838 { ac_try='test -s conftest$ac_exeext'
70839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70840 (eval $ac_try) 2>&5
70841 ac_status=$?
70842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70843 (exit $ac_status); }; }; then
70844 eval "$as_ac_var=yes"
70845 else
70846 echo "$as_me: failed program was:" >&5
70847 sed 's/^/| /' conftest.$ac_ext >&5
70849 eval "$as_ac_var=no"
70851 rm -f conftest.err conftest.$ac_objext \
70852 conftest$ac_exeext conftest.$ac_ext
70854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70856 if test `eval echo '${'$as_ac_var'}'` = yes; then
70857 cat >>confdefs.h <<_ACEOF
70858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70859 _ACEOF
70862 done
70864 else
70866 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70867 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70868 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70869 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70870 echo $ECHO_N "(cached) $ECHO_C" >&6
70871 else
70875 ac_ext=cc
70876 ac_cpp='$CXXCPP $CPPFLAGS'
70877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70881 cat >conftest.$ac_ext <<_ACEOF
70882 /* confdefs.h. */
70883 _ACEOF
70884 cat confdefs.h >>conftest.$ac_ext
70885 cat >>conftest.$ac_ext <<_ACEOF
70886 /* end confdefs.h. */
70887 #include <math.h>
70889 main ()
70891 _hypotf(0, 0);
70893 return 0;
70895 _ACEOF
70896 rm -f conftest.$ac_objext
70897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70898 (eval $ac_compile) 2>conftest.er1
70899 ac_status=$?
70900 grep -v '^ *+' conftest.er1 >conftest.err
70901 rm -f conftest.er1
70902 cat conftest.err >&5
70903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70904 (exit $ac_status); } &&
70905 { ac_try='test -z "$ac_cxx_werror_flag"
70906 || test ! -s conftest.err'
70907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70908 (eval $ac_try) 2>&5
70909 ac_status=$?
70910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70911 (exit $ac_status); }; } &&
70912 { ac_try='test -s conftest.$ac_objext'
70913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70914 (eval $ac_try) 2>&5
70915 ac_status=$?
70916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70917 (exit $ac_status); }; }; then
70918 glibcxx_cv_func__hypotf_use=yes
70919 else
70920 echo "$as_me: failed program was:" >&5
70921 sed 's/^/| /' conftest.$ac_ext >&5
70923 glibcxx_cv_func__hypotf_use=no
70925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70926 ac_ext=c
70927 ac_cpp='$CPP $CPPFLAGS'
70928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70937 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70939 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70941 for ac_func in _hypotf
70943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70944 echo "$as_me:$LINENO: checking for $ac_func" >&5
70945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70946 if eval "test \"\${$as_ac_var+set}\" = set"; then
70947 echo $ECHO_N "(cached) $ECHO_C" >&6
70948 else
70949 if test x$gcc_no_link = xyes; then
70950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70952 { (exit 1); exit 1; }; }
70954 cat >conftest.$ac_ext <<_ACEOF
70955 /* confdefs.h. */
70956 _ACEOF
70957 cat confdefs.h >>conftest.$ac_ext
70958 cat >>conftest.$ac_ext <<_ACEOF
70959 /* end confdefs.h. */
70960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70962 #define $ac_func innocuous_$ac_func
70964 /* System header to define __stub macros and hopefully few prototypes,
70965 which can conflict with char $ac_func (); below.
70966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70967 <limits.h> exists even on freestanding compilers. */
70969 #ifdef __STDC__
70970 # include <limits.h>
70971 #else
70972 # include <assert.h>
70973 #endif
70975 #undef $ac_func
70977 /* Override any gcc2 internal prototype to avoid an error. */
70978 #ifdef __cplusplus
70979 extern "C"
70981 #endif
70982 /* We use char because int might match the return type of a gcc2
70983 builtin and then its argument prototype would still apply. */
70984 char $ac_func ();
70985 /* The GNU C library defines this for functions which it implements
70986 to always fail with ENOSYS. Some functions are actually named
70987 something starting with __ and the normal name is an alias. */
70988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70989 choke me
70990 #else
70991 char (*f) () = $ac_func;
70992 #endif
70993 #ifdef __cplusplus
70995 #endif
70998 main ()
71000 return f != $ac_func;
71002 return 0;
71004 _ACEOF
71005 rm -f conftest.$ac_objext conftest$ac_exeext
71006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71007 (eval $ac_link) 2>conftest.er1
71008 ac_status=$?
71009 grep -v '^ *+' conftest.er1 >conftest.err
71010 rm -f conftest.er1
71011 cat conftest.err >&5
71012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71013 (exit $ac_status); } &&
71014 { ac_try='test -z "$ac_c_werror_flag"
71015 || test ! -s conftest.err'
71016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71017 (eval $ac_try) 2>&5
71018 ac_status=$?
71019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71020 (exit $ac_status); }; } &&
71021 { ac_try='test -s conftest$ac_exeext'
71022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71023 (eval $ac_try) 2>&5
71024 ac_status=$?
71025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71026 (exit $ac_status); }; }; then
71027 eval "$as_ac_var=yes"
71028 else
71029 echo "$as_me: failed program was:" >&5
71030 sed 's/^/| /' conftest.$ac_ext >&5
71032 eval "$as_ac_var=no"
71034 rm -f conftest.err conftest.$ac_objext \
71035 conftest$ac_exeext conftest.$ac_ext
71037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71039 if test `eval echo '${'$as_ac_var'}'` = yes; then
71040 cat >>confdefs.h <<_ACEOF
71041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71042 _ACEOF
71045 done
71055 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71056 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71057 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71058 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71059 echo $ECHO_N "(cached) $ECHO_C" >&6
71060 else
71064 ac_ext=cc
71065 ac_cpp='$CXXCPP $CPPFLAGS'
71066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71070 cat >conftest.$ac_ext <<_ACEOF
71071 /* confdefs.h. */
71072 _ACEOF
71073 cat confdefs.h >>conftest.$ac_ext
71074 cat >>conftest.$ac_ext <<_ACEOF
71075 /* end confdefs.h. */
71076 #include <math.h>
71078 main ()
71080 ldexpf(0, 0);
71082 return 0;
71084 _ACEOF
71085 rm -f conftest.$ac_objext
71086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71087 (eval $ac_compile) 2>conftest.er1
71088 ac_status=$?
71089 grep -v '^ *+' conftest.er1 >conftest.err
71090 rm -f conftest.er1
71091 cat conftest.err >&5
71092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71093 (exit $ac_status); } &&
71094 { ac_try='test -z "$ac_cxx_werror_flag"
71095 || test ! -s conftest.err'
71096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71097 (eval $ac_try) 2>&5
71098 ac_status=$?
71099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71100 (exit $ac_status); }; } &&
71101 { ac_try='test -s conftest.$ac_objext'
71102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71103 (eval $ac_try) 2>&5
71104 ac_status=$?
71105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106 (exit $ac_status); }; }; then
71107 glibcxx_cv_func_ldexpf_use=yes
71108 else
71109 echo "$as_me: failed program was:" >&5
71110 sed 's/^/| /' conftest.$ac_ext >&5
71112 glibcxx_cv_func_ldexpf_use=no
71114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71115 ac_ext=c
71116 ac_cpp='$CPP $CPPFLAGS'
71117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71126 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71128 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71130 for ac_func in ldexpf
71132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71133 echo "$as_me:$LINENO: checking for $ac_func" >&5
71134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71135 if eval "test \"\${$as_ac_var+set}\" = set"; then
71136 echo $ECHO_N "(cached) $ECHO_C" >&6
71137 else
71138 if test x$gcc_no_link = xyes; then
71139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71141 { (exit 1); exit 1; }; }
71143 cat >conftest.$ac_ext <<_ACEOF
71144 /* confdefs.h. */
71145 _ACEOF
71146 cat confdefs.h >>conftest.$ac_ext
71147 cat >>conftest.$ac_ext <<_ACEOF
71148 /* end confdefs.h. */
71149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71151 #define $ac_func innocuous_$ac_func
71153 /* System header to define __stub macros and hopefully few prototypes,
71154 which can conflict with char $ac_func (); below.
71155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71156 <limits.h> exists even on freestanding compilers. */
71158 #ifdef __STDC__
71159 # include <limits.h>
71160 #else
71161 # include <assert.h>
71162 #endif
71164 #undef $ac_func
71166 /* Override any gcc2 internal prototype to avoid an error. */
71167 #ifdef __cplusplus
71168 extern "C"
71170 #endif
71171 /* We use char because int might match the return type of a gcc2
71172 builtin and then its argument prototype would still apply. */
71173 char $ac_func ();
71174 /* The GNU C library defines this for functions which it implements
71175 to always fail with ENOSYS. Some functions are actually named
71176 something starting with __ and the normal name is an alias. */
71177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71178 choke me
71179 #else
71180 char (*f) () = $ac_func;
71181 #endif
71182 #ifdef __cplusplus
71184 #endif
71187 main ()
71189 return f != $ac_func;
71191 return 0;
71193 _ACEOF
71194 rm -f conftest.$ac_objext conftest$ac_exeext
71195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71196 (eval $ac_link) 2>conftest.er1
71197 ac_status=$?
71198 grep -v '^ *+' conftest.er1 >conftest.err
71199 rm -f conftest.er1
71200 cat conftest.err >&5
71201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71202 (exit $ac_status); } &&
71203 { ac_try='test -z "$ac_c_werror_flag"
71204 || test ! -s conftest.err'
71205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71206 (eval $ac_try) 2>&5
71207 ac_status=$?
71208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71209 (exit $ac_status); }; } &&
71210 { ac_try='test -s conftest$ac_exeext'
71211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71212 (eval $ac_try) 2>&5
71213 ac_status=$?
71214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71215 (exit $ac_status); }; }; then
71216 eval "$as_ac_var=yes"
71217 else
71218 echo "$as_me: failed program was:" >&5
71219 sed 's/^/| /' conftest.$ac_ext >&5
71221 eval "$as_ac_var=no"
71223 rm -f conftest.err conftest.$ac_objext \
71224 conftest$ac_exeext conftest.$ac_ext
71226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71228 if test `eval echo '${'$as_ac_var'}'` = yes; then
71229 cat >>confdefs.h <<_ACEOF
71230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71231 _ACEOF
71234 done
71236 else
71238 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71239 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71240 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71241 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71242 echo $ECHO_N "(cached) $ECHO_C" >&6
71243 else
71247 ac_ext=cc
71248 ac_cpp='$CXXCPP $CPPFLAGS'
71249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71253 cat >conftest.$ac_ext <<_ACEOF
71254 /* confdefs.h. */
71255 _ACEOF
71256 cat confdefs.h >>conftest.$ac_ext
71257 cat >>conftest.$ac_ext <<_ACEOF
71258 /* end confdefs.h. */
71259 #include <math.h>
71261 main ()
71263 _ldexpf(0, 0);
71265 return 0;
71267 _ACEOF
71268 rm -f conftest.$ac_objext
71269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71270 (eval $ac_compile) 2>conftest.er1
71271 ac_status=$?
71272 grep -v '^ *+' conftest.er1 >conftest.err
71273 rm -f conftest.er1
71274 cat conftest.err >&5
71275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71276 (exit $ac_status); } &&
71277 { ac_try='test -z "$ac_cxx_werror_flag"
71278 || test ! -s conftest.err'
71279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71280 (eval $ac_try) 2>&5
71281 ac_status=$?
71282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71283 (exit $ac_status); }; } &&
71284 { ac_try='test -s conftest.$ac_objext'
71285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71286 (eval $ac_try) 2>&5
71287 ac_status=$?
71288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71289 (exit $ac_status); }; }; then
71290 glibcxx_cv_func__ldexpf_use=yes
71291 else
71292 echo "$as_me: failed program was:" >&5
71293 sed 's/^/| /' conftest.$ac_ext >&5
71295 glibcxx_cv_func__ldexpf_use=no
71297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71298 ac_ext=c
71299 ac_cpp='$CPP $CPPFLAGS'
71300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71309 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71311 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71313 for ac_func in _ldexpf
71315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71316 echo "$as_me:$LINENO: checking for $ac_func" >&5
71317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71318 if eval "test \"\${$as_ac_var+set}\" = set"; then
71319 echo $ECHO_N "(cached) $ECHO_C" >&6
71320 else
71321 if test x$gcc_no_link = xyes; then
71322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71324 { (exit 1); exit 1; }; }
71326 cat >conftest.$ac_ext <<_ACEOF
71327 /* confdefs.h. */
71328 _ACEOF
71329 cat confdefs.h >>conftest.$ac_ext
71330 cat >>conftest.$ac_ext <<_ACEOF
71331 /* end confdefs.h. */
71332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71334 #define $ac_func innocuous_$ac_func
71336 /* System header to define __stub macros and hopefully few prototypes,
71337 which can conflict with char $ac_func (); below.
71338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71339 <limits.h> exists even on freestanding compilers. */
71341 #ifdef __STDC__
71342 # include <limits.h>
71343 #else
71344 # include <assert.h>
71345 #endif
71347 #undef $ac_func
71349 /* Override any gcc2 internal prototype to avoid an error. */
71350 #ifdef __cplusplus
71351 extern "C"
71353 #endif
71354 /* We use char because int might match the return type of a gcc2
71355 builtin and then its argument prototype would still apply. */
71356 char $ac_func ();
71357 /* The GNU C library defines this for functions which it implements
71358 to always fail with ENOSYS. Some functions are actually named
71359 something starting with __ and the normal name is an alias. */
71360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71361 choke me
71362 #else
71363 char (*f) () = $ac_func;
71364 #endif
71365 #ifdef __cplusplus
71367 #endif
71370 main ()
71372 return f != $ac_func;
71374 return 0;
71376 _ACEOF
71377 rm -f conftest.$ac_objext conftest$ac_exeext
71378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71379 (eval $ac_link) 2>conftest.er1
71380 ac_status=$?
71381 grep -v '^ *+' conftest.er1 >conftest.err
71382 rm -f conftest.er1
71383 cat conftest.err >&5
71384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71385 (exit $ac_status); } &&
71386 { ac_try='test -z "$ac_c_werror_flag"
71387 || test ! -s conftest.err'
71388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71389 (eval $ac_try) 2>&5
71390 ac_status=$?
71391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71392 (exit $ac_status); }; } &&
71393 { ac_try='test -s conftest$ac_exeext'
71394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71395 (eval $ac_try) 2>&5
71396 ac_status=$?
71397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71398 (exit $ac_status); }; }; then
71399 eval "$as_ac_var=yes"
71400 else
71401 echo "$as_me: failed program was:" >&5
71402 sed 's/^/| /' conftest.$ac_ext >&5
71404 eval "$as_ac_var=no"
71406 rm -f conftest.err conftest.$ac_objext \
71407 conftest$ac_exeext conftest.$ac_ext
71409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71411 if test `eval echo '${'$as_ac_var'}'` = yes; then
71412 cat >>confdefs.h <<_ACEOF
71413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71414 _ACEOF
71417 done
71427 echo "$as_me:$LINENO: checking for logf declaration" >&5
71428 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71429 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71430 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71431 echo $ECHO_N "(cached) $ECHO_C" >&6
71432 else
71436 ac_ext=cc
71437 ac_cpp='$CXXCPP $CPPFLAGS'
71438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71442 cat >conftest.$ac_ext <<_ACEOF
71443 /* confdefs.h. */
71444 _ACEOF
71445 cat confdefs.h >>conftest.$ac_ext
71446 cat >>conftest.$ac_ext <<_ACEOF
71447 /* end confdefs.h. */
71448 #include <math.h>
71449 #ifdef HAVE_IEEEFP_H
71450 #include <ieeefp.h>
71451 #endif
71454 main ()
71456 logf(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_logf_use=yes
71484 else
71485 echo "$as_me: failed program was:" >&5
71486 sed 's/^/| /' conftest.$ac_ext >&5
71488 glibcxx_cv_func_logf_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_logf_use" >&5
71502 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71504 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71506 for ac_func in logf
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
71612 else
71614 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71615 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71616 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71617 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71618 echo $ECHO_N "(cached) $ECHO_C" >&6
71619 else
71623 ac_ext=cc
71624 ac_cpp='$CXXCPP $CPPFLAGS'
71625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71629 cat >conftest.$ac_ext <<_ACEOF
71630 /* confdefs.h. */
71631 _ACEOF
71632 cat confdefs.h >>conftest.$ac_ext
71633 cat >>conftest.$ac_ext <<_ACEOF
71634 /* end confdefs.h. */
71635 #include <math.h>
71636 #ifdef HAVE_IEEEFP_H
71637 #include <ieeefp.h>
71638 #endif
71641 main ()
71643 _logf(0);
71645 return 0;
71647 _ACEOF
71648 rm -f conftest.$ac_objext
71649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71650 (eval $ac_compile) 2>conftest.er1
71651 ac_status=$?
71652 grep -v '^ *+' conftest.er1 >conftest.err
71653 rm -f conftest.er1
71654 cat conftest.err >&5
71655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71656 (exit $ac_status); } &&
71657 { ac_try='test -z "$ac_cxx_werror_flag"
71658 || test ! -s conftest.err'
71659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71660 (eval $ac_try) 2>&5
71661 ac_status=$?
71662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71663 (exit $ac_status); }; } &&
71664 { ac_try='test -s conftest.$ac_objext'
71665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71666 (eval $ac_try) 2>&5
71667 ac_status=$?
71668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71669 (exit $ac_status); }; }; then
71670 glibcxx_cv_func__logf_use=yes
71671 else
71672 echo "$as_me: failed program was:" >&5
71673 sed 's/^/| /' conftest.$ac_ext >&5
71675 glibcxx_cv_func__logf_use=no
71677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71678 ac_ext=c
71679 ac_cpp='$CPP $CPPFLAGS'
71680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71689 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71691 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71693 for ac_func in _logf
71695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71696 echo "$as_me:$LINENO: checking for $ac_func" >&5
71697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71698 if eval "test \"\${$as_ac_var+set}\" = set"; then
71699 echo $ECHO_N "(cached) $ECHO_C" >&6
71700 else
71701 if test x$gcc_no_link = xyes; then
71702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71704 { (exit 1); exit 1; }; }
71706 cat >conftest.$ac_ext <<_ACEOF
71707 /* confdefs.h. */
71708 _ACEOF
71709 cat confdefs.h >>conftest.$ac_ext
71710 cat >>conftest.$ac_ext <<_ACEOF
71711 /* end confdefs.h. */
71712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71714 #define $ac_func innocuous_$ac_func
71716 /* System header to define __stub macros and hopefully few prototypes,
71717 which can conflict with char $ac_func (); below.
71718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71719 <limits.h> exists even on freestanding compilers. */
71721 #ifdef __STDC__
71722 # include <limits.h>
71723 #else
71724 # include <assert.h>
71725 #endif
71727 #undef $ac_func
71729 /* Override any gcc2 internal prototype to avoid an error. */
71730 #ifdef __cplusplus
71731 extern "C"
71733 #endif
71734 /* We use char because int might match the return type of a gcc2
71735 builtin and then its argument prototype would still apply. */
71736 char $ac_func ();
71737 /* The GNU C library defines this for functions which it implements
71738 to always fail with ENOSYS. Some functions are actually named
71739 something starting with __ and the normal name is an alias. */
71740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71741 choke me
71742 #else
71743 char (*f) () = $ac_func;
71744 #endif
71745 #ifdef __cplusplus
71747 #endif
71750 main ()
71752 return f != $ac_func;
71754 return 0;
71756 _ACEOF
71757 rm -f conftest.$ac_objext conftest$ac_exeext
71758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71759 (eval $ac_link) 2>conftest.er1
71760 ac_status=$?
71761 grep -v '^ *+' conftest.er1 >conftest.err
71762 rm -f conftest.er1
71763 cat conftest.err >&5
71764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71765 (exit $ac_status); } &&
71766 { ac_try='test -z "$ac_c_werror_flag"
71767 || test ! -s conftest.err'
71768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71769 (eval $ac_try) 2>&5
71770 ac_status=$?
71771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71772 (exit $ac_status); }; } &&
71773 { ac_try='test -s conftest$ac_exeext'
71774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71775 (eval $ac_try) 2>&5
71776 ac_status=$?
71777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71778 (exit $ac_status); }; }; then
71779 eval "$as_ac_var=yes"
71780 else
71781 echo "$as_me: failed program was:" >&5
71782 sed 's/^/| /' conftest.$ac_ext >&5
71784 eval "$as_ac_var=no"
71786 rm -f conftest.err conftest.$ac_objext \
71787 conftest$ac_exeext conftest.$ac_ext
71789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71791 if test `eval echo '${'$as_ac_var'}'` = yes; then
71792 cat >>confdefs.h <<_ACEOF
71793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71794 _ACEOF
71797 done
71807 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71808 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71809 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71810 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71811 echo $ECHO_N "(cached) $ECHO_C" >&6
71812 else
71816 ac_ext=cc
71817 ac_cpp='$CXXCPP $CPPFLAGS'
71818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71822 cat >conftest.$ac_ext <<_ACEOF
71823 /* confdefs.h. */
71824 _ACEOF
71825 cat confdefs.h >>conftest.$ac_ext
71826 cat >>conftest.$ac_ext <<_ACEOF
71827 /* end confdefs.h. */
71828 #include <math.h>
71829 #ifdef HAVE_IEEEFP_H
71830 #include <ieeefp.h>
71831 #endif
71834 main ()
71836 log10f(0);
71838 return 0;
71840 _ACEOF
71841 rm -f conftest.$ac_objext
71842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71843 (eval $ac_compile) 2>conftest.er1
71844 ac_status=$?
71845 grep -v '^ *+' conftest.er1 >conftest.err
71846 rm -f conftest.er1
71847 cat conftest.err >&5
71848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71849 (exit $ac_status); } &&
71850 { ac_try='test -z "$ac_cxx_werror_flag"
71851 || test ! -s conftest.err'
71852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71853 (eval $ac_try) 2>&5
71854 ac_status=$?
71855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71856 (exit $ac_status); }; } &&
71857 { ac_try='test -s conftest.$ac_objext'
71858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71859 (eval $ac_try) 2>&5
71860 ac_status=$?
71861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71862 (exit $ac_status); }; }; then
71863 glibcxx_cv_func_log10f_use=yes
71864 else
71865 echo "$as_me: failed program was:" >&5
71866 sed 's/^/| /' conftest.$ac_ext >&5
71868 glibcxx_cv_func_log10f_use=no
71870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71871 ac_ext=c
71872 ac_cpp='$CPP $CPPFLAGS'
71873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71882 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71884 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71886 for ac_func in log10f
71888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71889 echo "$as_me:$LINENO: checking for $ac_func" >&5
71890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71891 if eval "test \"\${$as_ac_var+set}\" = set"; then
71892 echo $ECHO_N "(cached) $ECHO_C" >&6
71893 else
71894 if test x$gcc_no_link = xyes; then
71895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71897 { (exit 1); exit 1; }; }
71899 cat >conftest.$ac_ext <<_ACEOF
71900 /* confdefs.h. */
71901 _ACEOF
71902 cat confdefs.h >>conftest.$ac_ext
71903 cat >>conftest.$ac_ext <<_ACEOF
71904 /* end confdefs.h. */
71905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71907 #define $ac_func innocuous_$ac_func
71909 /* System header to define __stub macros and hopefully few prototypes,
71910 which can conflict with char $ac_func (); below.
71911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71912 <limits.h> exists even on freestanding compilers. */
71914 #ifdef __STDC__
71915 # include <limits.h>
71916 #else
71917 # include <assert.h>
71918 #endif
71920 #undef $ac_func
71922 /* Override any gcc2 internal prototype to avoid an error. */
71923 #ifdef __cplusplus
71924 extern "C"
71926 #endif
71927 /* We use char because int might match the return type of a gcc2
71928 builtin and then its argument prototype would still apply. */
71929 char $ac_func ();
71930 /* The GNU C library defines this for functions which it implements
71931 to always fail with ENOSYS. Some functions are actually named
71932 something starting with __ and the normal name is an alias. */
71933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71934 choke me
71935 #else
71936 char (*f) () = $ac_func;
71937 #endif
71938 #ifdef __cplusplus
71940 #endif
71943 main ()
71945 return f != $ac_func;
71947 return 0;
71949 _ACEOF
71950 rm -f conftest.$ac_objext conftest$ac_exeext
71951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71952 (eval $ac_link) 2>conftest.er1
71953 ac_status=$?
71954 grep -v '^ *+' conftest.er1 >conftest.err
71955 rm -f conftest.er1
71956 cat conftest.err >&5
71957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71958 (exit $ac_status); } &&
71959 { ac_try='test -z "$ac_c_werror_flag"
71960 || test ! -s conftest.err'
71961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962 (eval $ac_try) 2>&5
71963 ac_status=$?
71964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965 (exit $ac_status); }; } &&
71966 { ac_try='test -s conftest$ac_exeext'
71967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71968 (eval $ac_try) 2>&5
71969 ac_status=$?
71970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71971 (exit $ac_status); }; }; then
71972 eval "$as_ac_var=yes"
71973 else
71974 echo "$as_me: failed program was:" >&5
71975 sed 's/^/| /' conftest.$ac_ext >&5
71977 eval "$as_ac_var=no"
71979 rm -f conftest.err conftest.$ac_objext \
71980 conftest$ac_exeext conftest.$ac_ext
71982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71984 if test `eval echo '${'$as_ac_var'}'` = yes; then
71985 cat >>confdefs.h <<_ACEOF
71986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71987 _ACEOF
71990 done
71992 else
71994 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71995 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71996 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71997 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71998 echo $ECHO_N "(cached) $ECHO_C" >&6
71999 else
72003 ac_ext=cc
72004 ac_cpp='$CXXCPP $CPPFLAGS'
72005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72009 cat >conftest.$ac_ext <<_ACEOF
72010 /* confdefs.h. */
72011 _ACEOF
72012 cat confdefs.h >>conftest.$ac_ext
72013 cat >>conftest.$ac_ext <<_ACEOF
72014 /* end confdefs.h. */
72015 #include <math.h>
72016 #ifdef HAVE_IEEEFP_H
72017 #include <ieeefp.h>
72018 #endif
72021 main ()
72023 _log10f(0);
72025 return 0;
72027 _ACEOF
72028 rm -f conftest.$ac_objext
72029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72030 (eval $ac_compile) 2>conftest.er1
72031 ac_status=$?
72032 grep -v '^ *+' conftest.er1 >conftest.err
72033 rm -f conftest.er1
72034 cat conftest.err >&5
72035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72036 (exit $ac_status); } &&
72037 { ac_try='test -z "$ac_cxx_werror_flag"
72038 || test ! -s conftest.err'
72039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72040 (eval $ac_try) 2>&5
72041 ac_status=$?
72042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72043 (exit $ac_status); }; } &&
72044 { ac_try='test -s conftest.$ac_objext'
72045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72046 (eval $ac_try) 2>&5
72047 ac_status=$?
72048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72049 (exit $ac_status); }; }; then
72050 glibcxx_cv_func__log10f_use=yes
72051 else
72052 echo "$as_me: failed program was:" >&5
72053 sed 's/^/| /' conftest.$ac_ext >&5
72055 glibcxx_cv_func__log10f_use=no
72057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72058 ac_ext=c
72059 ac_cpp='$CPP $CPPFLAGS'
72060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72069 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72071 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72073 for ac_func in _log10f
72075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72076 echo "$as_me:$LINENO: checking for $ac_func" >&5
72077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72078 if eval "test \"\${$as_ac_var+set}\" = set"; then
72079 echo $ECHO_N "(cached) $ECHO_C" >&6
72080 else
72081 if test x$gcc_no_link = xyes; then
72082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72084 { (exit 1); exit 1; }; }
72086 cat >conftest.$ac_ext <<_ACEOF
72087 /* confdefs.h. */
72088 _ACEOF
72089 cat confdefs.h >>conftest.$ac_ext
72090 cat >>conftest.$ac_ext <<_ACEOF
72091 /* end confdefs.h. */
72092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72094 #define $ac_func innocuous_$ac_func
72096 /* System header to define __stub macros and hopefully few prototypes,
72097 which can conflict with char $ac_func (); below.
72098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72099 <limits.h> exists even on freestanding compilers. */
72101 #ifdef __STDC__
72102 # include <limits.h>
72103 #else
72104 # include <assert.h>
72105 #endif
72107 #undef $ac_func
72109 /* Override any gcc2 internal prototype to avoid an error. */
72110 #ifdef __cplusplus
72111 extern "C"
72113 #endif
72114 /* We use char because int might match the return type of a gcc2
72115 builtin and then its argument prototype would still apply. */
72116 char $ac_func ();
72117 /* The GNU C library defines this for functions which it implements
72118 to always fail with ENOSYS. Some functions are actually named
72119 something starting with __ and the normal name is an alias. */
72120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72121 choke me
72122 #else
72123 char (*f) () = $ac_func;
72124 #endif
72125 #ifdef __cplusplus
72127 #endif
72130 main ()
72132 return f != $ac_func;
72134 return 0;
72136 _ACEOF
72137 rm -f conftest.$ac_objext conftest$ac_exeext
72138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72139 (eval $ac_link) 2>conftest.er1
72140 ac_status=$?
72141 grep -v '^ *+' conftest.er1 >conftest.err
72142 rm -f conftest.er1
72143 cat conftest.err >&5
72144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72145 (exit $ac_status); } &&
72146 { ac_try='test -z "$ac_c_werror_flag"
72147 || test ! -s conftest.err'
72148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72149 (eval $ac_try) 2>&5
72150 ac_status=$?
72151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72152 (exit $ac_status); }; } &&
72153 { ac_try='test -s conftest$ac_exeext'
72154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72155 (eval $ac_try) 2>&5
72156 ac_status=$?
72157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72158 (exit $ac_status); }; }; then
72159 eval "$as_ac_var=yes"
72160 else
72161 echo "$as_me: failed program was:" >&5
72162 sed 's/^/| /' conftest.$ac_ext >&5
72164 eval "$as_ac_var=no"
72166 rm -f conftest.err conftest.$ac_objext \
72167 conftest$ac_exeext conftest.$ac_ext
72169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72171 if test `eval echo '${'$as_ac_var'}'` = yes; then
72172 cat >>confdefs.h <<_ACEOF
72173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72174 _ACEOF
72177 done
72187 echo "$as_me:$LINENO: checking for modff declaration" >&5
72188 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72189 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72190 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72191 echo $ECHO_N "(cached) $ECHO_C" >&6
72192 else
72196 ac_ext=cc
72197 ac_cpp='$CXXCPP $CPPFLAGS'
72198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72202 cat >conftest.$ac_ext <<_ACEOF
72203 /* confdefs.h. */
72204 _ACEOF
72205 cat confdefs.h >>conftest.$ac_ext
72206 cat >>conftest.$ac_ext <<_ACEOF
72207 /* end confdefs.h. */
72208 #include <math.h>
72210 main ()
72212 modff(0, 0);
72214 return 0;
72216 _ACEOF
72217 rm -f conftest.$ac_objext
72218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72219 (eval $ac_compile) 2>conftest.er1
72220 ac_status=$?
72221 grep -v '^ *+' conftest.er1 >conftest.err
72222 rm -f conftest.er1
72223 cat conftest.err >&5
72224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72225 (exit $ac_status); } &&
72226 { ac_try='test -z "$ac_cxx_werror_flag"
72227 || test ! -s conftest.err'
72228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72229 (eval $ac_try) 2>&5
72230 ac_status=$?
72231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72232 (exit $ac_status); }; } &&
72233 { ac_try='test -s conftest.$ac_objext'
72234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72235 (eval $ac_try) 2>&5
72236 ac_status=$?
72237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72238 (exit $ac_status); }; }; then
72239 glibcxx_cv_func_modff_use=yes
72240 else
72241 echo "$as_me: failed program was:" >&5
72242 sed 's/^/| /' conftest.$ac_ext >&5
72244 glibcxx_cv_func_modff_use=no
72246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72247 ac_ext=c
72248 ac_cpp='$CPP $CPPFLAGS'
72249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72258 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72260 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72262 for ac_func in modff
72264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72265 echo "$as_me:$LINENO: checking for $ac_func" >&5
72266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72267 if eval "test \"\${$as_ac_var+set}\" = set"; then
72268 echo $ECHO_N "(cached) $ECHO_C" >&6
72269 else
72270 if test x$gcc_no_link = xyes; then
72271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72273 { (exit 1); exit 1; }; }
72275 cat >conftest.$ac_ext <<_ACEOF
72276 /* confdefs.h. */
72277 _ACEOF
72278 cat confdefs.h >>conftest.$ac_ext
72279 cat >>conftest.$ac_ext <<_ACEOF
72280 /* end confdefs.h. */
72281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72283 #define $ac_func innocuous_$ac_func
72285 /* System header to define __stub macros and hopefully few prototypes,
72286 which can conflict with char $ac_func (); below.
72287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72288 <limits.h> exists even on freestanding compilers. */
72290 #ifdef __STDC__
72291 # include <limits.h>
72292 #else
72293 # include <assert.h>
72294 #endif
72296 #undef $ac_func
72298 /* Override any gcc2 internal prototype to avoid an error. */
72299 #ifdef __cplusplus
72300 extern "C"
72302 #endif
72303 /* We use char because int might match the return type of a gcc2
72304 builtin and then its argument prototype would still apply. */
72305 char $ac_func ();
72306 /* The GNU C library defines this for functions which it implements
72307 to always fail with ENOSYS. Some functions are actually named
72308 something starting with __ and the normal name is an alias. */
72309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72310 choke me
72311 #else
72312 char (*f) () = $ac_func;
72313 #endif
72314 #ifdef __cplusplus
72316 #endif
72319 main ()
72321 return f != $ac_func;
72323 return 0;
72325 _ACEOF
72326 rm -f conftest.$ac_objext conftest$ac_exeext
72327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72328 (eval $ac_link) 2>conftest.er1
72329 ac_status=$?
72330 grep -v '^ *+' conftest.er1 >conftest.err
72331 rm -f conftest.er1
72332 cat conftest.err >&5
72333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72334 (exit $ac_status); } &&
72335 { ac_try='test -z "$ac_c_werror_flag"
72336 || test ! -s conftest.err'
72337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72338 (eval $ac_try) 2>&5
72339 ac_status=$?
72340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72341 (exit $ac_status); }; } &&
72342 { ac_try='test -s conftest$ac_exeext'
72343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72344 (eval $ac_try) 2>&5
72345 ac_status=$?
72346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72347 (exit $ac_status); }; }; then
72348 eval "$as_ac_var=yes"
72349 else
72350 echo "$as_me: failed program was:" >&5
72351 sed 's/^/| /' conftest.$ac_ext >&5
72353 eval "$as_ac_var=no"
72355 rm -f conftest.err conftest.$ac_objext \
72356 conftest$ac_exeext conftest.$ac_ext
72358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72360 if test `eval echo '${'$as_ac_var'}'` = yes; then
72361 cat >>confdefs.h <<_ACEOF
72362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72363 _ACEOF
72366 done
72368 else
72370 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72371 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72372 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72373 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72374 echo $ECHO_N "(cached) $ECHO_C" >&6
72375 else
72379 ac_ext=cc
72380 ac_cpp='$CXXCPP $CPPFLAGS'
72381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72385 cat >conftest.$ac_ext <<_ACEOF
72386 /* confdefs.h. */
72387 _ACEOF
72388 cat confdefs.h >>conftest.$ac_ext
72389 cat >>conftest.$ac_ext <<_ACEOF
72390 /* end confdefs.h. */
72391 #include <math.h>
72393 main ()
72395 _modff(0, 0);
72397 return 0;
72399 _ACEOF
72400 rm -f conftest.$ac_objext
72401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72402 (eval $ac_compile) 2>conftest.er1
72403 ac_status=$?
72404 grep -v '^ *+' conftest.er1 >conftest.err
72405 rm -f conftest.er1
72406 cat conftest.err >&5
72407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72408 (exit $ac_status); } &&
72409 { ac_try='test -z "$ac_cxx_werror_flag"
72410 || test ! -s conftest.err'
72411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72412 (eval $ac_try) 2>&5
72413 ac_status=$?
72414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72415 (exit $ac_status); }; } &&
72416 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
72422 glibcxx_cv_func__modff_use=yes
72423 else
72424 echo "$as_me: failed program was:" >&5
72425 sed 's/^/| /' conftest.$ac_ext >&5
72427 glibcxx_cv_func__modff_use=no
72429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72430 ac_ext=c
72431 ac_cpp='$CPP $CPPFLAGS'
72432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72441 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72443 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72445 for ac_func in _modff
72447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72448 echo "$as_me:$LINENO: checking for $ac_func" >&5
72449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72450 if eval "test \"\${$as_ac_var+set}\" = set"; then
72451 echo $ECHO_N "(cached) $ECHO_C" >&6
72452 else
72453 if test x$gcc_no_link = xyes; then
72454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72456 { (exit 1); exit 1; }; }
72458 cat >conftest.$ac_ext <<_ACEOF
72459 /* confdefs.h. */
72460 _ACEOF
72461 cat confdefs.h >>conftest.$ac_ext
72462 cat >>conftest.$ac_ext <<_ACEOF
72463 /* end confdefs.h. */
72464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72466 #define $ac_func innocuous_$ac_func
72468 /* System header to define __stub macros and hopefully few prototypes,
72469 which can conflict with char $ac_func (); below.
72470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72471 <limits.h> exists even on freestanding compilers. */
72473 #ifdef __STDC__
72474 # include <limits.h>
72475 #else
72476 # include <assert.h>
72477 #endif
72479 #undef $ac_func
72481 /* Override any gcc2 internal prototype to avoid an error. */
72482 #ifdef __cplusplus
72483 extern "C"
72485 #endif
72486 /* We use char because int might match the return type of a gcc2
72487 builtin and then its argument prototype would still apply. */
72488 char $ac_func ();
72489 /* The GNU C library defines this for functions which it implements
72490 to always fail with ENOSYS. Some functions are actually named
72491 something starting with __ and the normal name is an alias. */
72492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72493 choke me
72494 #else
72495 char (*f) () = $ac_func;
72496 #endif
72497 #ifdef __cplusplus
72499 #endif
72502 main ()
72504 return f != $ac_func;
72506 return 0;
72508 _ACEOF
72509 rm -f conftest.$ac_objext conftest$ac_exeext
72510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72511 (eval $ac_link) 2>conftest.er1
72512 ac_status=$?
72513 grep -v '^ *+' conftest.er1 >conftest.err
72514 rm -f conftest.er1
72515 cat conftest.err >&5
72516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72517 (exit $ac_status); } &&
72518 { ac_try='test -z "$ac_c_werror_flag"
72519 || test ! -s conftest.err'
72520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72521 (eval $ac_try) 2>&5
72522 ac_status=$?
72523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524 (exit $ac_status); }; } &&
72525 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
72531 eval "$as_ac_var=yes"
72532 else
72533 echo "$as_me: failed program was:" >&5
72534 sed 's/^/| /' conftest.$ac_ext >&5
72536 eval "$as_ac_var=no"
72538 rm -f conftest.err conftest.$ac_objext \
72539 conftest$ac_exeext conftest.$ac_ext
72541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72543 if test `eval echo '${'$as_ac_var'}'` = yes; then
72544 cat >>confdefs.h <<_ACEOF
72545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72546 _ACEOF
72549 done
72559 echo "$as_me:$LINENO: checking for modf declaration" >&5
72560 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72561 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72562 if test "${glibcxx_cv_func_modf_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>
72582 main ()
72584 modf(0, 0);
72586 return 0;
72588 _ACEOF
72589 rm -f conftest.$ac_objext
72590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72591 (eval $ac_compile) 2>conftest.er1
72592 ac_status=$?
72593 grep -v '^ *+' conftest.er1 >conftest.err
72594 rm -f conftest.er1
72595 cat conftest.err >&5
72596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72597 (exit $ac_status); } &&
72598 { ac_try='test -z "$ac_cxx_werror_flag"
72599 || test ! -s conftest.err'
72600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72601 (eval $ac_try) 2>&5
72602 ac_status=$?
72603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72604 (exit $ac_status); }; } &&
72605 { ac_try='test -s conftest.$ac_objext'
72606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72607 (eval $ac_try) 2>&5
72608 ac_status=$?
72609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72610 (exit $ac_status); }; }; then
72611 glibcxx_cv_func_modf_use=yes
72612 else
72613 echo "$as_me: failed program was:" >&5
72614 sed 's/^/| /' conftest.$ac_ext >&5
72616 glibcxx_cv_func_modf_use=no
72618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72619 ac_ext=c
72620 ac_cpp='$CPP $CPPFLAGS'
72621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72630 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72632 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72634 for ac_func in modf
72636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72637 echo "$as_me:$LINENO: checking for $ac_func" >&5
72638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72639 if eval "test \"\${$as_ac_var+set}\" = set"; then
72640 echo $ECHO_N "(cached) $ECHO_C" >&6
72641 else
72642 if test x$gcc_no_link = xyes; then
72643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72645 { (exit 1); exit 1; }; }
72647 cat >conftest.$ac_ext <<_ACEOF
72648 /* confdefs.h. */
72649 _ACEOF
72650 cat confdefs.h >>conftest.$ac_ext
72651 cat >>conftest.$ac_ext <<_ACEOF
72652 /* end confdefs.h. */
72653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72655 #define $ac_func innocuous_$ac_func
72657 /* System header to define __stub macros and hopefully few prototypes,
72658 which can conflict with char $ac_func (); below.
72659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72660 <limits.h> exists even on freestanding compilers. */
72662 #ifdef __STDC__
72663 # include <limits.h>
72664 #else
72665 # include <assert.h>
72666 #endif
72668 #undef $ac_func
72670 /* Override any gcc2 internal prototype to avoid an error. */
72671 #ifdef __cplusplus
72672 extern "C"
72674 #endif
72675 /* We use char because int might match the return type of a gcc2
72676 builtin and then its argument prototype would still apply. */
72677 char $ac_func ();
72678 /* The GNU C library defines this for functions which it implements
72679 to always fail with ENOSYS. Some functions are actually named
72680 something starting with __ and the normal name is an alias. */
72681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72682 choke me
72683 #else
72684 char (*f) () = $ac_func;
72685 #endif
72686 #ifdef __cplusplus
72688 #endif
72691 main ()
72693 return f != $ac_func;
72695 return 0;
72697 _ACEOF
72698 rm -f conftest.$ac_objext conftest$ac_exeext
72699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72700 (eval $ac_link) 2>conftest.er1
72701 ac_status=$?
72702 grep -v '^ *+' conftest.er1 >conftest.err
72703 rm -f conftest.er1
72704 cat conftest.err >&5
72705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72706 (exit $ac_status); } &&
72707 { ac_try='test -z "$ac_c_werror_flag"
72708 || test ! -s conftest.err'
72709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72710 (eval $ac_try) 2>&5
72711 ac_status=$?
72712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72713 (exit $ac_status); }; } &&
72714 { ac_try='test -s conftest$ac_exeext'
72715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72716 (eval $ac_try) 2>&5
72717 ac_status=$?
72718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72719 (exit $ac_status); }; }; then
72720 eval "$as_ac_var=yes"
72721 else
72722 echo "$as_me: failed program was:" >&5
72723 sed 's/^/| /' conftest.$ac_ext >&5
72725 eval "$as_ac_var=no"
72727 rm -f conftest.err conftest.$ac_objext \
72728 conftest$ac_exeext conftest.$ac_ext
72730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72732 if test `eval echo '${'$as_ac_var'}'` = yes; then
72733 cat >>confdefs.h <<_ACEOF
72734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72735 _ACEOF
72738 done
72740 else
72742 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72743 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72744 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72745 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72746 echo $ECHO_N "(cached) $ECHO_C" >&6
72747 else
72751 ac_ext=cc
72752 ac_cpp='$CXXCPP $CPPFLAGS'
72753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72757 cat >conftest.$ac_ext <<_ACEOF
72758 /* confdefs.h. */
72759 _ACEOF
72760 cat confdefs.h >>conftest.$ac_ext
72761 cat >>conftest.$ac_ext <<_ACEOF
72762 /* end confdefs.h. */
72763 #include <math.h>
72765 main ()
72767 _modf(0, 0);
72769 return 0;
72771 _ACEOF
72772 rm -f conftest.$ac_objext
72773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72774 (eval $ac_compile) 2>conftest.er1
72775 ac_status=$?
72776 grep -v '^ *+' conftest.er1 >conftest.err
72777 rm -f conftest.er1
72778 cat conftest.err >&5
72779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72780 (exit $ac_status); } &&
72781 { ac_try='test -z "$ac_cxx_werror_flag"
72782 || test ! -s conftest.err'
72783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72784 (eval $ac_try) 2>&5
72785 ac_status=$?
72786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72787 (exit $ac_status); }; } &&
72788 { ac_try='test -s conftest.$ac_objext'
72789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72790 (eval $ac_try) 2>&5
72791 ac_status=$?
72792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72793 (exit $ac_status); }; }; then
72794 glibcxx_cv_func__modf_use=yes
72795 else
72796 echo "$as_me: failed program was:" >&5
72797 sed 's/^/| /' conftest.$ac_ext >&5
72799 glibcxx_cv_func__modf_use=no
72801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72802 ac_ext=c
72803 ac_cpp='$CPP $CPPFLAGS'
72804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72813 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72815 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72817 for ac_func in _modf
72819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72820 echo "$as_me:$LINENO: checking for $ac_func" >&5
72821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72822 if eval "test \"\${$as_ac_var+set}\" = set"; then
72823 echo $ECHO_N "(cached) $ECHO_C" >&6
72824 else
72825 if test x$gcc_no_link = xyes; then
72826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72828 { (exit 1); exit 1; }; }
72830 cat >conftest.$ac_ext <<_ACEOF
72831 /* confdefs.h. */
72832 _ACEOF
72833 cat confdefs.h >>conftest.$ac_ext
72834 cat >>conftest.$ac_ext <<_ACEOF
72835 /* end confdefs.h. */
72836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72838 #define $ac_func innocuous_$ac_func
72840 /* System header to define __stub macros and hopefully few prototypes,
72841 which can conflict with char $ac_func (); below.
72842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72843 <limits.h> exists even on freestanding compilers. */
72845 #ifdef __STDC__
72846 # include <limits.h>
72847 #else
72848 # include <assert.h>
72849 #endif
72851 #undef $ac_func
72853 /* Override any gcc2 internal prototype to avoid an error. */
72854 #ifdef __cplusplus
72855 extern "C"
72857 #endif
72858 /* We use char because int might match the return type of a gcc2
72859 builtin and then its argument prototype would still apply. */
72860 char $ac_func ();
72861 /* The GNU C library defines this for functions which it implements
72862 to always fail with ENOSYS. Some functions are actually named
72863 something starting with __ and the normal name is an alias. */
72864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72865 choke me
72866 #else
72867 char (*f) () = $ac_func;
72868 #endif
72869 #ifdef __cplusplus
72871 #endif
72874 main ()
72876 return f != $ac_func;
72878 return 0;
72880 _ACEOF
72881 rm -f conftest.$ac_objext conftest$ac_exeext
72882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72883 (eval $ac_link) 2>conftest.er1
72884 ac_status=$?
72885 grep -v '^ *+' conftest.er1 >conftest.err
72886 rm -f conftest.er1
72887 cat conftest.err >&5
72888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72889 (exit $ac_status); } &&
72890 { ac_try='test -z "$ac_c_werror_flag"
72891 || test ! -s conftest.err'
72892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72893 (eval $ac_try) 2>&5
72894 ac_status=$?
72895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72896 (exit $ac_status); }; } &&
72897 { ac_try='test -s conftest$ac_exeext'
72898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72899 (eval $ac_try) 2>&5
72900 ac_status=$?
72901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72902 (exit $ac_status); }; }; then
72903 eval "$as_ac_var=yes"
72904 else
72905 echo "$as_me: failed program was:" >&5
72906 sed 's/^/| /' conftest.$ac_ext >&5
72908 eval "$as_ac_var=no"
72910 rm -f conftest.err conftest.$ac_objext \
72911 conftest$ac_exeext conftest.$ac_ext
72913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72915 if test `eval echo '${'$as_ac_var'}'` = yes; then
72916 cat >>confdefs.h <<_ACEOF
72917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72918 _ACEOF
72921 done
72931 echo "$as_me:$LINENO: checking for powf declaration" >&5
72932 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72933 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72934 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72935 echo $ECHO_N "(cached) $ECHO_C" >&6
72936 else
72940 ac_ext=cc
72941 ac_cpp='$CXXCPP $CPPFLAGS'
72942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72946 cat >conftest.$ac_ext <<_ACEOF
72947 /* confdefs.h. */
72948 _ACEOF
72949 cat confdefs.h >>conftest.$ac_ext
72950 cat >>conftest.$ac_ext <<_ACEOF
72951 /* end confdefs.h. */
72952 #include <math.h>
72954 main ()
72956 powf(0, 0);
72958 return 0;
72960 _ACEOF
72961 rm -f conftest.$ac_objext
72962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72963 (eval $ac_compile) 2>conftest.er1
72964 ac_status=$?
72965 grep -v '^ *+' conftest.er1 >conftest.err
72966 rm -f conftest.er1
72967 cat conftest.err >&5
72968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72969 (exit $ac_status); } &&
72970 { ac_try='test -z "$ac_cxx_werror_flag"
72971 || test ! -s conftest.err'
72972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973 (eval $ac_try) 2>&5
72974 ac_status=$?
72975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976 (exit $ac_status); }; } &&
72977 { ac_try='test -s conftest.$ac_objext'
72978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72979 (eval $ac_try) 2>&5
72980 ac_status=$?
72981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72982 (exit $ac_status); }; }; then
72983 glibcxx_cv_func_powf_use=yes
72984 else
72985 echo "$as_me: failed program was:" >&5
72986 sed 's/^/| /' conftest.$ac_ext >&5
72988 glibcxx_cv_func_powf_use=no
72990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72991 ac_ext=c
72992 ac_cpp='$CPP $CPPFLAGS'
72993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73002 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73004 if test x$glibcxx_cv_func_powf_use = x"yes"; then
73006 for ac_func in powf
73008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73009 echo "$as_me:$LINENO: checking for $ac_func" >&5
73010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73011 if eval "test \"\${$as_ac_var+set}\" = set"; then
73012 echo $ECHO_N "(cached) $ECHO_C" >&6
73013 else
73014 if test x$gcc_no_link = xyes; then
73015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73017 { (exit 1); exit 1; }; }
73019 cat >conftest.$ac_ext <<_ACEOF
73020 /* confdefs.h. */
73021 _ACEOF
73022 cat confdefs.h >>conftest.$ac_ext
73023 cat >>conftest.$ac_ext <<_ACEOF
73024 /* end confdefs.h. */
73025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73027 #define $ac_func innocuous_$ac_func
73029 /* System header to define __stub macros and hopefully few prototypes,
73030 which can conflict with char $ac_func (); below.
73031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73032 <limits.h> exists even on freestanding compilers. */
73034 #ifdef __STDC__
73035 # include <limits.h>
73036 #else
73037 # include <assert.h>
73038 #endif
73040 #undef $ac_func
73042 /* Override any gcc2 internal prototype to avoid an error. */
73043 #ifdef __cplusplus
73044 extern "C"
73046 #endif
73047 /* We use char because int might match the return type of a gcc2
73048 builtin and then its argument prototype would still apply. */
73049 char $ac_func ();
73050 /* The GNU C library defines this for functions which it implements
73051 to always fail with ENOSYS. Some functions are actually named
73052 something starting with __ and the normal name is an alias. */
73053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73054 choke me
73055 #else
73056 char (*f) () = $ac_func;
73057 #endif
73058 #ifdef __cplusplus
73060 #endif
73063 main ()
73065 return f != $ac_func;
73067 return 0;
73069 _ACEOF
73070 rm -f conftest.$ac_objext conftest$ac_exeext
73071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73072 (eval $ac_link) 2>conftest.er1
73073 ac_status=$?
73074 grep -v '^ *+' conftest.er1 >conftest.err
73075 rm -f conftest.er1
73076 cat conftest.err >&5
73077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73078 (exit $ac_status); } &&
73079 { ac_try='test -z "$ac_c_werror_flag"
73080 || test ! -s conftest.err'
73081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73082 (eval $ac_try) 2>&5
73083 ac_status=$?
73084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73085 (exit $ac_status); }; } &&
73086 { ac_try='test -s conftest$ac_exeext'
73087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73088 (eval $ac_try) 2>&5
73089 ac_status=$?
73090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73091 (exit $ac_status); }; }; then
73092 eval "$as_ac_var=yes"
73093 else
73094 echo "$as_me: failed program was:" >&5
73095 sed 's/^/| /' conftest.$ac_ext >&5
73097 eval "$as_ac_var=no"
73099 rm -f conftest.err conftest.$ac_objext \
73100 conftest$ac_exeext conftest.$ac_ext
73102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73104 if test `eval echo '${'$as_ac_var'}'` = yes; then
73105 cat >>confdefs.h <<_ACEOF
73106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73107 _ACEOF
73110 done
73112 else
73114 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73115 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73116 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73117 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73118 echo $ECHO_N "(cached) $ECHO_C" >&6
73119 else
73123 ac_ext=cc
73124 ac_cpp='$CXXCPP $CPPFLAGS'
73125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73129 cat >conftest.$ac_ext <<_ACEOF
73130 /* confdefs.h. */
73131 _ACEOF
73132 cat confdefs.h >>conftest.$ac_ext
73133 cat >>conftest.$ac_ext <<_ACEOF
73134 /* end confdefs.h. */
73135 #include <math.h>
73137 main ()
73139 _powf(0, 0);
73141 return 0;
73143 _ACEOF
73144 rm -f conftest.$ac_objext
73145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73146 (eval $ac_compile) 2>conftest.er1
73147 ac_status=$?
73148 grep -v '^ *+' conftest.er1 >conftest.err
73149 rm -f conftest.er1
73150 cat conftest.err >&5
73151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73152 (exit $ac_status); } &&
73153 { ac_try='test -z "$ac_cxx_werror_flag"
73154 || test ! -s conftest.err'
73155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156 (eval $ac_try) 2>&5
73157 ac_status=$?
73158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159 (exit $ac_status); }; } &&
73160 { ac_try='test -s conftest.$ac_objext'
73161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73162 (eval $ac_try) 2>&5
73163 ac_status=$?
73164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73165 (exit $ac_status); }; }; then
73166 glibcxx_cv_func__powf_use=yes
73167 else
73168 echo "$as_me: failed program was:" >&5
73169 sed 's/^/| /' conftest.$ac_ext >&5
73171 glibcxx_cv_func__powf_use=no
73173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73174 ac_ext=c
73175 ac_cpp='$CPP $CPPFLAGS'
73176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73185 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73187 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73189 for ac_func in _powf
73191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73192 echo "$as_me:$LINENO: checking for $ac_func" >&5
73193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73194 if eval "test \"\${$as_ac_var+set}\" = set"; then
73195 echo $ECHO_N "(cached) $ECHO_C" >&6
73196 else
73197 if test x$gcc_no_link = xyes; then
73198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73200 { (exit 1); exit 1; }; }
73202 cat >conftest.$ac_ext <<_ACEOF
73203 /* confdefs.h. */
73204 _ACEOF
73205 cat confdefs.h >>conftest.$ac_ext
73206 cat >>conftest.$ac_ext <<_ACEOF
73207 /* end confdefs.h. */
73208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73210 #define $ac_func innocuous_$ac_func
73212 /* System header to define __stub macros and hopefully few prototypes,
73213 which can conflict with char $ac_func (); below.
73214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73215 <limits.h> exists even on freestanding compilers. */
73217 #ifdef __STDC__
73218 # include <limits.h>
73219 #else
73220 # include <assert.h>
73221 #endif
73223 #undef $ac_func
73225 /* Override any gcc2 internal prototype to avoid an error. */
73226 #ifdef __cplusplus
73227 extern "C"
73229 #endif
73230 /* We use char because int might match the return type of a gcc2
73231 builtin and then its argument prototype would still apply. */
73232 char $ac_func ();
73233 /* The GNU C library defines this for functions which it implements
73234 to always fail with ENOSYS. Some functions are actually named
73235 something starting with __ and the normal name is an alias. */
73236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73237 choke me
73238 #else
73239 char (*f) () = $ac_func;
73240 #endif
73241 #ifdef __cplusplus
73243 #endif
73246 main ()
73248 return f != $ac_func;
73250 return 0;
73252 _ACEOF
73253 rm -f conftest.$ac_objext conftest$ac_exeext
73254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73255 (eval $ac_link) 2>conftest.er1
73256 ac_status=$?
73257 grep -v '^ *+' conftest.er1 >conftest.err
73258 rm -f conftest.er1
73259 cat conftest.err >&5
73260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73261 (exit $ac_status); } &&
73262 { ac_try='test -z "$ac_c_werror_flag"
73263 || test ! -s conftest.err'
73264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73265 (eval $ac_try) 2>&5
73266 ac_status=$?
73267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73268 (exit $ac_status); }; } &&
73269 { ac_try='test -s conftest$ac_exeext'
73270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73271 (eval $ac_try) 2>&5
73272 ac_status=$?
73273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73274 (exit $ac_status); }; }; then
73275 eval "$as_ac_var=yes"
73276 else
73277 echo "$as_me: failed program was:" >&5
73278 sed 's/^/| /' conftest.$ac_ext >&5
73280 eval "$as_ac_var=no"
73282 rm -f conftest.err conftest.$ac_objext \
73283 conftest$ac_exeext conftest.$ac_ext
73285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73287 if test `eval echo '${'$as_ac_var'}'` = yes; then
73288 cat >>confdefs.h <<_ACEOF
73289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73290 _ACEOF
73293 done
73303 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73304 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73305 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73306 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73307 echo $ECHO_N "(cached) $ECHO_C" >&6
73308 else
73312 ac_ext=cc
73313 ac_cpp='$CXXCPP $CPPFLAGS'
73314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73318 cat >conftest.$ac_ext <<_ACEOF
73319 /* confdefs.h. */
73320 _ACEOF
73321 cat confdefs.h >>conftest.$ac_ext
73322 cat >>conftest.$ac_ext <<_ACEOF
73323 /* end confdefs.h. */
73324 #include <math.h>
73325 #ifdef HAVE_IEEEFP_H
73326 #include <ieeefp.h>
73327 #endif
73330 main ()
73332 sqrtf(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_sqrtf_use=yes
73360 else
73361 echo "$as_me: failed program was:" >&5
73362 sed 's/^/| /' conftest.$ac_ext >&5
73364 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
73378 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73380 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73382 for ac_func in sqrtf
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
73488 else
73490 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73491 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73492 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73493 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73494 echo $ECHO_N "(cached) $ECHO_C" >&6
73495 else
73499 ac_ext=cc
73500 ac_cpp='$CXXCPP $CPPFLAGS'
73501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73505 cat >conftest.$ac_ext <<_ACEOF
73506 /* confdefs.h. */
73507 _ACEOF
73508 cat confdefs.h >>conftest.$ac_ext
73509 cat >>conftest.$ac_ext <<_ACEOF
73510 /* end confdefs.h. */
73511 #include <math.h>
73512 #ifdef HAVE_IEEEFP_H
73513 #include <ieeefp.h>
73514 #endif
73517 main ()
73519 _sqrtf(0);
73521 return 0;
73523 _ACEOF
73524 rm -f conftest.$ac_objext
73525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73526 (eval $ac_compile) 2>conftest.er1
73527 ac_status=$?
73528 grep -v '^ *+' conftest.er1 >conftest.err
73529 rm -f conftest.er1
73530 cat conftest.err >&5
73531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73532 (exit $ac_status); } &&
73533 { ac_try='test -z "$ac_cxx_werror_flag"
73534 || test ! -s conftest.err'
73535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73536 (eval $ac_try) 2>&5
73537 ac_status=$?
73538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73539 (exit $ac_status); }; } &&
73540 { ac_try='test -s conftest.$ac_objext'
73541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73542 (eval $ac_try) 2>&5
73543 ac_status=$?
73544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73545 (exit $ac_status); }; }; then
73546 glibcxx_cv_func__sqrtf_use=yes
73547 else
73548 echo "$as_me: failed program was:" >&5
73549 sed 's/^/| /' conftest.$ac_ext >&5
73551 glibcxx_cv_func__sqrtf_use=no
73553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73554 ac_ext=c
73555 ac_cpp='$CPP $CPPFLAGS'
73556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73565 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73567 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73569 for ac_func in _sqrtf
73571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73572 echo "$as_me:$LINENO: checking for $ac_func" >&5
73573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73574 if eval "test \"\${$as_ac_var+set}\" = set"; then
73575 echo $ECHO_N "(cached) $ECHO_C" >&6
73576 else
73577 if test x$gcc_no_link = xyes; then
73578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73580 { (exit 1); exit 1; }; }
73582 cat >conftest.$ac_ext <<_ACEOF
73583 /* confdefs.h. */
73584 _ACEOF
73585 cat confdefs.h >>conftest.$ac_ext
73586 cat >>conftest.$ac_ext <<_ACEOF
73587 /* end confdefs.h. */
73588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73590 #define $ac_func innocuous_$ac_func
73592 /* System header to define __stub macros and hopefully few prototypes,
73593 which can conflict with char $ac_func (); below.
73594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73595 <limits.h> exists even on freestanding compilers. */
73597 #ifdef __STDC__
73598 # include <limits.h>
73599 #else
73600 # include <assert.h>
73601 #endif
73603 #undef $ac_func
73605 /* Override any gcc2 internal prototype to avoid an error. */
73606 #ifdef __cplusplus
73607 extern "C"
73609 #endif
73610 /* We use char because int might match the return type of a gcc2
73611 builtin and then its argument prototype would still apply. */
73612 char $ac_func ();
73613 /* The GNU C library defines this for functions which it implements
73614 to always fail with ENOSYS. Some functions are actually named
73615 something starting with __ and the normal name is an alias. */
73616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73617 choke me
73618 #else
73619 char (*f) () = $ac_func;
73620 #endif
73621 #ifdef __cplusplus
73623 #endif
73626 main ()
73628 return f != $ac_func;
73630 return 0;
73632 _ACEOF
73633 rm -f conftest.$ac_objext conftest$ac_exeext
73634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73635 (eval $ac_link) 2>conftest.er1
73636 ac_status=$?
73637 grep -v '^ *+' conftest.er1 >conftest.err
73638 rm -f conftest.er1
73639 cat conftest.err >&5
73640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73641 (exit $ac_status); } &&
73642 { ac_try='test -z "$ac_c_werror_flag"
73643 || test ! -s conftest.err'
73644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73645 (eval $ac_try) 2>&5
73646 ac_status=$?
73647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73648 (exit $ac_status); }; } &&
73649 { ac_try='test -s conftest$ac_exeext'
73650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73651 (eval $ac_try) 2>&5
73652 ac_status=$?
73653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73654 (exit $ac_status); }; }; then
73655 eval "$as_ac_var=yes"
73656 else
73657 echo "$as_me: failed program was:" >&5
73658 sed 's/^/| /' conftest.$ac_ext >&5
73660 eval "$as_ac_var=no"
73662 rm -f conftest.err conftest.$ac_objext \
73663 conftest$ac_exeext conftest.$ac_ext
73665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73667 if test `eval echo '${'$as_ac_var'}'` = yes; then
73668 cat >>confdefs.h <<_ACEOF
73669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73670 _ACEOF
73673 done
73683 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73684 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73685 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73686 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73687 echo $ECHO_N "(cached) $ECHO_C" >&6
73688 else
73692 ac_ext=cc
73693 ac_cpp='$CXXCPP $CPPFLAGS'
73694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73698 cat >conftest.$ac_ext <<_ACEOF
73699 /* confdefs.h. */
73700 _ACEOF
73701 cat confdefs.h >>conftest.$ac_ext
73702 cat >>conftest.$ac_ext <<_ACEOF
73703 /* end confdefs.h. */
73704 #include <math.h>
73706 main ()
73708 sincosf(0, 0, 0);
73710 return 0;
73712 _ACEOF
73713 rm -f conftest.$ac_objext
73714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73715 (eval $ac_compile) 2>conftest.er1
73716 ac_status=$?
73717 grep -v '^ *+' conftest.er1 >conftest.err
73718 rm -f conftest.er1
73719 cat conftest.err >&5
73720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73721 (exit $ac_status); } &&
73722 { ac_try='test -z "$ac_cxx_werror_flag"
73723 || test ! -s conftest.err'
73724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73725 (eval $ac_try) 2>&5
73726 ac_status=$?
73727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73728 (exit $ac_status); }; } &&
73729 { ac_try='test -s conftest.$ac_objext'
73730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73731 (eval $ac_try) 2>&5
73732 ac_status=$?
73733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73734 (exit $ac_status); }; }; then
73735 glibcxx_cv_func_sincosf_use=yes
73736 else
73737 echo "$as_me: failed program was:" >&5
73738 sed 's/^/| /' conftest.$ac_ext >&5
73740 glibcxx_cv_func_sincosf_use=no
73742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73743 ac_ext=c
73744 ac_cpp='$CPP $CPPFLAGS'
73745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73754 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73756 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73758 for ac_func in sincosf
73760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73761 echo "$as_me:$LINENO: checking for $ac_func" >&5
73762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73763 if eval "test \"\${$as_ac_var+set}\" = set"; then
73764 echo $ECHO_N "(cached) $ECHO_C" >&6
73765 else
73766 if test x$gcc_no_link = xyes; then
73767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73769 { (exit 1); exit 1; }; }
73771 cat >conftest.$ac_ext <<_ACEOF
73772 /* confdefs.h. */
73773 _ACEOF
73774 cat confdefs.h >>conftest.$ac_ext
73775 cat >>conftest.$ac_ext <<_ACEOF
73776 /* end confdefs.h. */
73777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73779 #define $ac_func innocuous_$ac_func
73781 /* System header to define __stub macros and hopefully few prototypes,
73782 which can conflict with char $ac_func (); below.
73783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73784 <limits.h> exists even on freestanding compilers. */
73786 #ifdef __STDC__
73787 # include <limits.h>
73788 #else
73789 # include <assert.h>
73790 #endif
73792 #undef $ac_func
73794 /* Override any gcc2 internal prototype to avoid an error. */
73795 #ifdef __cplusplus
73796 extern "C"
73798 #endif
73799 /* We use char because int might match the return type of a gcc2
73800 builtin and then its argument prototype would still apply. */
73801 char $ac_func ();
73802 /* The GNU C library defines this for functions which it implements
73803 to always fail with ENOSYS. Some functions are actually named
73804 something starting with __ and the normal name is an alias. */
73805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73806 choke me
73807 #else
73808 char (*f) () = $ac_func;
73809 #endif
73810 #ifdef __cplusplus
73812 #endif
73815 main ()
73817 return f != $ac_func;
73819 return 0;
73821 _ACEOF
73822 rm -f conftest.$ac_objext conftest$ac_exeext
73823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73824 (eval $ac_link) 2>conftest.er1
73825 ac_status=$?
73826 grep -v '^ *+' conftest.er1 >conftest.err
73827 rm -f conftest.er1
73828 cat conftest.err >&5
73829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73830 (exit $ac_status); } &&
73831 { ac_try='test -z "$ac_c_werror_flag"
73832 || test ! -s conftest.err'
73833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73834 (eval $ac_try) 2>&5
73835 ac_status=$?
73836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73837 (exit $ac_status); }; } &&
73838 { ac_try='test -s conftest$ac_exeext'
73839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73840 (eval $ac_try) 2>&5
73841 ac_status=$?
73842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73843 (exit $ac_status); }; }; then
73844 eval "$as_ac_var=yes"
73845 else
73846 echo "$as_me: failed program was:" >&5
73847 sed 's/^/| /' conftest.$ac_ext >&5
73849 eval "$as_ac_var=no"
73851 rm -f conftest.err conftest.$ac_objext \
73852 conftest$ac_exeext conftest.$ac_ext
73854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73856 if test `eval echo '${'$as_ac_var'}'` = yes; then
73857 cat >>confdefs.h <<_ACEOF
73858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73859 _ACEOF
73862 done
73864 else
73866 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73867 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73868 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73869 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73870 echo $ECHO_N "(cached) $ECHO_C" >&6
73871 else
73875 ac_ext=cc
73876 ac_cpp='$CXXCPP $CPPFLAGS'
73877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73881 cat >conftest.$ac_ext <<_ACEOF
73882 /* confdefs.h. */
73883 _ACEOF
73884 cat confdefs.h >>conftest.$ac_ext
73885 cat >>conftest.$ac_ext <<_ACEOF
73886 /* end confdefs.h. */
73887 #include <math.h>
73889 main ()
73891 _sincosf(0, 0, 0);
73893 return 0;
73895 _ACEOF
73896 rm -f conftest.$ac_objext
73897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73898 (eval $ac_compile) 2>conftest.er1
73899 ac_status=$?
73900 grep -v '^ *+' conftest.er1 >conftest.err
73901 rm -f conftest.er1
73902 cat conftest.err >&5
73903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73904 (exit $ac_status); } &&
73905 { ac_try='test -z "$ac_cxx_werror_flag"
73906 || test ! -s conftest.err'
73907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73908 (eval $ac_try) 2>&5
73909 ac_status=$?
73910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73911 (exit $ac_status); }; } &&
73912 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
73918 glibcxx_cv_func__sincosf_use=yes
73919 else
73920 echo "$as_me: failed program was:" >&5
73921 sed 's/^/| /' conftest.$ac_ext >&5
73923 glibcxx_cv_func__sincosf_use=no
73925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73926 ac_ext=c
73927 ac_cpp='$CPP $CPPFLAGS'
73928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73937 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73939 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73941 for ac_func in _sincosf
73943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73944 echo "$as_me:$LINENO: checking for $ac_func" >&5
73945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73946 if eval "test \"\${$as_ac_var+set}\" = set"; then
73947 echo $ECHO_N "(cached) $ECHO_C" >&6
73948 else
73949 if test x$gcc_no_link = xyes; then
73950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73952 { (exit 1); exit 1; }; }
73954 cat >conftest.$ac_ext <<_ACEOF
73955 /* confdefs.h. */
73956 _ACEOF
73957 cat confdefs.h >>conftest.$ac_ext
73958 cat >>conftest.$ac_ext <<_ACEOF
73959 /* end confdefs.h. */
73960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73962 #define $ac_func innocuous_$ac_func
73964 /* System header to define __stub macros and hopefully few prototypes,
73965 which can conflict with char $ac_func (); below.
73966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73967 <limits.h> exists even on freestanding compilers. */
73969 #ifdef __STDC__
73970 # include <limits.h>
73971 #else
73972 # include <assert.h>
73973 #endif
73975 #undef $ac_func
73977 /* Override any gcc2 internal prototype to avoid an error. */
73978 #ifdef __cplusplus
73979 extern "C"
73981 #endif
73982 /* We use char because int might match the return type of a gcc2
73983 builtin and then its argument prototype would still apply. */
73984 char $ac_func ();
73985 /* The GNU C library defines this for functions which it implements
73986 to always fail with ENOSYS. Some functions are actually named
73987 something starting with __ and the normal name is an alias. */
73988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73989 choke me
73990 #else
73991 char (*f) () = $ac_func;
73992 #endif
73993 #ifdef __cplusplus
73995 #endif
73998 main ()
74000 return f != $ac_func;
74002 return 0;
74004 _ACEOF
74005 rm -f conftest.$ac_objext conftest$ac_exeext
74006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74007 (eval $ac_link) 2>conftest.er1
74008 ac_status=$?
74009 grep -v '^ *+' conftest.er1 >conftest.err
74010 rm -f conftest.er1
74011 cat conftest.err >&5
74012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74013 (exit $ac_status); } &&
74014 { ac_try='test -z "$ac_c_werror_flag"
74015 || test ! -s conftest.err'
74016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74017 (eval $ac_try) 2>&5
74018 ac_status=$?
74019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74020 (exit $ac_status); }; } &&
74021 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
74027 eval "$as_ac_var=yes"
74028 else
74029 echo "$as_me: failed program was:" >&5
74030 sed 's/^/| /' conftest.$ac_ext >&5
74032 eval "$as_ac_var=no"
74034 rm -f conftest.err conftest.$ac_objext \
74035 conftest$ac_exeext conftest.$ac_ext
74037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74039 if test `eval echo '${'$as_ac_var'}'` = yes; then
74040 cat >>confdefs.h <<_ACEOF
74041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74042 _ACEOF
74045 done
74055 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74056 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74057 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74058 if test "${glibcxx_cv_func_finitef_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 finitef(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_finitef_use=yes
74112 else
74113 echo "$as_me: failed program was:" >&5
74114 sed 's/^/| /' conftest.$ac_ext >&5
74116 glibcxx_cv_func_finitef_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_finitef_use" >&5
74130 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74132 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74134 for ac_func in finitef
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
74240 else
74242 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74243 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74244 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74245 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74246 echo $ECHO_N "(cached) $ECHO_C" >&6
74247 else
74251 ac_ext=cc
74252 ac_cpp='$CXXCPP $CPPFLAGS'
74253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74257 cat >conftest.$ac_ext <<_ACEOF
74258 /* confdefs.h. */
74259 _ACEOF
74260 cat confdefs.h >>conftest.$ac_ext
74261 cat >>conftest.$ac_ext <<_ACEOF
74262 /* end confdefs.h. */
74263 #include <math.h>
74264 #ifdef HAVE_IEEEFP_H
74265 #include <ieeefp.h>
74266 #endif
74269 main ()
74271 _finitef(0);
74273 return 0;
74275 _ACEOF
74276 rm -f conftest.$ac_objext
74277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74278 (eval $ac_compile) 2>conftest.er1
74279 ac_status=$?
74280 grep -v '^ *+' conftest.er1 >conftest.err
74281 rm -f conftest.er1
74282 cat conftest.err >&5
74283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74284 (exit $ac_status); } &&
74285 { ac_try='test -z "$ac_cxx_werror_flag"
74286 || test ! -s conftest.err'
74287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74288 (eval $ac_try) 2>&5
74289 ac_status=$?
74290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74291 (exit $ac_status); }; } &&
74292 { ac_try='test -s conftest.$ac_objext'
74293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74294 (eval $ac_try) 2>&5
74295 ac_status=$?
74296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74297 (exit $ac_status); }; }; then
74298 glibcxx_cv_func__finitef_use=yes
74299 else
74300 echo "$as_me: failed program was:" >&5
74301 sed 's/^/| /' conftest.$ac_ext >&5
74303 glibcxx_cv_func__finitef_use=no
74305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74306 ac_ext=c
74307 ac_cpp='$CPP $CPPFLAGS'
74308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74317 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74319 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74321 for ac_func in _finitef
74323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74324 echo "$as_me:$LINENO: checking for $ac_func" >&5
74325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74326 if eval "test \"\${$as_ac_var+set}\" = set"; then
74327 echo $ECHO_N "(cached) $ECHO_C" >&6
74328 else
74329 if test x$gcc_no_link = xyes; then
74330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74332 { (exit 1); exit 1; }; }
74334 cat >conftest.$ac_ext <<_ACEOF
74335 /* confdefs.h. */
74336 _ACEOF
74337 cat confdefs.h >>conftest.$ac_ext
74338 cat >>conftest.$ac_ext <<_ACEOF
74339 /* end confdefs.h. */
74340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74342 #define $ac_func innocuous_$ac_func
74344 /* System header to define __stub macros and hopefully few prototypes,
74345 which can conflict with char $ac_func (); below.
74346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74347 <limits.h> exists even on freestanding compilers. */
74349 #ifdef __STDC__
74350 # include <limits.h>
74351 #else
74352 # include <assert.h>
74353 #endif
74355 #undef $ac_func
74357 /* Override any gcc2 internal prototype to avoid an error. */
74358 #ifdef __cplusplus
74359 extern "C"
74361 #endif
74362 /* We use char because int might match the return type of a gcc2
74363 builtin and then its argument prototype would still apply. */
74364 char $ac_func ();
74365 /* The GNU C library defines this for functions which it implements
74366 to always fail with ENOSYS. Some functions are actually named
74367 something starting with __ and the normal name is an alias. */
74368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74369 choke me
74370 #else
74371 char (*f) () = $ac_func;
74372 #endif
74373 #ifdef __cplusplus
74375 #endif
74378 main ()
74380 return f != $ac_func;
74382 return 0;
74384 _ACEOF
74385 rm -f conftest.$ac_objext conftest$ac_exeext
74386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74387 (eval $ac_link) 2>conftest.er1
74388 ac_status=$?
74389 grep -v '^ *+' conftest.er1 >conftest.err
74390 rm -f conftest.er1
74391 cat conftest.err >&5
74392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74393 (exit $ac_status); } &&
74394 { ac_try='test -z "$ac_c_werror_flag"
74395 || test ! -s conftest.err'
74396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74397 (eval $ac_try) 2>&5
74398 ac_status=$?
74399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74400 (exit $ac_status); }; } &&
74401 { ac_try='test -s conftest$ac_exeext'
74402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74403 (eval $ac_try) 2>&5
74404 ac_status=$?
74405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74406 (exit $ac_status); }; }; then
74407 eval "$as_ac_var=yes"
74408 else
74409 echo "$as_me: failed program was:" >&5
74410 sed 's/^/| /' conftest.$ac_ext >&5
74412 eval "$as_ac_var=no"
74414 rm -f conftest.err conftest.$ac_objext \
74415 conftest$ac_exeext conftest.$ac_ext
74417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74419 if test `eval echo '${'$as_ac_var'}'` = yes; then
74420 cat >>confdefs.h <<_ACEOF
74421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74422 _ACEOF
74425 done
74435 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74436 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74437 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74438 echo $ECHO_N "(cached) $ECHO_C" >&6
74439 else
74443 ac_ext=cc
74444 ac_cpp='$CXXCPP $CPPFLAGS'
74445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74449 cat >conftest.$ac_ext <<_ACEOF
74450 /* confdefs.h. */
74451 _ACEOF
74452 cat confdefs.h >>conftest.$ac_ext
74453 cat >>conftest.$ac_ext <<_ACEOF
74454 /* end confdefs.h. */
74455 #include <math.h>
74457 main ()
74459 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74461 return 0;
74463 _ACEOF
74464 rm -f conftest.$ac_objext
74465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74466 (eval $ac_compile) 2>conftest.er1
74467 ac_status=$?
74468 grep -v '^ *+' conftest.er1 >conftest.err
74469 rm -f conftest.er1
74470 cat conftest.err >&5
74471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74472 (exit $ac_status); } &&
74473 { ac_try='test -z "$ac_cxx_werror_flag"
74474 || test ! -s conftest.err'
74475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74476 (eval $ac_try) 2>&5
74477 ac_status=$?
74478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74479 (exit $ac_status); }; } &&
74480 { ac_try='test -s conftest.$ac_objext'
74481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74482 (eval $ac_try) 2>&5
74483 ac_status=$?
74484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74485 (exit $ac_status); }; }; then
74486 glibcxx_cv_func_long_double_trig_use=yes
74487 else
74488 echo "$as_me: failed program was:" >&5
74489 sed 's/^/| /' conftest.$ac_ext >&5
74491 glibcxx_cv_func_long_double_trig_use=no
74493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74494 ac_ext=c
74495 ac_cpp='$CPP $CPPFLAGS'
74496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74503 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74504 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74514 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74517 echo "$as_me:$LINENO: checking for $ac_func" >&5
74518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74519 if eval "test \"\${$as_ac_var+set}\" = set"; then
74520 echo $ECHO_N "(cached) $ECHO_C" >&6
74521 else
74522 if test x$gcc_no_link = xyes; then
74523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74525 { (exit 1); exit 1; }; }
74527 cat >conftest.$ac_ext <<_ACEOF
74528 /* confdefs.h. */
74529 _ACEOF
74530 cat confdefs.h >>conftest.$ac_ext
74531 cat >>conftest.$ac_ext <<_ACEOF
74532 /* end confdefs.h. */
74533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74535 #define $ac_func innocuous_$ac_func
74537 /* System header to define __stub macros and hopefully few prototypes,
74538 which can conflict with char $ac_func (); below.
74539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74540 <limits.h> exists even on freestanding compilers. */
74542 #ifdef __STDC__
74543 # include <limits.h>
74544 #else
74545 # include <assert.h>
74546 #endif
74548 #undef $ac_func
74550 /* Override any gcc2 internal prototype to avoid an error. */
74551 #ifdef __cplusplus
74552 extern "C"
74554 #endif
74555 /* We use char because int might match the return type of a gcc2
74556 builtin and then its argument prototype would still apply. */
74557 char $ac_func ();
74558 /* The GNU C library defines this for functions which it implements
74559 to always fail with ENOSYS. Some functions are actually named
74560 something starting with __ and the normal name is an alias. */
74561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74562 choke me
74563 #else
74564 char (*f) () = $ac_func;
74565 #endif
74566 #ifdef __cplusplus
74568 #endif
74571 main ()
74573 return f != $ac_func;
74575 return 0;
74577 _ACEOF
74578 rm -f conftest.$ac_objext conftest$ac_exeext
74579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74580 (eval $ac_link) 2>conftest.er1
74581 ac_status=$?
74582 grep -v '^ *+' conftest.er1 >conftest.err
74583 rm -f conftest.er1
74584 cat conftest.err >&5
74585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74586 (exit $ac_status); } &&
74587 { ac_try='test -z "$ac_c_werror_flag"
74588 || test ! -s conftest.err'
74589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74590 (eval $ac_try) 2>&5
74591 ac_status=$?
74592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74593 (exit $ac_status); }; } &&
74594 { ac_try='test -s conftest$ac_exeext'
74595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74596 (eval $ac_try) 2>&5
74597 ac_status=$?
74598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74599 (exit $ac_status); }; }; then
74600 eval "$as_ac_var=yes"
74601 else
74602 echo "$as_me: failed program was:" >&5
74603 sed 's/^/| /' conftest.$ac_ext >&5
74605 eval "$as_ac_var=no"
74607 rm -f conftest.err conftest.$ac_objext \
74608 conftest$ac_exeext conftest.$ac_ext
74610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74612 if test `eval echo '${'$as_ac_var'}'` = yes; then
74613 cat >>confdefs.h <<_ACEOF
74614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74615 _ACEOF
74618 done
74620 else
74621 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74622 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74623 if test "${glibcxx_cv_func__long_double_trig_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>
74643 main ()
74645 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74647 return 0;
74649 _ACEOF
74650 rm -f conftest.$ac_objext
74651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74652 (eval $ac_compile) 2>conftest.er1
74653 ac_status=$?
74654 grep -v '^ *+' conftest.er1 >conftest.err
74655 rm -f conftest.er1
74656 cat conftest.err >&5
74657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74658 (exit $ac_status); } &&
74659 { ac_try='test -z "$ac_cxx_werror_flag"
74660 || test ! -s conftest.err'
74661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74662 (eval $ac_try) 2>&5
74663 ac_status=$?
74664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74665 (exit $ac_status); }; } &&
74666 { ac_try='test -s conftest.$ac_objext'
74667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74668 (eval $ac_try) 2>&5
74669 ac_status=$?
74670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74671 (exit $ac_status); }; }; then
74672 glibcxx_cv_func__long_double_trig_use=yes
74673 else
74674 echo "$as_me: failed program was:" >&5
74675 sed 's/^/| /' conftest.$ac_ext >&5
74677 glibcxx_cv_func__long_double_trig_use=no
74679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74680 ac_ext=c
74681 ac_cpp='$CPP $CPPFLAGS'
74682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74689 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74690 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74700 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74703 echo "$as_me:$LINENO: checking for $ac_func" >&5
74704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74705 if eval "test \"\${$as_ac_var+set}\" = set"; then
74706 echo $ECHO_N "(cached) $ECHO_C" >&6
74707 else
74708 if test x$gcc_no_link = xyes; then
74709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74711 { (exit 1); exit 1; }; }
74713 cat >conftest.$ac_ext <<_ACEOF
74714 /* confdefs.h. */
74715 _ACEOF
74716 cat confdefs.h >>conftest.$ac_ext
74717 cat >>conftest.$ac_ext <<_ACEOF
74718 /* end confdefs.h. */
74719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74721 #define $ac_func innocuous_$ac_func
74723 /* System header to define __stub macros and hopefully few prototypes,
74724 which can conflict with char $ac_func (); below.
74725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74726 <limits.h> exists even on freestanding compilers. */
74728 #ifdef __STDC__
74729 # include <limits.h>
74730 #else
74731 # include <assert.h>
74732 #endif
74734 #undef $ac_func
74736 /* Override any gcc2 internal prototype to avoid an error. */
74737 #ifdef __cplusplus
74738 extern "C"
74740 #endif
74741 /* We use char because int might match the return type of a gcc2
74742 builtin and then its argument prototype would still apply. */
74743 char $ac_func ();
74744 /* The GNU C library defines this for functions which it implements
74745 to always fail with ENOSYS. Some functions are actually named
74746 something starting with __ and the normal name is an alias. */
74747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74748 choke me
74749 #else
74750 char (*f) () = $ac_func;
74751 #endif
74752 #ifdef __cplusplus
74754 #endif
74757 main ()
74759 return f != $ac_func;
74761 return 0;
74763 _ACEOF
74764 rm -f conftest.$ac_objext conftest$ac_exeext
74765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74766 (eval $ac_link) 2>conftest.er1
74767 ac_status=$?
74768 grep -v '^ *+' conftest.er1 >conftest.err
74769 rm -f conftest.er1
74770 cat conftest.err >&5
74771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74772 (exit $ac_status); } &&
74773 { ac_try='test -z "$ac_c_werror_flag"
74774 || test ! -s conftest.err'
74775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74776 (eval $ac_try) 2>&5
74777 ac_status=$?
74778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74779 (exit $ac_status); }; } &&
74780 { ac_try='test -s conftest$ac_exeext'
74781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74782 (eval $ac_try) 2>&5
74783 ac_status=$?
74784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74785 (exit $ac_status); }; }; then
74786 eval "$as_ac_var=yes"
74787 else
74788 echo "$as_me: failed program was:" >&5
74789 sed 's/^/| /' conftest.$ac_ext >&5
74791 eval "$as_ac_var=no"
74793 rm -f conftest.err conftest.$ac_objext \
74794 conftest$ac_exeext conftest.$ac_ext
74796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74798 if test `eval echo '${'$as_ac_var'}'` = yes; then
74799 cat >>confdefs.h <<_ACEOF
74800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74801 _ACEOF
74804 done
74822 echo "$as_me:$LINENO: checking for long double round functions" >&5
74823 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74824 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74825 echo $ECHO_N "(cached) $ECHO_C" >&6
74826 else
74830 ac_ext=cc
74831 ac_cpp='$CXXCPP $CPPFLAGS'
74832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74836 cat >conftest.$ac_ext <<_ACEOF
74837 /* confdefs.h. */
74838 _ACEOF
74839 cat confdefs.h >>conftest.$ac_ext
74840 cat >>conftest.$ac_ext <<_ACEOF
74841 /* end confdefs.h. */
74842 #include <math.h>
74844 main ()
74846 ceill (0); floorl (0);
74848 return 0;
74850 _ACEOF
74851 rm -f conftest.$ac_objext
74852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74853 (eval $ac_compile) 2>conftest.er1
74854 ac_status=$?
74855 grep -v '^ *+' conftest.er1 >conftest.err
74856 rm -f conftest.er1
74857 cat conftest.err >&5
74858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74859 (exit $ac_status); } &&
74860 { ac_try='test -z "$ac_cxx_werror_flag"
74861 || test ! -s conftest.err'
74862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863 (eval $ac_try) 2>&5
74864 ac_status=$?
74865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866 (exit $ac_status); }; } &&
74867 { ac_try='test -s conftest.$ac_objext'
74868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74869 (eval $ac_try) 2>&5
74870 ac_status=$?
74871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74872 (exit $ac_status); }; }; then
74873 glibcxx_cv_func_long_double_round_use=yes
74874 else
74875 echo "$as_me: failed program was:" >&5
74876 sed 's/^/| /' conftest.$ac_ext >&5
74878 glibcxx_cv_func_long_double_round_use=no
74880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74881 ac_ext=c
74882 ac_cpp='$CPP $CPPFLAGS'
74883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74890 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74891 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74894 for ac_func in ceill floorl
74896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74897 echo "$as_me:$LINENO: checking for $ac_func" >&5
74898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74899 if eval "test \"\${$as_ac_var+set}\" = set"; then
74900 echo $ECHO_N "(cached) $ECHO_C" >&6
74901 else
74902 if test x$gcc_no_link = xyes; then
74903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74905 { (exit 1); exit 1; }; }
74907 cat >conftest.$ac_ext <<_ACEOF
74908 /* confdefs.h. */
74909 _ACEOF
74910 cat confdefs.h >>conftest.$ac_ext
74911 cat >>conftest.$ac_ext <<_ACEOF
74912 /* end confdefs.h. */
74913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74915 #define $ac_func innocuous_$ac_func
74917 /* System header to define __stub macros and hopefully few prototypes,
74918 which can conflict with char $ac_func (); below.
74919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74920 <limits.h> exists even on freestanding compilers. */
74922 #ifdef __STDC__
74923 # include <limits.h>
74924 #else
74925 # include <assert.h>
74926 #endif
74928 #undef $ac_func
74930 /* Override any gcc2 internal prototype to avoid an error. */
74931 #ifdef __cplusplus
74932 extern "C"
74934 #endif
74935 /* We use char because int might match the return type of a gcc2
74936 builtin and then its argument prototype would still apply. */
74937 char $ac_func ();
74938 /* The GNU C library defines this for functions which it implements
74939 to always fail with ENOSYS. Some functions are actually named
74940 something starting with __ and the normal name is an alias. */
74941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74942 choke me
74943 #else
74944 char (*f) () = $ac_func;
74945 #endif
74946 #ifdef __cplusplus
74948 #endif
74951 main ()
74953 return f != $ac_func;
74955 return 0;
74957 _ACEOF
74958 rm -f conftest.$ac_objext conftest$ac_exeext
74959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74960 (eval $ac_link) 2>conftest.er1
74961 ac_status=$?
74962 grep -v '^ *+' conftest.er1 >conftest.err
74963 rm -f conftest.er1
74964 cat conftest.err >&5
74965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74966 (exit $ac_status); } &&
74967 { ac_try='test -z "$ac_c_werror_flag"
74968 || test ! -s conftest.err'
74969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74970 (eval $ac_try) 2>&5
74971 ac_status=$?
74972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74973 (exit $ac_status); }; } &&
74974 { ac_try='test -s conftest$ac_exeext'
74975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74976 (eval $ac_try) 2>&5
74977 ac_status=$?
74978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74979 (exit $ac_status); }; }; then
74980 eval "$as_ac_var=yes"
74981 else
74982 echo "$as_me: failed program was:" >&5
74983 sed 's/^/| /' conftest.$ac_ext >&5
74985 eval "$as_ac_var=no"
74987 rm -f conftest.err conftest.$ac_objext \
74988 conftest$ac_exeext conftest.$ac_ext
74990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74992 if test `eval echo '${'$as_ac_var'}'` = yes; then
74993 cat >>confdefs.h <<_ACEOF
74994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74995 _ACEOF
74998 done
75000 else
75001 echo "$as_me:$LINENO: checking for _long double round functions" >&5
75002 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75003 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75004 echo $ECHO_N "(cached) $ECHO_C" >&6
75005 else
75009 ac_ext=cc
75010 ac_cpp='$CXXCPP $CPPFLAGS'
75011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75015 cat >conftest.$ac_ext <<_ACEOF
75016 /* confdefs.h. */
75017 _ACEOF
75018 cat confdefs.h >>conftest.$ac_ext
75019 cat >>conftest.$ac_ext <<_ACEOF
75020 /* end confdefs.h. */
75021 #include <math.h>
75023 main ()
75025 _ceill (0); _floorl (0);
75027 return 0;
75029 _ACEOF
75030 rm -f conftest.$ac_objext
75031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75032 (eval $ac_compile) 2>conftest.er1
75033 ac_status=$?
75034 grep -v '^ *+' conftest.er1 >conftest.err
75035 rm -f conftest.er1
75036 cat conftest.err >&5
75037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75038 (exit $ac_status); } &&
75039 { ac_try='test -z "$ac_cxx_werror_flag"
75040 || test ! -s conftest.err'
75041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75042 (eval $ac_try) 2>&5
75043 ac_status=$?
75044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75045 (exit $ac_status); }; } &&
75046 { ac_try='test -s conftest.$ac_objext'
75047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75048 (eval $ac_try) 2>&5
75049 ac_status=$?
75050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75051 (exit $ac_status); }; }; then
75052 glibcxx_cv_func__long_double_round_use=yes
75053 else
75054 echo "$as_me: failed program was:" >&5
75055 sed 's/^/| /' conftest.$ac_ext >&5
75057 glibcxx_cv_func__long_double_round_use=no
75059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75060 ac_ext=c
75061 ac_cpp='$CPP $CPPFLAGS'
75062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75069 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75070 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75073 for ac_func in _ceill _floorl
75075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75076 echo "$as_me:$LINENO: checking for $ac_func" >&5
75077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75078 if eval "test \"\${$as_ac_var+set}\" = set"; then
75079 echo $ECHO_N "(cached) $ECHO_C" >&6
75080 else
75081 if test x$gcc_no_link = xyes; then
75082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75084 { (exit 1); exit 1; }; }
75086 cat >conftest.$ac_ext <<_ACEOF
75087 /* confdefs.h. */
75088 _ACEOF
75089 cat confdefs.h >>conftest.$ac_ext
75090 cat >>conftest.$ac_ext <<_ACEOF
75091 /* end confdefs.h. */
75092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75094 #define $ac_func innocuous_$ac_func
75096 /* System header to define __stub macros and hopefully few prototypes,
75097 which can conflict with char $ac_func (); below.
75098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75099 <limits.h> exists even on freestanding compilers. */
75101 #ifdef __STDC__
75102 # include <limits.h>
75103 #else
75104 # include <assert.h>
75105 #endif
75107 #undef $ac_func
75109 /* Override any gcc2 internal prototype to avoid an error. */
75110 #ifdef __cplusplus
75111 extern "C"
75113 #endif
75114 /* We use char because int might match the return type of a gcc2
75115 builtin and then its argument prototype would still apply. */
75116 char $ac_func ();
75117 /* The GNU C library defines this for functions which it implements
75118 to always fail with ENOSYS. Some functions are actually named
75119 something starting with __ and the normal name is an alias. */
75120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75121 choke me
75122 #else
75123 char (*f) () = $ac_func;
75124 #endif
75125 #ifdef __cplusplus
75127 #endif
75130 main ()
75132 return f != $ac_func;
75134 return 0;
75136 _ACEOF
75137 rm -f conftest.$ac_objext conftest$ac_exeext
75138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75139 (eval $ac_link) 2>conftest.er1
75140 ac_status=$?
75141 grep -v '^ *+' conftest.er1 >conftest.err
75142 rm -f conftest.er1
75143 cat conftest.err >&5
75144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75145 (exit $ac_status); } &&
75146 { ac_try='test -z "$ac_c_werror_flag"
75147 || test ! -s conftest.err'
75148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75149 (eval $ac_try) 2>&5
75150 ac_status=$?
75151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75152 (exit $ac_status); }; } &&
75153 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
75159 eval "$as_ac_var=yes"
75160 else
75161 echo "$as_me: failed program was:" >&5
75162 sed 's/^/| /' conftest.$ac_ext >&5
75164 eval "$as_ac_var=no"
75166 rm -f conftest.err conftest.$ac_objext \
75167 conftest$ac_exeext conftest.$ac_ext
75169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75171 if test `eval echo '${'$as_ac_var'}'` = yes; then
75172 cat >>confdefs.h <<_ACEOF
75173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75174 _ACEOF
75177 done
75189 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75190 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75191 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75192 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75193 echo $ECHO_N "(cached) $ECHO_C" >&6
75194 else
75198 ac_ext=cc
75199 ac_cpp='$CXXCPP $CPPFLAGS'
75200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75204 cat >conftest.$ac_ext <<_ACEOF
75205 /* confdefs.h. */
75206 _ACEOF
75207 cat confdefs.h >>conftest.$ac_ext
75208 cat >>conftest.$ac_ext <<_ACEOF
75209 /* end confdefs.h. */
75210 #include <math.h>
75211 #ifdef HAVE_IEEEFP_H
75212 #include <ieeefp.h>
75213 #endif
75216 main ()
75218 isnanl(0);
75220 return 0;
75222 _ACEOF
75223 rm -f conftest.$ac_objext
75224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75225 (eval $ac_compile) 2>conftest.er1
75226 ac_status=$?
75227 grep -v '^ *+' conftest.er1 >conftest.err
75228 rm -f conftest.er1
75229 cat conftest.err >&5
75230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75231 (exit $ac_status); } &&
75232 { ac_try='test -z "$ac_cxx_werror_flag"
75233 || test ! -s conftest.err'
75234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75235 (eval $ac_try) 2>&5
75236 ac_status=$?
75237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75238 (exit $ac_status); }; } &&
75239 { ac_try='test -s conftest.$ac_objext'
75240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75241 (eval $ac_try) 2>&5
75242 ac_status=$?
75243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75244 (exit $ac_status); }; }; then
75245 glibcxx_cv_func_isnanl_use=yes
75246 else
75247 echo "$as_me: failed program was:" >&5
75248 sed 's/^/| /' conftest.$ac_ext >&5
75250 glibcxx_cv_func_isnanl_use=no
75252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75253 ac_ext=c
75254 ac_cpp='$CPP $CPPFLAGS'
75255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75264 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75266 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75268 for ac_func in isnanl
75270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75271 echo "$as_me:$LINENO: checking for $ac_func" >&5
75272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75273 if eval "test \"\${$as_ac_var+set}\" = set"; then
75274 echo $ECHO_N "(cached) $ECHO_C" >&6
75275 else
75276 if test x$gcc_no_link = xyes; then
75277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75279 { (exit 1); exit 1; }; }
75281 cat >conftest.$ac_ext <<_ACEOF
75282 /* confdefs.h. */
75283 _ACEOF
75284 cat confdefs.h >>conftest.$ac_ext
75285 cat >>conftest.$ac_ext <<_ACEOF
75286 /* end confdefs.h. */
75287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75289 #define $ac_func innocuous_$ac_func
75291 /* System header to define __stub macros and hopefully few prototypes,
75292 which can conflict with char $ac_func (); below.
75293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75294 <limits.h> exists even on freestanding compilers. */
75296 #ifdef __STDC__
75297 # include <limits.h>
75298 #else
75299 # include <assert.h>
75300 #endif
75302 #undef $ac_func
75304 /* Override any gcc2 internal prototype to avoid an error. */
75305 #ifdef __cplusplus
75306 extern "C"
75308 #endif
75309 /* We use char because int might match the return type of a gcc2
75310 builtin and then its argument prototype would still apply. */
75311 char $ac_func ();
75312 /* The GNU C library defines this for functions which it implements
75313 to always fail with ENOSYS. Some functions are actually named
75314 something starting with __ and the normal name is an alias. */
75315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75316 choke me
75317 #else
75318 char (*f) () = $ac_func;
75319 #endif
75320 #ifdef __cplusplus
75322 #endif
75325 main ()
75327 return f != $ac_func;
75329 return 0;
75331 _ACEOF
75332 rm -f conftest.$ac_objext conftest$ac_exeext
75333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75334 (eval $ac_link) 2>conftest.er1
75335 ac_status=$?
75336 grep -v '^ *+' conftest.er1 >conftest.err
75337 rm -f conftest.er1
75338 cat conftest.err >&5
75339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75340 (exit $ac_status); } &&
75341 { ac_try='test -z "$ac_c_werror_flag"
75342 || test ! -s conftest.err'
75343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75344 (eval $ac_try) 2>&5
75345 ac_status=$?
75346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75347 (exit $ac_status); }; } &&
75348 { ac_try='test -s conftest$ac_exeext'
75349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75350 (eval $ac_try) 2>&5
75351 ac_status=$?
75352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75353 (exit $ac_status); }; }; then
75354 eval "$as_ac_var=yes"
75355 else
75356 echo "$as_me: failed program was:" >&5
75357 sed 's/^/| /' conftest.$ac_ext >&5
75359 eval "$as_ac_var=no"
75361 rm -f conftest.err conftest.$ac_objext \
75362 conftest$ac_exeext conftest.$ac_ext
75364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75366 if test `eval echo '${'$as_ac_var'}'` = yes; then
75367 cat >>confdefs.h <<_ACEOF
75368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75369 _ACEOF
75372 done
75374 else
75376 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75377 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75378 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75379 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75380 echo $ECHO_N "(cached) $ECHO_C" >&6
75381 else
75385 ac_ext=cc
75386 ac_cpp='$CXXCPP $CPPFLAGS'
75387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75391 cat >conftest.$ac_ext <<_ACEOF
75392 /* confdefs.h. */
75393 _ACEOF
75394 cat confdefs.h >>conftest.$ac_ext
75395 cat >>conftest.$ac_ext <<_ACEOF
75396 /* end confdefs.h. */
75397 #include <math.h>
75398 #ifdef HAVE_IEEEFP_H
75399 #include <ieeefp.h>
75400 #endif
75403 main ()
75405 _isnanl(0);
75407 return 0;
75409 _ACEOF
75410 rm -f conftest.$ac_objext
75411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75412 (eval $ac_compile) 2>conftest.er1
75413 ac_status=$?
75414 grep -v '^ *+' conftest.er1 >conftest.err
75415 rm -f conftest.er1
75416 cat conftest.err >&5
75417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75418 (exit $ac_status); } &&
75419 { ac_try='test -z "$ac_cxx_werror_flag"
75420 || test ! -s conftest.err'
75421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75422 (eval $ac_try) 2>&5
75423 ac_status=$?
75424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75425 (exit $ac_status); }; } &&
75426 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
75432 glibcxx_cv_func__isnanl_use=yes
75433 else
75434 echo "$as_me: failed program was:" >&5
75435 sed 's/^/| /' conftest.$ac_ext >&5
75437 glibcxx_cv_func__isnanl_use=no
75439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75440 ac_ext=c
75441 ac_cpp='$CPP $CPPFLAGS'
75442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75451 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75453 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75455 for ac_func in _isnanl
75457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75458 echo "$as_me:$LINENO: checking for $ac_func" >&5
75459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75460 if eval "test \"\${$as_ac_var+set}\" = set"; then
75461 echo $ECHO_N "(cached) $ECHO_C" >&6
75462 else
75463 if test x$gcc_no_link = xyes; then
75464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75466 { (exit 1); exit 1; }; }
75468 cat >conftest.$ac_ext <<_ACEOF
75469 /* confdefs.h. */
75470 _ACEOF
75471 cat confdefs.h >>conftest.$ac_ext
75472 cat >>conftest.$ac_ext <<_ACEOF
75473 /* end confdefs.h. */
75474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75476 #define $ac_func innocuous_$ac_func
75478 /* System header to define __stub macros and hopefully few prototypes,
75479 which can conflict with char $ac_func (); below.
75480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75481 <limits.h> exists even on freestanding compilers. */
75483 #ifdef __STDC__
75484 # include <limits.h>
75485 #else
75486 # include <assert.h>
75487 #endif
75489 #undef $ac_func
75491 /* Override any gcc2 internal prototype to avoid an error. */
75492 #ifdef __cplusplus
75493 extern "C"
75495 #endif
75496 /* We use char because int might match the return type of a gcc2
75497 builtin and then its argument prototype would still apply. */
75498 char $ac_func ();
75499 /* The GNU C library defines this for functions which it implements
75500 to always fail with ENOSYS. Some functions are actually named
75501 something starting with __ and the normal name is an alias. */
75502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75503 choke me
75504 #else
75505 char (*f) () = $ac_func;
75506 #endif
75507 #ifdef __cplusplus
75509 #endif
75512 main ()
75514 return f != $ac_func;
75516 return 0;
75518 _ACEOF
75519 rm -f conftest.$ac_objext conftest$ac_exeext
75520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75521 (eval $ac_link) 2>conftest.er1
75522 ac_status=$?
75523 grep -v '^ *+' conftest.er1 >conftest.err
75524 rm -f conftest.er1
75525 cat conftest.err >&5
75526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75527 (exit $ac_status); } &&
75528 { ac_try='test -z "$ac_c_werror_flag"
75529 || test ! -s conftest.err'
75530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75531 (eval $ac_try) 2>&5
75532 ac_status=$?
75533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75534 (exit $ac_status); }; } &&
75535 { ac_try='test -s conftest$ac_exeext'
75536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75537 (eval $ac_try) 2>&5
75538 ac_status=$?
75539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75540 (exit $ac_status); }; }; then
75541 eval "$as_ac_var=yes"
75542 else
75543 echo "$as_me: failed program was:" >&5
75544 sed 's/^/| /' conftest.$ac_ext >&5
75546 eval "$as_ac_var=no"
75548 rm -f conftest.err conftest.$ac_objext \
75549 conftest$ac_exeext conftest.$ac_ext
75551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75553 if test `eval echo '${'$as_ac_var'}'` = yes; then
75554 cat >>confdefs.h <<_ACEOF
75555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75556 _ACEOF
75559 done
75569 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75570 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75571 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75572 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75573 echo $ECHO_N "(cached) $ECHO_C" >&6
75574 else
75578 ac_ext=cc
75579 ac_cpp='$CXXCPP $CPPFLAGS'
75580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75584 cat >conftest.$ac_ext <<_ACEOF
75585 /* confdefs.h. */
75586 _ACEOF
75587 cat confdefs.h >>conftest.$ac_ext
75588 cat >>conftest.$ac_ext <<_ACEOF
75589 /* end confdefs.h. */
75590 #include <math.h>
75591 #ifdef HAVE_IEEEFP_H
75592 #include <ieeefp.h>
75593 #endif
75596 main ()
75598 isinfl(0);
75600 return 0;
75602 _ACEOF
75603 rm -f conftest.$ac_objext
75604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75605 (eval $ac_compile) 2>conftest.er1
75606 ac_status=$?
75607 grep -v '^ *+' conftest.er1 >conftest.err
75608 rm -f conftest.er1
75609 cat conftest.err >&5
75610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75611 (exit $ac_status); } &&
75612 { ac_try='test -z "$ac_cxx_werror_flag"
75613 || test ! -s conftest.err'
75614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75615 (eval $ac_try) 2>&5
75616 ac_status=$?
75617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75618 (exit $ac_status); }; } &&
75619 { ac_try='test -s conftest.$ac_objext'
75620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75621 (eval $ac_try) 2>&5
75622 ac_status=$?
75623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75624 (exit $ac_status); }; }; then
75625 glibcxx_cv_func_isinfl_use=yes
75626 else
75627 echo "$as_me: failed program was:" >&5
75628 sed 's/^/| /' conftest.$ac_ext >&5
75630 glibcxx_cv_func_isinfl_use=no
75632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75633 ac_ext=c
75634 ac_cpp='$CPP $CPPFLAGS'
75635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75644 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75646 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75648 for ac_func in isinfl
75650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75651 echo "$as_me:$LINENO: checking for $ac_func" >&5
75652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75653 if eval "test \"\${$as_ac_var+set}\" = set"; then
75654 echo $ECHO_N "(cached) $ECHO_C" >&6
75655 else
75656 if test x$gcc_no_link = xyes; then
75657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75659 { (exit 1); exit 1; }; }
75661 cat >conftest.$ac_ext <<_ACEOF
75662 /* confdefs.h. */
75663 _ACEOF
75664 cat confdefs.h >>conftest.$ac_ext
75665 cat >>conftest.$ac_ext <<_ACEOF
75666 /* end confdefs.h. */
75667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75669 #define $ac_func innocuous_$ac_func
75671 /* System header to define __stub macros and hopefully few prototypes,
75672 which can conflict with char $ac_func (); below.
75673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75674 <limits.h> exists even on freestanding compilers. */
75676 #ifdef __STDC__
75677 # include <limits.h>
75678 #else
75679 # include <assert.h>
75680 #endif
75682 #undef $ac_func
75684 /* Override any gcc2 internal prototype to avoid an error. */
75685 #ifdef __cplusplus
75686 extern "C"
75688 #endif
75689 /* We use char because int might match the return type of a gcc2
75690 builtin and then its argument prototype would still apply. */
75691 char $ac_func ();
75692 /* The GNU C library defines this for functions which it implements
75693 to always fail with ENOSYS. Some functions are actually named
75694 something starting with __ and the normal name is an alias. */
75695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75696 choke me
75697 #else
75698 char (*f) () = $ac_func;
75699 #endif
75700 #ifdef __cplusplus
75702 #endif
75705 main ()
75707 return f != $ac_func;
75709 return 0;
75711 _ACEOF
75712 rm -f conftest.$ac_objext conftest$ac_exeext
75713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75714 (eval $ac_link) 2>conftest.er1
75715 ac_status=$?
75716 grep -v '^ *+' conftest.er1 >conftest.err
75717 rm -f conftest.er1
75718 cat conftest.err >&5
75719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75720 (exit $ac_status); } &&
75721 { ac_try='test -z "$ac_c_werror_flag"
75722 || test ! -s conftest.err'
75723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75724 (eval $ac_try) 2>&5
75725 ac_status=$?
75726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75727 (exit $ac_status); }; } &&
75728 { ac_try='test -s conftest$ac_exeext'
75729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75730 (eval $ac_try) 2>&5
75731 ac_status=$?
75732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75733 (exit $ac_status); }; }; then
75734 eval "$as_ac_var=yes"
75735 else
75736 echo "$as_me: failed program was:" >&5
75737 sed 's/^/| /' conftest.$ac_ext >&5
75739 eval "$as_ac_var=no"
75741 rm -f conftest.err conftest.$ac_objext \
75742 conftest$ac_exeext conftest.$ac_ext
75744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75746 if test `eval echo '${'$as_ac_var'}'` = yes; then
75747 cat >>confdefs.h <<_ACEOF
75748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75749 _ACEOF
75752 done
75754 else
75756 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75757 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75758 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75759 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75760 echo $ECHO_N "(cached) $ECHO_C" >&6
75761 else
75765 ac_ext=cc
75766 ac_cpp='$CXXCPP $CPPFLAGS'
75767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75771 cat >conftest.$ac_ext <<_ACEOF
75772 /* confdefs.h. */
75773 _ACEOF
75774 cat confdefs.h >>conftest.$ac_ext
75775 cat >>conftest.$ac_ext <<_ACEOF
75776 /* end confdefs.h. */
75777 #include <math.h>
75778 #ifdef HAVE_IEEEFP_H
75779 #include <ieeefp.h>
75780 #endif
75783 main ()
75785 _isinfl(0);
75787 return 0;
75789 _ACEOF
75790 rm -f conftest.$ac_objext
75791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75792 (eval $ac_compile) 2>conftest.er1
75793 ac_status=$?
75794 grep -v '^ *+' conftest.er1 >conftest.err
75795 rm -f conftest.er1
75796 cat conftest.err >&5
75797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75798 (exit $ac_status); } &&
75799 { ac_try='test -z "$ac_cxx_werror_flag"
75800 || test ! -s conftest.err'
75801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75802 (eval $ac_try) 2>&5
75803 ac_status=$?
75804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75805 (exit $ac_status); }; } &&
75806 { ac_try='test -s conftest.$ac_objext'
75807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75808 (eval $ac_try) 2>&5
75809 ac_status=$?
75810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75811 (exit $ac_status); }; }; then
75812 glibcxx_cv_func__isinfl_use=yes
75813 else
75814 echo "$as_me: failed program was:" >&5
75815 sed 's/^/| /' conftest.$ac_ext >&5
75817 glibcxx_cv_func__isinfl_use=no
75819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75820 ac_ext=c
75821 ac_cpp='$CPP $CPPFLAGS'
75822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75830 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75831 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75833 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75835 for ac_func in _isinfl
75837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75838 echo "$as_me:$LINENO: checking for $ac_func" >&5
75839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75840 if eval "test \"\${$as_ac_var+set}\" = set"; then
75841 echo $ECHO_N "(cached) $ECHO_C" >&6
75842 else
75843 if test x$gcc_no_link = xyes; then
75844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75846 { (exit 1); exit 1; }; }
75848 cat >conftest.$ac_ext <<_ACEOF
75849 /* confdefs.h. */
75850 _ACEOF
75851 cat confdefs.h >>conftest.$ac_ext
75852 cat >>conftest.$ac_ext <<_ACEOF
75853 /* end confdefs.h. */
75854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75856 #define $ac_func innocuous_$ac_func
75858 /* System header to define __stub macros and hopefully few prototypes,
75859 which can conflict with char $ac_func (); below.
75860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75861 <limits.h> exists even on freestanding compilers. */
75863 #ifdef __STDC__
75864 # include <limits.h>
75865 #else
75866 # include <assert.h>
75867 #endif
75869 #undef $ac_func
75871 /* Override any gcc2 internal prototype to avoid an error. */
75872 #ifdef __cplusplus
75873 extern "C"
75875 #endif
75876 /* We use char because int might match the return type of a gcc2
75877 builtin and then its argument prototype would still apply. */
75878 char $ac_func ();
75879 /* The GNU C library defines this for functions which it implements
75880 to always fail with ENOSYS. Some functions are actually named
75881 something starting with __ and the normal name is an alias. */
75882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75883 choke me
75884 #else
75885 char (*f) () = $ac_func;
75886 #endif
75887 #ifdef __cplusplus
75889 #endif
75892 main ()
75894 return f != $ac_func;
75896 return 0;
75898 _ACEOF
75899 rm -f conftest.$ac_objext conftest$ac_exeext
75900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75901 (eval $ac_link) 2>conftest.er1
75902 ac_status=$?
75903 grep -v '^ *+' conftest.er1 >conftest.err
75904 rm -f conftest.er1
75905 cat conftest.err >&5
75906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75907 (exit $ac_status); } &&
75908 { ac_try='test -z "$ac_c_werror_flag"
75909 || test ! -s conftest.err'
75910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75911 (eval $ac_try) 2>&5
75912 ac_status=$?
75913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75914 (exit $ac_status); }; } &&
75915 { ac_try='test -s conftest$ac_exeext'
75916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75917 (eval $ac_try) 2>&5
75918 ac_status=$?
75919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75920 (exit $ac_status); }; }; then
75921 eval "$as_ac_var=yes"
75922 else
75923 echo "$as_me: failed program was:" >&5
75924 sed 's/^/| /' conftest.$ac_ext >&5
75926 eval "$as_ac_var=no"
75928 rm -f conftest.err conftest.$ac_objext \
75929 conftest$ac_exeext conftest.$ac_ext
75931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75933 if test `eval echo '${'$as_ac_var'}'` = yes; then
75934 cat >>confdefs.h <<_ACEOF
75935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75936 _ACEOF
75939 done
75949 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75950 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75951 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75952 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75953 echo $ECHO_N "(cached) $ECHO_C" >&6
75954 else
75958 ac_ext=cc
75959 ac_cpp='$CXXCPP $CPPFLAGS'
75960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75964 cat >conftest.$ac_ext <<_ACEOF
75965 /* confdefs.h. */
75966 _ACEOF
75967 cat confdefs.h >>conftest.$ac_ext
75968 cat >>conftest.$ac_ext <<_ACEOF
75969 /* end confdefs.h. */
75970 #include <math.h>
75972 main ()
75974 copysignl(0, 0);
75976 return 0;
75978 _ACEOF
75979 rm -f conftest.$ac_objext
75980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75981 (eval $ac_compile) 2>conftest.er1
75982 ac_status=$?
75983 grep -v '^ *+' conftest.er1 >conftest.err
75984 rm -f conftest.er1
75985 cat conftest.err >&5
75986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75987 (exit $ac_status); } &&
75988 { ac_try='test -z "$ac_cxx_werror_flag"
75989 || test ! -s conftest.err'
75990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75991 (eval $ac_try) 2>&5
75992 ac_status=$?
75993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75994 (exit $ac_status); }; } &&
75995 { ac_try='test -s conftest.$ac_objext'
75996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75997 (eval $ac_try) 2>&5
75998 ac_status=$?
75999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76000 (exit $ac_status); }; }; then
76001 glibcxx_cv_func_copysignl_use=yes
76002 else
76003 echo "$as_me: failed program was:" >&5
76004 sed 's/^/| /' conftest.$ac_ext >&5
76006 glibcxx_cv_func_copysignl_use=no
76008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76009 ac_ext=c
76010 ac_cpp='$CPP $CPPFLAGS'
76011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76020 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76022 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76024 for ac_func in copysignl
76026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76027 echo "$as_me:$LINENO: checking for $ac_func" >&5
76028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76029 if eval "test \"\${$as_ac_var+set}\" = set"; then
76030 echo $ECHO_N "(cached) $ECHO_C" >&6
76031 else
76032 if test x$gcc_no_link = xyes; then
76033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76035 { (exit 1); exit 1; }; }
76037 cat >conftest.$ac_ext <<_ACEOF
76038 /* confdefs.h. */
76039 _ACEOF
76040 cat confdefs.h >>conftest.$ac_ext
76041 cat >>conftest.$ac_ext <<_ACEOF
76042 /* end confdefs.h. */
76043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76045 #define $ac_func innocuous_$ac_func
76047 /* System header to define __stub macros and hopefully few prototypes,
76048 which can conflict with char $ac_func (); below.
76049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76050 <limits.h> exists even on freestanding compilers. */
76052 #ifdef __STDC__
76053 # include <limits.h>
76054 #else
76055 # include <assert.h>
76056 #endif
76058 #undef $ac_func
76060 /* Override any gcc2 internal prototype to avoid an error. */
76061 #ifdef __cplusplus
76062 extern "C"
76064 #endif
76065 /* We use char because int might match the return type of a gcc2
76066 builtin and then its argument prototype would still apply. */
76067 char $ac_func ();
76068 /* The GNU C library defines this for functions which it implements
76069 to always fail with ENOSYS. Some functions are actually named
76070 something starting with __ and the normal name is an alias. */
76071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76072 choke me
76073 #else
76074 char (*f) () = $ac_func;
76075 #endif
76076 #ifdef __cplusplus
76078 #endif
76081 main ()
76083 return f != $ac_func;
76085 return 0;
76087 _ACEOF
76088 rm -f conftest.$ac_objext conftest$ac_exeext
76089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76090 (eval $ac_link) 2>conftest.er1
76091 ac_status=$?
76092 grep -v '^ *+' conftest.er1 >conftest.err
76093 rm -f conftest.er1
76094 cat conftest.err >&5
76095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76096 (exit $ac_status); } &&
76097 { ac_try='test -z "$ac_c_werror_flag"
76098 || test ! -s conftest.err'
76099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76100 (eval $ac_try) 2>&5
76101 ac_status=$?
76102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76103 (exit $ac_status); }; } &&
76104 { ac_try='test -s conftest$ac_exeext'
76105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76106 (eval $ac_try) 2>&5
76107 ac_status=$?
76108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76109 (exit $ac_status); }; }; then
76110 eval "$as_ac_var=yes"
76111 else
76112 echo "$as_me: failed program was:" >&5
76113 sed 's/^/| /' conftest.$ac_ext >&5
76115 eval "$as_ac_var=no"
76117 rm -f conftest.err conftest.$ac_objext \
76118 conftest$ac_exeext conftest.$ac_ext
76120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76122 if test `eval echo '${'$as_ac_var'}'` = yes; then
76123 cat >>confdefs.h <<_ACEOF
76124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76125 _ACEOF
76128 done
76130 else
76132 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76133 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76134 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76135 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76136 echo $ECHO_N "(cached) $ECHO_C" >&6
76137 else
76141 ac_ext=cc
76142 ac_cpp='$CXXCPP $CPPFLAGS'
76143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76147 cat >conftest.$ac_ext <<_ACEOF
76148 /* confdefs.h. */
76149 _ACEOF
76150 cat confdefs.h >>conftest.$ac_ext
76151 cat >>conftest.$ac_ext <<_ACEOF
76152 /* end confdefs.h. */
76153 #include <math.h>
76155 main ()
76157 _copysignl(0, 0);
76159 return 0;
76161 _ACEOF
76162 rm -f conftest.$ac_objext
76163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76164 (eval $ac_compile) 2>conftest.er1
76165 ac_status=$?
76166 grep -v '^ *+' conftest.er1 >conftest.err
76167 rm -f conftest.er1
76168 cat conftest.err >&5
76169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76170 (exit $ac_status); } &&
76171 { ac_try='test -z "$ac_cxx_werror_flag"
76172 || test ! -s conftest.err'
76173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76174 (eval $ac_try) 2>&5
76175 ac_status=$?
76176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76177 (exit $ac_status); }; } &&
76178 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
76184 glibcxx_cv_func__copysignl_use=yes
76185 else
76186 echo "$as_me: failed program was:" >&5
76187 sed 's/^/| /' conftest.$ac_ext >&5
76189 glibcxx_cv_func__copysignl_use=no
76191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76192 ac_ext=c
76193 ac_cpp='$CPP $CPPFLAGS'
76194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76203 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76205 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76207 for ac_func in _copysignl
76209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76210 echo "$as_me:$LINENO: checking for $ac_func" >&5
76211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76212 if eval "test \"\${$as_ac_var+set}\" = set"; then
76213 echo $ECHO_N "(cached) $ECHO_C" >&6
76214 else
76215 if test x$gcc_no_link = xyes; then
76216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76218 { (exit 1); exit 1; }; }
76220 cat >conftest.$ac_ext <<_ACEOF
76221 /* confdefs.h. */
76222 _ACEOF
76223 cat confdefs.h >>conftest.$ac_ext
76224 cat >>conftest.$ac_ext <<_ACEOF
76225 /* end confdefs.h. */
76226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76228 #define $ac_func innocuous_$ac_func
76230 /* System header to define __stub macros and hopefully few prototypes,
76231 which can conflict with char $ac_func (); below.
76232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76233 <limits.h> exists even on freestanding compilers. */
76235 #ifdef __STDC__
76236 # include <limits.h>
76237 #else
76238 # include <assert.h>
76239 #endif
76241 #undef $ac_func
76243 /* Override any gcc2 internal prototype to avoid an error. */
76244 #ifdef __cplusplus
76245 extern "C"
76247 #endif
76248 /* We use char because int might match the return type of a gcc2
76249 builtin and then its argument prototype would still apply. */
76250 char $ac_func ();
76251 /* The GNU C library defines this for functions which it implements
76252 to always fail with ENOSYS. Some functions are actually named
76253 something starting with __ and the normal name is an alias. */
76254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76255 choke me
76256 #else
76257 char (*f) () = $ac_func;
76258 #endif
76259 #ifdef __cplusplus
76261 #endif
76264 main ()
76266 return f != $ac_func;
76268 return 0;
76270 _ACEOF
76271 rm -f conftest.$ac_objext conftest$ac_exeext
76272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76273 (eval $ac_link) 2>conftest.er1
76274 ac_status=$?
76275 grep -v '^ *+' conftest.er1 >conftest.err
76276 rm -f conftest.er1
76277 cat conftest.err >&5
76278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76279 (exit $ac_status); } &&
76280 { ac_try='test -z "$ac_c_werror_flag"
76281 || test ! -s conftest.err'
76282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76283 (eval $ac_try) 2>&5
76284 ac_status=$?
76285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76286 (exit $ac_status); }; } &&
76287 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
76293 eval "$as_ac_var=yes"
76294 else
76295 echo "$as_me: failed program was:" >&5
76296 sed 's/^/| /' conftest.$ac_ext >&5
76298 eval "$as_ac_var=no"
76300 rm -f conftest.err conftest.$ac_objext \
76301 conftest$ac_exeext conftest.$ac_ext
76303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76305 if test `eval echo '${'$as_ac_var'}'` = yes; then
76306 cat >>confdefs.h <<_ACEOF
76307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76308 _ACEOF
76311 done
76321 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76322 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76323 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76324 if test "${glibcxx_cv_func_atan2l_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>
76344 main ()
76346 atan2l(0, 0);
76348 return 0;
76350 _ACEOF
76351 rm -f conftest.$ac_objext
76352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76353 (eval $ac_compile) 2>conftest.er1
76354 ac_status=$?
76355 grep -v '^ *+' conftest.er1 >conftest.err
76356 rm -f conftest.er1
76357 cat conftest.err >&5
76358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76359 (exit $ac_status); } &&
76360 { ac_try='test -z "$ac_cxx_werror_flag"
76361 || test ! -s conftest.err'
76362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76363 (eval $ac_try) 2>&5
76364 ac_status=$?
76365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76366 (exit $ac_status); }; } &&
76367 { ac_try='test -s conftest.$ac_objext'
76368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76369 (eval $ac_try) 2>&5
76370 ac_status=$?
76371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76372 (exit $ac_status); }; }; then
76373 glibcxx_cv_func_atan2l_use=yes
76374 else
76375 echo "$as_me: failed program was:" >&5
76376 sed 's/^/| /' conftest.$ac_ext >&5
76378 glibcxx_cv_func_atan2l_use=no
76380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76381 ac_ext=c
76382 ac_cpp='$CPP $CPPFLAGS'
76383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76392 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76394 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76396 for ac_func in atan2l
76398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76399 echo "$as_me:$LINENO: checking for $ac_func" >&5
76400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76401 if eval "test \"\${$as_ac_var+set}\" = set"; then
76402 echo $ECHO_N "(cached) $ECHO_C" >&6
76403 else
76404 if test x$gcc_no_link = xyes; then
76405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76407 { (exit 1); exit 1; }; }
76409 cat >conftest.$ac_ext <<_ACEOF
76410 /* confdefs.h. */
76411 _ACEOF
76412 cat confdefs.h >>conftest.$ac_ext
76413 cat >>conftest.$ac_ext <<_ACEOF
76414 /* end confdefs.h. */
76415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76417 #define $ac_func innocuous_$ac_func
76419 /* System header to define __stub macros and hopefully few prototypes,
76420 which can conflict with char $ac_func (); below.
76421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76422 <limits.h> exists even on freestanding compilers. */
76424 #ifdef __STDC__
76425 # include <limits.h>
76426 #else
76427 # include <assert.h>
76428 #endif
76430 #undef $ac_func
76432 /* Override any gcc2 internal prototype to avoid an error. */
76433 #ifdef __cplusplus
76434 extern "C"
76436 #endif
76437 /* We use char because int might match the return type of a gcc2
76438 builtin and then its argument prototype would still apply. */
76439 char $ac_func ();
76440 /* The GNU C library defines this for functions which it implements
76441 to always fail with ENOSYS. Some functions are actually named
76442 something starting with __ and the normal name is an alias. */
76443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76444 choke me
76445 #else
76446 char (*f) () = $ac_func;
76447 #endif
76448 #ifdef __cplusplus
76450 #endif
76453 main ()
76455 return f != $ac_func;
76457 return 0;
76459 _ACEOF
76460 rm -f conftest.$ac_objext conftest$ac_exeext
76461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76462 (eval $ac_link) 2>conftest.er1
76463 ac_status=$?
76464 grep -v '^ *+' conftest.er1 >conftest.err
76465 rm -f conftest.er1
76466 cat conftest.err >&5
76467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76468 (exit $ac_status); } &&
76469 { ac_try='test -z "$ac_c_werror_flag"
76470 || test ! -s conftest.err'
76471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76472 (eval $ac_try) 2>&5
76473 ac_status=$?
76474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76475 (exit $ac_status); }; } &&
76476 { ac_try='test -s conftest$ac_exeext'
76477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76478 (eval $ac_try) 2>&5
76479 ac_status=$?
76480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76481 (exit $ac_status); }; }; then
76482 eval "$as_ac_var=yes"
76483 else
76484 echo "$as_me: failed program was:" >&5
76485 sed 's/^/| /' conftest.$ac_ext >&5
76487 eval "$as_ac_var=no"
76489 rm -f conftest.err conftest.$ac_objext \
76490 conftest$ac_exeext conftest.$ac_ext
76492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76494 if test `eval echo '${'$as_ac_var'}'` = yes; then
76495 cat >>confdefs.h <<_ACEOF
76496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76497 _ACEOF
76500 done
76502 else
76504 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76505 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76506 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76507 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76508 echo $ECHO_N "(cached) $ECHO_C" >&6
76509 else
76513 ac_ext=cc
76514 ac_cpp='$CXXCPP $CPPFLAGS'
76515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76519 cat >conftest.$ac_ext <<_ACEOF
76520 /* confdefs.h. */
76521 _ACEOF
76522 cat confdefs.h >>conftest.$ac_ext
76523 cat >>conftest.$ac_ext <<_ACEOF
76524 /* end confdefs.h. */
76525 #include <math.h>
76527 main ()
76529 _atan2l(0, 0);
76531 return 0;
76533 _ACEOF
76534 rm -f conftest.$ac_objext
76535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76536 (eval $ac_compile) 2>conftest.er1
76537 ac_status=$?
76538 grep -v '^ *+' conftest.er1 >conftest.err
76539 rm -f conftest.er1
76540 cat conftest.err >&5
76541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76542 (exit $ac_status); } &&
76543 { ac_try='test -z "$ac_cxx_werror_flag"
76544 || test ! -s conftest.err'
76545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76546 (eval $ac_try) 2>&5
76547 ac_status=$?
76548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76549 (exit $ac_status); }; } &&
76550 { ac_try='test -s conftest.$ac_objext'
76551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76552 (eval $ac_try) 2>&5
76553 ac_status=$?
76554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76555 (exit $ac_status); }; }; then
76556 glibcxx_cv_func__atan2l_use=yes
76557 else
76558 echo "$as_me: failed program was:" >&5
76559 sed 's/^/| /' conftest.$ac_ext >&5
76561 glibcxx_cv_func__atan2l_use=no
76563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76564 ac_ext=c
76565 ac_cpp='$CPP $CPPFLAGS'
76566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76574 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76575 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76577 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76579 for ac_func in _atan2l
76581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76582 echo "$as_me:$LINENO: checking for $ac_func" >&5
76583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76584 if eval "test \"\${$as_ac_var+set}\" = set"; then
76585 echo $ECHO_N "(cached) $ECHO_C" >&6
76586 else
76587 if test x$gcc_no_link = xyes; then
76588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76590 { (exit 1); exit 1; }; }
76592 cat >conftest.$ac_ext <<_ACEOF
76593 /* confdefs.h. */
76594 _ACEOF
76595 cat confdefs.h >>conftest.$ac_ext
76596 cat >>conftest.$ac_ext <<_ACEOF
76597 /* end confdefs.h. */
76598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76600 #define $ac_func innocuous_$ac_func
76602 /* System header to define __stub macros and hopefully few prototypes,
76603 which can conflict with char $ac_func (); below.
76604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76605 <limits.h> exists even on freestanding compilers. */
76607 #ifdef __STDC__
76608 # include <limits.h>
76609 #else
76610 # include <assert.h>
76611 #endif
76613 #undef $ac_func
76615 /* Override any gcc2 internal prototype to avoid an error. */
76616 #ifdef __cplusplus
76617 extern "C"
76619 #endif
76620 /* We use char because int might match the return type of a gcc2
76621 builtin and then its argument prototype would still apply. */
76622 char $ac_func ();
76623 /* The GNU C library defines this for functions which it implements
76624 to always fail with ENOSYS. Some functions are actually named
76625 something starting with __ and the normal name is an alias. */
76626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76627 choke me
76628 #else
76629 char (*f) () = $ac_func;
76630 #endif
76631 #ifdef __cplusplus
76633 #endif
76636 main ()
76638 return f != $ac_func;
76640 return 0;
76642 _ACEOF
76643 rm -f conftest.$ac_objext conftest$ac_exeext
76644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76645 (eval $ac_link) 2>conftest.er1
76646 ac_status=$?
76647 grep -v '^ *+' conftest.er1 >conftest.err
76648 rm -f conftest.er1
76649 cat conftest.err >&5
76650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76651 (exit $ac_status); } &&
76652 { ac_try='test -z "$ac_c_werror_flag"
76653 || test ! -s conftest.err'
76654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76655 (eval $ac_try) 2>&5
76656 ac_status=$?
76657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76658 (exit $ac_status); }; } &&
76659 { ac_try='test -s conftest$ac_exeext'
76660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76661 (eval $ac_try) 2>&5
76662 ac_status=$?
76663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76664 (exit $ac_status); }; }; then
76665 eval "$as_ac_var=yes"
76666 else
76667 echo "$as_me: failed program was:" >&5
76668 sed 's/^/| /' conftest.$ac_ext >&5
76670 eval "$as_ac_var=no"
76672 rm -f conftest.err conftest.$ac_objext \
76673 conftest$ac_exeext conftest.$ac_ext
76675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76677 if test `eval echo '${'$as_ac_var'}'` = yes; then
76678 cat >>confdefs.h <<_ACEOF
76679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76680 _ACEOF
76683 done
76693 echo "$as_me:$LINENO: checking for expl declaration" >&5
76694 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76695 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76696 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76697 echo $ECHO_N "(cached) $ECHO_C" >&6
76698 else
76702 ac_ext=cc
76703 ac_cpp='$CXXCPP $CPPFLAGS'
76704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76708 cat >conftest.$ac_ext <<_ACEOF
76709 /* confdefs.h. */
76710 _ACEOF
76711 cat confdefs.h >>conftest.$ac_ext
76712 cat >>conftest.$ac_ext <<_ACEOF
76713 /* end confdefs.h. */
76714 #include <math.h>
76715 #ifdef HAVE_IEEEFP_H
76716 #include <ieeefp.h>
76717 #endif
76720 main ()
76722 expl(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_expl_use=yes
76750 else
76751 echo "$as_me: failed program was:" >&5
76752 sed 's/^/| /' conftest.$ac_ext >&5
76754 glibcxx_cv_func_expl_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_expl_use" >&5
76768 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76770 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76772 for ac_func in expl
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
76878 else
76880 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76881 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76882 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76883 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76884 echo $ECHO_N "(cached) $ECHO_C" >&6
76885 else
76889 ac_ext=cc
76890 ac_cpp='$CXXCPP $CPPFLAGS'
76891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76895 cat >conftest.$ac_ext <<_ACEOF
76896 /* confdefs.h. */
76897 _ACEOF
76898 cat confdefs.h >>conftest.$ac_ext
76899 cat >>conftest.$ac_ext <<_ACEOF
76900 /* end confdefs.h. */
76901 #include <math.h>
76902 #ifdef HAVE_IEEEFP_H
76903 #include <ieeefp.h>
76904 #endif
76907 main ()
76909 _expl(0);
76911 return 0;
76913 _ACEOF
76914 rm -f conftest.$ac_objext
76915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76916 (eval $ac_compile) 2>conftest.er1
76917 ac_status=$?
76918 grep -v '^ *+' conftest.er1 >conftest.err
76919 rm -f conftest.er1
76920 cat conftest.err >&5
76921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76922 (exit $ac_status); } &&
76923 { ac_try='test -z "$ac_cxx_werror_flag"
76924 || test ! -s conftest.err'
76925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926 (eval $ac_try) 2>&5
76927 ac_status=$?
76928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929 (exit $ac_status); }; } &&
76930 { ac_try='test -s conftest.$ac_objext'
76931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76932 (eval $ac_try) 2>&5
76933 ac_status=$?
76934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76935 (exit $ac_status); }; }; then
76936 glibcxx_cv_func__expl_use=yes
76937 else
76938 echo "$as_me: failed program was:" >&5
76939 sed 's/^/| /' conftest.$ac_ext >&5
76941 glibcxx_cv_func__expl_use=no
76943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76944 ac_ext=c
76945 ac_cpp='$CPP $CPPFLAGS'
76946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76955 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76957 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76959 for ac_func in _expl
76961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76962 echo "$as_me:$LINENO: checking for $ac_func" >&5
76963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76964 if eval "test \"\${$as_ac_var+set}\" = set"; then
76965 echo $ECHO_N "(cached) $ECHO_C" >&6
76966 else
76967 if test x$gcc_no_link = xyes; then
76968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76970 { (exit 1); exit 1; }; }
76972 cat >conftest.$ac_ext <<_ACEOF
76973 /* confdefs.h. */
76974 _ACEOF
76975 cat confdefs.h >>conftest.$ac_ext
76976 cat >>conftest.$ac_ext <<_ACEOF
76977 /* end confdefs.h. */
76978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76980 #define $ac_func innocuous_$ac_func
76982 /* System header to define __stub macros and hopefully few prototypes,
76983 which can conflict with char $ac_func (); below.
76984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76985 <limits.h> exists even on freestanding compilers. */
76987 #ifdef __STDC__
76988 # include <limits.h>
76989 #else
76990 # include <assert.h>
76991 #endif
76993 #undef $ac_func
76995 /* Override any gcc2 internal prototype to avoid an error. */
76996 #ifdef __cplusplus
76997 extern "C"
76999 #endif
77000 /* We use char because int might match the return type of a gcc2
77001 builtin and then its argument prototype would still apply. */
77002 char $ac_func ();
77003 /* The GNU C library defines this for functions which it implements
77004 to always fail with ENOSYS. Some functions are actually named
77005 something starting with __ and the normal name is an alias. */
77006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77007 choke me
77008 #else
77009 char (*f) () = $ac_func;
77010 #endif
77011 #ifdef __cplusplus
77013 #endif
77016 main ()
77018 return f != $ac_func;
77020 return 0;
77022 _ACEOF
77023 rm -f conftest.$ac_objext conftest$ac_exeext
77024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77025 (eval $ac_link) 2>conftest.er1
77026 ac_status=$?
77027 grep -v '^ *+' conftest.er1 >conftest.err
77028 rm -f conftest.er1
77029 cat conftest.err >&5
77030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77031 (exit $ac_status); } &&
77032 { ac_try='test -z "$ac_c_werror_flag"
77033 || test ! -s conftest.err'
77034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77035 (eval $ac_try) 2>&5
77036 ac_status=$?
77037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77038 (exit $ac_status); }; } &&
77039 { ac_try='test -s conftest$ac_exeext'
77040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77041 (eval $ac_try) 2>&5
77042 ac_status=$?
77043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77044 (exit $ac_status); }; }; then
77045 eval "$as_ac_var=yes"
77046 else
77047 echo "$as_me: failed program was:" >&5
77048 sed 's/^/| /' conftest.$ac_ext >&5
77050 eval "$as_ac_var=no"
77052 rm -f conftest.err conftest.$ac_objext \
77053 conftest$ac_exeext conftest.$ac_ext
77055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77057 if test `eval echo '${'$as_ac_var'}'` = yes; then
77058 cat >>confdefs.h <<_ACEOF
77059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77060 _ACEOF
77063 done
77073 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77074 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77075 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77076 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77077 echo $ECHO_N "(cached) $ECHO_C" >&6
77078 else
77082 ac_ext=cc
77083 ac_cpp='$CXXCPP $CPPFLAGS'
77084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77088 cat >conftest.$ac_ext <<_ACEOF
77089 /* confdefs.h. */
77090 _ACEOF
77091 cat confdefs.h >>conftest.$ac_ext
77092 cat >>conftest.$ac_ext <<_ACEOF
77093 /* end confdefs.h. */
77094 #include <math.h>
77095 #ifdef HAVE_IEEEFP_H
77096 #include <ieeefp.h>
77097 #endif
77100 main ()
77102 fabsl(0);
77104 return 0;
77106 _ACEOF
77107 rm -f conftest.$ac_objext
77108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77109 (eval $ac_compile) 2>conftest.er1
77110 ac_status=$?
77111 grep -v '^ *+' conftest.er1 >conftest.err
77112 rm -f conftest.er1
77113 cat conftest.err >&5
77114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77115 (exit $ac_status); } &&
77116 { ac_try='test -z "$ac_cxx_werror_flag"
77117 || test ! -s conftest.err'
77118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77119 (eval $ac_try) 2>&5
77120 ac_status=$?
77121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77122 (exit $ac_status); }; } &&
77123 { ac_try='test -s conftest.$ac_objext'
77124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77125 (eval $ac_try) 2>&5
77126 ac_status=$?
77127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77128 (exit $ac_status); }; }; then
77129 glibcxx_cv_func_fabsl_use=yes
77130 else
77131 echo "$as_me: failed program was:" >&5
77132 sed 's/^/| /' conftest.$ac_ext >&5
77134 glibcxx_cv_func_fabsl_use=no
77136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77137 ac_ext=c
77138 ac_cpp='$CPP $CPPFLAGS'
77139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77148 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77150 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77152 for ac_func in fabsl
77154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77155 echo "$as_me:$LINENO: checking for $ac_func" >&5
77156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77157 if eval "test \"\${$as_ac_var+set}\" = set"; then
77158 echo $ECHO_N "(cached) $ECHO_C" >&6
77159 else
77160 if test x$gcc_no_link = xyes; then
77161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77163 { (exit 1); exit 1; }; }
77165 cat >conftest.$ac_ext <<_ACEOF
77166 /* confdefs.h. */
77167 _ACEOF
77168 cat confdefs.h >>conftest.$ac_ext
77169 cat >>conftest.$ac_ext <<_ACEOF
77170 /* end confdefs.h. */
77171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77173 #define $ac_func innocuous_$ac_func
77175 /* System header to define __stub macros and hopefully few prototypes,
77176 which can conflict with char $ac_func (); below.
77177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77178 <limits.h> exists even on freestanding compilers. */
77180 #ifdef __STDC__
77181 # include <limits.h>
77182 #else
77183 # include <assert.h>
77184 #endif
77186 #undef $ac_func
77188 /* Override any gcc2 internal prototype to avoid an error. */
77189 #ifdef __cplusplus
77190 extern "C"
77192 #endif
77193 /* We use char because int might match the return type of a gcc2
77194 builtin and then its argument prototype would still apply. */
77195 char $ac_func ();
77196 /* The GNU C library defines this for functions which it implements
77197 to always fail with ENOSYS. Some functions are actually named
77198 something starting with __ and the normal name is an alias. */
77199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77200 choke me
77201 #else
77202 char (*f) () = $ac_func;
77203 #endif
77204 #ifdef __cplusplus
77206 #endif
77209 main ()
77211 return f != $ac_func;
77213 return 0;
77215 _ACEOF
77216 rm -f conftest.$ac_objext conftest$ac_exeext
77217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77218 (eval $ac_link) 2>conftest.er1
77219 ac_status=$?
77220 grep -v '^ *+' conftest.er1 >conftest.err
77221 rm -f conftest.er1
77222 cat conftest.err >&5
77223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77224 (exit $ac_status); } &&
77225 { ac_try='test -z "$ac_c_werror_flag"
77226 || test ! -s conftest.err'
77227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77228 (eval $ac_try) 2>&5
77229 ac_status=$?
77230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231 (exit $ac_status); }; } &&
77232 { ac_try='test -s conftest$ac_exeext'
77233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77234 (eval $ac_try) 2>&5
77235 ac_status=$?
77236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77237 (exit $ac_status); }; }; then
77238 eval "$as_ac_var=yes"
77239 else
77240 echo "$as_me: failed program was:" >&5
77241 sed 's/^/| /' conftest.$ac_ext >&5
77243 eval "$as_ac_var=no"
77245 rm -f conftest.err conftest.$ac_objext \
77246 conftest$ac_exeext conftest.$ac_ext
77248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77250 if test `eval echo '${'$as_ac_var'}'` = yes; then
77251 cat >>confdefs.h <<_ACEOF
77252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77253 _ACEOF
77256 done
77258 else
77260 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77261 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77262 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77263 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77264 echo $ECHO_N "(cached) $ECHO_C" >&6
77265 else
77269 ac_ext=cc
77270 ac_cpp='$CXXCPP $CPPFLAGS'
77271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77275 cat >conftest.$ac_ext <<_ACEOF
77276 /* confdefs.h. */
77277 _ACEOF
77278 cat confdefs.h >>conftest.$ac_ext
77279 cat >>conftest.$ac_ext <<_ACEOF
77280 /* end confdefs.h. */
77281 #include <math.h>
77282 #ifdef HAVE_IEEEFP_H
77283 #include <ieeefp.h>
77284 #endif
77287 main ()
77289 _fabsl(0);
77291 return 0;
77293 _ACEOF
77294 rm -f conftest.$ac_objext
77295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77296 (eval $ac_compile) 2>conftest.er1
77297 ac_status=$?
77298 grep -v '^ *+' conftest.er1 >conftest.err
77299 rm -f conftest.er1
77300 cat conftest.err >&5
77301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77302 (exit $ac_status); } &&
77303 { ac_try='test -z "$ac_cxx_werror_flag"
77304 || test ! -s conftest.err'
77305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77306 (eval $ac_try) 2>&5
77307 ac_status=$?
77308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77309 (exit $ac_status); }; } &&
77310 { ac_try='test -s conftest.$ac_objext'
77311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77312 (eval $ac_try) 2>&5
77313 ac_status=$?
77314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77315 (exit $ac_status); }; }; then
77316 glibcxx_cv_func__fabsl_use=yes
77317 else
77318 echo "$as_me: failed program was:" >&5
77319 sed 's/^/| /' conftest.$ac_ext >&5
77321 glibcxx_cv_func__fabsl_use=no
77323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77324 ac_ext=c
77325 ac_cpp='$CPP $CPPFLAGS'
77326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77335 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77337 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77339 for ac_func in _fabsl
77341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77342 echo "$as_me:$LINENO: checking for $ac_func" >&5
77343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77344 if eval "test \"\${$as_ac_var+set}\" = set"; then
77345 echo $ECHO_N "(cached) $ECHO_C" >&6
77346 else
77347 if test x$gcc_no_link = xyes; then
77348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77350 { (exit 1); exit 1; }; }
77352 cat >conftest.$ac_ext <<_ACEOF
77353 /* confdefs.h. */
77354 _ACEOF
77355 cat confdefs.h >>conftest.$ac_ext
77356 cat >>conftest.$ac_ext <<_ACEOF
77357 /* end confdefs.h. */
77358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77360 #define $ac_func innocuous_$ac_func
77362 /* System header to define __stub macros and hopefully few prototypes,
77363 which can conflict with char $ac_func (); below.
77364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77365 <limits.h> exists even on freestanding compilers. */
77367 #ifdef __STDC__
77368 # include <limits.h>
77369 #else
77370 # include <assert.h>
77371 #endif
77373 #undef $ac_func
77375 /* Override any gcc2 internal prototype to avoid an error. */
77376 #ifdef __cplusplus
77377 extern "C"
77379 #endif
77380 /* We use char because int might match the return type of a gcc2
77381 builtin and then its argument prototype would still apply. */
77382 char $ac_func ();
77383 /* The GNU C library defines this for functions which it implements
77384 to always fail with ENOSYS. Some functions are actually named
77385 something starting with __ and the normal name is an alias. */
77386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77387 choke me
77388 #else
77389 char (*f) () = $ac_func;
77390 #endif
77391 #ifdef __cplusplus
77393 #endif
77396 main ()
77398 return f != $ac_func;
77400 return 0;
77402 _ACEOF
77403 rm -f conftest.$ac_objext conftest$ac_exeext
77404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77405 (eval $ac_link) 2>conftest.er1
77406 ac_status=$?
77407 grep -v '^ *+' conftest.er1 >conftest.err
77408 rm -f conftest.er1
77409 cat conftest.err >&5
77410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77411 (exit $ac_status); } &&
77412 { ac_try='test -z "$ac_c_werror_flag"
77413 || test ! -s conftest.err'
77414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77415 (eval $ac_try) 2>&5
77416 ac_status=$?
77417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77418 (exit $ac_status); }; } &&
77419 { ac_try='test -s conftest$ac_exeext'
77420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77421 (eval $ac_try) 2>&5
77422 ac_status=$?
77423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77424 (exit $ac_status); }; }; then
77425 eval "$as_ac_var=yes"
77426 else
77427 echo "$as_me: failed program was:" >&5
77428 sed 's/^/| /' conftest.$ac_ext >&5
77430 eval "$as_ac_var=no"
77432 rm -f conftest.err conftest.$ac_objext \
77433 conftest$ac_exeext conftest.$ac_ext
77435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77437 if test `eval echo '${'$as_ac_var'}'` = yes; then
77438 cat >>confdefs.h <<_ACEOF
77439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77440 _ACEOF
77443 done
77453 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77454 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77455 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77456 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77457 echo $ECHO_N "(cached) $ECHO_C" >&6
77458 else
77462 ac_ext=cc
77463 ac_cpp='$CXXCPP $CPPFLAGS'
77464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77468 cat >conftest.$ac_ext <<_ACEOF
77469 /* confdefs.h. */
77470 _ACEOF
77471 cat confdefs.h >>conftest.$ac_ext
77472 cat >>conftest.$ac_ext <<_ACEOF
77473 /* end confdefs.h. */
77474 #include <math.h>
77476 main ()
77478 fmodl(0, 0);
77480 return 0;
77482 _ACEOF
77483 rm -f conftest.$ac_objext
77484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77485 (eval $ac_compile) 2>conftest.er1
77486 ac_status=$?
77487 grep -v '^ *+' conftest.er1 >conftest.err
77488 rm -f conftest.er1
77489 cat conftest.err >&5
77490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77491 (exit $ac_status); } &&
77492 { ac_try='test -z "$ac_cxx_werror_flag"
77493 || test ! -s conftest.err'
77494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77495 (eval $ac_try) 2>&5
77496 ac_status=$?
77497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77498 (exit $ac_status); }; } &&
77499 { ac_try='test -s conftest.$ac_objext'
77500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77501 (eval $ac_try) 2>&5
77502 ac_status=$?
77503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77504 (exit $ac_status); }; }; then
77505 glibcxx_cv_func_fmodl_use=yes
77506 else
77507 echo "$as_me: failed program was:" >&5
77508 sed 's/^/| /' conftest.$ac_ext >&5
77510 glibcxx_cv_func_fmodl_use=no
77512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77513 ac_ext=c
77514 ac_cpp='$CPP $CPPFLAGS'
77515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77524 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77526 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77528 for ac_func in fmodl
77530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77531 echo "$as_me:$LINENO: checking for $ac_func" >&5
77532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77533 if eval "test \"\${$as_ac_var+set}\" = set"; then
77534 echo $ECHO_N "(cached) $ECHO_C" >&6
77535 else
77536 if test x$gcc_no_link = xyes; then
77537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77539 { (exit 1); exit 1; }; }
77541 cat >conftest.$ac_ext <<_ACEOF
77542 /* confdefs.h. */
77543 _ACEOF
77544 cat confdefs.h >>conftest.$ac_ext
77545 cat >>conftest.$ac_ext <<_ACEOF
77546 /* end confdefs.h. */
77547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77549 #define $ac_func innocuous_$ac_func
77551 /* System header to define __stub macros and hopefully few prototypes,
77552 which can conflict with char $ac_func (); below.
77553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77554 <limits.h> exists even on freestanding compilers. */
77556 #ifdef __STDC__
77557 # include <limits.h>
77558 #else
77559 # include <assert.h>
77560 #endif
77562 #undef $ac_func
77564 /* Override any gcc2 internal prototype to avoid an error. */
77565 #ifdef __cplusplus
77566 extern "C"
77568 #endif
77569 /* We use char because int might match the return type of a gcc2
77570 builtin and then its argument prototype would still apply. */
77571 char $ac_func ();
77572 /* The GNU C library defines this for functions which it implements
77573 to always fail with ENOSYS. Some functions are actually named
77574 something starting with __ and the normal name is an alias. */
77575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77576 choke me
77577 #else
77578 char (*f) () = $ac_func;
77579 #endif
77580 #ifdef __cplusplus
77582 #endif
77585 main ()
77587 return f != $ac_func;
77589 return 0;
77591 _ACEOF
77592 rm -f conftest.$ac_objext conftest$ac_exeext
77593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77594 (eval $ac_link) 2>conftest.er1
77595 ac_status=$?
77596 grep -v '^ *+' conftest.er1 >conftest.err
77597 rm -f conftest.er1
77598 cat conftest.err >&5
77599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77600 (exit $ac_status); } &&
77601 { ac_try='test -z "$ac_c_werror_flag"
77602 || test ! -s conftest.err'
77603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77604 (eval $ac_try) 2>&5
77605 ac_status=$?
77606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77607 (exit $ac_status); }; } &&
77608 { ac_try='test -s conftest$ac_exeext'
77609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77610 (eval $ac_try) 2>&5
77611 ac_status=$?
77612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77613 (exit $ac_status); }; }; then
77614 eval "$as_ac_var=yes"
77615 else
77616 echo "$as_me: failed program was:" >&5
77617 sed 's/^/| /' conftest.$ac_ext >&5
77619 eval "$as_ac_var=no"
77621 rm -f conftest.err conftest.$ac_objext \
77622 conftest$ac_exeext conftest.$ac_ext
77624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77626 if test `eval echo '${'$as_ac_var'}'` = yes; then
77627 cat >>confdefs.h <<_ACEOF
77628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77629 _ACEOF
77632 done
77634 else
77636 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77637 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77638 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77639 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77640 echo $ECHO_N "(cached) $ECHO_C" >&6
77641 else
77645 ac_ext=cc
77646 ac_cpp='$CXXCPP $CPPFLAGS'
77647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77651 cat >conftest.$ac_ext <<_ACEOF
77652 /* confdefs.h. */
77653 _ACEOF
77654 cat confdefs.h >>conftest.$ac_ext
77655 cat >>conftest.$ac_ext <<_ACEOF
77656 /* end confdefs.h. */
77657 #include <math.h>
77659 main ()
77661 _fmodl(0, 0);
77663 return 0;
77665 _ACEOF
77666 rm -f conftest.$ac_objext
77667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77668 (eval $ac_compile) 2>conftest.er1
77669 ac_status=$?
77670 grep -v '^ *+' conftest.er1 >conftest.err
77671 rm -f conftest.er1
77672 cat conftest.err >&5
77673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77674 (exit $ac_status); } &&
77675 { ac_try='test -z "$ac_cxx_werror_flag"
77676 || test ! -s conftest.err'
77677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77678 (eval $ac_try) 2>&5
77679 ac_status=$?
77680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77681 (exit $ac_status); }; } &&
77682 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
77688 glibcxx_cv_func__fmodl_use=yes
77689 else
77690 echo "$as_me: failed program was:" >&5
77691 sed 's/^/| /' conftest.$ac_ext >&5
77693 glibcxx_cv_func__fmodl_use=no
77695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77696 ac_ext=c
77697 ac_cpp='$CPP $CPPFLAGS'
77698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77706 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77707 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77709 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77711 for ac_func in _fmodl
77713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77714 echo "$as_me:$LINENO: checking for $ac_func" >&5
77715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77716 if eval "test \"\${$as_ac_var+set}\" = set"; then
77717 echo $ECHO_N "(cached) $ECHO_C" >&6
77718 else
77719 if test x$gcc_no_link = xyes; then
77720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77722 { (exit 1); exit 1; }; }
77724 cat >conftest.$ac_ext <<_ACEOF
77725 /* confdefs.h. */
77726 _ACEOF
77727 cat confdefs.h >>conftest.$ac_ext
77728 cat >>conftest.$ac_ext <<_ACEOF
77729 /* end confdefs.h. */
77730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77732 #define $ac_func innocuous_$ac_func
77734 /* System header to define __stub macros and hopefully few prototypes,
77735 which can conflict with char $ac_func (); below.
77736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77737 <limits.h> exists even on freestanding compilers. */
77739 #ifdef __STDC__
77740 # include <limits.h>
77741 #else
77742 # include <assert.h>
77743 #endif
77745 #undef $ac_func
77747 /* Override any gcc2 internal prototype to avoid an error. */
77748 #ifdef __cplusplus
77749 extern "C"
77751 #endif
77752 /* We use char because int might match the return type of a gcc2
77753 builtin and then its argument prototype would still apply. */
77754 char $ac_func ();
77755 /* The GNU C library defines this for functions which it implements
77756 to always fail with ENOSYS. Some functions are actually named
77757 something starting with __ and the normal name is an alias. */
77758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77759 choke me
77760 #else
77761 char (*f) () = $ac_func;
77762 #endif
77763 #ifdef __cplusplus
77765 #endif
77768 main ()
77770 return f != $ac_func;
77772 return 0;
77774 _ACEOF
77775 rm -f conftest.$ac_objext conftest$ac_exeext
77776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77777 (eval $ac_link) 2>conftest.er1
77778 ac_status=$?
77779 grep -v '^ *+' conftest.er1 >conftest.err
77780 rm -f conftest.er1
77781 cat conftest.err >&5
77782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77783 (exit $ac_status); } &&
77784 { ac_try='test -z "$ac_c_werror_flag"
77785 || test ! -s conftest.err'
77786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77787 (eval $ac_try) 2>&5
77788 ac_status=$?
77789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77790 (exit $ac_status); }; } &&
77791 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
77797 eval "$as_ac_var=yes"
77798 else
77799 echo "$as_me: failed program was:" >&5
77800 sed 's/^/| /' conftest.$ac_ext >&5
77802 eval "$as_ac_var=no"
77804 rm -f conftest.err conftest.$ac_objext \
77805 conftest$ac_exeext conftest.$ac_ext
77807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77809 if test `eval echo '${'$as_ac_var'}'` = yes; then
77810 cat >>confdefs.h <<_ACEOF
77811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77812 _ACEOF
77815 done
77825 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77826 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77827 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77828 if test "${glibcxx_cv_func_frexpl_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>
77848 main ()
77850 frexpl(0, 0);
77852 return 0;
77854 _ACEOF
77855 rm -f conftest.$ac_objext
77856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77857 (eval $ac_compile) 2>conftest.er1
77858 ac_status=$?
77859 grep -v '^ *+' conftest.er1 >conftest.err
77860 rm -f conftest.er1
77861 cat conftest.err >&5
77862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77863 (exit $ac_status); } &&
77864 { ac_try='test -z "$ac_cxx_werror_flag"
77865 || test ! -s conftest.err'
77866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77867 (eval $ac_try) 2>&5
77868 ac_status=$?
77869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77870 (exit $ac_status); }; } &&
77871 { ac_try='test -s conftest.$ac_objext'
77872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77873 (eval $ac_try) 2>&5
77874 ac_status=$?
77875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77876 (exit $ac_status); }; }; then
77877 glibcxx_cv_func_frexpl_use=yes
77878 else
77879 echo "$as_me: failed program was:" >&5
77880 sed 's/^/| /' conftest.$ac_ext >&5
77882 glibcxx_cv_func_frexpl_use=no
77884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77885 ac_ext=c
77886 ac_cpp='$CPP $CPPFLAGS'
77887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77896 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77898 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77900 for ac_func in frexpl
77902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77903 echo "$as_me:$LINENO: checking for $ac_func" >&5
77904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77905 if eval "test \"\${$as_ac_var+set}\" = set"; then
77906 echo $ECHO_N "(cached) $ECHO_C" >&6
77907 else
77908 if test x$gcc_no_link = xyes; then
77909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77911 { (exit 1); exit 1; }; }
77913 cat >conftest.$ac_ext <<_ACEOF
77914 /* confdefs.h. */
77915 _ACEOF
77916 cat confdefs.h >>conftest.$ac_ext
77917 cat >>conftest.$ac_ext <<_ACEOF
77918 /* end confdefs.h. */
77919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77921 #define $ac_func innocuous_$ac_func
77923 /* System header to define __stub macros and hopefully few prototypes,
77924 which can conflict with char $ac_func (); below.
77925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77926 <limits.h> exists even on freestanding compilers. */
77928 #ifdef __STDC__
77929 # include <limits.h>
77930 #else
77931 # include <assert.h>
77932 #endif
77934 #undef $ac_func
77936 /* Override any gcc2 internal prototype to avoid an error. */
77937 #ifdef __cplusplus
77938 extern "C"
77940 #endif
77941 /* We use char because int might match the return type of a gcc2
77942 builtin and then its argument prototype would still apply. */
77943 char $ac_func ();
77944 /* The GNU C library defines this for functions which it implements
77945 to always fail with ENOSYS. Some functions are actually named
77946 something starting with __ and the normal name is an alias. */
77947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77948 choke me
77949 #else
77950 char (*f) () = $ac_func;
77951 #endif
77952 #ifdef __cplusplus
77954 #endif
77957 main ()
77959 return f != $ac_func;
77961 return 0;
77963 _ACEOF
77964 rm -f conftest.$ac_objext conftest$ac_exeext
77965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77966 (eval $ac_link) 2>conftest.er1
77967 ac_status=$?
77968 grep -v '^ *+' conftest.er1 >conftest.err
77969 rm -f conftest.er1
77970 cat conftest.err >&5
77971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77972 (exit $ac_status); } &&
77973 { ac_try='test -z "$ac_c_werror_flag"
77974 || test ! -s conftest.err'
77975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77976 (eval $ac_try) 2>&5
77977 ac_status=$?
77978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77979 (exit $ac_status); }; } &&
77980 { ac_try='test -s conftest$ac_exeext'
77981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77982 (eval $ac_try) 2>&5
77983 ac_status=$?
77984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77985 (exit $ac_status); }; }; then
77986 eval "$as_ac_var=yes"
77987 else
77988 echo "$as_me: failed program was:" >&5
77989 sed 's/^/| /' conftest.$ac_ext >&5
77991 eval "$as_ac_var=no"
77993 rm -f conftest.err conftest.$ac_objext \
77994 conftest$ac_exeext conftest.$ac_ext
77996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77998 if test `eval echo '${'$as_ac_var'}'` = yes; then
77999 cat >>confdefs.h <<_ACEOF
78000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78001 _ACEOF
78004 done
78006 else
78008 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78009 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78010 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78011 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78012 echo $ECHO_N "(cached) $ECHO_C" >&6
78013 else
78017 ac_ext=cc
78018 ac_cpp='$CXXCPP $CPPFLAGS'
78019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78023 cat >conftest.$ac_ext <<_ACEOF
78024 /* confdefs.h. */
78025 _ACEOF
78026 cat confdefs.h >>conftest.$ac_ext
78027 cat >>conftest.$ac_ext <<_ACEOF
78028 /* end confdefs.h. */
78029 #include <math.h>
78031 main ()
78033 _frexpl(0, 0);
78035 return 0;
78037 _ACEOF
78038 rm -f conftest.$ac_objext
78039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78040 (eval $ac_compile) 2>conftest.er1
78041 ac_status=$?
78042 grep -v '^ *+' conftest.er1 >conftest.err
78043 rm -f conftest.er1
78044 cat conftest.err >&5
78045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78046 (exit $ac_status); } &&
78047 { ac_try='test -z "$ac_cxx_werror_flag"
78048 || test ! -s conftest.err'
78049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78050 (eval $ac_try) 2>&5
78051 ac_status=$?
78052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78053 (exit $ac_status); }; } &&
78054 { ac_try='test -s conftest.$ac_objext'
78055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78056 (eval $ac_try) 2>&5
78057 ac_status=$?
78058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78059 (exit $ac_status); }; }; then
78060 glibcxx_cv_func__frexpl_use=yes
78061 else
78062 echo "$as_me: failed program was:" >&5
78063 sed 's/^/| /' conftest.$ac_ext >&5
78065 glibcxx_cv_func__frexpl_use=no
78067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78068 ac_ext=c
78069 ac_cpp='$CPP $CPPFLAGS'
78070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78079 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78081 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78083 for ac_func in _frexpl
78085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78086 echo "$as_me:$LINENO: checking for $ac_func" >&5
78087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78088 if eval "test \"\${$as_ac_var+set}\" = set"; then
78089 echo $ECHO_N "(cached) $ECHO_C" >&6
78090 else
78091 if test x$gcc_no_link = xyes; then
78092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78094 { (exit 1); exit 1; }; }
78096 cat >conftest.$ac_ext <<_ACEOF
78097 /* confdefs.h. */
78098 _ACEOF
78099 cat confdefs.h >>conftest.$ac_ext
78100 cat >>conftest.$ac_ext <<_ACEOF
78101 /* end confdefs.h. */
78102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78104 #define $ac_func innocuous_$ac_func
78106 /* System header to define __stub macros and hopefully few prototypes,
78107 which can conflict with char $ac_func (); below.
78108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78109 <limits.h> exists even on freestanding compilers. */
78111 #ifdef __STDC__
78112 # include <limits.h>
78113 #else
78114 # include <assert.h>
78115 #endif
78117 #undef $ac_func
78119 /* Override any gcc2 internal prototype to avoid an error. */
78120 #ifdef __cplusplus
78121 extern "C"
78123 #endif
78124 /* We use char because int might match the return type of a gcc2
78125 builtin and then its argument prototype would still apply. */
78126 char $ac_func ();
78127 /* The GNU C library defines this for functions which it implements
78128 to always fail with ENOSYS. Some functions are actually named
78129 something starting with __ and the normal name is an alias. */
78130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78131 choke me
78132 #else
78133 char (*f) () = $ac_func;
78134 #endif
78135 #ifdef __cplusplus
78137 #endif
78140 main ()
78142 return f != $ac_func;
78144 return 0;
78146 _ACEOF
78147 rm -f conftest.$ac_objext conftest$ac_exeext
78148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78149 (eval $ac_link) 2>conftest.er1
78150 ac_status=$?
78151 grep -v '^ *+' conftest.er1 >conftest.err
78152 rm -f conftest.er1
78153 cat conftest.err >&5
78154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78155 (exit $ac_status); } &&
78156 { ac_try='test -z "$ac_c_werror_flag"
78157 || test ! -s conftest.err'
78158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78159 (eval $ac_try) 2>&5
78160 ac_status=$?
78161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78162 (exit $ac_status); }; } &&
78163 { ac_try='test -s conftest$ac_exeext'
78164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78165 (eval $ac_try) 2>&5
78166 ac_status=$?
78167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78168 (exit $ac_status); }; }; then
78169 eval "$as_ac_var=yes"
78170 else
78171 echo "$as_me: failed program was:" >&5
78172 sed 's/^/| /' conftest.$ac_ext >&5
78174 eval "$as_ac_var=no"
78176 rm -f conftest.err conftest.$ac_objext \
78177 conftest$ac_exeext conftest.$ac_ext
78179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78181 if test `eval echo '${'$as_ac_var'}'` = yes; then
78182 cat >>confdefs.h <<_ACEOF
78183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78184 _ACEOF
78187 done
78197 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78198 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78199 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78200 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78201 echo $ECHO_N "(cached) $ECHO_C" >&6
78202 else
78206 ac_ext=cc
78207 ac_cpp='$CXXCPP $CPPFLAGS'
78208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78212 cat >conftest.$ac_ext <<_ACEOF
78213 /* confdefs.h. */
78214 _ACEOF
78215 cat confdefs.h >>conftest.$ac_ext
78216 cat >>conftest.$ac_ext <<_ACEOF
78217 /* end confdefs.h. */
78218 #include <math.h>
78220 main ()
78222 hypotl(0, 0);
78224 return 0;
78226 _ACEOF
78227 rm -f conftest.$ac_objext
78228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78229 (eval $ac_compile) 2>conftest.er1
78230 ac_status=$?
78231 grep -v '^ *+' conftest.er1 >conftest.err
78232 rm -f conftest.er1
78233 cat conftest.err >&5
78234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78235 (exit $ac_status); } &&
78236 { ac_try='test -z "$ac_cxx_werror_flag"
78237 || test ! -s conftest.err'
78238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78239 (eval $ac_try) 2>&5
78240 ac_status=$?
78241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78242 (exit $ac_status); }; } &&
78243 { ac_try='test -s conftest.$ac_objext'
78244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78245 (eval $ac_try) 2>&5
78246 ac_status=$?
78247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78248 (exit $ac_status); }; }; then
78249 glibcxx_cv_func_hypotl_use=yes
78250 else
78251 echo "$as_me: failed program was:" >&5
78252 sed 's/^/| /' conftest.$ac_ext >&5
78254 glibcxx_cv_func_hypotl_use=no
78256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78257 ac_ext=c
78258 ac_cpp='$CPP $CPPFLAGS'
78259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78268 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78270 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78272 for ac_func in hypotl
78274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78275 echo "$as_me:$LINENO: checking for $ac_func" >&5
78276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78277 if eval "test \"\${$as_ac_var+set}\" = set"; then
78278 echo $ECHO_N "(cached) $ECHO_C" >&6
78279 else
78280 if test x$gcc_no_link = xyes; then
78281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78283 { (exit 1); exit 1; }; }
78285 cat >conftest.$ac_ext <<_ACEOF
78286 /* confdefs.h. */
78287 _ACEOF
78288 cat confdefs.h >>conftest.$ac_ext
78289 cat >>conftest.$ac_ext <<_ACEOF
78290 /* end confdefs.h. */
78291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78293 #define $ac_func innocuous_$ac_func
78295 /* System header to define __stub macros and hopefully few prototypes,
78296 which can conflict with char $ac_func (); below.
78297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78298 <limits.h> exists even on freestanding compilers. */
78300 #ifdef __STDC__
78301 # include <limits.h>
78302 #else
78303 # include <assert.h>
78304 #endif
78306 #undef $ac_func
78308 /* Override any gcc2 internal prototype to avoid an error. */
78309 #ifdef __cplusplus
78310 extern "C"
78312 #endif
78313 /* We use char because int might match the return type of a gcc2
78314 builtin and then its argument prototype would still apply. */
78315 char $ac_func ();
78316 /* The GNU C library defines this for functions which it implements
78317 to always fail with ENOSYS. Some functions are actually named
78318 something starting with __ and the normal name is an alias. */
78319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78320 choke me
78321 #else
78322 char (*f) () = $ac_func;
78323 #endif
78324 #ifdef __cplusplus
78326 #endif
78329 main ()
78331 return f != $ac_func;
78333 return 0;
78335 _ACEOF
78336 rm -f conftest.$ac_objext conftest$ac_exeext
78337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78338 (eval $ac_link) 2>conftest.er1
78339 ac_status=$?
78340 grep -v '^ *+' conftest.er1 >conftest.err
78341 rm -f conftest.er1
78342 cat conftest.err >&5
78343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78344 (exit $ac_status); } &&
78345 { ac_try='test -z "$ac_c_werror_flag"
78346 || test ! -s conftest.err'
78347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78348 (eval $ac_try) 2>&5
78349 ac_status=$?
78350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78351 (exit $ac_status); }; } &&
78352 { ac_try='test -s conftest$ac_exeext'
78353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78354 (eval $ac_try) 2>&5
78355 ac_status=$?
78356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78357 (exit $ac_status); }; }; then
78358 eval "$as_ac_var=yes"
78359 else
78360 echo "$as_me: failed program was:" >&5
78361 sed 's/^/| /' conftest.$ac_ext >&5
78363 eval "$as_ac_var=no"
78365 rm -f conftest.err conftest.$ac_objext \
78366 conftest$ac_exeext conftest.$ac_ext
78368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78370 if test `eval echo '${'$as_ac_var'}'` = yes; then
78371 cat >>confdefs.h <<_ACEOF
78372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78373 _ACEOF
78376 done
78378 else
78380 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78381 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78382 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78383 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78384 echo $ECHO_N "(cached) $ECHO_C" >&6
78385 else
78389 ac_ext=cc
78390 ac_cpp='$CXXCPP $CPPFLAGS'
78391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78395 cat >conftest.$ac_ext <<_ACEOF
78396 /* confdefs.h. */
78397 _ACEOF
78398 cat confdefs.h >>conftest.$ac_ext
78399 cat >>conftest.$ac_ext <<_ACEOF
78400 /* end confdefs.h. */
78401 #include <math.h>
78403 main ()
78405 _hypotl(0, 0);
78407 return 0;
78409 _ACEOF
78410 rm -f conftest.$ac_objext
78411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78412 (eval $ac_compile) 2>conftest.er1
78413 ac_status=$?
78414 grep -v '^ *+' conftest.er1 >conftest.err
78415 rm -f conftest.er1
78416 cat conftest.err >&5
78417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78418 (exit $ac_status); } &&
78419 { ac_try='test -z "$ac_cxx_werror_flag"
78420 || test ! -s conftest.err'
78421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78422 (eval $ac_try) 2>&5
78423 ac_status=$?
78424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78425 (exit $ac_status); }; } &&
78426 { ac_try='test -s conftest.$ac_objext'
78427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78428 (eval $ac_try) 2>&5
78429 ac_status=$?
78430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78431 (exit $ac_status); }; }; then
78432 glibcxx_cv_func__hypotl_use=yes
78433 else
78434 echo "$as_me: failed program was:" >&5
78435 sed 's/^/| /' conftest.$ac_ext >&5
78437 glibcxx_cv_func__hypotl_use=no
78439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78440 ac_ext=c
78441 ac_cpp='$CPP $CPPFLAGS'
78442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78451 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78453 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78455 for ac_func in _hypotl
78457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78458 echo "$as_me:$LINENO: checking for $ac_func" >&5
78459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78460 if eval "test \"\${$as_ac_var+set}\" = set"; then
78461 echo $ECHO_N "(cached) $ECHO_C" >&6
78462 else
78463 if test x$gcc_no_link = xyes; then
78464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78466 { (exit 1); exit 1; }; }
78468 cat >conftest.$ac_ext <<_ACEOF
78469 /* confdefs.h. */
78470 _ACEOF
78471 cat confdefs.h >>conftest.$ac_ext
78472 cat >>conftest.$ac_ext <<_ACEOF
78473 /* end confdefs.h. */
78474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78476 #define $ac_func innocuous_$ac_func
78478 /* System header to define __stub macros and hopefully few prototypes,
78479 which can conflict with char $ac_func (); below.
78480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78481 <limits.h> exists even on freestanding compilers. */
78483 #ifdef __STDC__
78484 # include <limits.h>
78485 #else
78486 # include <assert.h>
78487 #endif
78489 #undef $ac_func
78491 /* Override any gcc2 internal prototype to avoid an error. */
78492 #ifdef __cplusplus
78493 extern "C"
78495 #endif
78496 /* We use char because int might match the return type of a gcc2
78497 builtin and then its argument prototype would still apply. */
78498 char $ac_func ();
78499 /* The GNU C library defines this for functions which it implements
78500 to always fail with ENOSYS. Some functions are actually named
78501 something starting with __ and the normal name is an alias. */
78502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78503 choke me
78504 #else
78505 char (*f) () = $ac_func;
78506 #endif
78507 #ifdef __cplusplus
78509 #endif
78512 main ()
78514 return f != $ac_func;
78516 return 0;
78518 _ACEOF
78519 rm -f conftest.$ac_objext conftest$ac_exeext
78520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78521 (eval $ac_link) 2>conftest.er1
78522 ac_status=$?
78523 grep -v '^ *+' conftest.er1 >conftest.err
78524 rm -f conftest.er1
78525 cat conftest.err >&5
78526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78527 (exit $ac_status); } &&
78528 { ac_try='test -z "$ac_c_werror_flag"
78529 || test ! -s conftest.err'
78530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78531 (eval $ac_try) 2>&5
78532 ac_status=$?
78533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78534 (exit $ac_status); }; } &&
78535 { ac_try='test -s conftest$ac_exeext'
78536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78537 (eval $ac_try) 2>&5
78538 ac_status=$?
78539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78540 (exit $ac_status); }; }; then
78541 eval "$as_ac_var=yes"
78542 else
78543 echo "$as_me: failed program was:" >&5
78544 sed 's/^/| /' conftest.$ac_ext >&5
78546 eval "$as_ac_var=no"
78548 rm -f conftest.err conftest.$ac_objext \
78549 conftest$ac_exeext conftest.$ac_ext
78551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78553 if test `eval echo '${'$as_ac_var'}'` = yes; then
78554 cat >>confdefs.h <<_ACEOF
78555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78556 _ACEOF
78559 done
78569 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78570 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78571 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78572 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78573 echo $ECHO_N "(cached) $ECHO_C" >&6
78574 else
78578 ac_ext=cc
78579 ac_cpp='$CXXCPP $CPPFLAGS'
78580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78584 cat >conftest.$ac_ext <<_ACEOF
78585 /* confdefs.h. */
78586 _ACEOF
78587 cat confdefs.h >>conftest.$ac_ext
78588 cat >>conftest.$ac_ext <<_ACEOF
78589 /* end confdefs.h. */
78590 #include <math.h>
78592 main ()
78594 ldexpl(0, 0);
78596 return 0;
78598 _ACEOF
78599 rm -f conftest.$ac_objext
78600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78601 (eval $ac_compile) 2>conftest.er1
78602 ac_status=$?
78603 grep -v '^ *+' conftest.er1 >conftest.err
78604 rm -f conftest.er1
78605 cat conftest.err >&5
78606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78607 (exit $ac_status); } &&
78608 { ac_try='test -z "$ac_cxx_werror_flag"
78609 || test ! -s conftest.err'
78610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611 (eval $ac_try) 2>&5
78612 ac_status=$?
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); }; } &&
78615 { ac_try='test -s conftest.$ac_objext'
78616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78617 (eval $ac_try) 2>&5
78618 ac_status=$?
78619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78620 (exit $ac_status); }; }; then
78621 glibcxx_cv_func_ldexpl_use=yes
78622 else
78623 echo "$as_me: failed program was:" >&5
78624 sed 's/^/| /' conftest.$ac_ext >&5
78626 glibcxx_cv_func_ldexpl_use=no
78628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78629 ac_ext=c
78630 ac_cpp='$CPP $CPPFLAGS'
78631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78640 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78642 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78644 for ac_func in ldexpl
78646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78647 echo "$as_me:$LINENO: checking for $ac_func" >&5
78648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78649 if eval "test \"\${$as_ac_var+set}\" = set"; then
78650 echo $ECHO_N "(cached) $ECHO_C" >&6
78651 else
78652 if test x$gcc_no_link = xyes; then
78653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78655 { (exit 1); exit 1; }; }
78657 cat >conftest.$ac_ext <<_ACEOF
78658 /* confdefs.h. */
78659 _ACEOF
78660 cat confdefs.h >>conftest.$ac_ext
78661 cat >>conftest.$ac_ext <<_ACEOF
78662 /* end confdefs.h. */
78663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78665 #define $ac_func innocuous_$ac_func
78667 /* System header to define __stub macros and hopefully few prototypes,
78668 which can conflict with char $ac_func (); below.
78669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78670 <limits.h> exists even on freestanding compilers. */
78672 #ifdef __STDC__
78673 # include <limits.h>
78674 #else
78675 # include <assert.h>
78676 #endif
78678 #undef $ac_func
78680 /* Override any gcc2 internal prototype to avoid an error. */
78681 #ifdef __cplusplus
78682 extern "C"
78684 #endif
78685 /* We use char because int might match the return type of a gcc2
78686 builtin and then its argument prototype would still apply. */
78687 char $ac_func ();
78688 /* The GNU C library defines this for functions which it implements
78689 to always fail with ENOSYS. Some functions are actually named
78690 something starting with __ and the normal name is an alias. */
78691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78692 choke me
78693 #else
78694 char (*f) () = $ac_func;
78695 #endif
78696 #ifdef __cplusplus
78698 #endif
78701 main ()
78703 return f != $ac_func;
78705 return 0;
78707 _ACEOF
78708 rm -f conftest.$ac_objext conftest$ac_exeext
78709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78710 (eval $ac_link) 2>conftest.er1
78711 ac_status=$?
78712 grep -v '^ *+' conftest.er1 >conftest.err
78713 rm -f conftest.er1
78714 cat conftest.err >&5
78715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78716 (exit $ac_status); } &&
78717 { ac_try='test -z "$ac_c_werror_flag"
78718 || test ! -s conftest.err'
78719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78720 (eval $ac_try) 2>&5
78721 ac_status=$?
78722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78723 (exit $ac_status); }; } &&
78724 { ac_try='test -s conftest$ac_exeext'
78725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78726 (eval $ac_try) 2>&5
78727 ac_status=$?
78728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78729 (exit $ac_status); }; }; then
78730 eval "$as_ac_var=yes"
78731 else
78732 echo "$as_me: failed program was:" >&5
78733 sed 's/^/| /' conftest.$ac_ext >&5
78735 eval "$as_ac_var=no"
78737 rm -f conftest.err conftest.$ac_objext \
78738 conftest$ac_exeext conftest.$ac_ext
78740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78742 if test `eval echo '${'$as_ac_var'}'` = yes; then
78743 cat >>confdefs.h <<_ACEOF
78744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78745 _ACEOF
78748 done
78750 else
78752 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78753 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78754 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78755 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78756 echo $ECHO_N "(cached) $ECHO_C" >&6
78757 else
78761 ac_ext=cc
78762 ac_cpp='$CXXCPP $CPPFLAGS'
78763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78767 cat >conftest.$ac_ext <<_ACEOF
78768 /* confdefs.h. */
78769 _ACEOF
78770 cat confdefs.h >>conftest.$ac_ext
78771 cat >>conftest.$ac_ext <<_ACEOF
78772 /* end confdefs.h. */
78773 #include <math.h>
78775 main ()
78777 _ldexpl(0, 0);
78779 return 0;
78781 _ACEOF
78782 rm -f conftest.$ac_objext
78783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78784 (eval $ac_compile) 2>conftest.er1
78785 ac_status=$?
78786 grep -v '^ *+' conftest.er1 >conftest.err
78787 rm -f conftest.er1
78788 cat conftest.err >&5
78789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78790 (exit $ac_status); } &&
78791 { ac_try='test -z "$ac_cxx_werror_flag"
78792 || test ! -s conftest.err'
78793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78794 (eval $ac_try) 2>&5
78795 ac_status=$?
78796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797 (exit $ac_status); }; } &&
78798 { ac_try='test -s conftest.$ac_objext'
78799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78800 (eval $ac_try) 2>&5
78801 ac_status=$?
78802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78803 (exit $ac_status); }; }; then
78804 glibcxx_cv_func__ldexpl_use=yes
78805 else
78806 echo "$as_me: failed program was:" >&5
78807 sed 's/^/| /' conftest.$ac_ext >&5
78809 glibcxx_cv_func__ldexpl_use=no
78811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78812 ac_ext=c
78813 ac_cpp='$CPP $CPPFLAGS'
78814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78822 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78823 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78825 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78827 for ac_func in _ldexpl
78829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78830 echo "$as_me:$LINENO: checking for $ac_func" >&5
78831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78832 if eval "test \"\${$as_ac_var+set}\" = set"; then
78833 echo $ECHO_N "(cached) $ECHO_C" >&6
78834 else
78835 if test x$gcc_no_link = xyes; then
78836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78838 { (exit 1); exit 1; }; }
78840 cat >conftest.$ac_ext <<_ACEOF
78841 /* confdefs.h. */
78842 _ACEOF
78843 cat confdefs.h >>conftest.$ac_ext
78844 cat >>conftest.$ac_ext <<_ACEOF
78845 /* end confdefs.h. */
78846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78848 #define $ac_func innocuous_$ac_func
78850 /* System header to define __stub macros and hopefully few prototypes,
78851 which can conflict with char $ac_func (); below.
78852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78853 <limits.h> exists even on freestanding compilers. */
78855 #ifdef __STDC__
78856 # include <limits.h>
78857 #else
78858 # include <assert.h>
78859 #endif
78861 #undef $ac_func
78863 /* Override any gcc2 internal prototype to avoid an error. */
78864 #ifdef __cplusplus
78865 extern "C"
78867 #endif
78868 /* We use char because int might match the return type of a gcc2
78869 builtin and then its argument prototype would still apply. */
78870 char $ac_func ();
78871 /* The GNU C library defines this for functions which it implements
78872 to always fail with ENOSYS. Some functions are actually named
78873 something starting with __ and the normal name is an alias. */
78874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78875 choke me
78876 #else
78877 char (*f) () = $ac_func;
78878 #endif
78879 #ifdef __cplusplus
78881 #endif
78884 main ()
78886 return f != $ac_func;
78888 return 0;
78890 _ACEOF
78891 rm -f conftest.$ac_objext conftest$ac_exeext
78892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78893 (eval $ac_link) 2>conftest.er1
78894 ac_status=$?
78895 grep -v '^ *+' conftest.er1 >conftest.err
78896 rm -f conftest.er1
78897 cat conftest.err >&5
78898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78899 (exit $ac_status); } &&
78900 { ac_try='test -z "$ac_c_werror_flag"
78901 || test ! -s conftest.err'
78902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78903 (eval $ac_try) 2>&5
78904 ac_status=$?
78905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78906 (exit $ac_status); }; } &&
78907 { ac_try='test -s conftest$ac_exeext'
78908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78909 (eval $ac_try) 2>&5
78910 ac_status=$?
78911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78912 (exit $ac_status); }; }; then
78913 eval "$as_ac_var=yes"
78914 else
78915 echo "$as_me: failed program was:" >&5
78916 sed 's/^/| /' conftest.$ac_ext >&5
78918 eval "$as_ac_var=no"
78920 rm -f conftest.err conftest.$ac_objext \
78921 conftest$ac_exeext conftest.$ac_ext
78923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78925 if test `eval echo '${'$as_ac_var'}'` = yes; then
78926 cat >>confdefs.h <<_ACEOF
78927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78928 _ACEOF
78931 done
78941 echo "$as_me:$LINENO: checking for logl declaration" >&5
78942 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78943 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78944 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78945 echo $ECHO_N "(cached) $ECHO_C" >&6
78946 else
78950 ac_ext=cc
78951 ac_cpp='$CXXCPP $CPPFLAGS'
78952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78956 cat >conftest.$ac_ext <<_ACEOF
78957 /* confdefs.h. */
78958 _ACEOF
78959 cat confdefs.h >>conftest.$ac_ext
78960 cat >>conftest.$ac_ext <<_ACEOF
78961 /* end confdefs.h. */
78962 #include <math.h>
78963 #ifdef HAVE_IEEEFP_H
78964 #include <ieeefp.h>
78965 #endif
78968 main ()
78970 logl(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_logl_use=yes
78998 else
78999 echo "$as_me: failed program was:" >&5
79000 sed 's/^/| /' conftest.$ac_ext >&5
79002 glibcxx_cv_func_logl_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_logl_use" >&5
79016 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79018 if test x$glibcxx_cv_func_logl_use = x"yes"; then
79020 for ac_func in logl
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
79126 else
79128 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79129 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79130 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79131 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79132 echo $ECHO_N "(cached) $ECHO_C" >&6
79133 else
79137 ac_ext=cc
79138 ac_cpp='$CXXCPP $CPPFLAGS'
79139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79143 cat >conftest.$ac_ext <<_ACEOF
79144 /* confdefs.h. */
79145 _ACEOF
79146 cat confdefs.h >>conftest.$ac_ext
79147 cat >>conftest.$ac_ext <<_ACEOF
79148 /* end confdefs.h. */
79149 #include <math.h>
79150 #ifdef HAVE_IEEEFP_H
79151 #include <ieeefp.h>
79152 #endif
79155 main ()
79157 _logl(0);
79159 return 0;
79161 _ACEOF
79162 rm -f conftest.$ac_objext
79163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79164 (eval $ac_compile) 2>conftest.er1
79165 ac_status=$?
79166 grep -v '^ *+' conftest.er1 >conftest.err
79167 rm -f conftest.er1
79168 cat conftest.err >&5
79169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79170 (exit $ac_status); } &&
79171 { ac_try='test -z "$ac_cxx_werror_flag"
79172 || test ! -s conftest.err'
79173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79174 (eval $ac_try) 2>&5
79175 ac_status=$?
79176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79177 (exit $ac_status); }; } &&
79178 { ac_try='test -s conftest.$ac_objext'
79179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79180 (eval $ac_try) 2>&5
79181 ac_status=$?
79182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79183 (exit $ac_status); }; }; then
79184 glibcxx_cv_func__logl_use=yes
79185 else
79186 echo "$as_me: failed program was:" >&5
79187 sed 's/^/| /' conftest.$ac_ext >&5
79189 glibcxx_cv_func__logl_use=no
79191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79192 ac_ext=c
79193 ac_cpp='$CPP $CPPFLAGS'
79194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79203 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79205 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79207 for ac_func in _logl
79209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79210 echo "$as_me:$LINENO: checking for $ac_func" >&5
79211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79212 if eval "test \"\${$as_ac_var+set}\" = set"; then
79213 echo $ECHO_N "(cached) $ECHO_C" >&6
79214 else
79215 if test x$gcc_no_link = xyes; then
79216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79218 { (exit 1); exit 1; }; }
79220 cat >conftest.$ac_ext <<_ACEOF
79221 /* confdefs.h. */
79222 _ACEOF
79223 cat confdefs.h >>conftest.$ac_ext
79224 cat >>conftest.$ac_ext <<_ACEOF
79225 /* end confdefs.h. */
79226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79228 #define $ac_func innocuous_$ac_func
79230 /* System header to define __stub macros and hopefully few prototypes,
79231 which can conflict with char $ac_func (); below.
79232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79233 <limits.h> exists even on freestanding compilers. */
79235 #ifdef __STDC__
79236 # include <limits.h>
79237 #else
79238 # include <assert.h>
79239 #endif
79241 #undef $ac_func
79243 /* Override any gcc2 internal prototype to avoid an error. */
79244 #ifdef __cplusplus
79245 extern "C"
79247 #endif
79248 /* We use char because int might match the return type of a gcc2
79249 builtin and then its argument prototype would still apply. */
79250 char $ac_func ();
79251 /* The GNU C library defines this for functions which it implements
79252 to always fail with ENOSYS. Some functions are actually named
79253 something starting with __ and the normal name is an alias. */
79254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79255 choke me
79256 #else
79257 char (*f) () = $ac_func;
79258 #endif
79259 #ifdef __cplusplus
79261 #endif
79264 main ()
79266 return f != $ac_func;
79268 return 0;
79270 _ACEOF
79271 rm -f conftest.$ac_objext conftest$ac_exeext
79272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79273 (eval $ac_link) 2>conftest.er1
79274 ac_status=$?
79275 grep -v '^ *+' conftest.er1 >conftest.err
79276 rm -f conftest.er1
79277 cat conftest.err >&5
79278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79279 (exit $ac_status); } &&
79280 { ac_try='test -z "$ac_c_werror_flag"
79281 || test ! -s conftest.err'
79282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79283 (eval $ac_try) 2>&5
79284 ac_status=$?
79285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79286 (exit $ac_status); }; } &&
79287 { ac_try='test -s conftest$ac_exeext'
79288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79289 (eval $ac_try) 2>&5
79290 ac_status=$?
79291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79292 (exit $ac_status); }; }; then
79293 eval "$as_ac_var=yes"
79294 else
79295 echo "$as_me: failed program was:" >&5
79296 sed 's/^/| /' conftest.$ac_ext >&5
79298 eval "$as_ac_var=no"
79300 rm -f conftest.err conftest.$ac_objext \
79301 conftest$ac_exeext conftest.$ac_ext
79303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79305 if test `eval echo '${'$as_ac_var'}'` = yes; then
79306 cat >>confdefs.h <<_ACEOF
79307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79308 _ACEOF
79311 done
79321 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79322 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79323 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79324 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79325 echo $ECHO_N "(cached) $ECHO_C" >&6
79326 else
79330 ac_ext=cc
79331 ac_cpp='$CXXCPP $CPPFLAGS'
79332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79336 cat >conftest.$ac_ext <<_ACEOF
79337 /* confdefs.h. */
79338 _ACEOF
79339 cat confdefs.h >>conftest.$ac_ext
79340 cat >>conftest.$ac_ext <<_ACEOF
79341 /* end confdefs.h. */
79342 #include <math.h>
79343 #ifdef HAVE_IEEEFP_H
79344 #include <ieeefp.h>
79345 #endif
79348 main ()
79350 log10l(0);
79352 return 0;
79354 _ACEOF
79355 rm -f conftest.$ac_objext
79356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79357 (eval $ac_compile) 2>conftest.er1
79358 ac_status=$?
79359 grep -v '^ *+' conftest.er1 >conftest.err
79360 rm -f conftest.er1
79361 cat conftest.err >&5
79362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79363 (exit $ac_status); } &&
79364 { ac_try='test -z "$ac_cxx_werror_flag"
79365 || test ! -s conftest.err'
79366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79367 (eval $ac_try) 2>&5
79368 ac_status=$?
79369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79370 (exit $ac_status); }; } &&
79371 { ac_try='test -s conftest.$ac_objext'
79372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79373 (eval $ac_try) 2>&5
79374 ac_status=$?
79375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79376 (exit $ac_status); }; }; then
79377 glibcxx_cv_func_log10l_use=yes
79378 else
79379 echo "$as_me: failed program was:" >&5
79380 sed 's/^/| /' conftest.$ac_ext >&5
79382 glibcxx_cv_func_log10l_use=no
79384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79385 ac_ext=c
79386 ac_cpp='$CPP $CPPFLAGS'
79387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79396 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79398 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79400 for ac_func in log10l
79402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79403 echo "$as_me:$LINENO: checking for $ac_func" >&5
79404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79405 if eval "test \"\${$as_ac_var+set}\" = set"; then
79406 echo $ECHO_N "(cached) $ECHO_C" >&6
79407 else
79408 if test x$gcc_no_link = xyes; then
79409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79411 { (exit 1); exit 1; }; }
79413 cat >conftest.$ac_ext <<_ACEOF
79414 /* confdefs.h. */
79415 _ACEOF
79416 cat confdefs.h >>conftest.$ac_ext
79417 cat >>conftest.$ac_ext <<_ACEOF
79418 /* end confdefs.h. */
79419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79421 #define $ac_func innocuous_$ac_func
79423 /* System header to define __stub macros and hopefully few prototypes,
79424 which can conflict with char $ac_func (); below.
79425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79426 <limits.h> exists even on freestanding compilers. */
79428 #ifdef __STDC__
79429 # include <limits.h>
79430 #else
79431 # include <assert.h>
79432 #endif
79434 #undef $ac_func
79436 /* Override any gcc2 internal prototype to avoid an error. */
79437 #ifdef __cplusplus
79438 extern "C"
79440 #endif
79441 /* We use char because int might match the return type of a gcc2
79442 builtin and then its argument prototype would still apply. */
79443 char $ac_func ();
79444 /* The GNU C library defines this for functions which it implements
79445 to always fail with ENOSYS. Some functions are actually named
79446 something starting with __ and the normal name is an alias. */
79447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79448 choke me
79449 #else
79450 char (*f) () = $ac_func;
79451 #endif
79452 #ifdef __cplusplus
79454 #endif
79457 main ()
79459 return f != $ac_func;
79461 return 0;
79463 _ACEOF
79464 rm -f conftest.$ac_objext conftest$ac_exeext
79465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79466 (eval $ac_link) 2>conftest.er1
79467 ac_status=$?
79468 grep -v '^ *+' conftest.er1 >conftest.err
79469 rm -f conftest.er1
79470 cat conftest.err >&5
79471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79472 (exit $ac_status); } &&
79473 { ac_try='test -z "$ac_c_werror_flag"
79474 || test ! -s conftest.err'
79475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79476 (eval $ac_try) 2>&5
79477 ac_status=$?
79478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79479 (exit $ac_status); }; } &&
79480 { ac_try='test -s conftest$ac_exeext'
79481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79482 (eval $ac_try) 2>&5
79483 ac_status=$?
79484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79485 (exit $ac_status); }; }; then
79486 eval "$as_ac_var=yes"
79487 else
79488 echo "$as_me: failed program was:" >&5
79489 sed 's/^/| /' conftest.$ac_ext >&5
79491 eval "$as_ac_var=no"
79493 rm -f conftest.err conftest.$ac_objext \
79494 conftest$ac_exeext conftest.$ac_ext
79496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79498 if test `eval echo '${'$as_ac_var'}'` = yes; then
79499 cat >>confdefs.h <<_ACEOF
79500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79501 _ACEOF
79504 done
79506 else
79508 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79509 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79510 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79511 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79512 echo $ECHO_N "(cached) $ECHO_C" >&6
79513 else
79517 ac_ext=cc
79518 ac_cpp='$CXXCPP $CPPFLAGS'
79519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79523 cat >conftest.$ac_ext <<_ACEOF
79524 /* confdefs.h. */
79525 _ACEOF
79526 cat confdefs.h >>conftest.$ac_ext
79527 cat >>conftest.$ac_ext <<_ACEOF
79528 /* end confdefs.h. */
79529 #include <math.h>
79530 #ifdef HAVE_IEEEFP_H
79531 #include <ieeefp.h>
79532 #endif
79535 main ()
79537 _log10l(0);
79539 return 0;
79541 _ACEOF
79542 rm -f conftest.$ac_objext
79543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79544 (eval $ac_compile) 2>conftest.er1
79545 ac_status=$?
79546 grep -v '^ *+' conftest.er1 >conftest.err
79547 rm -f conftest.er1
79548 cat conftest.err >&5
79549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79550 (exit $ac_status); } &&
79551 { ac_try='test -z "$ac_cxx_werror_flag"
79552 || test ! -s conftest.err'
79553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79554 (eval $ac_try) 2>&5
79555 ac_status=$?
79556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79557 (exit $ac_status); }; } &&
79558 { ac_try='test -s conftest.$ac_objext'
79559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79560 (eval $ac_try) 2>&5
79561 ac_status=$?
79562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79563 (exit $ac_status); }; }; then
79564 glibcxx_cv_func__log10l_use=yes
79565 else
79566 echo "$as_me: failed program was:" >&5
79567 sed 's/^/| /' conftest.$ac_ext >&5
79569 glibcxx_cv_func__log10l_use=no
79571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79572 ac_ext=c
79573 ac_cpp='$CPP $CPPFLAGS'
79574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79583 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79585 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79587 for ac_func in _log10l
79589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79590 echo "$as_me:$LINENO: checking for $ac_func" >&5
79591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79592 if eval "test \"\${$as_ac_var+set}\" = set"; then
79593 echo $ECHO_N "(cached) $ECHO_C" >&6
79594 else
79595 if test x$gcc_no_link = xyes; then
79596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79598 { (exit 1); exit 1; }; }
79600 cat >conftest.$ac_ext <<_ACEOF
79601 /* confdefs.h. */
79602 _ACEOF
79603 cat confdefs.h >>conftest.$ac_ext
79604 cat >>conftest.$ac_ext <<_ACEOF
79605 /* end confdefs.h. */
79606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79608 #define $ac_func innocuous_$ac_func
79610 /* System header to define __stub macros and hopefully few prototypes,
79611 which can conflict with char $ac_func (); below.
79612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79613 <limits.h> exists even on freestanding compilers. */
79615 #ifdef __STDC__
79616 # include <limits.h>
79617 #else
79618 # include <assert.h>
79619 #endif
79621 #undef $ac_func
79623 /* Override any gcc2 internal prototype to avoid an error. */
79624 #ifdef __cplusplus
79625 extern "C"
79627 #endif
79628 /* We use char because int might match the return type of a gcc2
79629 builtin and then its argument prototype would still apply. */
79630 char $ac_func ();
79631 /* The GNU C library defines this for functions which it implements
79632 to always fail with ENOSYS. Some functions are actually named
79633 something starting with __ and the normal name is an alias. */
79634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79635 choke me
79636 #else
79637 char (*f) () = $ac_func;
79638 #endif
79639 #ifdef __cplusplus
79641 #endif
79644 main ()
79646 return f != $ac_func;
79648 return 0;
79650 _ACEOF
79651 rm -f conftest.$ac_objext conftest$ac_exeext
79652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79653 (eval $ac_link) 2>conftest.er1
79654 ac_status=$?
79655 grep -v '^ *+' conftest.er1 >conftest.err
79656 rm -f conftest.er1
79657 cat conftest.err >&5
79658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659 (exit $ac_status); } &&
79660 { ac_try='test -z "$ac_c_werror_flag"
79661 || test ! -s conftest.err'
79662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79663 (eval $ac_try) 2>&5
79664 ac_status=$?
79665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79666 (exit $ac_status); }; } &&
79667 { ac_try='test -s conftest$ac_exeext'
79668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79669 (eval $ac_try) 2>&5
79670 ac_status=$?
79671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79672 (exit $ac_status); }; }; then
79673 eval "$as_ac_var=yes"
79674 else
79675 echo "$as_me: failed program was:" >&5
79676 sed 's/^/| /' conftest.$ac_ext >&5
79678 eval "$as_ac_var=no"
79680 rm -f conftest.err conftest.$ac_objext \
79681 conftest$ac_exeext conftest.$ac_ext
79683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79685 if test `eval echo '${'$as_ac_var'}'` = yes; then
79686 cat >>confdefs.h <<_ACEOF
79687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79688 _ACEOF
79691 done
79701 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79702 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79703 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79704 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79705 echo $ECHO_N "(cached) $ECHO_C" >&6
79706 else
79710 ac_ext=cc
79711 ac_cpp='$CXXCPP $CPPFLAGS'
79712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79716 cat >conftest.$ac_ext <<_ACEOF
79717 /* confdefs.h. */
79718 _ACEOF
79719 cat confdefs.h >>conftest.$ac_ext
79720 cat >>conftest.$ac_ext <<_ACEOF
79721 /* end confdefs.h. */
79722 #include <math.h>
79724 main ()
79726 modfl(0, 0);
79728 return 0;
79730 _ACEOF
79731 rm -f conftest.$ac_objext
79732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79733 (eval $ac_compile) 2>conftest.er1
79734 ac_status=$?
79735 grep -v '^ *+' conftest.er1 >conftest.err
79736 rm -f conftest.er1
79737 cat conftest.err >&5
79738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79739 (exit $ac_status); } &&
79740 { ac_try='test -z "$ac_cxx_werror_flag"
79741 || test ! -s conftest.err'
79742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79743 (eval $ac_try) 2>&5
79744 ac_status=$?
79745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79746 (exit $ac_status); }; } &&
79747 { ac_try='test -s conftest.$ac_objext'
79748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79749 (eval $ac_try) 2>&5
79750 ac_status=$?
79751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79752 (exit $ac_status); }; }; then
79753 glibcxx_cv_func_modfl_use=yes
79754 else
79755 echo "$as_me: failed program was:" >&5
79756 sed 's/^/| /' conftest.$ac_ext >&5
79758 glibcxx_cv_func_modfl_use=no
79760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79761 ac_ext=c
79762 ac_cpp='$CPP $CPPFLAGS'
79763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79772 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79774 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79776 for ac_func in modfl
79778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79779 echo "$as_me:$LINENO: checking for $ac_func" >&5
79780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79781 if eval "test \"\${$as_ac_var+set}\" = set"; then
79782 echo $ECHO_N "(cached) $ECHO_C" >&6
79783 else
79784 if test x$gcc_no_link = xyes; then
79785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79787 { (exit 1); exit 1; }; }
79789 cat >conftest.$ac_ext <<_ACEOF
79790 /* confdefs.h. */
79791 _ACEOF
79792 cat confdefs.h >>conftest.$ac_ext
79793 cat >>conftest.$ac_ext <<_ACEOF
79794 /* end confdefs.h. */
79795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79797 #define $ac_func innocuous_$ac_func
79799 /* System header to define __stub macros and hopefully few prototypes,
79800 which can conflict with char $ac_func (); below.
79801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79802 <limits.h> exists even on freestanding compilers. */
79804 #ifdef __STDC__
79805 # include <limits.h>
79806 #else
79807 # include <assert.h>
79808 #endif
79810 #undef $ac_func
79812 /* Override any gcc2 internal prototype to avoid an error. */
79813 #ifdef __cplusplus
79814 extern "C"
79816 #endif
79817 /* We use char because int might match the return type of a gcc2
79818 builtin and then its argument prototype would still apply. */
79819 char $ac_func ();
79820 /* The GNU C library defines this for functions which it implements
79821 to always fail with ENOSYS. Some functions are actually named
79822 something starting with __ and the normal name is an alias. */
79823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79824 choke me
79825 #else
79826 char (*f) () = $ac_func;
79827 #endif
79828 #ifdef __cplusplus
79830 #endif
79833 main ()
79835 return f != $ac_func;
79837 return 0;
79839 _ACEOF
79840 rm -f conftest.$ac_objext conftest$ac_exeext
79841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79842 (eval $ac_link) 2>conftest.er1
79843 ac_status=$?
79844 grep -v '^ *+' conftest.er1 >conftest.err
79845 rm -f conftest.er1
79846 cat conftest.err >&5
79847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79848 (exit $ac_status); } &&
79849 { ac_try='test -z "$ac_c_werror_flag"
79850 || test ! -s conftest.err'
79851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79852 (eval $ac_try) 2>&5
79853 ac_status=$?
79854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855 (exit $ac_status); }; } &&
79856 { ac_try='test -s conftest$ac_exeext'
79857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79858 (eval $ac_try) 2>&5
79859 ac_status=$?
79860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79861 (exit $ac_status); }; }; then
79862 eval "$as_ac_var=yes"
79863 else
79864 echo "$as_me: failed program was:" >&5
79865 sed 's/^/| /' conftest.$ac_ext >&5
79867 eval "$as_ac_var=no"
79869 rm -f conftest.err conftest.$ac_objext \
79870 conftest$ac_exeext conftest.$ac_ext
79872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79874 if test `eval echo '${'$as_ac_var'}'` = yes; then
79875 cat >>confdefs.h <<_ACEOF
79876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79877 _ACEOF
79880 done
79882 else
79884 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79885 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79886 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79887 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79888 echo $ECHO_N "(cached) $ECHO_C" >&6
79889 else
79893 ac_ext=cc
79894 ac_cpp='$CXXCPP $CPPFLAGS'
79895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79899 cat >conftest.$ac_ext <<_ACEOF
79900 /* confdefs.h. */
79901 _ACEOF
79902 cat confdefs.h >>conftest.$ac_ext
79903 cat >>conftest.$ac_ext <<_ACEOF
79904 /* end confdefs.h. */
79905 #include <math.h>
79907 main ()
79909 _modfl(0, 0);
79911 return 0;
79913 _ACEOF
79914 rm -f conftest.$ac_objext
79915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79916 (eval $ac_compile) 2>conftest.er1
79917 ac_status=$?
79918 grep -v '^ *+' conftest.er1 >conftest.err
79919 rm -f conftest.er1
79920 cat conftest.err >&5
79921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79922 (exit $ac_status); } &&
79923 { ac_try='test -z "$ac_cxx_werror_flag"
79924 || test ! -s conftest.err'
79925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79926 (eval $ac_try) 2>&5
79927 ac_status=$?
79928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79929 (exit $ac_status); }; } &&
79930 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
79936 glibcxx_cv_func__modfl_use=yes
79937 else
79938 echo "$as_me: failed program was:" >&5
79939 sed 's/^/| /' conftest.$ac_ext >&5
79941 glibcxx_cv_func__modfl_use=no
79943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79944 ac_ext=c
79945 ac_cpp='$CPP $CPPFLAGS'
79946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79955 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79957 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79959 for ac_func in _modfl
79961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79962 echo "$as_me:$LINENO: checking for $ac_func" >&5
79963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79964 if eval "test \"\${$as_ac_var+set}\" = set"; then
79965 echo $ECHO_N "(cached) $ECHO_C" >&6
79966 else
79967 if test x$gcc_no_link = xyes; then
79968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79970 { (exit 1); exit 1; }; }
79972 cat >conftest.$ac_ext <<_ACEOF
79973 /* confdefs.h. */
79974 _ACEOF
79975 cat confdefs.h >>conftest.$ac_ext
79976 cat >>conftest.$ac_ext <<_ACEOF
79977 /* end confdefs.h. */
79978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79980 #define $ac_func innocuous_$ac_func
79982 /* System header to define __stub macros and hopefully few prototypes,
79983 which can conflict with char $ac_func (); below.
79984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79985 <limits.h> exists even on freestanding compilers. */
79987 #ifdef __STDC__
79988 # include <limits.h>
79989 #else
79990 # include <assert.h>
79991 #endif
79993 #undef $ac_func
79995 /* Override any gcc2 internal prototype to avoid an error. */
79996 #ifdef __cplusplus
79997 extern "C"
79999 #endif
80000 /* We use char because int might match the return type of a gcc2
80001 builtin and then its argument prototype would still apply. */
80002 char $ac_func ();
80003 /* The GNU C library defines this for functions which it implements
80004 to always fail with ENOSYS. Some functions are actually named
80005 something starting with __ and the normal name is an alias. */
80006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80007 choke me
80008 #else
80009 char (*f) () = $ac_func;
80010 #endif
80011 #ifdef __cplusplus
80013 #endif
80016 main ()
80018 return f != $ac_func;
80020 return 0;
80022 _ACEOF
80023 rm -f conftest.$ac_objext conftest$ac_exeext
80024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80025 (eval $ac_link) 2>conftest.er1
80026 ac_status=$?
80027 grep -v '^ *+' conftest.er1 >conftest.err
80028 rm -f conftest.er1
80029 cat conftest.err >&5
80030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80031 (exit $ac_status); } &&
80032 { ac_try='test -z "$ac_c_werror_flag"
80033 || test ! -s conftest.err'
80034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80035 (eval $ac_try) 2>&5
80036 ac_status=$?
80037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80038 (exit $ac_status); }; } &&
80039 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
80045 eval "$as_ac_var=yes"
80046 else
80047 echo "$as_me: failed program was:" >&5
80048 sed 's/^/| /' conftest.$ac_ext >&5
80050 eval "$as_ac_var=no"
80052 rm -f conftest.err conftest.$ac_objext \
80053 conftest$ac_exeext conftest.$ac_ext
80055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80057 if test `eval echo '${'$as_ac_var'}'` = yes; then
80058 cat >>confdefs.h <<_ACEOF
80059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80060 _ACEOF
80063 done
80073 echo "$as_me:$LINENO: checking for powl declaration" >&5
80074 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80075 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80076 if test "${glibcxx_cv_func_powl_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>
80096 main ()
80098 powl(0, 0);
80100 return 0;
80102 _ACEOF
80103 rm -f conftest.$ac_objext
80104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80105 (eval $ac_compile) 2>conftest.er1
80106 ac_status=$?
80107 grep -v '^ *+' conftest.er1 >conftest.err
80108 rm -f conftest.er1
80109 cat conftest.err >&5
80110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80111 (exit $ac_status); } &&
80112 { ac_try='test -z "$ac_cxx_werror_flag"
80113 || test ! -s conftest.err'
80114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80115 (eval $ac_try) 2>&5
80116 ac_status=$?
80117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80118 (exit $ac_status); }; } &&
80119 { ac_try='test -s conftest.$ac_objext'
80120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80121 (eval $ac_try) 2>&5
80122 ac_status=$?
80123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80124 (exit $ac_status); }; }; then
80125 glibcxx_cv_func_powl_use=yes
80126 else
80127 echo "$as_me: failed program was:" >&5
80128 sed 's/^/| /' conftest.$ac_ext >&5
80130 glibcxx_cv_func_powl_use=no
80132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80133 ac_ext=c
80134 ac_cpp='$CPP $CPPFLAGS'
80135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80144 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80146 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80148 for ac_func in powl
80150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80151 echo "$as_me:$LINENO: checking for $ac_func" >&5
80152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80153 if eval "test \"\${$as_ac_var+set}\" = set"; then
80154 echo $ECHO_N "(cached) $ECHO_C" >&6
80155 else
80156 if test x$gcc_no_link = xyes; then
80157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80159 { (exit 1); exit 1; }; }
80161 cat >conftest.$ac_ext <<_ACEOF
80162 /* confdefs.h. */
80163 _ACEOF
80164 cat confdefs.h >>conftest.$ac_ext
80165 cat >>conftest.$ac_ext <<_ACEOF
80166 /* end confdefs.h. */
80167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80169 #define $ac_func innocuous_$ac_func
80171 /* System header to define __stub macros and hopefully few prototypes,
80172 which can conflict with char $ac_func (); below.
80173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80174 <limits.h> exists even on freestanding compilers. */
80176 #ifdef __STDC__
80177 # include <limits.h>
80178 #else
80179 # include <assert.h>
80180 #endif
80182 #undef $ac_func
80184 /* Override any gcc2 internal prototype to avoid an error. */
80185 #ifdef __cplusplus
80186 extern "C"
80188 #endif
80189 /* We use char because int might match the return type of a gcc2
80190 builtin and then its argument prototype would still apply. */
80191 char $ac_func ();
80192 /* The GNU C library defines this for functions which it implements
80193 to always fail with ENOSYS. Some functions are actually named
80194 something starting with __ and the normal name is an alias. */
80195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80196 choke me
80197 #else
80198 char (*f) () = $ac_func;
80199 #endif
80200 #ifdef __cplusplus
80202 #endif
80205 main ()
80207 return f != $ac_func;
80209 return 0;
80211 _ACEOF
80212 rm -f conftest.$ac_objext conftest$ac_exeext
80213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80214 (eval $ac_link) 2>conftest.er1
80215 ac_status=$?
80216 grep -v '^ *+' conftest.er1 >conftest.err
80217 rm -f conftest.er1
80218 cat conftest.err >&5
80219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80220 (exit $ac_status); } &&
80221 { ac_try='test -z "$ac_c_werror_flag"
80222 || test ! -s conftest.err'
80223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80224 (eval $ac_try) 2>&5
80225 ac_status=$?
80226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80227 (exit $ac_status); }; } &&
80228 { ac_try='test -s conftest$ac_exeext'
80229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80230 (eval $ac_try) 2>&5
80231 ac_status=$?
80232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80233 (exit $ac_status); }; }; then
80234 eval "$as_ac_var=yes"
80235 else
80236 echo "$as_me: failed program was:" >&5
80237 sed 's/^/| /' conftest.$ac_ext >&5
80239 eval "$as_ac_var=no"
80241 rm -f conftest.err conftest.$ac_objext \
80242 conftest$ac_exeext conftest.$ac_ext
80244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80246 if test `eval echo '${'$as_ac_var'}'` = yes; then
80247 cat >>confdefs.h <<_ACEOF
80248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80249 _ACEOF
80252 done
80254 else
80256 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80257 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80258 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80259 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80260 echo $ECHO_N "(cached) $ECHO_C" >&6
80261 else
80265 ac_ext=cc
80266 ac_cpp='$CXXCPP $CPPFLAGS'
80267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80271 cat >conftest.$ac_ext <<_ACEOF
80272 /* confdefs.h. */
80273 _ACEOF
80274 cat confdefs.h >>conftest.$ac_ext
80275 cat >>conftest.$ac_ext <<_ACEOF
80276 /* end confdefs.h. */
80277 #include <math.h>
80279 main ()
80281 _powl(0, 0);
80283 return 0;
80285 _ACEOF
80286 rm -f conftest.$ac_objext
80287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80288 (eval $ac_compile) 2>conftest.er1
80289 ac_status=$?
80290 grep -v '^ *+' conftest.er1 >conftest.err
80291 rm -f conftest.er1
80292 cat conftest.err >&5
80293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80294 (exit $ac_status); } &&
80295 { ac_try='test -z "$ac_cxx_werror_flag"
80296 || test ! -s conftest.err'
80297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80298 (eval $ac_try) 2>&5
80299 ac_status=$?
80300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80301 (exit $ac_status); }; } &&
80302 { ac_try='test -s conftest.$ac_objext'
80303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80304 (eval $ac_try) 2>&5
80305 ac_status=$?
80306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80307 (exit $ac_status); }; }; then
80308 glibcxx_cv_func__powl_use=yes
80309 else
80310 echo "$as_me: failed program was:" >&5
80311 sed 's/^/| /' conftest.$ac_ext >&5
80313 glibcxx_cv_func__powl_use=no
80315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80316 ac_ext=c
80317 ac_cpp='$CPP $CPPFLAGS'
80318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80326 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80327 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80329 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80331 for ac_func in _powl
80333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80334 echo "$as_me:$LINENO: checking for $ac_func" >&5
80335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80336 if eval "test \"\${$as_ac_var+set}\" = set"; then
80337 echo $ECHO_N "(cached) $ECHO_C" >&6
80338 else
80339 if test x$gcc_no_link = xyes; then
80340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80342 { (exit 1); exit 1; }; }
80344 cat >conftest.$ac_ext <<_ACEOF
80345 /* confdefs.h. */
80346 _ACEOF
80347 cat confdefs.h >>conftest.$ac_ext
80348 cat >>conftest.$ac_ext <<_ACEOF
80349 /* end confdefs.h. */
80350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80352 #define $ac_func innocuous_$ac_func
80354 /* System header to define __stub macros and hopefully few prototypes,
80355 which can conflict with char $ac_func (); below.
80356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80357 <limits.h> exists even on freestanding compilers. */
80359 #ifdef __STDC__
80360 # include <limits.h>
80361 #else
80362 # include <assert.h>
80363 #endif
80365 #undef $ac_func
80367 /* Override any gcc2 internal prototype to avoid an error. */
80368 #ifdef __cplusplus
80369 extern "C"
80371 #endif
80372 /* We use char because int might match the return type of a gcc2
80373 builtin and then its argument prototype would still apply. */
80374 char $ac_func ();
80375 /* The GNU C library defines this for functions which it implements
80376 to always fail with ENOSYS. Some functions are actually named
80377 something starting with __ and the normal name is an alias. */
80378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80379 choke me
80380 #else
80381 char (*f) () = $ac_func;
80382 #endif
80383 #ifdef __cplusplus
80385 #endif
80388 main ()
80390 return f != $ac_func;
80392 return 0;
80394 _ACEOF
80395 rm -f conftest.$ac_objext conftest$ac_exeext
80396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80397 (eval $ac_link) 2>conftest.er1
80398 ac_status=$?
80399 grep -v '^ *+' conftest.er1 >conftest.err
80400 rm -f conftest.er1
80401 cat conftest.err >&5
80402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80403 (exit $ac_status); } &&
80404 { ac_try='test -z "$ac_c_werror_flag"
80405 || test ! -s conftest.err'
80406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80407 (eval $ac_try) 2>&5
80408 ac_status=$?
80409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80410 (exit $ac_status); }; } &&
80411 { ac_try='test -s conftest$ac_exeext'
80412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80413 (eval $ac_try) 2>&5
80414 ac_status=$?
80415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80416 (exit $ac_status); }; }; then
80417 eval "$as_ac_var=yes"
80418 else
80419 echo "$as_me: failed program was:" >&5
80420 sed 's/^/| /' conftest.$ac_ext >&5
80422 eval "$as_ac_var=no"
80424 rm -f conftest.err conftest.$ac_objext \
80425 conftest$ac_exeext conftest.$ac_ext
80427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80429 if test `eval echo '${'$as_ac_var'}'` = yes; then
80430 cat >>confdefs.h <<_ACEOF
80431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80432 _ACEOF
80435 done
80445 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80446 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80447 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80448 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80449 echo $ECHO_N "(cached) $ECHO_C" >&6
80450 else
80454 ac_ext=cc
80455 ac_cpp='$CXXCPP $CPPFLAGS'
80456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80460 cat >conftest.$ac_ext <<_ACEOF
80461 /* confdefs.h. */
80462 _ACEOF
80463 cat confdefs.h >>conftest.$ac_ext
80464 cat >>conftest.$ac_ext <<_ACEOF
80465 /* end confdefs.h. */
80466 #include <math.h>
80467 #ifdef HAVE_IEEEFP_H
80468 #include <ieeefp.h>
80469 #endif
80472 main ()
80474 sqrtl(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_sqrtl_use=yes
80502 else
80503 echo "$as_me: failed program was:" >&5
80504 sed 's/^/| /' conftest.$ac_ext >&5
80506 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
80520 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80522 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80524 for ac_func in sqrtl
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
80630 else
80632 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80633 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80634 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80635 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80636 echo $ECHO_N "(cached) $ECHO_C" >&6
80637 else
80641 ac_ext=cc
80642 ac_cpp='$CXXCPP $CPPFLAGS'
80643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80647 cat >conftest.$ac_ext <<_ACEOF
80648 /* confdefs.h. */
80649 _ACEOF
80650 cat confdefs.h >>conftest.$ac_ext
80651 cat >>conftest.$ac_ext <<_ACEOF
80652 /* end confdefs.h. */
80653 #include <math.h>
80654 #ifdef HAVE_IEEEFP_H
80655 #include <ieeefp.h>
80656 #endif
80659 main ()
80661 _sqrtl(0);
80663 return 0;
80665 _ACEOF
80666 rm -f conftest.$ac_objext
80667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80668 (eval $ac_compile) 2>conftest.er1
80669 ac_status=$?
80670 grep -v '^ *+' conftest.er1 >conftest.err
80671 rm -f conftest.er1
80672 cat conftest.err >&5
80673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80674 (exit $ac_status); } &&
80675 { ac_try='test -z "$ac_cxx_werror_flag"
80676 || test ! -s conftest.err'
80677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80678 (eval $ac_try) 2>&5
80679 ac_status=$?
80680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80681 (exit $ac_status); }; } &&
80682 { ac_try='test -s conftest.$ac_objext'
80683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80684 (eval $ac_try) 2>&5
80685 ac_status=$?
80686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80687 (exit $ac_status); }; }; then
80688 glibcxx_cv_func__sqrtl_use=yes
80689 else
80690 echo "$as_me: failed program was:" >&5
80691 sed 's/^/| /' conftest.$ac_ext >&5
80693 glibcxx_cv_func__sqrtl_use=no
80695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80696 ac_ext=c
80697 ac_cpp='$CPP $CPPFLAGS'
80698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80706 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80707 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80709 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80711 for ac_func in _sqrtl
80713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80714 echo "$as_me:$LINENO: checking for $ac_func" >&5
80715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80716 if eval "test \"\${$as_ac_var+set}\" = set"; then
80717 echo $ECHO_N "(cached) $ECHO_C" >&6
80718 else
80719 if test x$gcc_no_link = xyes; then
80720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80722 { (exit 1); exit 1; }; }
80724 cat >conftest.$ac_ext <<_ACEOF
80725 /* confdefs.h. */
80726 _ACEOF
80727 cat confdefs.h >>conftest.$ac_ext
80728 cat >>conftest.$ac_ext <<_ACEOF
80729 /* end confdefs.h. */
80730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80732 #define $ac_func innocuous_$ac_func
80734 /* System header to define __stub macros and hopefully few prototypes,
80735 which can conflict with char $ac_func (); below.
80736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80737 <limits.h> exists even on freestanding compilers. */
80739 #ifdef __STDC__
80740 # include <limits.h>
80741 #else
80742 # include <assert.h>
80743 #endif
80745 #undef $ac_func
80747 /* Override any gcc2 internal prototype to avoid an error. */
80748 #ifdef __cplusplus
80749 extern "C"
80751 #endif
80752 /* We use char because int might match the return type of a gcc2
80753 builtin and then its argument prototype would still apply. */
80754 char $ac_func ();
80755 /* The GNU C library defines this for functions which it implements
80756 to always fail with ENOSYS. Some functions are actually named
80757 something starting with __ and the normal name is an alias. */
80758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80759 choke me
80760 #else
80761 char (*f) () = $ac_func;
80762 #endif
80763 #ifdef __cplusplus
80765 #endif
80768 main ()
80770 return f != $ac_func;
80772 return 0;
80774 _ACEOF
80775 rm -f conftest.$ac_objext conftest$ac_exeext
80776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80777 (eval $ac_link) 2>conftest.er1
80778 ac_status=$?
80779 grep -v '^ *+' conftest.er1 >conftest.err
80780 rm -f conftest.er1
80781 cat conftest.err >&5
80782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80783 (exit $ac_status); } &&
80784 { ac_try='test -z "$ac_c_werror_flag"
80785 || test ! -s conftest.err'
80786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80787 (eval $ac_try) 2>&5
80788 ac_status=$?
80789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80790 (exit $ac_status); }; } &&
80791 { ac_try='test -s conftest$ac_exeext'
80792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80793 (eval $ac_try) 2>&5
80794 ac_status=$?
80795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80796 (exit $ac_status); }; }; then
80797 eval "$as_ac_var=yes"
80798 else
80799 echo "$as_me: failed program was:" >&5
80800 sed 's/^/| /' conftest.$ac_ext >&5
80802 eval "$as_ac_var=no"
80804 rm -f conftest.err conftest.$ac_objext \
80805 conftest$ac_exeext conftest.$ac_ext
80807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80809 if test `eval echo '${'$as_ac_var'}'` = yes; then
80810 cat >>confdefs.h <<_ACEOF
80811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80812 _ACEOF
80815 done
80825 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80826 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80827 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80828 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80829 echo $ECHO_N "(cached) $ECHO_C" >&6
80830 else
80834 ac_ext=cc
80835 ac_cpp='$CXXCPP $CPPFLAGS'
80836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80840 cat >conftest.$ac_ext <<_ACEOF
80841 /* confdefs.h. */
80842 _ACEOF
80843 cat confdefs.h >>conftest.$ac_ext
80844 cat >>conftest.$ac_ext <<_ACEOF
80845 /* end confdefs.h. */
80846 #include <math.h>
80848 main ()
80850 sincosl(0, 0, 0);
80852 return 0;
80854 _ACEOF
80855 rm -f conftest.$ac_objext
80856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80857 (eval $ac_compile) 2>conftest.er1
80858 ac_status=$?
80859 grep -v '^ *+' conftest.er1 >conftest.err
80860 rm -f conftest.er1
80861 cat conftest.err >&5
80862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80863 (exit $ac_status); } &&
80864 { ac_try='test -z "$ac_cxx_werror_flag"
80865 || test ! -s conftest.err'
80866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80867 (eval $ac_try) 2>&5
80868 ac_status=$?
80869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870 (exit $ac_status); }; } &&
80871 { ac_try='test -s conftest.$ac_objext'
80872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80873 (eval $ac_try) 2>&5
80874 ac_status=$?
80875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80876 (exit $ac_status); }; }; then
80877 glibcxx_cv_func_sincosl_use=yes
80878 else
80879 echo "$as_me: failed program was:" >&5
80880 sed 's/^/| /' conftest.$ac_ext >&5
80882 glibcxx_cv_func_sincosl_use=no
80884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80885 ac_ext=c
80886 ac_cpp='$CPP $CPPFLAGS'
80887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80896 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80898 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80900 for ac_func in sincosl
80902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80903 echo "$as_me:$LINENO: checking for $ac_func" >&5
80904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80905 if eval "test \"\${$as_ac_var+set}\" = set"; then
80906 echo $ECHO_N "(cached) $ECHO_C" >&6
80907 else
80908 if test x$gcc_no_link = xyes; then
80909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80911 { (exit 1); exit 1; }; }
80913 cat >conftest.$ac_ext <<_ACEOF
80914 /* confdefs.h. */
80915 _ACEOF
80916 cat confdefs.h >>conftest.$ac_ext
80917 cat >>conftest.$ac_ext <<_ACEOF
80918 /* end confdefs.h. */
80919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80921 #define $ac_func innocuous_$ac_func
80923 /* System header to define __stub macros and hopefully few prototypes,
80924 which can conflict with char $ac_func (); below.
80925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80926 <limits.h> exists even on freestanding compilers. */
80928 #ifdef __STDC__
80929 # include <limits.h>
80930 #else
80931 # include <assert.h>
80932 #endif
80934 #undef $ac_func
80936 /* Override any gcc2 internal prototype to avoid an error. */
80937 #ifdef __cplusplus
80938 extern "C"
80940 #endif
80941 /* We use char because int might match the return type of a gcc2
80942 builtin and then its argument prototype would still apply. */
80943 char $ac_func ();
80944 /* The GNU C library defines this for functions which it implements
80945 to always fail with ENOSYS. Some functions are actually named
80946 something starting with __ and the normal name is an alias. */
80947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80948 choke me
80949 #else
80950 char (*f) () = $ac_func;
80951 #endif
80952 #ifdef __cplusplus
80954 #endif
80957 main ()
80959 return f != $ac_func;
80961 return 0;
80963 _ACEOF
80964 rm -f conftest.$ac_objext conftest$ac_exeext
80965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80966 (eval $ac_link) 2>conftest.er1
80967 ac_status=$?
80968 grep -v '^ *+' conftest.er1 >conftest.err
80969 rm -f conftest.er1
80970 cat conftest.err >&5
80971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80972 (exit $ac_status); } &&
80973 { ac_try='test -z "$ac_c_werror_flag"
80974 || test ! -s conftest.err'
80975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80976 (eval $ac_try) 2>&5
80977 ac_status=$?
80978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80979 (exit $ac_status); }; } &&
80980 { ac_try='test -s conftest$ac_exeext'
80981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80982 (eval $ac_try) 2>&5
80983 ac_status=$?
80984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80985 (exit $ac_status); }; }; then
80986 eval "$as_ac_var=yes"
80987 else
80988 echo "$as_me: failed program was:" >&5
80989 sed 's/^/| /' conftest.$ac_ext >&5
80991 eval "$as_ac_var=no"
80993 rm -f conftest.err conftest.$ac_objext \
80994 conftest$ac_exeext conftest.$ac_ext
80996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80998 if test `eval echo '${'$as_ac_var'}'` = yes; then
80999 cat >>confdefs.h <<_ACEOF
81000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81001 _ACEOF
81004 done
81006 else
81008 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81009 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81010 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81011 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81012 echo $ECHO_N "(cached) $ECHO_C" >&6
81013 else
81017 ac_ext=cc
81018 ac_cpp='$CXXCPP $CPPFLAGS'
81019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81023 cat >conftest.$ac_ext <<_ACEOF
81024 /* confdefs.h. */
81025 _ACEOF
81026 cat confdefs.h >>conftest.$ac_ext
81027 cat >>conftest.$ac_ext <<_ACEOF
81028 /* end confdefs.h. */
81029 #include <math.h>
81031 main ()
81033 _sincosl(0, 0, 0);
81035 return 0;
81037 _ACEOF
81038 rm -f conftest.$ac_objext
81039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81040 (eval $ac_compile) 2>conftest.er1
81041 ac_status=$?
81042 grep -v '^ *+' conftest.er1 >conftest.err
81043 rm -f conftest.er1
81044 cat conftest.err >&5
81045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81046 (exit $ac_status); } &&
81047 { ac_try='test -z "$ac_cxx_werror_flag"
81048 || test ! -s conftest.err'
81049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81050 (eval $ac_try) 2>&5
81051 ac_status=$?
81052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81053 (exit $ac_status); }; } &&
81054 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
81060 glibcxx_cv_func__sincosl_use=yes
81061 else
81062 echo "$as_me: failed program was:" >&5
81063 sed 's/^/| /' conftest.$ac_ext >&5
81065 glibcxx_cv_func__sincosl_use=no
81067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81068 ac_ext=c
81069 ac_cpp='$CPP $CPPFLAGS'
81070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81079 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81081 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81083 for ac_func in _sincosl
81085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81086 echo "$as_me:$LINENO: checking for $ac_func" >&5
81087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81088 if eval "test \"\${$as_ac_var+set}\" = set"; then
81089 echo $ECHO_N "(cached) $ECHO_C" >&6
81090 else
81091 if test x$gcc_no_link = xyes; then
81092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81094 { (exit 1); exit 1; }; }
81096 cat >conftest.$ac_ext <<_ACEOF
81097 /* confdefs.h. */
81098 _ACEOF
81099 cat confdefs.h >>conftest.$ac_ext
81100 cat >>conftest.$ac_ext <<_ACEOF
81101 /* end confdefs.h. */
81102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81104 #define $ac_func innocuous_$ac_func
81106 /* System header to define __stub macros and hopefully few prototypes,
81107 which can conflict with char $ac_func (); below.
81108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81109 <limits.h> exists even on freestanding compilers. */
81111 #ifdef __STDC__
81112 # include <limits.h>
81113 #else
81114 # include <assert.h>
81115 #endif
81117 #undef $ac_func
81119 /* Override any gcc2 internal prototype to avoid an error. */
81120 #ifdef __cplusplus
81121 extern "C"
81123 #endif
81124 /* We use char because int might match the return type of a gcc2
81125 builtin and then its argument prototype would still apply. */
81126 char $ac_func ();
81127 /* The GNU C library defines this for functions which it implements
81128 to always fail with ENOSYS. Some functions are actually named
81129 something starting with __ and the normal name is an alias. */
81130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81131 choke me
81132 #else
81133 char (*f) () = $ac_func;
81134 #endif
81135 #ifdef __cplusplus
81137 #endif
81140 main ()
81142 return f != $ac_func;
81144 return 0;
81146 _ACEOF
81147 rm -f conftest.$ac_objext conftest$ac_exeext
81148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81149 (eval $ac_link) 2>conftest.er1
81150 ac_status=$?
81151 grep -v '^ *+' conftest.er1 >conftest.err
81152 rm -f conftest.er1
81153 cat conftest.err >&5
81154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81155 (exit $ac_status); } &&
81156 { ac_try='test -z "$ac_c_werror_flag"
81157 || test ! -s conftest.err'
81158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81159 (eval $ac_try) 2>&5
81160 ac_status=$?
81161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81162 (exit $ac_status); }; } &&
81163 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
81169 eval "$as_ac_var=yes"
81170 else
81171 echo "$as_me: failed program was:" >&5
81172 sed 's/^/| /' conftest.$ac_ext >&5
81174 eval "$as_ac_var=no"
81176 rm -f conftest.err conftest.$ac_objext \
81177 conftest$ac_exeext conftest.$ac_ext
81179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81181 if test `eval echo '${'$as_ac_var'}'` = yes; then
81182 cat >>confdefs.h <<_ACEOF
81183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81184 _ACEOF
81187 done
81197 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81198 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81199 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81200 if test "${glibcxx_cv_func_finitel_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 finitel(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_finitel_use=yes
81254 else
81255 echo "$as_me: failed program was:" >&5
81256 sed 's/^/| /' conftest.$ac_ext >&5
81258 glibcxx_cv_func_finitel_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_finitel_use" >&5
81272 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81274 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81276 for ac_func in finitel
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
81382 else
81384 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81385 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81386 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81387 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81388 echo $ECHO_N "(cached) $ECHO_C" >&6
81389 else
81393 ac_ext=cc
81394 ac_cpp='$CXXCPP $CPPFLAGS'
81395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81399 cat >conftest.$ac_ext <<_ACEOF
81400 /* confdefs.h. */
81401 _ACEOF
81402 cat confdefs.h >>conftest.$ac_ext
81403 cat >>conftest.$ac_ext <<_ACEOF
81404 /* end confdefs.h. */
81405 #include <math.h>
81406 #ifdef HAVE_IEEEFP_H
81407 #include <ieeefp.h>
81408 #endif
81411 main ()
81413 _finitel(0);
81415 return 0;
81417 _ACEOF
81418 rm -f conftest.$ac_objext
81419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81420 (eval $ac_compile) 2>conftest.er1
81421 ac_status=$?
81422 grep -v '^ *+' conftest.er1 >conftest.err
81423 rm -f conftest.er1
81424 cat conftest.err >&5
81425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81426 (exit $ac_status); } &&
81427 { ac_try='test -z "$ac_cxx_werror_flag"
81428 || test ! -s conftest.err'
81429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81430 (eval $ac_try) 2>&5
81431 ac_status=$?
81432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433 (exit $ac_status); }; } &&
81434 { ac_try='test -s conftest.$ac_objext'
81435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81436 (eval $ac_try) 2>&5
81437 ac_status=$?
81438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439 (exit $ac_status); }; }; then
81440 glibcxx_cv_func__finitel_use=yes
81441 else
81442 echo "$as_me: failed program was:" >&5
81443 sed 's/^/| /' conftest.$ac_ext >&5
81445 glibcxx_cv_func__finitel_use=no
81447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81448 ac_ext=c
81449 ac_cpp='$CPP $CPPFLAGS'
81450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81458 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81459 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81461 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81463 for ac_func in _finitel
81465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81466 echo "$as_me:$LINENO: checking for $ac_func" >&5
81467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81468 if eval "test \"\${$as_ac_var+set}\" = set"; then
81469 echo $ECHO_N "(cached) $ECHO_C" >&6
81470 else
81471 if test x$gcc_no_link = xyes; then
81472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81474 { (exit 1); exit 1; }; }
81476 cat >conftest.$ac_ext <<_ACEOF
81477 /* confdefs.h. */
81478 _ACEOF
81479 cat confdefs.h >>conftest.$ac_ext
81480 cat >>conftest.$ac_ext <<_ACEOF
81481 /* end confdefs.h. */
81482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81484 #define $ac_func innocuous_$ac_func
81486 /* System header to define __stub macros and hopefully few prototypes,
81487 which can conflict with char $ac_func (); below.
81488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81489 <limits.h> exists even on freestanding compilers. */
81491 #ifdef __STDC__
81492 # include <limits.h>
81493 #else
81494 # include <assert.h>
81495 #endif
81497 #undef $ac_func
81499 /* Override any gcc2 internal prototype to avoid an error. */
81500 #ifdef __cplusplus
81501 extern "C"
81503 #endif
81504 /* We use char because int might match the return type of a gcc2
81505 builtin and then its argument prototype would still apply. */
81506 char $ac_func ();
81507 /* The GNU C library defines this for functions which it implements
81508 to always fail with ENOSYS. Some functions are actually named
81509 something starting with __ and the normal name is an alias. */
81510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81511 choke me
81512 #else
81513 char (*f) () = $ac_func;
81514 #endif
81515 #ifdef __cplusplus
81517 #endif
81520 main ()
81522 return f != $ac_func;
81524 return 0;
81526 _ACEOF
81527 rm -f conftest.$ac_objext conftest$ac_exeext
81528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81529 (eval $ac_link) 2>conftest.er1
81530 ac_status=$?
81531 grep -v '^ *+' conftest.er1 >conftest.err
81532 rm -f conftest.er1
81533 cat conftest.err >&5
81534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81535 (exit $ac_status); } &&
81536 { ac_try='test -z "$ac_c_werror_flag"
81537 || test ! -s conftest.err'
81538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81539 (eval $ac_try) 2>&5
81540 ac_status=$?
81541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81542 (exit $ac_status); }; } &&
81543 { ac_try='test -s conftest$ac_exeext'
81544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81545 (eval $ac_try) 2>&5
81546 ac_status=$?
81547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81548 (exit $ac_status); }; }; then
81549 eval "$as_ac_var=yes"
81550 else
81551 echo "$as_me: failed program was:" >&5
81552 sed 's/^/| /' conftest.$ac_ext >&5
81554 eval "$as_ac_var=no"
81556 rm -f conftest.err conftest.$ac_objext \
81557 conftest$ac_exeext conftest.$ac_ext
81559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81561 if test `eval echo '${'$as_ac_var'}'` = yes; then
81562 cat >>confdefs.h <<_ACEOF
81563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81564 _ACEOF
81567 done
81576 LIBS="$ac_save_LIBS"
81577 CXXFLAGS="$ac_save_CXXFLAGS"
81581 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81582 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81583 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81584 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81585 echo $ECHO_N "(cached) $ECHO_C" >&6
81586 else
81590 ac_ext=cc
81591 ac_cpp='$CXXCPP $CPPFLAGS'
81592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81596 cat >conftest.$ac_ext <<_ACEOF
81597 /* confdefs.h. */
81598 _ACEOF
81599 cat confdefs.h >>conftest.$ac_ext
81600 cat >>conftest.$ac_ext <<_ACEOF
81601 /* end confdefs.h. */
81602 #include <math.h>
81604 main ()
81606 __builtin_abs(0);
81608 return 0;
81610 _ACEOF
81611 rm -f conftest.$ac_objext
81612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81613 (eval $ac_compile) 2>conftest.er1
81614 ac_status=$?
81615 grep -v '^ *+' conftest.er1 >conftest.err
81616 rm -f conftest.er1
81617 cat conftest.err >&5
81618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81619 (exit $ac_status); } &&
81620 { ac_try='test -z "$ac_cxx_werror_flag"
81621 || test ! -s conftest.err'
81622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81623 (eval $ac_try) 2>&5
81624 ac_status=$?
81625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81626 (exit $ac_status); }; } &&
81627 { ac_try='test -s conftest.$ac_objext'
81628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81629 (eval $ac_try) 2>&5
81630 ac_status=$?
81631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81632 (exit $ac_status); }; }; then
81633 glibcxx_cv_func___builtin_abs_use=yes
81634 else
81635 echo "$as_me: failed program was:" >&5
81636 sed 's/^/| /' conftest.$ac_ext >&5
81638 glibcxx_cv_func___builtin_abs_use=no
81640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81641 ac_ext=c
81642 ac_cpp='$CPP $CPPFLAGS'
81643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81651 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81652 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81653 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81654 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81655 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81656 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81657 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81658 echo $ECHO_N "(cached) $ECHO_C" >&6
81659 else
81661 if test x$gcc_no_link = xyes; then
81662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81664 { (exit 1); exit 1; }; }
81666 cat >conftest.$ac_ext <<_ACEOF
81667 /* confdefs.h. */
81668 _ACEOF
81669 cat confdefs.h >>conftest.$ac_ext
81670 cat >>conftest.$ac_ext <<_ACEOF
81671 /* end confdefs.h. */
81672 #include <math.h>
81674 main ()
81676 __builtin_abs(0);
81678 return 0;
81680 _ACEOF
81681 rm -f conftest.$ac_objext conftest$ac_exeext
81682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81683 (eval $ac_link) 2>conftest.er1
81684 ac_status=$?
81685 grep -v '^ *+' conftest.er1 >conftest.err
81686 rm -f conftest.er1
81687 cat conftest.err >&5
81688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81689 (exit $ac_status); } &&
81690 { ac_try='test -z "$ac_c_werror_flag"
81691 || test ! -s conftest.err'
81692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693 (eval $ac_try) 2>&5
81694 ac_status=$?
81695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696 (exit $ac_status); }; } &&
81697 { ac_try='test -s conftest$ac_exeext'
81698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81699 (eval $ac_try) 2>&5
81700 ac_status=$?
81701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81702 (exit $ac_status); }; }; then
81703 glibcxx_cv_func___builtin_abs_link=yes
81704 else
81705 echo "$as_me: failed program was:" >&5
81706 sed 's/^/| /' conftest.$ac_ext >&5
81708 glibcxx_cv_func___builtin_abs_link=no
81710 rm -f conftest.err conftest.$ac_objext \
81711 conftest$ac_exeext conftest.$ac_ext
81716 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81717 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81719 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81721 cat >>confdefs.h <<\_ACEOF
81722 #define HAVE___BUILTIN_ABS 1
81723 _ACEOF
81730 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81731 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81732 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81733 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81734 echo $ECHO_N "(cached) $ECHO_C" >&6
81735 else
81739 ac_ext=cc
81740 ac_cpp='$CXXCPP $CPPFLAGS'
81741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81745 cat >conftest.$ac_ext <<_ACEOF
81746 /* confdefs.h. */
81747 _ACEOF
81748 cat confdefs.h >>conftest.$ac_ext
81749 cat >>conftest.$ac_ext <<_ACEOF
81750 /* end confdefs.h. */
81751 #include <math.h>
81753 main ()
81755 __builtin_fabsf(0);
81757 return 0;
81759 _ACEOF
81760 rm -f conftest.$ac_objext
81761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81762 (eval $ac_compile) 2>conftest.er1
81763 ac_status=$?
81764 grep -v '^ *+' conftest.er1 >conftest.err
81765 rm -f conftest.er1
81766 cat conftest.err >&5
81767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81768 (exit $ac_status); } &&
81769 { ac_try='test -z "$ac_cxx_werror_flag"
81770 || test ! -s conftest.err'
81771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81772 (eval $ac_try) 2>&5
81773 ac_status=$?
81774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81775 (exit $ac_status); }; } &&
81776 { ac_try='test -s conftest.$ac_objext'
81777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81778 (eval $ac_try) 2>&5
81779 ac_status=$?
81780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81781 (exit $ac_status); }; }; then
81782 glibcxx_cv_func___builtin_fabsf_use=yes
81783 else
81784 echo "$as_me: failed program was:" >&5
81785 sed 's/^/| /' conftest.$ac_ext >&5
81787 glibcxx_cv_func___builtin_fabsf_use=no
81789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81790 ac_ext=c
81791 ac_cpp='$CPP $CPPFLAGS'
81792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81800 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81801 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81802 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81803 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81804 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81805 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81806 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81807 echo $ECHO_N "(cached) $ECHO_C" >&6
81808 else
81810 if test x$gcc_no_link = xyes; then
81811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81813 { (exit 1); exit 1; }; }
81815 cat >conftest.$ac_ext <<_ACEOF
81816 /* confdefs.h. */
81817 _ACEOF
81818 cat confdefs.h >>conftest.$ac_ext
81819 cat >>conftest.$ac_ext <<_ACEOF
81820 /* end confdefs.h. */
81821 #include <math.h>
81823 main ()
81825 __builtin_fabsf(0);
81827 return 0;
81829 _ACEOF
81830 rm -f conftest.$ac_objext conftest$ac_exeext
81831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81832 (eval $ac_link) 2>conftest.er1
81833 ac_status=$?
81834 grep -v '^ *+' conftest.er1 >conftest.err
81835 rm -f conftest.er1
81836 cat conftest.err >&5
81837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81838 (exit $ac_status); } &&
81839 { ac_try='test -z "$ac_c_werror_flag"
81840 || test ! -s conftest.err'
81841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81842 (eval $ac_try) 2>&5
81843 ac_status=$?
81844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81845 (exit $ac_status); }; } &&
81846 { ac_try='test -s conftest$ac_exeext'
81847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81848 (eval $ac_try) 2>&5
81849 ac_status=$?
81850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81851 (exit $ac_status); }; }; then
81852 glibcxx_cv_func___builtin_fabsf_link=yes
81853 else
81854 echo "$as_me: failed program was:" >&5
81855 sed 's/^/| /' conftest.$ac_ext >&5
81857 glibcxx_cv_func___builtin_fabsf_link=no
81859 rm -f conftest.err conftest.$ac_objext \
81860 conftest$ac_exeext conftest.$ac_ext
81865 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81866 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81868 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81870 cat >>confdefs.h <<\_ACEOF
81871 #define HAVE___BUILTIN_FABSF 1
81872 _ACEOF
81879 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81880 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81881 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81882 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81883 echo $ECHO_N "(cached) $ECHO_C" >&6
81884 else
81888 ac_ext=cc
81889 ac_cpp='$CXXCPP $CPPFLAGS'
81890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81894 cat >conftest.$ac_ext <<_ACEOF
81895 /* confdefs.h. */
81896 _ACEOF
81897 cat confdefs.h >>conftest.$ac_ext
81898 cat >>conftest.$ac_ext <<_ACEOF
81899 /* end confdefs.h. */
81900 #include <math.h>
81902 main ()
81904 __builtin_fabs(0);
81906 return 0;
81908 _ACEOF
81909 rm -f conftest.$ac_objext
81910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81911 (eval $ac_compile) 2>conftest.er1
81912 ac_status=$?
81913 grep -v '^ *+' conftest.er1 >conftest.err
81914 rm -f conftest.er1
81915 cat conftest.err >&5
81916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81917 (exit $ac_status); } &&
81918 { ac_try='test -z "$ac_cxx_werror_flag"
81919 || test ! -s conftest.err'
81920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81921 (eval $ac_try) 2>&5
81922 ac_status=$?
81923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81924 (exit $ac_status); }; } &&
81925 { ac_try='test -s conftest.$ac_objext'
81926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81927 (eval $ac_try) 2>&5
81928 ac_status=$?
81929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81930 (exit $ac_status); }; }; then
81931 glibcxx_cv_func___builtin_fabs_use=yes
81932 else
81933 echo "$as_me: failed program was:" >&5
81934 sed 's/^/| /' conftest.$ac_ext >&5
81936 glibcxx_cv_func___builtin_fabs_use=no
81938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81939 ac_ext=c
81940 ac_cpp='$CPP $CPPFLAGS'
81941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81950 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81951 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81952 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81953 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81954 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81955 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81956 echo $ECHO_N "(cached) $ECHO_C" >&6
81957 else
81959 if test x$gcc_no_link = xyes; then
81960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81962 { (exit 1); exit 1; }; }
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>
81972 main ()
81974 __builtin_fabs(0);
81976 return 0;
81978 _ACEOF
81979 rm -f conftest.$ac_objext conftest$ac_exeext
81980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81981 (eval $ac_link) 2>conftest.er1
81982 ac_status=$?
81983 grep -v '^ *+' conftest.er1 >conftest.err
81984 rm -f conftest.er1
81985 cat conftest.err >&5
81986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81987 (exit $ac_status); } &&
81988 { ac_try='test -z "$ac_c_werror_flag"
81989 || test ! -s conftest.err'
81990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81991 (eval $ac_try) 2>&5
81992 ac_status=$?
81993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81994 (exit $ac_status); }; } &&
81995 { ac_try='test -s conftest$ac_exeext'
81996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81997 (eval $ac_try) 2>&5
81998 ac_status=$?
81999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82000 (exit $ac_status); }; }; then
82001 glibcxx_cv_func___builtin_fabs_link=yes
82002 else
82003 echo "$as_me: failed program was:" >&5
82004 sed 's/^/| /' conftest.$ac_ext >&5
82006 glibcxx_cv_func___builtin_fabs_link=no
82008 rm -f conftest.err conftest.$ac_objext \
82009 conftest$ac_exeext conftest.$ac_ext
82014 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82015 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82017 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82019 cat >>confdefs.h <<\_ACEOF
82020 #define HAVE___BUILTIN_FABS 1
82021 _ACEOF
82028 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82029 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82030 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82031 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82032 echo $ECHO_N "(cached) $ECHO_C" >&6
82033 else
82037 ac_ext=cc
82038 ac_cpp='$CXXCPP $CPPFLAGS'
82039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82043 cat >conftest.$ac_ext <<_ACEOF
82044 /* confdefs.h. */
82045 _ACEOF
82046 cat confdefs.h >>conftest.$ac_ext
82047 cat >>conftest.$ac_ext <<_ACEOF
82048 /* end confdefs.h. */
82049 #include <math.h>
82051 main ()
82053 __builtin_fabsl(0);
82055 return 0;
82057 _ACEOF
82058 rm -f conftest.$ac_objext
82059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82060 (eval $ac_compile) 2>conftest.er1
82061 ac_status=$?
82062 grep -v '^ *+' conftest.er1 >conftest.err
82063 rm -f conftest.er1
82064 cat conftest.err >&5
82065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82066 (exit $ac_status); } &&
82067 { ac_try='test -z "$ac_cxx_werror_flag"
82068 || test ! -s conftest.err'
82069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82070 (eval $ac_try) 2>&5
82071 ac_status=$?
82072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82073 (exit $ac_status); }; } &&
82074 { ac_try='test -s conftest.$ac_objext'
82075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82076 (eval $ac_try) 2>&5
82077 ac_status=$?
82078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82079 (exit $ac_status); }; }; then
82080 glibcxx_cv_func___builtin_fabsl_use=yes
82081 else
82082 echo "$as_me: failed program was:" >&5
82083 sed 's/^/| /' conftest.$ac_ext >&5
82085 glibcxx_cv_func___builtin_fabsl_use=no
82087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82088 ac_ext=c
82089 ac_cpp='$CPP $CPPFLAGS'
82090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82098 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82099 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82100 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82101 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82102 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82103 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82104 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82105 echo $ECHO_N "(cached) $ECHO_C" >&6
82106 else
82108 if test x$gcc_no_link = xyes; then
82109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82111 { (exit 1); exit 1; }; }
82113 cat >conftest.$ac_ext <<_ACEOF
82114 /* confdefs.h. */
82115 _ACEOF
82116 cat confdefs.h >>conftest.$ac_ext
82117 cat >>conftest.$ac_ext <<_ACEOF
82118 /* end confdefs.h. */
82119 #include <math.h>
82121 main ()
82123 __builtin_fabsl(0);
82125 return 0;
82127 _ACEOF
82128 rm -f conftest.$ac_objext conftest$ac_exeext
82129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82130 (eval $ac_link) 2>conftest.er1
82131 ac_status=$?
82132 grep -v '^ *+' conftest.er1 >conftest.err
82133 rm -f conftest.er1
82134 cat conftest.err >&5
82135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82136 (exit $ac_status); } &&
82137 { ac_try='test -z "$ac_c_werror_flag"
82138 || test ! -s conftest.err'
82139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82140 (eval $ac_try) 2>&5
82141 ac_status=$?
82142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82143 (exit $ac_status); }; } &&
82144 { ac_try='test -s conftest$ac_exeext'
82145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82146 (eval $ac_try) 2>&5
82147 ac_status=$?
82148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82149 (exit $ac_status); }; }; then
82150 glibcxx_cv_func___builtin_fabsl_link=yes
82151 else
82152 echo "$as_me: failed program was:" >&5
82153 sed 's/^/| /' conftest.$ac_ext >&5
82155 glibcxx_cv_func___builtin_fabsl_link=no
82157 rm -f conftest.err conftest.$ac_objext \
82158 conftest$ac_exeext conftest.$ac_ext
82163 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82164 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82166 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82168 cat >>confdefs.h <<\_ACEOF
82169 #define HAVE___BUILTIN_FABSL 1
82170 _ACEOF
82177 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82178 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82179 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82180 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82181 echo $ECHO_N "(cached) $ECHO_C" >&6
82182 else
82186 ac_ext=cc
82187 ac_cpp='$CXXCPP $CPPFLAGS'
82188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82192 cat >conftest.$ac_ext <<_ACEOF
82193 /* confdefs.h. */
82194 _ACEOF
82195 cat confdefs.h >>conftest.$ac_ext
82196 cat >>conftest.$ac_ext <<_ACEOF
82197 /* end confdefs.h. */
82198 #include <math.h>
82200 main ()
82202 __builtin_labs(0);
82204 return 0;
82206 _ACEOF
82207 rm -f conftest.$ac_objext
82208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82209 (eval $ac_compile) 2>conftest.er1
82210 ac_status=$?
82211 grep -v '^ *+' conftest.er1 >conftest.err
82212 rm -f conftest.er1
82213 cat conftest.err >&5
82214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82215 (exit $ac_status); } &&
82216 { ac_try='test -z "$ac_cxx_werror_flag"
82217 || test ! -s conftest.err'
82218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82219 (eval $ac_try) 2>&5
82220 ac_status=$?
82221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82222 (exit $ac_status); }; } &&
82223 { ac_try='test -s conftest.$ac_objext'
82224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82225 (eval $ac_try) 2>&5
82226 ac_status=$?
82227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82228 (exit $ac_status); }; }; then
82229 glibcxx_cv_func___builtin_labs_use=yes
82230 else
82231 echo "$as_me: failed program was:" >&5
82232 sed 's/^/| /' conftest.$ac_ext >&5
82234 glibcxx_cv_func___builtin_labs_use=no
82236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82237 ac_ext=c
82238 ac_cpp='$CPP $CPPFLAGS'
82239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82247 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82248 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82249 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82250 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82251 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82252 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82253 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82254 echo $ECHO_N "(cached) $ECHO_C" >&6
82255 else
82257 if test x$gcc_no_link = xyes; then
82258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82260 { (exit 1); exit 1; }; }
82262 cat >conftest.$ac_ext <<_ACEOF
82263 /* confdefs.h. */
82264 _ACEOF
82265 cat confdefs.h >>conftest.$ac_ext
82266 cat >>conftest.$ac_ext <<_ACEOF
82267 /* end confdefs.h. */
82268 #include <math.h>
82270 main ()
82272 __builtin_labs(0);
82274 return 0;
82276 _ACEOF
82277 rm -f conftest.$ac_objext conftest$ac_exeext
82278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82279 (eval $ac_link) 2>conftest.er1
82280 ac_status=$?
82281 grep -v '^ *+' conftest.er1 >conftest.err
82282 rm -f conftest.er1
82283 cat conftest.err >&5
82284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82285 (exit $ac_status); } &&
82286 { ac_try='test -z "$ac_c_werror_flag"
82287 || test ! -s conftest.err'
82288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82289 (eval $ac_try) 2>&5
82290 ac_status=$?
82291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82292 (exit $ac_status); }; } &&
82293 { ac_try='test -s conftest$ac_exeext'
82294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82295 (eval $ac_try) 2>&5
82296 ac_status=$?
82297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82298 (exit $ac_status); }; }; then
82299 glibcxx_cv_func___builtin_labs_link=yes
82300 else
82301 echo "$as_me: failed program was:" >&5
82302 sed 's/^/| /' conftest.$ac_ext >&5
82304 glibcxx_cv_func___builtin_labs_link=no
82306 rm -f conftest.err conftest.$ac_objext \
82307 conftest$ac_exeext conftest.$ac_ext
82312 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82313 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82315 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82317 cat >>confdefs.h <<\_ACEOF
82318 #define HAVE___BUILTIN_LABS 1
82319 _ACEOF
82327 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82328 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82329 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82330 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82331 echo $ECHO_N "(cached) $ECHO_C" >&6
82332 else
82336 ac_ext=cc
82337 ac_cpp='$CXXCPP $CPPFLAGS'
82338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82342 cat >conftest.$ac_ext <<_ACEOF
82343 /* confdefs.h. */
82344 _ACEOF
82345 cat confdefs.h >>conftest.$ac_ext
82346 cat >>conftest.$ac_ext <<_ACEOF
82347 /* end confdefs.h. */
82348 #include <math.h>
82350 main ()
82352 __builtin_sqrtf(0);
82354 return 0;
82356 _ACEOF
82357 rm -f conftest.$ac_objext
82358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82359 (eval $ac_compile) 2>conftest.er1
82360 ac_status=$?
82361 grep -v '^ *+' conftest.er1 >conftest.err
82362 rm -f conftest.er1
82363 cat conftest.err >&5
82364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82365 (exit $ac_status); } &&
82366 { ac_try='test -z "$ac_cxx_werror_flag"
82367 || test ! -s conftest.err'
82368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82369 (eval $ac_try) 2>&5
82370 ac_status=$?
82371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82372 (exit $ac_status); }; } &&
82373 { ac_try='test -s conftest.$ac_objext'
82374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82375 (eval $ac_try) 2>&5
82376 ac_status=$?
82377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82378 (exit $ac_status); }; }; then
82379 glibcxx_cv_func___builtin_sqrtf_use=yes
82380 else
82381 echo "$as_me: failed program was:" >&5
82382 sed 's/^/| /' conftest.$ac_ext >&5
82384 glibcxx_cv_func___builtin_sqrtf_use=no
82386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82387 ac_ext=c
82388 ac_cpp='$CPP $CPPFLAGS'
82389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82397 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82398 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82399 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82400 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82401 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82402 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82403 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82404 echo $ECHO_N "(cached) $ECHO_C" >&6
82405 else
82407 if test x$gcc_no_link = xyes; then
82408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82410 { (exit 1); exit 1; }; }
82412 cat >conftest.$ac_ext <<_ACEOF
82413 /* confdefs.h. */
82414 _ACEOF
82415 cat confdefs.h >>conftest.$ac_ext
82416 cat >>conftest.$ac_ext <<_ACEOF
82417 /* end confdefs.h. */
82418 #include <math.h>
82420 main ()
82422 __builtin_sqrtf(0);
82424 return 0;
82426 _ACEOF
82427 rm -f conftest.$ac_objext conftest$ac_exeext
82428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82429 (eval $ac_link) 2>conftest.er1
82430 ac_status=$?
82431 grep -v '^ *+' conftest.er1 >conftest.err
82432 rm -f conftest.er1
82433 cat conftest.err >&5
82434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82435 (exit $ac_status); } &&
82436 { ac_try='test -z "$ac_c_werror_flag"
82437 || test ! -s conftest.err'
82438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82439 (eval $ac_try) 2>&5
82440 ac_status=$?
82441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82442 (exit $ac_status); }; } &&
82443 { ac_try='test -s conftest$ac_exeext'
82444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82445 (eval $ac_try) 2>&5
82446 ac_status=$?
82447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82448 (exit $ac_status); }; }; then
82449 glibcxx_cv_func___builtin_sqrtf_link=yes
82450 else
82451 echo "$as_me: failed program was:" >&5
82452 sed 's/^/| /' conftest.$ac_ext >&5
82454 glibcxx_cv_func___builtin_sqrtf_link=no
82456 rm -f conftest.err conftest.$ac_objext \
82457 conftest$ac_exeext conftest.$ac_ext
82462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82463 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82465 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82467 cat >>confdefs.h <<\_ACEOF
82468 #define HAVE___BUILTIN_SQRTF 1
82469 _ACEOF
82476 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82477 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82478 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82479 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82480 echo $ECHO_N "(cached) $ECHO_C" >&6
82481 else
82485 ac_ext=cc
82486 ac_cpp='$CXXCPP $CPPFLAGS'
82487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82491 cat >conftest.$ac_ext <<_ACEOF
82492 /* confdefs.h. */
82493 _ACEOF
82494 cat confdefs.h >>conftest.$ac_ext
82495 cat >>conftest.$ac_ext <<_ACEOF
82496 /* end confdefs.h. */
82497 #include <math.h>
82499 main ()
82501 __builtin_sqrt(0);
82503 return 0;
82505 _ACEOF
82506 rm -f conftest.$ac_objext
82507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82508 (eval $ac_compile) 2>conftest.er1
82509 ac_status=$?
82510 grep -v '^ *+' conftest.er1 >conftest.err
82511 rm -f conftest.er1
82512 cat conftest.err >&5
82513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82514 (exit $ac_status); } &&
82515 { ac_try='test -z "$ac_cxx_werror_flag"
82516 || test ! -s conftest.err'
82517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82518 (eval $ac_try) 2>&5
82519 ac_status=$?
82520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82521 (exit $ac_status); }; } &&
82522 { ac_try='test -s conftest.$ac_objext'
82523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82524 (eval $ac_try) 2>&5
82525 ac_status=$?
82526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82527 (exit $ac_status); }; }; then
82528 glibcxx_cv_func___builtin_sqrt_use=yes
82529 else
82530 echo "$as_me: failed program was:" >&5
82531 sed 's/^/| /' conftest.$ac_ext >&5
82533 glibcxx_cv_func___builtin_sqrt_use=no
82535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82536 ac_ext=c
82537 ac_cpp='$CPP $CPPFLAGS'
82538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82546 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82547 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82548 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82549 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82550 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82551 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82552 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82553 echo $ECHO_N "(cached) $ECHO_C" >&6
82554 else
82556 if test x$gcc_no_link = xyes; then
82557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82559 { (exit 1); exit 1; }; }
82561 cat >conftest.$ac_ext <<_ACEOF
82562 /* confdefs.h. */
82563 _ACEOF
82564 cat confdefs.h >>conftest.$ac_ext
82565 cat >>conftest.$ac_ext <<_ACEOF
82566 /* end confdefs.h. */
82567 #include <math.h>
82569 main ()
82571 __builtin_sqrt(0);
82573 return 0;
82575 _ACEOF
82576 rm -f conftest.$ac_objext conftest$ac_exeext
82577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82578 (eval $ac_link) 2>conftest.er1
82579 ac_status=$?
82580 grep -v '^ *+' conftest.er1 >conftest.err
82581 rm -f conftest.er1
82582 cat conftest.err >&5
82583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82584 (exit $ac_status); } &&
82585 { ac_try='test -z "$ac_c_werror_flag"
82586 || test ! -s conftest.err'
82587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82588 (eval $ac_try) 2>&5
82589 ac_status=$?
82590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82591 (exit $ac_status); }; } &&
82592 { ac_try='test -s conftest$ac_exeext'
82593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82594 (eval $ac_try) 2>&5
82595 ac_status=$?
82596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82597 (exit $ac_status); }; }; then
82598 glibcxx_cv_func___builtin_sqrt_link=yes
82599 else
82600 echo "$as_me: failed program was:" >&5
82601 sed 's/^/| /' conftest.$ac_ext >&5
82603 glibcxx_cv_func___builtin_sqrt_link=no
82605 rm -f conftest.err conftest.$ac_objext \
82606 conftest$ac_exeext conftest.$ac_ext
82611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82612 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82614 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82616 cat >>confdefs.h <<\_ACEOF
82617 #define HAVE___BUILTIN_SQRT 1
82618 _ACEOF
82625 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82626 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82627 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82628 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82629 echo $ECHO_N "(cached) $ECHO_C" >&6
82630 else
82634 ac_ext=cc
82635 ac_cpp='$CXXCPP $CPPFLAGS'
82636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82640 cat >conftest.$ac_ext <<_ACEOF
82641 /* confdefs.h. */
82642 _ACEOF
82643 cat confdefs.h >>conftest.$ac_ext
82644 cat >>conftest.$ac_ext <<_ACEOF
82645 /* end confdefs.h. */
82646 #include <math.h>
82648 main ()
82650 __builtin_sqrtl(0);
82652 return 0;
82654 _ACEOF
82655 rm -f conftest.$ac_objext
82656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82657 (eval $ac_compile) 2>conftest.er1
82658 ac_status=$?
82659 grep -v '^ *+' conftest.er1 >conftest.err
82660 rm -f conftest.er1
82661 cat conftest.err >&5
82662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82663 (exit $ac_status); } &&
82664 { ac_try='test -z "$ac_cxx_werror_flag"
82665 || test ! -s conftest.err'
82666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82667 (eval $ac_try) 2>&5
82668 ac_status=$?
82669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82670 (exit $ac_status); }; } &&
82671 { ac_try='test -s conftest.$ac_objext'
82672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82673 (eval $ac_try) 2>&5
82674 ac_status=$?
82675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82676 (exit $ac_status); }; }; then
82677 glibcxx_cv_func___builtin_sqrtl_use=yes
82678 else
82679 echo "$as_me: failed program was:" >&5
82680 sed 's/^/| /' conftest.$ac_ext >&5
82682 glibcxx_cv_func___builtin_sqrtl_use=no
82684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82685 ac_ext=c
82686 ac_cpp='$CPP $CPPFLAGS'
82687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82695 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82696 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82697 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82698 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82699 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82700 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82701 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82702 echo $ECHO_N "(cached) $ECHO_C" >&6
82703 else
82705 if test x$gcc_no_link = xyes; then
82706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82708 { (exit 1); exit 1; }; }
82710 cat >conftest.$ac_ext <<_ACEOF
82711 /* confdefs.h. */
82712 _ACEOF
82713 cat confdefs.h >>conftest.$ac_ext
82714 cat >>conftest.$ac_ext <<_ACEOF
82715 /* end confdefs.h. */
82716 #include <math.h>
82718 main ()
82720 __builtin_sqrtl(0);
82722 return 0;
82724 _ACEOF
82725 rm -f conftest.$ac_objext conftest$ac_exeext
82726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82727 (eval $ac_link) 2>conftest.er1
82728 ac_status=$?
82729 grep -v '^ *+' conftest.er1 >conftest.err
82730 rm -f conftest.er1
82731 cat conftest.err >&5
82732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82733 (exit $ac_status); } &&
82734 { ac_try='test -z "$ac_c_werror_flag"
82735 || test ! -s conftest.err'
82736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82737 (eval $ac_try) 2>&5
82738 ac_status=$?
82739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82740 (exit $ac_status); }; } &&
82741 { ac_try='test -s conftest$ac_exeext'
82742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82743 (eval $ac_try) 2>&5
82744 ac_status=$?
82745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82746 (exit $ac_status); }; }; then
82747 glibcxx_cv_func___builtin_sqrtl_link=yes
82748 else
82749 echo "$as_me: failed program was:" >&5
82750 sed 's/^/| /' conftest.$ac_ext >&5
82752 glibcxx_cv_func___builtin_sqrtl_link=no
82754 rm -f conftest.err conftest.$ac_objext \
82755 conftest$ac_exeext conftest.$ac_ext
82760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82761 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82763 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82765 cat >>confdefs.h <<\_ACEOF
82766 #define HAVE___BUILTIN_SQRTL 1
82767 _ACEOF
82775 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82776 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82777 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82778 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82779 echo $ECHO_N "(cached) $ECHO_C" >&6
82780 else
82784 ac_ext=cc
82785 ac_cpp='$CXXCPP $CPPFLAGS'
82786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82790 cat >conftest.$ac_ext <<_ACEOF
82791 /* confdefs.h. */
82792 _ACEOF
82793 cat confdefs.h >>conftest.$ac_ext
82794 cat >>conftest.$ac_ext <<_ACEOF
82795 /* end confdefs.h. */
82796 #include <math.h>
82798 main ()
82800 __builtin_sinf(0);
82802 return 0;
82804 _ACEOF
82805 rm -f conftest.$ac_objext
82806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82807 (eval $ac_compile) 2>conftest.er1
82808 ac_status=$?
82809 grep -v '^ *+' conftest.er1 >conftest.err
82810 rm -f conftest.er1
82811 cat conftest.err >&5
82812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82813 (exit $ac_status); } &&
82814 { ac_try='test -z "$ac_cxx_werror_flag"
82815 || test ! -s conftest.err'
82816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82817 (eval $ac_try) 2>&5
82818 ac_status=$?
82819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82820 (exit $ac_status); }; } &&
82821 { ac_try='test -s conftest.$ac_objext'
82822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82823 (eval $ac_try) 2>&5
82824 ac_status=$?
82825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82826 (exit $ac_status); }; }; then
82827 glibcxx_cv_func___builtin_sinf_use=yes
82828 else
82829 echo "$as_me: failed program was:" >&5
82830 sed 's/^/| /' conftest.$ac_ext >&5
82832 glibcxx_cv_func___builtin_sinf_use=no
82834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82835 ac_ext=c
82836 ac_cpp='$CPP $CPPFLAGS'
82837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82845 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82846 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82847 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82848 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82849 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82850 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82851 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82852 echo $ECHO_N "(cached) $ECHO_C" >&6
82853 else
82855 if test x$gcc_no_link = xyes; then
82856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82858 { (exit 1); exit 1; }; }
82860 cat >conftest.$ac_ext <<_ACEOF
82861 /* confdefs.h. */
82862 _ACEOF
82863 cat confdefs.h >>conftest.$ac_ext
82864 cat >>conftest.$ac_ext <<_ACEOF
82865 /* end confdefs.h. */
82866 #include <math.h>
82868 main ()
82870 __builtin_sinf(0);
82872 return 0;
82874 _ACEOF
82875 rm -f conftest.$ac_objext conftest$ac_exeext
82876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82877 (eval $ac_link) 2>conftest.er1
82878 ac_status=$?
82879 grep -v '^ *+' conftest.er1 >conftest.err
82880 rm -f conftest.er1
82881 cat conftest.err >&5
82882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82883 (exit $ac_status); } &&
82884 { ac_try='test -z "$ac_c_werror_flag"
82885 || test ! -s conftest.err'
82886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82887 (eval $ac_try) 2>&5
82888 ac_status=$?
82889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82890 (exit $ac_status); }; } &&
82891 { ac_try='test -s conftest$ac_exeext'
82892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82893 (eval $ac_try) 2>&5
82894 ac_status=$?
82895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82896 (exit $ac_status); }; }; then
82897 glibcxx_cv_func___builtin_sinf_link=yes
82898 else
82899 echo "$as_me: failed program was:" >&5
82900 sed 's/^/| /' conftest.$ac_ext >&5
82902 glibcxx_cv_func___builtin_sinf_link=no
82904 rm -f conftest.err conftest.$ac_objext \
82905 conftest$ac_exeext conftest.$ac_ext
82910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82913 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82915 cat >>confdefs.h <<\_ACEOF
82916 #define HAVE___BUILTIN_SINF 1
82917 _ACEOF
82924 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82925 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82926 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82927 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82928 echo $ECHO_N "(cached) $ECHO_C" >&6
82929 else
82933 ac_ext=cc
82934 ac_cpp='$CXXCPP $CPPFLAGS'
82935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82939 cat >conftest.$ac_ext <<_ACEOF
82940 /* confdefs.h. */
82941 _ACEOF
82942 cat confdefs.h >>conftest.$ac_ext
82943 cat >>conftest.$ac_ext <<_ACEOF
82944 /* end confdefs.h. */
82945 #include <math.h>
82947 main ()
82949 __builtin_sin(0);
82951 return 0;
82953 _ACEOF
82954 rm -f conftest.$ac_objext
82955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82956 (eval $ac_compile) 2>conftest.er1
82957 ac_status=$?
82958 grep -v '^ *+' conftest.er1 >conftest.err
82959 rm -f conftest.er1
82960 cat conftest.err >&5
82961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82962 (exit $ac_status); } &&
82963 { ac_try='test -z "$ac_cxx_werror_flag"
82964 || test ! -s conftest.err'
82965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82966 (eval $ac_try) 2>&5
82967 ac_status=$?
82968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82969 (exit $ac_status); }; } &&
82970 { ac_try='test -s conftest.$ac_objext'
82971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82972 (eval $ac_try) 2>&5
82973 ac_status=$?
82974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975 (exit $ac_status); }; }; then
82976 glibcxx_cv_func___builtin_sin_use=yes
82977 else
82978 echo "$as_me: failed program was:" >&5
82979 sed 's/^/| /' conftest.$ac_ext >&5
82981 glibcxx_cv_func___builtin_sin_use=no
82983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82984 ac_ext=c
82985 ac_cpp='$CPP $CPPFLAGS'
82986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82995 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82996 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82997 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82998 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82999 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83000 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83001 echo $ECHO_N "(cached) $ECHO_C" >&6
83002 else
83004 if test x$gcc_no_link = xyes; then
83005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83007 { (exit 1); exit 1; }; }
83009 cat >conftest.$ac_ext <<_ACEOF
83010 /* confdefs.h. */
83011 _ACEOF
83012 cat confdefs.h >>conftest.$ac_ext
83013 cat >>conftest.$ac_ext <<_ACEOF
83014 /* end confdefs.h. */
83015 #include <math.h>
83017 main ()
83019 __builtin_sin(0);
83021 return 0;
83023 _ACEOF
83024 rm -f conftest.$ac_objext conftest$ac_exeext
83025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83026 (eval $ac_link) 2>conftest.er1
83027 ac_status=$?
83028 grep -v '^ *+' conftest.er1 >conftest.err
83029 rm -f conftest.er1
83030 cat conftest.err >&5
83031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83032 (exit $ac_status); } &&
83033 { ac_try='test -z "$ac_c_werror_flag"
83034 || test ! -s conftest.err'
83035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83036 (eval $ac_try) 2>&5
83037 ac_status=$?
83038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83039 (exit $ac_status); }; } &&
83040 { ac_try='test -s conftest$ac_exeext'
83041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83042 (eval $ac_try) 2>&5
83043 ac_status=$?
83044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83045 (exit $ac_status); }; }; then
83046 glibcxx_cv_func___builtin_sin_link=yes
83047 else
83048 echo "$as_me: failed program was:" >&5
83049 sed 's/^/| /' conftest.$ac_ext >&5
83051 glibcxx_cv_func___builtin_sin_link=no
83053 rm -f conftest.err conftest.$ac_objext \
83054 conftest$ac_exeext conftest.$ac_ext
83059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83062 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83064 cat >>confdefs.h <<\_ACEOF
83065 #define HAVE___BUILTIN_SIN 1
83066 _ACEOF
83073 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83074 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83075 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83076 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83077 echo $ECHO_N "(cached) $ECHO_C" >&6
83078 else
83082 ac_ext=cc
83083 ac_cpp='$CXXCPP $CPPFLAGS'
83084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83088 cat >conftest.$ac_ext <<_ACEOF
83089 /* confdefs.h. */
83090 _ACEOF
83091 cat confdefs.h >>conftest.$ac_ext
83092 cat >>conftest.$ac_ext <<_ACEOF
83093 /* end confdefs.h. */
83094 #include <math.h>
83096 main ()
83098 __builtin_sinl(0);
83100 return 0;
83102 _ACEOF
83103 rm -f conftest.$ac_objext
83104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83105 (eval $ac_compile) 2>conftest.er1
83106 ac_status=$?
83107 grep -v '^ *+' conftest.er1 >conftest.err
83108 rm -f conftest.er1
83109 cat conftest.err >&5
83110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83111 (exit $ac_status); } &&
83112 { ac_try='test -z "$ac_cxx_werror_flag"
83113 || test ! -s conftest.err'
83114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83115 (eval $ac_try) 2>&5
83116 ac_status=$?
83117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83118 (exit $ac_status); }; } &&
83119 { ac_try='test -s conftest.$ac_objext'
83120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83121 (eval $ac_try) 2>&5
83122 ac_status=$?
83123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83124 (exit $ac_status); }; }; then
83125 glibcxx_cv_func___builtin_sinl_use=yes
83126 else
83127 echo "$as_me: failed program was:" >&5
83128 sed 's/^/| /' conftest.$ac_ext >&5
83130 glibcxx_cv_func___builtin_sinl_use=no
83132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83133 ac_ext=c
83134 ac_cpp='$CPP $CPPFLAGS'
83135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83144 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83145 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83146 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83147 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83148 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83149 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83150 echo $ECHO_N "(cached) $ECHO_C" >&6
83151 else
83153 if test x$gcc_no_link = xyes; then
83154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83156 { (exit 1); exit 1; }; }
83158 cat >conftest.$ac_ext <<_ACEOF
83159 /* confdefs.h. */
83160 _ACEOF
83161 cat confdefs.h >>conftest.$ac_ext
83162 cat >>conftest.$ac_ext <<_ACEOF
83163 /* end confdefs.h. */
83164 #include <math.h>
83166 main ()
83168 __builtin_sinl(0);
83170 return 0;
83172 _ACEOF
83173 rm -f conftest.$ac_objext conftest$ac_exeext
83174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83175 (eval $ac_link) 2>conftest.er1
83176 ac_status=$?
83177 grep -v '^ *+' conftest.er1 >conftest.err
83178 rm -f conftest.er1
83179 cat conftest.err >&5
83180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83181 (exit $ac_status); } &&
83182 { ac_try='test -z "$ac_c_werror_flag"
83183 || test ! -s conftest.err'
83184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83185 (eval $ac_try) 2>&5
83186 ac_status=$?
83187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83188 (exit $ac_status); }; } &&
83189 { ac_try='test -s conftest$ac_exeext'
83190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83191 (eval $ac_try) 2>&5
83192 ac_status=$?
83193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83194 (exit $ac_status); }; }; then
83195 glibcxx_cv_func___builtin_sinl_link=yes
83196 else
83197 echo "$as_me: failed program was:" >&5
83198 sed 's/^/| /' conftest.$ac_ext >&5
83200 glibcxx_cv_func___builtin_sinl_link=no
83202 rm -f conftest.err conftest.$ac_objext \
83203 conftest$ac_exeext conftest.$ac_ext
83208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83211 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83213 cat >>confdefs.h <<\_ACEOF
83214 #define HAVE___BUILTIN_SINL 1
83215 _ACEOF
83223 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83224 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83225 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83226 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83227 echo $ECHO_N "(cached) $ECHO_C" >&6
83228 else
83232 ac_ext=cc
83233 ac_cpp='$CXXCPP $CPPFLAGS'
83234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83238 cat >conftest.$ac_ext <<_ACEOF
83239 /* confdefs.h. */
83240 _ACEOF
83241 cat confdefs.h >>conftest.$ac_ext
83242 cat >>conftest.$ac_ext <<_ACEOF
83243 /* end confdefs.h. */
83244 #include <math.h>
83246 main ()
83248 __builtin_cosf(0);
83250 return 0;
83252 _ACEOF
83253 rm -f conftest.$ac_objext
83254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83255 (eval $ac_compile) 2>conftest.er1
83256 ac_status=$?
83257 grep -v '^ *+' conftest.er1 >conftest.err
83258 rm -f conftest.er1
83259 cat conftest.err >&5
83260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83261 (exit $ac_status); } &&
83262 { ac_try='test -z "$ac_cxx_werror_flag"
83263 || test ! -s conftest.err'
83264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83265 (eval $ac_try) 2>&5
83266 ac_status=$?
83267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83268 (exit $ac_status); }; } &&
83269 { ac_try='test -s conftest.$ac_objext'
83270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83271 (eval $ac_try) 2>&5
83272 ac_status=$?
83273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83274 (exit $ac_status); }; }; then
83275 glibcxx_cv_func___builtin_cosf_use=yes
83276 else
83277 echo "$as_me: failed program was:" >&5
83278 sed 's/^/| /' conftest.$ac_ext >&5
83280 glibcxx_cv_func___builtin_cosf_use=no
83282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83283 ac_ext=c
83284 ac_cpp='$CPP $CPPFLAGS'
83285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83293 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83294 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83295 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83296 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83297 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83298 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83299 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83300 echo $ECHO_N "(cached) $ECHO_C" >&6
83301 else
83303 if test x$gcc_no_link = xyes; then
83304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83306 { (exit 1); exit 1; }; }
83308 cat >conftest.$ac_ext <<_ACEOF
83309 /* confdefs.h. */
83310 _ACEOF
83311 cat confdefs.h >>conftest.$ac_ext
83312 cat >>conftest.$ac_ext <<_ACEOF
83313 /* end confdefs.h. */
83314 #include <math.h>
83316 main ()
83318 __builtin_cosf(0);
83320 return 0;
83322 _ACEOF
83323 rm -f conftest.$ac_objext conftest$ac_exeext
83324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83325 (eval $ac_link) 2>conftest.er1
83326 ac_status=$?
83327 grep -v '^ *+' conftest.er1 >conftest.err
83328 rm -f conftest.er1
83329 cat conftest.err >&5
83330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331 (exit $ac_status); } &&
83332 { ac_try='test -z "$ac_c_werror_flag"
83333 || test ! -s conftest.err'
83334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83335 (eval $ac_try) 2>&5
83336 ac_status=$?
83337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338 (exit $ac_status); }; } &&
83339 { ac_try='test -s conftest$ac_exeext'
83340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83341 (eval $ac_try) 2>&5
83342 ac_status=$?
83343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83344 (exit $ac_status); }; }; then
83345 glibcxx_cv_func___builtin_cosf_link=yes
83346 else
83347 echo "$as_me: failed program was:" >&5
83348 sed 's/^/| /' conftest.$ac_ext >&5
83350 glibcxx_cv_func___builtin_cosf_link=no
83352 rm -f conftest.err conftest.$ac_objext \
83353 conftest$ac_exeext conftest.$ac_ext
83358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83359 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83361 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83363 cat >>confdefs.h <<\_ACEOF
83364 #define HAVE___BUILTIN_COSF 1
83365 _ACEOF
83372 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83373 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83374 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83375 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83376 echo $ECHO_N "(cached) $ECHO_C" >&6
83377 else
83381 ac_ext=cc
83382 ac_cpp='$CXXCPP $CPPFLAGS'
83383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83387 cat >conftest.$ac_ext <<_ACEOF
83388 /* confdefs.h. */
83389 _ACEOF
83390 cat confdefs.h >>conftest.$ac_ext
83391 cat >>conftest.$ac_ext <<_ACEOF
83392 /* end confdefs.h. */
83393 #include <math.h>
83395 main ()
83397 __builtin_cos(0);
83399 return 0;
83401 _ACEOF
83402 rm -f conftest.$ac_objext
83403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83404 (eval $ac_compile) 2>conftest.er1
83405 ac_status=$?
83406 grep -v '^ *+' conftest.er1 >conftest.err
83407 rm -f conftest.er1
83408 cat conftest.err >&5
83409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83410 (exit $ac_status); } &&
83411 { ac_try='test -z "$ac_cxx_werror_flag"
83412 || test ! -s conftest.err'
83413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83414 (eval $ac_try) 2>&5
83415 ac_status=$?
83416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83417 (exit $ac_status); }; } &&
83418 { ac_try='test -s conftest.$ac_objext'
83419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83420 (eval $ac_try) 2>&5
83421 ac_status=$?
83422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83423 (exit $ac_status); }; }; then
83424 glibcxx_cv_func___builtin_cos_use=yes
83425 else
83426 echo "$as_me: failed program was:" >&5
83427 sed 's/^/| /' conftest.$ac_ext >&5
83429 glibcxx_cv_func___builtin_cos_use=no
83431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83432 ac_ext=c
83433 ac_cpp='$CPP $CPPFLAGS'
83434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83442 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83443 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83444 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83445 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83446 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83447 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83448 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83449 echo $ECHO_N "(cached) $ECHO_C" >&6
83450 else
83452 if test x$gcc_no_link = xyes; then
83453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83455 { (exit 1); exit 1; }; }
83457 cat >conftest.$ac_ext <<_ACEOF
83458 /* confdefs.h. */
83459 _ACEOF
83460 cat confdefs.h >>conftest.$ac_ext
83461 cat >>conftest.$ac_ext <<_ACEOF
83462 /* end confdefs.h. */
83463 #include <math.h>
83465 main ()
83467 __builtin_cos(0);
83469 return 0;
83471 _ACEOF
83472 rm -f conftest.$ac_objext conftest$ac_exeext
83473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83474 (eval $ac_link) 2>conftest.er1
83475 ac_status=$?
83476 grep -v '^ *+' conftest.er1 >conftest.err
83477 rm -f conftest.er1
83478 cat conftest.err >&5
83479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83480 (exit $ac_status); } &&
83481 { ac_try='test -z "$ac_c_werror_flag"
83482 || test ! -s conftest.err'
83483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83484 (eval $ac_try) 2>&5
83485 ac_status=$?
83486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83487 (exit $ac_status); }; } &&
83488 { ac_try='test -s conftest$ac_exeext'
83489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83490 (eval $ac_try) 2>&5
83491 ac_status=$?
83492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83493 (exit $ac_status); }; }; then
83494 glibcxx_cv_func___builtin_cos_link=yes
83495 else
83496 echo "$as_me: failed program was:" >&5
83497 sed 's/^/| /' conftest.$ac_ext >&5
83499 glibcxx_cv_func___builtin_cos_link=no
83501 rm -f conftest.err conftest.$ac_objext \
83502 conftest$ac_exeext conftest.$ac_ext
83507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83508 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83510 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83512 cat >>confdefs.h <<\_ACEOF
83513 #define HAVE___BUILTIN_COS 1
83514 _ACEOF
83521 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83522 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83523 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83524 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83525 echo $ECHO_N "(cached) $ECHO_C" >&6
83526 else
83530 ac_ext=cc
83531 ac_cpp='$CXXCPP $CPPFLAGS'
83532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83536 cat >conftest.$ac_ext <<_ACEOF
83537 /* confdefs.h. */
83538 _ACEOF
83539 cat confdefs.h >>conftest.$ac_ext
83540 cat >>conftest.$ac_ext <<_ACEOF
83541 /* end confdefs.h. */
83542 #include <math.h>
83544 main ()
83546 __builtin_cosl(0);
83548 return 0;
83550 _ACEOF
83551 rm -f conftest.$ac_objext
83552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83553 (eval $ac_compile) 2>conftest.er1
83554 ac_status=$?
83555 grep -v '^ *+' conftest.er1 >conftest.err
83556 rm -f conftest.er1
83557 cat conftest.err >&5
83558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83559 (exit $ac_status); } &&
83560 { ac_try='test -z "$ac_cxx_werror_flag"
83561 || test ! -s conftest.err'
83562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83563 (eval $ac_try) 2>&5
83564 ac_status=$?
83565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83566 (exit $ac_status); }; } &&
83567 { ac_try='test -s conftest.$ac_objext'
83568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83569 (eval $ac_try) 2>&5
83570 ac_status=$?
83571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572 (exit $ac_status); }; }; then
83573 glibcxx_cv_func___builtin_cosl_use=yes
83574 else
83575 echo "$as_me: failed program was:" >&5
83576 sed 's/^/| /' conftest.$ac_ext >&5
83578 glibcxx_cv_func___builtin_cosl_use=no
83580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83581 ac_ext=c
83582 ac_cpp='$CPP $CPPFLAGS'
83583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83592 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83593 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83594 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83595 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83596 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83597 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83598 echo $ECHO_N "(cached) $ECHO_C" >&6
83599 else
83601 if test x$gcc_no_link = xyes; then
83602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83604 { (exit 1); exit 1; }; }
83606 cat >conftest.$ac_ext <<_ACEOF
83607 /* confdefs.h. */
83608 _ACEOF
83609 cat confdefs.h >>conftest.$ac_ext
83610 cat >>conftest.$ac_ext <<_ACEOF
83611 /* end confdefs.h. */
83612 #include <math.h>
83614 main ()
83616 __builtin_cosl(0);
83618 return 0;
83620 _ACEOF
83621 rm -f conftest.$ac_objext conftest$ac_exeext
83622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83623 (eval $ac_link) 2>conftest.er1
83624 ac_status=$?
83625 grep -v '^ *+' conftest.er1 >conftest.err
83626 rm -f conftest.er1
83627 cat conftest.err >&5
83628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83629 (exit $ac_status); } &&
83630 { ac_try='test -z "$ac_c_werror_flag"
83631 || test ! -s conftest.err'
83632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83633 (eval $ac_try) 2>&5
83634 ac_status=$?
83635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83636 (exit $ac_status); }; } &&
83637 { ac_try='test -s conftest$ac_exeext'
83638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83639 (eval $ac_try) 2>&5
83640 ac_status=$?
83641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83642 (exit $ac_status); }; }; then
83643 glibcxx_cv_func___builtin_cosl_link=yes
83644 else
83645 echo "$as_me: failed program was:" >&5
83646 sed 's/^/| /' conftest.$ac_ext >&5
83648 glibcxx_cv_func___builtin_cosl_link=no
83650 rm -f conftest.err conftest.$ac_objext \
83651 conftest$ac_exeext conftest.$ac_ext
83656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83657 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83659 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83661 cat >>confdefs.h <<\_ACEOF
83662 #define HAVE___BUILTIN_COSL 1
83663 _ACEOF
83672 echo "$as_me:$LINENO: checking for main in -lm" >&5
83673 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83674 if test "${ac_cv_lib_m_main+set}" = set; then
83675 echo $ECHO_N "(cached) $ECHO_C" >&6
83676 else
83677 ac_check_lib_save_LIBS=$LIBS
83678 LIBS="-lm $LIBS"
83679 if test x$gcc_no_link = xyes; then
83680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83682 { (exit 1); exit 1; }; }
83684 cat >conftest.$ac_ext <<_ACEOF
83685 /* confdefs.h. */
83686 _ACEOF
83687 cat confdefs.h >>conftest.$ac_ext
83688 cat >>conftest.$ac_ext <<_ACEOF
83689 /* end confdefs.h. */
83693 main ()
83695 main ();
83697 return 0;
83699 _ACEOF
83700 rm -f conftest.$ac_objext conftest$ac_exeext
83701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83702 (eval $ac_link) 2>conftest.er1
83703 ac_status=$?
83704 grep -v '^ *+' conftest.er1 >conftest.err
83705 rm -f conftest.er1
83706 cat conftest.err >&5
83707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83708 (exit $ac_status); } &&
83709 { ac_try='test -z "$ac_c_werror_flag"
83710 || test ! -s conftest.err'
83711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83712 (eval $ac_try) 2>&5
83713 ac_status=$?
83714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83715 (exit $ac_status); }; } &&
83716 { ac_try='test -s conftest$ac_exeext'
83717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83718 (eval $ac_try) 2>&5
83719 ac_status=$?
83720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83721 (exit $ac_status); }; }; then
83722 ac_cv_lib_m_main=yes
83723 else
83724 echo "$as_me: failed program was:" >&5
83725 sed 's/^/| /' conftest.$ac_ext >&5
83727 ac_cv_lib_m_main=no
83729 rm -f conftest.err conftest.$ac_objext \
83730 conftest$ac_exeext conftest.$ac_ext
83731 LIBS=$ac_check_lib_save_LIBS
83733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83734 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83735 if test $ac_cv_lib_m_main = yes; then
83736 cat >>confdefs.h <<_ACEOF
83737 #define HAVE_LIBM 1
83738 _ACEOF
83740 LIBS="-lm $LIBS"
83745 for ac_func in copysignf
83747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83748 echo "$as_me:$LINENO: checking for $ac_func" >&5
83749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83750 if eval "test \"\${$as_ac_var+set}\" = set"; then
83751 echo $ECHO_N "(cached) $ECHO_C" >&6
83752 else
83753 if test x$gcc_no_link = xyes; then
83754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83756 { (exit 1); exit 1; }; }
83758 cat >conftest.$ac_ext <<_ACEOF
83759 /* confdefs.h. */
83760 _ACEOF
83761 cat confdefs.h >>conftest.$ac_ext
83762 cat >>conftest.$ac_ext <<_ACEOF
83763 /* end confdefs.h. */
83764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83766 #define $ac_func innocuous_$ac_func
83768 /* System header to define __stub macros and hopefully few prototypes,
83769 which can conflict with char $ac_func (); below.
83770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83771 <limits.h> exists even on freestanding compilers. */
83773 #ifdef __STDC__
83774 # include <limits.h>
83775 #else
83776 # include <assert.h>
83777 #endif
83779 #undef $ac_func
83781 /* Override any gcc2 internal prototype to avoid an error. */
83782 #ifdef __cplusplus
83783 extern "C"
83785 #endif
83786 /* We use char because int might match the return type of a gcc2
83787 builtin and then its argument prototype would still apply. */
83788 char $ac_func ();
83789 /* The GNU C library defines this for functions which it implements
83790 to always fail with ENOSYS. Some functions are actually named
83791 something starting with __ and the normal name is an alias. */
83792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83793 choke me
83794 #else
83795 char (*f) () = $ac_func;
83796 #endif
83797 #ifdef __cplusplus
83799 #endif
83802 main ()
83804 return f != $ac_func;
83806 return 0;
83808 _ACEOF
83809 rm -f conftest.$ac_objext conftest$ac_exeext
83810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83811 (eval $ac_link) 2>conftest.er1
83812 ac_status=$?
83813 grep -v '^ *+' conftest.er1 >conftest.err
83814 rm -f conftest.er1
83815 cat conftest.err >&5
83816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83817 (exit $ac_status); } &&
83818 { ac_try='test -z "$ac_c_werror_flag"
83819 || test ! -s conftest.err'
83820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83821 (eval $ac_try) 2>&5
83822 ac_status=$?
83823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83824 (exit $ac_status); }; } &&
83825 { ac_try='test -s conftest$ac_exeext'
83826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83827 (eval $ac_try) 2>&5
83828 ac_status=$?
83829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83830 (exit $ac_status); }; }; then
83831 eval "$as_ac_var=yes"
83832 else
83833 echo "$as_me: failed program was:" >&5
83834 sed 's/^/| /' conftest.$ac_ext >&5
83836 eval "$as_ac_var=no"
83838 rm -f conftest.err conftest.$ac_objext \
83839 conftest$ac_exeext conftest.$ac_ext
83841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83843 if test `eval echo '${'$as_ac_var'}'` = yes; then
83844 cat >>confdefs.h <<_ACEOF
83845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83846 _ACEOF
83848 else
83849 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83851 done
83855 for ac_func in __signbit
83857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83858 echo "$as_me:$LINENO: checking for $ac_func" >&5
83859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83860 if eval "test \"\${$as_ac_var+set}\" = set"; then
83861 echo $ECHO_N "(cached) $ECHO_C" >&6
83862 else
83863 if test x$gcc_no_link = xyes; then
83864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83866 { (exit 1); exit 1; }; }
83868 cat >conftest.$ac_ext <<_ACEOF
83869 /* confdefs.h. */
83870 _ACEOF
83871 cat confdefs.h >>conftest.$ac_ext
83872 cat >>conftest.$ac_ext <<_ACEOF
83873 /* end confdefs.h. */
83874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83876 #define $ac_func innocuous_$ac_func
83878 /* System header to define __stub macros and hopefully few prototypes,
83879 which can conflict with char $ac_func (); below.
83880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83881 <limits.h> exists even on freestanding compilers. */
83883 #ifdef __STDC__
83884 # include <limits.h>
83885 #else
83886 # include <assert.h>
83887 #endif
83889 #undef $ac_func
83891 /* Override any gcc2 internal prototype to avoid an error. */
83892 #ifdef __cplusplus
83893 extern "C"
83895 #endif
83896 /* We use char because int might match the return type of a gcc2
83897 builtin and then its argument prototype would still apply. */
83898 char $ac_func ();
83899 /* The GNU C library defines this for functions which it implements
83900 to always fail with ENOSYS. Some functions are actually named
83901 something starting with __ and the normal name is an alias. */
83902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83903 choke me
83904 #else
83905 char (*f) () = $ac_func;
83906 #endif
83907 #ifdef __cplusplus
83909 #endif
83912 main ()
83914 return f != $ac_func;
83916 return 0;
83918 _ACEOF
83919 rm -f conftest.$ac_objext conftest$ac_exeext
83920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83921 (eval $ac_link) 2>conftest.er1
83922 ac_status=$?
83923 grep -v '^ *+' conftest.er1 >conftest.err
83924 rm -f conftest.er1
83925 cat conftest.err >&5
83926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83927 (exit $ac_status); } &&
83928 { ac_try='test -z "$ac_c_werror_flag"
83929 || test ! -s conftest.err'
83930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83931 (eval $ac_try) 2>&5
83932 ac_status=$?
83933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934 (exit $ac_status); }; } &&
83935 { ac_try='test -s conftest$ac_exeext'
83936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83937 (eval $ac_try) 2>&5
83938 ac_status=$?
83939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83940 (exit $ac_status); }; }; then
83941 eval "$as_ac_var=yes"
83942 else
83943 echo "$as_me: failed program was:" >&5
83944 sed 's/^/| /' conftest.$ac_ext >&5
83946 eval "$as_ac_var=no"
83948 rm -f conftest.err conftest.$ac_objext \
83949 conftest$ac_exeext conftest.$ac_ext
83951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83953 if test `eval echo '${'$as_ac_var'}'` = yes; then
83954 cat >>confdefs.h <<_ACEOF
83955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83956 _ACEOF
83958 else
83959 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83961 done
83965 for ac_func in __signbitf
83967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83968 echo "$as_me:$LINENO: checking for $ac_func" >&5
83969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83970 if eval "test \"\${$as_ac_var+set}\" = set"; then
83971 echo $ECHO_N "(cached) $ECHO_C" >&6
83972 else
83973 if test x$gcc_no_link = xyes; then
83974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83976 { (exit 1); exit 1; }; }
83978 cat >conftest.$ac_ext <<_ACEOF
83979 /* confdefs.h. */
83980 _ACEOF
83981 cat confdefs.h >>conftest.$ac_ext
83982 cat >>conftest.$ac_ext <<_ACEOF
83983 /* end confdefs.h. */
83984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83986 #define $ac_func innocuous_$ac_func
83988 /* System header to define __stub macros and hopefully few prototypes,
83989 which can conflict with char $ac_func (); below.
83990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83991 <limits.h> exists even on freestanding compilers. */
83993 #ifdef __STDC__
83994 # include <limits.h>
83995 #else
83996 # include <assert.h>
83997 #endif
83999 #undef $ac_func
84001 /* Override any gcc2 internal prototype to avoid an error. */
84002 #ifdef __cplusplus
84003 extern "C"
84005 #endif
84006 /* We use char because int might match the return type of a gcc2
84007 builtin and then its argument prototype would still apply. */
84008 char $ac_func ();
84009 /* The GNU C library defines this for functions which it implements
84010 to always fail with ENOSYS. Some functions are actually named
84011 something starting with __ and the normal name is an alias. */
84012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84013 choke me
84014 #else
84015 char (*f) () = $ac_func;
84016 #endif
84017 #ifdef __cplusplus
84019 #endif
84022 main ()
84024 return f != $ac_func;
84026 return 0;
84028 _ACEOF
84029 rm -f conftest.$ac_objext conftest$ac_exeext
84030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84031 (eval $ac_link) 2>conftest.er1
84032 ac_status=$?
84033 grep -v '^ *+' conftest.er1 >conftest.err
84034 rm -f conftest.er1
84035 cat conftest.err >&5
84036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84037 (exit $ac_status); } &&
84038 { ac_try='test -z "$ac_c_werror_flag"
84039 || test ! -s conftest.err'
84040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84041 (eval $ac_try) 2>&5
84042 ac_status=$?
84043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84044 (exit $ac_status); }; } &&
84045 { ac_try='test -s conftest$ac_exeext'
84046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84047 (eval $ac_try) 2>&5
84048 ac_status=$?
84049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84050 (exit $ac_status); }; }; then
84051 eval "$as_ac_var=yes"
84052 else
84053 echo "$as_me: failed program was:" >&5
84054 sed 's/^/| /' conftest.$ac_ext >&5
84056 eval "$as_ac_var=no"
84058 rm -f conftest.err conftest.$ac_objext \
84059 conftest$ac_exeext conftest.$ac_ext
84061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84063 if test `eval echo '${'$as_ac_var'}'` = yes; then
84064 cat >>confdefs.h <<_ACEOF
84065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84066 _ACEOF
84068 else
84069 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84071 done
84074 if test x$ac_cv_func_copysignl = x"yes"; then
84076 for ac_func in __signbitl
84078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84079 echo "$as_me:$LINENO: checking for $ac_func" >&5
84080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84081 if eval "test \"\${$as_ac_var+set}\" = set"; then
84082 echo $ECHO_N "(cached) $ECHO_C" >&6
84083 else
84084 if test x$gcc_no_link = xyes; then
84085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84087 { (exit 1); exit 1; }; }
84089 cat >conftest.$ac_ext <<_ACEOF
84090 /* confdefs.h. */
84091 _ACEOF
84092 cat confdefs.h >>conftest.$ac_ext
84093 cat >>conftest.$ac_ext <<_ACEOF
84094 /* end confdefs.h. */
84095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84097 #define $ac_func innocuous_$ac_func
84099 /* System header to define __stub macros and hopefully few prototypes,
84100 which can conflict with char $ac_func (); below.
84101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84102 <limits.h> exists even on freestanding compilers. */
84104 #ifdef __STDC__
84105 # include <limits.h>
84106 #else
84107 # include <assert.h>
84108 #endif
84110 #undef $ac_func
84112 /* Override any gcc2 internal prototype to avoid an error. */
84113 #ifdef __cplusplus
84114 extern "C"
84116 #endif
84117 /* We use char because int might match the return type of a gcc2
84118 builtin and then its argument prototype would still apply. */
84119 char $ac_func ();
84120 /* The GNU C library defines this for functions which it implements
84121 to always fail with ENOSYS. Some functions are actually named
84122 something starting with __ and the normal name is an alias. */
84123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84124 choke me
84125 #else
84126 char (*f) () = $ac_func;
84127 #endif
84128 #ifdef __cplusplus
84130 #endif
84133 main ()
84135 return f != $ac_func;
84137 return 0;
84139 _ACEOF
84140 rm -f conftest.$ac_objext conftest$ac_exeext
84141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84142 (eval $ac_link) 2>conftest.er1
84143 ac_status=$?
84144 grep -v '^ *+' conftest.er1 >conftest.err
84145 rm -f conftest.er1
84146 cat conftest.err >&5
84147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84148 (exit $ac_status); } &&
84149 { ac_try='test -z "$ac_c_werror_flag"
84150 || test ! -s conftest.err'
84151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84152 (eval $ac_try) 2>&5
84153 ac_status=$?
84154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84155 (exit $ac_status); }; } &&
84156 { ac_try='test -s conftest$ac_exeext'
84157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84158 (eval $ac_try) 2>&5
84159 ac_status=$?
84160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84161 (exit $ac_status); }; }; then
84162 eval "$as_ac_var=yes"
84163 else
84164 echo "$as_me: failed program was:" >&5
84165 sed 's/^/| /' conftest.$ac_ext >&5
84167 eval "$as_ac_var=no"
84169 rm -f conftest.err conftest.$ac_objext \
84170 conftest$ac_exeext conftest.$ac_ext
84172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84174 if test `eval echo '${'$as_ac_var'}'` = yes; then
84175 cat >>confdefs.h <<_ACEOF
84176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84177 _ACEOF
84179 else
84180 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84182 done
84186 # Used in libmath/Makefile.am.
84187 if test -n "$LIBMATHOBJS"; then
84188 need_libmath=yes
84193 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84194 ac_save_CXXFLAGS="$CXXFLAGS"
84195 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84198 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84199 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84200 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84201 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84202 echo $ECHO_N "(cached) $ECHO_C" >&6
84203 else
84207 ac_ext=cc
84208 ac_cpp='$CXXCPP $CPPFLAGS'
84209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84213 cat >conftest.$ac_ext <<_ACEOF
84214 /* confdefs.h. */
84215 _ACEOF
84216 cat confdefs.h >>conftest.$ac_ext
84217 cat >>conftest.$ac_ext <<_ACEOF
84218 /* end confdefs.h. */
84219 #include <stdlib.h>
84221 main ()
84223 strtold(0, 0);
84225 return 0;
84227 _ACEOF
84228 rm -f conftest.$ac_objext
84229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84230 (eval $ac_compile) 2>conftest.er1
84231 ac_status=$?
84232 grep -v '^ *+' conftest.er1 >conftest.err
84233 rm -f conftest.er1
84234 cat conftest.err >&5
84235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84236 (exit $ac_status); } &&
84237 { ac_try='test -z "$ac_cxx_werror_flag"
84238 || test ! -s conftest.err'
84239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84240 (eval $ac_try) 2>&5
84241 ac_status=$?
84242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243 (exit $ac_status); }; } &&
84244 { ac_try='test -s conftest.$ac_objext'
84245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84246 (eval $ac_try) 2>&5
84247 ac_status=$?
84248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84249 (exit $ac_status); }; }; then
84250 glibcxx_cv_func_strtold_use=yes
84251 else
84252 echo "$as_me: failed program was:" >&5
84253 sed 's/^/| /' conftest.$ac_ext >&5
84255 glibcxx_cv_func_strtold_use=no
84257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84258 ac_ext=c
84259 ac_cpp='$CPP $CPPFLAGS'
84260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84269 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84270 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84272 for ac_func in strtold
84274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84275 echo "$as_me:$LINENO: checking for $ac_func" >&5
84276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84277 if eval "test \"\${$as_ac_var+set}\" = set"; then
84278 echo $ECHO_N "(cached) $ECHO_C" >&6
84279 else
84280 if test x$gcc_no_link = xyes; then
84281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84283 { (exit 1); exit 1; }; }
84285 cat >conftest.$ac_ext <<_ACEOF
84286 /* confdefs.h. */
84287 _ACEOF
84288 cat confdefs.h >>conftest.$ac_ext
84289 cat >>conftest.$ac_ext <<_ACEOF
84290 /* end confdefs.h. */
84291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84293 #define $ac_func innocuous_$ac_func
84295 /* System header to define __stub macros and hopefully few prototypes,
84296 which can conflict with char $ac_func (); below.
84297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84298 <limits.h> exists even on freestanding compilers. */
84300 #ifdef __STDC__
84301 # include <limits.h>
84302 #else
84303 # include <assert.h>
84304 #endif
84306 #undef $ac_func
84308 /* Override any gcc2 internal prototype to avoid an error. */
84309 #ifdef __cplusplus
84310 extern "C"
84312 #endif
84313 /* We use char because int might match the return type of a gcc2
84314 builtin and then its argument prototype would still apply. */
84315 char $ac_func ();
84316 /* The GNU C library defines this for functions which it implements
84317 to always fail with ENOSYS. Some functions are actually named
84318 something starting with __ and the normal name is an alias. */
84319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84320 choke me
84321 #else
84322 char (*f) () = $ac_func;
84323 #endif
84324 #ifdef __cplusplus
84326 #endif
84329 main ()
84331 return f != $ac_func;
84333 return 0;
84335 _ACEOF
84336 rm -f conftest.$ac_objext conftest$ac_exeext
84337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84338 (eval $ac_link) 2>conftest.er1
84339 ac_status=$?
84340 grep -v '^ *+' conftest.er1 >conftest.err
84341 rm -f conftest.er1
84342 cat conftest.err >&5
84343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84344 (exit $ac_status); } &&
84345 { ac_try='test -z "$ac_c_werror_flag"
84346 || test ! -s conftest.err'
84347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84348 (eval $ac_try) 2>&5
84349 ac_status=$?
84350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84351 (exit $ac_status); }; } &&
84352 { ac_try='test -s conftest$ac_exeext'
84353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84354 (eval $ac_try) 2>&5
84355 ac_status=$?
84356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84357 (exit $ac_status); }; }; then
84358 eval "$as_ac_var=yes"
84359 else
84360 echo "$as_me: failed program was:" >&5
84361 sed 's/^/| /' conftest.$ac_ext >&5
84363 eval "$as_ac_var=no"
84365 rm -f conftest.err conftest.$ac_objext \
84366 conftest$ac_exeext conftest.$ac_ext
84368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84370 if test `eval echo '${'$as_ac_var'}'` = yes; then
84371 cat >>confdefs.h <<_ACEOF
84372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84373 _ACEOF
84376 done
84384 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84385 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84386 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84387 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84388 echo $ECHO_N "(cached) $ECHO_C" >&6
84389 else
84393 ac_ext=cc
84394 ac_cpp='$CXXCPP $CPPFLAGS'
84395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84399 cat >conftest.$ac_ext <<_ACEOF
84400 /* confdefs.h. */
84401 _ACEOF
84402 cat confdefs.h >>conftest.$ac_ext
84403 cat >>conftest.$ac_ext <<_ACEOF
84404 /* end confdefs.h. */
84405 #include <stdlib.h>
84407 main ()
84409 strtof(0, 0);
84411 return 0;
84413 _ACEOF
84414 rm -f conftest.$ac_objext
84415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84416 (eval $ac_compile) 2>conftest.er1
84417 ac_status=$?
84418 grep -v '^ *+' conftest.er1 >conftest.err
84419 rm -f conftest.er1
84420 cat conftest.err >&5
84421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84422 (exit $ac_status); } &&
84423 { ac_try='test -z "$ac_cxx_werror_flag"
84424 || test ! -s conftest.err'
84425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84426 (eval $ac_try) 2>&5
84427 ac_status=$?
84428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84429 (exit $ac_status); }; } &&
84430 { ac_try='test -s conftest.$ac_objext'
84431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84432 (eval $ac_try) 2>&5
84433 ac_status=$?
84434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84435 (exit $ac_status); }; }; then
84436 glibcxx_cv_func_strtof_use=yes
84437 else
84438 echo "$as_me: failed program was:" >&5
84439 sed 's/^/| /' conftest.$ac_ext >&5
84441 glibcxx_cv_func_strtof_use=no
84443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84444 ac_ext=c
84445 ac_cpp='$CPP $CPPFLAGS'
84446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84455 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84456 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84458 for ac_func in strtof
84460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84461 echo "$as_me:$LINENO: checking for $ac_func" >&5
84462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84463 if eval "test \"\${$as_ac_var+set}\" = set"; then
84464 echo $ECHO_N "(cached) $ECHO_C" >&6
84465 else
84466 if test x$gcc_no_link = xyes; then
84467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84469 { (exit 1); exit 1; }; }
84471 cat >conftest.$ac_ext <<_ACEOF
84472 /* confdefs.h. */
84473 _ACEOF
84474 cat confdefs.h >>conftest.$ac_ext
84475 cat >>conftest.$ac_ext <<_ACEOF
84476 /* end confdefs.h. */
84477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84479 #define $ac_func innocuous_$ac_func
84481 /* System header to define __stub macros and hopefully few prototypes,
84482 which can conflict with char $ac_func (); below.
84483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84484 <limits.h> exists even on freestanding compilers. */
84486 #ifdef __STDC__
84487 # include <limits.h>
84488 #else
84489 # include <assert.h>
84490 #endif
84492 #undef $ac_func
84494 /* Override any gcc2 internal prototype to avoid an error. */
84495 #ifdef __cplusplus
84496 extern "C"
84498 #endif
84499 /* We use char because int might match the return type of a gcc2
84500 builtin and then its argument prototype would still apply. */
84501 char $ac_func ();
84502 /* The GNU C library defines this for functions which it implements
84503 to always fail with ENOSYS. Some functions are actually named
84504 something starting with __ and the normal name is an alias. */
84505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84506 choke me
84507 #else
84508 char (*f) () = $ac_func;
84509 #endif
84510 #ifdef __cplusplus
84512 #endif
84515 main ()
84517 return f != $ac_func;
84519 return 0;
84521 _ACEOF
84522 rm -f conftest.$ac_objext conftest$ac_exeext
84523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84524 (eval $ac_link) 2>conftest.er1
84525 ac_status=$?
84526 grep -v '^ *+' conftest.er1 >conftest.err
84527 rm -f conftest.er1
84528 cat conftest.err >&5
84529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84530 (exit $ac_status); } &&
84531 { ac_try='test -z "$ac_c_werror_flag"
84532 || test ! -s conftest.err'
84533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84534 (eval $ac_try) 2>&5
84535 ac_status=$?
84536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84537 (exit $ac_status); }; } &&
84538 { ac_try='test -s conftest$ac_exeext'
84539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84540 (eval $ac_try) 2>&5
84541 ac_status=$?
84542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84543 (exit $ac_status); }; }; then
84544 eval "$as_ac_var=yes"
84545 else
84546 echo "$as_me: failed program was:" >&5
84547 sed 's/^/| /' conftest.$ac_ext >&5
84549 eval "$as_ac_var=no"
84551 rm -f conftest.err conftest.$ac_objext \
84552 conftest$ac_exeext conftest.$ac_ext
84554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84556 if test `eval echo '${'$as_ac_var'}'` = yes; then
84557 cat >>confdefs.h <<_ACEOF
84558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84559 _ACEOF
84562 done
84570 CXXFLAGS="$ac_save_CXXFLAGS"
84573 # For showmanyc_helper().
84576 for ac_header in sys/ioctl.h sys/filio.h
84578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84580 echo "$as_me:$LINENO: checking for $ac_header" >&5
84581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84583 echo $ECHO_N "(cached) $ECHO_C" >&6
84585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84587 else
84588 # Is the header compilable?
84589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84591 cat >conftest.$ac_ext <<_ACEOF
84592 /* confdefs.h. */
84593 _ACEOF
84594 cat confdefs.h >>conftest.$ac_ext
84595 cat >>conftest.$ac_ext <<_ACEOF
84596 /* end confdefs.h. */
84597 $ac_includes_default
84598 #include <$ac_header>
84599 _ACEOF
84600 rm -f conftest.$ac_objext
84601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84602 (eval $ac_compile) 2>conftest.er1
84603 ac_status=$?
84604 grep -v '^ *+' conftest.er1 >conftest.err
84605 rm -f conftest.er1
84606 cat conftest.err >&5
84607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84608 (exit $ac_status); } &&
84609 { ac_try='test -z "$ac_c_werror_flag"
84610 || test ! -s conftest.err'
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); }; } &&
84616 { ac_try='test -s conftest.$ac_objext'
84617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84618 (eval $ac_try) 2>&5
84619 ac_status=$?
84620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84621 (exit $ac_status); }; }; then
84622 ac_header_compiler=yes
84623 else
84624 echo "$as_me: failed program was:" >&5
84625 sed 's/^/| /' conftest.$ac_ext >&5
84627 ac_header_compiler=no
84629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84631 echo "${ECHO_T}$ac_header_compiler" >&6
84633 # Is the header present?
84634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84636 cat >conftest.$ac_ext <<_ACEOF
84637 /* confdefs.h. */
84638 _ACEOF
84639 cat confdefs.h >>conftest.$ac_ext
84640 cat >>conftest.$ac_ext <<_ACEOF
84641 /* end confdefs.h. */
84642 #include <$ac_header>
84643 _ACEOF
84644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84646 ac_status=$?
84647 grep -v '^ *+' conftest.er1 >conftest.err
84648 rm -f conftest.er1
84649 cat conftest.err >&5
84650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84651 (exit $ac_status); } >/dev/null; then
84652 if test -s conftest.err; then
84653 ac_cpp_err=$ac_c_preproc_warn_flag
84654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84655 else
84656 ac_cpp_err=
84658 else
84659 ac_cpp_err=yes
84661 if test -z "$ac_cpp_err"; then
84662 ac_header_preproc=yes
84663 else
84664 echo "$as_me: failed program was:" >&5
84665 sed 's/^/| /' conftest.$ac_ext >&5
84667 ac_header_preproc=no
84669 rm -f conftest.err conftest.$ac_ext
84670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84671 echo "${ECHO_T}$ac_header_preproc" >&6
84673 # So? What about this header?
84674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84675 yes:no: )
84676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84680 ac_header_preproc=yes
84682 no:yes:* )
84683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84696 cat <<\_ASBOX
84697 ## ----------------------------------------- ##
84698 ## Report this to the package-unused lists. ##
84699 ## ----------------------------------------- ##
84700 _ASBOX
84702 sed "s/^/$as_me: WARNING: /" >&2
84704 esac
84705 echo "$as_me:$LINENO: checking for $ac_header" >&5
84706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84708 echo $ECHO_N "(cached) $ECHO_C" >&6
84709 else
84710 eval "$as_ac_Header=\$ac_header_preproc"
84712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84717 cat >>confdefs.h <<_ACEOF
84718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84719 _ACEOF
84723 done
84726 echo "$as_me:$LINENO: checking for poll" >&5
84727 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84728 if test "${glibcxx_cv_POLL+set}" = set; then
84729 echo $ECHO_N "(cached) $ECHO_C" >&6
84730 else
84732 if test x$gcc_no_link = xyes; then
84733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84735 { (exit 1); exit 1; }; }
84737 cat >conftest.$ac_ext <<_ACEOF
84738 /* confdefs.h. */
84739 _ACEOF
84740 cat confdefs.h >>conftest.$ac_ext
84741 cat >>conftest.$ac_ext <<_ACEOF
84742 /* end confdefs.h. */
84743 #include <poll.h>
84745 main ()
84747 struct pollfd pfd[1];
84748 pfd[0].events = POLLIN;
84749 poll(pfd, 1, 0);
84751 return 0;
84753 _ACEOF
84754 rm -f conftest.$ac_objext conftest$ac_exeext
84755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84756 (eval $ac_link) 2>conftest.er1
84757 ac_status=$?
84758 grep -v '^ *+' conftest.er1 >conftest.err
84759 rm -f conftest.er1
84760 cat conftest.err >&5
84761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84762 (exit $ac_status); } &&
84763 { ac_try='test -z "$ac_c_werror_flag"
84764 || test ! -s conftest.err'
84765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84766 (eval $ac_try) 2>&5
84767 ac_status=$?
84768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84769 (exit $ac_status); }; } &&
84770 { ac_try='test -s conftest$ac_exeext'
84771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84772 (eval $ac_try) 2>&5
84773 ac_status=$?
84774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84775 (exit $ac_status); }; }; then
84776 glibcxx_cv_POLL=yes
84777 else
84778 echo "$as_me: failed program was:" >&5
84779 sed 's/^/| /' conftest.$ac_ext >&5
84781 glibcxx_cv_POLL=no
84783 rm -f conftest.err conftest.$ac_objext \
84784 conftest$ac_exeext conftest.$ac_ext
84788 if test $glibcxx_cv_POLL = yes; then
84790 cat >>confdefs.h <<\_ACEOF
84791 #define HAVE_POLL 1
84792 _ACEOF
84795 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84796 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84799 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84800 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84801 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84802 echo $ECHO_N "(cached) $ECHO_C" >&6
84803 else
84805 if test x$gcc_no_link = xyes; then
84806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84808 { (exit 1); exit 1; }; }
84810 cat >conftest.$ac_ext <<_ACEOF
84811 /* confdefs.h. */
84812 _ACEOF
84813 cat confdefs.h >>conftest.$ac_ext
84814 cat >>conftest.$ac_ext <<_ACEOF
84815 /* end confdefs.h. */
84816 #include <sys/stat.h>
84818 main ()
84820 struct stat buffer;
84821 fstat(0, &buffer);
84822 S_ISREG(buffer.st_mode);
84824 return 0;
84826 _ACEOF
84827 rm -f conftest.$ac_objext conftest$ac_exeext
84828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84829 (eval $ac_link) 2>conftest.er1
84830 ac_status=$?
84831 grep -v '^ *+' conftest.er1 >conftest.err
84832 rm -f conftest.er1
84833 cat conftest.err >&5
84834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84835 (exit $ac_status); } &&
84836 { ac_try='test -z "$ac_c_werror_flag"
84837 || test ! -s conftest.err'
84838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84839 (eval $ac_try) 2>&5
84840 ac_status=$?
84841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84842 (exit $ac_status); }; } &&
84843 { ac_try='test -s conftest$ac_exeext'
84844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84845 (eval $ac_try) 2>&5
84846 ac_status=$?
84847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84848 (exit $ac_status); }; }; then
84849 glibcxx_cv_S_ISREG=yes
84850 else
84851 echo "$as_me: failed program was:" >&5
84852 sed 's/^/| /' conftest.$ac_ext >&5
84854 glibcxx_cv_S_ISREG=no
84856 rm -f conftest.err conftest.$ac_objext \
84857 conftest$ac_exeext conftest.$ac_ext
84861 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84862 echo $ECHO_N "(cached) $ECHO_C" >&6
84863 else
84865 if test x$gcc_no_link = xyes; then
84866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84868 { (exit 1); exit 1; }; }
84870 cat >conftest.$ac_ext <<_ACEOF
84871 /* confdefs.h. */
84872 _ACEOF
84873 cat confdefs.h >>conftest.$ac_ext
84874 cat >>conftest.$ac_ext <<_ACEOF
84875 /* end confdefs.h. */
84876 #include <sys/stat.h>
84878 main ()
84880 struct stat buffer;
84881 fstat(0, &buffer);
84882 S_IFREG & buffer.st_mode;
84884 return 0;
84886 _ACEOF
84887 rm -f conftest.$ac_objext conftest$ac_exeext
84888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84889 (eval $ac_link) 2>conftest.er1
84890 ac_status=$?
84891 grep -v '^ *+' conftest.er1 >conftest.err
84892 rm -f conftest.er1
84893 cat conftest.err >&5
84894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84895 (exit $ac_status); } &&
84896 { ac_try='test -z "$ac_c_werror_flag"
84897 || test ! -s conftest.err'
84898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84899 (eval $ac_try) 2>&5
84900 ac_status=$?
84901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84902 (exit $ac_status); }; } &&
84903 { ac_try='test -s conftest$ac_exeext'
84904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84905 (eval $ac_try) 2>&5
84906 ac_status=$?
84907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84908 (exit $ac_status); }; }; then
84909 glibcxx_cv_S_IFREG=yes
84910 else
84911 echo "$as_me: failed program was:" >&5
84912 sed 's/^/| /' conftest.$ac_ext >&5
84914 glibcxx_cv_S_IFREG=no
84916 rm -f conftest.err conftest.$ac_objext \
84917 conftest$ac_exeext conftest.$ac_ext
84921 res=no
84922 if test $glibcxx_cv_S_ISREG = yes; then
84924 cat >>confdefs.h <<\_ACEOF
84925 #define HAVE_S_ISREG 1
84926 _ACEOF
84928 res=S_ISREG
84929 elif test $glibcxx_cv_S_IFREG = yes; then
84931 cat >>confdefs.h <<\_ACEOF
84932 #define HAVE_S_IFREG 1
84933 _ACEOF
84935 res=S_IFREG
84937 echo "$as_me:$LINENO: result: $res" >&5
84938 echo "${ECHO_T}$res" >&6
84941 # For xsputn_2().
84943 for ac_header in sys/uio.h
84945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84947 echo "$as_me:$LINENO: checking for $ac_header" >&5
84948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84950 echo $ECHO_N "(cached) $ECHO_C" >&6
84952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84954 else
84955 # Is the header compilable?
84956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84958 cat >conftest.$ac_ext <<_ACEOF
84959 /* confdefs.h. */
84960 _ACEOF
84961 cat confdefs.h >>conftest.$ac_ext
84962 cat >>conftest.$ac_ext <<_ACEOF
84963 /* end confdefs.h. */
84964 $ac_includes_default
84965 #include <$ac_header>
84966 _ACEOF
84967 rm -f conftest.$ac_objext
84968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84969 (eval $ac_compile) 2>conftest.er1
84970 ac_status=$?
84971 grep -v '^ *+' conftest.er1 >conftest.err
84972 rm -f conftest.er1
84973 cat conftest.err >&5
84974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84975 (exit $ac_status); } &&
84976 { ac_try='test -z "$ac_c_werror_flag"
84977 || test ! -s conftest.err'
84978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84979 (eval $ac_try) 2>&5
84980 ac_status=$?
84981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84982 (exit $ac_status); }; } &&
84983 { ac_try='test -s conftest.$ac_objext'
84984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84985 (eval $ac_try) 2>&5
84986 ac_status=$?
84987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84988 (exit $ac_status); }; }; then
84989 ac_header_compiler=yes
84990 else
84991 echo "$as_me: failed program was:" >&5
84992 sed 's/^/| /' conftest.$ac_ext >&5
84994 ac_header_compiler=no
84996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84998 echo "${ECHO_T}$ac_header_compiler" >&6
85000 # Is the header present?
85001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85003 cat >conftest.$ac_ext <<_ACEOF
85004 /* confdefs.h. */
85005 _ACEOF
85006 cat confdefs.h >>conftest.$ac_ext
85007 cat >>conftest.$ac_ext <<_ACEOF
85008 /* end confdefs.h. */
85009 #include <$ac_header>
85010 _ACEOF
85011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85013 ac_status=$?
85014 grep -v '^ *+' conftest.er1 >conftest.err
85015 rm -f conftest.er1
85016 cat conftest.err >&5
85017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85018 (exit $ac_status); } >/dev/null; then
85019 if test -s conftest.err; then
85020 ac_cpp_err=$ac_c_preproc_warn_flag
85021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85022 else
85023 ac_cpp_err=
85025 else
85026 ac_cpp_err=yes
85028 if test -z "$ac_cpp_err"; then
85029 ac_header_preproc=yes
85030 else
85031 echo "$as_me: failed program was:" >&5
85032 sed 's/^/| /' conftest.$ac_ext >&5
85034 ac_header_preproc=no
85036 rm -f conftest.err conftest.$ac_ext
85037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85038 echo "${ECHO_T}$ac_header_preproc" >&6
85040 # So? What about this header?
85041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85042 yes:no: )
85043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85047 ac_header_preproc=yes
85049 no:yes:* )
85050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85063 cat <<\_ASBOX
85064 ## ----------------------------------------- ##
85065 ## Report this to the package-unused lists. ##
85066 ## ----------------------------------------- ##
85067 _ASBOX
85069 sed "s/^/$as_me: WARNING: /" >&2
85071 esac
85072 echo "$as_me:$LINENO: checking for $ac_header" >&5
85073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85075 echo $ECHO_N "(cached) $ECHO_C" >&6
85076 else
85077 eval "$as_ac_Header=\$ac_header_preproc"
85079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85084 cat >>confdefs.h <<_ACEOF
85085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85086 _ACEOF
85090 done
85093 echo "$as_me:$LINENO: checking for writev" >&5
85094 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85095 if test "${glibcxx_cv_WRITEV+set}" = set; then
85096 echo $ECHO_N "(cached) $ECHO_C" >&6
85097 else
85099 if test x$gcc_no_link = xyes; then
85100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85102 { (exit 1); exit 1; }; }
85104 cat >conftest.$ac_ext <<_ACEOF
85105 /* confdefs.h. */
85106 _ACEOF
85107 cat confdefs.h >>conftest.$ac_ext
85108 cat >>conftest.$ac_ext <<_ACEOF
85109 /* end confdefs.h. */
85110 #include <sys/uio.h>
85112 main ()
85114 struct iovec iov[2];
85115 writev(0, iov, 0);
85117 return 0;
85119 _ACEOF
85120 rm -f conftest.$ac_objext conftest$ac_exeext
85121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85122 (eval $ac_link) 2>conftest.er1
85123 ac_status=$?
85124 grep -v '^ *+' conftest.er1 >conftest.err
85125 rm -f conftest.er1
85126 cat conftest.err >&5
85127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85128 (exit $ac_status); } &&
85129 { ac_try='test -z "$ac_c_werror_flag"
85130 || test ! -s conftest.err'
85131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85132 (eval $ac_try) 2>&5
85133 ac_status=$?
85134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85135 (exit $ac_status); }; } &&
85136 { ac_try='test -s conftest$ac_exeext'
85137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85138 (eval $ac_try) 2>&5
85139 ac_status=$?
85140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85141 (exit $ac_status); }; }; then
85142 glibcxx_cv_WRITEV=yes
85143 else
85144 echo "$as_me: failed program was:" >&5
85145 sed 's/^/| /' conftest.$ac_ext >&5
85147 glibcxx_cv_WRITEV=no
85149 rm -f conftest.err conftest.$ac_objext \
85150 conftest$ac_exeext conftest.$ac_ext
85154 if test $glibcxx_cv_WRITEV = yes; then
85156 cat >>confdefs.h <<\_ACEOF
85157 #define HAVE_WRITEV 1
85158 _ACEOF
85161 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85162 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85165 cat >>confdefs.h <<\_ACEOF
85166 #define HAVE_LC_MESSAGES 1
85167 _ACEOF
85170 cat >conftest.$ac_ext <<_ACEOF
85171 /* confdefs.h. */
85172 _ACEOF
85173 cat confdefs.h >>conftest.$ac_ext
85174 cat >>conftest.$ac_ext <<_ACEOF
85175 /* end confdefs.h. */
85176 #include <setjmp.h>
85178 main ()
85180 sigjmp_buf env;
85181 while (! sigsetjmp (env, 1))
85182 siglongjmp (env, 1);
85185 return 0;
85187 _ACEOF
85188 rm -f conftest.$ac_objext
85189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85190 (eval $ac_compile) 2>conftest.er1
85191 ac_status=$?
85192 grep -v '^ *+' conftest.er1 >conftest.err
85193 rm -f conftest.er1
85194 cat conftest.err >&5
85195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85196 (exit $ac_status); } &&
85197 { ac_try='test -z "$ac_c_werror_flag"
85198 || test ! -s conftest.err'
85199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85200 (eval $ac_try) 2>&5
85201 ac_status=$?
85202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85203 (exit $ac_status); }; } &&
85204 { ac_try='test -s conftest.$ac_objext'
85205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85206 (eval $ac_try) 2>&5
85207 ac_status=$?
85208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85209 (exit $ac_status); }; }; then
85211 cat >>confdefs.h <<\_ACEOF
85212 #define HAVE_SIGSETJMP 1
85213 _ACEOF
85215 else
85216 echo "$as_me: failed program was:" >&5
85217 sed 's/^/| /' conftest.$ac_ext >&5
85220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85222 cat >>confdefs.h <<\_ACEOF
85223 #define HAVE_MMAP 1
85224 _ACEOF
85228 *djgpp)
85249 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85250 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85251 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85252 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85256 echo "$as_me:$LINENO: checking for $ac_header" >&5
85257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85259 echo $ECHO_N "(cached) $ECHO_C" >&6
85261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85263 else
85264 # Is the header compilable?
85265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85267 cat >conftest.$ac_ext <<_ACEOF
85268 /* confdefs.h. */
85269 _ACEOF
85270 cat confdefs.h >>conftest.$ac_ext
85271 cat >>conftest.$ac_ext <<_ACEOF
85272 /* end confdefs.h. */
85273 $ac_includes_default
85274 #include <$ac_header>
85275 _ACEOF
85276 rm -f conftest.$ac_objext
85277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85278 (eval $ac_compile) 2>conftest.er1
85279 ac_status=$?
85280 grep -v '^ *+' conftest.er1 >conftest.err
85281 rm -f conftest.er1
85282 cat conftest.err >&5
85283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85284 (exit $ac_status); } &&
85285 { ac_try='test -z "$ac_c_werror_flag"
85286 || test ! -s conftest.err'
85287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85288 (eval $ac_try) 2>&5
85289 ac_status=$?
85290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85291 (exit $ac_status); }; } &&
85292 { ac_try='test -s conftest.$ac_objext'
85293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85294 (eval $ac_try) 2>&5
85295 ac_status=$?
85296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85297 (exit $ac_status); }; }; then
85298 ac_header_compiler=yes
85299 else
85300 echo "$as_me: failed program was:" >&5
85301 sed 's/^/| /' conftest.$ac_ext >&5
85303 ac_header_compiler=no
85305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85307 echo "${ECHO_T}$ac_header_compiler" >&6
85309 # Is the header present?
85310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85312 cat >conftest.$ac_ext <<_ACEOF
85313 /* confdefs.h. */
85314 _ACEOF
85315 cat confdefs.h >>conftest.$ac_ext
85316 cat >>conftest.$ac_ext <<_ACEOF
85317 /* end confdefs.h. */
85318 #include <$ac_header>
85319 _ACEOF
85320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85321 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
85328 if test -s conftest.err; then
85329 ac_cpp_err=$ac_c_preproc_warn_flag
85330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85331 else
85332 ac_cpp_err=
85334 else
85335 ac_cpp_err=yes
85337 if test -z "$ac_cpp_err"; then
85338 ac_header_preproc=yes
85339 else
85340 echo "$as_me: failed program was:" >&5
85341 sed 's/^/| /' conftest.$ac_ext >&5
85343 ac_header_preproc=no
85345 rm -f conftest.err conftest.$ac_ext
85346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85347 echo "${ECHO_T}$ac_header_preproc" >&6
85349 # So? What about this header?
85350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85351 yes:no: )
85352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85356 ac_header_preproc=yes
85358 no:yes:* )
85359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85372 cat <<\_ASBOX
85373 ## ----------------------------------------- ##
85374 ## Report this to the package-unused lists. ##
85375 ## ----------------------------------------- ##
85376 _ASBOX
85378 sed "s/^/$as_me: WARNING: /" >&2
85380 esac
85381 echo "$as_me:$LINENO: checking for $ac_header" >&5
85382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85384 echo $ECHO_N "(cached) $ECHO_C" >&6
85385 else
85386 eval "$as_ac_Header=\$ac_header_preproc"
85388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85393 cat >>confdefs.h <<_ACEOF
85394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85395 _ACEOF
85399 done
85401 # GLIBCXX_CHECK_MATH_SUPPORT
85402 cat >>confdefs.h <<\_ACEOF
85403 #define HAVE_LIBM 1
85404 _ACEOF
85406 cat >>confdefs.h <<\_ACEOF
85407 #define HAVE_ISINF 1
85408 _ACEOF
85410 cat >>confdefs.h <<\_ACEOF
85411 #define HAVE_ISNAN 1
85412 _ACEOF
85414 cat >>confdefs.h <<\_ACEOF
85415 #define HAVE_FINITE 1
85416 _ACEOF
85418 cat >>confdefs.h <<\_ACEOF
85419 #define HAVE_COPYSIGN 1
85420 _ACEOF
85422 cat >>confdefs.h <<\_ACEOF
85423 #define HAVE_SINCOS 1
85424 _ACEOF
85426 cat >>confdefs.h <<\_ACEOF
85427 #define HAVE_HYPOT 1
85428 _ACEOF
85430 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85431 cat >>confdefs.h <<\_ACEOF
85432 #define HAVE___BUILTIN_ABS 1
85433 _ACEOF
85435 cat >>confdefs.h <<\_ACEOF
85436 #define HAVE___BUILTIN_FABSF 1
85437 _ACEOF
85439 cat >>confdefs.h <<\_ACEOF
85440 #define HAVE___BUILTIN_FABS 1
85441 _ACEOF
85443 cat >>confdefs.h <<\_ACEOF
85444 #define HAVE___BUILTIN_FABSL 1
85445 _ACEOF
85447 cat >>confdefs.h <<\_ACEOF
85448 #define HAVE___BUILTIN_LABS 1
85449 _ACEOF
85451 cat >>confdefs.h <<\_ACEOF
85452 #define HAVE___BUILTIN_SQRTF 1
85453 _ACEOF
85455 cat >>confdefs.h <<\_ACEOF
85456 #define HAVE___BUILTIN_SQRT 1
85457 _ACEOF
85459 cat >>confdefs.h <<\_ACEOF
85460 #define HAVE___BUILTIN_SQRTL 1
85461 _ACEOF
85463 cat >>confdefs.h <<\_ACEOF
85464 #define HAVE___BUILTIN_SINF 1
85465 _ACEOF
85467 cat >>confdefs.h <<\_ACEOF
85468 #define HAVE___BUILTIN_SIN 1
85469 _ACEOF
85471 cat >>confdefs.h <<\_ACEOF
85472 #define HAVE___BUILTIN_SINL 1
85473 _ACEOF
85475 cat >>confdefs.h <<\_ACEOF
85476 #define HAVE___BUILTIN_COSF 1
85477 _ACEOF
85479 cat >>confdefs.h <<\_ACEOF
85480 #define HAVE___BUILTIN_COS 1
85481 _ACEOF
85483 cat >>confdefs.h <<\_ACEOF
85484 #define HAVE___BUILTIN_COSL 1
85485 _ACEOF
85487 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85488 # GLIBCXX_CHECK_STDLIB_SUPPORT
85489 cat >>confdefs.h <<\_ACEOF
85490 #define HAVE_COPYSIGN 1
85491 _ACEOF
85493 cat >>confdefs.h <<\_ACEOF
85494 #define HAVE_COPYSIGNF 1
85495 _ACEOF
85497 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85498 cat >>confdefs.h <<\_ACEOF
85499 #define HAVE_S_ISREG 1
85500 _ACEOF
85502 cat >>confdefs.h <<\_ACEOF
85503 #define HAVE_S_IFREG 1
85504 _ACEOF
85506 cat >>confdefs.h <<\_ACEOF
85507 #define HAVE_WRITEV 1
85508 _ACEOF
85512 *-freebsd*)
85529 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85530 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85531 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85532 sys/time.h unistd.h
85534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85536 echo "$as_me:$LINENO: checking for $ac_header" >&5
85537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85539 echo $ECHO_N "(cached) $ECHO_C" >&6
85541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85543 else
85544 # Is the header compilable?
85545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85547 cat >conftest.$ac_ext <<_ACEOF
85548 /* confdefs.h. */
85549 _ACEOF
85550 cat confdefs.h >>conftest.$ac_ext
85551 cat >>conftest.$ac_ext <<_ACEOF
85552 /* end confdefs.h. */
85553 $ac_includes_default
85554 #include <$ac_header>
85555 _ACEOF
85556 rm -f conftest.$ac_objext
85557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85558 (eval $ac_compile) 2>conftest.er1
85559 ac_status=$?
85560 grep -v '^ *+' conftest.er1 >conftest.err
85561 rm -f conftest.er1
85562 cat conftest.err >&5
85563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85564 (exit $ac_status); } &&
85565 { ac_try='test -z "$ac_c_werror_flag"
85566 || test ! -s conftest.err'
85567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85568 (eval $ac_try) 2>&5
85569 ac_status=$?
85570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85571 (exit $ac_status); }; } &&
85572 { ac_try='test -s conftest.$ac_objext'
85573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85574 (eval $ac_try) 2>&5
85575 ac_status=$?
85576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85577 (exit $ac_status); }; }; then
85578 ac_header_compiler=yes
85579 else
85580 echo "$as_me: failed program was:" >&5
85581 sed 's/^/| /' conftest.$ac_ext >&5
85583 ac_header_compiler=no
85585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85587 echo "${ECHO_T}$ac_header_compiler" >&6
85589 # Is the header present?
85590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85592 cat >conftest.$ac_ext <<_ACEOF
85593 /* confdefs.h. */
85594 _ACEOF
85595 cat confdefs.h >>conftest.$ac_ext
85596 cat >>conftest.$ac_ext <<_ACEOF
85597 /* end confdefs.h. */
85598 #include <$ac_header>
85599 _ACEOF
85600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85602 ac_status=$?
85603 grep -v '^ *+' conftest.er1 >conftest.err
85604 rm -f conftest.er1
85605 cat conftest.err >&5
85606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85607 (exit $ac_status); } >/dev/null; then
85608 if test -s conftest.err; then
85609 ac_cpp_err=$ac_c_preproc_warn_flag
85610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85611 else
85612 ac_cpp_err=
85614 else
85615 ac_cpp_err=yes
85617 if test -z "$ac_cpp_err"; then
85618 ac_header_preproc=yes
85619 else
85620 echo "$as_me: failed program was:" >&5
85621 sed 's/^/| /' conftest.$ac_ext >&5
85623 ac_header_preproc=no
85625 rm -f conftest.err conftest.$ac_ext
85626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85627 echo "${ECHO_T}$ac_header_preproc" >&6
85629 # So? What about this header?
85630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85631 yes:no: )
85632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85636 ac_header_preproc=yes
85638 no:yes:* )
85639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85652 cat <<\_ASBOX
85653 ## ----------------------------------------- ##
85654 ## Report this to the package-unused lists. ##
85655 ## ----------------------------------------- ##
85656 _ASBOX
85658 sed "s/^/$as_me: WARNING: /" >&2
85660 esac
85661 echo "$as_me:$LINENO: checking for $ac_header" >&5
85662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85664 echo $ECHO_N "(cached) $ECHO_C" >&6
85665 else
85666 eval "$as_ac_Header=\$ac_header_preproc"
85668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85673 cat >>confdefs.h <<_ACEOF
85674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85675 _ACEOF
85679 done
85681 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85684 # If we're not using GNU ld, then there's no point in even trying these
85685 # tests. Check for that first. We should have already tested for gld
85686 # by now (in libtool), but require it now just to be safe...
85687 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85688 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85692 # The name set by libtool depends on the version of libtool. Shame on us
85693 # for depending on an impl detail, but c'est la vie. Older versions used
85694 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85695 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85696 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85697 # set (hence we're using an older libtool), then set it.
85698 if test x${with_gnu_ld+set} != xset; then
85699 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85700 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85701 with_gnu_ld=no
85702 else
85703 with_gnu_ld=$ac_cv_prog_gnu_ld
85707 # Start by getting the version number. I think the libtool test already
85708 # does some of this, but throws away the result.
85709 glibcxx_ld_is_gold=no
85710 if test x"$with_gnu_ld" = x"yes"; then
85711 echo "$as_me:$LINENO: checking for ld version" >&5
85712 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85714 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85715 glibcxx_ld_is_gold=yes
85717 ldver=`$LD --version 2>/dev/null | head -1 | \
85718 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85720 glibcxx_gnu_ld_version=`echo $ldver | \
85721 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85722 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85723 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85726 # Set --gc-sections.
85727 glibcxx_have_gc_sections=no
85728 if test "$glibcxx_ld_is_gold" = "yes"; then
85729 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85730 glibcxx_have_gc_sections=yes
85732 else
85733 glibcxx_gcsections_min_ld=21602
85734 if test x"$with_gnu_ld" = x"yes" &&
85735 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85736 glibcxx_have_gc_sections=yes
85739 if test "$glibcxx_have_gc_sections" = "yes"; then
85740 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85741 # NB: This flag only works reliably after 2.16.1. Configure tests
85742 # for this are difficult, so hard wire a value that should work.
85744 ac_test_CFLAGS="${CFLAGS+set}"
85745 ac_save_CFLAGS="$CFLAGS"
85746 CFLAGS='-Wl,--gc-sections'
85748 # Check for -Wl,--gc-sections
85749 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85750 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85751 if test x$gcc_no_link = xyes; then
85752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85754 { (exit 1); exit 1; }; }
85756 cat >conftest.$ac_ext <<_ACEOF
85757 /* confdefs.h. */
85758 _ACEOF
85759 cat confdefs.h >>conftest.$ac_ext
85760 cat >>conftest.$ac_ext <<_ACEOF
85761 /* end confdefs.h. */
85762 int one(void) { return 1; }
85763 int two(void) { return 2; }
85766 main ()
85768 two();
85770 return 0;
85772 _ACEOF
85773 rm -f conftest.$ac_objext conftest$ac_exeext
85774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85775 (eval $ac_link) 2>conftest.er1
85776 ac_status=$?
85777 grep -v '^ *+' conftest.er1 >conftest.err
85778 rm -f conftest.er1
85779 cat conftest.err >&5
85780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85781 (exit $ac_status); } &&
85782 { ac_try='test -z "$ac_c_werror_flag"
85783 || test ! -s conftest.err'
85784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85785 (eval $ac_try) 2>&5
85786 ac_status=$?
85787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85788 (exit $ac_status); }; } &&
85789 { ac_try='test -s conftest$ac_exeext'
85790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85791 (eval $ac_try) 2>&5
85792 ac_status=$?
85793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85794 (exit $ac_status); }; }; then
85795 ac_gcsections=yes
85796 else
85797 echo "$as_me: failed program was:" >&5
85798 sed 's/^/| /' conftest.$ac_ext >&5
85800 ac_gcsections=no
85802 rm -f conftest.err conftest.$ac_objext \
85803 conftest$ac_exeext conftest.$ac_ext
85804 if test "$ac_gcsections" = "yes"; then
85805 rm -f conftest.c
85806 touch conftest.c
85807 if $CC -c conftest.c; then
85808 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85809 grep "Warning: gc-sections option ignored" > /dev/null; then
85810 ac_gcsections=no
85813 rm -f conftest.c conftest.o conftest
85815 if test "$ac_gcsections" = "yes"; then
85816 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85818 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85819 echo "${ECHO_T}$ac_gcsections" >&6
85821 if test "$ac_test_CFLAGS" = set; then
85822 CFLAGS="$ac_save_CFLAGS"
85823 else
85824 # this is the suspicious part
85825 CFLAGS=''
85829 # Set -z,relro.
85830 # Note this is only for shared objects.
85831 ac_ld_relro=no
85832 if test x"$with_gnu_ld" = x"yes"; then
85833 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85834 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85835 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85836 if test -n "$cxx_z_relo"; then
85837 OPT_LDFLAGS="-Wl,-z,relro"
85838 ac_ld_relro=yes
85840 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85841 echo "${ECHO_T}$ac_ld_relro" >&6
85844 # Set linker optimization flags.
85845 if test x"$with_gnu_ld" = x"yes"; then
85846 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85854 echo "$as_me:$LINENO: checking for main in -lm" >&5
85855 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85856 if test "${ac_cv_lib_m_main+set}" = set; then
85857 echo $ECHO_N "(cached) $ECHO_C" >&6
85858 else
85859 ac_check_lib_save_LIBS=$LIBS
85860 LIBS="-lm $LIBS"
85861 if test x$gcc_no_link = xyes; then
85862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85864 { (exit 1); exit 1; }; }
85866 cat >conftest.$ac_ext <<_ACEOF
85867 /* confdefs.h. */
85868 _ACEOF
85869 cat confdefs.h >>conftest.$ac_ext
85870 cat >>conftest.$ac_ext <<_ACEOF
85871 /* end confdefs.h. */
85875 main ()
85877 main ();
85879 return 0;
85881 _ACEOF
85882 rm -f conftest.$ac_objext conftest$ac_exeext
85883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85884 (eval $ac_link) 2>conftest.er1
85885 ac_status=$?
85886 grep -v '^ *+' conftest.er1 >conftest.err
85887 rm -f conftest.er1
85888 cat conftest.err >&5
85889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85890 (exit $ac_status); } &&
85891 { ac_try='test -z "$ac_c_werror_flag"
85892 || test ! -s conftest.err'
85893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85894 (eval $ac_try) 2>&5
85895 ac_status=$?
85896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85897 (exit $ac_status); }; } &&
85898 { ac_try='test -s conftest$ac_exeext'
85899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85900 (eval $ac_try) 2>&5
85901 ac_status=$?
85902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85903 (exit $ac_status); }; }; then
85904 ac_cv_lib_m_main=yes
85905 else
85906 echo "$as_me: failed program was:" >&5
85907 sed 's/^/| /' conftest.$ac_ext >&5
85909 ac_cv_lib_m_main=no
85911 rm -f conftest.err conftest.$ac_objext \
85912 conftest$ac_exeext conftest.$ac_ext
85913 LIBS=$ac_check_lib_save_LIBS
85915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85916 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85917 if test $ac_cv_lib_m_main = yes; then
85918 cat >>confdefs.h <<_ACEOF
85919 #define HAVE_LIBM 1
85920 _ACEOF
85922 LIBS="-lm $LIBS"
85927 for ac_func in copysignf
85929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85930 echo "$as_me:$LINENO: checking for $ac_func" >&5
85931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85932 if eval "test \"\${$as_ac_var+set}\" = set"; then
85933 echo $ECHO_N "(cached) $ECHO_C" >&6
85934 else
85935 if test x$gcc_no_link = xyes; then
85936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85938 { (exit 1); exit 1; }; }
85940 cat >conftest.$ac_ext <<_ACEOF
85941 /* confdefs.h. */
85942 _ACEOF
85943 cat confdefs.h >>conftest.$ac_ext
85944 cat >>conftest.$ac_ext <<_ACEOF
85945 /* end confdefs.h. */
85946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85948 #define $ac_func innocuous_$ac_func
85950 /* System header to define __stub macros and hopefully few prototypes,
85951 which can conflict with char $ac_func (); below.
85952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85953 <limits.h> exists even on freestanding compilers. */
85955 #ifdef __STDC__
85956 # include <limits.h>
85957 #else
85958 # include <assert.h>
85959 #endif
85961 #undef $ac_func
85963 /* Override any gcc2 internal prototype to avoid an error. */
85964 #ifdef __cplusplus
85965 extern "C"
85967 #endif
85968 /* We use char because int might match the return type of a gcc2
85969 builtin and then its argument prototype would still apply. */
85970 char $ac_func ();
85971 /* The GNU C library defines this for functions which it implements
85972 to always fail with ENOSYS. Some functions are actually named
85973 something starting with __ and the normal name is an alias. */
85974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85975 choke me
85976 #else
85977 char (*f) () = $ac_func;
85978 #endif
85979 #ifdef __cplusplus
85981 #endif
85984 main ()
85986 return f != $ac_func;
85988 return 0;
85990 _ACEOF
85991 rm -f conftest.$ac_objext conftest$ac_exeext
85992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85993 (eval $ac_link) 2>conftest.er1
85994 ac_status=$?
85995 grep -v '^ *+' conftest.er1 >conftest.err
85996 rm -f conftest.er1
85997 cat conftest.err >&5
85998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85999 (exit $ac_status); } &&
86000 { ac_try='test -z "$ac_c_werror_flag"
86001 || test ! -s conftest.err'
86002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86003 (eval $ac_try) 2>&5
86004 ac_status=$?
86005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86006 (exit $ac_status); }; } &&
86007 { ac_try='test -s conftest$ac_exeext'
86008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86009 (eval $ac_try) 2>&5
86010 ac_status=$?
86011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86012 (exit $ac_status); }; }; then
86013 eval "$as_ac_var=yes"
86014 else
86015 echo "$as_me: failed program was:" >&5
86016 sed 's/^/| /' conftest.$ac_ext >&5
86018 eval "$as_ac_var=no"
86020 rm -f conftest.err conftest.$ac_objext \
86021 conftest$ac_exeext conftest.$ac_ext
86023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86025 if test `eval echo '${'$as_ac_var'}'` = yes; then
86026 cat >>confdefs.h <<_ACEOF
86027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86028 _ACEOF
86030 else
86031 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86033 done
86037 for ac_func in __signbit
86039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86040 echo "$as_me:$LINENO: checking for $ac_func" >&5
86041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86042 if eval "test \"\${$as_ac_var+set}\" = set"; then
86043 echo $ECHO_N "(cached) $ECHO_C" >&6
86044 else
86045 if test x$gcc_no_link = xyes; then
86046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86048 { (exit 1); exit 1; }; }
86050 cat >conftest.$ac_ext <<_ACEOF
86051 /* confdefs.h. */
86052 _ACEOF
86053 cat confdefs.h >>conftest.$ac_ext
86054 cat >>conftest.$ac_ext <<_ACEOF
86055 /* end confdefs.h. */
86056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86058 #define $ac_func innocuous_$ac_func
86060 /* System header to define __stub macros and hopefully few prototypes,
86061 which can conflict with char $ac_func (); below.
86062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86063 <limits.h> exists even on freestanding compilers. */
86065 #ifdef __STDC__
86066 # include <limits.h>
86067 #else
86068 # include <assert.h>
86069 #endif
86071 #undef $ac_func
86073 /* Override any gcc2 internal prototype to avoid an error. */
86074 #ifdef __cplusplus
86075 extern "C"
86077 #endif
86078 /* We use char because int might match the return type of a gcc2
86079 builtin and then its argument prototype would still apply. */
86080 char $ac_func ();
86081 /* The GNU C library defines this for functions which it implements
86082 to always fail with ENOSYS. Some functions are actually named
86083 something starting with __ and the normal name is an alias. */
86084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86085 choke me
86086 #else
86087 char (*f) () = $ac_func;
86088 #endif
86089 #ifdef __cplusplus
86091 #endif
86094 main ()
86096 return f != $ac_func;
86098 return 0;
86100 _ACEOF
86101 rm -f conftest.$ac_objext conftest$ac_exeext
86102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86103 (eval $ac_link) 2>conftest.er1
86104 ac_status=$?
86105 grep -v '^ *+' conftest.er1 >conftest.err
86106 rm -f conftest.er1
86107 cat conftest.err >&5
86108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86109 (exit $ac_status); } &&
86110 { ac_try='test -z "$ac_c_werror_flag"
86111 || test ! -s conftest.err'
86112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86113 (eval $ac_try) 2>&5
86114 ac_status=$?
86115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86116 (exit $ac_status); }; } &&
86117 { ac_try='test -s conftest$ac_exeext'
86118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86119 (eval $ac_try) 2>&5
86120 ac_status=$?
86121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122 (exit $ac_status); }; }; then
86123 eval "$as_ac_var=yes"
86124 else
86125 echo "$as_me: failed program was:" >&5
86126 sed 's/^/| /' conftest.$ac_ext >&5
86128 eval "$as_ac_var=no"
86130 rm -f conftest.err conftest.$ac_objext \
86131 conftest$ac_exeext conftest.$ac_ext
86133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86135 if test `eval echo '${'$as_ac_var'}'` = yes; then
86136 cat >>confdefs.h <<_ACEOF
86137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86138 _ACEOF
86140 else
86141 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86143 done
86147 for ac_func in __signbitf
86149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86150 echo "$as_me:$LINENO: checking for $ac_func" >&5
86151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86152 if eval "test \"\${$as_ac_var+set}\" = set"; then
86153 echo $ECHO_N "(cached) $ECHO_C" >&6
86154 else
86155 if test x$gcc_no_link = xyes; then
86156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86158 { (exit 1); exit 1; }; }
86160 cat >conftest.$ac_ext <<_ACEOF
86161 /* confdefs.h. */
86162 _ACEOF
86163 cat confdefs.h >>conftest.$ac_ext
86164 cat >>conftest.$ac_ext <<_ACEOF
86165 /* end confdefs.h. */
86166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86168 #define $ac_func innocuous_$ac_func
86170 /* System header to define __stub macros and hopefully few prototypes,
86171 which can conflict with char $ac_func (); below.
86172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86173 <limits.h> exists even on freestanding compilers. */
86175 #ifdef __STDC__
86176 # include <limits.h>
86177 #else
86178 # include <assert.h>
86179 #endif
86181 #undef $ac_func
86183 /* Override any gcc2 internal prototype to avoid an error. */
86184 #ifdef __cplusplus
86185 extern "C"
86187 #endif
86188 /* We use char because int might match the return type of a gcc2
86189 builtin and then its argument prototype would still apply. */
86190 char $ac_func ();
86191 /* The GNU C library defines this for functions which it implements
86192 to always fail with ENOSYS. Some functions are actually named
86193 something starting with __ and the normal name is an alias. */
86194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86195 choke me
86196 #else
86197 char (*f) () = $ac_func;
86198 #endif
86199 #ifdef __cplusplus
86201 #endif
86204 main ()
86206 return f != $ac_func;
86208 return 0;
86210 _ACEOF
86211 rm -f conftest.$ac_objext conftest$ac_exeext
86212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86213 (eval $ac_link) 2>conftest.er1
86214 ac_status=$?
86215 grep -v '^ *+' conftest.er1 >conftest.err
86216 rm -f conftest.er1
86217 cat conftest.err >&5
86218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86219 (exit $ac_status); } &&
86220 { ac_try='test -z "$ac_c_werror_flag"
86221 || test ! -s conftest.err'
86222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86223 (eval $ac_try) 2>&5
86224 ac_status=$?
86225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86226 (exit $ac_status); }; } &&
86227 { ac_try='test -s conftest$ac_exeext'
86228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86229 (eval $ac_try) 2>&5
86230 ac_status=$?
86231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86232 (exit $ac_status); }; }; then
86233 eval "$as_ac_var=yes"
86234 else
86235 echo "$as_me: failed program was:" >&5
86236 sed 's/^/| /' conftest.$ac_ext >&5
86238 eval "$as_ac_var=no"
86240 rm -f conftest.err conftest.$ac_objext \
86241 conftest$ac_exeext conftest.$ac_ext
86243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86245 if test `eval echo '${'$as_ac_var'}'` = yes; then
86246 cat >>confdefs.h <<_ACEOF
86247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86248 _ACEOF
86250 else
86251 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86253 done
86256 if test x$ac_cv_func_copysignl = x"yes"; then
86258 for ac_func in __signbitl
86260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86261 echo "$as_me:$LINENO: checking for $ac_func" >&5
86262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86263 if eval "test \"\${$as_ac_var+set}\" = set"; then
86264 echo $ECHO_N "(cached) $ECHO_C" >&6
86265 else
86266 if test x$gcc_no_link = xyes; then
86267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86269 { (exit 1); exit 1; }; }
86271 cat >conftest.$ac_ext <<_ACEOF
86272 /* confdefs.h. */
86273 _ACEOF
86274 cat confdefs.h >>conftest.$ac_ext
86275 cat >>conftest.$ac_ext <<_ACEOF
86276 /* end confdefs.h. */
86277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86279 #define $ac_func innocuous_$ac_func
86281 /* System header to define __stub macros and hopefully few prototypes,
86282 which can conflict with char $ac_func (); below.
86283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86284 <limits.h> exists even on freestanding compilers. */
86286 #ifdef __STDC__
86287 # include <limits.h>
86288 #else
86289 # include <assert.h>
86290 #endif
86292 #undef $ac_func
86294 /* Override any gcc2 internal prototype to avoid an error. */
86295 #ifdef __cplusplus
86296 extern "C"
86298 #endif
86299 /* We use char because int might match the return type of a gcc2
86300 builtin and then its argument prototype would still apply. */
86301 char $ac_func ();
86302 /* The GNU C library defines this for functions which it implements
86303 to always fail with ENOSYS. Some functions are actually named
86304 something starting with __ and the normal name is an alias. */
86305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86306 choke me
86307 #else
86308 char (*f) () = $ac_func;
86309 #endif
86310 #ifdef __cplusplus
86312 #endif
86315 main ()
86317 return f != $ac_func;
86319 return 0;
86321 _ACEOF
86322 rm -f conftest.$ac_objext conftest$ac_exeext
86323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86324 (eval $ac_link) 2>conftest.er1
86325 ac_status=$?
86326 grep -v '^ *+' conftest.er1 >conftest.err
86327 rm -f conftest.er1
86328 cat conftest.err >&5
86329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86330 (exit $ac_status); } &&
86331 { ac_try='test -z "$ac_c_werror_flag"
86332 || test ! -s conftest.err'
86333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86334 (eval $ac_try) 2>&5
86335 ac_status=$?
86336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86337 (exit $ac_status); }; } &&
86338 { ac_try='test -s conftest$ac_exeext'
86339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86340 (eval $ac_try) 2>&5
86341 ac_status=$?
86342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86343 (exit $ac_status); }; }; then
86344 eval "$as_ac_var=yes"
86345 else
86346 echo "$as_me: failed program was:" >&5
86347 sed 's/^/| /' conftest.$ac_ext >&5
86349 eval "$as_ac_var=no"
86351 rm -f conftest.err conftest.$ac_objext \
86352 conftest$ac_exeext conftest.$ac_ext
86354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86356 if test `eval echo '${'$as_ac_var'}'` = yes; then
86357 cat >>confdefs.h <<_ACEOF
86358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86359 _ACEOF
86361 else
86362 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86364 done
86368 # Used in libmath/Makefile.am.
86369 if test -n "$LIBMATHOBJS"; then
86370 need_libmath=yes
86374 cat >>confdefs.h <<\_ACEOF
86375 #define HAVE_LC_MESSAGES 1
86376 _ACEOF
86378 cat >>confdefs.h <<\_ACEOF
86379 #define HAVE_GETPAGESIZE 1
86380 _ACEOF
86382 cat >>confdefs.h <<\_ACEOF
86383 #define HAVE_SETENV 1
86384 _ACEOF
86386 cat >>confdefs.h <<\_ACEOF
86387 #define HAVE_SIGSETJMP 1
86388 _ACEOF
86390 cat >>confdefs.h <<\_ACEOF
86391 #define HAVE_COPYSIGN 1
86392 _ACEOF
86394 cat >>confdefs.h <<\_ACEOF
86395 #define HAVE_COPYSIGNF 1
86396 _ACEOF
86398 cat >>confdefs.h <<\_ACEOF
86399 #define HAVE_FINITEF 1
86400 _ACEOF
86402 cat >>confdefs.h <<\_ACEOF
86403 #define HAVE_FINITE 1
86404 _ACEOF
86406 cat >>confdefs.h <<\_ACEOF
86407 #define HAVE_FREXPF 1
86408 _ACEOF
86410 cat >>confdefs.h <<\_ACEOF
86411 #define HAVE_HYPOT 1
86412 _ACEOF
86414 cat >>confdefs.h <<\_ACEOF
86415 #define HAVE_HYPOTF 1
86416 _ACEOF
86418 cat >>confdefs.h <<\_ACEOF
86419 #define HAVE_ISINF 1
86420 _ACEOF
86422 cat >>confdefs.h <<\_ACEOF
86423 #define HAVE_ISNAN 1
86424 _ACEOF
86426 cat >>confdefs.h <<\_ACEOF
86427 #define HAVE_ISNANF 1
86428 _ACEOF
86431 cat >>confdefs.h <<\_ACEOF
86432 #define HAVE_MMAP 1
86433 _ACEOF
86435 cat >>confdefs.h <<\_ACEOF
86436 #define HAVE_ACOSF 1
86437 _ACEOF
86439 cat >>confdefs.h <<\_ACEOF
86440 #define HAVE_ASINF 1
86441 _ACEOF
86443 cat >>confdefs.h <<\_ACEOF
86444 #define HAVE_ATAN2F 1
86445 _ACEOF
86447 cat >>confdefs.h <<\_ACEOF
86448 #define HAVE_ATANF 1
86449 _ACEOF
86451 cat >>confdefs.h <<\_ACEOF
86452 #define HAVE_CEILF 1
86453 _ACEOF
86455 cat >>confdefs.h <<\_ACEOF
86456 #define HAVE_COPYSIGN 1
86457 _ACEOF
86459 cat >>confdefs.h <<\_ACEOF
86460 #define HAVE_COPYSIGNF 1
86461 _ACEOF
86463 cat >>confdefs.h <<\_ACEOF
86464 #define HAVE_COSF 1
86465 _ACEOF
86467 cat >>confdefs.h <<\_ACEOF
86468 #define HAVE_COSHF 1
86469 _ACEOF
86471 cat >>confdefs.h <<\_ACEOF
86472 #define HAVE_EXPF 1
86473 _ACEOF
86475 cat >>confdefs.h <<\_ACEOF
86476 #define HAVE_FABSF 1
86477 _ACEOF
86479 cat >>confdefs.h <<\_ACEOF
86480 #define HAVE_FLOORF 1
86481 _ACEOF
86483 cat >>confdefs.h <<\_ACEOF
86484 #define HAVE_FMODF 1
86485 _ACEOF
86487 cat >>confdefs.h <<\_ACEOF
86488 #define HAVE_FREXPF 1
86489 _ACEOF
86491 cat >>confdefs.h <<\_ACEOF
86492 #define HAVE_LDEXPF 1
86493 _ACEOF
86495 cat >>confdefs.h <<\_ACEOF
86496 #define HAVE_LOG10F 1
86497 _ACEOF
86499 cat >>confdefs.h <<\_ACEOF
86500 #define HAVE_LOGF 1
86501 _ACEOF
86503 cat >>confdefs.h <<\_ACEOF
86504 #define HAVE_MODFF 1
86505 _ACEOF
86507 cat >>confdefs.h <<\_ACEOF
86508 #define HAVE_POWF 1
86509 _ACEOF
86511 cat >>confdefs.h <<\_ACEOF
86512 #define HAVE_SINF 1
86513 _ACEOF
86515 cat >>confdefs.h <<\_ACEOF
86516 #define HAVE_SINHF 1
86517 _ACEOF
86519 cat >>confdefs.h <<\_ACEOF
86520 #define HAVE_SQRTF 1
86521 _ACEOF
86523 cat >>confdefs.h <<\_ACEOF
86524 #define HAVE_TANF 1
86525 _ACEOF
86527 cat >>confdefs.h <<\_ACEOF
86528 #define HAVE_TANHF 1
86529 _ACEOF
86531 if test x"long_double_math_on_this_cpu" = x"yes"; then
86532 cat >>confdefs.h <<\_ACEOF
86533 #define HAVE_FINITEL 1
86534 _ACEOF
86536 cat >>confdefs.h <<\_ACEOF
86537 #define HAVE_ISINFL 1
86538 _ACEOF
86540 cat >>confdefs.h <<\_ACEOF
86541 #define HAVE_ISNANL 1
86542 _ACEOF
86546 *-hpux*)
86559 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86560 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86561 fp.h locale.h float.h inttypes.h
86563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86565 echo "$as_me:$LINENO: checking for $ac_header" >&5
86566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86568 echo $ECHO_N "(cached) $ECHO_C" >&6
86570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86572 else
86573 # Is the header compilable?
86574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86576 cat >conftest.$ac_ext <<_ACEOF
86577 /* confdefs.h. */
86578 _ACEOF
86579 cat confdefs.h >>conftest.$ac_ext
86580 cat >>conftest.$ac_ext <<_ACEOF
86581 /* end confdefs.h. */
86582 $ac_includes_default
86583 #include <$ac_header>
86584 _ACEOF
86585 rm -f conftest.$ac_objext
86586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86587 (eval $ac_compile) 2>conftest.er1
86588 ac_status=$?
86589 grep -v '^ *+' conftest.er1 >conftest.err
86590 rm -f conftest.er1
86591 cat conftest.err >&5
86592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86593 (exit $ac_status); } &&
86594 { ac_try='test -z "$ac_c_werror_flag"
86595 || test ! -s conftest.err'
86596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86597 (eval $ac_try) 2>&5
86598 ac_status=$?
86599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86600 (exit $ac_status); }; } &&
86601 { ac_try='test -s conftest.$ac_objext'
86602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86603 (eval $ac_try) 2>&5
86604 ac_status=$?
86605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86606 (exit $ac_status); }; }; then
86607 ac_header_compiler=yes
86608 else
86609 echo "$as_me: failed program was:" >&5
86610 sed 's/^/| /' conftest.$ac_ext >&5
86612 ac_header_compiler=no
86614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86616 echo "${ECHO_T}$ac_header_compiler" >&6
86618 # Is the header present?
86619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86621 cat >conftest.$ac_ext <<_ACEOF
86622 /* confdefs.h. */
86623 _ACEOF
86624 cat confdefs.h >>conftest.$ac_ext
86625 cat >>conftest.$ac_ext <<_ACEOF
86626 /* end confdefs.h. */
86627 #include <$ac_header>
86628 _ACEOF
86629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86631 ac_status=$?
86632 grep -v '^ *+' conftest.er1 >conftest.err
86633 rm -f conftest.er1
86634 cat conftest.err >&5
86635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86636 (exit $ac_status); } >/dev/null; then
86637 if test -s conftest.err; then
86638 ac_cpp_err=$ac_c_preproc_warn_flag
86639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86640 else
86641 ac_cpp_err=
86643 else
86644 ac_cpp_err=yes
86646 if test -z "$ac_cpp_err"; then
86647 ac_header_preproc=yes
86648 else
86649 echo "$as_me: failed program was:" >&5
86650 sed 's/^/| /' conftest.$ac_ext >&5
86652 ac_header_preproc=no
86654 rm -f conftest.err conftest.$ac_ext
86655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86656 echo "${ECHO_T}$ac_header_preproc" >&6
86658 # So? What about this header?
86659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86660 yes:no: )
86661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86665 ac_header_preproc=yes
86667 no:yes:* )
86668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86681 cat <<\_ASBOX
86682 ## ----------------------------------------- ##
86683 ## Report this to the package-unused lists. ##
86684 ## ----------------------------------------- ##
86685 _ASBOX
86687 sed "s/^/$as_me: WARNING: /" >&2
86689 esac
86690 echo "$as_me:$LINENO: checking for $ac_header" >&5
86691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86693 echo $ECHO_N "(cached) $ECHO_C" >&6
86694 else
86695 eval "$as_ac_Header=\$ac_header_preproc"
86697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86702 cat >>confdefs.h <<_ACEOF
86703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86704 _ACEOF
86708 done
86710 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86713 # If we're not using GNU ld, then there's no point in even trying these
86714 # tests. Check for that first. We should have already tested for gld
86715 # by now (in libtool), but require it now just to be safe...
86716 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86717 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86721 # The name set by libtool depends on the version of libtool. Shame on us
86722 # for depending on an impl detail, but c'est la vie. Older versions used
86723 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86724 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86725 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86726 # set (hence we're using an older libtool), then set it.
86727 if test x${with_gnu_ld+set} != xset; then
86728 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86729 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86730 with_gnu_ld=no
86731 else
86732 with_gnu_ld=$ac_cv_prog_gnu_ld
86736 # Start by getting the version number. I think the libtool test already
86737 # does some of this, but throws away the result.
86738 glibcxx_ld_is_gold=no
86739 if test x"$with_gnu_ld" = x"yes"; then
86740 echo "$as_me:$LINENO: checking for ld version" >&5
86741 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86743 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86744 glibcxx_ld_is_gold=yes
86746 ldver=`$LD --version 2>/dev/null | head -1 | \
86747 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86749 glibcxx_gnu_ld_version=`echo $ldver | \
86750 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86751 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86752 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86755 # Set --gc-sections.
86756 glibcxx_have_gc_sections=no
86757 if test "$glibcxx_ld_is_gold" = "yes"; then
86758 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86759 glibcxx_have_gc_sections=yes
86761 else
86762 glibcxx_gcsections_min_ld=21602
86763 if test x"$with_gnu_ld" = x"yes" &&
86764 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86765 glibcxx_have_gc_sections=yes
86768 if test "$glibcxx_have_gc_sections" = "yes"; then
86769 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86770 # NB: This flag only works reliably after 2.16.1. Configure tests
86771 # for this are difficult, so hard wire a value that should work.
86773 ac_test_CFLAGS="${CFLAGS+set}"
86774 ac_save_CFLAGS="$CFLAGS"
86775 CFLAGS='-Wl,--gc-sections'
86777 # Check for -Wl,--gc-sections
86778 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86779 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86780 if test x$gcc_no_link = xyes; then
86781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86783 { (exit 1); exit 1; }; }
86785 cat >conftest.$ac_ext <<_ACEOF
86786 /* confdefs.h. */
86787 _ACEOF
86788 cat confdefs.h >>conftest.$ac_ext
86789 cat >>conftest.$ac_ext <<_ACEOF
86790 /* end confdefs.h. */
86791 int one(void) { return 1; }
86792 int two(void) { return 2; }
86795 main ()
86797 two();
86799 return 0;
86801 _ACEOF
86802 rm -f conftest.$ac_objext conftest$ac_exeext
86803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86804 (eval $ac_link) 2>conftest.er1
86805 ac_status=$?
86806 grep -v '^ *+' conftest.er1 >conftest.err
86807 rm -f conftest.er1
86808 cat conftest.err >&5
86809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86810 (exit $ac_status); } &&
86811 { ac_try='test -z "$ac_c_werror_flag"
86812 || test ! -s conftest.err'
86813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86814 (eval $ac_try) 2>&5
86815 ac_status=$?
86816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817 (exit $ac_status); }; } &&
86818 { ac_try='test -s conftest$ac_exeext'
86819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86820 (eval $ac_try) 2>&5
86821 ac_status=$?
86822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86823 (exit $ac_status); }; }; then
86824 ac_gcsections=yes
86825 else
86826 echo "$as_me: failed program was:" >&5
86827 sed 's/^/| /' conftest.$ac_ext >&5
86829 ac_gcsections=no
86831 rm -f conftest.err conftest.$ac_objext \
86832 conftest$ac_exeext conftest.$ac_ext
86833 if test "$ac_gcsections" = "yes"; then
86834 rm -f conftest.c
86835 touch conftest.c
86836 if $CC -c conftest.c; then
86837 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86838 grep "Warning: gc-sections option ignored" > /dev/null; then
86839 ac_gcsections=no
86842 rm -f conftest.c conftest.o conftest
86844 if test "$ac_gcsections" = "yes"; then
86845 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86847 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86848 echo "${ECHO_T}$ac_gcsections" >&6
86850 if test "$ac_test_CFLAGS" = set; then
86851 CFLAGS="$ac_save_CFLAGS"
86852 else
86853 # this is the suspicious part
86854 CFLAGS=''
86858 # Set -z,relro.
86859 # Note this is only for shared objects.
86860 ac_ld_relro=no
86861 if test x"$with_gnu_ld" = x"yes"; then
86862 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86863 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86864 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86865 if test -n "$cxx_z_relo"; then
86866 OPT_LDFLAGS="-Wl,-z,relro"
86867 ac_ld_relro=yes
86869 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86870 echo "${ECHO_T}$ac_ld_relro" >&6
86873 # Set linker optimization flags.
86874 if test x"$with_gnu_ld" = x"yes"; then
86875 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86883 echo "$as_me:$LINENO: checking for main in -lm" >&5
86884 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86885 if test "${ac_cv_lib_m_main+set}" = set; then
86886 echo $ECHO_N "(cached) $ECHO_C" >&6
86887 else
86888 ac_check_lib_save_LIBS=$LIBS
86889 LIBS="-lm $LIBS"
86890 if test x$gcc_no_link = xyes; then
86891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86893 { (exit 1); exit 1; }; }
86895 cat >conftest.$ac_ext <<_ACEOF
86896 /* confdefs.h. */
86897 _ACEOF
86898 cat confdefs.h >>conftest.$ac_ext
86899 cat >>conftest.$ac_ext <<_ACEOF
86900 /* end confdefs.h. */
86904 main ()
86906 main ();
86908 return 0;
86910 _ACEOF
86911 rm -f conftest.$ac_objext conftest$ac_exeext
86912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86913 (eval $ac_link) 2>conftest.er1
86914 ac_status=$?
86915 grep -v '^ *+' conftest.er1 >conftest.err
86916 rm -f conftest.er1
86917 cat conftest.err >&5
86918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86919 (exit $ac_status); } &&
86920 { ac_try='test -z "$ac_c_werror_flag"
86921 || test ! -s conftest.err'
86922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86923 (eval $ac_try) 2>&5
86924 ac_status=$?
86925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86926 (exit $ac_status); }; } &&
86927 { ac_try='test -s conftest$ac_exeext'
86928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86929 (eval $ac_try) 2>&5
86930 ac_status=$?
86931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86932 (exit $ac_status); }; }; then
86933 ac_cv_lib_m_main=yes
86934 else
86935 echo "$as_me: failed program was:" >&5
86936 sed 's/^/| /' conftest.$ac_ext >&5
86938 ac_cv_lib_m_main=no
86940 rm -f conftest.err conftest.$ac_objext \
86941 conftest$ac_exeext conftest.$ac_ext
86942 LIBS=$ac_check_lib_save_LIBS
86944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86945 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86946 if test $ac_cv_lib_m_main = yes; then
86947 cat >>confdefs.h <<_ACEOF
86948 #define HAVE_LIBM 1
86949 _ACEOF
86951 LIBS="-lm $LIBS"
86956 for ac_func in copysignf
86958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86959 echo "$as_me:$LINENO: checking for $ac_func" >&5
86960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86961 if eval "test \"\${$as_ac_var+set}\" = set"; then
86962 echo $ECHO_N "(cached) $ECHO_C" >&6
86963 else
86964 if test x$gcc_no_link = xyes; then
86965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86967 { (exit 1); exit 1; }; }
86969 cat >conftest.$ac_ext <<_ACEOF
86970 /* confdefs.h. */
86971 _ACEOF
86972 cat confdefs.h >>conftest.$ac_ext
86973 cat >>conftest.$ac_ext <<_ACEOF
86974 /* end confdefs.h. */
86975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86977 #define $ac_func innocuous_$ac_func
86979 /* System header to define __stub macros and hopefully few prototypes,
86980 which can conflict with char $ac_func (); below.
86981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86982 <limits.h> exists even on freestanding compilers. */
86984 #ifdef __STDC__
86985 # include <limits.h>
86986 #else
86987 # include <assert.h>
86988 #endif
86990 #undef $ac_func
86992 /* Override any gcc2 internal prototype to avoid an error. */
86993 #ifdef __cplusplus
86994 extern "C"
86996 #endif
86997 /* We use char because int might match the return type of a gcc2
86998 builtin and then its argument prototype would still apply. */
86999 char $ac_func ();
87000 /* The GNU C library defines this for functions which it implements
87001 to always fail with ENOSYS. Some functions are actually named
87002 something starting with __ and the normal name is an alias. */
87003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87004 choke me
87005 #else
87006 char (*f) () = $ac_func;
87007 #endif
87008 #ifdef __cplusplus
87010 #endif
87013 main ()
87015 return f != $ac_func;
87017 return 0;
87019 _ACEOF
87020 rm -f conftest.$ac_objext conftest$ac_exeext
87021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87022 (eval $ac_link) 2>conftest.er1
87023 ac_status=$?
87024 grep -v '^ *+' conftest.er1 >conftest.err
87025 rm -f conftest.er1
87026 cat conftest.err >&5
87027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87028 (exit $ac_status); } &&
87029 { ac_try='test -z "$ac_c_werror_flag"
87030 || test ! -s conftest.err'
87031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87032 (eval $ac_try) 2>&5
87033 ac_status=$?
87034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87035 (exit $ac_status); }; } &&
87036 { ac_try='test -s conftest$ac_exeext'
87037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87038 (eval $ac_try) 2>&5
87039 ac_status=$?
87040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87041 (exit $ac_status); }; }; then
87042 eval "$as_ac_var=yes"
87043 else
87044 echo "$as_me: failed program was:" >&5
87045 sed 's/^/| /' conftest.$ac_ext >&5
87047 eval "$as_ac_var=no"
87049 rm -f conftest.err conftest.$ac_objext \
87050 conftest$ac_exeext conftest.$ac_ext
87052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87054 if test `eval echo '${'$as_ac_var'}'` = yes; then
87055 cat >>confdefs.h <<_ACEOF
87056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87057 _ACEOF
87059 else
87060 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87062 done
87066 for ac_func in __signbit
87068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87069 echo "$as_me:$LINENO: checking for $ac_func" >&5
87070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87071 if eval "test \"\${$as_ac_var+set}\" = set"; then
87072 echo $ECHO_N "(cached) $ECHO_C" >&6
87073 else
87074 if test x$gcc_no_link = xyes; then
87075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87077 { (exit 1); exit 1; }; }
87079 cat >conftest.$ac_ext <<_ACEOF
87080 /* confdefs.h. */
87081 _ACEOF
87082 cat confdefs.h >>conftest.$ac_ext
87083 cat >>conftest.$ac_ext <<_ACEOF
87084 /* end confdefs.h. */
87085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87087 #define $ac_func innocuous_$ac_func
87089 /* System header to define __stub macros and hopefully few prototypes,
87090 which can conflict with char $ac_func (); below.
87091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87092 <limits.h> exists even on freestanding compilers. */
87094 #ifdef __STDC__
87095 # include <limits.h>
87096 #else
87097 # include <assert.h>
87098 #endif
87100 #undef $ac_func
87102 /* Override any gcc2 internal prototype to avoid an error. */
87103 #ifdef __cplusplus
87104 extern "C"
87106 #endif
87107 /* We use char because int might match the return type of a gcc2
87108 builtin and then its argument prototype would still apply. */
87109 char $ac_func ();
87110 /* The GNU C library defines this for functions which it implements
87111 to always fail with ENOSYS. Some functions are actually named
87112 something starting with __ and the normal name is an alias. */
87113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87114 choke me
87115 #else
87116 char (*f) () = $ac_func;
87117 #endif
87118 #ifdef __cplusplus
87120 #endif
87123 main ()
87125 return f != $ac_func;
87127 return 0;
87129 _ACEOF
87130 rm -f conftest.$ac_objext conftest$ac_exeext
87131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87132 (eval $ac_link) 2>conftest.er1
87133 ac_status=$?
87134 grep -v '^ *+' conftest.er1 >conftest.err
87135 rm -f conftest.er1
87136 cat conftest.err >&5
87137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87138 (exit $ac_status); } &&
87139 { ac_try='test -z "$ac_c_werror_flag"
87140 || test ! -s conftest.err'
87141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87142 (eval $ac_try) 2>&5
87143 ac_status=$?
87144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87145 (exit $ac_status); }; } &&
87146 { ac_try='test -s conftest$ac_exeext'
87147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87148 (eval $ac_try) 2>&5
87149 ac_status=$?
87150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87151 (exit $ac_status); }; }; then
87152 eval "$as_ac_var=yes"
87153 else
87154 echo "$as_me: failed program was:" >&5
87155 sed 's/^/| /' conftest.$ac_ext >&5
87157 eval "$as_ac_var=no"
87159 rm -f conftest.err conftest.$ac_objext \
87160 conftest$ac_exeext conftest.$ac_ext
87162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87164 if test `eval echo '${'$as_ac_var'}'` = yes; then
87165 cat >>confdefs.h <<_ACEOF
87166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87167 _ACEOF
87169 else
87170 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87172 done
87176 for ac_func in __signbitf
87178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87179 echo "$as_me:$LINENO: checking for $ac_func" >&5
87180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87181 if eval "test \"\${$as_ac_var+set}\" = set"; then
87182 echo $ECHO_N "(cached) $ECHO_C" >&6
87183 else
87184 if test x$gcc_no_link = xyes; then
87185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87187 { (exit 1); exit 1; }; }
87189 cat >conftest.$ac_ext <<_ACEOF
87190 /* confdefs.h. */
87191 _ACEOF
87192 cat confdefs.h >>conftest.$ac_ext
87193 cat >>conftest.$ac_ext <<_ACEOF
87194 /* end confdefs.h. */
87195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87197 #define $ac_func innocuous_$ac_func
87199 /* System header to define __stub macros and hopefully few prototypes,
87200 which can conflict with char $ac_func (); below.
87201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87202 <limits.h> exists even on freestanding compilers. */
87204 #ifdef __STDC__
87205 # include <limits.h>
87206 #else
87207 # include <assert.h>
87208 #endif
87210 #undef $ac_func
87212 /* Override any gcc2 internal prototype to avoid an error. */
87213 #ifdef __cplusplus
87214 extern "C"
87216 #endif
87217 /* We use char because int might match the return type of a gcc2
87218 builtin and then its argument prototype would still apply. */
87219 char $ac_func ();
87220 /* The GNU C library defines this for functions which it implements
87221 to always fail with ENOSYS. Some functions are actually named
87222 something starting with __ and the normal name is an alias. */
87223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87224 choke me
87225 #else
87226 char (*f) () = $ac_func;
87227 #endif
87228 #ifdef __cplusplus
87230 #endif
87233 main ()
87235 return f != $ac_func;
87237 return 0;
87239 _ACEOF
87240 rm -f conftest.$ac_objext conftest$ac_exeext
87241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87242 (eval $ac_link) 2>conftest.er1
87243 ac_status=$?
87244 grep -v '^ *+' conftest.er1 >conftest.err
87245 rm -f conftest.er1
87246 cat conftest.err >&5
87247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87248 (exit $ac_status); } &&
87249 { ac_try='test -z "$ac_c_werror_flag"
87250 || test ! -s conftest.err'
87251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87252 (eval $ac_try) 2>&5
87253 ac_status=$?
87254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87255 (exit $ac_status); }; } &&
87256 { ac_try='test -s conftest$ac_exeext'
87257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87258 (eval $ac_try) 2>&5
87259 ac_status=$?
87260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87261 (exit $ac_status); }; }; then
87262 eval "$as_ac_var=yes"
87263 else
87264 echo "$as_me: failed program was:" >&5
87265 sed 's/^/| /' conftest.$ac_ext >&5
87267 eval "$as_ac_var=no"
87269 rm -f conftest.err conftest.$ac_objext \
87270 conftest$ac_exeext conftest.$ac_ext
87272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87274 if test `eval echo '${'$as_ac_var'}'` = yes; then
87275 cat >>confdefs.h <<_ACEOF
87276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87277 _ACEOF
87279 else
87280 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87282 done
87285 if test x$ac_cv_func_copysignl = x"yes"; then
87287 for ac_func in __signbitl
87289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87290 echo "$as_me:$LINENO: checking for $ac_func" >&5
87291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87292 if eval "test \"\${$as_ac_var+set}\" = set"; then
87293 echo $ECHO_N "(cached) $ECHO_C" >&6
87294 else
87295 if test x$gcc_no_link = xyes; then
87296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87298 { (exit 1); exit 1; }; }
87300 cat >conftest.$ac_ext <<_ACEOF
87301 /* confdefs.h. */
87302 _ACEOF
87303 cat confdefs.h >>conftest.$ac_ext
87304 cat >>conftest.$ac_ext <<_ACEOF
87305 /* end confdefs.h. */
87306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87308 #define $ac_func innocuous_$ac_func
87310 /* System header to define __stub macros and hopefully few prototypes,
87311 which can conflict with char $ac_func (); below.
87312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87313 <limits.h> exists even on freestanding compilers. */
87315 #ifdef __STDC__
87316 # include <limits.h>
87317 #else
87318 # include <assert.h>
87319 #endif
87321 #undef $ac_func
87323 /* Override any gcc2 internal prototype to avoid an error. */
87324 #ifdef __cplusplus
87325 extern "C"
87327 #endif
87328 /* We use char because int might match the return type of a gcc2
87329 builtin and then its argument prototype would still apply. */
87330 char $ac_func ();
87331 /* The GNU C library defines this for functions which it implements
87332 to always fail with ENOSYS. Some functions are actually named
87333 something starting with __ and the normal name is an alias. */
87334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87335 choke me
87336 #else
87337 char (*f) () = $ac_func;
87338 #endif
87339 #ifdef __cplusplus
87341 #endif
87344 main ()
87346 return f != $ac_func;
87348 return 0;
87350 _ACEOF
87351 rm -f conftest.$ac_objext conftest$ac_exeext
87352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87353 (eval $ac_link) 2>conftest.er1
87354 ac_status=$?
87355 grep -v '^ *+' conftest.er1 >conftest.err
87356 rm -f conftest.er1
87357 cat conftest.err >&5
87358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87359 (exit $ac_status); } &&
87360 { ac_try='test -z "$ac_c_werror_flag"
87361 || test ! -s conftest.err'
87362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87363 (eval $ac_try) 2>&5
87364 ac_status=$?
87365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87366 (exit $ac_status); }; } &&
87367 { ac_try='test -s conftest$ac_exeext'
87368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87369 (eval $ac_try) 2>&5
87370 ac_status=$?
87371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87372 (exit $ac_status); }; }; then
87373 eval "$as_ac_var=yes"
87374 else
87375 echo "$as_me: failed program was:" >&5
87376 sed 's/^/| /' conftest.$ac_ext >&5
87378 eval "$as_ac_var=no"
87380 rm -f conftest.err conftest.$ac_objext \
87381 conftest$ac_exeext conftest.$ac_ext
87383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87385 if test `eval echo '${'$as_ac_var'}'` = yes; then
87386 cat >>confdefs.h <<_ACEOF
87387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87388 _ACEOF
87390 else
87391 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87393 done
87397 # Used in libmath/Makefile.am.
87398 if test -n "$LIBMATHOBJS"; then
87399 need_libmath=yes
87403 cat >>confdefs.h <<\_ACEOF
87404 #define HAVE_COPYSIGN 1
87405 _ACEOF
87407 cat >>confdefs.h <<\_ACEOF
87408 #define HAVE_COPYSIGNF 1
87409 _ACEOF
87411 cat >>confdefs.h <<\_ACEOF
87412 #define HAVE_FREXPF 1
87413 _ACEOF
87415 cat >>confdefs.h <<\_ACEOF
87416 #define HAVE_HYPOT 1
87417 _ACEOF
87419 case "$target" in
87420 *-hpux10*)
87421 cat >>confdefs.h <<\_ACEOF
87422 #define HAVE_FINITE 1
87423 _ACEOF
87425 cat >>confdefs.h <<\_ACEOF
87426 #define HAVE_FINITEF 1
87427 _ACEOF
87429 cat >>confdefs.h <<\_ACEOF
87430 #define HAVE_ISINF 1
87431 _ACEOF
87433 cat >>confdefs.h <<\_ACEOF
87434 #define HAVE_ISINFF 1
87435 _ACEOF
87437 cat >>confdefs.h <<\_ACEOF
87438 #define HAVE_ISNAN 1
87439 _ACEOF
87441 cat >>confdefs.h <<\_ACEOF
87442 #define HAVE_ISNANF 1
87443 _ACEOF
87446 esac
87448 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87466 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87467 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87468 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87469 sys/ipc.h sys/sem.h
87471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87473 echo "$as_me:$LINENO: checking for $ac_header" >&5
87474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87476 echo $ECHO_N "(cached) $ECHO_C" >&6
87478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87480 else
87481 # Is the header compilable?
87482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87484 cat >conftest.$ac_ext <<_ACEOF
87485 /* confdefs.h. */
87486 _ACEOF
87487 cat confdefs.h >>conftest.$ac_ext
87488 cat >>conftest.$ac_ext <<_ACEOF
87489 /* end confdefs.h. */
87490 $ac_includes_default
87491 #include <$ac_header>
87492 _ACEOF
87493 rm -f conftest.$ac_objext
87494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87495 (eval $ac_compile) 2>conftest.er1
87496 ac_status=$?
87497 grep -v '^ *+' conftest.er1 >conftest.err
87498 rm -f conftest.er1
87499 cat conftest.err >&5
87500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87501 (exit $ac_status); } &&
87502 { ac_try='test -z "$ac_c_werror_flag"
87503 || test ! -s conftest.err'
87504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87505 (eval $ac_try) 2>&5
87506 ac_status=$?
87507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87508 (exit $ac_status); }; } &&
87509 { ac_try='test -s conftest.$ac_objext'
87510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87511 (eval $ac_try) 2>&5
87512 ac_status=$?
87513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87514 (exit $ac_status); }; }; then
87515 ac_header_compiler=yes
87516 else
87517 echo "$as_me: failed program was:" >&5
87518 sed 's/^/| /' conftest.$ac_ext >&5
87520 ac_header_compiler=no
87522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87524 echo "${ECHO_T}$ac_header_compiler" >&6
87526 # Is the header present?
87527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87529 cat >conftest.$ac_ext <<_ACEOF
87530 /* confdefs.h. */
87531 _ACEOF
87532 cat confdefs.h >>conftest.$ac_ext
87533 cat >>conftest.$ac_ext <<_ACEOF
87534 /* end confdefs.h. */
87535 #include <$ac_header>
87536 _ACEOF
87537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87539 ac_status=$?
87540 grep -v '^ *+' conftest.er1 >conftest.err
87541 rm -f conftest.er1
87542 cat conftest.err >&5
87543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87544 (exit $ac_status); } >/dev/null; then
87545 if test -s conftest.err; then
87546 ac_cpp_err=$ac_c_preproc_warn_flag
87547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87548 else
87549 ac_cpp_err=
87551 else
87552 ac_cpp_err=yes
87554 if test -z "$ac_cpp_err"; then
87555 ac_header_preproc=yes
87556 else
87557 echo "$as_me: failed program was:" >&5
87558 sed 's/^/| /' conftest.$ac_ext >&5
87560 ac_header_preproc=no
87562 rm -f conftest.err conftest.$ac_ext
87563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87564 echo "${ECHO_T}$ac_header_preproc" >&6
87566 # So? What about this header?
87567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87568 yes:no: )
87569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87573 ac_header_preproc=yes
87575 no:yes:* )
87576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87589 cat <<\_ASBOX
87590 ## ----------------------------------------- ##
87591 ## Report this to the package-unused lists. ##
87592 ## ----------------------------------------- ##
87593 _ASBOX
87595 sed "s/^/$as_me: WARNING: /" >&2
87597 esac
87598 echo "$as_me:$LINENO: checking for $ac_header" >&5
87599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87601 echo $ECHO_N "(cached) $ECHO_C" >&6
87602 else
87603 eval "$as_ac_Header=\$ac_header_preproc"
87605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87610 cat >>confdefs.h <<_ACEOF
87611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87612 _ACEOF
87616 done
87618 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87621 # All these tests are for C++; save the language and the compiler flags.
87622 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87623 # found in GLIBCXX_CONFIGURE.
87626 ac_ext=cc
87627 ac_cpp='$CXXCPP $CPPFLAGS'
87628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87632 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87633 ac_save_CXXFLAGS="$CXXFLAGS"
87635 # Check for maintainer-mode bits.
87636 if test x"$USE_MAINTAINER_MODE" = xno; then
87637 WERROR=''
87638 else
87639 WERROR='-Werror'
87642 # Check for -ffunction-sections -fdata-sections
87643 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87644 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87645 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87646 cat >conftest.$ac_ext <<_ACEOF
87647 /* confdefs.h. */
87648 _ACEOF
87649 cat confdefs.h >>conftest.$ac_ext
87650 cat >>conftest.$ac_ext <<_ACEOF
87651 /* end confdefs.h. */
87652 int foo; void bar() { };
87654 main ()
87658 return 0;
87660 _ACEOF
87661 rm -f conftest.$ac_objext
87662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87663 (eval $ac_compile) 2>conftest.er1
87664 ac_status=$?
87665 grep -v '^ *+' conftest.er1 >conftest.err
87666 rm -f conftest.er1
87667 cat conftest.err >&5
87668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87669 (exit $ac_status); } &&
87670 { ac_try='test -z "$ac_cxx_werror_flag"
87671 || test ! -s conftest.err'
87672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87673 (eval $ac_try) 2>&5
87674 ac_status=$?
87675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87676 (exit $ac_status); }; } &&
87677 { ac_try='test -s conftest.$ac_objext'
87678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87679 (eval $ac_try) 2>&5
87680 ac_status=$?
87681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87682 (exit $ac_status); }; }; then
87683 ac_fdsections=yes
87684 else
87685 echo "$as_me: failed program was:" >&5
87686 sed 's/^/| /' conftest.$ac_ext >&5
87688 ac_fdsections=no
87690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87691 if test "$ac_test_CXXFLAGS" = set; then
87692 CXXFLAGS="$ac_save_CXXFLAGS"
87693 else
87694 # this is the suspicious part
87695 CXXFLAGS=''
87697 if test x"$ac_fdsections" = x"yes"; then
87698 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87700 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87701 echo "${ECHO_T}$ac_fdsections" >&6
87703 ac_ext=c
87704 ac_cpp='$CPP $CPPFLAGS'
87705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87713 # If we're not using GNU ld, then there's no point in even trying these
87714 # tests. Check for that first. We should have already tested for gld
87715 # by now (in libtool), but require it now just to be safe...
87716 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87717 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87721 # The name set by libtool depends on the version of libtool. Shame on us
87722 # for depending on an impl detail, but c'est la vie. Older versions used
87723 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87724 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87725 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87726 # set (hence we're using an older libtool), then set it.
87727 if test x${with_gnu_ld+set} != xset; then
87728 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87729 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87730 with_gnu_ld=no
87731 else
87732 with_gnu_ld=$ac_cv_prog_gnu_ld
87736 # Start by getting the version number. I think the libtool test already
87737 # does some of this, but throws away the result.
87738 glibcxx_ld_is_gold=no
87739 if test x"$with_gnu_ld" = x"yes"; then
87740 echo "$as_me:$LINENO: checking for ld version" >&5
87741 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87743 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87744 glibcxx_ld_is_gold=yes
87746 ldver=`$LD --version 2>/dev/null | head -1 | \
87747 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87749 glibcxx_gnu_ld_version=`echo $ldver | \
87750 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87751 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87752 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87755 # Set --gc-sections.
87756 glibcxx_have_gc_sections=no
87757 if test "$glibcxx_ld_is_gold" = "yes"; then
87758 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87759 glibcxx_have_gc_sections=yes
87761 else
87762 glibcxx_gcsections_min_ld=21602
87763 if test x"$with_gnu_ld" = x"yes" &&
87764 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87765 glibcxx_have_gc_sections=yes
87768 if test "$glibcxx_have_gc_sections" = "yes"; then
87769 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87770 # NB: This flag only works reliably after 2.16.1. Configure tests
87771 # for this are difficult, so hard wire a value that should work.
87773 ac_test_CFLAGS="${CFLAGS+set}"
87774 ac_save_CFLAGS="$CFLAGS"
87775 CFLAGS='-Wl,--gc-sections'
87777 # Check for -Wl,--gc-sections
87778 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87779 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87780 if test x$gcc_no_link = xyes; then
87781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87783 { (exit 1); exit 1; }; }
87785 cat >conftest.$ac_ext <<_ACEOF
87786 /* confdefs.h. */
87787 _ACEOF
87788 cat confdefs.h >>conftest.$ac_ext
87789 cat >>conftest.$ac_ext <<_ACEOF
87790 /* end confdefs.h. */
87791 int one(void) { return 1; }
87792 int two(void) { return 2; }
87795 main ()
87797 two();
87799 return 0;
87801 _ACEOF
87802 rm -f conftest.$ac_objext conftest$ac_exeext
87803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87804 (eval $ac_link) 2>conftest.er1
87805 ac_status=$?
87806 grep -v '^ *+' conftest.er1 >conftest.err
87807 rm -f conftest.er1
87808 cat conftest.err >&5
87809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87810 (exit $ac_status); } &&
87811 { ac_try='test -z "$ac_c_werror_flag"
87812 || test ! -s conftest.err'
87813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87814 (eval $ac_try) 2>&5
87815 ac_status=$?
87816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87817 (exit $ac_status); }; } &&
87818 { ac_try='test -s conftest$ac_exeext'
87819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87820 (eval $ac_try) 2>&5
87821 ac_status=$?
87822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87823 (exit $ac_status); }; }; then
87824 ac_gcsections=yes
87825 else
87826 echo "$as_me: failed program was:" >&5
87827 sed 's/^/| /' conftest.$ac_ext >&5
87829 ac_gcsections=no
87831 rm -f conftest.err conftest.$ac_objext \
87832 conftest$ac_exeext conftest.$ac_ext
87833 if test "$ac_gcsections" = "yes"; then
87834 rm -f conftest.c
87835 touch conftest.c
87836 if $CC -c conftest.c; then
87837 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87838 grep "Warning: gc-sections option ignored" > /dev/null; then
87839 ac_gcsections=no
87842 rm -f conftest.c conftest.o conftest
87844 if test "$ac_gcsections" = "yes"; then
87845 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87847 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87848 echo "${ECHO_T}$ac_gcsections" >&6
87850 if test "$ac_test_CFLAGS" = set; then
87851 CFLAGS="$ac_save_CFLAGS"
87852 else
87853 # this is the suspicious part
87854 CFLAGS=''
87858 # Set -z,relro.
87859 # Note this is only for shared objects.
87860 ac_ld_relro=no
87861 if test x"$with_gnu_ld" = x"yes"; then
87862 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87863 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87864 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87865 if test -n "$cxx_z_relo"; then
87866 OPT_LDFLAGS="-Wl,-z,relro"
87867 ac_ld_relro=yes
87869 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87870 echo "${ECHO_T}$ac_ld_relro" >&6
87873 # Set linker optimization flags.
87874 if test x"$with_gnu_ld" = x"yes"; then
87875 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87882 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87883 ac_save_CXXFLAGS="$CXXFLAGS"
87884 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87886 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87887 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87888 if test "${ac_cv_lib_m_sin+set}" = set; then
87889 echo $ECHO_N "(cached) $ECHO_C" >&6
87890 else
87891 ac_check_lib_save_LIBS=$LIBS
87892 LIBS="-lm $LIBS"
87893 if test x$gcc_no_link = xyes; then
87894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87896 { (exit 1); exit 1; }; }
87898 cat >conftest.$ac_ext <<_ACEOF
87899 /* confdefs.h. */
87900 _ACEOF
87901 cat confdefs.h >>conftest.$ac_ext
87902 cat >>conftest.$ac_ext <<_ACEOF
87903 /* end confdefs.h. */
87905 /* Override any gcc2 internal prototype to avoid an error. */
87906 #ifdef __cplusplus
87907 extern "C"
87908 #endif
87909 /* We use char because int might match the return type of a gcc2
87910 builtin and then its argument prototype would still apply. */
87911 char sin ();
87913 main ()
87915 sin ();
87917 return 0;
87919 _ACEOF
87920 rm -f conftest.$ac_objext conftest$ac_exeext
87921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87922 (eval $ac_link) 2>conftest.er1
87923 ac_status=$?
87924 grep -v '^ *+' conftest.er1 >conftest.err
87925 rm -f conftest.er1
87926 cat conftest.err >&5
87927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87928 (exit $ac_status); } &&
87929 { ac_try='test -z "$ac_c_werror_flag"
87930 || test ! -s conftest.err'
87931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87932 (eval $ac_try) 2>&5
87933 ac_status=$?
87934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87935 (exit $ac_status); }; } &&
87936 { ac_try='test -s conftest$ac_exeext'
87937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87938 (eval $ac_try) 2>&5
87939 ac_status=$?
87940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87941 (exit $ac_status); }; }; then
87942 ac_cv_lib_m_sin=yes
87943 else
87944 echo "$as_me: failed program was:" >&5
87945 sed 's/^/| /' conftest.$ac_ext >&5
87947 ac_cv_lib_m_sin=no
87949 rm -f conftest.err conftest.$ac_objext \
87950 conftest$ac_exeext conftest.$ac_ext
87951 LIBS=$ac_check_lib_save_LIBS
87953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87954 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87955 if test $ac_cv_lib_m_sin = yes; then
87956 libm="-lm"
87959 ac_save_LIBS="$LIBS"
87960 LIBS="$LIBS $libm"
87964 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87965 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87966 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87967 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87968 echo $ECHO_N "(cached) $ECHO_C" >&6
87969 else
87973 ac_ext=cc
87974 ac_cpp='$CXXCPP $CPPFLAGS'
87975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87979 cat >conftest.$ac_ext <<_ACEOF
87980 /* confdefs.h. */
87981 _ACEOF
87982 cat confdefs.h >>conftest.$ac_ext
87983 cat >>conftest.$ac_ext <<_ACEOF
87984 /* end confdefs.h. */
87985 #include <math.h>
87986 #ifdef HAVE_IEEEFP_H
87987 #include <ieeefp.h>
87988 #endif
87991 main ()
87993 isinf(0);
87995 return 0;
87997 _ACEOF
87998 rm -f conftest.$ac_objext
87999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88000 (eval $ac_compile) 2>conftest.er1
88001 ac_status=$?
88002 grep -v '^ *+' conftest.er1 >conftest.err
88003 rm -f conftest.er1
88004 cat conftest.err >&5
88005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88006 (exit $ac_status); } &&
88007 { ac_try='test -z "$ac_cxx_werror_flag"
88008 || test ! -s conftest.err'
88009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88010 (eval $ac_try) 2>&5
88011 ac_status=$?
88012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88013 (exit $ac_status); }; } &&
88014 { ac_try='test -s conftest.$ac_objext'
88015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88016 (eval $ac_try) 2>&5
88017 ac_status=$?
88018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88019 (exit $ac_status); }; }; then
88020 glibcxx_cv_func_isinf_use=yes
88021 else
88022 echo "$as_me: failed program was:" >&5
88023 sed 's/^/| /' conftest.$ac_ext >&5
88025 glibcxx_cv_func_isinf_use=no
88027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88028 ac_ext=c
88029 ac_cpp='$CPP $CPPFLAGS'
88030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88039 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88041 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88043 for ac_func in isinf
88045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88046 echo "$as_me:$LINENO: checking for $ac_func" >&5
88047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88048 if eval "test \"\${$as_ac_var+set}\" = set"; then
88049 echo $ECHO_N "(cached) $ECHO_C" >&6
88050 else
88051 if test x$gcc_no_link = xyes; then
88052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88054 { (exit 1); exit 1; }; }
88056 cat >conftest.$ac_ext <<_ACEOF
88057 /* confdefs.h. */
88058 _ACEOF
88059 cat confdefs.h >>conftest.$ac_ext
88060 cat >>conftest.$ac_ext <<_ACEOF
88061 /* end confdefs.h. */
88062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88064 #define $ac_func innocuous_$ac_func
88066 /* System header to define __stub macros and hopefully few prototypes,
88067 which can conflict with char $ac_func (); below.
88068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88069 <limits.h> exists even on freestanding compilers. */
88071 #ifdef __STDC__
88072 # include <limits.h>
88073 #else
88074 # include <assert.h>
88075 #endif
88077 #undef $ac_func
88079 /* Override any gcc2 internal prototype to avoid an error. */
88080 #ifdef __cplusplus
88081 extern "C"
88083 #endif
88084 /* We use char because int might match the return type of a gcc2
88085 builtin and then its argument prototype would still apply. */
88086 char $ac_func ();
88087 /* The GNU C library defines this for functions which it implements
88088 to always fail with ENOSYS. Some functions are actually named
88089 something starting with __ and the normal name is an alias. */
88090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88091 choke me
88092 #else
88093 char (*f) () = $ac_func;
88094 #endif
88095 #ifdef __cplusplus
88097 #endif
88100 main ()
88102 return f != $ac_func;
88104 return 0;
88106 _ACEOF
88107 rm -f conftest.$ac_objext conftest$ac_exeext
88108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88109 (eval $ac_link) 2>conftest.er1
88110 ac_status=$?
88111 grep -v '^ *+' conftest.er1 >conftest.err
88112 rm -f conftest.er1
88113 cat conftest.err >&5
88114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88115 (exit $ac_status); } &&
88116 { ac_try='test -z "$ac_c_werror_flag"
88117 || test ! -s conftest.err'
88118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88119 (eval $ac_try) 2>&5
88120 ac_status=$?
88121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88122 (exit $ac_status); }; } &&
88123 { ac_try='test -s conftest$ac_exeext'
88124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88125 (eval $ac_try) 2>&5
88126 ac_status=$?
88127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88128 (exit $ac_status); }; }; then
88129 eval "$as_ac_var=yes"
88130 else
88131 echo "$as_me: failed program was:" >&5
88132 sed 's/^/| /' conftest.$ac_ext >&5
88134 eval "$as_ac_var=no"
88136 rm -f conftest.err conftest.$ac_objext \
88137 conftest$ac_exeext conftest.$ac_ext
88139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88141 if test `eval echo '${'$as_ac_var'}'` = yes; then
88142 cat >>confdefs.h <<_ACEOF
88143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88144 _ACEOF
88147 done
88149 else
88151 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88152 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88153 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88154 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88155 echo $ECHO_N "(cached) $ECHO_C" >&6
88156 else
88160 ac_ext=cc
88161 ac_cpp='$CXXCPP $CPPFLAGS'
88162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88166 cat >conftest.$ac_ext <<_ACEOF
88167 /* confdefs.h. */
88168 _ACEOF
88169 cat confdefs.h >>conftest.$ac_ext
88170 cat >>conftest.$ac_ext <<_ACEOF
88171 /* end confdefs.h. */
88172 #include <math.h>
88173 #ifdef HAVE_IEEEFP_H
88174 #include <ieeefp.h>
88175 #endif
88178 main ()
88180 _isinf(0);
88182 return 0;
88184 _ACEOF
88185 rm -f conftest.$ac_objext
88186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88187 (eval $ac_compile) 2>conftest.er1
88188 ac_status=$?
88189 grep -v '^ *+' conftest.er1 >conftest.err
88190 rm -f conftest.er1
88191 cat conftest.err >&5
88192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88193 (exit $ac_status); } &&
88194 { ac_try='test -z "$ac_cxx_werror_flag"
88195 || test ! -s conftest.err'
88196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88197 (eval $ac_try) 2>&5
88198 ac_status=$?
88199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88200 (exit $ac_status); }; } &&
88201 { ac_try='test -s conftest.$ac_objext'
88202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88203 (eval $ac_try) 2>&5
88204 ac_status=$?
88205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88206 (exit $ac_status); }; }; then
88207 glibcxx_cv_func__isinf_use=yes
88208 else
88209 echo "$as_me: failed program was:" >&5
88210 sed 's/^/| /' conftest.$ac_ext >&5
88212 glibcxx_cv_func__isinf_use=no
88214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88215 ac_ext=c
88216 ac_cpp='$CPP $CPPFLAGS'
88217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88226 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88228 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88230 for ac_func in _isinf
88232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88233 echo "$as_me:$LINENO: checking for $ac_func" >&5
88234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88235 if eval "test \"\${$as_ac_var+set}\" = set"; then
88236 echo $ECHO_N "(cached) $ECHO_C" >&6
88237 else
88238 if test x$gcc_no_link = xyes; then
88239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88241 { (exit 1); exit 1; }; }
88243 cat >conftest.$ac_ext <<_ACEOF
88244 /* confdefs.h. */
88245 _ACEOF
88246 cat confdefs.h >>conftest.$ac_ext
88247 cat >>conftest.$ac_ext <<_ACEOF
88248 /* end confdefs.h. */
88249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88251 #define $ac_func innocuous_$ac_func
88253 /* System header to define __stub macros and hopefully few prototypes,
88254 which can conflict with char $ac_func (); below.
88255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88256 <limits.h> exists even on freestanding compilers. */
88258 #ifdef __STDC__
88259 # include <limits.h>
88260 #else
88261 # include <assert.h>
88262 #endif
88264 #undef $ac_func
88266 /* Override any gcc2 internal prototype to avoid an error. */
88267 #ifdef __cplusplus
88268 extern "C"
88270 #endif
88271 /* We use char because int might match the return type of a gcc2
88272 builtin and then its argument prototype would still apply. */
88273 char $ac_func ();
88274 /* The GNU C library defines this for functions which it implements
88275 to always fail with ENOSYS. Some functions are actually named
88276 something starting with __ and the normal name is an alias. */
88277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88278 choke me
88279 #else
88280 char (*f) () = $ac_func;
88281 #endif
88282 #ifdef __cplusplus
88284 #endif
88287 main ()
88289 return f != $ac_func;
88291 return 0;
88293 _ACEOF
88294 rm -f conftest.$ac_objext conftest$ac_exeext
88295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88296 (eval $ac_link) 2>conftest.er1
88297 ac_status=$?
88298 grep -v '^ *+' conftest.er1 >conftest.err
88299 rm -f conftest.er1
88300 cat conftest.err >&5
88301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88302 (exit $ac_status); } &&
88303 { ac_try='test -z "$ac_c_werror_flag"
88304 || test ! -s conftest.err'
88305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88306 (eval $ac_try) 2>&5
88307 ac_status=$?
88308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88309 (exit $ac_status); }; } &&
88310 { ac_try='test -s conftest$ac_exeext'
88311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88312 (eval $ac_try) 2>&5
88313 ac_status=$?
88314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88315 (exit $ac_status); }; }; then
88316 eval "$as_ac_var=yes"
88317 else
88318 echo "$as_me: failed program was:" >&5
88319 sed 's/^/| /' conftest.$ac_ext >&5
88321 eval "$as_ac_var=no"
88323 rm -f conftest.err conftest.$ac_objext \
88324 conftest$ac_exeext conftest.$ac_ext
88326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88328 if test `eval echo '${'$as_ac_var'}'` = yes; then
88329 cat >>confdefs.h <<_ACEOF
88330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88331 _ACEOF
88334 done
88344 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88345 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88346 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88347 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88348 echo $ECHO_N "(cached) $ECHO_C" >&6
88349 else
88353 ac_ext=cc
88354 ac_cpp='$CXXCPP $CPPFLAGS'
88355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88359 cat >conftest.$ac_ext <<_ACEOF
88360 /* confdefs.h. */
88361 _ACEOF
88362 cat confdefs.h >>conftest.$ac_ext
88363 cat >>conftest.$ac_ext <<_ACEOF
88364 /* end confdefs.h. */
88365 #include <math.h>
88366 #ifdef HAVE_IEEEFP_H
88367 #include <ieeefp.h>
88368 #endif
88371 main ()
88373 isnan(0);
88375 return 0;
88377 _ACEOF
88378 rm -f conftest.$ac_objext
88379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88380 (eval $ac_compile) 2>conftest.er1
88381 ac_status=$?
88382 grep -v '^ *+' conftest.er1 >conftest.err
88383 rm -f conftest.er1
88384 cat conftest.err >&5
88385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88386 (exit $ac_status); } &&
88387 { ac_try='test -z "$ac_cxx_werror_flag"
88388 || test ! -s conftest.err'
88389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88390 (eval $ac_try) 2>&5
88391 ac_status=$?
88392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88393 (exit $ac_status); }; } &&
88394 { ac_try='test -s conftest.$ac_objext'
88395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88396 (eval $ac_try) 2>&5
88397 ac_status=$?
88398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88399 (exit $ac_status); }; }; then
88400 glibcxx_cv_func_isnan_use=yes
88401 else
88402 echo "$as_me: failed program was:" >&5
88403 sed 's/^/| /' conftest.$ac_ext >&5
88405 glibcxx_cv_func_isnan_use=no
88407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88408 ac_ext=c
88409 ac_cpp='$CPP $CPPFLAGS'
88410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88419 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88421 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88423 for ac_func in isnan
88425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88426 echo "$as_me:$LINENO: checking for $ac_func" >&5
88427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88428 if eval "test \"\${$as_ac_var+set}\" = set"; then
88429 echo $ECHO_N "(cached) $ECHO_C" >&6
88430 else
88431 if test x$gcc_no_link = xyes; then
88432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88434 { (exit 1); exit 1; }; }
88436 cat >conftest.$ac_ext <<_ACEOF
88437 /* confdefs.h. */
88438 _ACEOF
88439 cat confdefs.h >>conftest.$ac_ext
88440 cat >>conftest.$ac_ext <<_ACEOF
88441 /* end confdefs.h. */
88442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88444 #define $ac_func innocuous_$ac_func
88446 /* System header to define __stub macros and hopefully few prototypes,
88447 which can conflict with char $ac_func (); below.
88448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88449 <limits.h> exists even on freestanding compilers. */
88451 #ifdef __STDC__
88452 # include <limits.h>
88453 #else
88454 # include <assert.h>
88455 #endif
88457 #undef $ac_func
88459 /* Override any gcc2 internal prototype to avoid an error. */
88460 #ifdef __cplusplus
88461 extern "C"
88463 #endif
88464 /* We use char because int might match the return type of a gcc2
88465 builtin and then its argument prototype would still apply. */
88466 char $ac_func ();
88467 /* The GNU C library defines this for functions which it implements
88468 to always fail with ENOSYS. Some functions are actually named
88469 something starting with __ and the normal name is an alias. */
88470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88471 choke me
88472 #else
88473 char (*f) () = $ac_func;
88474 #endif
88475 #ifdef __cplusplus
88477 #endif
88480 main ()
88482 return f != $ac_func;
88484 return 0;
88486 _ACEOF
88487 rm -f conftest.$ac_objext conftest$ac_exeext
88488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88489 (eval $ac_link) 2>conftest.er1
88490 ac_status=$?
88491 grep -v '^ *+' conftest.er1 >conftest.err
88492 rm -f conftest.er1
88493 cat conftest.err >&5
88494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88495 (exit $ac_status); } &&
88496 { ac_try='test -z "$ac_c_werror_flag"
88497 || test ! -s conftest.err'
88498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88499 (eval $ac_try) 2>&5
88500 ac_status=$?
88501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88502 (exit $ac_status); }; } &&
88503 { ac_try='test -s conftest$ac_exeext'
88504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88505 (eval $ac_try) 2>&5
88506 ac_status=$?
88507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88508 (exit $ac_status); }; }; then
88509 eval "$as_ac_var=yes"
88510 else
88511 echo "$as_me: failed program was:" >&5
88512 sed 's/^/| /' conftest.$ac_ext >&5
88514 eval "$as_ac_var=no"
88516 rm -f conftest.err conftest.$ac_objext \
88517 conftest$ac_exeext conftest.$ac_ext
88519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88521 if test `eval echo '${'$as_ac_var'}'` = yes; then
88522 cat >>confdefs.h <<_ACEOF
88523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88524 _ACEOF
88527 done
88529 else
88531 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88532 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88533 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88534 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88535 echo $ECHO_N "(cached) $ECHO_C" >&6
88536 else
88540 ac_ext=cc
88541 ac_cpp='$CXXCPP $CPPFLAGS'
88542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88546 cat >conftest.$ac_ext <<_ACEOF
88547 /* confdefs.h. */
88548 _ACEOF
88549 cat confdefs.h >>conftest.$ac_ext
88550 cat >>conftest.$ac_ext <<_ACEOF
88551 /* end confdefs.h. */
88552 #include <math.h>
88553 #ifdef HAVE_IEEEFP_H
88554 #include <ieeefp.h>
88555 #endif
88558 main ()
88560 _isnan(0);
88562 return 0;
88564 _ACEOF
88565 rm -f conftest.$ac_objext
88566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88567 (eval $ac_compile) 2>conftest.er1
88568 ac_status=$?
88569 grep -v '^ *+' conftest.er1 >conftest.err
88570 rm -f conftest.er1
88571 cat conftest.err >&5
88572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88573 (exit $ac_status); } &&
88574 { ac_try='test -z "$ac_cxx_werror_flag"
88575 || test ! -s conftest.err'
88576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88577 (eval $ac_try) 2>&5
88578 ac_status=$?
88579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88580 (exit $ac_status); }; } &&
88581 { ac_try='test -s conftest.$ac_objext'
88582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88583 (eval $ac_try) 2>&5
88584 ac_status=$?
88585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88586 (exit $ac_status); }; }; then
88587 glibcxx_cv_func__isnan_use=yes
88588 else
88589 echo "$as_me: failed program was:" >&5
88590 sed 's/^/| /' conftest.$ac_ext >&5
88592 glibcxx_cv_func__isnan_use=no
88594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88595 ac_ext=c
88596 ac_cpp='$CPP $CPPFLAGS'
88597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88606 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88608 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88610 for ac_func in _isnan
88612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88613 echo "$as_me:$LINENO: checking for $ac_func" >&5
88614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88615 if eval "test \"\${$as_ac_var+set}\" = set"; then
88616 echo $ECHO_N "(cached) $ECHO_C" >&6
88617 else
88618 if test x$gcc_no_link = xyes; then
88619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88621 { (exit 1); exit 1; }; }
88623 cat >conftest.$ac_ext <<_ACEOF
88624 /* confdefs.h. */
88625 _ACEOF
88626 cat confdefs.h >>conftest.$ac_ext
88627 cat >>conftest.$ac_ext <<_ACEOF
88628 /* end confdefs.h. */
88629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88631 #define $ac_func innocuous_$ac_func
88633 /* System header to define __stub macros and hopefully few prototypes,
88634 which can conflict with char $ac_func (); below.
88635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88636 <limits.h> exists even on freestanding compilers. */
88638 #ifdef __STDC__
88639 # include <limits.h>
88640 #else
88641 # include <assert.h>
88642 #endif
88644 #undef $ac_func
88646 /* Override any gcc2 internal prototype to avoid an error. */
88647 #ifdef __cplusplus
88648 extern "C"
88650 #endif
88651 /* We use char because int might match the return type of a gcc2
88652 builtin and then its argument prototype would still apply. */
88653 char $ac_func ();
88654 /* The GNU C library defines this for functions which it implements
88655 to always fail with ENOSYS. Some functions are actually named
88656 something starting with __ and the normal name is an alias. */
88657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88658 choke me
88659 #else
88660 char (*f) () = $ac_func;
88661 #endif
88662 #ifdef __cplusplus
88664 #endif
88667 main ()
88669 return f != $ac_func;
88671 return 0;
88673 _ACEOF
88674 rm -f conftest.$ac_objext conftest$ac_exeext
88675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88676 (eval $ac_link) 2>conftest.er1
88677 ac_status=$?
88678 grep -v '^ *+' conftest.er1 >conftest.err
88679 rm -f conftest.er1
88680 cat conftest.err >&5
88681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88682 (exit $ac_status); } &&
88683 { ac_try='test -z "$ac_c_werror_flag"
88684 || test ! -s conftest.err'
88685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88686 (eval $ac_try) 2>&5
88687 ac_status=$?
88688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88689 (exit $ac_status); }; } &&
88690 { ac_try='test -s conftest$ac_exeext'
88691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88692 (eval $ac_try) 2>&5
88693 ac_status=$?
88694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88695 (exit $ac_status); }; }; then
88696 eval "$as_ac_var=yes"
88697 else
88698 echo "$as_me: failed program was:" >&5
88699 sed 's/^/| /' conftest.$ac_ext >&5
88701 eval "$as_ac_var=no"
88703 rm -f conftest.err conftest.$ac_objext \
88704 conftest$ac_exeext conftest.$ac_ext
88706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88708 if test `eval echo '${'$as_ac_var'}'` = yes; then
88709 cat >>confdefs.h <<_ACEOF
88710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88711 _ACEOF
88714 done
88724 echo "$as_me:$LINENO: checking for finite declaration" >&5
88725 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88726 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88727 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88728 echo $ECHO_N "(cached) $ECHO_C" >&6
88729 else
88733 ac_ext=cc
88734 ac_cpp='$CXXCPP $CPPFLAGS'
88735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88739 cat >conftest.$ac_ext <<_ACEOF
88740 /* confdefs.h. */
88741 _ACEOF
88742 cat confdefs.h >>conftest.$ac_ext
88743 cat >>conftest.$ac_ext <<_ACEOF
88744 /* end confdefs.h. */
88745 #include <math.h>
88746 #ifdef HAVE_IEEEFP_H
88747 #include <ieeefp.h>
88748 #endif
88751 main ()
88753 finite(0);
88755 return 0;
88757 _ACEOF
88758 rm -f conftest.$ac_objext
88759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88760 (eval $ac_compile) 2>conftest.er1
88761 ac_status=$?
88762 grep -v '^ *+' conftest.er1 >conftest.err
88763 rm -f conftest.er1
88764 cat conftest.err >&5
88765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88766 (exit $ac_status); } &&
88767 { ac_try='test -z "$ac_cxx_werror_flag"
88768 || test ! -s conftest.err'
88769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88770 (eval $ac_try) 2>&5
88771 ac_status=$?
88772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88773 (exit $ac_status); }; } &&
88774 { ac_try='test -s conftest.$ac_objext'
88775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88776 (eval $ac_try) 2>&5
88777 ac_status=$?
88778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88779 (exit $ac_status); }; }; then
88780 glibcxx_cv_func_finite_use=yes
88781 else
88782 echo "$as_me: failed program was:" >&5
88783 sed 's/^/| /' conftest.$ac_ext >&5
88785 glibcxx_cv_func_finite_use=no
88787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88788 ac_ext=c
88789 ac_cpp='$CPP $CPPFLAGS'
88790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88799 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88801 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88803 for ac_func in finite
88805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88806 echo "$as_me:$LINENO: checking for $ac_func" >&5
88807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88808 if eval "test \"\${$as_ac_var+set}\" = set"; then
88809 echo $ECHO_N "(cached) $ECHO_C" >&6
88810 else
88811 if test x$gcc_no_link = xyes; then
88812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88814 { (exit 1); exit 1; }; }
88816 cat >conftest.$ac_ext <<_ACEOF
88817 /* confdefs.h. */
88818 _ACEOF
88819 cat confdefs.h >>conftest.$ac_ext
88820 cat >>conftest.$ac_ext <<_ACEOF
88821 /* end confdefs.h. */
88822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88824 #define $ac_func innocuous_$ac_func
88826 /* System header to define __stub macros and hopefully few prototypes,
88827 which can conflict with char $ac_func (); below.
88828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88829 <limits.h> exists even on freestanding compilers. */
88831 #ifdef __STDC__
88832 # include <limits.h>
88833 #else
88834 # include <assert.h>
88835 #endif
88837 #undef $ac_func
88839 /* Override any gcc2 internal prototype to avoid an error. */
88840 #ifdef __cplusplus
88841 extern "C"
88843 #endif
88844 /* We use char because int might match the return type of a gcc2
88845 builtin and then its argument prototype would still apply. */
88846 char $ac_func ();
88847 /* The GNU C library defines this for functions which it implements
88848 to always fail with ENOSYS. Some functions are actually named
88849 something starting with __ and the normal name is an alias. */
88850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88851 choke me
88852 #else
88853 char (*f) () = $ac_func;
88854 #endif
88855 #ifdef __cplusplus
88857 #endif
88860 main ()
88862 return f != $ac_func;
88864 return 0;
88866 _ACEOF
88867 rm -f conftest.$ac_objext conftest$ac_exeext
88868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88869 (eval $ac_link) 2>conftest.er1
88870 ac_status=$?
88871 grep -v '^ *+' conftest.er1 >conftest.err
88872 rm -f conftest.er1
88873 cat conftest.err >&5
88874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88875 (exit $ac_status); } &&
88876 { ac_try='test -z "$ac_c_werror_flag"
88877 || test ! -s conftest.err'
88878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88879 (eval $ac_try) 2>&5
88880 ac_status=$?
88881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88882 (exit $ac_status); }; } &&
88883 { ac_try='test -s conftest$ac_exeext'
88884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88885 (eval $ac_try) 2>&5
88886 ac_status=$?
88887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88888 (exit $ac_status); }; }; then
88889 eval "$as_ac_var=yes"
88890 else
88891 echo "$as_me: failed program was:" >&5
88892 sed 's/^/| /' conftest.$ac_ext >&5
88894 eval "$as_ac_var=no"
88896 rm -f conftest.err conftest.$ac_objext \
88897 conftest$ac_exeext conftest.$ac_ext
88899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88901 if test `eval echo '${'$as_ac_var'}'` = yes; then
88902 cat >>confdefs.h <<_ACEOF
88903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88904 _ACEOF
88907 done
88909 else
88911 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88912 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88913 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88914 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88915 echo $ECHO_N "(cached) $ECHO_C" >&6
88916 else
88920 ac_ext=cc
88921 ac_cpp='$CXXCPP $CPPFLAGS'
88922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88926 cat >conftest.$ac_ext <<_ACEOF
88927 /* confdefs.h. */
88928 _ACEOF
88929 cat confdefs.h >>conftest.$ac_ext
88930 cat >>conftest.$ac_ext <<_ACEOF
88931 /* end confdefs.h. */
88932 #include <math.h>
88933 #ifdef HAVE_IEEEFP_H
88934 #include <ieeefp.h>
88935 #endif
88938 main ()
88940 _finite(0);
88942 return 0;
88944 _ACEOF
88945 rm -f conftest.$ac_objext
88946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88947 (eval $ac_compile) 2>conftest.er1
88948 ac_status=$?
88949 grep -v '^ *+' conftest.er1 >conftest.err
88950 rm -f conftest.er1
88951 cat conftest.err >&5
88952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88953 (exit $ac_status); } &&
88954 { ac_try='test -z "$ac_cxx_werror_flag"
88955 || test ! -s conftest.err'
88956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88957 (eval $ac_try) 2>&5
88958 ac_status=$?
88959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88960 (exit $ac_status); }; } &&
88961 { ac_try='test -s conftest.$ac_objext'
88962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88963 (eval $ac_try) 2>&5
88964 ac_status=$?
88965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88966 (exit $ac_status); }; }; then
88967 glibcxx_cv_func__finite_use=yes
88968 else
88969 echo "$as_me: failed program was:" >&5
88970 sed 's/^/| /' conftest.$ac_ext >&5
88972 glibcxx_cv_func__finite_use=no
88974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88975 ac_ext=c
88976 ac_cpp='$CPP $CPPFLAGS'
88977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88985 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88986 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88988 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88990 for ac_func in _finite
88992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88993 echo "$as_me:$LINENO: checking for $ac_func" >&5
88994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88995 if eval "test \"\${$as_ac_var+set}\" = set"; then
88996 echo $ECHO_N "(cached) $ECHO_C" >&6
88997 else
88998 if test x$gcc_no_link = xyes; then
88999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89001 { (exit 1); exit 1; }; }
89003 cat >conftest.$ac_ext <<_ACEOF
89004 /* confdefs.h. */
89005 _ACEOF
89006 cat confdefs.h >>conftest.$ac_ext
89007 cat >>conftest.$ac_ext <<_ACEOF
89008 /* end confdefs.h. */
89009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89011 #define $ac_func innocuous_$ac_func
89013 /* System header to define __stub macros and hopefully few prototypes,
89014 which can conflict with char $ac_func (); below.
89015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89016 <limits.h> exists even on freestanding compilers. */
89018 #ifdef __STDC__
89019 # include <limits.h>
89020 #else
89021 # include <assert.h>
89022 #endif
89024 #undef $ac_func
89026 /* Override any gcc2 internal prototype to avoid an error. */
89027 #ifdef __cplusplus
89028 extern "C"
89030 #endif
89031 /* We use char because int might match the return type of a gcc2
89032 builtin and then its argument prototype would still apply. */
89033 char $ac_func ();
89034 /* The GNU C library defines this for functions which it implements
89035 to always fail with ENOSYS. Some functions are actually named
89036 something starting with __ and the normal name is an alias. */
89037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89038 choke me
89039 #else
89040 char (*f) () = $ac_func;
89041 #endif
89042 #ifdef __cplusplus
89044 #endif
89047 main ()
89049 return f != $ac_func;
89051 return 0;
89053 _ACEOF
89054 rm -f conftest.$ac_objext conftest$ac_exeext
89055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89056 (eval $ac_link) 2>conftest.er1
89057 ac_status=$?
89058 grep -v '^ *+' conftest.er1 >conftest.err
89059 rm -f conftest.er1
89060 cat conftest.err >&5
89061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89062 (exit $ac_status); } &&
89063 { ac_try='test -z "$ac_c_werror_flag"
89064 || test ! -s conftest.err'
89065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89066 (eval $ac_try) 2>&5
89067 ac_status=$?
89068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89069 (exit $ac_status); }; } &&
89070 { ac_try='test -s conftest$ac_exeext'
89071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89072 (eval $ac_try) 2>&5
89073 ac_status=$?
89074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89075 (exit $ac_status); }; }; then
89076 eval "$as_ac_var=yes"
89077 else
89078 echo "$as_me: failed program was:" >&5
89079 sed 's/^/| /' conftest.$ac_ext >&5
89081 eval "$as_ac_var=no"
89083 rm -f conftest.err conftest.$ac_objext \
89084 conftest$ac_exeext conftest.$ac_ext
89086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89088 if test `eval echo '${'$as_ac_var'}'` = yes; then
89089 cat >>confdefs.h <<_ACEOF
89090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89091 _ACEOF
89094 done
89104 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89105 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89106 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89107 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89108 echo $ECHO_N "(cached) $ECHO_C" >&6
89109 else
89113 ac_ext=cc
89114 ac_cpp='$CXXCPP $CPPFLAGS'
89115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89119 cat >conftest.$ac_ext <<_ACEOF
89120 /* confdefs.h. */
89121 _ACEOF
89122 cat confdefs.h >>conftest.$ac_ext
89123 cat >>conftest.$ac_ext <<_ACEOF
89124 /* end confdefs.h. */
89125 #include <math.h>
89127 main ()
89129 copysign(0, 0);
89131 return 0;
89133 _ACEOF
89134 rm -f conftest.$ac_objext
89135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89136 (eval $ac_compile) 2>conftest.er1
89137 ac_status=$?
89138 grep -v '^ *+' conftest.er1 >conftest.err
89139 rm -f conftest.er1
89140 cat conftest.err >&5
89141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89142 (exit $ac_status); } &&
89143 { ac_try='test -z "$ac_cxx_werror_flag"
89144 || test ! -s conftest.err'
89145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89146 (eval $ac_try) 2>&5
89147 ac_status=$?
89148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89149 (exit $ac_status); }; } &&
89150 { ac_try='test -s conftest.$ac_objext'
89151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89152 (eval $ac_try) 2>&5
89153 ac_status=$?
89154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89155 (exit $ac_status); }; }; then
89156 glibcxx_cv_func_copysign_use=yes
89157 else
89158 echo "$as_me: failed program was:" >&5
89159 sed 's/^/| /' conftest.$ac_ext >&5
89161 glibcxx_cv_func_copysign_use=no
89163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89164 ac_ext=c
89165 ac_cpp='$CPP $CPPFLAGS'
89166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89175 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89177 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89179 for ac_func in copysign
89181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89182 echo "$as_me:$LINENO: checking for $ac_func" >&5
89183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89184 if eval "test \"\${$as_ac_var+set}\" = set"; then
89185 echo $ECHO_N "(cached) $ECHO_C" >&6
89186 else
89187 if test x$gcc_no_link = xyes; then
89188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89190 { (exit 1); exit 1; }; }
89192 cat >conftest.$ac_ext <<_ACEOF
89193 /* confdefs.h. */
89194 _ACEOF
89195 cat confdefs.h >>conftest.$ac_ext
89196 cat >>conftest.$ac_ext <<_ACEOF
89197 /* end confdefs.h. */
89198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89200 #define $ac_func innocuous_$ac_func
89202 /* System header to define __stub macros and hopefully few prototypes,
89203 which can conflict with char $ac_func (); below.
89204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89205 <limits.h> exists even on freestanding compilers. */
89207 #ifdef __STDC__
89208 # include <limits.h>
89209 #else
89210 # include <assert.h>
89211 #endif
89213 #undef $ac_func
89215 /* Override any gcc2 internal prototype to avoid an error. */
89216 #ifdef __cplusplus
89217 extern "C"
89219 #endif
89220 /* We use char because int might match the return type of a gcc2
89221 builtin and then its argument prototype would still apply. */
89222 char $ac_func ();
89223 /* The GNU C library defines this for functions which it implements
89224 to always fail with ENOSYS. Some functions are actually named
89225 something starting with __ and the normal name is an alias. */
89226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89227 choke me
89228 #else
89229 char (*f) () = $ac_func;
89230 #endif
89231 #ifdef __cplusplus
89233 #endif
89236 main ()
89238 return f != $ac_func;
89240 return 0;
89242 _ACEOF
89243 rm -f conftest.$ac_objext conftest$ac_exeext
89244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89245 (eval $ac_link) 2>conftest.er1
89246 ac_status=$?
89247 grep -v '^ *+' conftest.er1 >conftest.err
89248 rm -f conftest.er1
89249 cat conftest.err >&5
89250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89251 (exit $ac_status); } &&
89252 { ac_try='test -z "$ac_c_werror_flag"
89253 || test ! -s conftest.err'
89254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89255 (eval $ac_try) 2>&5
89256 ac_status=$?
89257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89258 (exit $ac_status); }; } &&
89259 { ac_try='test -s conftest$ac_exeext'
89260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89261 (eval $ac_try) 2>&5
89262 ac_status=$?
89263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89264 (exit $ac_status); }; }; then
89265 eval "$as_ac_var=yes"
89266 else
89267 echo "$as_me: failed program was:" >&5
89268 sed 's/^/| /' conftest.$ac_ext >&5
89270 eval "$as_ac_var=no"
89272 rm -f conftest.err conftest.$ac_objext \
89273 conftest$ac_exeext conftest.$ac_ext
89275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89277 if test `eval echo '${'$as_ac_var'}'` = yes; then
89278 cat >>confdefs.h <<_ACEOF
89279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89280 _ACEOF
89283 done
89285 else
89287 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89288 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89289 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89290 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89291 echo $ECHO_N "(cached) $ECHO_C" >&6
89292 else
89296 ac_ext=cc
89297 ac_cpp='$CXXCPP $CPPFLAGS'
89298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89302 cat >conftest.$ac_ext <<_ACEOF
89303 /* confdefs.h. */
89304 _ACEOF
89305 cat confdefs.h >>conftest.$ac_ext
89306 cat >>conftest.$ac_ext <<_ACEOF
89307 /* end confdefs.h. */
89308 #include <math.h>
89310 main ()
89312 _copysign(0, 0);
89314 return 0;
89316 _ACEOF
89317 rm -f conftest.$ac_objext
89318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89319 (eval $ac_compile) 2>conftest.er1
89320 ac_status=$?
89321 grep -v '^ *+' conftest.er1 >conftest.err
89322 rm -f conftest.er1
89323 cat conftest.err >&5
89324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89325 (exit $ac_status); } &&
89326 { ac_try='test -z "$ac_cxx_werror_flag"
89327 || test ! -s conftest.err'
89328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89329 (eval $ac_try) 2>&5
89330 ac_status=$?
89331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89332 (exit $ac_status); }; } &&
89333 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
89339 glibcxx_cv_func__copysign_use=yes
89340 else
89341 echo "$as_me: failed program was:" >&5
89342 sed 's/^/| /' conftest.$ac_ext >&5
89344 glibcxx_cv_func__copysign_use=no
89346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89347 ac_ext=c
89348 ac_cpp='$CPP $CPPFLAGS'
89349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89358 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89360 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89362 for ac_func in _copysign
89364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89365 echo "$as_me:$LINENO: checking for $ac_func" >&5
89366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89367 if eval "test \"\${$as_ac_var+set}\" = set"; then
89368 echo $ECHO_N "(cached) $ECHO_C" >&6
89369 else
89370 if test x$gcc_no_link = xyes; then
89371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89373 { (exit 1); exit 1; }; }
89375 cat >conftest.$ac_ext <<_ACEOF
89376 /* confdefs.h. */
89377 _ACEOF
89378 cat confdefs.h >>conftest.$ac_ext
89379 cat >>conftest.$ac_ext <<_ACEOF
89380 /* end confdefs.h. */
89381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89383 #define $ac_func innocuous_$ac_func
89385 /* System header to define __stub macros and hopefully few prototypes,
89386 which can conflict with char $ac_func (); below.
89387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89388 <limits.h> exists even on freestanding compilers. */
89390 #ifdef __STDC__
89391 # include <limits.h>
89392 #else
89393 # include <assert.h>
89394 #endif
89396 #undef $ac_func
89398 /* Override any gcc2 internal prototype to avoid an error. */
89399 #ifdef __cplusplus
89400 extern "C"
89402 #endif
89403 /* We use char because int might match the return type of a gcc2
89404 builtin and then its argument prototype would still apply. */
89405 char $ac_func ();
89406 /* The GNU C library defines this for functions which it implements
89407 to always fail with ENOSYS. Some functions are actually named
89408 something starting with __ and the normal name is an alias. */
89409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89410 choke me
89411 #else
89412 char (*f) () = $ac_func;
89413 #endif
89414 #ifdef __cplusplus
89416 #endif
89419 main ()
89421 return f != $ac_func;
89423 return 0;
89425 _ACEOF
89426 rm -f conftest.$ac_objext conftest$ac_exeext
89427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89428 (eval $ac_link) 2>conftest.er1
89429 ac_status=$?
89430 grep -v '^ *+' conftest.er1 >conftest.err
89431 rm -f conftest.er1
89432 cat conftest.err >&5
89433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89434 (exit $ac_status); } &&
89435 { ac_try='test -z "$ac_c_werror_flag"
89436 || test ! -s conftest.err'
89437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89438 (eval $ac_try) 2>&5
89439 ac_status=$?
89440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89441 (exit $ac_status); }; } &&
89442 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
89448 eval "$as_ac_var=yes"
89449 else
89450 echo "$as_me: failed program was:" >&5
89451 sed 's/^/| /' conftest.$ac_ext >&5
89453 eval "$as_ac_var=no"
89455 rm -f conftest.err conftest.$ac_objext \
89456 conftest$ac_exeext conftest.$ac_ext
89458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89460 if test `eval echo '${'$as_ac_var'}'` = yes; then
89461 cat >>confdefs.h <<_ACEOF
89462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89463 _ACEOF
89466 done
89476 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89477 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89478 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89479 if test "${glibcxx_cv_func_sincos_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>
89499 main ()
89501 sincos(0, 0, 0);
89503 return 0;
89505 _ACEOF
89506 rm -f conftest.$ac_objext
89507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89508 (eval $ac_compile) 2>conftest.er1
89509 ac_status=$?
89510 grep -v '^ *+' conftest.er1 >conftest.err
89511 rm -f conftest.er1
89512 cat conftest.err >&5
89513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89514 (exit $ac_status); } &&
89515 { ac_try='test -z "$ac_cxx_werror_flag"
89516 || test ! -s conftest.err'
89517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89518 (eval $ac_try) 2>&5
89519 ac_status=$?
89520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89521 (exit $ac_status); }; } &&
89522 { ac_try='test -s conftest.$ac_objext'
89523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89524 (eval $ac_try) 2>&5
89525 ac_status=$?
89526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89527 (exit $ac_status); }; }; then
89528 glibcxx_cv_func_sincos_use=yes
89529 else
89530 echo "$as_me: failed program was:" >&5
89531 sed 's/^/| /' conftest.$ac_ext >&5
89533 glibcxx_cv_func_sincos_use=no
89535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89536 ac_ext=c
89537 ac_cpp='$CPP $CPPFLAGS'
89538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89546 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89547 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89549 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89551 for ac_func in sincos
89553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89554 echo "$as_me:$LINENO: checking for $ac_func" >&5
89555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89556 if eval "test \"\${$as_ac_var+set}\" = set"; then
89557 echo $ECHO_N "(cached) $ECHO_C" >&6
89558 else
89559 if test x$gcc_no_link = xyes; then
89560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89562 { (exit 1); exit 1; }; }
89564 cat >conftest.$ac_ext <<_ACEOF
89565 /* confdefs.h. */
89566 _ACEOF
89567 cat confdefs.h >>conftest.$ac_ext
89568 cat >>conftest.$ac_ext <<_ACEOF
89569 /* end confdefs.h. */
89570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89572 #define $ac_func innocuous_$ac_func
89574 /* System header to define __stub macros and hopefully few prototypes,
89575 which can conflict with char $ac_func (); below.
89576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89577 <limits.h> exists even on freestanding compilers. */
89579 #ifdef __STDC__
89580 # include <limits.h>
89581 #else
89582 # include <assert.h>
89583 #endif
89585 #undef $ac_func
89587 /* Override any gcc2 internal prototype to avoid an error. */
89588 #ifdef __cplusplus
89589 extern "C"
89591 #endif
89592 /* We use char because int might match the return type of a gcc2
89593 builtin and then its argument prototype would still apply. */
89594 char $ac_func ();
89595 /* The GNU C library defines this for functions which it implements
89596 to always fail with ENOSYS. Some functions are actually named
89597 something starting with __ and the normal name is an alias. */
89598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89599 choke me
89600 #else
89601 char (*f) () = $ac_func;
89602 #endif
89603 #ifdef __cplusplus
89605 #endif
89608 main ()
89610 return f != $ac_func;
89612 return 0;
89614 _ACEOF
89615 rm -f conftest.$ac_objext conftest$ac_exeext
89616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89617 (eval $ac_link) 2>conftest.er1
89618 ac_status=$?
89619 grep -v '^ *+' conftest.er1 >conftest.err
89620 rm -f conftest.er1
89621 cat conftest.err >&5
89622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89623 (exit $ac_status); } &&
89624 { ac_try='test -z "$ac_c_werror_flag"
89625 || test ! -s conftest.err'
89626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89627 (eval $ac_try) 2>&5
89628 ac_status=$?
89629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89630 (exit $ac_status); }; } &&
89631 { ac_try='test -s conftest$ac_exeext'
89632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89633 (eval $ac_try) 2>&5
89634 ac_status=$?
89635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89636 (exit $ac_status); }; }; then
89637 eval "$as_ac_var=yes"
89638 else
89639 echo "$as_me: failed program was:" >&5
89640 sed 's/^/| /' conftest.$ac_ext >&5
89642 eval "$as_ac_var=no"
89644 rm -f conftest.err conftest.$ac_objext \
89645 conftest$ac_exeext conftest.$ac_ext
89647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89649 if test `eval echo '${'$as_ac_var'}'` = yes; then
89650 cat >>confdefs.h <<_ACEOF
89651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89652 _ACEOF
89655 done
89657 else
89659 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89660 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89661 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89662 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89663 echo $ECHO_N "(cached) $ECHO_C" >&6
89664 else
89668 ac_ext=cc
89669 ac_cpp='$CXXCPP $CPPFLAGS'
89670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89674 cat >conftest.$ac_ext <<_ACEOF
89675 /* confdefs.h. */
89676 _ACEOF
89677 cat confdefs.h >>conftest.$ac_ext
89678 cat >>conftest.$ac_ext <<_ACEOF
89679 /* end confdefs.h. */
89680 #include <math.h>
89682 main ()
89684 _sincos(0, 0, 0);
89686 return 0;
89688 _ACEOF
89689 rm -f conftest.$ac_objext
89690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89691 (eval $ac_compile) 2>conftest.er1
89692 ac_status=$?
89693 grep -v '^ *+' conftest.er1 >conftest.err
89694 rm -f conftest.er1
89695 cat conftest.err >&5
89696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89697 (exit $ac_status); } &&
89698 { ac_try='test -z "$ac_cxx_werror_flag"
89699 || test ! -s conftest.err'
89700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89701 (eval $ac_try) 2>&5
89702 ac_status=$?
89703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89704 (exit $ac_status); }; } &&
89705 { ac_try='test -s conftest.$ac_objext'
89706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89707 (eval $ac_try) 2>&5
89708 ac_status=$?
89709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89710 (exit $ac_status); }; }; then
89711 glibcxx_cv_func__sincos_use=yes
89712 else
89713 echo "$as_me: failed program was:" >&5
89714 sed 's/^/| /' conftest.$ac_ext >&5
89716 glibcxx_cv_func__sincos_use=no
89718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89719 ac_ext=c
89720 ac_cpp='$CPP $CPPFLAGS'
89721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89730 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89732 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89734 for ac_func in _sincos
89736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89737 echo "$as_me:$LINENO: checking for $ac_func" >&5
89738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89739 if eval "test \"\${$as_ac_var+set}\" = set"; then
89740 echo $ECHO_N "(cached) $ECHO_C" >&6
89741 else
89742 if test x$gcc_no_link = xyes; then
89743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89745 { (exit 1); exit 1; }; }
89747 cat >conftest.$ac_ext <<_ACEOF
89748 /* confdefs.h. */
89749 _ACEOF
89750 cat confdefs.h >>conftest.$ac_ext
89751 cat >>conftest.$ac_ext <<_ACEOF
89752 /* end confdefs.h. */
89753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89755 #define $ac_func innocuous_$ac_func
89757 /* System header to define __stub macros and hopefully few prototypes,
89758 which can conflict with char $ac_func (); below.
89759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89760 <limits.h> exists even on freestanding compilers. */
89762 #ifdef __STDC__
89763 # include <limits.h>
89764 #else
89765 # include <assert.h>
89766 #endif
89768 #undef $ac_func
89770 /* Override any gcc2 internal prototype to avoid an error. */
89771 #ifdef __cplusplus
89772 extern "C"
89774 #endif
89775 /* We use char because int might match the return type of a gcc2
89776 builtin and then its argument prototype would still apply. */
89777 char $ac_func ();
89778 /* The GNU C library defines this for functions which it implements
89779 to always fail with ENOSYS. Some functions are actually named
89780 something starting with __ and the normal name is an alias. */
89781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89782 choke me
89783 #else
89784 char (*f) () = $ac_func;
89785 #endif
89786 #ifdef __cplusplus
89788 #endif
89791 main ()
89793 return f != $ac_func;
89795 return 0;
89797 _ACEOF
89798 rm -f conftest.$ac_objext conftest$ac_exeext
89799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89800 (eval $ac_link) 2>conftest.er1
89801 ac_status=$?
89802 grep -v '^ *+' conftest.er1 >conftest.err
89803 rm -f conftest.er1
89804 cat conftest.err >&5
89805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89806 (exit $ac_status); } &&
89807 { ac_try='test -z "$ac_c_werror_flag"
89808 || test ! -s conftest.err'
89809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89810 (eval $ac_try) 2>&5
89811 ac_status=$?
89812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89813 (exit $ac_status); }; } &&
89814 { ac_try='test -s conftest$ac_exeext'
89815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89816 (eval $ac_try) 2>&5
89817 ac_status=$?
89818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89819 (exit $ac_status); }; }; then
89820 eval "$as_ac_var=yes"
89821 else
89822 echo "$as_me: failed program was:" >&5
89823 sed 's/^/| /' conftest.$ac_ext >&5
89825 eval "$as_ac_var=no"
89827 rm -f conftest.err conftest.$ac_objext \
89828 conftest$ac_exeext conftest.$ac_ext
89830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89832 if test `eval echo '${'$as_ac_var'}'` = yes; then
89833 cat >>confdefs.h <<_ACEOF
89834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89835 _ACEOF
89838 done
89848 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89849 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89850 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89851 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89852 echo $ECHO_N "(cached) $ECHO_C" >&6
89853 else
89857 ac_ext=cc
89858 ac_cpp='$CXXCPP $CPPFLAGS'
89859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89863 cat >conftest.$ac_ext <<_ACEOF
89864 /* confdefs.h. */
89865 _ACEOF
89866 cat confdefs.h >>conftest.$ac_ext
89867 cat >>conftest.$ac_ext <<_ACEOF
89868 /* end confdefs.h. */
89869 #include <math.h>
89870 #ifdef HAVE_IEEEFP_H
89871 #include <ieeefp.h>
89872 #endif
89875 main ()
89877 fpclass(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_fpclass_use=yes
89905 else
89906 echo "$as_me: failed program was:" >&5
89907 sed 's/^/| /' conftest.$ac_ext >&5
89909 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
89923 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89925 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89927 for ac_func in fpclass
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
90033 else
90035 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90036 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90037 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90038 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90039 echo $ECHO_N "(cached) $ECHO_C" >&6
90040 else
90044 ac_ext=cc
90045 ac_cpp='$CXXCPP $CPPFLAGS'
90046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90050 cat >conftest.$ac_ext <<_ACEOF
90051 /* confdefs.h. */
90052 _ACEOF
90053 cat confdefs.h >>conftest.$ac_ext
90054 cat >>conftest.$ac_ext <<_ACEOF
90055 /* end confdefs.h. */
90056 #include <math.h>
90057 #ifdef HAVE_IEEEFP_H
90058 #include <ieeefp.h>
90059 #endif
90062 main ()
90064 _fpclass(0);
90066 return 0;
90068 _ACEOF
90069 rm -f conftest.$ac_objext
90070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90071 (eval $ac_compile) 2>conftest.er1
90072 ac_status=$?
90073 grep -v '^ *+' conftest.er1 >conftest.err
90074 rm -f conftest.er1
90075 cat conftest.err >&5
90076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90077 (exit $ac_status); } &&
90078 { ac_try='test -z "$ac_cxx_werror_flag"
90079 || test ! -s conftest.err'
90080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90081 (eval $ac_try) 2>&5
90082 ac_status=$?
90083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90084 (exit $ac_status); }; } &&
90085 { ac_try='test -s conftest.$ac_objext'
90086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90087 (eval $ac_try) 2>&5
90088 ac_status=$?
90089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90090 (exit $ac_status); }; }; then
90091 glibcxx_cv_func__fpclass_use=yes
90092 else
90093 echo "$as_me: failed program was:" >&5
90094 sed 's/^/| /' conftest.$ac_ext >&5
90096 glibcxx_cv_func__fpclass_use=no
90098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90099 ac_ext=c
90100 ac_cpp='$CPP $CPPFLAGS'
90101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90110 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90112 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90114 for ac_func in _fpclass
90116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90117 echo "$as_me:$LINENO: checking for $ac_func" >&5
90118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90119 if eval "test \"\${$as_ac_var+set}\" = set"; then
90120 echo $ECHO_N "(cached) $ECHO_C" >&6
90121 else
90122 if test x$gcc_no_link = xyes; then
90123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90125 { (exit 1); exit 1; }; }
90127 cat >conftest.$ac_ext <<_ACEOF
90128 /* confdefs.h. */
90129 _ACEOF
90130 cat confdefs.h >>conftest.$ac_ext
90131 cat >>conftest.$ac_ext <<_ACEOF
90132 /* end confdefs.h. */
90133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90135 #define $ac_func innocuous_$ac_func
90137 /* System header to define __stub macros and hopefully few prototypes,
90138 which can conflict with char $ac_func (); below.
90139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90140 <limits.h> exists even on freestanding compilers. */
90142 #ifdef __STDC__
90143 # include <limits.h>
90144 #else
90145 # include <assert.h>
90146 #endif
90148 #undef $ac_func
90150 /* Override any gcc2 internal prototype to avoid an error. */
90151 #ifdef __cplusplus
90152 extern "C"
90154 #endif
90155 /* We use char because int might match the return type of a gcc2
90156 builtin and then its argument prototype would still apply. */
90157 char $ac_func ();
90158 /* The GNU C library defines this for functions which it implements
90159 to always fail with ENOSYS. Some functions are actually named
90160 something starting with __ and the normal name is an alias. */
90161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90162 choke me
90163 #else
90164 char (*f) () = $ac_func;
90165 #endif
90166 #ifdef __cplusplus
90168 #endif
90171 main ()
90173 return f != $ac_func;
90175 return 0;
90177 _ACEOF
90178 rm -f conftest.$ac_objext conftest$ac_exeext
90179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90180 (eval $ac_link) 2>conftest.er1
90181 ac_status=$?
90182 grep -v '^ *+' conftest.er1 >conftest.err
90183 rm -f conftest.er1
90184 cat conftest.err >&5
90185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90186 (exit $ac_status); } &&
90187 { ac_try='test -z "$ac_c_werror_flag"
90188 || test ! -s conftest.err'
90189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90190 (eval $ac_try) 2>&5
90191 ac_status=$?
90192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90193 (exit $ac_status); }; } &&
90194 { ac_try='test -s conftest$ac_exeext'
90195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90196 (eval $ac_try) 2>&5
90197 ac_status=$?
90198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90199 (exit $ac_status); }; }; then
90200 eval "$as_ac_var=yes"
90201 else
90202 echo "$as_me: failed program was:" >&5
90203 sed 's/^/| /' conftest.$ac_ext >&5
90205 eval "$as_ac_var=no"
90207 rm -f conftest.err conftest.$ac_objext \
90208 conftest$ac_exeext conftest.$ac_ext
90210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90212 if test `eval echo '${'$as_ac_var'}'` = yes; then
90213 cat >>confdefs.h <<_ACEOF
90214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90215 _ACEOF
90218 done
90228 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90229 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90230 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90231 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90232 echo $ECHO_N "(cached) $ECHO_C" >&6
90233 else
90237 ac_ext=cc
90238 ac_cpp='$CXXCPP $CPPFLAGS'
90239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90243 cat >conftest.$ac_ext <<_ACEOF
90244 /* confdefs.h. */
90245 _ACEOF
90246 cat confdefs.h >>conftest.$ac_ext
90247 cat >>conftest.$ac_ext <<_ACEOF
90248 /* end confdefs.h. */
90249 #include <math.h>
90250 #ifdef HAVE_IEEEFP_H
90251 #include <ieeefp.h>
90252 #endif
90255 main ()
90257 qfpclass(0);
90259 return 0;
90261 _ACEOF
90262 rm -f conftest.$ac_objext
90263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90264 (eval $ac_compile) 2>conftest.er1
90265 ac_status=$?
90266 grep -v '^ *+' conftest.er1 >conftest.err
90267 rm -f conftest.er1
90268 cat conftest.err >&5
90269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90270 (exit $ac_status); } &&
90271 { ac_try='test -z "$ac_cxx_werror_flag"
90272 || test ! -s conftest.err'
90273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90274 (eval $ac_try) 2>&5
90275 ac_status=$?
90276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90277 (exit $ac_status); }; } &&
90278 { ac_try='test -s conftest.$ac_objext'
90279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90280 (eval $ac_try) 2>&5
90281 ac_status=$?
90282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90283 (exit $ac_status); }; }; then
90284 glibcxx_cv_func_qfpclass_use=yes
90285 else
90286 echo "$as_me: failed program was:" >&5
90287 sed 's/^/| /' conftest.$ac_ext >&5
90289 glibcxx_cv_func_qfpclass_use=no
90291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90292 ac_ext=c
90293 ac_cpp='$CPP $CPPFLAGS'
90294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90302 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90303 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90305 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90307 for ac_func in qfpclass
90309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90310 echo "$as_me:$LINENO: checking for $ac_func" >&5
90311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90312 if eval "test \"\${$as_ac_var+set}\" = set"; then
90313 echo $ECHO_N "(cached) $ECHO_C" >&6
90314 else
90315 if test x$gcc_no_link = xyes; then
90316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90318 { (exit 1); exit 1; }; }
90320 cat >conftest.$ac_ext <<_ACEOF
90321 /* confdefs.h. */
90322 _ACEOF
90323 cat confdefs.h >>conftest.$ac_ext
90324 cat >>conftest.$ac_ext <<_ACEOF
90325 /* end confdefs.h. */
90326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90328 #define $ac_func innocuous_$ac_func
90330 /* System header to define __stub macros and hopefully few prototypes,
90331 which can conflict with char $ac_func (); below.
90332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90333 <limits.h> exists even on freestanding compilers. */
90335 #ifdef __STDC__
90336 # include <limits.h>
90337 #else
90338 # include <assert.h>
90339 #endif
90341 #undef $ac_func
90343 /* Override any gcc2 internal prototype to avoid an error. */
90344 #ifdef __cplusplus
90345 extern "C"
90347 #endif
90348 /* We use char because int might match the return type of a gcc2
90349 builtin and then its argument prototype would still apply. */
90350 char $ac_func ();
90351 /* The GNU C library defines this for functions which it implements
90352 to always fail with ENOSYS. Some functions are actually named
90353 something starting with __ and the normal name is an alias. */
90354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90355 choke me
90356 #else
90357 char (*f) () = $ac_func;
90358 #endif
90359 #ifdef __cplusplus
90361 #endif
90364 main ()
90366 return f != $ac_func;
90368 return 0;
90370 _ACEOF
90371 rm -f conftest.$ac_objext conftest$ac_exeext
90372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90373 (eval $ac_link) 2>conftest.er1
90374 ac_status=$?
90375 grep -v '^ *+' conftest.er1 >conftest.err
90376 rm -f conftest.er1
90377 cat conftest.err >&5
90378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90379 (exit $ac_status); } &&
90380 { ac_try='test -z "$ac_c_werror_flag"
90381 || test ! -s conftest.err'
90382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90383 (eval $ac_try) 2>&5
90384 ac_status=$?
90385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90386 (exit $ac_status); }; } &&
90387 { ac_try='test -s conftest$ac_exeext'
90388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90389 (eval $ac_try) 2>&5
90390 ac_status=$?
90391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90392 (exit $ac_status); }; }; then
90393 eval "$as_ac_var=yes"
90394 else
90395 echo "$as_me: failed program was:" >&5
90396 sed 's/^/| /' conftest.$ac_ext >&5
90398 eval "$as_ac_var=no"
90400 rm -f conftest.err conftest.$ac_objext \
90401 conftest$ac_exeext conftest.$ac_ext
90403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90405 if test `eval echo '${'$as_ac_var'}'` = yes; then
90406 cat >>confdefs.h <<_ACEOF
90407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90408 _ACEOF
90411 done
90413 else
90415 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90416 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90417 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90418 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90419 echo $ECHO_N "(cached) $ECHO_C" >&6
90420 else
90424 ac_ext=cc
90425 ac_cpp='$CXXCPP $CPPFLAGS'
90426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90430 cat >conftest.$ac_ext <<_ACEOF
90431 /* confdefs.h. */
90432 _ACEOF
90433 cat confdefs.h >>conftest.$ac_ext
90434 cat >>conftest.$ac_ext <<_ACEOF
90435 /* end confdefs.h. */
90436 #include <math.h>
90437 #ifdef HAVE_IEEEFP_H
90438 #include <ieeefp.h>
90439 #endif
90442 main ()
90444 _qfpclass(0);
90446 return 0;
90448 _ACEOF
90449 rm -f conftest.$ac_objext
90450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90451 (eval $ac_compile) 2>conftest.er1
90452 ac_status=$?
90453 grep -v '^ *+' conftest.er1 >conftest.err
90454 rm -f conftest.er1
90455 cat conftest.err >&5
90456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90457 (exit $ac_status); } &&
90458 { ac_try='test -z "$ac_cxx_werror_flag"
90459 || test ! -s conftest.err'
90460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90461 (eval $ac_try) 2>&5
90462 ac_status=$?
90463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90464 (exit $ac_status); }; } &&
90465 { ac_try='test -s conftest.$ac_objext'
90466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90467 (eval $ac_try) 2>&5
90468 ac_status=$?
90469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90470 (exit $ac_status); }; }; then
90471 glibcxx_cv_func__qfpclass_use=yes
90472 else
90473 echo "$as_me: failed program was:" >&5
90474 sed 's/^/| /' conftest.$ac_ext >&5
90476 glibcxx_cv_func__qfpclass_use=no
90478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90479 ac_ext=c
90480 ac_cpp='$CPP $CPPFLAGS'
90481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90489 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90490 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90492 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90494 for ac_func in _qfpclass
90496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90497 echo "$as_me:$LINENO: checking for $ac_func" >&5
90498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90499 if eval "test \"\${$as_ac_var+set}\" = set"; then
90500 echo $ECHO_N "(cached) $ECHO_C" >&6
90501 else
90502 if test x$gcc_no_link = xyes; then
90503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90505 { (exit 1); exit 1; }; }
90507 cat >conftest.$ac_ext <<_ACEOF
90508 /* confdefs.h. */
90509 _ACEOF
90510 cat confdefs.h >>conftest.$ac_ext
90511 cat >>conftest.$ac_ext <<_ACEOF
90512 /* end confdefs.h. */
90513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90515 #define $ac_func innocuous_$ac_func
90517 /* System header to define __stub macros and hopefully few prototypes,
90518 which can conflict with char $ac_func (); below.
90519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90520 <limits.h> exists even on freestanding compilers. */
90522 #ifdef __STDC__
90523 # include <limits.h>
90524 #else
90525 # include <assert.h>
90526 #endif
90528 #undef $ac_func
90530 /* Override any gcc2 internal prototype to avoid an error. */
90531 #ifdef __cplusplus
90532 extern "C"
90534 #endif
90535 /* We use char because int might match the return type of a gcc2
90536 builtin and then its argument prototype would still apply. */
90537 char $ac_func ();
90538 /* The GNU C library defines this for functions which it implements
90539 to always fail with ENOSYS. Some functions are actually named
90540 something starting with __ and the normal name is an alias. */
90541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90542 choke me
90543 #else
90544 char (*f) () = $ac_func;
90545 #endif
90546 #ifdef __cplusplus
90548 #endif
90551 main ()
90553 return f != $ac_func;
90555 return 0;
90557 _ACEOF
90558 rm -f conftest.$ac_objext conftest$ac_exeext
90559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90560 (eval $ac_link) 2>conftest.er1
90561 ac_status=$?
90562 grep -v '^ *+' conftest.er1 >conftest.err
90563 rm -f conftest.er1
90564 cat conftest.err >&5
90565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90566 (exit $ac_status); } &&
90567 { ac_try='test -z "$ac_c_werror_flag"
90568 || test ! -s conftest.err'
90569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90570 (eval $ac_try) 2>&5
90571 ac_status=$?
90572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90573 (exit $ac_status); }; } &&
90574 { ac_try='test -s conftest$ac_exeext'
90575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90576 (eval $ac_try) 2>&5
90577 ac_status=$?
90578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90579 (exit $ac_status); }; }; then
90580 eval "$as_ac_var=yes"
90581 else
90582 echo "$as_me: failed program was:" >&5
90583 sed 's/^/| /' conftest.$ac_ext >&5
90585 eval "$as_ac_var=no"
90587 rm -f conftest.err conftest.$ac_objext \
90588 conftest$ac_exeext conftest.$ac_ext
90590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90592 if test `eval echo '${'$as_ac_var'}'` = yes; then
90593 cat >>confdefs.h <<_ACEOF
90594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90595 _ACEOF
90598 done
90608 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90609 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90610 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90611 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90612 echo $ECHO_N "(cached) $ECHO_C" >&6
90613 else
90617 ac_ext=cc
90618 ac_cpp='$CXXCPP $CPPFLAGS'
90619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90623 cat >conftest.$ac_ext <<_ACEOF
90624 /* confdefs.h. */
90625 _ACEOF
90626 cat confdefs.h >>conftest.$ac_ext
90627 cat >>conftest.$ac_ext <<_ACEOF
90628 /* end confdefs.h. */
90629 #include <math.h>
90631 main ()
90633 hypot(0, 0);
90635 return 0;
90637 _ACEOF
90638 rm -f conftest.$ac_objext
90639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90640 (eval $ac_compile) 2>conftest.er1
90641 ac_status=$?
90642 grep -v '^ *+' conftest.er1 >conftest.err
90643 rm -f conftest.er1
90644 cat conftest.err >&5
90645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90646 (exit $ac_status); } &&
90647 { ac_try='test -z "$ac_cxx_werror_flag"
90648 || test ! -s conftest.err'
90649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90650 (eval $ac_try) 2>&5
90651 ac_status=$?
90652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90653 (exit $ac_status); }; } &&
90654 { ac_try='test -s conftest.$ac_objext'
90655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90656 (eval $ac_try) 2>&5
90657 ac_status=$?
90658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90659 (exit $ac_status); }; }; then
90660 glibcxx_cv_func_hypot_use=yes
90661 else
90662 echo "$as_me: failed program was:" >&5
90663 sed 's/^/| /' conftest.$ac_ext >&5
90665 glibcxx_cv_func_hypot_use=no
90667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90668 ac_ext=c
90669 ac_cpp='$CPP $CPPFLAGS'
90670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90679 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90681 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90683 for ac_func in hypot
90685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90686 echo "$as_me:$LINENO: checking for $ac_func" >&5
90687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90688 if eval "test \"\${$as_ac_var+set}\" = set"; then
90689 echo $ECHO_N "(cached) $ECHO_C" >&6
90690 else
90691 if test x$gcc_no_link = xyes; then
90692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90694 { (exit 1); exit 1; }; }
90696 cat >conftest.$ac_ext <<_ACEOF
90697 /* confdefs.h. */
90698 _ACEOF
90699 cat confdefs.h >>conftest.$ac_ext
90700 cat >>conftest.$ac_ext <<_ACEOF
90701 /* end confdefs.h. */
90702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90704 #define $ac_func innocuous_$ac_func
90706 /* System header to define __stub macros and hopefully few prototypes,
90707 which can conflict with char $ac_func (); below.
90708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90709 <limits.h> exists even on freestanding compilers. */
90711 #ifdef __STDC__
90712 # include <limits.h>
90713 #else
90714 # include <assert.h>
90715 #endif
90717 #undef $ac_func
90719 /* Override any gcc2 internal prototype to avoid an error. */
90720 #ifdef __cplusplus
90721 extern "C"
90723 #endif
90724 /* We use char because int might match the return type of a gcc2
90725 builtin and then its argument prototype would still apply. */
90726 char $ac_func ();
90727 /* The GNU C library defines this for functions which it implements
90728 to always fail with ENOSYS. Some functions are actually named
90729 something starting with __ and the normal name is an alias. */
90730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90731 choke me
90732 #else
90733 char (*f) () = $ac_func;
90734 #endif
90735 #ifdef __cplusplus
90737 #endif
90740 main ()
90742 return f != $ac_func;
90744 return 0;
90746 _ACEOF
90747 rm -f conftest.$ac_objext conftest$ac_exeext
90748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90749 (eval $ac_link) 2>conftest.er1
90750 ac_status=$?
90751 grep -v '^ *+' conftest.er1 >conftest.err
90752 rm -f conftest.er1
90753 cat conftest.err >&5
90754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90755 (exit $ac_status); } &&
90756 { ac_try='test -z "$ac_c_werror_flag"
90757 || test ! -s conftest.err'
90758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90759 (eval $ac_try) 2>&5
90760 ac_status=$?
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); }; } &&
90763 { ac_try='test -s conftest$ac_exeext'
90764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90765 (eval $ac_try) 2>&5
90766 ac_status=$?
90767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90768 (exit $ac_status); }; }; then
90769 eval "$as_ac_var=yes"
90770 else
90771 echo "$as_me: failed program was:" >&5
90772 sed 's/^/| /' conftest.$ac_ext >&5
90774 eval "$as_ac_var=no"
90776 rm -f conftest.err conftest.$ac_objext \
90777 conftest$ac_exeext conftest.$ac_ext
90779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90781 if test `eval echo '${'$as_ac_var'}'` = yes; then
90782 cat >>confdefs.h <<_ACEOF
90783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90784 _ACEOF
90787 done
90789 else
90791 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90792 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90793 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90794 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90795 echo $ECHO_N "(cached) $ECHO_C" >&6
90796 else
90800 ac_ext=cc
90801 ac_cpp='$CXXCPP $CPPFLAGS'
90802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90806 cat >conftest.$ac_ext <<_ACEOF
90807 /* confdefs.h. */
90808 _ACEOF
90809 cat confdefs.h >>conftest.$ac_ext
90810 cat >>conftest.$ac_ext <<_ACEOF
90811 /* end confdefs.h. */
90812 #include <math.h>
90814 main ()
90816 _hypot(0, 0);
90818 return 0;
90820 _ACEOF
90821 rm -f conftest.$ac_objext
90822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90823 (eval $ac_compile) 2>conftest.er1
90824 ac_status=$?
90825 grep -v '^ *+' conftest.er1 >conftest.err
90826 rm -f conftest.er1
90827 cat conftest.err >&5
90828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90829 (exit $ac_status); } &&
90830 { ac_try='test -z "$ac_cxx_werror_flag"
90831 || test ! -s conftest.err'
90832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90833 (eval $ac_try) 2>&5
90834 ac_status=$?
90835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90836 (exit $ac_status); }; } &&
90837 { ac_try='test -s conftest.$ac_objext'
90838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90839 (eval $ac_try) 2>&5
90840 ac_status=$?
90841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90842 (exit $ac_status); }; }; then
90843 glibcxx_cv_func__hypot_use=yes
90844 else
90845 echo "$as_me: failed program was:" >&5
90846 sed 's/^/| /' conftest.$ac_ext >&5
90848 glibcxx_cv_func__hypot_use=no
90850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90851 ac_ext=c
90852 ac_cpp='$CPP $CPPFLAGS'
90853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90861 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90862 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90864 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90866 for ac_func in _hypot
90868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90869 echo "$as_me:$LINENO: checking for $ac_func" >&5
90870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90871 if eval "test \"\${$as_ac_var+set}\" = set"; then
90872 echo $ECHO_N "(cached) $ECHO_C" >&6
90873 else
90874 if test x$gcc_no_link = xyes; then
90875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90877 { (exit 1); exit 1; }; }
90879 cat >conftest.$ac_ext <<_ACEOF
90880 /* confdefs.h. */
90881 _ACEOF
90882 cat confdefs.h >>conftest.$ac_ext
90883 cat >>conftest.$ac_ext <<_ACEOF
90884 /* end confdefs.h. */
90885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90887 #define $ac_func innocuous_$ac_func
90889 /* System header to define __stub macros and hopefully few prototypes,
90890 which can conflict with char $ac_func (); below.
90891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90892 <limits.h> exists even on freestanding compilers. */
90894 #ifdef __STDC__
90895 # include <limits.h>
90896 #else
90897 # include <assert.h>
90898 #endif
90900 #undef $ac_func
90902 /* Override any gcc2 internal prototype to avoid an error. */
90903 #ifdef __cplusplus
90904 extern "C"
90906 #endif
90907 /* We use char because int might match the return type of a gcc2
90908 builtin and then its argument prototype would still apply. */
90909 char $ac_func ();
90910 /* The GNU C library defines this for functions which it implements
90911 to always fail with ENOSYS. Some functions are actually named
90912 something starting with __ and the normal name is an alias. */
90913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90914 choke me
90915 #else
90916 char (*f) () = $ac_func;
90917 #endif
90918 #ifdef __cplusplus
90920 #endif
90923 main ()
90925 return f != $ac_func;
90927 return 0;
90929 _ACEOF
90930 rm -f conftest.$ac_objext conftest$ac_exeext
90931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90932 (eval $ac_link) 2>conftest.er1
90933 ac_status=$?
90934 grep -v '^ *+' conftest.er1 >conftest.err
90935 rm -f conftest.er1
90936 cat conftest.err >&5
90937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90938 (exit $ac_status); } &&
90939 { ac_try='test -z "$ac_c_werror_flag"
90940 || test ! -s conftest.err'
90941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90942 (eval $ac_try) 2>&5
90943 ac_status=$?
90944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90945 (exit $ac_status); }; } &&
90946 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
90952 eval "$as_ac_var=yes"
90953 else
90954 echo "$as_me: failed program was:" >&5
90955 sed 's/^/| /' conftest.$ac_ext >&5
90957 eval "$as_ac_var=no"
90959 rm -f conftest.err conftest.$ac_objext \
90960 conftest$ac_exeext conftest.$ac_ext
90962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90964 if test `eval echo '${'$as_ac_var'}'` = yes; then
90965 cat >>confdefs.h <<_ACEOF
90966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90967 _ACEOF
90970 done
90980 echo "$as_me:$LINENO: checking for float trig functions" >&5
90981 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90982 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90983 echo $ECHO_N "(cached) $ECHO_C" >&6
90984 else
90988 ac_ext=cc
90989 ac_cpp='$CXXCPP $CPPFLAGS'
90990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90994 cat >conftest.$ac_ext <<_ACEOF
90995 /* confdefs.h. */
90996 _ACEOF
90997 cat confdefs.h >>conftest.$ac_ext
90998 cat >>conftest.$ac_ext <<_ACEOF
90999 /* end confdefs.h. */
91000 #include <math.h>
91002 main ()
91004 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91006 return 0;
91008 _ACEOF
91009 rm -f conftest.$ac_objext
91010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91011 (eval $ac_compile) 2>conftest.er1
91012 ac_status=$?
91013 grep -v '^ *+' conftest.er1 >conftest.err
91014 rm -f conftest.er1
91015 cat conftest.err >&5
91016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91017 (exit $ac_status); } &&
91018 { ac_try='test -z "$ac_cxx_werror_flag"
91019 || test ! -s conftest.err'
91020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91021 (eval $ac_try) 2>&5
91022 ac_status=$?
91023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91024 (exit $ac_status); }; } &&
91025 { ac_try='test -s conftest.$ac_objext'
91026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91027 (eval $ac_try) 2>&5
91028 ac_status=$?
91029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91030 (exit $ac_status); }; }; then
91031 glibcxx_cv_func_float_trig_use=yes
91032 else
91033 echo "$as_me: failed program was:" >&5
91034 sed 's/^/| /' conftest.$ac_ext >&5
91036 glibcxx_cv_func_float_trig_use=no
91038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91039 ac_ext=c
91040 ac_cpp='$CPP $CPPFLAGS'
91041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91048 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91049 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91059 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
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
91165 else
91166 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91167 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91168 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91169 echo $ECHO_N "(cached) $ECHO_C" >&6
91170 else
91174 ac_ext=cc
91175 ac_cpp='$CXXCPP $CPPFLAGS'
91176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91180 cat >conftest.$ac_ext <<_ACEOF
91181 /* confdefs.h. */
91182 _ACEOF
91183 cat confdefs.h >>conftest.$ac_ext
91184 cat >>conftest.$ac_ext <<_ACEOF
91185 /* end confdefs.h. */
91186 #include <math.h>
91188 main ()
91190 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91192 return 0;
91194 _ACEOF
91195 rm -f conftest.$ac_objext
91196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91197 (eval $ac_compile) 2>conftest.er1
91198 ac_status=$?
91199 grep -v '^ *+' conftest.er1 >conftest.err
91200 rm -f conftest.er1
91201 cat conftest.err >&5
91202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91203 (exit $ac_status); } &&
91204 { ac_try='test -z "$ac_cxx_werror_flag"
91205 || test ! -s conftest.err'
91206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91207 (eval $ac_try) 2>&5
91208 ac_status=$?
91209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91210 (exit $ac_status); }; } &&
91211 { ac_try='test -s conftest.$ac_objext'
91212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91213 (eval $ac_try) 2>&5
91214 ac_status=$?
91215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91216 (exit $ac_status); }; }; then
91217 glibcxx_cv_func__float_trig_use=yes
91218 else
91219 echo "$as_me: failed program was:" >&5
91220 sed 's/^/| /' conftest.$ac_ext >&5
91222 glibcxx_cv_func__float_trig_use=no
91224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91225 ac_ext=c
91226 ac_cpp='$CPP $CPPFLAGS'
91227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91233 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91234 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91235 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91245 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91248 echo "$as_me:$LINENO: checking for $ac_func" >&5
91249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91250 if eval "test \"\${$as_ac_var+set}\" = set"; then
91251 echo $ECHO_N "(cached) $ECHO_C" >&6
91252 else
91253 if test x$gcc_no_link = xyes; then
91254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91256 { (exit 1); exit 1; }; }
91258 cat >conftest.$ac_ext <<_ACEOF
91259 /* confdefs.h. */
91260 _ACEOF
91261 cat confdefs.h >>conftest.$ac_ext
91262 cat >>conftest.$ac_ext <<_ACEOF
91263 /* end confdefs.h. */
91264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91266 #define $ac_func innocuous_$ac_func
91268 /* System header to define __stub macros and hopefully few prototypes,
91269 which can conflict with char $ac_func (); below.
91270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91271 <limits.h> exists even on freestanding compilers. */
91273 #ifdef __STDC__
91274 # include <limits.h>
91275 #else
91276 # include <assert.h>
91277 #endif
91279 #undef $ac_func
91281 /* Override any gcc2 internal prototype to avoid an error. */
91282 #ifdef __cplusplus
91283 extern "C"
91285 #endif
91286 /* We use char because int might match the return type of a gcc2
91287 builtin and then its argument prototype would still apply. */
91288 char $ac_func ();
91289 /* The GNU C library defines this for functions which it implements
91290 to always fail with ENOSYS. Some functions are actually named
91291 something starting with __ and the normal name is an alias. */
91292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91293 choke me
91294 #else
91295 char (*f) () = $ac_func;
91296 #endif
91297 #ifdef __cplusplus
91299 #endif
91302 main ()
91304 return f != $ac_func;
91306 return 0;
91308 _ACEOF
91309 rm -f conftest.$ac_objext conftest$ac_exeext
91310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91311 (eval $ac_link) 2>conftest.er1
91312 ac_status=$?
91313 grep -v '^ *+' conftest.er1 >conftest.err
91314 rm -f conftest.er1
91315 cat conftest.err >&5
91316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91317 (exit $ac_status); } &&
91318 { ac_try='test -z "$ac_c_werror_flag"
91319 || test ! -s conftest.err'
91320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91321 (eval $ac_try) 2>&5
91322 ac_status=$?
91323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91324 (exit $ac_status); }; } &&
91325 { ac_try='test -s conftest$ac_exeext'
91326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91327 (eval $ac_try) 2>&5
91328 ac_status=$?
91329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91330 (exit $ac_status); }; }; then
91331 eval "$as_ac_var=yes"
91332 else
91333 echo "$as_me: failed program was:" >&5
91334 sed 's/^/| /' conftest.$ac_ext >&5
91336 eval "$as_ac_var=no"
91338 rm -f conftest.err conftest.$ac_objext \
91339 conftest$ac_exeext conftest.$ac_ext
91341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91343 if test `eval echo '${'$as_ac_var'}'` = yes; then
91344 cat >>confdefs.h <<_ACEOF
91345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91346 _ACEOF
91349 done
91367 echo "$as_me:$LINENO: checking for float round functions" >&5
91368 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91369 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91370 echo $ECHO_N "(cached) $ECHO_C" >&6
91371 else
91375 ac_ext=cc
91376 ac_cpp='$CXXCPP $CPPFLAGS'
91377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91381 cat >conftest.$ac_ext <<_ACEOF
91382 /* confdefs.h. */
91383 _ACEOF
91384 cat confdefs.h >>conftest.$ac_ext
91385 cat >>conftest.$ac_ext <<_ACEOF
91386 /* end confdefs.h. */
91387 #include <math.h>
91389 main ()
91391 ceilf (0); floorf (0);
91393 return 0;
91395 _ACEOF
91396 rm -f conftest.$ac_objext
91397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91398 (eval $ac_compile) 2>conftest.er1
91399 ac_status=$?
91400 grep -v '^ *+' conftest.er1 >conftest.err
91401 rm -f conftest.er1
91402 cat conftest.err >&5
91403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91404 (exit $ac_status); } &&
91405 { ac_try='test -z "$ac_cxx_werror_flag"
91406 || test ! -s conftest.err'
91407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91408 (eval $ac_try) 2>&5
91409 ac_status=$?
91410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91411 (exit $ac_status); }; } &&
91412 { ac_try='test -s conftest.$ac_objext'
91413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91414 (eval $ac_try) 2>&5
91415 ac_status=$?
91416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91417 (exit $ac_status); }; }; then
91418 glibcxx_cv_func_float_round_use=yes
91419 else
91420 echo "$as_me: failed program was:" >&5
91421 sed 's/^/| /' conftest.$ac_ext >&5
91423 glibcxx_cv_func_float_round_use=no
91425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91426 ac_ext=c
91427 ac_cpp='$CPP $CPPFLAGS'
91428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91434 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91435 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91436 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91439 for ac_func in ceilf floorf
91441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91442 echo "$as_me:$LINENO: checking for $ac_func" >&5
91443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91444 if eval "test \"\${$as_ac_var+set}\" = set"; then
91445 echo $ECHO_N "(cached) $ECHO_C" >&6
91446 else
91447 if test x$gcc_no_link = xyes; then
91448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91450 { (exit 1); exit 1; }; }
91452 cat >conftest.$ac_ext <<_ACEOF
91453 /* confdefs.h. */
91454 _ACEOF
91455 cat confdefs.h >>conftest.$ac_ext
91456 cat >>conftest.$ac_ext <<_ACEOF
91457 /* end confdefs.h. */
91458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91460 #define $ac_func innocuous_$ac_func
91462 /* System header to define __stub macros and hopefully few prototypes,
91463 which can conflict with char $ac_func (); below.
91464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91465 <limits.h> exists even on freestanding compilers. */
91467 #ifdef __STDC__
91468 # include <limits.h>
91469 #else
91470 # include <assert.h>
91471 #endif
91473 #undef $ac_func
91475 /* Override any gcc2 internal prototype to avoid an error. */
91476 #ifdef __cplusplus
91477 extern "C"
91479 #endif
91480 /* We use char because int might match the return type of a gcc2
91481 builtin and then its argument prototype would still apply. */
91482 char $ac_func ();
91483 /* The GNU C library defines this for functions which it implements
91484 to always fail with ENOSYS. Some functions are actually named
91485 something starting with __ and the normal name is an alias. */
91486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91487 choke me
91488 #else
91489 char (*f) () = $ac_func;
91490 #endif
91491 #ifdef __cplusplus
91493 #endif
91496 main ()
91498 return f != $ac_func;
91500 return 0;
91502 _ACEOF
91503 rm -f conftest.$ac_objext conftest$ac_exeext
91504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91505 (eval $ac_link) 2>conftest.er1
91506 ac_status=$?
91507 grep -v '^ *+' conftest.er1 >conftest.err
91508 rm -f conftest.er1
91509 cat conftest.err >&5
91510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511 (exit $ac_status); } &&
91512 { ac_try='test -z "$ac_c_werror_flag"
91513 || test ! -s conftest.err'
91514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91515 (eval $ac_try) 2>&5
91516 ac_status=$?
91517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91518 (exit $ac_status); }; } &&
91519 { ac_try='test -s conftest$ac_exeext'
91520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91521 (eval $ac_try) 2>&5
91522 ac_status=$?
91523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91524 (exit $ac_status); }; }; then
91525 eval "$as_ac_var=yes"
91526 else
91527 echo "$as_me: failed program was:" >&5
91528 sed 's/^/| /' conftest.$ac_ext >&5
91530 eval "$as_ac_var=no"
91532 rm -f conftest.err conftest.$ac_objext \
91533 conftest$ac_exeext conftest.$ac_ext
91535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91537 if test `eval echo '${'$as_ac_var'}'` = yes; then
91538 cat >>confdefs.h <<_ACEOF
91539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91540 _ACEOF
91543 done
91545 else
91546 echo "$as_me:$LINENO: checking for _float round functions" >&5
91547 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91548 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91549 echo $ECHO_N "(cached) $ECHO_C" >&6
91550 else
91554 ac_ext=cc
91555 ac_cpp='$CXXCPP $CPPFLAGS'
91556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91560 cat >conftest.$ac_ext <<_ACEOF
91561 /* confdefs.h. */
91562 _ACEOF
91563 cat confdefs.h >>conftest.$ac_ext
91564 cat >>conftest.$ac_ext <<_ACEOF
91565 /* end confdefs.h. */
91566 #include <math.h>
91568 main ()
91570 _ceilf (0); _floorf (0);
91572 return 0;
91574 _ACEOF
91575 rm -f conftest.$ac_objext
91576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91577 (eval $ac_compile) 2>conftest.er1
91578 ac_status=$?
91579 grep -v '^ *+' conftest.er1 >conftest.err
91580 rm -f conftest.er1
91581 cat conftest.err >&5
91582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91583 (exit $ac_status); } &&
91584 { ac_try='test -z "$ac_cxx_werror_flag"
91585 || test ! -s conftest.err'
91586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91587 (eval $ac_try) 2>&5
91588 ac_status=$?
91589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91590 (exit $ac_status); }; } &&
91591 { ac_try='test -s conftest.$ac_objext'
91592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91593 (eval $ac_try) 2>&5
91594 ac_status=$?
91595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596 (exit $ac_status); }; }; then
91597 glibcxx_cv_func__float_round_use=yes
91598 else
91599 echo "$as_me: failed program was:" >&5
91600 sed 's/^/| /' conftest.$ac_ext >&5
91602 glibcxx_cv_func__float_round_use=no
91604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91605 ac_ext=c
91606 ac_cpp='$CPP $CPPFLAGS'
91607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91614 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91615 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91618 for ac_func in _ceilf _floorf
91620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91621 echo "$as_me:$LINENO: checking for $ac_func" >&5
91622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91623 if eval "test \"\${$as_ac_var+set}\" = set"; then
91624 echo $ECHO_N "(cached) $ECHO_C" >&6
91625 else
91626 if test x$gcc_no_link = xyes; then
91627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91629 { (exit 1); exit 1; }; }
91631 cat >conftest.$ac_ext <<_ACEOF
91632 /* confdefs.h. */
91633 _ACEOF
91634 cat confdefs.h >>conftest.$ac_ext
91635 cat >>conftest.$ac_ext <<_ACEOF
91636 /* end confdefs.h. */
91637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91639 #define $ac_func innocuous_$ac_func
91641 /* System header to define __stub macros and hopefully few prototypes,
91642 which can conflict with char $ac_func (); below.
91643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91644 <limits.h> exists even on freestanding compilers. */
91646 #ifdef __STDC__
91647 # include <limits.h>
91648 #else
91649 # include <assert.h>
91650 #endif
91652 #undef $ac_func
91654 /* Override any gcc2 internal prototype to avoid an error. */
91655 #ifdef __cplusplus
91656 extern "C"
91658 #endif
91659 /* We use char because int might match the return type of a gcc2
91660 builtin and then its argument prototype would still apply. */
91661 char $ac_func ();
91662 /* The GNU C library defines this for functions which it implements
91663 to always fail with ENOSYS. Some functions are actually named
91664 something starting with __ and the normal name is an alias. */
91665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91666 choke me
91667 #else
91668 char (*f) () = $ac_func;
91669 #endif
91670 #ifdef __cplusplus
91672 #endif
91675 main ()
91677 return f != $ac_func;
91679 return 0;
91681 _ACEOF
91682 rm -f conftest.$ac_objext conftest$ac_exeext
91683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91684 (eval $ac_link) 2>conftest.er1
91685 ac_status=$?
91686 grep -v '^ *+' conftest.er1 >conftest.err
91687 rm -f conftest.er1
91688 cat conftest.err >&5
91689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91690 (exit $ac_status); } &&
91691 { ac_try='test -z "$ac_c_werror_flag"
91692 || test ! -s conftest.err'
91693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91694 (eval $ac_try) 2>&5
91695 ac_status=$?
91696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91697 (exit $ac_status); }; } &&
91698 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
91704 eval "$as_ac_var=yes"
91705 else
91706 echo "$as_me: failed program was:" >&5
91707 sed 's/^/| /' conftest.$ac_ext >&5
91709 eval "$as_ac_var=no"
91711 rm -f conftest.err conftest.$ac_objext \
91712 conftest$ac_exeext conftest.$ac_ext
91714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91716 if test `eval echo '${'$as_ac_var'}'` = yes; then
91717 cat >>confdefs.h <<_ACEOF
91718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91719 _ACEOF
91722 done
91734 echo "$as_me:$LINENO: checking for expf declaration" >&5
91735 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91736 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91737 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91738 echo $ECHO_N "(cached) $ECHO_C" >&6
91739 else
91743 ac_ext=cc
91744 ac_cpp='$CXXCPP $CPPFLAGS'
91745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91749 cat >conftest.$ac_ext <<_ACEOF
91750 /* confdefs.h. */
91751 _ACEOF
91752 cat confdefs.h >>conftest.$ac_ext
91753 cat >>conftest.$ac_ext <<_ACEOF
91754 /* end confdefs.h. */
91755 #include <math.h>
91756 #ifdef HAVE_IEEEFP_H
91757 #include <ieeefp.h>
91758 #endif
91761 main ()
91763 expf(0);
91765 return 0;
91767 _ACEOF
91768 rm -f conftest.$ac_objext
91769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91770 (eval $ac_compile) 2>conftest.er1
91771 ac_status=$?
91772 grep -v '^ *+' conftest.er1 >conftest.err
91773 rm -f conftest.er1
91774 cat conftest.err >&5
91775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91776 (exit $ac_status); } &&
91777 { ac_try='test -z "$ac_cxx_werror_flag"
91778 || test ! -s conftest.err'
91779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91780 (eval $ac_try) 2>&5
91781 ac_status=$?
91782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91783 (exit $ac_status); }; } &&
91784 { ac_try='test -s conftest.$ac_objext'
91785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91786 (eval $ac_try) 2>&5
91787 ac_status=$?
91788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91789 (exit $ac_status); }; }; then
91790 glibcxx_cv_func_expf_use=yes
91791 else
91792 echo "$as_me: failed program was:" >&5
91793 sed 's/^/| /' conftest.$ac_ext >&5
91795 glibcxx_cv_func_expf_use=no
91797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91798 ac_ext=c
91799 ac_cpp='$CPP $CPPFLAGS'
91800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91809 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91811 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91813 for ac_func in expf
91815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91816 echo "$as_me:$LINENO: checking for $ac_func" >&5
91817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91818 if eval "test \"\${$as_ac_var+set}\" = set"; then
91819 echo $ECHO_N "(cached) $ECHO_C" >&6
91820 else
91821 if test x$gcc_no_link = xyes; then
91822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91824 { (exit 1); exit 1; }; }
91826 cat >conftest.$ac_ext <<_ACEOF
91827 /* confdefs.h. */
91828 _ACEOF
91829 cat confdefs.h >>conftest.$ac_ext
91830 cat >>conftest.$ac_ext <<_ACEOF
91831 /* end confdefs.h. */
91832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91834 #define $ac_func innocuous_$ac_func
91836 /* System header to define __stub macros and hopefully few prototypes,
91837 which can conflict with char $ac_func (); below.
91838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91839 <limits.h> exists even on freestanding compilers. */
91841 #ifdef __STDC__
91842 # include <limits.h>
91843 #else
91844 # include <assert.h>
91845 #endif
91847 #undef $ac_func
91849 /* Override any gcc2 internal prototype to avoid an error. */
91850 #ifdef __cplusplus
91851 extern "C"
91853 #endif
91854 /* We use char because int might match the return type of a gcc2
91855 builtin and then its argument prototype would still apply. */
91856 char $ac_func ();
91857 /* The GNU C library defines this for functions which it implements
91858 to always fail with ENOSYS. Some functions are actually named
91859 something starting with __ and the normal name is an alias. */
91860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91861 choke me
91862 #else
91863 char (*f) () = $ac_func;
91864 #endif
91865 #ifdef __cplusplus
91867 #endif
91870 main ()
91872 return f != $ac_func;
91874 return 0;
91876 _ACEOF
91877 rm -f conftest.$ac_objext conftest$ac_exeext
91878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91879 (eval $ac_link) 2>conftest.er1
91880 ac_status=$?
91881 grep -v '^ *+' conftest.er1 >conftest.err
91882 rm -f conftest.er1
91883 cat conftest.err >&5
91884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91885 (exit $ac_status); } &&
91886 { ac_try='test -z "$ac_c_werror_flag"
91887 || test ! -s conftest.err'
91888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91889 (eval $ac_try) 2>&5
91890 ac_status=$?
91891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91892 (exit $ac_status); }; } &&
91893 { ac_try='test -s conftest$ac_exeext'
91894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91895 (eval $ac_try) 2>&5
91896 ac_status=$?
91897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91898 (exit $ac_status); }; }; then
91899 eval "$as_ac_var=yes"
91900 else
91901 echo "$as_me: failed program was:" >&5
91902 sed 's/^/| /' conftest.$ac_ext >&5
91904 eval "$as_ac_var=no"
91906 rm -f conftest.err conftest.$ac_objext \
91907 conftest$ac_exeext conftest.$ac_ext
91909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91911 if test `eval echo '${'$as_ac_var'}'` = yes; then
91912 cat >>confdefs.h <<_ACEOF
91913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91914 _ACEOF
91917 done
91919 else
91921 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91922 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91923 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91924 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91925 echo $ECHO_N "(cached) $ECHO_C" >&6
91926 else
91930 ac_ext=cc
91931 ac_cpp='$CXXCPP $CPPFLAGS'
91932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91936 cat >conftest.$ac_ext <<_ACEOF
91937 /* confdefs.h. */
91938 _ACEOF
91939 cat confdefs.h >>conftest.$ac_ext
91940 cat >>conftest.$ac_ext <<_ACEOF
91941 /* end confdefs.h. */
91942 #include <math.h>
91943 #ifdef HAVE_IEEEFP_H
91944 #include <ieeefp.h>
91945 #endif
91948 main ()
91950 _expf(0);
91952 return 0;
91954 _ACEOF
91955 rm -f conftest.$ac_objext
91956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91957 (eval $ac_compile) 2>conftest.er1
91958 ac_status=$?
91959 grep -v '^ *+' conftest.er1 >conftest.err
91960 rm -f conftest.er1
91961 cat conftest.err >&5
91962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91963 (exit $ac_status); } &&
91964 { ac_try='test -z "$ac_cxx_werror_flag"
91965 || test ! -s conftest.err'
91966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91967 (eval $ac_try) 2>&5
91968 ac_status=$?
91969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91970 (exit $ac_status); }; } &&
91971 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
91977 glibcxx_cv_func__expf_use=yes
91978 else
91979 echo "$as_me: failed program was:" >&5
91980 sed 's/^/| /' conftest.$ac_ext >&5
91982 glibcxx_cv_func__expf_use=no
91984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91985 ac_ext=c
91986 ac_cpp='$CPP $CPPFLAGS'
91987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91996 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91998 if test x$glibcxx_cv_func__expf_use = x"yes"; then
92000 for ac_func in _expf
92002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92003 echo "$as_me:$LINENO: checking for $ac_func" >&5
92004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92005 if eval "test \"\${$as_ac_var+set}\" = set"; then
92006 echo $ECHO_N "(cached) $ECHO_C" >&6
92007 else
92008 if test x$gcc_no_link = xyes; then
92009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92011 { (exit 1); exit 1; }; }
92013 cat >conftest.$ac_ext <<_ACEOF
92014 /* confdefs.h. */
92015 _ACEOF
92016 cat confdefs.h >>conftest.$ac_ext
92017 cat >>conftest.$ac_ext <<_ACEOF
92018 /* end confdefs.h. */
92019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92021 #define $ac_func innocuous_$ac_func
92023 /* System header to define __stub macros and hopefully few prototypes,
92024 which can conflict with char $ac_func (); below.
92025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92026 <limits.h> exists even on freestanding compilers. */
92028 #ifdef __STDC__
92029 # include <limits.h>
92030 #else
92031 # include <assert.h>
92032 #endif
92034 #undef $ac_func
92036 /* Override any gcc2 internal prototype to avoid an error. */
92037 #ifdef __cplusplus
92038 extern "C"
92040 #endif
92041 /* We use char because int might match the return type of a gcc2
92042 builtin and then its argument prototype would still apply. */
92043 char $ac_func ();
92044 /* The GNU C library defines this for functions which it implements
92045 to always fail with ENOSYS. Some functions are actually named
92046 something starting with __ and the normal name is an alias. */
92047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92048 choke me
92049 #else
92050 char (*f) () = $ac_func;
92051 #endif
92052 #ifdef __cplusplus
92054 #endif
92057 main ()
92059 return f != $ac_func;
92061 return 0;
92063 _ACEOF
92064 rm -f conftest.$ac_objext conftest$ac_exeext
92065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92066 (eval $ac_link) 2>conftest.er1
92067 ac_status=$?
92068 grep -v '^ *+' conftest.er1 >conftest.err
92069 rm -f conftest.er1
92070 cat conftest.err >&5
92071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92072 (exit $ac_status); } &&
92073 { ac_try='test -z "$ac_c_werror_flag"
92074 || test ! -s conftest.err'
92075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92076 (eval $ac_try) 2>&5
92077 ac_status=$?
92078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92079 (exit $ac_status); }; } &&
92080 { ac_try='test -s conftest$ac_exeext'
92081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92082 (eval $ac_try) 2>&5
92083 ac_status=$?
92084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92085 (exit $ac_status); }; }; then
92086 eval "$as_ac_var=yes"
92087 else
92088 echo "$as_me: failed program was:" >&5
92089 sed 's/^/| /' conftest.$ac_ext >&5
92091 eval "$as_ac_var=no"
92093 rm -f conftest.err conftest.$ac_objext \
92094 conftest$ac_exeext conftest.$ac_ext
92096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92098 if test `eval echo '${'$as_ac_var'}'` = yes; then
92099 cat >>confdefs.h <<_ACEOF
92100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92101 _ACEOF
92104 done
92114 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92115 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92116 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92117 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92118 echo $ECHO_N "(cached) $ECHO_C" >&6
92119 else
92123 ac_ext=cc
92124 ac_cpp='$CXXCPP $CPPFLAGS'
92125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92129 cat >conftest.$ac_ext <<_ACEOF
92130 /* confdefs.h. */
92131 _ACEOF
92132 cat confdefs.h >>conftest.$ac_ext
92133 cat >>conftest.$ac_ext <<_ACEOF
92134 /* end confdefs.h. */
92135 #include <math.h>
92136 #ifdef HAVE_IEEEFP_H
92137 #include <ieeefp.h>
92138 #endif
92141 main ()
92143 isnanf(0);
92145 return 0;
92147 _ACEOF
92148 rm -f conftest.$ac_objext
92149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92150 (eval $ac_compile) 2>conftest.er1
92151 ac_status=$?
92152 grep -v '^ *+' conftest.er1 >conftest.err
92153 rm -f conftest.er1
92154 cat conftest.err >&5
92155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92156 (exit $ac_status); } &&
92157 { ac_try='test -z "$ac_cxx_werror_flag"
92158 || test ! -s conftest.err'
92159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92160 (eval $ac_try) 2>&5
92161 ac_status=$?
92162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92163 (exit $ac_status); }; } &&
92164 { ac_try='test -s conftest.$ac_objext'
92165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92166 (eval $ac_try) 2>&5
92167 ac_status=$?
92168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92169 (exit $ac_status); }; }; then
92170 glibcxx_cv_func_isnanf_use=yes
92171 else
92172 echo "$as_me: failed program was:" >&5
92173 sed 's/^/| /' conftest.$ac_ext >&5
92175 glibcxx_cv_func_isnanf_use=no
92177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92178 ac_ext=c
92179 ac_cpp='$CPP $CPPFLAGS'
92180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92189 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92191 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92193 for ac_func in isnanf
92195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92196 echo "$as_me:$LINENO: checking for $ac_func" >&5
92197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92198 if eval "test \"\${$as_ac_var+set}\" = set"; then
92199 echo $ECHO_N "(cached) $ECHO_C" >&6
92200 else
92201 if test x$gcc_no_link = xyes; then
92202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92204 { (exit 1); exit 1; }; }
92206 cat >conftest.$ac_ext <<_ACEOF
92207 /* confdefs.h. */
92208 _ACEOF
92209 cat confdefs.h >>conftest.$ac_ext
92210 cat >>conftest.$ac_ext <<_ACEOF
92211 /* end confdefs.h. */
92212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92214 #define $ac_func innocuous_$ac_func
92216 /* System header to define __stub macros and hopefully few prototypes,
92217 which can conflict with char $ac_func (); below.
92218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92219 <limits.h> exists even on freestanding compilers. */
92221 #ifdef __STDC__
92222 # include <limits.h>
92223 #else
92224 # include <assert.h>
92225 #endif
92227 #undef $ac_func
92229 /* Override any gcc2 internal prototype to avoid an error. */
92230 #ifdef __cplusplus
92231 extern "C"
92233 #endif
92234 /* We use char because int might match the return type of a gcc2
92235 builtin and then its argument prototype would still apply. */
92236 char $ac_func ();
92237 /* The GNU C library defines this for functions which it implements
92238 to always fail with ENOSYS. Some functions are actually named
92239 something starting with __ and the normal name is an alias. */
92240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92241 choke me
92242 #else
92243 char (*f) () = $ac_func;
92244 #endif
92245 #ifdef __cplusplus
92247 #endif
92250 main ()
92252 return f != $ac_func;
92254 return 0;
92256 _ACEOF
92257 rm -f conftest.$ac_objext conftest$ac_exeext
92258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92259 (eval $ac_link) 2>conftest.er1
92260 ac_status=$?
92261 grep -v '^ *+' conftest.er1 >conftest.err
92262 rm -f conftest.er1
92263 cat conftest.err >&5
92264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92265 (exit $ac_status); } &&
92266 { ac_try='test -z "$ac_c_werror_flag"
92267 || test ! -s conftest.err'
92268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92269 (eval $ac_try) 2>&5
92270 ac_status=$?
92271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92272 (exit $ac_status); }; } &&
92273 { ac_try='test -s conftest$ac_exeext'
92274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92275 (eval $ac_try) 2>&5
92276 ac_status=$?
92277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92278 (exit $ac_status); }; }; then
92279 eval "$as_ac_var=yes"
92280 else
92281 echo "$as_me: failed program was:" >&5
92282 sed 's/^/| /' conftest.$ac_ext >&5
92284 eval "$as_ac_var=no"
92286 rm -f conftest.err conftest.$ac_objext \
92287 conftest$ac_exeext conftest.$ac_ext
92289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92291 if test `eval echo '${'$as_ac_var'}'` = yes; then
92292 cat >>confdefs.h <<_ACEOF
92293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92294 _ACEOF
92297 done
92299 else
92301 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92302 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92303 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92304 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92305 echo $ECHO_N "(cached) $ECHO_C" >&6
92306 else
92310 ac_ext=cc
92311 ac_cpp='$CXXCPP $CPPFLAGS'
92312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92316 cat >conftest.$ac_ext <<_ACEOF
92317 /* confdefs.h. */
92318 _ACEOF
92319 cat confdefs.h >>conftest.$ac_ext
92320 cat >>conftest.$ac_ext <<_ACEOF
92321 /* end confdefs.h. */
92322 #include <math.h>
92323 #ifdef HAVE_IEEEFP_H
92324 #include <ieeefp.h>
92325 #endif
92328 main ()
92330 _isnanf(0);
92332 return 0;
92334 _ACEOF
92335 rm -f conftest.$ac_objext
92336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92337 (eval $ac_compile) 2>conftest.er1
92338 ac_status=$?
92339 grep -v '^ *+' conftest.er1 >conftest.err
92340 rm -f conftest.er1
92341 cat conftest.err >&5
92342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92343 (exit $ac_status); } &&
92344 { ac_try='test -z "$ac_cxx_werror_flag"
92345 || test ! -s conftest.err'
92346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92347 (eval $ac_try) 2>&5
92348 ac_status=$?
92349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92350 (exit $ac_status); }; } &&
92351 { ac_try='test -s conftest.$ac_objext'
92352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92353 (eval $ac_try) 2>&5
92354 ac_status=$?
92355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92356 (exit $ac_status); }; }; then
92357 glibcxx_cv_func__isnanf_use=yes
92358 else
92359 echo "$as_me: failed program was:" >&5
92360 sed 's/^/| /' conftest.$ac_ext >&5
92362 glibcxx_cv_func__isnanf_use=no
92364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92365 ac_ext=c
92366 ac_cpp='$CPP $CPPFLAGS'
92367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92376 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92378 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92380 for ac_func in _isnanf
92382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92383 echo "$as_me:$LINENO: checking for $ac_func" >&5
92384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92385 if eval "test \"\${$as_ac_var+set}\" = set"; then
92386 echo $ECHO_N "(cached) $ECHO_C" >&6
92387 else
92388 if test x$gcc_no_link = xyes; then
92389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92391 { (exit 1); exit 1; }; }
92393 cat >conftest.$ac_ext <<_ACEOF
92394 /* confdefs.h. */
92395 _ACEOF
92396 cat confdefs.h >>conftest.$ac_ext
92397 cat >>conftest.$ac_ext <<_ACEOF
92398 /* end confdefs.h. */
92399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92401 #define $ac_func innocuous_$ac_func
92403 /* System header to define __stub macros and hopefully few prototypes,
92404 which can conflict with char $ac_func (); below.
92405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92406 <limits.h> exists even on freestanding compilers. */
92408 #ifdef __STDC__
92409 # include <limits.h>
92410 #else
92411 # include <assert.h>
92412 #endif
92414 #undef $ac_func
92416 /* Override any gcc2 internal prototype to avoid an error. */
92417 #ifdef __cplusplus
92418 extern "C"
92420 #endif
92421 /* We use char because int might match the return type of a gcc2
92422 builtin and then its argument prototype would still apply. */
92423 char $ac_func ();
92424 /* The GNU C library defines this for functions which it implements
92425 to always fail with ENOSYS. Some functions are actually named
92426 something starting with __ and the normal name is an alias. */
92427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92428 choke me
92429 #else
92430 char (*f) () = $ac_func;
92431 #endif
92432 #ifdef __cplusplus
92434 #endif
92437 main ()
92439 return f != $ac_func;
92441 return 0;
92443 _ACEOF
92444 rm -f conftest.$ac_objext conftest$ac_exeext
92445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92446 (eval $ac_link) 2>conftest.er1
92447 ac_status=$?
92448 grep -v '^ *+' conftest.er1 >conftest.err
92449 rm -f conftest.er1
92450 cat conftest.err >&5
92451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92452 (exit $ac_status); } &&
92453 { ac_try='test -z "$ac_c_werror_flag"
92454 || test ! -s conftest.err'
92455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92456 (eval $ac_try) 2>&5
92457 ac_status=$?
92458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92459 (exit $ac_status); }; } &&
92460 { ac_try='test -s conftest$ac_exeext'
92461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92462 (eval $ac_try) 2>&5
92463 ac_status=$?
92464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92465 (exit $ac_status); }; }; then
92466 eval "$as_ac_var=yes"
92467 else
92468 echo "$as_me: failed program was:" >&5
92469 sed 's/^/| /' conftest.$ac_ext >&5
92471 eval "$as_ac_var=no"
92473 rm -f conftest.err conftest.$ac_objext \
92474 conftest$ac_exeext conftest.$ac_ext
92476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92478 if test `eval echo '${'$as_ac_var'}'` = yes; then
92479 cat >>confdefs.h <<_ACEOF
92480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92481 _ACEOF
92484 done
92494 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92495 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92496 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92497 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92498 echo $ECHO_N "(cached) $ECHO_C" >&6
92499 else
92503 ac_ext=cc
92504 ac_cpp='$CXXCPP $CPPFLAGS'
92505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92509 cat >conftest.$ac_ext <<_ACEOF
92510 /* confdefs.h. */
92511 _ACEOF
92512 cat confdefs.h >>conftest.$ac_ext
92513 cat >>conftest.$ac_ext <<_ACEOF
92514 /* end confdefs.h. */
92515 #include <math.h>
92516 #ifdef HAVE_IEEEFP_H
92517 #include <ieeefp.h>
92518 #endif
92521 main ()
92523 isinff(0);
92525 return 0;
92527 _ACEOF
92528 rm -f conftest.$ac_objext
92529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92530 (eval $ac_compile) 2>conftest.er1
92531 ac_status=$?
92532 grep -v '^ *+' conftest.er1 >conftest.err
92533 rm -f conftest.er1
92534 cat conftest.err >&5
92535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92536 (exit $ac_status); } &&
92537 { ac_try='test -z "$ac_cxx_werror_flag"
92538 || test ! -s conftest.err'
92539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92540 (eval $ac_try) 2>&5
92541 ac_status=$?
92542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543 (exit $ac_status); }; } &&
92544 { ac_try='test -s conftest.$ac_objext'
92545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92546 (eval $ac_try) 2>&5
92547 ac_status=$?
92548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92549 (exit $ac_status); }; }; then
92550 glibcxx_cv_func_isinff_use=yes
92551 else
92552 echo "$as_me: failed program was:" >&5
92553 sed 's/^/| /' conftest.$ac_ext >&5
92555 glibcxx_cv_func_isinff_use=no
92557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92558 ac_ext=c
92559 ac_cpp='$CPP $CPPFLAGS'
92560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92569 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92571 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92573 for ac_func in isinff
92575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92576 echo "$as_me:$LINENO: checking for $ac_func" >&5
92577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92578 if eval "test \"\${$as_ac_var+set}\" = set"; then
92579 echo $ECHO_N "(cached) $ECHO_C" >&6
92580 else
92581 if test x$gcc_no_link = xyes; then
92582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92584 { (exit 1); exit 1; }; }
92586 cat >conftest.$ac_ext <<_ACEOF
92587 /* confdefs.h. */
92588 _ACEOF
92589 cat confdefs.h >>conftest.$ac_ext
92590 cat >>conftest.$ac_ext <<_ACEOF
92591 /* end confdefs.h. */
92592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92594 #define $ac_func innocuous_$ac_func
92596 /* System header to define __stub macros and hopefully few prototypes,
92597 which can conflict with char $ac_func (); below.
92598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92599 <limits.h> exists even on freestanding compilers. */
92601 #ifdef __STDC__
92602 # include <limits.h>
92603 #else
92604 # include <assert.h>
92605 #endif
92607 #undef $ac_func
92609 /* Override any gcc2 internal prototype to avoid an error. */
92610 #ifdef __cplusplus
92611 extern "C"
92613 #endif
92614 /* We use char because int might match the return type of a gcc2
92615 builtin and then its argument prototype would still apply. */
92616 char $ac_func ();
92617 /* The GNU C library defines this for functions which it implements
92618 to always fail with ENOSYS. Some functions are actually named
92619 something starting with __ and the normal name is an alias. */
92620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92621 choke me
92622 #else
92623 char (*f) () = $ac_func;
92624 #endif
92625 #ifdef __cplusplus
92627 #endif
92630 main ()
92632 return f != $ac_func;
92634 return 0;
92636 _ACEOF
92637 rm -f conftest.$ac_objext conftest$ac_exeext
92638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92639 (eval $ac_link) 2>conftest.er1
92640 ac_status=$?
92641 grep -v '^ *+' conftest.er1 >conftest.err
92642 rm -f conftest.er1
92643 cat conftest.err >&5
92644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92645 (exit $ac_status); } &&
92646 { ac_try='test -z "$ac_c_werror_flag"
92647 || test ! -s conftest.err'
92648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92649 (eval $ac_try) 2>&5
92650 ac_status=$?
92651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92652 (exit $ac_status); }; } &&
92653 { ac_try='test -s conftest$ac_exeext'
92654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92655 (eval $ac_try) 2>&5
92656 ac_status=$?
92657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92658 (exit $ac_status); }; }; then
92659 eval "$as_ac_var=yes"
92660 else
92661 echo "$as_me: failed program was:" >&5
92662 sed 's/^/| /' conftest.$ac_ext >&5
92664 eval "$as_ac_var=no"
92666 rm -f conftest.err conftest.$ac_objext \
92667 conftest$ac_exeext conftest.$ac_ext
92669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92671 if test `eval echo '${'$as_ac_var'}'` = yes; then
92672 cat >>confdefs.h <<_ACEOF
92673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92674 _ACEOF
92677 done
92679 else
92681 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92682 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92683 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92684 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92685 echo $ECHO_N "(cached) $ECHO_C" >&6
92686 else
92690 ac_ext=cc
92691 ac_cpp='$CXXCPP $CPPFLAGS'
92692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92696 cat >conftest.$ac_ext <<_ACEOF
92697 /* confdefs.h. */
92698 _ACEOF
92699 cat confdefs.h >>conftest.$ac_ext
92700 cat >>conftest.$ac_ext <<_ACEOF
92701 /* end confdefs.h. */
92702 #include <math.h>
92703 #ifdef HAVE_IEEEFP_H
92704 #include <ieeefp.h>
92705 #endif
92708 main ()
92710 _isinff(0);
92712 return 0;
92714 _ACEOF
92715 rm -f conftest.$ac_objext
92716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92717 (eval $ac_compile) 2>conftest.er1
92718 ac_status=$?
92719 grep -v '^ *+' conftest.er1 >conftest.err
92720 rm -f conftest.er1
92721 cat conftest.err >&5
92722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92723 (exit $ac_status); } &&
92724 { ac_try='test -z "$ac_cxx_werror_flag"
92725 || test ! -s conftest.err'
92726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92727 (eval $ac_try) 2>&5
92728 ac_status=$?
92729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92730 (exit $ac_status); }; } &&
92731 { ac_try='test -s conftest.$ac_objext'
92732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92733 (eval $ac_try) 2>&5
92734 ac_status=$?
92735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92736 (exit $ac_status); }; }; then
92737 glibcxx_cv_func__isinff_use=yes
92738 else
92739 echo "$as_me: failed program was:" >&5
92740 sed 's/^/| /' conftest.$ac_ext >&5
92742 glibcxx_cv_func__isinff_use=no
92744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92745 ac_ext=c
92746 ac_cpp='$CPP $CPPFLAGS'
92747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92756 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92758 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92760 for ac_func in _isinff
92762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92763 echo "$as_me:$LINENO: checking for $ac_func" >&5
92764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92765 if eval "test \"\${$as_ac_var+set}\" = set"; then
92766 echo $ECHO_N "(cached) $ECHO_C" >&6
92767 else
92768 if test x$gcc_no_link = xyes; then
92769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92771 { (exit 1); exit 1; }; }
92773 cat >conftest.$ac_ext <<_ACEOF
92774 /* confdefs.h. */
92775 _ACEOF
92776 cat confdefs.h >>conftest.$ac_ext
92777 cat >>conftest.$ac_ext <<_ACEOF
92778 /* end confdefs.h. */
92779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92781 #define $ac_func innocuous_$ac_func
92783 /* System header to define __stub macros and hopefully few prototypes,
92784 which can conflict with char $ac_func (); below.
92785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92786 <limits.h> exists even on freestanding compilers. */
92788 #ifdef __STDC__
92789 # include <limits.h>
92790 #else
92791 # include <assert.h>
92792 #endif
92794 #undef $ac_func
92796 /* Override any gcc2 internal prototype to avoid an error. */
92797 #ifdef __cplusplus
92798 extern "C"
92800 #endif
92801 /* We use char because int might match the return type of a gcc2
92802 builtin and then its argument prototype would still apply. */
92803 char $ac_func ();
92804 /* The GNU C library defines this for functions which it implements
92805 to always fail with ENOSYS. Some functions are actually named
92806 something starting with __ and the normal name is an alias. */
92807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92808 choke me
92809 #else
92810 char (*f) () = $ac_func;
92811 #endif
92812 #ifdef __cplusplus
92814 #endif
92817 main ()
92819 return f != $ac_func;
92821 return 0;
92823 _ACEOF
92824 rm -f conftest.$ac_objext conftest$ac_exeext
92825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92826 (eval $ac_link) 2>conftest.er1
92827 ac_status=$?
92828 grep -v '^ *+' conftest.er1 >conftest.err
92829 rm -f conftest.er1
92830 cat conftest.err >&5
92831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92832 (exit $ac_status); } &&
92833 { ac_try='test -z "$ac_c_werror_flag"
92834 || test ! -s conftest.err'
92835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92836 (eval $ac_try) 2>&5
92837 ac_status=$?
92838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92839 (exit $ac_status); }; } &&
92840 { ac_try='test -s conftest$ac_exeext'
92841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92842 (eval $ac_try) 2>&5
92843 ac_status=$?
92844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92845 (exit $ac_status); }; }; then
92846 eval "$as_ac_var=yes"
92847 else
92848 echo "$as_me: failed program was:" >&5
92849 sed 's/^/| /' conftest.$ac_ext >&5
92851 eval "$as_ac_var=no"
92853 rm -f conftest.err conftest.$ac_objext \
92854 conftest$ac_exeext conftest.$ac_ext
92856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92858 if test `eval echo '${'$as_ac_var'}'` = yes; then
92859 cat >>confdefs.h <<_ACEOF
92860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92861 _ACEOF
92864 done
92874 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92875 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92876 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92877 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92878 echo $ECHO_N "(cached) $ECHO_C" >&6
92879 else
92883 ac_ext=cc
92884 ac_cpp='$CXXCPP $CPPFLAGS'
92885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92889 cat >conftest.$ac_ext <<_ACEOF
92890 /* confdefs.h. */
92891 _ACEOF
92892 cat confdefs.h >>conftest.$ac_ext
92893 cat >>conftest.$ac_ext <<_ACEOF
92894 /* end confdefs.h. */
92895 #include <math.h>
92897 main ()
92899 atan2f(0, 0);
92901 return 0;
92903 _ACEOF
92904 rm -f conftest.$ac_objext
92905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92906 (eval $ac_compile) 2>conftest.er1
92907 ac_status=$?
92908 grep -v '^ *+' conftest.er1 >conftest.err
92909 rm -f conftest.er1
92910 cat conftest.err >&5
92911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92912 (exit $ac_status); } &&
92913 { ac_try='test -z "$ac_cxx_werror_flag"
92914 || test ! -s conftest.err'
92915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92916 (eval $ac_try) 2>&5
92917 ac_status=$?
92918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92919 (exit $ac_status); }; } &&
92920 { ac_try='test -s conftest.$ac_objext'
92921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92922 (eval $ac_try) 2>&5
92923 ac_status=$?
92924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92925 (exit $ac_status); }; }; then
92926 glibcxx_cv_func_atan2f_use=yes
92927 else
92928 echo "$as_me: failed program was:" >&5
92929 sed 's/^/| /' conftest.$ac_ext >&5
92931 glibcxx_cv_func_atan2f_use=no
92933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92934 ac_ext=c
92935 ac_cpp='$CPP $CPPFLAGS'
92936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92945 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92947 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92949 for ac_func in atan2f
92951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92952 echo "$as_me:$LINENO: checking for $ac_func" >&5
92953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92954 if eval "test \"\${$as_ac_var+set}\" = set"; then
92955 echo $ECHO_N "(cached) $ECHO_C" >&6
92956 else
92957 if test x$gcc_no_link = xyes; then
92958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92960 { (exit 1); exit 1; }; }
92962 cat >conftest.$ac_ext <<_ACEOF
92963 /* confdefs.h. */
92964 _ACEOF
92965 cat confdefs.h >>conftest.$ac_ext
92966 cat >>conftest.$ac_ext <<_ACEOF
92967 /* end confdefs.h. */
92968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92970 #define $ac_func innocuous_$ac_func
92972 /* System header to define __stub macros and hopefully few prototypes,
92973 which can conflict with char $ac_func (); below.
92974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92975 <limits.h> exists even on freestanding compilers. */
92977 #ifdef __STDC__
92978 # include <limits.h>
92979 #else
92980 # include <assert.h>
92981 #endif
92983 #undef $ac_func
92985 /* Override any gcc2 internal prototype to avoid an error. */
92986 #ifdef __cplusplus
92987 extern "C"
92989 #endif
92990 /* We use char because int might match the return type of a gcc2
92991 builtin and then its argument prototype would still apply. */
92992 char $ac_func ();
92993 /* The GNU C library defines this for functions which it implements
92994 to always fail with ENOSYS. Some functions are actually named
92995 something starting with __ and the normal name is an alias. */
92996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92997 choke me
92998 #else
92999 char (*f) () = $ac_func;
93000 #endif
93001 #ifdef __cplusplus
93003 #endif
93006 main ()
93008 return f != $ac_func;
93010 return 0;
93012 _ACEOF
93013 rm -f conftest.$ac_objext conftest$ac_exeext
93014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93015 (eval $ac_link) 2>conftest.er1
93016 ac_status=$?
93017 grep -v '^ *+' conftest.er1 >conftest.err
93018 rm -f conftest.er1
93019 cat conftest.err >&5
93020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93021 (exit $ac_status); } &&
93022 { ac_try='test -z "$ac_c_werror_flag"
93023 || test ! -s conftest.err'
93024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93025 (eval $ac_try) 2>&5
93026 ac_status=$?
93027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93028 (exit $ac_status); }; } &&
93029 { ac_try='test -s conftest$ac_exeext'
93030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93031 (eval $ac_try) 2>&5
93032 ac_status=$?
93033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93034 (exit $ac_status); }; }; then
93035 eval "$as_ac_var=yes"
93036 else
93037 echo "$as_me: failed program was:" >&5
93038 sed 's/^/| /' conftest.$ac_ext >&5
93040 eval "$as_ac_var=no"
93042 rm -f conftest.err conftest.$ac_objext \
93043 conftest$ac_exeext conftest.$ac_ext
93045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93047 if test `eval echo '${'$as_ac_var'}'` = yes; then
93048 cat >>confdefs.h <<_ACEOF
93049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93050 _ACEOF
93053 done
93055 else
93057 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93058 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93059 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93060 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93061 echo $ECHO_N "(cached) $ECHO_C" >&6
93062 else
93066 ac_ext=cc
93067 ac_cpp='$CXXCPP $CPPFLAGS'
93068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93072 cat >conftest.$ac_ext <<_ACEOF
93073 /* confdefs.h. */
93074 _ACEOF
93075 cat confdefs.h >>conftest.$ac_ext
93076 cat >>conftest.$ac_ext <<_ACEOF
93077 /* end confdefs.h. */
93078 #include <math.h>
93080 main ()
93082 _atan2f(0, 0);
93084 return 0;
93086 _ACEOF
93087 rm -f conftest.$ac_objext
93088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93089 (eval $ac_compile) 2>conftest.er1
93090 ac_status=$?
93091 grep -v '^ *+' conftest.er1 >conftest.err
93092 rm -f conftest.er1
93093 cat conftest.err >&5
93094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93095 (exit $ac_status); } &&
93096 { ac_try='test -z "$ac_cxx_werror_flag"
93097 || test ! -s conftest.err'
93098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93099 (eval $ac_try) 2>&5
93100 ac_status=$?
93101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93102 (exit $ac_status); }; } &&
93103 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
93109 glibcxx_cv_func__atan2f_use=yes
93110 else
93111 echo "$as_me: failed program was:" >&5
93112 sed 's/^/| /' conftest.$ac_ext >&5
93114 glibcxx_cv_func__atan2f_use=no
93116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93117 ac_ext=c
93118 ac_cpp='$CPP $CPPFLAGS'
93119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93128 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93130 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93132 for ac_func in _atan2f
93134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93135 echo "$as_me:$LINENO: checking for $ac_func" >&5
93136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93137 if eval "test \"\${$as_ac_var+set}\" = set"; then
93138 echo $ECHO_N "(cached) $ECHO_C" >&6
93139 else
93140 if test x$gcc_no_link = xyes; then
93141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93143 { (exit 1); exit 1; }; }
93145 cat >conftest.$ac_ext <<_ACEOF
93146 /* confdefs.h. */
93147 _ACEOF
93148 cat confdefs.h >>conftest.$ac_ext
93149 cat >>conftest.$ac_ext <<_ACEOF
93150 /* end confdefs.h. */
93151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93153 #define $ac_func innocuous_$ac_func
93155 /* System header to define __stub macros and hopefully few prototypes,
93156 which can conflict with char $ac_func (); below.
93157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93158 <limits.h> exists even on freestanding compilers. */
93160 #ifdef __STDC__
93161 # include <limits.h>
93162 #else
93163 # include <assert.h>
93164 #endif
93166 #undef $ac_func
93168 /* Override any gcc2 internal prototype to avoid an error. */
93169 #ifdef __cplusplus
93170 extern "C"
93172 #endif
93173 /* We use char because int might match the return type of a gcc2
93174 builtin and then its argument prototype would still apply. */
93175 char $ac_func ();
93176 /* The GNU C library defines this for functions which it implements
93177 to always fail with ENOSYS. Some functions are actually named
93178 something starting with __ and the normal name is an alias. */
93179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93180 choke me
93181 #else
93182 char (*f) () = $ac_func;
93183 #endif
93184 #ifdef __cplusplus
93186 #endif
93189 main ()
93191 return f != $ac_func;
93193 return 0;
93195 _ACEOF
93196 rm -f conftest.$ac_objext conftest$ac_exeext
93197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93198 (eval $ac_link) 2>conftest.er1
93199 ac_status=$?
93200 grep -v '^ *+' conftest.er1 >conftest.err
93201 rm -f conftest.er1
93202 cat conftest.err >&5
93203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93204 (exit $ac_status); } &&
93205 { ac_try='test -z "$ac_c_werror_flag"
93206 || test ! -s conftest.err'
93207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93208 (eval $ac_try) 2>&5
93209 ac_status=$?
93210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93211 (exit $ac_status); }; } &&
93212 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
93218 eval "$as_ac_var=yes"
93219 else
93220 echo "$as_me: failed program was:" >&5
93221 sed 's/^/| /' conftest.$ac_ext >&5
93223 eval "$as_ac_var=no"
93225 rm -f conftest.err conftest.$ac_objext \
93226 conftest$ac_exeext conftest.$ac_ext
93228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93230 if test `eval echo '${'$as_ac_var'}'` = yes; then
93231 cat >>confdefs.h <<_ACEOF
93232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93233 _ACEOF
93236 done
93246 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93247 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93248 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93249 if test "${glibcxx_cv_func_fabsf_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 fabsf(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_fabsf_use=yes
93303 else
93304 echo "$as_me: failed program was:" >&5
93305 sed 's/^/| /' conftest.$ac_ext >&5
93307 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
93321 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93323 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93325 for ac_func in fabsf
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
93431 else
93433 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93434 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93435 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93436 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93437 echo $ECHO_N "(cached) $ECHO_C" >&6
93438 else
93442 ac_ext=cc
93443 ac_cpp='$CXXCPP $CPPFLAGS'
93444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93448 cat >conftest.$ac_ext <<_ACEOF
93449 /* confdefs.h. */
93450 _ACEOF
93451 cat confdefs.h >>conftest.$ac_ext
93452 cat >>conftest.$ac_ext <<_ACEOF
93453 /* end confdefs.h. */
93454 #include <math.h>
93455 #ifdef HAVE_IEEEFP_H
93456 #include <ieeefp.h>
93457 #endif
93460 main ()
93462 _fabsf(0);
93464 return 0;
93466 _ACEOF
93467 rm -f conftest.$ac_objext
93468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93469 (eval $ac_compile) 2>conftest.er1
93470 ac_status=$?
93471 grep -v '^ *+' conftest.er1 >conftest.err
93472 rm -f conftest.er1
93473 cat conftest.err >&5
93474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93475 (exit $ac_status); } &&
93476 { ac_try='test -z "$ac_cxx_werror_flag"
93477 || test ! -s conftest.err'
93478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93479 (eval $ac_try) 2>&5
93480 ac_status=$?
93481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93482 (exit $ac_status); }; } &&
93483 { ac_try='test -s conftest.$ac_objext'
93484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93485 (eval $ac_try) 2>&5
93486 ac_status=$?
93487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93488 (exit $ac_status); }; }; then
93489 glibcxx_cv_func__fabsf_use=yes
93490 else
93491 echo "$as_me: failed program was:" >&5
93492 sed 's/^/| /' conftest.$ac_ext >&5
93494 glibcxx_cv_func__fabsf_use=no
93496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93497 ac_ext=c
93498 ac_cpp='$CPP $CPPFLAGS'
93499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93507 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93508 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93510 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93512 for ac_func in _fabsf
93514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93515 echo "$as_me:$LINENO: checking for $ac_func" >&5
93516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93517 if eval "test \"\${$as_ac_var+set}\" = set"; then
93518 echo $ECHO_N "(cached) $ECHO_C" >&6
93519 else
93520 if test x$gcc_no_link = xyes; then
93521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93523 { (exit 1); exit 1; }; }
93525 cat >conftest.$ac_ext <<_ACEOF
93526 /* confdefs.h. */
93527 _ACEOF
93528 cat confdefs.h >>conftest.$ac_ext
93529 cat >>conftest.$ac_ext <<_ACEOF
93530 /* end confdefs.h. */
93531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93533 #define $ac_func innocuous_$ac_func
93535 /* System header to define __stub macros and hopefully few prototypes,
93536 which can conflict with char $ac_func (); below.
93537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93538 <limits.h> exists even on freestanding compilers. */
93540 #ifdef __STDC__
93541 # include <limits.h>
93542 #else
93543 # include <assert.h>
93544 #endif
93546 #undef $ac_func
93548 /* Override any gcc2 internal prototype to avoid an error. */
93549 #ifdef __cplusplus
93550 extern "C"
93552 #endif
93553 /* We use char because int might match the return type of a gcc2
93554 builtin and then its argument prototype would still apply. */
93555 char $ac_func ();
93556 /* The GNU C library defines this for functions which it implements
93557 to always fail with ENOSYS. Some functions are actually named
93558 something starting with __ and the normal name is an alias. */
93559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93560 choke me
93561 #else
93562 char (*f) () = $ac_func;
93563 #endif
93564 #ifdef __cplusplus
93566 #endif
93569 main ()
93571 return f != $ac_func;
93573 return 0;
93575 _ACEOF
93576 rm -f conftest.$ac_objext conftest$ac_exeext
93577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93578 (eval $ac_link) 2>conftest.er1
93579 ac_status=$?
93580 grep -v '^ *+' conftest.er1 >conftest.err
93581 rm -f conftest.er1
93582 cat conftest.err >&5
93583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93584 (exit $ac_status); } &&
93585 { ac_try='test -z "$ac_c_werror_flag"
93586 || test ! -s conftest.err'
93587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93588 (eval $ac_try) 2>&5
93589 ac_status=$?
93590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93591 (exit $ac_status); }; } &&
93592 { ac_try='test -s conftest$ac_exeext'
93593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93594 (eval $ac_try) 2>&5
93595 ac_status=$?
93596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93597 (exit $ac_status); }; }; then
93598 eval "$as_ac_var=yes"
93599 else
93600 echo "$as_me: failed program was:" >&5
93601 sed 's/^/| /' conftest.$ac_ext >&5
93603 eval "$as_ac_var=no"
93605 rm -f conftest.err conftest.$ac_objext \
93606 conftest$ac_exeext conftest.$ac_ext
93608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93610 if test `eval echo '${'$as_ac_var'}'` = yes; then
93611 cat >>confdefs.h <<_ACEOF
93612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93613 _ACEOF
93616 done
93626 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93627 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93628 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93629 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93630 echo $ECHO_N "(cached) $ECHO_C" >&6
93631 else
93635 ac_ext=cc
93636 ac_cpp='$CXXCPP $CPPFLAGS'
93637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93641 cat >conftest.$ac_ext <<_ACEOF
93642 /* confdefs.h. */
93643 _ACEOF
93644 cat confdefs.h >>conftest.$ac_ext
93645 cat >>conftest.$ac_ext <<_ACEOF
93646 /* end confdefs.h. */
93647 #include <math.h>
93649 main ()
93651 fmodf(0, 0);
93653 return 0;
93655 _ACEOF
93656 rm -f conftest.$ac_objext
93657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93658 (eval $ac_compile) 2>conftest.er1
93659 ac_status=$?
93660 grep -v '^ *+' conftest.er1 >conftest.err
93661 rm -f conftest.er1
93662 cat conftest.err >&5
93663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93664 (exit $ac_status); } &&
93665 { ac_try='test -z "$ac_cxx_werror_flag"
93666 || test ! -s conftest.err'
93667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93668 (eval $ac_try) 2>&5
93669 ac_status=$?
93670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93671 (exit $ac_status); }; } &&
93672 { ac_try='test -s conftest.$ac_objext'
93673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93674 (eval $ac_try) 2>&5
93675 ac_status=$?
93676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93677 (exit $ac_status); }; }; then
93678 glibcxx_cv_func_fmodf_use=yes
93679 else
93680 echo "$as_me: failed program was:" >&5
93681 sed 's/^/| /' conftest.$ac_ext >&5
93683 glibcxx_cv_func_fmodf_use=no
93685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93686 ac_ext=c
93687 ac_cpp='$CPP $CPPFLAGS'
93688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93696 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93697 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93699 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93701 for ac_func in fmodf
93703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93704 echo "$as_me:$LINENO: checking for $ac_func" >&5
93705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93706 if eval "test \"\${$as_ac_var+set}\" = set"; then
93707 echo $ECHO_N "(cached) $ECHO_C" >&6
93708 else
93709 if test x$gcc_no_link = xyes; then
93710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93712 { (exit 1); exit 1; }; }
93714 cat >conftest.$ac_ext <<_ACEOF
93715 /* confdefs.h. */
93716 _ACEOF
93717 cat confdefs.h >>conftest.$ac_ext
93718 cat >>conftest.$ac_ext <<_ACEOF
93719 /* end confdefs.h. */
93720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93722 #define $ac_func innocuous_$ac_func
93724 /* System header to define __stub macros and hopefully few prototypes,
93725 which can conflict with char $ac_func (); below.
93726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93727 <limits.h> exists even on freestanding compilers. */
93729 #ifdef __STDC__
93730 # include <limits.h>
93731 #else
93732 # include <assert.h>
93733 #endif
93735 #undef $ac_func
93737 /* Override any gcc2 internal prototype to avoid an error. */
93738 #ifdef __cplusplus
93739 extern "C"
93741 #endif
93742 /* We use char because int might match the return type of a gcc2
93743 builtin and then its argument prototype would still apply. */
93744 char $ac_func ();
93745 /* The GNU C library defines this for functions which it implements
93746 to always fail with ENOSYS. Some functions are actually named
93747 something starting with __ and the normal name is an alias. */
93748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93749 choke me
93750 #else
93751 char (*f) () = $ac_func;
93752 #endif
93753 #ifdef __cplusplus
93755 #endif
93758 main ()
93760 return f != $ac_func;
93762 return 0;
93764 _ACEOF
93765 rm -f conftest.$ac_objext conftest$ac_exeext
93766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93767 (eval $ac_link) 2>conftest.er1
93768 ac_status=$?
93769 grep -v '^ *+' conftest.er1 >conftest.err
93770 rm -f conftest.er1
93771 cat conftest.err >&5
93772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93773 (exit $ac_status); } &&
93774 { ac_try='test -z "$ac_c_werror_flag"
93775 || test ! -s conftest.err'
93776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93777 (eval $ac_try) 2>&5
93778 ac_status=$?
93779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93780 (exit $ac_status); }; } &&
93781 { ac_try='test -s conftest$ac_exeext'
93782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93783 (eval $ac_try) 2>&5
93784 ac_status=$?
93785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93786 (exit $ac_status); }; }; then
93787 eval "$as_ac_var=yes"
93788 else
93789 echo "$as_me: failed program was:" >&5
93790 sed 's/^/| /' conftest.$ac_ext >&5
93792 eval "$as_ac_var=no"
93794 rm -f conftest.err conftest.$ac_objext \
93795 conftest$ac_exeext conftest.$ac_ext
93797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93799 if test `eval echo '${'$as_ac_var'}'` = yes; then
93800 cat >>confdefs.h <<_ACEOF
93801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93802 _ACEOF
93805 done
93807 else
93809 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93810 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93811 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93812 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93813 echo $ECHO_N "(cached) $ECHO_C" >&6
93814 else
93818 ac_ext=cc
93819 ac_cpp='$CXXCPP $CPPFLAGS'
93820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93824 cat >conftest.$ac_ext <<_ACEOF
93825 /* confdefs.h. */
93826 _ACEOF
93827 cat confdefs.h >>conftest.$ac_ext
93828 cat >>conftest.$ac_ext <<_ACEOF
93829 /* end confdefs.h. */
93830 #include <math.h>
93832 main ()
93834 _fmodf(0, 0);
93836 return 0;
93838 _ACEOF
93839 rm -f conftest.$ac_objext
93840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93841 (eval $ac_compile) 2>conftest.er1
93842 ac_status=$?
93843 grep -v '^ *+' conftest.er1 >conftest.err
93844 rm -f conftest.er1
93845 cat conftest.err >&5
93846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93847 (exit $ac_status); } &&
93848 { ac_try='test -z "$ac_cxx_werror_flag"
93849 || test ! -s conftest.err'
93850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93851 (eval $ac_try) 2>&5
93852 ac_status=$?
93853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93854 (exit $ac_status); }; } &&
93855 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
93861 glibcxx_cv_func__fmodf_use=yes
93862 else
93863 echo "$as_me: failed program was:" >&5
93864 sed 's/^/| /' conftest.$ac_ext >&5
93866 glibcxx_cv_func__fmodf_use=no
93868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93869 ac_ext=c
93870 ac_cpp='$CPP $CPPFLAGS'
93871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93880 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93882 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93884 for ac_func in _fmodf
93886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93887 echo "$as_me:$LINENO: checking for $ac_func" >&5
93888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93889 if eval "test \"\${$as_ac_var+set}\" = set"; then
93890 echo $ECHO_N "(cached) $ECHO_C" >&6
93891 else
93892 if test x$gcc_no_link = xyes; then
93893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93895 { (exit 1); exit 1; }; }
93897 cat >conftest.$ac_ext <<_ACEOF
93898 /* confdefs.h. */
93899 _ACEOF
93900 cat confdefs.h >>conftest.$ac_ext
93901 cat >>conftest.$ac_ext <<_ACEOF
93902 /* end confdefs.h. */
93903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93905 #define $ac_func innocuous_$ac_func
93907 /* System header to define __stub macros and hopefully few prototypes,
93908 which can conflict with char $ac_func (); below.
93909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93910 <limits.h> exists even on freestanding compilers. */
93912 #ifdef __STDC__
93913 # include <limits.h>
93914 #else
93915 # include <assert.h>
93916 #endif
93918 #undef $ac_func
93920 /* Override any gcc2 internal prototype to avoid an error. */
93921 #ifdef __cplusplus
93922 extern "C"
93924 #endif
93925 /* We use char because int might match the return type of a gcc2
93926 builtin and then its argument prototype would still apply. */
93927 char $ac_func ();
93928 /* The GNU C library defines this for functions which it implements
93929 to always fail with ENOSYS. Some functions are actually named
93930 something starting with __ and the normal name is an alias. */
93931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93932 choke me
93933 #else
93934 char (*f) () = $ac_func;
93935 #endif
93936 #ifdef __cplusplus
93938 #endif
93941 main ()
93943 return f != $ac_func;
93945 return 0;
93947 _ACEOF
93948 rm -f conftest.$ac_objext conftest$ac_exeext
93949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93950 (eval $ac_link) 2>conftest.er1
93951 ac_status=$?
93952 grep -v '^ *+' conftest.er1 >conftest.err
93953 rm -f conftest.er1
93954 cat conftest.err >&5
93955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93956 (exit $ac_status); } &&
93957 { ac_try='test -z "$ac_c_werror_flag"
93958 || test ! -s conftest.err'
93959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93960 (eval $ac_try) 2>&5
93961 ac_status=$?
93962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93963 (exit $ac_status); }; } &&
93964 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
93970 eval "$as_ac_var=yes"
93971 else
93972 echo "$as_me: failed program was:" >&5
93973 sed 's/^/| /' conftest.$ac_ext >&5
93975 eval "$as_ac_var=no"
93977 rm -f conftest.err conftest.$ac_objext \
93978 conftest$ac_exeext conftest.$ac_ext
93980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93982 if test `eval echo '${'$as_ac_var'}'` = yes; then
93983 cat >>confdefs.h <<_ACEOF
93984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93985 _ACEOF
93988 done
93998 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93999 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94000 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94001 if test "${glibcxx_cv_func_frexpf_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>
94021 main ()
94023 frexpf(0, 0);
94025 return 0;
94027 _ACEOF
94028 rm -f conftest.$ac_objext
94029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94030 (eval $ac_compile) 2>conftest.er1
94031 ac_status=$?
94032 grep -v '^ *+' conftest.er1 >conftest.err
94033 rm -f conftest.er1
94034 cat conftest.err >&5
94035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94036 (exit $ac_status); } &&
94037 { ac_try='test -z "$ac_cxx_werror_flag"
94038 || test ! -s conftest.err'
94039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94040 (eval $ac_try) 2>&5
94041 ac_status=$?
94042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94043 (exit $ac_status); }; } &&
94044 { ac_try='test -s conftest.$ac_objext'
94045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94046 (eval $ac_try) 2>&5
94047 ac_status=$?
94048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94049 (exit $ac_status); }; }; then
94050 glibcxx_cv_func_frexpf_use=yes
94051 else
94052 echo "$as_me: failed program was:" >&5
94053 sed 's/^/| /' conftest.$ac_ext >&5
94055 glibcxx_cv_func_frexpf_use=no
94057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94058 ac_ext=c
94059 ac_cpp='$CPP $CPPFLAGS'
94060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94068 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94069 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94071 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94073 for ac_func in frexpf
94075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94076 echo "$as_me:$LINENO: checking for $ac_func" >&5
94077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94078 if eval "test \"\${$as_ac_var+set}\" = set"; then
94079 echo $ECHO_N "(cached) $ECHO_C" >&6
94080 else
94081 if test x$gcc_no_link = xyes; then
94082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94084 { (exit 1); exit 1; }; }
94086 cat >conftest.$ac_ext <<_ACEOF
94087 /* confdefs.h. */
94088 _ACEOF
94089 cat confdefs.h >>conftest.$ac_ext
94090 cat >>conftest.$ac_ext <<_ACEOF
94091 /* end confdefs.h. */
94092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94094 #define $ac_func innocuous_$ac_func
94096 /* System header to define __stub macros and hopefully few prototypes,
94097 which can conflict with char $ac_func (); below.
94098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94099 <limits.h> exists even on freestanding compilers. */
94101 #ifdef __STDC__
94102 # include <limits.h>
94103 #else
94104 # include <assert.h>
94105 #endif
94107 #undef $ac_func
94109 /* Override any gcc2 internal prototype to avoid an error. */
94110 #ifdef __cplusplus
94111 extern "C"
94113 #endif
94114 /* We use char because int might match the return type of a gcc2
94115 builtin and then its argument prototype would still apply. */
94116 char $ac_func ();
94117 /* The GNU C library defines this for functions which it implements
94118 to always fail with ENOSYS. Some functions are actually named
94119 something starting with __ and the normal name is an alias. */
94120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94121 choke me
94122 #else
94123 char (*f) () = $ac_func;
94124 #endif
94125 #ifdef __cplusplus
94127 #endif
94130 main ()
94132 return f != $ac_func;
94134 return 0;
94136 _ACEOF
94137 rm -f conftest.$ac_objext conftest$ac_exeext
94138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94139 (eval $ac_link) 2>conftest.er1
94140 ac_status=$?
94141 grep -v '^ *+' conftest.er1 >conftest.err
94142 rm -f conftest.er1
94143 cat conftest.err >&5
94144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94145 (exit $ac_status); } &&
94146 { ac_try='test -z "$ac_c_werror_flag"
94147 || test ! -s conftest.err'
94148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94149 (eval $ac_try) 2>&5
94150 ac_status=$?
94151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94152 (exit $ac_status); }; } &&
94153 { ac_try='test -s conftest$ac_exeext'
94154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94155 (eval $ac_try) 2>&5
94156 ac_status=$?
94157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94158 (exit $ac_status); }; }; then
94159 eval "$as_ac_var=yes"
94160 else
94161 echo "$as_me: failed program was:" >&5
94162 sed 's/^/| /' conftest.$ac_ext >&5
94164 eval "$as_ac_var=no"
94166 rm -f conftest.err conftest.$ac_objext \
94167 conftest$ac_exeext conftest.$ac_ext
94169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94171 if test `eval echo '${'$as_ac_var'}'` = yes; then
94172 cat >>confdefs.h <<_ACEOF
94173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94174 _ACEOF
94177 done
94179 else
94181 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94182 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94183 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94184 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94185 echo $ECHO_N "(cached) $ECHO_C" >&6
94186 else
94190 ac_ext=cc
94191 ac_cpp='$CXXCPP $CPPFLAGS'
94192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94196 cat >conftest.$ac_ext <<_ACEOF
94197 /* confdefs.h. */
94198 _ACEOF
94199 cat confdefs.h >>conftest.$ac_ext
94200 cat >>conftest.$ac_ext <<_ACEOF
94201 /* end confdefs.h. */
94202 #include <math.h>
94204 main ()
94206 _frexpf(0, 0);
94208 return 0;
94210 _ACEOF
94211 rm -f conftest.$ac_objext
94212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94213 (eval $ac_compile) 2>conftest.er1
94214 ac_status=$?
94215 grep -v '^ *+' conftest.er1 >conftest.err
94216 rm -f conftest.er1
94217 cat conftest.err >&5
94218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94219 (exit $ac_status); } &&
94220 { ac_try='test -z "$ac_cxx_werror_flag"
94221 || test ! -s conftest.err'
94222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94223 (eval $ac_try) 2>&5
94224 ac_status=$?
94225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94226 (exit $ac_status); }; } &&
94227 { ac_try='test -s conftest.$ac_objext'
94228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94229 (eval $ac_try) 2>&5
94230 ac_status=$?
94231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94232 (exit $ac_status); }; }; then
94233 glibcxx_cv_func__frexpf_use=yes
94234 else
94235 echo "$as_me: failed program was:" >&5
94236 sed 's/^/| /' conftest.$ac_ext >&5
94238 glibcxx_cv_func__frexpf_use=no
94240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94241 ac_ext=c
94242 ac_cpp='$CPP $CPPFLAGS'
94243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94252 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94254 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94256 for ac_func in _frexpf
94258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94259 echo "$as_me:$LINENO: checking for $ac_func" >&5
94260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94261 if eval "test \"\${$as_ac_var+set}\" = set"; then
94262 echo $ECHO_N "(cached) $ECHO_C" >&6
94263 else
94264 if test x$gcc_no_link = xyes; then
94265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94267 { (exit 1); exit 1; }; }
94269 cat >conftest.$ac_ext <<_ACEOF
94270 /* confdefs.h. */
94271 _ACEOF
94272 cat confdefs.h >>conftest.$ac_ext
94273 cat >>conftest.$ac_ext <<_ACEOF
94274 /* end confdefs.h. */
94275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94277 #define $ac_func innocuous_$ac_func
94279 /* System header to define __stub macros and hopefully few prototypes,
94280 which can conflict with char $ac_func (); below.
94281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94282 <limits.h> exists even on freestanding compilers. */
94284 #ifdef __STDC__
94285 # include <limits.h>
94286 #else
94287 # include <assert.h>
94288 #endif
94290 #undef $ac_func
94292 /* Override any gcc2 internal prototype to avoid an error. */
94293 #ifdef __cplusplus
94294 extern "C"
94296 #endif
94297 /* We use char because int might match the return type of a gcc2
94298 builtin and then its argument prototype would still apply. */
94299 char $ac_func ();
94300 /* The GNU C library defines this for functions which it implements
94301 to always fail with ENOSYS. Some functions are actually named
94302 something starting with __ and the normal name is an alias. */
94303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94304 choke me
94305 #else
94306 char (*f) () = $ac_func;
94307 #endif
94308 #ifdef __cplusplus
94310 #endif
94313 main ()
94315 return f != $ac_func;
94317 return 0;
94319 _ACEOF
94320 rm -f conftest.$ac_objext conftest$ac_exeext
94321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94322 (eval $ac_link) 2>conftest.er1
94323 ac_status=$?
94324 grep -v '^ *+' conftest.er1 >conftest.err
94325 rm -f conftest.er1
94326 cat conftest.err >&5
94327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94328 (exit $ac_status); } &&
94329 { ac_try='test -z "$ac_c_werror_flag"
94330 || test ! -s conftest.err'
94331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94332 (eval $ac_try) 2>&5
94333 ac_status=$?
94334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94335 (exit $ac_status); }; } &&
94336 { ac_try='test -s conftest$ac_exeext'
94337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94338 (eval $ac_try) 2>&5
94339 ac_status=$?
94340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94341 (exit $ac_status); }; }; then
94342 eval "$as_ac_var=yes"
94343 else
94344 echo "$as_me: failed program was:" >&5
94345 sed 's/^/| /' conftest.$ac_ext >&5
94347 eval "$as_ac_var=no"
94349 rm -f conftest.err conftest.$ac_objext \
94350 conftest$ac_exeext conftest.$ac_ext
94352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94354 if test `eval echo '${'$as_ac_var'}'` = yes; then
94355 cat >>confdefs.h <<_ACEOF
94356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94357 _ACEOF
94360 done
94370 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94371 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94372 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94373 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94374 echo $ECHO_N "(cached) $ECHO_C" >&6
94375 else
94379 ac_ext=cc
94380 ac_cpp='$CXXCPP $CPPFLAGS'
94381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94385 cat >conftest.$ac_ext <<_ACEOF
94386 /* confdefs.h. */
94387 _ACEOF
94388 cat confdefs.h >>conftest.$ac_ext
94389 cat >>conftest.$ac_ext <<_ACEOF
94390 /* end confdefs.h. */
94391 #include <math.h>
94393 main ()
94395 hypotf(0, 0);
94397 return 0;
94399 _ACEOF
94400 rm -f conftest.$ac_objext
94401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94402 (eval $ac_compile) 2>conftest.er1
94403 ac_status=$?
94404 grep -v '^ *+' conftest.er1 >conftest.err
94405 rm -f conftest.er1
94406 cat conftest.err >&5
94407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94408 (exit $ac_status); } &&
94409 { ac_try='test -z "$ac_cxx_werror_flag"
94410 || test ! -s conftest.err'
94411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94412 (eval $ac_try) 2>&5
94413 ac_status=$?
94414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94415 (exit $ac_status); }; } &&
94416 { ac_try='test -s conftest.$ac_objext'
94417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94418 (eval $ac_try) 2>&5
94419 ac_status=$?
94420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94421 (exit $ac_status); }; }; then
94422 glibcxx_cv_func_hypotf_use=yes
94423 else
94424 echo "$as_me: failed program was:" >&5
94425 sed 's/^/| /' conftest.$ac_ext >&5
94427 glibcxx_cv_func_hypotf_use=no
94429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94430 ac_ext=c
94431 ac_cpp='$CPP $CPPFLAGS'
94432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94441 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94443 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94445 for ac_func in hypotf
94447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94448 echo "$as_me:$LINENO: checking for $ac_func" >&5
94449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94450 if eval "test \"\${$as_ac_var+set}\" = set"; then
94451 echo $ECHO_N "(cached) $ECHO_C" >&6
94452 else
94453 if test x$gcc_no_link = xyes; then
94454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94456 { (exit 1); exit 1; }; }
94458 cat >conftest.$ac_ext <<_ACEOF
94459 /* confdefs.h. */
94460 _ACEOF
94461 cat confdefs.h >>conftest.$ac_ext
94462 cat >>conftest.$ac_ext <<_ACEOF
94463 /* end confdefs.h. */
94464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94466 #define $ac_func innocuous_$ac_func
94468 /* System header to define __stub macros and hopefully few prototypes,
94469 which can conflict with char $ac_func (); below.
94470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94471 <limits.h> exists even on freestanding compilers. */
94473 #ifdef __STDC__
94474 # include <limits.h>
94475 #else
94476 # include <assert.h>
94477 #endif
94479 #undef $ac_func
94481 /* Override any gcc2 internal prototype to avoid an error. */
94482 #ifdef __cplusplus
94483 extern "C"
94485 #endif
94486 /* We use char because int might match the return type of a gcc2
94487 builtin and then its argument prototype would still apply. */
94488 char $ac_func ();
94489 /* The GNU C library defines this for functions which it implements
94490 to always fail with ENOSYS. Some functions are actually named
94491 something starting with __ and the normal name is an alias. */
94492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94493 choke me
94494 #else
94495 char (*f) () = $ac_func;
94496 #endif
94497 #ifdef __cplusplus
94499 #endif
94502 main ()
94504 return f != $ac_func;
94506 return 0;
94508 _ACEOF
94509 rm -f conftest.$ac_objext conftest$ac_exeext
94510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94511 (eval $ac_link) 2>conftest.er1
94512 ac_status=$?
94513 grep -v '^ *+' conftest.er1 >conftest.err
94514 rm -f conftest.er1
94515 cat conftest.err >&5
94516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94517 (exit $ac_status); } &&
94518 { ac_try='test -z "$ac_c_werror_flag"
94519 || test ! -s conftest.err'
94520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94521 (eval $ac_try) 2>&5
94522 ac_status=$?
94523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94524 (exit $ac_status); }; } &&
94525 { ac_try='test -s conftest$ac_exeext'
94526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94527 (eval $ac_try) 2>&5
94528 ac_status=$?
94529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94530 (exit $ac_status); }; }; then
94531 eval "$as_ac_var=yes"
94532 else
94533 echo "$as_me: failed program was:" >&5
94534 sed 's/^/| /' conftest.$ac_ext >&5
94536 eval "$as_ac_var=no"
94538 rm -f conftest.err conftest.$ac_objext \
94539 conftest$ac_exeext conftest.$ac_ext
94541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94543 if test `eval echo '${'$as_ac_var'}'` = yes; then
94544 cat >>confdefs.h <<_ACEOF
94545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94546 _ACEOF
94549 done
94551 else
94553 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94554 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94555 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94556 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94557 echo $ECHO_N "(cached) $ECHO_C" >&6
94558 else
94562 ac_ext=cc
94563 ac_cpp='$CXXCPP $CPPFLAGS'
94564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94568 cat >conftest.$ac_ext <<_ACEOF
94569 /* confdefs.h. */
94570 _ACEOF
94571 cat confdefs.h >>conftest.$ac_ext
94572 cat >>conftest.$ac_ext <<_ACEOF
94573 /* end confdefs.h. */
94574 #include <math.h>
94576 main ()
94578 _hypotf(0, 0);
94580 return 0;
94582 _ACEOF
94583 rm -f conftest.$ac_objext
94584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94585 (eval $ac_compile) 2>conftest.er1
94586 ac_status=$?
94587 grep -v '^ *+' conftest.er1 >conftest.err
94588 rm -f conftest.er1
94589 cat conftest.err >&5
94590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94591 (exit $ac_status); } &&
94592 { ac_try='test -z "$ac_cxx_werror_flag"
94593 || test ! -s conftest.err'
94594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94595 (eval $ac_try) 2>&5
94596 ac_status=$?
94597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94598 (exit $ac_status); }; } &&
94599 { ac_try='test -s conftest.$ac_objext'
94600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94601 (eval $ac_try) 2>&5
94602 ac_status=$?
94603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94604 (exit $ac_status); }; }; then
94605 glibcxx_cv_func__hypotf_use=yes
94606 else
94607 echo "$as_me: failed program was:" >&5
94608 sed 's/^/| /' conftest.$ac_ext >&5
94610 glibcxx_cv_func__hypotf_use=no
94612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94613 ac_ext=c
94614 ac_cpp='$CPP $CPPFLAGS'
94615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94624 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94626 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94628 for ac_func in _hypotf
94630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94631 echo "$as_me:$LINENO: checking for $ac_func" >&5
94632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94633 if eval "test \"\${$as_ac_var+set}\" = set"; then
94634 echo $ECHO_N "(cached) $ECHO_C" >&6
94635 else
94636 if test x$gcc_no_link = xyes; then
94637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94639 { (exit 1); exit 1; }; }
94641 cat >conftest.$ac_ext <<_ACEOF
94642 /* confdefs.h. */
94643 _ACEOF
94644 cat confdefs.h >>conftest.$ac_ext
94645 cat >>conftest.$ac_ext <<_ACEOF
94646 /* end confdefs.h. */
94647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94649 #define $ac_func innocuous_$ac_func
94651 /* System header to define __stub macros and hopefully few prototypes,
94652 which can conflict with char $ac_func (); below.
94653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94654 <limits.h> exists even on freestanding compilers. */
94656 #ifdef __STDC__
94657 # include <limits.h>
94658 #else
94659 # include <assert.h>
94660 #endif
94662 #undef $ac_func
94664 /* Override any gcc2 internal prototype to avoid an error. */
94665 #ifdef __cplusplus
94666 extern "C"
94668 #endif
94669 /* We use char because int might match the return type of a gcc2
94670 builtin and then its argument prototype would still apply. */
94671 char $ac_func ();
94672 /* The GNU C library defines this for functions which it implements
94673 to always fail with ENOSYS. Some functions are actually named
94674 something starting with __ and the normal name is an alias. */
94675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94676 choke me
94677 #else
94678 char (*f) () = $ac_func;
94679 #endif
94680 #ifdef __cplusplus
94682 #endif
94685 main ()
94687 return f != $ac_func;
94689 return 0;
94691 _ACEOF
94692 rm -f conftest.$ac_objext conftest$ac_exeext
94693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94694 (eval $ac_link) 2>conftest.er1
94695 ac_status=$?
94696 grep -v '^ *+' conftest.er1 >conftest.err
94697 rm -f conftest.er1
94698 cat conftest.err >&5
94699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94700 (exit $ac_status); } &&
94701 { ac_try='test -z "$ac_c_werror_flag"
94702 || test ! -s conftest.err'
94703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94704 (eval $ac_try) 2>&5
94705 ac_status=$?
94706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94707 (exit $ac_status); }; } &&
94708 { ac_try='test -s conftest$ac_exeext'
94709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94710 (eval $ac_try) 2>&5
94711 ac_status=$?
94712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94713 (exit $ac_status); }; }; then
94714 eval "$as_ac_var=yes"
94715 else
94716 echo "$as_me: failed program was:" >&5
94717 sed 's/^/| /' conftest.$ac_ext >&5
94719 eval "$as_ac_var=no"
94721 rm -f conftest.err conftest.$ac_objext \
94722 conftest$ac_exeext conftest.$ac_ext
94724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94726 if test `eval echo '${'$as_ac_var'}'` = yes; then
94727 cat >>confdefs.h <<_ACEOF
94728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94729 _ACEOF
94732 done
94742 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94743 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94744 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94745 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94746 echo $ECHO_N "(cached) $ECHO_C" >&6
94747 else
94751 ac_ext=cc
94752 ac_cpp='$CXXCPP $CPPFLAGS'
94753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94757 cat >conftest.$ac_ext <<_ACEOF
94758 /* confdefs.h. */
94759 _ACEOF
94760 cat confdefs.h >>conftest.$ac_ext
94761 cat >>conftest.$ac_ext <<_ACEOF
94762 /* end confdefs.h. */
94763 #include <math.h>
94765 main ()
94767 ldexpf(0, 0);
94769 return 0;
94771 _ACEOF
94772 rm -f conftest.$ac_objext
94773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94774 (eval $ac_compile) 2>conftest.er1
94775 ac_status=$?
94776 grep -v '^ *+' conftest.er1 >conftest.err
94777 rm -f conftest.er1
94778 cat conftest.err >&5
94779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94780 (exit $ac_status); } &&
94781 { ac_try='test -z "$ac_cxx_werror_flag"
94782 || test ! -s conftest.err'
94783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94784 (eval $ac_try) 2>&5
94785 ac_status=$?
94786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94787 (exit $ac_status); }; } &&
94788 { ac_try='test -s conftest.$ac_objext'
94789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94790 (eval $ac_try) 2>&5
94791 ac_status=$?
94792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94793 (exit $ac_status); }; }; then
94794 glibcxx_cv_func_ldexpf_use=yes
94795 else
94796 echo "$as_me: failed program was:" >&5
94797 sed 's/^/| /' conftest.$ac_ext >&5
94799 glibcxx_cv_func_ldexpf_use=no
94801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94802 ac_ext=c
94803 ac_cpp='$CPP $CPPFLAGS'
94804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94813 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94815 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94817 for ac_func in ldexpf
94819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94820 echo "$as_me:$LINENO: checking for $ac_func" >&5
94821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94822 if eval "test \"\${$as_ac_var+set}\" = set"; then
94823 echo $ECHO_N "(cached) $ECHO_C" >&6
94824 else
94825 if test x$gcc_no_link = xyes; then
94826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94828 { (exit 1); exit 1; }; }
94830 cat >conftest.$ac_ext <<_ACEOF
94831 /* confdefs.h. */
94832 _ACEOF
94833 cat confdefs.h >>conftest.$ac_ext
94834 cat >>conftest.$ac_ext <<_ACEOF
94835 /* end confdefs.h. */
94836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94838 #define $ac_func innocuous_$ac_func
94840 /* System header to define __stub macros and hopefully few prototypes,
94841 which can conflict with char $ac_func (); below.
94842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94843 <limits.h> exists even on freestanding compilers. */
94845 #ifdef __STDC__
94846 # include <limits.h>
94847 #else
94848 # include <assert.h>
94849 #endif
94851 #undef $ac_func
94853 /* Override any gcc2 internal prototype to avoid an error. */
94854 #ifdef __cplusplus
94855 extern "C"
94857 #endif
94858 /* We use char because int might match the return type of a gcc2
94859 builtin and then its argument prototype would still apply. */
94860 char $ac_func ();
94861 /* The GNU C library defines this for functions which it implements
94862 to always fail with ENOSYS. Some functions are actually named
94863 something starting with __ and the normal name is an alias. */
94864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94865 choke me
94866 #else
94867 char (*f) () = $ac_func;
94868 #endif
94869 #ifdef __cplusplus
94871 #endif
94874 main ()
94876 return f != $ac_func;
94878 return 0;
94880 _ACEOF
94881 rm -f conftest.$ac_objext conftest$ac_exeext
94882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94883 (eval $ac_link) 2>conftest.er1
94884 ac_status=$?
94885 grep -v '^ *+' conftest.er1 >conftest.err
94886 rm -f conftest.er1
94887 cat conftest.err >&5
94888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94889 (exit $ac_status); } &&
94890 { ac_try='test -z "$ac_c_werror_flag"
94891 || test ! -s conftest.err'
94892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94893 (eval $ac_try) 2>&5
94894 ac_status=$?
94895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94896 (exit $ac_status); }; } &&
94897 { ac_try='test -s conftest$ac_exeext'
94898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94899 (eval $ac_try) 2>&5
94900 ac_status=$?
94901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94902 (exit $ac_status); }; }; then
94903 eval "$as_ac_var=yes"
94904 else
94905 echo "$as_me: failed program was:" >&5
94906 sed 's/^/| /' conftest.$ac_ext >&5
94908 eval "$as_ac_var=no"
94910 rm -f conftest.err conftest.$ac_objext \
94911 conftest$ac_exeext conftest.$ac_ext
94913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94915 if test `eval echo '${'$as_ac_var'}'` = yes; then
94916 cat >>confdefs.h <<_ACEOF
94917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94918 _ACEOF
94921 done
94923 else
94925 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94926 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94927 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94928 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94929 echo $ECHO_N "(cached) $ECHO_C" >&6
94930 else
94934 ac_ext=cc
94935 ac_cpp='$CXXCPP $CPPFLAGS'
94936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94940 cat >conftest.$ac_ext <<_ACEOF
94941 /* confdefs.h. */
94942 _ACEOF
94943 cat confdefs.h >>conftest.$ac_ext
94944 cat >>conftest.$ac_ext <<_ACEOF
94945 /* end confdefs.h. */
94946 #include <math.h>
94948 main ()
94950 _ldexpf(0, 0);
94952 return 0;
94954 _ACEOF
94955 rm -f conftest.$ac_objext
94956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94957 (eval $ac_compile) 2>conftest.er1
94958 ac_status=$?
94959 grep -v '^ *+' conftest.er1 >conftest.err
94960 rm -f conftest.er1
94961 cat conftest.err >&5
94962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94963 (exit $ac_status); } &&
94964 { ac_try='test -z "$ac_cxx_werror_flag"
94965 || test ! -s conftest.err'
94966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94967 (eval $ac_try) 2>&5
94968 ac_status=$?
94969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94970 (exit $ac_status); }; } &&
94971 { ac_try='test -s conftest.$ac_objext'
94972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94973 (eval $ac_try) 2>&5
94974 ac_status=$?
94975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94976 (exit $ac_status); }; }; then
94977 glibcxx_cv_func__ldexpf_use=yes
94978 else
94979 echo "$as_me: failed program was:" >&5
94980 sed 's/^/| /' conftest.$ac_ext >&5
94982 glibcxx_cv_func__ldexpf_use=no
94984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94985 ac_ext=c
94986 ac_cpp='$CPP $CPPFLAGS'
94987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94996 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94998 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95000 for ac_func in _ldexpf
95002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95003 echo "$as_me:$LINENO: checking for $ac_func" >&5
95004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95005 if eval "test \"\${$as_ac_var+set}\" = set"; then
95006 echo $ECHO_N "(cached) $ECHO_C" >&6
95007 else
95008 if test x$gcc_no_link = xyes; then
95009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95011 { (exit 1); exit 1; }; }
95013 cat >conftest.$ac_ext <<_ACEOF
95014 /* confdefs.h. */
95015 _ACEOF
95016 cat confdefs.h >>conftest.$ac_ext
95017 cat >>conftest.$ac_ext <<_ACEOF
95018 /* end confdefs.h. */
95019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95021 #define $ac_func innocuous_$ac_func
95023 /* System header to define __stub macros and hopefully few prototypes,
95024 which can conflict with char $ac_func (); below.
95025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95026 <limits.h> exists even on freestanding compilers. */
95028 #ifdef __STDC__
95029 # include <limits.h>
95030 #else
95031 # include <assert.h>
95032 #endif
95034 #undef $ac_func
95036 /* Override any gcc2 internal prototype to avoid an error. */
95037 #ifdef __cplusplus
95038 extern "C"
95040 #endif
95041 /* We use char because int might match the return type of a gcc2
95042 builtin and then its argument prototype would still apply. */
95043 char $ac_func ();
95044 /* The GNU C library defines this for functions which it implements
95045 to always fail with ENOSYS. Some functions are actually named
95046 something starting with __ and the normal name is an alias. */
95047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95048 choke me
95049 #else
95050 char (*f) () = $ac_func;
95051 #endif
95052 #ifdef __cplusplus
95054 #endif
95057 main ()
95059 return f != $ac_func;
95061 return 0;
95063 _ACEOF
95064 rm -f conftest.$ac_objext conftest$ac_exeext
95065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95066 (eval $ac_link) 2>conftest.er1
95067 ac_status=$?
95068 grep -v '^ *+' conftest.er1 >conftest.err
95069 rm -f conftest.er1
95070 cat conftest.err >&5
95071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95072 (exit $ac_status); } &&
95073 { ac_try='test -z "$ac_c_werror_flag"
95074 || test ! -s conftest.err'
95075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95076 (eval $ac_try) 2>&5
95077 ac_status=$?
95078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95079 (exit $ac_status); }; } &&
95080 { ac_try='test -s conftest$ac_exeext'
95081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95082 (eval $ac_try) 2>&5
95083 ac_status=$?
95084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95085 (exit $ac_status); }; }; then
95086 eval "$as_ac_var=yes"
95087 else
95088 echo "$as_me: failed program was:" >&5
95089 sed 's/^/| /' conftest.$ac_ext >&5
95091 eval "$as_ac_var=no"
95093 rm -f conftest.err conftest.$ac_objext \
95094 conftest$ac_exeext conftest.$ac_ext
95096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95098 if test `eval echo '${'$as_ac_var'}'` = yes; then
95099 cat >>confdefs.h <<_ACEOF
95100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95101 _ACEOF
95104 done
95114 echo "$as_me:$LINENO: checking for logf declaration" >&5
95115 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95116 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95117 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95118 echo $ECHO_N "(cached) $ECHO_C" >&6
95119 else
95123 ac_ext=cc
95124 ac_cpp='$CXXCPP $CPPFLAGS'
95125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95129 cat >conftest.$ac_ext <<_ACEOF
95130 /* confdefs.h. */
95131 _ACEOF
95132 cat confdefs.h >>conftest.$ac_ext
95133 cat >>conftest.$ac_ext <<_ACEOF
95134 /* end confdefs.h. */
95135 #include <math.h>
95136 #ifdef HAVE_IEEEFP_H
95137 #include <ieeefp.h>
95138 #endif
95141 main ()
95143 logf(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_logf_use=yes
95171 else
95172 echo "$as_me: failed program was:" >&5
95173 sed 's/^/| /' conftest.$ac_ext >&5
95175 glibcxx_cv_func_logf_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_logf_use" >&5
95189 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95191 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95193 for ac_func in logf
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
95299 else
95301 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95302 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95303 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95304 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95305 echo $ECHO_N "(cached) $ECHO_C" >&6
95306 else
95310 ac_ext=cc
95311 ac_cpp='$CXXCPP $CPPFLAGS'
95312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95316 cat >conftest.$ac_ext <<_ACEOF
95317 /* confdefs.h. */
95318 _ACEOF
95319 cat confdefs.h >>conftest.$ac_ext
95320 cat >>conftest.$ac_ext <<_ACEOF
95321 /* end confdefs.h. */
95322 #include <math.h>
95323 #ifdef HAVE_IEEEFP_H
95324 #include <ieeefp.h>
95325 #endif
95328 main ()
95330 _logf(0);
95332 return 0;
95334 _ACEOF
95335 rm -f conftest.$ac_objext
95336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95337 (eval $ac_compile) 2>conftest.er1
95338 ac_status=$?
95339 grep -v '^ *+' conftest.er1 >conftest.err
95340 rm -f conftest.er1
95341 cat conftest.err >&5
95342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95343 (exit $ac_status); } &&
95344 { ac_try='test -z "$ac_cxx_werror_flag"
95345 || test ! -s conftest.err'
95346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95347 (eval $ac_try) 2>&5
95348 ac_status=$?
95349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95350 (exit $ac_status); }; } &&
95351 { ac_try='test -s conftest.$ac_objext'
95352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95353 (eval $ac_try) 2>&5
95354 ac_status=$?
95355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95356 (exit $ac_status); }; }; then
95357 glibcxx_cv_func__logf_use=yes
95358 else
95359 echo "$as_me: failed program was:" >&5
95360 sed 's/^/| /' conftest.$ac_ext >&5
95362 glibcxx_cv_func__logf_use=no
95364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95365 ac_ext=c
95366 ac_cpp='$CPP $CPPFLAGS'
95367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95376 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95378 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95380 for ac_func in _logf
95382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95383 echo "$as_me:$LINENO: checking for $ac_func" >&5
95384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95385 if eval "test \"\${$as_ac_var+set}\" = set"; then
95386 echo $ECHO_N "(cached) $ECHO_C" >&6
95387 else
95388 if test x$gcc_no_link = xyes; then
95389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95391 { (exit 1); exit 1; }; }
95393 cat >conftest.$ac_ext <<_ACEOF
95394 /* confdefs.h. */
95395 _ACEOF
95396 cat confdefs.h >>conftest.$ac_ext
95397 cat >>conftest.$ac_ext <<_ACEOF
95398 /* end confdefs.h. */
95399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95401 #define $ac_func innocuous_$ac_func
95403 /* System header to define __stub macros and hopefully few prototypes,
95404 which can conflict with char $ac_func (); below.
95405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95406 <limits.h> exists even on freestanding compilers. */
95408 #ifdef __STDC__
95409 # include <limits.h>
95410 #else
95411 # include <assert.h>
95412 #endif
95414 #undef $ac_func
95416 /* Override any gcc2 internal prototype to avoid an error. */
95417 #ifdef __cplusplus
95418 extern "C"
95420 #endif
95421 /* We use char because int might match the return type of a gcc2
95422 builtin and then its argument prototype would still apply. */
95423 char $ac_func ();
95424 /* The GNU C library defines this for functions which it implements
95425 to always fail with ENOSYS. Some functions are actually named
95426 something starting with __ and the normal name is an alias. */
95427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95428 choke me
95429 #else
95430 char (*f) () = $ac_func;
95431 #endif
95432 #ifdef __cplusplus
95434 #endif
95437 main ()
95439 return f != $ac_func;
95441 return 0;
95443 _ACEOF
95444 rm -f conftest.$ac_objext conftest$ac_exeext
95445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95446 (eval $ac_link) 2>conftest.er1
95447 ac_status=$?
95448 grep -v '^ *+' conftest.er1 >conftest.err
95449 rm -f conftest.er1
95450 cat conftest.err >&5
95451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95452 (exit $ac_status); } &&
95453 { ac_try='test -z "$ac_c_werror_flag"
95454 || test ! -s conftest.err'
95455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95456 (eval $ac_try) 2>&5
95457 ac_status=$?
95458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95459 (exit $ac_status); }; } &&
95460 { ac_try='test -s conftest$ac_exeext'
95461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95462 (eval $ac_try) 2>&5
95463 ac_status=$?
95464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95465 (exit $ac_status); }; }; then
95466 eval "$as_ac_var=yes"
95467 else
95468 echo "$as_me: failed program was:" >&5
95469 sed 's/^/| /' conftest.$ac_ext >&5
95471 eval "$as_ac_var=no"
95473 rm -f conftest.err conftest.$ac_objext \
95474 conftest$ac_exeext conftest.$ac_ext
95476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95478 if test `eval echo '${'$as_ac_var'}'` = yes; then
95479 cat >>confdefs.h <<_ACEOF
95480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95481 _ACEOF
95484 done
95494 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95495 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95496 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95497 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95498 echo $ECHO_N "(cached) $ECHO_C" >&6
95499 else
95503 ac_ext=cc
95504 ac_cpp='$CXXCPP $CPPFLAGS'
95505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95509 cat >conftest.$ac_ext <<_ACEOF
95510 /* confdefs.h. */
95511 _ACEOF
95512 cat confdefs.h >>conftest.$ac_ext
95513 cat >>conftest.$ac_ext <<_ACEOF
95514 /* end confdefs.h. */
95515 #include <math.h>
95516 #ifdef HAVE_IEEEFP_H
95517 #include <ieeefp.h>
95518 #endif
95521 main ()
95523 log10f(0);
95525 return 0;
95527 _ACEOF
95528 rm -f conftest.$ac_objext
95529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95530 (eval $ac_compile) 2>conftest.er1
95531 ac_status=$?
95532 grep -v '^ *+' conftest.er1 >conftest.err
95533 rm -f conftest.er1
95534 cat conftest.err >&5
95535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95536 (exit $ac_status); } &&
95537 { ac_try='test -z "$ac_cxx_werror_flag"
95538 || test ! -s conftest.err'
95539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95540 (eval $ac_try) 2>&5
95541 ac_status=$?
95542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543 (exit $ac_status); }; } &&
95544 { ac_try='test -s conftest.$ac_objext'
95545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95546 (eval $ac_try) 2>&5
95547 ac_status=$?
95548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95549 (exit $ac_status); }; }; then
95550 glibcxx_cv_func_log10f_use=yes
95551 else
95552 echo "$as_me: failed program was:" >&5
95553 sed 's/^/| /' conftest.$ac_ext >&5
95555 glibcxx_cv_func_log10f_use=no
95557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95558 ac_ext=c
95559 ac_cpp='$CPP $CPPFLAGS'
95560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95569 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95571 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95573 for ac_func in log10f
95575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95576 echo "$as_me:$LINENO: checking for $ac_func" >&5
95577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95578 if eval "test \"\${$as_ac_var+set}\" = set"; then
95579 echo $ECHO_N "(cached) $ECHO_C" >&6
95580 else
95581 if test x$gcc_no_link = xyes; then
95582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95584 { (exit 1); exit 1; }; }
95586 cat >conftest.$ac_ext <<_ACEOF
95587 /* confdefs.h. */
95588 _ACEOF
95589 cat confdefs.h >>conftest.$ac_ext
95590 cat >>conftest.$ac_ext <<_ACEOF
95591 /* end confdefs.h. */
95592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95594 #define $ac_func innocuous_$ac_func
95596 /* System header to define __stub macros and hopefully few prototypes,
95597 which can conflict with char $ac_func (); below.
95598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95599 <limits.h> exists even on freestanding compilers. */
95601 #ifdef __STDC__
95602 # include <limits.h>
95603 #else
95604 # include <assert.h>
95605 #endif
95607 #undef $ac_func
95609 /* Override any gcc2 internal prototype to avoid an error. */
95610 #ifdef __cplusplus
95611 extern "C"
95613 #endif
95614 /* We use char because int might match the return type of a gcc2
95615 builtin and then its argument prototype would still apply. */
95616 char $ac_func ();
95617 /* The GNU C library defines this for functions which it implements
95618 to always fail with ENOSYS. Some functions are actually named
95619 something starting with __ and the normal name is an alias. */
95620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95621 choke me
95622 #else
95623 char (*f) () = $ac_func;
95624 #endif
95625 #ifdef __cplusplus
95627 #endif
95630 main ()
95632 return f != $ac_func;
95634 return 0;
95636 _ACEOF
95637 rm -f conftest.$ac_objext conftest$ac_exeext
95638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95639 (eval $ac_link) 2>conftest.er1
95640 ac_status=$?
95641 grep -v '^ *+' conftest.er1 >conftest.err
95642 rm -f conftest.er1
95643 cat conftest.err >&5
95644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95645 (exit $ac_status); } &&
95646 { ac_try='test -z "$ac_c_werror_flag"
95647 || test ! -s conftest.err'
95648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95649 (eval $ac_try) 2>&5
95650 ac_status=$?
95651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95652 (exit $ac_status); }; } &&
95653 { ac_try='test -s conftest$ac_exeext'
95654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95655 (eval $ac_try) 2>&5
95656 ac_status=$?
95657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95658 (exit $ac_status); }; }; then
95659 eval "$as_ac_var=yes"
95660 else
95661 echo "$as_me: failed program was:" >&5
95662 sed 's/^/| /' conftest.$ac_ext >&5
95664 eval "$as_ac_var=no"
95666 rm -f conftest.err conftest.$ac_objext \
95667 conftest$ac_exeext conftest.$ac_ext
95669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95671 if test `eval echo '${'$as_ac_var'}'` = yes; then
95672 cat >>confdefs.h <<_ACEOF
95673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95674 _ACEOF
95677 done
95679 else
95681 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95682 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95683 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95684 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95685 echo $ECHO_N "(cached) $ECHO_C" >&6
95686 else
95690 ac_ext=cc
95691 ac_cpp='$CXXCPP $CPPFLAGS'
95692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95696 cat >conftest.$ac_ext <<_ACEOF
95697 /* confdefs.h. */
95698 _ACEOF
95699 cat confdefs.h >>conftest.$ac_ext
95700 cat >>conftest.$ac_ext <<_ACEOF
95701 /* end confdefs.h. */
95702 #include <math.h>
95703 #ifdef HAVE_IEEEFP_H
95704 #include <ieeefp.h>
95705 #endif
95708 main ()
95710 _log10f(0);
95712 return 0;
95714 _ACEOF
95715 rm -f conftest.$ac_objext
95716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95717 (eval $ac_compile) 2>conftest.er1
95718 ac_status=$?
95719 grep -v '^ *+' conftest.er1 >conftest.err
95720 rm -f conftest.er1
95721 cat conftest.err >&5
95722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95723 (exit $ac_status); } &&
95724 { ac_try='test -z "$ac_cxx_werror_flag"
95725 || test ! -s conftest.err'
95726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95727 (eval $ac_try) 2>&5
95728 ac_status=$?
95729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95730 (exit $ac_status); }; } &&
95731 { ac_try='test -s conftest.$ac_objext'
95732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95733 (eval $ac_try) 2>&5
95734 ac_status=$?
95735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95736 (exit $ac_status); }; }; then
95737 glibcxx_cv_func__log10f_use=yes
95738 else
95739 echo "$as_me: failed program was:" >&5
95740 sed 's/^/| /' conftest.$ac_ext >&5
95742 glibcxx_cv_func__log10f_use=no
95744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95745 ac_ext=c
95746 ac_cpp='$CPP $CPPFLAGS'
95747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95756 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95758 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95760 for ac_func in _log10f
95762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95763 echo "$as_me:$LINENO: checking for $ac_func" >&5
95764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95765 if eval "test \"\${$as_ac_var+set}\" = set"; then
95766 echo $ECHO_N "(cached) $ECHO_C" >&6
95767 else
95768 if test x$gcc_no_link = xyes; then
95769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95771 { (exit 1); exit 1; }; }
95773 cat >conftest.$ac_ext <<_ACEOF
95774 /* confdefs.h. */
95775 _ACEOF
95776 cat confdefs.h >>conftest.$ac_ext
95777 cat >>conftest.$ac_ext <<_ACEOF
95778 /* end confdefs.h. */
95779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95781 #define $ac_func innocuous_$ac_func
95783 /* System header to define __stub macros and hopefully few prototypes,
95784 which can conflict with char $ac_func (); below.
95785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95786 <limits.h> exists even on freestanding compilers. */
95788 #ifdef __STDC__
95789 # include <limits.h>
95790 #else
95791 # include <assert.h>
95792 #endif
95794 #undef $ac_func
95796 /* Override any gcc2 internal prototype to avoid an error. */
95797 #ifdef __cplusplus
95798 extern "C"
95800 #endif
95801 /* We use char because int might match the return type of a gcc2
95802 builtin and then its argument prototype would still apply. */
95803 char $ac_func ();
95804 /* The GNU C library defines this for functions which it implements
95805 to always fail with ENOSYS. Some functions are actually named
95806 something starting with __ and the normal name is an alias. */
95807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95808 choke me
95809 #else
95810 char (*f) () = $ac_func;
95811 #endif
95812 #ifdef __cplusplus
95814 #endif
95817 main ()
95819 return f != $ac_func;
95821 return 0;
95823 _ACEOF
95824 rm -f conftest.$ac_objext conftest$ac_exeext
95825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95826 (eval $ac_link) 2>conftest.er1
95827 ac_status=$?
95828 grep -v '^ *+' conftest.er1 >conftest.err
95829 rm -f conftest.er1
95830 cat conftest.err >&5
95831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95832 (exit $ac_status); } &&
95833 { ac_try='test -z "$ac_c_werror_flag"
95834 || test ! -s conftest.err'
95835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95836 (eval $ac_try) 2>&5
95837 ac_status=$?
95838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95839 (exit $ac_status); }; } &&
95840 { ac_try='test -s conftest$ac_exeext'
95841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95842 (eval $ac_try) 2>&5
95843 ac_status=$?
95844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95845 (exit $ac_status); }; }; then
95846 eval "$as_ac_var=yes"
95847 else
95848 echo "$as_me: failed program was:" >&5
95849 sed 's/^/| /' conftest.$ac_ext >&5
95851 eval "$as_ac_var=no"
95853 rm -f conftest.err conftest.$ac_objext \
95854 conftest$ac_exeext conftest.$ac_ext
95856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95858 if test `eval echo '${'$as_ac_var'}'` = yes; then
95859 cat >>confdefs.h <<_ACEOF
95860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95861 _ACEOF
95864 done
95874 echo "$as_me:$LINENO: checking for modff declaration" >&5
95875 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95876 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95877 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95878 echo $ECHO_N "(cached) $ECHO_C" >&6
95879 else
95883 ac_ext=cc
95884 ac_cpp='$CXXCPP $CPPFLAGS'
95885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95889 cat >conftest.$ac_ext <<_ACEOF
95890 /* confdefs.h. */
95891 _ACEOF
95892 cat confdefs.h >>conftest.$ac_ext
95893 cat >>conftest.$ac_ext <<_ACEOF
95894 /* end confdefs.h. */
95895 #include <math.h>
95897 main ()
95899 modff(0, 0);
95901 return 0;
95903 _ACEOF
95904 rm -f conftest.$ac_objext
95905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95906 (eval $ac_compile) 2>conftest.er1
95907 ac_status=$?
95908 grep -v '^ *+' conftest.er1 >conftest.err
95909 rm -f conftest.er1
95910 cat conftest.err >&5
95911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95912 (exit $ac_status); } &&
95913 { ac_try='test -z "$ac_cxx_werror_flag"
95914 || test ! -s conftest.err'
95915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95916 (eval $ac_try) 2>&5
95917 ac_status=$?
95918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95919 (exit $ac_status); }; } &&
95920 { ac_try='test -s conftest.$ac_objext'
95921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95922 (eval $ac_try) 2>&5
95923 ac_status=$?
95924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95925 (exit $ac_status); }; }; then
95926 glibcxx_cv_func_modff_use=yes
95927 else
95928 echo "$as_me: failed program was:" >&5
95929 sed 's/^/| /' conftest.$ac_ext >&5
95931 glibcxx_cv_func_modff_use=no
95933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95934 ac_ext=c
95935 ac_cpp='$CPP $CPPFLAGS'
95936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95944 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95945 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95947 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95949 for ac_func in modff
95951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95952 echo "$as_me:$LINENO: checking for $ac_func" >&5
95953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95954 if eval "test \"\${$as_ac_var+set}\" = set"; then
95955 echo $ECHO_N "(cached) $ECHO_C" >&6
95956 else
95957 if test x$gcc_no_link = xyes; then
95958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95960 { (exit 1); exit 1; }; }
95962 cat >conftest.$ac_ext <<_ACEOF
95963 /* confdefs.h. */
95964 _ACEOF
95965 cat confdefs.h >>conftest.$ac_ext
95966 cat >>conftest.$ac_ext <<_ACEOF
95967 /* end confdefs.h. */
95968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95970 #define $ac_func innocuous_$ac_func
95972 /* System header to define __stub macros and hopefully few prototypes,
95973 which can conflict with char $ac_func (); below.
95974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95975 <limits.h> exists even on freestanding compilers. */
95977 #ifdef __STDC__
95978 # include <limits.h>
95979 #else
95980 # include <assert.h>
95981 #endif
95983 #undef $ac_func
95985 /* Override any gcc2 internal prototype to avoid an error. */
95986 #ifdef __cplusplus
95987 extern "C"
95989 #endif
95990 /* We use char because int might match the return type of a gcc2
95991 builtin and then its argument prototype would still apply. */
95992 char $ac_func ();
95993 /* The GNU C library defines this for functions which it implements
95994 to always fail with ENOSYS. Some functions are actually named
95995 something starting with __ and the normal name is an alias. */
95996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95997 choke me
95998 #else
95999 char (*f) () = $ac_func;
96000 #endif
96001 #ifdef __cplusplus
96003 #endif
96006 main ()
96008 return f != $ac_func;
96010 return 0;
96012 _ACEOF
96013 rm -f conftest.$ac_objext conftest$ac_exeext
96014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96015 (eval $ac_link) 2>conftest.er1
96016 ac_status=$?
96017 grep -v '^ *+' conftest.er1 >conftest.err
96018 rm -f conftest.er1
96019 cat conftest.err >&5
96020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96021 (exit $ac_status); } &&
96022 { ac_try='test -z "$ac_c_werror_flag"
96023 || test ! -s conftest.err'
96024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96025 (eval $ac_try) 2>&5
96026 ac_status=$?
96027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96028 (exit $ac_status); }; } &&
96029 { ac_try='test -s conftest$ac_exeext'
96030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96031 (eval $ac_try) 2>&5
96032 ac_status=$?
96033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96034 (exit $ac_status); }; }; then
96035 eval "$as_ac_var=yes"
96036 else
96037 echo "$as_me: failed program was:" >&5
96038 sed 's/^/| /' conftest.$ac_ext >&5
96040 eval "$as_ac_var=no"
96042 rm -f conftest.err conftest.$ac_objext \
96043 conftest$ac_exeext conftest.$ac_ext
96045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96047 if test `eval echo '${'$as_ac_var'}'` = yes; then
96048 cat >>confdefs.h <<_ACEOF
96049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96050 _ACEOF
96053 done
96055 else
96057 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96058 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96059 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96060 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96061 echo $ECHO_N "(cached) $ECHO_C" >&6
96062 else
96066 ac_ext=cc
96067 ac_cpp='$CXXCPP $CPPFLAGS'
96068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96072 cat >conftest.$ac_ext <<_ACEOF
96073 /* confdefs.h. */
96074 _ACEOF
96075 cat confdefs.h >>conftest.$ac_ext
96076 cat >>conftest.$ac_ext <<_ACEOF
96077 /* end confdefs.h. */
96078 #include <math.h>
96080 main ()
96082 _modff(0, 0);
96084 return 0;
96086 _ACEOF
96087 rm -f conftest.$ac_objext
96088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96089 (eval $ac_compile) 2>conftest.er1
96090 ac_status=$?
96091 grep -v '^ *+' conftest.er1 >conftest.err
96092 rm -f conftest.er1
96093 cat conftest.err >&5
96094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96095 (exit $ac_status); } &&
96096 { ac_try='test -z "$ac_cxx_werror_flag"
96097 || test ! -s conftest.err'
96098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96099 (eval $ac_try) 2>&5
96100 ac_status=$?
96101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96102 (exit $ac_status); }; } &&
96103 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
96109 glibcxx_cv_func__modff_use=yes
96110 else
96111 echo "$as_me: failed program was:" >&5
96112 sed 's/^/| /' conftest.$ac_ext >&5
96114 glibcxx_cv_func__modff_use=no
96116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96117 ac_ext=c
96118 ac_cpp='$CPP $CPPFLAGS'
96119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96127 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96128 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96130 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96132 for ac_func in _modff
96134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96135 echo "$as_me:$LINENO: checking for $ac_func" >&5
96136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96137 if eval "test \"\${$as_ac_var+set}\" = set"; then
96138 echo $ECHO_N "(cached) $ECHO_C" >&6
96139 else
96140 if test x$gcc_no_link = xyes; then
96141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96143 { (exit 1); exit 1; }; }
96145 cat >conftest.$ac_ext <<_ACEOF
96146 /* confdefs.h. */
96147 _ACEOF
96148 cat confdefs.h >>conftest.$ac_ext
96149 cat >>conftest.$ac_ext <<_ACEOF
96150 /* end confdefs.h. */
96151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96153 #define $ac_func innocuous_$ac_func
96155 /* System header to define __stub macros and hopefully few prototypes,
96156 which can conflict with char $ac_func (); below.
96157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96158 <limits.h> exists even on freestanding compilers. */
96160 #ifdef __STDC__
96161 # include <limits.h>
96162 #else
96163 # include <assert.h>
96164 #endif
96166 #undef $ac_func
96168 /* Override any gcc2 internal prototype to avoid an error. */
96169 #ifdef __cplusplus
96170 extern "C"
96172 #endif
96173 /* We use char because int might match the return type of a gcc2
96174 builtin and then its argument prototype would still apply. */
96175 char $ac_func ();
96176 /* The GNU C library defines this for functions which it implements
96177 to always fail with ENOSYS. Some functions are actually named
96178 something starting with __ and the normal name is an alias. */
96179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96180 choke me
96181 #else
96182 char (*f) () = $ac_func;
96183 #endif
96184 #ifdef __cplusplus
96186 #endif
96189 main ()
96191 return f != $ac_func;
96193 return 0;
96195 _ACEOF
96196 rm -f conftest.$ac_objext conftest$ac_exeext
96197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96198 (eval $ac_link) 2>conftest.er1
96199 ac_status=$?
96200 grep -v '^ *+' conftest.er1 >conftest.err
96201 rm -f conftest.er1
96202 cat conftest.err >&5
96203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96204 (exit $ac_status); } &&
96205 { ac_try='test -z "$ac_c_werror_flag"
96206 || test ! -s conftest.err'
96207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96208 (eval $ac_try) 2>&5
96209 ac_status=$?
96210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96211 (exit $ac_status); }; } &&
96212 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
96218 eval "$as_ac_var=yes"
96219 else
96220 echo "$as_me: failed program was:" >&5
96221 sed 's/^/| /' conftest.$ac_ext >&5
96223 eval "$as_ac_var=no"
96225 rm -f conftest.err conftest.$ac_objext \
96226 conftest$ac_exeext conftest.$ac_ext
96228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96230 if test `eval echo '${'$as_ac_var'}'` = yes; then
96231 cat >>confdefs.h <<_ACEOF
96232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96233 _ACEOF
96236 done
96246 echo "$as_me:$LINENO: checking for modf declaration" >&5
96247 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96248 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96249 if test "${glibcxx_cv_func_modf_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>
96269 main ()
96271 modf(0, 0);
96273 return 0;
96275 _ACEOF
96276 rm -f conftest.$ac_objext
96277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96278 (eval $ac_compile) 2>conftest.er1
96279 ac_status=$?
96280 grep -v '^ *+' conftest.er1 >conftest.err
96281 rm -f conftest.er1
96282 cat conftest.err >&5
96283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96284 (exit $ac_status); } &&
96285 { ac_try='test -z "$ac_cxx_werror_flag"
96286 || test ! -s conftest.err'
96287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96288 (eval $ac_try) 2>&5
96289 ac_status=$?
96290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96291 (exit $ac_status); }; } &&
96292 { ac_try='test -s conftest.$ac_objext'
96293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96294 (eval $ac_try) 2>&5
96295 ac_status=$?
96296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96297 (exit $ac_status); }; }; then
96298 glibcxx_cv_func_modf_use=yes
96299 else
96300 echo "$as_me: failed program was:" >&5
96301 sed 's/^/| /' conftest.$ac_ext >&5
96303 glibcxx_cv_func_modf_use=no
96305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96306 ac_ext=c
96307 ac_cpp='$CPP $CPPFLAGS'
96308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96316 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96317 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96319 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96321 for ac_func in modf
96323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96324 echo "$as_me:$LINENO: checking for $ac_func" >&5
96325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96326 if eval "test \"\${$as_ac_var+set}\" = set"; then
96327 echo $ECHO_N "(cached) $ECHO_C" >&6
96328 else
96329 if test x$gcc_no_link = xyes; then
96330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96332 { (exit 1); exit 1; }; }
96334 cat >conftest.$ac_ext <<_ACEOF
96335 /* confdefs.h. */
96336 _ACEOF
96337 cat confdefs.h >>conftest.$ac_ext
96338 cat >>conftest.$ac_ext <<_ACEOF
96339 /* end confdefs.h. */
96340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96342 #define $ac_func innocuous_$ac_func
96344 /* System header to define __stub macros and hopefully few prototypes,
96345 which can conflict with char $ac_func (); below.
96346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96347 <limits.h> exists even on freestanding compilers. */
96349 #ifdef __STDC__
96350 # include <limits.h>
96351 #else
96352 # include <assert.h>
96353 #endif
96355 #undef $ac_func
96357 /* Override any gcc2 internal prototype to avoid an error. */
96358 #ifdef __cplusplus
96359 extern "C"
96361 #endif
96362 /* We use char because int might match the return type of a gcc2
96363 builtin and then its argument prototype would still apply. */
96364 char $ac_func ();
96365 /* The GNU C library defines this for functions which it implements
96366 to always fail with ENOSYS. Some functions are actually named
96367 something starting with __ and the normal name is an alias. */
96368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96369 choke me
96370 #else
96371 char (*f) () = $ac_func;
96372 #endif
96373 #ifdef __cplusplus
96375 #endif
96378 main ()
96380 return f != $ac_func;
96382 return 0;
96384 _ACEOF
96385 rm -f conftest.$ac_objext conftest$ac_exeext
96386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96387 (eval $ac_link) 2>conftest.er1
96388 ac_status=$?
96389 grep -v '^ *+' conftest.er1 >conftest.err
96390 rm -f conftest.er1
96391 cat conftest.err >&5
96392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96393 (exit $ac_status); } &&
96394 { ac_try='test -z "$ac_c_werror_flag"
96395 || test ! -s conftest.err'
96396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96397 (eval $ac_try) 2>&5
96398 ac_status=$?
96399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96400 (exit $ac_status); }; } &&
96401 { ac_try='test -s conftest$ac_exeext'
96402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96403 (eval $ac_try) 2>&5
96404 ac_status=$?
96405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96406 (exit $ac_status); }; }; then
96407 eval "$as_ac_var=yes"
96408 else
96409 echo "$as_me: failed program was:" >&5
96410 sed 's/^/| /' conftest.$ac_ext >&5
96412 eval "$as_ac_var=no"
96414 rm -f conftest.err conftest.$ac_objext \
96415 conftest$ac_exeext conftest.$ac_ext
96417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96419 if test `eval echo '${'$as_ac_var'}'` = yes; then
96420 cat >>confdefs.h <<_ACEOF
96421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96422 _ACEOF
96425 done
96427 else
96429 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96430 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96431 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96432 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96433 echo $ECHO_N "(cached) $ECHO_C" >&6
96434 else
96438 ac_ext=cc
96439 ac_cpp='$CXXCPP $CPPFLAGS'
96440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96444 cat >conftest.$ac_ext <<_ACEOF
96445 /* confdefs.h. */
96446 _ACEOF
96447 cat confdefs.h >>conftest.$ac_ext
96448 cat >>conftest.$ac_ext <<_ACEOF
96449 /* end confdefs.h. */
96450 #include <math.h>
96452 main ()
96454 _modf(0, 0);
96456 return 0;
96458 _ACEOF
96459 rm -f conftest.$ac_objext
96460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96461 (eval $ac_compile) 2>conftest.er1
96462 ac_status=$?
96463 grep -v '^ *+' conftest.er1 >conftest.err
96464 rm -f conftest.er1
96465 cat conftest.err >&5
96466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96467 (exit $ac_status); } &&
96468 { ac_try='test -z "$ac_cxx_werror_flag"
96469 || test ! -s conftest.err'
96470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96471 (eval $ac_try) 2>&5
96472 ac_status=$?
96473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96474 (exit $ac_status); }; } &&
96475 { ac_try='test -s conftest.$ac_objext'
96476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96477 (eval $ac_try) 2>&5
96478 ac_status=$?
96479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96480 (exit $ac_status); }; }; then
96481 glibcxx_cv_func__modf_use=yes
96482 else
96483 echo "$as_me: failed program was:" >&5
96484 sed 's/^/| /' conftest.$ac_ext >&5
96486 glibcxx_cv_func__modf_use=no
96488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96489 ac_ext=c
96490 ac_cpp='$CPP $CPPFLAGS'
96491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96500 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96502 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96504 for ac_func in _modf
96506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96507 echo "$as_me:$LINENO: checking for $ac_func" >&5
96508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96509 if eval "test \"\${$as_ac_var+set}\" = set"; then
96510 echo $ECHO_N "(cached) $ECHO_C" >&6
96511 else
96512 if test x$gcc_no_link = xyes; then
96513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96515 { (exit 1); exit 1; }; }
96517 cat >conftest.$ac_ext <<_ACEOF
96518 /* confdefs.h. */
96519 _ACEOF
96520 cat confdefs.h >>conftest.$ac_ext
96521 cat >>conftest.$ac_ext <<_ACEOF
96522 /* end confdefs.h. */
96523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96525 #define $ac_func innocuous_$ac_func
96527 /* System header to define __stub macros and hopefully few prototypes,
96528 which can conflict with char $ac_func (); below.
96529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96530 <limits.h> exists even on freestanding compilers. */
96532 #ifdef __STDC__
96533 # include <limits.h>
96534 #else
96535 # include <assert.h>
96536 #endif
96538 #undef $ac_func
96540 /* Override any gcc2 internal prototype to avoid an error. */
96541 #ifdef __cplusplus
96542 extern "C"
96544 #endif
96545 /* We use char because int might match the return type of a gcc2
96546 builtin and then its argument prototype would still apply. */
96547 char $ac_func ();
96548 /* The GNU C library defines this for functions which it implements
96549 to always fail with ENOSYS. Some functions are actually named
96550 something starting with __ and the normal name is an alias. */
96551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96552 choke me
96553 #else
96554 char (*f) () = $ac_func;
96555 #endif
96556 #ifdef __cplusplus
96558 #endif
96561 main ()
96563 return f != $ac_func;
96565 return 0;
96567 _ACEOF
96568 rm -f conftest.$ac_objext conftest$ac_exeext
96569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96570 (eval $ac_link) 2>conftest.er1
96571 ac_status=$?
96572 grep -v '^ *+' conftest.er1 >conftest.err
96573 rm -f conftest.er1
96574 cat conftest.err >&5
96575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96576 (exit $ac_status); } &&
96577 { ac_try='test -z "$ac_c_werror_flag"
96578 || test ! -s conftest.err'
96579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96580 (eval $ac_try) 2>&5
96581 ac_status=$?
96582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96583 (exit $ac_status); }; } &&
96584 { ac_try='test -s conftest$ac_exeext'
96585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96586 (eval $ac_try) 2>&5
96587 ac_status=$?
96588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96589 (exit $ac_status); }; }; then
96590 eval "$as_ac_var=yes"
96591 else
96592 echo "$as_me: failed program was:" >&5
96593 sed 's/^/| /' conftest.$ac_ext >&5
96595 eval "$as_ac_var=no"
96597 rm -f conftest.err conftest.$ac_objext \
96598 conftest$ac_exeext conftest.$ac_ext
96600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96602 if test `eval echo '${'$as_ac_var'}'` = yes; then
96603 cat >>confdefs.h <<_ACEOF
96604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96605 _ACEOF
96608 done
96618 echo "$as_me:$LINENO: checking for powf declaration" >&5
96619 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96620 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96621 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96622 echo $ECHO_N "(cached) $ECHO_C" >&6
96623 else
96627 ac_ext=cc
96628 ac_cpp='$CXXCPP $CPPFLAGS'
96629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96633 cat >conftest.$ac_ext <<_ACEOF
96634 /* confdefs.h. */
96635 _ACEOF
96636 cat confdefs.h >>conftest.$ac_ext
96637 cat >>conftest.$ac_ext <<_ACEOF
96638 /* end confdefs.h. */
96639 #include <math.h>
96641 main ()
96643 powf(0, 0);
96645 return 0;
96647 _ACEOF
96648 rm -f conftest.$ac_objext
96649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96650 (eval $ac_compile) 2>conftest.er1
96651 ac_status=$?
96652 grep -v '^ *+' conftest.er1 >conftest.err
96653 rm -f conftest.er1
96654 cat conftest.err >&5
96655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96656 (exit $ac_status); } &&
96657 { ac_try='test -z "$ac_cxx_werror_flag"
96658 || test ! -s conftest.err'
96659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96660 (eval $ac_try) 2>&5
96661 ac_status=$?
96662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96663 (exit $ac_status); }; } &&
96664 { ac_try='test -s conftest.$ac_objext'
96665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96666 (eval $ac_try) 2>&5
96667 ac_status=$?
96668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96669 (exit $ac_status); }; }; then
96670 glibcxx_cv_func_powf_use=yes
96671 else
96672 echo "$as_me: failed program was:" >&5
96673 sed 's/^/| /' conftest.$ac_ext >&5
96675 glibcxx_cv_func_powf_use=no
96677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96678 ac_ext=c
96679 ac_cpp='$CPP $CPPFLAGS'
96680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96689 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96691 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96693 for ac_func in powf
96695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96696 echo "$as_me:$LINENO: checking for $ac_func" >&5
96697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96698 if eval "test \"\${$as_ac_var+set}\" = set"; then
96699 echo $ECHO_N "(cached) $ECHO_C" >&6
96700 else
96701 if test x$gcc_no_link = xyes; then
96702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96704 { (exit 1); exit 1; }; }
96706 cat >conftest.$ac_ext <<_ACEOF
96707 /* confdefs.h. */
96708 _ACEOF
96709 cat confdefs.h >>conftest.$ac_ext
96710 cat >>conftest.$ac_ext <<_ACEOF
96711 /* end confdefs.h. */
96712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96714 #define $ac_func innocuous_$ac_func
96716 /* System header to define __stub macros and hopefully few prototypes,
96717 which can conflict with char $ac_func (); below.
96718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96719 <limits.h> exists even on freestanding compilers. */
96721 #ifdef __STDC__
96722 # include <limits.h>
96723 #else
96724 # include <assert.h>
96725 #endif
96727 #undef $ac_func
96729 /* Override any gcc2 internal prototype to avoid an error. */
96730 #ifdef __cplusplus
96731 extern "C"
96733 #endif
96734 /* We use char because int might match the return type of a gcc2
96735 builtin and then its argument prototype would still apply. */
96736 char $ac_func ();
96737 /* The GNU C library defines this for functions which it implements
96738 to always fail with ENOSYS. Some functions are actually named
96739 something starting with __ and the normal name is an alias. */
96740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96741 choke me
96742 #else
96743 char (*f) () = $ac_func;
96744 #endif
96745 #ifdef __cplusplus
96747 #endif
96750 main ()
96752 return f != $ac_func;
96754 return 0;
96756 _ACEOF
96757 rm -f conftest.$ac_objext conftest$ac_exeext
96758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96759 (eval $ac_link) 2>conftest.er1
96760 ac_status=$?
96761 grep -v '^ *+' conftest.er1 >conftest.err
96762 rm -f conftest.er1
96763 cat conftest.err >&5
96764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96765 (exit $ac_status); } &&
96766 { ac_try='test -z "$ac_c_werror_flag"
96767 || test ! -s conftest.err'
96768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96769 (eval $ac_try) 2>&5
96770 ac_status=$?
96771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96772 (exit $ac_status); }; } &&
96773 { ac_try='test -s conftest$ac_exeext'
96774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96775 (eval $ac_try) 2>&5
96776 ac_status=$?
96777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96778 (exit $ac_status); }; }; then
96779 eval "$as_ac_var=yes"
96780 else
96781 echo "$as_me: failed program was:" >&5
96782 sed 's/^/| /' conftest.$ac_ext >&5
96784 eval "$as_ac_var=no"
96786 rm -f conftest.err conftest.$ac_objext \
96787 conftest$ac_exeext conftest.$ac_ext
96789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96791 if test `eval echo '${'$as_ac_var'}'` = yes; then
96792 cat >>confdefs.h <<_ACEOF
96793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96794 _ACEOF
96797 done
96799 else
96801 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96802 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96803 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96804 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96805 echo $ECHO_N "(cached) $ECHO_C" >&6
96806 else
96810 ac_ext=cc
96811 ac_cpp='$CXXCPP $CPPFLAGS'
96812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96816 cat >conftest.$ac_ext <<_ACEOF
96817 /* confdefs.h. */
96818 _ACEOF
96819 cat confdefs.h >>conftest.$ac_ext
96820 cat >>conftest.$ac_ext <<_ACEOF
96821 /* end confdefs.h. */
96822 #include <math.h>
96824 main ()
96826 _powf(0, 0);
96828 return 0;
96830 _ACEOF
96831 rm -f conftest.$ac_objext
96832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96833 (eval $ac_compile) 2>conftest.er1
96834 ac_status=$?
96835 grep -v '^ *+' conftest.er1 >conftest.err
96836 rm -f conftest.er1
96837 cat conftest.err >&5
96838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96839 (exit $ac_status); } &&
96840 { ac_try='test -z "$ac_cxx_werror_flag"
96841 || test ! -s conftest.err'
96842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96843 (eval $ac_try) 2>&5
96844 ac_status=$?
96845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96846 (exit $ac_status); }; } &&
96847 { ac_try='test -s conftest.$ac_objext'
96848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96849 (eval $ac_try) 2>&5
96850 ac_status=$?
96851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96852 (exit $ac_status); }; }; then
96853 glibcxx_cv_func__powf_use=yes
96854 else
96855 echo "$as_me: failed program was:" >&5
96856 sed 's/^/| /' conftest.$ac_ext >&5
96858 glibcxx_cv_func__powf_use=no
96860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96861 ac_ext=c
96862 ac_cpp='$CPP $CPPFLAGS'
96863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96872 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96874 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96876 for ac_func in _powf
96878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96879 echo "$as_me:$LINENO: checking for $ac_func" >&5
96880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96881 if eval "test \"\${$as_ac_var+set}\" = set"; then
96882 echo $ECHO_N "(cached) $ECHO_C" >&6
96883 else
96884 if test x$gcc_no_link = xyes; then
96885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96887 { (exit 1); exit 1; }; }
96889 cat >conftest.$ac_ext <<_ACEOF
96890 /* confdefs.h. */
96891 _ACEOF
96892 cat confdefs.h >>conftest.$ac_ext
96893 cat >>conftest.$ac_ext <<_ACEOF
96894 /* end confdefs.h. */
96895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96897 #define $ac_func innocuous_$ac_func
96899 /* System header to define __stub macros and hopefully few prototypes,
96900 which can conflict with char $ac_func (); below.
96901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96902 <limits.h> exists even on freestanding compilers. */
96904 #ifdef __STDC__
96905 # include <limits.h>
96906 #else
96907 # include <assert.h>
96908 #endif
96910 #undef $ac_func
96912 /* Override any gcc2 internal prototype to avoid an error. */
96913 #ifdef __cplusplus
96914 extern "C"
96916 #endif
96917 /* We use char because int might match the return type of a gcc2
96918 builtin and then its argument prototype would still apply. */
96919 char $ac_func ();
96920 /* The GNU C library defines this for functions which it implements
96921 to always fail with ENOSYS. Some functions are actually named
96922 something starting with __ and the normal name is an alias. */
96923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96924 choke me
96925 #else
96926 char (*f) () = $ac_func;
96927 #endif
96928 #ifdef __cplusplus
96930 #endif
96933 main ()
96935 return f != $ac_func;
96937 return 0;
96939 _ACEOF
96940 rm -f conftest.$ac_objext conftest$ac_exeext
96941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96942 (eval $ac_link) 2>conftest.er1
96943 ac_status=$?
96944 grep -v '^ *+' conftest.er1 >conftest.err
96945 rm -f conftest.er1
96946 cat conftest.err >&5
96947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96948 (exit $ac_status); } &&
96949 { ac_try='test -z "$ac_c_werror_flag"
96950 || test ! -s conftest.err'
96951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96952 (eval $ac_try) 2>&5
96953 ac_status=$?
96954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96955 (exit $ac_status); }; } &&
96956 { ac_try='test -s conftest$ac_exeext'
96957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96958 (eval $ac_try) 2>&5
96959 ac_status=$?
96960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96961 (exit $ac_status); }; }; then
96962 eval "$as_ac_var=yes"
96963 else
96964 echo "$as_me: failed program was:" >&5
96965 sed 's/^/| /' conftest.$ac_ext >&5
96967 eval "$as_ac_var=no"
96969 rm -f conftest.err conftest.$ac_objext \
96970 conftest$ac_exeext conftest.$ac_ext
96972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96974 if test `eval echo '${'$as_ac_var'}'` = yes; then
96975 cat >>confdefs.h <<_ACEOF
96976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96977 _ACEOF
96980 done
96990 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96991 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96992 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96993 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96994 echo $ECHO_N "(cached) $ECHO_C" >&6
96995 else
96999 ac_ext=cc
97000 ac_cpp='$CXXCPP $CPPFLAGS'
97001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97005 cat >conftest.$ac_ext <<_ACEOF
97006 /* confdefs.h. */
97007 _ACEOF
97008 cat confdefs.h >>conftest.$ac_ext
97009 cat >>conftest.$ac_ext <<_ACEOF
97010 /* end confdefs.h. */
97011 #include <math.h>
97012 #ifdef HAVE_IEEEFP_H
97013 #include <ieeefp.h>
97014 #endif
97017 main ()
97019 sqrtf(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_sqrtf_use=yes
97047 else
97048 echo "$as_me: failed program was:" >&5
97049 sed 's/^/| /' conftest.$ac_ext >&5
97051 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
97065 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97067 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97069 for ac_func in sqrtf
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
97175 else
97177 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97178 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97179 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97180 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97181 echo $ECHO_N "(cached) $ECHO_C" >&6
97182 else
97186 ac_ext=cc
97187 ac_cpp='$CXXCPP $CPPFLAGS'
97188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97192 cat >conftest.$ac_ext <<_ACEOF
97193 /* confdefs.h. */
97194 _ACEOF
97195 cat confdefs.h >>conftest.$ac_ext
97196 cat >>conftest.$ac_ext <<_ACEOF
97197 /* end confdefs.h. */
97198 #include <math.h>
97199 #ifdef HAVE_IEEEFP_H
97200 #include <ieeefp.h>
97201 #endif
97204 main ()
97206 _sqrtf(0);
97208 return 0;
97210 _ACEOF
97211 rm -f conftest.$ac_objext
97212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97213 (eval $ac_compile) 2>conftest.er1
97214 ac_status=$?
97215 grep -v '^ *+' conftest.er1 >conftest.err
97216 rm -f conftest.er1
97217 cat conftest.err >&5
97218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97219 (exit $ac_status); } &&
97220 { ac_try='test -z "$ac_cxx_werror_flag"
97221 || test ! -s conftest.err'
97222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97223 (eval $ac_try) 2>&5
97224 ac_status=$?
97225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97226 (exit $ac_status); }; } &&
97227 { ac_try='test -s conftest.$ac_objext'
97228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97229 (eval $ac_try) 2>&5
97230 ac_status=$?
97231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97232 (exit $ac_status); }; }; then
97233 glibcxx_cv_func__sqrtf_use=yes
97234 else
97235 echo "$as_me: failed program was:" >&5
97236 sed 's/^/| /' conftest.$ac_ext >&5
97238 glibcxx_cv_func__sqrtf_use=no
97240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97241 ac_ext=c
97242 ac_cpp='$CPP $CPPFLAGS'
97243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97252 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97254 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97256 for ac_func in _sqrtf
97258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97259 echo "$as_me:$LINENO: checking for $ac_func" >&5
97260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97261 if eval "test \"\${$as_ac_var+set}\" = set"; then
97262 echo $ECHO_N "(cached) $ECHO_C" >&6
97263 else
97264 if test x$gcc_no_link = xyes; then
97265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97267 { (exit 1); exit 1; }; }
97269 cat >conftest.$ac_ext <<_ACEOF
97270 /* confdefs.h. */
97271 _ACEOF
97272 cat confdefs.h >>conftest.$ac_ext
97273 cat >>conftest.$ac_ext <<_ACEOF
97274 /* end confdefs.h. */
97275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97277 #define $ac_func innocuous_$ac_func
97279 /* System header to define __stub macros and hopefully few prototypes,
97280 which can conflict with char $ac_func (); below.
97281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97282 <limits.h> exists even on freestanding compilers. */
97284 #ifdef __STDC__
97285 # include <limits.h>
97286 #else
97287 # include <assert.h>
97288 #endif
97290 #undef $ac_func
97292 /* Override any gcc2 internal prototype to avoid an error. */
97293 #ifdef __cplusplus
97294 extern "C"
97296 #endif
97297 /* We use char because int might match the return type of a gcc2
97298 builtin and then its argument prototype would still apply. */
97299 char $ac_func ();
97300 /* The GNU C library defines this for functions which it implements
97301 to always fail with ENOSYS. Some functions are actually named
97302 something starting with __ and the normal name is an alias. */
97303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97304 choke me
97305 #else
97306 char (*f) () = $ac_func;
97307 #endif
97308 #ifdef __cplusplus
97310 #endif
97313 main ()
97315 return f != $ac_func;
97317 return 0;
97319 _ACEOF
97320 rm -f conftest.$ac_objext conftest$ac_exeext
97321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97322 (eval $ac_link) 2>conftest.er1
97323 ac_status=$?
97324 grep -v '^ *+' conftest.er1 >conftest.err
97325 rm -f conftest.er1
97326 cat conftest.err >&5
97327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97328 (exit $ac_status); } &&
97329 { ac_try='test -z "$ac_c_werror_flag"
97330 || test ! -s conftest.err'
97331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97332 (eval $ac_try) 2>&5
97333 ac_status=$?
97334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97335 (exit $ac_status); }; } &&
97336 { ac_try='test -s conftest$ac_exeext'
97337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97338 (eval $ac_try) 2>&5
97339 ac_status=$?
97340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97341 (exit $ac_status); }; }; then
97342 eval "$as_ac_var=yes"
97343 else
97344 echo "$as_me: failed program was:" >&5
97345 sed 's/^/| /' conftest.$ac_ext >&5
97347 eval "$as_ac_var=no"
97349 rm -f conftest.err conftest.$ac_objext \
97350 conftest$ac_exeext conftest.$ac_ext
97352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97354 if test `eval echo '${'$as_ac_var'}'` = yes; then
97355 cat >>confdefs.h <<_ACEOF
97356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97357 _ACEOF
97360 done
97370 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97371 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97372 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97373 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97374 echo $ECHO_N "(cached) $ECHO_C" >&6
97375 else
97379 ac_ext=cc
97380 ac_cpp='$CXXCPP $CPPFLAGS'
97381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97385 cat >conftest.$ac_ext <<_ACEOF
97386 /* confdefs.h. */
97387 _ACEOF
97388 cat confdefs.h >>conftest.$ac_ext
97389 cat >>conftest.$ac_ext <<_ACEOF
97390 /* end confdefs.h. */
97391 #include <math.h>
97393 main ()
97395 sincosf(0, 0, 0);
97397 return 0;
97399 _ACEOF
97400 rm -f conftest.$ac_objext
97401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97402 (eval $ac_compile) 2>conftest.er1
97403 ac_status=$?
97404 grep -v '^ *+' conftest.er1 >conftest.err
97405 rm -f conftest.er1
97406 cat conftest.err >&5
97407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97408 (exit $ac_status); } &&
97409 { ac_try='test -z "$ac_cxx_werror_flag"
97410 || test ! -s conftest.err'
97411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97412 (eval $ac_try) 2>&5
97413 ac_status=$?
97414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97415 (exit $ac_status); }; } &&
97416 { ac_try='test -s conftest.$ac_objext'
97417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97418 (eval $ac_try) 2>&5
97419 ac_status=$?
97420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97421 (exit $ac_status); }; }; then
97422 glibcxx_cv_func_sincosf_use=yes
97423 else
97424 echo "$as_me: failed program was:" >&5
97425 sed 's/^/| /' conftest.$ac_ext >&5
97427 glibcxx_cv_func_sincosf_use=no
97429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97430 ac_ext=c
97431 ac_cpp='$CPP $CPPFLAGS'
97432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97441 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97443 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97445 for ac_func in sincosf
97447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97448 echo "$as_me:$LINENO: checking for $ac_func" >&5
97449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97450 if eval "test \"\${$as_ac_var+set}\" = set"; then
97451 echo $ECHO_N "(cached) $ECHO_C" >&6
97452 else
97453 if test x$gcc_no_link = xyes; then
97454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97456 { (exit 1); exit 1; }; }
97458 cat >conftest.$ac_ext <<_ACEOF
97459 /* confdefs.h. */
97460 _ACEOF
97461 cat confdefs.h >>conftest.$ac_ext
97462 cat >>conftest.$ac_ext <<_ACEOF
97463 /* end confdefs.h. */
97464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97466 #define $ac_func innocuous_$ac_func
97468 /* System header to define __stub macros and hopefully few prototypes,
97469 which can conflict with char $ac_func (); below.
97470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97471 <limits.h> exists even on freestanding compilers. */
97473 #ifdef __STDC__
97474 # include <limits.h>
97475 #else
97476 # include <assert.h>
97477 #endif
97479 #undef $ac_func
97481 /* Override any gcc2 internal prototype to avoid an error. */
97482 #ifdef __cplusplus
97483 extern "C"
97485 #endif
97486 /* We use char because int might match the return type of a gcc2
97487 builtin and then its argument prototype would still apply. */
97488 char $ac_func ();
97489 /* The GNU C library defines this for functions which it implements
97490 to always fail with ENOSYS. Some functions are actually named
97491 something starting with __ and the normal name is an alias. */
97492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97493 choke me
97494 #else
97495 char (*f) () = $ac_func;
97496 #endif
97497 #ifdef __cplusplus
97499 #endif
97502 main ()
97504 return f != $ac_func;
97506 return 0;
97508 _ACEOF
97509 rm -f conftest.$ac_objext conftest$ac_exeext
97510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97511 (eval $ac_link) 2>conftest.er1
97512 ac_status=$?
97513 grep -v '^ *+' conftest.er1 >conftest.err
97514 rm -f conftest.er1
97515 cat conftest.err >&5
97516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97517 (exit $ac_status); } &&
97518 { ac_try='test -z "$ac_c_werror_flag"
97519 || test ! -s conftest.err'
97520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97521 (eval $ac_try) 2>&5
97522 ac_status=$?
97523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97524 (exit $ac_status); }; } &&
97525 { ac_try='test -s conftest$ac_exeext'
97526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97527 (eval $ac_try) 2>&5
97528 ac_status=$?
97529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97530 (exit $ac_status); }; }; then
97531 eval "$as_ac_var=yes"
97532 else
97533 echo "$as_me: failed program was:" >&5
97534 sed 's/^/| /' conftest.$ac_ext >&5
97536 eval "$as_ac_var=no"
97538 rm -f conftest.err conftest.$ac_objext \
97539 conftest$ac_exeext conftest.$ac_ext
97541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97543 if test `eval echo '${'$as_ac_var'}'` = yes; then
97544 cat >>confdefs.h <<_ACEOF
97545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97546 _ACEOF
97549 done
97551 else
97553 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97554 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97555 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97556 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97557 echo $ECHO_N "(cached) $ECHO_C" >&6
97558 else
97562 ac_ext=cc
97563 ac_cpp='$CXXCPP $CPPFLAGS'
97564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97568 cat >conftest.$ac_ext <<_ACEOF
97569 /* confdefs.h. */
97570 _ACEOF
97571 cat confdefs.h >>conftest.$ac_ext
97572 cat >>conftest.$ac_ext <<_ACEOF
97573 /* end confdefs.h. */
97574 #include <math.h>
97576 main ()
97578 _sincosf(0, 0, 0);
97580 return 0;
97582 _ACEOF
97583 rm -f conftest.$ac_objext
97584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97585 (eval $ac_compile) 2>conftest.er1
97586 ac_status=$?
97587 grep -v '^ *+' conftest.er1 >conftest.err
97588 rm -f conftest.er1
97589 cat conftest.err >&5
97590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97591 (exit $ac_status); } &&
97592 { ac_try='test -z "$ac_cxx_werror_flag"
97593 || test ! -s conftest.err'
97594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97595 (eval $ac_try) 2>&5
97596 ac_status=$?
97597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97598 (exit $ac_status); }; } &&
97599 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
97605 glibcxx_cv_func__sincosf_use=yes
97606 else
97607 echo "$as_me: failed program was:" >&5
97608 sed 's/^/| /' conftest.$ac_ext >&5
97610 glibcxx_cv_func__sincosf_use=no
97612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97613 ac_ext=c
97614 ac_cpp='$CPP $CPPFLAGS'
97615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97624 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97626 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97628 for ac_func in _sincosf
97630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97631 echo "$as_me:$LINENO: checking for $ac_func" >&5
97632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97633 if eval "test \"\${$as_ac_var+set}\" = set"; then
97634 echo $ECHO_N "(cached) $ECHO_C" >&6
97635 else
97636 if test x$gcc_no_link = xyes; then
97637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97639 { (exit 1); exit 1; }; }
97641 cat >conftest.$ac_ext <<_ACEOF
97642 /* confdefs.h. */
97643 _ACEOF
97644 cat confdefs.h >>conftest.$ac_ext
97645 cat >>conftest.$ac_ext <<_ACEOF
97646 /* end confdefs.h. */
97647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97649 #define $ac_func innocuous_$ac_func
97651 /* System header to define __stub macros and hopefully few prototypes,
97652 which can conflict with char $ac_func (); below.
97653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97654 <limits.h> exists even on freestanding compilers. */
97656 #ifdef __STDC__
97657 # include <limits.h>
97658 #else
97659 # include <assert.h>
97660 #endif
97662 #undef $ac_func
97664 /* Override any gcc2 internal prototype to avoid an error. */
97665 #ifdef __cplusplus
97666 extern "C"
97668 #endif
97669 /* We use char because int might match the return type of a gcc2
97670 builtin and then its argument prototype would still apply. */
97671 char $ac_func ();
97672 /* The GNU C library defines this for functions which it implements
97673 to always fail with ENOSYS. Some functions are actually named
97674 something starting with __ and the normal name is an alias. */
97675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97676 choke me
97677 #else
97678 char (*f) () = $ac_func;
97679 #endif
97680 #ifdef __cplusplus
97682 #endif
97685 main ()
97687 return f != $ac_func;
97689 return 0;
97691 _ACEOF
97692 rm -f conftest.$ac_objext conftest$ac_exeext
97693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97694 (eval $ac_link) 2>conftest.er1
97695 ac_status=$?
97696 grep -v '^ *+' conftest.er1 >conftest.err
97697 rm -f conftest.er1
97698 cat conftest.err >&5
97699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97700 (exit $ac_status); } &&
97701 { ac_try='test -z "$ac_c_werror_flag"
97702 || test ! -s conftest.err'
97703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97704 (eval $ac_try) 2>&5
97705 ac_status=$?
97706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97707 (exit $ac_status); }; } &&
97708 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
97714 eval "$as_ac_var=yes"
97715 else
97716 echo "$as_me: failed program was:" >&5
97717 sed 's/^/| /' conftest.$ac_ext >&5
97719 eval "$as_ac_var=no"
97721 rm -f conftest.err conftest.$ac_objext \
97722 conftest$ac_exeext conftest.$ac_ext
97724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97726 if test `eval echo '${'$as_ac_var'}'` = yes; then
97727 cat >>confdefs.h <<_ACEOF
97728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97729 _ACEOF
97732 done
97742 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97743 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97744 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97745 if test "${glibcxx_cv_func_finitef_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 finitef(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_finitef_use=yes
97799 else
97800 echo "$as_me: failed program was:" >&5
97801 sed 's/^/| /' conftest.$ac_ext >&5
97803 glibcxx_cv_func_finitef_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_finitef_use" >&5
97817 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97819 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97821 for ac_func in finitef
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
97927 else
97929 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97930 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97931 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97932 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97933 echo $ECHO_N "(cached) $ECHO_C" >&6
97934 else
97938 ac_ext=cc
97939 ac_cpp='$CXXCPP $CPPFLAGS'
97940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97944 cat >conftest.$ac_ext <<_ACEOF
97945 /* confdefs.h. */
97946 _ACEOF
97947 cat confdefs.h >>conftest.$ac_ext
97948 cat >>conftest.$ac_ext <<_ACEOF
97949 /* end confdefs.h. */
97950 #include <math.h>
97951 #ifdef HAVE_IEEEFP_H
97952 #include <ieeefp.h>
97953 #endif
97956 main ()
97958 _finitef(0);
97960 return 0;
97962 _ACEOF
97963 rm -f conftest.$ac_objext
97964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97965 (eval $ac_compile) 2>conftest.er1
97966 ac_status=$?
97967 grep -v '^ *+' conftest.er1 >conftest.err
97968 rm -f conftest.er1
97969 cat conftest.err >&5
97970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97971 (exit $ac_status); } &&
97972 { ac_try='test -z "$ac_cxx_werror_flag"
97973 || test ! -s conftest.err'
97974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97975 (eval $ac_try) 2>&5
97976 ac_status=$?
97977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97978 (exit $ac_status); }; } &&
97979 { ac_try='test -s conftest.$ac_objext'
97980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97981 (eval $ac_try) 2>&5
97982 ac_status=$?
97983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97984 (exit $ac_status); }; }; then
97985 glibcxx_cv_func__finitef_use=yes
97986 else
97987 echo "$as_me: failed program was:" >&5
97988 sed 's/^/| /' conftest.$ac_ext >&5
97990 glibcxx_cv_func__finitef_use=no
97992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97993 ac_ext=c
97994 ac_cpp='$CPP $CPPFLAGS'
97995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98004 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98006 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98008 for ac_func in _finitef
98010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98011 echo "$as_me:$LINENO: checking for $ac_func" >&5
98012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98013 if eval "test \"\${$as_ac_var+set}\" = set"; then
98014 echo $ECHO_N "(cached) $ECHO_C" >&6
98015 else
98016 if test x$gcc_no_link = xyes; then
98017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98019 { (exit 1); exit 1; }; }
98021 cat >conftest.$ac_ext <<_ACEOF
98022 /* confdefs.h. */
98023 _ACEOF
98024 cat confdefs.h >>conftest.$ac_ext
98025 cat >>conftest.$ac_ext <<_ACEOF
98026 /* end confdefs.h. */
98027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98029 #define $ac_func innocuous_$ac_func
98031 /* System header to define __stub macros and hopefully few prototypes,
98032 which can conflict with char $ac_func (); below.
98033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98034 <limits.h> exists even on freestanding compilers. */
98036 #ifdef __STDC__
98037 # include <limits.h>
98038 #else
98039 # include <assert.h>
98040 #endif
98042 #undef $ac_func
98044 /* Override any gcc2 internal prototype to avoid an error. */
98045 #ifdef __cplusplus
98046 extern "C"
98048 #endif
98049 /* We use char because int might match the return type of a gcc2
98050 builtin and then its argument prototype would still apply. */
98051 char $ac_func ();
98052 /* The GNU C library defines this for functions which it implements
98053 to always fail with ENOSYS. Some functions are actually named
98054 something starting with __ and the normal name is an alias. */
98055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98056 choke me
98057 #else
98058 char (*f) () = $ac_func;
98059 #endif
98060 #ifdef __cplusplus
98062 #endif
98065 main ()
98067 return f != $ac_func;
98069 return 0;
98071 _ACEOF
98072 rm -f conftest.$ac_objext conftest$ac_exeext
98073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98074 (eval $ac_link) 2>conftest.er1
98075 ac_status=$?
98076 grep -v '^ *+' conftest.er1 >conftest.err
98077 rm -f conftest.er1
98078 cat conftest.err >&5
98079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98080 (exit $ac_status); } &&
98081 { ac_try='test -z "$ac_c_werror_flag"
98082 || test ! -s conftest.err'
98083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98084 (eval $ac_try) 2>&5
98085 ac_status=$?
98086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98087 (exit $ac_status); }; } &&
98088 { ac_try='test -s conftest$ac_exeext'
98089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98090 (eval $ac_try) 2>&5
98091 ac_status=$?
98092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98093 (exit $ac_status); }; }; then
98094 eval "$as_ac_var=yes"
98095 else
98096 echo "$as_me: failed program was:" >&5
98097 sed 's/^/| /' conftest.$ac_ext >&5
98099 eval "$as_ac_var=no"
98101 rm -f conftest.err conftest.$ac_objext \
98102 conftest$ac_exeext conftest.$ac_ext
98104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98106 if test `eval echo '${'$as_ac_var'}'` = yes; then
98107 cat >>confdefs.h <<_ACEOF
98108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98109 _ACEOF
98112 done
98122 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98123 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98124 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98125 echo $ECHO_N "(cached) $ECHO_C" >&6
98126 else
98130 ac_ext=cc
98131 ac_cpp='$CXXCPP $CPPFLAGS'
98132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98136 cat >conftest.$ac_ext <<_ACEOF
98137 /* confdefs.h. */
98138 _ACEOF
98139 cat confdefs.h >>conftest.$ac_ext
98140 cat >>conftest.$ac_ext <<_ACEOF
98141 /* end confdefs.h. */
98142 #include <math.h>
98144 main ()
98146 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98148 return 0;
98150 _ACEOF
98151 rm -f conftest.$ac_objext
98152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98153 (eval $ac_compile) 2>conftest.er1
98154 ac_status=$?
98155 grep -v '^ *+' conftest.er1 >conftest.err
98156 rm -f conftest.er1
98157 cat conftest.err >&5
98158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98159 (exit $ac_status); } &&
98160 { ac_try='test -z "$ac_cxx_werror_flag"
98161 || test ! -s conftest.err'
98162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98163 (eval $ac_try) 2>&5
98164 ac_status=$?
98165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98166 (exit $ac_status); }; } &&
98167 { ac_try='test -s conftest.$ac_objext'
98168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98169 (eval $ac_try) 2>&5
98170 ac_status=$?
98171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98172 (exit $ac_status); }; }; then
98173 glibcxx_cv_func_long_double_trig_use=yes
98174 else
98175 echo "$as_me: failed program was:" >&5
98176 sed 's/^/| /' conftest.$ac_ext >&5
98178 glibcxx_cv_func_long_double_trig_use=no
98180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98181 ac_ext=c
98182 ac_cpp='$CPP $CPPFLAGS'
98183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98190 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98191 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98201 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98204 echo "$as_me:$LINENO: checking for $ac_func" >&5
98205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98206 if eval "test \"\${$as_ac_var+set}\" = set"; then
98207 echo $ECHO_N "(cached) $ECHO_C" >&6
98208 else
98209 if test x$gcc_no_link = xyes; then
98210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98212 { (exit 1); exit 1; }; }
98214 cat >conftest.$ac_ext <<_ACEOF
98215 /* confdefs.h. */
98216 _ACEOF
98217 cat confdefs.h >>conftest.$ac_ext
98218 cat >>conftest.$ac_ext <<_ACEOF
98219 /* end confdefs.h. */
98220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98222 #define $ac_func innocuous_$ac_func
98224 /* System header to define __stub macros and hopefully few prototypes,
98225 which can conflict with char $ac_func (); below.
98226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98227 <limits.h> exists even on freestanding compilers. */
98229 #ifdef __STDC__
98230 # include <limits.h>
98231 #else
98232 # include <assert.h>
98233 #endif
98235 #undef $ac_func
98237 /* Override any gcc2 internal prototype to avoid an error. */
98238 #ifdef __cplusplus
98239 extern "C"
98241 #endif
98242 /* We use char because int might match the return type of a gcc2
98243 builtin and then its argument prototype would still apply. */
98244 char $ac_func ();
98245 /* The GNU C library defines this for functions which it implements
98246 to always fail with ENOSYS. Some functions are actually named
98247 something starting with __ and the normal name is an alias. */
98248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98249 choke me
98250 #else
98251 char (*f) () = $ac_func;
98252 #endif
98253 #ifdef __cplusplus
98255 #endif
98258 main ()
98260 return f != $ac_func;
98262 return 0;
98264 _ACEOF
98265 rm -f conftest.$ac_objext conftest$ac_exeext
98266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98267 (eval $ac_link) 2>conftest.er1
98268 ac_status=$?
98269 grep -v '^ *+' conftest.er1 >conftest.err
98270 rm -f conftest.er1
98271 cat conftest.err >&5
98272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98273 (exit $ac_status); } &&
98274 { ac_try='test -z "$ac_c_werror_flag"
98275 || test ! -s conftest.err'
98276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98277 (eval $ac_try) 2>&5
98278 ac_status=$?
98279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98280 (exit $ac_status); }; } &&
98281 { ac_try='test -s conftest$ac_exeext'
98282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98283 (eval $ac_try) 2>&5
98284 ac_status=$?
98285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98286 (exit $ac_status); }; }; then
98287 eval "$as_ac_var=yes"
98288 else
98289 echo "$as_me: failed program was:" >&5
98290 sed 's/^/| /' conftest.$ac_ext >&5
98292 eval "$as_ac_var=no"
98294 rm -f conftest.err conftest.$ac_objext \
98295 conftest$ac_exeext conftest.$ac_ext
98297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98299 if test `eval echo '${'$as_ac_var'}'` = yes; then
98300 cat >>confdefs.h <<_ACEOF
98301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98302 _ACEOF
98305 done
98307 else
98308 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98309 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98310 if test "${glibcxx_cv_func__long_double_trig_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>
98330 main ()
98332 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98334 return 0;
98336 _ACEOF
98337 rm -f conftest.$ac_objext
98338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98339 (eval $ac_compile) 2>conftest.er1
98340 ac_status=$?
98341 grep -v '^ *+' conftest.er1 >conftest.err
98342 rm -f conftest.er1
98343 cat conftest.err >&5
98344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98345 (exit $ac_status); } &&
98346 { ac_try='test -z "$ac_cxx_werror_flag"
98347 || test ! -s conftest.err'
98348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98349 (eval $ac_try) 2>&5
98350 ac_status=$?
98351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98352 (exit $ac_status); }; } &&
98353 { ac_try='test -s conftest.$ac_objext'
98354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98355 (eval $ac_try) 2>&5
98356 ac_status=$?
98357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98358 (exit $ac_status); }; }; then
98359 glibcxx_cv_func__long_double_trig_use=yes
98360 else
98361 echo "$as_me: failed program was:" >&5
98362 sed 's/^/| /' conftest.$ac_ext >&5
98364 glibcxx_cv_func__long_double_trig_use=no
98366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98367 ac_ext=c
98368 ac_cpp='$CPP $CPPFLAGS'
98369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98376 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98377 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98387 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98390 echo "$as_me:$LINENO: checking for $ac_func" >&5
98391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98392 if eval "test \"\${$as_ac_var+set}\" = set"; then
98393 echo $ECHO_N "(cached) $ECHO_C" >&6
98394 else
98395 if test x$gcc_no_link = xyes; then
98396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98398 { (exit 1); exit 1; }; }
98400 cat >conftest.$ac_ext <<_ACEOF
98401 /* confdefs.h. */
98402 _ACEOF
98403 cat confdefs.h >>conftest.$ac_ext
98404 cat >>conftest.$ac_ext <<_ACEOF
98405 /* end confdefs.h. */
98406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98408 #define $ac_func innocuous_$ac_func
98410 /* System header to define __stub macros and hopefully few prototypes,
98411 which can conflict with char $ac_func (); below.
98412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98413 <limits.h> exists even on freestanding compilers. */
98415 #ifdef __STDC__
98416 # include <limits.h>
98417 #else
98418 # include <assert.h>
98419 #endif
98421 #undef $ac_func
98423 /* Override any gcc2 internal prototype to avoid an error. */
98424 #ifdef __cplusplus
98425 extern "C"
98427 #endif
98428 /* We use char because int might match the return type of a gcc2
98429 builtin and then its argument prototype would still apply. */
98430 char $ac_func ();
98431 /* The GNU C library defines this for functions which it implements
98432 to always fail with ENOSYS. Some functions are actually named
98433 something starting with __ and the normal name is an alias. */
98434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98435 choke me
98436 #else
98437 char (*f) () = $ac_func;
98438 #endif
98439 #ifdef __cplusplus
98441 #endif
98444 main ()
98446 return f != $ac_func;
98448 return 0;
98450 _ACEOF
98451 rm -f conftest.$ac_objext conftest$ac_exeext
98452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98453 (eval $ac_link) 2>conftest.er1
98454 ac_status=$?
98455 grep -v '^ *+' conftest.er1 >conftest.err
98456 rm -f conftest.er1
98457 cat conftest.err >&5
98458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98459 (exit $ac_status); } &&
98460 { ac_try='test -z "$ac_c_werror_flag"
98461 || test ! -s conftest.err'
98462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98463 (eval $ac_try) 2>&5
98464 ac_status=$?
98465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98466 (exit $ac_status); }; } &&
98467 { ac_try='test -s conftest$ac_exeext'
98468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98469 (eval $ac_try) 2>&5
98470 ac_status=$?
98471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98472 (exit $ac_status); }; }; then
98473 eval "$as_ac_var=yes"
98474 else
98475 echo "$as_me: failed program was:" >&5
98476 sed 's/^/| /' conftest.$ac_ext >&5
98478 eval "$as_ac_var=no"
98480 rm -f conftest.err conftest.$ac_objext \
98481 conftest$ac_exeext conftest.$ac_ext
98483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98485 if test `eval echo '${'$as_ac_var'}'` = yes; then
98486 cat >>confdefs.h <<_ACEOF
98487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98488 _ACEOF
98491 done
98509 echo "$as_me:$LINENO: checking for long double round functions" >&5
98510 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98511 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98512 echo $ECHO_N "(cached) $ECHO_C" >&6
98513 else
98517 ac_ext=cc
98518 ac_cpp='$CXXCPP $CPPFLAGS'
98519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98523 cat >conftest.$ac_ext <<_ACEOF
98524 /* confdefs.h. */
98525 _ACEOF
98526 cat confdefs.h >>conftest.$ac_ext
98527 cat >>conftest.$ac_ext <<_ACEOF
98528 /* end confdefs.h. */
98529 #include <math.h>
98531 main ()
98533 ceill (0); floorl (0);
98535 return 0;
98537 _ACEOF
98538 rm -f conftest.$ac_objext
98539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98540 (eval $ac_compile) 2>conftest.er1
98541 ac_status=$?
98542 grep -v '^ *+' conftest.er1 >conftest.err
98543 rm -f conftest.er1
98544 cat conftest.err >&5
98545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98546 (exit $ac_status); } &&
98547 { ac_try='test -z "$ac_cxx_werror_flag"
98548 || test ! -s conftest.err'
98549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98550 (eval $ac_try) 2>&5
98551 ac_status=$?
98552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98553 (exit $ac_status); }; } &&
98554 { ac_try='test -s conftest.$ac_objext'
98555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98556 (eval $ac_try) 2>&5
98557 ac_status=$?
98558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98559 (exit $ac_status); }; }; then
98560 glibcxx_cv_func_long_double_round_use=yes
98561 else
98562 echo "$as_me: failed program was:" >&5
98563 sed 's/^/| /' conftest.$ac_ext >&5
98565 glibcxx_cv_func_long_double_round_use=no
98567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98568 ac_ext=c
98569 ac_cpp='$CPP $CPPFLAGS'
98570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98577 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98578 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98581 for ac_func in ceill floorl
98583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98584 echo "$as_me:$LINENO: checking for $ac_func" >&5
98585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98586 if eval "test \"\${$as_ac_var+set}\" = set"; then
98587 echo $ECHO_N "(cached) $ECHO_C" >&6
98588 else
98589 if test x$gcc_no_link = xyes; then
98590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98592 { (exit 1); exit 1; }; }
98594 cat >conftest.$ac_ext <<_ACEOF
98595 /* confdefs.h. */
98596 _ACEOF
98597 cat confdefs.h >>conftest.$ac_ext
98598 cat >>conftest.$ac_ext <<_ACEOF
98599 /* end confdefs.h. */
98600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98602 #define $ac_func innocuous_$ac_func
98604 /* System header to define __stub macros and hopefully few prototypes,
98605 which can conflict with char $ac_func (); below.
98606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98607 <limits.h> exists even on freestanding compilers. */
98609 #ifdef __STDC__
98610 # include <limits.h>
98611 #else
98612 # include <assert.h>
98613 #endif
98615 #undef $ac_func
98617 /* Override any gcc2 internal prototype to avoid an error. */
98618 #ifdef __cplusplus
98619 extern "C"
98621 #endif
98622 /* We use char because int might match the return type of a gcc2
98623 builtin and then its argument prototype would still apply. */
98624 char $ac_func ();
98625 /* The GNU C library defines this for functions which it implements
98626 to always fail with ENOSYS. Some functions are actually named
98627 something starting with __ and the normal name is an alias. */
98628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98629 choke me
98630 #else
98631 char (*f) () = $ac_func;
98632 #endif
98633 #ifdef __cplusplus
98635 #endif
98638 main ()
98640 return f != $ac_func;
98642 return 0;
98644 _ACEOF
98645 rm -f conftest.$ac_objext conftest$ac_exeext
98646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98647 (eval $ac_link) 2>conftest.er1
98648 ac_status=$?
98649 grep -v '^ *+' conftest.er1 >conftest.err
98650 rm -f conftest.er1
98651 cat conftest.err >&5
98652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98653 (exit $ac_status); } &&
98654 { ac_try='test -z "$ac_c_werror_flag"
98655 || test ! -s conftest.err'
98656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98657 (eval $ac_try) 2>&5
98658 ac_status=$?
98659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98660 (exit $ac_status); }; } &&
98661 { ac_try='test -s conftest$ac_exeext'
98662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98663 (eval $ac_try) 2>&5
98664 ac_status=$?
98665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98666 (exit $ac_status); }; }; then
98667 eval "$as_ac_var=yes"
98668 else
98669 echo "$as_me: failed program was:" >&5
98670 sed 's/^/| /' conftest.$ac_ext >&5
98672 eval "$as_ac_var=no"
98674 rm -f conftest.err conftest.$ac_objext \
98675 conftest$ac_exeext conftest.$ac_ext
98677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98679 if test `eval echo '${'$as_ac_var'}'` = yes; then
98680 cat >>confdefs.h <<_ACEOF
98681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98682 _ACEOF
98685 done
98687 else
98688 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98689 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98690 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98691 echo $ECHO_N "(cached) $ECHO_C" >&6
98692 else
98696 ac_ext=cc
98697 ac_cpp='$CXXCPP $CPPFLAGS'
98698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98702 cat >conftest.$ac_ext <<_ACEOF
98703 /* confdefs.h. */
98704 _ACEOF
98705 cat confdefs.h >>conftest.$ac_ext
98706 cat >>conftest.$ac_ext <<_ACEOF
98707 /* end confdefs.h. */
98708 #include <math.h>
98710 main ()
98712 _ceill (0); _floorl (0);
98714 return 0;
98716 _ACEOF
98717 rm -f conftest.$ac_objext
98718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98719 (eval $ac_compile) 2>conftest.er1
98720 ac_status=$?
98721 grep -v '^ *+' conftest.er1 >conftest.err
98722 rm -f conftest.er1
98723 cat conftest.err >&5
98724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98725 (exit $ac_status); } &&
98726 { ac_try='test -z "$ac_cxx_werror_flag"
98727 || test ! -s conftest.err'
98728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98729 (eval $ac_try) 2>&5
98730 ac_status=$?
98731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98732 (exit $ac_status); }; } &&
98733 { ac_try='test -s conftest.$ac_objext'
98734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98735 (eval $ac_try) 2>&5
98736 ac_status=$?
98737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98738 (exit $ac_status); }; }; then
98739 glibcxx_cv_func__long_double_round_use=yes
98740 else
98741 echo "$as_me: failed program was:" >&5
98742 sed 's/^/| /' conftest.$ac_ext >&5
98744 glibcxx_cv_func__long_double_round_use=no
98746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98747 ac_ext=c
98748 ac_cpp='$CPP $CPPFLAGS'
98749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98755 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98756 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98757 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98760 for ac_func in _ceill _floorl
98762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98763 echo "$as_me:$LINENO: checking for $ac_func" >&5
98764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98765 if eval "test \"\${$as_ac_var+set}\" = set"; then
98766 echo $ECHO_N "(cached) $ECHO_C" >&6
98767 else
98768 if test x$gcc_no_link = xyes; then
98769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98771 { (exit 1); exit 1; }; }
98773 cat >conftest.$ac_ext <<_ACEOF
98774 /* confdefs.h. */
98775 _ACEOF
98776 cat confdefs.h >>conftest.$ac_ext
98777 cat >>conftest.$ac_ext <<_ACEOF
98778 /* end confdefs.h. */
98779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98781 #define $ac_func innocuous_$ac_func
98783 /* System header to define __stub macros and hopefully few prototypes,
98784 which can conflict with char $ac_func (); below.
98785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98786 <limits.h> exists even on freestanding compilers. */
98788 #ifdef __STDC__
98789 # include <limits.h>
98790 #else
98791 # include <assert.h>
98792 #endif
98794 #undef $ac_func
98796 /* Override any gcc2 internal prototype to avoid an error. */
98797 #ifdef __cplusplus
98798 extern "C"
98800 #endif
98801 /* We use char because int might match the return type of a gcc2
98802 builtin and then its argument prototype would still apply. */
98803 char $ac_func ();
98804 /* The GNU C library defines this for functions which it implements
98805 to always fail with ENOSYS. Some functions are actually named
98806 something starting with __ and the normal name is an alias. */
98807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98808 choke me
98809 #else
98810 char (*f) () = $ac_func;
98811 #endif
98812 #ifdef __cplusplus
98814 #endif
98817 main ()
98819 return f != $ac_func;
98821 return 0;
98823 _ACEOF
98824 rm -f conftest.$ac_objext conftest$ac_exeext
98825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98826 (eval $ac_link) 2>conftest.er1
98827 ac_status=$?
98828 grep -v '^ *+' conftest.er1 >conftest.err
98829 rm -f conftest.er1
98830 cat conftest.err >&5
98831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98832 (exit $ac_status); } &&
98833 { ac_try='test -z "$ac_c_werror_flag"
98834 || test ! -s conftest.err'
98835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98836 (eval $ac_try) 2>&5
98837 ac_status=$?
98838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98839 (exit $ac_status); }; } &&
98840 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
98846 eval "$as_ac_var=yes"
98847 else
98848 echo "$as_me: failed program was:" >&5
98849 sed 's/^/| /' conftest.$ac_ext >&5
98851 eval "$as_ac_var=no"
98853 rm -f conftest.err conftest.$ac_objext \
98854 conftest$ac_exeext conftest.$ac_ext
98856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98858 if test `eval echo '${'$as_ac_var'}'` = yes; then
98859 cat >>confdefs.h <<_ACEOF
98860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98861 _ACEOF
98864 done
98876 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98877 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98878 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98879 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98880 echo $ECHO_N "(cached) $ECHO_C" >&6
98881 else
98885 ac_ext=cc
98886 ac_cpp='$CXXCPP $CPPFLAGS'
98887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98891 cat >conftest.$ac_ext <<_ACEOF
98892 /* confdefs.h. */
98893 _ACEOF
98894 cat confdefs.h >>conftest.$ac_ext
98895 cat >>conftest.$ac_ext <<_ACEOF
98896 /* end confdefs.h. */
98897 #include <math.h>
98898 #ifdef HAVE_IEEEFP_H
98899 #include <ieeefp.h>
98900 #endif
98903 main ()
98905 isnanl(0);
98907 return 0;
98909 _ACEOF
98910 rm -f conftest.$ac_objext
98911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98912 (eval $ac_compile) 2>conftest.er1
98913 ac_status=$?
98914 grep -v '^ *+' conftest.er1 >conftest.err
98915 rm -f conftest.er1
98916 cat conftest.err >&5
98917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98918 (exit $ac_status); } &&
98919 { ac_try='test -z "$ac_cxx_werror_flag"
98920 || test ! -s conftest.err'
98921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98922 (eval $ac_try) 2>&5
98923 ac_status=$?
98924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98925 (exit $ac_status); }; } &&
98926 { ac_try='test -s conftest.$ac_objext'
98927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98928 (eval $ac_try) 2>&5
98929 ac_status=$?
98930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98931 (exit $ac_status); }; }; then
98932 glibcxx_cv_func_isnanl_use=yes
98933 else
98934 echo "$as_me: failed program was:" >&5
98935 sed 's/^/| /' conftest.$ac_ext >&5
98937 glibcxx_cv_func_isnanl_use=no
98939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98940 ac_ext=c
98941 ac_cpp='$CPP $CPPFLAGS'
98942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98951 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98953 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98955 for ac_func in isnanl
98957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98958 echo "$as_me:$LINENO: checking for $ac_func" >&5
98959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98960 if eval "test \"\${$as_ac_var+set}\" = set"; then
98961 echo $ECHO_N "(cached) $ECHO_C" >&6
98962 else
98963 if test x$gcc_no_link = xyes; then
98964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98966 { (exit 1); exit 1; }; }
98968 cat >conftest.$ac_ext <<_ACEOF
98969 /* confdefs.h. */
98970 _ACEOF
98971 cat confdefs.h >>conftest.$ac_ext
98972 cat >>conftest.$ac_ext <<_ACEOF
98973 /* end confdefs.h. */
98974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98976 #define $ac_func innocuous_$ac_func
98978 /* System header to define __stub macros and hopefully few prototypes,
98979 which can conflict with char $ac_func (); below.
98980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98981 <limits.h> exists even on freestanding compilers. */
98983 #ifdef __STDC__
98984 # include <limits.h>
98985 #else
98986 # include <assert.h>
98987 #endif
98989 #undef $ac_func
98991 /* Override any gcc2 internal prototype to avoid an error. */
98992 #ifdef __cplusplus
98993 extern "C"
98995 #endif
98996 /* We use char because int might match the return type of a gcc2
98997 builtin and then its argument prototype would still apply. */
98998 char $ac_func ();
98999 /* The GNU C library defines this for functions which it implements
99000 to always fail with ENOSYS. Some functions are actually named
99001 something starting with __ and the normal name is an alias. */
99002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99003 choke me
99004 #else
99005 char (*f) () = $ac_func;
99006 #endif
99007 #ifdef __cplusplus
99009 #endif
99012 main ()
99014 return f != $ac_func;
99016 return 0;
99018 _ACEOF
99019 rm -f conftest.$ac_objext conftest$ac_exeext
99020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99021 (eval $ac_link) 2>conftest.er1
99022 ac_status=$?
99023 grep -v '^ *+' conftest.er1 >conftest.err
99024 rm -f conftest.er1
99025 cat conftest.err >&5
99026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99027 (exit $ac_status); } &&
99028 { ac_try='test -z "$ac_c_werror_flag"
99029 || test ! -s conftest.err'
99030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99031 (eval $ac_try) 2>&5
99032 ac_status=$?
99033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99034 (exit $ac_status); }; } &&
99035 { ac_try='test -s conftest$ac_exeext'
99036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99037 (eval $ac_try) 2>&5
99038 ac_status=$?
99039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99040 (exit $ac_status); }; }; then
99041 eval "$as_ac_var=yes"
99042 else
99043 echo "$as_me: failed program was:" >&5
99044 sed 's/^/| /' conftest.$ac_ext >&5
99046 eval "$as_ac_var=no"
99048 rm -f conftest.err conftest.$ac_objext \
99049 conftest$ac_exeext conftest.$ac_ext
99051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99053 if test `eval echo '${'$as_ac_var'}'` = yes; then
99054 cat >>confdefs.h <<_ACEOF
99055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99056 _ACEOF
99059 done
99061 else
99063 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99064 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99065 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99066 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99067 echo $ECHO_N "(cached) $ECHO_C" >&6
99068 else
99072 ac_ext=cc
99073 ac_cpp='$CXXCPP $CPPFLAGS'
99074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99078 cat >conftest.$ac_ext <<_ACEOF
99079 /* confdefs.h. */
99080 _ACEOF
99081 cat confdefs.h >>conftest.$ac_ext
99082 cat >>conftest.$ac_ext <<_ACEOF
99083 /* end confdefs.h. */
99084 #include <math.h>
99085 #ifdef HAVE_IEEEFP_H
99086 #include <ieeefp.h>
99087 #endif
99090 main ()
99092 _isnanl(0);
99094 return 0;
99096 _ACEOF
99097 rm -f conftest.$ac_objext
99098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99099 (eval $ac_compile) 2>conftest.er1
99100 ac_status=$?
99101 grep -v '^ *+' conftest.er1 >conftest.err
99102 rm -f conftest.er1
99103 cat conftest.err >&5
99104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99105 (exit $ac_status); } &&
99106 { ac_try='test -z "$ac_cxx_werror_flag"
99107 || test ! -s conftest.err'
99108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99109 (eval $ac_try) 2>&5
99110 ac_status=$?
99111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99112 (exit $ac_status); }; } &&
99113 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
99119 glibcxx_cv_func__isnanl_use=yes
99120 else
99121 echo "$as_me: failed program was:" >&5
99122 sed 's/^/| /' conftest.$ac_ext >&5
99124 glibcxx_cv_func__isnanl_use=no
99126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99127 ac_ext=c
99128 ac_cpp='$CPP $CPPFLAGS'
99129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99138 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99140 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99142 for ac_func in _isnanl
99144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99145 echo "$as_me:$LINENO: checking for $ac_func" >&5
99146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99147 if eval "test \"\${$as_ac_var+set}\" = set"; then
99148 echo $ECHO_N "(cached) $ECHO_C" >&6
99149 else
99150 if test x$gcc_no_link = xyes; then
99151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99153 { (exit 1); exit 1; }; }
99155 cat >conftest.$ac_ext <<_ACEOF
99156 /* confdefs.h. */
99157 _ACEOF
99158 cat confdefs.h >>conftest.$ac_ext
99159 cat >>conftest.$ac_ext <<_ACEOF
99160 /* end confdefs.h. */
99161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99163 #define $ac_func innocuous_$ac_func
99165 /* System header to define __stub macros and hopefully few prototypes,
99166 which can conflict with char $ac_func (); below.
99167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99168 <limits.h> exists even on freestanding compilers. */
99170 #ifdef __STDC__
99171 # include <limits.h>
99172 #else
99173 # include <assert.h>
99174 #endif
99176 #undef $ac_func
99178 /* Override any gcc2 internal prototype to avoid an error. */
99179 #ifdef __cplusplus
99180 extern "C"
99182 #endif
99183 /* We use char because int might match the return type of a gcc2
99184 builtin and then its argument prototype would still apply. */
99185 char $ac_func ();
99186 /* The GNU C library defines this for functions which it implements
99187 to always fail with ENOSYS. Some functions are actually named
99188 something starting with __ and the normal name is an alias. */
99189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99190 choke me
99191 #else
99192 char (*f) () = $ac_func;
99193 #endif
99194 #ifdef __cplusplus
99196 #endif
99199 main ()
99201 return f != $ac_func;
99203 return 0;
99205 _ACEOF
99206 rm -f conftest.$ac_objext conftest$ac_exeext
99207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99208 (eval $ac_link) 2>conftest.er1
99209 ac_status=$?
99210 grep -v '^ *+' conftest.er1 >conftest.err
99211 rm -f conftest.er1
99212 cat conftest.err >&5
99213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99214 (exit $ac_status); } &&
99215 { ac_try='test -z "$ac_c_werror_flag"
99216 || test ! -s conftest.err'
99217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99218 (eval $ac_try) 2>&5
99219 ac_status=$?
99220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99221 (exit $ac_status); }; } &&
99222 { ac_try='test -s conftest$ac_exeext'
99223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99224 (eval $ac_try) 2>&5
99225 ac_status=$?
99226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99227 (exit $ac_status); }; }; then
99228 eval "$as_ac_var=yes"
99229 else
99230 echo "$as_me: failed program was:" >&5
99231 sed 's/^/| /' conftest.$ac_ext >&5
99233 eval "$as_ac_var=no"
99235 rm -f conftest.err conftest.$ac_objext \
99236 conftest$ac_exeext conftest.$ac_ext
99238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99240 if test `eval echo '${'$as_ac_var'}'` = yes; then
99241 cat >>confdefs.h <<_ACEOF
99242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99243 _ACEOF
99246 done
99256 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99257 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99258 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99259 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99260 echo $ECHO_N "(cached) $ECHO_C" >&6
99261 else
99265 ac_ext=cc
99266 ac_cpp='$CXXCPP $CPPFLAGS'
99267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99271 cat >conftest.$ac_ext <<_ACEOF
99272 /* confdefs.h. */
99273 _ACEOF
99274 cat confdefs.h >>conftest.$ac_ext
99275 cat >>conftest.$ac_ext <<_ACEOF
99276 /* end confdefs.h. */
99277 #include <math.h>
99278 #ifdef HAVE_IEEEFP_H
99279 #include <ieeefp.h>
99280 #endif
99283 main ()
99285 isinfl(0);
99287 return 0;
99289 _ACEOF
99290 rm -f conftest.$ac_objext
99291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99292 (eval $ac_compile) 2>conftest.er1
99293 ac_status=$?
99294 grep -v '^ *+' conftest.er1 >conftest.err
99295 rm -f conftest.er1
99296 cat conftest.err >&5
99297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99298 (exit $ac_status); } &&
99299 { ac_try='test -z "$ac_cxx_werror_flag"
99300 || test ! -s conftest.err'
99301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99302 (eval $ac_try) 2>&5
99303 ac_status=$?
99304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99305 (exit $ac_status); }; } &&
99306 { ac_try='test -s conftest.$ac_objext'
99307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99308 (eval $ac_try) 2>&5
99309 ac_status=$?
99310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99311 (exit $ac_status); }; }; then
99312 glibcxx_cv_func_isinfl_use=yes
99313 else
99314 echo "$as_me: failed program was:" >&5
99315 sed 's/^/| /' conftest.$ac_ext >&5
99317 glibcxx_cv_func_isinfl_use=no
99319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99320 ac_ext=c
99321 ac_cpp='$CPP $CPPFLAGS'
99322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99331 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99333 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99335 for ac_func in isinfl
99337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99338 echo "$as_me:$LINENO: checking for $ac_func" >&5
99339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99340 if eval "test \"\${$as_ac_var+set}\" = set"; then
99341 echo $ECHO_N "(cached) $ECHO_C" >&6
99342 else
99343 if test x$gcc_no_link = xyes; then
99344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99346 { (exit 1); exit 1; }; }
99348 cat >conftest.$ac_ext <<_ACEOF
99349 /* confdefs.h. */
99350 _ACEOF
99351 cat confdefs.h >>conftest.$ac_ext
99352 cat >>conftest.$ac_ext <<_ACEOF
99353 /* end confdefs.h. */
99354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99356 #define $ac_func innocuous_$ac_func
99358 /* System header to define __stub macros and hopefully few prototypes,
99359 which can conflict with char $ac_func (); below.
99360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99361 <limits.h> exists even on freestanding compilers. */
99363 #ifdef __STDC__
99364 # include <limits.h>
99365 #else
99366 # include <assert.h>
99367 #endif
99369 #undef $ac_func
99371 /* Override any gcc2 internal prototype to avoid an error. */
99372 #ifdef __cplusplus
99373 extern "C"
99375 #endif
99376 /* We use char because int might match the return type of a gcc2
99377 builtin and then its argument prototype would still apply. */
99378 char $ac_func ();
99379 /* The GNU C library defines this for functions which it implements
99380 to always fail with ENOSYS. Some functions are actually named
99381 something starting with __ and the normal name is an alias. */
99382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99383 choke me
99384 #else
99385 char (*f) () = $ac_func;
99386 #endif
99387 #ifdef __cplusplus
99389 #endif
99392 main ()
99394 return f != $ac_func;
99396 return 0;
99398 _ACEOF
99399 rm -f conftest.$ac_objext conftest$ac_exeext
99400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99401 (eval $ac_link) 2>conftest.er1
99402 ac_status=$?
99403 grep -v '^ *+' conftest.er1 >conftest.err
99404 rm -f conftest.er1
99405 cat conftest.err >&5
99406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99407 (exit $ac_status); } &&
99408 { ac_try='test -z "$ac_c_werror_flag"
99409 || test ! -s conftest.err'
99410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99411 (eval $ac_try) 2>&5
99412 ac_status=$?
99413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99414 (exit $ac_status); }; } &&
99415 { ac_try='test -s conftest$ac_exeext'
99416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99417 (eval $ac_try) 2>&5
99418 ac_status=$?
99419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99420 (exit $ac_status); }; }; then
99421 eval "$as_ac_var=yes"
99422 else
99423 echo "$as_me: failed program was:" >&5
99424 sed 's/^/| /' conftest.$ac_ext >&5
99426 eval "$as_ac_var=no"
99428 rm -f conftest.err conftest.$ac_objext \
99429 conftest$ac_exeext conftest.$ac_ext
99431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99433 if test `eval echo '${'$as_ac_var'}'` = yes; then
99434 cat >>confdefs.h <<_ACEOF
99435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99436 _ACEOF
99439 done
99441 else
99443 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99444 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99445 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99446 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99447 echo $ECHO_N "(cached) $ECHO_C" >&6
99448 else
99452 ac_ext=cc
99453 ac_cpp='$CXXCPP $CPPFLAGS'
99454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99458 cat >conftest.$ac_ext <<_ACEOF
99459 /* confdefs.h. */
99460 _ACEOF
99461 cat confdefs.h >>conftest.$ac_ext
99462 cat >>conftest.$ac_ext <<_ACEOF
99463 /* end confdefs.h. */
99464 #include <math.h>
99465 #ifdef HAVE_IEEEFP_H
99466 #include <ieeefp.h>
99467 #endif
99470 main ()
99472 _isinfl(0);
99474 return 0;
99476 _ACEOF
99477 rm -f conftest.$ac_objext
99478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99479 (eval $ac_compile) 2>conftest.er1
99480 ac_status=$?
99481 grep -v '^ *+' conftest.er1 >conftest.err
99482 rm -f conftest.er1
99483 cat conftest.err >&5
99484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99485 (exit $ac_status); } &&
99486 { ac_try='test -z "$ac_cxx_werror_flag"
99487 || test ! -s conftest.err'
99488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99489 (eval $ac_try) 2>&5
99490 ac_status=$?
99491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99492 (exit $ac_status); }; } &&
99493 { ac_try='test -s conftest.$ac_objext'
99494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99495 (eval $ac_try) 2>&5
99496 ac_status=$?
99497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99498 (exit $ac_status); }; }; then
99499 glibcxx_cv_func__isinfl_use=yes
99500 else
99501 echo "$as_me: failed program was:" >&5
99502 sed 's/^/| /' conftest.$ac_ext >&5
99504 glibcxx_cv_func__isinfl_use=no
99506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99507 ac_ext=c
99508 ac_cpp='$CPP $CPPFLAGS'
99509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99518 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99520 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99522 for ac_func in _isinfl
99524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99525 echo "$as_me:$LINENO: checking for $ac_func" >&5
99526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99527 if eval "test \"\${$as_ac_var+set}\" = set"; then
99528 echo $ECHO_N "(cached) $ECHO_C" >&6
99529 else
99530 if test x$gcc_no_link = xyes; then
99531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99533 { (exit 1); exit 1; }; }
99535 cat >conftest.$ac_ext <<_ACEOF
99536 /* confdefs.h. */
99537 _ACEOF
99538 cat confdefs.h >>conftest.$ac_ext
99539 cat >>conftest.$ac_ext <<_ACEOF
99540 /* end confdefs.h. */
99541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99543 #define $ac_func innocuous_$ac_func
99545 /* System header to define __stub macros and hopefully few prototypes,
99546 which can conflict with char $ac_func (); below.
99547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99548 <limits.h> exists even on freestanding compilers. */
99550 #ifdef __STDC__
99551 # include <limits.h>
99552 #else
99553 # include <assert.h>
99554 #endif
99556 #undef $ac_func
99558 /* Override any gcc2 internal prototype to avoid an error. */
99559 #ifdef __cplusplus
99560 extern "C"
99562 #endif
99563 /* We use char because int might match the return type of a gcc2
99564 builtin and then its argument prototype would still apply. */
99565 char $ac_func ();
99566 /* The GNU C library defines this for functions which it implements
99567 to always fail with ENOSYS. Some functions are actually named
99568 something starting with __ and the normal name is an alias. */
99569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99570 choke me
99571 #else
99572 char (*f) () = $ac_func;
99573 #endif
99574 #ifdef __cplusplus
99576 #endif
99579 main ()
99581 return f != $ac_func;
99583 return 0;
99585 _ACEOF
99586 rm -f conftest.$ac_objext conftest$ac_exeext
99587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99588 (eval $ac_link) 2>conftest.er1
99589 ac_status=$?
99590 grep -v '^ *+' conftest.er1 >conftest.err
99591 rm -f conftest.er1
99592 cat conftest.err >&5
99593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99594 (exit $ac_status); } &&
99595 { ac_try='test -z "$ac_c_werror_flag"
99596 || test ! -s conftest.err'
99597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99598 (eval $ac_try) 2>&5
99599 ac_status=$?
99600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99601 (exit $ac_status); }; } &&
99602 { ac_try='test -s conftest$ac_exeext'
99603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99604 (eval $ac_try) 2>&5
99605 ac_status=$?
99606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99607 (exit $ac_status); }; }; then
99608 eval "$as_ac_var=yes"
99609 else
99610 echo "$as_me: failed program was:" >&5
99611 sed 's/^/| /' conftest.$ac_ext >&5
99613 eval "$as_ac_var=no"
99615 rm -f conftest.err conftest.$ac_objext \
99616 conftest$ac_exeext conftest.$ac_ext
99618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99620 if test `eval echo '${'$as_ac_var'}'` = yes; then
99621 cat >>confdefs.h <<_ACEOF
99622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99623 _ACEOF
99626 done
99636 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99637 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99638 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99639 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99640 echo $ECHO_N "(cached) $ECHO_C" >&6
99641 else
99645 ac_ext=cc
99646 ac_cpp='$CXXCPP $CPPFLAGS'
99647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99651 cat >conftest.$ac_ext <<_ACEOF
99652 /* confdefs.h. */
99653 _ACEOF
99654 cat confdefs.h >>conftest.$ac_ext
99655 cat >>conftest.$ac_ext <<_ACEOF
99656 /* end confdefs.h. */
99657 #include <math.h>
99659 main ()
99661 copysignl(0, 0);
99663 return 0;
99665 _ACEOF
99666 rm -f conftest.$ac_objext
99667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99668 (eval $ac_compile) 2>conftest.er1
99669 ac_status=$?
99670 grep -v '^ *+' conftest.er1 >conftest.err
99671 rm -f conftest.er1
99672 cat conftest.err >&5
99673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99674 (exit $ac_status); } &&
99675 { ac_try='test -z "$ac_cxx_werror_flag"
99676 || test ! -s conftest.err'
99677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99678 (eval $ac_try) 2>&5
99679 ac_status=$?
99680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99681 (exit $ac_status); }; } &&
99682 { ac_try='test -s conftest.$ac_objext'
99683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99684 (eval $ac_try) 2>&5
99685 ac_status=$?
99686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99687 (exit $ac_status); }; }; then
99688 glibcxx_cv_func_copysignl_use=yes
99689 else
99690 echo "$as_me: failed program was:" >&5
99691 sed 's/^/| /' conftest.$ac_ext >&5
99693 glibcxx_cv_func_copysignl_use=no
99695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99696 ac_ext=c
99697 ac_cpp='$CPP $CPPFLAGS'
99698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99707 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99709 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99711 for ac_func in copysignl
99713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99714 echo "$as_me:$LINENO: checking for $ac_func" >&5
99715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99716 if eval "test \"\${$as_ac_var+set}\" = set"; then
99717 echo $ECHO_N "(cached) $ECHO_C" >&6
99718 else
99719 if test x$gcc_no_link = xyes; then
99720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99722 { (exit 1); exit 1; }; }
99724 cat >conftest.$ac_ext <<_ACEOF
99725 /* confdefs.h. */
99726 _ACEOF
99727 cat confdefs.h >>conftest.$ac_ext
99728 cat >>conftest.$ac_ext <<_ACEOF
99729 /* end confdefs.h. */
99730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99732 #define $ac_func innocuous_$ac_func
99734 /* System header to define __stub macros and hopefully few prototypes,
99735 which can conflict with char $ac_func (); below.
99736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99737 <limits.h> exists even on freestanding compilers. */
99739 #ifdef __STDC__
99740 # include <limits.h>
99741 #else
99742 # include <assert.h>
99743 #endif
99745 #undef $ac_func
99747 /* Override any gcc2 internal prototype to avoid an error. */
99748 #ifdef __cplusplus
99749 extern "C"
99751 #endif
99752 /* We use char because int might match the return type of a gcc2
99753 builtin and then its argument prototype would still apply. */
99754 char $ac_func ();
99755 /* The GNU C library defines this for functions which it implements
99756 to always fail with ENOSYS. Some functions are actually named
99757 something starting with __ and the normal name is an alias. */
99758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99759 choke me
99760 #else
99761 char (*f) () = $ac_func;
99762 #endif
99763 #ifdef __cplusplus
99765 #endif
99768 main ()
99770 return f != $ac_func;
99772 return 0;
99774 _ACEOF
99775 rm -f conftest.$ac_objext conftest$ac_exeext
99776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99777 (eval $ac_link) 2>conftest.er1
99778 ac_status=$?
99779 grep -v '^ *+' conftest.er1 >conftest.err
99780 rm -f conftest.er1
99781 cat conftest.err >&5
99782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99783 (exit $ac_status); } &&
99784 { ac_try='test -z "$ac_c_werror_flag"
99785 || test ! -s conftest.err'
99786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99787 (eval $ac_try) 2>&5
99788 ac_status=$?
99789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99790 (exit $ac_status); }; } &&
99791 { ac_try='test -s conftest$ac_exeext'
99792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99793 (eval $ac_try) 2>&5
99794 ac_status=$?
99795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99796 (exit $ac_status); }; }; then
99797 eval "$as_ac_var=yes"
99798 else
99799 echo "$as_me: failed program was:" >&5
99800 sed 's/^/| /' conftest.$ac_ext >&5
99802 eval "$as_ac_var=no"
99804 rm -f conftest.err conftest.$ac_objext \
99805 conftest$ac_exeext conftest.$ac_ext
99807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99809 if test `eval echo '${'$as_ac_var'}'` = yes; then
99810 cat >>confdefs.h <<_ACEOF
99811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99812 _ACEOF
99815 done
99817 else
99819 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99820 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99821 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99822 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99823 echo $ECHO_N "(cached) $ECHO_C" >&6
99824 else
99828 ac_ext=cc
99829 ac_cpp='$CXXCPP $CPPFLAGS'
99830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99834 cat >conftest.$ac_ext <<_ACEOF
99835 /* confdefs.h. */
99836 _ACEOF
99837 cat confdefs.h >>conftest.$ac_ext
99838 cat >>conftest.$ac_ext <<_ACEOF
99839 /* end confdefs.h. */
99840 #include <math.h>
99842 main ()
99844 _copysignl(0, 0);
99846 return 0;
99848 _ACEOF
99849 rm -f conftest.$ac_objext
99850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99851 (eval $ac_compile) 2>conftest.er1
99852 ac_status=$?
99853 grep -v '^ *+' conftest.er1 >conftest.err
99854 rm -f conftest.er1
99855 cat conftest.err >&5
99856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99857 (exit $ac_status); } &&
99858 { ac_try='test -z "$ac_cxx_werror_flag"
99859 || test ! -s conftest.err'
99860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99861 (eval $ac_try) 2>&5
99862 ac_status=$?
99863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99864 (exit $ac_status); }; } &&
99865 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
99871 glibcxx_cv_func__copysignl_use=yes
99872 else
99873 echo "$as_me: failed program was:" >&5
99874 sed 's/^/| /' conftest.$ac_ext >&5
99876 glibcxx_cv_func__copysignl_use=no
99878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99879 ac_ext=c
99880 ac_cpp='$CPP $CPPFLAGS'
99881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99890 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99892 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99894 for ac_func in _copysignl
99896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99897 echo "$as_me:$LINENO: checking for $ac_func" >&5
99898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99899 if eval "test \"\${$as_ac_var+set}\" = set"; then
99900 echo $ECHO_N "(cached) $ECHO_C" >&6
99901 else
99902 if test x$gcc_no_link = xyes; then
99903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99905 { (exit 1); exit 1; }; }
99907 cat >conftest.$ac_ext <<_ACEOF
99908 /* confdefs.h. */
99909 _ACEOF
99910 cat confdefs.h >>conftest.$ac_ext
99911 cat >>conftest.$ac_ext <<_ACEOF
99912 /* end confdefs.h. */
99913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99915 #define $ac_func innocuous_$ac_func
99917 /* System header to define __stub macros and hopefully few prototypes,
99918 which can conflict with char $ac_func (); below.
99919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99920 <limits.h> exists even on freestanding compilers. */
99922 #ifdef __STDC__
99923 # include <limits.h>
99924 #else
99925 # include <assert.h>
99926 #endif
99928 #undef $ac_func
99930 /* Override any gcc2 internal prototype to avoid an error. */
99931 #ifdef __cplusplus
99932 extern "C"
99934 #endif
99935 /* We use char because int might match the return type of a gcc2
99936 builtin and then its argument prototype would still apply. */
99937 char $ac_func ();
99938 /* The GNU C library defines this for functions which it implements
99939 to always fail with ENOSYS. Some functions are actually named
99940 something starting with __ and the normal name is an alias. */
99941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99942 choke me
99943 #else
99944 char (*f) () = $ac_func;
99945 #endif
99946 #ifdef __cplusplus
99948 #endif
99951 main ()
99953 return f != $ac_func;
99955 return 0;
99957 _ACEOF
99958 rm -f conftest.$ac_objext conftest$ac_exeext
99959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99960 (eval $ac_link) 2>conftest.er1
99961 ac_status=$?
99962 grep -v '^ *+' conftest.er1 >conftest.err
99963 rm -f conftest.er1
99964 cat conftest.err >&5
99965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99966 (exit $ac_status); } &&
99967 { ac_try='test -z "$ac_c_werror_flag"
99968 || test ! -s conftest.err'
99969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99970 (eval $ac_try) 2>&5
99971 ac_status=$?
99972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99973 (exit $ac_status); }; } &&
99974 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
99980 eval "$as_ac_var=yes"
99981 else
99982 echo "$as_me: failed program was:" >&5
99983 sed 's/^/| /' conftest.$ac_ext >&5
99985 eval "$as_ac_var=no"
99987 rm -f conftest.err conftest.$ac_objext \
99988 conftest$ac_exeext conftest.$ac_ext
99990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99992 if test `eval echo '${'$as_ac_var'}'` = yes; then
99993 cat >>confdefs.h <<_ACEOF
99994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99995 _ACEOF
99998 done
100008 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100009 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100010 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100011 if test "${glibcxx_cv_func_atan2l_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>
100031 main ()
100033 atan2l(0, 0);
100035 return 0;
100037 _ACEOF
100038 rm -f conftest.$ac_objext
100039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100040 (eval $ac_compile) 2>conftest.er1
100041 ac_status=$?
100042 grep -v '^ *+' conftest.er1 >conftest.err
100043 rm -f conftest.er1
100044 cat conftest.err >&5
100045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100046 (exit $ac_status); } &&
100047 { ac_try='test -z "$ac_cxx_werror_flag"
100048 || test ! -s conftest.err'
100049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100050 (eval $ac_try) 2>&5
100051 ac_status=$?
100052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100053 (exit $ac_status); }; } &&
100054 { ac_try='test -s conftest.$ac_objext'
100055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100056 (eval $ac_try) 2>&5
100057 ac_status=$?
100058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100059 (exit $ac_status); }; }; then
100060 glibcxx_cv_func_atan2l_use=yes
100062 echo "$as_me: failed program was:" >&5
100063 sed 's/^/| /' conftest.$ac_ext >&5
100065 glibcxx_cv_func_atan2l_use=no
100067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100068 ac_ext=c
100069 ac_cpp='$CPP $CPPFLAGS'
100070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100079 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100081 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100083 for ac_func in atan2l
100085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100086 echo "$as_me:$LINENO: checking for $ac_func" >&5
100087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100088 if eval "test \"\${$as_ac_var+set}\" = set"; then
100089 echo $ECHO_N "(cached) $ECHO_C" >&6
100091 if test x$gcc_no_link = xyes; then
100092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100094 { (exit 1); exit 1; }; }
100096 cat >conftest.$ac_ext <<_ACEOF
100097 /* confdefs.h. */
100098 _ACEOF
100099 cat confdefs.h >>conftest.$ac_ext
100100 cat >>conftest.$ac_ext <<_ACEOF
100101 /* end confdefs.h. */
100102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100104 #define $ac_func innocuous_$ac_func
100106 /* System header to define __stub macros and hopefully few prototypes,
100107 which can conflict with char $ac_func (); below.
100108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100109 <limits.h> exists even on freestanding compilers. */
100111 #ifdef __STDC__
100112 # include <limits.h>
100113 #else
100114 # include <assert.h>
100115 #endif
100117 #undef $ac_func
100119 /* Override any gcc2 internal prototype to avoid an error. */
100120 #ifdef __cplusplus
100121 extern "C"
100123 #endif
100124 /* We use char because int might match the return type of a gcc2
100125 builtin and then its argument prototype would still apply. */
100126 char $ac_func ();
100127 /* The GNU C library defines this for functions which it implements
100128 to always fail with ENOSYS. Some functions are actually named
100129 something starting with __ and the normal name is an alias. */
100130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100131 choke me
100132 #else
100133 char (*f) () = $ac_func;
100134 #endif
100135 #ifdef __cplusplus
100137 #endif
100140 main ()
100142 return f != $ac_func;
100144 return 0;
100146 _ACEOF
100147 rm -f conftest.$ac_objext conftest$ac_exeext
100148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100149 (eval $ac_link) 2>conftest.er1
100150 ac_status=$?
100151 grep -v '^ *+' conftest.er1 >conftest.err
100152 rm -f conftest.er1
100153 cat conftest.err >&5
100154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100155 (exit $ac_status); } &&
100156 { ac_try='test -z "$ac_c_werror_flag"
100157 || test ! -s conftest.err'
100158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100159 (eval $ac_try) 2>&5
100160 ac_status=$?
100161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100162 (exit $ac_status); }; } &&
100163 { ac_try='test -s conftest$ac_exeext'
100164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100165 (eval $ac_try) 2>&5
100166 ac_status=$?
100167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100168 (exit $ac_status); }; }; then
100169 eval "$as_ac_var=yes"
100171 echo "$as_me: failed program was:" >&5
100172 sed 's/^/| /' conftest.$ac_ext >&5
100174 eval "$as_ac_var=no"
100176 rm -f conftest.err conftest.$ac_objext \
100177 conftest$ac_exeext conftest.$ac_ext
100179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100181 if test `eval echo '${'$as_ac_var'}'` = yes; then
100182 cat >>confdefs.h <<_ACEOF
100183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100184 _ACEOF
100191 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100192 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100193 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100194 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100195 echo $ECHO_N "(cached) $ECHO_C" >&6
100200 ac_ext=cc
100201 ac_cpp='$CXXCPP $CPPFLAGS'
100202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100206 cat >conftest.$ac_ext <<_ACEOF
100207 /* confdefs.h. */
100208 _ACEOF
100209 cat confdefs.h >>conftest.$ac_ext
100210 cat >>conftest.$ac_ext <<_ACEOF
100211 /* end confdefs.h. */
100212 #include <math.h>
100214 main ()
100216 _atan2l(0, 0);
100218 return 0;
100220 _ACEOF
100221 rm -f conftest.$ac_objext
100222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100223 (eval $ac_compile) 2>conftest.er1
100224 ac_status=$?
100225 grep -v '^ *+' conftest.er1 >conftest.err
100226 rm -f conftest.er1
100227 cat conftest.err >&5
100228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100229 (exit $ac_status); } &&
100230 { ac_try='test -z "$ac_cxx_werror_flag"
100231 || test ! -s conftest.err'
100232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100233 (eval $ac_try) 2>&5
100234 ac_status=$?
100235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100236 (exit $ac_status); }; } &&
100237 { ac_try='test -s conftest.$ac_objext'
100238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100239 (eval $ac_try) 2>&5
100240 ac_status=$?
100241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100242 (exit $ac_status); }; }; then
100243 glibcxx_cv_func__atan2l_use=yes
100245 echo "$as_me: failed program was:" >&5
100246 sed 's/^/| /' conftest.$ac_ext >&5
100248 glibcxx_cv_func__atan2l_use=no
100250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100251 ac_ext=c
100252 ac_cpp='$CPP $CPPFLAGS'
100253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100262 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100264 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100266 for ac_func in _atan2l
100268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100269 echo "$as_me:$LINENO: checking for $ac_func" >&5
100270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100271 if eval "test \"\${$as_ac_var+set}\" = set"; then
100272 echo $ECHO_N "(cached) $ECHO_C" >&6
100274 if test x$gcc_no_link = xyes; then
100275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100277 { (exit 1); exit 1; }; }
100279 cat >conftest.$ac_ext <<_ACEOF
100280 /* confdefs.h. */
100281 _ACEOF
100282 cat confdefs.h >>conftest.$ac_ext
100283 cat >>conftest.$ac_ext <<_ACEOF
100284 /* end confdefs.h. */
100285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100287 #define $ac_func innocuous_$ac_func
100289 /* System header to define __stub macros and hopefully few prototypes,
100290 which can conflict with char $ac_func (); below.
100291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100292 <limits.h> exists even on freestanding compilers. */
100294 #ifdef __STDC__
100295 # include <limits.h>
100296 #else
100297 # include <assert.h>
100298 #endif
100300 #undef $ac_func
100302 /* Override any gcc2 internal prototype to avoid an error. */
100303 #ifdef __cplusplus
100304 extern "C"
100306 #endif
100307 /* We use char because int might match the return type of a gcc2
100308 builtin and then its argument prototype would still apply. */
100309 char $ac_func ();
100310 /* The GNU C library defines this for functions which it implements
100311 to always fail with ENOSYS. Some functions are actually named
100312 something starting with __ and the normal name is an alias. */
100313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100314 choke me
100315 #else
100316 char (*f) () = $ac_func;
100317 #endif
100318 #ifdef __cplusplus
100320 #endif
100323 main ()
100325 return f != $ac_func;
100327 return 0;
100329 _ACEOF
100330 rm -f conftest.$ac_objext conftest$ac_exeext
100331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100332 (eval $ac_link) 2>conftest.er1
100333 ac_status=$?
100334 grep -v '^ *+' conftest.er1 >conftest.err
100335 rm -f conftest.er1
100336 cat conftest.err >&5
100337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100338 (exit $ac_status); } &&
100339 { ac_try='test -z "$ac_c_werror_flag"
100340 || test ! -s conftest.err'
100341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100342 (eval $ac_try) 2>&5
100343 ac_status=$?
100344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100345 (exit $ac_status); }; } &&
100346 { ac_try='test -s conftest$ac_exeext'
100347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100348 (eval $ac_try) 2>&5
100349 ac_status=$?
100350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100351 (exit $ac_status); }; }; then
100352 eval "$as_ac_var=yes"
100354 echo "$as_me: failed program was:" >&5
100355 sed 's/^/| /' conftest.$ac_ext >&5
100357 eval "$as_ac_var=no"
100359 rm -f conftest.err conftest.$ac_objext \
100360 conftest$ac_exeext conftest.$ac_ext
100362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100364 if test `eval echo '${'$as_ac_var'}'` = yes; then
100365 cat >>confdefs.h <<_ACEOF
100366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100367 _ACEOF
100380 echo "$as_me:$LINENO: checking for expl declaration" >&5
100381 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100382 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100383 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100384 echo $ECHO_N "(cached) $ECHO_C" >&6
100389 ac_ext=cc
100390 ac_cpp='$CXXCPP $CPPFLAGS'
100391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100395 cat >conftest.$ac_ext <<_ACEOF
100396 /* confdefs.h. */
100397 _ACEOF
100398 cat confdefs.h >>conftest.$ac_ext
100399 cat >>conftest.$ac_ext <<_ACEOF
100400 /* end confdefs.h. */
100401 #include <math.h>
100402 #ifdef HAVE_IEEEFP_H
100403 #include <ieeefp.h>
100404 #endif
100407 main ()
100409 expl(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_expl_use=yes
100438 echo "$as_me: failed program was:" >&5
100439 sed 's/^/| /' conftest.$ac_ext >&5
100441 glibcxx_cv_func_expl_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_expl_use" >&5
100455 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100457 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100459 for ac_func in expl
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
100567 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100568 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100569 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100570 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100571 echo $ECHO_N "(cached) $ECHO_C" >&6
100576 ac_ext=cc
100577 ac_cpp='$CXXCPP $CPPFLAGS'
100578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100582 cat >conftest.$ac_ext <<_ACEOF
100583 /* confdefs.h. */
100584 _ACEOF
100585 cat confdefs.h >>conftest.$ac_ext
100586 cat >>conftest.$ac_ext <<_ACEOF
100587 /* end confdefs.h. */
100588 #include <math.h>
100589 #ifdef HAVE_IEEEFP_H
100590 #include <ieeefp.h>
100591 #endif
100594 main ()
100596 _expl(0);
100598 return 0;
100600 _ACEOF
100601 rm -f conftest.$ac_objext
100602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100603 (eval $ac_compile) 2>conftest.er1
100604 ac_status=$?
100605 grep -v '^ *+' conftest.er1 >conftest.err
100606 rm -f conftest.er1
100607 cat conftest.err >&5
100608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100609 (exit $ac_status); } &&
100610 { ac_try='test -z "$ac_cxx_werror_flag"
100611 || test ! -s conftest.err'
100612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100613 (eval $ac_try) 2>&5
100614 ac_status=$?
100615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100616 (exit $ac_status); }; } &&
100617 { ac_try='test -s conftest.$ac_objext'
100618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100619 (eval $ac_try) 2>&5
100620 ac_status=$?
100621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100622 (exit $ac_status); }; }; then
100623 glibcxx_cv_func__expl_use=yes
100625 echo "$as_me: failed program was:" >&5
100626 sed 's/^/| /' conftest.$ac_ext >&5
100628 glibcxx_cv_func__expl_use=no
100630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100631 ac_ext=c
100632 ac_cpp='$CPP $CPPFLAGS'
100633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100642 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100644 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100646 for ac_func in _expl
100648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100649 echo "$as_me:$LINENO: checking for $ac_func" >&5
100650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100651 if eval "test \"\${$as_ac_var+set}\" = set"; then
100652 echo $ECHO_N "(cached) $ECHO_C" >&6
100654 if test x$gcc_no_link = xyes; then
100655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100657 { (exit 1); exit 1; }; }
100659 cat >conftest.$ac_ext <<_ACEOF
100660 /* confdefs.h. */
100661 _ACEOF
100662 cat confdefs.h >>conftest.$ac_ext
100663 cat >>conftest.$ac_ext <<_ACEOF
100664 /* end confdefs.h. */
100665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100667 #define $ac_func innocuous_$ac_func
100669 /* System header to define __stub macros and hopefully few prototypes,
100670 which can conflict with char $ac_func (); below.
100671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100672 <limits.h> exists even on freestanding compilers. */
100674 #ifdef __STDC__
100675 # include <limits.h>
100676 #else
100677 # include <assert.h>
100678 #endif
100680 #undef $ac_func
100682 /* Override any gcc2 internal prototype to avoid an error. */
100683 #ifdef __cplusplus
100684 extern "C"
100686 #endif
100687 /* We use char because int might match the return type of a gcc2
100688 builtin and then its argument prototype would still apply. */
100689 char $ac_func ();
100690 /* The GNU C library defines this for functions which it implements
100691 to always fail with ENOSYS. Some functions are actually named
100692 something starting with __ and the normal name is an alias. */
100693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100694 choke me
100695 #else
100696 char (*f) () = $ac_func;
100697 #endif
100698 #ifdef __cplusplus
100700 #endif
100703 main ()
100705 return f != $ac_func;
100707 return 0;
100709 _ACEOF
100710 rm -f conftest.$ac_objext conftest$ac_exeext
100711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100712 (eval $ac_link) 2>conftest.er1
100713 ac_status=$?
100714 grep -v '^ *+' conftest.er1 >conftest.err
100715 rm -f conftest.er1
100716 cat conftest.err >&5
100717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100718 (exit $ac_status); } &&
100719 { ac_try='test -z "$ac_c_werror_flag"
100720 || test ! -s conftest.err'
100721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100722 (eval $ac_try) 2>&5
100723 ac_status=$?
100724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100725 (exit $ac_status); }; } &&
100726 { ac_try='test -s conftest$ac_exeext'
100727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100728 (eval $ac_try) 2>&5
100729 ac_status=$?
100730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100731 (exit $ac_status); }; }; then
100732 eval "$as_ac_var=yes"
100734 echo "$as_me: failed program was:" >&5
100735 sed 's/^/| /' conftest.$ac_ext >&5
100737 eval "$as_ac_var=no"
100739 rm -f conftest.err conftest.$ac_objext \
100740 conftest$ac_exeext conftest.$ac_ext
100742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100744 if test `eval echo '${'$as_ac_var'}'` = yes; then
100745 cat >>confdefs.h <<_ACEOF
100746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100747 _ACEOF
100760 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100761 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100762 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100763 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100764 echo $ECHO_N "(cached) $ECHO_C" >&6
100769 ac_ext=cc
100770 ac_cpp='$CXXCPP $CPPFLAGS'
100771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100775 cat >conftest.$ac_ext <<_ACEOF
100776 /* confdefs.h. */
100777 _ACEOF
100778 cat confdefs.h >>conftest.$ac_ext
100779 cat >>conftest.$ac_ext <<_ACEOF
100780 /* end confdefs.h. */
100781 #include <math.h>
100782 #ifdef HAVE_IEEEFP_H
100783 #include <ieeefp.h>
100784 #endif
100787 main ()
100789 fabsl(0);
100791 return 0;
100793 _ACEOF
100794 rm -f conftest.$ac_objext
100795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100796 (eval $ac_compile) 2>conftest.er1
100797 ac_status=$?
100798 grep -v '^ *+' conftest.er1 >conftest.err
100799 rm -f conftest.er1
100800 cat conftest.err >&5
100801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100802 (exit $ac_status); } &&
100803 { ac_try='test -z "$ac_cxx_werror_flag"
100804 || test ! -s conftest.err'
100805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100806 (eval $ac_try) 2>&5
100807 ac_status=$?
100808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100809 (exit $ac_status); }; } &&
100810 { ac_try='test -s conftest.$ac_objext'
100811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100812 (eval $ac_try) 2>&5
100813 ac_status=$?
100814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100815 (exit $ac_status); }; }; then
100816 glibcxx_cv_func_fabsl_use=yes
100818 echo "$as_me: failed program was:" >&5
100819 sed 's/^/| /' conftest.$ac_ext >&5
100821 glibcxx_cv_func_fabsl_use=no
100823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100824 ac_ext=c
100825 ac_cpp='$CPP $CPPFLAGS'
100826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100835 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100837 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100839 for ac_func in fabsl
100841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100842 echo "$as_me:$LINENO: checking for $ac_func" >&5
100843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100844 if eval "test \"\${$as_ac_var+set}\" = set"; then
100845 echo $ECHO_N "(cached) $ECHO_C" >&6
100847 if test x$gcc_no_link = xyes; then
100848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100850 { (exit 1); exit 1; }; }
100852 cat >conftest.$ac_ext <<_ACEOF
100853 /* confdefs.h. */
100854 _ACEOF
100855 cat confdefs.h >>conftest.$ac_ext
100856 cat >>conftest.$ac_ext <<_ACEOF
100857 /* end confdefs.h. */
100858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100860 #define $ac_func innocuous_$ac_func
100862 /* System header to define __stub macros and hopefully few prototypes,
100863 which can conflict with char $ac_func (); below.
100864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100865 <limits.h> exists even on freestanding compilers. */
100867 #ifdef __STDC__
100868 # include <limits.h>
100869 #else
100870 # include <assert.h>
100871 #endif
100873 #undef $ac_func
100875 /* Override any gcc2 internal prototype to avoid an error. */
100876 #ifdef __cplusplus
100877 extern "C"
100879 #endif
100880 /* We use char because int might match the return type of a gcc2
100881 builtin and then its argument prototype would still apply. */
100882 char $ac_func ();
100883 /* The GNU C library defines this for functions which it implements
100884 to always fail with ENOSYS. Some functions are actually named
100885 something starting with __ and the normal name is an alias. */
100886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100887 choke me
100888 #else
100889 char (*f) () = $ac_func;
100890 #endif
100891 #ifdef __cplusplus
100893 #endif
100896 main ()
100898 return f != $ac_func;
100900 return 0;
100902 _ACEOF
100903 rm -f conftest.$ac_objext conftest$ac_exeext
100904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100905 (eval $ac_link) 2>conftest.er1
100906 ac_status=$?
100907 grep -v '^ *+' conftest.er1 >conftest.err
100908 rm -f conftest.er1
100909 cat conftest.err >&5
100910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100911 (exit $ac_status); } &&
100912 { ac_try='test -z "$ac_c_werror_flag"
100913 || test ! -s conftest.err'
100914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100915 (eval $ac_try) 2>&5
100916 ac_status=$?
100917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100918 (exit $ac_status); }; } &&
100919 { ac_try='test -s conftest$ac_exeext'
100920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100921 (eval $ac_try) 2>&5
100922 ac_status=$?
100923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100924 (exit $ac_status); }; }; then
100925 eval "$as_ac_var=yes"
100927 echo "$as_me: failed program was:" >&5
100928 sed 's/^/| /' conftest.$ac_ext >&5
100930 eval "$as_ac_var=no"
100932 rm -f conftest.err conftest.$ac_objext \
100933 conftest$ac_exeext conftest.$ac_ext
100935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100937 if test `eval echo '${'$as_ac_var'}'` = yes; then
100938 cat >>confdefs.h <<_ACEOF
100939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100940 _ACEOF
100947 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100948 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100949 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100950 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100951 echo $ECHO_N "(cached) $ECHO_C" >&6
100956 ac_ext=cc
100957 ac_cpp='$CXXCPP $CPPFLAGS'
100958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100962 cat >conftest.$ac_ext <<_ACEOF
100963 /* confdefs.h. */
100964 _ACEOF
100965 cat confdefs.h >>conftest.$ac_ext
100966 cat >>conftest.$ac_ext <<_ACEOF
100967 /* end confdefs.h. */
100968 #include <math.h>
100969 #ifdef HAVE_IEEEFP_H
100970 #include <ieeefp.h>
100971 #endif
100974 main ()
100976 _fabsl(0);
100978 return 0;
100980 _ACEOF
100981 rm -f conftest.$ac_objext
100982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100983 (eval $ac_compile) 2>conftest.er1
100984 ac_status=$?
100985 grep -v '^ *+' conftest.er1 >conftest.err
100986 rm -f conftest.er1
100987 cat conftest.err >&5
100988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100989 (exit $ac_status); } &&
100990 { ac_try='test -z "$ac_cxx_werror_flag"
100991 || test ! -s conftest.err'
100992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100993 (eval $ac_try) 2>&5
100994 ac_status=$?
100995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100996 (exit $ac_status); }; } &&
100997 { ac_try='test -s conftest.$ac_objext'
100998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100999 (eval $ac_try) 2>&5
101000 ac_status=$?
101001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101002 (exit $ac_status); }; }; then
101003 glibcxx_cv_func__fabsl_use=yes
101005 echo "$as_me: failed program was:" >&5
101006 sed 's/^/| /' conftest.$ac_ext >&5
101008 glibcxx_cv_func__fabsl_use=no
101010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101011 ac_ext=c
101012 ac_cpp='$CPP $CPPFLAGS'
101013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101022 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101024 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101026 for ac_func in _fabsl
101028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101029 echo "$as_me:$LINENO: checking for $ac_func" >&5
101030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101031 if eval "test \"\${$as_ac_var+set}\" = set"; then
101032 echo $ECHO_N "(cached) $ECHO_C" >&6
101034 if test x$gcc_no_link = xyes; then
101035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101037 { (exit 1); exit 1; }; }
101039 cat >conftest.$ac_ext <<_ACEOF
101040 /* confdefs.h. */
101041 _ACEOF
101042 cat confdefs.h >>conftest.$ac_ext
101043 cat >>conftest.$ac_ext <<_ACEOF
101044 /* end confdefs.h. */
101045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101047 #define $ac_func innocuous_$ac_func
101049 /* System header to define __stub macros and hopefully few prototypes,
101050 which can conflict with char $ac_func (); below.
101051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101052 <limits.h> exists even on freestanding compilers. */
101054 #ifdef __STDC__
101055 # include <limits.h>
101056 #else
101057 # include <assert.h>
101058 #endif
101060 #undef $ac_func
101062 /* Override any gcc2 internal prototype to avoid an error. */
101063 #ifdef __cplusplus
101064 extern "C"
101066 #endif
101067 /* We use char because int might match the return type of a gcc2
101068 builtin and then its argument prototype would still apply. */
101069 char $ac_func ();
101070 /* The GNU C library defines this for functions which it implements
101071 to always fail with ENOSYS. Some functions are actually named
101072 something starting with __ and the normal name is an alias. */
101073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101074 choke me
101075 #else
101076 char (*f) () = $ac_func;
101077 #endif
101078 #ifdef __cplusplus
101080 #endif
101083 main ()
101085 return f != $ac_func;
101087 return 0;
101089 _ACEOF
101090 rm -f conftest.$ac_objext conftest$ac_exeext
101091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101092 (eval $ac_link) 2>conftest.er1
101093 ac_status=$?
101094 grep -v '^ *+' conftest.er1 >conftest.err
101095 rm -f conftest.er1
101096 cat conftest.err >&5
101097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101098 (exit $ac_status); } &&
101099 { ac_try='test -z "$ac_c_werror_flag"
101100 || test ! -s conftest.err'
101101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101102 (eval $ac_try) 2>&5
101103 ac_status=$?
101104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101105 (exit $ac_status); }; } &&
101106 { ac_try='test -s conftest$ac_exeext'
101107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101108 (eval $ac_try) 2>&5
101109 ac_status=$?
101110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101111 (exit $ac_status); }; }; then
101112 eval "$as_ac_var=yes"
101114 echo "$as_me: failed program was:" >&5
101115 sed 's/^/| /' conftest.$ac_ext >&5
101117 eval "$as_ac_var=no"
101119 rm -f conftest.err conftest.$ac_objext \
101120 conftest$ac_exeext conftest.$ac_ext
101122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101124 if test `eval echo '${'$as_ac_var'}'` = yes; then
101125 cat >>confdefs.h <<_ACEOF
101126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101127 _ACEOF
101140 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101141 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101142 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101143 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101144 echo $ECHO_N "(cached) $ECHO_C" >&6
101149 ac_ext=cc
101150 ac_cpp='$CXXCPP $CPPFLAGS'
101151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101155 cat >conftest.$ac_ext <<_ACEOF
101156 /* confdefs.h. */
101157 _ACEOF
101158 cat confdefs.h >>conftest.$ac_ext
101159 cat >>conftest.$ac_ext <<_ACEOF
101160 /* end confdefs.h. */
101161 #include <math.h>
101163 main ()
101165 fmodl(0, 0);
101167 return 0;
101169 _ACEOF
101170 rm -f conftest.$ac_objext
101171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101172 (eval $ac_compile) 2>conftest.er1
101173 ac_status=$?
101174 grep -v '^ *+' conftest.er1 >conftest.err
101175 rm -f conftest.er1
101176 cat conftest.err >&5
101177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101178 (exit $ac_status); } &&
101179 { ac_try='test -z "$ac_cxx_werror_flag"
101180 || test ! -s conftest.err'
101181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101182 (eval $ac_try) 2>&5
101183 ac_status=$?
101184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101185 (exit $ac_status); }; } &&
101186 { ac_try='test -s conftest.$ac_objext'
101187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101188 (eval $ac_try) 2>&5
101189 ac_status=$?
101190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101191 (exit $ac_status); }; }; then
101192 glibcxx_cv_func_fmodl_use=yes
101194 echo "$as_me: failed program was:" >&5
101195 sed 's/^/| /' conftest.$ac_ext >&5
101197 glibcxx_cv_func_fmodl_use=no
101199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101200 ac_ext=c
101201 ac_cpp='$CPP $CPPFLAGS'
101202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101211 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101213 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101215 for ac_func in fmodl
101217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101218 echo "$as_me:$LINENO: checking for $ac_func" >&5
101219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101220 if eval "test \"\${$as_ac_var+set}\" = set"; then
101221 echo $ECHO_N "(cached) $ECHO_C" >&6
101223 if test x$gcc_no_link = xyes; then
101224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101226 { (exit 1); exit 1; }; }
101228 cat >conftest.$ac_ext <<_ACEOF
101229 /* confdefs.h. */
101230 _ACEOF
101231 cat confdefs.h >>conftest.$ac_ext
101232 cat >>conftest.$ac_ext <<_ACEOF
101233 /* end confdefs.h. */
101234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101236 #define $ac_func innocuous_$ac_func
101238 /* System header to define __stub macros and hopefully few prototypes,
101239 which can conflict with char $ac_func (); below.
101240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101241 <limits.h> exists even on freestanding compilers. */
101243 #ifdef __STDC__
101244 # include <limits.h>
101245 #else
101246 # include <assert.h>
101247 #endif
101249 #undef $ac_func
101251 /* Override any gcc2 internal prototype to avoid an error. */
101252 #ifdef __cplusplus
101253 extern "C"
101255 #endif
101256 /* We use char because int might match the return type of a gcc2
101257 builtin and then its argument prototype would still apply. */
101258 char $ac_func ();
101259 /* The GNU C library defines this for functions which it implements
101260 to always fail with ENOSYS. Some functions are actually named
101261 something starting with __ and the normal name is an alias. */
101262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101263 choke me
101264 #else
101265 char (*f) () = $ac_func;
101266 #endif
101267 #ifdef __cplusplus
101269 #endif
101272 main ()
101274 return f != $ac_func;
101276 return 0;
101278 _ACEOF
101279 rm -f conftest.$ac_objext conftest$ac_exeext
101280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101281 (eval $ac_link) 2>conftest.er1
101282 ac_status=$?
101283 grep -v '^ *+' conftest.er1 >conftest.err
101284 rm -f conftest.er1
101285 cat conftest.err >&5
101286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101287 (exit $ac_status); } &&
101288 { ac_try='test -z "$ac_c_werror_flag"
101289 || test ! -s conftest.err'
101290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101291 (eval $ac_try) 2>&5
101292 ac_status=$?
101293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101294 (exit $ac_status); }; } &&
101295 { ac_try='test -s conftest$ac_exeext'
101296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101297 (eval $ac_try) 2>&5
101298 ac_status=$?
101299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101300 (exit $ac_status); }; }; then
101301 eval "$as_ac_var=yes"
101303 echo "$as_me: failed program was:" >&5
101304 sed 's/^/| /' conftest.$ac_ext >&5
101306 eval "$as_ac_var=no"
101308 rm -f conftest.err conftest.$ac_objext \
101309 conftest$ac_exeext conftest.$ac_ext
101311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101313 if test `eval echo '${'$as_ac_var'}'` = yes; then
101314 cat >>confdefs.h <<_ACEOF
101315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101316 _ACEOF
101323 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101324 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101325 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101326 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101327 echo $ECHO_N "(cached) $ECHO_C" >&6
101332 ac_ext=cc
101333 ac_cpp='$CXXCPP $CPPFLAGS'
101334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101338 cat >conftest.$ac_ext <<_ACEOF
101339 /* confdefs.h. */
101340 _ACEOF
101341 cat confdefs.h >>conftest.$ac_ext
101342 cat >>conftest.$ac_ext <<_ACEOF
101343 /* end confdefs.h. */
101344 #include <math.h>
101346 main ()
101348 _fmodl(0, 0);
101350 return 0;
101352 _ACEOF
101353 rm -f conftest.$ac_objext
101354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101355 (eval $ac_compile) 2>conftest.er1
101356 ac_status=$?
101357 grep -v '^ *+' conftest.er1 >conftest.err
101358 rm -f conftest.er1
101359 cat conftest.err >&5
101360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101361 (exit $ac_status); } &&
101362 { ac_try='test -z "$ac_cxx_werror_flag"
101363 || test ! -s conftest.err'
101364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101365 (eval $ac_try) 2>&5
101366 ac_status=$?
101367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101368 (exit $ac_status); }; } &&
101369 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
101375 glibcxx_cv_func__fmodl_use=yes
101377 echo "$as_me: failed program was:" >&5
101378 sed 's/^/| /' conftest.$ac_ext >&5
101380 glibcxx_cv_func__fmodl_use=no
101382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101383 ac_ext=c
101384 ac_cpp='$CPP $CPPFLAGS'
101385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101394 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101396 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101398 for ac_func in _fmodl
101400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101401 echo "$as_me:$LINENO: checking for $ac_func" >&5
101402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101403 if eval "test \"\${$as_ac_var+set}\" = set"; then
101404 echo $ECHO_N "(cached) $ECHO_C" >&6
101406 if test x$gcc_no_link = xyes; then
101407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101409 { (exit 1); exit 1; }; }
101411 cat >conftest.$ac_ext <<_ACEOF
101412 /* confdefs.h. */
101413 _ACEOF
101414 cat confdefs.h >>conftest.$ac_ext
101415 cat >>conftest.$ac_ext <<_ACEOF
101416 /* end confdefs.h. */
101417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101419 #define $ac_func innocuous_$ac_func
101421 /* System header to define __stub macros and hopefully few prototypes,
101422 which can conflict with char $ac_func (); below.
101423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101424 <limits.h> exists even on freestanding compilers. */
101426 #ifdef __STDC__
101427 # include <limits.h>
101428 #else
101429 # include <assert.h>
101430 #endif
101432 #undef $ac_func
101434 /* Override any gcc2 internal prototype to avoid an error. */
101435 #ifdef __cplusplus
101436 extern "C"
101438 #endif
101439 /* We use char because int might match the return type of a gcc2
101440 builtin and then its argument prototype would still apply. */
101441 char $ac_func ();
101442 /* The GNU C library defines this for functions which it implements
101443 to always fail with ENOSYS. Some functions are actually named
101444 something starting with __ and the normal name is an alias. */
101445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101446 choke me
101447 #else
101448 char (*f) () = $ac_func;
101449 #endif
101450 #ifdef __cplusplus
101452 #endif
101455 main ()
101457 return f != $ac_func;
101459 return 0;
101461 _ACEOF
101462 rm -f conftest.$ac_objext conftest$ac_exeext
101463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101464 (eval $ac_link) 2>conftest.er1
101465 ac_status=$?
101466 grep -v '^ *+' conftest.er1 >conftest.err
101467 rm -f conftest.er1
101468 cat conftest.err >&5
101469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101470 (exit $ac_status); } &&
101471 { ac_try='test -z "$ac_c_werror_flag"
101472 || test ! -s conftest.err'
101473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101474 (eval $ac_try) 2>&5
101475 ac_status=$?
101476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101477 (exit $ac_status); }; } &&
101478 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
101484 eval "$as_ac_var=yes"
101486 echo "$as_me: failed program was:" >&5
101487 sed 's/^/| /' conftest.$ac_ext >&5
101489 eval "$as_ac_var=no"
101491 rm -f conftest.err conftest.$ac_objext \
101492 conftest$ac_exeext conftest.$ac_ext
101494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101496 if test `eval echo '${'$as_ac_var'}'` = yes; then
101497 cat >>confdefs.h <<_ACEOF
101498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101499 _ACEOF
101512 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101513 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101514 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101515 if test "${glibcxx_cv_func_frexpl_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>
101535 main ()
101537 frexpl(0, 0);
101539 return 0;
101541 _ACEOF
101542 rm -f conftest.$ac_objext
101543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101544 (eval $ac_compile) 2>conftest.er1
101545 ac_status=$?
101546 grep -v '^ *+' conftest.er1 >conftest.err
101547 rm -f conftest.er1
101548 cat conftest.err >&5
101549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101550 (exit $ac_status); } &&
101551 { ac_try='test -z "$ac_cxx_werror_flag"
101552 || test ! -s conftest.err'
101553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101554 (eval $ac_try) 2>&5
101555 ac_status=$?
101556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101557 (exit $ac_status); }; } &&
101558 { ac_try='test -s conftest.$ac_objext'
101559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101560 (eval $ac_try) 2>&5
101561 ac_status=$?
101562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101563 (exit $ac_status); }; }; then
101564 glibcxx_cv_func_frexpl_use=yes
101566 echo "$as_me: failed program was:" >&5
101567 sed 's/^/| /' conftest.$ac_ext >&5
101569 glibcxx_cv_func_frexpl_use=no
101571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101572 ac_ext=c
101573 ac_cpp='$CPP $CPPFLAGS'
101574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101583 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101585 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101587 for ac_func in frexpl
101589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101590 echo "$as_me:$LINENO: checking for $ac_func" >&5
101591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101592 if eval "test \"\${$as_ac_var+set}\" = set"; then
101593 echo $ECHO_N "(cached) $ECHO_C" >&6
101595 if test x$gcc_no_link = xyes; then
101596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101598 { (exit 1); exit 1; }; }
101600 cat >conftest.$ac_ext <<_ACEOF
101601 /* confdefs.h. */
101602 _ACEOF
101603 cat confdefs.h >>conftest.$ac_ext
101604 cat >>conftest.$ac_ext <<_ACEOF
101605 /* end confdefs.h. */
101606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101608 #define $ac_func innocuous_$ac_func
101610 /* System header to define __stub macros and hopefully few prototypes,
101611 which can conflict with char $ac_func (); below.
101612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101613 <limits.h> exists even on freestanding compilers. */
101615 #ifdef __STDC__
101616 # include <limits.h>
101617 #else
101618 # include <assert.h>
101619 #endif
101621 #undef $ac_func
101623 /* Override any gcc2 internal prototype to avoid an error. */
101624 #ifdef __cplusplus
101625 extern "C"
101627 #endif
101628 /* We use char because int might match the return type of a gcc2
101629 builtin and then its argument prototype would still apply. */
101630 char $ac_func ();
101631 /* The GNU C library defines this for functions which it implements
101632 to always fail with ENOSYS. Some functions are actually named
101633 something starting with __ and the normal name is an alias. */
101634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101635 choke me
101636 #else
101637 char (*f) () = $ac_func;
101638 #endif
101639 #ifdef __cplusplus
101641 #endif
101644 main ()
101646 return f != $ac_func;
101648 return 0;
101650 _ACEOF
101651 rm -f conftest.$ac_objext conftest$ac_exeext
101652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101653 (eval $ac_link) 2>conftest.er1
101654 ac_status=$?
101655 grep -v '^ *+' conftest.er1 >conftest.err
101656 rm -f conftest.er1
101657 cat conftest.err >&5
101658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101659 (exit $ac_status); } &&
101660 { ac_try='test -z "$ac_c_werror_flag"
101661 || test ! -s conftest.err'
101662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101663 (eval $ac_try) 2>&5
101664 ac_status=$?
101665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101666 (exit $ac_status); }; } &&
101667 { ac_try='test -s conftest$ac_exeext'
101668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101669 (eval $ac_try) 2>&5
101670 ac_status=$?
101671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101672 (exit $ac_status); }; }; then
101673 eval "$as_ac_var=yes"
101675 echo "$as_me: failed program was:" >&5
101676 sed 's/^/| /' conftest.$ac_ext >&5
101678 eval "$as_ac_var=no"
101680 rm -f conftest.err conftest.$ac_objext \
101681 conftest$ac_exeext conftest.$ac_ext
101683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101685 if test `eval echo '${'$as_ac_var'}'` = yes; then
101686 cat >>confdefs.h <<_ACEOF
101687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101688 _ACEOF
101695 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101696 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101697 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101698 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101699 echo $ECHO_N "(cached) $ECHO_C" >&6
101704 ac_ext=cc
101705 ac_cpp='$CXXCPP $CPPFLAGS'
101706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101710 cat >conftest.$ac_ext <<_ACEOF
101711 /* confdefs.h. */
101712 _ACEOF
101713 cat confdefs.h >>conftest.$ac_ext
101714 cat >>conftest.$ac_ext <<_ACEOF
101715 /* end confdefs.h. */
101716 #include <math.h>
101718 main ()
101720 _frexpl(0, 0);
101722 return 0;
101724 _ACEOF
101725 rm -f conftest.$ac_objext
101726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101727 (eval $ac_compile) 2>conftest.er1
101728 ac_status=$?
101729 grep -v '^ *+' conftest.er1 >conftest.err
101730 rm -f conftest.er1
101731 cat conftest.err >&5
101732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101733 (exit $ac_status); } &&
101734 { ac_try='test -z "$ac_cxx_werror_flag"
101735 || test ! -s conftest.err'
101736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101737 (eval $ac_try) 2>&5
101738 ac_status=$?
101739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101740 (exit $ac_status); }; } &&
101741 { ac_try='test -s conftest.$ac_objext'
101742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101743 (eval $ac_try) 2>&5
101744 ac_status=$?
101745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101746 (exit $ac_status); }; }; then
101747 glibcxx_cv_func__frexpl_use=yes
101749 echo "$as_me: failed program was:" >&5
101750 sed 's/^/| /' conftest.$ac_ext >&5
101752 glibcxx_cv_func__frexpl_use=no
101754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101755 ac_ext=c
101756 ac_cpp='$CPP $CPPFLAGS'
101757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101766 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101768 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101770 for ac_func in _frexpl
101772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101773 echo "$as_me:$LINENO: checking for $ac_func" >&5
101774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101775 if eval "test \"\${$as_ac_var+set}\" = set"; then
101776 echo $ECHO_N "(cached) $ECHO_C" >&6
101778 if test x$gcc_no_link = xyes; then
101779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101781 { (exit 1); exit 1; }; }
101783 cat >conftest.$ac_ext <<_ACEOF
101784 /* confdefs.h. */
101785 _ACEOF
101786 cat confdefs.h >>conftest.$ac_ext
101787 cat >>conftest.$ac_ext <<_ACEOF
101788 /* end confdefs.h. */
101789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101791 #define $ac_func innocuous_$ac_func
101793 /* System header to define __stub macros and hopefully few prototypes,
101794 which can conflict with char $ac_func (); below.
101795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101796 <limits.h> exists even on freestanding compilers. */
101798 #ifdef __STDC__
101799 # include <limits.h>
101800 #else
101801 # include <assert.h>
101802 #endif
101804 #undef $ac_func
101806 /* Override any gcc2 internal prototype to avoid an error. */
101807 #ifdef __cplusplus
101808 extern "C"
101810 #endif
101811 /* We use char because int might match the return type of a gcc2
101812 builtin and then its argument prototype would still apply. */
101813 char $ac_func ();
101814 /* The GNU C library defines this for functions which it implements
101815 to always fail with ENOSYS. Some functions are actually named
101816 something starting with __ and the normal name is an alias. */
101817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101818 choke me
101819 #else
101820 char (*f) () = $ac_func;
101821 #endif
101822 #ifdef __cplusplus
101824 #endif
101827 main ()
101829 return f != $ac_func;
101831 return 0;
101833 _ACEOF
101834 rm -f conftest.$ac_objext conftest$ac_exeext
101835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101836 (eval $ac_link) 2>conftest.er1
101837 ac_status=$?
101838 grep -v '^ *+' conftest.er1 >conftest.err
101839 rm -f conftest.er1
101840 cat conftest.err >&5
101841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101842 (exit $ac_status); } &&
101843 { ac_try='test -z "$ac_c_werror_flag"
101844 || test ! -s conftest.err'
101845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101846 (eval $ac_try) 2>&5
101847 ac_status=$?
101848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849 (exit $ac_status); }; } &&
101850 { ac_try='test -s conftest$ac_exeext'
101851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101852 (eval $ac_try) 2>&5
101853 ac_status=$?
101854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101855 (exit $ac_status); }; }; then
101856 eval "$as_ac_var=yes"
101858 echo "$as_me: failed program was:" >&5
101859 sed 's/^/| /' conftest.$ac_ext >&5
101861 eval "$as_ac_var=no"
101863 rm -f conftest.err conftest.$ac_objext \
101864 conftest$ac_exeext conftest.$ac_ext
101866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101868 if test `eval echo '${'$as_ac_var'}'` = yes; then
101869 cat >>confdefs.h <<_ACEOF
101870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101871 _ACEOF
101884 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101885 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101886 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101887 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101888 echo $ECHO_N "(cached) $ECHO_C" >&6
101893 ac_ext=cc
101894 ac_cpp='$CXXCPP $CPPFLAGS'
101895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101899 cat >conftest.$ac_ext <<_ACEOF
101900 /* confdefs.h. */
101901 _ACEOF
101902 cat confdefs.h >>conftest.$ac_ext
101903 cat >>conftest.$ac_ext <<_ACEOF
101904 /* end confdefs.h. */
101905 #include <math.h>
101907 main ()
101909 hypotl(0, 0);
101911 return 0;
101913 _ACEOF
101914 rm -f conftest.$ac_objext
101915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101916 (eval $ac_compile) 2>conftest.er1
101917 ac_status=$?
101918 grep -v '^ *+' conftest.er1 >conftest.err
101919 rm -f conftest.er1
101920 cat conftest.err >&5
101921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101922 (exit $ac_status); } &&
101923 { ac_try='test -z "$ac_cxx_werror_flag"
101924 || test ! -s conftest.err'
101925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101926 (eval $ac_try) 2>&5
101927 ac_status=$?
101928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101929 (exit $ac_status); }; } &&
101930 { ac_try='test -s conftest.$ac_objext'
101931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101932 (eval $ac_try) 2>&5
101933 ac_status=$?
101934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101935 (exit $ac_status); }; }; then
101936 glibcxx_cv_func_hypotl_use=yes
101938 echo "$as_me: failed program was:" >&5
101939 sed 's/^/| /' conftest.$ac_ext >&5
101941 glibcxx_cv_func_hypotl_use=no
101943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101944 ac_ext=c
101945 ac_cpp='$CPP $CPPFLAGS'
101946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101955 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101957 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101959 for ac_func in hypotl
101961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101962 echo "$as_me:$LINENO: checking for $ac_func" >&5
101963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101964 if eval "test \"\${$as_ac_var+set}\" = set"; then
101965 echo $ECHO_N "(cached) $ECHO_C" >&6
101967 if test x$gcc_no_link = xyes; then
101968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101970 { (exit 1); exit 1; }; }
101972 cat >conftest.$ac_ext <<_ACEOF
101973 /* confdefs.h. */
101974 _ACEOF
101975 cat confdefs.h >>conftest.$ac_ext
101976 cat >>conftest.$ac_ext <<_ACEOF
101977 /* end confdefs.h. */
101978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101980 #define $ac_func innocuous_$ac_func
101982 /* System header to define __stub macros and hopefully few prototypes,
101983 which can conflict with char $ac_func (); below.
101984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101985 <limits.h> exists even on freestanding compilers. */
101987 #ifdef __STDC__
101988 # include <limits.h>
101989 #else
101990 # include <assert.h>
101991 #endif
101993 #undef $ac_func
101995 /* Override any gcc2 internal prototype to avoid an error. */
101996 #ifdef __cplusplus
101997 extern "C"
101999 #endif
102000 /* We use char because int might match the return type of a gcc2
102001 builtin and then its argument prototype would still apply. */
102002 char $ac_func ();
102003 /* The GNU C library defines this for functions which it implements
102004 to always fail with ENOSYS. Some functions are actually named
102005 something starting with __ and the normal name is an alias. */
102006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102007 choke me
102008 #else
102009 char (*f) () = $ac_func;
102010 #endif
102011 #ifdef __cplusplus
102013 #endif
102016 main ()
102018 return f != $ac_func;
102020 return 0;
102022 _ACEOF
102023 rm -f conftest.$ac_objext conftest$ac_exeext
102024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102025 (eval $ac_link) 2>conftest.er1
102026 ac_status=$?
102027 grep -v '^ *+' conftest.er1 >conftest.err
102028 rm -f conftest.er1
102029 cat conftest.err >&5
102030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102031 (exit $ac_status); } &&
102032 { ac_try='test -z "$ac_c_werror_flag"
102033 || test ! -s conftest.err'
102034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102035 (eval $ac_try) 2>&5
102036 ac_status=$?
102037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102038 (exit $ac_status); }; } &&
102039 { ac_try='test -s conftest$ac_exeext'
102040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102041 (eval $ac_try) 2>&5
102042 ac_status=$?
102043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102044 (exit $ac_status); }; }; then
102045 eval "$as_ac_var=yes"
102047 echo "$as_me: failed program was:" >&5
102048 sed 's/^/| /' conftest.$ac_ext >&5
102050 eval "$as_ac_var=no"
102052 rm -f conftest.err conftest.$ac_objext \
102053 conftest$ac_exeext conftest.$ac_ext
102055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102057 if test `eval echo '${'$as_ac_var'}'` = yes; then
102058 cat >>confdefs.h <<_ACEOF
102059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102060 _ACEOF
102067 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102068 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102069 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102070 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102071 echo $ECHO_N "(cached) $ECHO_C" >&6
102076 ac_ext=cc
102077 ac_cpp='$CXXCPP $CPPFLAGS'
102078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102082 cat >conftest.$ac_ext <<_ACEOF
102083 /* confdefs.h. */
102084 _ACEOF
102085 cat confdefs.h >>conftest.$ac_ext
102086 cat >>conftest.$ac_ext <<_ACEOF
102087 /* end confdefs.h. */
102088 #include <math.h>
102090 main ()
102092 _hypotl(0, 0);
102094 return 0;
102096 _ACEOF
102097 rm -f conftest.$ac_objext
102098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102099 (eval $ac_compile) 2>conftest.er1
102100 ac_status=$?
102101 grep -v '^ *+' conftest.er1 >conftest.err
102102 rm -f conftest.er1
102103 cat conftest.err >&5
102104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102105 (exit $ac_status); } &&
102106 { ac_try='test -z "$ac_cxx_werror_flag"
102107 || test ! -s conftest.err'
102108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102109 (eval $ac_try) 2>&5
102110 ac_status=$?
102111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102112 (exit $ac_status); }; } &&
102113 { ac_try='test -s conftest.$ac_objext'
102114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102115 (eval $ac_try) 2>&5
102116 ac_status=$?
102117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102118 (exit $ac_status); }; }; then
102119 glibcxx_cv_func__hypotl_use=yes
102121 echo "$as_me: failed program was:" >&5
102122 sed 's/^/| /' conftest.$ac_ext >&5
102124 glibcxx_cv_func__hypotl_use=no
102126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102127 ac_ext=c
102128 ac_cpp='$CPP $CPPFLAGS'
102129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102138 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102140 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102142 for ac_func in _hypotl
102144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102145 echo "$as_me:$LINENO: checking for $ac_func" >&5
102146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102147 if eval "test \"\${$as_ac_var+set}\" = set"; then
102148 echo $ECHO_N "(cached) $ECHO_C" >&6
102150 if test x$gcc_no_link = xyes; then
102151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102153 { (exit 1); exit 1; }; }
102155 cat >conftest.$ac_ext <<_ACEOF
102156 /* confdefs.h. */
102157 _ACEOF
102158 cat confdefs.h >>conftest.$ac_ext
102159 cat >>conftest.$ac_ext <<_ACEOF
102160 /* end confdefs.h. */
102161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102163 #define $ac_func innocuous_$ac_func
102165 /* System header to define __stub macros and hopefully few prototypes,
102166 which can conflict with char $ac_func (); below.
102167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102168 <limits.h> exists even on freestanding compilers. */
102170 #ifdef __STDC__
102171 # include <limits.h>
102172 #else
102173 # include <assert.h>
102174 #endif
102176 #undef $ac_func
102178 /* Override any gcc2 internal prototype to avoid an error. */
102179 #ifdef __cplusplus
102180 extern "C"
102182 #endif
102183 /* We use char because int might match the return type of a gcc2
102184 builtin and then its argument prototype would still apply. */
102185 char $ac_func ();
102186 /* The GNU C library defines this for functions which it implements
102187 to always fail with ENOSYS. Some functions are actually named
102188 something starting with __ and the normal name is an alias. */
102189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102190 choke me
102191 #else
102192 char (*f) () = $ac_func;
102193 #endif
102194 #ifdef __cplusplus
102196 #endif
102199 main ()
102201 return f != $ac_func;
102203 return 0;
102205 _ACEOF
102206 rm -f conftest.$ac_objext conftest$ac_exeext
102207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102208 (eval $ac_link) 2>conftest.er1
102209 ac_status=$?
102210 grep -v '^ *+' conftest.er1 >conftest.err
102211 rm -f conftest.er1
102212 cat conftest.err >&5
102213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102214 (exit $ac_status); } &&
102215 { ac_try='test -z "$ac_c_werror_flag"
102216 || test ! -s conftest.err'
102217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102218 (eval $ac_try) 2>&5
102219 ac_status=$?
102220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102221 (exit $ac_status); }; } &&
102222 { ac_try='test -s conftest$ac_exeext'
102223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102224 (eval $ac_try) 2>&5
102225 ac_status=$?
102226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102227 (exit $ac_status); }; }; then
102228 eval "$as_ac_var=yes"
102230 echo "$as_me: failed program was:" >&5
102231 sed 's/^/| /' conftest.$ac_ext >&5
102233 eval "$as_ac_var=no"
102235 rm -f conftest.err conftest.$ac_objext \
102236 conftest$ac_exeext conftest.$ac_ext
102238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102240 if test `eval echo '${'$as_ac_var'}'` = yes; then
102241 cat >>confdefs.h <<_ACEOF
102242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102243 _ACEOF
102256 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102257 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102258 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102259 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102260 echo $ECHO_N "(cached) $ECHO_C" >&6
102265 ac_ext=cc
102266 ac_cpp='$CXXCPP $CPPFLAGS'
102267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102271 cat >conftest.$ac_ext <<_ACEOF
102272 /* confdefs.h. */
102273 _ACEOF
102274 cat confdefs.h >>conftest.$ac_ext
102275 cat >>conftest.$ac_ext <<_ACEOF
102276 /* end confdefs.h. */
102277 #include <math.h>
102279 main ()
102281 ldexpl(0, 0);
102283 return 0;
102285 _ACEOF
102286 rm -f conftest.$ac_objext
102287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102288 (eval $ac_compile) 2>conftest.er1
102289 ac_status=$?
102290 grep -v '^ *+' conftest.er1 >conftest.err
102291 rm -f conftest.er1
102292 cat conftest.err >&5
102293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102294 (exit $ac_status); } &&
102295 { ac_try='test -z "$ac_cxx_werror_flag"
102296 || test ! -s conftest.err'
102297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102298 (eval $ac_try) 2>&5
102299 ac_status=$?
102300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102301 (exit $ac_status); }; } &&
102302 { ac_try='test -s conftest.$ac_objext'
102303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102304 (eval $ac_try) 2>&5
102305 ac_status=$?
102306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102307 (exit $ac_status); }; }; then
102308 glibcxx_cv_func_ldexpl_use=yes
102310 echo "$as_me: failed program was:" >&5
102311 sed 's/^/| /' conftest.$ac_ext >&5
102313 glibcxx_cv_func_ldexpl_use=no
102315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102316 ac_ext=c
102317 ac_cpp='$CPP $CPPFLAGS'
102318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102327 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102329 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102331 for ac_func in ldexpl
102333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102334 echo "$as_me:$LINENO: checking for $ac_func" >&5
102335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102336 if eval "test \"\${$as_ac_var+set}\" = set"; then
102337 echo $ECHO_N "(cached) $ECHO_C" >&6
102339 if test x$gcc_no_link = xyes; then
102340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102342 { (exit 1); exit 1; }; }
102344 cat >conftest.$ac_ext <<_ACEOF
102345 /* confdefs.h. */
102346 _ACEOF
102347 cat confdefs.h >>conftest.$ac_ext
102348 cat >>conftest.$ac_ext <<_ACEOF
102349 /* end confdefs.h. */
102350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102352 #define $ac_func innocuous_$ac_func
102354 /* System header to define __stub macros and hopefully few prototypes,
102355 which can conflict with char $ac_func (); below.
102356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102357 <limits.h> exists even on freestanding compilers. */
102359 #ifdef __STDC__
102360 # include <limits.h>
102361 #else
102362 # include <assert.h>
102363 #endif
102365 #undef $ac_func
102367 /* Override any gcc2 internal prototype to avoid an error. */
102368 #ifdef __cplusplus
102369 extern "C"
102371 #endif
102372 /* We use char because int might match the return type of a gcc2
102373 builtin and then its argument prototype would still apply. */
102374 char $ac_func ();
102375 /* The GNU C library defines this for functions which it implements
102376 to always fail with ENOSYS. Some functions are actually named
102377 something starting with __ and the normal name is an alias. */
102378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102379 choke me
102380 #else
102381 char (*f) () = $ac_func;
102382 #endif
102383 #ifdef __cplusplus
102385 #endif
102388 main ()
102390 return f != $ac_func;
102392 return 0;
102394 _ACEOF
102395 rm -f conftest.$ac_objext conftest$ac_exeext
102396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102397 (eval $ac_link) 2>conftest.er1
102398 ac_status=$?
102399 grep -v '^ *+' conftest.er1 >conftest.err
102400 rm -f conftest.er1
102401 cat conftest.err >&5
102402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102403 (exit $ac_status); } &&
102404 { ac_try='test -z "$ac_c_werror_flag"
102405 || test ! -s conftest.err'
102406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102407 (eval $ac_try) 2>&5
102408 ac_status=$?
102409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102410 (exit $ac_status); }; } &&
102411 { ac_try='test -s conftest$ac_exeext'
102412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102413 (eval $ac_try) 2>&5
102414 ac_status=$?
102415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102416 (exit $ac_status); }; }; then
102417 eval "$as_ac_var=yes"
102419 echo "$as_me: failed program was:" >&5
102420 sed 's/^/| /' conftest.$ac_ext >&5
102422 eval "$as_ac_var=no"
102424 rm -f conftest.err conftest.$ac_objext \
102425 conftest$ac_exeext conftest.$ac_ext
102427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102429 if test `eval echo '${'$as_ac_var'}'` = yes; then
102430 cat >>confdefs.h <<_ACEOF
102431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102432 _ACEOF
102439 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102440 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102441 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102442 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102443 echo $ECHO_N "(cached) $ECHO_C" >&6
102448 ac_ext=cc
102449 ac_cpp='$CXXCPP $CPPFLAGS'
102450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102454 cat >conftest.$ac_ext <<_ACEOF
102455 /* confdefs.h. */
102456 _ACEOF
102457 cat confdefs.h >>conftest.$ac_ext
102458 cat >>conftest.$ac_ext <<_ACEOF
102459 /* end confdefs.h. */
102460 #include <math.h>
102462 main ()
102464 _ldexpl(0, 0);
102466 return 0;
102468 _ACEOF
102469 rm -f conftest.$ac_objext
102470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102471 (eval $ac_compile) 2>conftest.er1
102472 ac_status=$?
102473 grep -v '^ *+' conftest.er1 >conftest.err
102474 rm -f conftest.er1
102475 cat conftest.err >&5
102476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102477 (exit $ac_status); } &&
102478 { ac_try='test -z "$ac_cxx_werror_flag"
102479 || test ! -s conftest.err'
102480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102481 (eval $ac_try) 2>&5
102482 ac_status=$?
102483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102484 (exit $ac_status); }; } &&
102485 { ac_try='test -s conftest.$ac_objext'
102486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102487 (eval $ac_try) 2>&5
102488 ac_status=$?
102489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102490 (exit $ac_status); }; }; then
102491 glibcxx_cv_func__ldexpl_use=yes
102493 echo "$as_me: failed program was:" >&5
102494 sed 's/^/| /' conftest.$ac_ext >&5
102496 glibcxx_cv_func__ldexpl_use=no
102498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102499 ac_ext=c
102500 ac_cpp='$CPP $CPPFLAGS'
102501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102510 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102512 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102514 for ac_func in _ldexpl
102516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102517 echo "$as_me:$LINENO: checking for $ac_func" >&5
102518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102519 if eval "test \"\${$as_ac_var+set}\" = set"; then
102520 echo $ECHO_N "(cached) $ECHO_C" >&6
102522 if test x$gcc_no_link = xyes; then
102523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102525 { (exit 1); exit 1; }; }
102527 cat >conftest.$ac_ext <<_ACEOF
102528 /* confdefs.h. */
102529 _ACEOF
102530 cat confdefs.h >>conftest.$ac_ext
102531 cat >>conftest.$ac_ext <<_ACEOF
102532 /* end confdefs.h. */
102533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102535 #define $ac_func innocuous_$ac_func
102537 /* System header to define __stub macros and hopefully few prototypes,
102538 which can conflict with char $ac_func (); below.
102539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102540 <limits.h> exists even on freestanding compilers. */
102542 #ifdef __STDC__
102543 # include <limits.h>
102544 #else
102545 # include <assert.h>
102546 #endif
102548 #undef $ac_func
102550 /* Override any gcc2 internal prototype to avoid an error. */
102551 #ifdef __cplusplus
102552 extern "C"
102554 #endif
102555 /* We use char because int might match the return type of a gcc2
102556 builtin and then its argument prototype would still apply. */
102557 char $ac_func ();
102558 /* The GNU C library defines this for functions which it implements
102559 to always fail with ENOSYS. Some functions are actually named
102560 something starting with __ and the normal name is an alias. */
102561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102562 choke me
102563 #else
102564 char (*f) () = $ac_func;
102565 #endif
102566 #ifdef __cplusplus
102568 #endif
102571 main ()
102573 return f != $ac_func;
102575 return 0;
102577 _ACEOF
102578 rm -f conftest.$ac_objext conftest$ac_exeext
102579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102580 (eval $ac_link) 2>conftest.er1
102581 ac_status=$?
102582 grep -v '^ *+' conftest.er1 >conftest.err
102583 rm -f conftest.er1
102584 cat conftest.err >&5
102585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102586 (exit $ac_status); } &&
102587 { ac_try='test -z "$ac_c_werror_flag"
102588 || test ! -s conftest.err'
102589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102590 (eval $ac_try) 2>&5
102591 ac_status=$?
102592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102593 (exit $ac_status); }; } &&
102594 { ac_try='test -s conftest$ac_exeext'
102595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102596 (eval $ac_try) 2>&5
102597 ac_status=$?
102598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102599 (exit $ac_status); }; }; then
102600 eval "$as_ac_var=yes"
102602 echo "$as_me: failed program was:" >&5
102603 sed 's/^/| /' conftest.$ac_ext >&5
102605 eval "$as_ac_var=no"
102607 rm -f conftest.err conftest.$ac_objext \
102608 conftest$ac_exeext conftest.$ac_ext
102610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102612 if test `eval echo '${'$as_ac_var'}'` = yes; then
102613 cat >>confdefs.h <<_ACEOF
102614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102615 _ACEOF
102628 echo "$as_me:$LINENO: checking for logl declaration" >&5
102629 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102630 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102631 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102632 echo $ECHO_N "(cached) $ECHO_C" >&6
102637 ac_ext=cc
102638 ac_cpp='$CXXCPP $CPPFLAGS'
102639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102643 cat >conftest.$ac_ext <<_ACEOF
102644 /* confdefs.h. */
102645 _ACEOF
102646 cat confdefs.h >>conftest.$ac_ext
102647 cat >>conftest.$ac_ext <<_ACEOF
102648 /* end confdefs.h. */
102649 #include <math.h>
102650 #ifdef HAVE_IEEEFP_H
102651 #include <ieeefp.h>
102652 #endif
102655 main ()
102657 logl(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_logl_use=yes
102686 echo "$as_me: failed program was:" >&5
102687 sed 's/^/| /' conftest.$ac_ext >&5
102689 glibcxx_cv_func_logl_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_logl_use" >&5
102703 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102705 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102707 for ac_func in logl
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
102815 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102816 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102817 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102818 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102819 echo $ECHO_N "(cached) $ECHO_C" >&6
102824 ac_ext=cc
102825 ac_cpp='$CXXCPP $CPPFLAGS'
102826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102830 cat >conftest.$ac_ext <<_ACEOF
102831 /* confdefs.h. */
102832 _ACEOF
102833 cat confdefs.h >>conftest.$ac_ext
102834 cat >>conftest.$ac_ext <<_ACEOF
102835 /* end confdefs.h. */
102836 #include <math.h>
102837 #ifdef HAVE_IEEEFP_H
102838 #include <ieeefp.h>
102839 #endif
102842 main ()
102844 _logl(0);
102846 return 0;
102848 _ACEOF
102849 rm -f conftest.$ac_objext
102850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102851 (eval $ac_compile) 2>conftest.er1
102852 ac_status=$?
102853 grep -v '^ *+' conftest.er1 >conftest.err
102854 rm -f conftest.er1
102855 cat conftest.err >&5
102856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102857 (exit $ac_status); } &&
102858 { ac_try='test -z "$ac_cxx_werror_flag"
102859 || test ! -s conftest.err'
102860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102861 (eval $ac_try) 2>&5
102862 ac_status=$?
102863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102864 (exit $ac_status); }; } &&
102865 { ac_try='test -s conftest.$ac_objext'
102866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102867 (eval $ac_try) 2>&5
102868 ac_status=$?
102869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102870 (exit $ac_status); }; }; then
102871 glibcxx_cv_func__logl_use=yes
102873 echo "$as_me: failed program was:" >&5
102874 sed 's/^/| /' conftest.$ac_ext >&5
102876 glibcxx_cv_func__logl_use=no
102878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102879 ac_ext=c
102880 ac_cpp='$CPP $CPPFLAGS'
102881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102890 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102892 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102894 for ac_func in _logl
102896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102897 echo "$as_me:$LINENO: checking for $ac_func" >&5
102898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102899 if eval "test \"\${$as_ac_var+set}\" = set"; then
102900 echo $ECHO_N "(cached) $ECHO_C" >&6
102902 if test x$gcc_no_link = xyes; then
102903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102905 { (exit 1); exit 1; }; }
102907 cat >conftest.$ac_ext <<_ACEOF
102908 /* confdefs.h. */
102909 _ACEOF
102910 cat confdefs.h >>conftest.$ac_ext
102911 cat >>conftest.$ac_ext <<_ACEOF
102912 /* end confdefs.h. */
102913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102915 #define $ac_func innocuous_$ac_func
102917 /* System header to define __stub macros and hopefully few prototypes,
102918 which can conflict with char $ac_func (); below.
102919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102920 <limits.h> exists even on freestanding compilers. */
102922 #ifdef __STDC__
102923 # include <limits.h>
102924 #else
102925 # include <assert.h>
102926 #endif
102928 #undef $ac_func
102930 /* Override any gcc2 internal prototype to avoid an error. */
102931 #ifdef __cplusplus
102932 extern "C"
102934 #endif
102935 /* We use char because int might match the return type of a gcc2
102936 builtin and then its argument prototype would still apply. */
102937 char $ac_func ();
102938 /* The GNU C library defines this for functions which it implements
102939 to always fail with ENOSYS. Some functions are actually named
102940 something starting with __ and the normal name is an alias. */
102941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102942 choke me
102943 #else
102944 char (*f) () = $ac_func;
102945 #endif
102946 #ifdef __cplusplus
102948 #endif
102951 main ()
102953 return f != $ac_func;
102955 return 0;
102957 _ACEOF
102958 rm -f conftest.$ac_objext conftest$ac_exeext
102959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102960 (eval $ac_link) 2>conftest.er1
102961 ac_status=$?
102962 grep -v '^ *+' conftest.er1 >conftest.err
102963 rm -f conftest.er1
102964 cat conftest.err >&5
102965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102966 (exit $ac_status); } &&
102967 { ac_try='test -z "$ac_c_werror_flag"
102968 || test ! -s conftest.err'
102969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102970 (eval $ac_try) 2>&5
102971 ac_status=$?
102972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102973 (exit $ac_status); }; } &&
102974 { ac_try='test -s conftest$ac_exeext'
102975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102976 (eval $ac_try) 2>&5
102977 ac_status=$?
102978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102979 (exit $ac_status); }; }; then
102980 eval "$as_ac_var=yes"
102982 echo "$as_me: failed program was:" >&5
102983 sed 's/^/| /' conftest.$ac_ext >&5
102985 eval "$as_ac_var=no"
102987 rm -f conftest.err conftest.$ac_objext \
102988 conftest$ac_exeext conftest.$ac_ext
102990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102992 if test `eval echo '${'$as_ac_var'}'` = yes; then
102993 cat >>confdefs.h <<_ACEOF
102994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102995 _ACEOF
103008 echo "$as_me:$LINENO: checking for log10l declaration" >&5
103009 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103010 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103011 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103012 echo $ECHO_N "(cached) $ECHO_C" >&6
103017 ac_ext=cc
103018 ac_cpp='$CXXCPP $CPPFLAGS'
103019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103023 cat >conftest.$ac_ext <<_ACEOF
103024 /* confdefs.h. */
103025 _ACEOF
103026 cat confdefs.h >>conftest.$ac_ext
103027 cat >>conftest.$ac_ext <<_ACEOF
103028 /* end confdefs.h. */
103029 #include <math.h>
103030 #ifdef HAVE_IEEEFP_H
103031 #include <ieeefp.h>
103032 #endif
103035 main ()
103037 log10l(0);
103039 return 0;
103041 _ACEOF
103042 rm -f conftest.$ac_objext
103043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103044 (eval $ac_compile) 2>conftest.er1
103045 ac_status=$?
103046 grep -v '^ *+' conftest.er1 >conftest.err
103047 rm -f conftest.er1
103048 cat conftest.err >&5
103049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103050 (exit $ac_status); } &&
103051 { ac_try='test -z "$ac_cxx_werror_flag"
103052 || test ! -s conftest.err'
103053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103054 (eval $ac_try) 2>&5
103055 ac_status=$?
103056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103057 (exit $ac_status); }; } &&
103058 { ac_try='test -s conftest.$ac_objext'
103059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103060 (eval $ac_try) 2>&5
103061 ac_status=$?
103062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103063 (exit $ac_status); }; }; then
103064 glibcxx_cv_func_log10l_use=yes
103066 echo "$as_me: failed program was:" >&5
103067 sed 's/^/| /' conftest.$ac_ext >&5
103069 glibcxx_cv_func_log10l_use=no
103071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103072 ac_ext=c
103073 ac_cpp='$CPP $CPPFLAGS'
103074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103083 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103085 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103087 for ac_func in log10l
103089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103090 echo "$as_me:$LINENO: checking for $ac_func" >&5
103091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103092 if eval "test \"\${$as_ac_var+set}\" = set"; then
103093 echo $ECHO_N "(cached) $ECHO_C" >&6
103095 if test x$gcc_no_link = xyes; then
103096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103098 { (exit 1); exit 1; }; }
103100 cat >conftest.$ac_ext <<_ACEOF
103101 /* confdefs.h. */
103102 _ACEOF
103103 cat confdefs.h >>conftest.$ac_ext
103104 cat >>conftest.$ac_ext <<_ACEOF
103105 /* end confdefs.h. */
103106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103108 #define $ac_func innocuous_$ac_func
103110 /* System header to define __stub macros and hopefully few prototypes,
103111 which can conflict with char $ac_func (); below.
103112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103113 <limits.h> exists even on freestanding compilers. */
103115 #ifdef __STDC__
103116 # include <limits.h>
103117 #else
103118 # include <assert.h>
103119 #endif
103121 #undef $ac_func
103123 /* Override any gcc2 internal prototype to avoid an error. */
103124 #ifdef __cplusplus
103125 extern "C"
103127 #endif
103128 /* We use char because int might match the return type of a gcc2
103129 builtin and then its argument prototype would still apply. */
103130 char $ac_func ();
103131 /* The GNU C library defines this for functions which it implements
103132 to always fail with ENOSYS. Some functions are actually named
103133 something starting with __ and the normal name is an alias. */
103134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103135 choke me
103136 #else
103137 char (*f) () = $ac_func;
103138 #endif
103139 #ifdef __cplusplus
103141 #endif
103144 main ()
103146 return f != $ac_func;
103148 return 0;
103150 _ACEOF
103151 rm -f conftest.$ac_objext conftest$ac_exeext
103152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103153 (eval $ac_link) 2>conftest.er1
103154 ac_status=$?
103155 grep -v '^ *+' conftest.er1 >conftest.err
103156 rm -f conftest.er1
103157 cat conftest.err >&5
103158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103159 (exit $ac_status); } &&
103160 { ac_try='test -z "$ac_c_werror_flag"
103161 || test ! -s conftest.err'
103162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103163 (eval $ac_try) 2>&5
103164 ac_status=$?
103165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103166 (exit $ac_status); }; } &&
103167 { ac_try='test -s conftest$ac_exeext'
103168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103169 (eval $ac_try) 2>&5
103170 ac_status=$?
103171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103172 (exit $ac_status); }; }; then
103173 eval "$as_ac_var=yes"
103175 echo "$as_me: failed program was:" >&5
103176 sed 's/^/| /' conftest.$ac_ext >&5
103178 eval "$as_ac_var=no"
103180 rm -f conftest.err conftest.$ac_objext \
103181 conftest$ac_exeext conftest.$ac_ext
103183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103185 if test `eval echo '${'$as_ac_var'}'` = yes; then
103186 cat >>confdefs.h <<_ACEOF
103187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103188 _ACEOF
103195 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103196 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103197 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103198 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103199 echo $ECHO_N "(cached) $ECHO_C" >&6
103204 ac_ext=cc
103205 ac_cpp='$CXXCPP $CPPFLAGS'
103206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103210 cat >conftest.$ac_ext <<_ACEOF
103211 /* confdefs.h. */
103212 _ACEOF
103213 cat confdefs.h >>conftest.$ac_ext
103214 cat >>conftest.$ac_ext <<_ACEOF
103215 /* end confdefs.h. */
103216 #include <math.h>
103217 #ifdef HAVE_IEEEFP_H
103218 #include <ieeefp.h>
103219 #endif
103222 main ()
103224 _log10l(0);
103226 return 0;
103228 _ACEOF
103229 rm -f conftest.$ac_objext
103230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103231 (eval $ac_compile) 2>conftest.er1
103232 ac_status=$?
103233 grep -v '^ *+' conftest.er1 >conftest.err
103234 rm -f conftest.er1
103235 cat conftest.err >&5
103236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103237 (exit $ac_status); } &&
103238 { ac_try='test -z "$ac_cxx_werror_flag"
103239 || test ! -s conftest.err'
103240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103241 (eval $ac_try) 2>&5
103242 ac_status=$?
103243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103244 (exit $ac_status); }; } &&
103245 { ac_try='test -s conftest.$ac_objext'
103246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103247 (eval $ac_try) 2>&5
103248 ac_status=$?
103249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103250 (exit $ac_status); }; }; then
103251 glibcxx_cv_func__log10l_use=yes
103253 echo "$as_me: failed program was:" >&5
103254 sed 's/^/| /' conftest.$ac_ext >&5
103256 glibcxx_cv_func__log10l_use=no
103258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103259 ac_ext=c
103260 ac_cpp='$CPP $CPPFLAGS'
103261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103270 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103272 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103274 for ac_func in _log10l
103276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103277 echo "$as_me:$LINENO: checking for $ac_func" >&5
103278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103279 if eval "test \"\${$as_ac_var+set}\" = set"; then
103280 echo $ECHO_N "(cached) $ECHO_C" >&6
103282 if test x$gcc_no_link = xyes; then
103283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103285 { (exit 1); exit 1; }; }
103287 cat >conftest.$ac_ext <<_ACEOF
103288 /* confdefs.h. */
103289 _ACEOF
103290 cat confdefs.h >>conftest.$ac_ext
103291 cat >>conftest.$ac_ext <<_ACEOF
103292 /* end confdefs.h. */
103293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103295 #define $ac_func innocuous_$ac_func
103297 /* System header to define __stub macros and hopefully few prototypes,
103298 which can conflict with char $ac_func (); below.
103299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103300 <limits.h> exists even on freestanding compilers. */
103302 #ifdef __STDC__
103303 # include <limits.h>
103304 #else
103305 # include <assert.h>
103306 #endif
103308 #undef $ac_func
103310 /* Override any gcc2 internal prototype to avoid an error. */
103311 #ifdef __cplusplus
103312 extern "C"
103314 #endif
103315 /* We use char because int might match the return type of a gcc2
103316 builtin and then its argument prototype would still apply. */
103317 char $ac_func ();
103318 /* The GNU C library defines this for functions which it implements
103319 to always fail with ENOSYS. Some functions are actually named
103320 something starting with __ and the normal name is an alias. */
103321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103322 choke me
103323 #else
103324 char (*f) () = $ac_func;
103325 #endif
103326 #ifdef __cplusplus
103328 #endif
103331 main ()
103333 return f != $ac_func;
103335 return 0;
103337 _ACEOF
103338 rm -f conftest.$ac_objext conftest$ac_exeext
103339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103340 (eval $ac_link) 2>conftest.er1
103341 ac_status=$?
103342 grep -v '^ *+' conftest.er1 >conftest.err
103343 rm -f conftest.er1
103344 cat conftest.err >&5
103345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103346 (exit $ac_status); } &&
103347 { ac_try='test -z "$ac_c_werror_flag"
103348 || test ! -s conftest.err'
103349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103350 (eval $ac_try) 2>&5
103351 ac_status=$?
103352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103353 (exit $ac_status); }; } &&
103354 { ac_try='test -s conftest$ac_exeext'
103355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103356 (eval $ac_try) 2>&5
103357 ac_status=$?
103358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103359 (exit $ac_status); }; }; then
103360 eval "$as_ac_var=yes"
103362 echo "$as_me: failed program was:" >&5
103363 sed 's/^/| /' conftest.$ac_ext >&5
103365 eval "$as_ac_var=no"
103367 rm -f conftest.err conftest.$ac_objext \
103368 conftest$ac_exeext conftest.$ac_ext
103370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103372 if test `eval echo '${'$as_ac_var'}'` = yes; then
103373 cat >>confdefs.h <<_ACEOF
103374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103375 _ACEOF
103388 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103389 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103390 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103391 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103392 echo $ECHO_N "(cached) $ECHO_C" >&6
103397 ac_ext=cc
103398 ac_cpp='$CXXCPP $CPPFLAGS'
103399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103403 cat >conftest.$ac_ext <<_ACEOF
103404 /* confdefs.h. */
103405 _ACEOF
103406 cat confdefs.h >>conftest.$ac_ext
103407 cat >>conftest.$ac_ext <<_ACEOF
103408 /* end confdefs.h. */
103409 #include <math.h>
103411 main ()
103413 modfl(0, 0);
103415 return 0;
103417 _ACEOF
103418 rm -f conftest.$ac_objext
103419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103420 (eval $ac_compile) 2>conftest.er1
103421 ac_status=$?
103422 grep -v '^ *+' conftest.er1 >conftest.err
103423 rm -f conftest.er1
103424 cat conftest.err >&5
103425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103426 (exit $ac_status); } &&
103427 { ac_try='test -z "$ac_cxx_werror_flag"
103428 || test ! -s conftest.err'
103429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103430 (eval $ac_try) 2>&5
103431 ac_status=$?
103432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103433 (exit $ac_status); }; } &&
103434 { ac_try='test -s conftest.$ac_objext'
103435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103436 (eval $ac_try) 2>&5
103437 ac_status=$?
103438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103439 (exit $ac_status); }; }; then
103440 glibcxx_cv_func_modfl_use=yes
103442 echo "$as_me: failed program was:" >&5
103443 sed 's/^/| /' conftest.$ac_ext >&5
103445 glibcxx_cv_func_modfl_use=no
103447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103448 ac_ext=c
103449 ac_cpp='$CPP $CPPFLAGS'
103450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103459 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103461 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103463 for ac_func in modfl
103465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103466 echo "$as_me:$LINENO: checking for $ac_func" >&5
103467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103468 if eval "test \"\${$as_ac_var+set}\" = set"; then
103469 echo $ECHO_N "(cached) $ECHO_C" >&6
103471 if test x$gcc_no_link = xyes; then
103472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103474 { (exit 1); exit 1; }; }
103476 cat >conftest.$ac_ext <<_ACEOF
103477 /* confdefs.h. */
103478 _ACEOF
103479 cat confdefs.h >>conftest.$ac_ext
103480 cat >>conftest.$ac_ext <<_ACEOF
103481 /* end confdefs.h. */
103482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103484 #define $ac_func innocuous_$ac_func
103486 /* System header to define __stub macros and hopefully few prototypes,
103487 which can conflict with char $ac_func (); below.
103488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103489 <limits.h> exists even on freestanding compilers. */
103491 #ifdef __STDC__
103492 # include <limits.h>
103493 #else
103494 # include <assert.h>
103495 #endif
103497 #undef $ac_func
103499 /* Override any gcc2 internal prototype to avoid an error. */
103500 #ifdef __cplusplus
103501 extern "C"
103503 #endif
103504 /* We use char because int might match the return type of a gcc2
103505 builtin and then its argument prototype would still apply. */
103506 char $ac_func ();
103507 /* The GNU C library defines this for functions which it implements
103508 to always fail with ENOSYS. Some functions are actually named
103509 something starting with __ and the normal name is an alias. */
103510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103511 choke me
103512 #else
103513 char (*f) () = $ac_func;
103514 #endif
103515 #ifdef __cplusplus
103517 #endif
103520 main ()
103522 return f != $ac_func;
103524 return 0;
103526 _ACEOF
103527 rm -f conftest.$ac_objext conftest$ac_exeext
103528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103529 (eval $ac_link) 2>conftest.er1
103530 ac_status=$?
103531 grep -v '^ *+' conftest.er1 >conftest.err
103532 rm -f conftest.er1
103533 cat conftest.err >&5
103534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103535 (exit $ac_status); } &&
103536 { ac_try='test -z "$ac_c_werror_flag"
103537 || test ! -s conftest.err'
103538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103539 (eval $ac_try) 2>&5
103540 ac_status=$?
103541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103542 (exit $ac_status); }; } &&
103543 { ac_try='test -s conftest$ac_exeext'
103544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103545 (eval $ac_try) 2>&5
103546 ac_status=$?
103547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103548 (exit $ac_status); }; }; then
103549 eval "$as_ac_var=yes"
103551 echo "$as_me: failed program was:" >&5
103552 sed 's/^/| /' conftest.$ac_ext >&5
103554 eval "$as_ac_var=no"
103556 rm -f conftest.err conftest.$ac_objext \
103557 conftest$ac_exeext conftest.$ac_ext
103559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103561 if test `eval echo '${'$as_ac_var'}'` = yes; then
103562 cat >>confdefs.h <<_ACEOF
103563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103564 _ACEOF
103571 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103572 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103573 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103574 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103575 echo $ECHO_N "(cached) $ECHO_C" >&6
103580 ac_ext=cc
103581 ac_cpp='$CXXCPP $CPPFLAGS'
103582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103586 cat >conftest.$ac_ext <<_ACEOF
103587 /* confdefs.h. */
103588 _ACEOF
103589 cat confdefs.h >>conftest.$ac_ext
103590 cat >>conftest.$ac_ext <<_ACEOF
103591 /* end confdefs.h. */
103592 #include <math.h>
103594 main ()
103596 _modfl(0, 0);
103598 return 0;
103600 _ACEOF
103601 rm -f conftest.$ac_objext
103602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103603 (eval $ac_compile) 2>conftest.er1
103604 ac_status=$?
103605 grep -v '^ *+' conftest.er1 >conftest.err
103606 rm -f conftest.er1
103607 cat conftest.err >&5
103608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103609 (exit $ac_status); } &&
103610 { ac_try='test -z "$ac_cxx_werror_flag"
103611 || test ! -s conftest.err'
103612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103613 (eval $ac_try) 2>&5
103614 ac_status=$?
103615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103616 (exit $ac_status); }; } &&
103617 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
103623 glibcxx_cv_func__modfl_use=yes
103625 echo "$as_me: failed program was:" >&5
103626 sed 's/^/| /' conftest.$ac_ext >&5
103628 glibcxx_cv_func__modfl_use=no
103630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103631 ac_ext=c
103632 ac_cpp='$CPP $CPPFLAGS'
103633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103642 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103644 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103646 for ac_func in _modfl
103648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103649 echo "$as_me:$LINENO: checking for $ac_func" >&5
103650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103651 if eval "test \"\${$as_ac_var+set}\" = set"; then
103652 echo $ECHO_N "(cached) $ECHO_C" >&6
103654 if test x$gcc_no_link = xyes; then
103655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103657 { (exit 1); exit 1; }; }
103659 cat >conftest.$ac_ext <<_ACEOF
103660 /* confdefs.h. */
103661 _ACEOF
103662 cat confdefs.h >>conftest.$ac_ext
103663 cat >>conftest.$ac_ext <<_ACEOF
103664 /* end confdefs.h. */
103665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103667 #define $ac_func innocuous_$ac_func
103669 /* System header to define __stub macros and hopefully few prototypes,
103670 which can conflict with char $ac_func (); below.
103671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103672 <limits.h> exists even on freestanding compilers. */
103674 #ifdef __STDC__
103675 # include <limits.h>
103676 #else
103677 # include <assert.h>
103678 #endif
103680 #undef $ac_func
103682 /* Override any gcc2 internal prototype to avoid an error. */
103683 #ifdef __cplusplus
103684 extern "C"
103686 #endif
103687 /* We use char because int might match the return type of a gcc2
103688 builtin and then its argument prototype would still apply. */
103689 char $ac_func ();
103690 /* The GNU C library defines this for functions which it implements
103691 to always fail with ENOSYS. Some functions are actually named
103692 something starting with __ and the normal name is an alias. */
103693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103694 choke me
103695 #else
103696 char (*f) () = $ac_func;
103697 #endif
103698 #ifdef __cplusplus
103700 #endif
103703 main ()
103705 return f != $ac_func;
103707 return 0;
103709 _ACEOF
103710 rm -f conftest.$ac_objext conftest$ac_exeext
103711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103712 (eval $ac_link) 2>conftest.er1
103713 ac_status=$?
103714 grep -v '^ *+' conftest.er1 >conftest.err
103715 rm -f conftest.er1
103716 cat conftest.err >&5
103717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103718 (exit $ac_status); } &&
103719 { ac_try='test -z "$ac_c_werror_flag"
103720 || test ! -s conftest.err'
103721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103722 (eval $ac_try) 2>&5
103723 ac_status=$?
103724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103725 (exit $ac_status); }; } &&
103726 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
103732 eval "$as_ac_var=yes"
103734 echo "$as_me: failed program was:" >&5
103735 sed 's/^/| /' conftest.$ac_ext >&5
103737 eval "$as_ac_var=no"
103739 rm -f conftest.err conftest.$ac_objext \
103740 conftest$ac_exeext conftest.$ac_ext
103742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103744 if test `eval echo '${'$as_ac_var'}'` = yes; then
103745 cat >>confdefs.h <<_ACEOF
103746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103747 _ACEOF
103760 echo "$as_me:$LINENO: checking for powl declaration" >&5
103761 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103762 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103763 if test "${glibcxx_cv_func_powl_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>
103783 main ()
103785 powl(0, 0);
103787 return 0;
103789 _ACEOF
103790 rm -f conftest.$ac_objext
103791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103792 (eval $ac_compile) 2>conftest.er1
103793 ac_status=$?
103794 grep -v '^ *+' conftest.er1 >conftest.err
103795 rm -f conftest.er1
103796 cat conftest.err >&5
103797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103798 (exit $ac_status); } &&
103799 { ac_try='test -z "$ac_cxx_werror_flag"
103800 || test ! -s conftest.err'
103801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103802 (eval $ac_try) 2>&5
103803 ac_status=$?
103804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103805 (exit $ac_status); }; } &&
103806 { ac_try='test -s conftest.$ac_objext'
103807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103808 (eval $ac_try) 2>&5
103809 ac_status=$?
103810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103811 (exit $ac_status); }; }; then
103812 glibcxx_cv_func_powl_use=yes
103814 echo "$as_me: failed program was:" >&5
103815 sed 's/^/| /' conftest.$ac_ext >&5
103817 glibcxx_cv_func_powl_use=no
103819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103820 ac_ext=c
103821 ac_cpp='$CPP $CPPFLAGS'
103822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103831 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103833 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103835 for ac_func in powl
103837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103838 echo "$as_me:$LINENO: checking for $ac_func" >&5
103839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103840 if eval "test \"\${$as_ac_var+set}\" = set"; then
103841 echo $ECHO_N "(cached) $ECHO_C" >&6
103843 if test x$gcc_no_link = xyes; then
103844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103846 { (exit 1); exit 1; }; }
103848 cat >conftest.$ac_ext <<_ACEOF
103849 /* confdefs.h. */
103850 _ACEOF
103851 cat confdefs.h >>conftest.$ac_ext
103852 cat >>conftest.$ac_ext <<_ACEOF
103853 /* end confdefs.h. */
103854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103856 #define $ac_func innocuous_$ac_func
103858 /* System header to define __stub macros and hopefully few prototypes,
103859 which can conflict with char $ac_func (); below.
103860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103861 <limits.h> exists even on freestanding compilers. */
103863 #ifdef __STDC__
103864 # include <limits.h>
103865 #else
103866 # include <assert.h>
103867 #endif
103869 #undef $ac_func
103871 /* Override any gcc2 internal prototype to avoid an error. */
103872 #ifdef __cplusplus
103873 extern "C"
103875 #endif
103876 /* We use char because int might match the return type of a gcc2
103877 builtin and then its argument prototype would still apply. */
103878 char $ac_func ();
103879 /* The GNU C library defines this for functions which it implements
103880 to always fail with ENOSYS. Some functions are actually named
103881 something starting with __ and the normal name is an alias. */
103882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103883 choke me
103884 #else
103885 char (*f) () = $ac_func;
103886 #endif
103887 #ifdef __cplusplus
103889 #endif
103892 main ()
103894 return f != $ac_func;
103896 return 0;
103898 _ACEOF
103899 rm -f conftest.$ac_objext conftest$ac_exeext
103900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103901 (eval $ac_link) 2>conftest.er1
103902 ac_status=$?
103903 grep -v '^ *+' conftest.er1 >conftest.err
103904 rm -f conftest.er1
103905 cat conftest.err >&5
103906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103907 (exit $ac_status); } &&
103908 { ac_try='test -z "$ac_c_werror_flag"
103909 || test ! -s conftest.err'
103910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103911 (eval $ac_try) 2>&5
103912 ac_status=$?
103913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103914 (exit $ac_status); }; } &&
103915 { ac_try='test -s conftest$ac_exeext'
103916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103917 (eval $ac_try) 2>&5
103918 ac_status=$?
103919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103920 (exit $ac_status); }; }; then
103921 eval "$as_ac_var=yes"
103923 echo "$as_me: failed program was:" >&5
103924 sed 's/^/| /' conftest.$ac_ext >&5
103926 eval "$as_ac_var=no"
103928 rm -f conftest.err conftest.$ac_objext \
103929 conftest$ac_exeext conftest.$ac_ext
103931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103933 if test `eval echo '${'$as_ac_var'}'` = yes; then
103934 cat >>confdefs.h <<_ACEOF
103935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103936 _ACEOF
103943 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103944 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103945 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103946 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103947 echo $ECHO_N "(cached) $ECHO_C" >&6
103952 ac_ext=cc
103953 ac_cpp='$CXXCPP $CPPFLAGS'
103954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103958 cat >conftest.$ac_ext <<_ACEOF
103959 /* confdefs.h. */
103960 _ACEOF
103961 cat confdefs.h >>conftest.$ac_ext
103962 cat >>conftest.$ac_ext <<_ACEOF
103963 /* end confdefs.h. */
103964 #include <math.h>
103966 main ()
103968 _powl(0, 0);
103970 return 0;
103972 _ACEOF
103973 rm -f conftest.$ac_objext
103974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103975 (eval $ac_compile) 2>conftest.er1
103976 ac_status=$?
103977 grep -v '^ *+' conftest.er1 >conftest.err
103978 rm -f conftest.er1
103979 cat conftest.err >&5
103980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103981 (exit $ac_status); } &&
103982 { ac_try='test -z "$ac_cxx_werror_flag"
103983 || test ! -s conftest.err'
103984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103985 (eval $ac_try) 2>&5
103986 ac_status=$?
103987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103988 (exit $ac_status); }; } &&
103989 { ac_try='test -s conftest.$ac_objext'
103990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103991 (eval $ac_try) 2>&5
103992 ac_status=$?
103993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103994 (exit $ac_status); }; }; then
103995 glibcxx_cv_func__powl_use=yes
103997 echo "$as_me: failed program was:" >&5
103998 sed 's/^/| /' conftest.$ac_ext >&5
104000 glibcxx_cv_func__powl_use=no
104002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104003 ac_ext=c
104004 ac_cpp='$CPP $CPPFLAGS'
104005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104014 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104016 if test x$glibcxx_cv_func__powl_use = x"yes"; then
104018 for ac_func in _powl
104020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104021 echo "$as_me:$LINENO: checking for $ac_func" >&5
104022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104023 if eval "test \"\${$as_ac_var+set}\" = set"; then
104024 echo $ECHO_N "(cached) $ECHO_C" >&6
104026 if test x$gcc_no_link = xyes; then
104027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104029 { (exit 1); exit 1; }; }
104031 cat >conftest.$ac_ext <<_ACEOF
104032 /* confdefs.h. */
104033 _ACEOF
104034 cat confdefs.h >>conftest.$ac_ext
104035 cat >>conftest.$ac_ext <<_ACEOF
104036 /* end confdefs.h. */
104037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104039 #define $ac_func innocuous_$ac_func
104041 /* System header to define __stub macros and hopefully few prototypes,
104042 which can conflict with char $ac_func (); below.
104043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104044 <limits.h> exists even on freestanding compilers. */
104046 #ifdef __STDC__
104047 # include <limits.h>
104048 #else
104049 # include <assert.h>
104050 #endif
104052 #undef $ac_func
104054 /* Override any gcc2 internal prototype to avoid an error. */
104055 #ifdef __cplusplus
104056 extern "C"
104058 #endif
104059 /* We use char because int might match the return type of a gcc2
104060 builtin and then its argument prototype would still apply. */
104061 char $ac_func ();
104062 /* The GNU C library defines this for functions which it implements
104063 to always fail with ENOSYS. Some functions are actually named
104064 something starting with __ and the normal name is an alias. */
104065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104066 choke me
104067 #else
104068 char (*f) () = $ac_func;
104069 #endif
104070 #ifdef __cplusplus
104072 #endif
104075 main ()
104077 return f != $ac_func;
104079 return 0;
104081 _ACEOF
104082 rm -f conftest.$ac_objext conftest$ac_exeext
104083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104084 (eval $ac_link) 2>conftest.er1
104085 ac_status=$?
104086 grep -v '^ *+' conftest.er1 >conftest.err
104087 rm -f conftest.er1
104088 cat conftest.err >&5
104089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104090 (exit $ac_status); } &&
104091 { ac_try='test -z "$ac_c_werror_flag"
104092 || test ! -s conftest.err'
104093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104094 (eval $ac_try) 2>&5
104095 ac_status=$?
104096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104097 (exit $ac_status); }; } &&
104098 { ac_try='test -s conftest$ac_exeext'
104099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104100 (eval $ac_try) 2>&5
104101 ac_status=$?
104102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104103 (exit $ac_status); }; }; then
104104 eval "$as_ac_var=yes"
104106 echo "$as_me: failed program was:" >&5
104107 sed 's/^/| /' conftest.$ac_ext >&5
104109 eval "$as_ac_var=no"
104111 rm -f conftest.err conftest.$ac_objext \
104112 conftest$ac_exeext conftest.$ac_ext
104114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104116 if test `eval echo '${'$as_ac_var'}'` = yes; then
104117 cat >>confdefs.h <<_ACEOF
104118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104119 _ACEOF
104132 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104133 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104134 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104135 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104136 echo $ECHO_N "(cached) $ECHO_C" >&6
104141 ac_ext=cc
104142 ac_cpp='$CXXCPP $CPPFLAGS'
104143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104147 cat >conftest.$ac_ext <<_ACEOF
104148 /* confdefs.h. */
104149 _ACEOF
104150 cat confdefs.h >>conftest.$ac_ext
104151 cat >>conftest.$ac_ext <<_ACEOF
104152 /* end confdefs.h. */
104153 #include <math.h>
104154 #ifdef HAVE_IEEEFP_H
104155 #include <ieeefp.h>
104156 #endif
104159 main ()
104161 sqrtl(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_sqrtl_use=yes
104190 echo "$as_me: failed program was:" >&5
104191 sed 's/^/| /' conftest.$ac_ext >&5
104193 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
104207 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104209 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104211 for ac_func in sqrtl
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
104319 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104320 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104321 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104322 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104323 echo $ECHO_N "(cached) $ECHO_C" >&6
104328 ac_ext=cc
104329 ac_cpp='$CXXCPP $CPPFLAGS'
104330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104334 cat >conftest.$ac_ext <<_ACEOF
104335 /* confdefs.h. */
104336 _ACEOF
104337 cat confdefs.h >>conftest.$ac_ext
104338 cat >>conftest.$ac_ext <<_ACEOF
104339 /* end confdefs.h. */
104340 #include <math.h>
104341 #ifdef HAVE_IEEEFP_H
104342 #include <ieeefp.h>
104343 #endif
104346 main ()
104348 _sqrtl(0);
104350 return 0;
104352 _ACEOF
104353 rm -f conftest.$ac_objext
104354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104355 (eval $ac_compile) 2>conftest.er1
104356 ac_status=$?
104357 grep -v '^ *+' conftest.er1 >conftest.err
104358 rm -f conftest.er1
104359 cat conftest.err >&5
104360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104361 (exit $ac_status); } &&
104362 { ac_try='test -z "$ac_cxx_werror_flag"
104363 || test ! -s conftest.err'
104364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104365 (eval $ac_try) 2>&5
104366 ac_status=$?
104367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104368 (exit $ac_status); }; } &&
104369 { ac_try='test -s conftest.$ac_objext'
104370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104371 (eval $ac_try) 2>&5
104372 ac_status=$?
104373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104374 (exit $ac_status); }; }; then
104375 glibcxx_cv_func__sqrtl_use=yes
104377 echo "$as_me: failed program was:" >&5
104378 sed 's/^/| /' conftest.$ac_ext >&5
104380 glibcxx_cv_func__sqrtl_use=no
104382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104383 ac_ext=c
104384 ac_cpp='$CPP $CPPFLAGS'
104385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104394 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104396 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104398 for ac_func in _sqrtl
104400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104401 echo "$as_me:$LINENO: checking for $ac_func" >&5
104402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104403 if eval "test \"\${$as_ac_var+set}\" = set"; then
104404 echo $ECHO_N "(cached) $ECHO_C" >&6
104406 if test x$gcc_no_link = xyes; then
104407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104409 { (exit 1); exit 1; }; }
104411 cat >conftest.$ac_ext <<_ACEOF
104412 /* confdefs.h. */
104413 _ACEOF
104414 cat confdefs.h >>conftest.$ac_ext
104415 cat >>conftest.$ac_ext <<_ACEOF
104416 /* end confdefs.h. */
104417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104419 #define $ac_func innocuous_$ac_func
104421 /* System header to define __stub macros and hopefully few prototypes,
104422 which can conflict with char $ac_func (); below.
104423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104424 <limits.h> exists even on freestanding compilers. */
104426 #ifdef __STDC__
104427 # include <limits.h>
104428 #else
104429 # include <assert.h>
104430 #endif
104432 #undef $ac_func
104434 /* Override any gcc2 internal prototype to avoid an error. */
104435 #ifdef __cplusplus
104436 extern "C"
104438 #endif
104439 /* We use char because int might match the return type of a gcc2
104440 builtin and then its argument prototype would still apply. */
104441 char $ac_func ();
104442 /* The GNU C library defines this for functions which it implements
104443 to always fail with ENOSYS. Some functions are actually named
104444 something starting with __ and the normal name is an alias. */
104445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104446 choke me
104447 #else
104448 char (*f) () = $ac_func;
104449 #endif
104450 #ifdef __cplusplus
104452 #endif
104455 main ()
104457 return f != $ac_func;
104459 return 0;
104461 _ACEOF
104462 rm -f conftest.$ac_objext conftest$ac_exeext
104463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104464 (eval $ac_link) 2>conftest.er1
104465 ac_status=$?
104466 grep -v '^ *+' conftest.er1 >conftest.err
104467 rm -f conftest.er1
104468 cat conftest.err >&5
104469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104470 (exit $ac_status); } &&
104471 { ac_try='test -z "$ac_c_werror_flag"
104472 || test ! -s conftest.err'
104473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104474 (eval $ac_try) 2>&5
104475 ac_status=$?
104476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104477 (exit $ac_status); }; } &&
104478 { ac_try='test -s conftest$ac_exeext'
104479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104480 (eval $ac_try) 2>&5
104481 ac_status=$?
104482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104483 (exit $ac_status); }; }; then
104484 eval "$as_ac_var=yes"
104486 echo "$as_me: failed program was:" >&5
104487 sed 's/^/| /' conftest.$ac_ext >&5
104489 eval "$as_ac_var=no"
104491 rm -f conftest.err conftest.$ac_objext \
104492 conftest$ac_exeext conftest.$ac_ext
104494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104496 if test `eval echo '${'$as_ac_var'}'` = yes; then
104497 cat >>confdefs.h <<_ACEOF
104498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104499 _ACEOF
104512 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104513 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104514 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104515 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104516 echo $ECHO_N "(cached) $ECHO_C" >&6
104521 ac_ext=cc
104522 ac_cpp='$CXXCPP $CPPFLAGS'
104523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104527 cat >conftest.$ac_ext <<_ACEOF
104528 /* confdefs.h. */
104529 _ACEOF
104530 cat confdefs.h >>conftest.$ac_ext
104531 cat >>conftest.$ac_ext <<_ACEOF
104532 /* end confdefs.h. */
104533 #include <math.h>
104535 main ()
104537 sincosl(0, 0, 0);
104539 return 0;
104541 _ACEOF
104542 rm -f conftest.$ac_objext
104543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104544 (eval $ac_compile) 2>conftest.er1
104545 ac_status=$?
104546 grep -v '^ *+' conftest.er1 >conftest.err
104547 rm -f conftest.er1
104548 cat conftest.err >&5
104549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104550 (exit $ac_status); } &&
104551 { ac_try='test -z "$ac_cxx_werror_flag"
104552 || test ! -s conftest.err'
104553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104554 (eval $ac_try) 2>&5
104555 ac_status=$?
104556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104557 (exit $ac_status); }; } &&
104558 { ac_try='test -s conftest.$ac_objext'
104559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104560 (eval $ac_try) 2>&5
104561 ac_status=$?
104562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104563 (exit $ac_status); }; }; then
104564 glibcxx_cv_func_sincosl_use=yes
104566 echo "$as_me: failed program was:" >&5
104567 sed 's/^/| /' conftest.$ac_ext >&5
104569 glibcxx_cv_func_sincosl_use=no
104571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104572 ac_ext=c
104573 ac_cpp='$CPP $CPPFLAGS'
104574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104583 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104585 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104587 for ac_func in sincosl
104589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104590 echo "$as_me:$LINENO: checking for $ac_func" >&5
104591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104592 if eval "test \"\${$as_ac_var+set}\" = set"; then
104593 echo $ECHO_N "(cached) $ECHO_C" >&6
104595 if test x$gcc_no_link = xyes; then
104596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104598 { (exit 1); exit 1; }; }
104600 cat >conftest.$ac_ext <<_ACEOF
104601 /* confdefs.h. */
104602 _ACEOF
104603 cat confdefs.h >>conftest.$ac_ext
104604 cat >>conftest.$ac_ext <<_ACEOF
104605 /* end confdefs.h. */
104606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104608 #define $ac_func innocuous_$ac_func
104610 /* System header to define __stub macros and hopefully few prototypes,
104611 which can conflict with char $ac_func (); below.
104612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104613 <limits.h> exists even on freestanding compilers. */
104615 #ifdef __STDC__
104616 # include <limits.h>
104617 #else
104618 # include <assert.h>
104619 #endif
104621 #undef $ac_func
104623 /* Override any gcc2 internal prototype to avoid an error. */
104624 #ifdef __cplusplus
104625 extern "C"
104627 #endif
104628 /* We use char because int might match the return type of a gcc2
104629 builtin and then its argument prototype would still apply. */
104630 char $ac_func ();
104631 /* The GNU C library defines this for functions which it implements
104632 to always fail with ENOSYS. Some functions are actually named
104633 something starting with __ and the normal name is an alias. */
104634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104635 choke me
104636 #else
104637 char (*f) () = $ac_func;
104638 #endif
104639 #ifdef __cplusplus
104641 #endif
104644 main ()
104646 return f != $ac_func;
104648 return 0;
104650 _ACEOF
104651 rm -f conftest.$ac_objext conftest$ac_exeext
104652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104653 (eval $ac_link) 2>conftest.er1
104654 ac_status=$?
104655 grep -v '^ *+' conftest.er1 >conftest.err
104656 rm -f conftest.er1
104657 cat conftest.err >&5
104658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104659 (exit $ac_status); } &&
104660 { ac_try='test -z "$ac_c_werror_flag"
104661 || test ! -s conftest.err'
104662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104663 (eval $ac_try) 2>&5
104664 ac_status=$?
104665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104666 (exit $ac_status); }; } &&
104667 { ac_try='test -s conftest$ac_exeext'
104668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104669 (eval $ac_try) 2>&5
104670 ac_status=$?
104671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104672 (exit $ac_status); }; }; then
104673 eval "$as_ac_var=yes"
104675 echo "$as_me: failed program was:" >&5
104676 sed 's/^/| /' conftest.$ac_ext >&5
104678 eval "$as_ac_var=no"
104680 rm -f conftest.err conftest.$ac_objext \
104681 conftest$ac_exeext conftest.$ac_ext
104683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104685 if test `eval echo '${'$as_ac_var'}'` = yes; then
104686 cat >>confdefs.h <<_ACEOF
104687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104688 _ACEOF
104695 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104696 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104697 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104698 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104699 echo $ECHO_N "(cached) $ECHO_C" >&6
104704 ac_ext=cc
104705 ac_cpp='$CXXCPP $CPPFLAGS'
104706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104710 cat >conftest.$ac_ext <<_ACEOF
104711 /* confdefs.h. */
104712 _ACEOF
104713 cat confdefs.h >>conftest.$ac_ext
104714 cat >>conftest.$ac_ext <<_ACEOF
104715 /* end confdefs.h. */
104716 #include <math.h>
104718 main ()
104720 _sincosl(0, 0, 0);
104722 return 0;
104724 _ACEOF
104725 rm -f conftest.$ac_objext
104726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104727 (eval $ac_compile) 2>conftest.er1
104728 ac_status=$?
104729 grep -v '^ *+' conftest.er1 >conftest.err
104730 rm -f conftest.er1
104731 cat conftest.err >&5
104732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104733 (exit $ac_status); } &&
104734 { ac_try='test -z "$ac_cxx_werror_flag"
104735 || test ! -s conftest.err'
104736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104737 (eval $ac_try) 2>&5
104738 ac_status=$?
104739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104740 (exit $ac_status); }; } &&
104741 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
104747 glibcxx_cv_func__sincosl_use=yes
104749 echo "$as_me: failed program was:" >&5
104750 sed 's/^/| /' conftest.$ac_ext >&5
104752 glibcxx_cv_func__sincosl_use=no
104754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104755 ac_ext=c
104756 ac_cpp='$CPP $CPPFLAGS'
104757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104766 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104768 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104770 for ac_func in _sincosl
104772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104773 echo "$as_me:$LINENO: checking for $ac_func" >&5
104774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104775 if eval "test \"\${$as_ac_var+set}\" = set"; then
104776 echo $ECHO_N "(cached) $ECHO_C" >&6
104778 if test x$gcc_no_link = xyes; then
104779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104781 { (exit 1); exit 1; }; }
104783 cat >conftest.$ac_ext <<_ACEOF
104784 /* confdefs.h. */
104785 _ACEOF
104786 cat confdefs.h >>conftest.$ac_ext
104787 cat >>conftest.$ac_ext <<_ACEOF
104788 /* end confdefs.h. */
104789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104791 #define $ac_func innocuous_$ac_func
104793 /* System header to define __stub macros and hopefully few prototypes,
104794 which can conflict with char $ac_func (); below.
104795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104796 <limits.h> exists even on freestanding compilers. */
104798 #ifdef __STDC__
104799 # include <limits.h>
104800 #else
104801 # include <assert.h>
104802 #endif
104804 #undef $ac_func
104806 /* Override any gcc2 internal prototype to avoid an error. */
104807 #ifdef __cplusplus
104808 extern "C"
104810 #endif
104811 /* We use char because int might match the return type of a gcc2
104812 builtin and then its argument prototype would still apply. */
104813 char $ac_func ();
104814 /* The GNU C library defines this for functions which it implements
104815 to always fail with ENOSYS. Some functions are actually named
104816 something starting with __ and the normal name is an alias. */
104817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104818 choke me
104819 #else
104820 char (*f) () = $ac_func;
104821 #endif
104822 #ifdef __cplusplus
104824 #endif
104827 main ()
104829 return f != $ac_func;
104831 return 0;
104833 _ACEOF
104834 rm -f conftest.$ac_objext conftest$ac_exeext
104835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104836 (eval $ac_link) 2>conftest.er1
104837 ac_status=$?
104838 grep -v '^ *+' conftest.er1 >conftest.err
104839 rm -f conftest.er1
104840 cat conftest.err >&5
104841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104842 (exit $ac_status); } &&
104843 { ac_try='test -z "$ac_c_werror_flag"
104844 || test ! -s conftest.err'
104845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104846 (eval $ac_try) 2>&5
104847 ac_status=$?
104848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104849 (exit $ac_status); }; } &&
104850 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
104856 eval "$as_ac_var=yes"
104858 echo "$as_me: failed program was:" >&5
104859 sed 's/^/| /' conftest.$ac_ext >&5
104861 eval "$as_ac_var=no"
104863 rm -f conftest.err conftest.$ac_objext \
104864 conftest$ac_exeext conftest.$ac_ext
104866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104868 if test `eval echo '${'$as_ac_var'}'` = yes; then
104869 cat >>confdefs.h <<_ACEOF
104870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104871 _ACEOF
104884 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104885 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104886 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104887 if test "${glibcxx_cv_func_finitel_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 finitel(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_finitel_use=yes
104942 echo "$as_me: failed program was:" >&5
104943 sed 's/^/| /' conftest.$ac_ext >&5
104945 glibcxx_cv_func_finitel_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_finitel_use" >&5
104959 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104961 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104963 for ac_func in finitel
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
105071 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105072 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105073 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105074 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105075 echo $ECHO_N "(cached) $ECHO_C" >&6
105080 ac_ext=cc
105081 ac_cpp='$CXXCPP $CPPFLAGS'
105082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105086 cat >conftest.$ac_ext <<_ACEOF
105087 /* confdefs.h. */
105088 _ACEOF
105089 cat confdefs.h >>conftest.$ac_ext
105090 cat >>conftest.$ac_ext <<_ACEOF
105091 /* end confdefs.h. */
105092 #include <math.h>
105093 #ifdef HAVE_IEEEFP_H
105094 #include <ieeefp.h>
105095 #endif
105098 main ()
105100 _finitel(0);
105102 return 0;
105104 _ACEOF
105105 rm -f conftest.$ac_objext
105106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105107 (eval $ac_compile) 2>conftest.er1
105108 ac_status=$?
105109 grep -v '^ *+' conftest.er1 >conftest.err
105110 rm -f conftest.er1
105111 cat conftest.err >&5
105112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105113 (exit $ac_status); } &&
105114 { ac_try='test -z "$ac_cxx_werror_flag"
105115 || test ! -s conftest.err'
105116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105117 (eval $ac_try) 2>&5
105118 ac_status=$?
105119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105120 (exit $ac_status); }; } &&
105121 { ac_try='test -s conftest.$ac_objext'
105122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105123 (eval $ac_try) 2>&5
105124 ac_status=$?
105125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105126 (exit $ac_status); }; }; then
105127 glibcxx_cv_func__finitel_use=yes
105129 echo "$as_me: failed program was:" >&5
105130 sed 's/^/| /' conftest.$ac_ext >&5
105132 glibcxx_cv_func__finitel_use=no
105134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105135 ac_ext=c
105136 ac_cpp='$CPP $CPPFLAGS'
105137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105146 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105148 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105150 for ac_func in _finitel
105152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105153 echo "$as_me:$LINENO: checking for $ac_func" >&5
105154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105155 if eval "test \"\${$as_ac_var+set}\" = set"; then
105156 echo $ECHO_N "(cached) $ECHO_C" >&6
105158 if test x$gcc_no_link = xyes; then
105159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105161 { (exit 1); exit 1; }; }
105163 cat >conftest.$ac_ext <<_ACEOF
105164 /* confdefs.h. */
105165 _ACEOF
105166 cat confdefs.h >>conftest.$ac_ext
105167 cat >>conftest.$ac_ext <<_ACEOF
105168 /* end confdefs.h. */
105169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105171 #define $ac_func innocuous_$ac_func
105173 /* System header to define __stub macros and hopefully few prototypes,
105174 which can conflict with char $ac_func (); below.
105175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105176 <limits.h> exists even on freestanding compilers. */
105178 #ifdef __STDC__
105179 # include <limits.h>
105180 #else
105181 # include <assert.h>
105182 #endif
105184 #undef $ac_func
105186 /* Override any gcc2 internal prototype to avoid an error. */
105187 #ifdef __cplusplus
105188 extern "C"
105190 #endif
105191 /* We use char because int might match the return type of a gcc2
105192 builtin and then its argument prototype would still apply. */
105193 char $ac_func ();
105194 /* The GNU C library defines this for functions which it implements
105195 to always fail with ENOSYS. Some functions are actually named
105196 something starting with __ and the normal name is an alias. */
105197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105198 choke me
105199 #else
105200 char (*f) () = $ac_func;
105201 #endif
105202 #ifdef __cplusplus
105204 #endif
105207 main ()
105209 return f != $ac_func;
105211 return 0;
105213 _ACEOF
105214 rm -f conftest.$ac_objext conftest$ac_exeext
105215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105216 (eval $ac_link) 2>conftest.er1
105217 ac_status=$?
105218 grep -v '^ *+' conftest.er1 >conftest.err
105219 rm -f conftest.er1
105220 cat conftest.err >&5
105221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105222 (exit $ac_status); } &&
105223 { ac_try='test -z "$ac_c_werror_flag"
105224 || test ! -s conftest.err'
105225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105226 (eval $ac_try) 2>&5
105227 ac_status=$?
105228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105229 (exit $ac_status); }; } &&
105230 { ac_try='test -s conftest$ac_exeext'
105231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105232 (eval $ac_try) 2>&5
105233 ac_status=$?
105234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105235 (exit $ac_status); }; }; then
105236 eval "$as_ac_var=yes"
105238 echo "$as_me: failed program was:" >&5
105239 sed 's/^/| /' conftest.$ac_ext >&5
105241 eval "$as_ac_var=no"
105243 rm -f conftest.err conftest.$ac_objext \
105244 conftest$ac_exeext conftest.$ac_ext
105246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105248 if test `eval echo '${'$as_ac_var'}'` = yes; then
105249 cat >>confdefs.h <<_ACEOF
105250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105251 _ACEOF
105263 LIBS="$ac_save_LIBS"
105264 CXXFLAGS="$ac_save_CXXFLAGS"
105268 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105269 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105270 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105271 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105272 echo $ECHO_N "(cached) $ECHO_C" >&6
105277 ac_ext=cc
105278 ac_cpp='$CXXCPP $CPPFLAGS'
105279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105283 cat >conftest.$ac_ext <<_ACEOF
105284 /* confdefs.h. */
105285 _ACEOF
105286 cat confdefs.h >>conftest.$ac_ext
105287 cat >>conftest.$ac_ext <<_ACEOF
105288 /* end confdefs.h. */
105289 #include <math.h>
105291 main ()
105293 __builtin_abs(0);
105295 return 0;
105297 _ACEOF
105298 rm -f conftest.$ac_objext
105299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105300 (eval $ac_compile) 2>conftest.er1
105301 ac_status=$?
105302 grep -v '^ *+' conftest.er1 >conftest.err
105303 rm -f conftest.er1
105304 cat conftest.err >&5
105305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105306 (exit $ac_status); } &&
105307 { ac_try='test -z "$ac_cxx_werror_flag"
105308 || test ! -s conftest.err'
105309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105310 (eval $ac_try) 2>&5
105311 ac_status=$?
105312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105313 (exit $ac_status); }; } &&
105314 { ac_try='test -s conftest.$ac_objext'
105315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105316 (eval $ac_try) 2>&5
105317 ac_status=$?
105318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105319 (exit $ac_status); }; }; then
105320 glibcxx_cv_func___builtin_abs_use=yes
105322 echo "$as_me: failed program was:" >&5
105323 sed 's/^/| /' conftest.$ac_ext >&5
105325 glibcxx_cv_func___builtin_abs_use=no
105327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105328 ac_ext=c
105329 ac_cpp='$CPP $CPPFLAGS'
105330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105338 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105339 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105340 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105341 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105342 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105343 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105344 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105345 echo $ECHO_N "(cached) $ECHO_C" >&6
105348 if test x$gcc_no_link = xyes; then
105349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105351 { (exit 1); exit 1; }; }
105353 cat >conftest.$ac_ext <<_ACEOF
105354 /* confdefs.h. */
105355 _ACEOF
105356 cat confdefs.h >>conftest.$ac_ext
105357 cat >>conftest.$ac_ext <<_ACEOF
105358 /* end confdefs.h. */
105359 #include <math.h>
105361 main ()
105363 __builtin_abs(0);
105365 return 0;
105367 _ACEOF
105368 rm -f conftest.$ac_objext conftest$ac_exeext
105369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105370 (eval $ac_link) 2>conftest.er1
105371 ac_status=$?
105372 grep -v '^ *+' conftest.er1 >conftest.err
105373 rm -f conftest.er1
105374 cat conftest.err >&5
105375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105376 (exit $ac_status); } &&
105377 { ac_try='test -z "$ac_c_werror_flag"
105378 || test ! -s conftest.err'
105379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105380 (eval $ac_try) 2>&5
105381 ac_status=$?
105382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105383 (exit $ac_status); }; } &&
105384 { ac_try='test -s conftest$ac_exeext'
105385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105386 (eval $ac_try) 2>&5
105387 ac_status=$?
105388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105389 (exit $ac_status); }; }; then
105390 glibcxx_cv_func___builtin_abs_link=yes
105392 echo "$as_me: failed program was:" >&5
105393 sed 's/^/| /' conftest.$ac_ext >&5
105395 glibcxx_cv_func___builtin_abs_link=no
105397 rm -f conftest.err conftest.$ac_objext \
105398 conftest$ac_exeext conftest.$ac_ext
105403 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105404 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105406 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105408 cat >>confdefs.h <<\_ACEOF
105409 #define HAVE___BUILTIN_ABS 1
105410 _ACEOF
105417 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105418 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105419 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105420 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105421 echo $ECHO_N "(cached) $ECHO_C" >&6
105426 ac_ext=cc
105427 ac_cpp='$CXXCPP $CPPFLAGS'
105428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105432 cat >conftest.$ac_ext <<_ACEOF
105433 /* confdefs.h. */
105434 _ACEOF
105435 cat confdefs.h >>conftest.$ac_ext
105436 cat >>conftest.$ac_ext <<_ACEOF
105437 /* end confdefs.h. */
105438 #include <math.h>
105440 main ()
105442 __builtin_fabsf(0);
105444 return 0;
105446 _ACEOF
105447 rm -f conftest.$ac_objext
105448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105449 (eval $ac_compile) 2>conftest.er1
105450 ac_status=$?
105451 grep -v '^ *+' conftest.er1 >conftest.err
105452 rm -f conftest.er1
105453 cat conftest.err >&5
105454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105455 (exit $ac_status); } &&
105456 { ac_try='test -z "$ac_cxx_werror_flag"
105457 || test ! -s conftest.err'
105458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105459 (eval $ac_try) 2>&5
105460 ac_status=$?
105461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105462 (exit $ac_status); }; } &&
105463 { ac_try='test -s conftest.$ac_objext'
105464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105465 (eval $ac_try) 2>&5
105466 ac_status=$?
105467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105468 (exit $ac_status); }; }; then
105469 glibcxx_cv_func___builtin_fabsf_use=yes
105471 echo "$as_me: failed program was:" >&5
105472 sed 's/^/| /' conftest.$ac_ext >&5
105474 glibcxx_cv_func___builtin_fabsf_use=no
105476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105477 ac_ext=c
105478 ac_cpp='$CPP $CPPFLAGS'
105479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105487 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105488 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105489 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105490 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105491 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105492 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105493 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105494 echo $ECHO_N "(cached) $ECHO_C" >&6
105497 if test x$gcc_no_link = xyes; then
105498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105500 { (exit 1); exit 1; }; }
105502 cat >conftest.$ac_ext <<_ACEOF
105503 /* confdefs.h. */
105504 _ACEOF
105505 cat confdefs.h >>conftest.$ac_ext
105506 cat >>conftest.$ac_ext <<_ACEOF
105507 /* end confdefs.h. */
105508 #include <math.h>
105510 main ()
105512 __builtin_fabsf(0);
105514 return 0;
105516 _ACEOF
105517 rm -f conftest.$ac_objext conftest$ac_exeext
105518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105519 (eval $ac_link) 2>conftest.er1
105520 ac_status=$?
105521 grep -v '^ *+' conftest.er1 >conftest.err
105522 rm -f conftest.er1
105523 cat conftest.err >&5
105524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105525 (exit $ac_status); } &&
105526 { ac_try='test -z "$ac_c_werror_flag"
105527 || test ! -s conftest.err'
105528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105529 (eval $ac_try) 2>&5
105530 ac_status=$?
105531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105532 (exit $ac_status); }; } &&
105533 { ac_try='test -s conftest$ac_exeext'
105534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105535 (eval $ac_try) 2>&5
105536 ac_status=$?
105537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105538 (exit $ac_status); }; }; then
105539 glibcxx_cv_func___builtin_fabsf_link=yes
105541 echo "$as_me: failed program was:" >&5
105542 sed 's/^/| /' conftest.$ac_ext >&5
105544 glibcxx_cv_func___builtin_fabsf_link=no
105546 rm -f conftest.err conftest.$ac_objext \
105547 conftest$ac_exeext conftest.$ac_ext
105552 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105553 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105555 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105557 cat >>confdefs.h <<\_ACEOF
105558 #define HAVE___BUILTIN_FABSF 1
105559 _ACEOF
105566 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105567 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105568 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105569 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105570 echo $ECHO_N "(cached) $ECHO_C" >&6
105575 ac_ext=cc
105576 ac_cpp='$CXXCPP $CPPFLAGS'
105577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105581 cat >conftest.$ac_ext <<_ACEOF
105582 /* confdefs.h. */
105583 _ACEOF
105584 cat confdefs.h >>conftest.$ac_ext
105585 cat >>conftest.$ac_ext <<_ACEOF
105586 /* end confdefs.h. */
105587 #include <math.h>
105589 main ()
105591 __builtin_fabs(0);
105593 return 0;
105595 _ACEOF
105596 rm -f conftest.$ac_objext
105597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105598 (eval $ac_compile) 2>conftest.er1
105599 ac_status=$?
105600 grep -v '^ *+' conftest.er1 >conftest.err
105601 rm -f conftest.er1
105602 cat conftest.err >&5
105603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105604 (exit $ac_status); } &&
105605 { ac_try='test -z "$ac_cxx_werror_flag"
105606 || test ! -s conftest.err'
105607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105608 (eval $ac_try) 2>&5
105609 ac_status=$?
105610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105611 (exit $ac_status); }; } &&
105612 { ac_try='test -s conftest.$ac_objext'
105613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105614 (eval $ac_try) 2>&5
105615 ac_status=$?
105616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105617 (exit $ac_status); }; }; then
105618 glibcxx_cv_func___builtin_fabs_use=yes
105620 echo "$as_me: failed program was:" >&5
105621 sed 's/^/| /' conftest.$ac_ext >&5
105623 glibcxx_cv_func___builtin_fabs_use=no
105625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105626 ac_ext=c
105627 ac_cpp='$CPP $CPPFLAGS'
105628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105636 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105637 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105638 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105639 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105640 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105641 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105642 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105643 echo $ECHO_N "(cached) $ECHO_C" >&6
105646 if test x$gcc_no_link = xyes; then
105647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105649 { (exit 1); exit 1; }; }
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>
105659 main ()
105661 __builtin_fabs(0);
105663 return 0;
105665 _ACEOF
105666 rm -f conftest.$ac_objext conftest$ac_exeext
105667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105668 (eval $ac_link) 2>conftest.er1
105669 ac_status=$?
105670 grep -v '^ *+' conftest.er1 >conftest.err
105671 rm -f conftest.er1
105672 cat conftest.err >&5
105673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105674 (exit $ac_status); } &&
105675 { ac_try='test -z "$ac_c_werror_flag"
105676 || test ! -s conftest.err'
105677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105678 (eval $ac_try) 2>&5
105679 ac_status=$?
105680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105681 (exit $ac_status); }; } &&
105682 { ac_try='test -s conftest$ac_exeext'
105683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105684 (eval $ac_try) 2>&5
105685 ac_status=$?
105686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105687 (exit $ac_status); }; }; then
105688 glibcxx_cv_func___builtin_fabs_link=yes
105690 echo "$as_me: failed program was:" >&5
105691 sed 's/^/| /' conftest.$ac_ext >&5
105693 glibcxx_cv_func___builtin_fabs_link=no
105695 rm -f conftest.err conftest.$ac_objext \
105696 conftest$ac_exeext conftest.$ac_ext
105701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105702 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105704 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105706 cat >>confdefs.h <<\_ACEOF
105707 #define HAVE___BUILTIN_FABS 1
105708 _ACEOF
105715 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105716 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105717 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105718 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105719 echo $ECHO_N "(cached) $ECHO_C" >&6
105724 ac_ext=cc
105725 ac_cpp='$CXXCPP $CPPFLAGS'
105726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105730 cat >conftest.$ac_ext <<_ACEOF
105731 /* confdefs.h. */
105732 _ACEOF
105733 cat confdefs.h >>conftest.$ac_ext
105734 cat >>conftest.$ac_ext <<_ACEOF
105735 /* end confdefs.h. */
105736 #include <math.h>
105738 main ()
105740 __builtin_fabsl(0);
105742 return 0;
105744 _ACEOF
105745 rm -f conftest.$ac_objext
105746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105747 (eval $ac_compile) 2>conftest.er1
105748 ac_status=$?
105749 grep -v '^ *+' conftest.er1 >conftest.err
105750 rm -f conftest.er1
105751 cat conftest.err >&5
105752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105753 (exit $ac_status); } &&
105754 { ac_try='test -z "$ac_cxx_werror_flag"
105755 || test ! -s conftest.err'
105756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105757 (eval $ac_try) 2>&5
105758 ac_status=$?
105759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105760 (exit $ac_status); }; } &&
105761 { ac_try='test -s conftest.$ac_objext'
105762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105763 (eval $ac_try) 2>&5
105764 ac_status=$?
105765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105766 (exit $ac_status); }; }; then
105767 glibcxx_cv_func___builtin_fabsl_use=yes
105769 echo "$as_me: failed program was:" >&5
105770 sed 's/^/| /' conftest.$ac_ext >&5
105772 glibcxx_cv_func___builtin_fabsl_use=no
105774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105775 ac_ext=c
105776 ac_cpp='$CPP $CPPFLAGS'
105777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105785 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105786 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105787 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105788 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105789 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105790 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105791 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105792 echo $ECHO_N "(cached) $ECHO_C" >&6
105795 if test x$gcc_no_link = xyes; then
105796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105798 { (exit 1); exit 1; }; }
105800 cat >conftest.$ac_ext <<_ACEOF
105801 /* confdefs.h. */
105802 _ACEOF
105803 cat confdefs.h >>conftest.$ac_ext
105804 cat >>conftest.$ac_ext <<_ACEOF
105805 /* end confdefs.h. */
105806 #include <math.h>
105808 main ()
105810 __builtin_fabsl(0);
105812 return 0;
105814 _ACEOF
105815 rm -f conftest.$ac_objext conftest$ac_exeext
105816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105817 (eval $ac_link) 2>conftest.er1
105818 ac_status=$?
105819 grep -v '^ *+' conftest.er1 >conftest.err
105820 rm -f conftest.er1
105821 cat conftest.err >&5
105822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105823 (exit $ac_status); } &&
105824 { ac_try='test -z "$ac_c_werror_flag"
105825 || test ! -s conftest.err'
105826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105827 (eval $ac_try) 2>&5
105828 ac_status=$?
105829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105830 (exit $ac_status); }; } &&
105831 { ac_try='test -s conftest$ac_exeext'
105832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105833 (eval $ac_try) 2>&5
105834 ac_status=$?
105835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105836 (exit $ac_status); }; }; then
105837 glibcxx_cv_func___builtin_fabsl_link=yes
105839 echo "$as_me: failed program was:" >&5
105840 sed 's/^/| /' conftest.$ac_ext >&5
105842 glibcxx_cv_func___builtin_fabsl_link=no
105844 rm -f conftest.err conftest.$ac_objext \
105845 conftest$ac_exeext conftest.$ac_ext
105850 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105851 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105853 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105855 cat >>confdefs.h <<\_ACEOF
105856 #define HAVE___BUILTIN_FABSL 1
105857 _ACEOF
105864 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105865 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105866 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105867 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105868 echo $ECHO_N "(cached) $ECHO_C" >&6
105873 ac_ext=cc
105874 ac_cpp='$CXXCPP $CPPFLAGS'
105875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105879 cat >conftest.$ac_ext <<_ACEOF
105880 /* confdefs.h. */
105881 _ACEOF
105882 cat confdefs.h >>conftest.$ac_ext
105883 cat >>conftest.$ac_ext <<_ACEOF
105884 /* end confdefs.h. */
105885 #include <math.h>
105887 main ()
105889 __builtin_labs(0);
105891 return 0;
105893 _ACEOF
105894 rm -f conftest.$ac_objext
105895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105896 (eval $ac_compile) 2>conftest.er1
105897 ac_status=$?
105898 grep -v '^ *+' conftest.er1 >conftest.err
105899 rm -f conftest.er1
105900 cat conftest.err >&5
105901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105902 (exit $ac_status); } &&
105903 { ac_try='test -z "$ac_cxx_werror_flag"
105904 || test ! -s conftest.err'
105905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105906 (eval $ac_try) 2>&5
105907 ac_status=$?
105908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105909 (exit $ac_status); }; } &&
105910 { ac_try='test -s conftest.$ac_objext'
105911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105912 (eval $ac_try) 2>&5
105913 ac_status=$?
105914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105915 (exit $ac_status); }; }; then
105916 glibcxx_cv_func___builtin_labs_use=yes
105918 echo "$as_me: failed program was:" >&5
105919 sed 's/^/| /' conftest.$ac_ext >&5
105921 glibcxx_cv_func___builtin_labs_use=no
105923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105924 ac_ext=c
105925 ac_cpp='$CPP $CPPFLAGS'
105926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105934 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105935 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105936 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105937 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105938 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105939 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105940 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105941 echo $ECHO_N "(cached) $ECHO_C" >&6
105944 if test x$gcc_no_link = xyes; then
105945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105947 { (exit 1); exit 1; }; }
105949 cat >conftest.$ac_ext <<_ACEOF
105950 /* confdefs.h. */
105951 _ACEOF
105952 cat confdefs.h >>conftest.$ac_ext
105953 cat >>conftest.$ac_ext <<_ACEOF
105954 /* end confdefs.h. */
105955 #include <math.h>
105957 main ()
105959 __builtin_labs(0);
105961 return 0;
105963 _ACEOF
105964 rm -f conftest.$ac_objext conftest$ac_exeext
105965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105966 (eval $ac_link) 2>conftest.er1
105967 ac_status=$?
105968 grep -v '^ *+' conftest.er1 >conftest.err
105969 rm -f conftest.er1
105970 cat conftest.err >&5
105971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105972 (exit $ac_status); } &&
105973 { ac_try='test -z "$ac_c_werror_flag"
105974 || test ! -s conftest.err'
105975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105976 (eval $ac_try) 2>&5
105977 ac_status=$?
105978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105979 (exit $ac_status); }; } &&
105980 { ac_try='test -s conftest$ac_exeext'
105981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105982 (eval $ac_try) 2>&5
105983 ac_status=$?
105984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105985 (exit $ac_status); }; }; then
105986 glibcxx_cv_func___builtin_labs_link=yes
105988 echo "$as_me: failed program was:" >&5
105989 sed 's/^/| /' conftest.$ac_ext >&5
105991 glibcxx_cv_func___builtin_labs_link=no
105993 rm -f conftest.err conftest.$ac_objext \
105994 conftest$ac_exeext conftest.$ac_ext
105999 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106000 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106002 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106004 cat >>confdefs.h <<\_ACEOF
106005 #define HAVE___BUILTIN_LABS 1
106006 _ACEOF
106014 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106015 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106016 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106017 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106018 echo $ECHO_N "(cached) $ECHO_C" >&6
106023 ac_ext=cc
106024 ac_cpp='$CXXCPP $CPPFLAGS'
106025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106029 cat >conftest.$ac_ext <<_ACEOF
106030 /* confdefs.h. */
106031 _ACEOF
106032 cat confdefs.h >>conftest.$ac_ext
106033 cat >>conftest.$ac_ext <<_ACEOF
106034 /* end confdefs.h. */
106035 #include <math.h>
106037 main ()
106039 __builtin_sqrtf(0);
106041 return 0;
106043 _ACEOF
106044 rm -f conftest.$ac_objext
106045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106046 (eval $ac_compile) 2>conftest.er1
106047 ac_status=$?
106048 grep -v '^ *+' conftest.er1 >conftest.err
106049 rm -f conftest.er1
106050 cat conftest.err >&5
106051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106052 (exit $ac_status); } &&
106053 { ac_try='test -z "$ac_cxx_werror_flag"
106054 || test ! -s conftest.err'
106055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106056 (eval $ac_try) 2>&5
106057 ac_status=$?
106058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106059 (exit $ac_status); }; } &&
106060 { ac_try='test -s conftest.$ac_objext'
106061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106062 (eval $ac_try) 2>&5
106063 ac_status=$?
106064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106065 (exit $ac_status); }; }; then
106066 glibcxx_cv_func___builtin_sqrtf_use=yes
106068 echo "$as_me: failed program was:" >&5
106069 sed 's/^/| /' conftest.$ac_ext >&5
106071 glibcxx_cv_func___builtin_sqrtf_use=no
106073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106074 ac_ext=c
106075 ac_cpp='$CPP $CPPFLAGS'
106076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106084 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106085 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106086 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106087 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106088 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106089 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106090 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106091 echo $ECHO_N "(cached) $ECHO_C" >&6
106094 if test x$gcc_no_link = xyes; then
106095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106097 { (exit 1); exit 1; }; }
106099 cat >conftest.$ac_ext <<_ACEOF
106100 /* confdefs.h. */
106101 _ACEOF
106102 cat confdefs.h >>conftest.$ac_ext
106103 cat >>conftest.$ac_ext <<_ACEOF
106104 /* end confdefs.h. */
106105 #include <math.h>
106107 main ()
106109 __builtin_sqrtf(0);
106111 return 0;
106113 _ACEOF
106114 rm -f conftest.$ac_objext conftest$ac_exeext
106115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106116 (eval $ac_link) 2>conftest.er1
106117 ac_status=$?
106118 grep -v '^ *+' conftest.er1 >conftest.err
106119 rm -f conftest.er1
106120 cat conftest.err >&5
106121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106122 (exit $ac_status); } &&
106123 { ac_try='test -z "$ac_c_werror_flag"
106124 || test ! -s conftest.err'
106125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106126 (eval $ac_try) 2>&5
106127 ac_status=$?
106128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106129 (exit $ac_status); }; } &&
106130 { ac_try='test -s conftest$ac_exeext'
106131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106132 (eval $ac_try) 2>&5
106133 ac_status=$?
106134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106135 (exit $ac_status); }; }; then
106136 glibcxx_cv_func___builtin_sqrtf_link=yes
106138 echo "$as_me: failed program was:" >&5
106139 sed 's/^/| /' conftest.$ac_ext >&5
106141 glibcxx_cv_func___builtin_sqrtf_link=no
106143 rm -f conftest.err conftest.$ac_objext \
106144 conftest$ac_exeext conftest.$ac_ext
106149 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106150 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106152 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106154 cat >>confdefs.h <<\_ACEOF
106155 #define HAVE___BUILTIN_SQRTF 1
106156 _ACEOF
106163 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106164 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106165 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106166 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106167 echo $ECHO_N "(cached) $ECHO_C" >&6
106172 ac_ext=cc
106173 ac_cpp='$CXXCPP $CPPFLAGS'
106174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106178 cat >conftest.$ac_ext <<_ACEOF
106179 /* confdefs.h. */
106180 _ACEOF
106181 cat confdefs.h >>conftest.$ac_ext
106182 cat >>conftest.$ac_ext <<_ACEOF
106183 /* end confdefs.h. */
106184 #include <math.h>
106186 main ()
106188 __builtin_sqrt(0);
106190 return 0;
106192 _ACEOF
106193 rm -f conftest.$ac_objext
106194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106195 (eval $ac_compile) 2>conftest.er1
106196 ac_status=$?
106197 grep -v '^ *+' conftest.er1 >conftest.err
106198 rm -f conftest.er1
106199 cat conftest.err >&5
106200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106201 (exit $ac_status); } &&
106202 { ac_try='test -z "$ac_cxx_werror_flag"
106203 || test ! -s conftest.err'
106204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106205 (eval $ac_try) 2>&5
106206 ac_status=$?
106207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106208 (exit $ac_status); }; } &&
106209 { ac_try='test -s conftest.$ac_objext'
106210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106211 (eval $ac_try) 2>&5
106212 ac_status=$?
106213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106214 (exit $ac_status); }; }; then
106215 glibcxx_cv_func___builtin_sqrt_use=yes
106217 echo "$as_me: failed program was:" >&5
106218 sed 's/^/| /' conftest.$ac_ext >&5
106220 glibcxx_cv_func___builtin_sqrt_use=no
106222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106223 ac_ext=c
106224 ac_cpp='$CPP $CPPFLAGS'
106225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106233 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106234 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106235 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106236 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106237 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106238 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106239 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106240 echo $ECHO_N "(cached) $ECHO_C" >&6
106243 if test x$gcc_no_link = xyes; then
106244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106246 { (exit 1); exit 1; }; }
106248 cat >conftest.$ac_ext <<_ACEOF
106249 /* confdefs.h. */
106250 _ACEOF
106251 cat confdefs.h >>conftest.$ac_ext
106252 cat >>conftest.$ac_ext <<_ACEOF
106253 /* end confdefs.h. */
106254 #include <math.h>
106256 main ()
106258 __builtin_sqrt(0);
106260 return 0;
106262 _ACEOF
106263 rm -f conftest.$ac_objext conftest$ac_exeext
106264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106265 (eval $ac_link) 2>conftest.er1
106266 ac_status=$?
106267 grep -v '^ *+' conftest.er1 >conftest.err
106268 rm -f conftest.er1
106269 cat conftest.err >&5
106270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106271 (exit $ac_status); } &&
106272 { ac_try='test -z "$ac_c_werror_flag"
106273 || test ! -s conftest.err'
106274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106275 (eval $ac_try) 2>&5
106276 ac_status=$?
106277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106278 (exit $ac_status); }; } &&
106279 { ac_try='test -s conftest$ac_exeext'
106280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106281 (eval $ac_try) 2>&5
106282 ac_status=$?
106283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106284 (exit $ac_status); }; }; then
106285 glibcxx_cv_func___builtin_sqrt_link=yes
106287 echo "$as_me: failed program was:" >&5
106288 sed 's/^/| /' conftest.$ac_ext >&5
106290 glibcxx_cv_func___builtin_sqrt_link=no
106292 rm -f conftest.err conftest.$ac_objext \
106293 conftest$ac_exeext conftest.$ac_ext
106298 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106299 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106301 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106303 cat >>confdefs.h <<\_ACEOF
106304 #define HAVE___BUILTIN_SQRT 1
106305 _ACEOF
106312 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106313 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106314 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106315 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106316 echo $ECHO_N "(cached) $ECHO_C" >&6
106321 ac_ext=cc
106322 ac_cpp='$CXXCPP $CPPFLAGS'
106323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106327 cat >conftest.$ac_ext <<_ACEOF
106328 /* confdefs.h. */
106329 _ACEOF
106330 cat confdefs.h >>conftest.$ac_ext
106331 cat >>conftest.$ac_ext <<_ACEOF
106332 /* end confdefs.h. */
106333 #include <math.h>
106335 main ()
106337 __builtin_sqrtl(0);
106339 return 0;
106341 _ACEOF
106342 rm -f conftest.$ac_objext
106343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106344 (eval $ac_compile) 2>conftest.er1
106345 ac_status=$?
106346 grep -v '^ *+' conftest.er1 >conftest.err
106347 rm -f conftest.er1
106348 cat conftest.err >&5
106349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106350 (exit $ac_status); } &&
106351 { ac_try='test -z "$ac_cxx_werror_flag"
106352 || test ! -s conftest.err'
106353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106354 (eval $ac_try) 2>&5
106355 ac_status=$?
106356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106357 (exit $ac_status); }; } &&
106358 { ac_try='test -s conftest.$ac_objext'
106359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106360 (eval $ac_try) 2>&5
106361 ac_status=$?
106362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106363 (exit $ac_status); }; }; then
106364 glibcxx_cv_func___builtin_sqrtl_use=yes
106366 echo "$as_me: failed program was:" >&5
106367 sed 's/^/| /' conftest.$ac_ext >&5
106369 glibcxx_cv_func___builtin_sqrtl_use=no
106371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106372 ac_ext=c
106373 ac_cpp='$CPP $CPPFLAGS'
106374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106383 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106384 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106385 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106386 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106387 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106388 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106389 echo $ECHO_N "(cached) $ECHO_C" >&6
106392 if test x$gcc_no_link = xyes; then
106393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106395 { (exit 1); exit 1; }; }
106397 cat >conftest.$ac_ext <<_ACEOF
106398 /* confdefs.h. */
106399 _ACEOF
106400 cat confdefs.h >>conftest.$ac_ext
106401 cat >>conftest.$ac_ext <<_ACEOF
106402 /* end confdefs.h. */
106403 #include <math.h>
106405 main ()
106407 __builtin_sqrtl(0);
106409 return 0;
106411 _ACEOF
106412 rm -f conftest.$ac_objext conftest$ac_exeext
106413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106414 (eval $ac_link) 2>conftest.er1
106415 ac_status=$?
106416 grep -v '^ *+' conftest.er1 >conftest.err
106417 rm -f conftest.er1
106418 cat conftest.err >&5
106419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106420 (exit $ac_status); } &&
106421 { ac_try='test -z "$ac_c_werror_flag"
106422 || test ! -s conftest.err'
106423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106424 (eval $ac_try) 2>&5
106425 ac_status=$?
106426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106427 (exit $ac_status); }; } &&
106428 { ac_try='test -s conftest$ac_exeext'
106429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106430 (eval $ac_try) 2>&5
106431 ac_status=$?
106432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106433 (exit $ac_status); }; }; then
106434 glibcxx_cv_func___builtin_sqrtl_link=yes
106436 echo "$as_me: failed program was:" >&5
106437 sed 's/^/| /' conftest.$ac_ext >&5
106439 glibcxx_cv_func___builtin_sqrtl_link=no
106441 rm -f conftest.err conftest.$ac_objext \
106442 conftest$ac_exeext conftest.$ac_ext
106447 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106448 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106450 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106452 cat >>confdefs.h <<\_ACEOF
106453 #define HAVE___BUILTIN_SQRTL 1
106454 _ACEOF
106462 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106463 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106464 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106465 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106466 echo $ECHO_N "(cached) $ECHO_C" >&6
106471 ac_ext=cc
106472 ac_cpp='$CXXCPP $CPPFLAGS'
106473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106477 cat >conftest.$ac_ext <<_ACEOF
106478 /* confdefs.h. */
106479 _ACEOF
106480 cat confdefs.h >>conftest.$ac_ext
106481 cat >>conftest.$ac_ext <<_ACEOF
106482 /* end confdefs.h. */
106483 #include <math.h>
106485 main ()
106487 __builtin_sinf(0);
106489 return 0;
106491 _ACEOF
106492 rm -f conftest.$ac_objext
106493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106494 (eval $ac_compile) 2>conftest.er1
106495 ac_status=$?
106496 grep -v '^ *+' conftest.er1 >conftest.err
106497 rm -f conftest.er1
106498 cat conftest.err >&5
106499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106500 (exit $ac_status); } &&
106501 { ac_try='test -z "$ac_cxx_werror_flag"
106502 || test ! -s conftest.err'
106503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106504 (eval $ac_try) 2>&5
106505 ac_status=$?
106506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106507 (exit $ac_status); }; } &&
106508 { ac_try='test -s conftest.$ac_objext'
106509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106510 (eval $ac_try) 2>&5
106511 ac_status=$?
106512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106513 (exit $ac_status); }; }; then
106514 glibcxx_cv_func___builtin_sinf_use=yes
106516 echo "$as_me: failed program was:" >&5
106517 sed 's/^/| /' conftest.$ac_ext >&5
106519 glibcxx_cv_func___builtin_sinf_use=no
106521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106522 ac_ext=c
106523 ac_cpp='$CPP $CPPFLAGS'
106524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106532 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106533 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106534 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106535 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106536 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106537 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106538 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106539 echo $ECHO_N "(cached) $ECHO_C" >&6
106542 if test x$gcc_no_link = xyes; then
106543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106545 { (exit 1); exit 1; }; }
106547 cat >conftest.$ac_ext <<_ACEOF
106548 /* confdefs.h. */
106549 _ACEOF
106550 cat confdefs.h >>conftest.$ac_ext
106551 cat >>conftest.$ac_ext <<_ACEOF
106552 /* end confdefs.h. */
106553 #include <math.h>
106555 main ()
106557 __builtin_sinf(0);
106559 return 0;
106561 _ACEOF
106562 rm -f conftest.$ac_objext conftest$ac_exeext
106563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106564 (eval $ac_link) 2>conftest.er1
106565 ac_status=$?
106566 grep -v '^ *+' conftest.er1 >conftest.err
106567 rm -f conftest.er1
106568 cat conftest.err >&5
106569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106570 (exit $ac_status); } &&
106571 { ac_try='test -z "$ac_c_werror_flag"
106572 || test ! -s conftest.err'
106573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106574 (eval $ac_try) 2>&5
106575 ac_status=$?
106576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106577 (exit $ac_status); }; } &&
106578 { ac_try='test -s conftest$ac_exeext'
106579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106580 (eval $ac_try) 2>&5
106581 ac_status=$?
106582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106583 (exit $ac_status); }; }; then
106584 glibcxx_cv_func___builtin_sinf_link=yes
106586 echo "$as_me: failed program was:" >&5
106587 sed 's/^/| /' conftest.$ac_ext >&5
106589 glibcxx_cv_func___builtin_sinf_link=no
106591 rm -f conftest.err conftest.$ac_objext \
106592 conftest$ac_exeext conftest.$ac_ext
106597 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106598 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106600 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106602 cat >>confdefs.h <<\_ACEOF
106603 #define HAVE___BUILTIN_SINF 1
106604 _ACEOF
106611 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106612 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106613 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106614 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106615 echo $ECHO_N "(cached) $ECHO_C" >&6
106620 ac_ext=cc
106621 ac_cpp='$CXXCPP $CPPFLAGS'
106622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106626 cat >conftest.$ac_ext <<_ACEOF
106627 /* confdefs.h. */
106628 _ACEOF
106629 cat confdefs.h >>conftest.$ac_ext
106630 cat >>conftest.$ac_ext <<_ACEOF
106631 /* end confdefs.h. */
106632 #include <math.h>
106634 main ()
106636 __builtin_sin(0);
106638 return 0;
106640 _ACEOF
106641 rm -f conftest.$ac_objext
106642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106643 (eval $ac_compile) 2>conftest.er1
106644 ac_status=$?
106645 grep -v '^ *+' conftest.er1 >conftest.err
106646 rm -f conftest.er1
106647 cat conftest.err >&5
106648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106649 (exit $ac_status); } &&
106650 { ac_try='test -z "$ac_cxx_werror_flag"
106651 || test ! -s conftest.err'
106652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106653 (eval $ac_try) 2>&5
106654 ac_status=$?
106655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106656 (exit $ac_status); }; } &&
106657 { ac_try='test -s conftest.$ac_objext'
106658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106659 (eval $ac_try) 2>&5
106660 ac_status=$?
106661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106662 (exit $ac_status); }; }; then
106663 glibcxx_cv_func___builtin_sin_use=yes
106665 echo "$as_me: failed program was:" >&5
106666 sed 's/^/| /' conftest.$ac_ext >&5
106668 glibcxx_cv_func___builtin_sin_use=no
106670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106671 ac_ext=c
106672 ac_cpp='$CPP $CPPFLAGS'
106673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106681 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106682 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106683 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106684 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106685 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106686 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106687 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106688 echo $ECHO_N "(cached) $ECHO_C" >&6
106691 if test x$gcc_no_link = xyes; then
106692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106694 { (exit 1); exit 1; }; }
106696 cat >conftest.$ac_ext <<_ACEOF
106697 /* confdefs.h. */
106698 _ACEOF
106699 cat confdefs.h >>conftest.$ac_ext
106700 cat >>conftest.$ac_ext <<_ACEOF
106701 /* end confdefs.h. */
106702 #include <math.h>
106704 main ()
106706 __builtin_sin(0);
106708 return 0;
106710 _ACEOF
106711 rm -f conftest.$ac_objext conftest$ac_exeext
106712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106713 (eval $ac_link) 2>conftest.er1
106714 ac_status=$?
106715 grep -v '^ *+' conftest.er1 >conftest.err
106716 rm -f conftest.er1
106717 cat conftest.err >&5
106718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106719 (exit $ac_status); } &&
106720 { ac_try='test -z "$ac_c_werror_flag"
106721 || test ! -s conftest.err'
106722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106723 (eval $ac_try) 2>&5
106724 ac_status=$?
106725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106726 (exit $ac_status); }; } &&
106727 { ac_try='test -s conftest$ac_exeext'
106728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106729 (eval $ac_try) 2>&5
106730 ac_status=$?
106731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106732 (exit $ac_status); }; }; then
106733 glibcxx_cv_func___builtin_sin_link=yes
106735 echo "$as_me: failed program was:" >&5
106736 sed 's/^/| /' conftest.$ac_ext >&5
106738 glibcxx_cv_func___builtin_sin_link=no
106740 rm -f conftest.err conftest.$ac_objext \
106741 conftest$ac_exeext conftest.$ac_ext
106746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106747 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106749 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106751 cat >>confdefs.h <<\_ACEOF
106752 #define HAVE___BUILTIN_SIN 1
106753 _ACEOF
106760 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106761 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106762 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106763 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106764 echo $ECHO_N "(cached) $ECHO_C" >&6
106769 ac_ext=cc
106770 ac_cpp='$CXXCPP $CPPFLAGS'
106771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106775 cat >conftest.$ac_ext <<_ACEOF
106776 /* confdefs.h. */
106777 _ACEOF
106778 cat confdefs.h >>conftest.$ac_ext
106779 cat >>conftest.$ac_ext <<_ACEOF
106780 /* end confdefs.h. */
106781 #include <math.h>
106783 main ()
106785 __builtin_sinl(0);
106787 return 0;
106789 _ACEOF
106790 rm -f conftest.$ac_objext
106791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106792 (eval $ac_compile) 2>conftest.er1
106793 ac_status=$?
106794 grep -v '^ *+' conftest.er1 >conftest.err
106795 rm -f conftest.er1
106796 cat conftest.err >&5
106797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106798 (exit $ac_status); } &&
106799 { ac_try='test -z "$ac_cxx_werror_flag"
106800 || test ! -s conftest.err'
106801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106802 (eval $ac_try) 2>&5
106803 ac_status=$?
106804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106805 (exit $ac_status); }; } &&
106806 { ac_try='test -s conftest.$ac_objext'
106807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106808 (eval $ac_try) 2>&5
106809 ac_status=$?
106810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106811 (exit $ac_status); }; }; then
106812 glibcxx_cv_func___builtin_sinl_use=yes
106814 echo "$as_me: failed program was:" >&5
106815 sed 's/^/| /' conftest.$ac_ext >&5
106817 glibcxx_cv_func___builtin_sinl_use=no
106819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106820 ac_ext=c
106821 ac_cpp='$CPP $CPPFLAGS'
106822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106831 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106832 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106833 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106834 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106835 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106836 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106837 echo $ECHO_N "(cached) $ECHO_C" >&6
106840 if test x$gcc_no_link = xyes; then
106841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106843 { (exit 1); exit 1; }; }
106845 cat >conftest.$ac_ext <<_ACEOF
106846 /* confdefs.h. */
106847 _ACEOF
106848 cat confdefs.h >>conftest.$ac_ext
106849 cat >>conftest.$ac_ext <<_ACEOF
106850 /* end confdefs.h. */
106851 #include <math.h>
106853 main ()
106855 __builtin_sinl(0);
106857 return 0;
106859 _ACEOF
106860 rm -f conftest.$ac_objext conftest$ac_exeext
106861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106862 (eval $ac_link) 2>conftest.er1
106863 ac_status=$?
106864 grep -v '^ *+' conftest.er1 >conftest.err
106865 rm -f conftest.er1
106866 cat conftest.err >&5
106867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106868 (exit $ac_status); } &&
106869 { ac_try='test -z "$ac_c_werror_flag"
106870 || test ! -s conftest.err'
106871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106872 (eval $ac_try) 2>&5
106873 ac_status=$?
106874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106875 (exit $ac_status); }; } &&
106876 { ac_try='test -s conftest$ac_exeext'
106877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106878 (eval $ac_try) 2>&5
106879 ac_status=$?
106880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106881 (exit $ac_status); }; }; then
106882 glibcxx_cv_func___builtin_sinl_link=yes
106884 echo "$as_me: failed program was:" >&5
106885 sed 's/^/| /' conftest.$ac_ext >&5
106887 glibcxx_cv_func___builtin_sinl_link=no
106889 rm -f conftest.err conftest.$ac_objext \
106890 conftest$ac_exeext conftest.$ac_ext
106895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106896 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106898 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106900 cat >>confdefs.h <<\_ACEOF
106901 #define HAVE___BUILTIN_SINL 1
106902 _ACEOF
106910 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106911 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106912 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106913 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106914 echo $ECHO_N "(cached) $ECHO_C" >&6
106919 ac_ext=cc
106920 ac_cpp='$CXXCPP $CPPFLAGS'
106921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106925 cat >conftest.$ac_ext <<_ACEOF
106926 /* confdefs.h. */
106927 _ACEOF
106928 cat confdefs.h >>conftest.$ac_ext
106929 cat >>conftest.$ac_ext <<_ACEOF
106930 /* end confdefs.h. */
106931 #include <math.h>
106933 main ()
106935 __builtin_cosf(0);
106937 return 0;
106939 _ACEOF
106940 rm -f conftest.$ac_objext
106941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106942 (eval $ac_compile) 2>conftest.er1
106943 ac_status=$?
106944 grep -v '^ *+' conftest.er1 >conftest.err
106945 rm -f conftest.er1
106946 cat conftest.err >&5
106947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106948 (exit $ac_status); } &&
106949 { ac_try='test -z "$ac_cxx_werror_flag"
106950 || test ! -s conftest.err'
106951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106952 (eval $ac_try) 2>&5
106953 ac_status=$?
106954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106955 (exit $ac_status); }; } &&
106956 { ac_try='test -s conftest.$ac_objext'
106957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106958 (eval $ac_try) 2>&5
106959 ac_status=$?
106960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106961 (exit $ac_status); }; }; then
106962 glibcxx_cv_func___builtin_cosf_use=yes
106964 echo "$as_me: failed program was:" >&5
106965 sed 's/^/| /' conftest.$ac_ext >&5
106967 glibcxx_cv_func___builtin_cosf_use=no
106969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106970 ac_ext=c
106971 ac_cpp='$CPP $CPPFLAGS'
106972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106980 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106981 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106982 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106983 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106984 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106985 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106986 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106987 echo $ECHO_N "(cached) $ECHO_C" >&6
106990 if test x$gcc_no_link = xyes; then
106991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106993 { (exit 1); exit 1; }; }
106995 cat >conftest.$ac_ext <<_ACEOF
106996 /* confdefs.h. */
106997 _ACEOF
106998 cat confdefs.h >>conftest.$ac_ext
106999 cat >>conftest.$ac_ext <<_ACEOF
107000 /* end confdefs.h. */
107001 #include <math.h>
107003 main ()
107005 __builtin_cosf(0);
107007 return 0;
107009 _ACEOF
107010 rm -f conftest.$ac_objext conftest$ac_exeext
107011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107012 (eval $ac_link) 2>conftest.er1
107013 ac_status=$?
107014 grep -v '^ *+' conftest.er1 >conftest.err
107015 rm -f conftest.er1
107016 cat conftest.err >&5
107017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107018 (exit $ac_status); } &&
107019 { ac_try='test -z "$ac_c_werror_flag"
107020 || test ! -s conftest.err'
107021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107022 (eval $ac_try) 2>&5
107023 ac_status=$?
107024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107025 (exit $ac_status); }; } &&
107026 { ac_try='test -s conftest$ac_exeext'
107027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107028 (eval $ac_try) 2>&5
107029 ac_status=$?
107030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107031 (exit $ac_status); }; }; then
107032 glibcxx_cv_func___builtin_cosf_link=yes
107034 echo "$as_me: failed program was:" >&5
107035 sed 's/^/| /' conftest.$ac_ext >&5
107037 glibcxx_cv_func___builtin_cosf_link=no
107039 rm -f conftest.err conftest.$ac_objext \
107040 conftest$ac_exeext conftest.$ac_ext
107045 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107046 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107048 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107050 cat >>confdefs.h <<\_ACEOF
107051 #define HAVE___BUILTIN_COSF 1
107052 _ACEOF
107059 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107060 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107061 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107062 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107063 echo $ECHO_N "(cached) $ECHO_C" >&6
107068 ac_ext=cc
107069 ac_cpp='$CXXCPP $CPPFLAGS'
107070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107074 cat >conftest.$ac_ext <<_ACEOF
107075 /* confdefs.h. */
107076 _ACEOF
107077 cat confdefs.h >>conftest.$ac_ext
107078 cat >>conftest.$ac_ext <<_ACEOF
107079 /* end confdefs.h. */
107080 #include <math.h>
107082 main ()
107084 __builtin_cos(0);
107086 return 0;
107088 _ACEOF
107089 rm -f conftest.$ac_objext
107090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107091 (eval $ac_compile) 2>conftest.er1
107092 ac_status=$?
107093 grep -v '^ *+' conftest.er1 >conftest.err
107094 rm -f conftest.er1
107095 cat conftest.err >&5
107096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107097 (exit $ac_status); } &&
107098 { ac_try='test -z "$ac_cxx_werror_flag"
107099 || test ! -s conftest.err'
107100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107101 (eval $ac_try) 2>&5
107102 ac_status=$?
107103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107104 (exit $ac_status); }; } &&
107105 { ac_try='test -s conftest.$ac_objext'
107106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107107 (eval $ac_try) 2>&5
107108 ac_status=$?
107109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107110 (exit $ac_status); }; }; then
107111 glibcxx_cv_func___builtin_cos_use=yes
107113 echo "$as_me: failed program was:" >&5
107114 sed 's/^/| /' conftest.$ac_ext >&5
107116 glibcxx_cv_func___builtin_cos_use=no
107118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107119 ac_ext=c
107120 ac_cpp='$CPP $CPPFLAGS'
107121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107129 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107130 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107131 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107132 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107133 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107134 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107135 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107136 echo $ECHO_N "(cached) $ECHO_C" >&6
107139 if test x$gcc_no_link = xyes; then
107140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107142 { (exit 1); exit 1; }; }
107144 cat >conftest.$ac_ext <<_ACEOF
107145 /* confdefs.h. */
107146 _ACEOF
107147 cat confdefs.h >>conftest.$ac_ext
107148 cat >>conftest.$ac_ext <<_ACEOF
107149 /* end confdefs.h. */
107150 #include <math.h>
107152 main ()
107154 __builtin_cos(0);
107156 return 0;
107158 _ACEOF
107159 rm -f conftest.$ac_objext conftest$ac_exeext
107160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107161 (eval $ac_link) 2>conftest.er1
107162 ac_status=$?
107163 grep -v '^ *+' conftest.er1 >conftest.err
107164 rm -f conftest.er1
107165 cat conftest.err >&5
107166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107167 (exit $ac_status); } &&
107168 { ac_try='test -z "$ac_c_werror_flag"
107169 || test ! -s conftest.err'
107170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107171 (eval $ac_try) 2>&5
107172 ac_status=$?
107173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107174 (exit $ac_status); }; } &&
107175 { ac_try='test -s conftest$ac_exeext'
107176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107177 (eval $ac_try) 2>&5
107178 ac_status=$?
107179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107180 (exit $ac_status); }; }; then
107181 glibcxx_cv_func___builtin_cos_link=yes
107183 echo "$as_me: failed program was:" >&5
107184 sed 's/^/| /' conftest.$ac_ext >&5
107186 glibcxx_cv_func___builtin_cos_link=no
107188 rm -f conftest.err conftest.$ac_objext \
107189 conftest$ac_exeext conftest.$ac_ext
107194 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107195 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107197 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107199 cat >>confdefs.h <<\_ACEOF
107200 #define HAVE___BUILTIN_COS 1
107201 _ACEOF
107208 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107209 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107210 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107211 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107212 echo $ECHO_N "(cached) $ECHO_C" >&6
107217 ac_ext=cc
107218 ac_cpp='$CXXCPP $CPPFLAGS'
107219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107223 cat >conftest.$ac_ext <<_ACEOF
107224 /* confdefs.h. */
107225 _ACEOF
107226 cat confdefs.h >>conftest.$ac_ext
107227 cat >>conftest.$ac_ext <<_ACEOF
107228 /* end confdefs.h. */
107229 #include <math.h>
107231 main ()
107233 __builtin_cosl(0);
107235 return 0;
107237 _ACEOF
107238 rm -f conftest.$ac_objext
107239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107240 (eval $ac_compile) 2>conftest.er1
107241 ac_status=$?
107242 grep -v '^ *+' conftest.er1 >conftest.err
107243 rm -f conftest.er1
107244 cat conftest.err >&5
107245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107246 (exit $ac_status); } &&
107247 { ac_try='test -z "$ac_cxx_werror_flag"
107248 || test ! -s conftest.err'
107249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107250 (eval $ac_try) 2>&5
107251 ac_status=$?
107252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107253 (exit $ac_status); }; } &&
107254 { ac_try='test -s conftest.$ac_objext'
107255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107256 (eval $ac_try) 2>&5
107257 ac_status=$?
107258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107259 (exit $ac_status); }; }; then
107260 glibcxx_cv_func___builtin_cosl_use=yes
107262 echo "$as_me: failed program was:" >&5
107263 sed 's/^/| /' conftest.$ac_ext >&5
107265 glibcxx_cv_func___builtin_cosl_use=no
107267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107268 ac_ext=c
107269 ac_cpp='$CPP $CPPFLAGS'
107270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107279 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107280 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107281 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107282 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107283 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107284 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107285 echo $ECHO_N "(cached) $ECHO_C" >&6
107288 if test x$gcc_no_link = xyes; then
107289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107291 { (exit 1); exit 1; }; }
107293 cat >conftest.$ac_ext <<_ACEOF
107294 /* confdefs.h. */
107295 _ACEOF
107296 cat confdefs.h >>conftest.$ac_ext
107297 cat >>conftest.$ac_ext <<_ACEOF
107298 /* end confdefs.h. */
107299 #include <math.h>
107301 main ()
107303 __builtin_cosl(0);
107305 return 0;
107307 _ACEOF
107308 rm -f conftest.$ac_objext conftest$ac_exeext
107309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107310 (eval $ac_link) 2>conftest.er1
107311 ac_status=$?
107312 grep -v '^ *+' conftest.er1 >conftest.err
107313 rm -f conftest.er1
107314 cat conftest.err >&5
107315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107316 (exit $ac_status); } &&
107317 { ac_try='test -z "$ac_c_werror_flag"
107318 || test ! -s conftest.err'
107319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107320 (eval $ac_try) 2>&5
107321 ac_status=$?
107322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107323 (exit $ac_status); }; } &&
107324 { ac_try='test -s conftest$ac_exeext'
107325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107326 (eval $ac_try) 2>&5
107327 ac_status=$?
107328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107329 (exit $ac_status); }; }; then
107330 glibcxx_cv_func___builtin_cosl_link=yes
107332 echo "$as_me: failed program was:" >&5
107333 sed 's/^/| /' conftest.$ac_ext >&5
107335 glibcxx_cv_func___builtin_cosl_link=no
107337 rm -f conftest.err conftest.$ac_objext \
107338 conftest$ac_exeext conftest.$ac_ext
107343 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107344 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107346 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107348 cat >>confdefs.h <<\_ACEOF
107349 #define HAVE___BUILTIN_COSL 1
107350 _ACEOF
107359 echo "$as_me:$LINENO: checking for main in -lm" >&5
107360 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107361 if test "${ac_cv_lib_m_main+set}" = set; then
107362 echo $ECHO_N "(cached) $ECHO_C" >&6
107364 ac_check_lib_save_LIBS=$LIBS
107365 LIBS="-lm $LIBS"
107366 if test x$gcc_no_link = xyes; then
107367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107369 { (exit 1); exit 1; }; }
107371 cat >conftest.$ac_ext <<_ACEOF
107372 /* confdefs.h. */
107373 _ACEOF
107374 cat confdefs.h >>conftest.$ac_ext
107375 cat >>conftest.$ac_ext <<_ACEOF
107376 /* end confdefs.h. */
107380 main ()
107382 main ();
107384 return 0;
107386 _ACEOF
107387 rm -f conftest.$ac_objext conftest$ac_exeext
107388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107389 (eval $ac_link) 2>conftest.er1
107390 ac_status=$?
107391 grep -v '^ *+' conftest.er1 >conftest.err
107392 rm -f conftest.er1
107393 cat conftest.err >&5
107394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107395 (exit $ac_status); } &&
107396 { ac_try='test -z "$ac_c_werror_flag"
107397 || test ! -s conftest.err'
107398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107399 (eval $ac_try) 2>&5
107400 ac_status=$?
107401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107402 (exit $ac_status); }; } &&
107403 { ac_try='test -s conftest$ac_exeext'
107404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107405 (eval $ac_try) 2>&5
107406 ac_status=$?
107407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107408 (exit $ac_status); }; }; then
107409 ac_cv_lib_m_main=yes
107411 echo "$as_me: failed program was:" >&5
107412 sed 's/^/| /' conftest.$ac_ext >&5
107414 ac_cv_lib_m_main=no
107416 rm -f conftest.err conftest.$ac_objext \
107417 conftest$ac_exeext conftest.$ac_ext
107418 LIBS=$ac_check_lib_save_LIBS
107420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107421 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107422 if test $ac_cv_lib_m_main = yes; then
107423 cat >>confdefs.h <<_ACEOF
107424 #define HAVE_LIBM 1
107425 _ACEOF
107427 LIBS="-lm $LIBS"
107432 for ac_func in copysignf
107434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107435 echo "$as_me:$LINENO: checking for $ac_func" >&5
107436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107437 if eval "test \"\${$as_ac_var+set}\" = set"; then
107438 echo $ECHO_N "(cached) $ECHO_C" >&6
107440 if test x$gcc_no_link = xyes; then
107441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107443 { (exit 1); exit 1; }; }
107445 cat >conftest.$ac_ext <<_ACEOF
107446 /* confdefs.h. */
107447 _ACEOF
107448 cat confdefs.h >>conftest.$ac_ext
107449 cat >>conftest.$ac_ext <<_ACEOF
107450 /* end confdefs.h. */
107451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107453 #define $ac_func innocuous_$ac_func
107455 /* System header to define __stub macros and hopefully few prototypes,
107456 which can conflict with char $ac_func (); below.
107457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107458 <limits.h> exists even on freestanding compilers. */
107460 #ifdef __STDC__
107461 # include <limits.h>
107462 #else
107463 # include <assert.h>
107464 #endif
107466 #undef $ac_func
107468 /* Override any gcc2 internal prototype to avoid an error. */
107469 #ifdef __cplusplus
107470 extern "C"
107472 #endif
107473 /* We use char because int might match the return type of a gcc2
107474 builtin and then its argument prototype would still apply. */
107475 char $ac_func ();
107476 /* The GNU C library defines this for functions which it implements
107477 to always fail with ENOSYS. Some functions are actually named
107478 something starting with __ and the normal name is an alias. */
107479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107480 choke me
107481 #else
107482 char (*f) () = $ac_func;
107483 #endif
107484 #ifdef __cplusplus
107486 #endif
107489 main ()
107491 return f != $ac_func;
107493 return 0;
107495 _ACEOF
107496 rm -f conftest.$ac_objext conftest$ac_exeext
107497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107498 (eval $ac_link) 2>conftest.er1
107499 ac_status=$?
107500 grep -v '^ *+' conftest.er1 >conftest.err
107501 rm -f conftest.er1
107502 cat conftest.err >&5
107503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107504 (exit $ac_status); } &&
107505 { ac_try='test -z "$ac_c_werror_flag"
107506 || test ! -s conftest.err'
107507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107508 (eval $ac_try) 2>&5
107509 ac_status=$?
107510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107511 (exit $ac_status); }; } &&
107512 { ac_try='test -s conftest$ac_exeext'
107513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107514 (eval $ac_try) 2>&5
107515 ac_status=$?
107516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107517 (exit $ac_status); }; }; then
107518 eval "$as_ac_var=yes"
107520 echo "$as_me: failed program was:" >&5
107521 sed 's/^/| /' conftest.$ac_ext >&5
107523 eval "$as_ac_var=no"
107525 rm -f conftest.err conftest.$ac_objext \
107526 conftest$ac_exeext conftest.$ac_ext
107528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107530 if test `eval echo '${'$as_ac_var'}'` = yes; then
107531 cat >>confdefs.h <<_ACEOF
107532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107533 _ACEOF
107536 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107542 for ac_func in __signbit
107544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107545 echo "$as_me:$LINENO: checking for $ac_func" >&5
107546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107547 if eval "test \"\${$as_ac_var+set}\" = set"; then
107548 echo $ECHO_N "(cached) $ECHO_C" >&6
107550 if test x$gcc_no_link = xyes; then
107551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107553 { (exit 1); exit 1; }; }
107555 cat >conftest.$ac_ext <<_ACEOF
107556 /* confdefs.h. */
107557 _ACEOF
107558 cat confdefs.h >>conftest.$ac_ext
107559 cat >>conftest.$ac_ext <<_ACEOF
107560 /* end confdefs.h. */
107561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107563 #define $ac_func innocuous_$ac_func
107565 /* System header to define __stub macros and hopefully few prototypes,
107566 which can conflict with char $ac_func (); below.
107567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107568 <limits.h> exists even on freestanding compilers. */
107570 #ifdef __STDC__
107571 # include <limits.h>
107572 #else
107573 # include <assert.h>
107574 #endif
107576 #undef $ac_func
107578 /* Override any gcc2 internal prototype to avoid an error. */
107579 #ifdef __cplusplus
107580 extern "C"
107582 #endif
107583 /* We use char because int might match the return type of a gcc2
107584 builtin and then its argument prototype would still apply. */
107585 char $ac_func ();
107586 /* The GNU C library defines this for functions which it implements
107587 to always fail with ENOSYS. Some functions are actually named
107588 something starting with __ and the normal name is an alias. */
107589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107590 choke me
107591 #else
107592 char (*f) () = $ac_func;
107593 #endif
107594 #ifdef __cplusplus
107596 #endif
107599 main ()
107601 return f != $ac_func;
107603 return 0;
107605 _ACEOF
107606 rm -f conftest.$ac_objext conftest$ac_exeext
107607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107608 (eval $ac_link) 2>conftest.er1
107609 ac_status=$?
107610 grep -v '^ *+' conftest.er1 >conftest.err
107611 rm -f conftest.er1
107612 cat conftest.err >&5
107613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107614 (exit $ac_status); } &&
107615 { ac_try='test -z "$ac_c_werror_flag"
107616 || test ! -s conftest.err'
107617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107618 (eval $ac_try) 2>&5
107619 ac_status=$?
107620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107621 (exit $ac_status); }; } &&
107622 { ac_try='test -s conftest$ac_exeext'
107623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107624 (eval $ac_try) 2>&5
107625 ac_status=$?
107626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107627 (exit $ac_status); }; }; then
107628 eval "$as_ac_var=yes"
107630 echo "$as_me: failed program was:" >&5
107631 sed 's/^/| /' conftest.$ac_ext >&5
107633 eval "$as_ac_var=no"
107635 rm -f conftest.err conftest.$ac_objext \
107636 conftest$ac_exeext conftest.$ac_ext
107638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107640 if test `eval echo '${'$as_ac_var'}'` = yes; then
107641 cat >>confdefs.h <<_ACEOF
107642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107643 _ACEOF
107646 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107652 for ac_func in __signbitf
107654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107655 echo "$as_me:$LINENO: checking for $ac_func" >&5
107656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107657 if eval "test \"\${$as_ac_var+set}\" = set"; then
107658 echo $ECHO_N "(cached) $ECHO_C" >&6
107660 if test x$gcc_no_link = xyes; then
107661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107663 { (exit 1); exit 1; }; }
107665 cat >conftest.$ac_ext <<_ACEOF
107666 /* confdefs.h. */
107667 _ACEOF
107668 cat confdefs.h >>conftest.$ac_ext
107669 cat >>conftest.$ac_ext <<_ACEOF
107670 /* end confdefs.h. */
107671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107673 #define $ac_func innocuous_$ac_func
107675 /* System header to define __stub macros and hopefully few prototypes,
107676 which can conflict with char $ac_func (); below.
107677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107678 <limits.h> exists even on freestanding compilers. */
107680 #ifdef __STDC__
107681 # include <limits.h>
107682 #else
107683 # include <assert.h>
107684 #endif
107686 #undef $ac_func
107688 /* Override any gcc2 internal prototype to avoid an error. */
107689 #ifdef __cplusplus
107690 extern "C"
107692 #endif
107693 /* We use char because int might match the return type of a gcc2
107694 builtin and then its argument prototype would still apply. */
107695 char $ac_func ();
107696 /* The GNU C library defines this for functions which it implements
107697 to always fail with ENOSYS. Some functions are actually named
107698 something starting with __ and the normal name is an alias. */
107699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107700 choke me
107701 #else
107702 char (*f) () = $ac_func;
107703 #endif
107704 #ifdef __cplusplus
107706 #endif
107709 main ()
107711 return f != $ac_func;
107713 return 0;
107715 _ACEOF
107716 rm -f conftest.$ac_objext conftest$ac_exeext
107717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107718 (eval $ac_link) 2>conftest.er1
107719 ac_status=$?
107720 grep -v '^ *+' conftest.er1 >conftest.err
107721 rm -f conftest.er1
107722 cat conftest.err >&5
107723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107724 (exit $ac_status); } &&
107725 { ac_try='test -z "$ac_c_werror_flag"
107726 || test ! -s conftest.err'
107727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107728 (eval $ac_try) 2>&5
107729 ac_status=$?
107730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107731 (exit $ac_status); }; } &&
107732 { ac_try='test -s conftest$ac_exeext'
107733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107734 (eval $ac_try) 2>&5
107735 ac_status=$?
107736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107737 (exit $ac_status); }; }; then
107738 eval "$as_ac_var=yes"
107740 echo "$as_me: failed program was:" >&5
107741 sed 's/^/| /' conftest.$ac_ext >&5
107743 eval "$as_ac_var=no"
107745 rm -f conftest.err conftest.$ac_objext \
107746 conftest$ac_exeext conftest.$ac_ext
107748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107750 if test `eval echo '${'$as_ac_var'}'` = yes; then
107751 cat >>confdefs.h <<_ACEOF
107752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107753 _ACEOF
107756 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107761 if test x$ac_cv_func_copysignl = x"yes"; then
107763 for ac_func in __signbitl
107765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107766 echo "$as_me:$LINENO: checking for $ac_func" >&5
107767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107768 if eval "test \"\${$as_ac_var+set}\" = set"; then
107769 echo $ECHO_N "(cached) $ECHO_C" >&6
107771 if test x$gcc_no_link = xyes; then
107772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107774 { (exit 1); exit 1; }; }
107776 cat >conftest.$ac_ext <<_ACEOF
107777 /* confdefs.h. */
107778 _ACEOF
107779 cat confdefs.h >>conftest.$ac_ext
107780 cat >>conftest.$ac_ext <<_ACEOF
107781 /* end confdefs.h. */
107782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107784 #define $ac_func innocuous_$ac_func
107786 /* System header to define __stub macros and hopefully few prototypes,
107787 which can conflict with char $ac_func (); below.
107788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107789 <limits.h> exists even on freestanding compilers. */
107791 #ifdef __STDC__
107792 # include <limits.h>
107793 #else
107794 # include <assert.h>
107795 #endif
107797 #undef $ac_func
107799 /* Override any gcc2 internal prototype to avoid an error. */
107800 #ifdef __cplusplus
107801 extern "C"
107803 #endif
107804 /* We use char because int might match the return type of a gcc2
107805 builtin and then its argument prototype would still apply. */
107806 char $ac_func ();
107807 /* The GNU C library defines this for functions which it implements
107808 to always fail with ENOSYS. Some functions are actually named
107809 something starting with __ and the normal name is an alias. */
107810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107811 choke me
107812 #else
107813 char (*f) () = $ac_func;
107814 #endif
107815 #ifdef __cplusplus
107817 #endif
107820 main ()
107822 return f != $ac_func;
107824 return 0;
107826 _ACEOF
107827 rm -f conftest.$ac_objext conftest$ac_exeext
107828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107829 (eval $ac_link) 2>conftest.er1
107830 ac_status=$?
107831 grep -v '^ *+' conftest.er1 >conftest.err
107832 rm -f conftest.er1
107833 cat conftest.err >&5
107834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107835 (exit $ac_status); } &&
107836 { ac_try='test -z "$ac_c_werror_flag"
107837 || test ! -s conftest.err'
107838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107839 (eval $ac_try) 2>&5
107840 ac_status=$?
107841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107842 (exit $ac_status); }; } &&
107843 { ac_try='test -s conftest$ac_exeext'
107844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107845 (eval $ac_try) 2>&5
107846 ac_status=$?
107847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107848 (exit $ac_status); }; }; then
107849 eval "$as_ac_var=yes"
107851 echo "$as_me: failed program was:" >&5
107852 sed 's/^/| /' conftest.$ac_ext >&5
107854 eval "$as_ac_var=no"
107856 rm -f conftest.err conftest.$ac_objext \
107857 conftest$ac_exeext conftest.$ac_ext
107859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107861 if test `eval echo '${'$as_ac_var'}'` = yes; then
107862 cat >>confdefs.h <<_ACEOF
107863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107864 _ACEOF
107867 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107873 # Used in libmath/Makefile.am.
107874 if test -n "$LIBMATHOBJS"; then
107875 need_libmath=yes
107880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107881 ac_save_CXXFLAGS="$CXXFLAGS"
107882 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107885 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107886 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107887 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107888 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107889 echo $ECHO_N "(cached) $ECHO_C" >&6
107894 ac_ext=cc
107895 ac_cpp='$CXXCPP $CPPFLAGS'
107896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107900 cat >conftest.$ac_ext <<_ACEOF
107901 /* confdefs.h. */
107902 _ACEOF
107903 cat confdefs.h >>conftest.$ac_ext
107904 cat >>conftest.$ac_ext <<_ACEOF
107905 /* end confdefs.h. */
107906 #include <stdlib.h>
107908 main ()
107910 strtold(0, 0);
107912 return 0;
107914 _ACEOF
107915 rm -f conftest.$ac_objext
107916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107917 (eval $ac_compile) 2>conftest.er1
107918 ac_status=$?
107919 grep -v '^ *+' conftest.er1 >conftest.err
107920 rm -f conftest.er1
107921 cat conftest.err >&5
107922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107923 (exit $ac_status); } &&
107924 { ac_try='test -z "$ac_cxx_werror_flag"
107925 || test ! -s conftest.err'
107926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107927 (eval $ac_try) 2>&5
107928 ac_status=$?
107929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107930 (exit $ac_status); }; } &&
107931 { ac_try='test -s conftest.$ac_objext'
107932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107933 (eval $ac_try) 2>&5
107934 ac_status=$?
107935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107936 (exit $ac_status); }; }; then
107937 glibcxx_cv_func_strtold_use=yes
107939 echo "$as_me: failed program was:" >&5
107940 sed 's/^/| /' conftest.$ac_ext >&5
107942 glibcxx_cv_func_strtold_use=no
107944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107945 ac_ext=c
107946 ac_cpp='$CPP $CPPFLAGS'
107947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107955 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107956 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107957 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107959 for ac_func in strtold
107961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107962 echo "$as_me:$LINENO: checking for $ac_func" >&5
107963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107964 if eval "test \"\${$as_ac_var+set}\" = set"; then
107965 echo $ECHO_N "(cached) $ECHO_C" >&6
107967 if test x$gcc_no_link = xyes; then
107968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107970 { (exit 1); exit 1; }; }
107972 cat >conftest.$ac_ext <<_ACEOF
107973 /* confdefs.h. */
107974 _ACEOF
107975 cat confdefs.h >>conftest.$ac_ext
107976 cat >>conftest.$ac_ext <<_ACEOF
107977 /* end confdefs.h. */
107978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107980 #define $ac_func innocuous_$ac_func
107982 /* System header to define __stub macros and hopefully few prototypes,
107983 which can conflict with char $ac_func (); below.
107984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107985 <limits.h> exists even on freestanding compilers. */
107987 #ifdef __STDC__
107988 # include <limits.h>
107989 #else
107990 # include <assert.h>
107991 #endif
107993 #undef $ac_func
107995 /* Override any gcc2 internal prototype to avoid an error. */
107996 #ifdef __cplusplus
107997 extern "C"
107999 #endif
108000 /* We use char because int might match the return type of a gcc2
108001 builtin and then its argument prototype would still apply. */
108002 char $ac_func ();
108003 /* The GNU C library defines this for functions which it implements
108004 to always fail with ENOSYS. Some functions are actually named
108005 something starting with __ and the normal name is an alias. */
108006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108007 choke me
108008 #else
108009 char (*f) () = $ac_func;
108010 #endif
108011 #ifdef __cplusplus
108013 #endif
108016 main ()
108018 return f != $ac_func;
108020 return 0;
108022 _ACEOF
108023 rm -f conftest.$ac_objext conftest$ac_exeext
108024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108025 (eval $ac_link) 2>conftest.er1
108026 ac_status=$?
108027 grep -v '^ *+' conftest.er1 >conftest.err
108028 rm -f conftest.er1
108029 cat conftest.err >&5
108030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108031 (exit $ac_status); } &&
108032 { ac_try='test -z "$ac_c_werror_flag"
108033 || test ! -s conftest.err'
108034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108035 (eval $ac_try) 2>&5
108036 ac_status=$?
108037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108038 (exit $ac_status); }; } &&
108039 { ac_try='test -s conftest$ac_exeext'
108040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108041 (eval $ac_try) 2>&5
108042 ac_status=$?
108043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108044 (exit $ac_status); }; }; then
108045 eval "$as_ac_var=yes"
108047 echo "$as_me: failed program was:" >&5
108048 sed 's/^/| /' conftest.$ac_ext >&5
108050 eval "$as_ac_var=no"
108052 rm -f conftest.err conftest.$ac_objext \
108053 conftest$ac_exeext conftest.$ac_ext
108055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108057 if test `eval echo '${'$as_ac_var'}'` = yes; then
108058 cat >>confdefs.h <<_ACEOF
108059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108060 _ACEOF
108071 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108072 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108073 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108074 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108075 echo $ECHO_N "(cached) $ECHO_C" >&6
108080 ac_ext=cc
108081 ac_cpp='$CXXCPP $CPPFLAGS'
108082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108086 cat >conftest.$ac_ext <<_ACEOF
108087 /* confdefs.h. */
108088 _ACEOF
108089 cat confdefs.h >>conftest.$ac_ext
108090 cat >>conftest.$ac_ext <<_ACEOF
108091 /* end confdefs.h. */
108092 #include <stdlib.h>
108094 main ()
108096 strtof(0, 0);
108098 return 0;
108100 _ACEOF
108101 rm -f conftest.$ac_objext
108102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108103 (eval $ac_compile) 2>conftest.er1
108104 ac_status=$?
108105 grep -v '^ *+' conftest.er1 >conftest.err
108106 rm -f conftest.er1
108107 cat conftest.err >&5
108108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108109 (exit $ac_status); } &&
108110 { ac_try='test -z "$ac_cxx_werror_flag"
108111 || test ! -s conftest.err'
108112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108113 (eval $ac_try) 2>&5
108114 ac_status=$?
108115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108116 (exit $ac_status); }; } &&
108117 { ac_try='test -s conftest.$ac_objext'
108118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108119 (eval $ac_try) 2>&5
108120 ac_status=$?
108121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108122 (exit $ac_status); }; }; then
108123 glibcxx_cv_func_strtof_use=yes
108125 echo "$as_me: failed program was:" >&5
108126 sed 's/^/| /' conftest.$ac_ext >&5
108128 glibcxx_cv_func_strtof_use=no
108130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108131 ac_ext=c
108132 ac_cpp='$CPP $CPPFLAGS'
108133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108142 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108143 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108145 for ac_func in strtof
108147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108148 echo "$as_me:$LINENO: checking for $ac_func" >&5
108149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108150 if eval "test \"\${$as_ac_var+set}\" = set"; then
108151 echo $ECHO_N "(cached) $ECHO_C" >&6
108153 if test x$gcc_no_link = xyes; then
108154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108156 { (exit 1); exit 1; }; }
108158 cat >conftest.$ac_ext <<_ACEOF
108159 /* confdefs.h. */
108160 _ACEOF
108161 cat confdefs.h >>conftest.$ac_ext
108162 cat >>conftest.$ac_ext <<_ACEOF
108163 /* end confdefs.h. */
108164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108166 #define $ac_func innocuous_$ac_func
108168 /* System header to define __stub macros and hopefully few prototypes,
108169 which can conflict with char $ac_func (); below.
108170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108171 <limits.h> exists even on freestanding compilers. */
108173 #ifdef __STDC__
108174 # include <limits.h>
108175 #else
108176 # include <assert.h>
108177 #endif
108179 #undef $ac_func
108181 /* Override any gcc2 internal prototype to avoid an error. */
108182 #ifdef __cplusplus
108183 extern "C"
108185 #endif
108186 /* We use char because int might match the return type of a gcc2
108187 builtin and then its argument prototype would still apply. */
108188 char $ac_func ();
108189 /* The GNU C library defines this for functions which it implements
108190 to always fail with ENOSYS. Some functions are actually named
108191 something starting with __ and the normal name is an alias. */
108192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108193 choke me
108194 #else
108195 char (*f) () = $ac_func;
108196 #endif
108197 #ifdef __cplusplus
108199 #endif
108202 main ()
108204 return f != $ac_func;
108206 return 0;
108208 _ACEOF
108209 rm -f conftest.$ac_objext conftest$ac_exeext
108210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108211 (eval $ac_link) 2>conftest.er1
108212 ac_status=$?
108213 grep -v '^ *+' conftest.er1 >conftest.err
108214 rm -f conftest.er1
108215 cat conftest.err >&5
108216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108217 (exit $ac_status); } &&
108218 { ac_try='test -z "$ac_c_werror_flag"
108219 || test ! -s conftest.err'
108220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108221 (eval $ac_try) 2>&5
108222 ac_status=$?
108223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108224 (exit $ac_status); }; } &&
108225 { ac_try='test -s conftest$ac_exeext'
108226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108227 (eval $ac_try) 2>&5
108228 ac_status=$?
108229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108230 (exit $ac_status); }; }; then
108231 eval "$as_ac_var=yes"
108233 echo "$as_me: failed program was:" >&5
108234 sed 's/^/| /' conftest.$ac_ext >&5
108236 eval "$as_ac_var=no"
108238 rm -f conftest.err conftest.$ac_objext \
108239 conftest$ac_exeext conftest.$ac_ext
108241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108243 if test `eval echo '${'$as_ac_var'}'` = yes; then
108244 cat >>confdefs.h <<_ACEOF
108245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108246 _ACEOF
108257 CXXFLAGS="$ac_save_CXXFLAGS"
108260 # For LFS.
108261 cat >>confdefs.h <<\_ACEOF
108262 #define HAVE_INT64_T 1
108263 _ACEOF
108268 ac_ext=cc
108269 ac_cpp='$CXXCPP $CPPFLAGS'
108270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108274 ac_save_CXXFLAGS="$CXXFLAGS"
108275 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108276 echo "$as_me:$LINENO: checking for LFS support" >&5
108277 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108278 if test "${glibcxx_cv_LFS+set}" = set; then
108279 echo $ECHO_N "(cached) $ECHO_C" >&6
108282 if test x$gcc_no_link = xyes; then
108283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108285 { (exit 1); exit 1; }; }
108287 cat >conftest.$ac_ext <<_ACEOF
108288 /* confdefs.h. */
108289 _ACEOF
108290 cat confdefs.h >>conftest.$ac_ext
108291 cat >>conftest.$ac_ext <<_ACEOF
108292 /* end confdefs.h. */
108293 #include <unistd.h>
108294 #include <stdio.h>
108295 #include <sys/stat.h>
108298 main ()
108300 FILE* fp;
108301 fopen64("t", "w");
108302 fseeko64(fp, 0, SEEK_CUR);
108303 ftello64(fp);
108304 lseek64(1, 0, SEEK_CUR);
108305 struct stat64 buf;
108306 fstat64(1, &buf);
108308 return 0;
108310 _ACEOF
108311 rm -f conftest.$ac_objext conftest$ac_exeext
108312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108313 (eval $ac_link) 2>conftest.er1
108314 ac_status=$?
108315 grep -v '^ *+' conftest.er1 >conftest.err
108316 rm -f conftest.er1
108317 cat conftest.err >&5
108318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108319 (exit $ac_status); } &&
108320 { ac_try='test -z "$ac_cxx_werror_flag"
108321 || test ! -s conftest.err'
108322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108323 (eval $ac_try) 2>&5
108324 ac_status=$?
108325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108326 (exit $ac_status); }; } &&
108327 { ac_try='test -s conftest$ac_exeext'
108328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108329 (eval $ac_try) 2>&5
108330 ac_status=$?
108331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108332 (exit $ac_status); }; }; then
108333 glibcxx_cv_LFS=yes
108335 echo "$as_me: failed program was:" >&5
108336 sed 's/^/| /' conftest.$ac_ext >&5
108338 glibcxx_cv_LFS=no
108340 rm -f conftest.err conftest.$ac_objext \
108341 conftest$ac_exeext conftest.$ac_ext
108345 if test $glibcxx_cv_LFS = yes; then
108347 cat >>confdefs.h <<\_ACEOF
108348 #define _GLIBCXX_USE_LFS 1
108349 _ACEOF
108352 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108353 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108354 CXXFLAGS="$ac_save_CXXFLAGS"
108355 ac_ext=c
108356 ac_cpp='$CPP $CPPFLAGS'
108357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108363 # For showmanyc_helper().
108366 for ac_header in sys/ioctl.h sys/filio.h
108368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108370 echo "$as_me:$LINENO: checking for $ac_header" >&5
108371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108373 echo $ECHO_N "(cached) $ECHO_C" >&6
108375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108378 # Is the header compilable?
108379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108381 cat >conftest.$ac_ext <<_ACEOF
108382 /* confdefs.h. */
108383 _ACEOF
108384 cat confdefs.h >>conftest.$ac_ext
108385 cat >>conftest.$ac_ext <<_ACEOF
108386 /* end confdefs.h. */
108387 $ac_includes_default
108388 #include <$ac_header>
108389 _ACEOF
108390 rm -f conftest.$ac_objext
108391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108392 (eval $ac_compile) 2>conftest.er1
108393 ac_status=$?
108394 grep -v '^ *+' conftest.er1 >conftest.err
108395 rm -f conftest.er1
108396 cat conftest.err >&5
108397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108398 (exit $ac_status); } &&
108399 { ac_try='test -z "$ac_c_werror_flag"
108400 || test ! -s conftest.err'
108401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108402 (eval $ac_try) 2>&5
108403 ac_status=$?
108404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108405 (exit $ac_status); }; } &&
108406 { ac_try='test -s conftest.$ac_objext'
108407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108408 (eval $ac_try) 2>&5
108409 ac_status=$?
108410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108411 (exit $ac_status); }; }; then
108412 ac_header_compiler=yes
108414 echo "$as_me: failed program was:" >&5
108415 sed 's/^/| /' conftest.$ac_ext >&5
108417 ac_header_compiler=no
108419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108421 echo "${ECHO_T}$ac_header_compiler" >&6
108423 # Is the header present?
108424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108426 cat >conftest.$ac_ext <<_ACEOF
108427 /* confdefs.h. */
108428 _ACEOF
108429 cat confdefs.h >>conftest.$ac_ext
108430 cat >>conftest.$ac_ext <<_ACEOF
108431 /* end confdefs.h. */
108432 #include <$ac_header>
108433 _ACEOF
108434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108436 ac_status=$?
108437 grep -v '^ *+' conftest.er1 >conftest.err
108438 rm -f conftest.er1
108439 cat conftest.err >&5
108440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108441 (exit $ac_status); } >/dev/null; then
108442 if test -s conftest.err; then
108443 ac_cpp_err=$ac_c_preproc_warn_flag
108444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108446 ac_cpp_err=
108449 ac_cpp_err=yes
108451 if test -z "$ac_cpp_err"; then
108452 ac_header_preproc=yes
108454 echo "$as_me: failed program was:" >&5
108455 sed 's/^/| /' conftest.$ac_ext >&5
108457 ac_header_preproc=no
108459 rm -f conftest.err conftest.$ac_ext
108460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108461 echo "${ECHO_T}$ac_header_preproc" >&6
108463 # So? What about this header?
108464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108465 yes:no: )
108466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108470 ac_header_preproc=yes
108472 no:yes:* )
108473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108486 cat <<\_ASBOX
108487 ## ----------------------------------------- ##
108488 ## Report this to the package-unused lists. ##
108489 ## ----------------------------------------- ##
108490 _ASBOX
108492 sed "s/^/$as_me: WARNING: /" >&2
108495 echo "$as_me:$LINENO: checking for $ac_header" >&5
108496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108498 echo $ECHO_N "(cached) $ECHO_C" >&6
108500 eval "$as_ac_Header=\$ac_header_preproc"
108502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108507 cat >>confdefs.h <<_ACEOF
108508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108509 _ACEOF
108516 echo "$as_me:$LINENO: checking for poll" >&5
108517 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108518 if test "${glibcxx_cv_POLL+set}" = set; then
108519 echo $ECHO_N "(cached) $ECHO_C" >&6
108522 if test x$gcc_no_link = xyes; then
108523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108525 { (exit 1); exit 1; }; }
108527 cat >conftest.$ac_ext <<_ACEOF
108528 /* confdefs.h. */
108529 _ACEOF
108530 cat confdefs.h >>conftest.$ac_ext
108531 cat >>conftest.$ac_ext <<_ACEOF
108532 /* end confdefs.h. */
108533 #include <poll.h>
108535 main ()
108537 struct pollfd pfd[1];
108538 pfd[0].events = POLLIN;
108539 poll(pfd, 1, 0);
108541 return 0;
108543 _ACEOF
108544 rm -f conftest.$ac_objext conftest$ac_exeext
108545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108546 (eval $ac_link) 2>conftest.er1
108547 ac_status=$?
108548 grep -v '^ *+' conftest.er1 >conftest.err
108549 rm -f conftest.er1
108550 cat conftest.err >&5
108551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108552 (exit $ac_status); } &&
108553 { ac_try='test -z "$ac_c_werror_flag"
108554 || test ! -s conftest.err'
108555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108556 (eval $ac_try) 2>&5
108557 ac_status=$?
108558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108559 (exit $ac_status); }; } &&
108560 { ac_try='test -s conftest$ac_exeext'
108561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108562 (eval $ac_try) 2>&5
108563 ac_status=$?
108564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108565 (exit $ac_status); }; }; then
108566 glibcxx_cv_POLL=yes
108568 echo "$as_me: failed program was:" >&5
108569 sed 's/^/| /' conftest.$ac_ext >&5
108571 glibcxx_cv_POLL=no
108573 rm -f conftest.err conftest.$ac_objext \
108574 conftest$ac_exeext conftest.$ac_ext
108578 if test $glibcxx_cv_POLL = yes; then
108580 cat >>confdefs.h <<\_ACEOF
108581 #define HAVE_POLL 1
108582 _ACEOF
108585 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108586 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108589 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108590 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108591 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108592 echo $ECHO_N "(cached) $ECHO_C" >&6
108595 if test x$gcc_no_link = xyes; then
108596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108598 { (exit 1); exit 1; }; }
108600 cat >conftest.$ac_ext <<_ACEOF
108601 /* confdefs.h. */
108602 _ACEOF
108603 cat confdefs.h >>conftest.$ac_ext
108604 cat >>conftest.$ac_ext <<_ACEOF
108605 /* end confdefs.h. */
108606 #include <sys/stat.h>
108608 main ()
108610 struct stat buffer;
108611 fstat(0, &buffer);
108612 S_ISREG(buffer.st_mode);
108614 return 0;
108616 _ACEOF
108617 rm -f conftest.$ac_objext conftest$ac_exeext
108618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108619 (eval $ac_link) 2>conftest.er1
108620 ac_status=$?
108621 grep -v '^ *+' conftest.er1 >conftest.err
108622 rm -f conftest.er1
108623 cat conftest.err >&5
108624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108625 (exit $ac_status); } &&
108626 { ac_try='test -z "$ac_c_werror_flag"
108627 || test ! -s conftest.err'
108628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108629 (eval $ac_try) 2>&5
108630 ac_status=$?
108631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108632 (exit $ac_status); }; } &&
108633 { ac_try='test -s conftest$ac_exeext'
108634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108635 (eval $ac_try) 2>&5
108636 ac_status=$?
108637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108638 (exit $ac_status); }; }; then
108639 glibcxx_cv_S_ISREG=yes
108641 echo "$as_me: failed program was:" >&5
108642 sed 's/^/| /' conftest.$ac_ext >&5
108644 glibcxx_cv_S_ISREG=no
108646 rm -f conftest.err conftest.$ac_objext \
108647 conftest$ac_exeext conftest.$ac_ext
108651 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108652 echo $ECHO_N "(cached) $ECHO_C" >&6
108655 if test x$gcc_no_link = xyes; then
108656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108658 { (exit 1); exit 1; }; }
108660 cat >conftest.$ac_ext <<_ACEOF
108661 /* confdefs.h. */
108662 _ACEOF
108663 cat confdefs.h >>conftest.$ac_ext
108664 cat >>conftest.$ac_ext <<_ACEOF
108665 /* end confdefs.h. */
108666 #include <sys/stat.h>
108668 main ()
108670 struct stat buffer;
108671 fstat(0, &buffer);
108672 S_IFREG & buffer.st_mode;
108674 return 0;
108676 _ACEOF
108677 rm -f conftest.$ac_objext conftest$ac_exeext
108678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108679 (eval $ac_link) 2>conftest.er1
108680 ac_status=$?
108681 grep -v '^ *+' conftest.er1 >conftest.err
108682 rm -f conftest.er1
108683 cat conftest.err >&5
108684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108685 (exit $ac_status); } &&
108686 { ac_try='test -z "$ac_c_werror_flag"
108687 || test ! -s conftest.err'
108688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108689 (eval $ac_try) 2>&5
108690 ac_status=$?
108691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108692 (exit $ac_status); }; } &&
108693 { ac_try='test -s conftest$ac_exeext'
108694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108695 (eval $ac_try) 2>&5
108696 ac_status=$?
108697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108698 (exit $ac_status); }; }; then
108699 glibcxx_cv_S_IFREG=yes
108701 echo "$as_me: failed program was:" >&5
108702 sed 's/^/| /' conftest.$ac_ext >&5
108704 glibcxx_cv_S_IFREG=no
108706 rm -f conftest.err conftest.$ac_objext \
108707 conftest$ac_exeext conftest.$ac_ext
108711 res=no
108712 if test $glibcxx_cv_S_ISREG = yes; then
108714 cat >>confdefs.h <<\_ACEOF
108715 #define HAVE_S_ISREG 1
108716 _ACEOF
108718 res=S_ISREG
108719 elif test $glibcxx_cv_S_IFREG = yes; then
108721 cat >>confdefs.h <<\_ACEOF
108722 #define HAVE_S_IFREG 1
108723 _ACEOF
108725 res=S_IFREG
108727 echo "$as_me:$LINENO: result: $res" >&5
108728 echo "${ECHO_T}$res" >&6
108731 # For xsputn_2().
108733 for ac_header in sys/uio.h
108735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108737 echo "$as_me:$LINENO: checking for $ac_header" >&5
108738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108740 echo $ECHO_N "(cached) $ECHO_C" >&6
108742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108745 # Is the header compilable?
108746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108748 cat >conftest.$ac_ext <<_ACEOF
108749 /* confdefs.h. */
108750 _ACEOF
108751 cat confdefs.h >>conftest.$ac_ext
108752 cat >>conftest.$ac_ext <<_ACEOF
108753 /* end confdefs.h. */
108754 $ac_includes_default
108755 #include <$ac_header>
108756 _ACEOF
108757 rm -f conftest.$ac_objext
108758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108759 (eval $ac_compile) 2>conftest.er1
108760 ac_status=$?
108761 grep -v '^ *+' conftest.er1 >conftest.err
108762 rm -f conftest.er1
108763 cat conftest.err >&5
108764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108765 (exit $ac_status); } &&
108766 { ac_try='test -z "$ac_c_werror_flag"
108767 || test ! -s conftest.err'
108768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108769 (eval $ac_try) 2>&5
108770 ac_status=$?
108771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108772 (exit $ac_status); }; } &&
108773 { ac_try='test -s conftest.$ac_objext'
108774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108775 (eval $ac_try) 2>&5
108776 ac_status=$?
108777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108778 (exit $ac_status); }; }; then
108779 ac_header_compiler=yes
108781 echo "$as_me: failed program was:" >&5
108782 sed 's/^/| /' conftest.$ac_ext >&5
108784 ac_header_compiler=no
108786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108788 echo "${ECHO_T}$ac_header_compiler" >&6
108790 # Is the header present?
108791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108793 cat >conftest.$ac_ext <<_ACEOF
108794 /* confdefs.h. */
108795 _ACEOF
108796 cat confdefs.h >>conftest.$ac_ext
108797 cat >>conftest.$ac_ext <<_ACEOF
108798 /* end confdefs.h. */
108799 #include <$ac_header>
108800 _ACEOF
108801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108803 ac_status=$?
108804 grep -v '^ *+' conftest.er1 >conftest.err
108805 rm -f conftest.er1
108806 cat conftest.err >&5
108807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108808 (exit $ac_status); } >/dev/null; then
108809 if test -s conftest.err; then
108810 ac_cpp_err=$ac_c_preproc_warn_flag
108811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108813 ac_cpp_err=
108816 ac_cpp_err=yes
108818 if test -z "$ac_cpp_err"; then
108819 ac_header_preproc=yes
108821 echo "$as_me: failed program was:" >&5
108822 sed 's/^/| /' conftest.$ac_ext >&5
108824 ac_header_preproc=no
108826 rm -f conftest.err conftest.$ac_ext
108827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108828 echo "${ECHO_T}$ac_header_preproc" >&6
108830 # So? What about this header?
108831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108832 yes:no: )
108833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108837 ac_header_preproc=yes
108839 no:yes:* )
108840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108853 cat <<\_ASBOX
108854 ## ----------------------------------------- ##
108855 ## Report this to the package-unused lists. ##
108856 ## ----------------------------------------- ##
108857 _ASBOX
108859 sed "s/^/$as_me: WARNING: /" >&2
108862 echo "$as_me:$LINENO: checking for $ac_header" >&5
108863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108865 echo $ECHO_N "(cached) $ECHO_C" >&6
108867 eval "$as_ac_Header=\$ac_header_preproc"
108869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108874 cat >>confdefs.h <<_ACEOF
108875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108876 _ACEOF
108883 echo "$as_me:$LINENO: checking for writev" >&5
108884 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108885 if test "${glibcxx_cv_WRITEV+set}" = set; then
108886 echo $ECHO_N "(cached) $ECHO_C" >&6
108889 if test x$gcc_no_link = xyes; then
108890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108892 { (exit 1); exit 1; }; }
108894 cat >conftest.$ac_ext <<_ACEOF
108895 /* confdefs.h. */
108896 _ACEOF
108897 cat confdefs.h >>conftest.$ac_ext
108898 cat >>conftest.$ac_ext <<_ACEOF
108899 /* end confdefs.h. */
108900 #include <sys/uio.h>
108902 main ()
108904 struct iovec iov[2];
108905 writev(0, iov, 0);
108907 return 0;
108909 _ACEOF
108910 rm -f conftest.$ac_objext conftest$ac_exeext
108911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108912 (eval $ac_link) 2>conftest.er1
108913 ac_status=$?
108914 grep -v '^ *+' conftest.er1 >conftest.err
108915 rm -f conftest.er1
108916 cat conftest.err >&5
108917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108918 (exit $ac_status); } &&
108919 { ac_try='test -z "$ac_c_werror_flag"
108920 || test ! -s conftest.err'
108921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108922 (eval $ac_try) 2>&5
108923 ac_status=$?
108924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108925 (exit $ac_status); }; } &&
108926 { ac_try='test -s conftest$ac_exeext'
108927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108928 (eval $ac_try) 2>&5
108929 ac_status=$?
108930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108931 (exit $ac_status); }; }; then
108932 glibcxx_cv_WRITEV=yes
108934 echo "$as_me: failed program was:" >&5
108935 sed 's/^/| /' conftest.$ac_ext >&5
108937 glibcxx_cv_WRITEV=no
108939 rm -f conftest.err conftest.$ac_objext \
108940 conftest$ac_exeext conftest.$ac_ext
108944 if test $glibcxx_cv_WRITEV = yes; then
108946 cat >>confdefs.h <<\_ACEOF
108947 #define HAVE_WRITEV 1
108948 _ACEOF
108951 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108952 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108955 # For C99 support to TR1.
108960 ac_ext=cc
108961 ac_cpp='$CXXCPP $CPPFLAGS'
108962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108967 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108968 # undefined and fake C99 facilities may be spuriously enabled.
108969 ac_save_CXXFLAGS="$CXXFLAGS"
108970 CXXFLAGS="$CXXFLAGS -std=c++98"
108972 # Check for the existence of <complex.h> complex math functions used
108973 # by tr1/complex.
108975 for ac_header in complex.h
108977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108979 echo "$as_me:$LINENO: checking for $ac_header" >&5
108980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108982 echo $ECHO_N "(cached) $ECHO_C" >&6
108984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108987 # Is the header compilable?
108988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108990 cat >conftest.$ac_ext <<_ACEOF
108991 /* confdefs.h. */
108992 _ACEOF
108993 cat confdefs.h >>conftest.$ac_ext
108994 cat >>conftest.$ac_ext <<_ACEOF
108995 /* end confdefs.h. */
108996 $ac_includes_default
108997 #include <$ac_header>
108998 _ACEOF
108999 rm -f conftest.$ac_objext
109000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109001 (eval $ac_compile) 2>conftest.er1
109002 ac_status=$?
109003 grep -v '^ *+' conftest.er1 >conftest.err
109004 rm -f conftest.er1
109005 cat conftest.err >&5
109006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109007 (exit $ac_status); } &&
109008 { ac_try='test -z "$ac_cxx_werror_flag"
109009 || test ! -s conftest.err'
109010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109011 (eval $ac_try) 2>&5
109012 ac_status=$?
109013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109014 (exit $ac_status); }; } &&
109015 { ac_try='test -s conftest.$ac_objext'
109016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109017 (eval $ac_try) 2>&5
109018 ac_status=$?
109019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109020 (exit $ac_status); }; }; then
109021 ac_header_compiler=yes
109023 echo "$as_me: failed program was:" >&5
109024 sed 's/^/| /' conftest.$ac_ext >&5
109026 ac_header_compiler=no
109028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109030 echo "${ECHO_T}$ac_header_compiler" >&6
109032 # Is the header present?
109033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109035 cat >conftest.$ac_ext <<_ACEOF
109036 /* confdefs.h. */
109037 _ACEOF
109038 cat confdefs.h >>conftest.$ac_ext
109039 cat >>conftest.$ac_ext <<_ACEOF
109040 /* end confdefs.h. */
109041 #include <$ac_header>
109042 _ACEOF
109043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109045 ac_status=$?
109046 grep -v '^ *+' conftest.er1 >conftest.err
109047 rm -f conftest.er1
109048 cat conftest.err >&5
109049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109050 (exit $ac_status); } >/dev/null; then
109051 if test -s conftest.err; then
109052 ac_cpp_err=$ac_cxx_preproc_warn_flag
109053 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109055 ac_cpp_err=
109058 ac_cpp_err=yes
109060 if test -z "$ac_cpp_err"; then
109061 ac_header_preproc=yes
109063 echo "$as_me: failed program was:" >&5
109064 sed 's/^/| /' conftest.$ac_ext >&5
109066 ac_header_preproc=no
109068 rm -f conftest.err conftest.$ac_ext
109069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109070 echo "${ECHO_T}$ac_header_preproc" >&6
109072 # So? What about this header?
109073 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109074 yes:no: )
109075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109079 ac_header_preproc=yes
109081 no:yes:* )
109082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109095 cat <<\_ASBOX
109096 ## ----------------------------------------- ##
109097 ## Report this to the package-unused lists. ##
109098 ## ----------------------------------------- ##
109099 _ASBOX
109101 sed "s/^/$as_me: WARNING: /" >&2
109104 echo "$as_me:$LINENO: checking for $ac_header" >&5
109105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109107 echo $ECHO_N "(cached) $ECHO_C" >&6
109109 eval "$as_ac_Header=\$ac_header_preproc"
109111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109116 cat >>confdefs.h <<_ACEOF
109117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109118 _ACEOF
109119 ac_has_complex_h=yes
109121 ac_has_complex_h=no
109126 ac_c99_complex_tr1=no;
109127 if test x"$ac_has_complex_h" = x"yes"; then
109128 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109129 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109130 cat >conftest.$ac_ext <<_ACEOF
109131 /* confdefs.h. */
109132 _ACEOF
109133 cat confdefs.h >>conftest.$ac_ext
109134 cat >>conftest.$ac_ext <<_ACEOF
109135 /* end confdefs.h. */
109136 #include <complex.h>
109138 main ()
109140 typedef __complex__ float float_type; float_type tmpf;
109141 cacosf(tmpf);
109142 casinf(tmpf);
109143 catanf(tmpf);
109144 cacoshf(tmpf);
109145 casinhf(tmpf);
109146 catanhf(tmpf);
109147 typedef __complex__ double double_type; double_type tmpd;
109148 cacos(tmpd);
109149 casin(tmpd);
109150 catan(tmpd);
109151 cacosh(tmpd);
109152 casinh(tmpd);
109153 catanh(tmpd);
109154 typedef __complex__ long double ld_type; ld_type tmpld;
109155 cacosl(tmpld);
109156 casinl(tmpld);
109157 catanl(tmpld);
109158 cacoshl(tmpld);
109159 casinhl(tmpld);
109160 catanhl(tmpld);
109163 return 0;
109165 _ACEOF
109166 rm -f conftest.$ac_objext
109167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109168 (eval $ac_compile) 2>conftest.er1
109169 ac_status=$?
109170 grep -v '^ *+' conftest.er1 >conftest.err
109171 rm -f conftest.er1
109172 cat conftest.err >&5
109173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109174 (exit $ac_status); } &&
109175 { ac_try='test -z "$ac_cxx_werror_flag"
109176 || test ! -s conftest.err'
109177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109178 (eval $ac_try) 2>&5
109179 ac_status=$?
109180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109181 (exit $ac_status); }; } &&
109182 { ac_try='test -s conftest.$ac_objext'
109183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109184 (eval $ac_try) 2>&5
109185 ac_status=$?
109186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109187 (exit $ac_status); }; }; then
109188 ac_c99_complex_tr1=yes
109190 echo "$as_me: failed program was:" >&5
109191 sed 's/^/| /' conftest.$ac_ext >&5
109193 ac_c99_complex_tr1=no
109195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109197 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109198 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109199 if test x"$ac_c99_complex_tr1" = x"yes"; then
109201 cat >>confdefs.h <<\_ACEOF
109202 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109203 _ACEOF
109207 # Check for the existence of <ctype.h> functions.
109208 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109209 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109210 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109211 echo $ECHO_N "(cached) $ECHO_C" >&6
109214 cat >conftest.$ac_ext <<_ACEOF
109215 /* confdefs.h. */
109216 _ACEOF
109217 cat confdefs.h >>conftest.$ac_ext
109218 cat >>conftest.$ac_ext <<_ACEOF
109219 /* end confdefs.h. */
109220 #include <ctype.h>
109222 main ()
109224 int ch;
109225 int ret;
109226 ret = isblank(ch);
109229 return 0;
109231 _ACEOF
109232 rm -f conftest.$ac_objext
109233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109234 (eval $ac_compile) 2>conftest.er1
109235 ac_status=$?
109236 grep -v '^ *+' conftest.er1 >conftest.err
109237 rm -f conftest.er1
109238 cat conftest.err >&5
109239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109240 (exit $ac_status); } &&
109241 { ac_try='test -z "$ac_cxx_werror_flag"
109242 || test ! -s conftest.err'
109243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109244 (eval $ac_try) 2>&5
109245 ac_status=$?
109246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109247 (exit $ac_status); }; } &&
109248 { ac_try='test -s conftest.$ac_objext'
109249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109250 (eval $ac_try) 2>&5
109251 ac_status=$?
109252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109253 (exit $ac_status); }; }; then
109254 glibcxx_cv_c99_ctype_tr1=yes
109256 echo "$as_me: failed program was:" >&5
109257 sed 's/^/| /' conftest.$ac_ext >&5
109259 glibcxx_cv_c99_ctype_tr1=no
109261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109265 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109266 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109267 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109269 cat >>confdefs.h <<\_ACEOF
109270 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109271 _ACEOF
109275 # Check for the existence of <fenv.h> functions.
109277 for ac_header in fenv.h
109279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109281 echo "$as_me:$LINENO: checking for $ac_header" >&5
109282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109284 echo $ECHO_N "(cached) $ECHO_C" >&6
109286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109289 # Is the header compilable?
109290 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109292 cat >conftest.$ac_ext <<_ACEOF
109293 /* confdefs.h. */
109294 _ACEOF
109295 cat confdefs.h >>conftest.$ac_ext
109296 cat >>conftest.$ac_ext <<_ACEOF
109297 /* end confdefs.h. */
109298 $ac_includes_default
109299 #include <$ac_header>
109300 _ACEOF
109301 rm -f conftest.$ac_objext
109302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109303 (eval $ac_compile) 2>conftest.er1
109304 ac_status=$?
109305 grep -v '^ *+' conftest.er1 >conftest.err
109306 rm -f conftest.er1
109307 cat conftest.err >&5
109308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109309 (exit $ac_status); } &&
109310 { ac_try='test -z "$ac_cxx_werror_flag"
109311 || test ! -s conftest.err'
109312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109313 (eval $ac_try) 2>&5
109314 ac_status=$?
109315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109316 (exit $ac_status); }; } &&
109317 { ac_try='test -s conftest.$ac_objext'
109318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109319 (eval $ac_try) 2>&5
109320 ac_status=$?
109321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109322 (exit $ac_status); }; }; then
109323 ac_header_compiler=yes
109325 echo "$as_me: failed program was:" >&5
109326 sed 's/^/| /' conftest.$ac_ext >&5
109328 ac_header_compiler=no
109330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109332 echo "${ECHO_T}$ac_header_compiler" >&6
109334 # Is the header present?
109335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109337 cat >conftest.$ac_ext <<_ACEOF
109338 /* confdefs.h. */
109339 _ACEOF
109340 cat confdefs.h >>conftest.$ac_ext
109341 cat >>conftest.$ac_ext <<_ACEOF
109342 /* end confdefs.h. */
109343 #include <$ac_header>
109344 _ACEOF
109345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109347 ac_status=$?
109348 grep -v '^ *+' conftest.er1 >conftest.err
109349 rm -f conftest.er1
109350 cat conftest.err >&5
109351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109352 (exit $ac_status); } >/dev/null; then
109353 if test -s conftest.err; then
109354 ac_cpp_err=$ac_cxx_preproc_warn_flag
109355 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109357 ac_cpp_err=
109360 ac_cpp_err=yes
109362 if test -z "$ac_cpp_err"; then
109363 ac_header_preproc=yes
109365 echo "$as_me: failed program was:" >&5
109366 sed 's/^/| /' conftest.$ac_ext >&5
109368 ac_header_preproc=no
109370 rm -f conftest.err conftest.$ac_ext
109371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109372 echo "${ECHO_T}$ac_header_preproc" >&6
109374 # So? What about this header?
109375 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109376 yes:no: )
109377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109381 ac_header_preproc=yes
109383 no:yes:* )
109384 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109386 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109387 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109388 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109390 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109391 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109394 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109397 cat <<\_ASBOX
109398 ## ----------------------------------------- ##
109399 ## Report this to the package-unused lists. ##
109400 ## ----------------------------------------- ##
109401 _ASBOX
109403 sed "s/^/$as_me: WARNING: /" >&2
109406 echo "$as_me:$LINENO: checking for $ac_header" >&5
109407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109409 echo $ECHO_N "(cached) $ECHO_C" >&6
109411 eval "$as_ac_Header=\$ac_header_preproc"
109413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109418 cat >>confdefs.h <<_ACEOF
109419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109420 _ACEOF
109421 ac_has_fenv_h=yes
109423 ac_has_fenv_h=no
109428 ac_c99_fenv_tr1=no;
109429 if test x"$ac_has_fenv_h" = x"yes"; then
109430 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109431 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109432 cat >conftest.$ac_ext <<_ACEOF
109433 /* confdefs.h. */
109434 _ACEOF
109435 cat confdefs.h >>conftest.$ac_ext
109436 cat >>conftest.$ac_ext <<_ACEOF
109437 /* end confdefs.h. */
109438 #include <fenv.h>
109440 main ()
109442 int except, mode;
109443 fexcept_t* pflag;
109444 fenv_t* penv;
109445 int ret;
109446 ret = feclearexcept(except);
109447 ret = fegetexceptflag(pflag, except);
109448 ret = feraiseexcept(except);
109449 ret = fesetexceptflag(pflag, except);
109450 ret = fetestexcept(except);
109451 ret = fegetround();
109452 ret = fesetround(mode);
109453 ret = fegetenv(penv);
109454 ret = feholdexcept(penv);
109455 ret = fesetenv(penv);
109456 ret = feupdateenv(penv);
109459 return 0;
109461 _ACEOF
109462 rm -f conftest.$ac_objext
109463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109464 (eval $ac_compile) 2>conftest.er1
109465 ac_status=$?
109466 grep -v '^ *+' conftest.er1 >conftest.err
109467 rm -f conftest.er1
109468 cat conftest.err >&5
109469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109470 (exit $ac_status); } &&
109471 { ac_try='test -z "$ac_cxx_werror_flag"
109472 || test ! -s conftest.err'
109473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109474 (eval $ac_try) 2>&5
109475 ac_status=$?
109476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109477 (exit $ac_status); }; } &&
109478 { ac_try='test -s conftest.$ac_objext'
109479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109480 (eval $ac_try) 2>&5
109481 ac_status=$?
109482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109483 (exit $ac_status); }; }; then
109484 ac_c99_fenv_tr1=yes
109486 echo "$as_me: failed program was:" >&5
109487 sed 's/^/| /' conftest.$ac_ext >&5
109489 ac_c99_fenv_tr1=no
109491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109493 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109494 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109495 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109497 cat >>confdefs.h <<\_ACEOF
109498 #define _GLIBCXX_USE_C99_FENV_TR1 1
109499 _ACEOF
109503 # Check for the existence of <stdint.h> types.
109504 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109505 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109506 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
109507 echo $ECHO_N "(cached) $ECHO_C" >&6
109510 cat >conftest.$ac_ext <<_ACEOF
109511 /* confdefs.h. */
109512 _ACEOF
109513 cat confdefs.h >>conftest.$ac_ext
109514 cat >>conftest.$ac_ext <<_ACEOF
109515 /* end confdefs.h. */
109516 #include <stdint.h>
109518 main ()
109520 typedef int8_t my_int8_t;
109521 typedef int16_t my_int16_t;
109522 typedef int32_t my_int32_t;
109523 typedef int64_t my_int64_t;
109524 typedef int_fast8_t my_int_fast8_t;
109525 typedef int_fast16_t my_int_fast16_t;
109526 typedef int_fast32_t my_int_fast32_t;
109527 typedef int_fast64_t my_int_fast64_t;
109528 typedef int_least8_t my_int_least8_t;
109529 typedef int_least16_t my_int_least16_t;
109530 typedef int_least32_t my_int_least32_t;
109531 typedef int_least64_t my_int_least64_t;
109532 typedef intmax_t my_intmax_t;
109533 typedef intptr_t my_intptr_t;
109534 typedef uint8_t my_uint8_t;
109535 typedef uint16_t my_uint16_t;
109536 typedef uint32_t my_uint32_t;
109537 typedef uint64_t my_uint64_t;
109538 typedef uint_fast8_t my_uint_fast8_t;
109539 typedef uint_fast16_t my_uint_fast16_t;
109540 typedef uint_fast32_t my_uint_fast32_t;
109541 typedef uint_fast64_t my_uint_fast64_t;
109542 typedef uint_least8_t my_uint_least8_t;
109543 typedef uint_least16_t my_uint_least16_t;
109544 typedef uint_least32_t my_uint_least32_t;
109545 typedef uint_least64_t my_uint_least64_t;
109546 typedef uintmax_t my_uintmax_t;
109547 typedef uintptr_t my_uintptr_t;
109550 return 0;
109552 _ACEOF
109553 rm -f conftest.$ac_objext
109554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109555 (eval $ac_compile) 2>conftest.er1
109556 ac_status=$?
109557 grep -v '^ *+' conftest.er1 >conftest.err
109558 rm -f conftest.er1
109559 cat conftest.err >&5
109560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109561 (exit $ac_status); } &&
109562 { ac_try='test -z "$ac_cxx_werror_flag"
109563 || test ! -s conftest.err'
109564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109565 (eval $ac_try) 2>&5
109566 ac_status=$?
109567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109568 (exit $ac_status); }; } &&
109569 { ac_try='test -s conftest.$ac_objext'
109570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109571 (eval $ac_try) 2>&5
109572 ac_status=$?
109573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109574 (exit $ac_status); }; }; then
109575 glibcxx_cv_c99_stdint_tr1=yes
109577 echo "$as_me: failed program was:" >&5
109578 sed 's/^/| /' conftest.$ac_ext >&5
109580 glibcxx_cv_c99_stdint_tr1=no
109582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109586 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
109587 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
109588 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109590 cat >>confdefs.h <<\_ACEOF
109591 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109592 _ACEOF
109596 # Check for the existence of <math.h> functions.
109597 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109598 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109599 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
109600 echo $ECHO_N "(cached) $ECHO_C" >&6
109603 cat >conftest.$ac_ext <<_ACEOF
109604 /* confdefs.h. */
109605 _ACEOF
109606 cat confdefs.h >>conftest.$ac_ext
109607 cat >>conftest.$ac_ext <<_ACEOF
109608 /* end confdefs.h. */
109609 #include <math.h>
109611 main ()
109613 typedef double_t my_double_t;
109614 typedef float_t my_float_t;
109615 acosh(0.0);
109616 acoshf(0.0f);
109617 acoshl(0.0l);
109618 asinh(0.0);
109619 asinhf(0.0f);
109620 asinhl(0.0l);
109621 atanh(0.0);
109622 atanhf(0.0f);
109623 atanhl(0.0l);
109624 cbrt(0.0);
109625 cbrtf(0.0f);
109626 cbrtl(0.0l);
109627 copysign(0.0, 0.0);
109628 copysignf(0.0f, 0.0f);
109629 copysignl(0.0l, 0.0l);
109630 erf(0.0);
109631 erff(0.0f);
109632 erfl(0.0l);
109633 erfc(0.0);
109634 erfcf(0.0f);
109635 erfcl(0.0l);
109636 exp2(0.0);
109637 exp2f(0.0f);
109638 exp2l(0.0l);
109639 expm1(0.0);
109640 expm1f(0.0f);
109641 expm1l(0.0l);
109642 fdim(0.0, 0.0);
109643 fdimf(0.0f, 0.0f);
109644 fdiml(0.0l, 0.0l);
109645 fma(0.0, 0.0, 0.0);
109646 fmaf(0.0f, 0.0f, 0.0f);
109647 fmal(0.0l, 0.0l, 0.0l);
109648 fmax(0.0, 0.0);
109649 fmaxf(0.0f, 0.0f);
109650 fmaxl(0.0l, 0.0l);
109651 fmin(0.0, 0.0);
109652 fminf(0.0f, 0.0f);
109653 fminl(0.0l, 0.0l);
109654 hypot(0.0, 0.0);
109655 hypotf(0.0f, 0.0f);
109656 hypotl(0.0l, 0.0l);
109657 ilogb(0.0);
109658 ilogbf(0.0f);
109659 ilogbl(0.0l);
109660 lgamma(0.0);
109661 lgammaf(0.0f);
109662 lgammal(0.0l);
109663 llrint(0.0);
109664 llrintf(0.0f);
109665 llrintl(0.0l);
109666 llround(0.0);
109667 llroundf(0.0f);
109668 llroundl(0.0l);
109669 log1p(0.0);
109670 log1pf(0.0f);
109671 log1pl(0.0l);
109672 log2(0.0);
109673 log2f(0.0f);
109674 log2l(0.0l);
109675 logb(0.0);
109676 logbf(0.0f);
109677 logbl(0.0l);
109678 lrint(0.0);
109679 lrintf(0.0f);
109680 lrintl(0.0l);
109681 lround(0.0);
109682 lroundf(0.0f);
109683 lroundl(0.0l);
109684 nan(0);
109685 nanf(0);
109686 nanl(0);
109687 nearbyint(0.0);
109688 nearbyintf(0.0f);
109689 nearbyintl(0.0l);
109690 nextafter(0.0, 0.0);
109691 nextafterf(0.0f, 0.0f);
109692 nextafterl(0.0l, 0.0l);
109693 nexttoward(0.0, 0.0);
109694 nexttowardf(0.0f, 0.0f);
109695 nexttowardl(0.0l, 0.0l);
109696 remainder(0.0, 0.0);
109697 remainderf(0.0f, 0.0f);
109698 remainderl(0.0l, 0.0l);
109699 remquo(0.0, 0.0, 0);
109700 remquo(0.0f, 0.0f, 0);
109701 remquo(0.0l, 0.0l, 0);
109702 rint(0.0);
109703 rintf(0.0f);
109704 rintl(0.0l);
109705 round(0.0);
109706 roundf(0.0f);
109707 roundl(0.0l);
109708 scalbln(0.0, 0l);
109709 scalblnf(0.0f, 0l);
109710 scalblnl(0.0l, 0l);
109711 scalbn(0.0, 0);
109712 scalbnf(0.0f, 0);
109713 scalbnl(0.0l, 0);
109714 tgamma(0.0);
109715 tgammaf(0.0f);
109716 tgammal(0.0l);
109717 trunc(0.0);
109718 truncf(0.0f);
109719 truncl(0.0l);
109722 return 0;
109724 _ACEOF
109725 rm -f conftest.$ac_objext
109726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109727 (eval $ac_compile) 2>conftest.er1
109728 ac_status=$?
109729 grep -v '^ *+' conftest.er1 >conftest.err
109730 rm -f conftest.er1
109731 cat conftest.err >&5
109732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109733 (exit $ac_status); } &&
109734 { ac_try='test -z "$ac_cxx_werror_flag"
109735 || test ! -s conftest.err'
109736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109737 (eval $ac_try) 2>&5
109738 ac_status=$?
109739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109740 (exit $ac_status); }; } &&
109741 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
109747 glibcxx_cv_c99_math_tr1=yes
109749 echo "$as_me: failed program was:" >&5
109750 sed 's/^/| /' conftest.$ac_ext >&5
109752 glibcxx_cv_c99_math_tr1=no
109754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109758 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
109759 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
109760 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
109762 cat >>confdefs.h <<\_ACEOF
109763 #define _GLIBCXX_USE_C99_MATH_TR1 1
109764 _ACEOF
109768 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109769 # sense if the previous check fails, per C99, 7.8/1).
109770 ac_c99_inttypes_tr1=no;
109771 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109772 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109773 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109774 cat >conftest.$ac_ext <<_ACEOF
109775 /* confdefs.h. */
109776 _ACEOF
109777 cat confdefs.h >>conftest.$ac_ext
109778 cat >>conftest.$ac_ext <<_ACEOF
109779 /* end confdefs.h. */
109780 #include <inttypes.h>
109782 main ()
109784 intmax_t i, numer, denom, base;
109785 const char* s;
109786 char** endptr;
109787 intmax_t ret = imaxabs(i);
109788 imaxdiv_t dret = imaxdiv(numer, denom);
109789 ret = strtoimax(s, endptr, base);
109790 uintmax_t uret = strtoumax(s, endptr, base);
109793 return 0;
109795 _ACEOF
109796 rm -f conftest.$ac_objext
109797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109798 (eval $ac_compile) 2>conftest.er1
109799 ac_status=$?
109800 grep -v '^ *+' conftest.er1 >conftest.err
109801 rm -f conftest.er1
109802 cat conftest.err >&5
109803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109804 (exit $ac_status); } &&
109805 { ac_try='test -z "$ac_cxx_werror_flag"
109806 || test ! -s conftest.err'
109807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109808 (eval $ac_try) 2>&5
109809 ac_status=$?
109810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109811 (exit $ac_status); }; } &&
109812 { ac_try='test -s conftest.$ac_objext'
109813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109814 (eval $ac_try) 2>&5
109815 ac_status=$?
109816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109817 (exit $ac_status); }; }; then
109818 ac_c99_inttypes_tr1=yes
109820 echo "$as_me: failed program was:" >&5
109821 sed 's/^/| /' conftest.$ac_ext >&5
109823 ac_c99_inttypes_tr1=no
109825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109827 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109828 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109829 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109831 cat >>confdefs.h <<\_ACEOF
109832 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109833 _ACEOF
109837 # Check for the existence of the <stdbool.h> header.
109839 for ac_header in stdbool.h
109841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109843 echo "$as_me:$LINENO: checking for $ac_header" >&5
109844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109846 echo $ECHO_N "(cached) $ECHO_C" >&6
109848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109851 # Is the header compilable?
109852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109854 cat >conftest.$ac_ext <<_ACEOF
109855 /* confdefs.h. */
109856 _ACEOF
109857 cat confdefs.h >>conftest.$ac_ext
109858 cat >>conftest.$ac_ext <<_ACEOF
109859 /* end confdefs.h. */
109860 $ac_includes_default
109861 #include <$ac_header>
109862 _ACEOF
109863 rm -f conftest.$ac_objext
109864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109865 (eval $ac_compile) 2>conftest.er1
109866 ac_status=$?
109867 grep -v '^ *+' conftest.er1 >conftest.err
109868 rm -f conftest.er1
109869 cat conftest.err >&5
109870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109871 (exit $ac_status); } &&
109872 { ac_try='test -z "$ac_cxx_werror_flag"
109873 || test ! -s conftest.err'
109874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109875 (eval $ac_try) 2>&5
109876 ac_status=$?
109877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109878 (exit $ac_status); }; } &&
109879 { ac_try='test -s conftest.$ac_objext'
109880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109881 (eval $ac_try) 2>&5
109882 ac_status=$?
109883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109884 (exit $ac_status); }; }; then
109885 ac_header_compiler=yes
109887 echo "$as_me: failed program was:" >&5
109888 sed 's/^/| /' conftest.$ac_ext >&5
109890 ac_header_compiler=no
109892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109894 echo "${ECHO_T}$ac_header_compiler" >&6
109896 # Is the header present?
109897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109899 cat >conftest.$ac_ext <<_ACEOF
109900 /* confdefs.h. */
109901 _ACEOF
109902 cat confdefs.h >>conftest.$ac_ext
109903 cat >>conftest.$ac_ext <<_ACEOF
109904 /* end confdefs.h. */
109905 #include <$ac_header>
109906 _ACEOF
109907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109909 ac_status=$?
109910 grep -v '^ *+' conftest.er1 >conftest.err
109911 rm -f conftest.er1
109912 cat conftest.err >&5
109913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109914 (exit $ac_status); } >/dev/null; then
109915 if test -s conftest.err; then
109916 ac_cpp_err=$ac_cxx_preproc_warn_flag
109917 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109919 ac_cpp_err=
109922 ac_cpp_err=yes
109924 if test -z "$ac_cpp_err"; then
109925 ac_header_preproc=yes
109927 echo "$as_me: failed program was:" >&5
109928 sed 's/^/| /' conftest.$ac_ext >&5
109930 ac_header_preproc=no
109932 rm -f conftest.err conftest.$ac_ext
109933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109934 echo "${ECHO_T}$ac_header_preproc" >&6
109936 # So? What about this header?
109937 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109938 yes:no: )
109939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109943 ac_header_preproc=yes
109945 no:yes:* )
109946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109959 cat <<\_ASBOX
109960 ## ----------------------------------------- ##
109961 ## Report this to the package-unused lists. ##
109962 ## ----------------------------------------- ##
109963 _ASBOX
109965 sed "s/^/$as_me: WARNING: /" >&2
109968 echo "$as_me:$LINENO: checking for $ac_header" >&5
109969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109971 echo $ECHO_N "(cached) $ECHO_C" >&6
109973 eval "$as_ac_Header=\$ac_header_preproc"
109975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109980 cat >>confdefs.h <<_ACEOF
109981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109982 _ACEOF
109989 CXXFLAGS="$ac_save_CXXFLAGS"
109990 ac_ext=c
109991 ac_cpp='$CPP $CPPFLAGS'
109992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109998 cat >>confdefs.h <<\_ACEOF
109999 #define _GLIBCXX_USE_RANDOM_TR1 1
110000 _ACEOF
110004 if test "${ac_cv_header_locale_h+set}" = set; then
110005 echo "$as_me:$LINENO: checking for locale.h" >&5
110006 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110007 if test "${ac_cv_header_locale_h+set}" = set; then
110008 echo $ECHO_N "(cached) $ECHO_C" >&6
110010 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110011 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110013 # Is the header compilable?
110014 echo "$as_me:$LINENO: checking locale.h usability" >&5
110015 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
110016 cat >conftest.$ac_ext <<_ACEOF
110017 /* confdefs.h. */
110018 _ACEOF
110019 cat confdefs.h >>conftest.$ac_ext
110020 cat >>conftest.$ac_ext <<_ACEOF
110021 /* end confdefs.h. */
110022 $ac_includes_default
110023 #include <locale.h>
110024 _ACEOF
110025 rm -f conftest.$ac_objext
110026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110027 (eval $ac_compile) 2>conftest.er1
110028 ac_status=$?
110029 grep -v '^ *+' conftest.er1 >conftest.err
110030 rm -f conftest.er1
110031 cat conftest.err >&5
110032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110033 (exit $ac_status); } &&
110034 { ac_try='test -z "$ac_c_werror_flag"
110035 || test ! -s conftest.err'
110036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110037 (eval $ac_try) 2>&5
110038 ac_status=$?
110039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110040 (exit $ac_status); }; } &&
110041 { ac_try='test -s conftest.$ac_objext'
110042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110043 (eval $ac_try) 2>&5
110044 ac_status=$?
110045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110046 (exit $ac_status); }; }; then
110047 ac_header_compiler=yes
110049 echo "$as_me: failed program was:" >&5
110050 sed 's/^/| /' conftest.$ac_ext >&5
110052 ac_header_compiler=no
110054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110056 echo "${ECHO_T}$ac_header_compiler" >&6
110058 # Is the header present?
110059 echo "$as_me:$LINENO: checking locale.h presence" >&5
110060 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110061 cat >conftest.$ac_ext <<_ACEOF
110062 /* confdefs.h. */
110063 _ACEOF
110064 cat confdefs.h >>conftest.$ac_ext
110065 cat >>conftest.$ac_ext <<_ACEOF
110066 /* end confdefs.h. */
110067 #include <locale.h>
110068 _ACEOF
110069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110071 ac_status=$?
110072 grep -v '^ *+' conftest.er1 >conftest.err
110073 rm -f conftest.er1
110074 cat conftest.err >&5
110075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110076 (exit $ac_status); } >/dev/null; then
110077 if test -s conftest.err; then
110078 ac_cpp_err=$ac_c_preproc_warn_flag
110079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110081 ac_cpp_err=
110084 ac_cpp_err=yes
110086 if test -z "$ac_cpp_err"; then
110087 ac_header_preproc=yes
110089 echo "$as_me: failed program was:" >&5
110090 sed 's/^/| /' conftest.$ac_ext >&5
110092 ac_header_preproc=no
110094 rm -f conftest.err conftest.$ac_ext
110095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110096 echo "${ECHO_T}$ac_header_preproc" >&6
110098 # So? What about this header?
110099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110100 yes:no: )
110101 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
110102 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
110103 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
110104 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
110105 ac_header_preproc=yes
110107 no:yes:* )
110108 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
110109 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
110110 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
110111 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
110112 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
110113 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
110114 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
110115 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
110116 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
110117 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
110118 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
110119 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
110121 cat <<\_ASBOX
110122 ## ----------------------------------------- ##
110123 ## Report this to the package-unused lists. ##
110124 ## ----------------------------------------- ##
110125 _ASBOX
110127 sed "s/^/$as_me: WARNING: /" >&2
110130 echo "$as_me:$LINENO: checking for locale.h" >&5
110131 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110132 if test "${ac_cv_header_locale_h+set}" = set; then
110133 echo $ECHO_N "(cached) $ECHO_C" >&6
110135 ac_cv_header_locale_h=$ac_header_preproc
110137 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110138 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110141 if test $ac_cv_header_locale_h = yes; then
110143 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
110144 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
110145 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
110146 echo $ECHO_N "(cached) $ECHO_C" >&6
110148 if test x$gcc_no_link = xyes; then
110149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110151 { (exit 1); exit 1; }; }
110153 cat >conftest.$ac_ext <<_ACEOF
110154 /* confdefs.h. */
110155 _ACEOF
110156 cat confdefs.h >>conftest.$ac_ext
110157 cat >>conftest.$ac_ext <<_ACEOF
110158 /* end confdefs.h. */
110159 #include <locale.h>
110161 main ()
110163 return LC_MESSAGES
110165 return 0;
110167 _ACEOF
110168 rm -f conftest.$ac_objext conftest$ac_exeext
110169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110170 (eval $ac_link) 2>conftest.er1
110171 ac_status=$?
110172 grep -v '^ *+' conftest.er1 >conftest.err
110173 rm -f conftest.er1
110174 cat conftest.err >&5
110175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110176 (exit $ac_status); } &&
110177 { ac_try='test -z "$ac_c_werror_flag"
110178 || test ! -s conftest.err'
110179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110180 (eval $ac_try) 2>&5
110181 ac_status=$?
110182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110183 (exit $ac_status); }; } &&
110184 { ac_try='test -s conftest$ac_exeext'
110185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110186 (eval $ac_try) 2>&5
110187 ac_status=$?
110188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110189 (exit $ac_status); }; }; then
110190 ac_cv_val_LC_MESSAGES=yes
110192 echo "$as_me: failed program was:" >&5
110193 sed 's/^/| /' conftest.$ac_ext >&5
110195 ac_cv_val_LC_MESSAGES=no
110197 rm -f conftest.err conftest.$ac_objext \
110198 conftest$ac_exeext conftest.$ac_ext
110200 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
110201 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
110202 if test $ac_cv_val_LC_MESSAGES = yes; then
110204 cat >>confdefs.h <<\_ACEOF
110205 #define HAVE_LC_MESSAGES 1
110206 _ACEOF
110215 # Check for sigsetjmp
110216 cat >conftest.$ac_ext <<_ACEOF
110217 /* confdefs.h. */
110218 _ACEOF
110219 cat confdefs.h >>conftest.$ac_ext
110220 cat >>conftest.$ac_ext <<_ACEOF
110221 /* end confdefs.h. */
110222 #include <setjmp.h>
110224 main ()
110226 sigjmp_buf env;
110227 while (! sigsetjmp (env, 1))
110228 siglongjmp (env, 1);
110231 return 0;
110233 _ACEOF
110234 rm -f conftest.$ac_objext
110235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110236 (eval $ac_compile) 2>conftest.er1
110237 ac_status=$?
110238 grep -v '^ *+' conftest.er1 >conftest.err
110239 rm -f conftest.er1
110240 cat conftest.err >&5
110241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110242 (exit $ac_status); } &&
110243 { ac_try='test -z "$ac_c_werror_flag"
110244 || test ! -s conftest.err'
110245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110246 (eval $ac_try) 2>&5
110247 ac_status=$?
110248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110249 (exit $ac_status); }; } &&
110250 { ac_try='test -s conftest.$ac_objext'
110251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110252 (eval $ac_try) 2>&5
110253 ac_status=$?
110254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110255 (exit $ac_status); }; }; then
110257 cat >>confdefs.h <<\_ACEOF
110258 #define HAVE_SIGSETJMP 1
110259 _ACEOF
110262 echo "$as_me: failed program was:" >&5
110263 sed 's/^/| /' conftest.$ac_ext >&5
110266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110268 cat >>confdefs.h <<\_ACEOF
110269 #define HAVE_MMAP 1
110270 _ACEOF
110273 # For iconv support.
110279 am_save_CPPFLAGS="$CPPFLAGS"
110281 for element in $INCICONV; do
110282 haveit=
110283 for x in $CPPFLAGS; do
110285 acl_save_prefix="$prefix"
110286 prefix="$acl_final_prefix"
110287 acl_save_exec_prefix="$exec_prefix"
110288 exec_prefix="$acl_final_exec_prefix"
110289 eval x=\"$x\"
110290 exec_prefix="$acl_save_exec_prefix"
110291 prefix="$acl_save_prefix"
110293 if test "X$x" = "X$element"; then
110294 haveit=yes
110295 break
110298 if test -z "$haveit"; then
110299 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
110304 echo "$as_me:$LINENO: checking for iconv" >&5
110305 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
110306 if test "${am_cv_func_iconv+set}" = set; then
110307 echo $ECHO_N "(cached) $ECHO_C" >&6
110310 am_cv_func_iconv="no, consider installing GNU libiconv"
110311 am_cv_lib_iconv=no
110312 if test x$gcc_no_link = xyes; then
110313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110315 { (exit 1); exit 1; }; }
110317 cat >conftest.$ac_ext <<_ACEOF
110318 /* confdefs.h. */
110319 _ACEOF
110320 cat confdefs.h >>conftest.$ac_ext
110321 cat >>conftest.$ac_ext <<_ACEOF
110322 /* end confdefs.h. */
110323 #include <stdlib.h>
110324 #include <iconv.h>
110326 main ()
110328 iconv_t cd = iconv_open("","");
110329 iconv(cd,NULL,NULL,NULL,NULL);
110330 iconv_close(cd);
110332 return 0;
110334 _ACEOF
110335 rm -f conftest.$ac_objext conftest$ac_exeext
110336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110337 (eval $ac_link) 2>conftest.er1
110338 ac_status=$?
110339 grep -v '^ *+' conftest.er1 >conftest.err
110340 rm -f conftest.er1
110341 cat conftest.err >&5
110342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110343 (exit $ac_status); } &&
110344 { ac_try='test -z "$ac_c_werror_flag"
110345 || test ! -s conftest.err'
110346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110347 (eval $ac_try) 2>&5
110348 ac_status=$?
110349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110350 (exit $ac_status); }; } &&
110351 { ac_try='test -s conftest$ac_exeext'
110352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110353 (eval $ac_try) 2>&5
110354 ac_status=$?
110355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110356 (exit $ac_status); }; }; then
110357 am_cv_func_iconv=yes
110359 echo "$as_me: failed program was:" >&5
110360 sed 's/^/| /' conftest.$ac_ext >&5
110363 rm -f conftest.err conftest.$ac_objext \
110364 conftest$ac_exeext conftest.$ac_ext
110365 if test "$am_cv_func_iconv" != yes; then
110366 am_save_LIBS="$LIBS"
110367 LIBS="$LIBS $LIBICONV"
110368 if test x$gcc_no_link = xyes; then
110369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110371 { (exit 1); exit 1; }; }
110373 cat >conftest.$ac_ext <<_ACEOF
110374 /* confdefs.h. */
110375 _ACEOF
110376 cat confdefs.h >>conftest.$ac_ext
110377 cat >>conftest.$ac_ext <<_ACEOF
110378 /* end confdefs.h. */
110379 #include <stdlib.h>
110380 #include <iconv.h>
110382 main ()
110384 iconv_t cd = iconv_open("","");
110385 iconv(cd,NULL,NULL,NULL,NULL);
110386 iconv_close(cd);
110388 return 0;
110390 _ACEOF
110391 rm -f conftest.$ac_objext conftest$ac_exeext
110392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110393 (eval $ac_link) 2>conftest.er1
110394 ac_status=$?
110395 grep -v '^ *+' conftest.er1 >conftest.err
110396 rm -f conftest.er1
110397 cat conftest.err >&5
110398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110399 (exit $ac_status); } &&
110400 { ac_try='test -z "$ac_c_werror_flag"
110401 || test ! -s conftest.err'
110402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110403 (eval $ac_try) 2>&5
110404 ac_status=$?
110405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110406 (exit $ac_status); }; } &&
110407 { ac_try='test -s conftest$ac_exeext'
110408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110409 (eval $ac_try) 2>&5
110410 ac_status=$?
110411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110412 (exit $ac_status); }; }; then
110413 am_cv_lib_iconv=yes
110414 am_cv_func_iconv=yes
110416 echo "$as_me: failed program was:" >&5
110417 sed 's/^/| /' conftest.$ac_ext >&5
110420 rm -f conftest.err conftest.$ac_objext \
110421 conftest$ac_exeext conftest.$ac_ext
110422 LIBS="$am_save_LIBS"
110426 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
110427 echo "${ECHO_T}$am_cv_func_iconv" >&6
110428 if test "$am_cv_func_iconv" = yes; then
110430 cat >>confdefs.h <<\_ACEOF
110431 #define HAVE_ICONV 1
110432 _ACEOF
110435 if test "$am_cv_lib_iconv" = yes; then
110436 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
110437 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
110438 echo "$as_me:$LINENO: result: $LIBICONV" >&5
110439 echo "${ECHO_T}$LIBICONV" >&6
110441 CPPFLAGS="$am_save_CPPFLAGS"
110442 LIBICONV=
110443 LTLIBICONV=
110448 if test "$am_cv_func_iconv" = yes; then
110449 echo "$as_me:$LINENO: checking for iconv declaration" >&5
110450 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
110451 if test "${am_cv_proto_iconv+set}" = set; then
110452 echo $ECHO_N "(cached) $ECHO_C" >&6
110455 cat >conftest.$ac_ext <<_ACEOF
110456 /* confdefs.h. */
110457 _ACEOF
110458 cat confdefs.h >>conftest.$ac_ext
110459 cat >>conftest.$ac_ext <<_ACEOF
110460 /* end confdefs.h. */
110462 #include <stdlib.h>
110463 #include <iconv.h>
110464 extern
110465 #ifdef __cplusplus
110467 #endif
110468 #if defined(__STDC__) || defined(__cplusplus)
110469 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
110470 #else
110471 size_t iconv();
110472 #endif
110475 main ()
110479 return 0;
110481 _ACEOF
110482 rm -f conftest.$ac_objext
110483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110484 (eval $ac_compile) 2>conftest.er1
110485 ac_status=$?
110486 grep -v '^ *+' conftest.er1 >conftest.err
110487 rm -f conftest.er1
110488 cat conftest.err >&5
110489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110490 (exit $ac_status); } &&
110491 { ac_try='test -z "$ac_c_werror_flag"
110492 || test ! -s conftest.err'
110493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110494 (eval $ac_try) 2>&5
110495 ac_status=$?
110496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110497 (exit $ac_status); }; } &&
110498 { ac_try='test -s conftest.$ac_objext'
110499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110500 (eval $ac_try) 2>&5
110501 ac_status=$?
110502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110503 (exit $ac_status); }; }; then
110504 am_cv_proto_iconv_arg1=""
110506 echo "$as_me: failed program was:" >&5
110507 sed 's/^/| /' conftest.$ac_ext >&5
110509 am_cv_proto_iconv_arg1="const"
110511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110512 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);"
110515 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
110516 echo "$as_me:$LINENO: result: ${ac_t:-
110517 }$am_cv_proto_iconv" >&5
110518 echo "${ECHO_T}${ac_t:-
110519 }$am_cv_proto_iconv" >&6
110521 cat >>confdefs.h <<_ACEOF
110522 #define ICONV_CONST $am_cv_proto_iconv_arg1
110523 _ACEOF
110528 *-mingw32*)
110532 for ac_header in sys/types.h locale.h float.h
110534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110536 echo "$as_me:$LINENO: checking for $ac_header" >&5
110537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110539 echo $ECHO_N "(cached) $ECHO_C" >&6
110541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110544 # Is the header compilable?
110545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110547 cat >conftest.$ac_ext <<_ACEOF
110548 /* confdefs.h. */
110549 _ACEOF
110550 cat confdefs.h >>conftest.$ac_ext
110551 cat >>conftest.$ac_ext <<_ACEOF
110552 /* end confdefs.h. */
110553 $ac_includes_default
110554 #include <$ac_header>
110555 _ACEOF
110556 rm -f conftest.$ac_objext
110557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110558 (eval $ac_compile) 2>conftest.er1
110559 ac_status=$?
110560 grep -v '^ *+' conftest.er1 >conftest.err
110561 rm -f conftest.er1
110562 cat conftest.err >&5
110563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110564 (exit $ac_status); } &&
110565 { ac_try='test -z "$ac_c_werror_flag"
110566 || test ! -s conftest.err'
110567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110568 (eval $ac_try) 2>&5
110569 ac_status=$?
110570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110571 (exit $ac_status); }; } &&
110572 { ac_try='test -s conftest.$ac_objext'
110573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110574 (eval $ac_try) 2>&5
110575 ac_status=$?
110576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110577 (exit $ac_status); }; }; then
110578 ac_header_compiler=yes
110580 echo "$as_me: failed program was:" >&5
110581 sed 's/^/| /' conftest.$ac_ext >&5
110583 ac_header_compiler=no
110585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110587 echo "${ECHO_T}$ac_header_compiler" >&6
110589 # Is the header present?
110590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110592 cat >conftest.$ac_ext <<_ACEOF
110593 /* confdefs.h. */
110594 _ACEOF
110595 cat confdefs.h >>conftest.$ac_ext
110596 cat >>conftest.$ac_ext <<_ACEOF
110597 /* end confdefs.h. */
110598 #include <$ac_header>
110599 _ACEOF
110600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110602 ac_status=$?
110603 grep -v '^ *+' conftest.er1 >conftest.err
110604 rm -f conftest.er1
110605 cat conftest.err >&5
110606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110607 (exit $ac_status); } >/dev/null; then
110608 if test -s conftest.err; then
110609 ac_cpp_err=$ac_c_preproc_warn_flag
110610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110612 ac_cpp_err=
110615 ac_cpp_err=yes
110617 if test -z "$ac_cpp_err"; then
110618 ac_header_preproc=yes
110620 echo "$as_me: failed program was:" >&5
110621 sed 's/^/| /' conftest.$ac_ext >&5
110623 ac_header_preproc=no
110625 rm -f conftest.err conftest.$ac_ext
110626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110627 echo "${ECHO_T}$ac_header_preproc" >&6
110629 # So? What about this header?
110630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110631 yes:no: )
110632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110636 ac_header_preproc=yes
110638 no:yes:* )
110639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110652 cat <<\_ASBOX
110653 ## ----------------------------------------- ##
110654 ## Report this to the package-unused lists. ##
110655 ## ----------------------------------------- ##
110656 _ASBOX
110658 sed "s/^/$as_me: WARNING: /" >&2
110661 echo "$as_me:$LINENO: checking for $ac_header" >&5
110662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110664 echo $ECHO_N "(cached) $ECHO_C" >&6
110666 eval "$as_ac_Header=\$ac_header_preproc"
110668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110673 cat >>confdefs.h <<_ACEOF
110674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110675 _ACEOF
110681 cat >>confdefs.h <<\_ACEOF
110682 #define HAVE_STRTOF 1
110683 _ACEOF
110685 cat >>confdefs.h <<\_ACEOF
110686 #define HAVE_STRTOLD 1
110687 _ACEOF
110690 # If we're not using GNU ld, then there's no point in even trying these
110691 # tests. Check for that first. We should have already tested for gld
110692 # by now (in libtool), but require it now just to be safe...
110693 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110694 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110698 # The name set by libtool depends on the version of libtool. Shame on us
110699 # for depending on an impl detail, but c'est la vie. Older versions used
110700 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110701 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110702 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110703 # set (hence we're using an older libtool), then set it.
110704 if test x${with_gnu_ld+set} != xset; then
110705 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110706 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110707 with_gnu_ld=no
110709 with_gnu_ld=$ac_cv_prog_gnu_ld
110713 # Start by getting the version number. I think the libtool test already
110714 # does some of this, but throws away the result.
110715 glibcxx_ld_is_gold=no
110716 if test x"$with_gnu_ld" = x"yes"; then
110717 echo "$as_me:$LINENO: checking for ld version" >&5
110718 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110720 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110721 glibcxx_ld_is_gold=yes
110723 ldver=`$LD --version 2>/dev/null | head -1 | \
110724 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110726 glibcxx_gnu_ld_version=`echo $ldver | \
110727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110728 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110729 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110732 # Set --gc-sections.
110733 glibcxx_have_gc_sections=no
110734 if test "$glibcxx_ld_is_gold" = "yes"; then
110735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110736 glibcxx_have_gc_sections=yes
110739 glibcxx_gcsections_min_ld=21602
110740 if test x"$with_gnu_ld" = x"yes" &&
110741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110742 glibcxx_have_gc_sections=yes
110745 if test "$glibcxx_have_gc_sections" = "yes"; then
110746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110747 # NB: This flag only works reliably after 2.16.1. Configure tests
110748 # for this are difficult, so hard wire a value that should work.
110750 ac_test_CFLAGS="${CFLAGS+set}"
110751 ac_save_CFLAGS="$CFLAGS"
110752 CFLAGS='-Wl,--gc-sections'
110754 # Check for -Wl,--gc-sections
110755 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110756 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110757 if test x$gcc_no_link = xyes; then
110758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110760 { (exit 1); exit 1; }; }
110762 cat >conftest.$ac_ext <<_ACEOF
110763 /* confdefs.h. */
110764 _ACEOF
110765 cat confdefs.h >>conftest.$ac_ext
110766 cat >>conftest.$ac_ext <<_ACEOF
110767 /* end confdefs.h. */
110768 int one(void) { return 1; }
110769 int two(void) { return 2; }
110772 main ()
110774 two();
110776 return 0;
110778 _ACEOF
110779 rm -f conftest.$ac_objext conftest$ac_exeext
110780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110781 (eval $ac_link) 2>conftest.er1
110782 ac_status=$?
110783 grep -v '^ *+' conftest.er1 >conftest.err
110784 rm -f conftest.er1
110785 cat conftest.err >&5
110786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110787 (exit $ac_status); } &&
110788 { ac_try='test -z "$ac_c_werror_flag"
110789 || test ! -s conftest.err'
110790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110791 (eval $ac_try) 2>&5
110792 ac_status=$?
110793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110794 (exit $ac_status); }; } &&
110795 { ac_try='test -s conftest$ac_exeext'
110796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110797 (eval $ac_try) 2>&5
110798 ac_status=$?
110799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110800 (exit $ac_status); }; }; then
110801 ac_gcsections=yes
110803 echo "$as_me: failed program was:" >&5
110804 sed 's/^/| /' conftest.$ac_ext >&5
110806 ac_gcsections=no
110808 rm -f conftest.err conftest.$ac_objext \
110809 conftest$ac_exeext conftest.$ac_ext
110810 if test "$ac_gcsections" = "yes"; then
110811 rm -f conftest.c
110812 touch conftest.c
110813 if $CC -c conftest.c; then
110814 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110815 grep "Warning: gc-sections option ignored" > /dev/null; then
110816 ac_gcsections=no
110819 rm -f conftest.c conftest.o conftest
110821 if test "$ac_gcsections" = "yes"; then
110822 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110824 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110825 echo "${ECHO_T}$ac_gcsections" >&6
110827 if test "$ac_test_CFLAGS" = set; then
110828 CFLAGS="$ac_save_CFLAGS"
110830 # this is the suspicious part
110831 CFLAGS=''
110835 # Set -z,relro.
110836 # Note this is only for shared objects.
110837 ac_ld_relro=no
110838 if test x"$with_gnu_ld" = x"yes"; then
110839 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110840 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110841 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110842 if test -n "$cxx_z_relo"; then
110843 OPT_LDFLAGS="-Wl,-z,relro"
110844 ac_ld_relro=yes
110846 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110847 echo "${ECHO_T}$ac_ld_relro" >&6
110850 # Set linker optimization flags.
110851 if test x"$with_gnu_ld" = x"yes"; then
110852 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110860 echo "$as_me:$LINENO: checking for main in -lm" >&5
110861 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110862 if test "${ac_cv_lib_m_main+set}" = set; then
110863 echo $ECHO_N "(cached) $ECHO_C" >&6
110865 ac_check_lib_save_LIBS=$LIBS
110866 LIBS="-lm $LIBS"
110867 if test x$gcc_no_link = xyes; then
110868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110870 { (exit 1); exit 1; }; }
110872 cat >conftest.$ac_ext <<_ACEOF
110873 /* confdefs.h. */
110874 _ACEOF
110875 cat confdefs.h >>conftest.$ac_ext
110876 cat >>conftest.$ac_ext <<_ACEOF
110877 /* end confdefs.h. */
110881 main ()
110883 main ();
110885 return 0;
110887 _ACEOF
110888 rm -f conftest.$ac_objext conftest$ac_exeext
110889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110890 (eval $ac_link) 2>conftest.er1
110891 ac_status=$?
110892 grep -v '^ *+' conftest.er1 >conftest.err
110893 rm -f conftest.er1
110894 cat conftest.err >&5
110895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110896 (exit $ac_status); } &&
110897 { ac_try='test -z "$ac_c_werror_flag"
110898 || test ! -s conftest.err'
110899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110900 (eval $ac_try) 2>&5
110901 ac_status=$?
110902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110903 (exit $ac_status); }; } &&
110904 { ac_try='test -s conftest$ac_exeext'
110905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110906 (eval $ac_try) 2>&5
110907 ac_status=$?
110908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110909 (exit $ac_status); }; }; then
110910 ac_cv_lib_m_main=yes
110912 echo "$as_me: failed program was:" >&5
110913 sed 's/^/| /' conftest.$ac_ext >&5
110915 ac_cv_lib_m_main=no
110917 rm -f conftest.err conftest.$ac_objext \
110918 conftest$ac_exeext conftest.$ac_ext
110919 LIBS=$ac_check_lib_save_LIBS
110921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110922 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110923 if test $ac_cv_lib_m_main = yes; then
110924 cat >>confdefs.h <<_ACEOF
110925 #define HAVE_LIBM 1
110926 _ACEOF
110928 LIBS="-lm $LIBS"
110933 for ac_func in copysignf
110935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110936 echo "$as_me:$LINENO: checking for $ac_func" >&5
110937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110938 if eval "test \"\${$as_ac_var+set}\" = set"; then
110939 echo $ECHO_N "(cached) $ECHO_C" >&6
110941 if test x$gcc_no_link = xyes; then
110942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110944 { (exit 1); exit 1; }; }
110946 cat >conftest.$ac_ext <<_ACEOF
110947 /* confdefs.h. */
110948 _ACEOF
110949 cat confdefs.h >>conftest.$ac_ext
110950 cat >>conftest.$ac_ext <<_ACEOF
110951 /* end confdefs.h. */
110952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110954 #define $ac_func innocuous_$ac_func
110956 /* System header to define __stub macros and hopefully few prototypes,
110957 which can conflict with char $ac_func (); below.
110958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110959 <limits.h> exists even on freestanding compilers. */
110961 #ifdef __STDC__
110962 # include <limits.h>
110963 #else
110964 # include <assert.h>
110965 #endif
110967 #undef $ac_func
110969 /* Override any gcc2 internal prototype to avoid an error. */
110970 #ifdef __cplusplus
110971 extern "C"
110973 #endif
110974 /* We use char because int might match the return type of a gcc2
110975 builtin and then its argument prototype would still apply. */
110976 char $ac_func ();
110977 /* The GNU C library defines this for functions which it implements
110978 to always fail with ENOSYS. Some functions are actually named
110979 something starting with __ and the normal name is an alias. */
110980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110981 choke me
110982 #else
110983 char (*f) () = $ac_func;
110984 #endif
110985 #ifdef __cplusplus
110987 #endif
110990 main ()
110992 return f != $ac_func;
110994 return 0;
110996 _ACEOF
110997 rm -f conftest.$ac_objext conftest$ac_exeext
110998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110999 (eval $ac_link) 2>conftest.er1
111000 ac_status=$?
111001 grep -v '^ *+' conftest.er1 >conftest.err
111002 rm -f conftest.er1
111003 cat conftest.err >&5
111004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111005 (exit $ac_status); } &&
111006 { ac_try='test -z "$ac_c_werror_flag"
111007 || test ! -s conftest.err'
111008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111009 (eval $ac_try) 2>&5
111010 ac_status=$?
111011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111012 (exit $ac_status); }; } &&
111013 { ac_try='test -s conftest$ac_exeext'
111014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111015 (eval $ac_try) 2>&5
111016 ac_status=$?
111017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111018 (exit $ac_status); }; }; then
111019 eval "$as_ac_var=yes"
111021 echo "$as_me: failed program was:" >&5
111022 sed 's/^/| /' conftest.$ac_ext >&5
111024 eval "$as_ac_var=no"
111026 rm -f conftest.err conftest.$ac_objext \
111027 conftest$ac_exeext conftest.$ac_ext
111029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111031 if test `eval echo '${'$as_ac_var'}'` = yes; then
111032 cat >>confdefs.h <<_ACEOF
111033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111034 _ACEOF
111037 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111043 for ac_func in __signbit
111045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111046 echo "$as_me:$LINENO: checking for $ac_func" >&5
111047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111048 if eval "test \"\${$as_ac_var+set}\" = set"; then
111049 echo $ECHO_N "(cached) $ECHO_C" >&6
111051 if test x$gcc_no_link = xyes; then
111052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111054 { (exit 1); exit 1; }; }
111056 cat >conftest.$ac_ext <<_ACEOF
111057 /* confdefs.h. */
111058 _ACEOF
111059 cat confdefs.h >>conftest.$ac_ext
111060 cat >>conftest.$ac_ext <<_ACEOF
111061 /* end confdefs.h. */
111062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111064 #define $ac_func innocuous_$ac_func
111066 /* System header to define __stub macros and hopefully few prototypes,
111067 which can conflict with char $ac_func (); below.
111068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111069 <limits.h> exists even on freestanding compilers. */
111071 #ifdef __STDC__
111072 # include <limits.h>
111073 #else
111074 # include <assert.h>
111075 #endif
111077 #undef $ac_func
111079 /* Override any gcc2 internal prototype to avoid an error. */
111080 #ifdef __cplusplus
111081 extern "C"
111083 #endif
111084 /* We use char because int might match the return type of a gcc2
111085 builtin and then its argument prototype would still apply. */
111086 char $ac_func ();
111087 /* The GNU C library defines this for functions which it implements
111088 to always fail with ENOSYS. Some functions are actually named
111089 something starting with __ and the normal name is an alias. */
111090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111091 choke me
111092 #else
111093 char (*f) () = $ac_func;
111094 #endif
111095 #ifdef __cplusplus
111097 #endif
111100 main ()
111102 return f != $ac_func;
111104 return 0;
111106 _ACEOF
111107 rm -f conftest.$ac_objext conftest$ac_exeext
111108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111109 (eval $ac_link) 2>conftest.er1
111110 ac_status=$?
111111 grep -v '^ *+' conftest.er1 >conftest.err
111112 rm -f conftest.er1
111113 cat conftest.err >&5
111114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111115 (exit $ac_status); } &&
111116 { ac_try='test -z "$ac_c_werror_flag"
111117 || test ! -s conftest.err'
111118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111119 (eval $ac_try) 2>&5
111120 ac_status=$?
111121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111122 (exit $ac_status); }; } &&
111123 { ac_try='test -s conftest$ac_exeext'
111124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111125 (eval $ac_try) 2>&5
111126 ac_status=$?
111127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111128 (exit $ac_status); }; }; then
111129 eval "$as_ac_var=yes"
111131 echo "$as_me: failed program was:" >&5
111132 sed 's/^/| /' conftest.$ac_ext >&5
111134 eval "$as_ac_var=no"
111136 rm -f conftest.err conftest.$ac_objext \
111137 conftest$ac_exeext conftest.$ac_ext
111139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111141 if test `eval echo '${'$as_ac_var'}'` = yes; then
111142 cat >>confdefs.h <<_ACEOF
111143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111144 _ACEOF
111147 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111153 for ac_func in __signbitf
111155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111156 echo "$as_me:$LINENO: checking for $ac_func" >&5
111157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111158 if eval "test \"\${$as_ac_var+set}\" = set"; then
111159 echo $ECHO_N "(cached) $ECHO_C" >&6
111161 if test x$gcc_no_link = xyes; then
111162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111164 { (exit 1); exit 1; }; }
111166 cat >conftest.$ac_ext <<_ACEOF
111167 /* confdefs.h. */
111168 _ACEOF
111169 cat confdefs.h >>conftest.$ac_ext
111170 cat >>conftest.$ac_ext <<_ACEOF
111171 /* end confdefs.h. */
111172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111174 #define $ac_func innocuous_$ac_func
111176 /* System header to define __stub macros and hopefully few prototypes,
111177 which can conflict with char $ac_func (); below.
111178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111179 <limits.h> exists even on freestanding compilers. */
111181 #ifdef __STDC__
111182 # include <limits.h>
111183 #else
111184 # include <assert.h>
111185 #endif
111187 #undef $ac_func
111189 /* Override any gcc2 internal prototype to avoid an error. */
111190 #ifdef __cplusplus
111191 extern "C"
111193 #endif
111194 /* We use char because int might match the return type of a gcc2
111195 builtin and then its argument prototype would still apply. */
111196 char $ac_func ();
111197 /* The GNU C library defines this for functions which it implements
111198 to always fail with ENOSYS. Some functions are actually named
111199 something starting with __ and the normal name is an alias. */
111200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111201 choke me
111202 #else
111203 char (*f) () = $ac_func;
111204 #endif
111205 #ifdef __cplusplus
111207 #endif
111210 main ()
111212 return f != $ac_func;
111214 return 0;
111216 _ACEOF
111217 rm -f conftest.$ac_objext conftest$ac_exeext
111218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111219 (eval $ac_link) 2>conftest.er1
111220 ac_status=$?
111221 grep -v '^ *+' conftest.er1 >conftest.err
111222 rm -f conftest.er1
111223 cat conftest.err >&5
111224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111225 (exit $ac_status); } &&
111226 { ac_try='test -z "$ac_c_werror_flag"
111227 || test ! -s conftest.err'
111228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111229 (eval $ac_try) 2>&5
111230 ac_status=$?
111231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111232 (exit $ac_status); }; } &&
111233 { ac_try='test -s conftest$ac_exeext'
111234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111235 (eval $ac_try) 2>&5
111236 ac_status=$?
111237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111238 (exit $ac_status); }; }; then
111239 eval "$as_ac_var=yes"
111241 echo "$as_me: failed program was:" >&5
111242 sed 's/^/| /' conftest.$ac_ext >&5
111244 eval "$as_ac_var=no"
111246 rm -f conftest.err conftest.$ac_objext \
111247 conftest$ac_exeext conftest.$ac_ext
111249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111251 if test `eval echo '${'$as_ac_var'}'` = yes; then
111252 cat >>confdefs.h <<_ACEOF
111253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111254 _ACEOF
111257 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111262 if test x$ac_cv_func_copysignl = x"yes"; then
111264 for ac_func in __signbitl
111266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111267 echo "$as_me:$LINENO: checking for $ac_func" >&5
111268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111269 if eval "test \"\${$as_ac_var+set}\" = set"; then
111270 echo $ECHO_N "(cached) $ECHO_C" >&6
111272 if test x$gcc_no_link = xyes; then
111273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111275 { (exit 1); exit 1; }; }
111277 cat >conftest.$ac_ext <<_ACEOF
111278 /* confdefs.h. */
111279 _ACEOF
111280 cat confdefs.h >>conftest.$ac_ext
111281 cat >>conftest.$ac_ext <<_ACEOF
111282 /* end confdefs.h. */
111283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111285 #define $ac_func innocuous_$ac_func
111287 /* System header to define __stub macros and hopefully few prototypes,
111288 which can conflict with char $ac_func (); below.
111289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111290 <limits.h> exists even on freestanding compilers. */
111292 #ifdef __STDC__
111293 # include <limits.h>
111294 #else
111295 # include <assert.h>
111296 #endif
111298 #undef $ac_func
111300 /* Override any gcc2 internal prototype to avoid an error. */
111301 #ifdef __cplusplus
111302 extern "C"
111304 #endif
111305 /* We use char because int might match the return type of a gcc2
111306 builtin and then its argument prototype would still apply. */
111307 char $ac_func ();
111308 /* The GNU C library defines this for functions which it implements
111309 to always fail with ENOSYS. Some functions are actually named
111310 something starting with __ and the normal name is an alias. */
111311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111312 choke me
111313 #else
111314 char (*f) () = $ac_func;
111315 #endif
111316 #ifdef __cplusplus
111318 #endif
111321 main ()
111323 return f != $ac_func;
111325 return 0;
111327 _ACEOF
111328 rm -f conftest.$ac_objext conftest$ac_exeext
111329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111330 (eval $ac_link) 2>conftest.er1
111331 ac_status=$?
111332 grep -v '^ *+' conftest.er1 >conftest.err
111333 rm -f conftest.er1
111334 cat conftest.err >&5
111335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111336 (exit $ac_status); } &&
111337 { ac_try='test -z "$ac_c_werror_flag"
111338 || test ! -s conftest.err'
111339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111340 (eval $ac_try) 2>&5
111341 ac_status=$?
111342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111343 (exit $ac_status); }; } &&
111344 { ac_try='test -s conftest$ac_exeext'
111345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111346 (eval $ac_try) 2>&5
111347 ac_status=$?
111348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111349 (exit $ac_status); }; }; then
111350 eval "$as_ac_var=yes"
111352 echo "$as_me: failed program was:" >&5
111353 sed 's/^/| /' conftest.$ac_ext >&5
111355 eval "$as_ac_var=no"
111357 rm -f conftest.err conftest.$ac_objext \
111358 conftest$ac_exeext conftest.$ac_ext
111360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111362 if test `eval echo '${'$as_ac_var'}'` = yes; then
111363 cat >>confdefs.h <<_ACEOF
111364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111365 _ACEOF
111368 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111374 # Used in libmath/Makefile.am.
111375 if test -n "$LIBMATHOBJS"; then
111376 need_libmath=yes
111381 *-netbsd*)
111394 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
111395 machine/endian.h machine/param.h sys/machine.h sys/types.h \
111396 fp.h locale.h float.h inttypes.h
111398 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111400 echo "$as_me:$LINENO: checking for $ac_header" >&5
111401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111403 echo $ECHO_N "(cached) $ECHO_C" >&6
111405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111408 # Is the header compilable?
111409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111411 cat >conftest.$ac_ext <<_ACEOF
111412 /* confdefs.h. */
111413 _ACEOF
111414 cat confdefs.h >>conftest.$ac_ext
111415 cat >>conftest.$ac_ext <<_ACEOF
111416 /* end confdefs.h. */
111417 $ac_includes_default
111418 #include <$ac_header>
111419 _ACEOF
111420 rm -f conftest.$ac_objext
111421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111422 (eval $ac_compile) 2>conftest.er1
111423 ac_status=$?
111424 grep -v '^ *+' conftest.er1 >conftest.err
111425 rm -f conftest.er1
111426 cat conftest.err >&5
111427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111428 (exit $ac_status); } &&
111429 { ac_try='test -z "$ac_c_werror_flag"
111430 || test ! -s conftest.err'
111431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111432 (eval $ac_try) 2>&5
111433 ac_status=$?
111434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111435 (exit $ac_status); }; } &&
111436 { ac_try='test -s conftest.$ac_objext'
111437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111438 (eval $ac_try) 2>&5
111439 ac_status=$?
111440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111441 (exit $ac_status); }; }; then
111442 ac_header_compiler=yes
111444 echo "$as_me: failed program was:" >&5
111445 sed 's/^/| /' conftest.$ac_ext >&5
111447 ac_header_compiler=no
111449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111451 echo "${ECHO_T}$ac_header_compiler" >&6
111453 # Is the header present?
111454 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111455 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111456 cat >conftest.$ac_ext <<_ACEOF
111457 /* confdefs.h. */
111458 _ACEOF
111459 cat confdefs.h >>conftest.$ac_ext
111460 cat >>conftest.$ac_ext <<_ACEOF
111461 /* end confdefs.h. */
111462 #include <$ac_header>
111463 _ACEOF
111464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111466 ac_status=$?
111467 grep -v '^ *+' conftest.er1 >conftest.err
111468 rm -f conftest.er1
111469 cat conftest.err >&5
111470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111471 (exit $ac_status); } >/dev/null; then
111472 if test -s conftest.err; then
111473 ac_cpp_err=$ac_c_preproc_warn_flag
111474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111476 ac_cpp_err=
111479 ac_cpp_err=yes
111481 if test -z "$ac_cpp_err"; then
111482 ac_header_preproc=yes
111484 echo "$as_me: failed program was:" >&5
111485 sed 's/^/| /' conftest.$ac_ext >&5
111487 ac_header_preproc=no
111489 rm -f conftest.err conftest.$ac_ext
111490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111491 echo "${ECHO_T}$ac_header_preproc" >&6
111493 # So? What about this header?
111494 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111495 yes:no: )
111496 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111497 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111499 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111500 ac_header_preproc=yes
111502 no:yes:* )
111503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111507 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111508 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111509 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111510 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111513 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111514 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111516 cat <<\_ASBOX
111517 ## ----------------------------------------- ##
111518 ## Report this to the package-unused lists. ##
111519 ## ----------------------------------------- ##
111520 _ASBOX
111522 sed "s/^/$as_me: WARNING: /" >&2
111525 echo "$as_me:$LINENO: checking for $ac_header" >&5
111526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111528 echo $ECHO_N "(cached) $ECHO_C" >&6
111530 eval "$as_ac_Header=\$ac_header_preproc"
111532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111537 cat >>confdefs.h <<_ACEOF
111538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111539 _ACEOF
111545 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111548 # If we're not using GNU ld, then there's no point in even trying these
111549 # tests. Check for that first. We should have already tested for gld
111550 # by now (in libtool), but require it now just to be safe...
111551 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111552 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111556 # The name set by libtool depends on the version of libtool. Shame on us
111557 # for depending on an impl detail, but c'est la vie. Older versions used
111558 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111559 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111560 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111561 # set (hence we're using an older libtool), then set it.
111562 if test x${with_gnu_ld+set} != xset; then
111563 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111564 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111565 with_gnu_ld=no
111567 with_gnu_ld=$ac_cv_prog_gnu_ld
111571 # Start by getting the version number. I think the libtool test already
111572 # does some of this, but throws away the result.
111573 glibcxx_ld_is_gold=no
111574 if test x"$with_gnu_ld" = x"yes"; then
111575 echo "$as_me:$LINENO: checking for ld version" >&5
111576 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111578 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111579 glibcxx_ld_is_gold=yes
111581 ldver=`$LD --version 2>/dev/null | head -1 | \
111582 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111584 glibcxx_gnu_ld_version=`echo $ldver | \
111585 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111586 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111587 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111590 # Set --gc-sections.
111591 glibcxx_have_gc_sections=no
111592 if test "$glibcxx_ld_is_gold" = "yes"; then
111593 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111594 glibcxx_have_gc_sections=yes
111597 glibcxx_gcsections_min_ld=21602
111598 if test x"$with_gnu_ld" = x"yes" &&
111599 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111600 glibcxx_have_gc_sections=yes
111603 if test "$glibcxx_have_gc_sections" = "yes"; then
111604 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111605 # NB: This flag only works reliably after 2.16.1. Configure tests
111606 # for this are difficult, so hard wire a value that should work.
111608 ac_test_CFLAGS="${CFLAGS+set}"
111609 ac_save_CFLAGS="$CFLAGS"
111610 CFLAGS='-Wl,--gc-sections'
111612 # Check for -Wl,--gc-sections
111613 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111614 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111615 if test x$gcc_no_link = xyes; then
111616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111618 { (exit 1); exit 1; }; }
111620 cat >conftest.$ac_ext <<_ACEOF
111621 /* confdefs.h. */
111622 _ACEOF
111623 cat confdefs.h >>conftest.$ac_ext
111624 cat >>conftest.$ac_ext <<_ACEOF
111625 /* end confdefs.h. */
111626 int one(void) { return 1; }
111627 int two(void) { return 2; }
111630 main ()
111632 two();
111634 return 0;
111636 _ACEOF
111637 rm -f conftest.$ac_objext conftest$ac_exeext
111638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111639 (eval $ac_link) 2>conftest.er1
111640 ac_status=$?
111641 grep -v '^ *+' conftest.er1 >conftest.err
111642 rm -f conftest.er1
111643 cat conftest.err >&5
111644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111645 (exit $ac_status); } &&
111646 { ac_try='test -z "$ac_c_werror_flag"
111647 || test ! -s conftest.err'
111648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111649 (eval $ac_try) 2>&5
111650 ac_status=$?
111651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111652 (exit $ac_status); }; } &&
111653 { ac_try='test -s conftest$ac_exeext'
111654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111655 (eval $ac_try) 2>&5
111656 ac_status=$?
111657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111658 (exit $ac_status); }; }; then
111659 ac_gcsections=yes
111661 echo "$as_me: failed program was:" >&5
111662 sed 's/^/| /' conftest.$ac_ext >&5
111664 ac_gcsections=no
111666 rm -f conftest.err conftest.$ac_objext \
111667 conftest$ac_exeext conftest.$ac_ext
111668 if test "$ac_gcsections" = "yes"; then
111669 rm -f conftest.c
111670 touch conftest.c
111671 if $CC -c conftest.c; then
111672 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111673 grep "Warning: gc-sections option ignored" > /dev/null; then
111674 ac_gcsections=no
111677 rm -f conftest.c conftest.o conftest
111679 if test "$ac_gcsections" = "yes"; then
111680 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111682 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111683 echo "${ECHO_T}$ac_gcsections" >&6
111685 if test "$ac_test_CFLAGS" = set; then
111686 CFLAGS="$ac_save_CFLAGS"
111688 # this is the suspicious part
111689 CFLAGS=''
111693 # Set -z,relro.
111694 # Note this is only for shared objects.
111695 ac_ld_relro=no
111696 if test x"$with_gnu_ld" = x"yes"; then
111697 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111698 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111699 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111700 if test -n "$cxx_z_relo"; then
111701 OPT_LDFLAGS="-Wl,-z,relro"
111702 ac_ld_relro=yes
111704 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111705 echo "${ECHO_T}$ac_ld_relro" >&6
111708 # Set linker optimization flags.
111709 if test x"$with_gnu_ld" = x"yes"; then
111710 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111718 echo "$as_me:$LINENO: checking for main in -lm" >&5
111719 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111720 if test "${ac_cv_lib_m_main+set}" = set; then
111721 echo $ECHO_N "(cached) $ECHO_C" >&6
111723 ac_check_lib_save_LIBS=$LIBS
111724 LIBS="-lm $LIBS"
111725 if test x$gcc_no_link = xyes; then
111726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111728 { (exit 1); exit 1; }; }
111730 cat >conftest.$ac_ext <<_ACEOF
111731 /* confdefs.h. */
111732 _ACEOF
111733 cat confdefs.h >>conftest.$ac_ext
111734 cat >>conftest.$ac_ext <<_ACEOF
111735 /* end confdefs.h. */
111739 main ()
111741 main ();
111743 return 0;
111745 _ACEOF
111746 rm -f conftest.$ac_objext conftest$ac_exeext
111747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111748 (eval $ac_link) 2>conftest.er1
111749 ac_status=$?
111750 grep -v '^ *+' conftest.er1 >conftest.err
111751 rm -f conftest.er1
111752 cat conftest.err >&5
111753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111754 (exit $ac_status); } &&
111755 { ac_try='test -z "$ac_c_werror_flag"
111756 || test ! -s conftest.err'
111757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111758 (eval $ac_try) 2>&5
111759 ac_status=$?
111760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111761 (exit $ac_status); }; } &&
111762 { ac_try='test -s conftest$ac_exeext'
111763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111764 (eval $ac_try) 2>&5
111765 ac_status=$?
111766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111767 (exit $ac_status); }; }; then
111768 ac_cv_lib_m_main=yes
111770 echo "$as_me: failed program was:" >&5
111771 sed 's/^/| /' conftest.$ac_ext >&5
111773 ac_cv_lib_m_main=no
111775 rm -f conftest.err conftest.$ac_objext \
111776 conftest$ac_exeext conftest.$ac_ext
111777 LIBS=$ac_check_lib_save_LIBS
111779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111780 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111781 if test $ac_cv_lib_m_main = yes; then
111782 cat >>confdefs.h <<_ACEOF
111783 #define HAVE_LIBM 1
111784 _ACEOF
111786 LIBS="-lm $LIBS"
111791 for ac_func in copysignf
111793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111794 echo "$as_me:$LINENO: checking for $ac_func" >&5
111795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111796 if eval "test \"\${$as_ac_var+set}\" = set"; then
111797 echo $ECHO_N "(cached) $ECHO_C" >&6
111799 if test x$gcc_no_link = xyes; then
111800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111802 { (exit 1); exit 1; }; }
111804 cat >conftest.$ac_ext <<_ACEOF
111805 /* confdefs.h. */
111806 _ACEOF
111807 cat confdefs.h >>conftest.$ac_ext
111808 cat >>conftest.$ac_ext <<_ACEOF
111809 /* end confdefs.h. */
111810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111812 #define $ac_func innocuous_$ac_func
111814 /* System header to define __stub macros and hopefully few prototypes,
111815 which can conflict with char $ac_func (); below.
111816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111817 <limits.h> exists even on freestanding compilers. */
111819 #ifdef __STDC__
111820 # include <limits.h>
111821 #else
111822 # include <assert.h>
111823 #endif
111825 #undef $ac_func
111827 /* Override any gcc2 internal prototype to avoid an error. */
111828 #ifdef __cplusplus
111829 extern "C"
111831 #endif
111832 /* We use char because int might match the return type of a gcc2
111833 builtin and then its argument prototype would still apply. */
111834 char $ac_func ();
111835 /* The GNU C library defines this for functions which it implements
111836 to always fail with ENOSYS. Some functions are actually named
111837 something starting with __ and the normal name is an alias. */
111838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111839 choke me
111840 #else
111841 char (*f) () = $ac_func;
111842 #endif
111843 #ifdef __cplusplus
111845 #endif
111848 main ()
111850 return f != $ac_func;
111852 return 0;
111854 _ACEOF
111855 rm -f conftest.$ac_objext conftest$ac_exeext
111856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111857 (eval $ac_link) 2>conftest.er1
111858 ac_status=$?
111859 grep -v '^ *+' conftest.er1 >conftest.err
111860 rm -f conftest.er1
111861 cat conftest.err >&5
111862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111863 (exit $ac_status); } &&
111864 { ac_try='test -z "$ac_c_werror_flag"
111865 || test ! -s conftest.err'
111866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111867 (eval $ac_try) 2>&5
111868 ac_status=$?
111869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111870 (exit $ac_status); }; } &&
111871 { ac_try='test -s conftest$ac_exeext'
111872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111873 (eval $ac_try) 2>&5
111874 ac_status=$?
111875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111876 (exit $ac_status); }; }; then
111877 eval "$as_ac_var=yes"
111879 echo "$as_me: failed program was:" >&5
111880 sed 's/^/| /' conftest.$ac_ext >&5
111882 eval "$as_ac_var=no"
111884 rm -f conftest.err conftest.$ac_objext \
111885 conftest$ac_exeext conftest.$ac_ext
111887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111889 if test `eval echo '${'$as_ac_var'}'` = yes; then
111890 cat >>confdefs.h <<_ACEOF
111891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111892 _ACEOF
111895 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111901 for ac_func in __signbit
111903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111904 echo "$as_me:$LINENO: checking for $ac_func" >&5
111905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111906 if eval "test \"\${$as_ac_var+set}\" = set"; then
111907 echo $ECHO_N "(cached) $ECHO_C" >&6
111909 if test x$gcc_no_link = xyes; then
111910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111912 { (exit 1); exit 1; }; }
111914 cat >conftest.$ac_ext <<_ACEOF
111915 /* confdefs.h. */
111916 _ACEOF
111917 cat confdefs.h >>conftest.$ac_ext
111918 cat >>conftest.$ac_ext <<_ACEOF
111919 /* end confdefs.h. */
111920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111922 #define $ac_func innocuous_$ac_func
111924 /* System header to define __stub macros and hopefully few prototypes,
111925 which can conflict with char $ac_func (); below.
111926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111927 <limits.h> exists even on freestanding compilers. */
111929 #ifdef __STDC__
111930 # include <limits.h>
111931 #else
111932 # include <assert.h>
111933 #endif
111935 #undef $ac_func
111937 /* Override any gcc2 internal prototype to avoid an error. */
111938 #ifdef __cplusplus
111939 extern "C"
111941 #endif
111942 /* We use char because int might match the return type of a gcc2
111943 builtin and then its argument prototype would still apply. */
111944 char $ac_func ();
111945 /* The GNU C library defines this for functions which it implements
111946 to always fail with ENOSYS. Some functions are actually named
111947 something starting with __ and the normal name is an alias. */
111948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111949 choke me
111950 #else
111951 char (*f) () = $ac_func;
111952 #endif
111953 #ifdef __cplusplus
111955 #endif
111958 main ()
111960 return f != $ac_func;
111962 return 0;
111964 _ACEOF
111965 rm -f conftest.$ac_objext conftest$ac_exeext
111966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111967 (eval $ac_link) 2>conftest.er1
111968 ac_status=$?
111969 grep -v '^ *+' conftest.er1 >conftest.err
111970 rm -f conftest.er1
111971 cat conftest.err >&5
111972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111973 (exit $ac_status); } &&
111974 { ac_try='test -z "$ac_c_werror_flag"
111975 || test ! -s conftest.err'
111976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111977 (eval $ac_try) 2>&5
111978 ac_status=$?
111979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111980 (exit $ac_status); }; } &&
111981 { ac_try='test -s conftest$ac_exeext'
111982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111983 (eval $ac_try) 2>&5
111984 ac_status=$?
111985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111986 (exit $ac_status); }; }; then
111987 eval "$as_ac_var=yes"
111989 echo "$as_me: failed program was:" >&5
111990 sed 's/^/| /' conftest.$ac_ext >&5
111992 eval "$as_ac_var=no"
111994 rm -f conftest.err conftest.$ac_objext \
111995 conftest$ac_exeext conftest.$ac_ext
111997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111999 if test `eval echo '${'$as_ac_var'}'` = yes; then
112000 cat >>confdefs.h <<_ACEOF
112001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112002 _ACEOF
112005 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112011 for ac_func in __signbitf
112013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112014 echo "$as_me:$LINENO: checking for $ac_func" >&5
112015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112016 if eval "test \"\${$as_ac_var+set}\" = set"; then
112017 echo $ECHO_N "(cached) $ECHO_C" >&6
112019 if test x$gcc_no_link = xyes; then
112020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112022 { (exit 1); exit 1; }; }
112024 cat >conftest.$ac_ext <<_ACEOF
112025 /* confdefs.h. */
112026 _ACEOF
112027 cat confdefs.h >>conftest.$ac_ext
112028 cat >>conftest.$ac_ext <<_ACEOF
112029 /* end confdefs.h. */
112030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112032 #define $ac_func innocuous_$ac_func
112034 /* System header to define __stub macros and hopefully few prototypes,
112035 which can conflict with char $ac_func (); below.
112036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112037 <limits.h> exists even on freestanding compilers. */
112039 #ifdef __STDC__
112040 # include <limits.h>
112041 #else
112042 # include <assert.h>
112043 #endif
112045 #undef $ac_func
112047 /* Override any gcc2 internal prototype to avoid an error. */
112048 #ifdef __cplusplus
112049 extern "C"
112051 #endif
112052 /* We use char because int might match the return type of a gcc2
112053 builtin and then its argument prototype would still apply. */
112054 char $ac_func ();
112055 /* The GNU C library defines this for functions which it implements
112056 to always fail with ENOSYS. Some functions are actually named
112057 something starting with __ and the normal name is an alias. */
112058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112059 choke me
112060 #else
112061 char (*f) () = $ac_func;
112062 #endif
112063 #ifdef __cplusplus
112065 #endif
112068 main ()
112070 return f != $ac_func;
112072 return 0;
112074 _ACEOF
112075 rm -f conftest.$ac_objext conftest$ac_exeext
112076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112077 (eval $ac_link) 2>conftest.er1
112078 ac_status=$?
112079 grep -v '^ *+' conftest.er1 >conftest.err
112080 rm -f conftest.er1
112081 cat conftest.err >&5
112082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112083 (exit $ac_status); } &&
112084 { ac_try='test -z "$ac_c_werror_flag"
112085 || test ! -s conftest.err'
112086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112087 (eval $ac_try) 2>&5
112088 ac_status=$?
112089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112090 (exit $ac_status); }; } &&
112091 { ac_try='test -s conftest$ac_exeext'
112092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112093 (eval $ac_try) 2>&5
112094 ac_status=$?
112095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112096 (exit $ac_status); }; }; then
112097 eval "$as_ac_var=yes"
112099 echo "$as_me: failed program was:" >&5
112100 sed 's/^/| /' conftest.$ac_ext >&5
112102 eval "$as_ac_var=no"
112104 rm -f conftest.err conftest.$ac_objext \
112105 conftest$ac_exeext conftest.$ac_ext
112107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112109 if test `eval echo '${'$as_ac_var'}'` = yes; then
112110 cat >>confdefs.h <<_ACEOF
112111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112112 _ACEOF
112115 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112120 if test x$ac_cv_func_copysignl = x"yes"; then
112122 for ac_func in __signbitl
112124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112125 echo "$as_me:$LINENO: checking for $ac_func" >&5
112126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112127 if eval "test \"\${$as_ac_var+set}\" = set"; then
112128 echo $ECHO_N "(cached) $ECHO_C" >&6
112130 if test x$gcc_no_link = xyes; then
112131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112133 { (exit 1); exit 1; }; }
112135 cat >conftest.$ac_ext <<_ACEOF
112136 /* confdefs.h. */
112137 _ACEOF
112138 cat confdefs.h >>conftest.$ac_ext
112139 cat >>conftest.$ac_ext <<_ACEOF
112140 /* end confdefs.h. */
112141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112143 #define $ac_func innocuous_$ac_func
112145 /* System header to define __stub macros and hopefully few prototypes,
112146 which can conflict with char $ac_func (); below.
112147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112148 <limits.h> exists even on freestanding compilers. */
112150 #ifdef __STDC__
112151 # include <limits.h>
112152 #else
112153 # include <assert.h>
112154 #endif
112156 #undef $ac_func
112158 /* Override any gcc2 internal prototype to avoid an error. */
112159 #ifdef __cplusplus
112160 extern "C"
112162 #endif
112163 /* We use char because int might match the return type of a gcc2
112164 builtin and then its argument prototype would still apply. */
112165 char $ac_func ();
112166 /* The GNU C library defines this for functions which it implements
112167 to always fail with ENOSYS. Some functions are actually named
112168 something starting with __ and the normal name is an alias. */
112169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112170 choke me
112171 #else
112172 char (*f) () = $ac_func;
112173 #endif
112174 #ifdef __cplusplus
112176 #endif
112179 main ()
112181 return f != $ac_func;
112183 return 0;
112185 _ACEOF
112186 rm -f conftest.$ac_objext conftest$ac_exeext
112187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112188 (eval $ac_link) 2>conftest.er1
112189 ac_status=$?
112190 grep -v '^ *+' conftest.er1 >conftest.err
112191 rm -f conftest.er1
112192 cat conftest.err >&5
112193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112194 (exit $ac_status); } &&
112195 { ac_try='test -z "$ac_c_werror_flag"
112196 || test ! -s conftest.err'
112197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112198 (eval $ac_try) 2>&5
112199 ac_status=$?
112200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112201 (exit $ac_status); }; } &&
112202 { ac_try='test -s conftest$ac_exeext'
112203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112204 (eval $ac_try) 2>&5
112205 ac_status=$?
112206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112207 (exit $ac_status); }; }; then
112208 eval "$as_ac_var=yes"
112210 echo "$as_me: failed program was:" >&5
112211 sed 's/^/| /' conftest.$ac_ext >&5
112213 eval "$as_ac_var=no"
112215 rm -f conftest.err conftest.$ac_objext \
112216 conftest$ac_exeext conftest.$ac_ext
112218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112220 if test `eval echo '${'$as_ac_var'}'` = yes; then
112221 cat >>confdefs.h <<_ACEOF
112222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112223 _ACEOF
112226 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112232 # Used in libmath/Makefile.am.
112233 if test -n "$LIBMATHOBJS"; then
112234 need_libmath=yes
112238 cat >>confdefs.h <<\_ACEOF
112239 #define HAVE_COPYSIGN 1
112240 _ACEOF
112242 cat >>confdefs.h <<\_ACEOF
112243 #define HAVE_COPYSIGNF 1
112244 _ACEOF
112246 cat >>confdefs.h <<\_ACEOF
112247 #define HAVE_FINITEF 1
112248 _ACEOF
112250 cat >>confdefs.h <<\_ACEOF
112251 #define HAVE_FINITE 1
112252 _ACEOF
112254 cat >>confdefs.h <<\_ACEOF
112255 #define HAVE_FREXPF 1
112256 _ACEOF
112258 cat >>confdefs.h <<\_ACEOF
112259 #define HAVE_HYPOTF 1
112260 _ACEOF
112262 cat >>confdefs.h <<\_ACEOF
112263 #define HAVE_ISINF 1
112264 _ACEOF
112266 cat >>confdefs.h <<\_ACEOF
112267 #define HAVE_ISINFF 1
112268 _ACEOF
112270 cat >>confdefs.h <<\_ACEOF
112271 #define HAVE_ISNAN 1
112272 _ACEOF
112274 cat >>confdefs.h <<\_ACEOF
112275 #define HAVE_ISNANF 1
112276 _ACEOF
112278 if test x"long_double_math_on_this_cpu" = x"yes"; then
112279 cat >>confdefs.h <<\_ACEOF
112280 #define HAVE_FINITEL 1
112281 _ACEOF
112283 cat >>confdefs.h <<\_ACEOF
112284 #define HAVE_ISINFL 1
112285 _ACEOF
112287 cat >>confdefs.h <<\_ACEOF
112288 #define HAVE_ISNANL 1
112289 _ACEOF
112293 *-netware)
112302 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
112303 sys/types.h locale.h float.h inttypes.h
112305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112307 echo "$as_me:$LINENO: checking for $ac_header" >&5
112308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112310 echo $ECHO_N "(cached) $ECHO_C" >&6
112312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112315 # Is the header compilable?
112316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112318 cat >conftest.$ac_ext <<_ACEOF
112319 /* confdefs.h. */
112320 _ACEOF
112321 cat confdefs.h >>conftest.$ac_ext
112322 cat >>conftest.$ac_ext <<_ACEOF
112323 /* end confdefs.h. */
112324 $ac_includes_default
112325 #include <$ac_header>
112326 _ACEOF
112327 rm -f conftest.$ac_objext
112328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112329 (eval $ac_compile) 2>conftest.er1
112330 ac_status=$?
112331 grep -v '^ *+' conftest.er1 >conftest.err
112332 rm -f conftest.er1
112333 cat conftest.err >&5
112334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112335 (exit $ac_status); } &&
112336 { ac_try='test -z "$ac_c_werror_flag"
112337 || test ! -s conftest.err'
112338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112339 (eval $ac_try) 2>&5
112340 ac_status=$?
112341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112342 (exit $ac_status); }; } &&
112343 { ac_try='test -s conftest.$ac_objext'
112344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112345 (eval $ac_try) 2>&5
112346 ac_status=$?
112347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112348 (exit $ac_status); }; }; then
112349 ac_header_compiler=yes
112351 echo "$as_me: failed program was:" >&5
112352 sed 's/^/| /' conftest.$ac_ext >&5
112354 ac_header_compiler=no
112356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112358 echo "${ECHO_T}$ac_header_compiler" >&6
112360 # Is the header present?
112361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112363 cat >conftest.$ac_ext <<_ACEOF
112364 /* confdefs.h. */
112365 _ACEOF
112366 cat confdefs.h >>conftest.$ac_ext
112367 cat >>conftest.$ac_ext <<_ACEOF
112368 /* end confdefs.h. */
112369 #include <$ac_header>
112370 _ACEOF
112371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112373 ac_status=$?
112374 grep -v '^ *+' conftest.er1 >conftest.err
112375 rm -f conftest.er1
112376 cat conftest.err >&5
112377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112378 (exit $ac_status); } >/dev/null; then
112379 if test -s conftest.err; then
112380 ac_cpp_err=$ac_c_preproc_warn_flag
112381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112383 ac_cpp_err=
112386 ac_cpp_err=yes
112388 if test -z "$ac_cpp_err"; then
112389 ac_header_preproc=yes
112391 echo "$as_me: failed program was:" >&5
112392 sed 's/^/| /' conftest.$ac_ext >&5
112394 ac_header_preproc=no
112396 rm -f conftest.err conftest.$ac_ext
112397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112398 echo "${ECHO_T}$ac_header_preproc" >&6
112400 # So? What about this header?
112401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112402 yes:no: )
112403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112407 ac_header_preproc=yes
112409 no:yes:* )
112410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112417 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112423 cat <<\_ASBOX
112424 ## ----------------------------------------- ##
112425 ## Report this to the package-unused lists. ##
112426 ## ----------------------------------------- ##
112427 _ASBOX
112429 sed "s/^/$as_me: WARNING: /" >&2
112432 echo "$as_me:$LINENO: checking for $ac_header" >&5
112433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112435 echo $ECHO_N "(cached) $ECHO_C" >&6
112437 eval "$as_ac_Header=\$ac_header_preproc"
112439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112444 cat >>confdefs.h <<_ACEOF
112445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112446 _ACEOF
112452 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112455 # If we're not using GNU ld, then there's no point in even trying these
112456 # tests. Check for that first. We should have already tested for gld
112457 # by now (in libtool), but require it now just to be safe...
112458 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112459 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112463 # The name set by libtool depends on the version of libtool. Shame on us
112464 # for depending on an impl detail, but c'est la vie. Older versions used
112465 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112466 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112467 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112468 # set (hence we're using an older libtool), then set it.
112469 if test x${with_gnu_ld+set} != xset; then
112470 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112471 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112472 with_gnu_ld=no
112474 with_gnu_ld=$ac_cv_prog_gnu_ld
112478 # Start by getting the version number. I think the libtool test already
112479 # does some of this, but throws away the result.
112480 glibcxx_ld_is_gold=no
112481 if test x"$with_gnu_ld" = x"yes"; then
112482 echo "$as_me:$LINENO: checking for ld version" >&5
112483 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112485 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112486 glibcxx_ld_is_gold=yes
112488 ldver=`$LD --version 2>/dev/null | head -1 | \
112489 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112491 glibcxx_gnu_ld_version=`echo $ldver | \
112492 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112493 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112494 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112497 # Set --gc-sections.
112498 glibcxx_have_gc_sections=no
112499 if test "$glibcxx_ld_is_gold" = "yes"; then
112500 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112501 glibcxx_have_gc_sections=yes
112504 glibcxx_gcsections_min_ld=21602
112505 if test x"$with_gnu_ld" = x"yes" &&
112506 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112507 glibcxx_have_gc_sections=yes
112510 if test "$glibcxx_have_gc_sections" = "yes"; then
112511 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112512 # NB: This flag only works reliably after 2.16.1. Configure tests
112513 # for this are difficult, so hard wire a value that should work.
112515 ac_test_CFLAGS="${CFLAGS+set}"
112516 ac_save_CFLAGS="$CFLAGS"
112517 CFLAGS='-Wl,--gc-sections'
112519 # Check for -Wl,--gc-sections
112520 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112521 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112522 if test x$gcc_no_link = xyes; then
112523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112525 { (exit 1); exit 1; }; }
112527 cat >conftest.$ac_ext <<_ACEOF
112528 /* confdefs.h. */
112529 _ACEOF
112530 cat confdefs.h >>conftest.$ac_ext
112531 cat >>conftest.$ac_ext <<_ACEOF
112532 /* end confdefs.h. */
112533 int one(void) { return 1; }
112534 int two(void) { return 2; }
112537 main ()
112539 two();
112541 return 0;
112543 _ACEOF
112544 rm -f conftest.$ac_objext conftest$ac_exeext
112545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112546 (eval $ac_link) 2>conftest.er1
112547 ac_status=$?
112548 grep -v '^ *+' conftest.er1 >conftest.err
112549 rm -f conftest.er1
112550 cat conftest.err >&5
112551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112552 (exit $ac_status); } &&
112553 { ac_try='test -z "$ac_c_werror_flag"
112554 || test ! -s conftest.err'
112555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112556 (eval $ac_try) 2>&5
112557 ac_status=$?
112558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112559 (exit $ac_status); }; } &&
112560 { ac_try='test -s conftest$ac_exeext'
112561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112562 (eval $ac_try) 2>&5
112563 ac_status=$?
112564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112565 (exit $ac_status); }; }; then
112566 ac_gcsections=yes
112568 echo "$as_me: failed program was:" >&5
112569 sed 's/^/| /' conftest.$ac_ext >&5
112571 ac_gcsections=no
112573 rm -f conftest.err conftest.$ac_objext \
112574 conftest$ac_exeext conftest.$ac_ext
112575 if test "$ac_gcsections" = "yes"; then
112576 rm -f conftest.c
112577 touch conftest.c
112578 if $CC -c conftest.c; then
112579 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112580 grep "Warning: gc-sections option ignored" > /dev/null; then
112581 ac_gcsections=no
112584 rm -f conftest.c conftest.o conftest
112586 if test "$ac_gcsections" = "yes"; then
112587 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112589 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112590 echo "${ECHO_T}$ac_gcsections" >&6
112592 if test "$ac_test_CFLAGS" = set; then
112593 CFLAGS="$ac_save_CFLAGS"
112595 # this is the suspicious part
112596 CFLAGS=''
112600 # Set -z,relro.
112601 # Note this is only for shared objects.
112602 ac_ld_relro=no
112603 if test x"$with_gnu_ld" = x"yes"; then
112604 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112605 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112606 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112607 if test -n "$cxx_z_relo"; then
112608 OPT_LDFLAGS="-Wl,-z,relro"
112609 ac_ld_relro=yes
112611 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112612 echo "${ECHO_T}$ac_ld_relro" >&6
112615 # Set linker optimization flags.
112616 if test x"$with_gnu_ld" = x"yes"; then
112617 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112625 echo "$as_me:$LINENO: checking for main in -lm" >&5
112626 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112627 if test "${ac_cv_lib_m_main+set}" = set; then
112628 echo $ECHO_N "(cached) $ECHO_C" >&6
112630 ac_check_lib_save_LIBS=$LIBS
112631 LIBS="-lm $LIBS"
112632 if test x$gcc_no_link = xyes; then
112633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112635 { (exit 1); exit 1; }; }
112637 cat >conftest.$ac_ext <<_ACEOF
112638 /* confdefs.h. */
112639 _ACEOF
112640 cat confdefs.h >>conftest.$ac_ext
112641 cat >>conftest.$ac_ext <<_ACEOF
112642 /* end confdefs.h. */
112646 main ()
112648 main ();
112650 return 0;
112652 _ACEOF
112653 rm -f conftest.$ac_objext conftest$ac_exeext
112654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112655 (eval $ac_link) 2>conftest.er1
112656 ac_status=$?
112657 grep -v '^ *+' conftest.er1 >conftest.err
112658 rm -f conftest.er1
112659 cat conftest.err >&5
112660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112661 (exit $ac_status); } &&
112662 { ac_try='test -z "$ac_c_werror_flag"
112663 || test ! -s conftest.err'
112664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112665 (eval $ac_try) 2>&5
112666 ac_status=$?
112667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112668 (exit $ac_status); }; } &&
112669 { ac_try='test -s conftest$ac_exeext'
112670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112671 (eval $ac_try) 2>&5
112672 ac_status=$?
112673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112674 (exit $ac_status); }; }; then
112675 ac_cv_lib_m_main=yes
112677 echo "$as_me: failed program was:" >&5
112678 sed 's/^/| /' conftest.$ac_ext >&5
112680 ac_cv_lib_m_main=no
112682 rm -f conftest.err conftest.$ac_objext \
112683 conftest$ac_exeext conftest.$ac_ext
112684 LIBS=$ac_check_lib_save_LIBS
112686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112687 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112688 if test $ac_cv_lib_m_main = yes; then
112689 cat >>confdefs.h <<_ACEOF
112690 #define HAVE_LIBM 1
112691 _ACEOF
112693 LIBS="-lm $LIBS"
112698 for ac_func in copysignf
112700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112701 echo "$as_me:$LINENO: checking for $ac_func" >&5
112702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112703 if eval "test \"\${$as_ac_var+set}\" = set"; then
112704 echo $ECHO_N "(cached) $ECHO_C" >&6
112706 if test x$gcc_no_link = xyes; then
112707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112709 { (exit 1); exit 1; }; }
112711 cat >conftest.$ac_ext <<_ACEOF
112712 /* confdefs.h. */
112713 _ACEOF
112714 cat confdefs.h >>conftest.$ac_ext
112715 cat >>conftest.$ac_ext <<_ACEOF
112716 /* end confdefs.h. */
112717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112719 #define $ac_func innocuous_$ac_func
112721 /* System header to define __stub macros and hopefully few prototypes,
112722 which can conflict with char $ac_func (); below.
112723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112724 <limits.h> exists even on freestanding compilers. */
112726 #ifdef __STDC__
112727 # include <limits.h>
112728 #else
112729 # include <assert.h>
112730 #endif
112732 #undef $ac_func
112734 /* Override any gcc2 internal prototype to avoid an error. */
112735 #ifdef __cplusplus
112736 extern "C"
112738 #endif
112739 /* We use char because int might match the return type of a gcc2
112740 builtin and then its argument prototype would still apply. */
112741 char $ac_func ();
112742 /* The GNU C library defines this for functions which it implements
112743 to always fail with ENOSYS. Some functions are actually named
112744 something starting with __ and the normal name is an alias. */
112745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112746 choke me
112747 #else
112748 char (*f) () = $ac_func;
112749 #endif
112750 #ifdef __cplusplus
112752 #endif
112755 main ()
112757 return f != $ac_func;
112759 return 0;
112761 _ACEOF
112762 rm -f conftest.$ac_objext conftest$ac_exeext
112763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112764 (eval $ac_link) 2>conftest.er1
112765 ac_status=$?
112766 grep -v '^ *+' conftest.er1 >conftest.err
112767 rm -f conftest.er1
112768 cat conftest.err >&5
112769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112770 (exit $ac_status); } &&
112771 { ac_try='test -z "$ac_c_werror_flag"
112772 || test ! -s conftest.err'
112773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112774 (eval $ac_try) 2>&5
112775 ac_status=$?
112776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112777 (exit $ac_status); }; } &&
112778 { ac_try='test -s conftest$ac_exeext'
112779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112780 (eval $ac_try) 2>&5
112781 ac_status=$?
112782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112783 (exit $ac_status); }; }; then
112784 eval "$as_ac_var=yes"
112786 echo "$as_me: failed program was:" >&5
112787 sed 's/^/| /' conftest.$ac_ext >&5
112789 eval "$as_ac_var=no"
112791 rm -f conftest.err conftest.$ac_objext \
112792 conftest$ac_exeext conftest.$ac_ext
112794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112796 if test `eval echo '${'$as_ac_var'}'` = yes; then
112797 cat >>confdefs.h <<_ACEOF
112798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112799 _ACEOF
112802 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112808 for ac_func in __signbit
112810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112811 echo "$as_me:$LINENO: checking for $ac_func" >&5
112812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112813 if eval "test \"\${$as_ac_var+set}\" = set"; then
112814 echo $ECHO_N "(cached) $ECHO_C" >&6
112816 if test x$gcc_no_link = xyes; then
112817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112819 { (exit 1); exit 1; }; }
112821 cat >conftest.$ac_ext <<_ACEOF
112822 /* confdefs.h. */
112823 _ACEOF
112824 cat confdefs.h >>conftest.$ac_ext
112825 cat >>conftest.$ac_ext <<_ACEOF
112826 /* end confdefs.h. */
112827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112829 #define $ac_func innocuous_$ac_func
112831 /* System header to define __stub macros and hopefully few prototypes,
112832 which can conflict with char $ac_func (); below.
112833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112834 <limits.h> exists even on freestanding compilers. */
112836 #ifdef __STDC__
112837 # include <limits.h>
112838 #else
112839 # include <assert.h>
112840 #endif
112842 #undef $ac_func
112844 /* Override any gcc2 internal prototype to avoid an error. */
112845 #ifdef __cplusplus
112846 extern "C"
112848 #endif
112849 /* We use char because int might match the return type of a gcc2
112850 builtin and then its argument prototype would still apply. */
112851 char $ac_func ();
112852 /* The GNU C library defines this for functions which it implements
112853 to always fail with ENOSYS. Some functions are actually named
112854 something starting with __ and the normal name is an alias. */
112855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112856 choke me
112857 #else
112858 char (*f) () = $ac_func;
112859 #endif
112860 #ifdef __cplusplus
112862 #endif
112865 main ()
112867 return f != $ac_func;
112869 return 0;
112871 _ACEOF
112872 rm -f conftest.$ac_objext conftest$ac_exeext
112873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112874 (eval $ac_link) 2>conftest.er1
112875 ac_status=$?
112876 grep -v '^ *+' conftest.er1 >conftest.err
112877 rm -f conftest.er1
112878 cat conftest.err >&5
112879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112880 (exit $ac_status); } &&
112881 { ac_try='test -z "$ac_c_werror_flag"
112882 || test ! -s conftest.err'
112883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112884 (eval $ac_try) 2>&5
112885 ac_status=$?
112886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112887 (exit $ac_status); }; } &&
112888 { ac_try='test -s conftest$ac_exeext'
112889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112890 (eval $ac_try) 2>&5
112891 ac_status=$?
112892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112893 (exit $ac_status); }; }; then
112894 eval "$as_ac_var=yes"
112896 echo "$as_me: failed program was:" >&5
112897 sed 's/^/| /' conftest.$ac_ext >&5
112899 eval "$as_ac_var=no"
112901 rm -f conftest.err conftest.$ac_objext \
112902 conftest$ac_exeext conftest.$ac_ext
112904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112906 if test `eval echo '${'$as_ac_var'}'` = yes; then
112907 cat >>confdefs.h <<_ACEOF
112908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112909 _ACEOF
112912 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112918 for ac_func in __signbitf
112920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112921 echo "$as_me:$LINENO: checking for $ac_func" >&5
112922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112923 if eval "test \"\${$as_ac_var+set}\" = set"; then
112924 echo $ECHO_N "(cached) $ECHO_C" >&6
112926 if test x$gcc_no_link = xyes; then
112927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112929 { (exit 1); exit 1; }; }
112931 cat >conftest.$ac_ext <<_ACEOF
112932 /* confdefs.h. */
112933 _ACEOF
112934 cat confdefs.h >>conftest.$ac_ext
112935 cat >>conftest.$ac_ext <<_ACEOF
112936 /* end confdefs.h. */
112937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112939 #define $ac_func innocuous_$ac_func
112941 /* System header to define __stub macros and hopefully few prototypes,
112942 which can conflict with char $ac_func (); below.
112943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112944 <limits.h> exists even on freestanding compilers. */
112946 #ifdef __STDC__
112947 # include <limits.h>
112948 #else
112949 # include <assert.h>
112950 #endif
112952 #undef $ac_func
112954 /* Override any gcc2 internal prototype to avoid an error. */
112955 #ifdef __cplusplus
112956 extern "C"
112958 #endif
112959 /* We use char because int might match the return type of a gcc2
112960 builtin and then its argument prototype would still apply. */
112961 char $ac_func ();
112962 /* The GNU C library defines this for functions which it implements
112963 to always fail with ENOSYS. Some functions are actually named
112964 something starting with __ and the normal name is an alias. */
112965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112966 choke me
112967 #else
112968 char (*f) () = $ac_func;
112969 #endif
112970 #ifdef __cplusplus
112972 #endif
112975 main ()
112977 return f != $ac_func;
112979 return 0;
112981 _ACEOF
112982 rm -f conftest.$ac_objext conftest$ac_exeext
112983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112984 (eval $ac_link) 2>conftest.er1
112985 ac_status=$?
112986 grep -v '^ *+' conftest.er1 >conftest.err
112987 rm -f conftest.er1
112988 cat conftest.err >&5
112989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112990 (exit $ac_status); } &&
112991 { ac_try='test -z "$ac_c_werror_flag"
112992 || test ! -s conftest.err'
112993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112994 (eval $ac_try) 2>&5
112995 ac_status=$?
112996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112997 (exit $ac_status); }; } &&
112998 { ac_try='test -s conftest$ac_exeext'
112999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113000 (eval $ac_try) 2>&5
113001 ac_status=$?
113002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113003 (exit $ac_status); }; }; then
113004 eval "$as_ac_var=yes"
113006 echo "$as_me: failed program was:" >&5
113007 sed 's/^/| /' conftest.$ac_ext >&5
113009 eval "$as_ac_var=no"
113011 rm -f conftest.err conftest.$ac_objext \
113012 conftest$ac_exeext conftest.$ac_ext
113014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113016 if test `eval echo '${'$as_ac_var'}'` = yes; then
113017 cat >>confdefs.h <<_ACEOF
113018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113019 _ACEOF
113022 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113027 if test x$ac_cv_func_copysignl = x"yes"; then
113029 for ac_func in __signbitl
113031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113032 echo "$as_me:$LINENO: checking for $ac_func" >&5
113033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113034 if eval "test \"\${$as_ac_var+set}\" = set"; then
113035 echo $ECHO_N "(cached) $ECHO_C" >&6
113037 if test x$gcc_no_link = xyes; then
113038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113040 { (exit 1); exit 1; }; }
113042 cat >conftest.$ac_ext <<_ACEOF
113043 /* confdefs.h. */
113044 _ACEOF
113045 cat confdefs.h >>conftest.$ac_ext
113046 cat >>conftest.$ac_ext <<_ACEOF
113047 /* end confdefs.h. */
113048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113050 #define $ac_func innocuous_$ac_func
113052 /* System header to define __stub macros and hopefully few prototypes,
113053 which can conflict with char $ac_func (); below.
113054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113055 <limits.h> exists even on freestanding compilers. */
113057 #ifdef __STDC__
113058 # include <limits.h>
113059 #else
113060 # include <assert.h>
113061 #endif
113063 #undef $ac_func
113065 /* Override any gcc2 internal prototype to avoid an error. */
113066 #ifdef __cplusplus
113067 extern "C"
113069 #endif
113070 /* We use char because int might match the return type of a gcc2
113071 builtin and then its argument prototype would still apply. */
113072 char $ac_func ();
113073 /* The GNU C library defines this for functions which it implements
113074 to always fail with ENOSYS. Some functions are actually named
113075 something starting with __ and the normal name is an alias. */
113076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113077 choke me
113078 #else
113079 char (*f) () = $ac_func;
113080 #endif
113081 #ifdef __cplusplus
113083 #endif
113086 main ()
113088 return f != $ac_func;
113090 return 0;
113092 _ACEOF
113093 rm -f conftest.$ac_objext conftest$ac_exeext
113094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113095 (eval $ac_link) 2>conftest.er1
113096 ac_status=$?
113097 grep -v '^ *+' conftest.er1 >conftest.err
113098 rm -f conftest.er1
113099 cat conftest.err >&5
113100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113101 (exit $ac_status); } &&
113102 { ac_try='test -z "$ac_c_werror_flag"
113103 || test ! -s conftest.err'
113104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113105 (eval $ac_try) 2>&5
113106 ac_status=$?
113107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113108 (exit $ac_status); }; } &&
113109 { ac_try='test -s conftest$ac_exeext'
113110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113111 (eval $ac_try) 2>&5
113112 ac_status=$?
113113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113114 (exit $ac_status); }; }; then
113115 eval "$as_ac_var=yes"
113117 echo "$as_me: failed program was:" >&5
113118 sed 's/^/| /' conftest.$ac_ext >&5
113120 eval "$as_ac_var=no"
113122 rm -f conftest.err conftest.$ac_objext \
113123 conftest$ac_exeext conftest.$ac_ext
113125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113127 if test `eval echo '${'$as_ac_var'}'` = yes; then
113128 cat >>confdefs.h <<_ACEOF
113129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113130 _ACEOF
113133 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113139 # Used in libmath/Makefile.am.
113140 if test -n "$LIBMATHOBJS"; then
113141 need_libmath=yes
113145 cat >>confdefs.h <<\_ACEOF
113146 #define HAVE_HYPOT 1
113147 _ACEOF
113149 cat >>confdefs.h <<\_ACEOF
113150 #define HAVE_ISINF 1
113151 _ACEOF
113153 cat >>confdefs.h <<\_ACEOF
113154 #define HAVE_ISNAN 1
113155 _ACEOF
113158 # For showmanyc_helper().
113161 for ac_header in sys/ioctl.h sys/filio.h
113163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113165 echo "$as_me:$LINENO: checking for $ac_header" >&5
113166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113168 echo $ECHO_N "(cached) $ECHO_C" >&6
113170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113173 # Is the header compilable?
113174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113176 cat >conftest.$ac_ext <<_ACEOF
113177 /* confdefs.h. */
113178 _ACEOF
113179 cat confdefs.h >>conftest.$ac_ext
113180 cat >>conftest.$ac_ext <<_ACEOF
113181 /* end confdefs.h. */
113182 $ac_includes_default
113183 #include <$ac_header>
113184 _ACEOF
113185 rm -f conftest.$ac_objext
113186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113187 (eval $ac_compile) 2>conftest.er1
113188 ac_status=$?
113189 grep -v '^ *+' conftest.er1 >conftest.err
113190 rm -f conftest.er1
113191 cat conftest.err >&5
113192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113193 (exit $ac_status); } &&
113194 { ac_try='test -z "$ac_c_werror_flag"
113195 || test ! -s conftest.err'
113196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113197 (eval $ac_try) 2>&5
113198 ac_status=$?
113199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113200 (exit $ac_status); }; } &&
113201 { ac_try='test -s conftest.$ac_objext'
113202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113203 (eval $ac_try) 2>&5
113204 ac_status=$?
113205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113206 (exit $ac_status); }; }; then
113207 ac_header_compiler=yes
113209 echo "$as_me: failed program was:" >&5
113210 sed 's/^/| /' conftest.$ac_ext >&5
113212 ac_header_compiler=no
113214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113216 echo "${ECHO_T}$ac_header_compiler" >&6
113218 # Is the header present?
113219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113221 cat >conftest.$ac_ext <<_ACEOF
113222 /* confdefs.h. */
113223 _ACEOF
113224 cat confdefs.h >>conftest.$ac_ext
113225 cat >>conftest.$ac_ext <<_ACEOF
113226 /* end confdefs.h. */
113227 #include <$ac_header>
113228 _ACEOF
113229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113231 ac_status=$?
113232 grep -v '^ *+' conftest.er1 >conftest.err
113233 rm -f conftest.er1
113234 cat conftest.err >&5
113235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113236 (exit $ac_status); } >/dev/null; then
113237 if test -s conftest.err; then
113238 ac_cpp_err=$ac_c_preproc_warn_flag
113239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113241 ac_cpp_err=
113244 ac_cpp_err=yes
113246 if test -z "$ac_cpp_err"; then
113247 ac_header_preproc=yes
113249 echo "$as_me: failed program was:" >&5
113250 sed 's/^/| /' conftest.$ac_ext >&5
113252 ac_header_preproc=no
113254 rm -f conftest.err conftest.$ac_ext
113255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113256 echo "${ECHO_T}$ac_header_preproc" >&6
113258 # So? What about this header?
113259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113260 yes:no: )
113261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113265 ac_header_preproc=yes
113267 no:yes:* )
113268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113281 cat <<\_ASBOX
113282 ## ----------------------------------------- ##
113283 ## Report this to the package-unused lists. ##
113284 ## ----------------------------------------- ##
113285 _ASBOX
113287 sed "s/^/$as_me: WARNING: /" >&2
113290 echo "$as_me:$LINENO: checking for $ac_header" >&5
113291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113293 echo $ECHO_N "(cached) $ECHO_C" >&6
113295 eval "$as_ac_Header=\$ac_header_preproc"
113297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113302 cat >>confdefs.h <<_ACEOF
113303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113304 _ACEOF
113311 echo "$as_me:$LINENO: checking for poll" >&5
113312 echo $ECHO_N "checking for poll... $ECHO_C" >&6
113313 if test "${glibcxx_cv_POLL+set}" = set; then
113314 echo $ECHO_N "(cached) $ECHO_C" >&6
113317 if test x$gcc_no_link = xyes; then
113318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113320 { (exit 1); exit 1; }; }
113322 cat >conftest.$ac_ext <<_ACEOF
113323 /* confdefs.h. */
113324 _ACEOF
113325 cat confdefs.h >>conftest.$ac_ext
113326 cat >>conftest.$ac_ext <<_ACEOF
113327 /* end confdefs.h. */
113328 #include <poll.h>
113330 main ()
113332 struct pollfd pfd[1];
113333 pfd[0].events = POLLIN;
113334 poll(pfd, 1, 0);
113336 return 0;
113338 _ACEOF
113339 rm -f conftest.$ac_objext conftest$ac_exeext
113340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113341 (eval $ac_link) 2>conftest.er1
113342 ac_status=$?
113343 grep -v '^ *+' conftest.er1 >conftest.err
113344 rm -f conftest.er1
113345 cat conftest.err >&5
113346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113347 (exit $ac_status); } &&
113348 { ac_try='test -z "$ac_c_werror_flag"
113349 || test ! -s conftest.err'
113350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113351 (eval $ac_try) 2>&5
113352 ac_status=$?
113353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113354 (exit $ac_status); }; } &&
113355 { ac_try='test -s conftest$ac_exeext'
113356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113357 (eval $ac_try) 2>&5
113358 ac_status=$?
113359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113360 (exit $ac_status); }; }; then
113361 glibcxx_cv_POLL=yes
113363 echo "$as_me: failed program was:" >&5
113364 sed 's/^/| /' conftest.$ac_ext >&5
113366 glibcxx_cv_POLL=no
113368 rm -f conftest.err conftest.$ac_objext \
113369 conftest$ac_exeext conftest.$ac_ext
113373 if test $glibcxx_cv_POLL = yes; then
113375 cat >>confdefs.h <<\_ACEOF
113376 #define HAVE_POLL 1
113377 _ACEOF
113380 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
113381 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
113384 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
113385 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
113386 if test "${glibcxx_cv_S_ISREG+set}" = set; then
113387 echo $ECHO_N "(cached) $ECHO_C" >&6
113390 if test x$gcc_no_link = xyes; then
113391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113393 { (exit 1); exit 1; }; }
113395 cat >conftest.$ac_ext <<_ACEOF
113396 /* confdefs.h. */
113397 _ACEOF
113398 cat confdefs.h >>conftest.$ac_ext
113399 cat >>conftest.$ac_ext <<_ACEOF
113400 /* end confdefs.h. */
113401 #include <sys/stat.h>
113403 main ()
113405 struct stat buffer;
113406 fstat(0, &buffer);
113407 S_ISREG(buffer.st_mode);
113409 return 0;
113411 _ACEOF
113412 rm -f conftest.$ac_objext conftest$ac_exeext
113413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113414 (eval $ac_link) 2>conftest.er1
113415 ac_status=$?
113416 grep -v '^ *+' conftest.er1 >conftest.err
113417 rm -f conftest.er1
113418 cat conftest.err >&5
113419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113420 (exit $ac_status); } &&
113421 { ac_try='test -z "$ac_c_werror_flag"
113422 || test ! -s conftest.err'
113423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113424 (eval $ac_try) 2>&5
113425 ac_status=$?
113426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113427 (exit $ac_status); }; } &&
113428 { ac_try='test -s conftest$ac_exeext'
113429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113430 (eval $ac_try) 2>&5
113431 ac_status=$?
113432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113433 (exit $ac_status); }; }; then
113434 glibcxx_cv_S_ISREG=yes
113436 echo "$as_me: failed program was:" >&5
113437 sed 's/^/| /' conftest.$ac_ext >&5
113439 glibcxx_cv_S_ISREG=no
113441 rm -f conftest.err conftest.$ac_objext \
113442 conftest$ac_exeext conftest.$ac_ext
113446 if test "${glibcxx_cv_S_IFREG+set}" = set; then
113447 echo $ECHO_N "(cached) $ECHO_C" >&6
113450 if test x$gcc_no_link = xyes; then
113451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113453 { (exit 1); exit 1; }; }
113455 cat >conftest.$ac_ext <<_ACEOF
113456 /* confdefs.h. */
113457 _ACEOF
113458 cat confdefs.h >>conftest.$ac_ext
113459 cat >>conftest.$ac_ext <<_ACEOF
113460 /* end confdefs.h. */
113461 #include <sys/stat.h>
113463 main ()
113465 struct stat buffer;
113466 fstat(0, &buffer);
113467 S_IFREG & buffer.st_mode;
113469 return 0;
113471 _ACEOF
113472 rm -f conftest.$ac_objext conftest$ac_exeext
113473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113474 (eval $ac_link) 2>conftest.er1
113475 ac_status=$?
113476 grep -v '^ *+' conftest.er1 >conftest.err
113477 rm -f conftest.er1
113478 cat conftest.err >&5
113479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113480 (exit $ac_status); } &&
113481 { ac_try='test -z "$ac_c_werror_flag"
113482 || test ! -s conftest.err'
113483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113484 (eval $ac_try) 2>&5
113485 ac_status=$?
113486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113487 (exit $ac_status); }; } &&
113488 { ac_try='test -s conftest$ac_exeext'
113489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113490 (eval $ac_try) 2>&5
113491 ac_status=$?
113492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113493 (exit $ac_status); }; }; then
113494 glibcxx_cv_S_IFREG=yes
113496 echo "$as_me: failed program was:" >&5
113497 sed 's/^/| /' conftest.$ac_ext >&5
113499 glibcxx_cv_S_IFREG=no
113501 rm -f conftest.err conftest.$ac_objext \
113502 conftest$ac_exeext conftest.$ac_ext
113506 res=no
113507 if test $glibcxx_cv_S_ISREG = yes; then
113509 cat >>confdefs.h <<\_ACEOF
113510 #define HAVE_S_ISREG 1
113511 _ACEOF
113513 res=S_ISREG
113514 elif test $glibcxx_cv_S_IFREG = yes; then
113516 cat >>confdefs.h <<\_ACEOF
113517 #define HAVE_S_IFREG 1
113518 _ACEOF
113520 res=S_IFREG
113522 echo "$as_me:$LINENO: result: $res" >&5
113523 echo "${ECHO_T}$res" >&6
113526 # For xsputn_2().
113528 for ac_header in sys/uio.h
113530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113532 echo "$as_me:$LINENO: checking for $ac_header" >&5
113533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113535 echo $ECHO_N "(cached) $ECHO_C" >&6
113537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113540 # Is the header compilable?
113541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113543 cat >conftest.$ac_ext <<_ACEOF
113544 /* confdefs.h. */
113545 _ACEOF
113546 cat confdefs.h >>conftest.$ac_ext
113547 cat >>conftest.$ac_ext <<_ACEOF
113548 /* end confdefs.h. */
113549 $ac_includes_default
113550 #include <$ac_header>
113551 _ACEOF
113552 rm -f conftest.$ac_objext
113553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113554 (eval $ac_compile) 2>conftest.er1
113555 ac_status=$?
113556 grep -v '^ *+' conftest.er1 >conftest.err
113557 rm -f conftest.er1
113558 cat conftest.err >&5
113559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113560 (exit $ac_status); } &&
113561 { ac_try='test -z "$ac_c_werror_flag"
113562 || test ! -s conftest.err'
113563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113564 (eval $ac_try) 2>&5
113565 ac_status=$?
113566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113567 (exit $ac_status); }; } &&
113568 { ac_try='test -s conftest.$ac_objext'
113569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113570 (eval $ac_try) 2>&5
113571 ac_status=$?
113572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113573 (exit $ac_status); }; }; then
113574 ac_header_compiler=yes
113576 echo "$as_me: failed program was:" >&5
113577 sed 's/^/| /' conftest.$ac_ext >&5
113579 ac_header_compiler=no
113581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113583 echo "${ECHO_T}$ac_header_compiler" >&6
113585 # Is the header present?
113586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113588 cat >conftest.$ac_ext <<_ACEOF
113589 /* confdefs.h. */
113590 _ACEOF
113591 cat confdefs.h >>conftest.$ac_ext
113592 cat >>conftest.$ac_ext <<_ACEOF
113593 /* end confdefs.h. */
113594 #include <$ac_header>
113595 _ACEOF
113596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113598 ac_status=$?
113599 grep -v '^ *+' conftest.er1 >conftest.err
113600 rm -f conftest.er1
113601 cat conftest.err >&5
113602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113603 (exit $ac_status); } >/dev/null; then
113604 if test -s conftest.err; then
113605 ac_cpp_err=$ac_c_preproc_warn_flag
113606 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113608 ac_cpp_err=
113611 ac_cpp_err=yes
113613 if test -z "$ac_cpp_err"; then
113614 ac_header_preproc=yes
113616 echo "$as_me: failed program was:" >&5
113617 sed 's/^/| /' conftest.$ac_ext >&5
113619 ac_header_preproc=no
113621 rm -f conftest.err conftest.$ac_ext
113622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113623 echo "${ECHO_T}$ac_header_preproc" >&6
113625 # So? What about this header?
113626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113627 yes:no: )
113628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113632 ac_header_preproc=yes
113634 no:yes:* )
113635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113640 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113642 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113646 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113648 cat <<\_ASBOX
113649 ## ----------------------------------------- ##
113650 ## Report this to the package-unused lists. ##
113651 ## ----------------------------------------- ##
113652 _ASBOX
113654 sed "s/^/$as_me: WARNING: /" >&2
113657 echo "$as_me:$LINENO: checking for $ac_header" >&5
113658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113660 echo $ECHO_N "(cached) $ECHO_C" >&6
113662 eval "$as_ac_Header=\$ac_header_preproc"
113664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113669 cat >>confdefs.h <<_ACEOF
113670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113671 _ACEOF
113678 echo "$as_me:$LINENO: checking for writev" >&5
113679 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113680 if test "${glibcxx_cv_WRITEV+set}" = set; then
113681 echo $ECHO_N "(cached) $ECHO_C" >&6
113684 if test x$gcc_no_link = xyes; then
113685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113687 { (exit 1); exit 1; }; }
113689 cat >conftest.$ac_ext <<_ACEOF
113690 /* confdefs.h. */
113691 _ACEOF
113692 cat confdefs.h >>conftest.$ac_ext
113693 cat >>conftest.$ac_ext <<_ACEOF
113694 /* end confdefs.h. */
113695 #include <sys/uio.h>
113697 main ()
113699 struct iovec iov[2];
113700 writev(0, iov, 0);
113702 return 0;
113704 _ACEOF
113705 rm -f conftest.$ac_objext conftest$ac_exeext
113706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113707 (eval $ac_link) 2>conftest.er1
113708 ac_status=$?
113709 grep -v '^ *+' conftest.er1 >conftest.err
113710 rm -f conftest.er1
113711 cat conftest.err >&5
113712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113713 (exit $ac_status); } &&
113714 { ac_try='test -z "$ac_c_werror_flag"
113715 || test ! -s conftest.err'
113716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113717 (eval $ac_try) 2>&5
113718 ac_status=$?
113719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113720 (exit $ac_status); }; } &&
113721 { ac_try='test -s conftest$ac_exeext'
113722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113723 (eval $ac_try) 2>&5
113724 ac_status=$?
113725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113726 (exit $ac_status); }; }; then
113727 glibcxx_cv_WRITEV=yes
113729 echo "$as_me: failed program was:" >&5
113730 sed 's/^/| /' conftest.$ac_ext >&5
113732 glibcxx_cv_WRITEV=no
113734 rm -f conftest.err conftest.$ac_objext \
113735 conftest$ac_exeext conftest.$ac_ext
113739 if test $glibcxx_cv_WRITEV = yes; then
113741 cat >>confdefs.h <<\_ACEOF
113742 #define HAVE_WRITEV 1
113743 _ACEOF
113746 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113747 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113750 *-qnx6.1* | *-qnx6.2*)
113751 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113754 # If we're not using GNU ld, then there's no point in even trying these
113755 # tests. Check for that first. We should have already tested for gld
113756 # by now (in libtool), but require it now just to be safe...
113757 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113758 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113762 # The name set by libtool depends on the version of libtool. Shame on us
113763 # for depending on an impl detail, but c'est la vie. Older versions used
113764 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113765 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113766 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113767 # set (hence we're using an older libtool), then set it.
113768 if test x${with_gnu_ld+set} != xset; then
113769 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113770 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113771 with_gnu_ld=no
113773 with_gnu_ld=$ac_cv_prog_gnu_ld
113777 # Start by getting the version number. I think the libtool test already
113778 # does some of this, but throws away the result.
113779 glibcxx_ld_is_gold=no
113780 if test x"$with_gnu_ld" = x"yes"; then
113781 echo "$as_me:$LINENO: checking for ld version" >&5
113782 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113784 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113785 glibcxx_ld_is_gold=yes
113787 ldver=`$LD --version 2>/dev/null | head -1 | \
113788 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113790 glibcxx_gnu_ld_version=`echo $ldver | \
113791 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113792 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113793 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113796 # Set --gc-sections.
113797 glibcxx_have_gc_sections=no
113798 if test "$glibcxx_ld_is_gold" = "yes"; then
113799 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113800 glibcxx_have_gc_sections=yes
113803 glibcxx_gcsections_min_ld=21602
113804 if test x"$with_gnu_ld" = x"yes" &&
113805 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113806 glibcxx_have_gc_sections=yes
113809 if test "$glibcxx_have_gc_sections" = "yes"; then
113810 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113811 # NB: This flag only works reliably after 2.16.1. Configure tests
113812 # for this are difficult, so hard wire a value that should work.
113814 ac_test_CFLAGS="${CFLAGS+set}"
113815 ac_save_CFLAGS="$CFLAGS"
113816 CFLAGS='-Wl,--gc-sections'
113818 # Check for -Wl,--gc-sections
113819 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113820 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113821 if test x$gcc_no_link = xyes; then
113822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113824 { (exit 1); exit 1; }; }
113826 cat >conftest.$ac_ext <<_ACEOF
113827 /* confdefs.h. */
113828 _ACEOF
113829 cat confdefs.h >>conftest.$ac_ext
113830 cat >>conftest.$ac_ext <<_ACEOF
113831 /* end confdefs.h. */
113832 int one(void) { return 1; }
113833 int two(void) { return 2; }
113836 main ()
113838 two();
113840 return 0;
113842 _ACEOF
113843 rm -f conftest.$ac_objext conftest$ac_exeext
113844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113845 (eval $ac_link) 2>conftest.er1
113846 ac_status=$?
113847 grep -v '^ *+' conftest.er1 >conftest.err
113848 rm -f conftest.er1
113849 cat conftest.err >&5
113850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113851 (exit $ac_status); } &&
113852 { ac_try='test -z "$ac_c_werror_flag"
113853 || test ! -s conftest.err'
113854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113855 (eval $ac_try) 2>&5
113856 ac_status=$?
113857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113858 (exit $ac_status); }; } &&
113859 { ac_try='test -s conftest$ac_exeext'
113860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113861 (eval $ac_try) 2>&5
113862 ac_status=$?
113863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113864 (exit $ac_status); }; }; then
113865 ac_gcsections=yes
113867 echo "$as_me: failed program was:" >&5
113868 sed 's/^/| /' conftest.$ac_ext >&5
113870 ac_gcsections=no
113872 rm -f conftest.err conftest.$ac_objext \
113873 conftest$ac_exeext conftest.$ac_ext
113874 if test "$ac_gcsections" = "yes"; then
113875 rm -f conftest.c
113876 touch conftest.c
113877 if $CC -c conftest.c; then
113878 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113879 grep "Warning: gc-sections option ignored" > /dev/null; then
113880 ac_gcsections=no
113883 rm -f conftest.c conftest.o conftest
113885 if test "$ac_gcsections" = "yes"; then
113886 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113888 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113889 echo "${ECHO_T}$ac_gcsections" >&6
113891 if test "$ac_test_CFLAGS" = set; then
113892 CFLAGS="$ac_save_CFLAGS"
113894 # this is the suspicious part
113895 CFLAGS=''
113899 # Set -z,relro.
113900 # Note this is only for shared objects.
113901 ac_ld_relro=no
113902 if test x"$with_gnu_ld" = x"yes"; then
113903 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113904 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113905 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113906 if test -n "$cxx_z_relo"; then
113907 OPT_LDFLAGS="-Wl,-z,relro"
113908 ac_ld_relro=yes
113910 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113911 echo "${ECHO_T}$ac_ld_relro" >&6
113914 # Set linker optimization flags.
113915 if test x"$with_gnu_ld" = x"yes"; then
113916 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113924 echo "$as_me:$LINENO: checking for main in -lm" >&5
113925 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113926 if test "${ac_cv_lib_m_main+set}" = set; then
113927 echo $ECHO_N "(cached) $ECHO_C" >&6
113929 ac_check_lib_save_LIBS=$LIBS
113930 LIBS="-lm $LIBS"
113931 if test x$gcc_no_link = xyes; then
113932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113934 { (exit 1); exit 1; }; }
113936 cat >conftest.$ac_ext <<_ACEOF
113937 /* confdefs.h. */
113938 _ACEOF
113939 cat confdefs.h >>conftest.$ac_ext
113940 cat >>conftest.$ac_ext <<_ACEOF
113941 /* end confdefs.h. */
113945 main ()
113947 main ();
113949 return 0;
113951 _ACEOF
113952 rm -f conftest.$ac_objext conftest$ac_exeext
113953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113954 (eval $ac_link) 2>conftest.er1
113955 ac_status=$?
113956 grep -v '^ *+' conftest.er1 >conftest.err
113957 rm -f conftest.er1
113958 cat conftest.err >&5
113959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113960 (exit $ac_status); } &&
113961 { ac_try='test -z "$ac_c_werror_flag"
113962 || test ! -s conftest.err'
113963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113964 (eval $ac_try) 2>&5
113965 ac_status=$?
113966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113967 (exit $ac_status); }; } &&
113968 { ac_try='test -s conftest$ac_exeext'
113969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113970 (eval $ac_try) 2>&5
113971 ac_status=$?
113972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113973 (exit $ac_status); }; }; then
113974 ac_cv_lib_m_main=yes
113976 echo "$as_me: failed program was:" >&5
113977 sed 's/^/| /' conftest.$ac_ext >&5
113979 ac_cv_lib_m_main=no
113981 rm -f conftest.err conftest.$ac_objext \
113982 conftest$ac_exeext conftest.$ac_ext
113983 LIBS=$ac_check_lib_save_LIBS
113985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113986 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113987 if test $ac_cv_lib_m_main = yes; then
113988 cat >>confdefs.h <<_ACEOF
113989 #define HAVE_LIBM 1
113990 _ACEOF
113992 LIBS="-lm $LIBS"
113997 for ac_func in copysignf
113999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114000 echo "$as_me:$LINENO: checking for $ac_func" >&5
114001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114002 if eval "test \"\${$as_ac_var+set}\" = set"; then
114003 echo $ECHO_N "(cached) $ECHO_C" >&6
114005 if test x$gcc_no_link = xyes; then
114006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114008 { (exit 1); exit 1; }; }
114010 cat >conftest.$ac_ext <<_ACEOF
114011 /* confdefs.h. */
114012 _ACEOF
114013 cat confdefs.h >>conftest.$ac_ext
114014 cat >>conftest.$ac_ext <<_ACEOF
114015 /* end confdefs.h. */
114016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114018 #define $ac_func innocuous_$ac_func
114020 /* System header to define __stub macros and hopefully few prototypes,
114021 which can conflict with char $ac_func (); below.
114022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114023 <limits.h> exists even on freestanding compilers. */
114025 #ifdef __STDC__
114026 # include <limits.h>
114027 #else
114028 # include <assert.h>
114029 #endif
114031 #undef $ac_func
114033 /* Override any gcc2 internal prototype to avoid an error. */
114034 #ifdef __cplusplus
114035 extern "C"
114037 #endif
114038 /* We use char because int might match the return type of a gcc2
114039 builtin and then its argument prototype would still apply. */
114040 char $ac_func ();
114041 /* The GNU C library defines this for functions which it implements
114042 to always fail with ENOSYS. Some functions are actually named
114043 something starting with __ and the normal name is an alias. */
114044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114045 choke me
114046 #else
114047 char (*f) () = $ac_func;
114048 #endif
114049 #ifdef __cplusplus
114051 #endif
114054 main ()
114056 return f != $ac_func;
114058 return 0;
114060 _ACEOF
114061 rm -f conftest.$ac_objext conftest$ac_exeext
114062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114063 (eval $ac_link) 2>conftest.er1
114064 ac_status=$?
114065 grep -v '^ *+' conftest.er1 >conftest.err
114066 rm -f conftest.er1
114067 cat conftest.err >&5
114068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114069 (exit $ac_status); } &&
114070 { ac_try='test -z "$ac_c_werror_flag"
114071 || test ! -s conftest.err'
114072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114073 (eval $ac_try) 2>&5
114074 ac_status=$?
114075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114076 (exit $ac_status); }; } &&
114077 { ac_try='test -s conftest$ac_exeext'
114078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114079 (eval $ac_try) 2>&5
114080 ac_status=$?
114081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114082 (exit $ac_status); }; }; then
114083 eval "$as_ac_var=yes"
114085 echo "$as_me: failed program was:" >&5
114086 sed 's/^/| /' conftest.$ac_ext >&5
114088 eval "$as_ac_var=no"
114090 rm -f conftest.err conftest.$ac_objext \
114091 conftest$ac_exeext conftest.$ac_ext
114093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114095 if test `eval echo '${'$as_ac_var'}'` = yes; then
114096 cat >>confdefs.h <<_ACEOF
114097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114098 _ACEOF
114101 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114107 for ac_func in __signbit
114109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114110 echo "$as_me:$LINENO: checking for $ac_func" >&5
114111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114112 if eval "test \"\${$as_ac_var+set}\" = set"; then
114113 echo $ECHO_N "(cached) $ECHO_C" >&6
114115 if test x$gcc_no_link = xyes; then
114116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114118 { (exit 1); exit 1; }; }
114120 cat >conftest.$ac_ext <<_ACEOF
114121 /* confdefs.h. */
114122 _ACEOF
114123 cat confdefs.h >>conftest.$ac_ext
114124 cat >>conftest.$ac_ext <<_ACEOF
114125 /* end confdefs.h. */
114126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114128 #define $ac_func innocuous_$ac_func
114130 /* System header to define __stub macros and hopefully few prototypes,
114131 which can conflict with char $ac_func (); below.
114132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114133 <limits.h> exists even on freestanding compilers. */
114135 #ifdef __STDC__
114136 # include <limits.h>
114137 #else
114138 # include <assert.h>
114139 #endif
114141 #undef $ac_func
114143 /* Override any gcc2 internal prototype to avoid an error. */
114144 #ifdef __cplusplus
114145 extern "C"
114147 #endif
114148 /* We use char because int might match the return type of a gcc2
114149 builtin and then its argument prototype would still apply. */
114150 char $ac_func ();
114151 /* The GNU C library defines this for functions which it implements
114152 to always fail with ENOSYS. Some functions are actually named
114153 something starting with __ and the normal name is an alias. */
114154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114155 choke me
114156 #else
114157 char (*f) () = $ac_func;
114158 #endif
114159 #ifdef __cplusplus
114161 #endif
114164 main ()
114166 return f != $ac_func;
114168 return 0;
114170 _ACEOF
114171 rm -f conftest.$ac_objext conftest$ac_exeext
114172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114173 (eval $ac_link) 2>conftest.er1
114174 ac_status=$?
114175 grep -v '^ *+' conftest.er1 >conftest.err
114176 rm -f conftest.er1
114177 cat conftest.err >&5
114178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114179 (exit $ac_status); } &&
114180 { ac_try='test -z "$ac_c_werror_flag"
114181 || test ! -s conftest.err'
114182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114183 (eval $ac_try) 2>&5
114184 ac_status=$?
114185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114186 (exit $ac_status); }; } &&
114187 { ac_try='test -s conftest$ac_exeext'
114188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114189 (eval $ac_try) 2>&5
114190 ac_status=$?
114191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114192 (exit $ac_status); }; }; then
114193 eval "$as_ac_var=yes"
114195 echo "$as_me: failed program was:" >&5
114196 sed 's/^/| /' conftest.$ac_ext >&5
114198 eval "$as_ac_var=no"
114200 rm -f conftest.err conftest.$ac_objext \
114201 conftest$ac_exeext conftest.$ac_ext
114203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114205 if test `eval echo '${'$as_ac_var'}'` = yes; then
114206 cat >>confdefs.h <<_ACEOF
114207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114208 _ACEOF
114211 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114217 for ac_func in __signbitf
114219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114220 echo "$as_me:$LINENO: checking for $ac_func" >&5
114221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114222 if eval "test \"\${$as_ac_var+set}\" = set"; then
114223 echo $ECHO_N "(cached) $ECHO_C" >&6
114225 if test x$gcc_no_link = xyes; then
114226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114228 { (exit 1); exit 1; }; }
114230 cat >conftest.$ac_ext <<_ACEOF
114231 /* confdefs.h. */
114232 _ACEOF
114233 cat confdefs.h >>conftest.$ac_ext
114234 cat >>conftest.$ac_ext <<_ACEOF
114235 /* end confdefs.h. */
114236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114238 #define $ac_func innocuous_$ac_func
114240 /* System header to define __stub macros and hopefully few prototypes,
114241 which can conflict with char $ac_func (); below.
114242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114243 <limits.h> exists even on freestanding compilers. */
114245 #ifdef __STDC__
114246 # include <limits.h>
114247 #else
114248 # include <assert.h>
114249 #endif
114251 #undef $ac_func
114253 /* Override any gcc2 internal prototype to avoid an error. */
114254 #ifdef __cplusplus
114255 extern "C"
114257 #endif
114258 /* We use char because int might match the return type of a gcc2
114259 builtin and then its argument prototype would still apply. */
114260 char $ac_func ();
114261 /* The GNU C library defines this for functions which it implements
114262 to always fail with ENOSYS. Some functions are actually named
114263 something starting with __ and the normal name is an alias. */
114264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114265 choke me
114266 #else
114267 char (*f) () = $ac_func;
114268 #endif
114269 #ifdef __cplusplus
114271 #endif
114274 main ()
114276 return f != $ac_func;
114278 return 0;
114280 _ACEOF
114281 rm -f conftest.$ac_objext conftest$ac_exeext
114282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114283 (eval $ac_link) 2>conftest.er1
114284 ac_status=$?
114285 grep -v '^ *+' conftest.er1 >conftest.err
114286 rm -f conftest.er1
114287 cat conftest.err >&5
114288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114289 (exit $ac_status); } &&
114290 { ac_try='test -z "$ac_c_werror_flag"
114291 || test ! -s conftest.err'
114292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114293 (eval $ac_try) 2>&5
114294 ac_status=$?
114295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114296 (exit $ac_status); }; } &&
114297 { ac_try='test -s conftest$ac_exeext'
114298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114299 (eval $ac_try) 2>&5
114300 ac_status=$?
114301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114302 (exit $ac_status); }; }; then
114303 eval "$as_ac_var=yes"
114305 echo "$as_me: failed program was:" >&5
114306 sed 's/^/| /' conftest.$ac_ext >&5
114308 eval "$as_ac_var=no"
114310 rm -f conftest.err conftest.$ac_objext \
114311 conftest$ac_exeext conftest.$ac_ext
114313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114315 if test `eval echo '${'$as_ac_var'}'` = yes; then
114316 cat >>confdefs.h <<_ACEOF
114317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114318 _ACEOF
114321 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114326 if test x$ac_cv_func_copysignl = x"yes"; then
114328 for ac_func in __signbitl
114330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114331 echo "$as_me:$LINENO: checking for $ac_func" >&5
114332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114333 if eval "test \"\${$as_ac_var+set}\" = set"; then
114334 echo $ECHO_N "(cached) $ECHO_C" >&6
114336 if test x$gcc_no_link = xyes; then
114337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114339 { (exit 1); exit 1; }; }
114341 cat >conftest.$ac_ext <<_ACEOF
114342 /* confdefs.h. */
114343 _ACEOF
114344 cat confdefs.h >>conftest.$ac_ext
114345 cat >>conftest.$ac_ext <<_ACEOF
114346 /* end confdefs.h. */
114347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114349 #define $ac_func innocuous_$ac_func
114351 /* System header to define __stub macros and hopefully few prototypes,
114352 which can conflict with char $ac_func (); below.
114353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114354 <limits.h> exists even on freestanding compilers. */
114356 #ifdef __STDC__
114357 # include <limits.h>
114358 #else
114359 # include <assert.h>
114360 #endif
114362 #undef $ac_func
114364 /* Override any gcc2 internal prototype to avoid an error. */
114365 #ifdef __cplusplus
114366 extern "C"
114368 #endif
114369 /* We use char because int might match the return type of a gcc2
114370 builtin and then its argument prototype would still apply. */
114371 char $ac_func ();
114372 /* The GNU C library defines this for functions which it implements
114373 to always fail with ENOSYS. Some functions are actually named
114374 something starting with __ and the normal name is an alias. */
114375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114376 choke me
114377 #else
114378 char (*f) () = $ac_func;
114379 #endif
114380 #ifdef __cplusplus
114382 #endif
114385 main ()
114387 return f != $ac_func;
114389 return 0;
114391 _ACEOF
114392 rm -f conftest.$ac_objext conftest$ac_exeext
114393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114394 (eval $ac_link) 2>conftest.er1
114395 ac_status=$?
114396 grep -v '^ *+' conftest.er1 >conftest.err
114397 rm -f conftest.er1
114398 cat conftest.err >&5
114399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114400 (exit $ac_status); } &&
114401 { ac_try='test -z "$ac_c_werror_flag"
114402 || test ! -s conftest.err'
114403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114404 (eval $ac_try) 2>&5
114405 ac_status=$?
114406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114407 (exit $ac_status); }; } &&
114408 { ac_try='test -s conftest$ac_exeext'
114409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114410 (eval $ac_try) 2>&5
114411 ac_status=$?
114412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114413 (exit $ac_status); }; }; then
114414 eval "$as_ac_var=yes"
114416 echo "$as_me: failed program was:" >&5
114417 sed 's/^/| /' conftest.$ac_ext >&5
114419 eval "$as_ac_var=no"
114421 rm -f conftest.err conftest.$ac_objext \
114422 conftest$ac_exeext conftest.$ac_ext
114424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114426 if test `eval echo '${'$as_ac_var'}'` = yes; then
114427 cat >>confdefs.h <<_ACEOF
114428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114429 _ACEOF
114432 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114438 # Used in libmath/Makefile.am.
114439 if test -n "$LIBMATHOBJS"; then
114440 need_libmath=yes
114444 cat >>confdefs.h <<\_ACEOF
114445 #define HAVE_COSF 1
114446 _ACEOF
114448 cat >>confdefs.h <<\_ACEOF
114449 #define HAVE_COSL 1
114450 _ACEOF
114452 cat >>confdefs.h <<\_ACEOF
114453 #define HAVE_COSHF 1
114454 _ACEOF
114456 cat >>confdefs.h <<\_ACEOF
114457 #define HAVE_COSHL 1
114458 _ACEOF
114460 cat >>confdefs.h <<\_ACEOF
114461 #define HAVE_LOGF 1
114462 _ACEOF
114464 cat >>confdefs.h <<\_ACEOF
114465 #define HAVE_LOGL 1
114466 _ACEOF
114468 cat >>confdefs.h <<\_ACEOF
114469 #define HAVE_LOG10F 1
114470 _ACEOF
114472 cat >>confdefs.h <<\_ACEOF
114473 #define HAVE_LOG10L 1
114474 _ACEOF
114476 cat >>confdefs.h <<\_ACEOF
114477 #define HAVE_SINF 1
114478 _ACEOF
114480 cat >>confdefs.h <<\_ACEOF
114481 #define HAVE_SINL 1
114482 _ACEOF
114484 cat >>confdefs.h <<\_ACEOF
114485 #define HAVE_SINHF 1
114486 _ACEOF
114488 cat >>confdefs.h <<\_ACEOF
114489 #define HAVE_SINHL 1
114490 _ACEOF
114493 *-solaris*)
114494 case "$target" in
114495 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114497 # If we're not using GNU ld, then there's no point in even trying these
114498 # tests. Check for that first. We should have already tested for gld
114499 # by now (in libtool), but require it now just to be safe...
114500 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114501 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114505 # The name set by libtool depends on the version of libtool. Shame on us
114506 # for depending on an impl detail, but c'est la vie. Older versions used
114507 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114508 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114509 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114510 # set (hence we're using an older libtool), then set it.
114511 if test x${with_gnu_ld+set} != xset; then
114512 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114513 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114514 with_gnu_ld=no
114516 with_gnu_ld=$ac_cv_prog_gnu_ld
114520 # Start by getting the version number. I think the libtool test already
114521 # does some of this, but throws away the result.
114522 glibcxx_ld_is_gold=no
114523 if test x"$with_gnu_ld" = x"yes"; then
114524 echo "$as_me:$LINENO: checking for ld version" >&5
114525 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114527 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114528 glibcxx_ld_is_gold=yes
114530 ldver=`$LD --version 2>/dev/null | head -1 | \
114531 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114533 glibcxx_gnu_ld_version=`echo $ldver | \
114534 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114535 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114536 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114539 # Set --gc-sections.
114540 glibcxx_have_gc_sections=no
114541 if test "$glibcxx_ld_is_gold" = "yes"; then
114542 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114543 glibcxx_have_gc_sections=yes
114546 glibcxx_gcsections_min_ld=21602
114547 if test x"$with_gnu_ld" = x"yes" &&
114548 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114549 glibcxx_have_gc_sections=yes
114552 if test "$glibcxx_have_gc_sections" = "yes"; then
114553 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114554 # NB: This flag only works reliably after 2.16.1. Configure tests
114555 # for this are difficult, so hard wire a value that should work.
114557 ac_test_CFLAGS="${CFLAGS+set}"
114558 ac_save_CFLAGS="$CFLAGS"
114559 CFLAGS='-Wl,--gc-sections'
114561 # Check for -Wl,--gc-sections
114562 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114563 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114564 if test x$gcc_no_link = xyes; then
114565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114567 { (exit 1); exit 1; }; }
114569 cat >conftest.$ac_ext <<_ACEOF
114570 /* confdefs.h. */
114571 _ACEOF
114572 cat confdefs.h >>conftest.$ac_ext
114573 cat >>conftest.$ac_ext <<_ACEOF
114574 /* end confdefs.h. */
114575 int one(void) { return 1; }
114576 int two(void) { return 2; }
114579 main ()
114581 two();
114583 return 0;
114585 _ACEOF
114586 rm -f conftest.$ac_objext conftest$ac_exeext
114587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114588 (eval $ac_link) 2>conftest.er1
114589 ac_status=$?
114590 grep -v '^ *+' conftest.er1 >conftest.err
114591 rm -f conftest.er1
114592 cat conftest.err >&5
114593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114594 (exit $ac_status); } &&
114595 { ac_try='test -z "$ac_c_werror_flag"
114596 || test ! -s conftest.err'
114597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114598 (eval $ac_try) 2>&5
114599 ac_status=$?
114600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114601 (exit $ac_status); }; } &&
114602 { ac_try='test -s conftest$ac_exeext'
114603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114604 (eval $ac_try) 2>&5
114605 ac_status=$?
114606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114607 (exit $ac_status); }; }; then
114608 ac_gcsections=yes
114610 echo "$as_me: failed program was:" >&5
114611 sed 's/^/| /' conftest.$ac_ext >&5
114613 ac_gcsections=no
114615 rm -f conftest.err conftest.$ac_objext \
114616 conftest$ac_exeext conftest.$ac_ext
114617 if test "$ac_gcsections" = "yes"; then
114618 rm -f conftest.c
114619 touch conftest.c
114620 if $CC -c conftest.c; then
114621 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114622 grep "Warning: gc-sections option ignored" > /dev/null; then
114623 ac_gcsections=no
114626 rm -f conftest.c conftest.o conftest
114628 if test "$ac_gcsections" = "yes"; then
114629 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114631 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114632 echo "${ECHO_T}$ac_gcsections" >&6
114634 if test "$ac_test_CFLAGS" = set; then
114635 CFLAGS="$ac_save_CFLAGS"
114637 # this is the suspicious part
114638 CFLAGS=''
114642 # Set -z,relro.
114643 # Note this is only for shared objects.
114644 ac_ld_relro=no
114645 if test x"$with_gnu_ld" = x"yes"; then
114646 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114647 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114648 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114649 if test -n "$cxx_z_relo"; then
114650 OPT_LDFLAGS="-Wl,-z,relro"
114651 ac_ld_relro=yes
114653 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114654 echo "${ECHO_T}$ac_ld_relro" >&6
114657 # Set linker optimization flags.
114658 if test x"$with_gnu_ld" = x"yes"; then
114659 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114665 cat >>confdefs.h <<\_ACEOF
114666 #define HAVE_GETPAGESIZE 1
114667 _ACEOF
114669 cat >>confdefs.h <<\_ACEOF
114670 #define HAVE_SIGSETJMP 1
114671 _ACEOF
114673 cat >>confdefs.h <<\_ACEOF
114674 #define HAVE_MBSTATE_T 1
114675 _ACEOF
114677 cat >>confdefs.h <<\_ACEOF
114678 #define HAVE_POLL 1
114679 _ACEOF
114681 cat >>confdefs.h <<\_ACEOF
114682 #define HAVE_S_ISREG 1
114683 _ACEOF
114685 cat >>confdefs.h <<\_ACEOF
114686 #define HAVE_LC_MESSAGES 1
114687 _ACEOF
114689 cat >>confdefs.h <<\_ACEOF
114690 #define HAVE_FINITE 1
114691 _ACEOF
114693 cat >>confdefs.h <<\_ACEOF
114694 #define HAVE_FPCLASS 1
114695 _ACEOF
114697 cat >>confdefs.h <<\_ACEOF
114698 #define HAVE_GETPAGESIZE 1
114699 _ACEOF
114701 # All of the dependencies for wide character support are here, so
114702 # turn it on.
114703 cat >>confdefs.h <<\_ACEOF
114704 #define _GLIBCXX_USE_WCHAR_T 1
114705 _ACEOF
114707 # Are these tested for even when cross?
114708 cat >>confdefs.h <<\_ACEOF
114709 #define HAVE_FLOAT_H 1
114710 _ACEOF
114712 cat >>confdefs.h <<\_ACEOF
114713 #define HAVE_IEEEFP_H 1
114714 _ACEOF
114716 cat >>confdefs.h <<\_ACEOF
114717 #define HAVE_INTTYPES_H 1
114718 _ACEOF
114720 cat >>confdefs.h <<\_ACEOF
114721 #define HAVE_LOCALE_H 1
114722 _ACEOF
114724 cat >>confdefs.h <<\_ACEOF
114725 #define HAVE_NAN_H 1
114726 _ACEOF
114728 cat >>confdefs.h <<\_ACEOF
114729 #define HAVE_SYS_FILIO_H 1
114730 _ACEOF
114732 cat >>confdefs.h <<\_ACEOF
114733 #define HAVE_SYS_IOCTL_H 1
114734 _ACEOF
114736 cat >>confdefs.h <<\_ACEOF
114737 #define HAVE_SYS_ISA_DEFS_H 1
114738 _ACEOF
114740 cat >>confdefs.h <<\_ACEOF
114741 #define HAVE_SYS_RESOURCE_H 1
114742 _ACEOF
114744 cat >>confdefs.h <<\_ACEOF
114745 #define HAVE_SYS_TIME_H 1
114746 _ACEOF
114748 cat >>confdefs.h <<\_ACEOF
114749 #define HAVE_SYS_TYPES_H 1
114750 _ACEOF
114752 cat >>confdefs.h <<\_ACEOF
114753 #define HAVE_UNISTD_H 1
114754 _ACEOF
114756 cat >>confdefs.h <<\_ACEOF
114757 #define HAVE_WCHAR_H 1
114758 _ACEOF
114760 cat >>confdefs.h <<\_ACEOF
114761 #define HAVE_WCTYPE_H 1
114762 _ACEOF
114764 cat >>confdefs.h <<\_ACEOF
114765 #define HAVE_LIBM 1
114766 _ACEOF
114770 case "$target" in
114771 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114772 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114773 cat >>confdefs.h <<\_ACEOF
114774 #define HAVE___BUILTIN_ABS 1
114775 _ACEOF
114777 cat >>confdefs.h <<\_ACEOF
114778 #define HAVE___BUILTIN_LABS 1
114779 _ACEOF
114781 cat >>confdefs.h <<\_ACEOF
114782 #define HAVE___BUILTIN_FABS 1
114783 _ACEOF
114785 cat >>confdefs.h <<\_ACEOF
114786 #define HAVE___BUILTIN_FABSF 1
114787 _ACEOF
114789 cat >>confdefs.h <<\_ACEOF
114790 #define HAVE___BUILTIN_FABSL 1
114791 _ACEOF
114793 cat >>confdefs.h <<\_ACEOF
114794 #define HAVE___BUILTIN_COS 1
114795 _ACEOF
114797 cat >>confdefs.h <<\_ACEOF
114798 #define HAVE___BUILTIN_COSF 1
114799 _ACEOF
114801 cat >>confdefs.h <<\_ACEOF
114802 #define HAVE___BUILTIN_SIN 1
114803 _ACEOF
114805 cat >>confdefs.h <<\_ACEOF
114806 #define HAVE___BUILTIN_SINF 1
114807 _ACEOF
114811 case "$target" in
114812 *-*-solaris2.10)
114813 # These two C99 functions are present only in Solaris >= 10
114814 cat >>confdefs.h <<\_ACEOF
114815 #define HAVE_STRTOF 1
114816 _ACEOF
114818 cat >>confdefs.h <<\_ACEOF
114819 #define HAVE_STRTOLD 1
114820 _ACEOF
114824 cat >>confdefs.h <<\_ACEOF
114825 #define HAVE_MMAP 1
114826 _ACEOF
114828 cat >>confdefs.h <<\_ACEOF
114829 #define HAVE_COPYSIGN 1
114830 _ACEOF
114832 cat >>confdefs.h <<\_ACEOF
114833 #define HAVE_ISNAN 1
114834 _ACEOF
114836 cat >>confdefs.h <<\_ACEOF
114837 #define HAVE_ISNANF 1
114838 _ACEOF
114840 cat >>confdefs.h <<\_ACEOF
114841 #define HAVE_MODFF 1
114842 _ACEOF
114844 cat >>confdefs.h <<\_ACEOF
114845 #define HAVE_HYPOT 1
114846 _ACEOF
114849 *-tpf)
114858 for ac_header in nan.h endian.h machine/endian.h \
114859 sys/param.h sys/types.h locale.h float.h inttypes.h
114861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114863 echo "$as_me:$LINENO: checking for $ac_header" >&5
114864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114866 echo $ECHO_N "(cached) $ECHO_C" >&6
114868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114871 # Is the header compilable?
114872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114874 cat >conftest.$ac_ext <<_ACEOF
114875 /* confdefs.h. */
114876 _ACEOF
114877 cat confdefs.h >>conftest.$ac_ext
114878 cat >>conftest.$ac_ext <<_ACEOF
114879 /* end confdefs.h. */
114880 $ac_includes_default
114881 #include <$ac_header>
114882 _ACEOF
114883 rm -f conftest.$ac_objext
114884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114885 (eval $ac_compile) 2>conftest.er1
114886 ac_status=$?
114887 grep -v '^ *+' conftest.er1 >conftest.err
114888 rm -f conftest.er1
114889 cat conftest.err >&5
114890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114891 (exit $ac_status); } &&
114892 { ac_try='test -z "$ac_c_werror_flag"
114893 || test ! -s conftest.err'
114894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114895 (eval $ac_try) 2>&5
114896 ac_status=$?
114897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114898 (exit $ac_status); }; } &&
114899 { ac_try='test -s conftest.$ac_objext'
114900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114901 (eval $ac_try) 2>&5
114902 ac_status=$?
114903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114904 (exit $ac_status); }; }; then
114905 ac_header_compiler=yes
114907 echo "$as_me: failed program was:" >&5
114908 sed 's/^/| /' conftest.$ac_ext >&5
114910 ac_header_compiler=no
114912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114914 echo "${ECHO_T}$ac_header_compiler" >&6
114916 # Is the header present?
114917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114919 cat >conftest.$ac_ext <<_ACEOF
114920 /* confdefs.h. */
114921 _ACEOF
114922 cat confdefs.h >>conftest.$ac_ext
114923 cat >>conftest.$ac_ext <<_ACEOF
114924 /* end confdefs.h. */
114925 #include <$ac_header>
114926 _ACEOF
114927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114929 ac_status=$?
114930 grep -v '^ *+' conftest.er1 >conftest.err
114931 rm -f conftest.er1
114932 cat conftest.err >&5
114933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114934 (exit $ac_status); } >/dev/null; then
114935 if test -s conftest.err; then
114936 ac_cpp_err=$ac_c_preproc_warn_flag
114937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114939 ac_cpp_err=
114942 ac_cpp_err=yes
114944 if test -z "$ac_cpp_err"; then
114945 ac_header_preproc=yes
114947 echo "$as_me: failed program was:" >&5
114948 sed 's/^/| /' conftest.$ac_ext >&5
114950 ac_header_preproc=no
114952 rm -f conftest.err conftest.$ac_ext
114953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114954 echo "${ECHO_T}$ac_header_preproc" >&6
114956 # So? What about this header?
114957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114958 yes:no: )
114959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114963 ac_header_preproc=yes
114965 no:yes:* )
114966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114979 cat <<\_ASBOX
114980 ## ----------------------------------------- ##
114981 ## Report this to the package-unused lists. ##
114982 ## ----------------------------------------- ##
114983 _ASBOX
114985 sed "s/^/$as_me: WARNING: /" >&2
114988 echo "$as_me:$LINENO: checking for $ac_header" >&5
114989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114991 echo $ECHO_N "(cached) $ECHO_C" >&6
114993 eval "$as_ac_Header=\$ac_header_preproc"
114995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115000 cat >>confdefs.h <<_ACEOF
115001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115002 _ACEOF
115008 SECTION_FLAGS='-ffunction-sections -fdata-sections'
115011 # If we're not using GNU ld, then there's no point in even trying these
115012 # tests. Check for that first. We should have already tested for gld
115013 # by now (in libtool), but require it now just to be safe...
115014 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115015 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115019 # The name set by libtool depends on the version of libtool. Shame on us
115020 # for depending on an impl detail, but c'est la vie. Older versions used
115021 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115022 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115023 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
115024 # set (hence we're using an older libtool), then set it.
115025 if test x${with_gnu_ld+set} != xset; then
115026 if test x${ac_cv_prog_gnu_ld+set} != xset; then
115027 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
115028 with_gnu_ld=no
115030 with_gnu_ld=$ac_cv_prog_gnu_ld
115034 # Start by getting the version number. I think the libtool test already
115035 # does some of this, but throws away the result.
115036 glibcxx_ld_is_gold=no
115037 if test x"$with_gnu_ld" = x"yes"; then
115038 echo "$as_me:$LINENO: checking for ld version" >&5
115039 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115041 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115042 glibcxx_ld_is_gold=yes
115044 ldver=`$LD --version 2>/dev/null | head -1 | \
115045 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115047 glibcxx_gnu_ld_version=`echo $ldver | \
115048 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115049 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115050 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115053 # Set --gc-sections.
115054 glibcxx_have_gc_sections=no
115055 if test "$glibcxx_ld_is_gold" = "yes"; then
115056 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115057 glibcxx_have_gc_sections=yes
115060 glibcxx_gcsections_min_ld=21602
115061 if test x"$with_gnu_ld" = x"yes" &&
115062 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115063 glibcxx_have_gc_sections=yes
115066 if test "$glibcxx_have_gc_sections" = "yes"; then
115067 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
115068 # NB: This flag only works reliably after 2.16.1. Configure tests
115069 # for this are difficult, so hard wire a value that should work.
115071 ac_test_CFLAGS="${CFLAGS+set}"
115072 ac_save_CFLAGS="$CFLAGS"
115073 CFLAGS='-Wl,--gc-sections'
115075 # Check for -Wl,--gc-sections
115076 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115077 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115078 if test x$gcc_no_link = xyes; then
115079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115081 { (exit 1); exit 1; }; }
115083 cat >conftest.$ac_ext <<_ACEOF
115084 /* confdefs.h. */
115085 _ACEOF
115086 cat confdefs.h >>conftest.$ac_ext
115087 cat >>conftest.$ac_ext <<_ACEOF
115088 /* end confdefs.h. */
115089 int one(void) { return 1; }
115090 int two(void) { return 2; }
115093 main ()
115095 two();
115097 return 0;
115099 _ACEOF
115100 rm -f conftest.$ac_objext conftest$ac_exeext
115101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115102 (eval $ac_link) 2>conftest.er1
115103 ac_status=$?
115104 grep -v '^ *+' conftest.er1 >conftest.err
115105 rm -f conftest.er1
115106 cat conftest.err >&5
115107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115108 (exit $ac_status); } &&
115109 { ac_try='test -z "$ac_c_werror_flag"
115110 || test ! -s conftest.err'
115111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115112 (eval $ac_try) 2>&5
115113 ac_status=$?
115114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115115 (exit $ac_status); }; } &&
115116 { ac_try='test -s conftest$ac_exeext'
115117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115118 (eval $ac_try) 2>&5
115119 ac_status=$?
115120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115121 (exit $ac_status); }; }; then
115122 ac_gcsections=yes
115124 echo "$as_me: failed program was:" >&5
115125 sed 's/^/| /' conftest.$ac_ext >&5
115127 ac_gcsections=no
115129 rm -f conftest.err conftest.$ac_objext \
115130 conftest$ac_exeext conftest.$ac_ext
115131 if test "$ac_gcsections" = "yes"; then
115132 rm -f conftest.c
115133 touch conftest.c
115134 if $CC -c conftest.c; then
115135 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115136 grep "Warning: gc-sections option ignored" > /dev/null; then
115137 ac_gcsections=no
115140 rm -f conftest.c conftest.o conftest
115142 if test "$ac_gcsections" = "yes"; then
115143 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115145 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115146 echo "${ECHO_T}$ac_gcsections" >&6
115148 if test "$ac_test_CFLAGS" = set; then
115149 CFLAGS="$ac_save_CFLAGS"
115151 # this is the suspicious part
115152 CFLAGS=''
115156 # Set -z,relro.
115157 # Note this is only for shared objects.
115158 ac_ld_relro=no
115159 if test x"$with_gnu_ld" = x"yes"; then
115160 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115161 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115162 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115163 if test -n "$cxx_z_relo"; then
115164 OPT_LDFLAGS="-Wl,-z,relro"
115165 ac_ld_relro=yes
115167 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115168 echo "${ECHO_T}$ac_ld_relro" >&6
115171 # Set linker optimization flags.
115172 if test x"$with_gnu_ld" = x"yes"; then
115173 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115181 echo "$as_me:$LINENO: checking for main in -lm" >&5
115182 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
115183 if test "${ac_cv_lib_m_main+set}" = set; then
115184 echo $ECHO_N "(cached) $ECHO_C" >&6
115186 ac_check_lib_save_LIBS=$LIBS
115187 LIBS="-lm $LIBS"
115188 if test x$gcc_no_link = xyes; then
115189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115191 { (exit 1); exit 1; }; }
115193 cat >conftest.$ac_ext <<_ACEOF
115194 /* confdefs.h. */
115195 _ACEOF
115196 cat confdefs.h >>conftest.$ac_ext
115197 cat >>conftest.$ac_ext <<_ACEOF
115198 /* end confdefs.h. */
115202 main ()
115204 main ();
115206 return 0;
115208 _ACEOF
115209 rm -f conftest.$ac_objext conftest$ac_exeext
115210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115211 (eval $ac_link) 2>conftest.er1
115212 ac_status=$?
115213 grep -v '^ *+' conftest.er1 >conftest.err
115214 rm -f conftest.er1
115215 cat conftest.err >&5
115216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115217 (exit $ac_status); } &&
115218 { ac_try='test -z "$ac_c_werror_flag"
115219 || test ! -s conftest.err'
115220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115221 (eval $ac_try) 2>&5
115222 ac_status=$?
115223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115224 (exit $ac_status); }; } &&
115225 { ac_try='test -s conftest$ac_exeext'
115226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115227 (eval $ac_try) 2>&5
115228 ac_status=$?
115229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115230 (exit $ac_status); }; }; then
115231 ac_cv_lib_m_main=yes
115233 echo "$as_me: failed program was:" >&5
115234 sed 's/^/| /' conftest.$ac_ext >&5
115236 ac_cv_lib_m_main=no
115238 rm -f conftest.err conftest.$ac_objext \
115239 conftest$ac_exeext conftest.$ac_ext
115240 LIBS=$ac_check_lib_save_LIBS
115242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
115243 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
115244 if test $ac_cv_lib_m_main = yes; then
115245 cat >>confdefs.h <<_ACEOF
115246 #define HAVE_LIBM 1
115247 _ACEOF
115249 LIBS="-lm $LIBS"
115254 for ac_func in copysignf
115256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115257 echo "$as_me:$LINENO: checking for $ac_func" >&5
115258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115259 if eval "test \"\${$as_ac_var+set}\" = set"; then
115260 echo $ECHO_N "(cached) $ECHO_C" >&6
115262 if test x$gcc_no_link = xyes; then
115263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115265 { (exit 1); exit 1; }; }
115267 cat >conftest.$ac_ext <<_ACEOF
115268 /* confdefs.h. */
115269 _ACEOF
115270 cat confdefs.h >>conftest.$ac_ext
115271 cat >>conftest.$ac_ext <<_ACEOF
115272 /* end confdefs.h. */
115273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115275 #define $ac_func innocuous_$ac_func
115277 /* System header to define __stub macros and hopefully few prototypes,
115278 which can conflict with char $ac_func (); below.
115279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115280 <limits.h> exists even on freestanding compilers. */
115282 #ifdef __STDC__
115283 # include <limits.h>
115284 #else
115285 # include <assert.h>
115286 #endif
115288 #undef $ac_func
115290 /* Override any gcc2 internal prototype to avoid an error. */
115291 #ifdef __cplusplus
115292 extern "C"
115294 #endif
115295 /* We use char because int might match the return type of a gcc2
115296 builtin and then its argument prototype would still apply. */
115297 char $ac_func ();
115298 /* The GNU C library defines this for functions which it implements
115299 to always fail with ENOSYS. Some functions are actually named
115300 something starting with __ and the normal name is an alias. */
115301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115302 choke me
115303 #else
115304 char (*f) () = $ac_func;
115305 #endif
115306 #ifdef __cplusplus
115308 #endif
115311 main ()
115313 return f != $ac_func;
115315 return 0;
115317 _ACEOF
115318 rm -f conftest.$ac_objext conftest$ac_exeext
115319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115320 (eval $ac_link) 2>conftest.er1
115321 ac_status=$?
115322 grep -v '^ *+' conftest.er1 >conftest.err
115323 rm -f conftest.er1
115324 cat conftest.err >&5
115325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115326 (exit $ac_status); } &&
115327 { ac_try='test -z "$ac_c_werror_flag"
115328 || test ! -s conftest.err'
115329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115330 (eval $ac_try) 2>&5
115331 ac_status=$?
115332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115333 (exit $ac_status); }; } &&
115334 { ac_try='test -s conftest$ac_exeext'
115335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115336 (eval $ac_try) 2>&5
115337 ac_status=$?
115338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115339 (exit $ac_status); }; }; then
115340 eval "$as_ac_var=yes"
115342 echo "$as_me: failed program was:" >&5
115343 sed 's/^/| /' conftest.$ac_ext >&5
115345 eval "$as_ac_var=no"
115347 rm -f conftest.err conftest.$ac_objext \
115348 conftest$ac_exeext conftest.$ac_ext
115350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115352 if test `eval echo '${'$as_ac_var'}'` = yes; then
115353 cat >>confdefs.h <<_ACEOF
115354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115355 _ACEOF
115358 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
115364 for ac_func in __signbit
115366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115367 echo "$as_me:$LINENO: checking for $ac_func" >&5
115368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115369 if eval "test \"\${$as_ac_var+set}\" = set"; then
115370 echo $ECHO_N "(cached) $ECHO_C" >&6
115372 if test x$gcc_no_link = xyes; then
115373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115375 { (exit 1); exit 1; }; }
115377 cat >conftest.$ac_ext <<_ACEOF
115378 /* confdefs.h. */
115379 _ACEOF
115380 cat confdefs.h >>conftest.$ac_ext
115381 cat >>conftest.$ac_ext <<_ACEOF
115382 /* end confdefs.h. */
115383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115385 #define $ac_func innocuous_$ac_func
115387 /* System header to define __stub macros and hopefully few prototypes,
115388 which can conflict with char $ac_func (); below.
115389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115390 <limits.h> exists even on freestanding compilers. */
115392 #ifdef __STDC__
115393 # include <limits.h>
115394 #else
115395 # include <assert.h>
115396 #endif
115398 #undef $ac_func
115400 /* Override any gcc2 internal prototype to avoid an error. */
115401 #ifdef __cplusplus
115402 extern "C"
115404 #endif
115405 /* We use char because int might match the return type of a gcc2
115406 builtin and then its argument prototype would still apply. */
115407 char $ac_func ();
115408 /* The GNU C library defines this for functions which it implements
115409 to always fail with ENOSYS. Some functions are actually named
115410 something starting with __ and the normal name is an alias. */
115411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115412 choke me
115413 #else
115414 char (*f) () = $ac_func;
115415 #endif
115416 #ifdef __cplusplus
115418 #endif
115421 main ()
115423 return f != $ac_func;
115425 return 0;
115427 _ACEOF
115428 rm -f conftest.$ac_objext conftest$ac_exeext
115429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115430 (eval $ac_link) 2>conftest.er1
115431 ac_status=$?
115432 grep -v '^ *+' conftest.er1 >conftest.err
115433 rm -f conftest.er1
115434 cat conftest.err >&5
115435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115436 (exit $ac_status); } &&
115437 { ac_try='test -z "$ac_c_werror_flag"
115438 || test ! -s conftest.err'
115439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115440 (eval $ac_try) 2>&5
115441 ac_status=$?
115442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115443 (exit $ac_status); }; } &&
115444 { ac_try='test -s conftest$ac_exeext'
115445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115446 (eval $ac_try) 2>&5
115447 ac_status=$?
115448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115449 (exit $ac_status); }; }; then
115450 eval "$as_ac_var=yes"
115452 echo "$as_me: failed program was:" >&5
115453 sed 's/^/| /' conftest.$ac_ext >&5
115455 eval "$as_ac_var=no"
115457 rm -f conftest.err conftest.$ac_objext \
115458 conftest$ac_exeext conftest.$ac_ext
115460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115462 if test `eval echo '${'$as_ac_var'}'` = yes; then
115463 cat >>confdefs.h <<_ACEOF
115464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115465 _ACEOF
115468 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
115474 for ac_func in __signbitf
115476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115477 echo "$as_me:$LINENO: checking for $ac_func" >&5
115478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115479 if eval "test \"\${$as_ac_var+set}\" = set"; then
115480 echo $ECHO_N "(cached) $ECHO_C" >&6
115482 if test x$gcc_no_link = xyes; then
115483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115485 { (exit 1); exit 1; }; }
115487 cat >conftest.$ac_ext <<_ACEOF
115488 /* confdefs.h. */
115489 _ACEOF
115490 cat confdefs.h >>conftest.$ac_ext
115491 cat >>conftest.$ac_ext <<_ACEOF
115492 /* end confdefs.h. */
115493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115495 #define $ac_func innocuous_$ac_func
115497 /* System header to define __stub macros and hopefully few prototypes,
115498 which can conflict with char $ac_func (); below.
115499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115500 <limits.h> exists even on freestanding compilers. */
115502 #ifdef __STDC__
115503 # include <limits.h>
115504 #else
115505 # include <assert.h>
115506 #endif
115508 #undef $ac_func
115510 /* Override any gcc2 internal prototype to avoid an error. */
115511 #ifdef __cplusplus
115512 extern "C"
115514 #endif
115515 /* We use char because int might match the return type of a gcc2
115516 builtin and then its argument prototype would still apply. */
115517 char $ac_func ();
115518 /* The GNU C library defines this for functions which it implements
115519 to always fail with ENOSYS. Some functions are actually named
115520 something starting with __ and the normal name is an alias. */
115521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115522 choke me
115523 #else
115524 char (*f) () = $ac_func;
115525 #endif
115526 #ifdef __cplusplus
115528 #endif
115531 main ()
115533 return f != $ac_func;
115535 return 0;
115537 _ACEOF
115538 rm -f conftest.$ac_objext conftest$ac_exeext
115539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115540 (eval $ac_link) 2>conftest.er1
115541 ac_status=$?
115542 grep -v '^ *+' conftest.er1 >conftest.err
115543 rm -f conftest.er1
115544 cat conftest.err >&5
115545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115546 (exit $ac_status); } &&
115547 { ac_try='test -z "$ac_c_werror_flag"
115548 || test ! -s conftest.err'
115549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115550 (eval $ac_try) 2>&5
115551 ac_status=$?
115552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115553 (exit $ac_status); }; } &&
115554 { ac_try='test -s conftest$ac_exeext'
115555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115556 (eval $ac_try) 2>&5
115557 ac_status=$?
115558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115559 (exit $ac_status); }; }; then
115560 eval "$as_ac_var=yes"
115562 echo "$as_me: failed program was:" >&5
115563 sed 's/^/| /' conftest.$ac_ext >&5
115565 eval "$as_ac_var=no"
115567 rm -f conftest.err conftest.$ac_objext \
115568 conftest$ac_exeext conftest.$ac_ext
115570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115572 if test `eval echo '${'$as_ac_var'}'` = yes; then
115573 cat >>confdefs.h <<_ACEOF
115574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115575 _ACEOF
115578 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115583 if test x$ac_cv_func_copysignl = x"yes"; then
115585 for ac_func in __signbitl
115587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115588 echo "$as_me:$LINENO: checking for $ac_func" >&5
115589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115590 if eval "test \"\${$as_ac_var+set}\" = set"; then
115591 echo $ECHO_N "(cached) $ECHO_C" >&6
115593 if test x$gcc_no_link = xyes; then
115594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115596 { (exit 1); exit 1; }; }
115598 cat >conftest.$ac_ext <<_ACEOF
115599 /* confdefs.h. */
115600 _ACEOF
115601 cat confdefs.h >>conftest.$ac_ext
115602 cat >>conftest.$ac_ext <<_ACEOF
115603 /* end confdefs.h. */
115604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115606 #define $ac_func innocuous_$ac_func
115608 /* System header to define __stub macros and hopefully few prototypes,
115609 which can conflict with char $ac_func (); below.
115610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115611 <limits.h> exists even on freestanding compilers. */
115613 #ifdef __STDC__
115614 # include <limits.h>
115615 #else
115616 # include <assert.h>
115617 #endif
115619 #undef $ac_func
115621 /* Override any gcc2 internal prototype to avoid an error. */
115622 #ifdef __cplusplus
115623 extern "C"
115625 #endif
115626 /* We use char because int might match the return type of a gcc2
115627 builtin and then its argument prototype would still apply. */
115628 char $ac_func ();
115629 /* The GNU C library defines this for functions which it implements
115630 to always fail with ENOSYS. Some functions are actually named
115631 something starting with __ and the normal name is an alias. */
115632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115633 choke me
115634 #else
115635 char (*f) () = $ac_func;
115636 #endif
115637 #ifdef __cplusplus
115639 #endif
115642 main ()
115644 return f != $ac_func;
115646 return 0;
115648 _ACEOF
115649 rm -f conftest.$ac_objext conftest$ac_exeext
115650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115651 (eval $ac_link) 2>conftest.er1
115652 ac_status=$?
115653 grep -v '^ *+' conftest.er1 >conftest.err
115654 rm -f conftest.er1
115655 cat conftest.err >&5
115656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115657 (exit $ac_status); } &&
115658 { ac_try='test -z "$ac_c_werror_flag"
115659 || test ! -s conftest.err'
115660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115661 (eval $ac_try) 2>&5
115662 ac_status=$?
115663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115664 (exit $ac_status); }; } &&
115665 { ac_try='test -s conftest$ac_exeext'
115666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115667 (eval $ac_try) 2>&5
115668 ac_status=$?
115669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115670 (exit $ac_status); }; }; then
115671 eval "$as_ac_var=yes"
115673 echo "$as_me: failed program was:" >&5
115674 sed 's/^/| /' conftest.$ac_ext >&5
115676 eval "$as_ac_var=no"
115678 rm -f conftest.err conftest.$ac_objext \
115679 conftest$ac_exeext conftest.$ac_ext
115681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115683 if test `eval echo '${'$as_ac_var'}'` = yes; then
115684 cat >>confdefs.h <<_ACEOF
115685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115686 _ACEOF
115689 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115695 # Used in libmath/Makefile.am.
115696 if test -n "$LIBMATHOBJS"; then
115697 need_libmath=yes
115701 cat >>confdefs.h <<\_ACEOF
115702 #define HAVE_COPYSIGN 1
115703 _ACEOF
115705 cat >>confdefs.h <<\_ACEOF
115706 #define HAVE_COPYSIGNF 1
115707 _ACEOF
115709 cat >>confdefs.h <<\_ACEOF
115710 #define HAVE_FINITE 1
115711 _ACEOF
115713 cat >>confdefs.h <<\_ACEOF
115714 #define HAVE_FINITEF 1
115715 _ACEOF
115717 cat >>confdefs.h <<\_ACEOF
115718 #define HAVE_FREXPF 1
115719 _ACEOF
115721 cat >>confdefs.h <<\_ACEOF
115722 #define HAVE_HYPOTF 1
115723 _ACEOF
115725 cat >>confdefs.h <<\_ACEOF
115726 #define HAVE_ISINF 1
115727 _ACEOF
115729 cat >>confdefs.h <<\_ACEOF
115730 #define HAVE_ISINFF 1
115731 _ACEOF
115733 cat >>confdefs.h <<\_ACEOF
115734 #define HAVE_ISNAN 1
115735 _ACEOF
115737 cat >>confdefs.h <<\_ACEOF
115738 #define HAVE_ISNANF 1
115739 _ACEOF
115741 cat >>confdefs.h <<\_ACEOF
115742 #define HAVE_SINCOS 1
115743 _ACEOF
115745 cat >>confdefs.h <<\_ACEOF
115746 #define HAVE_SINCOSF 1
115747 _ACEOF
115749 if test x"long_double_math_on_this_cpu" = x"yes"; then
115750 cat >>confdefs.h <<\_ACEOF
115751 #define HAVE_FINITEL 1
115752 _ACEOF
115754 cat >>confdefs.h <<\_ACEOF
115755 #define HAVE_HYPOTL 1
115756 _ACEOF
115758 cat >>confdefs.h <<\_ACEOF
115759 #define HAVE_ISINFL 1
115760 _ACEOF
115762 cat >>confdefs.h <<\_ACEOF
115763 #define HAVE_ISNANL 1
115764 _ACEOF
115768 *-vxworks)
115769 cat >>confdefs.h <<\_ACEOF
115770 #define HAVE_MMAP 1
115771 _ACEOF
115773 cat >>confdefs.h <<\_ACEOF
115774 #define HAVE_ACOSF 1
115775 _ACEOF
115777 cat >>confdefs.h <<\_ACEOF
115778 #define HAVE_ASINF 1
115779 _ACEOF
115781 cat >>confdefs.h <<\_ACEOF
115782 #define HAVE_ATAN2F 1
115783 _ACEOF
115785 cat >>confdefs.h <<\_ACEOF
115786 #define HAVE_ATANF 1
115787 _ACEOF
115789 cat >>confdefs.h <<\_ACEOF
115790 #define HAVE_CEILF 1
115791 _ACEOF
115793 cat >>confdefs.h <<\_ACEOF
115794 #define HAVE_COSF 1
115795 _ACEOF
115797 cat >>confdefs.h <<\_ACEOF
115798 #define HAVE_COSHF 1
115799 _ACEOF
115801 cat >>confdefs.h <<\_ACEOF
115802 #define HAVE_EXPF 1
115803 _ACEOF
115805 cat >>confdefs.h <<\_ACEOF
115806 #define HAVE_FABSF 1
115807 _ACEOF
115809 cat >>confdefs.h <<\_ACEOF
115810 #define HAVE_FLOORF 1
115811 _ACEOF
115813 cat >>confdefs.h <<\_ACEOF
115814 #define HAVE_FMODF 1
115815 _ACEOF
115817 cat >>confdefs.h <<\_ACEOF
115818 #define HAVE_HYPOT 1
115819 _ACEOF
115821 cat >>confdefs.h <<\_ACEOF
115822 #define HAVE_LOG10F 1
115823 _ACEOF
115825 cat >>confdefs.h <<\_ACEOF
115826 #define HAVE_LOGF 1
115827 _ACEOF
115829 cat >>confdefs.h <<\_ACEOF
115830 #define HAVE_POWF 1
115831 _ACEOF
115833 cat >>confdefs.h <<\_ACEOF
115834 #define HAVE_SINF 1
115835 _ACEOF
115837 cat >>confdefs.h <<\_ACEOF
115838 #define HAVE_SINHF 1
115839 _ACEOF
115841 cat >>confdefs.h <<\_ACEOF
115842 #define HAVE_SQRTF 1
115843 _ACEOF
115845 cat >>confdefs.h <<\_ACEOF
115846 #define HAVE_TANF 1
115847 _ACEOF
115849 cat >>confdefs.h <<\_ACEOF
115850 #define HAVE_TANHF 1
115851 _ACEOF
115855 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115856 echo "$as_me: error: No support for this host/target combination." >&2;}
115857 { (exit 1); exit 1; }; }
115863 # At some point, we should differentiate between architectures
115864 # like x86, which have long double versions, and alpha/powerpc/etc.,
115865 # which don't. For the time being, punt.
115866 if test x"long_double_math_on_this_cpu" = x"yes"; then
115867 cat >>confdefs.h <<\_ACEOF
115868 #define HAVE_ACOSL 1
115869 _ACEOF
115871 cat >>confdefs.h <<\_ACEOF
115872 #define HAVE_ASINL 1
115873 _ACEOF
115875 cat >>confdefs.h <<\_ACEOF
115876 #define HAVE_ATAN2L 1
115877 _ACEOF
115879 cat >>confdefs.h <<\_ACEOF
115880 #define HAVE_ATANL 1
115881 _ACEOF
115883 cat >>confdefs.h <<\_ACEOF
115884 #define HAVE_CEILL 1
115885 _ACEOF
115887 cat >>confdefs.h <<\_ACEOF
115888 #define HAVE_COPYSIGNL 1
115889 _ACEOF
115891 cat >>confdefs.h <<\_ACEOF
115892 #define HAVE_COSL 1
115893 _ACEOF
115895 cat >>confdefs.h <<\_ACEOF
115896 #define HAVE_COSHL 1
115897 _ACEOF
115899 cat >>confdefs.h <<\_ACEOF
115900 #define HAVE_EXPL 1
115901 _ACEOF
115903 cat >>confdefs.h <<\_ACEOF
115904 #define HAVE_FABSL 1
115905 _ACEOF
115907 cat >>confdefs.h <<\_ACEOF
115908 #define HAVE_FLOORL 1
115909 _ACEOF
115911 cat >>confdefs.h <<\_ACEOF
115912 #define HAVE_FMODL 1
115913 _ACEOF
115915 cat >>confdefs.h <<\_ACEOF
115916 #define HAVE_FREXPL 1
115917 _ACEOF
115919 cat >>confdefs.h <<\_ACEOF
115920 #define HAVE_LDEXPL 1
115921 _ACEOF
115923 cat >>confdefs.h <<\_ACEOF
115924 #define HAVE_LOG10L 1
115925 _ACEOF
115927 cat >>confdefs.h <<\_ACEOF
115928 #define HAVE_LOGL 1
115929 _ACEOF
115931 cat >>confdefs.h <<\_ACEOF
115932 #define HAVE_MODFL 1
115933 _ACEOF
115935 cat >>confdefs.h <<\_ACEOF
115936 #define HAVE_POWL 1
115937 _ACEOF
115939 cat >>confdefs.h <<\_ACEOF
115940 #define HAVE_SINCOSL 1
115941 _ACEOF
115943 cat >>confdefs.h <<\_ACEOF
115944 #define HAVE_SINL 1
115945 _ACEOF
115947 cat >>confdefs.h <<\_ACEOF
115948 #define HAVE_SINHL 1
115949 _ACEOF
115951 cat >>confdefs.h <<\_ACEOF
115952 #define HAVE_SQRTL 1
115953 _ACEOF
115955 cat >>confdefs.h <<\_ACEOF
115956 #define HAVE_TANL 1
115957 _ACEOF
115959 cat >>confdefs.h <<\_ACEOF
115960 #define HAVE_TANHL 1
115961 _ACEOF
115965 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115966 cat >>confdefs.h <<\_ACEOF
115967 #define HAVE_GETIPINFO 1
115968 _ACEOF
115972 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115973 if test "${enable_linux_futex+set}" = set; then
115974 enableval="$enable_linux_futex"
115976 case "$enableval" in
115977 yes|no|default) ;;
115978 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115979 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115980 { (exit 1); exit 1; }; } ;;
115984 enable_linux_futex=default
115987 case "$target" in
115988 *-linux*)
115989 case "$enable_linux_futex" in
115990 default)
115991 # If headers don't have gettid/futex syscalls definition, then
115992 # default to no, otherwise there will be compile time failures.
115993 # Otherwise, default to yes. If we don't detect we are
115994 # compiled/linked against NPTL and not cross-compiling, check
115995 # if programs are run by default against NPTL and if not, issue
115996 # a warning.
115997 enable_linux_futex=no
115998 if test x$gcc_no_link = xyes; then
115999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116001 { (exit 1); exit 1; }; }
116003 cat >conftest.$ac_ext <<_ACEOF
116004 /* confdefs.h. */
116005 _ACEOF
116006 cat confdefs.h >>conftest.$ac_ext
116007 cat >>conftest.$ac_ext <<_ACEOF
116008 /* end confdefs.h. */
116009 #include <sys/syscall.h>
116010 int lk;
116012 main ()
116014 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116016 return 0;
116018 _ACEOF
116019 rm -f conftest.$ac_objext conftest$ac_exeext
116020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116021 (eval $ac_link) 2>conftest.er1
116022 ac_status=$?
116023 grep -v '^ *+' conftest.er1 >conftest.err
116024 rm -f conftest.er1
116025 cat conftest.err >&5
116026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116027 (exit $ac_status); } &&
116028 { ac_try='test -z "$ac_c_werror_flag"
116029 || test ! -s conftest.err'
116030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116031 (eval $ac_try) 2>&5
116032 ac_status=$?
116033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116034 (exit $ac_status); }; } &&
116035 { ac_try='test -s conftest$ac_exeext'
116036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116037 (eval $ac_try) 2>&5
116038 ac_status=$?
116039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116040 (exit $ac_status); }; }; then
116041 save_LIBS="$LIBS"
116042 LIBS="-lpthread $LIBS"
116043 if test x$gcc_no_link = xyes; then
116044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116046 { (exit 1); exit 1; }; }
116048 cat >conftest.$ac_ext <<_ACEOF
116049 /* confdefs.h. */
116050 _ACEOF
116051 cat confdefs.h >>conftest.$ac_ext
116052 cat >>conftest.$ac_ext <<_ACEOF
116053 /* end confdefs.h. */
116054 #ifndef _GNU_SOURCE
116055 #define _GNU_SOURCE 1
116056 #endif
116057 #include <pthread.h>
116058 pthread_t th; void *status;
116060 main ()
116062 pthread_tryjoin_np (th, &status);
116064 return 0;
116066 _ACEOF
116067 rm -f conftest.$ac_objext conftest$ac_exeext
116068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116069 (eval $ac_link) 2>conftest.er1
116070 ac_status=$?
116071 grep -v '^ *+' conftest.er1 >conftest.err
116072 rm -f conftest.er1
116073 cat conftest.err >&5
116074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116075 (exit $ac_status); } &&
116076 { ac_try='test -z "$ac_c_werror_flag"
116077 || test ! -s conftest.err'
116078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116079 (eval $ac_try) 2>&5
116080 ac_status=$?
116081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116082 (exit $ac_status); }; } &&
116083 { ac_try='test -s conftest$ac_exeext'
116084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116085 (eval $ac_try) 2>&5
116086 ac_status=$?
116087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116088 (exit $ac_status); }; }; then
116089 enable_linux_futex=yes
116091 echo "$as_me: failed program was:" >&5
116092 sed 's/^/| /' conftest.$ac_ext >&5
116094 if test x$cross_compiling = xno; then
116095 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
116096 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
116097 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
116098 If so, please configure with --disable-linux-futex" >&5
116099 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
116100 If so, please configure with --disable-linux-futex" >&2;}
116103 enable_linux_futex=yes
116105 rm -f conftest.err conftest.$ac_objext \
116106 conftest$ac_exeext conftest.$ac_ext
116107 LIBS="$save_LIBS"
116109 echo "$as_me: failed program was:" >&5
116110 sed 's/^/| /' conftest.$ac_ext >&5
116113 rm -f conftest.err conftest.$ac_objext \
116114 conftest$ac_exeext conftest.$ac_ext
116117 if test x$gcc_no_link = xyes; then
116118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116120 { (exit 1); exit 1; }; }
116122 cat >conftest.$ac_ext <<_ACEOF
116123 /* confdefs.h. */
116124 _ACEOF
116125 cat confdefs.h >>conftest.$ac_ext
116126 cat >>conftest.$ac_ext <<_ACEOF
116127 /* end confdefs.h. */
116128 #include <sys/syscall.h>
116129 int lk;
116131 main ()
116133 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116135 return 0;
116137 _ACEOF
116138 rm -f conftest.$ac_objext conftest$ac_exeext
116139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116140 (eval $ac_link) 2>conftest.er1
116141 ac_status=$?
116142 grep -v '^ *+' conftest.er1 >conftest.err
116143 rm -f conftest.er1
116144 cat conftest.err >&5
116145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116146 (exit $ac_status); } &&
116147 { ac_try='test -z "$ac_c_werror_flag"
116148 || test ! -s conftest.err'
116149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116150 (eval $ac_try) 2>&5
116151 ac_status=$?
116152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116153 (exit $ac_status); }; } &&
116154 { ac_try='test -s conftest$ac_exeext'
116155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116156 (eval $ac_try) 2>&5
116157 ac_status=$?
116158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116159 (exit $ac_status); }; }; then
116162 echo "$as_me: failed program was:" >&5
116163 sed 's/^/| /' conftest.$ac_ext >&5
116165 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
116166 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
116167 { (exit 1); exit 1; }; }
116169 rm -f conftest.err conftest.$ac_objext \
116170 conftest$ac_exeext conftest.$ac_ext
116175 enable_linux_futex=no
116178 if test x$enable_linux_futex = xyes; then
116180 cat >>confdefs.h <<\_ACEOF
116181 #define HAVE_LINUX_FUTEX 1
116182 _ACEOF
116189 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
116191 acx_cv_header_stdint=stddef.h
116192 acx_cv_header_stdint_kind="(already complete)"
116193 for i in stdint.h $inttype_headers; do
116194 unset ac_cv_type_uintptr_t
116195 unset ac_cv_type_uintmax_t
116196 unset ac_cv_type_int_least32_t
116197 unset ac_cv_type_int_fast32_t
116198 unset ac_cv_type_uint64_t
116199 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
116200 echo "$as_me:$LINENO: checking for uintmax_t" >&5
116201 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
116202 if test "${ac_cv_type_uintmax_t+set}" = set; then
116203 echo $ECHO_N "(cached) $ECHO_C" >&6
116205 cat >conftest.$ac_ext <<_ACEOF
116206 /* confdefs.h. */
116207 _ACEOF
116208 cat confdefs.h >>conftest.$ac_ext
116209 cat >>conftest.$ac_ext <<_ACEOF
116210 /* end confdefs.h. */
116211 #include <sys/types.h>
116212 #include <$i>
116215 main ()
116217 if ((uintmax_t *) 0)
116218 return 0;
116219 if (sizeof (uintmax_t))
116220 return 0;
116222 return 0;
116224 _ACEOF
116225 rm -f conftest.$ac_objext
116226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116227 (eval $ac_compile) 2>conftest.er1
116228 ac_status=$?
116229 grep -v '^ *+' conftest.er1 >conftest.err
116230 rm -f conftest.er1
116231 cat conftest.err >&5
116232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116233 (exit $ac_status); } &&
116234 { ac_try='test -z "$ac_c_werror_flag"
116235 || test ! -s conftest.err'
116236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116237 (eval $ac_try) 2>&5
116238 ac_status=$?
116239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116240 (exit $ac_status); }; } &&
116241 { ac_try='test -s conftest.$ac_objext'
116242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116243 (eval $ac_try) 2>&5
116244 ac_status=$?
116245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116246 (exit $ac_status); }; }; then
116247 ac_cv_type_uintmax_t=yes
116249 echo "$as_me: failed program was:" >&5
116250 sed 's/^/| /' conftest.$ac_ext >&5
116252 ac_cv_type_uintmax_t=no
116254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116256 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
116257 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
116258 if test $ac_cv_type_uintmax_t = yes; then
116259 acx_cv_header_stdint=$i
116261 continue
116264 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116265 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116266 if test "${ac_cv_type_uintptr_t+set}" = set; then
116267 echo $ECHO_N "(cached) $ECHO_C" >&6
116269 cat >conftest.$ac_ext <<_ACEOF
116270 /* confdefs.h. */
116271 _ACEOF
116272 cat confdefs.h >>conftest.$ac_ext
116273 cat >>conftest.$ac_ext <<_ACEOF
116274 /* end confdefs.h. */
116275 #include <sys/types.h>
116276 #include <$i>
116279 main ()
116281 if ((uintptr_t *) 0)
116282 return 0;
116283 if (sizeof (uintptr_t))
116284 return 0;
116286 return 0;
116288 _ACEOF
116289 rm -f conftest.$ac_objext
116290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116291 (eval $ac_compile) 2>conftest.er1
116292 ac_status=$?
116293 grep -v '^ *+' conftest.er1 >conftest.err
116294 rm -f conftest.er1
116295 cat conftest.err >&5
116296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116297 (exit $ac_status); } &&
116298 { ac_try='test -z "$ac_c_werror_flag"
116299 || test ! -s conftest.err'
116300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116301 (eval $ac_try) 2>&5
116302 ac_status=$?
116303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116304 (exit $ac_status); }; } &&
116305 { ac_try='test -s conftest.$ac_objext'
116306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116307 (eval $ac_try) 2>&5
116308 ac_status=$?
116309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116310 (exit $ac_status); }; }; then
116311 ac_cv_type_uintptr_t=yes
116313 echo "$as_me: failed program was:" >&5
116314 sed 's/^/| /' conftest.$ac_ext >&5
116316 ac_cv_type_uintptr_t=no
116318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116320 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116321 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116322 if test $ac_cv_type_uintptr_t = yes; then
116325 acx_cv_header_stdint_kind="(mostly complete)"
116328 echo "$as_me:$LINENO: checking for int_least32_t" >&5
116329 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116330 if test "${ac_cv_type_int_least32_t+set}" = set; then
116331 echo $ECHO_N "(cached) $ECHO_C" >&6
116333 cat >conftest.$ac_ext <<_ACEOF
116334 /* confdefs.h. */
116335 _ACEOF
116336 cat confdefs.h >>conftest.$ac_ext
116337 cat >>conftest.$ac_ext <<_ACEOF
116338 /* end confdefs.h. */
116339 #include <sys/types.h>
116340 #include <$i>
116343 main ()
116345 if ((int_least32_t *) 0)
116346 return 0;
116347 if (sizeof (int_least32_t))
116348 return 0;
116350 return 0;
116352 _ACEOF
116353 rm -f conftest.$ac_objext
116354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116355 (eval $ac_compile) 2>conftest.er1
116356 ac_status=$?
116357 grep -v '^ *+' conftest.er1 >conftest.err
116358 rm -f conftest.er1
116359 cat conftest.err >&5
116360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116361 (exit $ac_status); } &&
116362 { ac_try='test -z "$ac_c_werror_flag"
116363 || test ! -s conftest.err'
116364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116365 (eval $ac_try) 2>&5
116366 ac_status=$?
116367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116368 (exit $ac_status); }; } &&
116369 { ac_try='test -s conftest.$ac_objext'
116370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116371 (eval $ac_try) 2>&5
116372 ac_status=$?
116373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116374 (exit $ac_status); }; }; then
116375 ac_cv_type_int_least32_t=yes
116377 echo "$as_me: failed program was:" >&5
116378 sed 's/^/| /' conftest.$ac_ext >&5
116380 ac_cv_type_int_least32_t=no
116382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116384 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116385 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116386 if test $ac_cv_type_int_least32_t = yes; then
116389 acx_cv_header_stdint_kind="(mostly complete)"
116392 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116393 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116394 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116395 echo $ECHO_N "(cached) $ECHO_C" >&6
116397 cat >conftest.$ac_ext <<_ACEOF
116398 /* confdefs.h. */
116399 _ACEOF
116400 cat confdefs.h >>conftest.$ac_ext
116401 cat >>conftest.$ac_ext <<_ACEOF
116402 /* end confdefs.h. */
116403 #include <sys/types.h>
116404 #include <$i>
116407 main ()
116409 if ((int_fast32_t *) 0)
116410 return 0;
116411 if (sizeof (int_fast32_t))
116412 return 0;
116414 return 0;
116416 _ACEOF
116417 rm -f conftest.$ac_objext
116418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116419 (eval $ac_compile) 2>conftest.er1
116420 ac_status=$?
116421 grep -v '^ *+' conftest.er1 >conftest.err
116422 rm -f conftest.er1
116423 cat conftest.err >&5
116424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116425 (exit $ac_status); } &&
116426 { ac_try='test -z "$ac_c_werror_flag"
116427 || test ! -s conftest.err'
116428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116429 (eval $ac_try) 2>&5
116430 ac_status=$?
116431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116432 (exit $ac_status); }; } &&
116433 { ac_try='test -s conftest.$ac_objext'
116434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116435 (eval $ac_try) 2>&5
116436 ac_status=$?
116437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116438 (exit $ac_status); }; }; then
116439 ac_cv_type_int_fast32_t=yes
116441 echo "$as_me: failed program was:" >&5
116442 sed 's/^/| /' conftest.$ac_ext >&5
116444 ac_cv_type_int_fast32_t=no
116446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116448 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
116449 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
116450 if test $ac_cv_type_int_fast32_t = yes; then
116453 acx_cv_header_stdint_kind="(mostly complete)"
116456 echo "$as_me:$LINENO: checking for uint64_t" >&5
116457 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116458 if test "${ac_cv_type_uint64_t+set}" = set; then
116459 echo $ECHO_N "(cached) $ECHO_C" >&6
116461 cat >conftest.$ac_ext <<_ACEOF
116462 /* confdefs.h. */
116463 _ACEOF
116464 cat confdefs.h >>conftest.$ac_ext
116465 cat >>conftest.$ac_ext <<_ACEOF
116466 /* end confdefs.h. */
116467 #include <sys/types.h>
116468 #include <$i>
116471 main ()
116473 if ((uint64_t *) 0)
116474 return 0;
116475 if (sizeof (uint64_t))
116476 return 0;
116478 return 0;
116480 _ACEOF
116481 rm -f conftest.$ac_objext
116482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116483 (eval $ac_compile) 2>conftest.er1
116484 ac_status=$?
116485 grep -v '^ *+' conftest.er1 >conftest.err
116486 rm -f conftest.er1
116487 cat conftest.err >&5
116488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116489 (exit $ac_status); } &&
116490 { ac_try='test -z "$ac_c_werror_flag"
116491 || test ! -s conftest.err'
116492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116493 (eval $ac_try) 2>&5
116494 ac_status=$?
116495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116496 (exit $ac_status); }; } &&
116497 { ac_try='test -s conftest.$ac_objext'
116498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116499 (eval $ac_try) 2>&5
116500 ac_status=$?
116501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116502 (exit $ac_status); }; }; then
116503 ac_cv_type_uint64_t=yes
116505 echo "$as_me: failed program was:" >&5
116506 sed 's/^/| /' conftest.$ac_ext >&5
116508 ac_cv_type_uint64_t=no
116510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116512 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116513 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116514 if test $ac_cv_type_uint64_t = yes; then
116517 acx_cv_header_stdint_kind="(lacks uint64_t)"
116520 break
116522 if test "$acx_cv_header_stdint" = stddef.h; then
116523 acx_cv_header_stdint_kind="(lacks uintmax_t)"
116524 for i in stdint.h $inttype_headers; do
116525 unset ac_cv_type_uintptr_t
116526 unset ac_cv_type_uint32_t
116527 unset ac_cv_type_uint64_t
116528 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
116529 echo "$as_me:$LINENO: checking for uint32_t" >&5
116530 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
116531 if test "${ac_cv_type_uint32_t+set}" = set; then
116532 echo $ECHO_N "(cached) $ECHO_C" >&6
116534 cat >conftest.$ac_ext <<_ACEOF
116535 /* confdefs.h. */
116536 _ACEOF
116537 cat confdefs.h >>conftest.$ac_ext
116538 cat >>conftest.$ac_ext <<_ACEOF
116539 /* end confdefs.h. */
116540 #include <sys/types.h>
116541 #include <$i>
116544 main ()
116546 if ((uint32_t *) 0)
116547 return 0;
116548 if (sizeof (uint32_t))
116549 return 0;
116551 return 0;
116553 _ACEOF
116554 rm -f conftest.$ac_objext
116555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116556 (eval $ac_compile) 2>conftest.er1
116557 ac_status=$?
116558 grep -v '^ *+' conftest.er1 >conftest.err
116559 rm -f conftest.er1
116560 cat conftest.err >&5
116561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116562 (exit $ac_status); } &&
116563 { ac_try='test -z "$ac_c_werror_flag"
116564 || test ! -s conftest.err'
116565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116566 (eval $ac_try) 2>&5
116567 ac_status=$?
116568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116569 (exit $ac_status); }; } &&
116570 { ac_try='test -s conftest.$ac_objext'
116571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116572 (eval $ac_try) 2>&5
116573 ac_status=$?
116574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116575 (exit $ac_status); }; }; then
116576 ac_cv_type_uint32_t=yes
116578 echo "$as_me: failed program was:" >&5
116579 sed 's/^/| /' conftest.$ac_ext >&5
116581 ac_cv_type_uint32_t=no
116583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116585 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
116586 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
116587 if test $ac_cv_type_uint32_t = yes; then
116588 acx_cv_header_stdint=$i
116590 continue
116593 echo "$as_me:$LINENO: checking for uint64_t" >&5
116594 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116595 if test "${ac_cv_type_uint64_t+set}" = set; then
116596 echo $ECHO_N "(cached) $ECHO_C" >&6
116598 cat >conftest.$ac_ext <<_ACEOF
116599 /* confdefs.h. */
116600 _ACEOF
116601 cat confdefs.h >>conftest.$ac_ext
116602 cat >>conftest.$ac_ext <<_ACEOF
116603 /* end confdefs.h. */
116604 #include <sys/types.h>
116605 #include <$i>
116608 main ()
116610 if ((uint64_t *) 0)
116611 return 0;
116612 if (sizeof (uint64_t))
116613 return 0;
116615 return 0;
116617 _ACEOF
116618 rm -f conftest.$ac_objext
116619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116620 (eval $ac_compile) 2>conftest.er1
116621 ac_status=$?
116622 grep -v '^ *+' conftest.er1 >conftest.err
116623 rm -f conftest.er1
116624 cat conftest.err >&5
116625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116626 (exit $ac_status); } &&
116627 { ac_try='test -z "$ac_c_werror_flag"
116628 || test ! -s conftest.err'
116629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116630 (eval $ac_try) 2>&5
116631 ac_status=$?
116632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116633 (exit $ac_status); }; } &&
116634 { ac_try='test -s conftest.$ac_objext'
116635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116636 (eval $ac_try) 2>&5
116637 ac_status=$?
116638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116639 (exit $ac_status); }; }; then
116640 ac_cv_type_uint64_t=yes
116642 echo "$as_me: failed program was:" >&5
116643 sed 's/^/| /' conftest.$ac_ext >&5
116645 ac_cv_type_uint64_t=no
116647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116649 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116650 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116652 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116653 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116654 if test "${ac_cv_type_uintptr_t+set}" = set; then
116655 echo $ECHO_N "(cached) $ECHO_C" >&6
116657 cat >conftest.$ac_ext <<_ACEOF
116658 /* confdefs.h. */
116659 _ACEOF
116660 cat confdefs.h >>conftest.$ac_ext
116661 cat >>conftest.$ac_ext <<_ACEOF
116662 /* end confdefs.h. */
116663 #include <sys/types.h>
116664 #include <$i>
116667 main ()
116669 if ((uintptr_t *) 0)
116670 return 0;
116671 if (sizeof (uintptr_t))
116672 return 0;
116674 return 0;
116676 _ACEOF
116677 rm -f conftest.$ac_objext
116678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116679 (eval $ac_compile) 2>conftest.er1
116680 ac_status=$?
116681 grep -v '^ *+' conftest.er1 >conftest.err
116682 rm -f conftest.er1
116683 cat conftest.err >&5
116684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116685 (exit $ac_status); } &&
116686 { ac_try='test -z "$ac_c_werror_flag"
116687 || test ! -s conftest.err'
116688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116689 (eval $ac_try) 2>&5
116690 ac_status=$?
116691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116692 (exit $ac_status); }; } &&
116693 { ac_try='test -s conftest.$ac_objext'
116694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116695 (eval $ac_try) 2>&5
116696 ac_status=$?
116697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116698 (exit $ac_status); }; }; then
116699 ac_cv_type_uintptr_t=yes
116701 echo "$as_me: failed program was:" >&5
116702 sed 's/^/| /' conftest.$ac_ext >&5
116704 ac_cv_type_uintptr_t=no
116706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116708 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116709 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116711 break
116714 if test "$acx_cv_header_stdint" = stddef.h; then
116715 acx_cv_header_stdint_kind="(u_intXX_t style)"
116716 for i in sys/types.h $inttype_headers; do
116717 unset ac_cv_type_u_int32_t
116718 unset ac_cv_type_u_int64_t
116719 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
116720 echo "$as_me:$LINENO: checking for u_int32_t" >&5
116721 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
116722 if test "${ac_cv_type_u_int32_t+set}" = set; then
116723 echo $ECHO_N "(cached) $ECHO_C" >&6
116725 cat >conftest.$ac_ext <<_ACEOF
116726 /* confdefs.h. */
116727 _ACEOF
116728 cat confdefs.h >>conftest.$ac_ext
116729 cat >>conftest.$ac_ext <<_ACEOF
116730 /* end confdefs.h. */
116731 #include <sys/types.h>
116732 #include <$i>
116735 main ()
116737 if ((u_int32_t *) 0)
116738 return 0;
116739 if (sizeof (u_int32_t))
116740 return 0;
116742 return 0;
116744 _ACEOF
116745 rm -f conftest.$ac_objext
116746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116747 (eval $ac_compile) 2>conftest.er1
116748 ac_status=$?
116749 grep -v '^ *+' conftest.er1 >conftest.err
116750 rm -f conftest.er1
116751 cat conftest.err >&5
116752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116753 (exit $ac_status); } &&
116754 { ac_try='test -z "$ac_c_werror_flag"
116755 || test ! -s conftest.err'
116756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116757 (eval $ac_try) 2>&5
116758 ac_status=$?
116759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116760 (exit $ac_status); }; } &&
116761 { ac_try='test -s conftest.$ac_objext'
116762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116763 (eval $ac_try) 2>&5
116764 ac_status=$?
116765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116766 (exit $ac_status); }; }; then
116767 ac_cv_type_u_int32_t=yes
116769 echo "$as_me: failed program was:" >&5
116770 sed 's/^/| /' conftest.$ac_ext >&5
116772 ac_cv_type_u_int32_t=no
116774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116776 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116777 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116778 if test $ac_cv_type_u_int32_t = yes; then
116779 acx_cv_header_stdint=$i
116781 continue
116784 echo "$as_me:$LINENO: checking for u_int64_t" >&5
116785 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116786 if test "${ac_cv_type_u_int64_t+set}" = set; then
116787 echo $ECHO_N "(cached) $ECHO_C" >&6
116789 cat >conftest.$ac_ext <<_ACEOF
116790 /* confdefs.h. */
116791 _ACEOF
116792 cat confdefs.h >>conftest.$ac_ext
116793 cat >>conftest.$ac_ext <<_ACEOF
116794 /* end confdefs.h. */
116795 #include <sys/types.h>
116796 #include <$i>
116799 main ()
116801 if ((u_int64_t *) 0)
116802 return 0;
116803 if (sizeof (u_int64_t))
116804 return 0;
116806 return 0;
116808 _ACEOF
116809 rm -f conftest.$ac_objext
116810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116811 (eval $ac_compile) 2>conftest.er1
116812 ac_status=$?
116813 grep -v '^ *+' conftest.er1 >conftest.err
116814 rm -f conftest.er1
116815 cat conftest.err >&5
116816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116817 (exit $ac_status); } &&
116818 { ac_try='test -z "$ac_c_werror_flag"
116819 || test ! -s conftest.err'
116820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116821 (eval $ac_try) 2>&5
116822 ac_status=$?
116823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116824 (exit $ac_status); }; } &&
116825 { ac_try='test -s conftest.$ac_objext'
116826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116827 (eval $ac_try) 2>&5
116828 ac_status=$?
116829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116830 (exit $ac_status); }; }; then
116831 ac_cv_type_u_int64_t=yes
116833 echo "$as_me: failed program was:" >&5
116834 sed 's/^/| /' conftest.$ac_ext >&5
116836 ac_cv_type_u_int64_t=no
116838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116840 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
116841 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
116843 break
116846 if test "$acx_cv_header_stdint" = stddef.h; then
116847 acx_cv_header_stdint_kind="(using manual detection)"
116850 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
116851 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
116852 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
116853 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
116854 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
116856 # ----------------- Summarize what we found so far
116858 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
116859 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
116861 case `$as_basename include/gstdint.h ||
116862 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
116863 Xinclude/gstdint.h : 'X\(//\)$' \| \
116864 Xinclude/gstdint.h : 'X\(/\)$' \| \
116865 . : '\(.\)' 2>/dev/null ||
116866 echo X/include/gstdint.h |
116867 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116868 /^X\/\(\/\/\)$/{ s//\1/; q; }
116869 /^X\/\(\/\).*/{ s//\1/; q; }
116870 s/.*/./; q'` in
116871 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116872 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116873 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116874 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116875 *) ;;
116878 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
116879 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
116881 # ----------------- done included file, check C basic types --------
116883 # Lacking an uintptr_t? Test size of void *
116884 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
116885 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
116886 echo $ECHO_N "checking for void *... $ECHO_C" >&6
116887 if test "${ac_cv_type_void_p+set}" = set; then
116888 echo $ECHO_N "(cached) $ECHO_C" >&6
116890 cat >conftest.$ac_ext <<_ACEOF
116891 /* confdefs.h. */
116892 _ACEOF
116893 cat confdefs.h >>conftest.$ac_ext
116894 cat >>conftest.$ac_ext <<_ACEOF
116895 /* end confdefs.h. */
116896 $ac_includes_default
116898 main ()
116900 if ((void * *) 0)
116901 return 0;
116902 if (sizeof (void *))
116903 return 0;
116905 return 0;
116907 _ACEOF
116908 rm -f conftest.$ac_objext
116909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116910 (eval $ac_compile) 2>conftest.er1
116911 ac_status=$?
116912 grep -v '^ *+' conftest.er1 >conftest.err
116913 rm -f conftest.er1
116914 cat conftest.err >&5
116915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116916 (exit $ac_status); } &&
116917 { ac_try='test -z "$ac_c_werror_flag"
116918 || test ! -s conftest.err'
116919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116920 (eval $ac_try) 2>&5
116921 ac_status=$?
116922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116923 (exit $ac_status); }; } &&
116924 { ac_try='test -s conftest.$ac_objext'
116925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116926 (eval $ac_try) 2>&5
116927 ac_status=$?
116928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116929 (exit $ac_status); }; }; then
116930 ac_cv_type_void_p=yes
116932 echo "$as_me: failed program was:" >&5
116933 sed 's/^/| /' conftest.$ac_ext >&5
116935 ac_cv_type_void_p=no
116937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116939 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
116940 echo "${ECHO_T}$ac_cv_type_void_p" >&6
116942 echo "$as_me:$LINENO: checking size of void *" >&5
116943 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
116944 if test "${ac_cv_sizeof_void_p+set}" = set; then
116945 echo $ECHO_N "(cached) $ECHO_C" >&6
116947 if test "$ac_cv_type_void_p" = yes; then
116948 # The cast to unsigned long works around a bug in the HP C Compiler
116949 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116950 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116951 # This bug is HP SR number 8606223364.
116952 if test "$cross_compiling" = yes; then
116953 # Depending upon the size, compute the lo and hi bounds.
116954 cat >conftest.$ac_ext <<_ACEOF
116955 /* confdefs.h. */
116956 _ACEOF
116957 cat confdefs.h >>conftest.$ac_ext
116958 cat >>conftest.$ac_ext <<_ACEOF
116959 /* end confdefs.h. */
116960 $ac_includes_default
116962 main ()
116964 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
116965 test_array [0] = 0
116968 return 0;
116970 _ACEOF
116971 rm -f conftest.$ac_objext
116972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116973 (eval $ac_compile) 2>conftest.er1
116974 ac_status=$?
116975 grep -v '^ *+' conftest.er1 >conftest.err
116976 rm -f conftest.er1
116977 cat conftest.err >&5
116978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116979 (exit $ac_status); } &&
116980 { ac_try='test -z "$ac_c_werror_flag"
116981 || test ! -s conftest.err'
116982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116983 (eval $ac_try) 2>&5
116984 ac_status=$?
116985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116986 (exit $ac_status); }; } &&
116987 { ac_try='test -s conftest.$ac_objext'
116988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116989 (eval $ac_try) 2>&5
116990 ac_status=$?
116991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116992 (exit $ac_status); }; }; then
116993 ac_lo=0 ac_mid=0
116994 while :; do
116995 cat >conftest.$ac_ext <<_ACEOF
116996 /* confdefs.h. */
116997 _ACEOF
116998 cat confdefs.h >>conftest.$ac_ext
116999 cat >>conftest.$ac_ext <<_ACEOF
117000 /* end confdefs.h. */
117001 $ac_includes_default
117003 main ()
117005 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117006 test_array [0] = 0
117009 return 0;
117011 _ACEOF
117012 rm -f conftest.$ac_objext
117013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117014 (eval $ac_compile) 2>conftest.er1
117015 ac_status=$?
117016 grep -v '^ *+' conftest.er1 >conftest.err
117017 rm -f conftest.er1
117018 cat conftest.err >&5
117019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117020 (exit $ac_status); } &&
117021 { ac_try='test -z "$ac_c_werror_flag"
117022 || test ! -s conftest.err'
117023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117024 (eval $ac_try) 2>&5
117025 ac_status=$?
117026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117027 (exit $ac_status); }; } &&
117028 { ac_try='test -s conftest.$ac_objext'
117029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117030 (eval $ac_try) 2>&5
117031 ac_status=$?
117032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117033 (exit $ac_status); }; }; then
117034 ac_hi=$ac_mid; break
117036 echo "$as_me: failed program was:" >&5
117037 sed 's/^/| /' conftest.$ac_ext >&5
117039 ac_lo=`expr $ac_mid + 1`
117040 if test $ac_lo -le $ac_mid; then
117041 ac_lo= ac_hi=
117042 break
117044 ac_mid=`expr 2 '*' $ac_mid + 1`
117046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117049 echo "$as_me: failed program was:" >&5
117050 sed 's/^/| /' conftest.$ac_ext >&5
117052 cat >conftest.$ac_ext <<_ACEOF
117053 /* confdefs.h. */
117054 _ACEOF
117055 cat confdefs.h >>conftest.$ac_ext
117056 cat >>conftest.$ac_ext <<_ACEOF
117057 /* end confdefs.h. */
117058 $ac_includes_default
117060 main ()
117062 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117063 test_array [0] = 0
117066 return 0;
117068 _ACEOF
117069 rm -f conftest.$ac_objext
117070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117071 (eval $ac_compile) 2>conftest.er1
117072 ac_status=$?
117073 grep -v '^ *+' conftest.er1 >conftest.err
117074 rm -f conftest.er1
117075 cat conftest.err >&5
117076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117077 (exit $ac_status); } &&
117078 { ac_try='test -z "$ac_c_werror_flag"
117079 || test ! -s conftest.err'
117080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117081 (eval $ac_try) 2>&5
117082 ac_status=$?
117083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117084 (exit $ac_status); }; } &&
117085 { ac_try='test -s conftest.$ac_objext'
117086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117087 (eval $ac_try) 2>&5
117088 ac_status=$?
117089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117090 (exit $ac_status); }; }; then
117091 ac_hi=-1 ac_mid=-1
117092 while :; do
117093 cat >conftest.$ac_ext <<_ACEOF
117094 /* confdefs.h. */
117095 _ACEOF
117096 cat confdefs.h >>conftest.$ac_ext
117097 cat >>conftest.$ac_ext <<_ACEOF
117098 /* end confdefs.h. */
117099 $ac_includes_default
117101 main ()
117103 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
117104 test_array [0] = 0
117107 return 0;
117109 _ACEOF
117110 rm -f conftest.$ac_objext
117111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117112 (eval $ac_compile) 2>conftest.er1
117113 ac_status=$?
117114 grep -v '^ *+' conftest.er1 >conftest.err
117115 rm -f conftest.er1
117116 cat conftest.err >&5
117117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117118 (exit $ac_status); } &&
117119 { ac_try='test -z "$ac_c_werror_flag"
117120 || test ! -s conftest.err'
117121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117122 (eval $ac_try) 2>&5
117123 ac_status=$?
117124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117125 (exit $ac_status); }; } &&
117126 { ac_try='test -s conftest.$ac_objext'
117127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117128 (eval $ac_try) 2>&5
117129 ac_status=$?
117130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117131 (exit $ac_status); }; }; then
117132 ac_lo=$ac_mid; break
117134 echo "$as_me: failed program was:" >&5
117135 sed 's/^/| /' conftest.$ac_ext >&5
117137 ac_hi=`expr '(' $ac_mid ')' - 1`
117138 if test $ac_mid -le $ac_hi; then
117139 ac_lo= ac_hi=
117140 break
117142 ac_mid=`expr 2 '*' $ac_mid`
117144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117147 echo "$as_me: failed program was:" >&5
117148 sed 's/^/| /' conftest.$ac_ext >&5
117150 ac_lo= ac_hi=
117152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117155 # Binary search between lo and hi bounds.
117156 while test "x$ac_lo" != "x$ac_hi"; do
117157 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117158 cat >conftest.$ac_ext <<_ACEOF
117159 /* confdefs.h. */
117160 _ACEOF
117161 cat confdefs.h >>conftest.$ac_ext
117162 cat >>conftest.$ac_ext <<_ACEOF
117163 /* end confdefs.h. */
117164 $ac_includes_default
117166 main ()
117168 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117169 test_array [0] = 0
117172 return 0;
117174 _ACEOF
117175 rm -f conftest.$ac_objext
117176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117177 (eval $ac_compile) 2>conftest.er1
117178 ac_status=$?
117179 grep -v '^ *+' conftest.er1 >conftest.err
117180 rm -f conftest.er1
117181 cat conftest.err >&5
117182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117183 (exit $ac_status); } &&
117184 { ac_try='test -z "$ac_c_werror_flag"
117185 || test ! -s conftest.err'
117186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117187 (eval $ac_try) 2>&5
117188 ac_status=$?
117189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117190 (exit $ac_status); }; } &&
117191 { ac_try='test -s conftest.$ac_objext'
117192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117193 (eval $ac_try) 2>&5
117194 ac_status=$?
117195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117196 (exit $ac_status); }; }; then
117197 ac_hi=$ac_mid
117199 echo "$as_me: failed program was:" >&5
117200 sed 's/^/| /' conftest.$ac_ext >&5
117202 ac_lo=`expr '(' $ac_mid ')' + 1`
117204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117206 case $ac_lo in
117207 ?*) ac_cv_sizeof_void_p=$ac_lo;;
117208 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117209 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117211 See \`config.log' for more details." >&5
117212 echo "$as_me: error: cannot compute sizeof (void *), 77
117213 See \`config.log' for more details." >&2;}
117214 { (exit 1); exit 1; }; }; } ;;
117217 if test "$cross_compiling" = yes; then
117218 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117219 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117220 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117221 See \`config.log' for more details." >&5
117222 echo "$as_me: error: cannot run test program while cross compiling
117223 See \`config.log' for more details." >&2;}
117224 { (exit 1); exit 1; }; }; }
117226 cat >conftest.$ac_ext <<_ACEOF
117227 /* confdefs.h. */
117228 _ACEOF
117229 cat confdefs.h >>conftest.$ac_ext
117230 cat >>conftest.$ac_ext <<_ACEOF
117231 /* end confdefs.h. */
117232 $ac_includes_default
117233 long longval () { return (long) (sizeof (void *)); }
117234 unsigned long ulongval () { return (long) (sizeof (void *)); }
117235 #include <stdio.h>
117236 #include <stdlib.h>
117238 main ()
117241 FILE *f = fopen ("conftest.val", "w");
117242 if (! f)
117243 exit (1);
117244 if (((long) (sizeof (void *))) < 0)
117246 long i = longval ();
117247 if (i != ((long) (sizeof (void *))))
117248 exit (1);
117249 fprintf (f, "%ld\n", i);
117253 unsigned long i = ulongval ();
117254 if (i != ((long) (sizeof (void *))))
117255 exit (1);
117256 fprintf (f, "%lu\n", i);
117258 exit (ferror (f) || fclose (f) != 0);
117261 return 0;
117263 _ACEOF
117264 rm -f conftest$ac_exeext
117265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117266 (eval $ac_link) 2>&5
117267 ac_status=$?
117268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117271 (eval $ac_try) 2>&5
117272 ac_status=$?
117273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117274 (exit $ac_status); }; }; then
117275 ac_cv_sizeof_void_p=`cat conftest.val`
117277 echo "$as_me: program exited with status $ac_status" >&5
117278 echo "$as_me: failed program was:" >&5
117279 sed 's/^/| /' conftest.$ac_ext >&5
117281 ( exit $ac_status )
117282 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117283 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117285 See \`config.log' for more details." >&5
117286 echo "$as_me: error: cannot compute sizeof (void *), 77
117287 See \`config.log' for more details." >&2;}
117288 { (exit 1); exit 1; }; }; }
117290 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117293 rm -f conftest.val
117295 ac_cv_sizeof_void_p=0
117298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
117299 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117300 cat >>confdefs.h <<_ACEOF
117301 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117302 _ACEOF
117307 # Lacking an uint64_t? Test size of long
117308 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117309 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117310 echo $ECHO_N "checking for long... $ECHO_C" >&6
117311 if test "${ac_cv_type_long+set}" = set; then
117312 echo $ECHO_N "(cached) $ECHO_C" >&6
117314 cat >conftest.$ac_ext <<_ACEOF
117315 /* confdefs.h. */
117316 _ACEOF
117317 cat confdefs.h >>conftest.$ac_ext
117318 cat >>conftest.$ac_ext <<_ACEOF
117319 /* end confdefs.h. */
117320 $ac_includes_default
117322 main ()
117324 if ((long *) 0)
117325 return 0;
117326 if (sizeof (long))
117327 return 0;
117329 return 0;
117331 _ACEOF
117332 rm -f conftest.$ac_objext
117333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117334 (eval $ac_compile) 2>conftest.er1
117335 ac_status=$?
117336 grep -v '^ *+' conftest.er1 >conftest.err
117337 rm -f conftest.er1
117338 cat conftest.err >&5
117339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117340 (exit $ac_status); } &&
117341 { ac_try='test -z "$ac_c_werror_flag"
117342 || test ! -s conftest.err'
117343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117344 (eval $ac_try) 2>&5
117345 ac_status=$?
117346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117347 (exit $ac_status); }; } &&
117348 { ac_try='test -s conftest.$ac_objext'
117349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117350 (eval $ac_try) 2>&5
117351 ac_status=$?
117352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117353 (exit $ac_status); }; }; then
117354 ac_cv_type_long=yes
117356 echo "$as_me: failed program was:" >&5
117357 sed 's/^/| /' conftest.$ac_ext >&5
117359 ac_cv_type_long=no
117361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117363 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117364 echo "${ECHO_T}$ac_cv_type_long" >&6
117366 echo "$as_me:$LINENO: checking size of long" >&5
117367 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117368 if test "${ac_cv_sizeof_long+set}" = set; then
117369 echo $ECHO_N "(cached) $ECHO_C" >&6
117371 if test "$ac_cv_type_long" = yes; then
117372 # The cast to unsigned long works around a bug in the HP C Compiler
117373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117375 # This bug is HP SR number 8606223364.
117376 if test "$cross_compiling" = yes; then
117377 # Depending upon the size, compute the lo and hi bounds.
117378 cat >conftest.$ac_ext <<_ACEOF
117379 /* confdefs.h. */
117380 _ACEOF
117381 cat confdefs.h >>conftest.$ac_ext
117382 cat >>conftest.$ac_ext <<_ACEOF
117383 /* end confdefs.h. */
117384 $ac_includes_default
117386 main ()
117388 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117389 test_array [0] = 0
117392 return 0;
117394 _ACEOF
117395 rm -f conftest.$ac_objext
117396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117397 (eval $ac_compile) 2>conftest.er1
117398 ac_status=$?
117399 grep -v '^ *+' conftest.er1 >conftest.err
117400 rm -f conftest.er1
117401 cat conftest.err >&5
117402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117403 (exit $ac_status); } &&
117404 { ac_try='test -z "$ac_c_werror_flag"
117405 || test ! -s conftest.err'
117406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117407 (eval $ac_try) 2>&5
117408 ac_status=$?
117409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117410 (exit $ac_status); }; } &&
117411 { ac_try='test -s conftest.$ac_objext'
117412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117413 (eval $ac_try) 2>&5
117414 ac_status=$?
117415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117416 (exit $ac_status); }; }; then
117417 ac_lo=0 ac_mid=0
117418 while :; do
117419 cat >conftest.$ac_ext <<_ACEOF
117420 /* confdefs.h. */
117421 _ACEOF
117422 cat confdefs.h >>conftest.$ac_ext
117423 cat >>conftest.$ac_ext <<_ACEOF
117424 /* end confdefs.h. */
117425 $ac_includes_default
117427 main ()
117429 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117430 test_array [0] = 0
117433 return 0;
117435 _ACEOF
117436 rm -f conftest.$ac_objext
117437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117438 (eval $ac_compile) 2>conftest.er1
117439 ac_status=$?
117440 grep -v '^ *+' conftest.er1 >conftest.err
117441 rm -f conftest.er1
117442 cat conftest.err >&5
117443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117444 (exit $ac_status); } &&
117445 { ac_try='test -z "$ac_c_werror_flag"
117446 || test ! -s conftest.err'
117447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117448 (eval $ac_try) 2>&5
117449 ac_status=$?
117450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117451 (exit $ac_status); }; } &&
117452 { ac_try='test -s conftest.$ac_objext'
117453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117454 (eval $ac_try) 2>&5
117455 ac_status=$?
117456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117457 (exit $ac_status); }; }; then
117458 ac_hi=$ac_mid; break
117460 echo "$as_me: failed program was:" >&5
117461 sed 's/^/| /' conftest.$ac_ext >&5
117463 ac_lo=`expr $ac_mid + 1`
117464 if test $ac_lo -le $ac_mid; then
117465 ac_lo= ac_hi=
117466 break
117468 ac_mid=`expr 2 '*' $ac_mid + 1`
117470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117473 echo "$as_me: failed program was:" >&5
117474 sed 's/^/| /' conftest.$ac_ext >&5
117476 cat >conftest.$ac_ext <<_ACEOF
117477 /* confdefs.h. */
117478 _ACEOF
117479 cat confdefs.h >>conftest.$ac_ext
117480 cat >>conftest.$ac_ext <<_ACEOF
117481 /* end confdefs.h. */
117482 $ac_includes_default
117484 main ()
117486 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
117487 test_array [0] = 0
117490 return 0;
117492 _ACEOF
117493 rm -f conftest.$ac_objext
117494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117495 (eval $ac_compile) 2>conftest.er1
117496 ac_status=$?
117497 grep -v '^ *+' conftest.er1 >conftest.err
117498 rm -f conftest.er1
117499 cat conftest.err >&5
117500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117501 (exit $ac_status); } &&
117502 { ac_try='test -z "$ac_c_werror_flag"
117503 || test ! -s conftest.err'
117504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117505 (eval $ac_try) 2>&5
117506 ac_status=$?
117507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117508 (exit $ac_status); }; } &&
117509 { ac_try='test -s conftest.$ac_objext'
117510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117511 (eval $ac_try) 2>&5
117512 ac_status=$?
117513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117514 (exit $ac_status); }; }; then
117515 ac_hi=-1 ac_mid=-1
117516 while :; do
117517 cat >conftest.$ac_ext <<_ACEOF
117518 /* confdefs.h. */
117519 _ACEOF
117520 cat confdefs.h >>conftest.$ac_ext
117521 cat >>conftest.$ac_ext <<_ACEOF
117522 /* end confdefs.h. */
117523 $ac_includes_default
117525 main ()
117527 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
117528 test_array [0] = 0
117531 return 0;
117533 _ACEOF
117534 rm -f conftest.$ac_objext
117535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117536 (eval $ac_compile) 2>conftest.er1
117537 ac_status=$?
117538 grep -v '^ *+' conftest.er1 >conftest.err
117539 rm -f conftest.er1
117540 cat conftest.err >&5
117541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117542 (exit $ac_status); } &&
117543 { ac_try='test -z "$ac_c_werror_flag"
117544 || test ! -s conftest.err'
117545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117546 (eval $ac_try) 2>&5
117547 ac_status=$?
117548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117549 (exit $ac_status); }; } &&
117550 { ac_try='test -s conftest.$ac_objext'
117551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117552 (eval $ac_try) 2>&5
117553 ac_status=$?
117554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117555 (exit $ac_status); }; }; then
117556 ac_lo=$ac_mid; break
117558 echo "$as_me: failed program was:" >&5
117559 sed 's/^/| /' conftest.$ac_ext >&5
117561 ac_hi=`expr '(' $ac_mid ')' - 1`
117562 if test $ac_mid -le $ac_hi; then
117563 ac_lo= ac_hi=
117564 break
117566 ac_mid=`expr 2 '*' $ac_mid`
117568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117571 echo "$as_me: failed program was:" >&5
117572 sed 's/^/| /' conftest.$ac_ext >&5
117574 ac_lo= ac_hi=
117576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117579 # Binary search between lo and hi bounds.
117580 while test "x$ac_lo" != "x$ac_hi"; do
117581 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117582 cat >conftest.$ac_ext <<_ACEOF
117583 /* confdefs.h. */
117584 _ACEOF
117585 cat confdefs.h >>conftest.$ac_ext
117586 cat >>conftest.$ac_ext <<_ACEOF
117587 /* end confdefs.h. */
117588 $ac_includes_default
117590 main ()
117592 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117593 test_array [0] = 0
117596 return 0;
117598 _ACEOF
117599 rm -f conftest.$ac_objext
117600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117601 (eval $ac_compile) 2>conftest.er1
117602 ac_status=$?
117603 grep -v '^ *+' conftest.er1 >conftest.err
117604 rm -f conftest.er1
117605 cat conftest.err >&5
117606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117607 (exit $ac_status); } &&
117608 { ac_try='test -z "$ac_c_werror_flag"
117609 || test ! -s conftest.err'
117610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117611 (eval $ac_try) 2>&5
117612 ac_status=$?
117613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117614 (exit $ac_status); }; } &&
117615 { ac_try='test -s conftest.$ac_objext'
117616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117617 (eval $ac_try) 2>&5
117618 ac_status=$?
117619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117620 (exit $ac_status); }; }; then
117621 ac_hi=$ac_mid
117623 echo "$as_me: failed program was:" >&5
117624 sed 's/^/| /' conftest.$ac_ext >&5
117626 ac_lo=`expr '(' $ac_mid ')' + 1`
117628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117630 case $ac_lo in
117631 ?*) ac_cv_sizeof_long=$ac_lo;;
117632 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117633 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117635 See \`config.log' for more details." >&5
117636 echo "$as_me: error: cannot compute sizeof (long), 77
117637 See \`config.log' for more details." >&2;}
117638 { (exit 1); exit 1; }; }; } ;;
117641 if test "$cross_compiling" = yes; then
117642 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117643 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117644 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117645 See \`config.log' for more details." >&5
117646 echo "$as_me: error: cannot run test program while cross compiling
117647 See \`config.log' for more details." >&2;}
117648 { (exit 1); exit 1; }; }; }
117650 cat >conftest.$ac_ext <<_ACEOF
117651 /* confdefs.h. */
117652 _ACEOF
117653 cat confdefs.h >>conftest.$ac_ext
117654 cat >>conftest.$ac_ext <<_ACEOF
117655 /* end confdefs.h. */
117656 $ac_includes_default
117657 long longval () { return (long) (sizeof (long)); }
117658 unsigned long ulongval () { return (long) (sizeof (long)); }
117659 #include <stdio.h>
117660 #include <stdlib.h>
117662 main ()
117665 FILE *f = fopen ("conftest.val", "w");
117666 if (! f)
117667 exit (1);
117668 if (((long) (sizeof (long))) < 0)
117670 long i = longval ();
117671 if (i != ((long) (sizeof (long))))
117672 exit (1);
117673 fprintf (f, "%ld\n", i);
117677 unsigned long i = ulongval ();
117678 if (i != ((long) (sizeof (long))))
117679 exit (1);
117680 fprintf (f, "%lu\n", i);
117682 exit (ferror (f) || fclose (f) != 0);
117685 return 0;
117687 _ACEOF
117688 rm -f conftest$ac_exeext
117689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117690 (eval $ac_link) 2>&5
117691 ac_status=$?
117692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117695 (eval $ac_try) 2>&5
117696 ac_status=$?
117697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117698 (exit $ac_status); }; }; then
117699 ac_cv_sizeof_long=`cat conftest.val`
117701 echo "$as_me: program exited with status $ac_status" >&5
117702 echo "$as_me: failed program was:" >&5
117703 sed 's/^/| /' conftest.$ac_ext >&5
117705 ( exit $ac_status )
117706 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
117707 echo "$as_me: error: in \`$ac_pwd':" >&2;}
117708 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117709 See \`config.log' for more details." >&5
117710 echo "$as_me: error: cannot compute sizeof (long), 77
117711 See \`config.log' for more details." >&2;}
117712 { (exit 1); exit 1; }; }; }
117714 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117717 rm -f conftest.val
117719 ac_cv_sizeof_long=0
117722 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
117723 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
117724 cat >>confdefs.h <<_ACEOF
117725 #define SIZEOF_LONG $ac_cv_sizeof_long
117726 _ACEOF
117731 if test $acx_cv_header_stdint = stddef.h; then
117732 # Lacking a good header? Test size of everything and deduce all types.
117733 echo "$as_me:$LINENO: checking for int" >&5
117734 echo $ECHO_N "checking for int... $ECHO_C" >&6
117735 if test "${ac_cv_type_int+set}" = set; then
117736 echo $ECHO_N "(cached) $ECHO_C" >&6
117738 cat >conftest.$ac_ext <<_ACEOF
117739 /* confdefs.h. */
117740 _ACEOF
117741 cat confdefs.h >>conftest.$ac_ext
117742 cat >>conftest.$ac_ext <<_ACEOF
117743 /* end confdefs.h. */
117744 $ac_includes_default
117746 main ()
117748 if ((int *) 0)
117749 return 0;
117750 if (sizeof (int))
117751 return 0;
117753 return 0;
117755 _ACEOF
117756 rm -f conftest.$ac_objext
117757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117758 (eval $ac_compile) 2>conftest.er1
117759 ac_status=$?
117760 grep -v '^ *+' conftest.er1 >conftest.err
117761 rm -f conftest.er1
117762 cat conftest.err >&5
117763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117764 (exit $ac_status); } &&
117765 { ac_try='test -z "$ac_c_werror_flag"
117766 || test ! -s conftest.err'
117767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117768 (eval $ac_try) 2>&5
117769 ac_status=$?
117770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117771 (exit $ac_status); }; } &&
117772 { ac_try='test -s conftest.$ac_objext'
117773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117774 (eval $ac_try) 2>&5
117775 ac_status=$?
117776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117777 (exit $ac_status); }; }; then
117778 ac_cv_type_int=yes
117780 echo "$as_me: failed program was:" >&5
117781 sed 's/^/| /' conftest.$ac_ext >&5
117783 ac_cv_type_int=no
117785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117787 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117788 echo "${ECHO_T}$ac_cv_type_int" >&6
117790 echo "$as_me:$LINENO: checking size of int" >&5
117791 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117792 if test "${ac_cv_sizeof_int+set}" = set; then
117793 echo $ECHO_N "(cached) $ECHO_C" >&6
117795 if test "$ac_cv_type_int" = yes; then
117796 # The cast to unsigned long works around a bug in the HP C Compiler
117797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117799 # This bug is HP SR number 8606223364.
117800 if test "$cross_compiling" = yes; then
117801 # Depending upon the size, compute the lo and hi bounds.
117802 cat >conftest.$ac_ext <<_ACEOF
117803 /* confdefs.h. */
117804 _ACEOF
117805 cat confdefs.h >>conftest.$ac_ext
117806 cat >>conftest.$ac_ext <<_ACEOF
117807 /* end confdefs.h. */
117808 $ac_includes_default
117810 main ()
117812 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117813 test_array [0] = 0
117816 return 0;
117818 _ACEOF
117819 rm -f conftest.$ac_objext
117820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117821 (eval $ac_compile) 2>conftest.er1
117822 ac_status=$?
117823 grep -v '^ *+' conftest.er1 >conftest.err
117824 rm -f conftest.er1
117825 cat conftest.err >&5
117826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117827 (exit $ac_status); } &&
117828 { ac_try='test -z "$ac_c_werror_flag"
117829 || test ! -s conftest.err'
117830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117831 (eval $ac_try) 2>&5
117832 ac_status=$?
117833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117834 (exit $ac_status); }; } &&
117835 { ac_try='test -s conftest.$ac_objext'
117836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117837 (eval $ac_try) 2>&5
117838 ac_status=$?
117839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117840 (exit $ac_status); }; }; then
117841 ac_lo=0 ac_mid=0
117842 while :; do
117843 cat >conftest.$ac_ext <<_ACEOF
117844 /* confdefs.h. */
117845 _ACEOF
117846 cat confdefs.h >>conftest.$ac_ext
117847 cat >>conftest.$ac_ext <<_ACEOF
117848 /* end confdefs.h. */
117849 $ac_includes_default
117851 main ()
117853 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117854 test_array [0] = 0
117857 return 0;
117859 _ACEOF
117860 rm -f conftest.$ac_objext
117861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117862 (eval $ac_compile) 2>conftest.er1
117863 ac_status=$?
117864 grep -v '^ *+' conftest.er1 >conftest.err
117865 rm -f conftest.er1
117866 cat conftest.err >&5
117867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117868 (exit $ac_status); } &&
117869 { ac_try='test -z "$ac_c_werror_flag"
117870 || test ! -s conftest.err'
117871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117872 (eval $ac_try) 2>&5
117873 ac_status=$?
117874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117875 (exit $ac_status); }; } &&
117876 { ac_try='test -s conftest.$ac_objext'
117877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117878 (eval $ac_try) 2>&5
117879 ac_status=$?
117880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117881 (exit $ac_status); }; }; then
117882 ac_hi=$ac_mid; break
117884 echo "$as_me: failed program was:" >&5
117885 sed 's/^/| /' conftest.$ac_ext >&5
117887 ac_lo=`expr $ac_mid + 1`
117888 if test $ac_lo -le $ac_mid; then
117889 ac_lo= ac_hi=
117890 break
117892 ac_mid=`expr 2 '*' $ac_mid + 1`
117894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117897 echo "$as_me: failed program was:" >&5
117898 sed 's/^/| /' conftest.$ac_ext >&5
117900 cat >conftest.$ac_ext <<_ACEOF
117901 /* confdefs.h. */
117902 _ACEOF
117903 cat confdefs.h >>conftest.$ac_ext
117904 cat >>conftest.$ac_ext <<_ACEOF
117905 /* end confdefs.h. */
117906 $ac_includes_default
117908 main ()
117910 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
117911 test_array [0] = 0
117914 return 0;
117916 _ACEOF
117917 rm -f conftest.$ac_objext
117918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117919 (eval $ac_compile) 2>conftest.er1
117920 ac_status=$?
117921 grep -v '^ *+' conftest.er1 >conftest.err
117922 rm -f conftest.er1
117923 cat conftest.err >&5
117924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117925 (exit $ac_status); } &&
117926 { ac_try='test -z "$ac_c_werror_flag"
117927 || test ! -s conftest.err'
117928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117929 (eval $ac_try) 2>&5
117930 ac_status=$?
117931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117932 (exit $ac_status); }; } &&
117933 { ac_try='test -s conftest.$ac_objext'
117934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117935 (eval $ac_try) 2>&5
117936 ac_status=$?
117937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117938 (exit $ac_status); }; }; then
117939 ac_hi=-1 ac_mid=-1
117940 while :; do
117941 cat >conftest.$ac_ext <<_ACEOF
117942 /* confdefs.h. */
117943 _ACEOF
117944 cat confdefs.h >>conftest.$ac_ext
117945 cat >>conftest.$ac_ext <<_ACEOF
117946 /* end confdefs.h. */
117947 $ac_includes_default
117949 main ()
117951 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
117952 test_array [0] = 0
117955 return 0;
117957 _ACEOF
117958 rm -f conftest.$ac_objext
117959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117960 (eval $ac_compile) 2>conftest.er1
117961 ac_status=$?
117962 grep -v '^ *+' conftest.er1 >conftest.err
117963 rm -f conftest.er1
117964 cat conftest.err >&5
117965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117966 (exit $ac_status); } &&
117967 { ac_try='test -z "$ac_c_werror_flag"
117968 || test ! -s conftest.err'
117969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117970 (eval $ac_try) 2>&5
117971 ac_status=$?
117972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117973 (exit $ac_status); }; } &&
117974 { ac_try='test -s conftest.$ac_objext'
117975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117976 (eval $ac_try) 2>&5
117977 ac_status=$?
117978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117979 (exit $ac_status); }; }; then
117980 ac_lo=$ac_mid; break
117982 echo "$as_me: failed program was:" >&5
117983 sed 's/^/| /' conftest.$ac_ext >&5
117985 ac_hi=`expr '(' $ac_mid ')' - 1`
117986 if test $ac_mid -le $ac_hi; then
117987 ac_lo= ac_hi=
117988 break
117990 ac_mid=`expr 2 '*' $ac_mid`
117992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117995 echo "$as_me: failed program was:" >&5
117996 sed 's/^/| /' conftest.$ac_ext >&5
117998 ac_lo= ac_hi=
118000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118003 # Binary search between lo and hi bounds.
118004 while test "x$ac_lo" != "x$ac_hi"; do
118005 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118006 cat >conftest.$ac_ext <<_ACEOF
118007 /* confdefs.h. */
118008 _ACEOF
118009 cat confdefs.h >>conftest.$ac_ext
118010 cat >>conftest.$ac_ext <<_ACEOF
118011 /* end confdefs.h. */
118012 $ac_includes_default
118014 main ()
118016 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118017 test_array [0] = 0
118020 return 0;
118022 _ACEOF
118023 rm -f conftest.$ac_objext
118024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118025 (eval $ac_compile) 2>conftest.er1
118026 ac_status=$?
118027 grep -v '^ *+' conftest.er1 >conftest.err
118028 rm -f conftest.er1
118029 cat conftest.err >&5
118030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118031 (exit $ac_status); } &&
118032 { ac_try='test -z "$ac_c_werror_flag"
118033 || test ! -s conftest.err'
118034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118035 (eval $ac_try) 2>&5
118036 ac_status=$?
118037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118038 (exit $ac_status); }; } &&
118039 { ac_try='test -s conftest.$ac_objext'
118040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118041 (eval $ac_try) 2>&5
118042 ac_status=$?
118043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118044 (exit $ac_status); }; }; then
118045 ac_hi=$ac_mid
118047 echo "$as_me: failed program was:" >&5
118048 sed 's/^/| /' conftest.$ac_ext >&5
118050 ac_lo=`expr '(' $ac_mid ')' + 1`
118052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118054 case $ac_lo in
118055 ?*) ac_cv_sizeof_int=$ac_lo;;
118056 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118057 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118059 See \`config.log' for more details." >&5
118060 echo "$as_me: error: cannot compute sizeof (int), 77
118061 See \`config.log' for more details." >&2;}
118062 { (exit 1); exit 1; }; }; } ;;
118065 if test "$cross_compiling" = yes; then
118066 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118067 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118068 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118069 See \`config.log' for more details." >&5
118070 echo "$as_me: error: cannot run test program while cross compiling
118071 See \`config.log' for more details." >&2;}
118072 { (exit 1); exit 1; }; }; }
118074 cat >conftest.$ac_ext <<_ACEOF
118075 /* confdefs.h. */
118076 _ACEOF
118077 cat confdefs.h >>conftest.$ac_ext
118078 cat >>conftest.$ac_ext <<_ACEOF
118079 /* end confdefs.h. */
118080 $ac_includes_default
118081 long longval () { return (long) (sizeof (int)); }
118082 unsigned long ulongval () { return (long) (sizeof (int)); }
118083 #include <stdio.h>
118084 #include <stdlib.h>
118086 main ()
118089 FILE *f = fopen ("conftest.val", "w");
118090 if (! f)
118091 exit (1);
118092 if (((long) (sizeof (int))) < 0)
118094 long i = longval ();
118095 if (i != ((long) (sizeof (int))))
118096 exit (1);
118097 fprintf (f, "%ld\n", i);
118101 unsigned long i = ulongval ();
118102 if (i != ((long) (sizeof (int))))
118103 exit (1);
118104 fprintf (f, "%lu\n", i);
118106 exit (ferror (f) || fclose (f) != 0);
118109 return 0;
118111 _ACEOF
118112 rm -f conftest$ac_exeext
118113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118114 (eval $ac_link) 2>&5
118115 ac_status=$?
118116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118119 (eval $ac_try) 2>&5
118120 ac_status=$?
118121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118122 (exit $ac_status); }; }; then
118123 ac_cv_sizeof_int=`cat conftest.val`
118125 echo "$as_me: program exited with status $ac_status" >&5
118126 echo "$as_me: failed program was:" >&5
118127 sed 's/^/| /' conftest.$ac_ext >&5
118129 ( exit $ac_status )
118130 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118131 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118132 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118133 See \`config.log' for more details." >&5
118134 echo "$as_me: error: cannot compute sizeof (int), 77
118135 See \`config.log' for more details." >&2;}
118136 { (exit 1); exit 1; }; }; }
118138 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118141 rm -f conftest.val
118143 ac_cv_sizeof_int=0
118146 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
118147 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
118148 cat >>confdefs.h <<_ACEOF
118149 #define SIZEOF_INT $ac_cv_sizeof_int
118150 _ACEOF
118153 echo "$as_me:$LINENO: checking for short" >&5
118154 echo $ECHO_N "checking for short... $ECHO_C" >&6
118155 if test "${ac_cv_type_short+set}" = set; then
118156 echo $ECHO_N "(cached) $ECHO_C" >&6
118158 cat >conftest.$ac_ext <<_ACEOF
118159 /* confdefs.h. */
118160 _ACEOF
118161 cat confdefs.h >>conftest.$ac_ext
118162 cat >>conftest.$ac_ext <<_ACEOF
118163 /* end confdefs.h. */
118164 $ac_includes_default
118166 main ()
118168 if ((short *) 0)
118169 return 0;
118170 if (sizeof (short))
118171 return 0;
118173 return 0;
118175 _ACEOF
118176 rm -f conftest.$ac_objext
118177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118178 (eval $ac_compile) 2>conftest.er1
118179 ac_status=$?
118180 grep -v '^ *+' conftest.er1 >conftest.err
118181 rm -f conftest.er1
118182 cat conftest.err >&5
118183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118184 (exit $ac_status); } &&
118185 { ac_try='test -z "$ac_c_werror_flag"
118186 || test ! -s conftest.err'
118187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118188 (eval $ac_try) 2>&5
118189 ac_status=$?
118190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118191 (exit $ac_status); }; } &&
118192 { ac_try='test -s conftest.$ac_objext'
118193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118194 (eval $ac_try) 2>&5
118195 ac_status=$?
118196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118197 (exit $ac_status); }; }; then
118198 ac_cv_type_short=yes
118200 echo "$as_me: failed program was:" >&5
118201 sed 's/^/| /' conftest.$ac_ext >&5
118203 ac_cv_type_short=no
118205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118207 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
118208 echo "${ECHO_T}$ac_cv_type_short" >&6
118210 echo "$as_me:$LINENO: checking size of short" >&5
118211 echo $ECHO_N "checking size of short... $ECHO_C" >&6
118212 if test "${ac_cv_sizeof_short+set}" = set; then
118213 echo $ECHO_N "(cached) $ECHO_C" >&6
118215 if test "$ac_cv_type_short" = yes; then
118216 # The cast to unsigned long works around a bug in the HP C Compiler
118217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118219 # This bug is HP SR number 8606223364.
118220 if test "$cross_compiling" = yes; then
118221 # Depending upon the size, compute the lo and hi bounds.
118222 cat >conftest.$ac_ext <<_ACEOF
118223 /* confdefs.h. */
118224 _ACEOF
118225 cat confdefs.h >>conftest.$ac_ext
118226 cat >>conftest.$ac_ext <<_ACEOF
118227 /* end confdefs.h. */
118228 $ac_includes_default
118230 main ()
118232 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
118233 test_array [0] = 0
118236 return 0;
118238 _ACEOF
118239 rm -f conftest.$ac_objext
118240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118241 (eval $ac_compile) 2>conftest.er1
118242 ac_status=$?
118243 grep -v '^ *+' conftest.er1 >conftest.err
118244 rm -f conftest.er1
118245 cat conftest.err >&5
118246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118247 (exit $ac_status); } &&
118248 { ac_try='test -z "$ac_c_werror_flag"
118249 || test ! -s conftest.err'
118250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118251 (eval $ac_try) 2>&5
118252 ac_status=$?
118253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118254 (exit $ac_status); }; } &&
118255 { ac_try='test -s conftest.$ac_objext'
118256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118257 (eval $ac_try) 2>&5
118258 ac_status=$?
118259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118260 (exit $ac_status); }; }; then
118261 ac_lo=0 ac_mid=0
118262 while :; do
118263 cat >conftest.$ac_ext <<_ACEOF
118264 /* confdefs.h. */
118265 _ACEOF
118266 cat confdefs.h >>conftest.$ac_ext
118267 cat >>conftest.$ac_ext <<_ACEOF
118268 /* end confdefs.h. */
118269 $ac_includes_default
118271 main ()
118273 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118274 test_array [0] = 0
118277 return 0;
118279 _ACEOF
118280 rm -f conftest.$ac_objext
118281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118282 (eval $ac_compile) 2>conftest.er1
118283 ac_status=$?
118284 grep -v '^ *+' conftest.er1 >conftest.err
118285 rm -f conftest.er1
118286 cat conftest.err >&5
118287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118288 (exit $ac_status); } &&
118289 { ac_try='test -z "$ac_c_werror_flag"
118290 || test ! -s conftest.err'
118291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118292 (eval $ac_try) 2>&5
118293 ac_status=$?
118294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118295 (exit $ac_status); }; } &&
118296 { ac_try='test -s conftest.$ac_objext'
118297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118298 (eval $ac_try) 2>&5
118299 ac_status=$?
118300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118301 (exit $ac_status); }; }; then
118302 ac_hi=$ac_mid; break
118304 echo "$as_me: failed program was:" >&5
118305 sed 's/^/| /' conftest.$ac_ext >&5
118307 ac_lo=`expr $ac_mid + 1`
118308 if test $ac_lo -le $ac_mid; then
118309 ac_lo= ac_hi=
118310 break
118312 ac_mid=`expr 2 '*' $ac_mid + 1`
118314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118317 echo "$as_me: failed program was:" >&5
118318 sed 's/^/| /' conftest.$ac_ext >&5
118320 cat >conftest.$ac_ext <<_ACEOF
118321 /* confdefs.h. */
118322 _ACEOF
118323 cat confdefs.h >>conftest.$ac_ext
118324 cat >>conftest.$ac_ext <<_ACEOF
118325 /* end confdefs.h. */
118326 $ac_includes_default
118328 main ()
118330 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118331 test_array [0] = 0
118334 return 0;
118336 _ACEOF
118337 rm -f conftest.$ac_objext
118338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118339 (eval $ac_compile) 2>conftest.er1
118340 ac_status=$?
118341 grep -v '^ *+' conftest.er1 >conftest.err
118342 rm -f conftest.er1
118343 cat conftest.err >&5
118344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118345 (exit $ac_status); } &&
118346 { ac_try='test -z "$ac_c_werror_flag"
118347 || test ! -s conftest.err'
118348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118349 (eval $ac_try) 2>&5
118350 ac_status=$?
118351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118352 (exit $ac_status); }; } &&
118353 { ac_try='test -s conftest.$ac_objext'
118354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118355 (eval $ac_try) 2>&5
118356 ac_status=$?
118357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118358 (exit $ac_status); }; }; then
118359 ac_hi=-1 ac_mid=-1
118360 while :; do
118361 cat >conftest.$ac_ext <<_ACEOF
118362 /* confdefs.h. */
118363 _ACEOF
118364 cat confdefs.h >>conftest.$ac_ext
118365 cat >>conftest.$ac_ext <<_ACEOF
118366 /* end confdefs.h. */
118367 $ac_includes_default
118369 main ()
118371 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118372 test_array [0] = 0
118375 return 0;
118377 _ACEOF
118378 rm -f conftest.$ac_objext
118379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118380 (eval $ac_compile) 2>conftest.er1
118381 ac_status=$?
118382 grep -v '^ *+' conftest.er1 >conftest.err
118383 rm -f conftest.er1
118384 cat conftest.err >&5
118385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118386 (exit $ac_status); } &&
118387 { ac_try='test -z "$ac_c_werror_flag"
118388 || test ! -s conftest.err'
118389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118390 (eval $ac_try) 2>&5
118391 ac_status=$?
118392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118393 (exit $ac_status); }; } &&
118394 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
118400 ac_lo=$ac_mid; break
118402 echo "$as_me: failed program was:" >&5
118403 sed 's/^/| /' conftest.$ac_ext >&5
118405 ac_hi=`expr '(' $ac_mid ')' - 1`
118406 if test $ac_mid -le $ac_hi; then
118407 ac_lo= ac_hi=
118408 break
118410 ac_mid=`expr 2 '*' $ac_mid`
118412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118415 echo "$as_me: failed program was:" >&5
118416 sed 's/^/| /' conftest.$ac_ext >&5
118418 ac_lo= ac_hi=
118420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118423 # Binary search between lo and hi bounds.
118424 while test "x$ac_lo" != "x$ac_hi"; do
118425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118426 cat >conftest.$ac_ext <<_ACEOF
118427 /* confdefs.h. */
118428 _ACEOF
118429 cat confdefs.h >>conftest.$ac_ext
118430 cat >>conftest.$ac_ext <<_ACEOF
118431 /* end confdefs.h. */
118432 $ac_includes_default
118434 main ()
118436 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118437 test_array [0] = 0
118440 return 0;
118442 _ACEOF
118443 rm -f conftest.$ac_objext
118444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118445 (eval $ac_compile) 2>conftest.er1
118446 ac_status=$?
118447 grep -v '^ *+' conftest.er1 >conftest.err
118448 rm -f conftest.er1
118449 cat conftest.err >&5
118450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118451 (exit $ac_status); } &&
118452 { ac_try='test -z "$ac_c_werror_flag"
118453 || test ! -s conftest.err'
118454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118455 (eval $ac_try) 2>&5
118456 ac_status=$?
118457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118458 (exit $ac_status); }; } &&
118459 { ac_try='test -s conftest.$ac_objext'
118460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118461 (eval $ac_try) 2>&5
118462 ac_status=$?
118463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118464 (exit $ac_status); }; }; then
118465 ac_hi=$ac_mid
118467 echo "$as_me: failed program was:" >&5
118468 sed 's/^/| /' conftest.$ac_ext >&5
118470 ac_lo=`expr '(' $ac_mid ')' + 1`
118472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118474 case $ac_lo in
118475 ?*) ac_cv_sizeof_short=$ac_lo;;
118476 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118477 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118478 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118479 See \`config.log' for more details." >&5
118480 echo "$as_me: error: cannot compute sizeof (short), 77
118481 See \`config.log' for more details." >&2;}
118482 { (exit 1); exit 1; }; }; } ;;
118485 if test "$cross_compiling" = yes; then
118486 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118487 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118488 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118489 See \`config.log' for more details." >&5
118490 echo "$as_me: error: cannot run test program while cross compiling
118491 See \`config.log' for more details." >&2;}
118492 { (exit 1); exit 1; }; }; }
118494 cat >conftest.$ac_ext <<_ACEOF
118495 /* confdefs.h. */
118496 _ACEOF
118497 cat confdefs.h >>conftest.$ac_ext
118498 cat >>conftest.$ac_ext <<_ACEOF
118499 /* end confdefs.h. */
118500 $ac_includes_default
118501 long longval () { return (long) (sizeof (short)); }
118502 unsigned long ulongval () { return (long) (sizeof (short)); }
118503 #include <stdio.h>
118504 #include <stdlib.h>
118506 main ()
118509 FILE *f = fopen ("conftest.val", "w");
118510 if (! f)
118511 exit (1);
118512 if (((long) (sizeof (short))) < 0)
118514 long i = longval ();
118515 if (i != ((long) (sizeof (short))))
118516 exit (1);
118517 fprintf (f, "%ld\n", i);
118521 unsigned long i = ulongval ();
118522 if (i != ((long) (sizeof (short))))
118523 exit (1);
118524 fprintf (f, "%lu\n", i);
118526 exit (ferror (f) || fclose (f) != 0);
118529 return 0;
118531 _ACEOF
118532 rm -f conftest$ac_exeext
118533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118534 (eval $ac_link) 2>&5
118535 ac_status=$?
118536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118539 (eval $ac_try) 2>&5
118540 ac_status=$?
118541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118542 (exit $ac_status); }; }; then
118543 ac_cv_sizeof_short=`cat conftest.val`
118545 echo "$as_me: program exited with status $ac_status" >&5
118546 echo "$as_me: failed program was:" >&5
118547 sed 's/^/| /' conftest.$ac_ext >&5
118549 ( exit $ac_status )
118550 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118551 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118552 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118553 See \`config.log' for more details." >&5
118554 echo "$as_me: error: cannot compute sizeof (short), 77
118555 See \`config.log' for more details." >&2;}
118556 { (exit 1); exit 1; }; }; }
118558 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118561 rm -f conftest.val
118563 ac_cv_sizeof_short=0
118566 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
118567 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
118568 cat >>confdefs.h <<_ACEOF
118569 #define SIZEOF_SHORT $ac_cv_sizeof_short
118570 _ACEOF
118573 echo "$as_me:$LINENO: checking for char" >&5
118574 echo $ECHO_N "checking for char... $ECHO_C" >&6
118575 if test "${ac_cv_type_char+set}" = set; then
118576 echo $ECHO_N "(cached) $ECHO_C" >&6
118578 cat >conftest.$ac_ext <<_ACEOF
118579 /* confdefs.h. */
118580 _ACEOF
118581 cat confdefs.h >>conftest.$ac_ext
118582 cat >>conftest.$ac_ext <<_ACEOF
118583 /* end confdefs.h. */
118584 $ac_includes_default
118586 main ()
118588 if ((char *) 0)
118589 return 0;
118590 if (sizeof (char))
118591 return 0;
118593 return 0;
118595 _ACEOF
118596 rm -f conftest.$ac_objext
118597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118598 (eval $ac_compile) 2>conftest.er1
118599 ac_status=$?
118600 grep -v '^ *+' conftest.er1 >conftest.err
118601 rm -f conftest.er1
118602 cat conftest.err >&5
118603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118604 (exit $ac_status); } &&
118605 { ac_try='test -z "$ac_c_werror_flag"
118606 || test ! -s conftest.err'
118607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118608 (eval $ac_try) 2>&5
118609 ac_status=$?
118610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118611 (exit $ac_status); }; } &&
118612 { ac_try='test -s conftest.$ac_objext'
118613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118614 (eval $ac_try) 2>&5
118615 ac_status=$?
118616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118617 (exit $ac_status); }; }; then
118618 ac_cv_type_char=yes
118620 echo "$as_me: failed program was:" >&5
118621 sed 's/^/| /' conftest.$ac_ext >&5
118623 ac_cv_type_char=no
118625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118627 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
118628 echo "${ECHO_T}$ac_cv_type_char" >&6
118630 echo "$as_me:$LINENO: checking size of char" >&5
118631 echo $ECHO_N "checking size of char... $ECHO_C" >&6
118632 if test "${ac_cv_sizeof_char+set}" = set; then
118633 echo $ECHO_N "(cached) $ECHO_C" >&6
118635 if test "$ac_cv_type_char" = yes; then
118636 # The cast to unsigned long works around a bug in the HP C Compiler
118637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118639 # This bug is HP SR number 8606223364.
118640 if test "$cross_compiling" = yes; then
118641 # Depending upon the size, compute the lo and hi bounds.
118642 cat >conftest.$ac_ext <<_ACEOF
118643 /* confdefs.h. */
118644 _ACEOF
118645 cat confdefs.h >>conftest.$ac_ext
118646 cat >>conftest.$ac_ext <<_ACEOF
118647 /* end confdefs.h. */
118648 $ac_includes_default
118650 main ()
118652 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
118653 test_array [0] = 0
118656 return 0;
118658 _ACEOF
118659 rm -f conftest.$ac_objext
118660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118661 (eval $ac_compile) 2>conftest.er1
118662 ac_status=$?
118663 grep -v '^ *+' conftest.er1 >conftest.err
118664 rm -f conftest.er1
118665 cat conftest.err >&5
118666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118667 (exit $ac_status); } &&
118668 { ac_try='test -z "$ac_c_werror_flag"
118669 || test ! -s conftest.err'
118670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118671 (eval $ac_try) 2>&5
118672 ac_status=$?
118673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118674 (exit $ac_status); }; } &&
118675 { ac_try='test -s conftest.$ac_objext'
118676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118677 (eval $ac_try) 2>&5
118678 ac_status=$?
118679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118680 (exit $ac_status); }; }; then
118681 ac_lo=0 ac_mid=0
118682 while :; do
118683 cat >conftest.$ac_ext <<_ACEOF
118684 /* confdefs.h. */
118685 _ACEOF
118686 cat confdefs.h >>conftest.$ac_ext
118687 cat >>conftest.$ac_ext <<_ACEOF
118688 /* end confdefs.h. */
118689 $ac_includes_default
118691 main ()
118693 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118694 test_array [0] = 0
118697 return 0;
118699 _ACEOF
118700 rm -f conftest.$ac_objext
118701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118702 (eval $ac_compile) 2>conftest.er1
118703 ac_status=$?
118704 grep -v '^ *+' conftest.er1 >conftest.err
118705 rm -f conftest.er1
118706 cat conftest.err >&5
118707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118708 (exit $ac_status); } &&
118709 { ac_try='test -z "$ac_c_werror_flag"
118710 || test ! -s conftest.err'
118711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118712 (eval $ac_try) 2>&5
118713 ac_status=$?
118714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118715 (exit $ac_status); }; } &&
118716 { ac_try='test -s conftest.$ac_objext'
118717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118718 (eval $ac_try) 2>&5
118719 ac_status=$?
118720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118721 (exit $ac_status); }; }; then
118722 ac_hi=$ac_mid; break
118724 echo "$as_me: failed program was:" >&5
118725 sed 's/^/| /' conftest.$ac_ext >&5
118727 ac_lo=`expr $ac_mid + 1`
118728 if test $ac_lo -le $ac_mid; then
118729 ac_lo= ac_hi=
118730 break
118732 ac_mid=`expr 2 '*' $ac_mid + 1`
118734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118737 echo "$as_me: failed program was:" >&5
118738 sed 's/^/| /' conftest.$ac_ext >&5
118740 cat >conftest.$ac_ext <<_ACEOF
118741 /* confdefs.h. */
118742 _ACEOF
118743 cat confdefs.h >>conftest.$ac_ext
118744 cat >>conftest.$ac_ext <<_ACEOF
118745 /* end confdefs.h. */
118746 $ac_includes_default
118748 main ()
118750 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
118751 test_array [0] = 0
118754 return 0;
118756 _ACEOF
118757 rm -f conftest.$ac_objext
118758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118759 (eval $ac_compile) 2>conftest.er1
118760 ac_status=$?
118761 grep -v '^ *+' conftest.er1 >conftest.err
118762 rm -f conftest.er1
118763 cat conftest.err >&5
118764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118765 (exit $ac_status); } &&
118766 { ac_try='test -z "$ac_c_werror_flag"
118767 || test ! -s conftest.err'
118768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118769 (eval $ac_try) 2>&5
118770 ac_status=$?
118771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118772 (exit $ac_status); }; } &&
118773 { ac_try='test -s conftest.$ac_objext'
118774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118775 (eval $ac_try) 2>&5
118776 ac_status=$?
118777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118778 (exit $ac_status); }; }; then
118779 ac_hi=-1 ac_mid=-1
118780 while :; do
118781 cat >conftest.$ac_ext <<_ACEOF
118782 /* confdefs.h. */
118783 _ACEOF
118784 cat confdefs.h >>conftest.$ac_ext
118785 cat >>conftest.$ac_ext <<_ACEOF
118786 /* end confdefs.h. */
118787 $ac_includes_default
118789 main ()
118791 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118792 test_array [0] = 0
118795 return 0;
118797 _ACEOF
118798 rm -f conftest.$ac_objext
118799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118800 (eval $ac_compile) 2>conftest.er1
118801 ac_status=$?
118802 grep -v '^ *+' conftest.er1 >conftest.err
118803 rm -f conftest.er1
118804 cat conftest.err >&5
118805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118806 (exit $ac_status); } &&
118807 { ac_try='test -z "$ac_c_werror_flag"
118808 || test ! -s conftest.err'
118809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118810 (eval $ac_try) 2>&5
118811 ac_status=$?
118812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118813 (exit $ac_status); }; } &&
118814 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
118820 ac_lo=$ac_mid; break
118822 echo "$as_me: failed program was:" >&5
118823 sed 's/^/| /' conftest.$ac_ext >&5
118825 ac_hi=`expr '(' $ac_mid ')' - 1`
118826 if test $ac_mid -le $ac_hi; then
118827 ac_lo= ac_hi=
118828 break
118830 ac_mid=`expr 2 '*' $ac_mid`
118832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118835 echo "$as_me: failed program was:" >&5
118836 sed 's/^/| /' conftest.$ac_ext >&5
118838 ac_lo= ac_hi=
118840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118843 # Binary search between lo and hi bounds.
118844 while test "x$ac_lo" != "x$ac_hi"; do
118845 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118846 cat >conftest.$ac_ext <<_ACEOF
118847 /* confdefs.h. */
118848 _ACEOF
118849 cat confdefs.h >>conftest.$ac_ext
118850 cat >>conftest.$ac_ext <<_ACEOF
118851 /* end confdefs.h. */
118852 $ac_includes_default
118854 main ()
118856 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118857 test_array [0] = 0
118860 return 0;
118862 _ACEOF
118863 rm -f conftest.$ac_objext
118864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118865 (eval $ac_compile) 2>conftest.er1
118866 ac_status=$?
118867 grep -v '^ *+' conftest.er1 >conftest.err
118868 rm -f conftest.er1
118869 cat conftest.err >&5
118870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118871 (exit $ac_status); } &&
118872 { ac_try='test -z "$ac_c_werror_flag"
118873 || test ! -s conftest.err'
118874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118875 (eval $ac_try) 2>&5
118876 ac_status=$?
118877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118878 (exit $ac_status); }; } &&
118879 { ac_try='test -s conftest.$ac_objext'
118880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118881 (eval $ac_try) 2>&5
118882 ac_status=$?
118883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118884 (exit $ac_status); }; }; then
118885 ac_hi=$ac_mid
118887 echo "$as_me: failed program was:" >&5
118888 sed 's/^/| /' conftest.$ac_ext >&5
118890 ac_lo=`expr '(' $ac_mid ')' + 1`
118892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118894 case $ac_lo in
118895 ?*) ac_cv_sizeof_char=$ac_lo;;
118896 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118897 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118898 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118899 See \`config.log' for more details." >&5
118900 echo "$as_me: error: cannot compute sizeof (char), 77
118901 See \`config.log' for more details." >&2;}
118902 { (exit 1); exit 1; }; }; } ;;
118905 if test "$cross_compiling" = yes; then
118906 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118907 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118908 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118909 See \`config.log' for more details." >&5
118910 echo "$as_me: error: cannot run test program while cross compiling
118911 See \`config.log' for more details." >&2;}
118912 { (exit 1); exit 1; }; }; }
118914 cat >conftest.$ac_ext <<_ACEOF
118915 /* confdefs.h. */
118916 _ACEOF
118917 cat confdefs.h >>conftest.$ac_ext
118918 cat >>conftest.$ac_ext <<_ACEOF
118919 /* end confdefs.h. */
118920 $ac_includes_default
118921 long longval () { return (long) (sizeof (char)); }
118922 unsigned long ulongval () { return (long) (sizeof (char)); }
118923 #include <stdio.h>
118924 #include <stdlib.h>
118926 main ()
118929 FILE *f = fopen ("conftest.val", "w");
118930 if (! f)
118931 exit (1);
118932 if (((long) (sizeof (char))) < 0)
118934 long i = longval ();
118935 if (i != ((long) (sizeof (char))))
118936 exit (1);
118937 fprintf (f, "%ld\n", i);
118941 unsigned long i = ulongval ();
118942 if (i != ((long) (sizeof (char))))
118943 exit (1);
118944 fprintf (f, "%lu\n", i);
118946 exit (ferror (f) || fclose (f) != 0);
118949 return 0;
118951 _ACEOF
118952 rm -f conftest$ac_exeext
118953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118954 (eval $ac_link) 2>&5
118955 ac_status=$?
118956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118959 (eval $ac_try) 2>&5
118960 ac_status=$?
118961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118962 (exit $ac_status); }; }; then
118963 ac_cv_sizeof_char=`cat conftest.val`
118965 echo "$as_me: program exited with status $ac_status" >&5
118966 echo "$as_me: failed program was:" >&5
118967 sed 's/^/| /' conftest.$ac_ext >&5
118969 ( exit $ac_status )
118970 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118971 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118972 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118973 See \`config.log' for more details." >&5
118974 echo "$as_me: error: cannot compute sizeof (char), 77
118975 See \`config.log' for more details." >&2;}
118976 { (exit 1); exit 1; }; }; }
118978 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118981 rm -f conftest.val
118983 ac_cv_sizeof_char=0
118986 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
118987 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
118988 cat >>confdefs.h <<_ACEOF
118989 #define SIZEOF_CHAR $ac_cv_sizeof_char
118990 _ACEOF
118994 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
118995 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
118996 case "$ac_cv_sizeof_char" in
118997 1) acx_cv_type_int8_t=char ;;
118998 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
118999 echo "$as_me: error: no 8-bit type" >&2;}
119000 { (exit please report a bug); exit please report a bug; }; }
119002 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
119003 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
119005 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
119006 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
119007 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
119008 2:*) acx_cv_type_int16_t=int ;;
119009 *:2) acx_cv_type_int16_t=short ;;
119010 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
119011 echo "$as_me: error: no 16-bit type" >&2;}
119012 { (exit please report a bug); exit please report a bug; }; }
119014 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
119015 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
119017 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
119018 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
119019 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
119020 4:*) acx_cv_type_int32_t=int ;;
119021 *:4) acx_cv_type_int32_t=long ;;
119022 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
119023 echo "$as_me: error: no 32-bit type" >&2;}
119024 { (exit please report a bug); exit please report a bug; }; }
119026 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
119027 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
119030 # These tests are here to make the output prettier
119032 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
119033 case "$ac_cv_sizeof_long" in
119034 8) acx_cv_type_int64_t=long ;;
119036 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
119037 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
119038 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
119039 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
119042 # Now we can use the above types
119044 if test "$ac_cv_type_uintptr_t" != yes; then
119045 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
119046 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
119047 case $ac_cv_sizeof_void_p in
119048 2) acx_cv_type_intptr_t=int16_t ;;
119049 4) acx_cv_type_intptr_t=int32_t ;;
119050 8) acx_cv_type_intptr_t=int64_t ;;
119051 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
119052 echo "$as_me: error: no equivalent for intptr_t" >&2;}
119053 { (exit please report a bug); exit please report a bug; }; }
119055 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119056 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119059 # ----------------- done all checks, emit header -------------
119060 ac_config_commands="$ac_config_commands include/gstdint.h"
119065 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
119068 # Check whether --enable-symvers or --disable-symvers was given.
119069 if test "${enable_symvers+set}" = set; then
119070 enableval="$enable_symvers"
119072 case "$enableval" in
119073 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
119074 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
119075 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
119076 { (exit 1); exit 1; }; } ;;
119080 enable_symvers=yes
119084 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
119085 # don't know enough about $LD to do tricks...
119088 # Turn a 'yes' into a suitable default.
119089 if test x$enable_symvers = xyes ; then
119090 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
119091 enable_symvers=no
119093 if test $with_gnu_ld = yes ; then
119094 enable_symvers=gnu
119096 case ${target_os} in
119097 darwin*)
119098 enable_symvers=darwin ;;
119100 enable_symvers=no ;;
119106 # Check to see if 'darwin' or 'darwin-export' can win.
119107 if test x$enable_symvers = xdarwin-export ; then
119108 enable_symvers=darwin
119111 # Check to see if 'gnu' can win.
119112 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
119113 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
119114 echo "$as_me:$LINENO: checking for shared libgcc" >&5
119115 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
119116 ac_save_CFLAGS="$CFLAGS"
119117 CFLAGS=' -lgcc_s'
119118 if test x$gcc_no_link = xyes; then
119119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119121 { (exit 1); exit 1; }; }
119123 cat >conftest.$ac_ext <<_ACEOF
119124 /* confdefs.h. */
119125 _ACEOF
119126 cat confdefs.h >>conftest.$ac_ext
119127 cat >>conftest.$ac_ext <<_ACEOF
119128 /* end confdefs.h. */
119131 main ()
119133 return 0;
119135 return 0;
119137 _ACEOF
119138 rm -f conftest.$ac_objext conftest$ac_exeext
119139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119140 (eval $ac_link) 2>conftest.er1
119141 ac_status=$?
119142 grep -v '^ *+' conftest.er1 >conftest.err
119143 rm -f conftest.er1
119144 cat conftest.err >&5
119145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119146 (exit $ac_status); } &&
119147 { ac_try='test -z "$ac_c_werror_flag"
119148 || test ! -s conftest.err'
119149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119150 (eval $ac_try) 2>&5
119151 ac_status=$?
119152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119153 (exit $ac_status); }; } &&
119154 { ac_try='test -s conftest$ac_exeext'
119155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119156 (eval $ac_try) 2>&5
119157 ac_status=$?
119158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119159 (exit $ac_status); }; }; then
119160 glibcxx_shared_libgcc=yes
119162 echo "$as_me: failed program was:" >&5
119163 sed 's/^/| /' conftest.$ac_ext >&5
119165 glibcxx_shared_libgcc=no
119167 rm -f conftest.err conftest.$ac_objext \
119168 conftest$ac_exeext conftest.$ac_ext
119169 CFLAGS="$ac_save_CFLAGS"
119170 if test $glibcxx_shared_libgcc = no; then
119171 cat > conftest.c <<EOF
119172 int main (void) { return 0; }
119174 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
119175 -shared -shared-libgcc -o conftest.so \
119176 conftest.c -v 2>&1 >/dev/null \
119177 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
119178 rm -f conftest.c conftest.so
119179 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
119180 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
119181 if test x$gcc_no_link = xyes; then
119182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119184 { (exit 1); exit 1; }; }
119186 cat >conftest.$ac_ext <<_ACEOF
119187 /* confdefs.h. */
119188 _ACEOF
119189 cat confdefs.h >>conftest.$ac_ext
119190 cat >>conftest.$ac_ext <<_ACEOF
119191 /* end confdefs.h. */
119194 main ()
119196 return 0;
119198 return 0;
119200 _ACEOF
119201 rm -f conftest.$ac_objext conftest$ac_exeext
119202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119203 (eval $ac_link) 2>conftest.er1
119204 ac_status=$?
119205 grep -v '^ *+' conftest.er1 >conftest.err
119206 rm -f conftest.er1
119207 cat conftest.err >&5
119208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119209 (exit $ac_status); } &&
119210 { ac_try='test -z "$ac_c_werror_flag"
119211 || test ! -s conftest.err'
119212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119213 (eval $ac_try) 2>&5
119214 ac_status=$?
119215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119216 (exit $ac_status); }; } &&
119217 { ac_try='test -s conftest$ac_exeext'
119218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119219 (eval $ac_try) 2>&5
119220 ac_status=$?
119221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119222 (exit $ac_status); }; }; then
119223 glibcxx_shared_libgcc=yes
119225 echo "$as_me: failed program was:" >&5
119226 sed 's/^/| /' conftest.$ac_ext >&5
119229 rm -f conftest.err conftest.$ac_objext \
119230 conftest$ac_exeext conftest.$ac_ext
119231 CFLAGS="$ac_save_CFLAGS"
119234 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
119235 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
119237 # For GNU ld, we need at least this version. The format is described in
119238 # GLIBCXX_CHECK_LINKER_FEATURES above.
119239 glibcxx_min_gnu_ld_version=21400
119241 # If no shared libgcc, can't win.
119242 if test $glibcxx_shared_libgcc != yes; then
119243 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119244 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119245 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
119246 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
119247 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119248 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119249 enable_symvers=no
119250 elif test $with_gnu_ld != yes ; then
119251 # just fail for now
119252 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119253 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119254 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
119255 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
119256 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119257 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119258 enable_symvers=no
119259 elif test $glibcxx_ld_is_gold = yes ; then
119260 : All versions of gold support symbol versioning.
119261 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
119262 # The right tools, the right setup, but too old. Fallbacks?
119263 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
119264 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
119265 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
119266 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
119267 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
119268 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
119269 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
119270 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
119271 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119272 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119273 enable_symvers=no
119277 # Everything parsed; figure out what file to use.
119278 case $enable_symvers in
119280 SYMVER_FILE=config/abi/pre/none.ver
119283 SYMVER_FILE=config/abi/pre/gnu.ver
119285 cat >>confdefs.h <<\_ACEOF
119286 #define _GLIBCXX_SYMVER_GNU 1
119287 _ACEOF
119290 gnu-versioned-namespace)
119291 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
119293 cat >>confdefs.h <<\_ACEOF
119294 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
119295 _ACEOF
119298 darwin)
119299 SYMVER_FILE=config/abi/pre/gnu.ver
119301 cat >>confdefs.h <<\_ACEOF
119302 #define _GLIBCXX_SYMVER_DARWIN 1
119303 _ACEOF
119308 if test x$enable_symvers != xno ; then
119310 cat >>confdefs.h <<\_ACEOF
119311 #define _GLIBCXX_SYMVER 1
119312 _ACEOF
119322 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
119323 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119325 # Now, set up compatibility support, if any.
119326 # In addition, need this to deal with std::size_t mangling in
119327 # src/compatibility.cc. In a perfect world, could use
119328 # typeid(std::size_t).name()[0] to do direct substitution.
119329 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119330 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119331 ac_save_CFLAGS="$CFLAGS"
119332 CFLAGS="-Werror"
119333 cat >conftest.$ac_ext <<_ACEOF
119334 /* confdefs.h. */
119335 _ACEOF
119336 cat confdefs.h >>conftest.$ac_ext
119337 cat >>conftest.$ac_ext <<_ACEOF
119338 /* end confdefs.h. */
119341 main ()
119343 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119345 return 0;
119347 _ACEOF
119348 rm -f conftest.$ac_objext
119349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119350 (eval $ac_compile) 2>conftest.er1
119351 ac_status=$?
119352 grep -v '^ *+' conftest.er1 >conftest.err
119353 rm -f conftest.er1
119354 cat conftest.err >&5
119355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119356 (exit $ac_status); } &&
119357 { ac_try='test -z "$ac_c_werror_flag"
119358 || test ! -s conftest.err'
119359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119360 (eval $ac_try) 2>&5
119361 ac_status=$?
119362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119363 (exit $ac_status); }; } &&
119364 { ac_try='test -s conftest.$ac_objext'
119365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119366 (eval $ac_try) 2>&5
119367 ac_status=$?
119368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119369 (exit $ac_status); }; }; then
119370 glibcxx_size_t_is_i=yes
119372 echo "$as_me: failed program was:" >&5
119373 sed 's/^/| /' conftest.$ac_ext >&5
119375 glibcxx_size_t_is_i=no
119377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119378 CFLAGS=$ac_save_CFLAGS
119379 if test "$glibcxx_size_t_is_i" = yes; then
119381 cat >>confdefs.h <<\_ACEOF
119382 #define _GLIBCXX_SIZE_T_IS_UINT 1
119383 _ACEOF
119386 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119387 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119389 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119390 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119391 ac_save_CFLAGS="$CFLAGS"
119392 CFLAGS="-Werror"
119393 cat >conftest.$ac_ext <<_ACEOF
119394 /* confdefs.h. */
119395 _ACEOF
119396 cat confdefs.h >>conftest.$ac_ext
119397 cat >>conftest.$ac_ext <<_ACEOF
119398 /* end confdefs.h. */
119401 main ()
119403 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119405 return 0;
119407 _ACEOF
119408 rm -f conftest.$ac_objext
119409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119410 (eval $ac_compile) 2>conftest.er1
119411 ac_status=$?
119412 grep -v '^ *+' conftest.er1 >conftest.err
119413 rm -f conftest.er1
119414 cat conftest.err >&5
119415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119416 (exit $ac_status); } &&
119417 { ac_try='test -z "$ac_c_werror_flag"
119418 || test ! -s conftest.err'
119419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119420 (eval $ac_try) 2>&5
119421 ac_status=$?
119422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119423 (exit $ac_status); }; } &&
119424 { ac_try='test -s conftest.$ac_objext'
119425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119426 (eval $ac_try) 2>&5
119427 ac_status=$?
119428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119429 (exit $ac_status); }; }; then
119430 glibcxx_ptrdiff_t_is_i=yes
119432 echo "$as_me: failed program was:" >&5
119433 sed 's/^/| /' conftest.$ac_ext >&5
119435 glibcxx_ptrdiff_t_is_i=no
119437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119438 CFLAGS=$ac_save_CFLAGS
119439 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
119441 cat >>confdefs.h <<\_ACEOF
119442 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
119443 _ACEOF
119446 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
119447 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
119450 # Check whether --enable-visibility or --disable-visibility was given.
119451 if test "${enable_visibility+set}" = set; then
119452 enableval="$enable_visibility"
119454 case "$enableval" in
119455 yes|no) ;;
119456 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
119457 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
119458 { (exit 1); exit 1; }; } ;;
119462 enable_visibility=yes
119466 if test x$enable_visibility = xyes ; then
119467 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
119468 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
119469 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
119470 echo $ECHO_N "(cached) $ECHO_C" >&6
119473 save_CFLAGS="$CFLAGS"
119474 CFLAGS="$CFLAGS -Werror"
119475 cat >conftest.$ac_ext <<_ACEOF
119476 /* confdefs.h. */
119477 _ACEOF
119478 cat confdefs.h >>conftest.$ac_ext
119479 cat >>conftest.$ac_ext <<_ACEOF
119480 /* end confdefs.h. */
119481 void __attribute__((visibility("hidden"))) foo(void) { }
119483 main ()
119487 return 0;
119489 _ACEOF
119490 rm -f conftest.$ac_objext
119491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119492 (eval $ac_compile) 2>conftest.er1
119493 ac_status=$?
119494 grep -v '^ *+' conftest.er1 >conftest.err
119495 rm -f conftest.er1
119496 cat conftest.err >&5
119497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119498 (exit $ac_status); } &&
119499 { ac_try='test -z "$ac_c_werror_flag"
119500 || test ! -s conftest.err'
119501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119502 (eval $ac_try) 2>&5
119503 ac_status=$?
119504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119505 (exit $ac_status); }; } &&
119506 { ac_try='test -s conftest.$ac_objext'
119507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119508 (eval $ac_try) 2>&5
119509 ac_status=$?
119510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119511 (exit $ac_status); }; }; then
119512 glibcxx_cv_have_attribute_visibility=yes
119514 echo "$as_me: failed program was:" >&5
119515 sed 's/^/| /' conftest.$ac_ext >&5
119517 glibcxx_cv_have_attribute_visibility=no
119519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119520 CFLAGS="$save_CFLAGS"
119522 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
119523 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
119524 if test $glibcxx_cv_have_attribute_visibility = no; then
119525 enable_visibility=no
119530 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
119531 echo "$as_me: visibility supported: $enable_visibility" >&6;}
119534 ac_ldbl_compat=no
119535 case "$target" in
119536 powerpc*-*-linux* | \
119537 powerpc*-*-gnu* | \
119538 sparc*-*-linux* | \
119539 s390*-*-linux* | \
119540 alpha*-*-linux*)
119541 cat >conftest.$ac_ext <<_ACEOF
119542 /* confdefs.h. */
119543 _ACEOF
119544 cat confdefs.h >>conftest.$ac_ext
119545 cat >>conftest.$ac_ext <<_ACEOF
119546 /* end confdefs.h. */
119549 main ()
119552 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
119553 #error no need for long double compatibility
119554 #endif
119557 return 0;
119559 _ACEOF
119560 rm -f conftest.$ac_objext
119561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119562 (eval $ac_compile) 2>conftest.er1
119563 ac_status=$?
119564 grep -v '^ *+' conftest.er1 >conftest.err
119565 rm -f conftest.er1
119566 cat conftest.err >&5
119567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119568 (exit $ac_status); } &&
119569 { ac_try='test -z "$ac_c_werror_flag"
119570 || test ! -s conftest.err'
119571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119572 (eval $ac_try) 2>&5
119573 ac_status=$?
119574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119575 (exit $ac_status); }; } &&
119576 { ac_try='test -s conftest.$ac_objext'
119577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119578 (eval $ac_try) 2>&5
119579 ac_status=$?
119580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119581 (exit $ac_status); }; }; then
119582 ac_ldbl_compat=yes
119584 echo "$as_me: failed program was:" >&5
119585 sed 's/^/| /' conftest.$ac_ext >&5
119587 ac_ldbl_compat=no
119589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119590 if test "$ac_ldbl_compat" = yes; then
119592 cat >>confdefs.h <<\_ACEOF
119593 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
119594 _ACEOF
119596 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
119601 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
119603 if $GLIBCXX_IS_NATIVE ; then
119604 # Do checks for resource limit functions.
119606 setrlimit_have_headers=yes
119610 for ac_header in unistd.h sys/time.h sys/resource.h
119612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
119613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119614 echo "$as_me:$LINENO: checking for $ac_header" >&5
119615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119617 echo $ECHO_N "(cached) $ECHO_C" >&6
119619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119622 # Is the header compilable?
119623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
119624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
119625 cat >conftest.$ac_ext <<_ACEOF
119626 /* confdefs.h. */
119627 _ACEOF
119628 cat confdefs.h >>conftest.$ac_ext
119629 cat >>conftest.$ac_ext <<_ACEOF
119630 /* end confdefs.h. */
119631 $ac_includes_default
119632 #include <$ac_header>
119633 _ACEOF
119634 rm -f conftest.$ac_objext
119635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119636 (eval $ac_compile) 2>conftest.er1
119637 ac_status=$?
119638 grep -v '^ *+' conftest.er1 >conftest.err
119639 rm -f conftest.er1
119640 cat conftest.err >&5
119641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119642 (exit $ac_status); } &&
119643 { ac_try='test -z "$ac_c_werror_flag"
119644 || test ! -s conftest.err'
119645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119646 (eval $ac_try) 2>&5
119647 ac_status=$?
119648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119649 (exit $ac_status); }; } &&
119650 { ac_try='test -s conftest.$ac_objext'
119651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119652 (eval $ac_try) 2>&5
119653 ac_status=$?
119654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119655 (exit $ac_status); }; }; then
119656 ac_header_compiler=yes
119658 echo "$as_me: failed program was:" >&5
119659 sed 's/^/| /' conftest.$ac_ext >&5
119661 ac_header_compiler=no
119663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
119665 echo "${ECHO_T}$ac_header_compiler" >&6
119667 # Is the header present?
119668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
119669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
119670 cat >conftest.$ac_ext <<_ACEOF
119671 /* confdefs.h. */
119672 _ACEOF
119673 cat confdefs.h >>conftest.$ac_ext
119674 cat >>conftest.$ac_ext <<_ACEOF
119675 /* end confdefs.h. */
119676 #include <$ac_header>
119677 _ACEOF
119678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
119679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
119680 ac_status=$?
119681 grep -v '^ *+' conftest.er1 >conftest.err
119682 rm -f conftest.er1
119683 cat conftest.err >&5
119684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119685 (exit $ac_status); } >/dev/null; then
119686 if test -s conftest.err; then
119687 ac_cpp_err=$ac_c_preproc_warn_flag
119688 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
119690 ac_cpp_err=
119693 ac_cpp_err=yes
119695 if test -z "$ac_cpp_err"; then
119696 ac_header_preproc=yes
119698 echo "$as_me: failed program was:" >&5
119699 sed 's/^/| /' conftest.$ac_ext >&5
119701 ac_header_preproc=no
119703 rm -f conftest.err conftest.$ac_ext
119704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
119705 echo "${ECHO_T}$ac_header_preproc" >&6
119707 # So? What about this header?
119708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
119709 yes:no: )
119710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
119711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
119712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
119713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
119714 ac_header_preproc=yes
119716 no:yes:* )
119717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
119718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
119719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
119720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
119721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
119722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
119723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
119724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
119725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
119726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
119727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
119728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
119730 cat <<\_ASBOX
119731 ## ----------------------------------------- ##
119732 ## Report this to the package-unused lists. ##
119733 ## ----------------------------------------- ##
119734 _ASBOX
119736 sed "s/^/$as_me: WARNING: /" >&2
119739 echo "$as_me:$LINENO: checking for $ac_header" >&5
119740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119742 echo $ECHO_N "(cached) $ECHO_C" >&6
119744 eval "$as_ac_Header=\$ac_header_preproc"
119746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
119751 cat >>confdefs.h <<_ACEOF
119752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
119753 _ACEOF
119756 setrlimit_have_headers=no
119761 # If don't have the headers, then we can't run the tests now, and we
119762 # won't be seeing any of these during testsuite compilation.
119763 if test $setrlimit_have_headers = yes; then
119764 # Can't do these in a loop, else the resulting syntax is wrong.
119766 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
119767 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119768 cat >conftest.$ac_ext <<_ACEOF
119769 /* confdefs.h. */
119770 _ACEOF
119771 cat confdefs.h >>conftest.$ac_ext
119772 cat >>conftest.$ac_ext <<_ACEOF
119773 /* end confdefs.h. */
119774 #include <unistd.h>
119775 #include <sys/time.h>
119776 #include <sys/resource.h>
119779 main ()
119781 int f = RLIMIT_DATA ;
119783 return 0;
119785 _ACEOF
119786 rm -f conftest.$ac_objext
119787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119788 (eval $ac_compile) 2>conftest.er1
119789 ac_status=$?
119790 grep -v '^ *+' conftest.er1 >conftest.err
119791 rm -f conftest.er1
119792 cat conftest.err >&5
119793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119794 (exit $ac_status); } &&
119795 { ac_try='test -z "$ac_c_werror_flag"
119796 || test ! -s conftest.err'
119797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119798 (eval $ac_try) 2>&5
119799 ac_status=$?
119800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119801 (exit $ac_status); }; } &&
119802 { ac_try='test -s conftest.$ac_objext'
119803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119804 (eval $ac_try) 2>&5
119805 ac_status=$?
119806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119807 (exit $ac_status); }; }; then
119808 glibcxx_mresult=1
119810 echo "$as_me: failed program was:" >&5
119811 sed 's/^/| /' conftest.$ac_ext >&5
119813 glibcxx_mresult=0
119815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119817 cat >>confdefs.h <<_ACEOF
119818 #define HAVE_LIMIT_DATA $glibcxx_mresult
119819 _ACEOF
119821 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119822 echo "$as_me:$LINENO: result: $res" >&5
119823 echo "${ECHO_T}$res" >&6
119826 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119827 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119828 cat >conftest.$ac_ext <<_ACEOF
119829 /* confdefs.h. */
119830 _ACEOF
119831 cat confdefs.h >>conftest.$ac_ext
119832 cat >>conftest.$ac_ext <<_ACEOF
119833 /* end confdefs.h. */
119834 #include <unistd.h>
119835 #include <sys/time.h>
119836 #include <sys/resource.h>
119839 main ()
119841 int f = RLIMIT_RSS ;
119843 return 0;
119845 _ACEOF
119846 rm -f conftest.$ac_objext
119847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119848 (eval $ac_compile) 2>conftest.er1
119849 ac_status=$?
119850 grep -v '^ *+' conftest.er1 >conftest.err
119851 rm -f conftest.er1
119852 cat conftest.err >&5
119853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119854 (exit $ac_status); } &&
119855 { ac_try='test -z "$ac_c_werror_flag"
119856 || test ! -s conftest.err'
119857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119858 (eval $ac_try) 2>&5
119859 ac_status=$?
119860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119861 (exit $ac_status); }; } &&
119862 { ac_try='test -s conftest.$ac_objext'
119863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119864 (eval $ac_try) 2>&5
119865 ac_status=$?
119866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119867 (exit $ac_status); }; }; then
119868 glibcxx_mresult=1
119870 echo "$as_me: failed program was:" >&5
119871 sed 's/^/| /' conftest.$ac_ext >&5
119873 glibcxx_mresult=0
119875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119877 cat >>confdefs.h <<_ACEOF
119878 #define HAVE_LIMIT_RSS $glibcxx_mresult
119879 _ACEOF
119881 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119882 echo "$as_me:$LINENO: result: $res" >&5
119883 echo "${ECHO_T}$res" >&6
119886 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
119887 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
119888 cat >conftest.$ac_ext <<_ACEOF
119889 /* confdefs.h. */
119890 _ACEOF
119891 cat confdefs.h >>conftest.$ac_ext
119892 cat >>conftest.$ac_ext <<_ACEOF
119893 /* end confdefs.h. */
119894 #include <unistd.h>
119895 #include <sys/time.h>
119896 #include <sys/resource.h>
119899 main ()
119901 int f = RLIMIT_VMEM ;
119903 return 0;
119905 _ACEOF
119906 rm -f conftest.$ac_objext
119907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119908 (eval $ac_compile) 2>conftest.er1
119909 ac_status=$?
119910 grep -v '^ *+' conftest.er1 >conftest.err
119911 rm -f conftest.er1
119912 cat conftest.err >&5
119913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119914 (exit $ac_status); } &&
119915 { ac_try='test -z "$ac_c_werror_flag"
119916 || test ! -s conftest.err'
119917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119918 (eval $ac_try) 2>&5
119919 ac_status=$?
119920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119921 (exit $ac_status); }; } &&
119922 { ac_try='test -s conftest.$ac_objext'
119923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119924 (eval $ac_try) 2>&5
119925 ac_status=$?
119926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119927 (exit $ac_status); }; }; then
119928 glibcxx_mresult=1
119930 echo "$as_me: failed program was:" >&5
119931 sed 's/^/| /' conftest.$ac_ext >&5
119933 glibcxx_mresult=0
119935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119937 cat >>confdefs.h <<_ACEOF
119938 #define HAVE_LIMIT_VMEM $glibcxx_mresult
119939 _ACEOF
119941 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119942 echo "$as_me:$LINENO: result: $res" >&5
119943 echo "${ECHO_T}$res" >&6
119946 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
119947 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
119948 cat >conftest.$ac_ext <<_ACEOF
119949 /* confdefs.h. */
119950 _ACEOF
119951 cat confdefs.h >>conftest.$ac_ext
119952 cat >>conftest.$ac_ext <<_ACEOF
119953 /* end confdefs.h. */
119954 #include <unistd.h>
119955 #include <sys/time.h>
119956 #include <sys/resource.h>
119959 main ()
119961 int f = RLIMIT_AS ;
119963 return 0;
119965 _ACEOF
119966 rm -f conftest.$ac_objext
119967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119968 (eval $ac_compile) 2>conftest.er1
119969 ac_status=$?
119970 grep -v '^ *+' conftest.er1 >conftest.err
119971 rm -f conftest.er1
119972 cat conftest.err >&5
119973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119974 (exit $ac_status); } &&
119975 { ac_try='test -z "$ac_c_werror_flag"
119976 || test ! -s conftest.err'
119977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119978 (eval $ac_try) 2>&5
119979 ac_status=$?
119980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119981 (exit $ac_status); }; } &&
119982 { ac_try='test -s conftest.$ac_objext'
119983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119984 (eval $ac_try) 2>&5
119985 ac_status=$?
119986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119987 (exit $ac_status); }; }; then
119988 glibcxx_mresult=1
119990 echo "$as_me: failed program was:" >&5
119991 sed 's/^/| /' conftest.$ac_ext >&5
119993 glibcxx_mresult=0
119995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119997 cat >>confdefs.h <<_ACEOF
119998 #define HAVE_LIMIT_AS $glibcxx_mresult
119999 _ACEOF
120001 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120002 echo "$as_me:$LINENO: result: $res" >&5
120003 echo "${ECHO_T}$res" >&6
120006 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
120007 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
120008 cat >conftest.$ac_ext <<_ACEOF
120009 /* confdefs.h. */
120010 _ACEOF
120011 cat confdefs.h >>conftest.$ac_ext
120012 cat >>conftest.$ac_ext <<_ACEOF
120013 /* end confdefs.h. */
120014 #include <unistd.h>
120015 #include <sys/time.h>
120016 #include <sys/resource.h>
120019 main ()
120021 int f = RLIMIT_FSIZE ;
120023 return 0;
120025 _ACEOF
120026 rm -f conftest.$ac_objext
120027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120028 (eval $ac_compile) 2>conftest.er1
120029 ac_status=$?
120030 grep -v '^ *+' conftest.er1 >conftest.err
120031 rm -f conftest.er1
120032 cat conftest.err >&5
120033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120034 (exit $ac_status); } &&
120035 { ac_try='test -z "$ac_c_werror_flag"
120036 || test ! -s conftest.err'
120037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120038 (eval $ac_try) 2>&5
120039 ac_status=$?
120040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120041 (exit $ac_status); }; } &&
120042 { ac_try='test -s conftest.$ac_objext'
120043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120044 (eval $ac_try) 2>&5
120045 ac_status=$?
120046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120047 (exit $ac_status); }; }; then
120048 glibcxx_mresult=1
120050 echo "$as_me: failed program was:" >&5
120051 sed 's/^/| /' conftest.$ac_ext >&5
120053 glibcxx_mresult=0
120055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120057 cat >>confdefs.h <<_ACEOF
120058 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120059 _ACEOF
120061 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120062 echo "$as_me:$LINENO: result: $res" >&5
120063 echo "${ECHO_T}$res" >&6
120066 # Check for rlimit, setrlimit.
120067 if test "${glibcxx_cv_setrlimit+set}" = set; then
120068 echo $ECHO_N "(cached) $ECHO_C" >&6
120071 cat >conftest.$ac_ext <<_ACEOF
120072 /* confdefs.h. */
120073 _ACEOF
120074 cat confdefs.h >>conftest.$ac_ext
120075 cat >>conftest.$ac_ext <<_ACEOF
120076 /* end confdefs.h. */
120077 #include <unistd.h>
120078 #include <sys/time.h>
120079 #include <sys/resource.h>
120082 main ()
120084 struct rlimit r;
120085 setrlimit(0, &r);
120087 return 0;
120089 _ACEOF
120090 rm -f conftest.$ac_objext
120091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120092 (eval $ac_compile) 2>conftest.er1
120093 ac_status=$?
120094 grep -v '^ *+' conftest.er1 >conftest.err
120095 rm -f conftest.er1
120096 cat conftest.err >&5
120097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120098 (exit $ac_status); } &&
120099 { ac_try='test -z "$ac_c_werror_flag"
120100 || test ! -s conftest.err'
120101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120102 (eval $ac_try) 2>&5
120103 ac_status=$?
120104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120105 (exit $ac_status); }; } &&
120106 { ac_try='test -s conftest.$ac_objext'
120107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120108 (eval $ac_try) 2>&5
120109 ac_status=$?
120110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120111 (exit $ac_status); }; }; then
120112 glibcxx_cv_setrlimit=yes
120114 echo "$as_me: failed program was:" >&5
120115 sed 's/^/| /' conftest.$ac_ext >&5
120117 glibcxx_cv_setrlimit=no
120119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120125 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
120126 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
120127 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
120128 ac_res_limits=yes
120130 cat >>confdefs.h <<\_ACEOF
120131 #define _GLIBCXX_RES_LIMITS 1
120132 _ACEOF
120135 ac_res_limits=no
120137 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
120138 echo "${ECHO_T}$ac_res_limits" >&6
120141 # Look for setenv, so that extended locale tests can be performed.
120143 echo "$as_me:$LINENO: checking for setenv declaration" >&5
120144 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
120145 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
120146 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
120147 echo $ECHO_N "(cached) $ECHO_C" >&6
120152 ac_ext=cc
120153 ac_cpp='$CXXCPP $CPPFLAGS'
120154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120158 cat >conftest.$ac_ext <<_ACEOF
120159 /* confdefs.h. */
120160 _ACEOF
120161 cat confdefs.h >>conftest.$ac_ext
120162 cat >>conftest.$ac_ext <<_ACEOF
120163 /* end confdefs.h. */
120164 #include <stdlib.h>
120166 main ()
120168 setenv(0, 0, 0);
120170 return 0;
120172 _ACEOF
120173 rm -f conftest.$ac_objext
120174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120175 (eval $ac_compile) 2>conftest.er1
120176 ac_status=$?
120177 grep -v '^ *+' conftest.er1 >conftest.err
120178 rm -f conftest.er1
120179 cat conftest.err >&5
120180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120181 (exit $ac_status); } &&
120182 { ac_try='test -z "$ac_cxx_werror_flag"
120183 || test ! -s conftest.err'
120184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120185 (eval $ac_try) 2>&5
120186 ac_status=$?
120187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120188 (exit $ac_status); }; } &&
120189 { ac_try='test -s conftest.$ac_objext'
120190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120191 (eval $ac_try) 2>&5
120192 ac_status=$?
120193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120194 (exit $ac_status); }; }; then
120195 glibcxx_cv_func_setenv_use=yes
120197 echo "$as_me: failed program was:" >&5
120198 sed 's/^/| /' conftest.$ac_ext >&5
120200 glibcxx_cv_func_setenv_use=no
120202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120203 ac_ext=c
120204 ac_cpp='$CPP $CPPFLAGS'
120205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
120214 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
120215 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
120217 for ac_func in setenv
120219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120220 echo "$as_me:$LINENO: checking for $ac_func" >&5
120221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120222 if eval "test \"\${$as_ac_var+set}\" = set"; then
120223 echo $ECHO_N "(cached) $ECHO_C" >&6
120225 if test x$gcc_no_link = xyes; then
120226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120228 { (exit 1); exit 1; }; }
120230 cat >conftest.$ac_ext <<_ACEOF
120231 /* confdefs.h. */
120232 _ACEOF
120233 cat confdefs.h >>conftest.$ac_ext
120234 cat >>conftest.$ac_ext <<_ACEOF
120235 /* end confdefs.h. */
120236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120238 #define $ac_func innocuous_$ac_func
120240 /* System header to define __stub macros and hopefully few prototypes,
120241 which can conflict with char $ac_func (); below.
120242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120243 <limits.h> exists even on freestanding compilers. */
120245 #ifdef __STDC__
120246 # include <limits.h>
120247 #else
120248 # include <assert.h>
120249 #endif
120251 #undef $ac_func
120253 /* Override any gcc2 internal prototype to avoid an error. */
120254 #ifdef __cplusplus
120255 extern "C"
120257 #endif
120258 /* We use char because int might match the return type of a gcc2
120259 builtin and then its argument prototype would still apply. */
120260 char $ac_func ();
120261 /* The GNU C library defines this for functions which it implements
120262 to always fail with ENOSYS. Some functions are actually named
120263 something starting with __ and the normal name is an alias. */
120264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120265 choke me
120266 #else
120267 char (*f) () = $ac_func;
120268 #endif
120269 #ifdef __cplusplus
120271 #endif
120274 main ()
120276 return f != $ac_func;
120278 return 0;
120280 _ACEOF
120281 rm -f conftest.$ac_objext conftest$ac_exeext
120282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120283 (eval $ac_link) 2>conftest.er1
120284 ac_status=$?
120285 grep -v '^ *+' conftest.er1 >conftest.err
120286 rm -f conftest.er1
120287 cat conftest.err >&5
120288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120289 (exit $ac_status); } &&
120290 { ac_try='test -z "$ac_c_werror_flag"
120291 || test ! -s conftest.err'
120292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120293 (eval $ac_try) 2>&5
120294 ac_status=$?
120295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120296 (exit $ac_status); }; } &&
120297 { ac_try='test -s conftest$ac_exeext'
120298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120299 (eval $ac_try) 2>&5
120300 ac_status=$?
120301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120302 (exit $ac_status); }; }; then
120303 eval "$as_ac_var=yes"
120305 echo "$as_me: failed program was:" >&5
120306 sed 's/^/| /' conftest.$ac_ext >&5
120308 eval "$as_ac_var=no"
120310 rm -f conftest.err conftest.$ac_objext \
120311 conftest$ac_exeext conftest.$ac_ext
120313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120315 if test `eval echo '${'$as_ac_var'}'` = yes; then
120316 cat >>confdefs.h <<_ACEOF
120317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120318 _ACEOF
120327 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120328 test $enable_symvers != no; then
120329 case "$host" in
120330 *-*-cygwin*)
120331 enable_abi_check=no ;;
120333 enable_abi_check=yes ;;
120336 # Only build this as native, since automake does not understand
120337 # CXX_FOR_BUILD.
120338 enable_abi_check=no
120341 # Export file names for ABI checking.
120342 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120346 # Propagate the target-specific source directories through the build chain.
120347 ATOMICITY_SRCDIR=config/${atomicity_dir}
120348 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120349 ATOMIC_FLAGS=${atomic_flags}
120350 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120351 OS_INC_SRCDIR=config/${os_include_dir}
120352 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120353 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120363 # Determine cross-compile flags and AM_CONDITIONALs.
120364 #AC_SUBST(GLIBCXX_IS_NATIVE)
120365 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120366 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120367 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
120370 if test $is_hosted = yes; then
120371 GLIBCXX_HOSTED_TRUE=
120372 GLIBCXX_HOSTED_FALSE='#'
120374 GLIBCXX_HOSTED_TRUE='#'
120375 GLIBCXX_HOSTED_FALSE=
120381 if test $enable_libstdcxx_pch = yes; then
120382 GLIBCXX_BUILD_PCH_TRUE=
120383 GLIBCXX_BUILD_PCH_FALSE='#'
120385 GLIBCXX_BUILD_PCH_TRUE='#'
120386 GLIBCXX_BUILD_PCH_FALSE=
120392 if test $enable_cheaders = c; then
120393 GLIBCXX_C_HEADERS_C_TRUE=
120394 GLIBCXX_C_HEADERS_C_FALSE='#'
120396 GLIBCXX_C_HEADERS_C_TRUE='#'
120397 GLIBCXX_C_HEADERS_C_FALSE=
120403 if test $enable_cheaders = c_std; then
120404 GLIBCXX_C_HEADERS_C_STD_TRUE=
120405 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120407 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120408 GLIBCXX_C_HEADERS_C_STD_FALSE=
120414 if test $enable_cheaders = c_global; then
120415 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120416 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120418 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120419 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120425 if test $c_compatibility = yes; then
120426 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120427 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120429 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120430 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120436 if test $c_extra = yes; then
120437 GLIBCXX_C_HEADERS_EXTRA_TRUE=
120438 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
120440 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
120441 GLIBCXX_C_HEADERS_EXTRA_FALSE=
120447 if test $enable_libstdcxx_debug = yes; then
120448 GLIBCXX_BUILD_DEBUG_TRUE=
120449 GLIBCXX_BUILD_DEBUG_FALSE='#'
120451 GLIBCXX_BUILD_DEBUG_TRUE='#'
120452 GLIBCXX_BUILD_DEBUG_FALSE=
120458 if test $enable_parallel = yes; then
120459 ENABLE_PARALLEL_TRUE=
120460 ENABLE_PARALLEL_FALSE='#'
120462 ENABLE_PARALLEL_TRUE='#'
120463 ENABLE_PARALLEL_FALSE=
120469 if test $enable_symvers != no; then
120470 ENABLE_SYMVERS_TRUE=
120471 ENABLE_SYMVERS_FALSE='#'
120473 ENABLE_SYMVERS_TRUE='#'
120474 ENABLE_SYMVERS_FALSE=
120480 if test $enable_symvers = gnu; then
120481 ENABLE_SYMVERS_GNU_TRUE=
120482 ENABLE_SYMVERS_GNU_FALSE='#'
120484 ENABLE_SYMVERS_GNU_TRUE='#'
120485 ENABLE_SYMVERS_GNU_FALSE=
120491 if test $enable_symvers = gnu-versioned-namespace; then
120492 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
120493 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
120495 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
120496 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
120502 if test $enable_symvers = darwin; then
120503 ENABLE_SYMVERS_DARWIN_TRUE=
120504 ENABLE_SYMVERS_DARWIN_FALSE='#'
120506 ENABLE_SYMVERS_DARWIN_TRUE='#'
120507 ENABLE_SYMVERS_DARWIN_FALSE=
120513 if test $enable_visibility = yes; then
120514 ENABLE_VISIBILITY_TRUE=
120515 ENABLE_VISIBILITY_FALSE='#'
120517 ENABLE_VISIBILITY_TRUE='#'
120518 ENABLE_VISIBILITY_FALSE=
120524 if test $ac_ldbl_compat = yes; then
120525 GLIBCXX_LDBL_COMPAT_TRUE=
120526 GLIBCXX_LDBL_COMPAT_FALSE='#'
120528 GLIBCXX_LDBL_COMPAT_TRUE='#'
120529 GLIBCXX_LDBL_COMPAT_FALSE=
120535 cat >confcache <<\_ACEOF
120536 # This file is a shell script that caches the results of configure
120537 # tests run on this system so they can be shared between configure
120538 # scripts and configure runs, see configure's option --config-cache.
120539 # It is not useful on other systems. If it contains results you don't
120540 # want to keep, you may remove or edit it.
120542 # config.status only pays attention to the cache file if you give it
120543 # the --recheck option to rerun configure.
120545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120547 # following values.
120549 _ACEOF
120551 # The following way of writing the cache mishandles newlines in values,
120552 # but we know of no workaround that is simple, portable, and efficient.
120553 # So, don't put newlines in cache variables' values.
120554 # Ultrix sh set writes to stderr and can't be redirected directly,
120555 # and sets the high bit in the cache file unless we assign to the vars.
120557 (set) 2>&1 |
120558 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120559 *ac_space=\ *)
120560 # `set' does not quote correctly, so add quotes (double-quote
120561 # substitution turns \\\\ into \\, and sed turns \\ into \).
120562 sed -n \
120563 "s/'/'\\\\''/g;
120564 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120567 # `set' quotes correctly as required by POSIX, so do not add quotes.
120568 sed -n \
120569 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120571 esac;
120573 sed '
120574 t clear
120575 : clear
120576 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120577 t end
120578 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120579 : end' >>confcache
120580 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120581 if test -w $cache_file; then
120582 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120583 cat confcache >$cache_file
120585 echo "not updating unwritable cache $cache_file"
120588 rm -f confcache
120590 if test ${multilib} = yes; then
120591 multilib_arg="--enable-multilib"
120593 multilib_arg=
120596 # Export all the install information.
120598 glibcxx_toolexecdir=no
120599 glibcxx_toolexeclibdir=no
120600 glibcxx_prefixdir=$prefix
120602 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
120603 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
120605 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
120606 if test "${with_gxx_include_dir+set}" = set; then
120607 withval="$with_gxx_include_dir"
120608 case "$withval" in
120609 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
120610 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
120611 { (exit 1); exit 1; }; } ;;
120612 no) gxx_include_dir=no ;;
120613 *) gxx_include_dir=$withval ;;
120616 gxx_include_dir=no
120618 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120619 echo "${ECHO_T}$gxx_include_dir" >&6
120621 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
120622 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
120623 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
120624 if test "${enable_version_specific_runtime_libs+set}" = set; then
120625 enableval="$enable_version_specific_runtime_libs"
120626 case "$enableval" in
120627 yes) version_specific_libs=yes ;;
120628 no) version_specific_libs=no ;;
120629 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
120630 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
120631 { (exit 1); exit 1; }; };;
120634 version_specific_libs=no
120636 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
120637 echo "${ECHO_T}$version_specific_libs" >&6
120639 # Default case for install directory for include files.
120640 if test $version_specific_libs = no && test $gxx_include_dir = no; then
120641 gxx_include_dir='include/c++/${gcc_version}'
120642 if test -n "$with_cross_host" &&
120643 test x"$with_cross_host" != x"no"; then
120644 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
120646 gxx_include_dir='${prefix}/'"$gxx_include_dir"
120650 # Version-specific runtime libs processing.
120651 if test $version_specific_libs = yes; then
120652 # Need the gcc compiler version to know where to install libraries
120653 # and header files if --enable-version-specific-runtime-libs option
120654 # is selected. FIXME: these variables are misnamed, there are
120655 # no executables installed in _toolexecdir or _toolexeclibdir.
120656 if test x"$gxx_include_dir" = x"no"; then
120657 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
120659 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120660 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
120663 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
120664 # Install a library built with a cross compiler in tooldir, not libdir.
120665 if test x"$glibcxx_toolexecdir" = x"no"; then
120666 if test -n "$with_cross_host" &&
120667 test x"$with_cross_host" != x"no"; then
120668 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
120669 glibcxx_toolexeclibdir='${toolexecdir}/lib'
120671 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120672 glibcxx_toolexeclibdir='${libdir}'
120674 multi_os_directory=`$CXX -print-multi-os-directory`
120675 case $multi_os_directory in
120676 .) ;; # Avoid trailing /.
120677 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
120681 echo "$as_me:$LINENO: checking for install location" >&5
120682 echo $ECHO_N "checking for install location... $ECHO_C" >&6
120683 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120684 echo "${ECHO_T}$gxx_include_dir" >&6
120692 # Export all the include and flag information to Makefiles.
120694 # Used for every C++ compile we perform.
120695 GLIBCXX_INCLUDES="\
120696 -I$glibcxx_builddir/include/$host_alias \
120697 -I$glibcxx_builddir/include \
120698 -I$glibcxx_srcdir/libsupc++"
120700 # For Canadian crosses, pick this up too.
120701 if test $CANADIAN = yes; then
120702 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
120705 # Stuff in the actual top level. Currently only used by libsupc++ to
120706 # get unwind* headers from the gcc dir.
120707 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
120708 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
120710 # Now, export this to all the little Makefiles....
120715 # Optimization flags that are probably a good idea for thrill-seekers. Just
120716 # uncomment the lines below and make, everything else is ready to go...
120717 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
120718 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
120721 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
120725 if test "$enable_shared" = yes; then
120726 LIBSUPCXX_PICFLAGS="-prefer-pic"
120728 LIBSUPCXX_PICFLAGS=
120732 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
120734 ac_config_files="$ac_config_files scripts/testsuite_flags"
120737 ac_config_commands="$ac_config_commands default"
120740 cat >confcache <<\_ACEOF
120741 # This file is a shell script that caches the results of configure
120742 # tests run on this system so they can be shared between configure
120743 # scripts and configure runs, see configure's option --config-cache.
120744 # It is not useful on other systems. If it contains results you don't
120745 # want to keep, you may remove or edit it.
120747 # config.status only pays attention to the cache file if you give it
120748 # the --recheck option to rerun configure.
120750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120752 # following values.
120754 _ACEOF
120756 # The following way of writing the cache mishandles newlines in values,
120757 # but we know of no workaround that is simple, portable, and efficient.
120758 # So, don't put newlines in cache variables' values.
120759 # Ultrix sh set writes to stderr and can't be redirected directly,
120760 # and sets the high bit in the cache file unless we assign to the vars.
120762 (set) 2>&1 |
120763 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120764 *ac_space=\ *)
120765 # `set' does not quote correctly, so add quotes (double-quote
120766 # substitution turns \\\\ into \\, and sed turns \\ into \).
120767 sed -n \
120768 "s/'/'\\\\''/g;
120769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120772 # `set' quotes correctly as required by POSIX, so do not add quotes.
120773 sed -n \
120774 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120776 esac;
120778 sed '
120779 t clear
120780 : clear
120781 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120782 t end
120783 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120784 : end' >>confcache
120785 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120786 if test -w $cache_file; then
120787 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120788 cat confcache >$cache_file
120790 echo "not updating unwritable cache $cache_file"
120793 rm -f confcache
120795 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120796 # Let make expand exec_prefix.
120797 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120799 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120800 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120801 # trailing colons and then remove the whole line if VPATH becomes empty
120802 # (actually we leave an empty line to preserve line numbers).
120803 if test "x$srcdir" = x.; then
120804 ac_vpsub='/^[ ]*VPATH[ ]*=/{
120805 s/:*\$(srcdir):*/:/;
120806 s/:*\${srcdir}:*/:/;
120807 s/:*@srcdir@:*/:/;
120808 s/^\([^=]*=[ ]*\):*/\1/;
120809 s/:*$//;
120810 s/^[^=]*=[ ]*$//;
120814 DEFS=-DHAVE_CONFIG_H
120816 ac_libobjs=
120817 ac_ltlibobjs=
120818 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120819 # 1. Remove the extension, and $U if already installed.
120820 ac_i=`echo "$ac_i" |
120821 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120822 # 2. Add them.
120823 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120824 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120826 LIBOBJS=$ac_libobjs
120828 LTLIBOBJS=$ac_ltlibobjs
120831 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120832 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120833 Usually this means the macro was only invoked conditionally." >&5
120834 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120835 Usually this means the macro was only invoked conditionally." >&2;}
120836 { (exit 1); exit 1; }; }
120838 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120839 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120840 Usually this means the macro was only invoked conditionally." >&5
120841 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120842 Usually this means the macro was only invoked conditionally." >&2;}
120843 { (exit 1); exit 1; }; }
120845 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120846 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120847 Usually this means the macro was only invoked conditionally." >&5
120848 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120849 Usually this means the macro was only invoked conditionally." >&2;}
120850 { (exit 1); exit 1; }; }
120852 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120853 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120854 Usually this means the macro was only invoked conditionally." >&5
120855 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120856 Usually this means the macro was only invoked conditionally." >&2;}
120857 { (exit 1); exit 1; }; }
120859 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120860 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120861 Usually this means the macro was only invoked conditionally." >&5
120862 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120863 Usually this means the macro was only invoked conditionally." >&2;}
120864 { (exit 1); exit 1; }; }
120866 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
120867 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120868 Usually this means the macro was only invoked conditionally." >&5
120869 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120870 Usually this means the macro was only invoked conditionally." >&2;}
120871 { (exit 1); exit 1; }; }
120873 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
120874 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120875 Usually this means the macro was only invoked conditionally." >&5
120876 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120877 Usually this means the macro was only invoked conditionally." >&2;}
120878 { (exit 1); exit 1; }; }
120880 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
120881 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120882 Usually this means the macro was only invoked conditionally." >&5
120883 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120884 Usually this means the macro was only invoked conditionally." >&2;}
120885 { (exit 1); exit 1; }; }
120887 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
120888 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120889 Usually this means the macro was only invoked conditionally." >&5
120890 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120891 Usually this means the macro was only invoked conditionally." >&2;}
120892 { (exit 1); exit 1; }; }
120894 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
120895 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
120896 Usually this means the macro was only invoked conditionally." >&5
120897 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
120898 Usually this means the macro was only invoked conditionally." >&2;}
120899 { (exit 1); exit 1; }; }
120901 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
120902 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
120903 Usually this means the macro was only invoked conditionally." >&5
120904 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
120905 Usually this means the macro was only invoked conditionally." >&2;}
120906 { (exit 1); exit 1; }; }
120908 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
120909 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120910 Usually this means the macro was only invoked conditionally." >&5
120911 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120912 Usually this means the macro was only invoked conditionally." >&2;}
120913 { (exit 1); exit 1; }; }
120915 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
120916 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120917 Usually this means the macro was only invoked conditionally." >&5
120918 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120919 Usually this means the macro was only invoked conditionally." >&2;}
120920 { (exit 1); exit 1; }; }
120922 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
120923 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120924 Usually this means the macro was only invoked conditionally." >&5
120925 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120926 Usually this means the macro was only invoked conditionally." >&2;}
120927 { (exit 1); exit 1; }; }
120929 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
120930 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120931 Usually this means the macro was only invoked conditionally." >&5
120932 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120933 Usually this means the macro was only invoked conditionally." >&2;}
120934 { (exit 1); exit 1; }; }
120936 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
120937 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120938 Usually this means the macro was only invoked conditionally." >&5
120939 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120940 Usually this means the macro was only invoked conditionally." >&2;}
120941 { (exit 1); exit 1; }; }
120944 : ${CONFIG_STATUS=./config.status}
120945 ac_clean_files_save=$ac_clean_files
120946 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
120947 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
120948 echo "$as_me: creating $CONFIG_STATUS" >&6;}
120949 cat >$CONFIG_STATUS <<_ACEOF
120950 #! $SHELL
120951 # Generated by $as_me.
120952 # Run this file to recreate the current configuration.
120953 # Compiler output produced by configure, useful for debugging
120954 # configure, is in config.log if it exists.
120956 debug=false
120957 ac_cs_recheck=false
120958 ac_cs_silent=false
120959 SHELL=\${CONFIG_SHELL-$SHELL}
120960 _ACEOF
120962 cat >>$CONFIG_STATUS <<\_ACEOF
120963 ## --------------------- ##
120964 ## M4sh Initialization. ##
120965 ## --------------------- ##
120967 # Be Bourne compatible
120968 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
120969 emulate sh
120970 NULLCMD=:
120971 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
120972 # is contrary to our usage. Disable this feature.
120973 alias -g '${1+"$@"}'='"$@"'
120974 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
120975 set -o posix
120977 DUALCASE=1; export DUALCASE # for MKS sh
120979 # Support unset when possible.
120980 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
120981 as_unset=unset
120983 as_unset=false
120987 # Work around bugs in pre-3.0 UWIN ksh.
120988 $as_unset ENV MAIL MAILPATH
120989 PS1='$ '
120990 PS2='> '
120991 PS4='+ '
120993 # NLS nuisances.
120994 for as_var in \
120995 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
120996 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120997 LC_TELEPHONE LC_TIME
120999 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121000 eval $as_var=C; export $as_var
121002 $as_unset $as_var
121006 # Required to use basename.
121007 if expr a : '\(a\)' >/dev/null 2>&1; then
121008 as_expr=expr
121010 as_expr=false
121013 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
121014 as_basename=basename
121016 as_basename=false
121020 # Name of the executable.
121021 as_me=`$as_basename "$0" ||
121022 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121023 X"$0" : 'X\(//\)$' \| \
121024 X"$0" : 'X\(/\)$' \| \
121025 . : '\(.\)' 2>/dev/null ||
121026 echo X/"$0" |
121027 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
121028 /^X\/\(\/\/\)$/{ s//\1/; q; }
121029 /^X\/\(\/\).*/{ s//\1/; q; }
121030 s/.*/./; q'`
121033 # PATH needs CR, and LINENO needs CR and PATH.
121034 # Avoid depending upon Character Ranges.
121035 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
121036 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
121037 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
121038 as_cr_digits='0123456789'
121039 as_cr_alnum=$as_cr_Letters$as_cr_digits
121041 # The user is always right.
121042 if test "${PATH_SEPARATOR+set}" != set; then
121043 echo "#! /bin/sh" >conf$$.sh
121044 echo "exit 0" >>conf$$.sh
121045 chmod +x conf$$.sh
121046 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121047 PATH_SEPARATOR=';'
121049 PATH_SEPARATOR=:
121051 rm -f conf$$.sh
121055 as_lineno_1=$LINENO
121056 as_lineno_2=$LINENO
121057 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121058 test "x$as_lineno_1" != "x$as_lineno_2" &&
121059 test "x$as_lineno_3" = "x$as_lineno_2" || {
121060 # Find who we are. Look in the path if we contain no path at all
121061 # relative or not.
121062 case $0 in
121063 *[\\/]* ) as_myself=$0 ;;
121064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121065 for as_dir in $PATH
121067 IFS=$as_save_IFS
121068 test -z "$as_dir" && as_dir=.
121069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121074 # We did not find ourselves, most probably we were run as `sh COMMAND'
121075 # in which case we are not to be found in the path.
121076 if test "x$as_myself" = x; then
121077 as_myself=$0
121079 if test ! -f "$as_myself"; then
121080 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
121081 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
121082 { (exit 1); exit 1; }; }
121084 case $CONFIG_SHELL in
121086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121087 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
121089 IFS=$as_save_IFS
121090 test -z "$as_dir" && as_dir=.
121091 for as_base in sh bash ksh sh5; do
121092 case $as_dir in
121094 if ("$as_dir/$as_base" -c '
121095 as_lineno_1=$LINENO
121096 as_lineno_2=$LINENO
121097 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121098 test "x$as_lineno_1" != "x$as_lineno_2" &&
121099 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
121100 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
121101 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
121102 CONFIG_SHELL=$as_dir/$as_base
121103 export CONFIG_SHELL
121104 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
121112 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
121113 # uniformly replaced by the line number. The first 'sed' inserts a
121114 # line-number line before each line; the second 'sed' does the real
121115 # work. The second script uses 'N' to pair each line-number line
121116 # with the numbered line, and appends trailing '-' during
121117 # substitution so that $LINENO is not a special case at line end.
121118 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
121119 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
121120 sed '=' <$as_myself |
121121 sed '
121123 s,$,-,
121124 : loop
121125 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
121126 t loop
121127 s,-$,,
121128 s,^['$as_cr_digits']*\n,,
121129 ' >$as_me.lineno &&
121130 chmod +x $as_me.lineno ||
121131 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
121132 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
121133 { (exit 1); exit 1; }; }
121135 # Don't try to exec as it changes $[0], causing all sort of problems
121136 # (the dirname of $[0] is not the place where we might find the
121137 # original and so on. Autoconf is especially sensible to this).
121138 . ./$as_me.lineno
121139 # Exit status is that of the last command.
121144 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
121145 *c*,-n*) ECHO_N= ECHO_C='
121146 ' ECHO_T=' ' ;;
121147 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
121148 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
121151 if expr a : '\(a\)' >/dev/null 2>&1; then
121152 as_expr=expr
121154 as_expr=false
121157 rm -f conf$$ conf$$.exe conf$$.file
121158 echo >conf$$.file
121159 if ln -s conf$$.file conf$$ 2>/dev/null; then
121160 # We could just check for DJGPP; but this test a) works b) is more generic
121161 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
121162 if test -f conf$$.exe; then
121163 # Don't use ln at all; we don't have any links
121164 as_ln_s='cp -p'
121166 as_ln_s='ln -s'
121168 elif ln conf$$.file conf$$ 2>/dev/null; then
121169 as_ln_s=ln
121171 as_ln_s='cp -p'
121173 rm -f conf$$ conf$$.exe conf$$.file
121175 if mkdir -p . 2>/dev/null; then
121176 as_mkdir_p=:
121178 test -d ./-p && rmdir ./-p
121179 as_mkdir_p=false
121182 as_executable_p="test -f"
121184 # Sed expression to map a string onto a valid CPP name.
121185 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
121187 # Sed expression to map a string onto a valid variable name.
121188 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
121191 # IFS
121192 # We need space, tab and new line, in precisely that order.
121193 as_nl='
121195 IFS=" $as_nl"
121197 # CDPATH.
121198 $as_unset CDPATH
121200 exec 6>&1
121202 # Open the log real soon, to keep \$[0] and so on meaningful, and to
121203 # report actual input values of CONFIG_FILES etc. instead of their
121204 # values after options handling. Logging --version etc. is OK.
121205 exec 5>>config.log
121208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
121209 ## Running $as_me. ##
121210 _ASBOX
121211 } >&5
121212 cat >&5 <<_CSEOF
121214 This file was extended by package-unused $as_me version-unused, which was
121215 generated by GNU Autoconf 2.59. Invocation command line was
121217 CONFIG_FILES = $CONFIG_FILES
121218 CONFIG_HEADERS = $CONFIG_HEADERS
121219 CONFIG_LINKS = $CONFIG_LINKS
121220 CONFIG_COMMANDS = $CONFIG_COMMANDS
121221 $ $0 $@
121223 _CSEOF
121224 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
121225 echo >&5
121226 _ACEOF
121228 # Files that config.status was made for.
121229 if test -n "$ac_config_files"; then
121230 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
121233 if test -n "$ac_config_headers"; then
121234 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
121237 if test -n "$ac_config_links"; then
121238 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
121241 if test -n "$ac_config_commands"; then
121242 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
121245 cat >>$CONFIG_STATUS <<\_ACEOF
121247 ac_cs_usage="\
121248 \`$as_me' instantiates files from templates according to the
121249 current configuration.
121251 Usage: $0 [OPTIONS] [FILE]...
121253 -h, --help print this help, then exit
121254 -V, --version print version number, then exit
121255 -q, --quiet do not print progress messages
121256 -d, --debug don't remove temporary files
121257 --recheck update $as_me by reconfiguring in the same conditions
121258 --file=FILE[:TEMPLATE]
121259 instantiate the configuration file FILE
121260 --header=FILE[:TEMPLATE]
121261 instantiate the configuration header FILE
121263 Configuration files:
121264 $config_files
121266 Configuration headers:
121267 $config_headers
121269 Configuration commands:
121270 $config_commands
121272 Report bugs to <bug-autoconf@gnu.org>."
121273 _ACEOF
121275 cat >>$CONFIG_STATUS <<_ACEOF
121276 ac_cs_version="\\
121277 package-unused config.status version-unused
121278 configured by $0, generated by GNU Autoconf 2.59,
121279 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
121281 Copyright (C) 2003 Free Software Foundation, Inc.
121282 This config.status script is free software; the Free Software Foundation
121283 gives unlimited permission to copy, distribute and modify it."
121284 srcdir=$srcdir
121285 INSTALL="$INSTALL"
121286 _ACEOF
121288 cat >>$CONFIG_STATUS <<\_ACEOF
121289 # If no file are specified by the user, then we need to provide default
121290 # value. By we need to know if files were specified by the user.
121291 ac_need_defaults=:
121292 while test $# != 0
121294 case $1 in
121295 --*=*)
121296 ac_option=`expr "x$1" : 'x\([^=]*\)='`
121297 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
121298 ac_shift=:
121301 ac_option=$1
121302 ac_optarg=$2
121303 ac_shift=shift
121305 *) # This is not an option, so the user has probably given explicit
121306 # arguments.
121307 ac_option=$1
121308 ac_need_defaults=false;;
121311 case $ac_option in
121312 # Handling of the options.
121313 _ACEOF
121314 cat >>$CONFIG_STATUS <<\_ACEOF
121315 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
121316 ac_cs_recheck=: ;;
121317 --version | --vers* | -V )
121318 echo "$ac_cs_version"; exit 0 ;;
121319 --he | --h)
121320 # Conflict between --help and --header
121321 { { echo "$as_me:$LINENO: error: ambiguous option: $1
121322 Try \`$0 --help' for more information." >&5
121323 echo "$as_me: error: ambiguous option: $1
121324 Try \`$0 --help' for more information." >&2;}
121325 { (exit 1); exit 1; }; };;
121326 --help | --hel | -h )
121327 echo "$ac_cs_usage"; exit 0 ;;
121328 --debug | --d* | -d )
121329 debug=: ;;
121330 --file | --fil | --fi | --f )
121331 $ac_shift
121332 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121333 ac_need_defaults=false;;
121334 --header | --heade | --head | --hea )
121335 $ac_shift
121336 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121337 ac_need_defaults=false;;
121338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121339 | -silent | --silent | --silen | --sile | --sil | --si | --s)
121340 ac_cs_silent=: ;;
121342 # This is an error.
121343 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121344 Try \`$0 --help' for more information." >&5
121345 echo "$as_me: error: unrecognized option: $1
121346 Try \`$0 --help' for more information." >&2;}
121347 { (exit 1); exit 1; }; } ;;
121349 *) ac_config_targets="$ac_config_targets $1" ;;
121352 shift
121355 ac_configure_extra_args=
121357 if $ac_cs_silent; then
121358 exec 6>/dev/null
121359 ac_configure_extra_args="$ac_configure_extra_args --silent"
121362 _ACEOF
121363 cat >>$CONFIG_STATUS <<_ACEOF
121364 if \$ac_cs_recheck; then
121365 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121366 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121369 _ACEOF
121371 cat >>$CONFIG_STATUS <<_ACEOF
121373 # INIT-COMMANDS section.
121377 srcdir="$srcdir"
121378 host="$host"
121379 target="$target"
121380 with_multisubdir="$with_multisubdir"
121381 with_multisrctop="$with_multisrctop"
121382 with_target_subdir="$with_target_subdir"
121383 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121384 multi_basedir="$multi_basedir"
121385 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121386 CC="$CC"
121389 # The HP-UX ksh and POSIX shell print the target directory to stdout
121390 # if CDPATH is set.
121391 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121393 sed_quote_subst='$sed_quote_subst'
121394 double_quote_subst='$double_quote_subst'
121395 delay_variable_subst='$delay_variable_subst'
121396 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121397 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121398 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121399 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121400 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121401 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121402 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121403 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121404 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121405 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121406 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121407 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121408 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121409 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121410 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121411 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121412 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121413 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121414 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121415 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121416 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121417 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121418 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121419 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121420 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121421 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121422 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121423 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121424 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121425 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121426 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121427 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121428 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121429 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121430 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121431 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121432 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121433 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121434 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121435 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
121436 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
121437 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
121438 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
121439 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"`'
121440 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
121441 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
121442 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
121443 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
121444 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
121445 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
121446 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
121447 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
121448 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
121449 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
121450 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
121451 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121452 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121453 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
121454 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
121455 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121456 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121457 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
121458 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121459 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121460 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121461 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121462 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121463 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121464 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
121465 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121466 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121467 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121468 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
121469 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
121470 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
121471 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
121472 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
121473 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121474 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
121475 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
121476 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
121477 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
121478 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
121479 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121480 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121481 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121482 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121483 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
121484 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
121485 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
121486 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
121487 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
121488 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121489 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121490 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
121491 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121492 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
121493 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121494 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121495 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121496 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121497 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
121498 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
121499 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121500 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121501 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
121502 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
121503 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
121504 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
121505 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
121506 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
121507 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121508 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121509 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
121510 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
121511 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
121512 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121513 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121514 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121515 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121516 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121517 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121518 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121519 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121520 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121521 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121522 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121523 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121524 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121525 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121526 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121527 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121528 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121529 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121530 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121531 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121532 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121533 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121534 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121535 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121536 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121537 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121538 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121539 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121540 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121541 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121542 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121543 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121544 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121545 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121546 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121547 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121548 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121549 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121550 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121551 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121552 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121553 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121554 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121555 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121556 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121557 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121559 LTCC='$LTCC'
121560 LTCFLAGS='$LTCFLAGS'
121561 compiler='$compiler_DEFAULT'
121563 # Quote evaled strings.
121564 for var in SED \
121565 GREP \
121566 EGREP \
121567 FGREP \
121570 LN_S \
121571 lt_SP2NL \
121572 lt_NL2SP \
121573 reload_flag \
121574 deplibs_check_method \
121575 file_magic_cmd \
121577 AR_FLAGS \
121578 STRIP \
121579 RANLIB \
121581 CFLAGS \
121582 compiler \
121583 lt_cv_sys_global_symbol_pipe \
121584 lt_cv_sys_global_symbol_to_cdecl \
121585 lt_cv_sys_global_symbol_to_c_name_address \
121586 SHELL \
121587 ECHO \
121588 lt_prog_compiler_no_builtin_flag \
121589 lt_prog_compiler_wl \
121590 lt_prog_compiler_pic \
121591 lt_prog_compiler_static \
121592 lt_cv_prog_compiler_c_o \
121593 need_locks \
121594 shrext_cmds \
121595 export_dynamic_flag_spec \
121596 whole_archive_flag_spec \
121597 compiler_needs_object \
121598 with_gnu_ld \
121599 allow_undefined_flag \
121600 no_undefined_flag \
121601 hardcode_libdir_flag_spec \
121602 hardcode_libdir_flag_spec_ld \
121603 hardcode_libdir_separator \
121604 fix_srcfile_path \
121605 exclude_expsyms \
121606 include_expsyms \
121607 file_list_spec \
121608 variables_saved_for_relink \
121609 libname_spec \
121610 library_names_spec \
121611 soname_spec \
121612 finish_eval \
121613 old_striplib \
121614 striplib \
121615 predep_objects \
121616 postdep_objects \
121617 predeps \
121618 postdeps \
121619 compiler_lib_search_path \
121620 LD_CXX \
121621 compiler_CXX \
121622 lt_prog_compiler_no_builtin_flag_CXX \
121623 lt_prog_compiler_wl_CXX \
121624 lt_prog_compiler_pic_CXX \
121625 lt_prog_compiler_static_CXX \
121626 lt_cv_prog_compiler_c_o_CXX \
121627 export_dynamic_flag_spec_CXX \
121628 whole_archive_flag_spec_CXX \
121629 compiler_needs_object_CXX \
121630 with_gnu_ld_CXX \
121631 allow_undefined_flag_CXX \
121632 no_undefined_flag_CXX \
121633 hardcode_libdir_flag_spec_CXX \
121634 hardcode_libdir_flag_spec_ld_CXX \
121635 hardcode_libdir_separator_CXX \
121636 fix_srcfile_path_CXX \
121637 exclude_expsyms_CXX \
121638 include_expsyms_CXX \
121639 file_list_spec_CXX \
121640 predep_objects_CXX \
121641 postdep_objects_CXX \
121642 predeps_CXX \
121643 postdeps_CXX \
121644 compiler_lib_search_path_CXX; do
121645 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121646 *[\\\\\\\`\\"\\\$]*)
121647 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
121650 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121655 # Double-quote double-evaled strings.
121656 for var in reload_cmds \
121657 old_postinstall_cmds \
121658 old_postuninstall_cmds \
121659 old_archive_cmds \
121660 extract_expsyms_cmds \
121661 old_archive_from_new_cmds \
121662 old_archive_from_expsyms_cmds \
121663 archive_cmds \
121664 archive_expsym_cmds \
121665 module_cmds \
121666 module_expsym_cmds \
121667 export_symbols_cmds \
121668 prelink_cmds \
121669 postinstall_cmds \
121670 postuninstall_cmds \
121671 finish_cmds \
121672 sys_lib_search_path_spec \
121673 sys_lib_dlsearch_path_spec \
121674 old_archive_cmds_CXX \
121675 old_archive_from_new_cmds_CXX \
121676 old_archive_from_expsyms_cmds_CXX \
121677 archive_cmds_CXX \
121678 archive_expsym_cmds_CXX \
121679 module_cmds_CXX \
121680 module_expsym_cmds_CXX \
121681 export_symbols_cmds_CXX \
121682 prelink_cmds_CXX; do
121683 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121684 *[\\\\\\\`\\"\\\$]*)
121685 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
121688 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121693 # Fix-up fallback echo if it was mangled by the above quoting rules.
121694 case \$lt_ECHO in
121695 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
121699 ac_aux_dir='$ac_aux_dir'
121700 xsi_shell='$xsi_shell'
121701 lt_shell_append='$lt_shell_append'
121703 # See if we are running on zsh, and set the options which allow our
121704 # commands through without removal of \ escapes INIT.
121705 if test -n "\${ZSH_VERSION+set}" ; then
121706 setopt NO_GLOB_SUBST
121710 PACKAGE='$PACKAGE'
121711 VERSION='$VERSION'
121712 TIMESTAMP='$TIMESTAMP'
121713 RM='$RM'
121714 ofile='$ofile'
121721 GCC="$GCC"
121722 CC="$CC"
121723 acx_cv_header_stdint="$acx_cv_header_stdint"
121724 acx_cv_type_int8_t="$acx_cv_type_int8_t"
121725 acx_cv_type_int16_t="$acx_cv_type_int16_t"
121726 acx_cv_type_int32_t="$acx_cv_type_int32_t"
121727 acx_cv_type_int64_t="$acx_cv_type_int64_t"
121728 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
121729 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
121730 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
121731 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
121732 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
121733 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
121734 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
121735 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
121736 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
121739 # Variables needed in config.status (file generation) which aren't already
121740 # passed by autoconf.
121741 SUBDIRS="$SUBDIRS"
121744 _ACEOF
121748 cat >>$CONFIG_STATUS <<\_ACEOF
121749 for ac_config_target in $ac_config_targets
121751 case "$ac_config_target" in
121752 # Handling of arguments.
121753 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
121754 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
121755 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
121756 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
121757 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
121758 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
121759 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
121760 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
121761 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
121762 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
121763 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
121764 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
121765 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
121766 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
121767 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121768 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121769 { (exit 1); exit 1; }; };;
121773 # If the user did not use the arguments to specify the items to instantiate,
121774 # then the envvar interface is used. Set only those that are not.
121775 # We use the long form for the default assignment because of an extremely
121776 # bizarre bug on SunOS 4.1.3.
121777 if $ac_need_defaults; then
121778 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121779 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121780 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121783 # Have a temporary directory for convenience. Make it in the build tree
121784 # simply because there is no reason to put it here, and in addition,
121785 # creating and moving files from /tmp can sometimes cause problems.
121786 # Create a temporary directory, and hook for its removal unless debugging.
121787 $debug ||
121789 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121790 trap '{ (exit 1); exit 1; }' 1 2 13 15
121793 # Create a (secure) tmp directory for tmp files.
121796 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121797 test -n "$tmp" && test -d "$tmp"
121800 tmp=./confstat$$-$RANDOM
121801 (umask 077 && mkdir $tmp)
121804 echo "$me: cannot create a temporary directory in ." >&2
121805 { (exit 1); exit 1; }
121808 _ACEOF
121810 cat >>$CONFIG_STATUS <<_ACEOF
121813 # CONFIG_FILES section.
121816 # No need to generate the scripts if there are no CONFIG_FILES.
121817 # This happens for instance when ./config.status config.h
121818 if test -n "\$CONFIG_FILES"; then
121819 # Protect against being on the right side of a sed subst in config.status.
121820 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121821 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121822 s,@SHELL@,$SHELL,;t t
121823 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121824 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121825 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121826 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121827 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121828 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121829 s,@exec_prefix@,$exec_prefix,;t t
121830 s,@prefix@,$prefix,;t t
121831 s,@program_transform_name@,$program_transform_name,;t t
121832 s,@bindir@,$bindir,;t t
121833 s,@sbindir@,$sbindir,;t t
121834 s,@libexecdir@,$libexecdir,;t t
121835 s,@datadir@,$datadir,;t t
121836 s,@sysconfdir@,$sysconfdir,;t t
121837 s,@sharedstatedir@,$sharedstatedir,;t t
121838 s,@localstatedir@,$localstatedir,;t t
121839 s,@libdir@,$libdir,;t t
121840 s,@includedir@,$includedir,;t t
121841 s,@oldincludedir@,$oldincludedir,;t t
121842 s,@infodir@,$infodir,;t t
121843 s,@mandir@,$mandir,;t t
121844 s,@build_alias@,$build_alias,;t t
121845 s,@host_alias@,$host_alias,;t t
121846 s,@target_alias@,$target_alias,;t t
121847 s,@DEFS@,$DEFS,;t t
121848 s,@ECHO_C@,$ECHO_C,;t t
121849 s,@ECHO_N@,$ECHO_N,;t t
121850 s,@ECHO_T@,$ECHO_T,;t t
121851 s,@LIBS@,$LIBS,;t t
121852 s,@libtool_VERSION@,$libtool_VERSION,;t t
121853 s,@multi_basedir@,$multi_basedir,;t t
121854 s,@build@,$build,;t t
121855 s,@build_cpu@,$build_cpu,;t t
121856 s,@build_vendor@,$build_vendor,;t t
121857 s,@build_os@,$build_os,;t t
121858 s,@host@,$host,;t t
121859 s,@host_cpu@,$host_cpu,;t t
121860 s,@host_vendor@,$host_vendor,;t t
121861 s,@host_os@,$host_os,;t t
121862 s,@target@,$target,;t t
121863 s,@target_cpu@,$target_cpu,;t t
121864 s,@target_vendor@,$target_vendor,;t t
121865 s,@target_os@,$target_os,;t t
121866 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
121867 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
121868 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
121869 s,@CYGPATH_W@,$CYGPATH_W,;t t
121870 s,@PACKAGE@,$PACKAGE,;t t
121871 s,@VERSION@,$VERSION,;t t
121872 s,@ACLOCAL@,$ACLOCAL,;t t
121873 s,@AUTOCONF@,$AUTOCONF,;t t
121874 s,@AUTOMAKE@,$AUTOMAKE,;t t
121875 s,@AUTOHEADER@,$AUTOHEADER,;t t
121876 s,@MAKEINFO@,$MAKEINFO,;t t
121877 s,@install_sh@,$install_sh,;t t
121878 s,@STRIP@,$STRIP,;t t
121879 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
121880 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
121881 s,@mkdir_p@,$mkdir_p,;t t
121882 s,@AWK@,$AWK,;t t
121883 s,@SET_MAKE@,$SET_MAKE,;t t
121884 s,@am__leading_dot@,$am__leading_dot,;t t
121885 s,@AMTAR@,$AMTAR,;t t
121886 s,@am__tar@,$am__tar,;t t
121887 s,@am__untar@,$am__untar,;t t
121888 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
121889 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
121890 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
121891 s,@CC@,$CC,;t t
121892 s,@ac_ct_CC@,$ac_ct_CC,;t t
121893 s,@EXEEXT@,$EXEEXT,;t t
121894 s,@OBJEXT@,$OBJEXT,;t t
121895 s,@CXX@,$CXX,;t t
121896 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
121897 s,@CFLAGS@,$CFLAGS,;t t
121898 s,@CXXFLAGS@,$CXXFLAGS,;t t
121899 s,@LN_S@,$LN_S,;t t
121900 s,@AS@,$AS,;t t
121901 s,@ac_ct_AS@,$ac_ct_AS,;t t
121902 s,@AR@,$AR,;t t
121903 s,@ac_ct_AR@,$ac_ct_AR,;t t
121904 s,@RANLIB@,$RANLIB,;t t
121905 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
121906 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
121907 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
121908 s,@MAINT@,$MAINT,;t t
121909 s,@CPP@,$CPP,;t t
121910 s,@CPPFLAGS@,$CPPFLAGS,;t t
121911 s,@EGREP@,$EGREP,;t t
121912 s,@LIBTOOL@,$LIBTOOL,;t t
121913 s,@SED@,$SED,;t t
121914 s,@FGREP@,$FGREP,;t t
121915 s,@GREP@,$GREP,;t t
121916 s,@LD@,$LD,;t t
121917 s,@DUMPBIN@,$DUMPBIN,;t t
121918 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
121919 s,@NM@,$NM,;t t
121920 s,@lt_ECHO@,$lt_ECHO,;t t
121921 s,@LDFLAGS@,$LDFLAGS,;t t
121922 s,@CXXCPP@,$CXXCPP,;t t
121923 s,@enable_shared@,$enable_shared,;t t
121924 s,@enable_static@,$enable_static,;t t
121925 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
121926 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
121927 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
121928 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
121929 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
121930 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
121931 s,@WERROR@,$WERROR,;t t
121932 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
121933 s,@CSTDIO_H@,$CSTDIO_H,;t t
121934 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
121935 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
121936 s,@check_msgfmt@,$check_msgfmt,;t t
121937 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
121938 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
121939 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
121940 s,@USE_NLS@,$USE_NLS,;t t
121941 s,@CLOCALE_H@,$CLOCALE_H,;t t
121942 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
121943 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
121944 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
121945 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
121946 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
121947 s,@CMONEY_CC@,$CMONEY_CC,;t t
121948 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
121949 s,@CTIME_H@,$CTIME_H,;t t
121950 s,@CTIME_CC@,$CTIME_CC,;t t
121951 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
121952 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
121953 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
121954 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
121955 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
121956 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
121957 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
121958 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
121959 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
121960 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
121961 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
121962 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
121963 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
121964 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
121965 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
121966 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
121967 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
121968 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
121969 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
121970 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
121971 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
121972 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
121973 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
121974 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
121975 s,@LIBICONV@,$LIBICONV,;t t
121976 s,@LTLIBICONV@,$LTLIBICONV,;t t
121977 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
121978 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
121979 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
121980 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
121981 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
121982 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
121983 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
121984 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
121985 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
121986 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
121987 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
121988 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
121989 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
121990 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
121991 s,@baseline_dir@,$baseline_dir,;t t
121992 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
121993 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
121994 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
121995 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
121996 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
121997 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
121998 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
121999 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
122000 s,@gxx_include_dir@,$gxx_include_dir,;t t
122001 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
122002 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
122003 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
122004 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
122005 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
122006 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
122007 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
122008 s,@LIBOBJS@,$LIBOBJS,;t t
122009 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
122012 _ACEOF
122014 cat >>$CONFIG_STATUS <<\_ACEOF
122015 # Split the substitutions into bite-sized pieces for seds with
122016 # small command number limits, like on Digital OSF/1 and HP-UX.
122017 ac_max_sed_lines=48
122018 ac_sed_frag=1 # Number of current file.
122019 ac_beg=1 # First line for current file.
122020 ac_end=$ac_max_sed_lines # Line after last line for current file.
122021 ac_more_lines=:
122022 ac_sed_cmds=
122023 while $ac_more_lines; do
122024 if test $ac_beg -gt 1; then
122025 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122027 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122029 if test ! -s $tmp/subs.frag; then
122030 ac_more_lines=false
122032 # The purpose of the label and of the branching condition is to
122033 # speed up the sed processing (if there are no `@' at all, there
122034 # is no need to browse any of the substitutions).
122035 # These are the two extra sed commands mentioned above.
122036 (echo ':t
122037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
122038 if test -z "$ac_sed_cmds"; then
122039 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
122041 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
122043 ac_sed_frag=`expr $ac_sed_frag + 1`
122044 ac_beg=$ac_end
122045 ac_end=`expr $ac_end + $ac_max_sed_lines`
122048 if test -z "$ac_sed_cmds"; then
122049 ac_sed_cmds=cat
122051 fi # test -n "$CONFIG_FILES"
122053 _ACEOF
122054 cat >>$CONFIG_STATUS <<\_ACEOF
122055 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122057 case $ac_file in
122058 - | *:- | *:-:* ) # input from stdin
122059 cat >$tmp/stdin
122060 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122061 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122062 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122064 * ) ac_file_in=$ac_file.in ;;
122067 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
122068 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122070 X"$ac_file" : 'X\(//\)[^/]' \| \
122071 X"$ac_file" : 'X\(//\)$' \| \
122072 X"$ac_file" : 'X\(/\)' \| \
122073 . : '\(.\)' 2>/dev/null ||
122074 echo X"$ac_file" |
122075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122077 /^X\(\/\/\)$/{ s//\1/; q; }
122078 /^X\(\/\).*/{ s//\1/; q; }
122079 s/.*/./; q'`
122080 { if $as_mkdir_p; then
122081 mkdir -p "$ac_dir"
122083 as_dir="$ac_dir"
122084 as_dirs=
122085 while test ! -d "$as_dir"; do
122086 as_dirs="$as_dir $as_dirs"
122087 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122089 X"$as_dir" : 'X\(//\)[^/]' \| \
122090 X"$as_dir" : 'X\(//\)$' \| \
122091 X"$as_dir" : 'X\(/\)' \| \
122092 . : '\(.\)' 2>/dev/null ||
122093 echo X"$as_dir" |
122094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122096 /^X\(\/\/\)$/{ s//\1/; q; }
122097 /^X\(\/\).*/{ s//\1/; q; }
122098 s/.*/./; q'`
122100 test ! -n "$as_dirs" || mkdir $as_dirs
122101 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122102 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122103 { (exit 1); exit 1; }; }; }
122105 ac_builddir=.
122107 if test "$ac_dir" != .; then
122108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122109 # A "../" for each directory in $ac_dir_suffix.
122110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122112 ac_dir_suffix= ac_top_builddir=
122115 case $srcdir in
122116 .) # No --srcdir option. We are building in place.
122117 ac_srcdir=.
122118 if test -z "$ac_top_builddir"; then
122119 ac_top_srcdir=.
122121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122122 fi ;;
122123 [\\/]* | ?:[\\/]* ) # Absolute path.
122124 ac_srcdir=$srcdir$ac_dir_suffix;
122125 ac_top_srcdir=$srcdir ;;
122126 *) # Relative path.
122127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122131 # Do not use `cd foo && pwd` to compute absolute paths, because
122132 # the directories may not exist.
122133 case `pwd` in
122134 .) ac_abs_builddir="$ac_dir";;
122136 case "$ac_dir" in
122137 .) ac_abs_builddir=`pwd`;;
122138 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122139 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122140 esac;;
122142 case $ac_abs_builddir in
122143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122145 case ${ac_top_builddir}. in
122146 .) ac_abs_top_builddir=$ac_abs_builddir;;
122147 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122148 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122149 esac;;
122151 case $ac_abs_builddir in
122152 .) ac_abs_srcdir=$ac_srcdir;;
122154 case $ac_srcdir in
122155 .) ac_abs_srcdir=$ac_abs_builddir;;
122156 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122157 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122158 esac;;
122160 case $ac_abs_builddir in
122161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122163 case $ac_top_srcdir in
122164 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122165 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122166 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122167 esac;;
122171 case $INSTALL in
122172 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
122173 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
122176 if test x"$ac_file" != x-; then
122177 { echo "$as_me:$LINENO: creating $ac_file" >&5
122178 echo "$as_me: creating $ac_file" >&6;}
122179 rm -f "$ac_file"
122181 # Let's still pretend it is `configure' which instantiates (i.e., don't
122182 # use $as_me), people would be surprised to read:
122183 # /* config.h. Generated by config.status. */
122184 if test x"$ac_file" = x-; then
122185 configure_input=
122187 configure_input="$ac_file. "
122189 configure_input=$configure_input"Generated from `echo $ac_file_in |
122190 sed 's,.*/,,'` by configure."
122192 # First look for the input files in the build tree, otherwise in the
122193 # src tree.
122194 ac_file_inputs=`IFS=:
122195 for f in $ac_file_in; do
122196 case $f in
122197 -) echo $tmp/stdin ;;
122198 [\\/$]*)
122199 # Absolute (can't be DOS-style, as IFS=:)
122200 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122201 echo "$as_me: error: cannot find input file: $f" >&2;}
122202 { (exit 1); exit 1; }; }
122203 echo "$f";;
122204 *) # Relative
122205 if test -f "$f"; then
122206 # Build tree
122207 echo "$f"
122208 elif test -f "$srcdir/$f"; then
122209 # Source tree
122210 echo "$srcdir/$f"
122212 # /dev/null tree
122213 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122214 echo "$as_me: error: cannot find input file: $f" >&2;}
122215 { (exit 1); exit 1; }; }
122218 done` || { (exit 1); exit 1; }
122219 _ACEOF
122220 cat >>$CONFIG_STATUS <<_ACEOF
122221 sed "$ac_vpsub
122222 $extrasub
122223 _ACEOF
122224 cat >>$CONFIG_STATUS <<\_ACEOF
122226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
122227 s,@configure_input@,$configure_input,;t t
122228 s,@srcdir@,$ac_srcdir,;t t
122229 s,@abs_srcdir@,$ac_abs_srcdir,;t t
122230 s,@top_srcdir@,$ac_top_srcdir,;t t
122231 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
122232 s,@builddir@,$ac_builddir,;t t
122233 s,@abs_builddir@,$ac_abs_builddir,;t t
122234 s,@top_builddir@,$ac_top_builddir,;t t
122235 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
122236 s,@INSTALL@,$ac_INSTALL,;t t
122237 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
122238 rm -f $tmp/stdin
122239 if test x"$ac_file" != x-; then
122240 mv $tmp/out $ac_file
122242 cat $tmp/out
122243 rm -f $tmp/out
122246 # Run the commands associated with the file.
122247 case $ac_file in
122248 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
122251 _ACEOF
122252 cat >>$CONFIG_STATUS <<\_ACEOF
122255 # CONFIG_HEADER section.
122258 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
122259 # NAME is the cpp macro being defined and VALUE is the value it is being given.
122261 # ac_d sets the value in "#define NAME VALUE" lines.
122262 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
122263 ac_dB='[ ].*$,\1#\2'
122264 ac_dC=' '
122265 ac_dD=',;t'
122266 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
122267 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
122268 ac_uB='$,\1#\2define\3'
122269 ac_uC=' '
122270 ac_uD=',;t'
122272 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
122273 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122274 case $ac_file in
122275 - | *:- | *:-:* ) # input from stdin
122276 cat >$tmp/stdin
122277 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122278 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122279 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122280 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122281 * ) ac_file_in=$ac_file.in ;;
122284 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
122285 echo "$as_me: creating $ac_file" >&6;}
122287 # First look for the input files in the build tree, otherwise in the
122288 # src tree.
122289 ac_file_inputs=`IFS=:
122290 for f in $ac_file_in; do
122291 case $f in
122292 -) echo $tmp/stdin ;;
122293 [\\/$]*)
122294 # Absolute (can't be DOS-style, as IFS=:)
122295 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122296 echo "$as_me: error: cannot find input file: $f" >&2;}
122297 { (exit 1); exit 1; }; }
122298 # Do quote $f, to prevent DOS paths from being IFS'd.
122299 echo "$f";;
122300 *) # Relative
122301 if test -f "$f"; then
122302 # Build tree
122303 echo "$f"
122304 elif test -f "$srcdir/$f"; then
122305 # Source tree
122306 echo "$srcdir/$f"
122308 # /dev/null tree
122309 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122310 echo "$as_me: error: cannot find input file: $f" >&2;}
122311 { (exit 1); exit 1; }; }
122314 done` || { (exit 1); exit 1; }
122315 # Remove the trailing spaces.
122316 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
122318 _ACEOF
122320 # Transform confdefs.h into two sed scripts, `conftest.defines' and
122321 # `conftest.undefs', that substitutes the proper values into
122322 # config.h.in to produce config.h. The first handles `#define'
122323 # templates, and the second `#undef' templates.
122324 # And first: Protect against being on the right side of a sed subst in
122325 # config.status. Protect against being in an unquoted here document
122326 # in config.status.
122327 rm -f conftest.defines conftest.undefs
122328 # Using a here document instead of a string reduces the quoting nightmare.
122329 # Putting comments in sed scripts is not portable.
122331 # `end' is used to avoid that the second main sed command (meant for
122332 # 0-ary CPP macros) applies to n-ary macro definitions.
122333 # See the Autoconf documentation for `clear'.
122334 cat >confdef2sed.sed <<\_ACEOF
122335 s/[\\&,]/\\&/g
122336 s,[\\$`],\\&,g
122337 t clear
122338 : clear
122339 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122340 t end
122341 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122342 : end
122343 _ACEOF
122344 # If some macros were called several times there might be several times
122345 # the same #defines, which is useless. Nevertheless, we may not want to
122346 # sort them, since we want the *last* AC-DEFINE to be honored.
122347 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122348 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122349 rm -f confdef2sed.sed
122351 # This sed command replaces #undef with comments. This is necessary, for
122352 # example, in the case of _POSIX_SOURCE, which is predefined and required
122353 # on some systems where configure will not decide to define it.
122354 cat >>conftest.undefs <<\_ACEOF
122355 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122356 _ACEOF
122358 # Break up conftest.defines because some shells have a limit on the size
122359 # of here documents, and old seds have small limits too (100 cmds).
122360 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122361 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122362 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122363 echo ' :' >>$CONFIG_STATUS
122364 rm -f conftest.tail
122365 while grep . conftest.defines >/dev/null
122367 # Write a limited-size here document to $tmp/defines.sed.
122368 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122369 # Speed up: don't consider the non `#define' lines.
122370 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
122371 # Work around the forget-to-reset-the-flag bug.
122372 echo 't clr' >>$CONFIG_STATUS
122373 echo ': clr' >>$CONFIG_STATUS
122374 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122375 echo 'CEOF
122376 sed -f $tmp/defines.sed $tmp/in >$tmp/out
122377 rm -f $tmp/in
122378 mv $tmp/out $tmp/in
122379 ' >>$CONFIG_STATUS
122380 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122381 rm -f conftest.defines
122382 mv conftest.tail conftest.defines
122384 rm -f conftest.defines
122385 echo ' fi # grep' >>$CONFIG_STATUS
122386 echo >>$CONFIG_STATUS
122388 # Break up conftest.undefs because some shells have a limit on the size
122389 # of here documents, and old seds have small limits too (100 cmds).
122390 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
122391 rm -f conftest.tail
122392 while grep . conftest.undefs >/dev/null
122394 # Write a limited-size here document to $tmp/undefs.sed.
122395 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122396 # Speed up: don't consider the non `#undef'
122397 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
122398 # Work around the forget-to-reset-the-flag bug.
122399 echo 't clr' >>$CONFIG_STATUS
122400 echo ': clr' >>$CONFIG_STATUS
122401 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122402 echo 'CEOF
122403 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122404 rm -f $tmp/in
122405 mv $tmp/out $tmp/in
122406 ' >>$CONFIG_STATUS
122407 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122408 rm -f conftest.undefs
122409 mv conftest.tail conftest.undefs
122411 rm -f conftest.undefs
122413 cat >>$CONFIG_STATUS <<\_ACEOF
122414 # Let's still pretend it is `configure' which instantiates (i.e., don't
122415 # use $as_me), people would be surprised to read:
122416 # /* config.h. Generated by config.status. */
122417 if test x"$ac_file" = x-; then
122418 echo "/* Generated by configure. */" >$tmp/config.h
122420 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
122422 cat $tmp/in >>$tmp/config.h
122423 rm -f $tmp/in
122424 if test x"$ac_file" != x-; then
122425 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122426 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122427 echo "$as_me: $ac_file is unchanged" >&6;}
122429 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122431 X"$ac_file" : 'X\(//\)[^/]' \| \
122432 X"$ac_file" : 'X\(//\)$' \| \
122433 X"$ac_file" : 'X\(/\)' \| \
122434 . : '\(.\)' 2>/dev/null ||
122435 echo X"$ac_file" |
122436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122438 /^X\(\/\/\)$/{ s//\1/; q; }
122439 /^X\(\/\).*/{ s//\1/; q; }
122440 s/.*/./; q'`
122441 { if $as_mkdir_p; then
122442 mkdir -p "$ac_dir"
122444 as_dir="$ac_dir"
122445 as_dirs=
122446 while test ! -d "$as_dir"; do
122447 as_dirs="$as_dir $as_dirs"
122448 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122450 X"$as_dir" : 'X\(//\)[^/]' \| \
122451 X"$as_dir" : 'X\(//\)$' \| \
122452 X"$as_dir" : 'X\(/\)' \| \
122453 . : '\(.\)' 2>/dev/null ||
122454 echo X"$as_dir" |
122455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122457 /^X\(\/\/\)$/{ s//\1/; q; }
122458 /^X\(\/\).*/{ s//\1/; q; }
122459 s/.*/./; q'`
122461 test ! -n "$as_dirs" || mkdir $as_dirs
122462 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122463 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122464 { (exit 1); exit 1; }; }; }
122466 rm -f $ac_file
122467 mv $tmp/config.h $ac_file
122470 cat $tmp/config.h
122471 rm -f $tmp/config.h
122473 # Compute $ac_file's index in $config_headers.
122474 _am_stamp_count=1
122475 for _am_header in $config_headers :; do
122476 case $_am_header in
122477 $ac_file | $ac_file:* )
122478 break ;;
122480 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
122483 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
122484 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122485 X$ac_file : 'X\(//\)[^/]' \| \
122486 X$ac_file : 'X\(//\)$' \| \
122487 X$ac_file : 'X\(/\)' \| \
122488 . : '\(.\)' 2>/dev/null ||
122489 echo X$ac_file |
122490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122492 /^X\(\/\/\)$/{ s//\1/; q; }
122493 /^X\(\/\).*/{ s//\1/; q; }
122494 s/.*/./; q'`/stamp-h$_am_stamp_count
122496 _ACEOF
122497 cat >>$CONFIG_STATUS <<\_ACEOF
122500 # CONFIG_COMMANDS section.
122502 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
122503 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
122504 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
122505 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
122506 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122507 X"$ac_dest" : 'X\(//\)[^/]' \| \
122508 X"$ac_dest" : 'X\(//\)$' \| \
122509 X"$ac_dest" : 'X\(/\)' \| \
122510 . : '\(.\)' 2>/dev/null ||
122511 echo X"$ac_dest" |
122512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122514 /^X\(\/\/\)$/{ s//\1/; q; }
122515 /^X\(\/\).*/{ s//\1/; q; }
122516 s/.*/./; q'`
122517 { if $as_mkdir_p; then
122518 mkdir -p "$ac_dir"
122520 as_dir="$ac_dir"
122521 as_dirs=
122522 while test ! -d "$as_dir"; do
122523 as_dirs="$as_dir $as_dirs"
122524 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122526 X"$as_dir" : 'X\(//\)[^/]' \| \
122527 X"$as_dir" : 'X\(//\)$' \| \
122528 X"$as_dir" : 'X\(/\)' \| \
122529 . : '\(.\)' 2>/dev/null ||
122530 echo X"$as_dir" |
122531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122533 /^X\(\/\/\)$/{ s//\1/; q; }
122534 /^X\(\/\).*/{ s//\1/; q; }
122535 s/.*/./; q'`
122537 test ! -n "$as_dirs" || mkdir $as_dirs
122538 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122539 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122540 { (exit 1); exit 1; }; }; }
122542 ac_builddir=.
122544 if test "$ac_dir" != .; then
122545 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122546 # A "../" for each directory in $ac_dir_suffix.
122547 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122549 ac_dir_suffix= ac_top_builddir=
122552 case $srcdir in
122553 .) # No --srcdir option. We are building in place.
122554 ac_srcdir=.
122555 if test -z "$ac_top_builddir"; then
122556 ac_top_srcdir=.
122558 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122559 fi ;;
122560 [\\/]* | ?:[\\/]* ) # Absolute path.
122561 ac_srcdir=$srcdir$ac_dir_suffix;
122562 ac_top_srcdir=$srcdir ;;
122563 *) # Relative path.
122564 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122565 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122568 # Do not use `cd foo && pwd` to compute absolute paths, because
122569 # the directories may not exist.
122570 case `pwd` in
122571 .) ac_abs_builddir="$ac_dir";;
122573 case "$ac_dir" in
122574 .) ac_abs_builddir=`pwd`;;
122575 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122576 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122577 esac;;
122579 case $ac_abs_builddir in
122580 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122582 case ${ac_top_builddir}. in
122583 .) ac_abs_top_builddir=$ac_abs_builddir;;
122584 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122585 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122586 esac;;
122588 case $ac_abs_builddir in
122589 .) ac_abs_srcdir=$ac_srcdir;;
122591 case $ac_srcdir in
122592 .) ac_abs_srcdir=$ac_abs_builddir;;
122593 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122594 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122595 esac;;
122597 case $ac_abs_builddir in
122598 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122600 case $ac_top_srcdir in
122601 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122602 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122603 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122604 esac;;
122608 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
122609 echo "$as_me: executing $ac_dest commands" >&6;}
122610 case $ac_dest in
122611 default-1 )
122612 # Only add multilib support code if we just rebuilt the top-level
122613 # Makefile.
122614 case " $CONFIG_FILES " in
122615 *" Makefile "*)
122616 ac_file=Makefile . ${multi_basedir}/config-ml.in
122618 esac ;;
122619 libtool )
122621 # See if we are running on zsh, and set the options which allow our
122622 # commands through without removal of \ escapes.
122623 if test -n "${ZSH_VERSION+set}" ; then
122624 setopt NO_GLOB_SUBST
122627 cfgfile="${ofile}T"
122628 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
122629 $RM "$cfgfile"
122631 cat <<_LT_EOF >> "$cfgfile"
122632 #! $SHELL
122634 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
122635 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
122636 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
122637 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
122639 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
122640 # 2006, 2007 Free Software Foundation, Inc.
122642 # This file is part of GNU Libtool:
122643 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
122645 # This program is free software; you can redistribute it and/or modify
122646 # it under the terms of the GNU General Public License as published by
122647 # the Free Software Foundation; either version 2 of the License, or
122648 # (at your option) any later version.
122650 # This program is distributed in the hope that it will be useful, but
122651 # WITHOUT ANY WARRANTY; without even the implied warranty of
122652 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
122653 # General Public License for more details.
122655 # You should have received a copy of the GNU General Public License
122656 # along with this program; if not, a copy can be downloaded from
122657 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
122658 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
122659 # MA 02110-1301, USA.
122661 # As a special exception to the GNU General Public License, if you
122662 # distribute this file as part of a program that contains a
122663 # configuration script generated by Autoconf, you may include it under
122664 # the same distribution terms that you use for the rest of that program.
122667 # The names of the tagged configurations supported by this script.
122668 available_tags="CXX "
122670 # ### BEGIN LIBTOOL CONFIG
122672 # Which release of libtool.m4 was used?
122673 macro_version=$macro_version
122674 macro_revision=$macro_revision
122676 # Whether or not to build shared libraries.
122677 build_libtool_libs=$enable_shared
122679 # Whether or not to build static libraries.
122680 build_old_libs=$enable_static
122682 # What type of objects to build.
122683 pic_mode=$pic_mode
122685 # Whether or not to optimize for fast installation.
122686 fast_install=$enable_fast_install
122688 # The host system.
122689 host_alias=$host_alias
122690 host=$host
122691 host_os=$host_os
122693 # The build system.
122694 build_alias=$build_alias
122695 build=$build
122696 build_os=$build_os
122698 # A sed program that does not truncate output.
122699 SED=$lt_SED
122701 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
122702 Xsed="\$SED -e 1s/^X//"
122704 # A grep program that handles long lines.
122705 GREP=$lt_GREP
122707 # An ERE matcher.
122708 EGREP=$lt_EGREP
122710 # A literal string matcher.
122711 FGREP=$lt_FGREP
122713 # A BSD- or MS-compatible name lister.
122714 NM=$lt_NM
122716 # Whether we need soft or hard links.
122717 LN_S=$lt_LN_S
122719 # What is the maximum length of a command?
122720 max_cmd_len=$max_cmd_len
122722 # Object file suffix (normally "o").
122723 objext=$ac_objext
122725 # Executable file suffix (normally "").
122726 exeext=$exeext
122728 # whether the shell understands "unset".
122729 lt_unset=$lt_unset
122731 # turn spaces into newlines.
122732 SP2NL=$lt_lt_SP2NL
122734 # turn newlines into spaces.
122735 NL2SP=$lt_lt_NL2SP
122737 # How to create reloadable object files.
122738 reload_flag=$lt_reload_flag
122739 reload_cmds=$lt_reload_cmds
122741 # Method to check whether dependent libraries are shared objects.
122742 deplibs_check_method=$lt_deplibs_check_method
122744 # Command to use when deplibs_check_method == "file_magic".
122745 file_magic_cmd=$lt_file_magic_cmd
122747 # The archiver.
122748 AR=$lt_AR
122749 AR_FLAGS=$lt_AR_FLAGS
122751 # A symbol stripping program.
122752 STRIP=$lt_STRIP
122754 # Commands used to install an old-style archive.
122755 RANLIB=$lt_RANLIB
122756 old_postinstall_cmds=$lt_old_postinstall_cmds
122757 old_postuninstall_cmds=$lt_old_postuninstall_cmds
122759 # A C compiler.
122760 LTCC=$lt_CC
122762 # LTCC compiler flags.
122763 LTCFLAGS=$lt_CFLAGS
122765 # Take the output of nm and produce a listing of raw symbols and C names.
122766 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122768 # Transform the output of nm in a proper C declaration.
122769 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122771 # Transform the output of nm in a C name address pair.
122772 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122774 # The name of the directory that contains temporary libtool files.
122775 objdir=$objdir
122777 # Shell to use when invoking shell scripts.
122778 SHELL=$lt_SHELL
122780 # An echo program that does not interpret backslashes.
122781 ECHO=$lt_ECHO
122783 # Used to examine libraries when file_magic_cmd begins with "file".
122784 MAGIC_CMD=$MAGIC_CMD
122786 # Must we lock files when doing compilation?
122787 need_locks=$lt_need_locks
122789 # Old archive suffix (normally "a").
122790 libext=$libext
122792 # Shared library suffix (normally ".so").
122793 shrext_cmds=$lt_shrext_cmds
122795 # The commands to extract the exported symbol list from a shared archive.
122796 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122798 # Variables whose values should be saved in libtool wrapper scripts and
122799 # restored at link time.
122800 variables_saved_for_relink=$lt_variables_saved_for_relink
122802 # Do we need the "lib" prefix for modules?
122803 need_lib_prefix=$need_lib_prefix
122805 # Do we need a version for libraries?
122806 need_version=$need_version
122808 # Library versioning type.
122809 version_type=$version_type
122811 # Shared library runtime path variable.
122812 runpath_var=$runpath_var
122814 # Shared library path variable.
122815 shlibpath_var=$shlibpath_var
122817 # Is shlibpath searched before the hard-coded library search path?
122818 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122820 # Format of library name prefix.
122821 libname_spec=$lt_libname_spec
122823 # List of archive names. First name is the real one, the rest are links.
122824 # The last name is the one that the linker finds with -lNAME
122825 library_names_spec=$lt_library_names_spec
122827 # The coded name of the library, if different from the real name.
122828 soname_spec=$lt_soname_spec
122830 # Command to use after installation of a shared archive.
122831 postinstall_cmds=$lt_postinstall_cmds
122833 # Command to use after uninstallation of a shared archive.
122834 postuninstall_cmds=$lt_postuninstall_cmds
122836 # Commands used to finish a libtool library installation in a directory.
122837 finish_cmds=$lt_finish_cmds
122839 # As "finish_cmds", except a single script fragment to be evaled but
122840 # not shown.
122841 finish_eval=$lt_finish_eval
122843 # Whether we should hardcode library paths into libraries.
122844 hardcode_into_libs=$hardcode_into_libs
122846 # Compile-time system search path for libraries.
122847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122849 # Run-time system search path for libraries.
122850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122852 # Whether dlopen is supported.
122853 dlopen_support=$enable_dlopen
122855 # Whether dlopen of programs is supported.
122856 dlopen_self=$enable_dlopen_self
122858 # Whether dlopen of statically linked programs is supported.
122859 dlopen_self_static=$enable_dlopen_self_static
122861 # Commands to strip libraries.
122862 old_striplib=$lt_old_striplib
122863 striplib=$lt_striplib
122866 # The linker used to build libraries.
122867 LD=$lt_LD
122869 # Commands used to build an old-style archive.
122870 old_archive_cmds=$lt_old_archive_cmds
122872 # A language specific compiler.
122873 CC=$lt_compiler
122875 # Is the compiler the GNU compiler?
122876 with_gcc=$GCC
122878 # Compiler flag to turn off builtin functions.
122879 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
122881 # How to pass a linker flag through the compiler.
122882 wl=$lt_lt_prog_compiler_wl
122884 # Additional compiler flags for building library objects.
122885 pic_flag=$lt_lt_prog_compiler_pic
122887 # Compiler flag to prevent dynamic linking.
122888 link_static_flag=$lt_lt_prog_compiler_static
122890 # Does compiler simultaneously support -c and -o options?
122891 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
122893 # Whether or not to add -lc for building shared libraries.
122894 build_libtool_need_lc=$archive_cmds_need_lc
122896 # Whether or not to disallow shared libs when runtime libs are static.
122897 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
122899 # Compiler flag to allow reflexive dlopens.
122900 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
122902 # Compiler flag to generate shared objects directly from archives.
122903 whole_archive_flag_spec=$lt_whole_archive_flag_spec
122905 # Whether the compiler copes with passing no objects directly.
122906 compiler_needs_object=$lt_compiler_needs_object
122908 # Create an old-style archive from a shared archive.
122909 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
122911 # Create a temporary old-style archive to link instead of a shared archive.
122912 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
122914 # Commands used to build a shared archive.
122915 archive_cmds=$lt_archive_cmds
122916 archive_expsym_cmds=$lt_archive_expsym_cmds
122918 # Commands used to build a loadable module if different from building
122919 # a shared archive.
122920 module_cmds=$lt_module_cmds
122921 module_expsym_cmds=$lt_module_expsym_cmds
122923 # Whether we are building with GNU ld or not.
122924 with_gnu_ld=$lt_with_gnu_ld
122926 # Flag that allows shared libraries with undefined symbols to be built.
122927 allow_undefined_flag=$lt_allow_undefined_flag
122929 # Flag that enforces no undefined symbols.
122930 no_undefined_flag=$lt_no_undefined_flag
122932 # Flag to hardcode \$libdir into a binary during linking.
122933 # This must work even if \$libdir does not exist
122934 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
122936 # If ld is used when linking, flag to hardcode \$libdir into a binary
122937 # during linking. This must work even if \$libdir does not exist.
122938 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
122940 # Whether we need a single "-rpath" flag with a separated argument.
122941 hardcode_libdir_separator=$lt_hardcode_libdir_separator
122943 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122944 # DIR into the resulting binary.
122945 hardcode_direct=$hardcode_direct
122947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122948 # DIR into the resulting binary and the resulting library dependency is
122949 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122950 # library is relocated.
122951 hardcode_direct_absolute=$hardcode_direct_absolute
122953 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122954 # into the resulting binary.
122955 hardcode_minus_L=$hardcode_minus_L
122957 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122958 # into the resulting binary.
122959 hardcode_shlibpath_var=$hardcode_shlibpath_var
122961 # Set to "yes" if building a shared library automatically hardcodes DIR
122962 # into the library and all subsequent libraries and executables linked
122963 # against it.
122964 hardcode_automatic=$hardcode_automatic
122966 # Set to yes if linker adds runtime paths of dependent libraries
122967 # to runtime path list.
122968 inherit_rpath=$inherit_rpath
122970 # Whether libtool must link a program against all its dependency libraries.
122971 link_all_deplibs=$link_all_deplibs
122973 # Fix the shell variable \$srcfile for the compiler.
122974 fix_srcfile_path=$lt_fix_srcfile_path
122976 # Set to "yes" if exported symbols are required.
122977 always_export_symbols=$always_export_symbols
122979 # The commands to list exported symbols.
122980 export_symbols_cmds=$lt_export_symbols_cmds
122982 # Symbols that should not be listed in the preloaded symbols.
122983 exclude_expsyms=$lt_exclude_expsyms
122985 # Symbols that must always be exported.
122986 include_expsyms=$lt_include_expsyms
122988 # Commands necessary for linking programs (against libraries) with templates.
122989 prelink_cmds=$lt_prelink_cmds
122991 # Specify filename containing input files.
122992 file_list_spec=$lt_file_list_spec
122994 # How to hardcode a shared library path into an executable.
122995 hardcode_action=$hardcode_action
122997 # Dependencies to place before and after the objects being linked to
122998 # create a shared library.
122999 predep_objects=$lt_predep_objects
123000 postdep_objects=$lt_postdep_objects
123001 predeps=$lt_predeps
123002 postdeps=$lt_postdeps
123004 # The library search path used internally by the compiler when linking
123005 # a shared library.
123006 compiler_lib_search_path=$lt_compiler_lib_search_path
123008 # ### END LIBTOOL CONFIG
123010 _LT_EOF
123012 case $host_os in
123013 aix3*)
123014 cat <<\_LT_EOF >> "$cfgfile"
123015 # AIX sometimes has problems with the GCC collect2 program. For some
123016 # reason, if we set the COLLECT_NAMES environment variable, the problems
123017 # vanish in a puff of smoke.
123018 if test "X${COLLECT_NAMES+set}" != Xset; then
123019 COLLECT_NAMES=
123020 export COLLECT_NAMES
123022 _LT_EOF
123027 ltmain="$ac_aux_dir/ltmain.sh"
123030 # We use sed instead of cat because bash on DJGPP gets confused if
123031 # if finds mixed CR/LF and LF-only lines. Since sed operates in
123032 # text mode, it properly converts lines to CR/LF. This bash problem
123033 # is reportedly fixed, but why not run on old versions too?
123034 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
123035 || (rm -f "$cfgfile"; exit 1)
123037 case $xsi_shell in
123039 cat << \_LT_EOF >> "$cfgfile"
123040 # func_dirname file append nondir_replacement
123041 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123042 # otherwise set result to NONDIR_REPLACEMENT.
123043 func_dirname ()
123045 case ${1} in
123046 */*) func_dirname_result="${1%/*}${2}" ;;
123047 * ) func_dirname_result="${3}" ;;
123051 # func_basename file
123052 func_basename ()
123054 func_basename_result="${1##*/}"
123057 # func_stripname prefix suffix name
123058 # strip PREFIX and SUFFIX off of NAME.
123059 # PREFIX and SUFFIX must not contain globbing or regex special
123060 # characters, hashes, percent signs, but SUFFIX may contain a leading
123061 # dot (in which case that matches only a dot).
123062 func_stripname ()
123064 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
123065 # positional parameters, so assign one to ordinary parameter first.
123066 func_stripname_result=${3}
123067 func_stripname_result=${func_stripname_result#"${1}"}
123068 func_stripname_result=${func_stripname_result%"${2}"}
123071 # func_opt_split
123072 func_opt_split ()
123074 func_opt_split_opt=${1%%=*}
123075 func_opt_split_arg=${1#*=}
123078 # func_lo2o object
123079 func_lo2o ()
123081 case ${1} in
123082 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
123083 *) func_lo2o_result=${1} ;;
123086 _LT_EOF
123088 *) # Bourne compatible functions.
123089 cat << \_LT_EOF >> "$cfgfile"
123090 # func_dirname file append nondir_replacement
123091 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123092 # otherwise set result to NONDIR_REPLACEMENT.
123093 func_dirname ()
123095 # Extract subdirectory from the argument.
123096 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
123097 if test "X$func_dirname_result" = "X${1}"; then
123098 func_dirname_result="${3}"
123100 func_dirname_result="$func_dirname_result${2}"
123104 # func_basename file
123105 func_basename ()
123107 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
123110 # func_stripname prefix suffix name
123111 # strip PREFIX and SUFFIX off of NAME.
123112 # PREFIX and SUFFIX must not contain globbing or regex special
123113 # characters, hashes, percent signs, but SUFFIX may contain a leading
123114 # dot (in which case that matches only a dot).
123115 # func_strip_suffix prefix name
123116 func_stripname ()
123118 case ${2} in
123119 .*) func_stripname_result=`$ECHO "X${3}" \
123120 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
123121 *) func_stripname_result=`$ECHO "X${3}" \
123122 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
123126 # sed scripts:
123127 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
123128 my_sed_long_arg='1s/^-[^=]*=//'
123130 # func_opt_split
123131 func_opt_split ()
123133 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
123134 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
123137 # func_lo2o object
123138 func_lo2o ()
123140 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
123142 _LT_EOF
123145 case $lt_shell_append in
123147 cat << \_LT_EOF >> "$cfgfile"
123149 # func_append var value
123150 # Append VALUE to the end of shell variable VAR.
123151 func_append ()
123153 eval "$1+=\$2"
123155 _LT_EOF
123158 cat << \_LT_EOF >> "$cfgfile"
123160 # func_append var value
123161 # Append VALUE to the end of shell variable VAR.
123162 func_append ()
123164 eval "$1=\$$1\$2"
123166 _LT_EOF
123171 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
123172 || (rm -f "$cfgfile"; exit 1)
123174 mv -f "$cfgfile" "$ofile" ||
123175 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
123176 chmod +x "$ofile"
123179 cat <<_LT_EOF >> "$ofile"
123181 # ### BEGIN LIBTOOL TAG CONFIG: CXX
123183 # The linker used to build libraries.
123184 LD=$lt_LD_CXX
123186 # Commands used to build an old-style archive.
123187 old_archive_cmds=$lt_old_archive_cmds_CXX
123189 # A language specific compiler.
123190 CC=$lt_compiler_CXX
123192 # Is the compiler the GNU compiler?
123193 with_gcc=$GCC_CXX
123195 # Compiler flag to turn off builtin functions.
123196 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
123198 # How to pass a linker flag through the compiler.
123199 wl=$lt_lt_prog_compiler_wl_CXX
123201 # Additional compiler flags for building library objects.
123202 pic_flag=$lt_lt_prog_compiler_pic_CXX
123204 # Compiler flag to prevent dynamic linking.
123205 link_static_flag=$lt_lt_prog_compiler_static_CXX
123207 # Does compiler simultaneously support -c and -o options?
123208 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
123210 # Whether or not to add -lc for building shared libraries.
123211 build_libtool_need_lc=$archive_cmds_need_lc_CXX
123213 # Whether or not to disallow shared libs when runtime libs are static.
123214 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
123216 # Compiler flag to allow reflexive dlopens.
123217 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
123219 # Compiler flag to generate shared objects directly from archives.
123220 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
123222 # Whether the compiler copes with passing no objects directly.
123223 compiler_needs_object=$lt_compiler_needs_object_CXX
123225 # Create an old-style archive from a shared archive.
123226 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
123228 # Create a temporary old-style archive to link instead of a shared archive.
123229 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
123231 # Commands used to build a shared archive.
123232 archive_cmds=$lt_archive_cmds_CXX
123233 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
123235 # Commands used to build a loadable module if different from building
123236 # a shared archive.
123237 module_cmds=$lt_module_cmds_CXX
123238 module_expsym_cmds=$lt_module_expsym_cmds_CXX
123240 # Whether we are building with GNU ld or not.
123241 with_gnu_ld=$lt_with_gnu_ld_CXX
123243 # Flag that allows shared libraries with undefined symbols to be built.
123244 allow_undefined_flag=$lt_allow_undefined_flag_CXX
123246 # Flag that enforces no undefined symbols.
123247 no_undefined_flag=$lt_no_undefined_flag_CXX
123249 # Flag to hardcode \$libdir into a binary during linking.
123250 # This must work even if \$libdir does not exist
123251 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
123253 # If ld is used when linking, flag to hardcode \$libdir into a binary
123254 # during linking. This must work even if \$libdir does not exist.
123255 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
123257 # Whether we need a single "-rpath" flag with a separated argument.
123258 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
123260 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123261 # DIR into the resulting binary.
123262 hardcode_direct=$hardcode_direct_CXX
123264 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123265 # DIR into the resulting binary and the resulting library dependency is
123266 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123267 # library is relocated.
123268 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
123270 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123271 # into the resulting binary.
123272 hardcode_minus_L=$hardcode_minus_L_CXX
123274 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123275 # into the resulting binary.
123276 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
123278 # Set to "yes" if building a shared library automatically hardcodes DIR
123279 # into the library and all subsequent libraries and executables linked
123280 # against it.
123281 hardcode_automatic=$hardcode_automatic_CXX
123283 # Set to yes if linker adds runtime paths of dependent libraries
123284 # to runtime path list.
123285 inherit_rpath=$inherit_rpath_CXX
123287 # Whether libtool must link a program against all its dependency libraries.
123288 link_all_deplibs=$link_all_deplibs_CXX
123290 # Fix the shell variable \$srcfile for the compiler.
123291 fix_srcfile_path=$lt_fix_srcfile_path_CXX
123293 # Set to "yes" if exported symbols are required.
123294 always_export_symbols=$always_export_symbols_CXX
123296 # The commands to list exported symbols.
123297 export_symbols_cmds=$lt_export_symbols_cmds_CXX
123299 # Symbols that should not be listed in the preloaded symbols.
123300 exclude_expsyms=$lt_exclude_expsyms_CXX
123302 # Symbols that must always be exported.
123303 include_expsyms=$lt_include_expsyms_CXX
123305 # Commands necessary for linking programs (against libraries) with templates.
123306 prelink_cmds=$lt_prelink_cmds_CXX
123308 # Specify filename containing input files.
123309 file_list_spec=$lt_file_list_spec_CXX
123311 # How to hardcode a shared library path into an executable.
123312 hardcode_action=$hardcode_action_CXX
123314 # Dependencies to place before and after the objects being linked to
123315 # create a shared library.
123316 predep_objects=$lt_predep_objects_CXX
123317 postdep_objects=$lt_postdep_objects_CXX
123318 predeps=$lt_predeps_CXX
123319 postdeps=$lt_postdeps_CXX
123321 # The library search path used internally by the compiler when linking
123322 # a shared library.
123323 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123325 # ### END LIBTOOL TAG CONFIG: CXX
123326 _LT_EOF
123329 include/gstdint.h )
123330 if test "$GCC" = yes; then
123331 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123333 echo "/* generated for $CC */" > tmp-stdint.h
123336 sed 's/^ *//' >> tmp-stdint.h <<EOF
123338 #ifndef GCC_GENERATED_STDINT_H
123339 #define GCC_GENERATED_STDINT_H 1
123341 #include <sys/types.h>
123344 if test "$acx_cv_header_stdint" != stdint.h; then
123345 echo "#include <stddef.h>" >> tmp-stdint.h
123347 if test "$acx_cv_header_stdint" != stddef.h; then
123348 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123351 sed 's/^ *//' >> tmp-stdint.h <<EOF
123352 /* glibc uses these symbols as guards to prevent redefinitions. */
123353 #ifdef __int8_t_defined
123354 #define _INT8_T
123355 #define _INT16_T
123356 #define _INT32_T
123357 #endif
123358 #ifdef __uint32_t_defined
123359 #define _UINT32_T
123360 #endif
123364 # ----------------- done header, emit basic int types -------------
123365 if test "$acx_cv_header_stdint" = stddef.h; then
123366 sed 's/^ *//' >> tmp-stdint.h <<EOF
123368 #ifndef _UINT8_T
123369 #define _UINT8_T
123370 #ifndef __uint8_t_defined
123371 #define __uint8_t_defined
123372 typedef unsigned $acx_cv_type_int8_t uint8_t;
123373 #endif
123374 #endif
123376 #ifndef _UINT16_T
123377 #define _UINT16_T
123378 #ifndef __uint16_t_defined
123379 #define __uint16_t_defined
123380 typedef unsigned $acx_cv_type_int16_t uint16_t;
123381 #endif
123382 #endif
123384 #ifndef _UINT32_T
123385 #define _UINT32_T
123386 #ifndef __uint32_t_defined
123387 #define __uint32_t_defined
123388 typedef unsigned $acx_cv_type_int32_t uint32_t;
123389 #endif
123390 #endif
123392 #ifndef _INT8_T
123393 #define _INT8_T
123394 #ifndef __int8_t_defined
123395 #define __int8_t_defined
123396 typedef $acx_cv_type_int8_t int8_t;
123397 #endif
123398 #endif
123400 #ifndef _INT16_T
123401 #define _INT16_T
123402 #ifndef __int16_t_defined
123403 #define __int16_t_defined
123404 typedef $acx_cv_type_int16_t int16_t;
123405 #endif
123406 #endif
123408 #ifndef _INT32_T
123409 #define _INT32_T
123410 #ifndef __int32_t_defined
123411 #define __int32_t_defined
123412 typedef $acx_cv_type_int32_t int32_t;
123413 #endif
123414 #endif
123416 elif test "$ac_cv_type_u_int32_t" = yes; then
123417 sed 's/^ *//' >> tmp-stdint.h <<EOF
123419 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123420 #ifndef _INT8_T
123421 #define _INT8_T
123422 #endif
123423 #ifndef _INT16_T
123424 #define _INT16_T
123425 #endif
123426 #ifndef _INT32_T
123427 #define _INT32_T
123428 #endif
123430 #ifndef _UINT8_T
123431 #define _UINT8_T
123432 #ifndef __uint8_t_defined
123433 #define __uint8_t_defined
123434 typedef u_int8_t uint8_t;
123435 #endif
123436 #endif
123438 #ifndef _UINT16_T
123439 #define _UINT16_T
123440 #ifndef __uint16_t_defined
123441 #define __uint16_t_defined
123442 typedef u_int16_t uint16_t;
123443 #endif
123444 #endif
123446 #ifndef _UINT32_T
123447 #define _UINT32_T
123448 #ifndef __uint32_t_defined
123449 #define __uint32_t_defined
123450 typedef u_int32_t uint32_t;
123451 #endif
123452 #endif
123455 sed 's/^ *//' >> tmp-stdint.h <<EOF
123457 /* Some systems have guard macros to prevent redefinitions, define them. */
123458 #ifndef _INT8_T
123459 #define _INT8_T
123460 #endif
123461 #ifndef _INT16_T
123462 #define _INT16_T
123463 #endif
123464 #ifndef _INT32_T
123465 #define _INT32_T
123466 #endif
123467 #ifndef _UINT8_T
123468 #define _UINT8_T
123469 #endif
123470 #ifndef _UINT16_T
123471 #define _UINT16_T
123472 #endif
123473 #ifndef _UINT32_T
123474 #define _UINT32_T
123475 #endif
123479 # ------------- done basic int types, emit int64_t types ------------
123480 if test "$ac_cv_type_uint64_t" = yes; then
123481 sed 's/^ *//' >> tmp-stdint.h <<EOF
123483 /* system headers have good uint64_t and int64_t */
123484 #ifndef _INT64_T
123485 #define _INT64_T
123486 #endif
123487 #ifndef _UINT64_T
123488 #define _UINT64_T
123489 #endif
123491 elif test "$ac_cv_type_u_int64_t" = yes; then
123492 sed 's/^ *//' >> tmp-stdint.h <<EOF
123494 /* system headers have an u_int64_t (and int64_t) */
123495 #ifndef _INT64_T
123496 #define _INT64_T
123497 #endif
123498 #ifndef _UINT64_T
123499 #define _UINT64_T
123500 #ifndef __uint64_t_defined
123501 #define __uint64_t_defined
123502 typedef u_int64_t uint64_t;
123503 #endif
123504 #endif
123506 elif test -n "$acx_cv_type_int64_t"; then
123507 sed 's/^ *//' >> tmp-stdint.h <<EOF
123509 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
123510 #ifndef _INT64_T
123511 #define _INT64_T
123512 typedef $acx_cv_type_int64_t int64_t;
123513 #endif
123514 #ifndef _UINT64_T
123515 #define _UINT64_T
123516 #ifndef __uint64_t_defined
123517 #define __uint64_t_defined
123518 typedef unsigned $acx_cv_type_int64_t uint64_t;
123519 #endif
123520 #endif
123523 sed 's/^ *//' >> tmp-stdint.h <<EOF
123525 /* some common heuristics for int64_t, using compiler-specific tests */
123526 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
123527 #ifndef _INT64_T
123528 #define _INT64_T
123529 #ifndef __int64_t_defined
123530 typedef long long int64_t;
123531 #endif
123532 #endif
123533 #ifndef _UINT64_T
123534 #define _UINT64_T
123535 typedef unsigned long long uint64_t;
123536 #endif
123538 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
123539 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
123540 does not implement __extension__. But that compiler doesn't define
123541 __GNUC_MINOR__. */
123542 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
123543 # define __extension__
123544 # endif
123546 # ifndef _INT64_T
123547 # define _INT64_T
123548 __extension__ typedef long long int64_t;
123549 # endif
123550 # ifndef _UINT64_T
123551 # define _UINT64_T
123552 __extension__ typedef unsigned long long uint64_t;
123553 # endif
123555 #elif !defined __STRICT_ANSI__
123556 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
123558 # ifndef _INT64_T
123559 # define _INT64_T
123560 typedef __int64 int64_t;
123561 # endif
123562 # ifndef _UINT64_T
123563 # define _UINT64_T
123564 typedef unsigned __int64 uint64_t;
123565 # endif
123566 # endif /* compiler */
123568 #endif /* ANSI version */
123572 # ------------- done int64_t types, emit intptr types ------------
123573 if test "$ac_cv_type_uintptr_t" != yes; then
123574 sed 's/^ *//' >> tmp-stdint.h <<EOF
123576 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
123577 #ifndef __uintptr_t_defined
123578 typedef u$acx_cv_type_intptr_t uintptr_t;
123579 #endif
123580 #ifndef __intptr_t_defined
123581 typedef $acx_cv_type_intptr_t intptr_t;
123582 #endif
123586 # ------------- done intptr types, emit int_least types ------------
123587 if test "$ac_cv_type_int_least32_t" != yes; then
123588 sed 's/^ *//' >> tmp-stdint.h <<EOF
123590 /* Define int_least types */
123591 typedef int8_t int_least8_t;
123592 typedef int16_t int_least16_t;
123593 typedef int32_t int_least32_t;
123594 #ifdef _INT64_T
123595 typedef int64_t int_least64_t;
123596 #endif
123598 typedef uint8_t uint_least8_t;
123599 typedef uint16_t uint_least16_t;
123600 typedef uint32_t uint_least32_t;
123601 #ifdef _UINT64_T
123602 typedef uint64_t uint_least64_t;
123603 #endif
123607 # ------------- done intptr types, emit int_fast types ------------
123608 if test "$ac_cv_type_int_fast32_t" != yes; then
123609 sed 's/^ *//' >> tmp-stdint.h <<EOF
123611 /* Define int_fast types. short is often slow */
123612 typedef int8_t int_fast8_t;
123613 typedef int int_fast16_t;
123614 typedef int32_t int_fast32_t;
123615 #ifdef _INT64_T
123616 typedef int64_t int_fast64_t;
123617 #endif
123619 typedef uint8_t uint_fast8_t;
123620 typedef unsigned int uint_fast16_t;
123621 typedef uint32_t uint_fast32_t;
123622 #ifdef _UINT64_T
123623 typedef uint64_t uint_fast64_t;
123624 #endif
123628 if test "$ac_cv_type_uintmax_t" != yes; then
123629 sed 's/^ *//' >> tmp-stdint.h <<EOF
123631 /* Define intmax based on what we found */
123632 #ifdef _INT64_T
123633 typedef int64_t intmax_t;
123634 #else
123635 typedef long intmax_t;
123636 #endif
123637 #ifdef _UINT64_T
123638 typedef uint64_t uintmax_t;
123639 #else
123640 typedef unsigned long uintmax_t;
123641 #endif
123645 sed 's/^ *//' >> tmp-stdint.h <<EOF
123647 #endif /* GCC_GENERATED_STDINT_H */
123650 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
123651 rm -f tmp-stdint.h
123653 mv -f tmp-stdint.h include/gstdint.h
123657 default ) if test -n "$CONFIG_FILES"; then
123658 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
123659 # that multilib installs will end up installed in the correct place.
123660 # The testsuite needs it for multilib-aware ABI baseline files.
123661 # To work around this not being passed down from config-ml.in ->
123662 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
123663 # append it here. Only modify Makefiles that have just been created.
123665 # Also, get rid of this simulated-VPATH thing that automake does.
123666 cat > vpsed << \_EOF
123667 s!`test -f '$<' || echo '$(srcdir)/'`!!
123669 for i in $SUBDIRS; do
123670 case $CONFIG_FILES in
123671 *${i}/Makefile*)
123672 #echo "Adding MULTISUBDIR to $i/Makefile"
123673 sed -f vpsed $i/Makefile > tmp
123674 grep '^MULTISUBDIR =' Makefile >> tmp
123675 mv tmp $i/Makefile
123679 rm vpsed
123681 (cd include && ${MAKE-make})
123685 _ACEOF
123687 cat >>$CONFIG_STATUS <<\_ACEOF
123689 { (exit 0); exit 0; }
123690 _ACEOF
123691 chmod +x $CONFIG_STATUS
123692 ac_clean_files=$ac_clean_files_save
123695 # configure is writing to config.log, and then calls config.status.
123696 # config.status does its own redirection, appending to config.log.
123697 # Unfortunately, on DOS this fails, as config.log is still kept open
123698 # by configure, so config.status won't be able to write to it; its
123699 # output is simply discarded. So we exec the FD to /dev/null,
123700 # effectively closing config.log, so it can be properly (re)opened and
123701 # appended to by config.status. When coming back to configure, we
123702 # need to make the FD available again.
123703 if test "$no_create" != yes; then
123704 ac_cs_success=:
123705 ac_config_status_args=
123706 test "$silent" = yes &&
123707 ac_config_status_args="$ac_config_status_args --quiet"
123708 exec 5>/dev/null
123709 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123710 exec 5>>config.log
123711 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123712 # would make configure fail if this is the last instruction.
123713 $ac_cs_success || { (exit 1); exit 1; }