* configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
[official-gcc.git] / libstdc++-v3 / configure
blob5d8b3b00bfb4c09ba80f5f7c597d96b6f4877c85
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=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-linux-futex use the Linux futex system call
1057 [default=default]
1058 --enable-symvers=STYLE enables symbol versioning of the shared library
1059 [default=yes]
1060 --enable-visibility enables visibility safe usage [default=yes]
1061 --enable-version-specific-runtime-libs
1062 Specify that runtime libraries should be installed
1063 in a compiler-specific directory
1065 Optional Packages:
1066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1068 --with-target-subdir=SUBDIR
1069 configuring in a subdirectory
1070 --with-cross-host=HOST configuring with a cross compiler
1071 --with-newlib assume newlib as a system C library
1072 --with-pic try to use only PIC/non-PIC objects [default=use
1073 both]
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1077 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1078 --with-gxx-include-dir=DIR
1079 installation directory for include files
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CPP C preprocessor
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1096 _ACEOF
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 cd $ac_popdir
1185 done
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1208 $ $0 $@
1210 _ACEOF
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 _ASUNAME
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1244 } >&5
1246 cat >&5 <<_ACEOF
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1253 _ACEOF
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1268 for ac_arg
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1315 echo
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 esac;
1338 echo
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1439 done
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 # differences in whitespace do not lead to failure.
1480 ac_old_val_w=`echo x $ac_old_val`
1481 ac_new_val_w=`echo x $ac_new_val`
1482 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1483 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1484 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1485 ac_cache_corrupted=:
1486 else
1487 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1488 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1489 eval $ac_var=\$ac_old_val
1491 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1492 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1493 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1494 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1551 ac_config_headers="$ac_config_headers config.h"
1554 # This works around the fact that libtool configuration may change LD
1555 # for this particular configuration, but some shells, instead of
1556 # keeping the changes in LD private, export them just because LD is
1557 # exported. Only used at the end of this file.
1558 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1560 # For libtool versioning info, format is CURRENT:REVISION:AGE
1561 libtool_VERSION=6:11:0
1564 # Find the rest of the source tree framework.
1565 # Default to --enable-multilib
1566 # Check whether --enable-multilib or --disable-multilib was given.
1567 if test "${enable_multilib+set}" = set; then
1568 enableval="$enable_multilib"
1569 case "$enableval" in
1570 yes) multilib=yes ;;
1571 no) multilib=no ;;
1572 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1573 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1574 { (exit 1); exit 1; }; } ;;
1575 esac
1576 else
1577 multilib=yes
1580 # We may get other options which we leave undocumented:
1581 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1582 # See config-ml.in if you want the gory details.
1584 if test "$srcdir" = "."; then
1585 if test "$with_target_subdir" != "."; then
1586 multi_basedir="$srcdir/$with_multisrctop../.."
1587 else
1588 multi_basedir="$srcdir/$with_multisrctop.."
1590 else
1591 multi_basedir="$srcdir/.."
1595 # Even if the default multilib is not a cross compilation,
1596 # it may be that some of the other multilibs are.
1597 if test $cross_compiling = no && test $multilib = yes \
1598 && test "x${with_multisubdir}" != x ; then
1599 cross_compiling=maybe
1602 ac_config_commands="$ac_config_commands default-1"
1605 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1607 # You will slowly go insane if you do not grok the following fact: when
1608 # building v3 as part of the compiler, the top-level /target/ becomes the
1609 # library's /host/. configure then causes --target to default to --host,
1610 # exactly like any other package using autoconf. Therefore, 'target' and
1611 # 'host' will always be the same. This makes sense both for native and
1612 # cross compilers, just think about it for a little while. :-)
1614 # Also, if v3 is being configured as part of a cross compiler, the top-level
1615 # configure script will pass the "real" host as $with_cross_host.
1617 # Do not delete or change the following two lines. For why, see
1618 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1619 ac_aux_dir=
1620 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1621 if test -f $ac_dir/install-sh; then
1622 ac_aux_dir=$ac_dir
1623 ac_install_sh="$ac_aux_dir/install-sh -c"
1624 break
1625 elif test -f $ac_dir/install.sh; then
1626 ac_aux_dir=$ac_dir
1627 ac_install_sh="$ac_aux_dir/install.sh -c"
1628 break
1629 elif test -f $ac_dir/shtool; then
1630 ac_aux_dir=$ac_dir
1631 ac_install_sh="$ac_aux_dir/shtool install -c"
1632 break
1634 done
1635 if test -z "$ac_aux_dir"; then
1636 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1637 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1638 { (exit 1); exit 1; }; }
1640 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1641 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1642 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1644 # Make sure we can run config.sub.
1645 $ac_config_sub sun4 >/dev/null 2>&1 ||
1646 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1647 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1648 { (exit 1); exit 1; }; }
1650 echo "$as_me:$LINENO: checking build system type" >&5
1651 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1652 if test "${ac_cv_build+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655 ac_cv_build_alias=$build_alias
1656 test -z "$ac_cv_build_alias" &&
1657 ac_cv_build_alias=`$ac_config_guess`
1658 test -z "$ac_cv_build_alias" &&
1659 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1660 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1661 { (exit 1); exit 1; }; }
1662 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1663 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1664 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1665 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1669 echo "${ECHO_T}$ac_cv_build" >&6
1670 build=$ac_cv_build
1671 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1672 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1673 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1676 echo "$as_me:$LINENO: checking host system type" >&5
1677 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1678 if test "${ac_cv_host+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 else
1681 ac_cv_host_alias=$host_alias
1682 test -z "$ac_cv_host_alias" &&
1683 ac_cv_host_alias=$ac_cv_build_alias
1684 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1685 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1686 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1687 { (exit 1); exit 1; }; }
1690 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1691 echo "${ECHO_T}$ac_cv_host" >&6
1692 host=$ac_cv_host
1693 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1694 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1695 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1698 echo "$as_me:$LINENO: checking target system type" >&5
1699 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1700 if test "${ac_cv_target+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 else
1703 ac_cv_target_alias=$target_alias
1704 test "x$ac_cv_target_alias" = "x" &&
1705 ac_cv_target_alias=$ac_cv_host_alias
1706 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1707 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1708 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1709 { (exit 1); exit 1; }; }
1712 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1713 echo "${ECHO_T}$ac_cv_target" >&6
1714 target=$ac_cv_target
1715 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1716 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1717 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1720 # The aliases save the names the user supplied, while $host etc.
1721 # will get canonicalized.
1722 test -n "$target_alias" &&
1723 test "$program_prefix$program_suffix$program_transform_name" = \
1724 NONENONEs,x,x, &&
1725 program_prefix=${target_alias}-
1726 target_alias=${target_alias-$host_alias}
1728 # Handy for debugging:
1729 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1731 if test "$build" != "$host"; then
1732 # We are being configured with some form of cross compiler.
1733 GLIBCXX_IS_NATIVE=false
1734 case "$host","$target" in
1735 # Darwin crosses can use the host system's libraries and headers,
1736 # because of the fat library support. Of course, it must be the
1737 # same version of Darwin on both sides. Allow the user to
1738 # just say --target=foo-darwin without a version number to mean
1739 # "the version on this system".
1740 *-*-darwin*,*-*-darwin*)
1741 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1742 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1743 if test $hostos = $targetos -o $targetos = darwin ; then
1744 GLIBCXX_IS_NATIVE=true
1751 esac
1752 else
1753 GLIBCXX_IS_NATIVE=true
1756 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1757 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1758 # 1.x: minimum required version
1759 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1760 # of other PACKAGE_* variables will, however, and there's nothing
1761 # we can do about that; they come from AC_INIT).
1762 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1763 # file in the top srcdir, etc, etc), so stop complaining.
1764 # no-dependencies: turns off auto dependency generation (just for now)
1765 # -Wall: turns on all automake warnings...
1766 # -Wno-portability: ...except this one, since GNU make is now required.
1767 am__api_version="1.9"
1768 # Find a good install program. We prefer a C program (faster),
1769 # so one script is as good as another. But avoid the broken or
1770 # incompatible versions:
1771 # SysV /etc/install, /usr/sbin/install
1772 # SunOS /usr/etc/install
1773 # IRIX /sbin/install
1774 # AIX /bin/install
1775 # AmigaOS /C/install, which installs bootblocks on floppy discs
1776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1779 # OS/2's system install, which has a completely different semantic
1780 # ./install, which can be erroneously created by make from ./install.sh.
1781 # Reject install programs that cannot install multiple files.
1782 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1783 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1784 if test -z "$INSTALL"; then
1785 if test "${ac_cv_path_install+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 for as_dir in $PATH
1791 IFS=$as_save_IFS
1792 test -z "$as_dir" && as_dir=.
1793 # Account for people who put trailing slashes in PATH elements.
1794 case $as_dir/ in
1795 ./ | .// | /cC/* | \
1796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1797 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1798 /usr/ucb/* ) ;;
1800 # OSF1 and SCO ODT 3.0 have their own names for install.
1801 # Don't use installbsd from OSF since it installs stuff as root
1802 # by default.
1803 for ac_prog in ginstall scoinst install; do
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1806 if test $ac_prog = install &&
1807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1808 # AIX install. It has an incompatible calling convention.
1810 elif test $ac_prog = install &&
1811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # program-specific install script used by HP pwplus--don't use.
1814 else
1815 rm -rf conftest.one conftest.two conftest.dir
1816 echo one > conftest.one
1817 echo two > conftest.two
1818 mkdir conftest.dir
1819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1820 test -s conftest.one && test -s conftest.two &&
1821 test -s conftest.dir/conftest.one &&
1822 test -s conftest.dir/conftest.two
1823 then
1824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1825 break 3
1829 done
1830 done
1832 esac
1833 done
1835 rm -rf conftest.one conftest.two conftest.dir
1838 if test "${ac_cv_path_install+set}" = set; then
1839 INSTALL=$ac_cv_path_install
1840 else
1841 # As a last resort, use the slow shell script. Don't cache a
1842 # value for INSTALL within a source directory, because that will
1843 # break other packages using the cache if that directory is
1844 # removed, or if the value is a relative name.
1845 INSTALL=$ac_install_sh
1848 echo "$as_me:$LINENO: result: $INSTALL" >&5
1849 echo "${ECHO_T}$INSTALL" >&6
1851 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1852 # It thinks the first close brace ends the variable substitution.
1853 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1855 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1857 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1859 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1860 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1861 # Just in case
1862 sleep 1
1863 echo timestamp > conftest.file
1864 # Do `set' in a subshell so we don't clobber the current shell's
1865 # arguments. Must try -L first in case configure is actually a
1866 # symlink; some systems play weird games with the mod time of symlinks
1867 # (eg FreeBSD returns the mod time of the symlink's containing
1868 # directory).
1869 if (
1870 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1871 if test "$*" = "X"; then
1872 # -L didn't work.
1873 set X `ls -t $srcdir/configure conftest.file`
1875 rm -f conftest.file
1876 if test "$*" != "X $srcdir/configure conftest.file" \
1877 && test "$*" != "X conftest.file $srcdir/configure"; then
1879 # If neither matched, then we have a broken ls. This can happen
1880 # if, for instance, CONFIG_SHELL is bash and it inherits a
1881 # broken ls alias from the environment. This has actually
1882 # happened. Such a system could not be considered "sane".
1883 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1884 alias in your environment" >&5
1885 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1886 alias in your environment" >&2;}
1887 { (exit 1); exit 1; }; }
1890 test "$2" = conftest.file
1892 then
1893 # Ok.
1895 else
1896 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1897 Check your system clock" >&5
1898 echo "$as_me: error: newly created file is older than distributed files!
1899 Check your system clock" >&2;}
1900 { (exit 1); exit 1; }; }
1902 echo "$as_me:$LINENO: result: yes" >&5
1903 echo "${ECHO_T}yes" >&6
1904 test "$program_prefix" != NONE &&
1905 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1906 # Use a double $ so make ignores it.
1907 test "$program_suffix" != NONE &&
1908 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1909 # Double any \ or $. echo might interpret backslashes.
1910 # By default was `s,x,x', remove it if useless.
1911 cat <<\_ACEOF >conftest.sed
1912 s/[\\$]/&&/g;s/;s,x,x,$//
1913 _ACEOF
1914 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1915 rm conftest.sed
1917 # expand $ac_aux_dir to an absolute path
1918 am_aux_dir=`cd $ac_aux_dir && pwd`
1920 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1921 # Use eval to expand $SHELL
1922 if eval "$MISSING --run true"; then
1923 am_missing_run="$MISSING --run "
1924 else
1925 am_missing_run=
1926 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1927 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1930 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1931 # We used to keeping the `.' as first argument, in order to
1932 # allow $(mkdir_p) to be used without argument. As in
1933 # $(mkdir_p) $(somedir)
1934 # where $(somedir) is conditionally defined. However this is wrong
1935 # for two reasons:
1936 # 1. if the package is installed by a user who cannot write `.'
1937 # make install will fail,
1938 # 2. the above comment should most certainly read
1939 # $(mkdir_p) $(DESTDIR)$(somedir)
1940 # so it does not work when $(somedir) is undefined and
1941 # $(DESTDIR) is not.
1942 # To support the latter case, we have to write
1943 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1944 # so the `.' trick is pointless.
1945 mkdir_p='mkdir -p --'
1946 else
1947 # On NextStep and OpenStep, the `mkdir' command does not
1948 # recognize any option. It will interpret all options as
1949 # directories to create, and then abort because `.' already
1950 # exists.
1951 for d in ./-p ./--version;
1953 test -d $d && rmdir $d
1954 done
1955 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1956 if test -f "$ac_aux_dir/mkinstalldirs"; then
1957 mkdir_p='$(mkinstalldirs)'
1958 else
1959 mkdir_p='$(install_sh) -d'
1963 for ac_prog in gawk mawk nawk awk
1965 # Extract the first word of "$ac_prog", so it can be a program name with args.
1966 set dummy $ac_prog; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_AWK+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972 if test -n "$AWK"; then
1973 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_AWK="$ac_prog"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 break 2
1986 done
1987 done
1991 AWK=$ac_cv_prog_AWK
1992 if test -n "$AWK"; then
1993 echo "$as_me:$LINENO: result: $AWK" >&5
1994 echo "${ECHO_T}$AWK" >&6
1995 else
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2000 test -n "$AWK" && break
2001 done
2003 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2005 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2006 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 else
2009 cat >conftest.make <<\_ACEOF
2010 all:
2011 @echo 'ac_maketemp="$(MAKE)"'
2012 _ACEOF
2013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2015 if test -n "$ac_maketemp"; then
2016 eval ac_cv_prog_make_${ac_make}_set=yes
2017 else
2018 eval ac_cv_prog_make_${ac_make}_set=no
2020 rm -f conftest.make
2022 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2023 echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6
2025 SET_MAKE=
2026 else
2027 echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2029 SET_MAKE="MAKE=${MAKE-make}"
2032 rm -rf .tst 2>/dev/null
2033 mkdir .tst 2>/dev/null
2034 if test -d .tst; then
2035 am__leading_dot=.
2036 else
2037 am__leading_dot=_
2039 rmdir .tst 2>/dev/null
2041 # test to see if srcdir already configured
2042 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2043 test -f $srcdir/config.status; then
2044 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2045 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2046 { (exit 1); exit 1; }; }
2049 # test whether we have cygpath
2050 if test -z "$CYGPATH_W"; then
2051 if (cygpath --version) >/dev/null 2>/dev/null; then
2052 CYGPATH_W='cygpath -w'
2053 else
2054 CYGPATH_W=echo
2059 # Define the identity of the package.
2060 PACKAGE='libstdc++'
2061 VERSION='version-unused'
2064 # Some tools Automake needs.
2066 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2069 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2072 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2075 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2078 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2080 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2082 # Installed binaries are usually stripped using `strip' when the user
2083 # run `make install-strip'. However `strip' might not be the right
2084 # tool to use in cross-compilation environments, therefore Automake
2085 # will honor the `STRIP' environment variable to overrule this program.
2086 if test "$cross_compiling" != no; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}strip; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_STRIP+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095 if test -n "$STRIP"; then
2096 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2109 done
2110 done
2114 STRIP=$ac_cv_prog_STRIP
2115 if test -n "$STRIP"; then
2116 echo "$as_me:$LINENO: result: $STRIP" >&5
2117 echo "${ECHO_T}$STRIP" >&6
2118 else
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2124 if test -z "$ac_cv_prog_STRIP"; then
2125 ac_ct_STRIP=$STRIP
2126 # Extract the first word of "strip", so it can be a program name with args.
2127 set dummy strip; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 if test -n "$ac_ct_STRIP"; then
2134 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_STRIP="strip"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2150 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2153 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2154 if test -n "$ac_ct_STRIP"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2156 echo "${ECHO_T}$ac_ct_STRIP" >&6
2157 else
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2162 STRIP=$ac_ct_STRIP
2163 else
2164 STRIP="$ac_cv_prog_STRIP"
2168 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2170 # We need awk for the "check" target. The system "awk" is bad on
2171 # some platforms.
2172 # Always define AMTAR for backward compatibility.
2174 AMTAR=${AMTAR-"${am_missing_run}tar"}
2176 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2187 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2188 # up critical shell variables.
2190 ac_ext=c
2191 ac_cpp='$CPP $CPPFLAGS'
2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2195 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2196 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2197 # On Suns, sometimes $CPP names a directory.
2198 if test -n "$CPP" && test -d "$CPP"; then
2199 CPP=
2201 if test -z "$CPP"; then
2202 if test "${ac_cv_prog_CPP+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 # Double quotes because CPP needs to be expanded
2206 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2208 ac_preproc_ok=false
2209 for ac_c_preproc_warn_flag in '' yes
2211 # Use a header file that comes with gcc, so configuring glibc
2212 # with a fresh cross-compiler works.
2213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2214 # <limits.h> exists even on freestanding compilers.
2215 # On the NeXT, cc -E runs the code through the compiler's parser,
2216 # not just through cpp. "Syntax error" is here to catch this case.
2217 cat >conftest.$ac_ext <<_ACEOF
2218 /* confdefs.h. */
2219 _ACEOF
2220 cat confdefs.h >>conftest.$ac_ext
2221 cat >>conftest.$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2223 #ifdef __STDC__
2224 # include <limits.h>
2225 #else
2226 # include <assert.h>
2227 #endif
2228 Syntax error
2229 _ACEOF
2230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2232 ac_status=$?
2233 grep -v '^ *+' conftest.er1 >conftest.err
2234 rm -f conftest.er1
2235 cat conftest.err >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); } >/dev/null; then
2238 if test -s conftest.err; then
2239 ac_cpp_err=$ac_c_preproc_warn_flag
2240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2241 else
2242 ac_cpp_err=
2244 else
2245 ac_cpp_err=yes
2247 if test -z "$ac_cpp_err"; then
2249 else
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 # Broken: fails on valid input.
2254 continue
2256 rm -f conftest.err conftest.$ac_ext
2258 # OK, works on sane cases. Now check whether non-existent headers
2259 # can be detected and how.
2260 cat >conftest.$ac_ext <<_ACEOF
2261 /* confdefs.h. */
2262 _ACEOF
2263 cat confdefs.h >>conftest.$ac_ext
2264 cat >>conftest.$ac_ext <<_ACEOF
2265 /* end confdefs.h. */
2266 #include <ac_nonexistent.h>
2267 _ACEOF
2268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2270 ac_status=$?
2271 grep -v '^ *+' conftest.er1 >conftest.err
2272 rm -f conftest.er1
2273 cat conftest.err >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } >/dev/null; then
2276 if test -s conftest.err; then
2277 ac_cpp_err=$ac_c_preproc_warn_flag
2278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2279 else
2280 ac_cpp_err=
2282 else
2283 ac_cpp_err=yes
2285 if test -z "$ac_cpp_err"; then
2286 # Broken: success on invalid input.
2287 continue
2288 else
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2292 # Passes both tests.
2293 ac_preproc_ok=:
2294 break
2296 rm -f conftest.err conftest.$ac_ext
2298 done
2299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2300 rm -f conftest.err conftest.$ac_ext
2301 if $ac_preproc_ok; then
2302 break
2305 done
2306 ac_cv_prog_CPP=$CPP
2309 CPP=$ac_cv_prog_CPP
2310 else
2311 ac_cv_prog_CPP=$CPP
2313 echo "$as_me:$LINENO: result: $CPP" >&5
2314 echo "${ECHO_T}$CPP" >&6
2315 ac_preproc_ok=false
2316 for ac_c_preproc_warn_flag in '' yes
2318 # Use a header file that comes with gcc, so configuring glibc
2319 # with a fresh cross-compiler works.
2320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2321 # <limits.h> exists even on freestanding compilers.
2322 # On the NeXT, cc -E runs the code through the compiler's parser,
2323 # not just through cpp. "Syntax error" is here to catch this case.
2324 cat >conftest.$ac_ext <<_ACEOF
2325 /* confdefs.h. */
2326 _ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2330 #ifdef __STDC__
2331 # include <limits.h>
2332 #else
2333 # include <assert.h>
2334 #endif
2335 Syntax error
2336 _ACEOF
2337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2339 ac_status=$?
2340 grep -v '^ *+' conftest.er1 >conftest.err
2341 rm -f conftest.er1
2342 cat conftest.err >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); } >/dev/null; then
2345 if test -s conftest.err; then
2346 ac_cpp_err=$ac_c_preproc_warn_flag
2347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2348 else
2349 ac_cpp_err=
2351 else
2352 ac_cpp_err=yes
2354 if test -z "$ac_cpp_err"; then
2356 else
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2360 # Broken: fails on valid input.
2361 continue
2363 rm -f conftest.err conftest.$ac_ext
2365 # OK, works on sane cases. Now check whether non-existent headers
2366 # can be detected and how.
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2373 #include <ac_nonexistent.h>
2374 _ACEOF
2375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2377 ac_status=$?
2378 grep -v '^ *+' conftest.er1 >conftest.err
2379 rm -f conftest.er1
2380 cat conftest.err >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } >/dev/null; then
2383 if test -s conftest.err; then
2384 ac_cpp_err=$ac_c_preproc_warn_flag
2385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2386 else
2387 ac_cpp_err=
2389 else
2390 ac_cpp_err=yes
2392 if test -z "$ac_cpp_err"; then
2393 # Broken: success on invalid input.
2394 continue
2395 else
2396 echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 # Passes both tests.
2400 ac_preproc_ok=:
2401 break
2403 rm -f conftest.err conftest.$ac_ext
2405 done
2406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2407 rm -f conftest.err conftest.$ac_ext
2408 if $ac_preproc_ok; then
2410 else
2411 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2414 See \`config.log' for more details." >&2;}
2415 { (exit 1); exit 1; }; }
2418 ac_ext=c
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425 echo "$as_me:$LINENO: checking for egrep" >&5
2426 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2427 if test "${ac_cv_prog_egrep+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2431 then ac_cv_prog_egrep='grep -E'
2432 else ac_cv_prog_egrep='egrep'
2435 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2436 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2437 EGREP=$ac_cv_prog_egrep
2441 # Keep these sync'd with the list in Makefile.am. The first provides an
2442 # expandable list at autoconf time; the second provides an expandable list
2443 # (i.e., shell variable) at configure time.
2445 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2447 # These need to be absolute paths, yet at the same time need to
2448 # canonicalize only relative paths, because then amd will not unmount
2449 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2450 glibcxx_builddir=`${PWDCMD-pwd}`
2451 case $srcdir in
2452 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2453 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2454 esac
2455 toplevel_srcdir=${glibcxx_srcdir}/..
2460 # We use these options to decide which functions to include. They are
2461 # set from the top level.
2463 # Check whether --with-target-subdir or --without-target-subdir was given.
2464 if test "${with_target_subdir+set}" = set; then
2465 withval="$with_target_subdir"
2470 # Check whether --with-cross-host or --without-cross-host was given.
2471 if test "${with_cross_host+set}" = set; then
2472 withval="$with_cross_host"
2477 # Check whether --with-newlib or --without-newlib was given.
2478 if test "${with_newlib+set}" = set; then
2479 withval="$with_newlib"
2483 # We're almost certainly being configured before anything else which uses
2484 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2485 # we not cache the value of CXX that we "discover" here, because it's set
2486 # to something unique for us and libjava. Other target libraries need to
2487 # find CXX for themselves. We yank the rug out from under the normal AC_*
2488 # process by sneakily renaming the cache variable. This also lets us debug
2489 # the value of "our" CXX in postmortems.
2491 # We must also force CXX to /not/ be a precious variable, otherwise the
2492 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2493 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2494 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2495 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2497 # -fno-builtin must be present here so that a non-conflicting form of
2498 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2503 save_CXXFLAGS="$CXXFLAGS"
2504 CXXFLAGS="$CXXFLAGS -fno-builtin"
2505 ac_ext=c
2506 ac_cpp='$CPP $CPPFLAGS'
2507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2510 if test -n "$ac_tool_prefix"; then
2511 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2513 echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2515 if test "${ac_cv_prog_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 if test -n "$CC"; then
2519 ac_cv_prog_CC="$CC" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 break 2
2532 done
2533 done
2537 CC=$ac_cv_prog_CC
2538 if test -n "$CC"; then
2539 echo "$as_me:$LINENO: result: $CC" >&5
2540 echo "${ECHO_T}$CC" >&6
2541 else
2542 echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6
2547 if test -z "$ac_cv_prog_CC"; then
2548 ac_ct_CC=$CC
2549 # Extract the first word of "gcc", so it can be a program name with args.
2550 set dummy gcc; ac_word=$2
2551 echo "$as_me:$LINENO: checking for $ac_word" >&5
2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556 if test -n "$ac_ct_CC"; then
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2558 else
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 for as_dir in $PATH
2562 IFS=$as_save_IFS
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_CC="gcc"
2567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 break 2
2570 done
2571 done
2575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2576 if test -n "$ac_ct_CC"; then
2577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2578 echo "${ECHO_T}$ac_ct_CC" >&6
2579 else
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2584 CC=$ac_ct_CC
2585 else
2586 CC="$ac_cv_prog_CC"
2589 if test -z "$CC"; then
2590 if test -n "$ac_tool_prefix"; then
2591 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2592 set dummy ${ac_tool_prefix}cc; ac_word=$2
2593 echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2595 if test "${ac_cv_prog_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2598 if test -n "$CC"; then
2599 ac_cv_prog_CC="$CC" # Let the user override the test.
2600 else
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2604 IFS=$as_save_IFS
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 ac_cv_prog_CC="${ac_tool_prefix}cc"
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 break 2
2612 done
2613 done
2617 CC=$ac_cv_prog_CC
2618 if test -n "$CC"; then
2619 echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6
2621 else
2622 echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6
2627 if test -z "$ac_cv_prog_CC"; then
2628 ac_ct_CC=$CC
2629 # Extract the first word of "cc", so it can be a program name with args.
2630 set dummy cc; ac_word=$2
2631 echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 if test -n "$ac_ct_CC"; then
2637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_ac_ct_CC="cc"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 break 2
2650 done
2651 done
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2658 echo "${ECHO_T}$ac_ct_CC" >&6
2659 else
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2664 CC=$ac_ct_CC
2665 else
2666 CC="$ac_cv_prog_CC"
2670 if test -z "$CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2675 if test "${ac_cv_prog_CC+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 else
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC="$CC" # Let the user override the test.
2680 else
2681 ac_prog_rejected=no
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2685 IFS=$as_save_IFS
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected=yes
2691 continue
2693 ac_cv_prog_CC="cc"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 break 2
2697 done
2698 done
2700 if test $ac_prog_rejected = yes; then
2701 # We found a bogon in the path, so make sure we never use it.
2702 set dummy $ac_cv_prog_CC
2703 shift
2704 if test $# != 0; then
2705 # We chose a different compiler from the bogus one.
2706 # However, it has the same basename, so the bogon will be chosen
2707 # first if we set CC to just the basename; use the full file name.
2708 shift
2709 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2714 CC=$ac_cv_prog_CC
2715 if test -n "$CC"; then
2716 echo "$as_me:$LINENO: result: $CC" >&5
2717 echo "${ECHO_T}$CC" >&6
2718 else
2719 echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6
2724 if test -z "$CC"; then
2725 if test -n "$ac_tool_prefix"; then
2726 for ac_prog in cl
2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 else
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2741 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 break 2
2749 done
2750 done
2754 CC=$ac_cv_prog_CC
2755 if test -n "$CC"; then
2756 echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6
2758 else
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2763 test -n "$CC" && break
2764 done
2766 if test -z "$CC"; then
2767 ac_ct_CC=$CC
2768 for ac_prog in cl
2770 # Extract the first word of "$ac_prog", so it can be a program name with args.
2771 set dummy $ac_prog; ac_word=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 else
2777 if test -n "$ac_ct_CC"; then
2778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2779 else
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2783 IFS=$as_save_IFS
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_CC="$ac_prog"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 break 2
2791 done
2792 done
2796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 echo "${ECHO_T}$ac_ct_CC" >&6
2800 else
2801 echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2805 test -n "$ac_ct_CC" && break
2806 done
2808 CC=$ac_ct_CC
2814 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2815 See \`config.log' for more details." >&5
2816 echo "$as_me: error: no acceptable C compiler found in \$PATH
2817 See \`config.log' for more details." >&2;}
2818 { (exit 1); exit 1; }; }
2820 # Provide some information about the compiler.
2821 echo "$as_me:$LINENO:" \
2822 "checking for C compiler version" >&5
2823 ac_compiler=`set X $ac_compile; echo $2`
2824 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2825 (eval $ac_compiler --version </dev/null >&5) 2>&5
2826 ac_status=$?
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }
2829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2830 (eval $ac_compiler -v </dev/null >&5) 2>&5
2831 ac_status=$?
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2835 (eval $ac_compiler -V </dev/null >&5) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2840 cat >conftest.$ac_ext <<_ACEOF
2841 /* confdefs.h. */
2842 _ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2848 main ()
2852 return 0;
2854 _ACEOF
2855 # FIXME: Cleanup?
2856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2857 (eval $ac_link) 2>&5
2858 ac_status=$?
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; then
2861 gcc_no_link=no
2862 else
2863 gcc_no_link=yes
2866 if test x$gcc_no_link = xyes; then
2867 # Setting cross_compile will disable run tests; it will
2868 # also disable AC_CHECK_FILE but that's generally
2869 # correct if we can't link.
2870 cross_compiling=yes
2871 EXEEXT=
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h. */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 ac_clean_files_save=$ac_clean_files
2889 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2890 # Try to create an executable without -o first, disregard a.out.
2891 # It will help us diagnose broken compilers, and finding out an intuition
2892 # of exeext.
2893 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2894 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2895 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2896 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2897 (eval $ac_link_default) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; then
2901 # Find the output, starting from the most likely. This scheme is
2902 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2903 # resort.
2905 # Be careful to initialize this variable, since it used to be cached.
2906 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2907 ac_cv_exeext=
2908 # b.out is created by i960 compilers.
2909 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2911 test -f "$ac_file" || continue
2912 case $ac_file in
2913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2915 conftest.$ac_ext )
2916 # This is the source file.
2918 [ab].out )
2919 # We found the default executable, but exeext='' is most
2920 # certainly right.
2921 break;;
2922 *.* )
2923 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2924 # FIXME: I believe we export ac_cv_exeext for Libtool,
2925 # but it would be cool to find out if it's true. Does anybody
2926 # maintain Libtool? --akim.
2927 export ac_cv_exeext
2928 break;;
2930 break;;
2931 esac
2932 done
2933 else
2934 echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2937 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2938 See \`config.log' for more details." >&5
2939 echo "$as_me: error: C compiler cannot create executables
2940 See \`config.log' for more details." >&2;}
2941 { (exit 77); exit 77; }; }
2944 ac_exeext=$ac_cv_exeext
2945 echo "$as_me:$LINENO: result: $ac_file" >&5
2946 echo "${ECHO_T}$ac_file" >&6
2948 # Check the compiler produces executables we can run. If not, either
2949 # the compiler is broken, or we cross compile.
2950 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2953 # If not cross compiling, check that we can run a simple program.
2954 if test "$cross_compiling" != yes; then
2955 if { ac_try='./$ac_file'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 (eval $ac_try) 2>&5
2958 ac_status=$?
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2961 cross_compiling=no
2962 else
2963 if test "$cross_compiling" = maybe; then
2964 cross_compiling=yes
2965 else
2966 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2967 If you meant to cross compile, use \`--host'.
2968 See \`config.log' for more details." >&5
2969 echo "$as_me: error: cannot run C compiled programs.
2970 If you meant to cross compile, use \`--host'.
2971 See \`config.log' for more details." >&2;}
2972 { (exit 1); exit 1; }; }
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2979 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2980 ac_clean_files=$ac_clean_files_save
2981 # Check the compiler produces executables we can run. If not, either
2982 # the compiler is broken, or we cross compile.
2983 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2984 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2985 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2986 echo "${ECHO_T}$cross_compiling" >&6
2988 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2989 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2991 (eval $ac_link) 2>&5
2992 ac_status=$?
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; then
2995 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2996 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2997 # work properly (i.e., refer to `conftest.exe'), while it won't with
2998 # `rm'.
2999 for ac_file in conftest.exe conftest conftest.*; do
3000 test -f "$ac_file" || continue
3001 case $ac_file in
3002 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3003 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 export ac_cv_exeext
3005 break;;
3006 * ) break;;
3007 esac
3008 done
3009 else
3010 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details." >&5
3012 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3013 See \`config.log' for more details." >&2;}
3014 { (exit 1); exit 1; }; }
3017 rm -f conftest$ac_cv_exeext
3018 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3019 echo "${ECHO_T}$ac_cv_exeext" >&6
3021 rm -f conftest.$ac_ext
3022 EXEEXT=$ac_cv_exeext
3023 ac_exeext=$EXEEXT
3025 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3027 if test "${ac_cv_objext+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 else
3030 cat >conftest.$ac_ext <<_ACEOF
3031 /* confdefs.h. */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3038 main ()
3042 return 0;
3044 _ACEOF
3045 rm -f conftest.o conftest.obj
3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047 (eval $ac_compile) 2>&5
3048 ac_status=$?
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; then
3051 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3052 case $ac_file in
3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3054 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3055 break;;
3056 esac
3057 done
3058 else
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3063 See \`config.log' for more details." >&5
3064 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3065 See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3069 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3072 echo "${ECHO_T}$ac_cv_objext" >&6
3073 OBJEXT=$ac_cv_objext
3074 ac_objext=$OBJEXT
3075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3077 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 else
3080 cat >conftest.$ac_ext <<_ACEOF
3081 /* confdefs.h. */
3082 _ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3088 main ()
3090 #ifndef __GNUC__
3091 choke me
3092 #endif
3095 return 0;
3097 _ACEOF
3098 rm -f conftest.$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100 (eval $ac_compile) 2>conftest.er1
3101 ac_status=$?
3102 grep -v '^ *+' conftest.er1 >conftest.err
3103 rm -f conftest.er1
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try='test -z "$ac_c_werror_flag"
3108 || test ! -s conftest.err'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3110 (eval $ac_try) 2>&5
3111 ac_status=$?
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; } &&
3114 { ac_try='test -s conftest.$ac_objext'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116 (eval $ac_try) 2>&5
3117 ac_status=$?
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3120 ac_compiler_gnu=yes
3121 else
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3125 ac_compiler_gnu=no
3127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3128 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3133 GCC=`test $ac_compiler_gnu = yes && echo yes`
3134 ac_test_CFLAGS=${CFLAGS+set}
3135 ac_save_CFLAGS=$CFLAGS
3136 CFLAGS="-g"
3137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3139 if test "${ac_cv_prog_cc_g+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 else
3142 cat >conftest.$ac_ext <<_ACEOF
3143 /* confdefs.h. */
3144 _ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3150 main ()
3154 return 0;
3156 _ACEOF
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 (eval $ac_try) 2>&5
3170 ac_status=$?
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 (eval $ac_try) 2>&5
3176 ac_status=$?
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 ac_cv_prog_cc_g=yes
3180 else
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_cv_prog_cc_g=no
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3190 if test "$ac_test_CFLAGS" = set; then
3191 CFLAGS=$ac_save_CFLAGS
3192 elif test $ac_cv_prog_cc_g = yes; then
3193 if test "$GCC" = yes; then
3194 CFLAGS="-g -O2"
3195 else
3196 CFLAGS="-g"
3198 else
3199 if test "$GCC" = yes; then
3200 CFLAGS="-O2"
3201 else
3202 CFLAGS=
3205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3207 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210 ac_cv_prog_cc_stdc=no
3211 ac_save_CC=$CC
3212 cat >conftest.$ac_ext <<_ACEOF
3213 /* confdefs.h. */
3214 _ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3218 #include <stdarg.h>
3219 #include <stdio.h>
3220 #include <sys/types.h>
3221 #include <sys/stat.h>
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3226 char **p;
3227 int i;
3229 return p[i];
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3233 char *s;
3234 va_list v;
3235 va_start (v,p);
3236 s = g (p, va_arg (v,int));
3237 va_end (v);
3238 return s;
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3242 function prototypes and stuff, but not '\xHH' hex character constants.
3243 These don't provoke an error unfortunately, instead are silently treated
3244 as 'x'. The following induces an error, until -std1 is added to get
3245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3246 array size at least. It's necessary to write '\x00'==0 to get something
3247 that's true only with -std1. */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3250 int test (int i, double x);
3251 struct s1 {int (*f) (int a);};
3252 struct s2 {int (*f) (double a);};
3253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3254 int argc;
3255 char **argv;
3257 main ()
3259 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3261 return 0;
3263 _ACEOF
3264 # Don't try gcc -ansi; that turns off useful extensions and
3265 # breaks some systems' header files.
3266 # AIX -qlanglvl=ansi
3267 # Ultrix and OSF/1 -std1
3268 # HP-UX 10.20 and later -Ae
3269 # HP-UX older versions -Aa -D_HPUX_SOURCE
3270 # SVR4 -Xc -D__EXTENSIONS__
3271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3273 CC="$ac_save_CC $ac_arg"
3274 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>conftest.er1
3277 ac_status=$?
3278 grep -v '^ *+' conftest.er1 >conftest.err
3279 rm -f conftest.er1
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_c_werror_flag"
3284 || test ! -s conftest.err'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 (eval $ac_try) 2>&5
3287 ac_status=$?
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 (eval $ac_try) 2>&5
3293 ac_status=$?
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3296 ac_cv_prog_cc_stdc=$ac_arg
3297 break
3298 else
3299 echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3303 rm -f conftest.err conftest.$ac_objext
3304 done
3305 rm -f conftest.$ac_ext conftest.$ac_objext
3306 CC=$ac_save_CC
3310 case "x$ac_cv_prog_cc_stdc" in
3311 x|xno)
3312 echo "$as_me:$LINENO: result: none needed" >&5
3313 echo "${ECHO_T}none needed" >&6 ;;
3315 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3317 CC="$CC $ac_cv_prog_cc_stdc" ;;
3318 esac
3320 # Some people use a C++ compiler to compile C. Since we use `exit',
3321 # in C++ we need to declare it. In case someone uses the same compiler
3322 # for both compiling C and C++ we need to have the C++ compiler decide
3323 # the declaration of exit, since it's the most demanding environment.
3324 cat >conftest.$ac_ext <<_ACEOF
3325 #ifndef __cplusplus
3326 choke me
3327 #endif
3328 _ACEOF
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_c_werror_flag"
3339 || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 (eval $ac_try) 2>&5
3342 ac_status=$?
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 (eval $ac_try) 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 for ac_declaration in \
3352 '' \
3353 'extern "C" void std::exit (int) throw (); using std::exit;' \
3354 'extern "C" void std::exit (int); using std::exit;' \
3355 'extern "C" void exit (int) throw ();' \
3356 'extern "C" void exit (int);' \
3357 'void exit (int);'
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3365 $ac_declaration
3366 #include <stdlib.h>
3368 main ()
3370 exit (42);
3372 return 0;
3374 _ACEOF
3375 rm -f conftest.$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>conftest.er1
3378 ac_status=$?
3379 grep -v '^ *+' conftest.er1 >conftest.err
3380 rm -f conftest.er1
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } &&
3384 { ac_try='test -z "$ac_c_werror_flag"
3385 || test ! -s conftest.err'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 (eval $ac_try) 2>&5
3388 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; } &&
3391 { ac_try='test -s conftest.$ac_objext'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 (eval $ac_try) 2>&5
3394 ac_status=$?
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3398 else
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3402 continue
3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3405 cat >conftest.$ac_ext <<_ACEOF
3406 /* confdefs.h. */
3407 _ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3411 $ac_declaration
3413 main ()
3415 exit (42);
3417 return 0;
3419 _ACEOF
3420 rm -f conftest.$ac_objext
3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3422 (eval $ac_compile) 2>conftest.er1
3423 ac_status=$?
3424 grep -v '^ *+' conftest.er1 >conftest.err
3425 rm -f conftest.er1
3426 cat conftest.err >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try='test -z "$ac_c_werror_flag"
3430 || test ! -s conftest.err'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 (eval $ac_try) 2>&5
3433 ac_status=$?
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); }; } &&
3436 { ac_try='test -s conftest.$ac_objext'
3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 (eval $ac_try) 2>&5
3439 ac_status=$?
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3442 break
3443 else
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3449 done
3450 rm -f conftest*
3451 if test -n "$ac_declaration"; then
3452 echo '#ifdef __cplusplus' >>confdefs.h
3453 echo $ac_declaration >>confdefs.h
3454 echo '#endif' >>confdefs.h
3457 else
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3463 ac_ext=c
3464 ac_cpp='$CPP $CPPFLAGS'
3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 ac_ext=cc
3470 ac_cpp='$CXXCPP $CPPFLAGS'
3471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3474 if test -n "$ac_tool_prefix"; then
3475 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3481 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484 if test -n "$CXX"; then
3485 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3486 else
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 break 2
3498 done
3499 done
3503 CXX=$glibcxx_cv_prog_CXX
3504 if test -n "$CXX"; then
3505 echo "$as_me:$LINENO: result: $CXX" >&5
3506 echo "${ECHO_T}$CXX" >&6
3507 else
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3512 test -n "$CXX" && break
3513 done
3515 if test -z "$CXX"; then
3516 ac_ct_CXX=$CXX
3517 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3519 # Extract the first word of "$ac_prog", so it can be a program name with args.
3520 set dummy $ac_prog; ac_word=$2
3521 echo "$as_me:$LINENO: checking for $ac_word" >&5
3522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3523 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526 if test -n "$ac_ct_CXX"; then
3527 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3528 else
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH
3532 IFS=$as_save_IFS
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_ac_ct_CXX="$ac_prog"
3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 break 2
3540 done
3541 done
3545 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3546 if test -n "$ac_ct_CXX"; then
3547 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3548 echo "${ECHO_T}$ac_ct_CXX" >&6
3549 else
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3554 test -n "$ac_ct_CXX" && break
3555 done
3556 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3558 CXX=$ac_ct_CXX
3562 # Provide some information about the compiler.
3563 echo "$as_me:$LINENO:" \
3564 "checking for C++ compiler version" >&5
3565 ac_compiler=`set X $ac_compile; echo $2`
3566 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3567 (eval $ac_compiler --version </dev/null >&5) 2>&5
3568 ac_status=$?
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }
3571 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3572 (eval $ac_compiler -v </dev/null >&5) 2>&5
3573 ac_status=$?
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }
3576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3577 (eval $ac_compiler -V </dev/null >&5) 2>&5
3578 ac_status=$?
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }
3582 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3583 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3584 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 else
3587 cat >conftest.$ac_ext <<_ACEOF
3588 /* confdefs.h. */
3589 _ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3595 main ()
3597 #ifndef __GNUC__
3598 choke me
3599 #endif
3602 return 0;
3604 _ACEOF
3605 rm -f conftest.$ac_objext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3607 (eval $ac_compile) 2>conftest.er1
3608 ac_status=$?
3609 grep -v '^ *+' conftest.er1 >conftest.err
3610 rm -f conftest.er1
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try='test -z "$ac_cxx_werror_flag"
3615 || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 (eval $ac_try) 2>&5
3618 ac_status=$?
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try='test -s conftest.$ac_objext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_compiler_gnu=yes
3628 else
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_compiler_gnu=no
3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3635 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3638 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3639 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3640 GXX=`test $ac_compiler_gnu = yes && echo yes`
3641 ac_test_CXXFLAGS=${CXXFLAGS+set}
3642 ac_save_CXXFLAGS=$CXXFLAGS
3643 CXXFLAGS="-g"
3644 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3645 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3646 if test "${ac_cv_prog_cxx_g+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 else
3649 cat >conftest.$ac_ext <<_ACEOF
3650 /* confdefs.h. */
3651 _ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3657 main ()
3661 return 0;
3663 _ACEOF
3664 rm -f conftest.$ac_objext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666 (eval $ac_compile) 2>conftest.er1
3667 ac_status=$?
3668 grep -v '^ *+' conftest.er1 >conftest.err
3669 rm -f conftest.er1
3670 cat conftest.err >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } &&
3673 { ac_try='test -z "$ac_cxx_werror_flag"
3674 || test ! -s conftest.err'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676 (eval $ac_try) 2>&5
3677 ac_status=$?
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; } &&
3680 { ac_try='test -s conftest.$ac_objext'
3681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682 (eval $ac_try) 2>&5
3683 ac_status=$?
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); }; }; then
3686 ac_cv_prog_cxx_g=yes
3687 else
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 ac_cv_prog_cxx_g=no
3693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3695 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3696 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3697 if test "$ac_test_CXXFLAGS" = set; then
3698 CXXFLAGS=$ac_save_CXXFLAGS
3699 elif test $ac_cv_prog_cxx_g = yes; then
3700 if test "$GXX" = yes; then
3701 CXXFLAGS="-g -O2"
3702 else
3703 CXXFLAGS="-g"
3705 else
3706 if test "$GXX" = yes; then
3707 CXXFLAGS="-O2"
3708 else
3709 CXXFLAGS=
3712 for ac_declaration in \
3713 '' \
3714 'extern "C" void std::exit (int) throw (); using std::exit;' \
3715 'extern "C" void std::exit (int); using std::exit;' \
3716 'extern "C" void exit (int) throw ();' \
3717 'extern "C" void exit (int);' \
3718 'void exit (int);'
3720 cat >conftest.$ac_ext <<_ACEOF
3721 /* confdefs.h. */
3722 _ACEOF
3723 cat confdefs.h >>conftest.$ac_ext
3724 cat >>conftest.$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3726 $ac_declaration
3727 #include <stdlib.h>
3729 main ()
3731 exit (42);
3733 return 0;
3735 _ACEOF
3736 rm -f conftest.$ac_objext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3738 (eval $ac_compile) 2>conftest.er1
3739 ac_status=$?
3740 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } &&
3745 { ac_try='test -z "$ac_cxx_werror_flag"
3746 || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 (eval $ac_try) 2>&5
3749 ac_status=$?
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } &&
3752 { ac_try='test -s conftest.$ac_objext'
3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 (eval $ac_try) 2>&5
3755 ac_status=$?
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; }; then
3759 else
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3763 continue
3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3766 cat >conftest.$ac_ext <<_ACEOF
3767 /* confdefs.h. */
3768 _ACEOF
3769 cat confdefs.h >>conftest.$ac_ext
3770 cat >>conftest.$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3772 $ac_declaration
3774 main ()
3776 exit (42);
3778 return 0;
3780 _ACEOF
3781 rm -f conftest.$ac_objext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3783 (eval $ac_compile) 2>conftest.er1
3784 ac_status=$?
3785 grep -v '^ *+' conftest.er1 >conftest.err
3786 rm -f conftest.er1
3787 cat conftest.err >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try='test -z "$ac_cxx_werror_flag"
3791 || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793 (eval $ac_try) 2>&5
3794 ac_status=$?
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try='test -s conftest.$ac_objext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 (eval $ac_try) 2>&5
3800 ac_status=$?
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 break
3804 else
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810 done
3811 rm -f conftest*
3812 if test -n "$ac_declaration"; then
3813 echo '#ifdef __cplusplus' >>confdefs.h
3814 echo $ac_declaration >>confdefs.h
3815 echo '#endif' >>confdefs.h
3818 ac_ext=c
3819 ac_cpp='$CPP $CPPFLAGS'
3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3824 CXXFLAGS="$save_CXXFLAGS"
3829 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3830 # available). Uncomment the next line to force a particular method.
3831 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3832 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3833 LN_S=$as_ln_s
3834 if test "$LN_S" = "ln -s"; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3837 else
3838 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3839 echo "${ECHO_T}no, using $LN_S" >&6
3842 #LN_S='cp -p'
3844 if test -n "$ac_tool_prefix"; then
3845 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3846 set dummy ${ac_tool_prefix}as; ac_word=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_prog_AS+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 if test -n "$AS"; then
3853 ac_cv_prog_AS="$AS" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3858 IFS=$as_save_IFS
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_AS="${ac_tool_prefix}as"
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 break 2
3866 done
3867 done
3871 AS=$ac_cv_prog_AS
3872 if test -n "$AS"; then
3873 echo "$as_me:$LINENO: result: $AS" >&5
3874 echo "${ECHO_T}$AS" >&6
3875 else
3876 echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3881 if test -z "$ac_cv_prog_AS"; then
3882 ac_ct_AS=$AS
3883 # Extract the first word of "as", so it can be a program name with args.
3884 set dummy as; ac_word=$2
3885 echo "$as_me:$LINENO: checking for $ac_word" >&5
3886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3887 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 else
3890 if test -n "$ac_ct_AS"; then
3891 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3892 else
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH
3896 IFS=$as_save_IFS
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_prog_ac_ct_AS="as"
3901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 break 2
3904 done
3905 done
3909 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3910 if test -n "$ac_ct_AS"; then
3911 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3912 echo "${ECHO_T}$ac_ct_AS" >&6
3913 else
3914 echo "$as_me:$LINENO: result: no" >&5
3915 echo "${ECHO_T}no" >&6
3918 AS=$ac_ct_AS
3919 else
3920 AS="$ac_cv_prog_AS"
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}ar; ac_word=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_AR+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931 if test -n "$AR"; then
3932 ac_cv_prog_AR="$AR" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_AR="${ac_tool_prefix}ar"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3945 done
3946 done
3950 AR=$ac_cv_prog_AR
3951 if test -n "$AR"; then
3952 echo "$as_me:$LINENO: result: $AR" >&5
3953 echo "${ECHO_T}$AR" >&6
3954 else
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3960 if test -z "$ac_cv_prog_AR"; then
3961 ac_ct_AR=$AR
3962 # Extract the first word of "ar", so it can be a program name with args.
3963 set dummy ar; ac_word=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 else
3969 if test -n "$ac_ct_AR"; then
3970 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_ac_ct_AR="ar"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3988 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3989 if test -n "$ac_ct_AR"; then
3990 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3991 echo "${ECHO_T}$ac_ct_AR" >&6
3992 else
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3997 AR=$ac_ct_AR
3998 else
3999 AR="$ac_cv_prog_AR"
4002 if test -n "$ac_tool_prefix"; then
4003 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4004 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4005 echo "$as_me:$LINENO: checking for $ac_word" >&5
4006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4007 if test "${ac_cv_prog_RANLIB+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 else
4010 if test -n "$RANLIB"; then
4011 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4012 else
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4024 done
4025 done
4029 RANLIB=$ac_cv_prog_RANLIB
4030 if test -n "$RANLIB"; then
4031 echo "$as_me:$LINENO: result: $RANLIB" >&5
4032 echo "${ECHO_T}$RANLIB" >&6
4033 else
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4039 if test -z "$ac_cv_prog_RANLIB"; then
4040 ac_ct_RANLIB=$RANLIB
4041 # Extract the first word of "ranlib", so it can be a program name with args.
4042 set dummy ranlib; ac_word=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 else
4048 if test -n "$ac_ct_RANLIB"; then
4049 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4050 else
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4054 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058 ac_cv_prog_ac_ct_RANLIB="ranlib"
4059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 break 2
4062 done
4063 done
4065 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4068 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4069 if test -n "$ac_ct_RANLIB"; then
4070 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4071 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4072 else
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4077 RANLIB=$ac_ct_RANLIB
4078 else
4079 RANLIB="$ac_cv_prog_RANLIB"
4083 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4084 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4085 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4086 if test "${enable_maintainer_mode+set}" = set; then
4087 enableval="$enable_maintainer_mode"
4088 USE_MAINTAINER_MODE=$enableval
4089 else
4090 USE_MAINTAINER_MODE=no
4092 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4093 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4096 if test $USE_MAINTAINER_MODE = yes; then
4097 MAINTAINER_MODE_TRUE=
4098 MAINTAINER_MODE_FALSE='#'
4099 else
4100 MAINTAINER_MODE_TRUE='#'
4101 MAINTAINER_MODE_FALSE=
4104 MAINT=$MAINTAINER_MODE_TRUE
4108 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4109 # which are themselves conditionally expanded.
4110 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4111 ## other macros from doing the same. This should be automated.) -pme
4112 need_libmath=no
4114 # Check for uClibc since Linux platforms use different configuration
4115 # directories depending on the C library in use.
4116 cat >conftest.$ac_ext <<_ACEOF
4117 /* confdefs.h. */
4118 _ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h. */
4123 #include <stdio.h>
4124 #if __UCLIBC__
4125 _using_uclibc
4126 #endif
4128 _ACEOF
4129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4130 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4131 uclibc=yes
4132 else
4133 uclibc=no
4135 rm -f conftest*
4138 # Find platform-specific directories containing configuration info.
4139 # Also possibly modify flags used elsewhere, as needed by the platform.
4141 . $glibcxx_srcdir/configure.host
4142 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4143 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4144 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4145 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4149 if test "x${with_newlib}" != "xyes"; then
4150 enable_dlopen=yes
4157 macro_version='2.1a'
4158 macro_revision='1.2435'
4171 ltmain="$ac_aux_dir/ltmain.sh"
4173 # Set options
4176 enable_win32_dll=no
4179 # Check whether --enable-shared or --disable-shared was given.
4180 if test "${enable_shared+set}" = set; then
4181 enableval="$enable_shared"
4182 p=${PACKAGE-default}
4183 case $enableval in
4184 yes) enable_shared=yes ;;
4185 no) enable_shared=no ;;
4187 enable_shared=no
4188 # Look at the argument we got. We use all the common list separators.
4189 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4190 for pkg in $enableval; do
4191 IFS="$lt_save_ifs"
4192 if test "X$pkg" = "X$p"; then
4193 enable_shared=yes
4195 done
4196 IFS="$lt_save_ifs"
4198 esac
4199 else
4200 enable_shared=yes
4210 # Check whether --enable-static or --disable-static was given.
4211 if test "${enable_static+set}" = set; then
4212 enableval="$enable_static"
4213 p=${PACKAGE-default}
4214 case $enableval in
4215 yes) enable_static=yes ;;
4216 no) enable_static=no ;;
4218 enable_static=no
4219 # Look at the argument we got. We use all the common list separators.
4220 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4221 for pkg in $enableval; do
4222 IFS="$lt_save_ifs"
4223 if test "X$pkg" = "X$p"; then
4224 enable_static=yes
4226 done
4227 IFS="$lt_save_ifs"
4229 esac
4230 else
4231 enable_static=yes
4242 # Check whether --with-pic or --without-pic was given.
4243 if test "${with_pic+set}" = set; then
4244 withval="$with_pic"
4245 pic_mode="$withval"
4246 else
4247 pic_mode=default
4250 test -z "$pic_mode" && pic_mode=default
4258 # Check whether --enable-fast-install or --disable-fast-install was given.
4259 if test "${enable_fast_install+set}" = set; then
4260 enableval="$enable_fast_install"
4261 p=${PACKAGE-default}
4262 case $enableval in
4263 yes) enable_fast_install=yes ;;
4264 no) enable_fast_install=no ;;
4266 enable_fast_install=no
4267 # Look at the argument we got. We use all the common list separators.
4268 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4269 for pkg in $enableval; do
4270 IFS="$lt_save_ifs"
4271 if test "X$pkg" = "X$p"; then
4272 enable_fast_install=yes
4274 done
4275 IFS="$lt_save_ifs"
4277 esac
4278 else
4279 enable_fast_install=yes
4289 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4290 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4291 if test "${lt_cv_path_SED+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 # Loop through the user's path and test for sed and gsed.
4295 # Then use that list of sed's as ones to test for truncation.
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH
4299 IFS=$as_save_IFS
4300 test -z "$as_dir" && as_dir=.
4301 for lt_ac_prog in sed gsed; do
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4304 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4306 done
4307 done
4308 done
4309 IFS=$as_save_IFS
4310 lt_ac_max=0
4311 lt_ac_count=0
4312 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4313 # along with /bin/sed that truncates output.
4314 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4315 test ! -f $lt_ac_sed && continue
4316 cat /dev/null > conftest.in
4317 lt_ac_count=0
4318 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4319 # Check for GNU sed and select it if it is found.
4320 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4321 lt_cv_path_SED=$lt_ac_sed
4322 break
4324 while true; do
4325 cat conftest.in conftest.in >conftest.tmp
4326 mv conftest.tmp conftest.in
4327 cp conftest.in conftest.nl
4328 echo >>conftest.nl
4329 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4330 cmp -s conftest.out conftest.nl || break
4331 # 10000 chars as input seems more than enough
4332 test $lt_ac_count -gt 10 && break
4333 lt_ac_count=`expr $lt_ac_count + 1`
4334 if test $lt_ac_count -gt $lt_ac_max; then
4335 lt_ac_max=$lt_ac_count
4336 lt_cv_path_SED=$lt_ac_sed
4338 done
4339 done
4343 SED=$lt_cv_path_SED
4345 echo "$as_me:$LINENO: result: $SED" >&5
4346 echo "${ECHO_T}$SED" >&6
4348 test -z "$SED" && SED=sed
4349 Xsed="$SED -e 1s/^X//"
4361 echo "$as_me:$LINENO: checking for fgrep" >&5
4362 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4363 if test "${ac_cv_prog_fgrep+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 else
4366 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4367 then ac_cv_prog_fgrep='grep -F'
4368 else ac_cv_prog_fgrep='fgrep'
4371 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4372 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4373 FGREP=$ac_cv_prog_fgrep
4376 test -z "$GREP" && GREP=grep
4396 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4397 if test "${with_gnu_ld+set}" = set; then
4398 withval="$with_gnu_ld"
4399 test "$withval" = no || with_gnu_ld=yes
4400 else
4401 with_gnu_ld=no
4403 ac_prog=ld
4404 if test "$GCC" = yes; then
4405 # Check if gcc -print-prog-name=ld gives a path.
4406 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4407 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4408 case $host in
4409 *-*-mingw*)
4410 # gcc leaves a trailing carriage return which upsets mingw
4411 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4413 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4414 esac
4415 case $ac_prog in
4416 # Accept absolute paths.
4417 [\\/]* | ?:[\\/]*)
4418 re_direlt='/[^/][^/]*/\.\./'
4419 # Canonicalize the pathname of ld
4420 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4421 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4422 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4423 done
4424 test -z "$LD" && LD="$ac_prog"
4427 # If it fails, then pretend we aren't using GCC.
4428 ac_prog=ld
4431 # If it is relative, then search for the first ld in PATH.
4432 with_gnu_ld=unknown
4434 esac
4435 elif test "$with_gnu_ld" = yes; then
4436 echo "$as_me:$LINENO: checking for GNU ld" >&5
4437 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4438 else
4439 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4440 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4442 if test "${lt_cv_path_LD+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 else
4445 if test -z "$LD"; then
4446 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4447 for ac_dir in $PATH; do
4448 IFS="$lt_save_ifs"
4449 test -z "$ac_dir" && ac_dir=.
4450 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4451 lt_cv_path_LD="$ac_dir/$ac_prog"
4452 # Check to see if the program is GNU ld. I'd rather use --version,
4453 # but apparently some variants of GNU ld only accept -v.
4454 # Break only if it was the GNU/non-GNU ld that we prefer.
4455 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4456 *GNU* | *'with BFD'*)
4457 test "$with_gnu_ld" != no && break
4460 test "$with_gnu_ld" != yes && break
4462 esac
4464 done
4465 IFS="$lt_save_ifs"
4466 else
4467 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4471 LD="$lt_cv_path_LD"
4472 if test -n "$LD"; then
4473 echo "$as_me:$LINENO: result: $LD" >&5
4474 echo "${ECHO_T}$LD" >&6
4475 else
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4479 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4480 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4481 { (exit 1); exit 1; }; }
4482 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4483 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4484 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4487 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4488 case `$LD -v 2>&1 </dev/null` in
4489 *GNU* | *'with BFD'*)
4490 lt_cv_prog_gnu_ld=yes
4493 lt_cv_prog_gnu_ld=no
4495 esac
4497 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4498 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4499 with_gnu_ld=$lt_cv_prog_gnu_ld
4510 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4511 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4512 if test "${lt_cv_path_NM+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 else
4515 if test -n "$NM"; then
4516 # Let the user override the test.
4517 lt_cv_path_NM="$NM"
4518 else
4519 lt_nm_to_check="${ac_tool_prefix}nm"
4520 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4521 lt_nm_to_check="$lt_nm_to_check nm"
4523 for lt_tmp_nm in $lt_nm_to_check; do
4524 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4525 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4526 IFS="$lt_save_ifs"
4527 test -z "$ac_dir" && ac_dir=.
4528 tmp_nm="$ac_dir/$lt_tmp_nm"
4529 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4530 # Check to see if the nm accepts a BSD-compat flag.
4531 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4532 # nm: unknown option "B" ignored
4533 # Tru64's nm complains that /dev/null is an invalid object file
4534 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4535 */dev/null* | *'Invalid file or object type'*)
4536 lt_cv_path_NM="$tmp_nm -B"
4537 break
4540 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4541 */dev/null*)
4542 lt_cv_path_NM="$tmp_nm -p"
4543 break
4546 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4547 continue # so that we can try to find one that supports BSD flags
4549 esac
4551 esac
4553 done
4554 IFS="$lt_save_ifs"
4555 done
4556 : ${lt_cv_path_NM=no}
4559 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4560 echo "${ECHO_T}$lt_cv_path_NM" >&6
4561 if test "$lt_cv_path_NM" != "no"; then
4562 NM="$lt_cv_path_NM"
4563 else
4564 # Didn't find any BSD compatible name lister, look for dumpbin.
4565 if test -n "$ac_tool_prefix"; then
4566 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4570 echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4572 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 else
4575 if test -n "$DUMPBIN"; then
4576 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4577 else
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4581 IFS=$as_save_IFS
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 break 2
4589 done
4590 done
4594 DUMPBIN=$ac_cv_prog_DUMPBIN
4595 if test -n "$DUMPBIN"; then
4596 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4597 echo "${ECHO_T}$DUMPBIN" >&6
4598 else
4599 echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6
4603 test -n "$DUMPBIN" && break
4604 done
4606 if test -z "$DUMPBIN"; then
4607 ac_ct_DUMPBIN=$DUMPBIN
4608 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4610 # Extract the first word of "$ac_prog", so it can be a program name with args.
4611 set dummy $ac_prog; ac_word=$2
4612 echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4614 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 else
4617 if test -n "$ac_ct_DUMPBIN"; then
4618 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4619 else
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 for as_dir in $PATH
4623 IFS=$as_save_IFS
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 break 2
4631 done
4632 done
4636 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4637 if test -n "$ac_ct_DUMPBIN"; then
4638 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4639 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4640 else
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4645 test -n "$ac_ct_DUMPBIN" && break
4646 done
4647 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4649 DUMPBIN=$ac_ct_DUMPBIN
4653 if test "$DUMPBIN" != ":"; then
4654 NM="$DUMPBIN"
4657 test -z "$NM" && NM=nm
4664 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4665 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4666 if test "${lt_cv_nm_interface+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 else
4669 lt_cv_nm_interface="BSD nm"
4670 echo "int some_variable = 0;" > conftest.$ac_ext
4671 (eval echo "\"\$as_me:4671: $ac_compile\"" >&5)
4672 (eval "$ac_compile" 2>conftest.err)
4673 cat conftest.err >&5
4674 (eval echo "\"\$as_me:4674: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4675 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4676 cat conftest.err >&5
4677 (eval echo "\"\$as_me:4677: output\"" >&5)
4678 cat conftest.out >&5
4679 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4680 lt_cv_nm_interface="MS dumpbin"
4682 rm -f conftest*
4684 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4685 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4687 # find the maximum length of command line arguments
4688 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4689 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4690 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 else
4694 teststring="ABCD"
4696 case $build_os in
4697 msdosdjgpp*)
4698 # On DJGPP, this test can blow up pretty badly due to problems in libc
4699 # (any single argument exceeding 2000 bytes causes a buffer overrun
4700 # during glob expansion). Even if it were fixed, the result of this
4701 # check would be larger than it should be.
4702 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4705 gnu*)
4706 # Under GNU Hurd, this test is not required because there is
4707 # no limit to the length of command line arguments.
4708 # Libtool will interpret -1 as no limit whatsoever
4709 lt_cv_sys_max_cmd_len=-1;
4712 cygwin* | mingw*)
4713 # On Win9x/ME, this test blows up -- it succeeds, but takes
4714 # about 5 minutes as the teststring grows exponentially.
4715 # Worse, since 9x/ME are not pre-emptively multitasking,
4716 # you end up with a "frozen" computer, even though with patience
4717 # the test eventually succeeds (with a max line length of 256k).
4718 # Instead, let's just punt: use the minimum linelength reported by
4719 # all of the supported platforms: 8192 (on NT/2K/XP).
4720 lt_cv_sys_max_cmd_len=8192;
4723 amigaos*)
4724 # On AmigaOS with pdksh, this test takes hours, literally.
4725 # So we just punt and use a minimum line length of 8192.
4726 lt_cv_sys_max_cmd_len=8192;
4729 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4730 # This has been around since 386BSD, at least. Likely further.
4731 if test -x /sbin/sysctl; then
4732 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4733 elif test -x /usr/sbin/sysctl; then
4734 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4735 else
4736 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4738 # And add a safety zone
4739 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4743 interix*)
4744 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4745 lt_cv_sys_max_cmd_len=196608
4748 osf*)
4749 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4750 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4751 # nice to cause kernel panics so lets avoid the loop below.
4752 # First set a reasonable default.
4753 lt_cv_sys_max_cmd_len=16384
4755 if test -x /sbin/sysconfig; then
4756 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4757 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4758 esac
4761 sco3.2v5*)
4762 lt_cv_sys_max_cmd_len=102400
4764 sysv5* | sco5v6* | sysv4.2uw2*)
4765 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4766 if test -n "$kargmax"; then
4767 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4768 else
4769 lt_cv_sys_max_cmd_len=32768
4773 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4774 if test -n $lt_cv_sys_max_cmd_len; then
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4777 else
4778 # Make teststring a little bigger before we do anything with it.
4779 # a 1K string should be a reasonable start.
4780 for i in 1 2 3 4 5 6 7 8 ; do
4781 teststring=$teststring$teststring
4782 done
4783 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4784 # If test is not a shell built-in, we'll probably end up computing a
4785 # maximum length that is only half of the actual maximum length, but
4786 # we can't tell.
4787 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4788 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4789 test $i != 17 # 1/2 MB should be enough
4791 i=`expr $i + 1`
4792 teststring=$teststring$teststring
4793 done
4794 # Only check the string length outside the loop.
4795 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4796 teststring=
4797 # Add a significant safety factor because C++ compilers can tack on
4798 # massive amounts of additional arguments before passing them to the
4799 # linker. It appears as though 1/2 is a usable value.
4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4803 esac
4807 if test -n $lt_cv_sys_max_cmd_len ; then
4808 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4809 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4810 else
4811 echo "$as_me:$LINENO: result: none" >&5
4812 echo "${ECHO_T}none" >&6
4814 max_cmd_len=$lt_cv_sys_max_cmd_len
4822 : ${CP="cp -f"}
4823 : ${MV="mv -f"}
4824 : ${RM="rm -f"}
4826 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4827 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4828 # Try some XSI features
4829 xsi_shell=no
4830 ( _lt_dummy="a/b/c"
4831 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4832 = c,a/b,, ) >/dev/null 2>&1 \
4833 && xsi_shell=yes
4834 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4835 echo "${ECHO_T}$xsi_shell" >&6
4838 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4839 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4840 lt_shell_append=no
4841 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4842 >/dev/null 2>&1 \
4843 && lt_shell_append=yes
4844 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4845 echo "${ECHO_T}$lt_shell_append" >&6
4848 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4849 lt_unset=unset
4850 else
4851 lt_unset=false
4858 # test EBCDIC or ASCII
4859 case `echo X|tr X '\101'` in
4860 A) # ASCII based system
4861 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4862 lt_SP2NL='tr \040 \012'
4863 lt_NL2SP='tr \015\012 \040\040'
4865 *) # EBCDIC based system
4866 lt_SP2NL='tr \100 \n'
4867 lt_NL2SP='tr \r\n \100\100'
4869 esac
4879 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4880 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4881 if test "${lt_cv_ld_reload_flag+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884 lt_cv_ld_reload_flag='-r'
4886 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4887 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4888 reload_flag=$lt_cv_ld_reload_flag
4889 case $reload_flag in
4890 "" | " "*) ;;
4891 *) reload_flag=" $reload_flag" ;;
4892 esac
4893 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4894 case $host_os in
4895 darwin*)
4896 if test "$GCC" = yes; then
4897 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4898 else
4899 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4902 esac
4913 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4914 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4915 if test "${lt_cv_deplibs_check_method+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 else
4918 lt_cv_file_magic_cmd='$MAGIC_CMD'
4919 lt_cv_file_magic_test_file=
4920 lt_cv_deplibs_check_method='unknown'
4921 # Need to set the preceding variable on all platforms that support
4922 # interlibrary dependencies.
4923 # 'none' -- dependencies not supported.
4924 # `unknown' -- same as none, but documents that we really don't know.
4925 # 'pass_all' -- all dependencies passed with no checks.
4926 # 'test_compile' -- check by making test program.
4927 # 'file_magic [[regex]]' -- check by looking for files in library path
4928 # which responds to the $file_magic_cmd with a given extended regex.
4929 # If you have `file' or equivalent on your system and you're not sure
4930 # whether `pass_all' will *always* work, you probably want this one.
4932 case $host_os in
4933 aix[4-9]*)
4934 lt_cv_deplibs_check_method=pass_all
4937 beos*)
4938 lt_cv_deplibs_check_method=pass_all
4941 bsdi[45]*)
4942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4943 lt_cv_file_magic_cmd='/usr/bin/file -L'
4944 lt_cv_file_magic_test_file=/shlib/libc.so
4947 cygwin*)
4948 # func_win32_libid is a shell function defined in ltmain.sh
4949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4950 lt_cv_file_magic_cmd='func_win32_libid'
4953 mingw* | pw32*)
4954 # Base MSYS/MinGW do not provide the 'file' command needed by
4955 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4956 # unless we find 'file', for example because we are cross-compiling.
4957 if ( file / ) >/dev/null 2>&1; then
4958 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4959 lt_cv_file_magic_cmd='func_win32_libid'
4960 else
4961 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4962 lt_cv_file_magic_cmd='$OBJDUMP -f'
4966 darwin* | rhapsody*)
4967 lt_cv_deplibs_check_method=pass_all
4970 freebsd* | dragonfly*)
4971 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4972 case $host_cpu in
4973 i*86 )
4974 # Not sure whether the presence of OpenBSD here was a mistake.
4975 # Let's accept both of them until this is cleared up.
4976 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4977 lt_cv_file_magic_cmd=/usr/bin/file
4978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4980 esac
4981 else
4982 lt_cv_deplibs_check_method=pass_all
4986 gnu*)
4987 lt_cv_deplibs_check_method=pass_all
4990 hpux10.20* | hpux11*)
4991 lt_cv_file_magic_cmd=/usr/bin/file
4992 case $host_cpu in
4993 ia64*)
4994 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4995 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4997 hppa*64*)
4998 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]'
4999 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5002 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5003 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5005 esac
5008 interix[3-9]*)
5009 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5013 irix5* | irix6* | nonstopux*)
5014 case $LD in
5015 *-32|*"-32 ") libmagic=32-bit;;
5016 *-n32|*"-n32 ") libmagic=N32;;
5017 *-64|*"-64 ") libmagic=64-bit;;
5018 *) libmagic=never-match;;
5019 esac
5020 lt_cv_deplibs_check_method=pass_all
5023 # This must be Linux ELF.
5024 linux* | k*bsd*-gnu)
5025 lt_cv_deplibs_check_method=pass_all
5028 netbsd*)
5029 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5031 else
5032 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5036 newos6*)
5037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5038 lt_cv_file_magic_cmd=/usr/bin/file
5039 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5042 *nto* | *qnx*)
5043 lt_cv_deplibs_check_method=pass_all
5046 openbsd*)
5047 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5049 else
5050 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5054 osf3* | osf4* | osf5*)
5055 lt_cv_deplibs_check_method=pass_all
5058 rdos*)
5059 lt_cv_deplibs_check_method=pass_all
5062 solaris*)
5063 lt_cv_deplibs_check_method=pass_all
5066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5067 lt_cv_deplibs_check_method=pass_all
5070 sysv4 | sysv4.3*)
5071 case $host_vendor in
5072 motorola)
5073 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]'
5074 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5076 ncr)
5077 lt_cv_deplibs_check_method=pass_all
5079 sequent)
5080 lt_cv_file_magic_cmd='/bin/file'
5081 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5083 sni)
5084 lt_cv_file_magic_cmd='/bin/file'
5085 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5086 lt_cv_file_magic_test_file=/lib/libc.so
5088 siemens)
5089 lt_cv_deplibs_check_method=pass_all
5092 lt_cv_deplibs_check_method=pass_all
5094 esac
5097 tpf*)
5098 lt_cv_deplibs_check_method=pass_all
5100 esac
5103 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5104 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5105 file_magic_cmd=$lt_cv_file_magic_cmd
5106 deplibs_check_method=$lt_cv_deplibs_check_method
5107 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5120 if test -n "$ac_tool_prefix"; then
5121 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5122 set dummy ${ac_tool_prefix}ar; ac_word=$2
5123 echo "$as_me:$LINENO: checking for $ac_word" >&5
5124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5125 if test "${ac_cv_prog_AR+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 else
5128 if test -n "$AR"; then
5129 ac_cv_prog_AR="$AR" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5134 IFS=$as_save_IFS
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138 ac_cv_prog_AR="${ac_tool_prefix}ar"
5139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 break 2
5142 done
5143 done
5147 AR=$ac_cv_prog_AR
5148 if test -n "$AR"; then
5149 echo "$as_me:$LINENO: result: $AR" >&5
5150 echo "${ECHO_T}$AR" >&6
5151 else
5152 echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6
5157 if test -z "$ac_cv_prog_AR"; then
5158 ac_ct_AR=$AR
5159 # Extract the first word of "ar", so it can be a program name with args.
5160 set dummy ar; ac_word=$2
5161 echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5163 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 else
5166 if test -n "$ac_ct_AR"; then
5167 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5172 IFS=$as_save_IFS
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_ac_ct_AR="ar"
5177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 break 2
5180 done
5181 done
5183 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5186 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5187 if test -n "$ac_ct_AR"; then
5188 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5189 echo "${ECHO_T}$ac_ct_AR" >&6
5190 else
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5195 AR=$ac_ct_AR
5196 else
5197 AR="$ac_cv_prog_AR"
5200 test -z "$AR" && AR=ar
5201 test -z "$AR_FLAGS" && AR_FLAGS=cru
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}strip; ac_word=$2
5216 echo "$as_me:$LINENO: checking for $ac_word" >&5
5217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5218 if test "${ac_cv_prog_STRIP+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 else
5221 if test -n "$STRIP"; then
5222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5240 STRIP=$ac_cv_prog_STRIP
5241 if test -n "$STRIP"; then
5242 echo "$as_me:$LINENO: result: $STRIP" >&5
5243 echo "${ECHO_T}$STRIP" >&6
5244 else
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5250 if test -z "$ac_cv_prog_STRIP"; then
5251 ac_ct_STRIP=$STRIP
5252 # Extract the first word of "strip", so it can be a program name with args.
5253 set dummy strip; ac_word=$2
5254 echo "$as_me:$LINENO: checking for $ac_word" >&5
5255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5256 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 else
5259 if test -n "$ac_ct_STRIP"; then
5260 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_ac_ct_STRIP="strip"
5270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5276 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5280 if test -n "$ac_ct_STRIP"; then
5281 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5282 echo "${ECHO_T}$ac_ct_STRIP" >&6
5283 else
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5288 STRIP=$ac_ct_STRIP
5289 else
5290 STRIP="$ac_cv_prog_STRIP"
5293 test -z "$STRIP" && STRIP=:
5300 if test -n "$ac_tool_prefix"; then
5301 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_RANLIB+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 else
5308 if test -n "$RANLIB"; then
5309 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5327 RANLIB=$ac_cv_prog_RANLIB
5328 if test -n "$RANLIB"; then
5329 echo "$as_me:$LINENO: result: $RANLIB" >&5
5330 echo "${ECHO_T}$RANLIB" >&6
5331 else
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5337 if test -z "$ac_cv_prog_RANLIB"; then
5338 ac_ct_RANLIB=$RANLIB
5339 # Extract the first word of "ranlib", so it can be a program name with args.
5340 set dummy ranlib; ac_word=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 else
5346 if test -n "$ac_ct_RANLIB"; then
5347 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_RANLIB="ranlib"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5363 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5367 if test -n "$ac_ct_RANLIB"; then
5368 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5369 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5370 else
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5375 RANLIB=$ac_ct_RANLIB
5376 else
5377 RANLIB="$ac_cv_prog_RANLIB"
5380 test -z "$RANLIB" && RANLIB=:
5387 # Determine commands to create old-style static archives.
5388 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5389 old_postinstall_cmds='chmod 644 $oldlib'
5390 old_postuninstall_cmds=
5392 if test -n "$RANLIB"; then
5393 case $host_os in
5394 openbsd*)
5395 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5398 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5400 esac
5401 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5437 # If no C compiler was specified, use CC.
5438 LTCC=${LTCC-"$CC"}
5440 # If no C compiler flags were specified, use CFLAGS.
5441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5443 # Allow CC to be a program name with arguments.
5444 compiler=$CC
5447 # Check for command to grab the raw symbol name followed by C symbol from nm.
5448 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5449 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5450 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 else
5454 # These are sane defaults that work on at least a few old systems.
5455 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5457 # Character class describing NM global symbol codes.
5458 symcode='[BCDEGRST]'
5460 # Regexp to match symbols that can be accessed directly from C.
5461 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5463 # Define system-specific variables.
5464 case $host_os in
5465 aix*)
5466 symcode='[BCDT]'
5468 cygwin* | mingw* | pw32*)
5469 symcode='[ABCDGISTW]'
5471 hpux*)
5472 if test "$host_cpu" = ia64; then
5473 symcode='[ABCDEGRST]'
5476 irix* | nonstopux*)
5477 symcode='[BCDEGRST]'
5479 osf*)
5480 symcode='[BCDEGQRST]'
5482 solaris*)
5483 symcode='[BDRT]'
5485 sco3.2v5*)
5486 symcode='[DT]'
5488 sysv4.2uw2*)
5489 symcode='[DT]'
5491 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5492 symcode='[ABDT]'
5494 sysv4)
5495 symcode='[DFNSTU]'
5497 esac
5499 # If we're using GNU nm, then use its standard symbol codes.
5500 case `$NM -V 2>&1` in
5501 *GNU* | *'with BFD'*)
5502 symcode='[ABCDGIRSTW]' ;;
5503 esac
5505 # Transform an extracted symbol line into a proper C declaration.
5506 # Some systems (esp. on ia64) link data and code symbols differently,
5507 # so use this general approach.
5508 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5510 # Transform an extracted symbol line into symbol name and symbol address
5511 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5513 # Handle CRLF in mingw tool chain
5514 opt_cr=
5515 case $build_os in
5516 mingw*)
5517 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5519 esac
5521 # Try without a prefix underscore, then with it.
5522 for ac_symprfx in "" "_"; do
5524 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5525 symxfrm="\\1 $ac_symprfx\\2 \\2"
5527 # Write the raw and C identifiers.
5528 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5529 # Fake it for dumpbin and say T for any non-static function
5530 # and D for any global variable.
5531 # Also find C++ and __fastcall symbols from MSVC++,
5532 # which start with @ or ?.
5533 lt_cv_sys_global_symbol_pipe="$AWK '"\
5534 " {last_section=section; section=\$ 3};"\
5535 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5536 " \$ 0!~/External *\|/{next};"\
5537 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5538 " {if(hide[section]) next};"\
5539 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5540 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5541 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5542 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5543 " ' prfx=^$ac_symprfx"
5544 else
5545 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5548 # Check to see that the pipe works correctly.
5549 pipe_works=no
5551 rm -f conftest*
5552 cat > conftest.$ac_ext <<_LT_EOF
5553 #ifdef __cplusplus
5554 extern "C" {
5555 #endif
5556 char nm_test_var;
5557 void nm_test_func(void);
5558 void nm_test_func(void){}
5559 #ifdef __cplusplus
5561 #endif
5562 int main(){nm_test_var='a';nm_test_func();return(0);}
5563 _LT_EOF
5565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5566 (eval $ac_compile) 2>&5
5567 ac_status=$?
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; then
5570 # Now try to grab the symbols.
5571 nlist=conftest.nm
5572 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5573 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } && test -s "$nlist"; then
5577 # Try sorting and uniquifying the output.
5578 if sort "$nlist" | uniq > "$nlist"T; then
5579 mv -f "$nlist"T "$nlist"
5580 else
5581 rm -f "$nlist"T
5584 # Make sure that we snagged all the symbols we need.
5585 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5586 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5587 cat <<_LT_EOF > conftest.$ac_ext
5588 #ifdef __cplusplus
5589 extern "C" {
5590 #endif
5592 _LT_EOF
5593 # Now generate the symbol file.
5594 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5596 cat <<_LT_EOF >> conftest.$ac_ext
5598 /* The mapping between symbol names and symbols. */
5599 const struct {
5600 const char *name;
5601 void *address;
5603 lt__PROGRAM__LTX_preloaded_symbols[] =
5605 { "@PROGRAM@", (void *) 0 },
5606 _LT_EOF
5607 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5608 cat <<\_LT_EOF >> conftest.$ac_ext
5609 {0, (void *) 0}
5612 /* This works around a problem in FreeBSD linker */
5613 #ifdef FREEBSD_WORKAROUND
5614 static const void *lt_preloaded_setup() {
5615 return lt__PROGRAM__LTX_preloaded_symbols;
5617 #endif
5619 #ifdef __cplusplus
5621 #endif
5622 _LT_EOF
5623 # Now try linking the two files.
5624 mv conftest.$ac_objext conftstm.$ac_objext
5625 lt_save_LIBS="$LIBS"
5626 lt_save_CFLAGS="$CFLAGS"
5627 LIBS="conftstm.$ac_objext"
5628 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630 (eval $ac_link) 2>&5
5631 ac_status=$?
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5634 pipe_works=yes
5636 LIBS="$lt_save_LIBS"
5637 CFLAGS="$lt_save_CFLAGS"
5638 else
5639 echo "cannot find nm_test_func in $nlist" >&5
5641 else
5642 echo "cannot find nm_test_var in $nlist" >&5
5644 else
5645 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5647 else
5648 echo "$progname: failed program was:" >&5
5649 cat conftest.$ac_ext >&5
5651 rm -f conftest* conftst*
5653 # Do not use the global_symbol_pipe unless it works.
5654 if test "$pipe_works" = yes; then
5655 break
5656 else
5657 lt_cv_sys_global_symbol_pipe=
5659 done
5663 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5664 lt_cv_sys_global_symbol_to_cdecl=
5666 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5667 echo "$as_me:$LINENO: result: failed" >&5
5668 echo "${ECHO_T}failed" >&6
5669 else
5670 echo "$as_me:$LINENO: result: ok" >&5
5671 echo "${ECHO_T}ok" >&6
5690 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5691 if test "${enable_libtool_lock+set}" = set; then
5692 enableval="$enable_libtool_lock"
5695 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5697 # Some flags need to be propagated to the compiler or linker for good
5698 # libtool support.
5699 case $host in
5700 ia64-*-hpux*)
5701 # Find out which ABI we are using.
5702 echo 'int i;' > conftest.$ac_ext
5703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5704 (eval $ac_compile) 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; then
5708 case `/usr/bin/file conftest.$ac_objext` in
5709 *ELF-32*)
5710 HPUX_IA64_MODE="32"
5712 *ELF-64*)
5713 HPUX_IA64_MODE="64"
5715 esac
5717 rm -rf conftest*
5719 *-*-irix6*)
5720 # Find out which ABI we are using.
5721 echo '#line 5721 "configure"' > conftest.$ac_ext
5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5723 (eval $ac_compile) 2>&5
5724 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; then
5727 if test "$lt_cv_prog_gnu_ld" = yes; then
5728 case `/usr/bin/file conftest.$ac_objext` in
5729 *32-bit*)
5730 LD="${LD-ld} -melf32bsmip"
5732 *N32*)
5733 LD="${LD-ld} -melf32bmipn32"
5735 *64-bit*)
5736 LD="${LD-ld} -melf64bmip"
5738 esac
5739 else
5740 case `/usr/bin/file conftest.$ac_objext` in
5741 *32-bit*)
5742 LD="${LD-ld} -32"
5744 *N32*)
5745 LD="${LD-ld} -n32"
5747 *64-bit*)
5748 LD="${LD-ld} -64"
5750 esac
5753 rm -rf conftest*
5756 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5757 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5758 # Find out which ABI we are using.
5759 echo 'int i;' > conftest.$ac_ext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5761 (eval $ac_compile) 2>&5
5762 ac_status=$?
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; then
5765 case `/usr/bin/file conftest.o` in
5766 *32-bit*)
5767 case $host in
5768 x86_64-*kfreebsd*-gnu)
5769 LD="${LD-ld} -m elf_i386_fbsd"
5771 x86_64-*linux*)
5772 LD="${LD-ld} -m elf_i386"
5774 ppc64-*linux*|powerpc64-*linux*)
5775 LD="${LD-ld} -m elf32ppclinux"
5777 s390x-*linux*)
5778 LD="${LD-ld} -m elf_s390"
5780 sparc64-*linux*)
5781 LD="${LD-ld} -m elf32_sparc"
5783 esac
5785 *64-bit*)
5786 case $host in
5787 x86_64-*kfreebsd*-gnu)
5788 LD="${LD-ld} -m elf_x86_64_fbsd"
5790 x86_64-*linux*)
5791 LD="${LD-ld} -m elf_x86_64"
5793 ppc*-*linux*|powerpc*-*linux*)
5794 LD="${LD-ld} -m elf64ppc"
5796 s390*-*linux*|s390*-*tpf*)
5797 LD="${LD-ld} -m elf64_s390"
5799 sparc*-*linux*)
5800 LD="${LD-ld} -m elf64_sparc"
5802 esac
5804 esac
5806 rm -rf conftest*
5809 *-*-sco3.2v5*)
5810 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5811 SAVE_CFLAGS="$CFLAGS"
5812 CFLAGS="$CFLAGS -belf"
5813 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5814 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5815 if test "${lt_cv_cc_needs_belf+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 else
5818 ac_ext=c
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5824 if test x$gcc_no_link = xyes; then
5825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5827 { (exit 1); exit 1; }; }
5829 cat >conftest.$ac_ext <<_ACEOF
5830 /* confdefs.h. */
5831 _ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5837 main ()
5841 return 0;
5843 _ACEOF
5844 rm -f conftest.$ac_objext conftest$ac_exeext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846 (eval $ac_link) 2>conftest.er1
5847 ac_status=$?
5848 grep -v '^ *+' conftest.er1 >conftest.err
5849 rm -f conftest.er1
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } &&
5853 { ac_try='test -z "$ac_c_werror_flag"
5854 || test ! -s conftest.err'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856 (eval $ac_try) 2>&5
5857 ac_status=$?
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try='test -s conftest$ac_exeext'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 (eval $ac_try) 2>&5
5863 ac_status=$?
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5866 lt_cv_cc_needs_belf=yes
5867 else
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 lt_cv_cc_needs_belf=no
5873 rm -f conftest.err conftest.$ac_objext \
5874 conftest$ac_exeext conftest.$ac_ext
5875 ac_ext=c
5876 ac_cpp='$CPP $CPPFLAGS'
5877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5882 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5883 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5884 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5885 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5886 CFLAGS="$SAVE_CFLAGS"
5889 sparc*-*solaris*)
5890 # Find out which ABI we are using.
5891 echo 'int i;' > conftest.$ac_ext
5892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893 (eval $ac_compile) 2>&5
5894 ac_status=$?
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; then
5897 case `/usr/bin/file conftest.o` in
5898 *64-bit*)
5899 case $lt_cv_prog_gnu_ld in
5900 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5901 *) LD="${LD-ld} -64" ;;
5902 esac
5904 esac
5906 rm -rf conftest*
5908 esac
5910 need_locks="$enable_libtool_lock"
5912 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5913 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5914 if test "${ac_cv_header_stdc+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 else
5917 cat >conftest.$ac_ext <<_ACEOF
5918 /* confdefs.h. */
5919 _ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 #include <stdlib.h>
5924 #include <stdarg.h>
5925 #include <string.h>
5926 #include <float.h>
5929 main ()
5933 return 0;
5935 _ACEOF
5936 rm -f conftest.$ac_objext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938 (eval $ac_compile) 2>conftest.er1
5939 ac_status=$?
5940 grep -v '^ *+' conftest.er1 >conftest.err
5941 rm -f conftest.er1
5942 cat conftest.err >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } &&
5945 { ac_try='test -z "$ac_c_werror_flag"
5946 || test ! -s conftest.err'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 (eval $ac_try) 2>&5
5949 ac_status=$?
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try='test -s conftest.$ac_objext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 (eval $ac_try) 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; }; then
5958 ac_cv_header_stdc=yes
5959 else
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5963 ac_cv_header_stdc=no
5965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5967 if test $ac_cv_header_stdc = yes; then
5968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5969 cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h. */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975 #include <string.h>
5977 _ACEOF
5978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5979 $EGREP "memchr" >/dev/null 2>&1; then
5981 else
5982 ac_cv_header_stdc=no
5984 rm -f conftest*
5988 if test $ac_cv_header_stdc = yes; then
5989 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5990 cat >conftest.$ac_ext <<_ACEOF
5991 /* confdefs.h. */
5992 _ACEOF
5993 cat confdefs.h >>conftest.$ac_ext
5994 cat >>conftest.$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5996 #include <stdlib.h>
5998 _ACEOF
5999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6000 $EGREP "free" >/dev/null 2>&1; then
6002 else
6003 ac_cv_header_stdc=no
6005 rm -f conftest*
6009 if test $ac_cv_header_stdc = yes; then
6010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6011 if test "$cross_compiling" = yes; then
6013 else
6014 cat >conftest.$ac_ext <<_ACEOF
6015 /* confdefs.h. */
6016 _ACEOF
6017 cat confdefs.h >>conftest.$ac_ext
6018 cat >>conftest.$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6020 #include <ctype.h>
6021 #if ((' ' & 0x0FF) == 0x020)
6022 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6023 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6024 #else
6025 # define ISLOWER(c) \
6026 (('a' <= (c) && (c) <= 'i') \
6027 || ('j' <= (c) && (c) <= 'r') \
6028 || ('s' <= (c) && (c) <= 'z'))
6029 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6030 #endif
6032 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6034 main ()
6036 int i;
6037 for (i = 0; i < 256; i++)
6038 if (XOR (islower (i), ISLOWER (i))
6039 || toupper (i) != TOUPPER (i))
6040 exit(2);
6041 exit (0);
6043 _ACEOF
6044 rm -f conftest$ac_exeext
6045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6046 (eval $ac_link) 2>&5
6047 ac_status=$?
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 (eval $ac_try) 2>&5
6052 ac_status=$?
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }; }; then
6056 else
6057 echo "$as_me: program exited with status $ac_status" >&5
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.$ac_ext >&5
6061 ( exit $ac_status )
6062 ac_cv_header_stdc=no
6064 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6068 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6069 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6070 if test $ac_cv_header_stdc = yes; then
6072 cat >>confdefs.h <<\_ACEOF
6073 #define STDC_HEADERS 1
6074 _ACEOF
6078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6088 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6089 inttypes.h stdint.h unistd.h
6091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6092 echo "$as_me:$LINENO: checking for $ac_header" >&5
6093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else
6097 cat >conftest.$ac_ext <<_ACEOF
6098 /* confdefs.h. */
6099 _ACEOF
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6103 $ac_includes_default
6105 #include <$ac_header>
6106 _ACEOF
6107 rm -f conftest.$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>conftest.er1
6110 ac_status=$?
6111 grep -v '^ *+' conftest.er1 >conftest.err
6112 rm -f conftest.er1
6113 cat conftest.err >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5
6120 ac_status=$?
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 (eval $ac_try) 2>&5
6126 ac_status=$?
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 eval "$as_ac_Header=yes"
6130 else
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.$ac_ext >&5
6134 eval "$as_ac_Header=no"
6136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6141 cat >>confdefs.h <<_ACEOF
6142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6143 _ACEOF
6147 done
6151 for ac_header in dlfcn.h
6153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6154 echo "$as_me:$LINENO: checking for $ac_header" >&5
6155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159 cat >conftest.$ac_ext <<_ACEOF
6160 /* confdefs.h. */
6161 _ACEOF
6162 cat confdefs.h >>conftest.$ac_ext
6163 cat >>conftest.$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6165 $ac_includes_default
6167 #include <$ac_header>
6168 _ACEOF
6169 rm -f conftest.$ac_objext
6170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6171 (eval $ac_compile) 2>conftest.er1
6172 ac_status=$?
6173 grep -v '^ *+' conftest.er1 >conftest.err
6174 rm -f conftest.er1
6175 cat conftest.err >&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } &&
6178 { ac_try='test -z "$ac_c_werror_flag"
6179 || test ! -s conftest.err'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 (eval $ac_try) 2>&5
6182 ac_status=$?
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; } &&
6185 { ac_try='test -s conftest.$ac_objext'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6187 (eval $ac_try) 2>&5
6188 ac_status=$?
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }; then
6191 eval "$as_ac_Header=yes"
6192 else
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6196 eval "$as_ac_Header=no"
6198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6203 cat >>confdefs.h <<_ACEOF
6204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6205 _ACEOF
6209 done
6213 ac_ext=cc
6214 ac_cpp='$CXXCPP $CPPFLAGS'
6215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6218 if test -n "$ac_tool_prefix"; then
6219 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6223 echo "$as_me:$LINENO: checking for $ac_word" >&5
6224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6225 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 else
6228 if test -n "$CXX"; then
6229 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6230 else
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 for as_dir in $PATH
6234 IFS=$as_save_IFS
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 break 2
6242 done
6243 done
6247 CXX=$glibcxx_cv_prog_CXX
6248 if test -n "$CXX"; then
6249 echo "$as_me:$LINENO: result: $CXX" >&5
6250 echo "${ECHO_T}$CXX" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6256 test -n "$CXX" && break
6257 done
6259 if test -z "$CXX"; then
6260 ac_ct_CXX=$CXX
6261 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6263 # Extract the first word of "$ac_prog", so it can be a program name with args.
6264 set dummy $ac_prog; ac_word=$2
6265 echo "$as_me:$LINENO: checking for $ac_word" >&5
6266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6267 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 else
6270 if test -n "$ac_ct_CXX"; then
6271 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_ac_ct_CXX="$ac_prog"
6281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6289 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6290 if test -n "$ac_ct_CXX"; then
6291 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6292 echo "${ECHO_T}$ac_ct_CXX" >&6
6293 else
6294 echo "$as_me:$LINENO: result: no" >&5
6295 echo "${ECHO_T}no" >&6
6298 test -n "$ac_ct_CXX" && break
6299 done
6300 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6302 CXX=$ac_ct_CXX
6306 # Provide some information about the compiler.
6307 echo "$as_me:$LINENO:" \
6308 "checking for C++ compiler version" >&5
6309 ac_compiler=`set X $ac_compile; echo $2`
6310 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6311 (eval $ac_compiler --version </dev/null >&5) 2>&5
6312 ac_status=$?
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); }
6315 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6316 (eval $ac_compiler -v </dev/null >&5) 2>&5
6317 ac_status=$?
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }
6320 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6321 (eval $ac_compiler -V </dev/null >&5) 2>&5
6322 ac_status=$?
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); }
6326 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6327 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 else
6331 cat >conftest.$ac_ext <<_ACEOF
6332 /* confdefs.h. */
6333 _ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6339 main ()
6341 #ifndef __GNUC__
6342 choke me
6343 #endif
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6351 (eval $ac_compile) 2>conftest.er1
6352 ac_status=$?
6353 grep -v '^ *+' conftest.er1 >conftest.err
6354 rm -f conftest.er1
6355 cat conftest.err >&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 { ac_try='test -z "$ac_cxx_werror_flag"
6359 || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 (eval $ac_try) 2>&5
6362 ac_status=$?
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try='test -s conftest.$ac_objext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 (eval $ac_try) 2>&5
6368 ac_status=$?
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 ac_compiler_gnu=yes
6372 else
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 ac_compiler_gnu=no
6378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6379 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6382 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6383 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6384 GXX=`test $ac_compiler_gnu = yes && echo yes`
6385 ac_test_CXXFLAGS=${CXXFLAGS+set}
6386 ac_save_CXXFLAGS=$CXXFLAGS
6387 CXXFLAGS="-g"
6388 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6390 if test "${ac_cv_prog_cxx_g+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 else
6393 cat >conftest.$ac_ext <<_ACEOF
6394 /* confdefs.h. */
6395 _ACEOF
6396 cat confdefs.h >>conftest.$ac_ext
6397 cat >>conftest.$ac_ext <<_ACEOF
6398 /* end confdefs.h. */
6401 main ()
6405 return 0;
6407 _ACEOF
6408 rm -f conftest.$ac_objext
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410 (eval $ac_compile) 2>conftest.er1
6411 ac_status=$?
6412 grep -v '^ *+' conftest.er1 >conftest.err
6413 rm -f conftest.er1
6414 cat conftest.err >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try='test -z "$ac_cxx_werror_flag"
6418 || test ! -s conftest.err'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 (eval $ac_try) 2>&5
6421 ac_status=$?
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; } &&
6424 { ac_try='test -s conftest.$ac_objext'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 (eval $ac_try) 2>&5
6427 ac_status=$?
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_cv_prog_cxx_g=yes
6431 else
6432 echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.$ac_ext >&5
6435 ac_cv_prog_cxx_g=no
6437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6439 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6440 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6441 if test "$ac_test_CXXFLAGS" = set; then
6442 CXXFLAGS=$ac_save_CXXFLAGS
6443 elif test $ac_cv_prog_cxx_g = yes; then
6444 if test "$GXX" = yes; then
6445 CXXFLAGS="-g -O2"
6446 else
6447 CXXFLAGS="-g"
6449 else
6450 if test "$GXX" = yes; then
6451 CXXFLAGS="-O2"
6452 else
6453 CXXFLAGS=
6456 for ac_declaration in \
6457 '' \
6458 'extern "C" void std::exit (int) throw (); using std::exit;' \
6459 'extern "C" void std::exit (int); using std::exit;' \
6460 'extern "C" void exit (int) throw ();' \
6461 'extern "C" void exit (int);' \
6462 'void exit (int);'
6464 cat >conftest.$ac_ext <<_ACEOF
6465 /* confdefs.h. */
6466 _ACEOF
6467 cat confdefs.h >>conftest.$ac_ext
6468 cat >>conftest.$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6470 $ac_declaration
6471 #include <stdlib.h>
6473 main ()
6475 exit (42);
6477 return 0;
6479 _ACEOF
6480 rm -f conftest.$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482 (eval $ac_compile) 2>conftest.er1
6483 ac_status=$?
6484 grep -v '^ *+' conftest.er1 >conftest.err
6485 rm -f conftest.er1
6486 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try='test -z "$ac_cxx_werror_flag"
6490 || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 (eval $ac_try) 2>&5
6493 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } &&
6496 { ac_try='test -s conftest.$ac_objext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 (eval $ac_try) 2>&5
6499 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6503 else
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6507 continue
6509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6510 cat >conftest.$ac_ext <<_ACEOF
6511 /* confdefs.h. */
6512 _ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 $ac_declaration
6518 main ()
6520 exit (42);
6522 return 0;
6524 _ACEOF
6525 rm -f conftest.$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>conftest.er1
6528 ac_status=$?
6529 grep -v '^ *+' conftest.er1 >conftest.err
6530 rm -f conftest.er1
6531 cat conftest.err >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try='test -z "$ac_cxx_werror_flag"
6535 || test ! -s conftest.err'
6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6537 (eval $ac_try) 2>&5
6538 ac_status=$?
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; } &&
6541 { ac_try='test -s conftest.$ac_objext'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 (eval $ac_try) 2>&5
6544 ac_status=$?
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }; then
6547 break
6548 else
6549 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.$ac_ext >&5
6553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6554 done
6555 rm -f conftest*
6556 if test -n "$ac_declaration"; then
6557 echo '#ifdef __cplusplus' >>confdefs.h
6558 echo $ac_declaration >>confdefs.h
6559 echo '#endif' >>confdefs.h
6562 ac_ext=c
6563 ac_cpp='$CPP $CPPFLAGS'
6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6569 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6570 (test "X$CXX" != "Xg++"))) ; then
6571 ac_ext=cc
6572 ac_cpp='$CXXCPP $CPPFLAGS'
6573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6576 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6577 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6578 if test -z "$CXXCPP"; then
6579 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 else
6582 # Double quotes because CXXCPP needs to be expanded
6583 for CXXCPP in "$CXX -E" "/lib/cpp"
6585 ac_preproc_ok=false
6586 for ac_cxx_preproc_warn_flag in '' yes
6588 # Use a header file that comes with gcc, so configuring glibc
6589 # with a fresh cross-compiler works.
6590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6591 # <limits.h> exists even on freestanding compilers.
6592 # On the NeXT, cc -E runs the code through the compiler's parser,
6593 # not just through cpp. "Syntax error" is here to catch this case.
6594 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 #ifdef __STDC__
6601 # include <limits.h>
6602 #else
6603 # include <assert.h>
6604 #endif
6605 Syntax error
6606 _ACEOF
6607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6609 ac_status=$?
6610 grep -v '^ *+' conftest.er1 >conftest.err
6611 rm -f conftest.er1
6612 cat conftest.err >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); } >/dev/null; then
6615 if test -s conftest.err; then
6616 ac_cpp_err=$ac_cxx_preproc_warn_flag
6617 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6618 else
6619 ac_cpp_err=
6621 else
6622 ac_cpp_err=yes
6624 if test -z "$ac_cpp_err"; then
6626 else
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6630 # Broken: fails on valid input.
6631 continue
6633 rm -f conftest.err conftest.$ac_ext
6635 # OK, works on sane cases. Now check whether non-existent headers
6636 # can be detected and how.
6637 cat >conftest.$ac_ext <<_ACEOF
6638 /* confdefs.h. */
6639 _ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h. */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6647 ac_status=$?
6648 grep -v '^ *+' conftest.er1 >conftest.err
6649 rm -f conftest.er1
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } >/dev/null; then
6653 if test -s conftest.err; then
6654 ac_cpp_err=$ac_cxx_preproc_warn_flag
6655 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6656 else
6657 ac_cpp_err=
6659 else
6660 ac_cpp_err=yes
6662 if test -z "$ac_cpp_err"; then
6663 # Broken: success on invalid input.
6664 continue
6665 else
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6669 # Passes both tests.
6670 ac_preproc_ok=:
6671 break
6673 rm -f conftest.err conftest.$ac_ext
6675 done
6676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677 rm -f conftest.err conftest.$ac_ext
6678 if $ac_preproc_ok; then
6679 break
6682 done
6683 ac_cv_prog_CXXCPP=$CXXCPP
6686 CXXCPP=$ac_cv_prog_CXXCPP
6687 else
6688 ac_cv_prog_CXXCPP=$CXXCPP
6690 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6691 echo "${ECHO_T}$CXXCPP" >&6
6692 ac_preproc_ok=false
6693 for ac_cxx_preproc_warn_flag in '' yes
6695 # Use a header file that comes with gcc, so configuring glibc
6696 # with a fresh cross-compiler works.
6697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698 # <limits.h> exists even on freestanding compilers.
6699 # On the NeXT, cc -E runs the code through the compiler's parser,
6700 # not just through cpp. "Syntax error" is here to catch this case.
6701 cat >conftest.$ac_ext <<_ACEOF
6702 /* confdefs.h. */
6703 _ACEOF
6704 cat confdefs.h >>conftest.$ac_ext
6705 cat >>conftest.$ac_ext <<_ACEOF
6706 /* end confdefs.h. */
6707 #ifdef __STDC__
6708 # include <limits.h>
6709 #else
6710 # include <assert.h>
6711 #endif
6712 Syntax error
6713 _ACEOF
6714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6716 ac_status=$?
6717 grep -v '^ *+' conftest.er1 >conftest.err
6718 rm -f conftest.er1
6719 cat conftest.err >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } >/dev/null; then
6722 if test -s conftest.err; then
6723 ac_cpp_err=$ac_cxx_preproc_warn_flag
6724 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6725 else
6726 ac_cpp_err=
6728 else
6729 ac_cpp_err=yes
6731 if test -z "$ac_cpp_err"; then
6733 else
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.$ac_ext >&5
6737 # Broken: fails on valid input.
6738 continue
6740 rm -f conftest.err conftest.$ac_ext
6742 # OK, works on sane cases. Now check whether non-existent headers
6743 # can be detected and how.
6744 cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h. */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 #include <ac_nonexistent.h>
6751 _ACEOF
6752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6754 ac_status=$?
6755 grep -v '^ *+' conftest.er1 >conftest.err
6756 rm -f conftest.er1
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } >/dev/null; then
6760 if test -s conftest.err; then
6761 ac_cpp_err=$ac_cxx_preproc_warn_flag
6762 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6763 else
6764 ac_cpp_err=
6766 else
6767 ac_cpp_err=yes
6769 if test -z "$ac_cpp_err"; then
6770 # Broken: success on invalid input.
6771 continue
6772 else
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 # Passes both tests.
6777 ac_preproc_ok=:
6778 break
6780 rm -f conftest.err conftest.$ac_ext
6782 done
6783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6784 rm -f conftest.err conftest.$ac_ext
6785 if $ac_preproc_ok; then
6787 else
6788 _lt_caught_CXX_error=yes
6791 ac_ext=c
6792 ac_cpp='$CPP $CPPFLAGS'
6793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6797 else
6798 _lt_caught_CXX_error=yes
6805 # This can be used to rebuild libtool when needed
6806 LIBTOOL_DEPS="$ltmain"
6808 # Always use our own libtool.
6809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6835 test -z "$LN_S" && LN_S="ln -s"
6850 if test -n "${ZSH_VERSION+set}" ; then
6851 setopt NO_GLOB_SUBST
6854 echo "$as_me:$LINENO: checking for objdir" >&5
6855 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6856 if test "${lt_cv_objdir+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859 rm -f .libs 2>/dev/null
6860 mkdir .libs 2>/dev/null
6861 if test -d .libs; then
6862 lt_cv_objdir=.libs
6863 else
6864 # MS-DOS does not allow filenames that begin with a dot.
6865 lt_cv_objdir=_libs
6867 rmdir .libs 2>/dev/null
6869 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6870 echo "${ECHO_T}$lt_cv_objdir" >&6
6871 objdir=$lt_cv_objdir
6877 cat >>confdefs.h <<_ACEOF
6878 #define LT_OBJDIR "$lt_cv_objdir/"
6879 _ACEOF
6897 case $host_os in
6898 aix3*)
6899 # AIX sometimes has problems with the GCC collect2 program. For some
6900 # reason, if we set the COLLECT_NAMES environment variable, the problems
6901 # vanish in a puff of smoke.
6902 if test "X${COLLECT_NAMES+set}" != Xset; then
6903 COLLECT_NAMES=
6904 export COLLECT_NAMES
6907 esac
6909 # Sed substitution that helps us do robust quoting. It backslashifies
6910 # metacharacters that are still active within double-quoted strings.
6911 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6913 # Same as above, but do not quote variable references.
6914 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6916 # Sed substitution to delay expansion of an escaped shell variable in a
6917 # double_quote_subst'ed string.
6918 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6920 # Sed substitution to delay expansion of an escaped single quote.
6921 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6923 # Sed substitution to avoid accidental globbing in evaled expressions
6924 no_glob_subst='s/\*/\\\*/g'
6926 # Global variables:
6927 ofile=libtool
6928 can_build_shared=yes
6930 # All known linkers require a `.a' archive for static linking (except MSVC,
6931 # which needs '.lib').
6932 libext=a
6934 with_gnu_ld="$lt_cv_prog_gnu_ld"
6936 old_CC="$CC"
6937 old_CFLAGS="$CFLAGS"
6939 # Set sane defaults for various variables
6940 test -z "$CC" && CC=cc
6941 test -z "$LTCC" && LTCC=$CC
6942 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6943 test -z "$LD" && LD=ld
6944 test -z "$ac_objext" && ac_objext=o
6946 for cc_temp in $compiler""; do
6947 case $cc_temp in
6948 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6949 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6950 \-*) ;;
6951 *) break;;
6952 esac
6953 done
6954 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6957 # Only perform the check for file, if the check method requires it
6958 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6959 case $deplibs_check_method in
6960 file_magic*)
6961 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6962 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6963 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6964 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967 case $MAGIC_CMD in
6968 [\\/*] | ?:[\\/]*)
6969 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6972 lt_save_MAGIC_CMD="$MAGIC_CMD"
6973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6974 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6975 for ac_dir in $ac_dummy; do
6976 IFS="$lt_save_ifs"
6977 test -z "$ac_dir" && ac_dir=.
6978 if test -f $ac_dir/${ac_tool_prefix}file; then
6979 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6980 if test -n "$file_magic_test_file"; then
6981 case $deplibs_check_method in
6982 "file_magic "*)
6983 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6986 $EGREP "$file_magic_regex" > /dev/null; then
6988 else
6989 cat <<_LT_EOF 1>&2
6991 *** Warning: the command libtool uses to detect shared libraries,
6992 *** $file_magic_cmd, produces output that libtool cannot recognize.
6993 *** The result is that libtool may fail to recognize shared libraries
6994 *** as such. This will affect the creation of libtool libraries that
6995 *** depend on shared libraries, but programs linked with such libtool
6996 *** libraries will work regardless of this problem. Nevertheless, you
6997 *** may want to report the problem to your system manager and/or to
6998 *** bug-libtool@gnu.org
7000 _LT_EOF
7001 fi ;;
7002 esac
7004 break
7006 done
7007 IFS="$lt_save_ifs"
7008 MAGIC_CMD="$lt_save_MAGIC_CMD"
7010 esac
7013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7014 if test -n "$MAGIC_CMD"; then
7015 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7016 echo "${ECHO_T}$MAGIC_CMD" >&6
7017 else
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7026 if test -z "$lt_cv_path_MAGIC_CMD"; then
7027 if test -n "$ac_tool_prefix"; then
7028 echo "$as_me:$LINENO: checking for file" >&5
7029 echo $ECHO_N "checking for file... $ECHO_C" >&6
7030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 else
7033 case $MAGIC_CMD in
7034 [\\/*] | ?:[\\/]*)
7035 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7038 lt_save_MAGIC_CMD="$MAGIC_CMD"
7039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7040 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7041 for ac_dir in $ac_dummy; do
7042 IFS="$lt_save_ifs"
7043 test -z "$ac_dir" && ac_dir=.
7044 if test -f $ac_dir/file; then
7045 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7046 if test -n "$file_magic_test_file"; then
7047 case $deplibs_check_method in
7048 "file_magic "*)
7049 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7051 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7052 $EGREP "$file_magic_regex" > /dev/null; then
7054 else
7055 cat <<_LT_EOF 1>&2
7057 *** Warning: the command libtool uses to detect shared libraries,
7058 *** $file_magic_cmd, produces output that libtool cannot recognize.
7059 *** The result is that libtool may fail to recognize shared libraries
7060 *** as such. This will affect the creation of libtool libraries that
7061 *** depend on shared libraries, but programs linked with such libtool
7062 *** libraries will work regardless of this problem. Nevertheless, you
7063 *** may want to report the problem to your system manager and/or to
7064 *** bug-libtool@gnu.org
7066 _LT_EOF
7067 fi ;;
7068 esac
7070 break
7072 done
7073 IFS="$lt_save_ifs"
7074 MAGIC_CMD="$lt_save_MAGIC_CMD"
7076 esac
7079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7080 if test -n "$MAGIC_CMD"; then
7081 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7082 echo "${ECHO_T}$MAGIC_CMD" >&6
7083 else
7084 echo "$as_me:$LINENO: result: no" >&5
7085 echo "${ECHO_T}no" >&6
7089 else
7090 MAGIC_CMD=:
7096 esac
7098 # Use C for the default configuration in the libtool script
7100 lt_save_CC="$CC"
7101 ac_ext=c
7102 ac_cpp='$CPP $CPPFLAGS'
7103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7108 # Source file extension for C test sources.
7109 ac_ext=c
7111 # Object file extension for compiled C test sources.
7112 objext=o
7113 objext=$objext
7115 # Code to be used in simple compile tests
7116 lt_simple_compile_test_code="int some_variable = 0;"
7118 # Code to be used in simple link tests
7119 lt_simple_link_test_code='int main(){return(0);}'
7127 # If no C compiler was specified, use CC.
7128 LTCC=${LTCC-"$CC"}
7130 # If no C compiler flags were specified, use CFLAGS.
7131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7133 # Allow CC to be a program name with arguments.
7134 compiler=$CC
7136 # Save the default compiler, since it gets overwritten when the other
7137 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7138 compiler_DEFAULT=$CC
7140 # save warnings/boilerplate of simple test code
7141 ac_outfile=conftest.$ac_objext
7142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7144 _lt_compiler_boilerplate=`cat conftest.err`
7145 $RM conftest*
7147 ac_outfile=conftest.$ac_objext
7148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7150 _lt_linker_boilerplate=`cat conftest.err`
7151 $RM conftest*
7154 ## CAVEAT EMPTOR:
7155 ## There is no encapsulation within the following macros, do not change
7156 ## the running order or otherwise move them around unless you know exactly
7157 ## what you are doing...
7158 if test -n "$compiler"; then
7160 lt_prog_compiler_no_builtin_flag=
7162 if test "$GCC" = yes; then
7163 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7165 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7166 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7167 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6
7169 else
7170 lt_cv_prog_compiler_rtti_exceptions=no
7171 ac_outfile=conftest.$ac_objext
7172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7173 lt_compiler_flag="-fno-rtti -fno-exceptions"
7174 # Insert the option either (1) after the last *FLAGS variable, or
7175 # (2) before a word containing "conftest.", or (3) at the end.
7176 # Note that $ac_compile itself does not contain backslashes and begins
7177 # with a dollar sign (not a hyphen), so the echo should work correctly.
7178 # The option is referenced via a variable to avoid confusing sed.
7179 lt_compile=`echo "$ac_compile" | $SED \
7180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7182 -e 's:$: $lt_compiler_flag:'`
7183 (eval echo "\"\$as_me:7183: $lt_compile\"" >&5)
7184 (eval "$lt_compile" 2>conftest.err)
7185 ac_status=$?
7186 cat conftest.err >&5
7187 echo "$as_me:7187: \$? = $ac_status" >&5
7188 if (exit $ac_status) && test -s "$ac_outfile"; then
7189 # The compiler can only warn and ignore the option if not recognized
7190 # So say no if there are warnings other than the usual output.
7191 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7192 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7193 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7194 lt_cv_prog_compiler_rtti_exceptions=yes
7197 $RM conftest*
7200 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7201 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7203 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7204 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7205 else
7216 lt_prog_compiler_wl=
7217 lt_prog_compiler_pic=
7218 lt_prog_compiler_static=
7220 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7221 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7223 if test "$GCC" = yes; then
7224 lt_prog_compiler_wl='-Wl,'
7225 lt_prog_compiler_static='-static'
7227 case $host_os in
7228 aix*)
7229 # All AIX code is PIC.
7230 if test "$host_cpu" = ia64; then
7231 # AIX 5 now supports IA64 processor
7232 lt_prog_compiler_static='-Bstatic'
7236 amigaos*)
7237 if test "$host_cpu" = m68k; then
7238 # FIXME: we need at least 68020 code to build shared libraries, but
7239 # adding the `-m68020' flag to GCC prevents building anything better,
7240 # like `-m68040'.
7241 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7245 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7246 # PIC is the default for these OSes.
7249 mingw* | cygwin* | pw32* | os2*)
7250 # This hack is so that the source file can tell whether it is being
7251 # built for inclusion in a dll (and should export symbols for example).
7252 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7253 # (--disable-auto-import) libraries
7254 lt_prog_compiler_pic='-DDLL_EXPORT'
7257 darwin* | rhapsody*)
7258 # PIC is the default on this platform
7259 # Common symbols not allowed in MH_DYLIB files
7260 lt_prog_compiler_pic='-fno-common'
7263 hpux*)
7264 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7265 # not for PA HP-UX.
7266 case $host_cpu in
7267 hppa*64*|ia64*)
7268 # +Z the default
7271 lt_prog_compiler_pic='-fPIC'
7273 esac
7276 interix[3-9]*)
7277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7278 # Instead, we relocate shared libraries at runtime.
7281 msdosdjgpp*)
7282 # Just because we use GCC doesn't mean we suddenly get shared libraries
7283 # on systems that don't support them.
7284 lt_prog_compiler_can_build_shared=no
7285 enable_shared=no
7288 *nto* | *qnx*)
7289 # QNX uses GNU C++, but need to define -shared option too, otherwise
7290 # it will coredump.
7291 lt_prog_compiler_pic='-fPIC -shared'
7294 sysv4*MP*)
7295 if test -d /usr/nec; then
7296 lt_prog_compiler_pic=-Kconform_pic
7301 lt_prog_compiler_pic='-fPIC'
7303 esac
7304 else
7305 # PORTME Check for flag to pass linker flags through the system compiler.
7306 case $host_os in
7307 aix*)
7308 lt_prog_compiler_wl='-Wl,'
7309 if test "$host_cpu" = ia64; then
7310 # AIX 5 now supports IA64 processor
7311 lt_prog_compiler_static='-Bstatic'
7312 else
7313 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7316 darwin*)
7317 # PIC is the default on this platform
7318 # Common symbols not allowed in MH_DYLIB files
7319 case $cc_basename in
7320 xlc*)
7321 lt_prog_compiler_pic='-qnocommon'
7322 lt_prog_compiler_wl='-Wl,'
7324 esac
7327 mingw* | cygwin* | pw32* | os2*)
7328 # This hack is so that the source file can tell whether it is being
7329 # built for inclusion in a dll (and should export symbols for example).
7330 lt_prog_compiler_pic='-DDLL_EXPORT'
7333 hpux9* | hpux10* | hpux11*)
7334 lt_prog_compiler_wl='-Wl,'
7335 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7336 # not for PA HP-UX.
7337 case $host_cpu in
7338 hppa*64*|ia64*)
7339 # +Z the default
7342 lt_prog_compiler_pic='+Z'
7344 esac
7345 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7346 lt_prog_compiler_static='${wl}-a ${wl}archive'
7349 irix5* | irix6* | nonstopux*)
7350 lt_prog_compiler_wl='-Wl,'
7351 # PIC (with -KPIC) is the default.
7352 lt_prog_compiler_static='-non_shared'
7355 linux* | k*bsd*-gnu)
7356 case $cc_basename in
7357 icc* | ecc*)
7358 lt_prog_compiler_wl='-Wl,'
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-static'
7362 pgcc* | pgf77* | pgf90* | pgf95*)
7363 # Portland Group compilers (*not* the Pentium gcc compiler,
7364 # which looks to be a dead project)
7365 lt_prog_compiler_wl='-Wl,'
7366 lt_prog_compiler_pic='-fpic'
7367 lt_prog_compiler_static='-Bstatic'
7369 ccc*)
7370 lt_prog_compiler_wl='-Wl,'
7371 # All Alpha code is PIC.
7372 lt_prog_compiler_static='-non_shared'
7375 case `$CC -V 2>&1 | sed 5q` in
7376 *Sun\ C*)
7377 # Sun C 5.9
7378 lt_prog_compiler_pic='-KPIC'
7379 lt_prog_compiler_static='-Bstatic'
7380 lt_prog_compiler_wl='-Wl,'
7382 *Sun\ F*)
7383 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7384 lt_prog_compiler_pic='-KPIC'
7385 lt_prog_compiler_static='-Bstatic'
7386 lt_prog_compiler_wl=''
7388 esac
7390 esac
7393 newsos6)
7394 lt_prog_compiler_pic='-KPIC'
7395 lt_prog_compiler_static='-Bstatic'
7398 *nto* | *qnx*)
7399 # QNX uses GNU C++, but need to define -shared option too, otherwise
7400 # it will coredump.
7401 lt_prog_compiler_pic='-fPIC -shared'
7404 osf3* | osf4* | osf5*)
7405 lt_prog_compiler_wl='-Wl,'
7406 # All OSF/1 code is PIC.
7407 lt_prog_compiler_static='-non_shared'
7410 rdos*)
7411 lt_prog_compiler_static='-non_shared'
7414 solaris*)
7415 lt_prog_compiler_pic='-KPIC'
7416 lt_prog_compiler_static='-Bstatic'
7417 case $cc_basename in
7418 f77* | f90* | f95*)
7419 lt_prog_compiler_wl='-Qoption ld ';;
7421 lt_prog_compiler_wl='-Wl,';;
7422 esac
7425 sunos4*)
7426 lt_prog_compiler_wl='-Qoption ld '
7427 lt_prog_compiler_pic='-PIC'
7428 lt_prog_compiler_static='-Bstatic'
7431 sysv4 | sysv4.2uw2* | sysv4.3*)
7432 lt_prog_compiler_wl='-Wl,'
7433 lt_prog_compiler_pic='-KPIC'
7434 lt_prog_compiler_static='-Bstatic'
7437 sysv4*MP*)
7438 if test -d /usr/nec ;then
7439 lt_prog_compiler_pic='-Kconform_pic'
7440 lt_prog_compiler_static='-Bstatic'
7444 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7445 lt_prog_compiler_wl='-Wl,'
7446 lt_prog_compiler_pic='-KPIC'
7447 lt_prog_compiler_static='-Bstatic'
7450 unicos*)
7451 lt_prog_compiler_wl='-Wl,'
7452 lt_prog_compiler_can_build_shared=no
7455 uts4*)
7456 lt_prog_compiler_pic='-pic'
7457 lt_prog_compiler_static='-Bstatic'
7461 lt_prog_compiler_can_build_shared=no
7463 esac
7466 case $host_os in
7467 # For platforms which do not support PIC, -DPIC is meaningless:
7468 *djgpp*)
7469 lt_prog_compiler_pic=
7472 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7474 esac
7475 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7476 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7484 # Check to make sure the PIC flag actually works.
7486 if test -n "$lt_prog_compiler_pic"; then
7487 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7488 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7489 if test "${lt_prog_compiler_pic_works+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7491 else
7492 lt_prog_compiler_pic_works=no
7493 ac_outfile=conftest.$ac_objext
7494 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7495 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7496 # Insert the option either (1) after the last *FLAGS variable, or
7497 # (2) before a word containing "conftest.", or (3) at the end.
7498 # Note that $ac_compile itself does not contain backslashes and begins
7499 # with a dollar sign (not a hyphen), so the echo should work correctly.
7500 # The option is referenced via a variable to avoid confusing sed.
7501 lt_compile=`echo "$ac_compile" | $SED \
7502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7504 -e 's:$: $lt_compiler_flag:'`
7505 (eval echo "\"\$as_me:7505: $lt_compile\"" >&5)
7506 (eval "$lt_compile" 2>conftest.err)
7507 ac_status=$?
7508 cat conftest.err >&5
7509 echo "$as_me:7509: \$? = $ac_status" >&5
7510 if (exit $ac_status) && test -s "$ac_outfile"; then
7511 # The compiler can only warn and ignore the option if not recognized
7512 # So say no if there are warnings other than the usual output.
7513 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7514 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7515 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7516 lt_prog_compiler_pic_works=yes
7519 $RM conftest*
7522 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7523 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7525 if test x"$lt_prog_compiler_pic_works" = xyes; then
7526 case $lt_prog_compiler_pic in
7527 "" | " "*) ;;
7528 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7529 esac
7530 else
7531 lt_prog_compiler_pic=
7532 lt_prog_compiler_can_build_shared=no
7543 # Check to make sure the static flag actually works.
7545 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7546 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7547 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7548 if test "${lt_prog_compiler_static_works+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 else
7551 lt_prog_compiler_static_works=no
7552 save_LDFLAGS="$LDFLAGS"
7553 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7554 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7555 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7556 # The linker can only warn and ignore the option if not recognized
7557 # So say no if there are warnings
7558 if test -s conftest.err; then
7559 # Append any errors to the config.log.
7560 cat conftest.err 1>&5
7561 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7563 if diff conftest.exp conftest.er2 >/dev/null; then
7564 lt_prog_compiler_static_works=yes
7566 else
7567 lt_prog_compiler_static_works=yes
7570 $RM conftest*
7571 LDFLAGS="$save_LDFLAGS"
7574 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7575 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7577 if test x"$lt_prog_compiler_static_works" = xyes; then
7579 else
7580 lt_prog_compiler_static=
7589 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7590 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7591 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 else
7594 lt_cv_prog_compiler_c_o=no
7595 $RM -r conftest 2>/dev/null
7596 mkdir conftest
7597 cd conftest
7598 mkdir out
7599 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7601 lt_compiler_flag="-o out/conftest2.$ac_objext"
7602 # Insert the option either (1) after the last *FLAGS variable, or
7603 # (2) before a word containing "conftest.", or (3) at the end.
7604 # Note that $ac_compile itself does not contain backslashes and begins
7605 # with a dollar sign (not a hyphen), so the echo should work correctly.
7606 lt_compile=`echo "$ac_compile" | $SED \
7607 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7608 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7609 -e 's:$: $lt_compiler_flag:'`
7610 (eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
7611 (eval "$lt_compile" 2>out/conftest.err)
7612 ac_status=$?
7613 cat out/conftest.err >&5
7614 echo "$as_me:7614: \$? = $ac_status" >&5
7615 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7616 then
7617 # The compiler can only warn and ignore the option if not recognized
7618 # So say no if there are warnings
7619 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7620 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7621 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7622 lt_cv_prog_compiler_c_o=yes
7625 chmod u+w . 2>&5
7626 $RM conftest*
7627 # SGI C++ compiler will create directory out/ii_files/ for
7628 # template instantiation
7629 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7630 $RM out/* && rmdir out
7631 cd ..
7632 $RM -r conftest
7633 $RM conftest*
7636 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7637 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7644 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7645 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7646 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 else
7649 lt_cv_prog_compiler_c_o=no
7650 $RM -r conftest 2>/dev/null
7651 mkdir conftest
7652 cd conftest
7653 mkdir out
7654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7656 lt_compiler_flag="-o out/conftest2.$ac_objext"
7657 # Insert the option either (1) after the last *FLAGS variable, or
7658 # (2) before a word containing "conftest.", or (3) at the end.
7659 # Note that $ac_compile itself does not contain backslashes and begins
7660 # with a dollar sign (not a hyphen), so the echo should work correctly.
7661 lt_compile=`echo "$ac_compile" | $SED \
7662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7664 -e 's:$: $lt_compiler_flag:'`
7665 (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
7666 (eval "$lt_compile" 2>out/conftest.err)
7667 ac_status=$?
7668 cat out/conftest.err >&5
7669 echo "$as_me:7669: \$? = $ac_status" >&5
7670 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7671 then
7672 # The compiler can only warn and ignore the option if not recognized
7673 # So say no if there are warnings
7674 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7675 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7676 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7677 lt_cv_prog_compiler_c_o=yes
7680 chmod u+w . 2>&5
7681 $RM conftest*
7682 # SGI C++ compiler will create directory out/ii_files/ for
7683 # template instantiation
7684 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7685 $RM out/* && rmdir out
7686 cd ..
7687 $RM -r conftest
7688 $RM conftest*
7691 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7692 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7697 hard_links="nottested"
7698 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7699 # do not overwrite the value of need_locks provided by the user
7700 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7701 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7702 hard_links=yes
7703 $RM conftest*
7704 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7705 touch conftest.a
7706 ln conftest.a conftest.b 2>&5 || hard_links=no
7707 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7708 echo "$as_me:$LINENO: result: $hard_links" >&5
7709 echo "${ECHO_T}$hard_links" >&6
7710 if test "$hard_links" = no; then
7711 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7712 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7713 need_locks=warn
7715 else
7716 need_locks=no
7724 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7725 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7727 runpath_var=
7728 allow_undefined_flag=
7729 always_export_symbols=no
7730 archive_cmds=
7731 archive_expsym_cmds=
7732 compiler_needs_object=no
7733 enable_shared_with_static_runtimes=no
7734 export_dynamic_flag_spec=
7735 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7736 hardcode_automatic=no
7737 hardcode_direct=no
7738 hardcode_direct_absolute=no
7739 hardcode_libdir_flag_spec=
7740 hardcode_libdir_flag_spec_ld=
7741 hardcode_libdir_separator=
7742 hardcode_minus_L=no
7743 hardcode_shlibpath_var=unsupported
7744 inherit_rpath=no
7745 link_all_deplibs=unknown
7746 module_cmds=
7747 module_expsym_cmds=
7748 old_archive_from_new_cmds=
7749 old_archive_from_expsyms_cmds=
7750 thread_safe_flag_spec=
7751 whole_archive_flag_spec=
7752 # include_expsyms should be a list of space-separated symbols to be *always*
7753 # included in the symbol list
7754 include_expsyms=
7755 # exclude_expsyms can be an extended regexp of symbols to exclude
7756 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7757 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7758 # as well as any symbol that contains `d'.
7759 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7760 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7761 # platforms (ab)use it in PIC code, but their linkers get confused if
7762 # the symbol is explicitly referenced. Since portable code cannot
7763 # rely on this symbol name, it's probably fine to never include it in
7764 # preloaded symbol tables.
7765 extract_expsyms_cmds=
7767 case $host_os in
7768 cygwin* | mingw* | pw32*)
7769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7770 # When not using gcc, we currently assume that we are using
7771 # Microsoft Visual C++.
7772 if test "$GCC" != yes; then
7773 with_gnu_ld=no
7776 interix*)
7777 # we just hope/assume this is gcc and not c89 (= MSVC++)
7778 with_gnu_ld=yes
7780 openbsd*)
7781 with_gnu_ld=no
7783 esac
7785 ld_shlibs=yes
7786 if test "$with_gnu_ld" = yes; then
7787 # If archive_cmds runs LD, not CC, wlarc should be empty
7788 wlarc='${wl}'
7790 # Set some defaults for GNU ld with shared library support. These
7791 # are reset later if shared libraries are not supported. Putting them
7792 # here allows them to be overridden if necessary.
7793 runpath_var=LD_RUN_PATH
7794 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7795 export_dynamic_flag_spec='${wl}--export-dynamic'
7796 # ancient GNU ld didn't support --whole-archive et. al.
7797 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7798 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7799 else
7800 whole_archive_flag_spec=
7802 supports_anon_versioning=no
7803 case `$LD -v 2>&1` in
7804 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7805 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7806 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7807 *\ 2.11.*) ;; # other 2.11 versions
7808 *) supports_anon_versioning=yes ;;
7809 esac
7811 # See if GNU ld supports shared libraries.
7812 case $host_os in
7813 aix[3-9]*)
7814 # On AIX/PPC, the GNU linker is very broken
7815 if test "$host_cpu" != ia64; then
7816 ld_shlibs=no
7817 cat <<_LT_EOF 1>&2
7819 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7820 *** to be unable to reliably create shared libraries on AIX.
7821 *** Therefore, libtool is disabling shared libraries support. If you
7822 *** really care for shared libraries, you may want to modify your PATH
7823 *** so that a non-GNU linker is found, and then restart.
7825 _LT_EOF
7829 amigaos*)
7830 if test "$host_cpu" = m68k; then
7831 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)'
7832 hardcode_libdir_flag_spec='-L$libdir'
7833 hardcode_minus_L=yes
7836 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7837 # that the semantics of dynamic libraries on AmigaOS, at least up
7838 # to version 4, is to share data among multiple programs linked
7839 # with the same dynamic library. Since this doesn't match the
7840 # behavior of shared libraries on other platforms, we can't use
7841 # them.
7842 ld_shlibs=no
7845 beos*)
7846 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7847 allow_undefined_flag=unsupported
7848 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7849 # support --undefined. This deserves some investigation. FIXME
7850 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7851 else
7852 ld_shlibs=no
7856 cygwin* | mingw* | pw32*)
7857 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7858 # as there is no search path for DLLs.
7859 hardcode_libdir_flag_spec='-L$libdir'
7860 allow_undefined_flag=unsupported
7861 always_export_symbols=no
7862 enable_shared_with_static_runtimes=yes
7863 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7865 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7866 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7867 # If the export-symbols file already is a .def file (1st line
7868 # is EXPORTS), use it as is; otherwise, prepend...
7869 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7870 cp $export_symbols $output_objdir/$soname.def;
7871 else
7872 echo EXPORTS > $output_objdir/$soname.def;
7873 cat $export_symbols >> $output_objdir/$soname.def;
7875 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7876 else
7877 ld_shlibs=no
7881 interix[3-9]*)
7882 hardcode_direct=no
7883 hardcode_shlibpath_var=no
7884 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7885 export_dynamic_flag_spec='${wl}-E'
7886 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7887 # Instead, shared libraries are loaded at an image base (0x10000000 by
7888 # default) and relocated if they conflict, which is a slow very memory
7889 # consuming and fragmenting process. To avoid this, we pick a random,
7890 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7891 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7892 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7893 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'
7896 gnu* | linux* | tpf* | k*bsd*-gnu)
7897 tmp_diet=no
7898 if test "$host_os" = linux-dietlibc; then
7899 case $cc_basename in
7900 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7901 esac
7903 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7904 && test "$tmp_diet" = no
7905 then
7906 tmp_addflag=
7907 case $cc_basename,$host_cpu in
7908 pgcc*) # Portland Group C compiler
7909 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'
7910 tmp_addflag=' $pic_flag'
7912 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7913 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'
7914 tmp_addflag=' $pic_flag -Mnomain' ;;
7915 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7916 tmp_addflag=' -i_dynamic' ;;
7917 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7918 tmp_addflag=' -i_dynamic -nofor_main' ;;
7919 ifc* | ifort*) # Intel Fortran compiler
7920 tmp_addflag=' -nofor_main' ;;
7921 esac
7922 case `$CC -V 2>&1 | sed 5q` in
7923 *Sun\ C*) # Sun C 5.9
7924 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'
7925 compiler_needs_object=yes
7926 tmp_sharedflag='-G' ;;
7927 *Sun\ F*) # Sun Fortran 8.3
7928 tmp_sharedflag='-G' ;;
7930 tmp_sharedflag='-shared' ;;
7931 esac
7932 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7934 if test "x$supports_anon_versioning" = xyes; then
7935 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7937 echo "local: *; };" >> $output_objdir/$libname.ver~
7938 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7940 else
7941 ld_shlibs=no
7945 netbsd*)
7946 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7947 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7948 wlarc=
7949 else
7950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7951 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7955 solaris*)
7956 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7957 ld_shlibs=no
7958 cat <<_LT_EOF 1>&2
7960 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7961 *** create shared libraries on Solaris systems. Therefore, libtool
7962 *** is disabling shared libraries support. We urge you to upgrade GNU
7963 *** binutils to release 2.9.1 or newer. Another option is to modify
7964 *** your PATH or compiler configuration so that the native linker is
7965 *** used, and then restart.
7967 _LT_EOF
7968 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7970 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7971 else
7972 ld_shlibs=no
7976 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7977 case `$LD -v 2>&1` in
7978 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7979 ld_shlibs=no
7980 cat <<_LT_EOF 1>&2
7982 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7983 *** reliably create shared libraries on SCO systems. Therefore, libtool
7984 *** is disabling shared libraries support. We urge you to upgrade GNU
7985 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7986 *** your PATH or compiler configuration so that the native linker is
7987 *** used, and then restart.
7989 _LT_EOF
7992 # For security reasons, it is highly recommended that you always
7993 # use absolute paths for naming shared libraries, and exclude the
7994 # DT_RUNPATH tag from executables and libraries. But doing so
7995 # requires that you compile everything twice, which is a pain.
7996 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7998 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7999 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8000 else
8001 ld_shlibs=no
8004 esac
8007 sunos4*)
8008 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8009 wlarc=
8010 hardcode_direct=yes
8011 hardcode_shlibpath_var=no
8015 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8016 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8017 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8018 else
8019 ld_shlibs=no
8022 esac
8024 if test "$ld_shlibs" = no; then
8025 runpath_var=
8026 hardcode_libdir_flag_spec=
8027 export_dynamic_flag_spec=
8028 whole_archive_flag_spec=
8030 else
8031 # PORTME fill in a description of your system's linker (not GNU ld)
8032 case $host_os in
8033 aix3*)
8034 allow_undefined_flag=unsupported
8035 always_export_symbols=yes
8036 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'
8037 # Note: this linker hardcodes the directories in LIBPATH if there
8038 # are no directories specified by -L.
8039 hardcode_minus_L=yes
8040 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8041 # Neither direct hardcoding nor static linking is supported with a
8042 # broken collect2.
8043 hardcode_direct=unsupported
8047 aix[4-9]*)
8048 if test "$host_cpu" = ia64; then
8049 # On IA64, the linker does run time linking by default, so we don't
8050 # have to do anything special.
8051 aix_use_runtimelinking=no
8052 exp_sym_flag='-Bexport'
8053 no_entry_flag=""
8054 else
8055 # If we're using GNU nm, then we don't want the "-C" option.
8056 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8057 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8058 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'
8059 else
8060 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'
8062 aix_use_runtimelinking=no
8064 # Test if we are trying to use run time linking or normal
8065 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8066 # need to do runtime linking.
8067 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8068 for ld_flag in $LDFLAGS; do
8069 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8070 aix_use_runtimelinking=yes
8071 break
8073 done
8075 esac
8077 exp_sym_flag='-bexport'
8078 no_entry_flag='-bnoentry'
8081 # When large executables or shared objects are built, AIX ld can
8082 # have problems creating the table of contents. If linking a library
8083 # or program results in "error TOC overflow" add -mminimal-toc to
8084 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8085 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8087 archive_cmds=''
8088 hardcode_direct=yes
8089 hardcode_direct_absolute=yes
8090 hardcode_libdir_separator=':'
8091 link_all_deplibs=yes
8092 file_list_spec='${wl}-f,'
8094 if test "$GCC" = yes; then
8095 case $host_os in aix4.[012]|aix4.[012].*)
8096 # We only want to do this on AIX 4.2 and lower, the check
8097 # below for broken collect2 doesn't work under 4.3+
8098 collect2name=`${CC} -print-prog-name=collect2`
8099 if test -f "$collect2name" &&
8100 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8101 then
8102 # We have reworked collect2
8104 else
8105 # We have old collect2
8106 hardcode_direct=unsupported
8107 # It fails to find uninstalled libraries when the uninstalled
8108 # path is not listed in the libpath. Setting hardcode_minus_L
8109 # to unsupported forces relinking
8110 hardcode_minus_L=yes
8111 hardcode_libdir_flag_spec='-L$libdir'
8112 hardcode_libdir_separator=
8115 esac
8116 shared_flag='-shared'
8117 if test "$aix_use_runtimelinking" = yes; then
8118 shared_flag="$shared_flag "'${wl}-G'
8120 else
8121 # not using gcc
8122 if test "$host_cpu" = ia64; then
8123 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8124 # chokes on -Wl,-G. The following line is correct:
8125 shared_flag='-G'
8126 else
8127 if test "$aix_use_runtimelinking" = yes; then
8128 shared_flag='${wl}-G'
8129 else
8130 shared_flag='${wl}-bM:SRE'
8135 # It seems that -bexpall does not export symbols beginning with
8136 # underscore (_), so it is better to generate a list of symbols to export.
8137 always_export_symbols=yes
8138 if test "$aix_use_runtimelinking" = yes; then
8139 # Warning - without using the other runtime loading flags (-brtl),
8140 # -berok will link without error, but may produce a broken library.
8141 allow_undefined_flag='-berok'
8142 # Determine the default libpath from the value encoded in an
8143 # empty executable.
8144 if test x$gcc_no_link = xyes; then
8145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8147 { (exit 1); exit 1; }; }
8149 cat >conftest.$ac_ext <<_ACEOF
8150 /* confdefs.h. */
8151 _ACEOF
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8157 main ()
8161 return 0;
8163 _ACEOF
8164 rm -f conftest.$ac_objext conftest$ac_exeext
8165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8166 (eval $ac_link) 2>conftest.er1
8167 ac_status=$?
8168 grep -v '^ *+' conftest.er1 >conftest.err
8169 rm -f conftest.er1
8170 cat conftest.err >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } &&
8173 { ac_try='test -z "$ac_c_werror_flag"
8174 || test ! -s conftest.err'
8175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 (eval $ac_try) 2>&5
8177 ac_status=$?
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); }; } &&
8180 { ac_try='test -s conftest$ac_exeext'
8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 (eval $ac_try) 2>&5
8183 ac_status=$?
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8187 lt_aix_libpath_sed='
8188 /Import File Strings/,/^$/ {
8189 /^0/ {
8190 s/^0 *\(.*\)$/\1/
8194 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8195 # Check for a 64-bit object if we didn't find anything.
8196 if test -z "$aix_libpath"; then
8197 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8199 else
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8204 rm -f conftest.err conftest.$ac_objext \
8205 conftest$ac_exeext conftest.$ac_ext
8206 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8208 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8209 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"
8210 else
8211 if test "$host_cpu" = ia64; then
8212 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8213 allow_undefined_flag="-z nodefs"
8214 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"
8215 else
8216 # Determine the default libpath from the value encoded in an
8217 # empty executable.
8218 if test x$gcc_no_link = xyes; then
8219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8221 { (exit 1); exit 1; }; }
8223 cat >conftest.$ac_ext <<_ACEOF
8224 /* confdefs.h. */
8225 _ACEOF
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8231 main ()
8235 return 0;
8237 _ACEOF
8238 rm -f conftest.$ac_objext conftest$ac_exeext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240 (eval $ac_link) 2>conftest.er1
8241 ac_status=$?
8242 grep -v '^ *+' conftest.er1 >conftest.err
8243 rm -f conftest.er1
8244 cat conftest.err >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); } &&
8247 { ac_try='test -z "$ac_c_werror_flag"
8248 || test ! -s conftest.err'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 (eval $ac_try) 2>&5
8251 ac_status=$?
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; } &&
8254 { ac_try='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 (eval $ac_try) 2>&5
8257 ac_status=$?
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8261 lt_aix_libpath_sed='
8262 /Import File Strings/,/^$/ {
8263 /^0/ {
8264 s/^0 *\(.*\)$/\1/
8268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8269 # Check for a 64-bit object if we didn't find anything.
8270 if test -z "$aix_libpath"; then
8271 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8273 else
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8278 rm -f conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8283 # Warning - without using the other run time loading flags,
8284 # -berok will link without error, but may produce a broken library.
8285 no_undefined_flag=' ${wl}-bernotok'
8286 allow_undefined_flag=' ${wl}-berok'
8287 # Exported symbols can be pulled into shared objects from archives
8288 whole_archive_flag_spec='$convenience'
8289 archive_cmds_need_lc=yes
8290 # This is similar to how AIX traditionally builds its shared libraries.
8291 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'
8296 amigaos*)
8297 if test "$host_cpu" = m68k; then
8298 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)'
8299 hardcode_libdir_flag_spec='-L$libdir'
8300 hardcode_minus_L=yes
8302 # see comment about different semantics on the GNU ld section
8303 ld_shlibs=no
8306 bsdi[45]*)
8307 export_dynamic_flag_spec=-rdynamic
8310 cygwin* | mingw* | pw32*)
8311 # When not using gcc, we currently assume that we are using
8312 # Microsoft Visual C++.
8313 # hardcode_libdir_flag_spec is actually meaningless, as there is
8314 # no search path for DLLs.
8315 hardcode_libdir_flag_spec=' '
8316 allow_undefined_flag=unsupported
8317 # Tell ltmain to make .lib files, not .a files.
8318 libext=lib
8319 # Tell ltmain to make .dll files, not .so files.
8320 shrext_cmds=".dll"
8321 # FIXME: Setting linknames here is a bad hack.
8322 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8323 # The linker will automatically build a .lib file if we build a DLL.
8324 old_archive_from_new_cmds='true'
8325 # FIXME: Should let the user specify the lib program.
8326 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8327 fix_srcfile_path='`cygpath -w "$srcfile"`'
8328 enable_shared_with_static_runtimes=yes
8331 darwin* | rhapsody*)
8332 case $host_os in
8333 rhapsody* | darwin1.[012])
8334 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8336 *) # Darwin 1.3 on
8337 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8338 10.[012])
8339 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8341 10.*)
8342 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8344 esac
8346 esac
8347 archive_cmds_need_lc=no
8348 hardcode_direct=no
8349 hardcode_automatic=yes
8350 hardcode_shlibpath_var=unsupported
8351 whole_archive_flag_spec=''
8352 link_all_deplibs=yes
8353 if test "$GCC" = yes ; then
8354 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8356 else
8357 lt_cv_apple_cc_single_mod=no
8358 if test -z "${LT_MULTI_MODULE}"; then
8359 # By default we will add the -single_module flag. You can override
8360 # by either setting the environment variable LT_MULTI_MODULE
8361 # non-empty at configure time, or by adding -multi-module to the
8362 # link flags.
8363 echo "int foo(void){return 1;}" > conftest.c
8364 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8365 -dynamiclib ${wl}-single_module conftest.c
8366 if test -f libconftest.dylib; then
8367 lt_cv_apple_cc_single_mod=yes
8368 rm libconftest.dylib
8370 rm conftest.$ac_ext
8374 output_verbose_link_cmd=echo
8375 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8376 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8377 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}'
8378 else
8379 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8380 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}'
8382 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8383 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}'
8384 else
8385 case $cc_basename in
8386 xlc*)
8387 output_verbose_link_cmd=echo
8388 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8389 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8390 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8391 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}'
8392 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}'
8395 ld_shlibs=no
8397 esac
8401 dgux*)
8402 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8403 hardcode_libdir_flag_spec='-L$libdir'
8404 hardcode_shlibpath_var=no
8407 freebsd1*)
8408 ld_shlibs=no
8411 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8412 # support. Future versions do this automatically, but an explicit c++rt0.o
8413 # does not break anything, and helps significantly (at the cost of a little
8414 # extra space).
8415 freebsd2.2*)
8416 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8417 hardcode_libdir_flag_spec='-R$libdir'
8418 hardcode_direct=yes
8419 hardcode_shlibpath_var=no
8422 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8423 freebsd2*)
8424 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8425 hardcode_direct=yes
8426 hardcode_minus_L=yes
8427 hardcode_shlibpath_var=no
8430 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8431 freebsd* | dragonfly*)
8432 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8433 hardcode_libdir_flag_spec='-R$libdir'
8434 hardcode_direct=yes
8435 hardcode_shlibpath_var=no
8438 hpux9*)
8439 if test "$GCC" = yes; then
8440 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'
8441 else
8442 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'
8444 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8445 hardcode_libdir_separator=:
8446 hardcode_direct=yes
8448 # hardcode_minus_L: Not really in the search PATH,
8449 # but as the default location of the library.
8450 hardcode_minus_L=yes
8451 export_dynamic_flag_spec='${wl}-E'
8454 hpux10*)
8455 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8456 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8457 else
8458 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8460 if test "$with_gnu_ld" = no; then
8461 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8462 hardcode_libdir_flag_spec_ld='+b $libdir'
8463 hardcode_libdir_separator=:
8464 hardcode_direct=yes
8465 hardcode_direct_absolute=yes
8466 export_dynamic_flag_spec='${wl}-E'
8467 # hardcode_minus_L: Not really in the search PATH,
8468 # but as the default location of the library.
8469 hardcode_minus_L=yes
8473 hpux11*)
8474 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8475 case $host_cpu in
8476 hppa*64*)
8477 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8479 ia64*)
8480 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8483 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8485 esac
8486 else
8487 case $host_cpu in
8488 hppa*64*)
8489 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8491 ia64*)
8492 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8495 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8497 esac
8499 if test "$with_gnu_ld" = no; then
8500 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8501 hardcode_libdir_separator=:
8503 case $host_cpu in
8504 hppa*64*|ia64*)
8505 hardcode_direct=no
8506 hardcode_shlibpath_var=no
8509 hardcode_direct=yes
8510 hardcode_direct_absolute=yes
8511 export_dynamic_flag_spec='${wl}-E'
8513 # hardcode_minus_L: Not really in the search PATH,
8514 # but as the default location of the library.
8515 hardcode_minus_L=yes
8517 esac
8521 irix5* | irix6* | nonstopux*)
8522 if test "$GCC" = yes; then
8523 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'
8524 # Try to use the -exported_symbol ld option, if it does not
8525 # work, assume that -exports_file does not work either and
8526 # implicitly export all symbols.
8527 save_LDFLAGS="$LDFLAGS"
8528 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8529 if test x$gcc_no_link = xyes; then
8530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8532 { (exit 1); exit 1; }; }
8534 cat >conftest.$ac_ext <<_ACEOF
8535 int foo(void) {}
8536 _ACEOF
8537 rm -f conftest.$ac_objext conftest$ac_exeext
8538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8539 (eval $ac_link) 2>conftest.er1
8540 ac_status=$?
8541 grep -v '^ *+' conftest.er1 >conftest.err
8542 rm -f conftest.er1
8543 cat conftest.err >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); } &&
8546 { ac_try='test -z "$ac_c_werror_flag"
8547 || test ! -s conftest.err'
8548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 (eval $ac_try) 2>&5
8550 ac_status=$?
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); }; } &&
8553 { ac_try='test -s conftest$ac_exeext'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 (eval $ac_try) 2>&5
8556 ac_status=$?
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; }; then
8559 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'
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8566 rm -f conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 LDFLAGS="$save_LDFLAGS"
8569 else
8570 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'
8571 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'
8573 archive_cmds_need_lc='no'
8574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8575 hardcode_libdir_separator=:
8576 inherit_rpath=yes
8577 link_all_deplibs=yes
8580 netbsd*)
8581 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8582 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8583 else
8584 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8586 hardcode_libdir_flag_spec='-R$libdir'
8587 hardcode_direct=yes
8588 hardcode_shlibpath_var=no
8591 newsos6)
8592 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8593 hardcode_direct=yes
8594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595 hardcode_libdir_separator=:
8596 hardcode_shlibpath_var=no
8599 *nto* | *qnx*)
8602 openbsd*)
8603 hardcode_direct=yes
8604 hardcode_shlibpath_var=no
8605 hardcode_direct_absolute=yes
8606 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8608 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8609 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8610 export_dynamic_flag_spec='${wl}-E'
8611 else
8612 case $host_os in
8613 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8614 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8615 hardcode_libdir_flag_spec='-R$libdir'
8618 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8619 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8621 esac
8625 os2*)
8626 hardcode_libdir_flag_spec='-L$libdir'
8627 hardcode_minus_L=yes
8628 allow_undefined_flag=unsupported
8629 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'
8630 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8633 osf3*)
8634 if test "$GCC" = yes; then
8635 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8636 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'
8637 else
8638 allow_undefined_flag=' -expect_unresolved \*'
8639 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'
8641 archive_cmds_need_lc='no'
8642 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8643 hardcode_libdir_separator=:
8646 osf4* | osf5*) # as osf3* with the addition of -msym flag
8647 if test "$GCC" = yes; then
8648 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8649 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'
8650 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8651 else
8652 allow_undefined_flag=' -expect_unresolved \*'
8653 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'
8654 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~
8655 $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'
8657 # Both c and cxx compiler support -rpath directly
8658 hardcode_libdir_flag_spec='-rpath $libdir'
8660 archive_cmds_need_lc='no'
8661 hardcode_libdir_separator=:
8664 solaris*)
8665 no_undefined_flag=' -z defs'
8666 if test "$GCC" = yes; then
8667 wlarc='${wl}'
8668 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8670 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8671 else
8672 case `$CC -V 2>&1` in
8673 *"Compilers 5.0"*)
8674 wlarc=''
8675 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8677 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8680 wlarc='${wl}'
8681 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8682 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8683 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8685 esac
8687 hardcode_libdir_flag_spec='-R$libdir'
8688 hardcode_shlibpath_var=no
8689 case $host_os in
8690 solaris2.[0-5] | solaris2.[0-5].*) ;;
8692 # The compiler driver will combine and reorder linker options,
8693 # but understands `-z linker_flag'. GCC discards it without `$wl',
8694 # but is careful enough not to reorder.
8695 # Supported since Solaris 2.6 (maybe 2.5.1?)
8696 if test "$GCC" = yes; then
8697 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8698 else
8699 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8702 esac
8703 link_all_deplibs=yes
8706 sunos4*)
8707 if test "x$host_vendor" = xsequent; then
8708 # Use $CC to link under sequent, because it throws in some extra .o
8709 # files that make .init and .fini sections work.
8710 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8711 else
8712 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8714 hardcode_libdir_flag_spec='-L$libdir'
8715 hardcode_direct=yes
8716 hardcode_minus_L=yes
8717 hardcode_shlibpath_var=no
8720 sysv4)
8721 case $host_vendor in
8722 sni)
8723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 hardcode_direct=yes # is this really true???
8726 siemens)
8727 ## LD is ld it makes a PLAMLIB
8728 ## CC just makes a GrossModule.
8729 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8730 reload_cmds='$CC -r -o $output$reload_objs'
8731 hardcode_direct=no
8733 motorola)
8734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8737 esac
8738 runpath_var='LD_RUN_PATH'
8739 hardcode_shlibpath_var=no
8742 sysv4.3*)
8743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744 hardcode_shlibpath_var=no
8745 export_dynamic_flag_spec='-Bexport'
8748 sysv4*MP*)
8749 if test -d /usr/nec; then
8750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8751 hardcode_shlibpath_var=no
8752 runpath_var=LD_RUN_PATH
8753 hardcode_runpath_var=yes
8754 ld_shlibs=yes
8758 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8759 no_undefined_flag='${wl}-z,text'
8760 archive_cmds_need_lc=no
8761 hardcode_shlibpath_var=no
8762 runpath_var='LD_RUN_PATH'
8764 if test "$GCC" = yes; then
8765 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8766 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 else
8768 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8769 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 sysv5* | sco3.2v5* | sco5v6*)
8774 # Note: We can NOT use -z defs as we might desire, because we do not
8775 # link with -lc, and that would cause any symbols used from libc to
8776 # always be unresolved, which means just about no library would
8777 # ever link correctly. If we're not using GNU ld we use -z text
8778 # though, which does catch some bad symbols but isn't as heavy-handed
8779 # as -z defs.
8780 no_undefined_flag='${wl}-z,text'
8781 allow_undefined_flag='${wl}-z,nodefs'
8782 archive_cmds_need_lc=no
8783 hardcode_shlibpath_var=no
8784 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8785 hardcode_libdir_separator=':'
8786 link_all_deplibs=yes
8787 export_dynamic_flag_spec='${wl}-Bexport'
8788 runpath_var='LD_RUN_PATH'
8790 if test "$GCC" = yes; then
8791 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8792 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8793 else
8794 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8795 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8799 uts4*)
8800 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8801 hardcode_libdir_flag_spec='-L$libdir'
8802 hardcode_shlibpath_var=no
8806 ld_shlibs=no
8808 esac
8810 if test x$host_vendor = xsni; then
8811 case $host in
8812 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8813 export_dynamic_flag_spec='${wl}-Blargedynsym'
8815 esac
8819 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8820 echo "${ECHO_T}$ld_shlibs" >&6
8821 test "$ld_shlibs" = no && can_build_shared=no
8823 with_gnu_ld=$with_gnu_ld
8840 # Do we need to explicitly link libc?
8842 case "x$archive_cmds_need_lc" in
8843 x|xyes)
8844 # Assume -lc should be added
8845 archive_cmds_need_lc=yes
8847 if test "$enable_shared" = yes && test "$GCC" = yes; then
8848 case $archive_cmds in
8849 *'~'*)
8850 # FIXME: we may have to deal with multi-command sequences.
8852 '$CC '*)
8853 # Test whether the compiler implicitly links with -lc since on some
8854 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8855 # to ld, don't add -lc before -lgcc.
8856 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8857 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8858 $RM conftest*
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8862 (eval $ac_compile) 2>&5
8863 ac_status=$?
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); } 2>conftest.err; then
8866 soname=conftest
8867 lib=conftest
8868 libobjs=conftest.$ac_objext
8869 deplibs=
8870 wl=$lt_prog_compiler_wl
8871 pic_flag=$lt_prog_compiler_pic
8872 compiler_flags=-v
8873 linker_flags=-v
8874 verstring=
8875 output_objdir=.
8876 libname=conftest
8877 lt_save_allow_undefined_flag=$allow_undefined_flag
8878 allow_undefined_flag=
8879 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8880 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8881 ac_status=$?
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }
8884 then
8885 archive_cmds_need_lc=no
8886 else
8887 archive_cmds_need_lc=yes
8889 allow_undefined_flag=$lt_save_allow_undefined_flag
8890 else
8891 cat conftest.err 1>&5
8893 $RM conftest*
8894 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8895 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8897 esac
8900 esac
9058 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9059 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9060 withGCC=$GCC
9061 if test "$withGCC" = yes; then
9062 case $host_os in
9063 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9064 *) lt_awk_arg="/^libraries:/" ;;
9065 esac
9066 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9067 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9068 # if the path contains ";" then we assume it to be the separator
9069 # otherwise default to the standard path separator (i.e. ":") - it is
9070 # assumed that no part of a normal pathname contains ";" but that should
9071 # okay in the real world where ";" in dirpaths is itself problematic.
9072 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9073 else
9074 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9076 # Ok, now we have the path, separated by spaces, we can step through it
9077 # and add multilib dir if necessary.
9078 lt_tmp_lt_search_path_spec=
9079 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9080 for lt_sys_path in $lt_search_path_spec; do
9081 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9083 else
9084 test -d "$lt_sys_path" && \
9085 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9087 done
9088 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9089 BEGIN {RS=" "; FS="/|\n";} {
9090 lt_foo="";
9091 lt_count=0;
9092 for (lt_i = NF; lt_i > 0; lt_i--) {
9093 if ($lt_i != "" && $lt_i != ".") {
9094 if ($lt_i == "..") {
9095 lt_count++;
9096 } else {
9097 if (lt_count == 0) {
9098 lt_foo="/" $lt_i lt_foo;
9099 } else {
9100 lt_count--;
9105 if (lt_foo != "") { lt_freq[lt_foo]++; }
9106 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9108 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9109 else
9110 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9112 library_names_spec=
9113 libname_spec='lib$name'
9114 soname_spec=
9115 shrext_cmds=".so"
9116 postinstall_cmds=
9117 postuninstall_cmds=
9118 finish_cmds=
9119 finish_eval=
9120 shlibpath_var=
9121 shlibpath_overrides_runpath=unknown
9122 version_type=none
9123 dynamic_linker="$host_os ld.so"
9124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9125 need_lib_prefix=unknown
9126 hardcode_into_libs=no
9128 # when you set need_version to no, make sure it does not cause -set_version
9129 # flags to be left without arguments
9130 need_version=unknown
9132 case $host_os in
9133 aix3*)
9134 version_type=linux
9135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9136 shlibpath_var=LIBPATH
9138 # AIX 3 has no versioning support, so we append a major version to the name.
9139 soname_spec='${libname}${release}${shared_ext}$major'
9142 aix[4-9]*)
9143 version_type=linux
9144 need_lib_prefix=no
9145 need_version=no
9146 hardcode_into_libs=yes
9147 if test "$host_cpu" = ia64; then
9148 # AIX 5 supports IA64
9149 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9150 shlibpath_var=LD_LIBRARY_PATH
9151 else
9152 # With GCC up to 2.95.x, collect2 would create an import file
9153 # for dependence libraries. The import file would start with
9154 # the line `#! .'. This would cause the generated library to
9155 # depend on `.', always an invalid library. This was fixed in
9156 # development snapshots of GCC prior to 3.0.
9157 case $host_os in
9158 aix4 | aix4.[01] | aix4.[01].*)
9159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9160 echo ' yes '
9161 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9163 else
9164 can_build_shared=no
9167 esac
9168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9169 # soname into executable. Probably we can add versioning support to
9170 # collect2, so additional links can be useful in future.
9171 if test "$aix_use_runtimelinking" = yes; then
9172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9173 # instead of lib<name>.a to let people know that these are not
9174 # typical AIX shared libraries.
9175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9176 else
9177 # We preserve .a as extension for shared libraries through AIX4.2
9178 # and later when we are not doing run time linking.
9179 library_names_spec='${libname}${release}.a $libname.a'
9180 soname_spec='${libname}${release}${shared_ext}$major'
9182 shlibpath_var=LIBPATH
9186 amigaos*)
9187 if test "$host_cpu" = m68k; then
9188 library_names_spec='$libname.ixlibrary $libname.a'
9189 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9190 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'
9191 else
9192 dynamic_linker=no
9196 beos*)
9197 library_names_spec='${libname}${shared_ext}'
9198 dynamic_linker="$host_os ld.so"
9199 shlibpath_var=LIBRARY_PATH
9202 bsdi[45]*)
9203 version_type=linux
9204 need_version=no
9205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9206 soname_spec='${libname}${release}${shared_ext}$major'
9207 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9208 shlibpath_var=LD_LIBRARY_PATH
9209 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9210 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9211 # the default ld.so.conf also contains /usr/contrib/lib and
9212 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9213 # libtool to hard-code these into programs
9216 cygwin* | mingw* | pw32*)
9217 version_type=windows
9218 shrext_cmds=".dll"
9219 need_version=no
9220 need_lib_prefix=no
9222 case $withGCC,$host_os in
9223 yes,cygwin* | yes,mingw* | yes,pw32*)
9224 library_names_spec='$libname.dll.a'
9225 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9226 postinstall_cmds='base_file=`basename \${file}`~
9227 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9228 dldir=$destdir/`dirname \$dlpath`~
9229 test -d \$dldir || mkdir -p \$dldir~
9230 $install_prog $dir/$dlname \$dldir/$dlname~
9231 chmod a+x \$dldir/$dlname~
9232 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9233 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9235 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9236 dlpath=$dir/\$dldll~
9237 $RM \$dlpath'
9238 shlibpath_overrides_runpath=yes
9240 case $host_os in
9241 cygwin*)
9242 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9243 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9244 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9246 mingw*)
9247 # MinGW DLLs use traditional 'lib' prefix
9248 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9249 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9250 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9251 # It is most probably a Windows format PATH printed by
9252 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9253 # path with ; separators, and with drive letters. We can handle the
9254 # drive letters (cygwin fileutils understands them), so leave them,
9255 # especially as we might pass files found there to a mingw objdump,
9256 # which wouldn't understand a cygwinified path. Ahh.
9257 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9258 else
9259 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9262 pw32*)
9263 # pw32 DLLs use 'pw' prefix rather than 'lib'
9264 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9266 esac
9270 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9272 esac
9273 dynamic_linker='Win32 ld.exe'
9274 # FIXME: first we should search . and the directory the executable is in
9275 shlibpath_var=PATH
9278 darwin* | rhapsody*)
9279 dynamic_linker="$host_os dyld"
9280 version_type=darwin
9281 need_lib_prefix=no
9282 need_version=no
9283 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9284 soname_spec='${libname}${release}${major}$shared_ext'
9285 shlibpath_overrides_runpath=yes
9286 shlibpath_var=DYLD_LIBRARY_PATH
9287 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9289 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9290 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9293 dgux*)
9294 version_type=linux
9295 need_lib_prefix=no
9296 need_version=no
9297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9298 soname_spec='${libname}${release}${shared_ext}$major'
9299 shlibpath_var=LD_LIBRARY_PATH
9302 freebsd1*)
9303 dynamic_linker=no
9306 freebsd* | dragonfly*)
9307 # DragonFly does not have aout. When/if they implement a new
9308 # versioning mechanism, adjust this.
9309 if test -x /usr/bin/objformat; then
9310 objformat=`/usr/bin/objformat`
9311 else
9312 case $host_os in
9313 freebsd[123]*) objformat=aout ;;
9314 *) objformat=elf ;;
9315 esac
9317 version_type=freebsd-$objformat
9318 case $version_type in
9319 freebsd-elf*)
9320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9321 need_version=no
9322 need_lib_prefix=no
9324 freebsd-*)
9325 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9326 need_version=yes
9328 esac
9329 shlibpath_var=LD_LIBRARY_PATH
9330 case $host_os in
9331 freebsd2*)
9332 shlibpath_overrides_runpath=yes
9334 freebsd3.[01]* | freebsdelf3.[01]*)
9335 shlibpath_overrides_runpath=yes
9336 hardcode_into_libs=yes
9338 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9339 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9340 shlibpath_overrides_runpath=no
9341 hardcode_into_libs=yes
9343 *) # from 4.6 on, and DragonFly
9344 shlibpath_overrides_runpath=yes
9345 hardcode_into_libs=yes
9347 esac
9350 gnu*)
9351 version_type=linux
9352 need_lib_prefix=no
9353 need_version=no
9354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9355 soname_spec='${libname}${release}${shared_ext}$major'
9356 shlibpath_var=LD_LIBRARY_PATH
9357 hardcode_into_libs=yes
9360 hpux9* | hpux10* | hpux11*)
9361 # Give a soname corresponding to the major version so that dld.sl refuses to
9362 # link against other versions.
9363 version_type=sunos
9364 need_lib_prefix=no
9365 need_version=no
9366 case $host_cpu in
9367 ia64*)
9368 shrext_cmds='.so'
9369 hardcode_into_libs=yes
9370 dynamic_linker="$host_os dld.so"
9371 shlibpath_var=LD_LIBRARY_PATH
9372 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9375 if test "X$HPUX_IA64_MODE" = X32; then
9376 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9377 else
9378 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9380 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9382 hppa*64*)
9383 shrext_cmds='.sl'
9384 hardcode_into_libs=yes
9385 dynamic_linker="$host_os dld.sl"
9386 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9387 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9389 soname_spec='${libname}${release}${shared_ext}$major'
9390 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9391 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9394 shrext_cmds='.sl'
9395 dynamic_linker="$host_os dld.sl"
9396 shlibpath_var=SHLIB_PATH
9397 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399 soname_spec='${libname}${release}${shared_ext}$major'
9401 esac
9402 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9403 postinstall_cmds='chmod 555 $lib'
9406 interix[3-9]*)
9407 version_type=linux
9408 need_lib_prefix=no
9409 need_version=no
9410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9411 soname_spec='${libname}${release}${shared_ext}$major'
9412 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9413 shlibpath_var=LD_LIBRARY_PATH
9414 shlibpath_overrides_runpath=no
9415 hardcode_into_libs=yes
9418 irix5* | irix6* | nonstopux*)
9419 case $host_os in
9420 nonstopux*) version_type=nonstopux ;;
9422 if test "$lt_cv_prog_gnu_ld" = yes; then
9423 version_type=linux
9424 else
9425 version_type=irix
9426 fi ;;
9427 esac
9428 need_lib_prefix=no
9429 need_version=no
9430 soname_spec='${libname}${release}${shared_ext}$major'
9431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9432 case $host_os in
9433 irix5* | nonstopux*)
9434 libsuff= shlibsuff=
9437 case $LD in # libtool.m4 will add one of these switches to LD
9438 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9439 libsuff= shlibsuff= libmagic=32-bit;;
9440 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9441 libsuff=32 shlibsuff=N32 libmagic=N32;;
9442 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9443 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9444 *) libsuff= shlibsuff= libmagic=never-match;;
9445 esac
9447 esac
9448 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9449 shlibpath_overrides_runpath=no
9450 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9451 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9452 hardcode_into_libs=yes
9455 # No shared lib support for Linux oldld, aout, or coff.
9456 linux*oldld* | linux*aout* | linux*coff*)
9457 dynamic_linker=no
9460 # This must be Linux ELF.
9461 linux* | k*bsd*-gnu)
9462 version_type=linux
9463 need_lib_prefix=no
9464 need_version=no
9465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9466 soname_spec='${libname}${release}${shared_ext}$major'
9467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9468 shlibpath_var=LD_LIBRARY_PATH
9469 shlibpath_overrides_runpath=no
9470 # Some binutils ld are patched to set DT_RUNPATH
9471 save_LDFLAGS=$LDFLAGS
9472 save_libdir=$libdir
9473 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9474 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9475 if test x$gcc_no_link = xyes; then
9476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9478 { (exit 1); exit 1; }; }
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9488 main ()
9492 return 0;
9494 _ACEOF
9495 rm -f conftest.$ac_objext conftest$ac_exeext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9497 (eval $ac_link) 2>conftest.er1
9498 ac_status=$?
9499 grep -v '^ *+' conftest.er1 >conftest.err
9500 rm -f conftest.er1
9501 cat conftest.err >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); } &&
9504 { ac_try='test -z "$ac_c_werror_flag"
9505 || test ! -s conftest.err'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507 (eval $ac_try) 2>&5
9508 ac_status=$?
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; } &&
9511 { ac_try='test -s conftest$ac_exeext'
9512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 (eval $ac_try) 2>&5
9514 ac_status=$?
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; }; then
9517 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9518 shlibpath_overrides_runpath=yes
9521 else
9522 echo "$as_me: failed program was:" >&5
9523 sed 's/^/| /' conftest.$ac_ext >&5
9526 rm -f conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 LDFLAGS=$save_LDFLAGS
9529 libdir=$save_libdir
9531 # This implies no fast_install, which is unacceptable.
9532 # Some rework will be needed to allow for fast_install
9533 # before this can be enabled.
9534 hardcode_into_libs=yes
9536 # Append ld.so.conf contents to the search path
9537 if test -f /etc/ld.so.conf; then
9538 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' ' '`
9539 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9542 # We used to test for /lib/ld.so.1 and disable shared libraries on
9543 # powerpc, because MkLinux only supported shared libraries with the
9544 # GNU dynamic linker. Since this was broken with cross compilers,
9545 # most powerpc-linux boxes support dynamic linking these days and
9546 # people can always --disable-shared, the test was removed, and we
9547 # assume the GNU/Linux dynamic linker is in use.
9548 dynamic_linker='GNU/Linux ld.so'
9551 netbsd*)
9552 version_type=sunos
9553 need_lib_prefix=no
9554 need_version=no
9555 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9558 dynamic_linker='NetBSD (a.out) ld.so'
9559 else
9560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9561 soname_spec='${libname}${release}${shared_ext}$major'
9562 dynamic_linker='NetBSD ld.elf_so'
9564 shlibpath_var=LD_LIBRARY_PATH
9565 shlibpath_overrides_runpath=yes
9566 hardcode_into_libs=yes
9569 newsos6)
9570 version_type=linux
9571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9572 shlibpath_var=LD_LIBRARY_PATH
9573 shlibpath_overrides_runpath=yes
9576 *nto* | *qnx*)
9577 version_type=qnx
9578 need_lib_prefix=no
9579 need_version=no
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 shlibpath_var=LD_LIBRARY_PATH
9583 shlibpath_overrides_runpath=no
9584 hardcode_into_libs=yes
9585 dynamic_linker='ldqnx.so'
9588 openbsd*)
9589 version_type=sunos
9590 sys_lib_dlsearch_path_spec="/usr/lib"
9591 need_lib_prefix=no
9592 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9593 case $host_os in
9594 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9595 *) need_version=no ;;
9596 esac
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9598 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9599 shlibpath_var=LD_LIBRARY_PATH
9600 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9601 case $host_os in
9602 openbsd2.[89] | openbsd2.[89].*)
9603 shlibpath_overrides_runpath=no
9606 shlibpath_overrides_runpath=yes
9608 esac
9609 else
9610 shlibpath_overrides_runpath=yes
9614 os2*)
9615 libname_spec='$name'
9616 shrext_cmds=".dll"
9617 need_lib_prefix=no
9618 library_names_spec='$libname${shared_ext} $libname.a'
9619 dynamic_linker='OS/2 ld.exe'
9620 shlibpath_var=LIBPATH
9623 osf3* | osf4* | osf5*)
9624 version_type=osf
9625 need_lib_prefix=no
9626 need_version=no
9627 soname_spec='${libname}${release}${shared_ext}$major'
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9629 shlibpath_var=LD_LIBRARY_PATH
9630 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9631 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9634 rdos*)
9635 dynamic_linker=no
9638 solaris*)
9639 version_type=linux
9640 need_lib_prefix=no
9641 need_version=no
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9643 soname_spec='${libname}${release}${shared_ext}$major'
9644 shlibpath_var=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath=yes
9646 hardcode_into_libs=yes
9647 # ldd complains unless libraries are executable
9648 postinstall_cmds='chmod +x $lib'
9651 sunos4*)
9652 version_type=sunos
9653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9654 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9655 shlibpath_var=LD_LIBRARY_PATH
9656 shlibpath_overrides_runpath=yes
9657 if test "$with_gnu_ld" = yes; then
9658 need_lib_prefix=no
9660 need_version=yes
9663 sysv4 | sysv4.3*)
9664 version_type=linux
9665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 soname_spec='${libname}${release}${shared_ext}$major'
9667 shlibpath_var=LD_LIBRARY_PATH
9668 case $host_vendor in
9669 sni)
9670 shlibpath_overrides_runpath=no
9671 need_lib_prefix=no
9672 runpath_var=LD_RUN_PATH
9674 siemens)
9675 need_lib_prefix=no
9677 motorola)
9678 need_lib_prefix=no
9679 need_version=no
9680 shlibpath_overrides_runpath=no
9681 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9683 esac
9686 sysv4*MP*)
9687 if test -d /usr/nec ;then
9688 version_type=linux
9689 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9690 soname_spec='$libname${shared_ext}.$major'
9691 shlibpath_var=LD_LIBRARY_PATH
9695 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9696 version_type=freebsd-elf
9697 need_lib_prefix=no
9698 need_version=no
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 shlibpath_var=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath=yes
9703 hardcode_into_libs=yes
9704 if test "$with_gnu_ld" = yes; then
9705 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9706 else
9707 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9708 case $host_os in
9709 sco3.2v5*)
9710 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9712 esac
9714 sys_lib_dlsearch_path_spec='/usr/lib'
9717 tpf*)
9718 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9719 version_type=linux
9720 need_lib_prefix=no
9721 need_version=no
9722 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723 shlibpath_var=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath=no
9725 hardcode_into_libs=yes
9728 uts4*)
9729 version_type=linux
9730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9731 soname_spec='${libname}${release}${shared_ext}$major'
9732 shlibpath_var=LD_LIBRARY_PATH
9736 dynamic_linker=no
9738 esac
9739 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9740 echo "${ECHO_T}$dynamic_linker" >&6
9741 test "$dynamic_linker" = no && can_build_shared=no
9743 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9744 if test "$GCC" = yes; then
9745 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9834 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9835 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9836 hardcode_action=
9837 if test -n "$hardcode_libdir_flag_spec" ||
9838 test -n "$runpath_var" ||
9839 test "X$hardcode_automatic" = "Xyes" ; then
9841 # We can hardcode non-existent directories.
9842 if test "$hardcode_direct" != no &&
9843 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9844 # have to relink, otherwise we might link with an installed library
9845 # when we should be linking with a yet-to-be-installed one
9846 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9847 test "$hardcode_minus_L" != no; then
9848 # Linking always hardcodes the temporary library directory.
9849 hardcode_action=relink
9850 else
9851 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9852 hardcode_action=immediate
9854 else
9855 # We cannot hardcode anything, or else we can only hardcode existing
9856 # directories.
9857 hardcode_action=unsupported
9859 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9860 echo "${ECHO_T}$hardcode_action" >&6
9862 if test "$hardcode_action" = relink ||
9863 test "$inherit_rpath" = yes; then
9864 # Fast installation is not supported
9865 enable_fast_install=no
9866 elif test "$shlibpath_overrides_runpath" = yes ||
9867 test "$enable_shared" = no; then
9868 # Fast installation is not necessary
9869 enable_fast_install=needless
9877 if test "x$enable_dlopen" != xyes; then
9878 enable_dlopen=unknown
9879 enable_dlopen_self=unknown
9880 enable_dlopen_self_static=unknown
9881 else
9882 lt_cv_dlopen=no
9883 lt_cv_dlopen_libs=
9885 case $host_os in
9886 beos*)
9887 lt_cv_dlopen="load_add_on"
9888 lt_cv_dlopen_libs=
9889 lt_cv_dlopen_self=yes
9892 mingw* | pw32*)
9893 lt_cv_dlopen="LoadLibrary"
9894 lt_cv_dlopen_libs=
9897 cygwin*)
9898 lt_cv_dlopen="dlopen"
9899 lt_cv_dlopen_libs=
9902 darwin*)
9903 # if libdl is installed we need to link against it
9904 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9905 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9906 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 else
9909 ac_check_lib_save_LIBS=$LIBS
9910 LIBS="-ldl $LIBS"
9911 if test x$gcc_no_link = xyes; then
9912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9914 { (exit 1); exit 1; }; }
9916 cat >conftest.$ac_ext <<_ACEOF
9917 /* confdefs.h. */
9918 _ACEOF
9919 cat confdefs.h >>conftest.$ac_ext
9920 cat >>conftest.$ac_ext <<_ACEOF
9921 /* end confdefs.h. */
9923 /* Override any gcc2 internal prototype to avoid an error. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 /* We use char because int might match the return type of a gcc2
9928 builtin and then its argument prototype would still apply. */
9929 char dlopen ();
9931 main ()
9933 dlopen ();
9935 return 0;
9937 _ACEOF
9938 rm -f conftest.$ac_objext conftest$ac_exeext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9940 (eval $ac_link) 2>conftest.er1
9941 ac_status=$?
9942 grep -v '^ *+' conftest.er1 >conftest.err
9943 rm -f conftest.er1
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } &&
9947 { ac_try='test -z "$ac_c_werror_flag"
9948 || test ! -s conftest.err'
9949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 (eval $ac_try) 2>&5
9951 ac_status=$?
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); }; } &&
9954 { ac_try='test -s conftest$ac_exeext'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 (eval $ac_try) 2>&5
9957 ac_status=$?
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; }; then
9960 ac_cv_lib_dl_dlopen=yes
9961 else
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.$ac_ext >&5
9965 ac_cv_lib_dl_dlopen=no
9967 rm -f conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_lib_save_LIBS
9971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9973 if test $ac_cv_lib_dl_dlopen = yes; then
9974 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9975 else
9977 lt_cv_dlopen="dyld"
9978 lt_cv_dlopen_libs=
9979 lt_cv_dlopen_self=yes
9986 echo "$as_me:$LINENO: checking for shl_load" >&5
9987 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9988 if test "${ac_cv_func_shl_load+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9991 if test x$gcc_no_link = xyes; then
9992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9994 { (exit 1); exit 1; }; }
9996 cat >conftest.$ac_ext <<_ACEOF
9997 /* confdefs.h. */
9998 _ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10004 #define shl_load innocuous_shl_load
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char shl_load (); below.
10008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10009 <limits.h> exists even on freestanding compilers. */
10011 #ifdef __STDC__
10012 # include <limits.h>
10013 #else
10014 # include <assert.h>
10015 #endif
10017 #undef shl_load
10019 /* Override any gcc2 internal prototype to avoid an error. */
10020 #ifdef __cplusplus
10021 extern "C"
10023 #endif
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char shl_load ();
10027 /* The GNU C library defines this for functions which it implements
10028 to always fail with ENOSYS. Some functions are actually named
10029 something starting with __ and the normal name is an alias. */
10030 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10031 choke me
10032 #else
10033 char (*f) () = shl_load;
10034 #endif
10035 #ifdef __cplusplus
10037 #endif
10040 main ()
10042 return f != shl_load;
10044 return 0;
10046 _ACEOF
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10049 (eval $ac_link) 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag"
10057 || test ! -s conftest.err'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10060 ac_status=$?
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; } &&
10063 { ac_try='test -s conftest$ac_exeext'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10066 ac_status=$?
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; }; then
10069 ac_cv_func_shl_load=yes
10070 else
10071 echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10074 ac_cv_func_shl_load=no
10076 rm -f conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10079 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10080 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10081 if test $ac_cv_func_shl_load = yes; then
10082 lt_cv_dlopen="shl_load"
10083 else
10084 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10085 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10086 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-ldld $LIBS"
10091 if test x$gcc_no_link = xyes; then
10092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10094 { (exit 1); exit 1; }; }
10096 cat >conftest.$ac_ext <<_ACEOF
10097 /* confdefs.h. */
10098 _ACEOF
10099 cat confdefs.h >>conftest.$ac_ext
10100 cat >>conftest.$ac_ext <<_ACEOF
10101 /* end confdefs.h. */
10103 /* Override any gcc2 internal prototype to avoid an error. */
10104 #ifdef __cplusplus
10105 extern "C"
10106 #endif
10107 /* We use char because int might match the return type of a gcc2
10108 builtin and then its argument prototype would still apply. */
10109 char shl_load ();
10111 main ()
10113 shl_load ();
10115 return 0;
10117 _ACEOF
10118 rm -f conftest.$ac_objext conftest$ac_exeext
10119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10120 (eval $ac_link) 2>conftest.er1
10121 ac_status=$?
10122 grep -v '^ *+' conftest.er1 >conftest.err
10123 rm -f conftest.er1
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } &&
10127 { ac_try='test -z "$ac_c_werror_flag"
10128 || test ! -s conftest.err'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10131 ac_status=$?
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; } &&
10134 { ac_try='test -s conftest$ac_exeext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10137 ac_status=$?
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then
10140 ac_cv_lib_dld_shl_load=yes
10141 else
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 ac_cv_lib_dld_shl_load=no
10147 rm -f conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_lib_save_LIBS
10151 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10152 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10153 if test $ac_cv_lib_dld_shl_load = yes; then
10154 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10155 else
10156 echo "$as_me:$LINENO: checking for dlopen" >&5
10157 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10158 if test "${ac_cv_func_dlopen+set}" = set; then
10159 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 else
10161 if test x$gcc_no_link = xyes; then
10162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10164 { (exit 1); exit 1; }; }
10166 cat >conftest.$ac_ext <<_ACEOF
10167 /* confdefs.h. */
10168 _ACEOF
10169 cat confdefs.h >>conftest.$ac_ext
10170 cat >>conftest.$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10174 #define dlopen innocuous_dlopen
10176 /* System header to define __stub macros and hopefully few prototypes,
10177 which can conflict with char dlopen (); below.
10178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10179 <limits.h> exists even on freestanding compilers. */
10181 #ifdef __STDC__
10182 # include <limits.h>
10183 #else
10184 # include <assert.h>
10185 #endif
10187 #undef dlopen
10189 /* Override any gcc2 internal prototype to avoid an error. */
10190 #ifdef __cplusplus
10191 extern "C"
10193 #endif
10194 /* We use char because int might match the return type of a gcc2
10195 builtin and then its argument prototype would still apply. */
10196 char dlopen ();
10197 /* The GNU C library defines this for functions which it implements
10198 to always fail with ENOSYS. Some functions are actually named
10199 something starting with __ and the normal name is an alias. */
10200 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10201 choke me
10202 #else
10203 char (*f) () = dlopen;
10204 #endif
10205 #ifdef __cplusplus
10207 #endif
10210 main ()
10212 return f != dlopen;
10214 return 0;
10216 _ACEOF
10217 rm -f conftest.$ac_objext conftest$ac_exeext
10218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10219 (eval $ac_link) 2>conftest.er1
10220 ac_status=$?
10221 grep -v '^ *+' conftest.er1 >conftest.err
10222 rm -f conftest.er1
10223 cat conftest.err >&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } &&
10226 { ac_try='test -z "$ac_c_werror_flag"
10227 || test ! -s conftest.err'
10228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10229 (eval $ac_try) 2>&5
10230 ac_status=$?
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); }; } &&
10233 { ac_try='test -s conftest$ac_exeext'
10234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10235 (eval $ac_try) 2>&5
10236 ac_status=$?
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); }; }; then
10239 ac_cv_func_dlopen=yes
10240 else
10241 echo "$as_me: failed program was:" >&5
10242 sed 's/^/| /' conftest.$ac_ext >&5
10244 ac_cv_func_dlopen=no
10246 rm -f conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10249 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10250 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10251 if test $ac_cv_func_dlopen = yes; then
10252 lt_cv_dlopen="dlopen"
10253 else
10254 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10255 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 else
10259 ac_check_lib_save_LIBS=$LIBS
10260 LIBS="-ldl $LIBS"
10261 if test x$gcc_no_link = xyes; then
10262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10264 { (exit 1); exit 1; }; }
10266 cat >conftest.$ac_ext <<_ACEOF
10267 /* confdefs.h. */
10268 _ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10273 /* Override any gcc2 internal prototype to avoid an error. */
10274 #ifdef __cplusplus
10275 extern "C"
10276 #endif
10277 /* We use char because int might match the return type of a gcc2
10278 builtin and then its argument prototype would still apply. */
10279 char dlopen ();
10281 main ()
10283 dlopen ();
10285 return 0;
10287 _ACEOF
10288 rm -f conftest.$ac_objext conftest$ac_exeext
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 (eval $ac_link) 2>conftest.er1
10291 ac_status=$?
10292 grep -v '^ *+' conftest.er1 >conftest.err
10293 rm -f conftest.er1
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } &&
10297 { ac_try='test -z "$ac_c_werror_flag"
10298 || test ! -s conftest.err'
10299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300 (eval $ac_try) 2>&5
10301 ac_status=$?
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); }; } &&
10304 { ac_try='test -s conftest$ac_exeext'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10307 ac_status=$?
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; }; then
10310 ac_cv_lib_dl_dlopen=yes
10311 else
10312 echo "$as_me: failed program was:" >&5
10313 sed 's/^/| /' conftest.$ac_ext >&5
10315 ac_cv_lib_dl_dlopen=no
10317 rm -f conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_lib_save_LIBS
10321 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10322 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10323 if test $ac_cv_lib_dl_dlopen = yes; then
10324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10325 else
10326 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10327 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10328 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 else
10331 ac_check_lib_save_LIBS=$LIBS
10332 LIBS="-lsvld $LIBS"
10333 if test x$gcc_no_link = xyes; then
10334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10336 { (exit 1); exit 1; }; }
10338 cat >conftest.$ac_ext <<_ACEOF
10339 /* confdefs.h. */
10340 _ACEOF
10341 cat confdefs.h >>conftest.$ac_ext
10342 cat >>conftest.$ac_ext <<_ACEOF
10343 /* end confdefs.h. */
10345 /* Override any gcc2 internal prototype to avoid an error. */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 /* We use char because int might match the return type of a gcc2
10350 builtin and then its argument prototype would still apply. */
10351 char dlopen ();
10353 main ()
10355 dlopen ();
10357 return 0;
10359 _ACEOF
10360 rm -f conftest.$ac_objext conftest$ac_exeext
10361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10362 (eval $ac_link) 2>conftest.er1
10363 ac_status=$?
10364 grep -v '^ *+' conftest.er1 >conftest.err
10365 rm -f conftest.er1
10366 cat conftest.err >&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } &&
10369 { ac_try='test -z "$ac_c_werror_flag"
10370 || test ! -s conftest.err'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10373 ac_status=$?
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; } &&
10376 { ac_try='test -s conftest$ac_exeext'
10377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378 (eval $ac_try) 2>&5
10379 ac_status=$?
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }; }; then
10382 ac_cv_lib_svld_dlopen=yes
10383 else
10384 echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.$ac_ext >&5
10387 ac_cv_lib_svld_dlopen=no
10389 rm -f conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10393 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10394 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10395 if test $ac_cv_lib_svld_dlopen = yes; then
10396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10397 else
10398 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10399 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10400 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 else
10403 ac_check_lib_save_LIBS=$LIBS
10404 LIBS="-ldld $LIBS"
10405 if test x$gcc_no_link = xyes; then
10406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10408 { (exit 1); exit 1; }; }
10410 cat >conftest.$ac_ext <<_ACEOF
10411 /* confdefs.h. */
10412 _ACEOF
10413 cat confdefs.h >>conftest.$ac_ext
10414 cat >>conftest.$ac_ext <<_ACEOF
10415 /* end confdefs.h. */
10417 /* Override any gcc2 internal prototype to avoid an error. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 /* We use char because int might match the return type of a gcc2
10422 builtin and then its argument prototype would still apply. */
10423 char dld_link ();
10425 main ()
10427 dld_link ();
10429 return 0;
10431 _ACEOF
10432 rm -f conftest.$ac_objext conftest$ac_exeext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10434 (eval $ac_link) 2>conftest.er1
10435 ac_status=$?
10436 grep -v '^ *+' conftest.er1 >conftest.err
10437 rm -f conftest.er1
10438 cat conftest.err >&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } &&
10441 { ac_try='test -z "$ac_c_werror_flag"
10442 || test ! -s conftest.err'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10445 ac_status=$?
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; } &&
10448 { ac_try='test -s conftest$ac_exeext'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5
10451 ac_status=$?
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; }; then
10454 ac_cv_lib_dld_dld_link=yes
10455 else
10456 echo "$as_me: failed program was:" >&5
10457 sed 's/^/| /' conftest.$ac_ext >&5
10459 ac_cv_lib_dld_dld_link=no
10461 rm -f conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_lib_save_LIBS
10465 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10466 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10467 if test $ac_cv_lib_dld_dld_link = yes; then
10468 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10487 esac
10489 if test "x$lt_cv_dlopen" != xno; then
10490 enable_dlopen=yes
10491 else
10492 enable_dlopen=no
10495 case $lt_cv_dlopen in
10496 dlopen)
10497 save_CPPFLAGS="$CPPFLAGS"
10498 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10500 save_LDFLAGS="$LDFLAGS"
10501 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10503 save_LIBS="$LIBS"
10504 LIBS="$lt_cv_dlopen_libs $LIBS"
10506 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10507 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10508 if test "${lt_cv_dlopen_self+set}" = set; then
10509 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 else
10511 if test "$cross_compiling" = yes; then :
10512 lt_cv_dlopen_self=cross
10513 else
10514 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10515 lt_status=$lt_dlunknown
10516 cat > conftest.$ac_ext <<_LT_EOF
10517 #line 10517 "configure"
10518 #include "confdefs.h"
10520 #if HAVE_DLFCN_H
10521 #include <dlfcn.h>
10522 #endif
10524 #include <stdio.h>
10526 #ifdef RTLD_GLOBAL
10527 # define LT_DLGLOBAL RTLD_GLOBAL
10528 #else
10529 # ifdef DL_GLOBAL
10530 # define LT_DLGLOBAL DL_GLOBAL
10531 # else
10532 # define LT_DLGLOBAL 0
10533 # endif
10534 #endif
10536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10537 find out it does not work in some platform. */
10538 #ifndef LT_DLLAZY_OR_NOW
10539 # ifdef RTLD_LAZY
10540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10541 # else
10542 # ifdef DL_LAZY
10543 # define LT_DLLAZY_OR_NOW DL_LAZY
10544 # else
10545 # ifdef RTLD_NOW
10546 # define LT_DLLAZY_OR_NOW RTLD_NOW
10547 # else
10548 # ifdef DL_NOW
10549 # define LT_DLLAZY_OR_NOW DL_NOW
10550 # else
10551 # define LT_DLLAZY_OR_NOW 0
10552 # endif
10553 # endif
10554 # endif
10555 # endif
10556 #endif
10558 #ifdef __cplusplus
10559 extern "C" void exit (int);
10560 #endif
10562 void fnord() { int i=42;}
10563 int main ()
10565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10566 int status = $lt_dlunknown;
10568 if (self)
10570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10571 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10572 /* dlclose (self); */
10574 else
10575 puts (dlerror ());
10577 exit (status);
10579 _LT_EOF
10580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10581 (eval $ac_link) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10585 (./conftest; exit; ) >&5 2>/dev/null
10586 lt_status=$?
10587 case x$lt_status in
10588 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10589 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10590 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10591 esac
10592 else :
10593 # compilation failed
10594 lt_cv_dlopen_self=no
10597 rm -fr conftest*
10601 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10602 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10604 if test "x$lt_cv_dlopen_self" = xyes; then
10605 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10606 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10607 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10608 if test "${lt_cv_dlopen_self_static+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 else
10611 if test "$cross_compiling" = yes; then :
10612 lt_cv_dlopen_self_static=cross
10613 else
10614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10615 lt_status=$lt_dlunknown
10616 cat > conftest.$ac_ext <<_LT_EOF
10617 #line 10617 "configure"
10618 #include "confdefs.h"
10620 #if HAVE_DLFCN_H
10621 #include <dlfcn.h>
10622 #endif
10624 #include <stdio.h>
10626 #ifdef RTLD_GLOBAL
10627 # define LT_DLGLOBAL RTLD_GLOBAL
10628 #else
10629 # ifdef DL_GLOBAL
10630 # define LT_DLGLOBAL DL_GLOBAL
10631 # else
10632 # define LT_DLGLOBAL 0
10633 # endif
10634 #endif
10636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10637 find out it does not work in some platform. */
10638 #ifndef LT_DLLAZY_OR_NOW
10639 # ifdef RTLD_LAZY
10640 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10641 # else
10642 # ifdef DL_LAZY
10643 # define LT_DLLAZY_OR_NOW DL_LAZY
10644 # else
10645 # ifdef RTLD_NOW
10646 # define LT_DLLAZY_OR_NOW RTLD_NOW
10647 # else
10648 # ifdef DL_NOW
10649 # define LT_DLLAZY_OR_NOW DL_NOW
10650 # else
10651 # define LT_DLLAZY_OR_NOW 0
10652 # endif
10653 # endif
10654 # endif
10655 # endif
10656 #endif
10658 #ifdef __cplusplus
10659 extern "C" void exit (int);
10660 #endif
10662 void fnord() { int i=42;}
10663 int main ()
10665 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10666 int status = $lt_dlunknown;
10668 if (self)
10670 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10671 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10672 /* dlclose (self); */
10674 else
10675 puts (dlerror ());
10677 exit (status);
10679 _LT_EOF
10680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10681 (eval $ac_link) 2>&5
10682 ac_status=$?
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10685 (./conftest; exit; ) >&5 2>/dev/null
10686 lt_status=$?
10687 case x$lt_status in
10688 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10689 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10690 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10691 esac
10692 else :
10693 # compilation failed
10694 lt_cv_dlopen_self_static=no
10697 rm -fr conftest*
10701 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10702 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10705 CPPFLAGS="$save_CPPFLAGS"
10706 LDFLAGS="$save_LDFLAGS"
10707 LIBS="$save_LIBS"
10709 esac
10711 case $lt_cv_dlopen_self in
10712 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10713 *) enable_dlopen_self=unknown ;;
10714 esac
10716 case $lt_cv_dlopen_self_static in
10717 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10718 *) enable_dlopen_self_static=unknown ;;
10719 esac
10738 striplib=
10739 old_striplib=
10740 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10741 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10742 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10743 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10744 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10745 echo "$as_me:$LINENO: result: yes" >&5
10746 echo "${ECHO_T}yes" >&6
10747 else
10748 # FIXME - insert some real tests, host_os isn't really good enough
10749 case $host_os in
10750 darwin*)
10751 if test -n "$STRIP" ; then
10752 striplib="$STRIP -x"
10753 old_striplib="$STRIP -S"
10754 echo "$as_me:$LINENO: result: yes" >&5
10755 echo "${ECHO_T}yes" >&6
10756 else
10757 echo "$as_me:$LINENO: result: no" >&5
10758 echo "${ECHO_T}no" >&6
10762 echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6
10765 esac
10779 # Report which library types will actually be built
10780 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10781 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10782 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10783 echo "${ECHO_T}$can_build_shared" >&6
10785 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10786 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10787 test "$can_build_shared" = "no" && enable_shared=no
10789 # On AIX, shared libraries and static libraries use the same namespace, and
10790 # are all built from PIC.
10791 case $host_os in
10792 aix3*)
10793 test "$enable_shared" = yes && enable_static=no
10794 if test -n "$RANLIB"; then
10795 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10796 postinstall_cmds='$RANLIB $lib'
10800 aix[4-9]*)
10801 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10802 test "$enable_shared" = yes && enable_static=no
10805 esac
10806 echo "$as_me:$LINENO: result: $enable_shared" >&5
10807 echo "${ECHO_T}$enable_shared" >&6
10809 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10810 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10811 # Make sure either enable_shared or enable_static is yes.
10812 test "$enable_shared" = yes || enable_static=yes
10813 echo "$as_me:$LINENO: result: $enable_static" >&5
10814 echo "${ECHO_T}$enable_static" >&6
10820 ac_ext=c
10821 ac_cpp='$CPP $CPPFLAGS'
10822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10826 CC="$lt_save_CC"
10829 ac_ext=cc
10830 ac_cpp='$CXXCPP $CPPFLAGS'
10831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10835 archive_cmds_need_lc_CXX=no
10836 allow_undefined_flag_CXX=
10837 always_export_symbols_CXX=no
10838 archive_expsym_cmds_CXX=
10839 compiler_needs_object_CXX=no
10840 export_dynamic_flag_spec_CXX=
10841 hardcode_direct_CXX=no
10842 hardcode_direct_absolute_CXX=no
10843 hardcode_libdir_flag_spec_CXX=
10844 hardcode_libdir_flag_spec_ld_CXX=
10845 hardcode_libdir_separator_CXX=
10846 hardcode_minus_L_CXX=no
10847 hardcode_shlibpath_var_CXX=unsupported
10848 hardcode_automatic_CXX=no
10849 inherit_rpath_CXX=no
10850 module_cmds_CXX=
10851 module_expsym_cmds_CXX=
10852 link_all_deplibs_CXX=unknown
10853 old_archive_cmds_CXX=$old_archive_cmds
10854 no_undefined_flag_CXX=
10855 whole_archive_flag_spec_CXX=
10856 enable_shared_with_static_runtimes_CXX=no
10858 # Source file extension for C++ test sources.
10859 ac_ext=cpp
10861 # Object file extension for compiled C++ test sources.
10862 objext=o
10863 objext_CXX=$objext
10865 # No sense in running all these tests if we already determined that
10866 # the CXX compiler isn't working. Some variables (like enable_shared)
10867 # are currently assumed to apply to all compilers on this platform,
10868 # and will be corrupted by setting them based on a non-working compiler.
10869 if test "$_lt_caught_CXX_error" != yes; then
10870 # Code to be used in simple compile tests
10871 lt_simple_compile_test_code="int some_variable = 0;"
10873 # Code to be used in simple link tests
10874 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10876 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10883 # If no C compiler was specified, use CC.
10884 LTCC=${LTCC-"$CC"}
10886 # If no C compiler flags were specified, use CFLAGS.
10887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10889 # Allow CC to be a program name with arguments.
10890 compiler=$CC
10893 # save warnings/boilerplate of simple test code
10894 ac_outfile=conftest.$ac_objext
10895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10897 _lt_compiler_boilerplate=`cat conftest.err`
10898 $RM conftest*
10900 ac_outfile=conftest.$ac_objext
10901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10903 _lt_linker_boilerplate=`cat conftest.err`
10904 $RM conftest*
10907 # Allow CC to be a program name with arguments.
10908 lt_save_CC=$CC
10909 lt_save_LD=$LD
10910 lt_save_GCC=$GCC
10911 GCC=$GXX
10912 lt_save_with_gnu_ld=$with_gnu_ld
10913 lt_save_path_LD=$lt_cv_path_LD
10914 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10915 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10916 else
10917 $as_unset lt_cv_prog_gnu_ld
10919 if test -n "${lt_cv_path_LDCXX+set}"; then
10920 lt_cv_path_LD=$lt_cv_path_LDCXX
10921 else
10922 $as_unset lt_cv_path_LD
10924 test -z "${LDCXX+set}" || LD=$LDCXX
10925 CC=${CXX-"c++"}
10926 compiler=$CC
10927 compiler_CXX=$CC
10928 for cc_temp in $compiler""; do
10929 case $cc_temp in
10930 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10931 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10932 \-*) ;;
10933 *) break;;
10934 esac
10935 done
10936 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10939 if test -n "$compiler"; then
10940 # We don't want -fno-exception when compiling C++ code, so set the
10941 # no_builtin_flag separately
10942 if test "$GXX" = yes; then
10943 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10944 else
10945 lt_prog_compiler_no_builtin_flag_CXX=
10948 if test "$GXX" = yes; then
10949 # Set up default GNU C++ configuration
10953 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10954 if test "${with_gnu_ld+set}" = set; then
10955 withval="$with_gnu_ld"
10956 test "$withval" = no || with_gnu_ld=yes
10957 else
10958 with_gnu_ld=no
10960 ac_prog=ld
10961 if test "$GCC" = yes; then
10962 # Check if gcc -print-prog-name=ld gives a path.
10963 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10964 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10965 case $host in
10966 *-*-mingw*)
10967 # gcc leaves a trailing carriage return which upsets mingw
10968 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10970 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10971 esac
10972 case $ac_prog in
10973 # Accept absolute paths.
10974 [\\/]* | ?:[\\/]*)
10975 re_direlt='/[^/][^/]*/\.\./'
10976 # Canonicalize the pathname of ld
10977 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10978 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10979 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10980 done
10981 test -z "$LD" && LD="$ac_prog"
10984 # If it fails, then pretend we aren't using GCC.
10985 ac_prog=ld
10988 # If it is relative, then search for the first ld in PATH.
10989 with_gnu_ld=unknown
10991 esac
10992 elif test "$with_gnu_ld" = yes; then
10993 echo "$as_me:$LINENO: checking for GNU ld" >&5
10994 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10995 else
10996 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10997 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10999 if test "${lt_cv_path_LD+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002 if test -z "$LD"; then
11003 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11004 for ac_dir in $PATH; do
11005 IFS="$lt_save_ifs"
11006 test -z "$ac_dir" && ac_dir=.
11007 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11008 lt_cv_path_LD="$ac_dir/$ac_prog"
11009 # Check to see if the program is GNU ld. I'd rather use --version,
11010 # but apparently some variants of GNU ld only accept -v.
11011 # Break only if it was the GNU/non-GNU ld that we prefer.
11012 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11013 *GNU* | *'with BFD'*)
11014 test "$with_gnu_ld" != no && break
11017 test "$with_gnu_ld" != yes && break
11019 esac
11021 done
11022 IFS="$lt_save_ifs"
11023 else
11024 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11028 LD="$lt_cv_path_LD"
11029 if test -n "$LD"; then
11030 echo "$as_me:$LINENO: result: $LD" >&5
11031 echo "${ECHO_T}$LD" >&6
11032 else
11033 echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6
11036 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11037 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11038 { (exit 1); exit 1; }; }
11039 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11040 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11041 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11045 case `$LD -v 2>&1 </dev/null` in
11046 *GNU* | *'with BFD'*)
11047 lt_cv_prog_gnu_ld=yes
11050 lt_cv_prog_gnu_ld=no
11052 esac
11054 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11055 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11056 with_gnu_ld=$lt_cv_prog_gnu_ld
11064 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11065 # archiving commands below assume that GNU ld is being used.
11066 if test "$with_gnu_ld" = yes; then
11067 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11068 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'
11070 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11071 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11073 # If archive_cmds runs LD, not CC, wlarc should be empty
11074 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11075 # investigate it a little bit more. (MM)
11076 wlarc='${wl}'
11078 # ancient GNU ld didn't support --whole-archive et. al.
11079 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11080 $GREP 'no-whole-archive' > /dev/null; then
11081 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11082 else
11083 whole_archive_flag_spec_CXX=
11085 else
11086 with_gnu_ld=no
11087 wlarc=
11089 # A generic and very simple default shared library creation
11090 # command for GNU C++ for the case where it uses the native
11091 # linker, instead of GNU ld. If possible, this setting should
11092 # overridden to take advantage of the native linker features on
11093 # the platform it is being used on.
11094 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11097 # Commands to make compiler produce verbose output that lists
11098 # what "hidden" libraries, object files and flags are used when
11099 # linking a shared library.
11100 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11102 else
11103 GXX=no
11104 with_gnu_ld=no
11105 wlarc=
11108 # PORTME: fill in a description of your system's C++ link characteristics
11109 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11110 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11111 ld_shlibs_CXX=yes
11112 case $host_os in
11113 aix3*)
11114 # FIXME: insert proper C++ library support
11115 ld_shlibs_CXX=no
11117 aix[4-9]*)
11118 if test "$host_cpu" = ia64; then
11119 # On IA64, the linker does run time linking by default, so we don't
11120 # have to do anything special.
11121 aix_use_runtimelinking=no
11122 exp_sym_flag='-Bexport'
11123 no_entry_flag=""
11124 else
11125 aix_use_runtimelinking=no
11127 # Test if we are trying to use run time linking or normal
11128 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11129 # need to do runtime linking.
11130 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11131 for ld_flag in $LDFLAGS; do
11132 case $ld_flag in
11133 *-brtl*)
11134 aix_use_runtimelinking=yes
11135 break
11137 esac
11138 done
11140 esac
11142 exp_sym_flag='-bexport'
11143 no_entry_flag='-bnoentry'
11146 # When large executables or shared objects are built, AIX ld can
11147 # have problems creating the table of contents. If linking a library
11148 # or program results in "error TOC overflow" add -mminimal-toc to
11149 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11150 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11152 archive_cmds_CXX=''
11153 hardcode_direct_CXX=yes
11154 hardcode_direct_absolute_CXX=yes
11155 hardcode_libdir_separator_CXX=':'
11156 link_all_deplibs_CXX=yes
11157 file_list_spec_CXX='${wl}-f,'
11159 if test "$GXX" = yes; then
11160 case $host_os in aix4.[012]|aix4.[012].*)
11161 # We only want to do this on AIX 4.2 and lower, the check
11162 # below for broken collect2 doesn't work under 4.3+
11163 collect2name=`${CC} -print-prog-name=collect2`
11164 if test -f "$collect2name" &&
11165 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11166 then
11167 # We have reworked collect2
11169 else
11170 # We have old collect2
11171 hardcode_direct_CXX=unsupported
11172 # It fails to find uninstalled libraries when the uninstalled
11173 # path is not listed in the libpath. Setting hardcode_minus_L
11174 # to unsupported forces relinking
11175 hardcode_minus_L_CXX=yes
11176 hardcode_libdir_flag_spec_CXX='-L$libdir'
11177 hardcode_libdir_separator_CXX=
11179 esac
11180 shared_flag='-shared'
11181 if test "$aix_use_runtimelinking" = yes; then
11182 shared_flag="$shared_flag "'${wl}-G'
11184 else
11185 # not using gcc
11186 if test "$host_cpu" = ia64; then
11187 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11188 # chokes on -Wl,-G. The following line is correct:
11189 shared_flag='-G'
11190 else
11191 if test "$aix_use_runtimelinking" = yes; then
11192 shared_flag='${wl}-G'
11193 else
11194 shared_flag='${wl}-bM:SRE'
11199 # It seems that -bexpall does not export symbols beginning with
11200 # underscore (_), so it is better to generate a list of symbols to
11201 # export.
11202 always_export_symbols_CXX=yes
11203 if test "$aix_use_runtimelinking" = yes; then
11204 # Warning - without using the other runtime loading flags (-brtl),
11205 # -berok will link without error, but may produce a broken library.
11206 allow_undefined_flag_CXX='-berok'
11207 # Determine the default libpath from the value encoded in an empty
11208 # executable.
11209 if test x$gcc_no_link = xyes; then
11210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11212 { (exit 1); exit 1; }; }
11214 cat >conftest.$ac_ext <<_ACEOF
11215 /* confdefs.h. */
11216 _ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11222 main ()
11226 return 0;
11228 _ACEOF
11229 rm -f conftest.$ac_objext conftest$ac_exeext
11230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11231 (eval $ac_link) 2>conftest.er1
11232 ac_status=$?
11233 grep -v '^ *+' conftest.er1 >conftest.err
11234 rm -f conftest.er1
11235 cat conftest.err >&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); } &&
11238 { ac_try='test -z "$ac_cxx_werror_flag"
11239 || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try='test -s conftest$ac_exeext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11248 ac_status=$?
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11252 lt_aix_libpath_sed='
11253 /Import File Strings/,/^$/ {
11254 /^0/ {
11255 s/^0 *\(.*\)$/\1/
11259 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11260 # Check for a 64-bit object if we didn't find anything.
11261 if test -z "$aix_libpath"; then
11262 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11264 else
11265 echo "$as_me: failed program was:" >&5
11266 sed 's/^/| /' conftest.$ac_ext >&5
11269 rm -f conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11273 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11275 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"
11276 else
11277 if test "$host_cpu" = ia64; then
11278 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11279 allow_undefined_flag_CXX="-z nodefs"
11280 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"
11281 else
11282 # Determine the default libpath from the value encoded in an
11283 # empty executable.
11284 if test x$gcc_no_link = xyes; then
11285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11287 { (exit 1); exit 1; }; }
11289 cat >conftest.$ac_ext <<_ACEOF
11290 /* confdefs.h. */
11291 _ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11297 main ()
11301 return 0;
11303 _ACEOF
11304 rm -f conftest.$ac_objext conftest$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>conftest.er1
11307 ac_status=$?
11308 grep -v '^ *+' conftest.er1 >conftest.err
11309 rm -f conftest.er1
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try='test -z "$ac_cxx_werror_flag"
11314 || test ! -s conftest.err'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11317 ac_status=$?
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; } &&
11320 { ac_try='test -s conftest$ac_exeext'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11323 ac_status=$?
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; }; then
11327 lt_aix_libpath_sed='
11328 /Import File Strings/,/^$/ {
11329 /^0/ {
11330 s/^0 *\(.*\)$/\1/
11334 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11335 # Check for a 64-bit object if we didn't find anything.
11336 if test -z "$aix_libpath"; then
11337 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11339 else
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11344 rm -f conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11348 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11349 # Warning - without using the other run time loading flags,
11350 # -berok will link without error, but may produce a broken library.
11351 no_undefined_flag_CXX=' ${wl}-bernotok'
11352 allow_undefined_flag_CXX=' ${wl}-berok'
11353 # Exported symbols can be pulled into shared objects from archives
11354 whole_archive_flag_spec_CXX='$convenience'
11355 archive_cmds_need_lc_CXX=yes
11356 # This is similar to how AIX traditionally builds its shared
11357 # libraries.
11358 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'
11363 beos*)
11364 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11365 allow_undefined_flag_CXX=unsupported
11366 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11367 # support --undefined. This deserves some investigation. FIXME
11368 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11369 else
11370 ld_shlibs_CXX=no
11374 chorus*)
11375 case $cc_basename in
11377 # FIXME: insert proper C++ library support
11378 ld_shlibs_CXX=no
11380 esac
11383 cygwin* | mingw* | pw32*)
11384 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11385 # as there is no search path for DLLs.
11386 hardcode_libdir_flag_spec_CXX='-L$libdir'
11387 allow_undefined_flag_CXX=unsupported
11388 always_export_symbols_CXX=no
11389 enable_shared_with_static_runtimes_CXX=yes
11391 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11392 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'
11393 # If the export-symbols file already is a .def file (1st line
11394 # is EXPORTS), use it as is; otherwise, prepend...
11395 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11396 cp $export_symbols $output_objdir/$soname.def;
11397 else
11398 echo EXPORTS > $output_objdir/$soname.def;
11399 cat $export_symbols >> $output_objdir/$soname.def;
11401 $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'
11402 else
11403 ld_shlibs_CXX=no
11406 darwin* | rhapsody*)
11407 case $host_os in
11408 rhapsody* | darwin1.[012])
11409 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11411 *) # Darwin 1.3 on
11412 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11413 10.[012])
11414 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11416 10.*)
11417 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11419 esac
11421 esac
11422 archive_cmds_need_lc_CXX=no
11423 hardcode_direct_CXX=no
11424 hardcode_automatic_CXX=yes
11425 hardcode_shlibpath_var_CXX=unsupported
11426 whole_archive_flag_spec_CXX=''
11427 link_all_deplibs_CXX=yes
11429 if test "$GXX" = yes ; then
11430 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 else
11433 lt_cv_apple_cc_single_mod=no
11434 if test -z "${LT_MULTI_MODULE}"; then
11435 # By default we will add the -single_module flag. You can override
11436 # by either setting the environment variable LT_MULTI_MODULE
11437 # non-empty at configure time, or by adding -multi-module to the
11438 # link flags.
11439 echo "int foo(void){return 1;}" > conftest.c
11440 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11441 -dynamiclib ${wl}-single_module conftest.c
11442 if test -f libconftest.dylib; then
11443 lt_cv_apple_cc_single_mod=yes
11444 rm libconftest.dylib
11446 rm conftest.$ac_ext
11450 output_verbose_link_cmd=echo
11451 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11452 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11453 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}'
11454 else
11455 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'
11456 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}'
11458 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11459 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}'
11460 else
11461 case $cc_basename in
11462 xlc*)
11463 output_verbose_link_cmd=echo
11464 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'
11465 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11466 # Don't fix this by using the ld -exported_symbols_list flag,
11467 # it doesn't exist in older darwin lds
11468 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}'
11469 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}'
11472 ld_shlibs_CXX=no
11474 esac
11478 dgux*)
11479 case $cc_basename in
11480 ec++*)
11481 # FIXME: insert proper C++ library support
11482 ld_shlibs_CXX=no
11484 ghcx*)
11485 # Green Hills C++ Compiler
11486 # FIXME: insert proper C++ library support
11487 ld_shlibs_CXX=no
11490 # FIXME: insert proper C++ library support
11491 ld_shlibs_CXX=no
11493 esac
11496 freebsd[12]*)
11497 # C++ shared libraries reported to be fairly broken before
11498 # switch to ELF
11499 ld_shlibs_CXX=no
11502 freebsd-elf*)
11503 archive_cmds_need_lc_CXX=no
11506 freebsd* | dragonfly*)
11507 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11508 # conventions
11509 ld_shlibs_CXX=yes
11512 gnu*)
11515 hpux9*)
11516 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11517 hardcode_libdir_separator_CXX=:
11518 export_dynamic_flag_spec_CXX='${wl}-E'
11519 hardcode_direct_CXX=yes
11520 hardcode_minus_L_CXX=yes # Not in the search PATH,
11521 # but as the default
11522 # location of the library.
11524 case $cc_basename in
11525 CC*)
11526 # FIXME: insert proper C++ library support
11527 ld_shlibs_CXX=no
11529 aCC*)
11530 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'
11531 # Commands to make compiler produce verbose output that lists
11532 # what "hidden" libraries, object files and flags are used when
11533 # linking a shared library.
11535 # There doesn't appear to be a way to prevent this compiler from
11536 # explicitly linking system object files so we need to strip them
11537 # from the output so that they don't get included in the library
11538 # dependencies.
11539 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'
11542 if test "$GXX" = yes; then
11543 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'
11544 else
11545 # FIXME: insert proper C++ library support
11546 ld_shlibs_CXX=no
11549 esac
11552 hpux10*|hpux11*)
11553 if test $with_gnu_ld = no; then
11554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11555 hardcode_libdir_separator_CXX=:
11557 case $host_cpu in
11558 hppa*64*|ia64*)
11561 export_dynamic_flag_spec_CXX='${wl}-E'
11563 esac
11565 case $host_cpu in
11566 hppa*64*|ia64*)
11567 hardcode_direct_CXX=no
11568 hardcode_shlibpath_var_CXX=no
11571 hardcode_direct_CXX=yes
11572 hardcode_direct_absolute_CXX=yes
11573 hardcode_minus_L_CXX=yes # Not in the search PATH,
11574 # but as the default
11575 # location of the library.
11577 esac
11579 case $cc_basename in
11580 CC*)
11581 # FIXME: insert proper C++ library support
11582 ld_shlibs_CXX=no
11584 aCC*)
11585 case $host_cpu in
11586 hppa*64*)
11587 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11589 ia64*)
11590 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11593 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11595 esac
11596 # Commands to make compiler produce verbose output that lists
11597 # what "hidden" libraries, object files and flags are used when
11598 # linking a shared library.
11600 # There doesn't appear to be a way to prevent this compiler from
11601 # explicitly linking system object files so we need to strip them
11602 # from the output so that they don't get included in the library
11603 # dependencies.
11604 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'
11607 if test "$GXX" = yes; then
11608 if test $with_gnu_ld = no; then
11609 case $host_cpu in
11610 hppa*64*)
11611 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11613 ia64*)
11614 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11617 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'
11619 esac
11621 else
11622 # FIXME: insert proper C++ library support
11623 ld_shlibs_CXX=no
11626 esac
11629 interix[3-9]*)
11630 hardcode_direct_CXX=no
11631 hardcode_shlibpath_var_CXX=no
11632 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11633 export_dynamic_flag_spec_CXX='${wl}-E'
11634 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11635 # Instead, shared libraries are loaded at an image base (0x10000000 by
11636 # default) and relocated if they conflict, which is a slow very memory
11637 # consuming and fragmenting process. To avoid this, we pick a random,
11638 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11639 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11640 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'
11641 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'
11643 irix5* | irix6*)
11644 case $cc_basename in
11645 CC*)
11646 # SGI C++
11647 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'
11649 # Archives containing C++ object files must be created using
11650 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11651 # necessary to make sure instantiated templates are included
11652 # in the archive.
11653 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11656 if test "$GXX" = yes; then
11657 if test "$with_gnu_ld" = no; then
11658 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'
11659 else
11660 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'
11663 link_all_deplibs_CXX=yes
11665 esac
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11667 hardcode_libdir_separator_CXX=:
11668 inherit_rpath_CXX=yes
11671 linux* | k*bsd*-gnu)
11672 case $cc_basename in
11673 KCC*)
11674 # Kuck and Associates, Inc. (KAI) C++ Compiler
11676 # KCC will only create a shared library if the output file
11677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11678 # to its proper name (with version) after linking.
11679 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'
11680 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'
11681 # Commands to make compiler produce verbose output that lists
11682 # what "hidden" libraries, object files and flags are used when
11683 # linking a shared library.
11685 # There doesn't appear to be a way to prevent this compiler from
11686 # explicitly linking system object files so we need to strip them
11687 # from the output so that they don't get included in the library
11688 # dependencies.
11689 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'
11691 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11692 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11694 # Archives containing C++ object files must be created using
11695 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11696 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11698 icpc* | ecpc* )
11699 # Intel C++
11700 with_gnu_ld=yes
11701 # version 8.0 and above of icpc choke on multiply defined symbols
11702 # if we add $predep_objects and $postdep_objects, however 7.1 and
11703 # earlier do not add the objects themselves.
11704 case `$CC -V 2>&1` in
11705 *"Version 7."*)
11706 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11707 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'
11709 *) # Version 8.0 or newer
11710 tmp_idyn=
11711 case $host_cpu in
11712 ia64*) tmp_idyn=' -i_dynamic';;
11713 esac
11714 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11715 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'
11717 esac
11718 archive_cmds_need_lc_CXX=no
11719 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11720 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11721 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11723 pgCC*)
11724 # Portland Group C++ compiler
11725 case `$CC -V` in
11726 *pgCC\ [1-5]*)
11727 prelink_cmds_CXX='tpldir=Template.dir~
11728 rm -rf $tpldir~
11729 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11730 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11731 old_archive_cmds_CXX='tpldir=Template.dir~
11732 rm -rf $tpldir~
11733 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11734 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11735 $RANLIB $oldlib'
11736 archive_cmds_CXX='tpldir=Template.dir~
11737 rm -rf $tpldir~
11738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11739 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11740 archive_expsym_cmds_CXX='tpldir=Template.dir~
11741 rm -rf $tpldir~
11742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11743 $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'
11745 *) # Version 6 will use weak symbols
11746 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11747 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'
11749 esac
11751 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11752 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11753 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'
11755 cxx*)
11756 # Compaq C++
11757 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11758 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'
11760 runpath_var=LD_RUN_PATH
11761 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11762 hardcode_libdir_separator_CXX=:
11764 # Commands to make compiler produce verbose output that lists
11765 # what "hidden" libraries, object files and flags are used when
11766 # linking a shared library.
11768 # There doesn't appear to be a way to prevent this compiler from
11769 # explicitly linking system object files so we need to strip them
11770 # from the output so that they don't get included in the library
11771 # dependencies.
11772 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'
11775 case `$CC -V 2>&1 | sed 5q` in
11776 *Sun\ C*)
11777 # Sun C++ 5.9
11778 no_undefined_flag_CXX=' -zdefs'
11779 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11780 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'
11781 hardcode_libdir_flag_spec_CXX='-R$libdir'
11782 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'
11783 compiler_needs_object_CXX=yes
11785 # Not sure whether something based on
11786 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11787 # would be better.
11788 output_verbose_link_cmd='echo'
11790 # Archives containing C++ object files must be created using
11791 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11792 # necessary to make sure instantiated templates are included
11793 # in the archive.
11794 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11796 esac
11798 esac
11801 lynxos*)
11802 # FIXME: insert proper C++ library support
11803 ld_shlibs_CXX=no
11806 m88k*)
11807 # FIXME: insert proper C++ library support
11808 ld_shlibs_CXX=no
11811 mvs*)
11812 case $cc_basename in
11813 cxx*)
11814 # FIXME: insert proper C++ library support
11815 ld_shlibs_CXX=no
11818 # FIXME: insert proper C++ library support
11819 ld_shlibs_CXX=no
11821 esac
11824 netbsd*)
11825 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11826 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11827 wlarc=
11828 hardcode_libdir_flag_spec_CXX='-R$libdir'
11829 hardcode_direct_CXX=yes
11830 hardcode_shlibpath_var_CXX=no
11832 # Workaround some broken pre-1.5 toolchains
11833 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11836 *nto* | *qnx*)
11837 ld_shlibs_CXX=yes
11840 openbsd2*)
11841 # C++ shared libraries are fairly broken
11842 ld_shlibs_CXX=no
11845 openbsd*)
11846 hardcode_direct_CXX=yes
11847 hardcode_shlibpath_var_CXX=no
11848 hardcode_direct_absolute_CXX=yes
11849 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11850 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11851 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11852 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11853 export_dynamic_flag_spec_CXX='${wl}-E'
11854 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11856 output_verbose_link_cmd=echo
11859 osf3* | osf4* | osf5*)
11860 case $cc_basename in
11861 KCC*)
11862 # Kuck and Associates, Inc. (KAI) C++ Compiler
11864 # KCC will only create a shared library if the output file
11865 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11866 # to its proper name (with version) after linking.
11867 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'
11869 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11870 hardcode_libdir_separator_CXX=:
11872 # Archives containing C++ object files must be created using
11873 # the KAI C++ compiler.
11874 case $host in
11875 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11876 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11877 esac
11879 RCC*)
11880 # Rational C++ 2.4.1
11881 # FIXME: insert proper C++ library support
11882 ld_shlibs_CXX=no
11884 cxx*)
11885 case $host in
11886 osf3*)
11887 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11888 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'
11889 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11892 allow_undefined_flag_CXX=' -expect_unresolved \*'
11893 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'
11894 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11895 echo "-hidden">> $lib.exp~
11896 $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~
11897 $RM $lib.exp'
11898 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11900 esac
11902 hardcode_libdir_separator_CXX=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11908 # There doesn't appear to be a way to prevent this compiler from
11909 # explicitly linking system object files so we need to strip them
11910 # from the output so that they don't get included in the library
11911 # dependencies.
11912 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'
11915 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11916 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11917 case $host in
11918 osf3*)
11919 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'
11922 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'
11924 esac
11926 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11927 hardcode_libdir_separator_CXX=:
11929 # Commands to make compiler produce verbose output that lists
11930 # what "hidden" libraries, object files and flags are used when
11931 # linking a shared library.
11932 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11934 else
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11939 esac
11942 psos*)
11943 # FIXME: insert proper C++ library support
11944 ld_shlibs_CXX=no
11947 sunos4*)
11948 case $cc_basename in
11949 CC*)
11950 # Sun C++ 4.x
11951 # FIXME: insert proper C++ library support
11952 ld_shlibs_CXX=no
11954 lcc*)
11955 # Lucid
11956 # FIXME: insert proper C++ library support
11957 ld_shlibs_CXX=no
11960 # FIXME: insert proper C++ library support
11961 ld_shlibs_CXX=no
11963 esac
11966 solaris*)
11967 case $cc_basename in
11968 CC*)
11969 # Sun C++ 4.2, 5.x and Centerline C++
11970 archive_cmds_need_lc_CXX=yes
11971 no_undefined_flag_CXX=' -zdefs'
11972 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11973 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11974 $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'
11976 hardcode_libdir_flag_spec_CXX='-R$libdir'
11977 hardcode_shlibpath_var_CXX=no
11978 case $host_os in
11979 solaris2.[0-5] | solaris2.[0-5].*) ;;
11981 # The compiler driver will combine and reorder linker options,
11982 # but understands `-z linker_flag'.
11983 # Supported since Solaris 2.6 (maybe 2.5.1?)
11984 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11986 esac
11987 link_all_deplibs_CXX=yes
11989 output_verbose_link_cmd='echo'
11991 # Archives containing C++ object files must be created using
11992 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11993 # necessary to make sure instantiated templates are included
11994 # in the archive.
11995 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11997 gcx*)
11998 # Green Hills C++ Compiler
11999 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12001 # The C++ compiler must be used to create the archive.
12002 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12005 # GNU C++ compiler with Solaris linker
12006 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12007 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12008 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12009 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12010 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12011 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12013 # Commands to make compiler produce verbose output that lists
12014 # what "hidden" libraries, object files and flags are used when
12015 # linking a shared library.
12016 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12017 else
12018 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12019 # platform.
12020 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12021 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12022 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12024 # Commands to make compiler produce verbose output that lists
12025 # what "hidden" libraries, object files and flags are used when
12026 # linking a shared library.
12027 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12030 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12031 case $host_os in
12032 solaris2.[0-5] | solaris2.[0-5].*) ;;
12034 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12036 esac
12039 esac
12042 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12043 no_undefined_flag_CXX='${wl}-z,text'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 runpath_var='LD_RUN_PATH'
12048 case $cc_basename in
12049 CC*)
12050 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12051 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12054 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12057 esac
12060 sysv5* | sco3.2v5* | sco5v6*)
12061 # Note: We can NOT use -z defs as we might desire, because we do not
12062 # link with -lc, and that would cause any symbols used from libc to
12063 # always be unresolved, which means just about no library would
12064 # ever link correctly. If we're not using GNU ld we use -z text
12065 # though, which does catch some bad symbols but isn't as heavy-handed
12066 # as -z defs.
12067 no_undefined_flag_CXX='${wl}-z,text'
12068 allow_undefined_flag_CXX='${wl}-z,nodefs'
12069 archive_cmds_need_lc_CXX=no
12070 hardcode_shlibpath_var_CXX=no
12071 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12072 hardcode_libdir_separator_CXX=':'
12073 link_all_deplibs_CXX=yes
12074 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12075 runpath_var='LD_RUN_PATH'
12077 case $cc_basename in
12078 CC*)
12079 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12080 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12083 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12084 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12086 esac
12089 tandem*)
12090 case $cc_basename in
12091 NCC*)
12092 # NonStop-UX NCC 3.20
12093 # FIXME: insert proper C++ library support
12094 ld_shlibs_CXX=no
12097 # FIXME: insert proper C++ library support
12098 ld_shlibs_CXX=no
12100 esac
12103 vxworks*)
12104 # FIXME: insert proper C++ library support
12105 ld_shlibs_CXX=no
12109 # FIXME: insert proper C++ library support
12110 ld_shlibs_CXX=no
12112 esac
12114 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12115 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12116 test "$ld_shlibs_CXX" = no && can_build_shared=no
12118 GCC_CXX="$GXX"
12119 LD_CXX="$LD"
12121 ## CAVEAT EMPTOR:
12122 ## There is no encapsulation within the following macros, do not change
12123 ## the running order or otherwise move them around unless you know exactly
12124 ## what you are doing...
12125 # Dependencies to place before and after the object being linked:
12126 predep_objects_CXX=
12127 postdep_objects_CXX=
12128 predeps_CXX=
12129 postdeps_CXX=
12130 compiler_lib_search_path_CXX=
12132 cat > conftest.$ac_ext <<_LT_EOF
12133 class Foo
12135 public:
12136 Foo (void) { a = 0; }
12137 private:
12138 int a;
12140 _LT_EOF
12142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12143 (eval $ac_compile) 2>&5
12144 ac_status=$?
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; then
12147 # Parse the compiler output and extract the necessary
12148 # objects, libraries and library flags.
12150 # Sentinel used to keep track of whether or not we are before
12151 # the conftest object file.
12152 pre_test_object_deps_done=no
12154 # The `*' in the case matches for architectures that use `case' in
12155 # $output_verbose_cmd can trigger glob expansion during the loop
12156 # eval without this substitution.
12157 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12159 for p in `eval $output_verbose_link_cmd`; do
12160 case $p in
12162 -L* | -R* | -l*)
12163 # Some compilers place space between "-{L,R}" and the path.
12164 # Remove the space.
12165 if test $p = "-L" ||
12166 test $p = "-R"; then
12167 prev=$p
12168 continue
12169 else
12170 prev=
12173 if test "$pre_test_object_deps_done" = no; then
12174 case $p in
12175 -L* | -R*)
12176 # Internal compiler library paths should come after those
12177 # provided the user. The postdeps already come after the
12178 # user supplied libs so there is no need to process them.
12179 if test -z "$compiler_lib_search_path_CXX"; then
12180 compiler_lib_search_path_CXX="${prev}${p}"
12181 else
12182 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12185 # The "-l" case would never come before the object being
12186 # linked, so don't bother handling this case.
12187 esac
12188 else
12189 if test -z "$postdeps_CXX"; then
12190 postdeps_CXX="${prev}${p}"
12191 else
12192 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12197 *.$objext)
12198 # This assumes that the test object file only shows up
12199 # once in the compiler output.
12200 if test "$p" = "conftest.$objext"; then
12201 pre_test_object_deps_done=yes
12202 continue
12205 if test "$pre_test_object_deps_done" = no; then
12206 if test -z "$predep_objects_CXX"; then
12207 predep_objects_CXX="$p"
12208 else
12209 predep_objects_CXX="$predep_objects_CXX $p"
12211 else
12212 if test -z "$postdep_objects_CXX"; then
12213 postdep_objects_CXX="$p"
12214 else
12215 postdep_objects_CXX="$postdep_objects_CXX $p"
12220 *) ;; # Ignore the rest.
12222 esac
12223 done
12225 # Clean up.
12226 rm -f a.out a.exe
12227 else
12228 echo "libtool.m4: error: problem compiling CXX test program"
12231 $RM -f confest.$objext
12233 # PORTME: override above test on systems where it is broken
12234 case $host_os in
12235 interix[3-9]*)
12236 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12237 # hack all around it, let's just trust "g++" to DTRT.
12238 predep_objects_CXX=
12239 postdep_objects_CXX=
12240 postdeps_CXX=
12243 linux*)
12244 case `$CC -V 2>&1 | sed 5q` in
12245 *Sun\ C*)
12246 # Sun C++ 5.9
12248 # The more standards-conforming stlport4 library is
12249 # incompatible with the Cstd library. Avoid specifying
12250 # it if it's in CXXFLAGS. Ignore libCrun as
12251 # -library=stlport4 depends on it.
12252 case " $CXX $CXXFLAGS " in
12253 *" -library=stlport4 "*)
12254 solaris_use_stlport4=yes
12256 esac
12258 if test "$solaris_use_stlport4" != yes; then
12259 postdeps_CXX='-library=Cstd -library=Crun'
12262 esac
12265 solaris*)
12266 case $cc_basename in
12267 CC*)
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 # Adding this requires a known-good setup of shared libraries for
12279 # Sun compiler versions before 5.6, else PIC objects from an old
12280 # archive will be linked into the output, leading to subtle bugs.
12281 if test "$solaris_use_stlport4" != yes; then
12282 postdeps_CXX='-library=Cstd -library=Crun'
12285 esac
12287 esac
12290 case " $postdeps_CXX " in
12291 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12292 esac
12319 lt_prog_compiler_wl_CXX=
12320 lt_prog_compiler_pic_CXX=
12321 lt_prog_compiler_static_CXX=
12323 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12324 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12326 # C++ specific cases for pic, static, wl, etc.
12327 if test "$GXX" = yes; then
12328 lt_prog_compiler_wl_CXX='-Wl,'
12329 lt_prog_compiler_static_CXX='-static'
12331 case $host_os in
12332 aix*)
12333 # All AIX code is PIC.
12334 if test "$host_cpu" = ia64; then
12335 # AIX 5 now supports IA64 processor
12336 lt_prog_compiler_static_CXX='-Bstatic'
12339 amigaos*)
12340 if test "$host_cpu" = m68k; then
12341 # FIXME: we need at least 68020 code to build shared libraries, but
12342 # adding the `-m68020' flag to GCC prevents building anything better,
12343 # like `-m68040'.
12344 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12347 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12348 # PIC is the default for these OSes.
12350 mingw* | cygwin* | os2* | pw32*)
12351 # This hack is so that the source file can tell whether it is being
12352 # built for inclusion in a dll (and should export symbols for example).
12353 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12354 # (--disable-auto-import) libraries
12355 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12357 darwin* | rhapsody*)
12358 # PIC is the default on this platform
12359 # Common symbols not allowed in MH_DYLIB files
12360 lt_prog_compiler_pic_CXX='-fno-common'
12362 *djgpp*)
12363 # DJGPP does not support shared libraries at all
12364 lt_prog_compiler_pic_CXX=
12366 interix[3-9]*)
12367 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12368 # Instead, we relocate shared libraries at runtime.
12370 sysv4*MP*)
12371 if test -d /usr/nec; then
12372 lt_prog_compiler_pic_CXX=-Kconform_pic
12375 hpux*)
12376 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12377 # not for PA HP-UX.
12378 case $host_cpu in
12379 hppa*64*|ia64*)
12382 lt_prog_compiler_pic_CXX='-fPIC'
12384 esac
12386 *qnx* | *nto*)
12387 # QNX uses GNU C++, but need to define -shared option too, otherwise
12388 # it will coredump.
12389 lt_prog_compiler_pic_CXX='-fPIC -shared'
12392 lt_prog_compiler_pic_CXX='-fPIC'
12394 esac
12395 else
12396 case $host_os in
12397 aix[4-9]*)
12398 # All AIX code is PIC.
12399 if test "$host_cpu" = ia64; then
12400 # AIX 5 now supports IA64 processor
12401 lt_prog_compiler_static_CXX='-Bstatic'
12402 else
12403 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12406 chorus*)
12407 case $cc_basename in
12408 cxch68*)
12409 # Green Hills C++ Compiler
12410 # _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"
12412 esac
12414 darwin*)
12415 # PIC is the default on this platform
12416 # Common symbols not allowed in MH_DYLIB files
12417 case $cc_basename in
12418 xlc*)
12419 lt_prog_compiler_pic_CXX='-qnocommon'
12420 lt_prog_compiler_wl_CXX='-Wl,'
12422 esac
12424 dgux*)
12425 case $cc_basename in
12426 ec++*)
12427 lt_prog_compiler_pic_CXX='-KPIC'
12429 ghcx*)
12430 # Green Hills C++ Compiler
12431 lt_prog_compiler_pic_CXX='-pic'
12435 esac
12437 freebsd* | dragonfly*)
12438 # FreeBSD uses GNU C++
12440 hpux9* | hpux10* | hpux11*)
12441 case $cc_basename in
12442 CC*)
12443 lt_prog_compiler_wl_CXX='-Wl,'
12444 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12445 if test "$host_cpu" != ia64; then
12446 lt_prog_compiler_pic_CXX='+Z'
12449 aCC*)
12450 lt_prog_compiler_wl_CXX='-Wl,'
12451 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12452 case $host_cpu in
12453 hppa*64*|ia64*)
12454 # +Z the default
12457 lt_prog_compiler_pic_CXX='+Z'
12459 esac
12463 esac
12465 interix*)
12466 # This is c89, which is MS Visual C++ (no shared libs)
12467 # Anyone wants to do a port?
12469 irix5* | irix6* | nonstopux*)
12470 case $cc_basename in
12471 CC*)
12472 lt_prog_compiler_wl_CXX='-Wl,'
12473 lt_prog_compiler_static_CXX='-non_shared'
12474 # CC pic flag -KPIC is the default.
12478 esac
12480 linux* | k*bsd*-gnu)
12481 case $cc_basename in
12482 KCC*)
12483 # KAI C++ Compiler
12484 lt_prog_compiler_wl_CXX='--backend -Wl,'
12485 lt_prog_compiler_pic_CXX='-fPIC'
12487 icpc* | ecpc* )
12488 # Intel C++
12489 lt_prog_compiler_wl_CXX='-Wl,'
12490 lt_prog_compiler_pic_CXX='-KPIC'
12491 lt_prog_compiler_static_CXX='-static'
12493 pgCC*)
12494 # Portland Group C++ compiler
12495 lt_prog_compiler_wl_CXX='-Wl,'
12496 lt_prog_compiler_pic_CXX='-fpic'
12497 lt_prog_compiler_static_CXX='-Bstatic'
12499 cxx*)
12500 # Compaq C++
12501 # Make sure the PIC flag is empty. It appears that all Alpha
12502 # Linux and Compaq Tru64 Unix objects are PIC.
12503 lt_prog_compiler_pic_CXX=
12504 lt_prog_compiler_static_CXX='-non_shared'
12507 case `$CC -V 2>&1 | sed 5q` in
12508 *Sun\ C*)
12509 # Sun C++ 5.9
12510 lt_prog_compiler_pic_CXX='-KPIC'
12511 lt_prog_compiler_static_CXX='-Bstatic'
12512 lt_prog_compiler_wl_CXX='-Qoption ld '
12514 esac
12516 esac
12518 lynxos*)
12520 m88k*)
12522 mvs*)
12523 case $cc_basename in
12524 cxx*)
12525 lt_prog_compiler_pic_CXX='-W c,exportall'
12529 esac
12531 netbsd*)
12533 *qnx* | *nto*)
12534 # QNX uses GNU C++, but need to define -shared option too, otherwise
12535 # it will coredump.
12536 lt_prog_compiler_pic_CXX='-fPIC -shared'
12538 osf3* | osf4* | osf5*)
12539 case $cc_basename in
12540 KCC*)
12541 lt_prog_compiler_wl_CXX='--backend -Wl,'
12543 RCC*)
12544 # Rational C++ 2.4.1
12545 lt_prog_compiler_pic_CXX='-pic'
12547 cxx*)
12548 # Digital/Compaq C++
12549 lt_prog_compiler_wl_CXX='-Wl,'
12550 # Make sure the PIC flag is empty. It appears that all Alpha
12551 # Linux and Compaq Tru64 Unix objects are PIC.
12552 lt_prog_compiler_pic_CXX=
12553 lt_prog_compiler_static_CXX='-non_shared'
12557 esac
12559 psos*)
12561 solaris*)
12562 case $cc_basename in
12563 CC*)
12564 # Sun C++ 4.2, 5.x and Centerline C++
12565 lt_prog_compiler_pic_CXX='-KPIC'
12566 lt_prog_compiler_static_CXX='-Bstatic'
12567 lt_prog_compiler_wl_CXX='-Qoption ld '
12569 gcx*)
12570 # Green Hills C++ Compiler
12571 lt_prog_compiler_pic_CXX='-PIC'
12575 esac
12577 sunos4*)
12578 case $cc_basename in
12579 CC*)
12580 # Sun C++ 4.x
12581 lt_prog_compiler_pic_CXX='-pic'
12582 lt_prog_compiler_static_CXX='-Bstatic'
12584 lcc*)
12585 # Lucid
12586 lt_prog_compiler_pic_CXX='-pic'
12590 esac
12592 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12593 case $cc_basename in
12594 CC*)
12595 lt_prog_compiler_wl_CXX='-Wl,'
12596 lt_prog_compiler_pic_CXX='-KPIC'
12597 lt_prog_compiler_static_CXX='-Bstatic'
12599 esac
12601 tandem*)
12602 case $cc_basename in
12603 NCC*)
12604 # NonStop-UX NCC 3.20
12605 lt_prog_compiler_pic_CXX='-KPIC'
12609 esac
12611 vxworks*)
12614 lt_prog_compiler_can_build_shared_CXX=no
12616 esac
12619 case $host_os in
12620 # For platforms which do not support PIC, -DPIC is meaningless:
12621 *djgpp*)
12622 lt_prog_compiler_pic_CXX=
12625 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12627 esac
12628 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12629 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12634 # Check to make sure the PIC flag actually works.
12636 if test -n "$lt_prog_compiler_pic_CXX"; then
12637 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12638 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12639 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 else
12642 lt_prog_compiler_pic_works_CXX=no
12643 ac_outfile=conftest.$ac_objext
12644 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12645 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12646 # Insert the option either (1) after the last *FLAGS variable, or
12647 # (2) before a word containing "conftest.", or (3) at the end.
12648 # Note that $ac_compile itself does not contain backslashes and begins
12649 # with a dollar sign (not a hyphen), so the echo should work correctly.
12650 # The option is referenced via a variable to avoid confusing sed.
12651 lt_compile=`echo "$ac_compile" | $SED \
12652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12654 -e 's:$: $lt_compiler_flag:'`
12655 (eval echo "\"\$as_me:12655: $lt_compile\"" >&5)
12656 (eval "$lt_compile" 2>conftest.err)
12657 ac_status=$?
12658 cat conftest.err >&5
12659 echo "$as_me:12659: \$? = $ac_status" >&5
12660 if (exit $ac_status) && test -s "$ac_outfile"; then
12661 # The compiler can only warn and ignore the option if not recognized
12662 # So say no if there are warnings other than the usual output.
12663 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12664 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12665 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12666 lt_prog_compiler_pic_works_CXX=yes
12669 $RM conftest*
12672 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12673 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12675 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12676 case $lt_prog_compiler_pic_CXX in
12677 "" | " "*) ;;
12678 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12679 esac
12680 else
12681 lt_prog_compiler_pic_CXX=
12682 lt_prog_compiler_can_build_shared_CXX=no
12690 # Check to make sure the static flag actually works.
12692 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12693 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12694 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12695 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12696 echo $ECHO_N "(cached) $ECHO_C" >&6
12697 else
12698 lt_prog_compiler_static_works_CXX=no
12699 save_LDFLAGS="$LDFLAGS"
12700 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12701 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12702 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12703 # The linker can only warn and ignore the option if not recognized
12704 # So say no if there are warnings
12705 if test -s conftest.err; then
12706 # Append any errors to the config.log.
12707 cat conftest.err 1>&5
12708 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12710 if diff conftest.exp conftest.er2 >/dev/null; then
12711 lt_prog_compiler_static_works_CXX=yes
12713 else
12714 lt_prog_compiler_static_works_CXX=yes
12717 $RM conftest*
12718 LDFLAGS="$save_LDFLAGS"
12721 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12722 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12724 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12726 else
12727 lt_prog_compiler_static_CXX=
12733 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12734 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12735 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12738 lt_cv_prog_compiler_c_o_CXX=no
12739 $RM -r conftest 2>/dev/null
12740 mkdir conftest
12741 cd conftest
12742 mkdir out
12743 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12745 lt_compiler_flag="-o out/conftest2.$ac_objext"
12746 # Insert the option either (1) after the last *FLAGS variable, or
12747 # (2) before a word containing "conftest.", or (3) at the end.
12748 # Note that $ac_compile itself does not contain backslashes and begins
12749 # with a dollar sign (not a hyphen), so the echo should work correctly.
12750 lt_compile=`echo "$ac_compile" | $SED \
12751 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12753 -e 's:$: $lt_compiler_flag:'`
12754 (eval echo "\"\$as_me:12754: $lt_compile\"" >&5)
12755 (eval "$lt_compile" 2>out/conftest.err)
12756 ac_status=$?
12757 cat out/conftest.err >&5
12758 echo "$as_me:12758: \$? = $ac_status" >&5
12759 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12760 then
12761 # The compiler can only warn and ignore the option if not recognized
12762 # So say no if there are warnings
12763 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12764 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12765 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12766 lt_cv_prog_compiler_c_o_CXX=yes
12769 chmod u+w . 2>&5
12770 $RM conftest*
12771 # SGI C++ compiler will create directory out/ii_files/ for
12772 # template instantiation
12773 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12774 $RM out/* && rmdir out
12775 cd ..
12776 $RM -r conftest
12777 $RM conftest*
12780 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12781 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12785 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12786 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12787 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 else
12790 lt_cv_prog_compiler_c_o_CXX=no
12791 $RM -r conftest 2>/dev/null
12792 mkdir conftest
12793 cd conftest
12794 mkdir out
12795 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12797 lt_compiler_flag="-o out/conftest2.$ac_objext"
12798 # Insert the option either (1) after the last *FLAGS variable, or
12799 # (2) before a word containing "conftest.", or (3) at the end.
12800 # Note that $ac_compile itself does not contain backslashes and begins
12801 # with a dollar sign (not a hyphen), so the echo should work correctly.
12802 lt_compile=`echo "$ac_compile" | $SED \
12803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12805 -e 's:$: $lt_compiler_flag:'`
12806 (eval echo "\"\$as_me:12806: $lt_compile\"" >&5)
12807 (eval "$lt_compile" 2>out/conftest.err)
12808 ac_status=$?
12809 cat out/conftest.err >&5
12810 echo "$as_me:12810: \$? = $ac_status" >&5
12811 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12812 then
12813 # The compiler can only warn and ignore the option if not recognized
12814 # So say no if there are warnings
12815 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12816 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12817 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12818 lt_cv_prog_compiler_c_o_CXX=yes
12821 chmod u+w . 2>&5
12822 $RM conftest*
12823 # SGI C++ compiler will create directory out/ii_files/ for
12824 # template instantiation
12825 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12826 $RM out/* && rmdir out
12827 cd ..
12828 $RM -r conftest
12829 $RM conftest*
12832 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12833 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12838 hard_links="nottested"
12839 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12840 # do not overwrite the value of need_locks provided by the user
12841 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12842 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12843 hard_links=yes
12844 $RM conftest*
12845 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12846 touch conftest.a
12847 ln conftest.a conftest.b 2>&5 || hard_links=no
12848 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12849 echo "$as_me:$LINENO: result: $hard_links" >&5
12850 echo "${ECHO_T}$hard_links" >&6
12851 if test "$hard_links" = no; then
12852 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12853 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12854 need_locks=warn
12856 else
12857 need_locks=no
12862 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12863 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12865 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12866 case $host_os in
12867 aix[4-9]*)
12868 # If we're using GNU nm, then we don't want the "-C" option.
12869 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12870 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12871 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'
12872 else
12873 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'
12876 pw32*)
12877 export_symbols_cmds_CXX="$ltdll_cmds"
12879 cygwin* | mingw*)
12880 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'
12883 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12885 esac
12887 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12888 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12889 test "$ld_shlibs_CXX" = no && can_build_shared=no
12891 with_gnu_ld_CXX=$with_gnu_ld
12899 # Do we need to explicitly link libc?
12901 case "x$archive_cmds_need_lc_CXX" in
12902 x|xyes)
12903 # Assume -lc should be added
12904 archive_cmds_need_lc_CXX=yes
12906 if test "$enable_shared" = yes && test "$GCC" = yes; then
12907 case $archive_cmds_CXX in
12908 *'~'*)
12909 # FIXME: we may have to deal with multi-command sequences.
12911 '$CC '*)
12912 # Test whether the compiler implicitly links with -lc since on some
12913 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12914 # to ld, don't add -lc before -lgcc.
12915 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12916 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12917 $RM conftest*
12918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 (eval $ac_compile) 2>&5
12922 ac_status=$?
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } 2>conftest.err; then
12925 soname=conftest
12926 lib=conftest
12927 libobjs=conftest.$ac_objext
12928 deplibs=
12929 wl=$lt_prog_compiler_wl_CXX
12930 pic_flag=$lt_prog_compiler_pic_CXX
12931 compiler_flags=-v
12932 linker_flags=-v
12933 verstring=
12934 output_objdir=.
12935 libname=conftest
12936 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12937 allow_undefined_flag_CXX=
12938 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12939 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }
12943 then
12944 archive_cmds_need_lc_CXX=no
12945 else
12946 archive_cmds_need_lc_CXX=yes
12948 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12949 else
12950 cat conftest.err 1>&5
12952 $RM conftest*
12953 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12954 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12956 esac
12959 esac
13024 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13025 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13026 withGCC=$GXX
13027 library_names_spec=
13028 libname_spec='lib$name'
13029 soname_spec=
13030 shrext_cmds=".so"
13031 postinstall_cmds=
13032 postuninstall_cmds=
13033 finish_cmds=
13034 finish_eval=
13035 shlibpath_var=
13036 shlibpath_overrides_runpath=unknown
13037 version_type=none
13038 dynamic_linker="$host_os ld.so"
13039 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13040 need_lib_prefix=unknown
13041 hardcode_into_libs=no
13043 # when you set need_version to no, make sure it does not cause -set_version
13044 # flags to be left without arguments
13045 need_version=unknown
13047 case $host_os in
13048 aix3*)
13049 version_type=linux
13050 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13051 shlibpath_var=LIBPATH
13053 # AIX 3 has no versioning support, so we append a major version to the name.
13054 soname_spec='${libname}${release}${shared_ext}$major'
13057 aix[4-9]*)
13058 version_type=linux
13059 need_lib_prefix=no
13060 need_version=no
13061 hardcode_into_libs=yes
13062 if test "$host_cpu" = ia64; then
13063 # AIX 5 supports IA64
13064 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13065 shlibpath_var=LD_LIBRARY_PATH
13066 else
13067 # With GCC up to 2.95.x, collect2 would create an import file
13068 # for dependence libraries. The import file would start with
13069 # the line `#! .'. This would cause the generated library to
13070 # depend on `.', always an invalid library. This was fixed in
13071 # development snapshots of GCC prior to 3.0.
13072 case $host_os in
13073 aix4 | aix4.[01] | aix4.[01].*)
13074 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13075 echo ' yes '
13076 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13078 else
13079 can_build_shared=no
13082 esac
13083 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13084 # soname into executable. Probably we can add versioning support to
13085 # collect2, so additional links can be useful in future.
13086 if test "$aix_use_runtimelinking" = yes; then
13087 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13088 # instead of lib<name>.a to let people know that these are not
13089 # typical AIX shared libraries.
13090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13091 else
13092 # We preserve .a as extension for shared libraries through AIX4.2
13093 # and later when we are not doing run time linking.
13094 library_names_spec='${libname}${release}.a $libname.a'
13095 soname_spec='${libname}${release}${shared_ext}$major'
13097 shlibpath_var=LIBPATH
13101 amigaos*)
13102 if test "$host_cpu" = m68k; then
13103 library_names_spec='$libname.ixlibrary $libname.a'
13104 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13105 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'
13106 else
13107 dynamic_linker=no
13111 beos*)
13112 library_names_spec='${libname}${shared_ext}'
13113 dynamic_linker="$host_os ld.so"
13114 shlibpath_var=LIBRARY_PATH
13117 bsdi[45]*)
13118 version_type=linux
13119 need_version=no
13120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13121 soname_spec='${libname}${release}${shared_ext}$major'
13122 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13123 shlibpath_var=LD_LIBRARY_PATH
13124 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13125 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13126 # the default ld.so.conf also contains /usr/contrib/lib and
13127 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13128 # libtool to hard-code these into programs
13131 cygwin* | mingw* | pw32*)
13132 version_type=windows
13133 shrext_cmds=".dll"
13134 need_version=no
13135 need_lib_prefix=no
13137 case $withGCC,$host_os in
13138 yes,cygwin* | yes,mingw* | yes,pw32*)
13139 library_names_spec='$libname.dll.a'
13140 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13141 postinstall_cmds='base_file=`basename \${file}`~
13142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13143 dldir=$destdir/`dirname \$dlpath`~
13144 test -d \$dldir || mkdir -p \$dldir~
13145 $install_prog $dir/$dlname \$dldir/$dlname~
13146 chmod a+x \$dldir/$dlname~
13147 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13148 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13150 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13151 dlpath=$dir/\$dldll~
13152 $RM \$dlpath'
13153 shlibpath_overrides_runpath=yes
13155 case $host_os in
13156 cygwin*)
13157 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13158 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13159 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13161 mingw*)
13162 # MinGW DLLs use traditional 'lib' prefix
13163 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13164 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13165 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13166 # It is most probably a Windows format PATH printed by
13167 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13168 # path with ; separators, and with drive letters. We can handle the
13169 # drive letters (cygwin fileutils understands them), so leave them,
13170 # especially as we might pass files found there to a mingw objdump,
13171 # which wouldn't understand a cygwinified path. Ahh.
13172 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13173 else
13174 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13177 pw32*)
13178 # pw32 DLLs use 'pw' prefix rather than 'lib'
13179 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13181 esac
13185 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13187 esac
13188 dynamic_linker='Win32 ld.exe'
13189 # FIXME: first we should search . and the directory the executable is in
13190 shlibpath_var=PATH
13193 darwin* | rhapsody*)
13194 dynamic_linker="$host_os dyld"
13195 version_type=darwin
13196 need_lib_prefix=no
13197 need_version=no
13198 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13199 soname_spec='${libname}${release}${major}$shared_ext'
13200 shlibpath_overrides_runpath=yes
13201 shlibpath_var=DYLD_LIBRARY_PATH
13202 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13204 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13207 dgux*)
13208 version_type=linux
13209 need_lib_prefix=no
13210 need_version=no
13211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13212 soname_spec='${libname}${release}${shared_ext}$major'
13213 shlibpath_var=LD_LIBRARY_PATH
13216 freebsd1*)
13217 dynamic_linker=no
13220 freebsd* | dragonfly*)
13221 # DragonFly does not have aout. When/if they implement a new
13222 # versioning mechanism, adjust this.
13223 if test -x /usr/bin/objformat; then
13224 objformat=`/usr/bin/objformat`
13225 else
13226 case $host_os in
13227 freebsd[123]*) objformat=aout ;;
13228 *) objformat=elf ;;
13229 esac
13231 version_type=freebsd-$objformat
13232 case $version_type in
13233 freebsd-elf*)
13234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13235 need_version=no
13236 need_lib_prefix=no
13238 freebsd-*)
13239 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13240 need_version=yes
13242 esac
13243 shlibpath_var=LD_LIBRARY_PATH
13244 case $host_os in
13245 freebsd2*)
13246 shlibpath_overrides_runpath=yes
13248 freebsd3.[01]* | freebsdelf3.[01]*)
13249 shlibpath_overrides_runpath=yes
13250 hardcode_into_libs=yes
13252 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13253 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13254 shlibpath_overrides_runpath=no
13255 hardcode_into_libs=yes
13257 *) # from 4.6 on, and DragonFly
13258 shlibpath_overrides_runpath=yes
13259 hardcode_into_libs=yes
13261 esac
13264 gnu*)
13265 version_type=linux
13266 need_lib_prefix=no
13267 need_version=no
13268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13269 soname_spec='${libname}${release}${shared_ext}$major'
13270 shlibpath_var=LD_LIBRARY_PATH
13271 hardcode_into_libs=yes
13274 hpux9* | hpux10* | hpux11*)
13275 # Give a soname corresponding to the major version so that dld.sl refuses to
13276 # link against other versions.
13277 version_type=sunos
13278 need_lib_prefix=no
13279 need_version=no
13280 case $host_cpu in
13281 ia64*)
13282 shrext_cmds='.so'
13283 hardcode_into_libs=yes
13284 dynamic_linker="$host_os dld.so"
13285 shlibpath_var=LD_LIBRARY_PATH
13286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13289 if test "X$HPUX_IA64_MODE" = X32; then
13290 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13291 else
13292 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13294 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13296 hppa*64*)
13297 shrext_cmds='.sl'
13298 hardcode_into_libs=yes
13299 dynamic_linker="$host_os dld.sl"
13300 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13301 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13303 soname_spec='${libname}${release}${shared_ext}$major'
13304 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13305 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13308 shrext_cmds='.sl'
13309 dynamic_linker="$host_os dld.sl"
13310 shlibpath_var=SHLIB_PATH
13311 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13313 soname_spec='${libname}${release}${shared_ext}$major'
13315 esac
13316 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13317 postinstall_cmds='chmod 555 $lib'
13320 interix[3-9]*)
13321 version_type=linux
13322 need_lib_prefix=no
13323 need_version=no
13324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13325 soname_spec='${libname}${release}${shared_ext}$major'
13326 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13327 shlibpath_var=LD_LIBRARY_PATH
13328 shlibpath_overrides_runpath=no
13329 hardcode_into_libs=yes
13332 irix5* | irix6* | nonstopux*)
13333 case $host_os in
13334 nonstopux*) version_type=nonstopux ;;
13336 if test "$lt_cv_prog_gnu_ld" = yes; then
13337 version_type=linux
13338 else
13339 version_type=irix
13340 fi ;;
13341 esac
13342 need_lib_prefix=no
13343 need_version=no
13344 soname_spec='${libname}${release}${shared_ext}$major'
13345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13346 case $host_os in
13347 irix5* | nonstopux*)
13348 libsuff= shlibsuff=
13351 case $LD in # libtool.m4 will add one of these switches to LD
13352 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13353 libsuff= shlibsuff= libmagic=32-bit;;
13354 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13355 libsuff=32 shlibsuff=N32 libmagic=N32;;
13356 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13357 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13358 *) libsuff= shlibsuff= libmagic=never-match;;
13359 esac
13361 esac
13362 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13363 shlibpath_overrides_runpath=no
13364 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13365 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13366 hardcode_into_libs=yes
13369 # No shared lib support for Linux oldld, aout, or coff.
13370 linux*oldld* | linux*aout* | linux*coff*)
13371 dynamic_linker=no
13374 # This must be Linux ELF.
13375 linux* | k*bsd*-gnu)
13376 version_type=linux
13377 need_lib_prefix=no
13378 need_version=no
13379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13380 soname_spec='${libname}${release}${shared_ext}$major'
13381 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13382 shlibpath_var=LD_LIBRARY_PATH
13383 shlibpath_overrides_runpath=no
13384 # Some binutils ld are patched to set DT_RUNPATH
13385 save_LDFLAGS=$LDFLAGS
13386 save_libdir=$libdir
13387 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13388 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13389 if test x$gcc_no_link = xyes; then
13390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13392 { (exit 1); exit 1; }; }
13394 cat >conftest.$ac_ext <<_ACEOF
13395 /* confdefs.h. */
13396 _ACEOF
13397 cat confdefs.h >>conftest.$ac_ext
13398 cat >>conftest.$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13402 main ()
13406 return 0;
13408 _ACEOF
13409 rm -f conftest.$ac_objext conftest$ac_exeext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13411 (eval $ac_link) 2>conftest.er1
13412 ac_status=$?
13413 grep -v '^ *+' conftest.er1 >conftest.err
13414 rm -f conftest.er1
13415 cat conftest.err >&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); } &&
13418 { ac_try='test -z "$ac_cxx_werror_flag"
13419 || test ! -s conftest.err'
13420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421 (eval $ac_try) 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; } &&
13425 { ac_try='test -s conftest$ac_exeext'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13428 ac_status=$?
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13432 shlibpath_overrides_runpath=yes
13435 else
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.$ac_ext >&5
13440 rm -f conftest.err conftest.$ac_objext \
13441 conftest$ac_exeext conftest.$ac_ext
13442 LDFLAGS=$save_LDFLAGS
13443 libdir=$save_libdir
13445 # This implies no fast_install, which is unacceptable.
13446 # Some rework will be needed to allow for fast_install
13447 # before this can be enabled.
13448 hardcode_into_libs=yes
13450 # Append ld.so.conf contents to the search path
13451 if test -f /etc/ld.so.conf; then
13452 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' ' '`
13453 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13456 # We used to test for /lib/ld.so.1 and disable shared libraries on
13457 # powerpc, because MkLinux only supported shared libraries with the
13458 # GNU dynamic linker. Since this was broken with cross compilers,
13459 # most powerpc-linux boxes support dynamic linking these days and
13460 # people can always --disable-shared, the test was removed, and we
13461 # assume the GNU/Linux dynamic linker is in use.
13462 dynamic_linker='GNU/Linux ld.so'
13465 netbsd*)
13466 version_type=sunos
13467 need_lib_prefix=no
13468 need_version=no
13469 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13472 dynamic_linker='NetBSD (a.out) ld.so'
13473 else
13474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13475 soname_spec='${libname}${release}${shared_ext}$major'
13476 dynamic_linker='NetBSD ld.elf_so'
13478 shlibpath_var=LD_LIBRARY_PATH
13479 shlibpath_overrides_runpath=yes
13480 hardcode_into_libs=yes
13483 newsos6)
13484 version_type=linux
13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486 shlibpath_var=LD_LIBRARY_PATH
13487 shlibpath_overrides_runpath=yes
13490 *nto* | *qnx*)
13491 version_type=qnx
13492 need_lib_prefix=no
13493 need_version=no
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 shlibpath_var=LD_LIBRARY_PATH
13497 shlibpath_overrides_runpath=no
13498 hardcode_into_libs=yes
13499 dynamic_linker='ldqnx.so'
13502 openbsd*)
13503 version_type=sunos
13504 sys_lib_dlsearch_path_spec="/usr/lib"
13505 need_lib_prefix=no
13506 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13507 case $host_os in
13508 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13509 *) need_version=no ;;
13510 esac
13511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13513 shlibpath_var=LD_LIBRARY_PATH
13514 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13515 case $host_os in
13516 openbsd2.[89] | openbsd2.[89].*)
13517 shlibpath_overrides_runpath=no
13520 shlibpath_overrides_runpath=yes
13522 esac
13523 else
13524 shlibpath_overrides_runpath=yes
13528 os2*)
13529 libname_spec='$name'
13530 shrext_cmds=".dll"
13531 need_lib_prefix=no
13532 library_names_spec='$libname${shared_ext} $libname.a'
13533 dynamic_linker='OS/2 ld.exe'
13534 shlibpath_var=LIBPATH
13537 osf3* | osf4* | osf5*)
13538 version_type=osf
13539 need_lib_prefix=no
13540 need_version=no
13541 soname_spec='${libname}${release}${shared_ext}$major'
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13543 shlibpath_var=LD_LIBRARY_PATH
13544 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13545 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13548 rdos*)
13549 dynamic_linker=no
13552 solaris*)
13553 version_type=linux
13554 need_lib_prefix=no
13555 need_version=no
13556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13557 soname_spec='${libname}${release}${shared_ext}$major'
13558 shlibpath_var=LD_LIBRARY_PATH
13559 shlibpath_overrides_runpath=yes
13560 hardcode_into_libs=yes
13561 # ldd complains unless libraries are executable
13562 postinstall_cmds='chmod +x $lib'
13565 sunos4*)
13566 version_type=sunos
13567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13568 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13569 shlibpath_var=LD_LIBRARY_PATH
13570 shlibpath_overrides_runpath=yes
13571 if test "$with_gnu_ld" = yes; then
13572 need_lib_prefix=no
13574 need_version=yes
13577 sysv4 | sysv4.3*)
13578 version_type=linux
13579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13580 soname_spec='${libname}${release}${shared_ext}$major'
13581 shlibpath_var=LD_LIBRARY_PATH
13582 case $host_vendor in
13583 sni)
13584 shlibpath_overrides_runpath=no
13585 need_lib_prefix=no
13586 runpath_var=LD_RUN_PATH
13588 siemens)
13589 need_lib_prefix=no
13591 motorola)
13592 need_lib_prefix=no
13593 need_version=no
13594 shlibpath_overrides_runpath=no
13595 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13597 esac
13600 sysv4*MP*)
13601 if test -d /usr/nec ;then
13602 version_type=linux
13603 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13604 soname_spec='$libname${shared_ext}.$major'
13605 shlibpath_var=LD_LIBRARY_PATH
13609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13610 version_type=freebsd-elf
13611 need_lib_prefix=no
13612 need_version=no
13613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13614 soname_spec='${libname}${release}${shared_ext}$major'
13615 shlibpath_var=LD_LIBRARY_PATH
13616 shlibpath_overrides_runpath=yes
13617 hardcode_into_libs=yes
13618 if test "$with_gnu_ld" = yes; then
13619 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13620 else
13621 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13622 case $host_os in
13623 sco3.2v5*)
13624 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13626 esac
13628 sys_lib_dlsearch_path_spec='/usr/lib'
13631 tpf*)
13632 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13633 version_type=linux
13634 need_lib_prefix=no
13635 need_version=no
13636 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13637 shlibpath_var=LD_LIBRARY_PATH
13638 shlibpath_overrides_runpath=no
13639 hardcode_into_libs=yes
13642 uts4*)
13643 version_type=linux
13644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13645 soname_spec='${libname}${release}${shared_ext}$major'
13646 shlibpath_var=LD_LIBRARY_PATH
13650 dynamic_linker=no
13652 esac
13653 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13654 echo "${ECHO_T}$dynamic_linker" >&6
13655 test "$dynamic_linker" = no && can_build_shared=no
13657 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13658 if test "$GCC" = yes; then
13659 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13697 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13698 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13699 hardcode_action_CXX=
13700 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13701 test -n "$runpath_var_CXX" ||
13702 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13704 # We can hardcode non-existent directories.
13705 if test "$hardcode_direct_CXX" != no &&
13706 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13707 # have to relink, otherwise we might link with an installed library
13708 # when we should be linking with a yet-to-be-installed one
13709 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13710 test "$hardcode_minus_L_CXX" != no; then
13711 # Linking always hardcodes the temporary library directory.
13712 hardcode_action_CXX=relink
13713 else
13714 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13715 hardcode_action_CXX=immediate
13717 else
13718 # We cannot hardcode anything, or else we can only hardcode existing
13719 # directories.
13720 hardcode_action_CXX=unsupported
13722 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13723 echo "${ECHO_T}$hardcode_action_CXX" >&6
13725 if test "$hardcode_action_CXX" = relink ||
13726 test "$inherit_rpath_CXX" = yes; then
13727 # Fast installation is not supported
13728 enable_fast_install=no
13729 elif test "$shlibpath_overrides_runpath" = yes ||
13730 test "$enable_shared" = no; then
13731 # Fast installation is not necessary
13732 enable_fast_install=needless
13741 fi # test -n "$compiler"
13743 CC=$lt_save_CC
13744 LDCXX=$LD
13745 LD=$lt_save_LD
13746 GCC=$lt_save_GCC
13747 with_gnu_ld=$lt_save_with_gnu_ld
13748 lt_cv_path_LDCXX=$lt_cv_path_LD
13749 lt_cv_path_LD=$lt_save_path_LD
13750 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13751 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13752 fi # test "$_lt_caught_CXX_error" != yes
13754 ac_ext=c
13755 ac_cpp='$CPP $CPPFLAGS'
13756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 ac_config_commands="$ac_config_commands libtool"
13777 # Only expand once:
13783 # Possibly disable most of the library.
13784 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13785 ## than just ignoring the results. Faster /and/ more correct, win win.
13787 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13788 if test "${enable_hosted_libstdcxx+set}" = set; then
13789 enableval="$enable_hosted_libstdcxx"
13791 else
13792 case "$host" in
13793 arm*-*-symbianelf*)
13794 enable_hosted_libstdcxx=no
13797 enable_hosted_libstdcxx=yes
13799 esac
13801 if test "$enable_hosted_libstdcxx" = no; then
13802 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13803 echo "$as_me: Only freestanding libraries will be built" >&6;}
13804 is_hosted=no
13805 hosted_define=0
13806 enable_abi_check=no
13807 enable_libstdcxx_pch=no
13808 else
13809 is_hosted=yes
13810 hosted_define=1
13814 cat >>confdefs.h <<_ACEOF
13815 #define _GLIBCXX_HOSTED $hosted_define
13816 _ACEOF
13820 # Enable compiler support that doesn't require linking.
13822 echo "$as_me:$LINENO: checking for exception model to use" >&5
13823 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13826 ac_ext=cc
13827 ac_cpp='$CXXCPP $CPPFLAGS'
13828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13832 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13833 if test "${enable_sjlj_exceptions+set}" = set; then
13834 enableval="$enable_sjlj_exceptions"
13836 case "$enableval" in
13837 yes|no|auto) ;;
13838 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13839 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13840 { (exit 1); exit 1; }; } ;;
13841 esac
13843 else
13844 enable_sjlj_exceptions=auto
13848 if test $enable_sjlj_exceptions = auto; then
13849 # Botheration. Now we've got to detect the exception model. Link tests
13850 # against libgcc.a are problematic since we've not been given proper -L
13851 # bits for single-tree newlib and libgloss.
13853 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13854 cat > conftest.$ac_ext << EOF
13855 #line 13855 "configure"
13856 struct S { ~S(); };
13857 void bar();
13858 void foo()
13860 S s;
13861 bar();
13864 old_CXXFLAGS="$CXXFLAGS"
13865 CXXFLAGS=-S
13866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13867 (eval $ac_compile) 2>&5
13868 ac_status=$?
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; then
13871 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13872 enable_sjlj_exceptions=yes
13873 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13874 enable_sjlj_exceptions=no
13875 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13876 enable_sjlj_exceptions=no
13879 CXXFLAGS="$old_CXXFLAGS"
13880 rm -f conftest*
13883 # This is a tad weird, for hysterical raisins. We have to map
13884 # enable/disable to two different models.
13885 case $enable_sjlj_exceptions in
13886 yes)
13888 cat >>confdefs.h <<\_ACEOF
13889 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13890 _ACEOF
13892 ac_exception_model_name=sjlj
13895 ac_exception_model_name="call frame"
13898 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13899 echo "$as_me: error: unable to detect exception model" >&2;}
13900 { (exit 1); exit 1; }; }
13902 esac
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13909 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13910 echo "${ECHO_T}$ac_exception_model_name" >&6
13913 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13914 if test "${enable_libstdcxx_pch+set}" = set; then
13915 enableval="$enable_libstdcxx_pch"
13917 case "$enableval" in
13918 yes|no) ;;
13919 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13920 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13921 { (exit 1); exit 1; }; } ;;
13922 esac
13924 else
13925 enable_libstdcxx_pch=$is_hosted
13928 if test $enable_libstdcxx_pch = yes; then
13929 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13930 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13931 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 else
13934 ac_save_CXXFLAGS="$CXXFLAGS"
13935 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13938 ac_ext=cc
13939 ac_cpp='$CXXCPP $CPPFLAGS'
13940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13944 echo '#include <math.h>' > conftest.h
13945 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13946 -o conftest.h.gch 1>&5 2>&1 &&
13947 echo '#error "pch failed"' > conftest.h &&
13948 echo '#include "conftest.h"' > conftest.cc &&
13949 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13950 then
13951 glibcxx_cv_prog_CXX_pch=yes
13952 else
13953 glibcxx_cv_prog_CXX_pch=no
13955 rm -f conftest*
13956 CXXFLAGS=$ac_save_CXXFLAGS
13957 ac_ext=c
13958 ac_cpp='$CPP $CPPFLAGS'
13959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13965 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13966 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13967 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13970 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13971 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13972 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13973 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13976 if test $enable_libstdcxx_pch = yes; then
13977 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13978 else
13979 glibcxx_PCHFLAGS=""
13986 ac_ext=cc
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13992 old_CXXFLAGS="$CXXFLAGS"
13994 # Compile unoptimized.
13995 CXXFLAGS='-O0 -S'
13997 # Fake what AC_TRY_COMPILE does, without linking as this is
13998 # unnecessary for a builtins test.
14000 cat > conftest.$ac_ext << EOF
14001 #line 14001 "configure"
14002 int main()
14004 // NB: _Atomic_word not necessarily int.
14005 typedef int atomic_type;
14006 atomic_type c1;
14007 atomic_type c2;
14008 const atomic_type c3(0);
14009 __sync_fetch_and_add(&c1, c2);
14010 __sync_val_compare_and_swap(&c1, c3, c2);
14011 __sync_lock_test_and_set(&c1, c3);
14012 __sync_lock_release(&c1);
14013 __sync_synchronize();
14014 return 0;
14018 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14019 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; then
14025 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14026 enable_atomic_builtinsi=no
14027 else
14029 cat >>confdefs.h <<\_ACEOF
14030 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14031 _ACEOF
14033 enable_atomic_builtinsi=yes
14036 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14037 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14038 rm -f conftest*
14040 cat > conftest.$ac_ext << EOF
14041 #line 14041 "configure"
14042 int main()
14044 typedef bool atomic_type;
14045 atomic_type c1;
14046 atomic_type c2;
14047 const atomic_type c3(0);
14048 __sync_fetch_and_add(&c1, c2);
14049 __sync_val_compare_and_swap(&c1, c3, c2);
14050 __sync_lock_test_and_set(&c1, c3);
14051 __sync_lock_release(&c1);
14052 __sync_synchronize();
14053 return 0;
14057 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14058 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14060 (eval $ac_compile) 2>&5
14061 ac_status=$?
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); }; then
14064 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14065 enable_atomic_builtinsb=no
14066 else
14068 cat >>confdefs.h <<\_ACEOF
14069 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14070 _ACEOF
14072 enable_atomic_builtinsb=yes
14075 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14076 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14077 rm -f conftest*
14079 CXXFLAGS="$old_CXXFLAGS"
14080 ac_ext=c
14081 ac_cpp='$CPP $CPPFLAGS'
14082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14087 # Set atomicity_dir to builtins if either of above tests pass.
14088 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14089 atomicity_dir=cpu/generic/atomicity_builtins
14092 # If still generic, set to mutex.
14093 if test $atomicity_dir = "cpu/generic" ; then
14094 atomicity_dir=cpu/generic/atomicity_mutex
14095 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14096 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14097 if test $target_thread_file = single; then
14098 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14099 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14100 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14101 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14102 else
14103 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14104 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14105 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14106 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14112 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14113 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14114 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14115 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14116 echo "${ECHO_T}$target_thread_file" >&6
14118 if test $target_thread_file != single; then
14120 cat >>confdefs.h <<\_ACEOF
14121 #define HAVE_GTHR_DEFAULT 1
14122 _ACEOF
14126 glibcxx_thread_h=gthr-$target_thread_file.h
14128 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14129 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14130 enable_thread=yes
14131 else
14132 enable_thread=no
14138 # Checks for compiler support that don't require linking.
14140 # All these tests are for C++; save the language and the compiler flags.
14141 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14142 # found in GLIBCXX_CONFIGURE.
14145 ac_ext=cc
14146 ac_cpp='$CXXCPP $CPPFLAGS'
14147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14151 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14152 ac_save_CXXFLAGS="$CXXFLAGS"
14154 # Check for maintainer-mode bits.
14155 if test x"$USE_MAINTAINER_MODE" = xno; then
14156 WERROR=''
14157 else
14158 WERROR='-Werror'
14161 # Check for -ffunction-sections -fdata-sections
14162 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14163 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14164 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14165 cat >conftest.$ac_ext <<_ACEOF
14166 /* confdefs.h. */
14167 _ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14171 int foo; void bar() { };
14173 main ()
14177 return 0;
14179 _ACEOF
14180 rm -f conftest.$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try='test -z "$ac_cxx_werror_flag"
14190 || test ! -s conftest.err'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14193 ac_status=$?
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; } &&
14196 { ac_try='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14202 ac_fdsections=yes
14203 else
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14207 ac_fdsections=no
14209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14210 if test "$ac_test_CXXFLAGS" = set; then
14211 CXXFLAGS="$ac_save_CXXFLAGS"
14212 else
14213 # this is the suspicious part
14214 CXXFLAGS=''
14216 if test x"$ac_fdsections" = x"yes"; then
14217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
14219 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14220 echo "${ECHO_T}$ac_fdsections" >&6
14222 ac_ext=c
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14233 echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14234 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14235 if test "${ac_standard_layout+set}" = set; then
14236 echo $ECHO_N "(cached) $ECHO_C" >&6
14237 else
14241 ac_ext=cc
14242 ac_cpp='$CXXCPP $CPPFLAGS'
14243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14248 ac_save_CXXFLAGS="$CXXFLAGS"
14249 CXXFLAGS='-std=gnu++0x'
14251 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h. */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 struct b
14259 bool t;
14261 // Need standard layout relaxation from POD
14262 private:
14263 b& operator=(const b&);
14264 b(const b&);
14267 int main()
14269 b tst1 = { false };
14270 return 0;
14273 main ()
14277 return 0;
14279 _ACEOF
14280 rm -f conftest.$ac_objext
14281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282 (eval $ac_compile) 2>conftest.er1
14283 ac_status=$?
14284 grep -v '^ *+' conftest.er1 >conftest.err
14285 rm -f conftest.er1
14286 cat conftest.err >&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } &&
14289 { ac_try='test -z "$ac_cxx_werror_flag"
14290 || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_standard_layout=yes
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14307 ac_standard_layout=no
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14311 CXXFLAGS="$ac_save_CXXFLAGS"
14312 ac_ext=c
14313 ac_cpp='$CPP $CPPFLAGS'
14314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14321 echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14322 echo "${ECHO_T}$ac_standard_layout" >&6
14323 if test x"$ac_standard_layout" = x"yes"; then
14325 cat >>confdefs.h <<\_ACEOF
14326 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14327 _ACEOF
14332 # Enable all the variable C++ runtime options that doesn't require linking.
14334 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14335 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14336 # Check whether --enable-cstdio or --disable-cstdio was given.
14337 if test "${enable_cstdio+set}" = set; then
14338 enableval="$enable_cstdio"
14340 case "$enableval" in
14341 stdio) ;;
14342 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14343 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14344 { (exit 1); exit 1; }; } ;;
14345 esac
14347 else
14348 enable_cstdio=stdio
14352 # Now that libio has been removed, you can have any color you want as long
14353 # as it's black. This is one big no-op until other packages are added, but
14354 # showing the framework never hurts.
14355 case ${enable_cstdio} in
14356 stdio)
14357 CSTDIO_H=config/io/c_io_stdio.h
14358 BASIC_FILE_H=config/io/basic_file_stdio.h
14359 BASIC_FILE_CC=config/io/basic_file_stdio.cc
14360 echo "$as_me:$LINENO: result: stdio" >&5
14361 echo "${ECHO_T}stdio" >&6
14363 esac
14370 # Check whether --enable-clocale or --disable-clocale was given.
14371 if test "${enable_clocale+set}" = set; then
14372 enableval="$enable_clocale"
14374 case "$enableval" in
14375 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14376 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14377 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14378 { (exit 1); exit 1; }; } ;;
14379 esac
14381 else
14382 enable_clocale=auto
14386 # Deal with gettext issues. Default to not using it (=no) until we detect
14387 # support for it later. Let the user turn it off via --e/d, but let that
14388 # default to on for easier handling.
14389 USE_NLS=no
14390 # Check whether --enable-nls or --disable-nls was given.
14391 if test "${enable_nls+set}" = set; then
14392 enableval="$enable_nls"
14394 else
14395 enable_nls=yes
14398 # Either a known packaage, or "auto"
14399 if test $enable_clocale = no || test $enable_clocale = yes; then
14400 enable_clocale=auto
14402 enable_clocale_flag=$enable_clocale
14404 # Probe for locale model to use if none specified.
14405 # Default to "generic".
14406 if test $enable_clocale_flag = auto; then
14407 case ${target_os} in
14408 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14409 enable_clocale_flag=gnu
14411 darwin* | freebsd*)
14412 enable_clocale_flag=darwin
14415 enable_clocale_flag=generic
14417 esac
14420 # Sanity check model, and test for special functionality.
14421 if test $enable_clocale_flag = gnu; then
14422 cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h. */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14429 #include <features.h>
14430 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14431 _GLIBCXX_ok
14432 #endif
14434 _ACEOF
14435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14436 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14437 enable_clocale_flag=gnu
14438 else
14439 enable_clocale_flag=generic
14441 rm -f conftest*
14444 if test $enable_clocale = auto; then
14445 # Test for bugs early in glibc-2.2.x series
14446 if test "$cross_compiling" = yes; then
14447 enable_clocale_flag=generic
14448 else
14449 cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h. */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14456 #define _GNU_SOURCE 1
14457 #include <locale.h>
14458 #include <string.h>
14459 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14460 extern __typeof(newlocale) __newlocale;
14461 extern __typeof(duplocale) __duplocale;
14462 extern __typeof(strcoll_l) __strcoll_l;
14463 #endif
14464 int main()
14466 const char __one[] = "Äuglein Augmen";
14467 const char __two[] = "Äuglein";
14468 int i;
14469 int j;
14470 __locale_t loc;
14471 __locale_t loc_dup;
14472 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14473 loc_dup = __duplocale(loc);
14474 i = __strcoll_l(__one, __two, loc);
14475 j = __strcoll_l(__one, __two, loc_dup);
14476 return 0;
14479 _ACEOF
14480 rm -f conftest$ac_exeext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14482 (eval $ac_link) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 enable_clocale_flag=gnu
14492 else
14493 echo "$as_me: program exited with status $ac_status" >&5
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14497 ( exit $ac_status )
14498 enable_clocale_flag=generic
14500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14504 # Set it to scream when it hurts.
14505 ac_save_CFLAGS="$CFLAGS"
14506 CFLAGS="-Wimplicit-function-declaration -Werror"
14508 # Use strxfrm_l if available.
14509 cat >conftest.$ac_ext <<_ACEOF
14510 /* confdefs.h. */
14511 _ACEOF
14512 cat confdefs.h >>conftest.$ac_ext
14513 cat >>conftest.$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14515 #define _GNU_SOURCE 1
14516 #include <string.h>
14517 #include <locale.h>
14519 main ()
14521 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14523 return 0;
14525 _ACEOF
14526 rm -f conftest.$ac_objext
14527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14528 (eval $ac_compile) 2>conftest.er1
14529 ac_status=$?
14530 grep -v '^ *+' conftest.er1 >conftest.err
14531 rm -f conftest.er1
14532 cat conftest.err >&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -z "$ac_c_werror_flag"
14536 || test ! -s conftest.err'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14549 cat >>confdefs.h <<\_ACEOF
14550 #define HAVE_STRXFRM_L 1
14551 _ACEOF
14553 else
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14560 # Use strerror_l if available.
14561 cat >conftest.$ac_ext <<_ACEOF
14562 /* confdefs.h. */
14563 _ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14567 #define _GNU_SOURCE 1
14568 #include <string.h>
14569 #include <locale.h>
14571 main ()
14573 __locale_t loc; strerror_l(5, loc);
14575 return 0;
14577 _ACEOF
14578 rm -f conftest.$ac_objext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14580 (eval $ac_compile) 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag"
14588 || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14601 cat >>confdefs.h <<\_ACEOF
14602 #define HAVE_STRERROR_L 1
14603 _ACEOF
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14612 CFLAGS="$ac_save_CFLAGS"
14615 # Perhaps use strerror_r if available, and strerror_l isn't.
14616 ac_save_CFLAGS="$CFLAGS"
14617 CFLAGS="-Wimplicit-function-declaration -Werror"
14618 cat >conftest.$ac_ext <<_ACEOF
14619 /* confdefs.h. */
14620 _ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14624 #define _GNU_SOURCE 1
14625 #include <string.h>
14626 #include <locale.h>
14628 main ()
14630 char s[128]; strerror_r(5, s, 128);
14632 return 0;
14634 _ACEOF
14635 rm -f conftest.$ac_objext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14637 (eval $ac_compile) 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try='test -z "$ac_c_werror_flag"
14645 || test ! -s conftest.err'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; } &&
14651 { ac_try='test -s conftest.$ac_objext'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; }; then
14658 cat >>confdefs.h <<\_ACEOF
14659 #define HAVE_STRERROR_R 1
14660 _ACEOF
14662 else
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.$ac_ext >&5
14667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14668 CFLAGS="$ac_save_CFLAGS"
14670 # Set configure bits for specified locale package
14671 echo "$as_me:$LINENO: checking for C locale to use" >&5
14672 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14673 case ${enable_clocale_flag} in
14674 generic)
14675 echo "$as_me:$LINENO: result: generic" >&5
14676 echo "${ECHO_T}generic" >&6
14678 CLOCALE_H=config/locale/generic/c_locale.h
14679 CLOCALE_CC=config/locale/generic/c_locale.cc
14680 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14681 CCOLLATE_CC=config/locale/generic/collate_members.cc
14682 CCTYPE_CC=config/locale/generic/ctype_members.cc
14683 CMESSAGES_H=config/locale/generic/messages_members.h
14684 CMESSAGES_CC=config/locale/generic/messages_members.cc
14685 CMONEY_CC=config/locale/generic/monetary_members.cc
14686 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14687 CTIME_H=config/locale/generic/time_members.h
14688 CTIME_CC=config/locale/generic/time_members.cc
14689 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14691 darwin)
14692 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14693 echo "${ECHO_T}darwin or freebsd" >&6
14695 CLOCALE_H=config/locale/generic/c_locale.h
14696 CLOCALE_CC=config/locale/generic/c_locale.cc
14697 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14698 CCOLLATE_CC=config/locale/generic/collate_members.cc
14699 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14700 CMESSAGES_H=config/locale/generic/messages_members.h
14701 CMESSAGES_CC=config/locale/generic/messages_members.cc
14702 CMONEY_CC=config/locale/generic/monetary_members.cc
14703 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14704 CTIME_H=config/locale/generic/time_members.h
14705 CTIME_CC=config/locale/generic/time_members.cc
14706 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14709 gnu)
14710 echo "$as_me:$LINENO: result: gnu" >&5
14711 echo "${ECHO_T}gnu" >&6
14713 # Declare intention to use gettext, and add support for specific
14714 # languages.
14715 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14716 ALL_LINGUAS="de fr"
14718 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14719 # Extract the first word of "msgfmt", so it can be a program name with args.
14720 set dummy msgfmt; ac_word=$2
14721 echo "$as_me:$LINENO: checking for $ac_word" >&5
14722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14723 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14724 echo $ECHO_N "(cached) $ECHO_C" >&6
14725 else
14726 if test -n "$check_msgfmt"; then
14727 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14728 else
14729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14730 for as_dir in $PATH
14732 IFS=$as_save_IFS
14733 test -z "$as_dir" && as_dir=.
14734 for ac_exec_ext in '' $ac_executable_extensions; do
14735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14736 ac_cv_prog_check_msgfmt="yes"
14737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14738 break 2
14740 done
14741 done
14743 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14746 check_msgfmt=$ac_cv_prog_check_msgfmt
14747 if test -n "$check_msgfmt"; then
14748 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14749 echo "${ECHO_T}$check_msgfmt" >&6
14750 else
14751 echo "$as_me:$LINENO: result: no" >&5
14752 echo "${ECHO_T}no" >&6
14755 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14756 USE_NLS=yes
14758 # Export the build objects.
14759 for ling in $ALL_LINGUAS; do \
14760 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14761 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14762 done
14766 CLOCALE_H=config/locale/gnu/c_locale.h
14767 CLOCALE_CC=config/locale/gnu/c_locale.cc
14768 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14769 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14770 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14771 CMESSAGES_H=config/locale/gnu/messages_members.h
14772 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14773 CMONEY_CC=config/locale/gnu/monetary_members.cc
14774 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14775 CTIME_H=config/locale/gnu/time_members.h
14776 CTIME_CC=config/locale/gnu/time_members.cc
14777 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14779 ieee_1003.1-2001)
14780 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14781 echo "${ECHO_T}IEEE 1003.1" >&6
14783 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14784 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14785 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14786 CCOLLATE_CC=config/locale/generic/collate_members.cc
14787 CCTYPE_CC=config/locale/generic/ctype_members.cc
14788 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14789 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14790 CMONEY_CC=config/locale/generic/monetary_members.cc
14791 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14792 CTIME_H=config/locale/generic/time_members.h
14793 CTIME_CC=config/locale/generic/time_members.cc
14794 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14796 esac
14798 # This is where the testsuite looks for locale catalogs, using the
14799 # -DLOCALEDIR define during testsuite compilation.
14800 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14803 # A standalone libintl (e.g., GNU libintl) may be in use.
14804 if test $USE_NLS = yes; then
14806 for ac_header in libintl.h
14808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14810 echo "$as_me:$LINENO: checking for $ac_header" >&5
14811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14817 else
14818 # Is the header compilable?
14819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h. */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14828 #include <$ac_header>
14829 _ACEOF
14830 rm -f conftest.$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14833 ac_status=$?
14834 grep -v '^ *+' conftest.er1 >conftest.err
14835 rm -f conftest.er1
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_header_compiler=yes
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 ac_header_compiler=no
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14861 echo "${ECHO_T}$ac_header_compiler" >&6
14863 # Is the header present?
14864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14866 cat >conftest.$ac_ext <<_ACEOF
14867 /* confdefs.h. */
14868 _ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 #include <$ac_header>
14873 _ACEOF
14874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14876 ac_status=$?
14877 grep -v '^ *+' conftest.er1 >conftest.err
14878 rm -f conftest.er1
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } >/dev/null; then
14882 if test -s conftest.err; then
14883 ac_cpp_err=$ac_c_preproc_warn_flag
14884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14885 else
14886 ac_cpp_err=
14888 else
14889 ac_cpp_err=yes
14891 if test -z "$ac_cpp_err"; then
14892 ac_header_preproc=yes
14893 else
14894 echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14897 ac_header_preproc=no
14899 rm -f conftest.err conftest.$ac_ext
14900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14901 echo "${ECHO_T}$ac_header_preproc" >&6
14903 # So? What about this header?
14904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14905 yes:no: )
14906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14910 ac_header_preproc=yes
14912 no:yes:* )
14913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14926 cat <<\_ASBOX
14927 ## ----------------------------------------- ##
14928 ## Report this to the package-unused lists. ##
14929 ## ----------------------------------------- ##
14930 _ASBOX
14932 sed "s/^/$as_me: WARNING: /" >&2
14934 esac
14935 echo "$as_me:$LINENO: checking for $ac_header" >&5
14936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else
14940 eval "$as_ac_Header=\$ac_header_preproc"
14942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14947 cat >>confdefs.h <<_ACEOF
14948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14949 _ACEOF
14951 else
14952 USE_NLS=no
14955 done
14957 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14958 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14959 if test "${ac_cv_search_gettext+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962 ac_func_search_save_LIBS=$LIBS
14963 ac_cv_search_gettext=no
14964 if test x$gcc_no_link = xyes; then
14965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14967 { (exit 1); exit 1; }; }
14969 cat >conftest.$ac_ext <<_ACEOF
14970 /* confdefs.h. */
14971 _ACEOF
14972 cat confdefs.h >>conftest.$ac_ext
14973 cat >>conftest.$ac_ext <<_ACEOF
14974 /* end confdefs.h. */
14976 /* Override any gcc2 internal prototype to avoid an error. */
14977 #ifdef __cplusplus
14978 extern "C"
14979 #endif
14980 /* We use char because int might match the return type of a gcc2
14981 builtin and then its argument prototype would still apply. */
14982 char gettext ();
14984 main ()
14986 gettext ();
14988 return 0;
14990 _ACEOF
14991 rm -f conftest.$ac_objext conftest$ac_exeext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14993 (eval $ac_link) 2>conftest.er1
14994 ac_status=$?
14995 grep -v '^ *+' conftest.er1 >conftest.err
14996 rm -f conftest.er1
14997 cat conftest.err >&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try='test -z "$ac_c_werror_flag"
15001 || test ! -s conftest.err'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15004 ac_status=$?
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try='test -s conftest$ac_exeext'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15010 ac_status=$?
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 ac_cv_search_gettext="none required"
15014 else
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15019 rm -f conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15021 if test "$ac_cv_search_gettext" = no; then
15022 for ac_lib in intl; do
15023 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15024 if test x$gcc_no_link = xyes; then
15025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027 { (exit 1); exit 1; }; }
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15036 /* Override any gcc2 internal prototype to avoid an error. */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 /* We use char because int might match the return type of a gcc2
15041 builtin and then its argument prototype would still apply. */
15042 char gettext ();
15044 main ()
15046 gettext ();
15048 return 0;
15050 _ACEOF
15051 rm -f conftest.$ac_objext conftest$ac_exeext
15052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15053 (eval $ac_link) 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try='test -z "$ac_c_werror_flag"
15061 || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try='test -s conftest$ac_exeext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15070 ac_status=$?
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_search_gettext="-l$ac_lib"
15074 break
15075 else
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15080 rm -f conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 done
15084 LIBS=$ac_func_search_save_LIBS
15086 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15087 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15088 if test "$ac_cv_search_gettext" != no; then
15089 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15091 else
15092 USE_NLS=no
15096 if test $USE_NLS = yes; then
15098 cat >>confdefs.h <<\_ACEOF
15099 #define _GLIBCXX_USE_NLS 1
15100 _ACEOF
15119 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15120 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15121 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15122 if test "${enable_libstdcxx_allocator+set}" = set; then
15123 enableval="$enable_libstdcxx_allocator"
15125 case "$enableval" in
15126 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15127 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15128 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15129 { (exit 1); exit 1; }; } ;;
15130 esac
15132 else
15133 enable_libstdcxx_allocator=auto
15137 # If they didn't use this option switch, or if they specified --enable
15138 # with no specific model, we'll have to look for one. If they
15139 # specified --disable (???), do likewise.
15140 if test $enable_libstdcxx_allocator = no ||
15141 test $enable_libstdcxx_allocator = yes;
15142 then
15143 enable_libstdcxx_allocator=auto
15146 # Either a known package, or "auto". Auto implies the default choice
15147 # for a particular platform.
15148 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15150 # Probe for host-specific support if no specific model is specified.
15151 # Default to "new".
15152 if test $enable_libstdcxx_allocator_flag = auto; then
15153 case ${target_os} in
15154 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15155 enable_libstdcxx_allocator_flag=new
15158 enable_libstdcxx_allocator_flag=new
15160 esac
15162 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15163 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15166 # Set configure bits for specified locale package
15167 case ${enable_libstdcxx_allocator_flag} in
15168 bitmap)
15169 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15170 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15172 malloc)
15173 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15174 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15177 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15178 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15180 new)
15181 ALLOCATOR_H=config/allocator/new_allocator_base.h
15182 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15184 pool)
15185 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15186 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15188 esac
15194 # Check whether --enable-cheaders or --disable-cheaders was given.
15195 if test "${enable_cheaders+set}" = set; then
15196 enableval="$enable_cheaders"
15198 case "$enableval" in
15199 c|c_std|c_global) ;;
15200 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15201 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15202 { (exit 1); exit 1; }; } ;;
15203 esac
15205 else
15206 enable_cheaders=$c_model
15209 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15210 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15212 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15214 # Allow overrides to configure.host here.
15215 if test $enable_cheaders = c_global; then
15216 c_compatibility=yes
15219 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15220 c_extra=yes
15230 # Check whether --enable-long-long or --disable-long-long was given.
15231 if test "${enable_long_long+set}" = set; then
15232 enableval="$enable_long_long"
15234 case "$enableval" in
15235 yes|no) ;;
15236 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15237 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15238 { (exit 1); exit 1; }; } ;;
15239 esac
15241 else
15242 enable_long_long=yes
15245 if test $enable_long_long = yes; then
15247 cat >>confdefs.h <<\_ACEOF
15248 #define _GLIBCXX_USE_LONG_LONG 1
15249 _ACEOF
15252 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15253 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15254 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15255 echo "${ECHO_T}$enable_long_long" >&6
15258 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15259 if test "${enable_wchar_t+set}" = set; then
15260 enableval="$enable_wchar_t"
15262 case "$enableval" in
15263 yes|no) ;;
15264 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15265 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15266 { (exit 1); exit 1; }; } ;;
15267 esac
15269 else
15270 enable_wchar_t=yes
15274 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15276 for ac_header in wchar.h
15278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15280 echo "$as_me:$LINENO: checking for $ac_header" >&5
15281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15287 else
15288 # Is the header compilable?
15289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15291 cat >conftest.$ac_ext <<_ACEOF
15292 /* confdefs.h. */
15293 _ACEOF
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297 $ac_includes_default
15298 #include <$ac_header>
15299 _ACEOF
15300 rm -f conftest.$ac_objext
15301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15302 (eval $ac_compile) 2>conftest.er1
15303 ac_status=$?
15304 grep -v '^ *+' conftest.er1 >conftest.err
15305 rm -f conftest.er1
15306 cat conftest.err >&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); } &&
15309 { ac_try='test -z "$ac_c_werror_flag"
15310 || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_header_compiler=yes
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 ac_header_compiler=no
15329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15331 echo "${ECHO_T}$ac_header_compiler" >&6
15333 # Is the header present?
15334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342 #include <$ac_header>
15343 _ACEOF
15344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } >/dev/null; then
15352 if test -s conftest.err; then
15353 ac_cpp_err=$ac_c_preproc_warn_flag
15354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15355 else
15356 ac_cpp_err=
15358 else
15359 ac_cpp_err=yes
15361 if test -z "$ac_cpp_err"; then
15362 ac_header_preproc=yes
15363 else
15364 echo "$as_me: failed program was:" >&5
15365 sed 's/^/| /' conftest.$ac_ext >&5
15367 ac_header_preproc=no
15369 rm -f conftest.err conftest.$ac_ext
15370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15371 echo "${ECHO_T}$ac_header_preproc" >&6
15373 # So? What about this header?
15374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15375 yes:no: )
15376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15380 ac_header_preproc=yes
15382 no:yes:* )
15383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15396 cat <<\_ASBOX
15397 ## ----------------------------------------- ##
15398 ## Report this to the package-unused lists. ##
15399 ## ----------------------------------------- ##
15400 _ASBOX
15402 sed "s/^/$as_me: WARNING: /" >&2
15404 esac
15405 echo "$as_me:$LINENO: checking for $ac_header" >&5
15406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 else
15410 eval "$as_ac_Header=\$ac_header_preproc"
15412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15417 cat >>confdefs.h <<_ACEOF
15418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15419 _ACEOF
15420 ac_has_wchar_h=yes
15421 else
15422 ac_has_wchar_h=no
15425 done
15427 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15428 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15429 cat >conftest.$ac_ext <<_ACEOF
15430 /* confdefs.h. */
15431 _ACEOF
15432 cat confdefs.h >>conftest.$ac_ext
15433 cat >>conftest.$ac_ext <<_ACEOF
15434 /* end confdefs.h. */
15435 #include <wchar.h>
15437 main ()
15439 mbstate_t teststate;
15441 return 0;
15443 _ACEOF
15444 rm -f conftest.$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446 (eval $ac_compile) 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } &&
15453 { ac_try='test -z "$ac_c_werror_flag"
15454 || test ! -s conftest.err'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; } &&
15460 { ac_try='test -s conftest.$ac_objext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 have_mbstate_t=yes
15467 else
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.$ac_ext >&5
15471 have_mbstate_t=no
15473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15474 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15475 echo "${ECHO_T}$have_mbstate_t" >&6
15476 if test x"$have_mbstate_t" = xyes; then
15478 cat >>confdefs.h <<\_ACEOF
15479 #define HAVE_MBSTATE_T 1
15480 _ACEOF
15484 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15485 # ac_has_wchar_h.
15487 for ac_header in wctype.h
15489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15491 echo "$as_me:$LINENO: checking for $ac_header" >&5
15492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15498 else
15499 # Is the header compilable?
15500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15502 cat >conftest.$ac_ext <<_ACEOF
15503 /* confdefs.h. */
15504 _ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15508 $ac_includes_default
15509 #include <$ac_header>
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15513 (eval $ac_compile) 2>conftest.er1
15514 ac_status=$?
15515 grep -v '^ *+' conftest.er1 >conftest.err
15516 rm -f conftest.er1
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -z "$ac_c_werror_flag"
15521 || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try='test -s conftest.$ac_objext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 ac_header_compiler=yes
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15538 ac_header_compiler=no
15540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15542 echo "${ECHO_T}$ac_header_compiler" >&6
15544 # Is the header present?
15545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15547 cat >conftest.$ac_ext <<_ACEOF
15548 /* confdefs.h. */
15549 _ACEOF
15550 cat confdefs.h >>conftest.$ac_ext
15551 cat >>conftest.$ac_ext <<_ACEOF
15552 /* end confdefs.h. */
15553 #include <$ac_header>
15554 _ACEOF
15555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15557 ac_status=$?
15558 grep -v '^ *+' conftest.er1 >conftest.err
15559 rm -f conftest.er1
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } >/dev/null; then
15563 if test -s conftest.err; then
15564 ac_cpp_err=$ac_c_preproc_warn_flag
15565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15566 else
15567 ac_cpp_err=
15569 else
15570 ac_cpp_err=yes
15572 if test -z "$ac_cpp_err"; then
15573 ac_header_preproc=yes
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 ac_header_preproc=no
15580 rm -f conftest.err conftest.$ac_ext
15581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15582 echo "${ECHO_T}$ac_header_preproc" >&6
15584 # So? What about this header?
15585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15586 yes:no: )
15587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15591 ac_header_preproc=yes
15593 no:yes:* )
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15607 cat <<\_ASBOX
15608 ## ----------------------------------------- ##
15609 ## Report this to the package-unused lists. ##
15610 ## ----------------------------------------- ##
15611 _ASBOX
15613 sed "s/^/$as_me: WARNING: /" >&2
15615 esac
15616 echo "$as_me:$LINENO: checking for $ac_header" >&5
15617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 eval "$as_ac_Header=\$ac_header_preproc"
15623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15628 cat >>confdefs.h <<_ACEOF
15629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15630 _ACEOF
15631 ac_has_wctype_h=yes
15632 else
15633 ac_has_wctype_h=no
15636 done
15639 if test x"$enable_wchar_t" = x"yes"; then
15643 ac_ext=cc
15644 ac_cpp='$CXXCPP $CPPFLAGS'
15645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15650 if test x"$ac_has_wchar_h" = xyes &&
15651 test x"$ac_has_wctype_h" = xyes; then
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 #include <wchar.h>
15659 #include <stddef.h>
15660 wint_t i;
15661 long l = WEOF;
15662 long j = WCHAR_MIN;
15663 long k = WCHAR_MAX;
15664 namespace test
15666 using ::btowc;
15667 using ::fgetwc;
15668 using ::fgetws;
15669 using ::fputwc;
15670 using ::fputws;
15671 using ::fwide;
15672 using ::fwprintf;
15673 using ::fwscanf;
15674 using ::getwc;
15675 using ::getwchar;
15676 using ::mbrlen;
15677 using ::mbrtowc;
15678 using ::mbsinit;
15679 using ::mbsrtowcs;
15680 using ::putwc;
15681 using ::putwchar;
15682 using ::swprintf;
15683 using ::swscanf;
15684 using ::ungetwc;
15685 using ::vfwprintf;
15686 using ::vswprintf;
15687 using ::vwprintf;
15688 using ::wcrtomb;
15689 using ::wcscat;
15690 using ::wcschr;
15691 using ::wcscmp;
15692 using ::wcscoll;
15693 using ::wcscpy;
15694 using ::wcscspn;
15695 using ::wcsftime;
15696 using ::wcslen;
15697 using ::wcsncat;
15698 using ::wcsncmp;
15699 using ::wcsncpy;
15700 using ::wcspbrk;
15701 using ::wcsrchr;
15702 using ::wcsrtombs;
15703 using ::wcsspn;
15704 using ::wcsstr;
15705 using ::wcstod;
15706 using ::wcstok;
15707 using ::wcstol;
15708 using ::wcstoul;
15709 using ::wcsxfrm;
15710 using ::wctob;
15711 using ::wmemchr;
15712 using ::wmemcmp;
15713 using ::wmemcpy;
15714 using ::wmemmove;
15715 using ::wmemset;
15716 using ::wprintf;
15717 using ::wscanf;
15721 main ()
15725 return 0;
15727 _ACEOF
15728 rm -f conftest.$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730 (eval $ac_compile) 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try='test -z "$ac_cxx_werror_flag"
15738 || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15755 enable_wchar_t=no
15757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15758 else
15759 enable_wchar_t=no
15762 ac_ext=c
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15770 if test x"$enable_wchar_t" = x"yes"; then
15772 cat >>confdefs.h <<\_ACEOF
15773 #define _GLIBCXX_USE_WCHAR_T 1
15774 _ACEOF
15778 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15779 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15780 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15781 echo "${ECHO_T}$enable_wchar_t" >&6
15785 # Check whether --enable-c99 or --disable-c99 was given.
15786 if test "${enable_c99+set}" = set; then
15787 enableval="$enable_c99"
15789 case "$enableval" in
15790 yes|no) ;;
15791 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15792 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15793 { (exit 1); exit 1; }; } ;;
15794 esac
15796 else
15797 enable_c99=yes
15801 if test x"$enable_c99" = x"yes"; then
15805 ac_ext=cc
15806 ac_cpp='$CXXCPP $CPPFLAGS'
15807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15812 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15813 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15814 # spuriously enabled.
15815 # Long term, -std=c++0x could be even better, could manage to explicitely
15816 # request C99 facilities to the underlying C headers.
15817 ac_save_CXXFLAGS="$CXXFLAGS"
15818 CXXFLAGS="$CXXFLAGS -std=c++98"
15819 ac_save_LIBS="$LIBS"
15820 ac_save_gcc_no_link="$gcc_no_link"
15822 if test x$gcc_no_link != xyes; then
15823 # Use -fno-exceptions to that the C driver can link these tests without
15824 # hitting undefined references to personality routines.
15825 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15826 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15827 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15828 if test "${ac_cv_lib_m_sin+set}" = set; then
15829 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 else
15831 ac_check_lib_save_LIBS=$LIBS
15832 LIBS="-lm $LIBS"
15833 if test x$gcc_no_link = xyes; then
15834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15836 { (exit 1); exit 1; }; }
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15845 /* Override any gcc2 internal prototype to avoid an error. */
15846 #ifdef __cplusplus
15847 extern "C"
15848 #endif
15849 /* We use char because int might match the return type of a gcc2
15850 builtin and then its argument prototype would still apply. */
15851 char sin ();
15853 main ()
15855 sin ();
15857 return 0;
15859 _ACEOF
15860 rm -f conftest.$ac_objext conftest$ac_exeext
15861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15862 (eval $ac_link) 2>conftest.er1
15863 ac_status=$?
15864 grep -v '^ *+' conftest.er1 >conftest.err
15865 rm -f conftest.er1
15866 cat conftest.err >&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); } &&
15869 { ac_try='test -z "$ac_cxx_werror_flag"
15870 || test ! -s conftest.err'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; } &&
15876 { ac_try='test -s conftest$ac_exeext'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15879 ac_status=$?
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; }; then
15882 ac_cv_lib_m_sin=yes
15883 else
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.$ac_ext >&5
15887 ac_cv_lib_m_sin=no
15889 rm -f conftest.err conftest.$ac_objext \
15890 conftest$ac_exeext conftest.$ac_ext
15891 LIBS=$ac_check_lib_save_LIBS
15893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15894 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15895 if test $ac_cv_lib_m_sin = yes; then
15897 LIBS="$LIBS -lm"
15899 else
15901 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15902 gcc_no_link=yes
15908 # Check for the existence of <math.h> functions used if C99 is enabled.
15909 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15910 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15911 if test "${glibcxx_cv_c99_math+set}" = set; then
15912 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 else
15915 if test x$gcc_no_link = xyes; then
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <math.h>
15923 volatile double d1, d2;
15924 volatile int i;
15926 main ()
15928 i = fpclassify(d1);
15929 i = isfinite(d1);
15930 i = isinf(d1);
15931 i = isnan(d1);
15932 i = isnormal(d1);
15933 i = signbit(d1);
15934 i = isgreater(d1, d2);
15935 i = isgreaterequal(d1, d2);
15936 i = isless(d1, d2);
15937 i = islessequal(d1, d2);
15938 i = islessgreater(d1, d2);
15939 i = islessgreater(d1, d2);
15940 i = isunordered(d1, d2);
15943 return 0;
15945 _ACEOF
15946 rm -f conftest.$ac_objext
15947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948 (eval $ac_compile) 2>conftest.er1
15949 ac_status=$?
15950 grep -v '^ *+' conftest.er1 >conftest.err
15951 rm -f conftest.er1
15952 cat conftest.err >&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } &&
15955 { ac_try='test -z "$ac_cxx_werror_flag"
15956 || test ! -s conftest.err'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15959 ac_status=$?
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; } &&
15962 { ac_try='test -s conftest.$ac_objext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 glibcxx_cv_c99_math=yes
15969 else
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15973 glibcxx_cv_c99_math=no
15975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15976 else
15977 if test x$gcc_no_link = xyes; then
15978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15980 { (exit 1); exit 1; }; }
15982 cat >conftest.$ac_ext <<_ACEOF
15983 /* confdefs.h. */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 #include <math.h>
15989 volatile double d1, d2;
15990 volatile int i;
15992 main ()
15994 i = fpclassify(d1);
15995 i = isfinite(d1);
15996 i = isinf(d1);
15997 i = isnan(d1);
15998 i = isnormal(d1);
15999 i = signbit(d1);
16000 i = isgreater(d1, d2);
16001 i = isgreaterequal(d1, d2);
16002 i = isless(d1, d2);
16003 i = islessequal(d1, d2);
16004 i = islessgreater(d1, d2);
16005 i = islessgreater(d1, d2);
16006 i = isunordered(d1, d2);
16009 return 0;
16011 _ACEOF
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014 (eval $ac_link) 2>conftest.er1
16015 ac_status=$?
16016 grep -v '^ *+' conftest.er1 >conftest.err
16017 rm -f conftest.er1
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try='test -z "$ac_cxx_werror_flag"
16022 || test ! -s conftest.err'
16023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16024 (eval $ac_try) 2>&5
16025 ac_status=$?
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); }; } &&
16028 { ac_try='test -s conftest$ac_exeext'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; }; then
16034 glibcxx_cv_c99_math=yes
16035 else
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16039 glibcxx_cv_c99_math=no
16041 rm -f conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16047 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16048 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16049 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16051 cat >>confdefs.h <<\_ACEOF
16052 #define _GLIBCXX_USE_C99_MATH 1
16053 _ACEOF
16057 # Check for the existence of <complex.h> complex math functions.
16058 # This is necessary even though libstdc++ uses the builtin versions
16059 # of these functions, because if the builtin cannot be used, a reference
16060 # to the library function is emitted.
16062 for ac_header in tgmath.h
16064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16066 echo "$as_me:$LINENO: checking for $ac_header" >&5
16067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16073 else
16074 # Is the header compilable?
16075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16077 cat >conftest.$ac_ext <<_ACEOF
16078 /* confdefs.h. */
16079 _ACEOF
16080 cat confdefs.h >>conftest.$ac_ext
16081 cat >>conftest.$ac_ext <<_ACEOF
16082 /* end confdefs.h. */
16083 $ac_includes_default
16084 #include <$ac_header>
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_cxx_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_header_compiler=yes
16109 else
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_header_compiler=no
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16117 echo "${ECHO_T}$ac_header_compiler" >&6
16119 # Is the header present?
16120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h. */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 #include <$ac_header>
16129 _ACEOF
16130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16132 ac_status=$?
16133 grep -v '^ *+' conftest.er1 >conftest.err
16134 rm -f conftest.er1
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } >/dev/null; then
16138 if test -s conftest.err; then
16139 ac_cpp_err=$ac_cxx_preproc_warn_flag
16140 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16141 else
16142 ac_cpp_err=
16144 else
16145 ac_cpp_err=yes
16147 if test -z "$ac_cpp_err"; then
16148 ac_header_preproc=yes
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16153 ac_header_preproc=no
16155 rm -f conftest.err conftest.$ac_ext
16156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16157 echo "${ECHO_T}$ac_header_preproc" >&6
16159 # So? What about this header?
16160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16161 yes:no: )
16162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16166 ac_header_preproc=yes
16168 no:yes:* )
16169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16182 cat <<\_ASBOX
16183 ## ----------------------------------------- ##
16184 ## Report this to the package-unused lists. ##
16185 ## ----------------------------------------- ##
16186 _ASBOX
16188 sed "s/^/$as_me: WARNING: /" >&2
16190 esac
16191 echo "$as_me:$LINENO: checking for $ac_header" >&5
16192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 eval "$as_ac_Header=\$ac_header_preproc"
16198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16203 cat >>confdefs.h <<_ACEOF
16204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16205 _ACEOF
16206 ac_has_tgmath_h=yes
16207 else
16208 ac_has_tgmath_h=no
16211 done
16214 for ac_header in complex.h
16216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16218 echo "$as_me:$LINENO: checking for $ac_header" >&5
16219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16221 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16225 else
16226 # Is the header compilable?
16227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16229 cat >conftest.$ac_ext <<_ACEOF
16230 /* confdefs.h. */
16231 _ACEOF
16232 cat confdefs.h >>conftest.$ac_ext
16233 cat >>conftest.$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16235 $ac_includes_default
16236 #include <$ac_header>
16237 _ACEOF
16238 rm -f conftest.$ac_objext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16240 (eval $ac_compile) 2>conftest.er1
16241 ac_status=$?
16242 grep -v '^ *+' conftest.er1 >conftest.err
16243 rm -f conftest.er1
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try='test -z "$ac_cxx_werror_flag"
16248 || test ! -s conftest.err'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; } &&
16254 { ac_try='test -s conftest.$ac_objext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16260 ac_header_compiler=yes
16261 else
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16265 ac_header_compiler=no
16267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16269 echo "${ECHO_T}$ac_header_compiler" >&6
16271 # Is the header present?
16272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 #include <$ac_header>
16281 _ACEOF
16282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16284 ac_status=$?
16285 grep -v '^ *+' conftest.er1 >conftest.err
16286 rm -f conftest.er1
16287 cat conftest.err >&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } >/dev/null; then
16290 if test -s conftest.err; then
16291 ac_cpp_err=$ac_cxx_preproc_warn_flag
16292 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16293 else
16294 ac_cpp_err=
16296 else
16297 ac_cpp_err=yes
16299 if test -z "$ac_cpp_err"; then
16300 ac_header_preproc=yes
16301 else
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16305 ac_header_preproc=no
16307 rm -f conftest.err conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16309 echo "${ECHO_T}$ac_header_preproc" >&6
16311 # So? What about this header?
16312 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16313 yes:no: )
16314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16318 ac_header_preproc=yes
16320 no:yes:* )
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16334 cat <<\_ASBOX
16335 ## ----------------------------------------- ##
16336 ## Report this to the package-unused lists. ##
16337 ## ----------------------------------------- ##
16338 _ASBOX
16340 sed "s/^/$as_me: WARNING: /" >&2
16342 esac
16343 echo "$as_me:$LINENO: checking for $ac_header" >&5
16344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348 eval "$as_ac_Header=\$ac_header_preproc"
16350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16355 cat >>confdefs.h <<_ACEOF
16356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16357 _ACEOF
16358 ac_has_complex_h=yes
16359 else
16360 ac_has_complex_h=no
16363 done
16365 glibcxx_cv_c99_complex=no;
16366 if test x"$ac_has_complex_h" = x"yes"; then
16367 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16368 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16369 if test x$gcc_no_link = xyes; then
16370 cat >conftest.$ac_ext <<_ACEOF
16371 /* confdefs.h. */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 #include <complex.h>
16377 typedef __complex__ float float_type;
16378 typedef __complex__ double double_type;
16379 typedef __complex__ long double ld_type;
16380 volatile float_type tmpf;
16381 volatile double_type tmpd;
16382 volatile ld_type tmpld;
16383 volatile float f;
16384 volatile double d;
16385 volatile long double ld;
16387 main ()
16389 f = cabsf(tmpf);
16390 f = cargf(tmpf);
16391 tmpf = ccosf(tmpf);
16392 tmpf = ccoshf(tmpf);
16393 tmpf = cexpf(tmpf);
16394 tmpf = clogf(tmpf);
16395 tmpf = csinf(tmpf);
16396 tmpf = csinhf(tmpf);
16397 tmpf = csqrtf(tmpf);
16398 tmpf = ctanf(tmpf);
16399 tmpf = ctanhf(tmpf);
16400 tmpf = cpowf(tmpf, tmpf);
16401 d = cabs(tmpd);
16402 d = carg(tmpd);
16403 tmpd = ccos(tmpd);
16404 tmpd = ccosh(tmpd);
16405 tmpd = cexp(tmpd);
16406 tmpd = clog(tmpd);
16407 tmpd = csin(tmpd);
16408 tmpd = csinh(tmpd);
16409 tmpd = csqrt(tmpd);
16410 tmpd = ctan(tmpd);
16411 tmpd = ctanh(tmpd);
16412 tmpd = cpow(tmpd, tmpd);
16413 ld = cabsl(tmpld);
16414 ld = cargl(tmpld);
16415 tmpld = ccosl(tmpld);
16416 tmpld = ccoshl(tmpld);
16417 tmpld = cexpl(tmpld);
16418 tmpld = clogl(tmpld);
16419 tmpld = csinl(tmpld);
16420 tmpld = csinhl(tmpld);
16421 tmpld = csqrtl(tmpld);
16422 tmpld = ctanl(tmpld);
16423 tmpld = ctanhl(tmpld);
16424 tmpld = cpowl(tmpld, tmpld);
16427 return 0;
16429 _ACEOF
16430 rm -f conftest.$ac_objext
16431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16432 (eval $ac_compile) 2>conftest.er1
16433 ac_status=$?
16434 grep -v '^ *+' conftest.er1 >conftest.err
16435 rm -f conftest.er1
16436 cat conftest.err >&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } &&
16439 { ac_try='test -z "$ac_cxx_werror_flag"
16440 || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 glibcxx_cv_c99_complex=yes
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16457 glibcxx_cv_c99_complex=no
16459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16460 else
16461 if test x$gcc_no_link = xyes; then
16462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16464 { (exit 1); exit 1; }; }
16466 cat >conftest.$ac_ext <<_ACEOF
16467 /* confdefs.h. */
16468 _ACEOF
16469 cat confdefs.h >>conftest.$ac_ext
16470 cat >>conftest.$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16472 #include <complex.h>
16473 typedef __complex__ float float_type;
16474 typedef __complex__ double double_type;
16475 typedef __complex__ long double ld_type;
16476 volatile float_type tmpf;
16477 volatile double_type tmpd;
16478 volatile ld_type tmpld;
16479 volatile float f;
16480 volatile double d;
16481 volatile long double ld;
16483 main ()
16485 f = cabsf(tmpf);
16486 f = cargf(tmpf);
16487 tmpf = ccosf(tmpf);
16488 tmpf = ccoshf(tmpf);
16489 tmpf = cexpf(tmpf);
16490 tmpf = clogf(tmpf);
16491 tmpf = csinf(tmpf);
16492 tmpf = csinhf(tmpf);
16493 tmpf = csqrtf(tmpf);
16494 tmpf = ctanf(tmpf);
16495 tmpf = ctanhf(tmpf);
16496 tmpf = cpowf(tmpf, tmpf);
16497 d = cabs(tmpd);
16498 d = carg(tmpd);
16499 tmpd = ccos(tmpd);
16500 tmpd = ccosh(tmpd);
16501 tmpd = cexp(tmpd);
16502 tmpd = clog(tmpd);
16503 tmpd = csin(tmpd);
16504 tmpd = csinh(tmpd);
16505 tmpd = csqrt(tmpd);
16506 tmpd = ctan(tmpd);
16507 tmpd = ctanh(tmpd);
16508 tmpd = cpow(tmpd, tmpd);
16509 ld = cabsl(tmpld);
16510 ld = cargl(tmpld);
16511 tmpld = ccosl(tmpld);
16512 tmpld = ccoshl(tmpld);
16513 tmpld = cexpl(tmpld);
16514 tmpld = clogl(tmpld);
16515 tmpld = csinl(tmpld);
16516 tmpld = csinhl(tmpld);
16517 tmpld = csqrtl(tmpld);
16518 tmpld = ctanl(tmpld);
16519 tmpld = ctanhl(tmpld);
16520 tmpld = cpowl(tmpld, tmpld);
16523 return 0;
16525 _ACEOF
16526 rm -f conftest.$ac_objext conftest$ac_exeext
16527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16528 (eval $ac_link) 2>conftest.er1
16529 ac_status=$?
16530 grep -v '^ *+' conftest.er1 >conftest.err
16531 rm -f conftest.er1
16532 cat conftest.err >&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); } &&
16535 { ac_try='test -z "$ac_cxx_werror_flag"
16536 || test ! -s conftest.err'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16539 ac_status=$?
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; } &&
16542 { ac_try='test -s conftest$ac_exeext'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; }; then
16548 glibcxx_cv_c99_complex=yes
16549 else
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.$ac_ext >&5
16553 glibcxx_cv_c99_complex=no
16555 rm -f conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16559 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16560 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16561 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16563 cat >>confdefs.h <<\_ACEOF
16564 #define _GLIBCXX_USE_C99_COMPLEX 1
16565 _ACEOF
16569 # Check for the existence in <stdio.h> of vscanf, et. al.
16570 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16571 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16572 if test "${glibcxx_cv_c99_stdio+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16576 if test x$gcc_no_link = xyes; then
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #include <stdio.h>
16584 #include <stdarg.h>
16585 void foo(char* fmt, ...)
16587 va_list args; va_start(args, fmt);
16588 vfscanf(stderr, "%i", args);
16589 vscanf("%i", args);
16590 vsnprintf(fmt, 0, "%i", args);
16591 vsscanf(fmt, "%i", args);
16594 main ()
16596 snprintf("12", 0, "%i");
16598 return 0;
16600 _ACEOF
16601 rm -f conftest.$ac_objext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16603 (eval $ac_compile) 2>conftest.er1
16604 ac_status=$?
16605 grep -v '^ *+' conftest.er1 >conftest.err
16606 rm -f conftest.er1
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try='test -z "$ac_cxx_werror_flag"
16611 || test ! -s conftest.err'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; } &&
16617 { ac_try='test -s conftest.$ac_objext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16620 ac_status=$?
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 glibcxx_cv_c99_stdio=yes
16624 else
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16628 glibcxx_cv_c99_stdio=no
16630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16631 else
16632 if test x$gcc_no_link = xyes; then
16633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16635 { (exit 1); exit 1; }; }
16637 cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h. */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16643 #include <stdio.h>
16644 #include <stdarg.h>
16645 void foo(char* fmt, ...)
16647 va_list args; va_start(args, fmt);
16648 vfscanf(stderr, "%i", args);
16649 vscanf("%i", args);
16650 vsnprintf(fmt, 0, "%i", args);
16651 vsscanf(fmt, "%i", args);
16654 main ()
16656 snprintf("12", 0, "%i");
16658 return 0;
16660 _ACEOF
16661 rm -f conftest.$ac_objext conftest$ac_exeext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16663 (eval $ac_link) 2>conftest.er1
16664 ac_status=$?
16665 grep -v '^ *+' conftest.er1 >conftest.err
16666 rm -f conftest.er1
16667 cat conftest.err >&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try='test -z "$ac_cxx_werror_flag"
16671 || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest$ac_exeext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 glibcxx_cv_c99_stdio=yes
16684 else
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16688 glibcxx_cv_c99_stdio=no
16690 rm -f conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16696 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16697 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16699 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16700 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16701 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16702 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 else
16706 if test x$gcc_no_link = xyes; then
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #include <stdlib.h>
16714 volatile float f;
16715 volatile long double ld;
16716 volatile unsigned long long ll;
16717 lldiv_t mydivt;
16719 main ()
16721 char* tmp;
16722 f = strtof("gnu", &tmp);
16723 ld = strtold("gnu", &tmp);
16724 ll = strtoll("gnu", &tmp, 10);
16725 ll = strtoull("gnu", &tmp, 10);
16726 ll = llabs(10);
16727 mydivt = lldiv(10,1);
16728 ll = mydivt.quot;
16729 ll = mydivt.rem;
16730 ll = atoll("10");
16731 _Exit(0);
16734 return 0;
16736 _ACEOF
16737 rm -f conftest.$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>conftest.er1
16740 ac_status=$?
16741 grep -v '^ *+' conftest.er1 >conftest.err
16742 rm -f conftest.er1
16743 cat conftest.err >&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try='test -z "$ac_cxx_werror_flag"
16747 || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try='test -s conftest.$ac_objext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 glibcxx_cv_c99_stdlib=yes
16760 else
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.$ac_ext >&5
16764 glibcxx_cv_c99_stdlib=no
16766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16767 else
16768 if test x$gcc_no_link = xyes; then
16769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16771 { (exit 1); exit 1; }; }
16773 cat >conftest.$ac_ext <<_ACEOF
16774 /* confdefs.h. */
16775 _ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 #include <stdlib.h>
16780 volatile float f;
16781 volatile long double ld;
16782 volatile unsigned long long ll;
16783 lldiv_t mydivt;
16785 main ()
16787 char* tmp;
16788 f = strtof("gnu", &tmp);
16789 ld = strtold("gnu", &tmp);
16790 ll = strtoll("gnu", &tmp, 10);
16791 ll = strtoull("gnu", &tmp, 10);
16792 ll = llabs(10);
16793 mydivt = lldiv(10,1);
16794 ll = mydivt.quot;
16795 ll = mydivt.rem;
16796 ll = atoll("10");
16797 _Exit(0);
16800 return 0;
16802 _ACEOF
16803 rm -f conftest.$ac_objext conftest$ac_exeext
16804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16805 (eval $ac_link) 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try='test -z "$ac_cxx_werror_flag"
16813 || test ! -s conftest.err'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; } &&
16819 { ac_try='test -s conftest$ac_exeext'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; }; then
16825 glibcxx_cv_c99_stdlib=yes
16826 else
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16830 glibcxx_cv_c99_stdlib=no
16832 rm -f conftest.err conftest.$ac_objext \
16833 conftest$ac_exeext conftest.$ac_ext
16838 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16839 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16841 # Check for the existence in <wchar.h> of wcstold, etc.
16842 glibcxx_cv_c99_wchar=no;
16843 if test x"$ac_has_wchar_h" = xyes &&
16844 test x"$ac_has_wctype_h" = xyes; then
16845 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16846 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16847 cat >conftest.$ac_ext <<_ACEOF
16848 /* confdefs.h. */
16849 _ACEOF
16850 cat confdefs.h >>conftest.$ac_ext
16851 cat >>conftest.$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 #include <wchar.h>
16854 namespace test
16856 using ::wcstold;
16857 using ::wcstoll;
16858 using ::wcstoull;
16862 main ()
16866 return 0;
16868 _ACEOF
16869 rm -f conftest.$ac_objext
16870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16871 (eval $ac_compile) 2>conftest.er1
16872 ac_status=$?
16873 grep -v '^ *+' conftest.er1 >conftest.err
16874 rm -f conftest.er1
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } &&
16878 { ac_try='test -z "$ac_cxx_werror_flag"
16879 || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16882 ac_status=$?
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16888 ac_status=$?
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 glibcxx_cv_c99_wchar=yes
16892 else
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.$ac_ext >&5
16896 glibcxx_cv_c99_wchar=no
16898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16900 # Checks for wide character functions that may not be present.
16901 # Injection of these is wrapped with guard macros.
16902 # NB: only put functions here, instead of immediately above, if
16903 # absolutely necessary.
16904 cat >conftest.$ac_ext <<_ACEOF
16905 /* confdefs.h. */
16906 _ACEOF
16907 cat confdefs.h >>conftest.$ac_ext
16908 cat >>conftest.$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 #include <wchar.h>
16911 namespace test { using ::vfwscanf; }
16913 main ()
16917 return 0;
16919 _ACEOF
16920 rm -f conftest.$ac_objext
16921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16922 (eval $ac_compile) 2>conftest.er1
16923 ac_status=$?
16924 grep -v '^ *+' conftest.er1 >conftest.err
16925 rm -f conftest.er1
16926 cat conftest.err >&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } &&
16929 { ac_try='test -z "$ac_cxx_werror_flag"
16930 || test ! -s conftest.err'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; } &&
16936 { ac_try='test -s conftest.$ac_objext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16943 cat >>confdefs.h <<\_ACEOF
16944 #define HAVE_VFWSCANF 1
16945 _ACEOF
16947 else
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.$ac_ext >&5
16952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h. */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 #include <wchar.h>
16961 namespace test { using ::vswscanf; }
16963 main ()
16967 return 0;
16969 _ACEOF
16970 rm -f conftest.$ac_objext
16971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16972 (eval $ac_compile) 2>conftest.er1
16973 ac_status=$?
16974 grep -v '^ *+' conftest.er1 >conftest.err
16975 rm -f conftest.er1
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try='test -z "$ac_cxx_werror_flag"
16980 || test ! -s conftest.err'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16983 ac_status=$?
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; } &&
16986 { ac_try='test -s conftest.$ac_objext'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16989 ac_status=$?
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; }; then
16993 cat >>confdefs.h <<\_ACEOF
16994 #define HAVE_VSWSCANF 1
16995 _ACEOF
16997 else
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17004 cat >conftest.$ac_ext <<_ACEOF
17005 /* confdefs.h. */
17006 _ACEOF
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17010 #include <wchar.h>
17011 namespace test { using ::vwscanf; }
17013 main ()
17017 return 0;
17019 _ACEOF
17020 rm -f conftest.$ac_objext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17022 (eval $ac_compile) 2>conftest.er1
17023 ac_status=$?
17024 grep -v '^ *+' conftest.er1 >conftest.err
17025 rm -f conftest.er1
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } &&
17029 { ac_try='test -z "$ac_cxx_werror_flag"
17030 || test ! -s conftest.err'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17033 ac_status=$?
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; } &&
17036 { ac_try='test -s conftest.$ac_objext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17039 ac_status=$?
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17043 cat >>confdefs.h <<\_ACEOF
17044 #define HAVE_VWSCANF 1
17045 _ACEOF
17047 else
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.$ac_ext >&5
17052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17054 cat >conftest.$ac_ext <<_ACEOF
17055 /* confdefs.h. */
17056 _ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 #include <wchar.h>
17061 namespace test { using ::wcstof; }
17063 main ()
17067 return 0;
17069 _ACEOF
17070 rm -f conftest.$ac_objext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17072 (eval $ac_compile) 2>conftest.er1
17073 ac_status=$?
17074 grep -v '^ *+' conftest.er1 >conftest.err
17075 rm -f conftest.er1
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -z "$ac_cxx_werror_flag"
17080 || test ! -s conftest.err'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17083 ac_status=$?
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; } &&
17086 { ac_try='test -s conftest.$ac_objext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17089 ac_status=$?
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17093 cat >>confdefs.h <<\_ACEOF
17094 #define HAVE_WCSTOF 1
17095 _ACEOF
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <wctype.h>
17112 main ()
17114 wint_t t; int i = iswblank(t);
17116 return 0;
17118 _ACEOF
17119 rm -f conftest.$ac_objext
17120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17121 (eval $ac_compile) 2>conftest.er1
17122 ac_status=$?
17123 grep -v '^ *+' conftest.er1 >conftest.err
17124 rm -f conftest.er1
17125 cat conftest.err >&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } &&
17128 { ac_try='test -z "$ac_cxx_werror_flag"
17129 || test ! -s conftest.err'
17130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17131 (eval $ac_try) 2>&5
17132 ac_status=$?
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); }; } &&
17135 { ac_try='test -s conftest.$ac_objext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17142 cat >>confdefs.h <<\_ACEOF
17143 #define HAVE_ISWBLANK 1
17144 _ACEOF
17146 else
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.$ac_ext >&5
17151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17153 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17154 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17157 # Option parsed, now set things appropriately.
17158 if test x"$glibcxx_cv_c99_math" = x"no" ||
17159 test x"$glibcxx_cv_c99_complex" = x"no" ||
17160 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17161 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17162 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17163 enable_c99=no;
17164 else
17166 cat >>confdefs.h <<\_ACEOF
17167 #define _GLIBCXX_USE_C99 1
17168 _ACEOF
17172 gcc_no_link="$ac_save_gcc_no_link"
17173 LIBS="$ac_save_LIBS"
17174 CXXFLAGS="$ac_save_CXXFLAGS"
17175 ac_ext=c
17176 ac_cpp='$CPP $CPPFLAGS'
17177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17183 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17184 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17185 echo "$as_me:$LINENO: result: $enable_c99" >&5
17186 echo "${ECHO_T}$enable_c99" >&6
17189 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17190 if test "${enable_concept_checks+set}" = set; then
17191 enableval="$enable_concept_checks"
17193 case "$enableval" in
17194 yes|no) ;;
17195 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17196 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17197 { (exit 1); exit 1; }; } ;;
17198 esac
17200 else
17201 enable_concept_checks=no
17204 if test $enable_concept_checks = yes; then
17206 cat >>confdefs.h <<\_ACEOF
17207 #define _GLIBCXX_CONCEPT_CHECKS 1
17208 _ACEOF
17213 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17214 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17215 enableval="$enable_libstdcxx_debug_flags"
17216 case "x$enable_libstdcxx_debug_flags" in
17217 xno | x) enable_libstdcxx_debug_flags= ;;
17218 x-*) ;;
17219 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17220 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17221 { (exit 1); exit 1; }; } ;;
17222 esac
17223 else
17224 enable_libstdcxx_debug_flags="-g3 -O0"
17228 # Option parsed, now set things appropriately
17229 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17232 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17233 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17236 echo "$as_me:$LINENO: checking for additional debug build" >&5
17237 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17238 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17239 if test "${enable_libstdcxx_debug+set}" = set; then
17240 enableval="$enable_libstdcxx_debug"
17242 case "$enableval" in
17243 yes|no) ;;
17244 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17245 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17246 { (exit 1); exit 1; }; } ;;
17247 esac
17249 else
17250 enable_libstdcxx_debug=no
17253 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17254 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17259 enable_parallel=no;
17261 # See if configured libgomp/omp.h exists. (libgomp may be in
17262 # noconfigdirs but not explicitly disabled.)
17263 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17264 enable_parallel=yes;
17265 else
17266 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17267 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17270 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17271 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17272 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17273 echo "${ECHO_T}$enable_parallel" >&6
17276 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17277 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17278 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17279 if test "${enable_cxx_flags+set}" = set; then
17280 enableval="$enable_cxx_flags"
17281 case "x$enable_cxx_flags" in
17282 xno | x) enable_cxx_flags= ;;
17283 x-*) ;;
17284 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17285 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17286 { (exit 1); exit 1; }; } ;;
17287 esac
17288 else
17289 enable_cxx_flags=
17293 # Run through flags (either default or command-line) and set anything
17294 # extra (e.g., #defines) that must accompany particular g++ options.
17295 if test -n "$enable_cxx_flags"; then
17296 for f in $enable_cxx_flags; do
17297 case "$f" in
17298 -fhonor-std) ;;
17299 -*) ;;
17300 *) # and we're trying to pass /what/ exactly?
17301 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17302 echo "$as_me: error: compiler flags start with a -" >&2;}
17303 { (exit 1); exit 1; }; } ;;
17304 esac
17305 done
17308 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17309 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17310 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17314 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17315 if test "${enable_fully_dynamic_string+set}" = set; then
17316 enableval="$enable_fully_dynamic_string"
17318 case "$enableval" in
17319 yes|no) ;;
17320 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17321 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17322 { (exit 1); exit 1; }; } ;;
17323 esac
17325 else
17326 enable_fully_dynamic_string=no
17329 if test $enable_fully_dynamic_string = yes; then
17331 cat >>confdefs.h <<\_ACEOF
17332 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17333 _ACEOF
17338 # Checks for operating systems support that don't require linking.
17341 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17342 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17343 if test "${glibcxx_cv_system_error1+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 else
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 #include <errno.h>
17355 main ()
17357 int i = EOWNERDEAD;
17359 return 0;
17361 _ACEOF
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17365 ac_status=$?
17366 grep -v '^ *+' conftest.er1 >conftest.err
17367 rm -f conftest.er1
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try='test -z "$ac_c_werror_flag"
17372 || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17375 ac_status=$?
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17381 ac_status=$?
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17384 glibcxx_cv_system_error1=yes
17385 else
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17389 glibcxx_cv_system_error1=no
17391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17395 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17396 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17397 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17399 cat >>confdefs.h <<\_ACEOF
17400 #define HAVE_EOWNERDEAD 1
17401 _ACEOF
17404 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17405 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17406 if test "${glibcxx_cv_system_error2+set}" = set; then
17407 echo $ECHO_N "(cached) $ECHO_C" >&6
17408 else
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 #include <errno.h>
17418 main ()
17420 int i = ENOTRECOVERABLE;
17422 return 0;
17424 _ACEOF
17425 rm -f conftest.$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17428 ac_status=$?
17429 grep -v '^ *+' conftest.er1 >conftest.err
17430 rm -f conftest.er1
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try='test -z "$ac_c_werror_flag"
17435 || test ! -s conftest.err'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } &&
17441 { ac_try='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 glibcxx_cv_system_error2=yes
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 glibcxx_cv_system_error2=no
17454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17458 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17459 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17460 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17462 cat >>confdefs.h <<\_ACEOF
17463 #define HAVE_ENOTRECOVERABLE 1
17464 _ACEOF
17467 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17468 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17469 if test "${glibcxx_cv_system_error3+set}" = set; then
17470 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 else
17473 cat >conftest.$ac_ext <<_ACEOF
17474 /* confdefs.h. */
17475 _ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 #include <errno.h>
17481 main ()
17483 int i = ENOLINK;
17485 return 0;
17487 _ACEOF
17488 rm -f conftest.$ac_objext
17489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17490 (eval $ac_compile) 2>conftest.er1
17491 ac_status=$?
17492 grep -v '^ *+' conftest.er1 >conftest.err
17493 rm -f conftest.er1
17494 cat conftest.err >&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } &&
17497 { ac_try='test -z "$ac_c_werror_flag"
17498 || test ! -s conftest.err'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; } &&
17504 { ac_try='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 glibcxx_cv_system_error3=yes
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17515 glibcxx_cv_system_error3=no
17517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17521 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17522 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17523 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17525 cat >>confdefs.h <<\_ACEOF
17526 #define HAVE_ENOLINK 1
17527 _ACEOF
17530 echo "$as_me:$LINENO: checking for EPROTO" >&5
17531 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17532 if test "${glibcxx_cv_system_error4+set}" = set; then
17533 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 else
17536 cat >conftest.$ac_ext <<_ACEOF
17537 /* confdefs.h. */
17538 _ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 #include <errno.h>
17544 main ()
17546 int i = EPROTO;
17548 return 0;
17550 _ACEOF
17551 rm -f conftest.$ac_objext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17553 (eval $ac_compile) 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
17560 { ac_try='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try='test -s conftest.$ac_objext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 glibcxx_cv_system_error4=yes
17574 else
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17578 glibcxx_cv_system_error4=no
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17584 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17585 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17586 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17588 cat >>confdefs.h <<\_ACEOF
17589 #define HAVE_EPROTO 1
17590 _ACEOF
17593 echo "$as_me:$LINENO: checking for ENODATA" >&5
17594 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17595 if test "${glibcxx_cv_system_error5+set}" = set; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 else
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 #include <errno.h>
17607 main ()
17609 int i = ENODATA;
17611 return 0;
17613 _ACEOF
17614 rm -f conftest.$ac_objext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17616 (eval $ac_compile) 2>conftest.er1
17617 ac_status=$?
17618 grep -v '^ *+' conftest.er1 >conftest.err
17619 rm -f conftest.er1
17620 cat conftest.err >&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); } &&
17623 { ac_try='test -z "$ac_c_werror_flag"
17624 || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 glibcxx_cv_system_error5=yes
17637 else
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17641 glibcxx_cv_system_error5=no
17643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17647 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17648 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17649 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17651 cat >>confdefs.h <<\_ACEOF
17652 #define HAVE_ENODATA 1
17653 _ACEOF
17656 echo "$as_me:$LINENO: checking for ENOSR" >&5
17657 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17658 if test "${glibcxx_cv_system_error6+set}" = set; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17660 else
17662 cat >conftest.$ac_ext <<_ACEOF
17663 /* confdefs.h. */
17664 _ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17668 #include <errno.h>
17670 main ()
17672 int i = ENOSR;
17674 return 0;
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try='test -z "$ac_c_werror_flag"
17687 || test ! -s conftest.err'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17690 ac_status=$?
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; } &&
17693 { ac_try='test -s conftest.$ac_objext'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17696 ac_status=$?
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; }; then
17699 glibcxx_cv_system_error6=yes
17700 else
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17704 glibcxx_cv_system_error6=no
17706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17710 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17711 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17712 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17714 cat >>confdefs.h <<\_ACEOF
17715 #define HAVE_ENOSR 1
17716 _ACEOF
17719 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17720 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17721 if test "${glibcxx_cv_system_error7+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 else
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 #include <errno.h>
17733 main ()
17735 int i = ENOSTR;
17737 return 0;
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17743 ac_status=$?
17744 grep -v '^ *+' conftest.er1 >conftest.err
17745 rm -f conftest.er1
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try='test -z "$ac_c_werror_flag"
17750 || test ! -s conftest.err'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17753 ac_status=$?
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 glibcxx_cv_system_error7=yes
17763 else
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17767 glibcxx_cv_system_error7=no
17769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17773 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17774 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17775 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17777 cat >>confdefs.h <<\_ACEOF
17778 #define HAVE_ENOSTR 1
17779 _ACEOF
17782 echo "$as_me:$LINENO: checking for ETIME" >&5
17783 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17784 if test "${glibcxx_cv_system_error8+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17786 else
17788 cat >conftest.$ac_ext <<_ACEOF
17789 /* confdefs.h. */
17790 _ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794 #include <errno.h>
17796 main ()
17798 int i = ETIME;
17800 return 0;
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>conftest.er1
17806 ac_status=$?
17807 grep -v '^ *+' conftest.er1 >conftest.err
17808 rm -f conftest.er1
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } &&
17812 { ac_try='test -z "$ac_c_werror_flag"
17813 || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try='test -s conftest.$ac_objext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17822 ac_status=$?
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17825 glibcxx_cv_system_error8=yes
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 glibcxx_cv_system_error8=no
17832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17837 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17838 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17840 cat >>confdefs.h <<\_ACEOF
17841 #define HAVE_ETIME 1
17842 _ACEOF
17845 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17846 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17847 if test "${glibcxx_cv_system_error9+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <errno.h>
17859 main ()
17861 int i = sys_nerr;
17863 return 0;
17865 _ACEOF
17866 rm -f conftest.$ac_objext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17868 (eval $ac_compile) 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try='test -z "$ac_c_werror_flag"
17876 || test ! -s conftest.err'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17879 ac_status=$?
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try='test -s conftest.$ac_objext'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17885 ac_status=$?
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17888 glibcxx_cv_system_error9=yes
17889 else
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.$ac_ext >&5
17893 glibcxx_cv_system_error9=no
17895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17899 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17900 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17901 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17903 cat >>confdefs.h <<\_ACEOF
17904 #define HAVE_SYS_NERR 1
17905 _ACEOF
17908 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17909 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17910 if test "${glibcxx_cv_system_error10+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 else
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 #include <errno.h>
17922 main ()
17924 int i = EBADMSG;
17926 return 0;
17928 _ACEOF
17929 rm -f conftest.$ac_objext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17931 (eval $ac_compile) 2>conftest.er1
17932 ac_status=$?
17933 grep -v '^ *+' conftest.er1 >conftest.err
17934 rm -f conftest.er1
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } &&
17938 { ac_try='test -z "$ac_c_werror_flag"
17939 || test ! -s conftest.err'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17942 ac_status=$?
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try='test -s conftest.$ac_objext'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17951 glibcxx_cv_system_error10=yes
17952 else
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17956 glibcxx_cv_system_error10=no
17958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17962 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17963 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17964 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17966 cat >>confdefs.h <<\_ACEOF
17967 #define HAVE_EBADMSG 1
17968 _ACEOF
17971 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17972 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17973 if test "${glibcxx_cv_system_error11+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17977 cat >conftest.$ac_ext <<_ACEOF
17978 /* confdefs.h. */
17979 _ACEOF
17980 cat confdefs.h >>conftest.$ac_ext
17981 cat >>conftest.$ac_ext <<_ACEOF
17982 /* end confdefs.h. */
17983 #include <errno.h>
17985 main ()
17987 int i = ECANCELED;
17989 return 0;
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try='test -z "$ac_c_werror_flag"
18002 || test ! -s conftest.err'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try='test -s conftest.$ac_objext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 glibcxx_cv_system_error11=yes
18015 else
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18019 glibcxx_cv_system_error11=no
18021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18025 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18026 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18027 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18029 cat >>confdefs.h <<\_ACEOF
18030 #define HAVE_ECANCELED 1
18031 _ACEOF
18034 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18035 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18036 if test "${glibcxx_cv_system_error12+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 else
18040 cat >conftest.$ac_ext <<_ACEOF
18041 /* confdefs.h. */
18042 _ACEOF
18043 cat confdefs.h >>conftest.$ac_ext
18044 cat >>conftest.$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18046 #include <errno.h>
18048 main ()
18050 int i = EOVERFLOW;
18052 return 0;
18054 _ACEOF
18055 rm -f conftest.$ac_objext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18057 (eval $ac_compile) 2>conftest.er1
18058 ac_status=$?
18059 grep -v '^ *+' conftest.er1 >conftest.err
18060 rm -f conftest.er1
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -z "$ac_c_werror_flag"
18065 || test ! -s conftest.err'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18068 ac_status=$?
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; } &&
18071 { ac_try='test -s conftest.$ac_objext'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18074 ac_status=$?
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; }; then
18077 glibcxx_cv_system_error12=yes
18078 else
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18082 glibcxx_cv_system_error12=no
18084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18088 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18089 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18090 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18092 cat >>confdefs.h <<\_ACEOF
18093 #define HAVE_EOVERFLOW 1
18094 _ACEOF
18097 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18098 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18099 if test "${glibcxx_cv_system_error13+set}" = set; then
18100 echo $ECHO_N "(cached) $ECHO_C" >&6
18101 else
18103 cat >conftest.$ac_ext <<_ACEOF
18104 /* confdefs.h. */
18105 _ACEOF
18106 cat confdefs.h >>conftest.$ac_ext
18107 cat >>conftest.$ac_ext <<_ACEOF
18108 /* end confdefs.h. */
18109 #include <errno.h>
18111 main ()
18113 int i = ENOTSUP;
18115 return 0;
18117 _ACEOF
18118 rm -f conftest.$ac_objext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18120 (eval $ac_compile) 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try='test -z "$ac_c_werror_flag"
18128 || test ! -s conftest.err'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; } &&
18134 { ac_try='test -s conftest.$ac_objext'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; }; then
18140 glibcxx_cv_system_error13=yes
18141 else
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18145 glibcxx_cv_system_error13=no
18147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18151 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18152 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18153 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18155 cat >>confdefs.h <<\_ACEOF
18156 #define HAVE_ENOTSUP 1
18157 _ACEOF
18160 echo "$as_me:$LINENO: checking for EIDRM" >&5
18161 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18162 if test "${glibcxx_cv_system_error14+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172 #include <errno.h>
18174 main ()
18176 int i = EIDRM;
18178 return 0;
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18183 (eval $ac_compile) 2>conftest.er1
18184 ac_status=$?
18185 grep -v '^ *+' conftest.er1 >conftest.err
18186 rm -f conftest.er1
18187 cat conftest.err >&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } &&
18190 { ac_try='test -z "$ac_c_werror_flag"
18191 || test ! -s conftest.err'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18194 ac_status=$?
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; } &&
18197 { ac_try='test -s conftest.$ac_objext'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18200 ac_status=$?
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; }; then
18203 glibcxx_cv_system_error14=yes
18204 else
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18208 glibcxx_cv_system_error14=no
18210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18214 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18215 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18216 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18218 cat >>confdefs.h <<\_ACEOF
18219 #define HAVE_EIDRM 1
18220 _ACEOF
18223 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18224 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18225 if test "${glibcxx_cv_system_error15+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 else
18229 cat >conftest.$ac_ext <<_ACEOF
18230 /* confdefs.h. */
18231 _ACEOF
18232 cat confdefs.h >>conftest.$ac_ext
18233 cat >>conftest.$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18235 #include <errno.h>
18237 main ()
18239 int i = ETXTBSY;
18241 return 0;
18243 _ACEOF
18244 rm -f conftest.$ac_objext
18245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18246 (eval $ac_compile) 2>conftest.er1
18247 ac_status=$?
18248 grep -v '^ *+' conftest.er1 >conftest.err
18249 rm -f conftest.er1
18250 cat conftest.err >&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); } &&
18253 { ac_try='test -z "$ac_c_werror_flag"
18254 || test ! -s conftest.err'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18257 ac_status=$?
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; } &&
18260 { ac_try='test -s conftest.$ac_objext'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18263 ac_status=$?
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18266 glibcxx_cv_system_error15=yes
18267 else
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18271 glibcxx_cv_system_error15=no
18273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18277 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error15" >&5
18278 echo "${ECHO_T}$glibcxx_cv_system_error15" >&6
18279 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18281 cat >>confdefs.h <<\_ACEOF
18282 #define HAVE_ETXTBSY 1
18283 _ACEOF
18290 # Only do link tests if native. Else, hardcode.
18291 if $GLIBCXX_IS_NATIVE; then
18293 # We can do more elaborate tests that assume a working linker.
18294 CANADIAN=no
18296 # Check for available headers.
18312 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18313 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18314 sys/types.h sys/ipc.h sys/sem.h
18316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18318 echo "$as_me:$LINENO: checking for $ac_header" >&5
18319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18325 else
18326 # Is the header compilable?
18327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18329 cat >conftest.$ac_ext <<_ACEOF
18330 /* confdefs.h. */
18331 _ACEOF
18332 cat confdefs.h >>conftest.$ac_ext
18333 cat >>conftest.$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18335 $ac_includes_default
18336 #include <$ac_header>
18337 _ACEOF
18338 rm -f conftest.$ac_objext
18339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18340 (eval $ac_compile) 2>conftest.er1
18341 ac_status=$?
18342 grep -v '^ *+' conftest.er1 >conftest.err
18343 rm -f conftest.er1
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } &&
18347 { ac_try='test -z "$ac_c_werror_flag"
18348 || test ! -s conftest.err'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18351 ac_status=$?
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; } &&
18354 { ac_try='test -s conftest.$ac_objext'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18357 ac_status=$?
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; }; then
18360 ac_header_compiler=yes
18361 else
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18365 ac_header_compiler=no
18367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18369 echo "${ECHO_T}$ac_header_compiler" >&6
18371 # Is the header present?
18372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18374 cat >conftest.$ac_ext <<_ACEOF
18375 /* confdefs.h. */
18376 _ACEOF
18377 cat confdefs.h >>conftest.$ac_ext
18378 cat >>conftest.$ac_ext <<_ACEOF
18379 /* end confdefs.h. */
18380 #include <$ac_header>
18381 _ACEOF
18382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18384 ac_status=$?
18385 grep -v '^ *+' conftest.er1 >conftest.err
18386 rm -f conftest.er1
18387 cat conftest.err >&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } >/dev/null; then
18390 if test -s conftest.err; then
18391 ac_cpp_err=$ac_c_preproc_warn_flag
18392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18393 else
18394 ac_cpp_err=
18396 else
18397 ac_cpp_err=yes
18399 if test -z "$ac_cpp_err"; then
18400 ac_header_preproc=yes
18401 else
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18405 ac_header_preproc=no
18407 rm -f conftest.err conftest.$ac_ext
18408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18409 echo "${ECHO_T}$ac_header_preproc" >&6
18411 # So? What about this header?
18412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18413 yes:no: )
18414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18418 ac_header_preproc=yes
18420 no:yes:* )
18421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18434 cat <<\_ASBOX
18435 ## ----------------------------------------- ##
18436 ## Report this to the package-unused lists. ##
18437 ## ----------------------------------------- ##
18438 _ASBOX
18440 sed "s/^/$as_me: WARNING: /" >&2
18442 esac
18443 echo "$as_me:$LINENO: checking for $ac_header" >&5
18444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 else
18448 eval "$as_ac_Header=\$ac_header_preproc"
18450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18455 cat >>confdefs.h <<_ACEOF
18456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18457 _ACEOF
18461 done
18466 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18467 if test "${with_gnu_ld+set}" = set; then
18468 withval="$with_gnu_ld"
18469 test "$withval" = no || with_gnu_ld=yes
18470 else
18471 with_gnu_ld=no
18473 ac_prog=ld
18474 if test "$GCC" = yes; then
18475 # Check if gcc -print-prog-name=ld gives a path.
18476 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18477 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18478 case $host in
18479 *-*-mingw*)
18480 # gcc leaves a trailing carriage return which upsets mingw
18481 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18483 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18484 esac
18485 case $ac_prog in
18486 # Accept absolute paths.
18487 [\\/]* | ?:[\\/]*)
18488 re_direlt='/[^/][^/]*/\.\./'
18489 # Canonicalize the pathname of ld
18490 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18491 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18492 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18493 done
18494 test -z "$LD" && LD="$ac_prog"
18497 # If it fails, then pretend we aren't using GCC.
18498 ac_prog=ld
18501 # If it is relative, then search for the first ld in PATH.
18502 with_gnu_ld=unknown
18504 esac
18505 elif test "$with_gnu_ld" = yes; then
18506 echo "$as_me:$LINENO: checking for GNU ld" >&5
18507 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18508 else
18509 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18510 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18512 if test "${lt_cv_path_LD+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 else
18515 if test -z "$LD"; then
18516 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18517 for ac_dir in $PATH; do
18518 IFS="$lt_save_ifs"
18519 test -z "$ac_dir" && ac_dir=.
18520 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18521 lt_cv_path_LD="$ac_dir/$ac_prog"
18522 # Check to see if the program is GNU ld. I'd rather use --version,
18523 # but apparently some variants of GNU ld only accept -v.
18524 # Break only if it was the GNU/non-GNU ld that we prefer.
18525 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18526 *GNU* | *'with BFD'*)
18527 test "$with_gnu_ld" != no && break
18530 test "$with_gnu_ld" != yes && break
18532 esac
18534 done
18535 IFS="$lt_save_ifs"
18536 else
18537 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18541 LD="$lt_cv_path_LD"
18542 if test -n "$LD"; then
18543 echo "$as_me:$LINENO: result: $LD" >&5
18544 echo "${ECHO_T}$LD" >&6
18545 else
18546 echo "$as_me:$LINENO: result: no" >&5
18547 echo "${ECHO_T}no" >&6
18549 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18550 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18551 { (exit 1); exit 1; }; }
18552 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18553 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18554 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18555 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 else
18557 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18558 case `$LD -v 2>&1 </dev/null` in
18559 *GNU* | *'with BFD'*)
18560 lt_cv_prog_gnu_ld=yes
18563 lt_cv_prog_gnu_ld=no
18565 esac
18567 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18568 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18569 with_gnu_ld=$lt_cv_prog_gnu_ld
18577 # If we're not using GNU ld, then there's no point in even trying these
18578 # tests. Check for that first. We should have already tested for gld
18579 # by now (in libtool), but require it now just to be safe...
18580 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18581 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18585 # The name set by libtool depends on the version of libtool. Shame on us
18586 # for depending on an impl detail, but c'est la vie. Older versions used
18587 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18588 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18589 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18590 # set (hence we're using an older libtool), then set it.
18591 if test x${with_gnu_ld+set} != xset; then
18592 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18593 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18594 with_gnu_ld=no
18595 else
18596 with_gnu_ld=$ac_cv_prog_gnu_ld
18600 # Start by getting the version number. I think the libtool test already
18601 # does some of this, but throws away the result.
18602 glibcxx_ld_is_gold=no
18603 if test x"$with_gnu_ld" = x"yes"; then
18604 echo "$as_me:$LINENO: checking for ld version" >&5
18605 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18607 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18608 glibcxx_ld_is_gold=yes
18610 ldver=`$LD --version 2>/dev/null | head -1 | \
18611 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18613 glibcxx_gnu_ld_version=`echo $ldver | \
18614 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18615 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18616 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18619 # Set --gc-sections.
18620 glibcxx_have_gc_sections=no
18621 if test "$glibcxx_ld_is_gold" = "yes"; then
18622 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18623 glibcxx_have_gc_sections=yes
18625 else
18626 glibcxx_gcsections_min_ld=21602
18627 if test x"$with_gnu_ld" = x"yes" &&
18628 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18629 glibcxx_have_gc_sections=yes
18632 if test "$glibcxx_have_gc_sections" = "yes"; then
18633 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18634 # NB: This flag only works reliably after 2.16.1. Configure tests
18635 # for this are difficult, so hard wire a value that should work.
18637 ac_test_CFLAGS="${CFLAGS+set}"
18638 ac_save_CFLAGS="$CFLAGS"
18639 CFLAGS='-Wl,--gc-sections'
18641 # Check for -Wl,--gc-sections
18642 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18643 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18644 if test x$gcc_no_link = xyes; then
18645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18647 { (exit 1); exit 1; }; }
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h. */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 int one(void) { return 1; }
18656 int two(void) { return 2; }
18659 main ()
18661 two();
18663 return 0;
18665 _ACEOF
18666 rm -f conftest.$ac_objext conftest$ac_exeext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18668 (eval $ac_link) 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_c_werror_flag"
18676 || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest$ac_exeext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_gcsections=yes
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_gcsections=no
18695 rm -f conftest.err conftest.$ac_objext \
18696 conftest$ac_exeext conftest.$ac_ext
18697 if test "$ac_gcsections" = "yes"; then
18698 rm -f conftest.c
18699 touch conftest.c
18700 if $CC -c conftest.c; then
18701 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18702 grep "Warning: gc-sections option ignored" > /dev/null; then
18703 ac_gcsections=no
18706 rm -f conftest.c conftest.o conftest
18708 if test "$ac_gcsections" = "yes"; then
18709 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18711 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18712 echo "${ECHO_T}$ac_gcsections" >&6
18714 if test "$ac_test_CFLAGS" = set; then
18715 CFLAGS="$ac_save_CFLAGS"
18716 else
18717 # this is the suspicious part
18718 CFLAGS=''
18722 # Set -z,relro.
18723 # Note this is only for shared objects.
18724 ac_ld_relro=no
18725 if test x"$with_gnu_ld" = x"yes"; then
18726 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18727 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18728 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18729 if test -n "$cxx_z_relo"; then
18730 OPT_LDFLAGS="-Wl,-z,relro"
18731 ac_ld_relro=yes
18733 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18734 echo "${ECHO_T}$ac_ld_relro" >&6
18737 # Set linker optimization flags.
18738 if test x"$with_gnu_ld" = x"yes"; then
18739 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18746 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18747 ac_save_CXXFLAGS="$CXXFLAGS"
18748 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18750 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18751 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18752 if test "${ac_cv_lib_m_sin+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755 ac_check_lib_save_LIBS=$LIBS
18756 LIBS="-lm $LIBS"
18757 if test x$gcc_no_link = xyes; then
18758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18760 { (exit 1); exit 1; }; }
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18769 /* Override any gcc2 internal prototype to avoid an error. */
18770 #ifdef __cplusplus
18771 extern "C"
18772 #endif
18773 /* We use char because int might match the return type of a gcc2
18774 builtin and then its argument prototype would still apply. */
18775 char sin ();
18777 main ()
18779 sin ();
18781 return 0;
18783 _ACEOF
18784 rm -f conftest.$ac_objext conftest$ac_exeext
18785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18786 (eval $ac_link) 2>conftest.er1
18787 ac_status=$?
18788 grep -v '^ *+' conftest.er1 >conftest.err
18789 rm -f conftest.er1
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } &&
18793 { ac_try='test -z "$ac_c_werror_flag"
18794 || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try='test -s conftest$ac_exeext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_cv_lib_m_sin=yes
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 ac_cv_lib_m_sin=no
18813 rm -f conftest.err conftest.$ac_objext \
18814 conftest$ac_exeext conftest.$ac_ext
18815 LIBS=$ac_check_lib_save_LIBS
18817 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18818 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18819 if test $ac_cv_lib_m_sin = yes; then
18820 libm="-lm"
18823 ac_save_LIBS="$LIBS"
18824 LIBS="$LIBS $libm"
18828 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18829 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18830 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18831 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18837 ac_ext=cc
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18843 cat >conftest.$ac_ext <<_ACEOF
18844 /* confdefs.h. */
18845 _ACEOF
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18849 #include <math.h>
18850 #ifdef HAVE_IEEEFP_H
18851 #include <ieeefp.h>
18852 #endif
18855 main ()
18857 isinf(0);
18859 return 0;
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>conftest.er1
18865 ac_status=$?
18866 grep -v '^ *+' conftest.er1 >conftest.err
18867 rm -f conftest.er1
18868 cat conftest.err >&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try='test -z "$ac_cxx_werror_flag"
18872 || test ! -s conftest.err'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18875 ac_status=$?
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; } &&
18878 { ac_try='test -s conftest.$ac_objext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18881 ac_status=$?
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 glibcxx_cv_func_isinf_use=yes
18885 else
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18889 glibcxx_cv_func_isinf_use=no
18891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18892 ac_ext=c
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18903 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18905 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18907 for ac_func in isinf
18909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18910 echo "$as_me:$LINENO: checking for $ac_func" >&5
18911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18912 if eval "test \"\${$as_ac_var+set}\" = set"; then
18913 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 else
18915 if test x$gcc_no_link = xyes; then
18916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18918 { (exit 1); exit 1; }; }
18920 cat >conftest.$ac_ext <<_ACEOF
18921 /* confdefs.h. */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18928 #define $ac_func innocuous_$ac_func
18930 /* System header to define __stub macros and hopefully few prototypes,
18931 which can conflict with char $ac_func (); below.
18932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18933 <limits.h> exists even on freestanding compilers. */
18935 #ifdef __STDC__
18936 # include <limits.h>
18937 #else
18938 # include <assert.h>
18939 #endif
18941 #undef $ac_func
18943 /* Override any gcc2 internal prototype to avoid an error. */
18944 #ifdef __cplusplus
18945 extern "C"
18947 #endif
18948 /* We use char because int might match the return type of a gcc2
18949 builtin and then its argument prototype would still apply. */
18950 char $ac_func ();
18951 /* The GNU C library defines this for functions which it implements
18952 to always fail with ENOSYS. Some functions are actually named
18953 something starting with __ and the normal name is an alias. */
18954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18955 choke me
18956 #else
18957 char (*f) () = $ac_func;
18958 #endif
18959 #ifdef __cplusplus
18961 #endif
18964 main ()
18966 return f != $ac_func;
18968 return 0;
18970 _ACEOF
18971 rm -f conftest.$ac_objext conftest$ac_exeext
18972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18973 (eval $ac_link) 2>conftest.er1
18974 ac_status=$?
18975 grep -v '^ *+' conftest.er1 >conftest.err
18976 rm -f conftest.er1
18977 cat conftest.err >&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } &&
18980 { ac_try='test -z "$ac_c_werror_flag"
18981 || test ! -s conftest.err'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18984 ac_status=$?
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; } &&
18987 { ac_try='test -s conftest$ac_exeext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 eval "$as_ac_var=yes"
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18998 eval "$as_ac_var=no"
19000 rm -f conftest.err conftest.$ac_objext \
19001 conftest$ac_exeext conftest.$ac_ext
19003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19005 if test `eval echo '${'$as_ac_var'}'` = yes; then
19006 cat >>confdefs.h <<_ACEOF
19007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19008 _ACEOF
19011 done
19013 else
19015 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
19016 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
19017 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19018 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 else
19024 ac_ext=cc
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 #include <math.h>
19037 #ifdef HAVE_IEEEFP_H
19038 #include <ieeefp.h>
19039 #endif
19042 main ()
19044 _isinf(0);
19046 return 0;
19048 _ACEOF
19049 rm -f conftest.$ac_objext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19051 (eval $ac_compile) 2>conftest.er1
19052 ac_status=$?
19053 grep -v '^ *+' conftest.er1 >conftest.err
19054 rm -f conftest.er1
19055 cat conftest.err >&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } &&
19058 { ac_try='test -z "$ac_cxx_werror_flag"
19059 || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19068 ac_status=$?
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19071 glibcxx_cv_func__isinf_use=yes
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 glibcxx_cv_func__isinf_use=no
19078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19079 ac_ext=c
19080 ac_cpp='$CPP $CPPFLAGS'
19081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19090 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19092 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19094 for ac_func in _isinf
19096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19097 echo "$as_me:$LINENO: checking for $ac_func" >&5
19098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19099 if eval "test \"\${$as_ac_var+set}\" = set"; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19102 if test x$gcc_no_link = xyes; then
19103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19105 { (exit 1); exit 1; }; }
19107 cat >conftest.$ac_ext <<_ACEOF
19108 /* confdefs.h. */
19109 _ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19115 #define $ac_func innocuous_$ac_func
19117 /* System header to define __stub macros and hopefully few prototypes,
19118 which can conflict with char $ac_func (); below.
19119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19120 <limits.h> exists even on freestanding compilers. */
19122 #ifdef __STDC__
19123 # include <limits.h>
19124 #else
19125 # include <assert.h>
19126 #endif
19128 #undef $ac_func
19130 /* Override any gcc2 internal prototype to avoid an error. */
19131 #ifdef __cplusplus
19132 extern "C"
19134 #endif
19135 /* We use char because int might match the return type of a gcc2
19136 builtin and then its argument prototype would still apply. */
19137 char $ac_func ();
19138 /* The GNU C library defines this for functions which it implements
19139 to always fail with ENOSYS. Some functions are actually named
19140 something starting with __ and the normal name is an alias. */
19141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19142 choke me
19143 #else
19144 char (*f) () = $ac_func;
19145 #endif
19146 #ifdef __cplusplus
19148 #endif
19151 main ()
19153 return f != $ac_func;
19155 return 0;
19157 _ACEOF
19158 rm -f conftest.$ac_objext conftest$ac_exeext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19160 (eval $ac_link) 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try='test -z "$ac_c_werror_flag"
19168 || test ! -s conftest.err'
19169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170 (eval $ac_try) 2>&5
19171 ac_status=$?
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); }; } &&
19174 { ac_try='test -s conftest$ac_exeext'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19177 ac_status=$?
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; }; then
19180 eval "$as_ac_var=yes"
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 eval "$as_ac_var=no"
19187 rm -f conftest.err conftest.$ac_objext \
19188 conftest$ac_exeext conftest.$ac_ext
19190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19192 if test `eval echo '${'$as_ac_var'}'` = yes; then
19193 cat >>confdefs.h <<_ACEOF
19194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19195 _ACEOF
19198 done
19208 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19209 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19210 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19211 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19212 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19217 ac_ext=cc
19218 ac_cpp='$CXXCPP $CPPFLAGS'
19219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19223 cat >conftest.$ac_ext <<_ACEOF
19224 /* confdefs.h. */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 #include <math.h>
19230 #ifdef HAVE_IEEEFP_H
19231 #include <ieeefp.h>
19232 #endif
19235 main ()
19237 isnan(0);
19239 return 0;
19241 _ACEOF
19242 rm -f conftest.$ac_objext
19243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19244 (eval $ac_compile) 2>conftest.er1
19245 ac_status=$?
19246 grep -v '^ *+' conftest.er1 >conftest.err
19247 rm -f conftest.er1
19248 cat conftest.err >&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try='test -z "$ac_cxx_werror_flag"
19252 || test ! -s conftest.err'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19255 ac_status=$?
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; } &&
19258 { ac_try='test -s conftest.$ac_objext'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19261 ac_status=$?
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; }; then
19264 glibcxx_cv_func_isnan_use=yes
19265 else
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19269 glibcxx_cv_func_isnan_use=no
19271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19272 ac_ext=c
19273 ac_cpp='$CPP $CPPFLAGS'
19274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19283 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19285 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19287 for ac_func in isnan
19289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19290 echo "$as_me:$LINENO: checking for $ac_func" >&5
19291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19292 if eval "test \"\${$as_ac_var+set}\" = set"; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 else
19295 if test x$gcc_no_link = xyes; then
19296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19298 { (exit 1); exit 1; }; }
19300 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19308 #define $ac_func innocuous_$ac_func
19310 /* System header to define __stub macros and hopefully few prototypes,
19311 which can conflict with char $ac_func (); below.
19312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19313 <limits.h> exists even on freestanding compilers. */
19315 #ifdef __STDC__
19316 # include <limits.h>
19317 #else
19318 # include <assert.h>
19319 #endif
19321 #undef $ac_func
19323 /* Override any gcc2 internal prototype to avoid an error. */
19324 #ifdef __cplusplus
19325 extern "C"
19327 #endif
19328 /* We use char because int might match the return type of a gcc2
19329 builtin and then its argument prototype would still apply. */
19330 char $ac_func ();
19331 /* The GNU C library defines this for functions which it implements
19332 to always fail with ENOSYS. Some functions are actually named
19333 something starting with __ and the normal name is an alias. */
19334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19335 choke me
19336 #else
19337 char (*f) () = $ac_func;
19338 #endif
19339 #ifdef __cplusplus
19341 #endif
19344 main ()
19346 return f != $ac_func;
19348 return 0;
19350 _ACEOF
19351 rm -f conftest.$ac_objext conftest$ac_exeext
19352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19353 (eval $ac_link) 2>conftest.er1
19354 ac_status=$?
19355 grep -v '^ *+' conftest.er1 >conftest.err
19356 rm -f conftest.er1
19357 cat conftest.err >&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); } &&
19360 { ac_try='test -z "$ac_c_werror_flag"
19361 || test ! -s conftest.err'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19364 ac_status=$?
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; } &&
19367 { ac_try='test -s conftest$ac_exeext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19370 ac_status=$?
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 eval "$as_ac_var=yes"
19374 else
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.$ac_ext >&5
19378 eval "$as_ac_var=no"
19380 rm -f conftest.err conftest.$ac_objext \
19381 conftest$ac_exeext conftest.$ac_ext
19383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19385 if test `eval echo '${'$as_ac_var'}'` = yes; then
19386 cat >>confdefs.h <<_ACEOF
19387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19388 _ACEOF
19391 done
19393 else
19395 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19396 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19397 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19398 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19399 echo $ECHO_N "(cached) $ECHO_C" >&6
19400 else
19404 ac_ext=cc
19405 ac_cpp='$CXXCPP $CPPFLAGS'
19406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 #include <math.h>
19417 #ifdef HAVE_IEEEFP_H
19418 #include <ieeefp.h>
19419 #endif
19422 main ()
19424 _isnan(0);
19426 return 0;
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19431 (eval $ac_compile) 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } &&
19438 { ac_try='test -z "$ac_cxx_werror_flag"
19439 || test ! -s conftest.err'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19442 ac_status=$?
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; } &&
19445 { ac_try='test -s conftest.$ac_objext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19448 ac_status=$?
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 glibcxx_cv_func__isnan_use=yes
19452 else
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.$ac_ext >&5
19456 glibcxx_cv_func__isnan_use=no
19458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19459 ac_ext=c
19460 ac_cpp='$CPP $CPPFLAGS'
19461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19469 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19470 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19472 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19474 for ac_func in _isnan
19476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19477 echo "$as_me:$LINENO: checking for $ac_func" >&5
19478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19479 if eval "test \"\${$as_ac_var+set}\" = set"; then
19480 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 else
19482 if test x$gcc_no_link = xyes; then
19483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19485 { (exit 1); exit 1; }; }
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19495 #define $ac_func innocuous_$ac_func
19497 /* System header to define __stub macros and hopefully few prototypes,
19498 which can conflict with char $ac_func (); below.
19499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19500 <limits.h> exists even on freestanding compilers. */
19502 #ifdef __STDC__
19503 # include <limits.h>
19504 #else
19505 # include <assert.h>
19506 #endif
19508 #undef $ac_func
19510 /* Override any gcc2 internal prototype to avoid an error. */
19511 #ifdef __cplusplus
19512 extern "C"
19514 #endif
19515 /* We use char because int might match the return type of a gcc2
19516 builtin and then its argument prototype would still apply. */
19517 char $ac_func ();
19518 /* The GNU C library defines this for functions which it implements
19519 to always fail with ENOSYS. Some functions are actually named
19520 something starting with __ and the normal name is an alias. */
19521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19522 choke me
19523 #else
19524 char (*f) () = $ac_func;
19525 #endif
19526 #ifdef __cplusplus
19528 #endif
19531 main ()
19533 return f != $ac_func;
19535 return 0;
19537 _ACEOF
19538 rm -f conftest.$ac_objext conftest$ac_exeext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19540 (eval $ac_link) 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try='test -z "$ac_c_werror_flag"
19548 || test ! -s conftest.err'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; } &&
19554 { ac_try='test -s conftest$ac_exeext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19560 eval "$as_ac_var=yes"
19561 else
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19565 eval "$as_ac_var=no"
19567 rm -f conftest.err conftest.$ac_objext \
19568 conftest$ac_exeext conftest.$ac_ext
19570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19572 if test `eval echo '${'$as_ac_var'}'` = yes; then
19573 cat >>confdefs.h <<_ACEOF
19574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19575 _ACEOF
19578 done
19588 echo "$as_me:$LINENO: checking for finite declaration" >&5
19589 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19590 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19591 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19592 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 else
19597 ac_ext=cc
19598 ac_cpp='$CXXCPP $CPPFLAGS'
19599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 #include <math.h>
19610 #ifdef HAVE_IEEEFP_H
19611 #include <ieeefp.h>
19612 #endif
19615 main ()
19617 finite(0);
19619 return 0;
19621 _ACEOF
19622 rm -f conftest.$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19625 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try='test -z "$ac_cxx_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19641 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 glibcxx_cv_func_finite_use=yes
19645 else
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 glibcxx_cv_func_finite_use=no
19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19652 ac_ext=c
19653 ac_cpp='$CPP $CPPFLAGS'
19654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19662 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19663 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19665 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19667 for ac_func in finite
19669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19670 echo "$as_me:$LINENO: checking for $ac_func" >&5
19671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19672 if eval "test \"\${$as_ac_var+set}\" = set"; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 else
19675 if test x$gcc_no_link = xyes; then
19676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19678 { (exit 1); exit 1; }; }
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19688 #define $ac_func innocuous_$ac_func
19690 /* System header to define __stub macros and hopefully few prototypes,
19691 which can conflict with char $ac_func (); below.
19692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19693 <limits.h> exists even on freestanding compilers. */
19695 #ifdef __STDC__
19696 # include <limits.h>
19697 #else
19698 # include <assert.h>
19699 #endif
19701 #undef $ac_func
19703 /* Override any gcc2 internal prototype to avoid an error. */
19704 #ifdef __cplusplus
19705 extern "C"
19707 #endif
19708 /* We use char because int might match the return type of a gcc2
19709 builtin and then its argument prototype would still apply. */
19710 char $ac_func ();
19711 /* The GNU C library defines this for functions which it implements
19712 to always fail with ENOSYS. Some functions are actually named
19713 something starting with __ and the normal name is an alias. */
19714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19715 choke me
19716 #else
19717 char (*f) () = $ac_func;
19718 #endif
19719 #ifdef __cplusplus
19721 #endif
19724 main ()
19726 return f != $ac_func;
19728 return 0;
19730 _ACEOF
19731 rm -f conftest.$ac_objext conftest$ac_exeext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19733 (eval $ac_link) 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try='test -z "$ac_c_werror_flag"
19741 || test ! -s conftest.err'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19744 ac_status=$?
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; } &&
19747 { ac_try='test -s conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19750 ac_status=$?
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 eval "$as_ac_var=yes"
19754 else
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19758 eval "$as_ac_var=no"
19760 rm -f conftest.err conftest.$ac_objext \
19761 conftest$ac_exeext conftest.$ac_ext
19763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19765 if test `eval echo '${'$as_ac_var'}'` = yes; then
19766 cat >>confdefs.h <<_ACEOF
19767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19768 _ACEOF
19771 done
19773 else
19775 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19776 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19777 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19778 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 else
19784 ac_ext=cc
19785 ac_cpp='$CXXCPP $CPPFLAGS'
19786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19790 cat >conftest.$ac_ext <<_ACEOF
19791 /* confdefs.h. */
19792 _ACEOF
19793 cat confdefs.h >>conftest.$ac_ext
19794 cat >>conftest.$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 #include <math.h>
19797 #ifdef HAVE_IEEEFP_H
19798 #include <ieeefp.h>
19799 #endif
19802 main ()
19804 _finite(0);
19806 return 0;
19808 _ACEOF
19809 rm -f conftest.$ac_objext
19810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19811 (eval $ac_compile) 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } &&
19818 { ac_try='test -z "$ac_cxx_werror_flag"
19819 || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19822 ac_status=$?
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try='test -s conftest.$ac_objext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19828 ac_status=$?
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 glibcxx_cv_func__finite_use=yes
19832 else
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19836 glibcxx_cv_func__finite_use=no
19838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19839 ac_ext=c
19840 ac_cpp='$CPP $CPPFLAGS'
19841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19849 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19850 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19852 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19854 for ac_func in _finite
19856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19857 echo "$as_me:$LINENO: checking for $ac_func" >&5
19858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19859 if eval "test \"\${$as_ac_var+set}\" = set"; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19861 else
19862 if test x$gcc_no_link = xyes; then
19863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19865 { (exit 1); exit 1; }; }
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19875 #define $ac_func innocuous_$ac_func
19877 /* System header to define __stub macros and hopefully few prototypes,
19878 which can conflict with char $ac_func (); below.
19879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19880 <limits.h> exists even on freestanding compilers. */
19882 #ifdef __STDC__
19883 # include <limits.h>
19884 #else
19885 # include <assert.h>
19886 #endif
19888 #undef $ac_func
19890 /* Override any gcc2 internal prototype to avoid an error. */
19891 #ifdef __cplusplus
19892 extern "C"
19894 #endif
19895 /* We use char because int might match the return type of a gcc2
19896 builtin and then its argument prototype would still apply. */
19897 char $ac_func ();
19898 /* The GNU C library defines this for functions which it implements
19899 to always fail with ENOSYS. Some functions are actually named
19900 something starting with __ and the normal name is an alias. */
19901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19902 choke me
19903 #else
19904 char (*f) () = $ac_func;
19905 #endif
19906 #ifdef __cplusplus
19908 #endif
19911 main ()
19913 return f != $ac_func;
19915 return 0;
19917 _ACEOF
19918 rm -f conftest.$ac_objext conftest$ac_exeext
19919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19920 (eval $ac_link) 2>conftest.er1
19921 ac_status=$?
19922 grep -v '^ *+' conftest.er1 >conftest.err
19923 rm -f conftest.er1
19924 cat conftest.err >&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } &&
19927 { ac_try='test -z "$ac_c_werror_flag"
19928 || test ! -s conftest.err'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; } &&
19934 { ac_try='test -s conftest$ac_exeext'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 eval "$as_ac_var=yes"
19941 else
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19945 eval "$as_ac_var=no"
19947 rm -f conftest.err conftest.$ac_objext \
19948 conftest$ac_exeext conftest.$ac_ext
19950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19952 if test `eval echo '${'$as_ac_var'}'` = yes; then
19953 cat >>confdefs.h <<_ACEOF
19954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19955 _ACEOF
19958 done
19968 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19969 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19970 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19971 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 else
19977 ac_ext=cc
19978 ac_cpp='$CXXCPP $CPPFLAGS'
19979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19983 cat >conftest.$ac_ext <<_ACEOF
19984 /* confdefs.h. */
19985 _ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 #include <math.h>
19991 main ()
19993 copysign(0, 0);
19995 return 0;
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20000 (eval $ac_compile) 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try='test -z "$ac_cxx_werror_flag"
20008 || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20011 ac_status=$?
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try='test -s conftest.$ac_objext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20017 ac_status=$?
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 glibcxx_cv_func_copysign_use=yes
20021 else
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.$ac_ext >&5
20025 glibcxx_cv_func_copysign_use=no
20027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20028 ac_ext=c
20029 ac_cpp='$CPP $CPPFLAGS'
20030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20039 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20041 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20043 for ac_func in copysign
20045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20046 echo "$as_me:$LINENO: checking for $ac_func" >&5
20047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20048 if eval "test \"\${$as_ac_var+set}\" = set"; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051 if test x$gcc_no_link = xyes; then
20052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20054 { (exit 1); exit 1; }; }
20056 cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20064 #define $ac_func innocuous_$ac_func
20066 /* System header to define __stub macros and hopefully few prototypes,
20067 which can conflict with char $ac_func (); below.
20068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20069 <limits.h> exists even on freestanding compilers. */
20071 #ifdef __STDC__
20072 # include <limits.h>
20073 #else
20074 # include <assert.h>
20075 #endif
20077 #undef $ac_func
20079 /* Override any gcc2 internal prototype to avoid an error. */
20080 #ifdef __cplusplus
20081 extern "C"
20083 #endif
20084 /* We use char because int might match the return type of a gcc2
20085 builtin and then its argument prototype would still apply. */
20086 char $ac_func ();
20087 /* The GNU C library defines this for functions which it implements
20088 to always fail with ENOSYS. Some functions are actually named
20089 something starting with __ and the normal name is an alias. */
20090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20091 choke me
20092 #else
20093 char (*f) () = $ac_func;
20094 #endif
20095 #ifdef __cplusplus
20097 #endif
20100 main ()
20102 return f != $ac_func;
20104 return 0;
20106 _ACEOF
20107 rm -f conftest.$ac_objext conftest$ac_exeext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20109 (eval $ac_link) 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try='test -z "$ac_c_werror_flag"
20117 || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest$ac_exeext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 eval "$as_ac_var=yes"
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20134 eval "$as_ac_var=no"
20136 rm -f conftest.err conftest.$ac_objext \
20137 conftest$ac_exeext conftest.$ac_ext
20139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20141 if test `eval echo '${'$as_ac_var'}'` = yes; then
20142 cat >>confdefs.h <<_ACEOF
20143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20144 _ACEOF
20147 done
20149 else
20151 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20152 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20153 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20154 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20160 ac_ext=cc
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20166 cat >conftest.$ac_ext <<_ACEOF
20167 /* confdefs.h. */
20168 _ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 #include <math.h>
20174 main ()
20176 _copysign(0, 0);
20178 return 0;
20180 _ACEOF
20181 rm -f conftest.$ac_objext
20182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20183 (eval $ac_compile) 2>conftest.er1
20184 ac_status=$?
20185 grep -v '^ *+' conftest.er1 >conftest.err
20186 rm -f conftest.er1
20187 cat conftest.err >&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); } &&
20190 { ac_try='test -z "$ac_cxx_werror_flag"
20191 || test ! -s conftest.err'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20194 ac_status=$?
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; } &&
20197 { ac_try='test -s conftest.$ac_objext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20200 ac_status=$?
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 glibcxx_cv_func__copysign_use=yes
20204 else
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20208 glibcxx_cv_func__copysign_use=no
20210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20211 ac_ext=c
20212 ac_cpp='$CPP $CPPFLAGS'
20213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20221 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20222 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20224 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20226 for ac_func in _copysign
20228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20229 echo "$as_me:$LINENO: checking for $ac_func" >&5
20230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20231 if eval "test \"\${$as_ac_var+set}\" = set"; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 else
20234 if test x$gcc_no_link = xyes; then
20235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20237 { (exit 1); exit 1; }; }
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20247 #define $ac_func innocuous_$ac_func
20249 /* System header to define __stub macros and hopefully few prototypes,
20250 which can conflict with char $ac_func (); below.
20251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20252 <limits.h> exists even on freestanding compilers. */
20254 #ifdef __STDC__
20255 # include <limits.h>
20256 #else
20257 # include <assert.h>
20258 #endif
20260 #undef $ac_func
20262 /* Override any gcc2 internal prototype to avoid an error. */
20263 #ifdef __cplusplus
20264 extern "C"
20266 #endif
20267 /* We use char because int might match the return type of a gcc2
20268 builtin and then its argument prototype would still apply. */
20269 char $ac_func ();
20270 /* The GNU C library defines this for functions which it implements
20271 to always fail with ENOSYS. Some functions are actually named
20272 something starting with __ and the normal name is an alias. */
20273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20274 choke me
20275 #else
20276 char (*f) () = $ac_func;
20277 #endif
20278 #ifdef __cplusplus
20280 #endif
20283 main ()
20285 return f != $ac_func;
20287 return 0;
20289 _ACEOF
20290 rm -f conftest.$ac_objext conftest$ac_exeext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20292 (eval $ac_link) 2>conftest.er1
20293 ac_status=$?
20294 grep -v '^ *+' conftest.er1 >conftest.err
20295 rm -f conftest.er1
20296 cat conftest.err >&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try='test -z "$ac_c_werror_flag"
20300 || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20303 ac_status=$?
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try='test -s conftest$ac_exeext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 eval "$as_ac_var=yes"
20313 else
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 eval "$as_ac_var=no"
20319 rm -f conftest.err conftest.$ac_objext \
20320 conftest$ac_exeext conftest.$ac_ext
20322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20324 if test `eval echo '${'$as_ac_var'}'` = yes; then
20325 cat >>confdefs.h <<_ACEOF
20326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20327 _ACEOF
20330 done
20340 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20341 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20342 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20343 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20344 echo $ECHO_N "(cached) $ECHO_C" >&6
20345 else
20349 ac_ext=cc
20350 ac_cpp='$CXXCPP $CPPFLAGS'
20351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20355 cat >conftest.$ac_ext <<_ACEOF
20356 /* confdefs.h. */
20357 _ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361 #include <math.h>
20363 main ()
20365 sincos(0, 0, 0);
20367 return 0;
20369 _ACEOF
20370 rm -f conftest.$ac_objext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20372 (eval $ac_compile) 2>conftest.er1
20373 ac_status=$?
20374 grep -v '^ *+' conftest.er1 >conftest.err
20375 rm -f conftest.er1
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try='test -z "$ac_cxx_werror_flag"
20380 || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20383 ac_status=$?
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try='test -s conftest.$ac_objext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 glibcxx_cv_func_sincos_use=yes
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 glibcxx_cv_func_sincos_use=no
20399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20400 ac_ext=c
20401 ac_cpp='$CPP $CPPFLAGS'
20402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20411 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20413 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20415 for ac_func in sincos
20417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20418 echo "$as_me:$LINENO: checking for $ac_func" >&5
20419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20420 if eval "test \"\${$as_ac_var+set}\" = set"; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20423 if test x$gcc_no_link = xyes; then
20424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20426 { (exit 1); exit 1; }; }
20428 cat >conftest.$ac_ext <<_ACEOF
20429 /* confdefs.h. */
20430 _ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20436 #define $ac_func innocuous_$ac_func
20438 /* System header to define __stub macros and hopefully few prototypes,
20439 which can conflict with char $ac_func (); below.
20440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20441 <limits.h> exists even on freestanding compilers. */
20443 #ifdef __STDC__
20444 # include <limits.h>
20445 #else
20446 # include <assert.h>
20447 #endif
20449 #undef $ac_func
20451 /* Override any gcc2 internal prototype to avoid an error. */
20452 #ifdef __cplusplus
20453 extern "C"
20455 #endif
20456 /* We use char because int might match the return type of a gcc2
20457 builtin and then its argument prototype would still apply. */
20458 char $ac_func ();
20459 /* The GNU C library defines this for functions which it implements
20460 to always fail with ENOSYS. Some functions are actually named
20461 something starting with __ and the normal name is an alias. */
20462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20463 choke me
20464 #else
20465 char (*f) () = $ac_func;
20466 #endif
20467 #ifdef __cplusplus
20469 #endif
20472 main ()
20474 return f != $ac_func;
20476 return 0;
20478 _ACEOF
20479 rm -f conftest.$ac_objext conftest$ac_exeext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20481 (eval $ac_link) 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try='test -z "$ac_c_werror_flag"
20489 || test ! -s conftest.err'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20492 ac_status=$?
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; } &&
20495 { ac_try='test -s conftest$ac_exeext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20498 ac_status=$?
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 eval "$as_ac_var=yes"
20502 else
20503 echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20506 eval "$as_ac_var=no"
20508 rm -f conftest.err conftest.$ac_objext \
20509 conftest$ac_exeext conftest.$ac_ext
20511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20513 if test `eval echo '${'$as_ac_var'}'` = yes; then
20514 cat >>confdefs.h <<_ACEOF
20515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20516 _ACEOF
20519 done
20521 else
20523 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20524 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20525 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20526 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20527 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 else
20532 ac_ext=cc
20533 ac_cpp='$CXXCPP $CPPFLAGS'
20534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20538 cat >conftest.$ac_ext <<_ACEOF
20539 /* confdefs.h. */
20540 _ACEOF
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 #include <math.h>
20546 main ()
20548 _sincos(0, 0, 0);
20550 return 0;
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20555 (eval $ac_compile) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_cxx_werror_flag"
20563 || test ! -s conftest.err'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20566 ac_status=$?
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; } &&
20569 { ac_try='test -s conftest.$ac_objext'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; }; then
20575 glibcxx_cv_func__sincos_use=yes
20576 else
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20580 glibcxx_cv_func__sincos_use=no
20582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20583 ac_ext=c
20584 ac_cpp='$CPP $CPPFLAGS'
20585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20593 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20594 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20596 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20598 for ac_func in _sincos
20600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20601 echo "$as_me:$LINENO: checking for $ac_func" >&5
20602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20603 if eval "test \"\${$as_ac_var+set}\" = set"; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20606 if test x$gcc_no_link = xyes; then
20607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20609 { (exit 1); exit 1; }; }
20611 cat >conftest.$ac_ext <<_ACEOF
20612 /* confdefs.h. */
20613 _ACEOF
20614 cat confdefs.h >>conftest.$ac_ext
20615 cat >>conftest.$ac_ext <<_ACEOF
20616 /* end confdefs.h. */
20617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20619 #define $ac_func innocuous_$ac_func
20621 /* System header to define __stub macros and hopefully few prototypes,
20622 which can conflict with char $ac_func (); below.
20623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20624 <limits.h> exists even on freestanding compilers. */
20626 #ifdef __STDC__
20627 # include <limits.h>
20628 #else
20629 # include <assert.h>
20630 #endif
20632 #undef $ac_func
20634 /* Override any gcc2 internal prototype to avoid an error. */
20635 #ifdef __cplusplus
20636 extern "C"
20638 #endif
20639 /* We use char because int might match the return type of a gcc2
20640 builtin and then its argument prototype would still apply. */
20641 char $ac_func ();
20642 /* The GNU C library defines this for functions which it implements
20643 to always fail with ENOSYS. Some functions are actually named
20644 something starting with __ and the normal name is an alias. */
20645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20646 choke me
20647 #else
20648 char (*f) () = $ac_func;
20649 #endif
20650 #ifdef __cplusplus
20652 #endif
20655 main ()
20657 return f != $ac_func;
20659 return 0;
20661 _ACEOF
20662 rm -f conftest.$ac_objext conftest$ac_exeext
20663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20664 (eval $ac_link) 2>conftest.er1
20665 ac_status=$?
20666 grep -v '^ *+' conftest.er1 >conftest.err
20667 rm -f conftest.er1
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } &&
20671 { ac_try='test -z "$ac_c_werror_flag"
20672 || test ! -s conftest.err'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20675 ac_status=$?
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; } &&
20678 { ac_try='test -s conftest$ac_exeext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20681 ac_status=$?
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20684 eval "$as_ac_var=yes"
20685 else
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.$ac_ext >&5
20689 eval "$as_ac_var=no"
20691 rm -f conftest.err conftest.$ac_objext \
20692 conftest$ac_exeext conftest.$ac_ext
20694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20696 if test `eval echo '${'$as_ac_var'}'` = yes; then
20697 cat >>confdefs.h <<_ACEOF
20698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20699 _ACEOF
20702 done
20712 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20713 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20714 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20715 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20721 ac_ext=cc
20722 ac_cpp='$CXXCPP $CPPFLAGS'
20723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20727 cat >conftest.$ac_ext <<_ACEOF
20728 /* confdefs.h. */
20729 _ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 #include <math.h>
20734 #ifdef HAVE_IEEEFP_H
20735 #include <ieeefp.h>
20736 #endif
20739 main ()
20741 fpclass(0);
20743 return 0;
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -z "$ac_cxx_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 glibcxx_cv_func_fpclass_use=yes
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20773 glibcxx_cv_func_fpclass_use=no
20775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20776 ac_ext=c
20777 ac_cpp='$CPP $CPPFLAGS'
20778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20787 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20789 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20791 for ac_func in fpclass
20793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20794 echo "$as_me:$LINENO: checking for $ac_func" >&5
20795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20796 if eval "test \"\${$as_ac_var+set}\" = set"; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 else
20799 if test x$gcc_no_link = xyes; then
20800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20802 { (exit 1); exit 1; }; }
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h. */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20812 #define $ac_func innocuous_$ac_func
20814 /* System header to define __stub macros and hopefully few prototypes,
20815 which can conflict with char $ac_func (); below.
20816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20817 <limits.h> exists even on freestanding compilers. */
20819 #ifdef __STDC__
20820 # include <limits.h>
20821 #else
20822 # include <assert.h>
20823 #endif
20825 #undef $ac_func
20827 /* Override any gcc2 internal prototype to avoid an error. */
20828 #ifdef __cplusplus
20829 extern "C"
20831 #endif
20832 /* We use char because int might match the return type of a gcc2
20833 builtin and then its argument prototype would still apply. */
20834 char $ac_func ();
20835 /* The GNU C library defines this for functions which it implements
20836 to always fail with ENOSYS. Some functions are actually named
20837 something starting with __ and the normal name is an alias. */
20838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20839 choke me
20840 #else
20841 char (*f) () = $ac_func;
20842 #endif
20843 #ifdef __cplusplus
20845 #endif
20848 main ()
20850 return f != $ac_func;
20852 return 0;
20854 _ACEOF
20855 rm -f conftest.$ac_objext conftest$ac_exeext
20856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20857 (eval $ac_link) 2>conftest.er1
20858 ac_status=$?
20859 grep -v '^ *+' conftest.er1 >conftest.err
20860 rm -f conftest.er1
20861 cat conftest.err >&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } &&
20864 { ac_try='test -z "$ac_c_werror_flag"
20865 || test ! -s conftest.err'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20868 ac_status=$?
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; } &&
20871 { ac_try='test -s conftest$ac_exeext'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20874 ac_status=$?
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20877 eval "$as_ac_var=yes"
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20882 eval "$as_ac_var=no"
20884 rm -f conftest.err conftest.$ac_objext \
20885 conftest$ac_exeext conftest.$ac_ext
20887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20889 if test `eval echo '${'$as_ac_var'}'` = yes; then
20890 cat >>confdefs.h <<_ACEOF
20891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20892 _ACEOF
20895 done
20897 else
20899 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20900 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20901 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20902 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20903 echo $ECHO_N "(cached) $ECHO_C" >&6
20904 else
20908 ac_ext=cc
20909 ac_cpp='$CXXCPP $CPPFLAGS'
20910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20914 cat >conftest.$ac_ext <<_ACEOF
20915 /* confdefs.h. */
20916 _ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 #include <math.h>
20921 #ifdef HAVE_IEEEFP_H
20922 #include <ieeefp.h>
20923 #endif
20926 main ()
20928 _fpclass(0);
20930 return 0;
20932 _ACEOF
20933 rm -f conftest.$ac_objext
20934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20935 (eval $ac_compile) 2>conftest.er1
20936 ac_status=$?
20937 grep -v '^ *+' conftest.er1 >conftest.err
20938 rm -f conftest.er1
20939 cat conftest.err >&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); } &&
20942 { ac_try='test -z "$ac_cxx_werror_flag"
20943 || test ! -s conftest.err'
20944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945 (eval $ac_try) 2>&5
20946 ac_status=$?
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; } &&
20949 { ac_try='test -s conftest.$ac_objext'
20950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20951 (eval $ac_try) 2>&5
20952 ac_status=$?
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); }; }; then
20955 glibcxx_cv_func__fpclass_use=yes
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20960 glibcxx_cv_func__fpclass_use=no
20962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20963 ac_ext=c
20964 ac_cpp='$CPP $CPPFLAGS'
20965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20974 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20976 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20978 for ac_func in _fpclass
20980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20981 echo "$as_me:$LINENO: checking for $ac_func" >&5
20982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20983 if eval "test \"\${$as_ac_var+set}\" = set"; then
20984 echo $ECHO_N "(cached) $ECHO_C" >&6
20985 else
20986 if test x$gcc_no_link = xyes; then
20987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20989 { (exit 1); exit 1; }; }
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20999 #define $ac_func innocuous_$ac_func
21001 /* System header to define __stub macros and hopefully few prototypes,
21002 which can conflict with char $ac_func (); below.
21003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21004 <limits.h> exists even on freestanding compilers. */
21006 #ifdef __STDC__
21007 # include <limits.h>
21008 #else
21009 # include <assert.h>
21010 #endif
21012 #undef $ac_func
21014 /* Override any gcc2 internal prototype to avoid an error. */
21015 #ifdef __cplusplus
21016 extern "C"
21018 #endif
21019 /* We use char because int might match the return type of a gcc2
21020 builtin and then its argument prototype would still apply. */
21021 char $ac_func ();
21022 /* The GNU C library defines this for functions which it implements
21023 to always fail with ENOSYS. Some functions are actually named
21024 something starting with __ and the normal name is an alias. */
21025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21026 choke me
21027 #else
21028 char (*f) () = $ac_func;
21029 #endif
21030 #ifdef __cplusplus
21032 #endif
21035 main ()
21037 return f != $ac_func;
21039 return 0;
21041 _ACEOF
21042 rm -f conftest.$ac_objext conftest$ac_exeext
21043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21044 (eval $ac_link) 2>conftest.er1
21045 ac_status=$?
21046 grep -v '^ *+' conftest.er1 >conftest.err
21047 rm -f conftest.er1
21048 cat conftest.err >&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } &&
21051 { ac_try='test -z "$ac_c_werror_flag"
21052 || test ! -s conftest.err'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; } &&
21058 { ac_try='test -s conftest$ac_exeext'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 eval "$as_ac_var=yes"
21065 else
21066 echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.$ac_ext >&5
21069 eval "$as_ac_var=no"
21071 rm -f conftest.err conftest.$ac_objext \
21072 conftest$ac_exeext conftest.$ac_ext
21074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21076 if test `eval echo '${'$as_ac_var'}'` = yes; then
21077 cat >>confdefs.h <<_ACEOF
21078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21079 _ACEOF
21082 done
21092 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21093 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21094 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21095 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 else
21101 ac_ext=cc
21102 ac_cpp='$CXXCPP $CPPFLAGS'
21103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <math.h>
21114 #ifdef HAVE_IEEEFP_H
21115 #include <ieeefp.h>
21116 #endif
21119 main ()
21121 qfpclass(0);
21123 return 0;
21125 _ACEOF
21126 rm -f conftest.$ac_objext
21127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21128 (eval $ac_compile) 2>conftest.er1
21129 ac_status=$?
21130 grep -v '^ *+' conftest.er1 >conftest.err
21131 rm -f conftest.er1
21132 cat conftest.err >&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try='test -z "$ac_cxx_werror_flag"
21136 || test ! -s conftest.err'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21139 ac_status=$?
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; } &&
21142 { ac_try='test -s conftest.$ac_objext'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; }; then
21148 glibcxx_cv_func_qfpclass_use=yes
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21153 glibcxx_cv_func_qfpclass_use=no
21155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21156 ac_ext=c
21157 ac_cpp='$CPP $CPPFLAGS'
21158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21167 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21169 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21171 for ac_func in qfpclass
21173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21174 echo "$as_me:$LINENO: checking for $ac_func" >&5
21175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21176 if eval "test \"\${$as_ac_var+set}\" = set"; then
21177 echo $ECHO_N "(cached) $ECHO_C" >&6
21178 else
21179 if test x$gcc_no_link = xyes; then
21180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21182 { (exit 1); exit 1; }; }
21184 cat >conftest.$ac_ext <<_ACEOF
21185 /* confdefs.h. */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21192 #define $ac_func innocuous_$ac_func
21194 /* System header to define __stub macros and hopefully few prototypes,
21195 which can conflict with char $ac_func (); below.
21196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21197 <limits.h> exists even on freestanding compilers. */
21199 #ifdef __STDC__
21200 # include <limits.h>
21201 #else
21202 # include <assert.h>
21203 #endif
21205 #undef $ac_func
21207 /* Override any gcc2 internal prototype to avoid an error. */
21208 #ifdef __cplusplus
21209 extern "C"
21211 #endif
21212 /* We use char because int might match the return type of a gcc2
21213 builtin and then its argument prototype would still apply. */
21214 char $ac_func ();
21215 /* The GNU C library defines this for functions which it implements
21216 to always fail with ENOSYS. Some functions are actually named
21217 something starting with __ and the normal name is an alias. */
21218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21219 choke me
21220 #else
21221 char (*f) () = $ac_func;
21222 #endif
21223 #ifdef __cplusplus
21225 #endif
21228 main ()
21230 return f != $ac_func;
21232 return 0;
21234 _ACEOF
21235 rm -f conftest.$ac_objext conftest$ac_exeext
21236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21237 (eval $ac_link) 2>conftest.er1
21238 ac_status=$?
21239 grep -v '^ *+' conftest.er1 >conftest.err
21240 rm -f conftest.er1
21241 cat conftest.err >&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try='test -z "$ac_c_werror_flag"
21245 || test ! -s conftest.err'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21248 ac_status=$?
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; } &&
21251 { ac_try='test -s conftest$ac_exeext'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21254 ac_status=$?
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 eval "$as_ac_var=yes"
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21262 eval "$as_ac_var=no"
21264 rm -f conftest.err conftest.$ac_objext \
21265 conftest$ac_exeext conftest.$ac_ext
21267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21269 if test `eval echo '${'$as_ac_var'}'` = yes; then
21270 cat >>confdefs.h <<_ACEOF
21271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21272 _ACEOF
21275 done
21277 else
21279 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21280 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21281 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21282 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 else
21288 ac_ext=cc
21289 ac_cpp='$CXXCPP $CPPFLAGS'
21290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21294 cat >conftest.$ac_ext <<_ACEOF
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 #include <math.h>
21301 #ifdef HAVE_IEEEFP_H
21302 #include <ieeefp.h>
21303 #endif
21306 main ()
21308 _qfpclass(0);
21310 return 0;
21312 _ACEOF
21313 rm -f conftest.$ac_objext
21314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21315 (eval $ac_compile) 2>conftest.er1
21316 ac_status=$?
21317 grep -v '^ *+' conftest.er1 >conftest.err
21318 rm -f conftest.er1
21319 cat conftest.err >&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } &&
21322 { ac_try='test -z "$ac_cxx_werror_flag"
21323 || test ! -s conftest.err'
21324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325 (eval $ac_try) 2>&5
21326 ac_status=$?
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; } &&
21329 { ac_try='test -s conftest.$ac_objext'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21332 ac_status=$?
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; }; then
21335 glibcxx_cv_func__qfpclass_use=yes
21336 else
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21340 glibcxx_cv_func__qfpclass_use=no
21342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21343 ac_ext=c
21344 ac_cpp='$CPP $CPPFLAGS'
21345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21354 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21356 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21358 for ac_func in _qfpclass
21360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21361 echo "$as_me:$LINENO: checking for $ac_func" >&5
21362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21363 if eval "test \"\${$as_ac_var+set}\" = set"; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 else
21366 if test x$gcc_no_link = xyes; then
21367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21369 { (exit 1); exit 1; }; }
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21379 #define $ac_func innocuous_$ac_func
21381 /* System header to define __stub macros and hopefully few prototypes,
21382 which can conflict with char $ac_func (); below.
21383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21384 <limits.h> exists even on freestanding compilers. */
21386 #ifdef __STDC__
21387 # include <limits.h>
21388 #else
21389 # include <assert.h>
21390 #endif
21392 #undef $ac_func
21394 /* Override any gcc2 internal prototype to avoid an error. */
21395 #ifdef __cplusplus
21396 extern "C"
21398 #endif
21399 /* We use char because int might match the return type of a gcc2
21400 builtin and then its argument prototype would still apply. */
21401 char $ac_func ();
21402 /* The GNU C library defines this for functions which it implements
21403 to always fail with ENOSYS. Some functions are actually named
21404 something starting with __ and the normal name is an alias. */
21405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21406 choke me
21407 #else
21408 char (*f) () = $ac_func;
21409 #endif
21410 #ifdef __cplusplus
21412 #endif
21415 main ()
21417 return f != $ac_func;
21419 return 0;
21421 _ACEOF
21422 rm -f conftest.$ac_objext conftest$ac_exeext
21423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21424 (eval $ac_link) 2>conftest.er1
21425 ac_status=$?
21426 grep -v '^ *+' conftest.er1 >conftest.err
21427 rm -f conftest.er1
21428 cat conftest.err >&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } &&
21431 { ac_try='test -z "$ac_c_werror_flag"
21432 || test ! -s conftest.err'
21433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21434 (eval $ac_try) 2>&5
21435 ac_status=$?
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; } &&
21438 { ac_try='test -s conftest$ac_exeext'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21441 ac_status=$?
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; }; then
21444 eval "$as_ac_var=yes"
21445 else
21446 echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.$ac_ext >&5
21449 eval "$as_ac_var=no"
21451 rm -f conftest.err conftest.$ac_objext \
21452 conftest$ac_exeext conftest.$ac_ext
21454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21456 if test `eval echo '${'$as_ac_var'}'` = yes; then
21457 cat >>confdefs.h <<_ACEOF
21458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21459 _ACEOF
21462 done
21472 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21473 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21474 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21475 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21476 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 else
21481 ac_ext=cc
21482 ac_cpp='$CXXCPP $CPPFLAGS'
21483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21487 cat >conftest.$ac_ext <<_ACEOF
21488 /* confdefs.h. */
21489 _ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 #include <math.h>
21495 main ()
21497 hypot(0, 0);
21499 return 0;
21501 _ACEOF
21502 rm -f conftest.$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try='test -z "$ac_cxx_werror_flag"
21512 || test ! -s conftest.err'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; } &&
21518 { ac_try='test -s conftest.$ac_objext'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21521 ac_status=$?
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 glibcxx_cv_func_hypot_use=yes
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21529 glibcxx_cv_func_hypot_use=no
21531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21532 ac_ext=c
21533 ac_cpp='$CPP $CPPFLAGS'
21534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21543 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21545 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21547 for ac_func in hypot
21549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21550 echo "$as_me:$LINENO: checking for $ac_func" >&5
21551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21552 if eval "test \"\${$as_ac_var+set}\" = set"; then
21553 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 else
21555 if test x$gcc_no_link = xyes; then
21556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21558 { (exit 1); exit 1; }; }
21560 cat >conftest.$ac_ext <<_ACEOF
21561 /* confdefs.h. */
21562 _ACEOF
21563 cat confdefs.h >>conftest.$ac_ext
21564 cat >>conftest.$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21568 #define $ac_func innocuous_$ac_func
21570 /* System header to define __stub macros and hopefully few prototypes,
21571 which can conflict with char $ac_func (); below.
21572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21573 <limits.h> exists even on freestanding compilers. */
21575 #ifdef __STDC__
21576 # include <limits.h>
21577 #else
21578 # include <assert.h>
21579 #endif
21581 #undef $ac_func
21583 /* Override any gcc2 internal prototype to avoid an error. */
21584 #ifdef __cplusplus
21585 extern "C"
21587 #endif
21588 /* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21590 char $ac_func ();
21591 /* The GNU C library defines this for functions which it implements
21592 to always fail with ENOSYS. Some functions are actually named
21593 something starting with __ and the normal name is an alias. */
21594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21595 choke me
21596 #else
21597 char (*f) () = $ac_func;
21598 #endif
21599 #ifdef __cplusplus
21601 #endif
21604 main ()
21606 return f != $ac_func;
21608 return 0;
21610 _ACEOF
21611 rm -f conftest.$ac_objext conftest$ac_exeext
21612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21613 (eval $ac_link) 2>conftest.er1
21614 ac_status=$?
21615 grep -v '^ *+' conftest.er1 >conftest.err
21616 rm -f conftest.er1
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } &&
21620 { ac_try='test -z "$ac_c_werror_flag"
21621 || test ! -s conftest.err'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21624 ac_status=$?
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; } &&
21627 { ac_try='test -s conftest$ac_exeext'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21630 ac_status=$?
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; }; then
21633 eval "$as_ac_var=yes"
21634 else
21635 echo "$as_me: failed program was:" >&5
21636 sed 's/^/| /' conftest.$ac_ext >&5
21638 eval "$as_ac_var=no"
21640 rm -f conftest.err conftest.$ac_objext \
21641 conftest$ac_exeext conftest.$ac_ext
21643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21645 if test `eval echo '${'$as_ac_var'}'` = yes; then
21646 cat >>confdefs.h <<_ACEOF
21647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21648 _ACEOF
21651 done
21653 else
21655 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21656 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21657 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21658 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21659 echo $ECHO_N "(cached) $ECHO_C" >&6
21660 else
21664 ac_ext=cc
21665 ac_cpp='$CXXCPP $CPPFLAGS'
21666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21670 cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 #include <math.h>
21678 main ()
21680 _hypot(0, 0);
21682 return 0;
21684 _ACEOF
21685 rm -f conftest.$ac_objext
21686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21687 (eval $ac_compile) 2>conftest.er1
21688 ac_status=$?
21689 grep -v '^ *+' conftest.er1 >conftest.err
21690 rm -f conftest.er1
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -z "$ac_cxx_werror_flag"
21695 || test ! -s conftest.err'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21698 ac_status=$?
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; } &&
21701 { ac_try='test -s conftest.$ac_objext'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21704 ac_status=$?
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 glibcxx_cv_func__hypot_use=yes
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21712 glibcxx_cv_func__hypot_use=no
21714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21715 ac_ext=c
21716 ac_cpp='$CPP $CPPFLAGS'
21717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21726 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21728 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21730 for ac_func in _hypot
21732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21733 echo "$as_me:$LINENO: checking for $ac_func" >&5
21734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21735 if eval "test \"\${$as_ac_var+set}\" = set"; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21737 else
21738 if test x$gcc_no_link = xyes; then
21739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21741 { (exit 1); exit 1; }; }
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21751 #define $ac_func innocuous_$ac_func
21753 /* System header to define __stub macros and hopefully few prototypes,
21754 which can conflict with char $ac_func (); below.
21755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21756 <limits.h> exists even on freestanding compilers. */
21758 #ifdef __STDC__
21759 # include <limits.h>
21760 #else
21761 # include <assert.h>
21762 #endif
21764 #undef $ac_func
21766 /* Override any gcc2 internal prototype to avoid an error. */
21767 #ifdef __cplusplus
21768 extern "C"
21770 #endif
21771 /* We use char because int might match the return type of a gcc2
21772 builtin and then its argument prototype would still apply. */
21773 char $ac_func ();
21774 /* The GNU C library defines this for functions which it implements
21775 to always fail with ENOSYS. Some functions are actually named
21776 something starting with __ and the normal name is an alias. */
21777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21778 choke me
21779 #else
21780 char (*f) () = $ac_func;
21781 #endif
21782 #ifdef __cplusplus
21784 #endif
21787 main ()
21789 return f != $ac_func;
21791 return 0;
21793 _ACEOF
21794 rm -f conftest.$ac_objext conftest$ac_exeext
21795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21796 (eval $ac_link) 2>conftest.er1
21797 ac_status=$?
21798 grep -v '^ *+' conftest.er1 >conftest.err
21799 rm -f conftest.er1
21800 cat conftest.err >&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } &&
21803 { ac_try='test -z "$ac_c_werror_flag"
21804 || test ! -s conftest.err'
21805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21806 (eval $ac_try) 2>&5
21807 ac_status=$?
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); }; } &&
21810 { ac_try='test -s conftest$ac_exeext'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 eval "$as_ac_var=yes"
21817 else
21818 echo "$as_me: failed program was:" >&5
21819 sed 's/^/| /' conftest.$ac_ext >&5
21821 eval "$as_ac_var=no"
21823 rm -f conftest.err conftest.$ac_objext \
21824 conftest$ac_exeext conftest.$ac_ext
21826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21828 if test `eval echo '${'$as_ac_var'}'` = yes; then
21829 cat >>confdefs.h <<_ACEOF
21830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21831 _ACEOF
21834 done
21844 echo "$as_me:$LINENO: checking for float trig functions" >&5
21845 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21846 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21848 else
21852 ac_ext=cc
21853 ac_cpp='$CXXCPP $CPPFLAGS'
21854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21858 cat >conftest.$ac_ext <<_ACEOF
21859 /* confdefs.h. */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 #include <math.h>
21866 main ()
21868 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21870 return 0;
21872 _ACEOF
21873 rm -f conftest.$ac_objext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21875 (eval $ac_compile) 2>conftest.er1
21876 ac_status=$?
21877 grep -v '^ *+' conftest.er1 >conftest.err
21878 rm -f conftest.er1
21879 cat conftest.err >&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try='test -z "$ac_cxx_werror_flag"
21883 || test ! -s conftest.err'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21886 ac_status=$?
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; } &&
21889 { ac_try='test -s conftest.$ac_objext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21895 glibcxx_cv_func_float_trig_use=yes
21896 else
21897 echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.$ac_ext >&5
21900 glibcxx_cv_func_float_trig_use=no
21902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21903 ac_ext=c
21904 ac_cpp='$CPP $CPPFLAGS'
21905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21912 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21913 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21923 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21926 echo "$as_me:$LINENO: checking for $ac_func" >&5
21927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21928 if eval "test \"\${$as_ac_var+set}\" = set"; then
21929 echo $ECHO_N "(cached) $ECHO_C" >&6
21930 else
21931 if test x$gcc_no_link = xyes; then
21932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21934 { (exit 1); exit 1; }; }
21936 cat >conftest.$ac_ext <<_ACEOF
21937 /* confdefs.h. */
21938 _ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21944 #define $ac_func innocuous_$ac_func
21946 /* System header to define __stub macros and hopefully few prototypes,
21947 which can conflict with char $ac_func (); below.
21948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21949 <limits.h> exists even on freestanding compilers. */
21951 #ifdef __STDC__
21952 # include <limits.h>
21953 #else
21954 # include <assert.h>
21955 #endif
21957 #undef $ac_func
21959 /* Override any gcc2 internal prototype to avoid an error. */
21960 #ifdef __cplusplus
21961 extern "C"
21963 #endif
21964 /* We use char because int might match the return type of a gcc2
21965 builtin and then its argument prototype would still apply. */
21966 char $ac_func ();
21967 /* The GNU C library defines this for functions which it implements
21968 to always fail with ENOSYS. Some functions are actually named
21969 something starting with __ and the normal name is an alias. */
21970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21971 choke me
21972 #else
21973 char (*f) () = $ac_func;
21974 #endif
21975 #ifdef __cplusplus
21977 #endif
21980 main ()
21982 return f != $ac_func;
21984 return 0;
21986 _ACEOF
21987 rm -f conftest.$ac_objext conftest$ac_exeext
21988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21989 (eval $ac_link) 2>conftest.er1
21990 ac_status=$?
21991 grep -v '^ *+' conftest.er1 >conftest.err
21992 rm -f conftest.er1
21993 cat conftest.err >&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); } &&
21996 { ac_try='test -z "$ac_c_werror_flag"
21997 || test ! -s conftest.err'
21998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21999 (eval $ac_try) 2>&5
22000 ac_status=$?
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); }; } &&
22003 { ac_try='test -s conftest$ac_exeext'
22004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22005 (eval $ac_try) 2>&5
22006 ac_status=$?
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); }; }; then
22009 eval "$as_ac_var=yes"
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22014 eval "$as_ac_var=no"
22016 rm -f conftest.err conftest.$ac_objext \
22017 conftest$ac_exeext conftest.$ac_ext
22019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22021 if test `eval echo '${'$as_ac_var'}'` = yes; then
22022 cat >>confdefs.h <<_ACEOF
22023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22024 _ACEOF
22027 done
22029 else
22030 echo "$as_me:$LINENO: checking for _float trig functions" >&5
22031 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
22032 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 else
22038 ac_ext=cc
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22044 cat >conftest.$ac_ext <<_ACEOF
22045 /* confdefs.h. */
22046 _ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22050 #include <math.h>
22052 main ()
22054 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22056 return 0;
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22062 ac_status=$?
22063 grep -v '^ *+' conftest.er1 >conftest.err
22064 rm -f conftest.er1
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try='test -z "$ac_cxx_werror_flag"
22069 || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22081 glibcxx_cv_func__float_trig_use=yes
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22086 glibcxx_cv_func__float_trig_use=no
22088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22089 ac_ext=c
22090 ac_cpp='$CPP $CPPFLAGS'
22091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22098 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22099 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22109 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22112 echo "$as_me:$LINENO: checking for $ac_func" >&5
22113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22114 if eval "test \"\${$as_ac_var+set}\" = set"; then
22115 echo $ECHO_N "(cached) $ECHO_C" >&6
22116 else
22117 if test x$gcc_no_link = xyes; then
22118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22120 { (exit 1); exit 1; }; }
22122 cat >conftest.$ac_ext <<_ACEOF
22123 /* confdefs.h. */
22124 _ACEOF
22125 cat confdefs.h >>conftest.$ac_ext
22126 cat >>conftest.$ac_ext <<_ACEOF
22127 /* end confdefs.h. */
22128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22130 #define $ac_func innocuous_$ac_func
22132 /* System header to define __stub macros and hopefully few prototypes,
22133 which can conflict with char $ac_func (); below.
22134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22135 <limits.h> exists even on freestanding compilers. */
22137 #ifdef __STDC__
22138 # include <limits.h>
22139 #else
22140 # include <assert.h>
22141 #endif
22143 #undef $ac_func
22145 /* Override any gcc2 internal prototype to avoid an error. */
22146 #ifdef __cplusplus
22147 extern "C"
22149 #endif
22150 /* We use char because int might match the return type of a gcc2
22151 builtin and then its argument prototype would still apply. */
22152 char $ac_func ();
22153 /* The GNU C library defines this for functions which it implements
22154 to always fail with ENOSYS. Some functions are actually named
22155 something starting with __ and the normal name is an alias. */
22156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22157 choke me
22158 #else
22159 char (*f) () = $ac_func;
22160 #endif
22161 #ifdef __cplusplus
22163 #endif
22166 main ()
22168 return f != $ac_func;
22170 return 0;
22172 _ACEOF
22173 rm -f conftest.$ac_objext conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>conftest.er1
22176 ac_status=$?
22177 grep -v '^ *+' conftest.er1 >conftest.err
22178 rm -f conftest.er1
22179 cat conftest.err >&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } &&
22182 { ac_try='test -z "$ac_c_werror_flag"
22183 || test ! -s conftest.err'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; } &&
22189 { ac_try='test -s conftest$ac_exeext'
22190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22191 (eval $ac_try) 2>&5
22192 ac_status=$?
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); }; }; then
22195 eval "$as_ac_var=yes"
22196 else
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22200 eval "$as_ac_var=no"
22202 rm -f conftest.err conftest.$ac_objext \
22203 conftest$ac_exeext conftest.$ac_ext
22205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22207 if test `eval echo '${'$as_ac_var'}'` = yes; then
22208 cat >>confdefs.h <<_ACEOF
22209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22210 _ACEOF
22213 done
22231 echo "$as_me:$LINENO: checking for float round functions" >&5
22232 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22233 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22235 else
22239 ac_ext=cc
22240 ac_cpp='$CXXCPP $CPPFLAGS'
22241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22245 cat >conftest.$ac_ext <<_ACEOF
22246 /* confdefs.h. */
22247 _ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 #include <math.h>
22253 main ()
22255 ceilf (0); floorf (0);
22257 return 0;
22259 _ACEOF
22260 rm -f conftest.$ac_objext
22261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22262 (eval $ac_compile) 2>conftest.er1
22263 ac_status=$?
22264 grep -v '^ *+' conftest.er1 >conftest.err
22265 rm -f conftest.er1
22266 cat conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } &&
22269 { ac_try='test -z "$ac_cxx_werror_flag"
22270 || test ! -s conftest.err'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22273 ac_status=$?
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; } &&
22276 { ac_try='test -s conftest.$ac_objext'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22279 ac_status=$?
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; }; then
22282 glibcxx_cv_func_float_round_use=yes
22283 else
22284 echo "$as_me: failed program was:" >&5
22285 sed 's/^/| /' conftest.$ac_ext >&5
22287 glibcxx_cv_func_float_round_use=no
22289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22299 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22300 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22303 for ac_func in ceilf floorf
22305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22306 echo "$as_me:$LINENO: checking for $ac_func" >&5
22307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22308 if eval "test \"\${$as_ac_var+set}\" = set"; then
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22310 else
22311 if test x$gcc_no_link = xyes; then
22312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22314 { (exit 1); exit 1; }; }
22316 cat >conftest.$ac_ext <<_ACEOF
22317 /* confdefs.h. */
22318 _ACEOF
22319 cat confdefs.h >>conftest.$ac_ext
22320 cat >>conftest.$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22324 #define $ac_func innocuous_$ac_func
22326 /* System header to define __stub macros and hopefully few prototypes,
22327 which can conflict with char $ac_func (); below.
22328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22329 <limits.h> exists even on freestanding compilers. */
22331 #ifdef __STDC__
22332 # include <limits.h>
22333 #else
22334 # include <assert.h>
22335 #endif
22337 #undef $ac_func
22339 /* Override any gcc2 internal prototype to avoid an error. */
22340 #ifdef __cplusplus
22341 extern "C"
22343 #endif
22344 /* We use char because int might match the return type of a gcc2
22345 builtin and then its argument prototype would still apply. */
22346 char $ac_func ();
22347 /* The GNU C library defines this for functions which it implements
22348 to always fail with ENOSYS. Some functions are actually named
22349 something starting with __ and the normal name is an alias. */
22350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22351 choke me
22352 #else
22353 char (*f) () = $ac_func;
22354 #endif
22355 #ifdef __cplusplus
22357 #endif
22360 main ()
22362 return f != $ac_func;
22364 return 0;
22366 _ACEOF
22367 rm -f conftest.$ac_objext conftest$ac_exeext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22369 (eval $ac_link) 2>conftest.er1
22370 ac_status=$?
22371 grep -v '^ *+' conftest.er1 >conftest.err
22372 rm -f conftest.er1
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } &&
22376 { ac_try='test -z "$ac_c_werror_flag"
22377 || test ! -s conftest.err'
22378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22379 (eval $ac_try) 2>&5
22380 ac_status=$?
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); }; } &&
22383 { ac_try='test -s conftest$ac_exeext'
22384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22385 (eval $ac_try) 2>&5
22386 ac_status=$?
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); }; }; then
22389 eval "$as_ac_var=yes"
22390 else
22391 echo "$as_me: failed program was:" >&5
22392 sed 's/^/| /' conftest.$ac_ext >&5
22394 eval "$as_ac_var=no"
22396 rm -f conftest.err conftest.$ac_objext \
22397 conftest$ac_exeext conftest.$ac_ext
22399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22401 if test `eval echo '${'$as_ac_var'}'` = yes; then
22402 cat >>confdefs.h <<_ACEOF
22403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22404 _ACEOF
22407 done
22409 else
22410 echo "$as_me:$LINENO: checking for _float round functions" >&5
22411 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22412 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 else
22418 ac_ext=cc
22419 ac_cpp='$CXXCPP $CPPFLAGS'
22420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22424 cat >conftest.$ac_ext <<_ACEOF
22425 /* confdefs.h. */
22426 _ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 #include <math.h>
22432 main ()
22434 _ceilf (0); _floorf (0);
22436 return 0;
22438 _ACEOF
22439 rm -f conftest.$ac_objext
22440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22441 (eval $ac_compile) 2>conftest.er1
22442 ac_status=$?
22443 grep -v '^ *+' conftest.er1 >conftest.err
22444 rm -f conftest.er1
22445 cat conftest.err >&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); } &&
22448 { ac_try='test -z "$ac_cxx_werror_flag"
22449 || test ! -s conftest.err'
22450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451 (eval $ac_try) 2>&5
22452 ac_status=$?
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; } &&
22455 { ac_try='test -s conftest.$ac_objext'
22456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22457 (eval $ac_try) 2>&5
22458 ac_status=$?
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); }; }; then
22461 glibcxx_cv_func__float_round_use=yes
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22466 glibcxx_cv_func__float_round_use=no
22468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22469 ac_ext=c
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22478 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22479 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22482 for ac_func in _ceilf _floorf
22484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22485 echo "$as_me:$LINENO: checking for $ac_func" >&5
22486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22487 if eval "test \"\${$as_ac_var+set}\" = set"; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 else
22490 if test x$gcc_no_link = xyes; then
22491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22493 { (exit 1); exit 1; }; }
22495 cat >conftest.$ac_ext <<_ACEOF
22496 /* confdefs.h. */
22497 _ACEOF
22498 cat confdefs.h >>conftest.$ac_ext
22499 cat >>conftest.$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22503 #define $ac_func innocuous_$ac_func
22505 /* System header to define __stub macros and hopefully few prototypes,
22506 which can conflict with char $ac_func (); below.
22507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22508 <limits.h> exists even on freestanding compilers. */
22510 #ifdef __STDC__
22511 # include <limits.h>
22512 #else
22513 # include <assert.h>
22514 #endif
22516 #undef $ac_func
22518 /* Override any gcc2 internal prototype to avoid an error. */
22519 #ifdef __cplusplus
22520 extern "C"
22522 #endif
22523 /* We use char because int might match the return type of a gcc2
22524 builtin and then its argument prototype would still apply. */
22525 char $ac_func ();
22526 /* The GNU C library defines this for functions which it implements
22527 to always fail with ENOSYS. Some functions are actually named
22528 something starting with __ and the normal name is an alias. */
22529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22530 choke me
22531 #else
22532 char (*f) () = $ac_func;
22533 #endif
22534 #ifdef __cplusplus
22536 #endif
22539 main ()
22541 return f != $ac_func;
22543 return 0;
22545 _ACEOF
22546 rm -f conftest.$ac_objext conftest$ac_exeext
22547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22548 (eval $ac_link) 2>conftest.er1
22549 ac_status=$?
22550 grep -v '^ *+' conftest.er1 >conftest.err
22551 rm -f conftest.er1
22552 cat conftest.err >&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); } &&
22555 { ac_try='test -z "$ac_c_werror_flag"
22556 || test ! -s conftest.err'
22557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22558 (eval $ac_try) 2>&5
22559 ac_status=$?
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); }; } &&
22562 { ac_try='test -s conftest$ac_exeext'
22563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564 (eval $ac_try) 2>&5
22565 ac_status=$?
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; }; then
22568 eval "$as_ac_var=yes"
22569 else
22570 echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.$ac_ext >&5
22573 eval "$as_ac_var=no"
22575 rm -f conftest.err conftest.$ac_objext \
22576 conftest$ac_exeext conftest.$ac_ext
22578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22580 if test `eval echo '${'$as_ac_var'}'` = yes; then
22581 cat >>confdefs.h <<_ACEOF
22582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22583 _ACEOF
22586 done
22598 echo "$as_me:$LINENO: checking for expf declaration" >&5
22599 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22600 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22601 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22602 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 else
22607 ac_ext=cc
22608 ac_cpp='$CXXCPP $CPPFLAGS'
22609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <math.h>
22620 #ifdef HAVE_IEEEFP_H
22621 #include <ieeefp.h>
22622 #endif
22625 main ()
22627 expf(0);
22629 return 0;
22631 _ACEOF
22632 rm -f conftest.$ac_objext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22634 (eval $ac_compile) 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_cxx_werror_flag"
22642 || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22645 ac_status=$?
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try='test -s conftest.$ac_objext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 glibcxx_cv_func_expf_use=yes
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22659 glibcxx_cv_func_expf_use=no
22661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22662 ac_ext=c
22663 ac_cpp='$CPP $CPPFLAGS'
22664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22672 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22673 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22675 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22677 for ac_func in expf
22679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22680 echo "$as_me:$LINENO: checking for $ac_func" >&5
22681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22682 if eval "test \"\${$as_ac_var+set}\" = set"; then
22683 echo $ECHO_N "(cached) $ECHO_C" >&6
22684 else
22685 if test x$gcc_no_link = xyes; then
22686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22688 { (exit 1); exit 1; }; }
22690 cat >conftest.$ac_ext <<_ACEOF
22691 /* confdefs.h. */
22692 _ACEOF
22693 cat confdefs.h >>conftest.$ac_ext
22694 cat >>conftest.$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22698 #define $ac_func innocuous_$ac_func
22700 /* System header to define __stub macros and hopefully few prototypes,
22701 which can conflict with char $ac_func (); below.
22702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22703 <limits.h> exists even on freestanding compilers. */
22705 #ifdef __STDC__
22706 # include <limits.h>
22707 #else
22708 # include <assert.h>
22709 #endif
22711 #undef $ac_func
22713 /* Override any gcc2 internal prototype to avoid an error. */
22714 #ifdef __cplusplus
22715 extern "C"
22717 #endif
22718 /* We use char because int might match the return type of a gcc2
22719 builtin and then its argument prototype would still apply. */
22720 char $ac_func ();
22721 /* The GNU C library defines this for functions which it implements
22722 to always fail with ENOSYS. Some functions are actually named
22723 something starting with __ and the normal name is an alias. */
22724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22725 choke me
22726 #else
22727 char (*f) () = $ac_func;
22728 #endif
22729 #ifdef __cplusplus
22731 #endif
22734 main ()
22736 return f != $ac_func;
22738 return 0;
22740 _ACEOF
22741 rm -f conftest.$ac_objext conftest$ac_exeext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22743 (eval $ac_link) 2>conftest.er1
22744 ac_status=$?
22745 grep -v '^ *+' conftest.er1 >conftest.err
22746 rm -f conftest.er1
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try='test -z "$ac_c_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 eval "$as_ac_var=yes"
22764 else
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22768 eval "$as_ac_var=no"
22770 rm -f conftest.err conftest.$ac_objext \
22771 conftest$ac_exeext conftest.$ac_ext
22773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22775 if test `eval echo '${'$as_ac_var'}'` = yes; then
22776 cat >>confdefs.h <<_ACEOF
22777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22778 _ACEOF
22781 done
22783 else
22785 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22786 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22787 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22788 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22794 ac_ext=cc
22795 ac_cpp='$CXXCPP $CPPFLAGS'
22796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22800 cat >conftest.$ac_ext <<_ACEOF
22801 /* confdefs.h. */
22802 _ACEOF
22803 cat confdefs.h >>conftest.$ac_ext
22804 cat >>conftest.$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22806 #include <math.h>
22807 #ifdef HAVE_IEEEFP_H
22808 #include <ieeefp.h>
22809 #endif
22812 main ()
22814 _expf(0);
22816 return 0;
22818 _ACEOF
22819 rm -f conftest.$ac_objext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22821 (eval $ac_compile) 2>conftest.er1
22822 ac_status=$?
22823 grep -v '^ *+' conftest.er1 >conftest.err
22824 rm -f conftest.er1
22825 cat conftest.err >&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } &&
22828 { ac_try='test -z "$ac_cxx_werror_flag"
22829 || test ! -s conftest.err'
22830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22831 (eval $ac_try) 2>&5
22832 ac_status=$?
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); }; } &&
22835 { ac_try='test -s conftest.$ac_objext'
22836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837 (eval $ac_try) 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; }; then
22841 glibcxx_cv_func__expf_use=yes
22842 else
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22846 glibcxx_cv_func__expf_use=no
22848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22849 ac_ext=c
22850 ac_cpp='$CPP $CPPFLAGS'
22851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22860 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22862 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22864 for ac_func in _expf
22866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22867 echo "$as_me:$LINENO: checking for $ac_func" >&5
22868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22869 if eval "test \"\${$as_ac_var+set}\" = set"; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 else
22872 if test x$gcc_no_link = xyes; then
22873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22875 { (exit 1); exit 1; }; }
22877 cat >conftest.$ac_ext <<_ACEOF
22878 /* confdefs.h. */
22879 _ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22885 #define $ac_func innocuous_$ac_func
22887 /* System header to define __stub macros and hopefully few prototypes,
22888 which can conflict with char $ac_func (); below.
22889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22890 <limits.h> exists even on freestanding compilers. */
22892 #ifdef __STDC__
22893 # include <limits.h>
22894 #else
22895 # include <assert.h>
22896 #endif
22898 #undef $ac_func
22900 /* Override any gcc2 internal prototype to avoid an error. */
22901 #ifdef __cplusplus
22902 extern "C"
22904 #endif
22905 /* We use char because int might match the return type of a gcc2
22906 builtin and then its argument prototype would still apply. */
22907 char $ac_func ();
22908 /* The GNU C library defines this for functions which it implements
22909 to always fail with ENOSYS. Some functions are actually named
22910 something starting with __ and the normal name is an alias. */
22911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22912 choke me
22913 #else
22914 char (*f) () = $ac_func;
22915 #endif
22916 #ifdef __cplusplus
22918 #endif
22921 main ()
22923 return f != $ac_func;
22925 return 0;
22927 _ACEOF
22928 rm -f conftest.$ac_objext conftest$ac_exeext
22929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22930 (eval $ac_link) 2>conftest.er1
22931 ac_status=$?
22932 grep -v '^ *+' conftest.er1 >conftest.err
22933 rm -f conftest.er1
22934 cat conftest.err >&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try='test -z "$ac_c_werror_flag"
22938 || test ! -s conftest.err'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; } &&
22944 { ac_try='test -s conftest$ac_exeext'
22945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22946 (eval $ac_try) 2>&5
22947 ac_status=$?
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); }; }; then
22950 eval "$as_ac_var=yes"
22951 else
22952 echo "$as_me: failed program was:" >&5
22953 sed 's/^/| /' conftest.$ac_ext >&5
22955 eval "$as_ac_var=no"
22957 rm -f conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22962 if test `eval echo '${'$as_ac_var'}'` = yes; then
22963 cat >>confdefs.h <<_ACEOF
22964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22965 _ACEOF
22968 done
22978 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22979 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22980 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22981 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22982 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 else
22987 ac_ext=cc
22988 ac_cpp='$CXXCPP $CPPFLAGS'
22989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22993 cat >conftest.$ac_ext <<_ACEOF
22994 /* confdefs.h. */
22995 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999 #include <math.h>
23000 #ifdef HAVE_IEEEFP_H
23001 #include <ieeefp.h>
23002 #endif
23005 main ()
23007 isnanf(0);
23009 return 0;
23011 _ACEOF
23012 rm -f conftest.$ac_objext
23013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23014 (eval $ac_compile) 2>conftest.er1
23015 ac_status=$?
23016 grep -v '^ *+' conftest.er1 >conftest.err
23017 rm -f conftest.er1
23018 cat conftest.err >&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); } &&
23021 { ac_try='test -z "$ac_cxx_werror_flag"
23022 || test ! -s conftest.err'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; } &&
23028 { ac_try='test -s conftest.$ac_objext'
23029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030 (eval $ac_try) 2>&5
23031 ac_status=$?
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; }; then
23034 glibcxx_cv_func_isnanf_use=yes
23035 else
23036 echo "$as_me: failed program was:" >&5
23037 sed 's/^/| /' conftest.$ac_ext >&5
23039 glibcxx_cv_func_isnanf_use=no
23041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23042 ac_ext=c
23043 ac_cpp='$CPP $CPPFLAGS'
23044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23053 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23055 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23057 for ac_func in isnanf
23059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23060 echo "$as_me:$LINENO: checking for $ac_func" >&5
23061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23062 if eval "test \"\${$as_ac_var+set}\" = set"; then
23063 echo $ECHO_N "(cached) $ECHO_C" >&6
23064 else
23065 if test x$gcc_no_link = xyes; then
23066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23068 { (exit 1); exit 1; }; }
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23078 #define $ac_func innocuous_$ac_func
23080 /* System header to define __stub macros and hopefully few prototypes,
23081 which can conflict with char $ac_func (); below.
23082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23083 <limits.h> exists even on freestanding compilers. */
23085 #ifdef __STDC__
23086 # include <limits.h>
23087 #else
23088 # include <assert.h>
23089 #endif
23091 #undef $ac_func
23093 /* Override any gcc2 internal prototype to avoid an error. */
23094 #ifdef __cplusplus
23095 extern "C"
23097 #endif
23098 /* We use char because int might match the return type of a gcc2
23099 builtin and then its argument prototype would still apply. */
23100 char $ac_func ();
23101 /* The GNU C library defines this for functions which it implements
23102 to always fail with ENOSYS. Some functions are actually named
23103 something starting with __ and the normal name is an alias. */
23104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23105 choke me
23106 #else
23107 char (*f) () = $ac_func;
23108 #endif
23109 #ifdef __cplusplus
23111 #endif
23114 main ()
23116 return f != $ac_func;
23118 return 0;
23120 _ACEOF
23121 rm -f conftest.$ac_objext conftest$ac_exeext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23123 (eval $ac_link) 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try='test -z "$ac_c_werror_flag"
23131 || test ! -s conftest.err'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; } &&
23137 { ac_try='test -s conftest$ac_exeext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23143 eval "$as_ac_var=yes"
23144 else
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23148 eval "$as_ac_var=no"
23150 rm -f conftest.err conftest.$ac_objext \
23151 conftest$ac_exeext conftest.$ac_ext
23153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23155 if test `eval echo '${'$as_ac_var'}'` = yes; then
23156 cat >>confdefs.h <<_ACEOF
23157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23158 _ACEOF
23161 done
23163 else
23165 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23166 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23167 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23168 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23169 echo $ECHO_N "(cached) $ECHO_C" >&6
23170 else
23174 ac_ext=cc
23175 ac_cpp='$CXXCPP $CPPFLAGS'
23176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23180 cat >conftest.$ac_ext <<_ACEOF
23181 /* confdefs.h. */
23182 _ACEOF
23183 cat confdefs.h >>conftest.$ac_ext
23184 cat >>conftest.$ac_ext <<_ACEOF
23185 /* end confdefs.h. */
23186 #include <math.h>
23187 #ifdef HAVE_IEEEFP_H
23188 #include <ieeefp.h>
23189 #endif
23192 main ()
23194 _isnanf(0);
23196 return 0;
23198 _ACEOF
23199 rm -f conftest.$ac_objext
23200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23201 (eval $ac_compile) 2>conftest.er1
23202 ac_status=$?
23203 grep -v '^ *+' conftest.er1 >conftest.err
23204 rm -f conftest.er1
23205 cat conftest.err >&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } &&
23208 { ac_try='test -z "$ac_cxx_werror_flag"
23209 || test ! -s conftest.err'
23210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23211 (eval $ac_try) 2>&5
23212 ac_status=$?
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; } &&
23215 { ac_try='test -s conftest.$ac_objext'
23216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217 (eval $ac_try) 2>&5
23218 ac_status=$?
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; }; then
23221 glibcxx_cv_func__isnanf_use=yes
23222 else
23223 echo "$as_me: failed program was:" >&5
23224 sed 's/^/| /' conftest.$ac_ext >&5
23226 glibcxx_cv_func__isnanf_use=no
23228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23229 ac_ext=c
23230 ac_cpp='$CPP $CPPFLAGS'
23231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23240 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23242 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23244 for ac_func in _isnanf
23246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23247 echo "$as_me:$LINENO: checking for $ac_func" >&5
23248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23249 if eval "test \"\${$as_ac_var+set}\" = set"; then
23250 echo $ECHO_N "(cached) $ECHO_C" >&6
23251 else
23252 if test x$gcc_no_link = xyes; then
23253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23255 { (exit 1); exit 1; }; }
23257 cat >conftest.$ac_ext <<_ACEOF
23258 /* confdefs.h. */
23259 _ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23265 #define $ac_func innocuous_$ac_func
23267 /* System header to define __stub macros and hopefully few prototypes,
23268 which can conflict with char $ac_func (); below.
23269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23270 <limits.h> exists even on freestanding compilers. */
23272 #ifdef __STDC__
23273 # include <limits.h>
23274 #else
23275 # include <assert.h>
23276 #endif
23278 #undef $ac_func
23280 /* Override any gcc2 internal prototype to avoid an error. */
23281 #ifdef __cplusplus
23282 extern "C"
23284 #endif
23285 /* We use char because int might match the return type of a gcc2
23286 builtin and then its argument prototype would still apply. */
23287 char $ac_func ();
23288 /* The GNU C library defines this for functions which it implements
23289 to always fail with ENOSYS. Some functions are actually named
23290 something starting with __ and the normal name is an alias. */
23291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23292 choke me
23293 #else
23294 char (*f) () = $ac_func;
23295 #endif
23296 #ifdef __cplusplus
23298 #endif
23301 main ()
23303 return f != $ac_func;
23305 return 0;
23307 _ACEOF
23308 rm -f conftest.$ac_objext conftest$ac_exeext
23309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23310 (eval $ac_link) 2>conftest.er1
23311 ac_status=$?
23312 grep -v '^ *+' conftest.er1 >conftest.err
23313 rm -f conftest.er1
23314 cat conftest.err >&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); } &&
23317 { ac_try='test -z "$ac_c_werror_flag"
23318 || test ! -s conftest.err'
23319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23320 (eval $ac_try) 2>&5
23321 ac_status=$?
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); }; } &&
23324 { ac_try='test -s conftest$ac_exeext'
23325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23326 (eval $ac_try) 2>&5
23327 ac_status=$?
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; }; then
23330 eval "$as_ac_var=yes"
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23335 eval "$as_ac_var=no"
23337 rm -f conftest.err conftest.$ac_objext \
23338 conftest$ac_exeext conftest.$ac_ext
23340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23342 if test `eval echo '${'$as_ac_var'}'` = yes; then
23343 cat >>confdefs.h <<_ACEOF
23344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23345 _ACEOF
23348 done
23358 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23359 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23360 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23361 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 else
23367 ac_ext=cc
23368 ac_cpp='$CXXCPP $CPPFLAGS'
23369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 #include <math.h>
23380 #ifdef HAVE_IEEEFP_H
23381 #include <ieeefp.h>
23382 #endif
23385 main ()
23387 isinff(0);
23389 return 0;
23391 _ACEOF
23392 rm -f conftest.$ac_objext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23394 (eval $ac_compile) 2>conftest.er1
23395 ac_status=$?
23396 grep -v '^ *+' conftest.er1 >conftest.err
23397 rm -f conftest.er1
23398 cat conftest.err >&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } &&
23401 { ac_try='test -z "$ac_cxx_werror_flag"
23402 || test ! -s conftest.err'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; } &&
23408 { ac_try='test -s conftest.$ac_objext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 glibcxx_cv_func_isinff_use=yes
23415 else
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23419 glibcxx_cv_func_isinff_use=no
23421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23422 ac_ext=c
23423 ac_cpp='$CPP $CPPFLAGS'
23424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23433 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23435 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23437 for ac_func in isinff
23439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23440 echo "$as_me:$LINENO: checking for $ac_func" >&5
23441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23442 if eval "test \"\${$as_ac_var+set}\" = set"; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 else
23445 if test x$gcc_no_link = xyes; then
23446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23448 { (exit 1); exit 1; }; }
23450 cat >conftest.$ac_ext <<_ACEOF
23451 /* confdefs.h. */
23452 _ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23458 #define $ac_func innocuous_$ac_func
23460 /* System header to define __stub macros and hopefully few prototypes,
23461 which can conflict with char $ac_func (); below.
23462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23463 <limits.h> exists even on freestanding compilers. */
23465 #ifdef __STDC__
23466 # include <limits.h>
23467 #else
23468 # include <assert.h>
23469 #endif
23471 #undef $ac_func
23473 /* Override any gcc2 internal prototype to avoid an error. */
23474 #ifdef __cplusplus
23475 extern "C"
23477 #endif
23478 /* We use char because int might match the return type of a gcc2
23479 builtin and then its argument prototype would still apply. */
23480 char $ac_func ();
23481 /* The GNU C library defines this for functions which it implements
23482 to always fail with ENOSYS. Some functions are actually named
23483 something starting with __ and the normal name is an alias. */
23484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23485 choke me
23486 #else
23487 char (*f) () = $ac_func;
23488 #endif
23489 #ifdef __cplusplus
23491 #endif
23494 main ()
23496 return f != $ac_func;
23498 return 0;
23500 _ACEOF
23501 rm -f conftest.$ac_objext conftest$ac_exeext
23502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23503 (eval $ac_link) 2>conftest.er1
23504 ac_status=$?
23505 grep -v '^ *+' conftest.er1 >conftest.err
23506 rm -f conftest.er1
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } &&
23510 { ac_try='test -z "$ac_c_werror_flag"
23511 || test ! -s conftest.err'
23512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23513 (eval $ac_try) 2>&5
23514 ac_status=$?
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); }; } &&
23517 { ac_try='test -s conftest$ac_exeext'
23518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23519 (eval $ac_try) 2>&5
23520 ac_status=$?
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); }; }; then
23523 eval "$as_ac_var=yes"
23524 else
23525 echo "$as_me: failed program was:" >&5
23526 sed 's/^/| /' conftest.$ac_ext >&5
23528 eval "$as_ac_var=no"
23530 rm -f conftest.err conftest.$ac_objext \
23531 conftest$ac_exeext conftest.$ac_ext
23533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23535 if test `eval echo '${'$as_ac_var'}'` = yes; then
23536 cat >>confdefs.h <<_ACEOF
23537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23538 _ACEOF
23541 done
23543 else
23545 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23546 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23547 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23548 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 else
23554 ac_ext=cc
23555 ac_cpp='$CXXCPP $CPPFLAGS'
23556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23560 cat >conftest.$ac_ext <<_ACEOF
23561 /* confdefs.h. */
23562 _ACEOF
23563 cat confdefs.h >>conftest.$ac_ext
23564 cat >>conftest.$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23566 #include <math.h>
23567 #ifdef HAVE_IEEEFP_H
23568 #include <ieeefp.h>
23569 #endif
23572 main ()
23574 _isinff(0);
23576 return 0;
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23581 (eval $ac_compile) 2>conftest.er1
23582 ac_status=$?
23583 grep -v '^ *+' conftest.er1 >conftest.err
23584 rm -f conftest.er1
23585 cat conftest.err >&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try='test -z "$ac_cxx_werror_flag"
23589 || test ! -s conftest.err'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; } &&
23595 { ac_try='test -s conftest.$ac_objext'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23598 ac_status=$?
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; }; then
23601 glibcxx_cv_func__isinff_use=yes
23602 else
23603 echo "$as_me: failed program was:" >&5
23604 sed 's/^/| /' conftest.$ac_ext >&5
23606 glibcxx_cv_func__isinff_use=no
23608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23620 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23624 for ac_func in _isinff
23626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23627 echo "$as_me:$LINENO: checking for $ac_func" >&5
23628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23629 if eval "test \"\${$as_ac_var+set}\" = set"; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23631 else
23632 if test x$gcc_no_link = xyes; then
23633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23635 { (exit 1); exit 1; }; }
23637 cat >conftest.$ac_ext <<_ACEOF
23638 /* confdefs.h. */
23639 _ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23645 #define $ac_func innocuous_$ac_func
23647 /* System header to define __stub macros and hopefully few prototypes,
23648 which can conflict with char $ac_func (); below.
23649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23650 <limits.h> exists even on freestanding compilers. */
23652 #ifdef __STDC__
23653 # include <limits.h>
23654 #else
23655 # include <assert.h>
23656 #endif
23658 #undef $ac_func
23660 /* Override any gcc2 internal prototype to avoid an error. */
23661 #ifdef __cplusplus
23662 extern "C"
23664 #endif
23665 /* We use char because int might match the return type of a gcc2
23666 builtin and then its argument prototype would still apply. */
23667 char $ac_func ();
23668 /* The GNU C library defines this for functions which it implements
23669 to always fail with ENOSYS. Some functions are actually named
23670 something starting with __ and the normal name is an alias. */
23671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23672 choke me
23673 #else
23674 char (*f) () = $ac_func;
23675 #endif
23676 #ifdef __cplusplus
23678 #endif
23681 main ()
23683 return f != $ac_func;
23685 return 0;
23687 _ACEOF
23688 rm -f conftest.$ac_objext conftest$ac_exeext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23690 (eval $ac_link) 2>conftest.er1
23691 ac_status=$?
23692 grep -v '^ *+' conftest.er1 >conftest.err
23693 rm -f conftest.er1
23694 cat conftest.err >&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); } &&
23697 { ac_try='test -z "$ac_c_werror_flag"
23698 || test ! -s conftest.err'
23699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700 (eval $ac_try) 2>&5
23701 ac_status=$?
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); }; } &&
23704 { ac_try='test -s conftest$ac_exeext'
23705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706 (eval $ac_try) 2>&5
23707 ac_status=$?
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); }; }; then
23710 eval "$as_ac_var=yes"
23711 else
23712 echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.$ac_ext >&5
23715 eval "$as_ac_var=no"
23717 rm -f conftest.err conftest.$ac_objext \
23718 conftest$ac_exeext conftest.$ac_ext
23720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23722 if test `eval echo '${'$as_ac_var'}'` = yes; then
23723 cat >>confdefs.h <<_ACEOF
23724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23725 _ACEOF
23728 done
23738 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23739 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23740 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23741 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23742 echo $ECHO_N "(cached) $ECHO_C" >&6
23743 else
23747 ac_ext=cc
23748 ac_cpp='$CXXCPP $CPPFLAGS'
23749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23753 cat >conftest.$ac_ext <<_ACEOF
23754 /* confdefs.h. */
23755 _ACEOF
23756 cat confdefs.h >>conftest.$ac_ext
23757 cat >>conftest.$ac_ext <<_ACEOF
23758 /* end confdefs.h. */
23759 #include <math.h>
23761 main ()
23763 atan2f(0, 0);
23765 return 0;
23767 _ACEOF
23768 rm -f conftest.$ac_objext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770 (eval $ac_compile) 2>conftest.er1
23771 ac_status=$?
23772 grep -v '^ *+' conftest.er1 >conftest.err
23773 rm -f conftest.er1
23774 cat conftest.err >&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try='test -z "$ac_cxx_werror_flag"
23778 || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try='test -s conftest.$ac_objext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 glibcxx_cv_func_atan2f_use=yes
23791 else
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23795 glibcxx_cv_func_atan2f_use=no
23797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23798 ac_ext=c
23799 ac_cpp='$CPP $CPPFLAGS'
23800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23809 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23811 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23813 for ac_func in atan2f
23815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23816 echo "$as_me:$LINENO: checking for $ac_func" >&5
23817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23818 if eval "test \"\${$as_ac_var+set}\" = set"; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 else
23821 if test x$gcc_no_link = xyes; then
23822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23824 { (exit 1); exit 1; }; }
23826 cat >conftest.$ac_ext <<_ACEOF
23827 /* confdefs.h. */
23828 _ACEOF
23829 cat confdefs.h >>conftest.$ac_ext
23830 cat >>conftest.$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23834 #define $ac_func innocuous_$ac_func
23836 /* System header to define __stub macros and hopefully few prototypes,
23837 which can conflict with char $ac_func (); below.
23838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23839 <limits.h> exists even on freestanding compilers. */
23841 #ifdef __STDC__
23842 # include <limits.h>
23843 #else
23844 # include <assert.h>
23845 #endif
23847 #undef $ac_func
23849 /* Override any gcc2 internal prototype to avoid an error. */
23850 #ifdef __cplusplus
23851 extern "C"
23853 #endif
23854 /* We use char because int might match the return type of a gcc2
23855 builtin and then its argument prototype would still apply. */
23856 char $ac_func ();
23857 /* The GNU C library defines this for functions which it implements
23858 to always fail with ENOSYS. Some functions are actually named
23859 something starting with __ and the normal name is an alias. */
23860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23861 choke me
23862 #else
23863 char (*f) () = $ac_func;
23864 #endif
23865 #ifdef __cplusplus
23867 #endif
23870 main ()
23872 return f != $ac_func;
23874 return 0;
23876 _ACEOF
23877 rm -f conftest.$ac_objext conftest$ac_exeext
23878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23879 (eval $ac_link) 2>conftest.er1
23880 ac_status=$?
23881 grep -v '^ *+' conftest.er1 >conftest.err
23882 rm -f conftest.er1
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } &&
23886 { ac_try='test -z "$ac_c_werror_flag"
23887 || test ! -s conftest.err'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23890 ac_status=$?
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; } &&
23893 { ac_try='test -s conftest$ac_exeext'
23894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23895 (eval $ac_try) 2>&5
23896 ac_status=$?
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); }; }; then
23899 eval "$as_ac_var=yes"
23900 else
23901 echo "$as_me: failed program was:" >&5
23902 sed 's/^/| /' conftest.$ac_ext >&5
23904 eval "$as_ac_var=no"
23906 rm -f conftest.err conftest.$ac_objext \
23907 conftest$ac_exeext conftest.$ac_ext
23909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23911 if test `eval echo '${'$as_ac_var'}'` = yes; then
23912 cat >>confdefs.h <<_ACEOF
23913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23914 _ACEOF
23917 done
23919 else
23921 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23922 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23923 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23924 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23926 else
23930 ac_ext=cc
23931 ac_cpp='$CXXCPP $CPPFLAGS'
23932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23936 cat >conftest.$ac_ext <<_ACEOF
23937 /* confdefs.h. */
23938 _ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942 #include <math.h>
23944 main ()
23946 _atan2f(0, 0);
23948 return 0;
23950 _ACEOF
23951 rm -f conftest.$ac_objext
23952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23953 (eval $ac_compile) 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } &&
23960 { ac_try='test -z "$ac_cxx_werror_flag"
23961 || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 glibcxx_cv_func__atan2f_use=yes
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23978 glibcxx_cv_func__atan2f_use=no
23980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23981 ac_ext=c
23982 ac_cpp='$CPP $CPPFLAGS'
23983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23992 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23994 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23996 for ac_func in _atan2f
23998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23999 echo "$as_me:$LINENO: checking for $ac_func" >&5
24000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24001 if eval "test \"\${$as_ac_var+set}\" = set"; then
24002 echo $ECHO_N "(cached) $ECHO_C" >&6
24003 else
24004 if test x$gcc_no_link = xyes; then
24005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24007 { (exit 1); exit 1; }; }
24009 cat >conftest.$ac_ext <<_ACEOF
24010 /* confdefs.h. */
24011 _ACEOF
24012 cat confdefs.h >>conftest.$ac_ext
24013 cat >>conftest.$ac_ext <<_ACEOF
24014 /* end confdefs.h. */
24015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24017 #define $ac_func innocuous_$ac_func
24019 /* System header to define __stub macros and hopefully few prototypes,
24020 which can conflict with char $ac_func (); below.
24021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24022 <limits.h> exists even on freestanding compilers. */
24024 #ifdef __STDC__
24025 # include <limits.h>
24026 #else
24027 # include <assert.h>
24028 #endif
24030 #undef $ac_func
24032 /* Override any gcc2 internal prototype to avoid an error. */
24033 #ifdef __cplusplus
24034 extern "C"
24036 #endif
24037 /* We use char because int might match the return type of a gcc2
24038 builtin and then its argument prototype would still apply. */
24039 char $ac_func ();
24040 /* The GNU C library defines this for functions which it implements
24041 to always fail with ENOSYS. Some functions are actually named
24042 something starting with __ and the normal name is an alias. */
24043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24044 choke me
24045 #else
24046 char (*f) () = $ac_func;
24047 #endif
24048 #ifdef __cplusplus
24050 #endif
24053 main ()
24055 return f != $ac_func;
24057 return 0;
24059 _ACEOF
24060 rm -f conftest.$ac_objext conftest$ac_exeext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24062 (eval $ac_link) 2>conftest.er1
24063 ac_status=$?
24064 grep -v '^ *+' conftest.er1 >conftest.err
24065 rm -f conftest.er1
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try='test -z "$ac_c_werror_flag"
24070 || test ! -s conftest.err'
24071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24072 (eval $ac_try) 2>&5
24073 ac_status=$?
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; } &&
24076 { ac_try='test -s conftest$ac_exeext'
24077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078 (eval $ac_try) 2>&5
24079 ac_status=$?
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); }; }; then
24082 eval "$as_ac_var=yes"
24083 else
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24087 eval "$as_ac_var=no"
24089 rm -f conftest.err conftest.$ac_objext \
24090 conftest$ac_exeext conftest.$ac_ext
24092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24094 if test `eval echo '${'$as_ac_var'}'` = yes; then
24095 cat >>confdefs.h <<_ACEOF
24096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24097 _ACEOF
24100 done
24110 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24111 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24112 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24113 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 else
24119 ac_ext=cc
24120 ac_cpp='$CXXCPP $CPPFLAGS'
24121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24125 cat >conftest.$ac_ext <<_ACEOF
24126 /* confdefs.h. */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24131 #include <math.h>
24132 #ifdef HAVE_IEEEFP_H
24133 #include <ieeefp.h>
24134 #endif
24137 main ()
24139 fabsf(0);
24141 return 0;
24143 _ACEOF
24144 rm -f conftest.$ac_objext
24145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24146 (eval $ac_compile) 2>conftest.er1
24147 ac_status=$?
24148 grep -v '^ *+' conftest.er1 >conftest.err
24149 rm -f conftest.er1
24150 cat conftest.err >&5
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); } &&
24153 { ac_try='test -z "$ac_cxx_werror_flag"
24154 || test ! -s conftest.err'
24155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24156 (eval $ac_try) 2>&5
24157 ac_status=$?
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); }; } &&
24160 { ac_try='test -s conftest.$ac_objext'
24161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162 (eval $ac_try) 2>&5
24163 ac_status=$?
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; }; then
24166 glibcxx_cv_func_fabsf_use=yes
24167 else
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24171 glibcxx_cv_func_fabsf_use=no
24173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24185 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24187 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24189 for ac_func in fabsf
24191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24192 echo "$as_me:$LINENO: checking for $ac_func" >&5
24193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24194 if eval "test \"\${$as_ac_var+set}\" = set"; then
24195 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 else
24197 if test x$gcc_no_link = xyes; then
24198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24200 { (exit 1); exit 1; }; }
24202 cat >conftest.$ac_ext <<_ACEOF
24203 /* confdefs.h. */
24204 _ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24210 #define $ac_func innocuous_$ac_func
24212 /* System header to define __stub macros and hopefully few prototypes,
24213 which can conflict with char $ac_func (); below.
24214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24215 <limits.h> exists even on freestanding compilers. */
24217 #ifdef __STDC__
24218 # include <limits.h>
24219 #else
24220 # include <assert.h>
24221 #endif
24223 #undef $ac_func
24225 /* Override any gcc2 internal prototype to avoid an error. */
24226 #ifdef __cplusplus
24227 extern "C"
24229 #endif
24230 /* We use char because int might match the return type of a gcc2
24231 builtin and then its argument prototype would still apply. */
24232 char $ac_func ();
24233 /* The GNU C library defines this for functions which it implements
24234 to always fail with ENOSYS. Some functions are actually named
24235 something starting with __ and the normal name is an alias. */
24236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24237 choke me
24238 #else
24239 char (*f) () = $ac_func;
24240 #endif
24241 #ifdef __cplusplus
24243 #endif
24246 main ()
24248 return f != $ac_func;
24250 return 0;
24252 _ACEOF
24253 rm -f conftest.$ac_objext conftest$ac_exeext
24254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24255 (eval $ac_link) 2>conftest.er1
24256 ac_status=$?
24257 grep -v '^ *+' conftest.er1 >conftest.err
24258 rm -f conftest.er1
24259 cat conftest.err >&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } &&
24262 { ac_try='test -z "$ac_c_werror_flag"
24263 || test ! -s conftest.err'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24266 ac_status=$?
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; } &&
24269 { ac_try='test -s conftest$ac_exeext'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24272 ac_status=$?
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; }; then
24275 eval "$as_ac_var=yes"
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24280 eval "$as_ac_var=no"
24282 rm -f conftest.err conftest.$ac_objext \
24283 conftest$ac_exeext conftest.$ac_ext
24285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24287 if test `eval echo '${'$as_ac_var'}'` = yes; then
24288 cat >>confdefs.h <<_ACEOF
24289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24290 _ACEOF
24293 done
24295 else
24297 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24298 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24299 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24300 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24301 echo $ECHO_N "(cached) $ECHO_C" >&6
24302 else
24306 ac_ext=cc
24307 ac_cpp='$CXXCPP $CPPFLAGS'
24308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24312 cat >conftest.$ac_ext <<_ACEOF
24313 /* confdefs.h. */
24314 _ACEOF
24315 cat confdefs.h >>conftest.$ac_ext
24316 cat >>conftest.$ac_ext <<_ACEOF
24317 /* end confdefs.h. */
24318 #include <math.h>
24319 #ifdef HAVE_IEEEFP_H
24320 #include <ieeefp.h>
24321 #endif
24324 main ()
24326 _fabsf(0);
24328 return 0;
24330 _ACEOF
24331 rm -f conftest.$ac_objext
24332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24333 (eval $ac_compile) 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try='test -z "$ac_cxx_werror_flag"
24341 || test ! -s conftest.err'
24342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343 (eval $ac_try) 2>&5
24344 ac_status=$?
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; } &&
24347 { ac_try='test -s conftest.$ac_objext'
24348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24349 (eval $ac_try) 2>&5
24350 ac_status=$?
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); }; }; then
24353 glibcxx_cv_func__fabsf_use=yes
24354 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24358 glibcxx_cv_func__fabsf_use=no
24360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_ext=c
24362 ac_cpp='$CPP $CPPFLAGS'
24363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24372 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24374 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24376 for ac_func in _fabsf
24378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24379 echo "$as_me:$LINENO: checking for $ac_func" >&5
24380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24381 if eval "test \"\${$as_ac_var+set}\" = set"; then
24382 echo $ECHO_N "(cached) $ECHO_C" >&6
24383 else
24384 if test x$gcc_no_link = xyes; then
24385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24387 { (exit 1); exit 1; }; }
24389 cat >conftest.$ac_ext <<_ACEOF
24390 /* confdefs.h. */
24391 _ACEOF
24392 cat confdefs.h >>conftest.$ac_ext
24393 cat >>conftest.$ac_ext <<_ACEOF
24394 /* end confdefs.h. */
24395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24397 #define $ac_func innocuous_$ac_func
24399 /* System header to define __stub macros and hopefully few prototypes,
24400 which can conflict with char $ac_func (); below.
24401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24402 <limits.h> exists even on freestanding compilers. */
24404 #ifdef __STDC__
24405 # include <limits.h>
24406 #else
24407 # include <assert.h>
24408 #endif
24410 #undef $ac_func
24412 /* Override any gcc2 internal prototype to avoid an error. */
24413 #ifdef __cplusplus
24414 extern "C"
24416 #endif
24417 /* We use char because int might match the return type of a gcc2
24418 builtin and then its argument prototype would still apply. */
24419 char $ac_func ();
24420 /* The GNU C library defines this for functions which it implements
24421 to always fail with ENOSYS. Some functions are actually named
24422 something starting with __ and the normal name is an alias. */
24423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24424 choke me
24425 #else
24426 char (*f) () = $ac_func;
24427 #endif
24428 #ifdef __cplusplus
24430 #endif
24433 main ()
24435 return f != $ac_func;
24437 return 0;
24439 _ACEOF
24440 rm -f conftest.$ac_objext conftest$ac_exeext
24441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24442 (eval $ac_link) 2>conftest.er1
24443 ac_status=$?
24444 grep -v '^ *+' conftest.er1 >conftest.err
24445 rm -f conftest.er1
24446 cat conftest.err >&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); } &&
24449 { ac_try='test -z "$ac_c_werror_flag"
24450 || test ! -s conftest.err'
24451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24452 (eval $ac_try) 2>&5
24453 ac_status=$?
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); }; } &&
24456 { ac_try='test -s conftest$ac_exeext'
24457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24458 (eval $ac_try) 2>&5
24459 ac_status=$?
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); }; }; then
24462 eval "$as_ac_var=yes"
24463 else
24464 echo "$as_me: failed program was:" >&5
24465 sed 's/^/| /' conftest.$ac_ext >&5
24467 eval "$as_ac_var=no"
24469 rm -f conftest.err conftest.$ac_objext \
24470 conftest$ac_exeext conftest.$ac_ext
24472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24474 if test `eval echo '${'$as_ac_var'}'` = yes; then
24475 cat >>confdefs.h <<_ACEOF
24476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24477 _ACEOF
24480 done
24490 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24491 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24492 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24493 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24495 else
24499 ac_ext=cc
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505 cat >conftest.$ac_ext <<_ACEOF
24506 /* confdefs.h. */
24507 _ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24511 #include <math.h>
24513 main ()
24515 fmodf(0, 0);
24517 return 0;
24519 _ACEOF
24520 rm -f conftest.$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24523 ac_status=$?
24524 grep -v '^ *+' conftest.er1 >conftest.err
24525 rm -f conftest.er1
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try='test -z "$ac_cxx_werror_flag"
24530 || test ! -s conftest.err'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; } &&
24536 { ac_try='test -s conftest.$ac_objext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24539 ac_status=$?
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 glibcxx_cv_func_fmodf_use=yes
24543 else
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24547 glibcxx_cv_func_fmodf_use=no
24549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24561 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24563 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24565 for ac_func in fmodf
24567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24568 echo "$as_me:$LINENO: checking for $ac_func" >&5
24569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24570 if eval "test \"\${$as_ac_var+set}\" = set"; then
24571 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 else
24573 if test x$gcc_no_link = xyes; then
24574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24576 { (exit 1); exit 1; }; }
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24586 #define $ac_func innocuous_$ac_func
24588 /* System header to define __stub macros and hopefully few prototypes,
24589 which can conflict with char $ac_func (); below.
24590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24591 <limits.h> exists even on freestanding compilers. */
24593 #ifdef __STDC__
24594 # include <limits.h>
24595 #else
24596 # include <assert.h>
24597 #endif
24599 #undef $ac_func
24601 /* Override any gcc2 internal prototype to avoid an error. */
24602 #ifdef __cplusplus
24603 extern "C"
24605 #endif
24606 /* We use char because int might match the return type of a gcc2
24607 builtin and then its argument prototype would still apply. */
24608 char $ac_func ();
24609 /* The GNU C library defines this for functions which it implements
24610 to always fail with ENOSYS. Some functions are actually named
24611 something starting with __ and the normal name is an alias. */
24612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24613 choke me
24614 #else
24615 char (*f) () = $ac_func;
24616 #endif
24617 #ifdef __cplusplus
24619 #endif
24622 main ()
24624 return f != $ac_func;
24626 return 0;
24628 _ACEOF
24629 rm -f conftest.$ac_objext conftest$ac_exeext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24631 (eval $ac_link) 2>conftest.er1
24632 ac_status=$?
24633 grep -v '^ *+' conftest.er1 >conftest.err
24634 rm -f conftest.er1
24635 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try='test -z "$ac_c_werror_flag"
24639 || test ! -s conftest.err'
24640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24641 (eval $ac_try) 2>&5
24642 ac_status=$?
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; } &&
24645 { ac_try='test -s conftest$ac_exeext'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24648 ac_status=$?
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; }; then
24651 eval "$as_ac_var=yes"
24652 else
24653 echo "$as_me: failed program was:" >&5
24654 sed 's/^/| /' conftest.$ac_ext >&5
24656 eval "$as_ac_var=no"
24658 rm -f conftest.err conftest.$ac_objext \
24659 conftest$ac_exeext conftest.$ac_ext
24661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24663 if test `eval echo '${'$as_ac_var'}'` = yes; then
24664 cat >>confdefs.h <<_ACEOF
24665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24666 _ACEOF
24669 done
24671 else
24673 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24674 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24675 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24676 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24682 ac_ext=cc
24683 ac_cpp='$CXXCPP $CPPFLAGS'
24684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24688 cat >conftest.$ac_ext <<_ACEOF
24689 /* confdefs.h. */
24690 _ACEOF
24691 cat confdefs.h >>conftest.$ac_ext
24692 cat >>conftest.$ac_ext <<_ACEOF
24693 /* end confdefs.h. */
24694 #include <math.h>
24696 main ()
24698 _fmodf(0, 0);
24700 return 0;
24702 _ACEOF
24703 rm -f conftest.$ac_objext
24704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24705 (eval $ac_compile) 2>conftest.er1
24706 ac_status=$?
24707 grep -v '^ *+' conftest.er1 >conftest.err
24708 rm -f conftest.er1
24709 cat conftest.err >&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); } &&
24712 { ac_try='test -z "$ac_cxx_werror_flag"
24713 || test ! -s conftest.err'
24714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 (eval $ac_try) 2>&5
24716 ac_status=$?
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; } &&
24719 { ac_try='test -s conftest.$ac_objext'
24720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721 (eval $ac_try) 2>&5
24722 ac_status=$?
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); }; }; then
24725 glibcxx_cv_func__fmodf_use=yes
24726 else
24727 echo "$as_me: failed program was:" >&5
24728 sed 's/^/| /' conftest.$ac_ext >&5
24730 glibcxx_cv_func__fmodf_use=no
24732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24733 ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24744 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24746 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24748 for ac_func in _fmodf
24750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24751 echo "$as_me:$LINENO: checking for $ac_func" >&5
24752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24753 if eval "test \"\${$as_ac_var+set}\" = set"; then
24754 echo $ECHO_N "(cached) $ECHO_C" >&6
24755 else
24756 if test x$gcc_no_link = xyes; then
24757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24759 { (exit 1); exit 1; }; }
24761 cat >conftest.$ac_ext <<_ACEOF
24762 /* confdefs.h. */
24763 _ACEOF
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24769 #define $ac_func innocuous_$ac_func
24771 /* System header to define __stub macros and hopefully few prototypes,
24772 which can conflict with char $ac_func (); below.
24773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24774 <limits.h> exists even on freestanding compilers. */
24776 #ifdef __STDC__
24777 # include <limits.h>
24778 #else
24779 # include <assert.h>
24780 #endif
24782 #undef $ac_func
24784 /* Override any gcc2 internal prototype to avoid an error. */
24785 #ifdef __cplusplus
24786 extern "C"
24788 #endif
24789 /* We use char because int might match the return type of a gcc2
24790 builtin and then its argument prototype would still apply. */
24791 char $ac_func ();
24792 /* The GNU C library defines this for functions which it implements
24793 to always fail with ENOSYS. Some functions are actually named
24794 something starting with __ and the normal name is an alias. */
24795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24796 choke me
24797 #else
24798 char (*f) () = $ac_func;
24799 #endif
24800 #ifdef __cplusplus
24802 #endif
24805 main ()
24807 return f != $ac_func;
24809 return 0;
24811 _ACEOF
24812 rm -f conftest.$ac_objext conftest$ac_exeext
24813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24814 (eval $ac_link) 2>conftest.er1
24815 ac_status=$?
24816 grep -v '^ *+' conftest.er1 >conftest.err
24817 rm -f conftest.er1
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } &&
24821 { ac_try='test -z "$ac_c_werror_flag"
24822 || test ! -s conftest.err'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24825 ac_status=$?
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; } &&
24828 { ac_try='test -s conftest$ac_exeext'
24829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830 (eval $ac_try) 2>&5
24831 ac_status=$?
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); }; }; then
24834 eval "$as_ac_var=yes"
24835 else
24836 echo "$as_me: failed program was:" >&5
24837 sed 's/^/| /' conftest.$ac_ext >&5
24839 eval "$as_ac_var=no"
24841 rm -f conftest.err conftest.$ac_objext \
24842 conftest$ac_exeext conftest.$ac_ext
24844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24846 if test `eval echo '${'$as_ac_var'}'` = yes; then
24847 cat >>confdefs.h <<_ACEOF
24848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24849 _ACEOF
24852 done
24862 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24863 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24864 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24865 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24866 echo $ECHO_N "(cached) $ECHO_C" >&6
24867 else
24871 ac_ext=cc
24872 ac_cpp='$CXXCPP $CPPFLAGS'
24873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24877 cat >conftest.$ac_ext <<_ACEOF
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883 #include <math.h>
24885 main ()
24887 frexpf(0, 0);
24889 return 0;
24891 _ACEOF
24892 rm -f conftest.$ac_objext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24894 (eval $ac_compile) 2>conftest.er1
24895 ac_status=$?
24896 grep -v '^ *+' conftest.er1 >conftest.err
24897 rm -f conftest.er1
24898 cat conftest.err >&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try='test -z "$ac_cxx_werror_flag"
24902 || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try='test -s conftest.$ac_objext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 glibcxx_cv_func_frexpf_use=yes
24915 else
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24919 glibcxx_cv_func_frexpf_use=no
24921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24922 ac_ext=c
24923 ac_cpp='$CPP $CPPFLAGS'
24924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24933 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24935 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24937 for ac_func in frexpf
24939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24940 echo "$as_me:$LINENO: checking for $ac_func" >&5
24941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24942 if eval "test \"\${$as_ac_var+set}\" = set"; then
24943 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 else
24945 if test x$gcc_no_link = xyes; then
24946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24948 { (exit 1); exit 1; }; }
24950 cat >conftest.$ac_ext <<_ACEOF
24951 /* confdefs.h. */
24952 _ACEOF
24953 cat confdefs.h >>conftest.$ac_ext
24954 cat >>conftest.$ac_ext <<_ACEOF
24955 /* end confdefs.h. */
24956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24958 #define $ac_func innocuous_$ac_func
24960 /* System header to define __stub macros and hopefully few prototypes,
24961 which can conflict with char $ac_func (); below.
24962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24963 <limits.h> exists even on freestanding compilers. */
24965 #ifdef __STDC__
24966 # include <limits.h>
24967 #else
24968 # include <assert.h>
24969 #endif
24971 #undef $ac_func
24973 /* Override any gcc2 internal prototype to avoid an error. */
24974 #ifdef __cplusplus
24975 extern "C"
24977 #endif
24978 /* We use char because int might match the return type of a gcc2
24979 builtin and then its argument prototype would still apply. */
24980 char $ac_func ();
24981 /* The GNU C library defines this for functions which it implements
24982 to always fail with ENOSYS. Some functions are actually named
24983 something starting with __ and the normal name is an alias. */
24984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24985 choke me
24986 #else
24987 char (*f) () = $ac_func;
24988 #endif
24989 #ifdef __cplusplus
24991 #endif
24994 main ()
24996 return f != $ac_func;
24998 return 0;
25000 _ACEOF
25001 rm -f conftest.$ac_objext conftest$ac_exeext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25003 (eval $ac_link) 2>conftest.er1
25004 ac_status=$?
25005 grep -v '^ *+' conftest.er1 >conftest.err
25006 rm -f conftest.er1
25007 cat conftest.err >&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); } &&
25010 { ac_try='test -z "$ac_c_werror_flag"
25011 || test ! -s conftest.err'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25014 ac_status=$?
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; } &&
25017 { ac_try='test -s conftest$ac_exeext'
25018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25019 (eval $ac_try) 2>&5
25020 ac_status=$?
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); }; }; then
25023 eval "$as_ac_var=yes"
25024 else
25025 echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.$ac_ext >&5
25028 eval "$as_ac_var=no"
25030 rm -f conftest.err conftest.$ac_objext \
25031 conftest$ac_exeext conftest.$ac_ext
25033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25035 if test `eval echo '${'$as_ac_var'}'` = yes; then
25036 cat >>confdefs.h <<_ACEOF
25037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25038 _ACEOF
25041 done
25043 else
25045 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25046 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25047 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25048 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25049 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 else
25054 ac_ext=cc
25055 ac_cpp='$CXXCPP $CPPFLAGS'
25056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060 cat >conftest.$ac_ext <<_ACEOF
25061 /* confdefs.h. */
25062 _ACEOF
25063 cat confdefs.h >>conftest.$ac_ext
25064 cat >>conftest.$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25066 #include <math.h>
25068 main ()
25070 _frexpf(0, 0);
25072 return 0;
25074 _ACEOF
25075 rm -f conftest.$ac_objext
25076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25077 (eval $ac_compile) 2>conftest.er1
25078 ac_status=$?
25079 grep -v '^ *+' conftest.er1 >conftest.err
25080 rm -f conftest.er1
25081 cat conftest.err >&5
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); } &&
25084 { ac_try='test -z "$ac_cxx_werror_flag"
25085 || test ! -s conftest.err'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; } &&
25091 { ac_try='test -s conftest.$ac_objext'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25094 ac_status=$?
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; }; then
25097 glibcxx_cv_func__frexpf_use=yes
25098 else
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.$ac_ext >&5
25102 glibcxx_cv_func__frexpf_use=no
25104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25105 ac_ext=c
25106 ac_cpp='$CPP $CPPFLAGS'
25107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25116 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25118 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25120 for ac_func in _frexpf
25122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25123 echo "$as_me:$LINENO: checking for $ac_func" >&5
25124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25125 if eval "test \"\${$as_ac_var+set}\" = set"; then
25126 echo $ECHO_N "(cached) $ECHO_C" >&6
25127 else
25128 if test x$gcc_no_link = xyes; then
25129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25131 { (exit 1); exit 1; }; }
25133 cat >conftest.$ac_ext <<_ACEOF
25134 /* confdefs.h. */
25135 _ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25141 #define $ac_func innocuous_$ac_func
25143 /* System header to define __stub macros and hopefully few prototypes,
25144 which can conflict with char $ac_func (); below.
25145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25146 <limits.h> exists even on freestanding compilers. */
25148 #ifdef __STDC__
25149 # include <limits.h>
25150 #else
25151 # include <assert.h>
25152 #endif
25154 #undef $ac_func
25156 /* Override any gcc2 internal prototype to avoid an error. */
25157 #ifdef __cplusplus
25158 extern "C"
25160 #endif
25161 /* We use char because int might match the return type of a gcc2
25162 builtin and then its argument prototype would still apply. */
25163 char $ac_func ();
25164 /* The GNU C library defines this for functions which it implements
25165 to always fail with ENOSYS. Some functions are actually named
25166 something starting with __ and the normal name is an alias. */
25167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25168 choke me
25169 #else
25170 char (*f) () = $ac_func;
25171 #endif
25172 #ifdef __cplusplus
25174 #endif
25177 main ()
25179 return f != $ac_func;
25181 return 0;
25183 _ACEOF
25184 rm -f conftest.$ac_objext conftest$ac_exeext
25185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25186 (eval $ac_link) 2>conftest.er1
25187 ac_status=$?
25188 grep -v '^ *+' conftest.er1 >conftest.err
25189 rm -f conftest.er1
25190 cat conftest.err >&5
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); } &&
25193 { ac_try='test -z "$ac_c_werror_flag"
25194 || test ! -s conftest.err'
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25197 ac_status=$?
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; } &&
25200 { ac_try='test -s conftest$ac_exeext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25203 ac_status=$?
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 eval "$as_ac_var=yes"
25207 else
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.$ac_ext >&5
25211 eval "$as_ac_var=no"
25213 rm -f conftest.err conftest.$ac_objext \
25214 conftest$ac_exeext conftest.$ac_ext
25216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25218 if test `eval echo '${'$as_ac_var'}'` = yes; then
25219 cat >>confdefs.h <<_ACEOF
25220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25221 _ACEOF
25224 done
25234 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25235 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25236 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25237 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25243 ac_ext=cc
25244 ac_cpp='$CXXCPP $CPPFLAGS'
25245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249 cat >conftest.$ac_ext <<_ACEOF
25250 /* confdefs.h. */
25251 _ACEOF
25252 cat confdefs.h >>conftest.$ac_ext
25253 cat >>conftest.$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25255 #include <math.h>
25257 main ()
25259 hypotf(0, 0);
25261 return 0;
25263 _ACEOF
25264 rm -f conftest.$ac_objext
25265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25266 (eval $ac_compile) 2>conftest.er1
25267 ac_status=$?
25268 grep -v '^ *+' conftest.er1 >conftest.err
25269 rm -f conftest.er1
25270 cat conftest.err >&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } &&
25273 { ac_try='test -z "$ac_cxx_werror_flag"
25274 || test ! -s conftest.err'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25277 ac_status=$?
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; } &&
25280 { ac_try='test -s conftest.$ac_objext'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25283 ac_status=$?
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; }; then
25286 glibcxx_cv_func_hypotf_use=yes
25287 else
25288 echo "$as_me: failed program was:" >&5
25289 sed 's/^/| /' conftest.$ac_ext >&5
25291 glibcxx_cv_func_hypotf_use=no
25293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25294 ac_ext=c
25295 ac_cpp='$CPP $CPPFLAGS'
25296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25305 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25307 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25309 for ac_func in hypotf
25311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25312 echo "$as_me:$LINENO: checking for $ac_func" >&5
25313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25314 if eval "test \"\${$as_ac_var+set}\" = set"; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 else
25317 if test x$gcc_no_link = xyes; then
25318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25320 { (exit 1); exit 1; }; }
25322 cat >conftest.$ac_ext <<_ACEOF
25323 /* confdefs.h. */
25324 _ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25330 #define $ac_func innocuous_$ac_func
25332 /* System header to define __stub macros and hopefully few prototypes,
25333 which can conflict with char $ac_func (); below.
25334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25335 <limits.h> exists even on freestanding compilers. */
25337 #ifdef __STDC__
25338 # include <limits.h>
25339 #else
25340 # include <assert.h>
25341 #endif
25343 #undef $ac_func
25345 /* Override any gcc2 internal prototype to avoid an error. */
25346 #ifdef __cplusplus
25347 extern "C"
25349 #endif
25350 /* We use char because int might match the return type of a gcc2
25351 builtin and then its argument prototype would still apply. */
25352 char $ac_func ();
25353 /* The GNU C library defines this for functions which it implements
25354 to always fail with ENOSYS. Some functions are actually named
25355 something starting with __ and the normal name is an alias. */
25356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25357 choke me
25358 #else
25359 char (*f) () = $ac_func;
25360 #endif
25361 #ifdef __cplusplus
25363 #endif
25366 main ()
25368 return f != $ac_func;
25370 return 0;
25372 _ACEOF
25373 rm -f conftest.$ac_objext conftest$ac_exeext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25375 (eval $ac_link) 2>conftest.er1
25376 ac_status=$?
25377 grep -v '^ *+' conftest.er1 >conftest.err
25378 rm -f conftest.er1
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try='test -z "$ac_c_werror_flag"
25383 || test ! -s conftest.err'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25386 ac_status=$?
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; } &&
25389 { ac_try='test -s conftest$ac_exeext'
25390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391 (eval $ac_try) 2>&5
25392 ac_status=$?
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); }; }; then
25395 eval "$as_ac_var=yes"
25396 else
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25400 eval "$as_ac_var=no"
25402 rm -f conftest.err conftest.$ac_objext \
25403 conftest$ac_exeext conftest.$ac_ext
25405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25407 if test `eval echo '${'$as_ac_var'}'` = yes; then
25408 cat >>confdefs.h <<_ACEOF
25409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25410 _ACEOF
25413 done
25415 else
25417 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25418 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25419 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25420 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25421 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 else
25426 ac_ext=cc
25427 ac_cpp='$CXXCPP $CPPFLAGS'
25428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25432 cat >conftest.$ac_ext <<_ACEOF
25433 /* confdefs.h. */
25434 _ACEOF
25435 cat confdefs.h >>conftest.$ac_ext
25436 cat >>conftest.$ac_ext <<_ACEOF
25437 /* end confdefs.h. */
25438 #include <math.h>
25440 main ()
25442 _hypotf(0, 0);
25444 return 0;
25446 _ACEOF
25447 rm -f conftest.$ac_objext
25448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25449 (eval $ac_compile) 2>conftest.er1
25450 ac_status=$?
25451 grep -v '^ *+' conftest.er1 >conftest.err
25452 rm -f conftest.er1
25453 cat conftest.err >&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } &&
25456 { ac_try='test -z "$ac_cxx_werror_flag"
25457 || test ! -s conftest.err'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25460 ac_status=$?
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; } &&
25463 { ac_try='test -s conftest.$ac_objext'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25466 ac_status=$?
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; }; then
25469 glibcxx_cv_func__hypotf_use=yes
25470 else
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.$ac_ext >&5
25474 glibcxx_cv_func__hypotf_use=no
25476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25477 ac_ext=c
25478 ac_cpp='$CPP $CPPFLAGS'
25479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25488 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25490 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25492 for ac_func in _hypotf
25494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25495 echo "$as_me:$LINENO: checking for $ac_func" >&5
25496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25497 if eval "test \"\${$as_ac_var+set}\" = set"; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 else
25500 if test x$gcc_no_link = xyes; then
25501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25503 { (exit 1); exit 1; }; }
25505 cat >conftest.$ac_ext <<_ACEOF
25506 /* confdefs.h. */
25507 _ACEOF
25508 cat confdefs.h >>conftest.$ac_ext
25509 cat >>conftest.$ac_ext <<_ACEOF
25510 /* end confdefs.h. */
25511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25513 #define $ac_func innocuous_$ac_func
25515 /* System header to define __stub macros and hopefully few prototypes,
25516 which can conflict with char $ac_func (); below.
25517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25518 <limits.h> exists even on freestanding compilers. */
25520 #ifdef __STDC__
25521 # include <limits.h>
25522 #else
25523 # include <assert.h>
25524 #endif
25526 #undef $ac_func
25528 /* Override any gcc2 internal prototype to avoid an error. */
25529 #ifdef __cplusplus
25530 extern "C"
25532 #endif
25533 /* We use char because int might match the return type of a gcc2
25534 builtin and then its argument prototype would still apply. */
25535 char $ac_func ();
25536 /* The GNU C library defines this for functions which it implements
25537 to always fail with ENOSYS. Some functions are actually named
25538 something starting with __ and the normal name is an alias. */
25539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25540 choke me
25541 #else
25542 char (*f) () = $ac_func;
25543 #endif
25544 #ifdef __cplusplus
25546 #endif
25549 main ()
25551 return f != $ac_func;
25553 return 0;
25555 _ACEOF
25556 rm -f conftest.$ac_objext conftest$ac_exeext
25557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25558 (eval $ac_link) 2>conftest.er1
25559 ac_status=$?
25560 grep -v '^ *+' conftest.er1 >conftest.err
25561 rm -f conftest.er1
25562 cat conftest.err >&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); } &&
25565 { ac_try='test -z "$ac_c_werror_flag"
25566 || test ! -s conftest.err'
25567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25568 (eval $ac_try) 2>&5
25569 ac_status=$?
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); }; } &&
25572 { ac_try='test -s conftest$ac_exeext'
25573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25574 (eval $ac_try) 2>&5
25575 ac_status=$?
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); }; }; then
25578 eval "$as_ac_var=yes"
25579 else
25580 echo "$as_me: failed program was:" >&5
25581 sed 's/^/| /' conftest.$ac_ext >&5
25583 eval "$as_ac_var=no"
25585 rm -f conftest.err conftest.$ac_objext \
25586 conftest$ac_exeext conftest.$ac_ext
25588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25590 if test `eval echo '${'$as_ac_var'}'` = yes; then
25591 cat >>confdefs.h <<_ACEOF
25592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25593 _ACEOF
25596 done
25606 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25607 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25608 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25609 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25610 echo $ECHO_N "(cached) $ECHO_C" >&6
25611 else
25615 ac_ext=cc
25616 ac_cpp='$CXXCPP $CPPFLAGS'
25617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621 cat >conftest.$ac_ext <<_ACEOF
25622 /* confdefs.h. */
25623 _ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627 #include <math.h>
25629 main ()
25631 ldexpf(0, 0);
25633 return 0;
25635 _ACEOF
25636 rm -f conftest.$ac_objext
25637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25638 (eval $ac_compile) 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_cxx_werror_flag"
25646 || test ! -s conftest.err'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; } &&
25652 { ac_try='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25658 glibcxx_cv_func_ldexpf_use=yes
25659 else
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25663 glibcxx_cv_func_ldexpf_use=no
25665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25677 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25679 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25681 for ac_func in ldexpf
25683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25684 echo "$as_me:$LINENO: checking for $ac_func" >&5
25685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25686 if eval "test \"\${$as_ac_var+set}\" = set"; then
25687 echo $ECHO_N "(cached) $ECHO_C" >&6
25688 else
25689 if test x$gcc_no_link = xyes; then
25690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25692 { (exit 1); exit 1; }; }
25694 cat >conftest.$ac_ext <<_ACEOF
25695 /* confdefs.h. */
25696 _ACEOF
25697 cat confdefs.h >>conftest.$ac_ext
25698 cat >>conftest.$ac_ext <<_ACEOF
25699 /* end confdefs.h. */
25700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25702 #define $ac_func innocuous_$ac_func
25704 /* System header to define __stub macros and hopefully few prototypes,
25705 which can conflict with char $ac_func (); below.
25706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25707 <limits.h> exists even on freestanding compilers. */
25709 #ifdef __STDC__
25710 # include <limits.h>
25711 #else
25712 # include <assert.h>
25713 #endif
25715 #undef $ac_func
25717 /* Override any gcc2 internal prototype to avoid an error. */
25718 #ifdef __cplusplus
25719 extern "C"
25721 #endif
25722 /* We use char because int might match the return type of a gcc2
25723 builtin and then its argument prototype would still apply. */
25724 char $ac_func ();
25725 /* The GNU C library defines this for functions which it implements
25726 to always fail with ENOSYS. Some functions are actually named
25727 something starting with __ and the normal name is an alias. */
25728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25729 choke me
25730 #else
25731 char (*f) () = $ac_func;
25732 #endif
25733 #ifdef __cplusplus
25735 #endif
25738 main ()
25740 return f != $ac_func;
25742 return 0;
25744 _ACEOF
25745 rm -f conftest.$ac_objext conftest$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25748 ac_status=$?
25749 grep -v '^ *+' conftest.er1 >conftest.err
25750 rm -f conftest.er1
25751 cat conftest.err >&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25764 ac_status=$?
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 eval "$as_ac_var=yes"
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25772 eval "$as_ac_var=no"
25774 rm -f conftest.err conftest.$ac_objext \
25775 conftest$ac_exeext conftest.$ac_ext
25777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25779 if test `eval echo '${'$as_ac_var'}'` = yes; then
25780 cat >>confdefs.h <<_ACEOF
25781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25782 _ACEOF
25785 done
25787 else
25789 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25790 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25791 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25792 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25798 ac_ext=cc
25799 ac_cpp='$CXXCPP $CPPFLAGS'
25800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 #include <math.h>
25812 main ()
25814 _ldexpf(0, 0);
25816 return 0;
25818 _ACEOF
25819 rm -f conftest.$ac_objext
25820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25821 (eval $ac_compile) 2>conftest.er1
25822 ac_status=$?
25823 grep -v '^ *+' conftest.er1 >conftest.err
25824 rm -f conftest.er1
25825 cat conftest.err >&5
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); } &&
25828 { ac_try='test -z "$ac_cxx_werror_flag"
25829 || test ! -s conftest.err'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25832 ac_status=$?
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; } &&
25835 { ac_try='test -s conftest.$ac_objext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25838 ac_status=$?
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
25841 glibcxx_cv_func__ldexpf_use=yes
25842 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25846 glibcxx_cv_func__ldexpf_use=no
25848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25849 ac_ext=c
25850 ac_cpp='$CPP $CPPFLAGS'
25851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25860 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25862 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25864 for ac_func in _ldexpf
25866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25867 echo "$as_me:$LINENO: checking for $ac_func" >&5
25868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25869 if eval "test \"\${$as_ac_var+set}\" = set"; then
25870 echo $ECHO_N "(cached) $ECHO_C" >&6
25871 else
25872 if test x$gcc_no_link = xyes; then
25873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25875 { (exit 1); exit 1; }; }
25877 cat >conftest.$ac_ext <<_ACEOF
25878 /* confdefs.h. */
25879 _ACEOF
25880 cat confdefs.h >>conftest.$ac_ext
25881 cat >>conftest.$ac_ext <<_ACEOF
25882 /* end confdefs.h. */
25883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25885 #define $ac_func innocuous_$ac_func
25887 /* System header to define __stub macros and hopefully few prototypes,
25888 which can conflict with char $ac_func (); below.
25889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25890 <limits.h> exists even on freestanding compilers. */
25892 #ifdef __STDC__
25893 # include <limits.h>
25894 #else
25895 # include <assert.h>
25896 #endif
25898 #undef $ac_func
25900 /* Override any gcc2 internal prototype to avoid an error. */
25901 #ifdef __cplusplus
25902 extern "C"
25904 #endif
25905 /* We use char because int might match the return type of a gcc2
25906 builtin and then its argument prototype would still apply. */
25907 char $ac_func ();
25908 /* The GNU C library defines this for functions which it implements
25909 to always fail with ENOSYS. Some functions are actually named
25910 something starting with __ and the normal name is an alias. */
25911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25912 choke me
25913 #else
25914 char (*f) () = $ac_func;
25915 #endif
25916 #ifdef __cplusplus
25918 #endif
25921 main ()
25923 return f != $ac_func;
25925 return 0;
25927 _ACEOF
25928 rm -f conftest.$ac_objext conftest$ac_exeext
25929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25930 (eval $ac_link) 2>conftest.er1
25931 ac_status=$?
25932 grep -v '^ *+' conftest.er1 >conftest.err
25933 rm -f conftest.er1
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } &&
25937 { ac_try='test -z "$ac_c_werror_flag"
25938 || test ! -s conftest.err'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; } &&
25944 { ac_try='test -s conftest$ac_exeext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25947 ac_status=$?
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 eval "$as_ac_var=yes"
25951 else
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.$ac_ext >&5
25955 eval "$as_ac_var=no"
25957 rm -f conftest.err conftest.$ac_objext \
25958 conftest$ac_exeext conftest.$ac_ext
25960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25962 if test `eval echo '${'$as_ac_var'}'` = yes; then
25963 cat >>confdefs.h <<_ACEOF
25964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25965 _ACEOF
25968 done
25978 echo "$as_me:$LINENO: checking for logf declaration" >&5
25979 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25980 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25981 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 else
25987 ac_ext=cc
25988 ac_cpp='$CXXCPP $CPPFLAGS'
25989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25993 cat >conftest.$ac_ext <<_ACEOF
25994 /* confdefs.h. */
25995 _ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
25999 #include <math.h>
26000 #ifdef HAVE_IEEEFP_H
26001 #include <ieeefp.h>
26002 #endif
26005 main ()
26007 logf(0);
26009 return 0;
26011 _ACEOF
26012 rm -f conftest.$ac_objext
26013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26014 (eval $ac_compile) 2>conftest.er1
26015 ac_status=$?
26016 grep -v '^ *+' conftest.er1 >conftest.err
26017 rm -f conftest.er1
26018 cat conftest.err >&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } &&
26021 { ac_try='test -z "$ac_cxx_werror_flag"
26022 || test ! -s conftest.err'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; } &&
26028 { ac_try='test -s conftest.$ac_objext'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26031 ac_status=$?
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; }; then
26034 glibcxx_cv_func_logf_use=yes
26035 else
26036 echo "$as_me: failed program was:" >&5
26037 sed 's/^/| /' conftest.$ac_ext >&5
26039 glibcxx_cv_func_logf_use=no
26041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26042 ac_ext=c
26043 ac_cpp='$CPP $CPPFLAGS'
26044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26053 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26055 if test x$glibcxx_cv_func_logf_use = x"yes"; then
26057 for ac_func in logf
26059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26060 echo "$as_me:$LINENO: checking for $ac_func" >&5
26061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26062 if eval "test \"\${$as_ac_var+set}\" = set"; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065 if test x$gcc_no_link = xyes; then
26066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26068 { (exit 1); exit 1; }; }
26070 cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h. */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26078 #define $ac_func innocuous_$ac_func
26080 /* System header to define __stub macros and hopefully few prototypes,
26081 which can conflict with char $ac_func (); below.
26082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26083 <limits.h> exists even on freestanding compilers. */
26085 #ifdef __STDC__
26086 # include <limits.h>
26087 #else
26088 # include <assert.h>
26089 #endif
26091 #undef $ac_func
26093 /* Override any gcc2 internal prototype to avoid an error. */
26094 #ifdef __cplusplus
26095 extern "C"
26097 #endif
26098 /* We use char because int might match the return type of a gcc2
26099 builtin and then its argument prototype would still apply. */
26100 char $ac_func ();
26101 /* The GNU C library defines this for functions which it implements
26102 to always fail with ENOSYS. Some functions are actually named
26103 something starting with __ and the normal name is an alias. */
26104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26105 choke me
26106 #else
26107 char (*f) () = $ac_func;
26108 #endif
26109 #ifdef __cplusplus
26111 #endif
26114 main ()
26116 return f != $ac_func;
26118 return 0;
26120 _ACEOF
26121 rm -f conftest.$ac_objext conftest$ac_exeext
26122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26123 (eval $ac_link) 2>conftest.er1
26124 ac_status=$?
26125 grep -v '^ *+' conftest.er1 >conftest.err
26126 rm -f conftest.er1
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } &&
26130 { ac_try='test -z "$ac_c_werror_flag"
26131 || test ! -s conftest.err'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26134 ac_status=$?
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; } &&
26137 { ac_try='test -s conftest$ac_exeext'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26140 ac_status=$?
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; }; then
26143 eval "$as_ac_var=yes"
26144 else
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.$ac_ext >&5
26148 eval "$as_ac_var=no"
26150 rm -f conftest.err conftest.$ac_objext \
26151 conftest$ac_exeext conftest.$ac_ext
26153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26155 if test `eval echo '${'$as_ac_var'}'` = yes; then
26156 cat >>confdefs.h <<_ACEOF
26157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26158 _ACEOF
26161 done
26163 else
26165 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26166 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26168 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26169 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 else
26174 ac_ext=cc
26175 ac_cpp='$CXXCPP $CPPFLAGS'
26176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26180 cat >conftest.$ac_ext <<_ACEOF
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <math.h>
26187 #ifdef HAVE_IEEEFP_H
26188 #include <ieeefp.h>
26189 #endif
26192 main ()
26194 _logf(0);
26196 return 0;
26198 _ACEOF
26199 rm -f conftest.$ac_objext
26200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26201 (eval $ac_compile) 2>conftest.er1
26202 ac_status=$?
26203 grep -v '^ *+' conftest.er1 >conftest.err
26204 rm -f conftest.er1
26205 cat conftest.err >&5
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); } &&
26208 { ac_try='test -z "$ac_cxx_werror_flag"
26209 || test ! -s conftest.err'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; } &&
26215 { ac_try='test -s conftest.$ac_objext'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26221 glibcxx_cv_func__logf_use=yes
26222 else
26223 echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26226 glibcxx_cv_func__logf_use=no
26228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26229 ac_ext=c
26230 ac_cpp='$CPP $CPPFLAGS'
26231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26240 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26242 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26244 for ac_func in _logf
26246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26247 echo "$as_me:$LINENO: checking for $ac_func" >&5
26248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26249 if eval "test \"\${$as_ac_var+set}\" = set"; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26251 else
26252 if test x$gcc_no_link = xyes; then
26253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26255 { (exit 1); exit 1; }; }
26257 cat >conftest.$ac_ext <<_ACEOF
26258 /* confdefs.h. */
26259 _ACEOF
26260 cat confdefs.h >>conftest.$ac_ext
26261 cat >>conftest.$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26265 #define $ac_func innocuous_$ac_func
26267 /* System header to define __stub macros and hopefully few prototypes,
26268 which can conflict with char $ac_func (); below.
26269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26270 <limits.h> exists even on freestanding compilers. */
26272 #ifdef __STDC__
26273 # include <limits.h>
26274 #else
26275 # include <assert.h>
26276 #endif
26278 #undef $ac_func
26280 /* Override any gcc2 internal prototype to avoid an error. */
26281 #ifdef __cplusplus
26282 extern "C"
26284 #endif
26285 /* We use char because int might match the return type of a gcc2
26286 builtin and then its argument prototype would still apply. */
26287 char $ac_func ();
26288 /* The GNU C library defines this for functions which it implements
26289 to always fail with ENOSYS. Some functions are actually named
26290 something starting with __ and the normal name is an alias. */
26291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26292 choke me
26293 #else
26294 char (*f) () = $ac_func;
26295 #endif
26296 #ifdef __cplusplus
26298 #endif
26301 main ()
26303 return f != $ac_func;
26305 return 0;
26307 _ACEOF
26308 rm -f conftest.$ac_objext conftest$ac_exeext
26309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26310 (eval $ac_link) 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } &&
26317 { ac_try='test -z "$ac_c_werror_flag"
26318 || test ! -s conftest.err'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26321 ac_status=$?
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; } &&
26324 { ac_try='test -s conftest$ac_exeext'
26325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26326 (eval $ac_try) 2>&5
26327 ac_status=$?
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); }; }; then
26330 eval "$as_ac_var=yes"
26331 else
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.$ac_ext >&5
26335 eval "$as_ac_var=no"
26337 rm -f conftest.err conftest.$ac_objext \
26338 conftest$ac_exeext conftest.$ac_ext
26340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26342 if test `eval echo '${'$as_ac_var'}'` = yes; then
26343 cat >>confdefs.h <<_ACEOF
26344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26345 _ACEOF
26348 done
26358 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26359 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26360 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26361 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26362 echo $ECHO_N "(cached) $ECHO_C" >&6
26363 else
26367 ac_ext=cc
26368 ac_cpp='$CXXCPP $CPPFLAGS'
26369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26373 cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h. */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379 #include <math.h>
26380 #ifdef HAVE_IEEEFP_H
26381 #include <ieeefp.h>
26382 #endif
26385 main ()
26387 log10f(0);
26389 return 0;
26391 _ACEOF
26392 rm -f conftest.$ac_objext
26393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26394 (eval $ac_compile) 2>conftest.er1
26395 ac_status=$?
26396 grep -v '^ *+' conftest.er1 >conftest.err
26397 rm -f conftest.er1
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } &&
26401 { ac_try='test -z "$ac_cxx_werror_flag"
26402 || test ! -s conftest.err'
26403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26404 (eval $ac_try) 2>&5
26405 ac_status=$?
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); }; } &&
26408 { ac_try='test -s conftest.$ac_objext'
26409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26410 (eval $ac_try) 2>&5
26411 ac_status=$?
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); }; }; then
26414 glibcxx_cv_func_log10f_use=yes
26415 else
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26419 glibcxx_cv_func_log10f_use=no
26421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26422 ac_ext=c
26423 ac_cpp='$CPP $CPPFLAGS'
26424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26433 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26435 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26437 for ac_func in log10f
26439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26440 echo "$as_me:$LINENO: checking for $ac_func" >&5
26441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26442 if eval "test \"\${$as_ac_var+set}\" = set"; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26444 else
26445 if test x$gcc_no_link = xyes; then
26446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26448 { (exit 1); exit 1; }; }
26450 cat >conftest.$ac_ext <<_ACEOF
26451 /* confdefs.h. */
26452 _ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26458 #define $ac_func innocuous_$ac_func
26460 /* System header to define __stub macros and hopefully few prototypes,
26461 which can conflict with char $ac_func (); below.
26462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26463 <limits.h> exists even on freestanding compilers. */
26465 #ifdef __STDC__
26466 # include <limits.h>
26467 #else
26468 # include <assert.h>
26469 #endif
26471 #undef $ac_func
26473 /* Override any gcc2 internal prototype to avoid an error. */
26474 #ifdef __cplusplus
26475 extern "C"
26477 #endif
26478 /* We use char because int might match the return type of a gcc2
26479 builtin and then its argument prototype would still apply. */
26480 char $ac_func ();
26481 /* The GNU C library defines this for functions which it implements
26482 to always fail with ENOSYS. Some functions are actually named
26483 something starting with __ and the normal name is an alias. */
26484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26485 choke me
26486 #else
26487 char (*f) () = $ac_func;
26488 #endif
26489 #ifdef __cplusplus
26491 #endif
26494 main ()
26496 return f != $ac_func;
26498 return 0;
26500 _ACEOF
26501 rm -f conftest.$ac_objext conftest$ac_exeext
26502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26503 (eval $ac_link) 2>conftest.er1
26504 ac_status=$?
26505 grep -v '^ *+' conftest.er1 >conftest.err
26506 rm -f conftest.er1
26507 cat conftest.err >&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try='test -z "$ac_c_werror_flag"
26511 || test ! -s conftest.err'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26514 ac_status=$?
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; } &&
26517 { ac_try='test -s conftest$ac_exeext'
26518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519 (eval $ac_try) 2>&5
26520 ac_status=$?
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); }; }; then
26523 eval "$as_ac_var=yes"
26524 else
26525 echo "$as_me: failed program was:" >&5
26526 sed 's/^/| /' conftest.$ac_ext >&5
26528 eval "$as_ac_var=no"
26530 rm -f conftest.err conftest.$ac_objext \
26531 conftest$ac_exeext conftest.$ac_ext
26533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26535 if test `eval echo '${'$as_ac_var'}'` = yes; then
26536 cat >>confdefs.h <<_ACEOF
26537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26538 _ACEOF
26541 done
26543 else
26545 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26546 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26547 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26548 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26549 echo $ECHO_N "(cached) $ECHO_C" >&6
26550 else
26554 ac_ext=cc
26555 ac_cpp='$CXXCPP $CPPFLAGS'
26556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26560 cat >conftest.$ac_ext <<_ACEOF
26561 /* confdefs.h. */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566 #include <math.h>
26567 #ifdef HAVE_IEEEFP_H
26568 #include <ieeefp.h>
26569 #endif
26572 main ()
26574 _log10f(0);
26576 return 0;
26578 _ACEOF
26579 rm -f conftest.$ac_objext
26580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26581 (eval $ac_compile) 2>conftest.er1
26582 ac_status=$?
26583 grep -v '^ *+' conftest.er1 >conftest.err
26584 rm -f conftest.er1
26585 cat conftest.err >&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); } &&
26588 { ac_try='test -z "$ac_cxx_werror_flag"
26589 || test ! -s conftest.err'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; } &&
26595 { ac_try='test -s conftest.$ac_objext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 glibcxx_cv_func__log10f_use=yes
26602 else
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26606 glibcxx_cv_func__log10f_use=no
26608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26609 ac_ext=c
26610 ac_cpp='$CPP $CPPFLAGS'
26611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26620 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26622 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26624 for ac_func in _log10f
26626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26627 echo "$as_me:$LINENO: checking for $ac_func" >&5
26628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26629 if eval "test \"\${$as_ac_var+set}\" = set"; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 else
26632 if test x$gcc_no_link = xyes; then
26633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26635 { (exit 1); exit 1; }; }
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h. */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26645 #define $ac_func innocuous_$ac_func
26647 /* System header to define __stub macros and hopefully few prototypes,
26648 which can conflict with char $ac_func (); below.
26649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26650 <limits.h> exists even on freestanding compilers. */
26652 #ifdef __STDC__
26653 # include <limits.h>
26654 #else
26655 # include <assert.h>
26656 #endif
26658 #undef $ac_func
26660 /* Override any gcc2 internal prototype to avoid an error. */
26661 #ifdef __cplusplus
26662 extern "C"
26664 #endif
26665 /* We use char because int might match the return type of a gcc2
26666 builtin and then its argument prototype would still apply. */
26667 char $ac_func ();
26668 /* The GNU C library defines this for functions which it implements
26669 to always fail with ENOSYS. Some functions are actually named
26670 something starting with __ and the normal name is an alias. */
26671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26672 choke me
26673 #else
26674 char (*f) () = $ac_func;
26675 #endif
26676 #ifdef __cplusplus
26678 #endif
26681 main ()
26683 return f != $ac_func;
26685 return 0;
26687 _ACEOF
26688 rm -f conftest.$ac_objext conftest$ac_exeext
26689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26690 (eval $ac_link) 2>conftest.er1
26691 ac_status=$?
26692 grep -v '^ *+' conftest.er1 >conftest.err
26693 rm -f conftest.er1
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } &&
26697 { ac_try='test -z "$ac_c_werror_flag"
26698 || test ! -s conftest.err'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; } &&
26704 { ac_try='test -s conftest$ac_exeext'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; }; then
26710 eval "$as_ac_var=yes"
26711 else
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26715 eval "$as_ac_var=no"
26717 rm -f conftest.err conftest.$ac_objext \
26718 conftest$ac_exeext conftest.$ac_ext
26720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26722 if test `eval echo '${'$as_ac_var'}'` = yes; then
26723 cat >>confdefs.h <<_ACEOF
26724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26725 _ACEOF
26728 done
26738 echo "$as_me:$LINENO: checking for modff declaration" >&5
26739 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26740 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26741 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26747 ac_ext=cc
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759 #include <math.h>
26761 main ()
26763 modff(0, 0);
26765 return 0;
26767 _ACEOF
26768 rm -f conftest.$ac_objext
26769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26770 (eval $ac_compile) 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -z "$ac_cxx_werror_flag"
26778 || test ! -s conftest.err'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26781 ac_status=$?
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); }; } &&
26784 { ac_try='test -s conftest.$ac_objext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 glibcxx_cv_func_modff_use=yes
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26795 glibcxx_cv_func_modff_use=no
26797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26809 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26811 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26813 for ac_func in modff
26815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26816 echo "$as_me:$LINENO: checking for $ac_func" >&5
26817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26818 if eval "test \"\${$as_ac_var+set}\" = set"; then
26819 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 else
26821 if test x$gcc_no_link = xyes; then
26822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26824 { (exit 1); exit 1; }; }
26826 cat >conftest.$ac_ext <<_ACEOF
26827 /* confdefs.h. */
26828 _ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26834 #define $ac_func innocuous_$ac_func
26836 /* System header to define __stub macros and hopefully few prototypes,
26837 which can conflict with char $ac_func (); below.
26838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26839 <limits.h> exists even on freestanding compilers. */
26841 #ifdef __STDC__
26842 # include <limits.h>
26843 #else
26844 # include <assert.h>
26845 #endif
26847 #undef $ac_func
26849 /* Override any gcc2 internal prototype to avoid an error. */
26850 #ifdef __cplusplus
26851 extern "C"
26853 #endif
26854 /* We use char because int might match the return type of a gcc2
26855 builtin and then its argument prototype would still apply. */
26856 char $ac_func ();
26857 /* The GNU C library defines this for functions which it implements
26858 to always fail with ENOSYS. Some functions are actually named
26859 something starting with __ and the normal name is an alias. */
26860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26861 choke me
26862 #else
26863 char (*f) () = $ac_func;
26864 #endif
26865 #ifdef __cplusplus
26867 #endif
26870 main ()
26872 return f != $ac_func;
26874 return 0;
26876 _ACEOF
26877 rm -f conftest.$ac_objext conftest$ac_exeext
26878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26879 (eval $ac_link) 2>conftest.er1
26880 ac_status=$?
26881 grep -v '^ *+' conftest.er1 >conftest.err
26882 rm -f conftest.er1
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } &&
26886 { ac_try='test -z "$ac_c_werror_flag"
26887 || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26890 ac_status=$?
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try='test -s conftest$ac_exeext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26896 ac_status=$?
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 eval "$as_ac_var=yes"
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26904 eval "$as_ac_var=no"
26906 rm -f conftest.err conftest.$ac_objext \
26907 conftest$ac_exeext conftest.$ac_ext
26909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26911 if test `eval echo '${'$as_ac_var'}'` = yes; then
26912 cat >>confdefs.h <<_ACEOF
26913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26914 _ACEOF
26917 done
26919 else
26921 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26922 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26923 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26924 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26930 ac_ext=cc
26931 ac_cpp='$CXXCPP $CPPFLAGS'
26932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26936 cat >conftest.$ac_ext <<_ACEOF
26937 /* confdefs.h. */
26938 _ACEOF
26939 cat confdefs.h >>conftest.$ac_ext
26940 cat >>conftest.$ac_ext <<_ACEOF
26941 /* end confdefs.h. */
26942 #include <math.h>
26944 main ()
26946 _modff(0, 0);
26948 return 0;
26950 _ACEOF
26951 rm -f conftest.$ac_objext
26952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26953 (eval $ac_compile) 2>conftest.er1
26954 ac_status=$?
26955 grep -v '^ *+' conftest.er1 >conftest.err
26956 rm -f conftest.er1
26957 cat conftest.err >&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } &&
26960 { ac_try='test -z "$ac_cxx_werror_flag"
26961 || test ! -s conftest.err'
26962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26963 (eval $ac_try) 2>&5
26964 ac_status=$?
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); }; } &&
26967 { ac_try='test -s conftest.$ac_objext'
26968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26969 (eval $ac_try) 2>&5
26970 ac_status=$?
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); }; }; then
26973 glibcxx_cv_func__modff_use=yes
26974 else
26975 echo "$as_me: failed program was:" >&5
26976 sed 's/^/| /' conftest.$ac_ext >&5
26978 glibcxx_cv_func__modff_use=no
26980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26981 ac_ext=c
26982 ac_cpp='$CPP $CPPFLAGS'
26983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26992 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26994 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26996 for ac_func in _modff
26998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26999 echo "$as_me:$LINENO: checking for $ac_func" >&5
27000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27001 if eval "test \"\${$as_ac_var+set}\" = set"; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27004 if test x$gcc_no_link = xyes; then
27005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27007 { (exit 1); exit 1; }; }
27009 cat >conftest.$ac_ext <<_ACEOF
27010 /* confdefs.h. */
27011 _ACEOF
27012 cat confdefs.h >>conftest.$ac_ext
27013 cat >>conftest.$ac_ext <<_ACEOF
27014 /* end confdefs.h. */
27015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27017 #define $ac_func innocuous_$ac_func
27019 /* System header to define __stub macros and hopefully few prototypes,
27020 which can conflict with char $ac_func (); below.
27021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27022 <limits.h> exists even on freestanding compilers. */
27024 #ifdef __STDC__
27025 # include <limits.h>
27026 #else
27027 # include <assert.h>
27028 #endif
27030 #undef $ac_func
27032 /* Override any gcc2 internal prototype to avoid an error. */
27033 #ifdef __cplusplus
27034 extern "C"
27036 #endif
27037 /* We use char because int might match the return type of a gcc2
27038 builtin and then its argument prototype would still apply. */
27039 char $ac_func ();
27040 /* The GNU C library defines this for functions which it implements
27041 to always fail with ENOSYS. Some functions are actually named
27042 something starting with __ and the normal name is an alias. */
27043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27044 choke me
27045 #else
27046 char (*f) () = $ac_func;
27047 #endif
27048 #ifdef __cplusplus
27050 #endif
27053 main ()
27055 return f != $ac_func;
27057 return 0;
27059 _ACEOF
27060 rm -f conftest.$ac_objext conftest$ac_exeext
27061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27062 (eval $ac_link) 2>conftest.er1
27063 ac_status=$?
27064 grep -v '^ *+' conftest.er1 >conftest.err
27065 rm -f conftest.er1
27066 cat conftest.err >&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } &&
27069 { ac_try='test -z "$ac_c_werror_flag"
27070 || test ! -s conftest.err'
27071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072 (eval $ac_try) 2>&5
27073 ac_status=$?
27074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075 (exit $ac_status); }; } &&
27076 { ac_try='test -s conftest$ac_exeext'
27077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27078 (eval $ac_try) 2>&5
27079 ac_status=$?
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); }; }; then
27082 eval "$as_ac_var=yes"
27083 else
27084 echo "$as_me: failed program was:" >&5
27085 sed 's/^/| /' conftest.$ac_ext >&5
27087 eval "$as_ac_var=no"
27089 rm -f conftest.err conftest.$ac_objext \
27090 conftest$ac_exeext conftest.$ac_ext
27092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27094 if test `eval echo '${'$as_ac_var'}'` = yes; then
27095 cat >>confdefs.h <<_ACEOF
27096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27097 _ACEOF
27100 done
27110 echo "$as_me:$LINENO: checking for modf declaration" >&5
27111 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27112 if test x${glibcxx_cv_func_modf_use+set} != xset; then
27113 if test "${glibcxx_cv_func_modf_use+set}" = set; then
27114 echo $ECHO_N "(cached) $ECHO_C" >&6
27115 else
27119 ac_ext=cc
27120 ac_cpp='$CXXCPP $CPPFLAGS'
27121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27125 cat >conftest.$ac_ext <<_ACEOF
27126 /* confdefs.h. */
27127 _ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131 #include <math.h>
27133 main ()
27135 modf(0, 0);
27137 return 0;
27139 _ACEOF
27140 rm -f conftest.$ac_objext
27141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27142 (eval $ac_compile) 2>conftest.er1
27143 ac_status=$?
27144 grep -v '^ *+' conftest.er1 >conftest.err
27145 rm -f conftest.er1
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } &&
27149 { ac_try='test -z "$ac_cxx_werror_flag"
27150 || test ! -s conftest.err'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27153 ac_status=$?
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; } &&
27156 { ac_try='test -s conftest.$ac_objext'
27157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27158 (eval $ac_try) 2>&5
27159 ac_status=$?
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); }; }; then
27162 glibcxx_cv_func_modf_use=yes
27163 else
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27167 glibcxx_cv_func_modf_use=no
27169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27170 ac_ext=c
27171 ac_cpp='$CPP $CPPFLAGS'
27172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27181 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27183 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27185 for ac_func in modf
27187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27188 echo "$as_me:$LINENO: checking for $ac_func" >&5
27189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27190 if eval "test \"\${$as_ac_var+set}\" = set"; then
27191 echo $ECHO_N "(cached) $ECHO_C" >&6
27192 else
27193 if test x$gcc_no_link = xyes; then
27194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27196 { (exit 1); exit 1; }; }
27198 cat >conftest.$ac_ext <<_ACEOF
27199 /* confdefs.h. */
27200 _ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27206 #define $ac_func innocuous_$ac_func
27208 /* System header to define __stub macros and hopefully few prototypes,
27209 which can conflict with char $ac_func (); below.
27210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27211 <limits.h> exists even on freestanding compilers. */
27213 #ifdef __STDC__
27214 # include <limits.h>
27215 #else
27216 # include <assert.h>
27217 #endif
27219 #undef $ac_func
27221 /* Override any gcc2 internal prototype to avoid an error. */
27222 #ifdef __cplusplus
27223 extern "C"
27225 #endif
27226 /* We use char because int might match the return type of a gcc2
27227 builtin and then its argument prototype would still apply. */
27228 char $ac_func ();
27229 /* The GNU C library defines this for functions which it implements
27230 to always fail with ENOSYS. Some functions are actually named
27231 something starting with __ and the normal name is an alias. */
27232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27233 choke me
27234 #else
27235 char (*f) () = $ac_func;
27236 #endif
27237 #ifdef __cplusplus
27239 #endif
27242 main ()
27244 return f != $ac_func;
27246 return 0;
27248 _ACEOF
27249 rm -f conftest.$ac_objext conftest$ac_exeext
27250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27251 (eval $ac_link) 2>conftest.er1
27252 ac_status=$?
27253 grep -v '^ *+' conftest.er1 >conftest.err
27254 rm -f conftest.er1
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try='test -z "$ac_c_werror_flag"
27259 || test ! -s conftest.err'
27260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261 (eval $ac_try) 2>&5
27262 ac_status=$?
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); }; } &&
27265 { ac_try='test -s conftest$ac_exeext'
27266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267 (eval $ac_try) 2>&5
27268 ac_status=$?
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); }; }; then
27271 eval "$as_ac_var=yes"
27272 else
27273 echo "$as_me: failed program was:" >&5
27274 sed 's/^/| /' conftest.$ac_ext >&5
27276 eval "$as_ac_var=no"
27278 rm -f conftest.err conftest.$ac_objext \
27279 conftest$ac_exeext conftest.$ac_ext
27281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27283 if test `eval echo '${'$as_ac_var'}'` = yes; then
27284 cat >>confdefs.h <<_ACEOF
27285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27286 _ACEOF
27289 done
27291 else
27293 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27294 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27295 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27296 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27297 echo $ECHO_N "(cached) $ECHO_C" >&6
27298 else
27302 ac_ext=cc
27303 ac_cpp='$CXXCPP $CPPFLAGS'
27304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27308 cat >conftest.$ac_ext <<_ACEOF
27309 /* confdefs.h. */
27310 _ACEOF
27311 cat confdefs.h >>conftest.$ac_ext
27312 cat >>conftest.$ac_ext <<_ACEOF
27313 /* end confdefs.h. */
27314 #include <math.h>
27316 main ()
27318 _modf(0, 0);
27320 return 0;
27322 _ACEOF
27323 rm -f conftest.$ac_objext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27325 (eval $ac_compile) 2>conftest.er1
27326 ac_status=$?
27327 grep -v '^ *+' conftest.er1 >conftest.err
27328 rm -f conftest.er1
27329 cat conftest.err >&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } &&
27332 { ac_try='test -z "$ac_cxx_werror_flag"
27333 || test ! -s conftest.err'
27334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335 (eval $ac_try) 2>&5
27336 ac_status=$?
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); }; } &&
27339 { ac_try='test -s conftest.$ac_objext'
27340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27341 (eval $ac_try) 2>&5
27342 ac_status=$?
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); }; }; then
27345 glibcxx_cv_func__modf_use=yes
27346 else
27347 echo "$as_me: failed program was:" >&5
27348 sed 's/^/| /' conftest.$ac_ext >&5
27350 glibcxx_cv_func__modf_use=no
27352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27353 ac_ext=c
27354 ac_cpp='$CPP $CPPFLAGS'
27355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27364 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27366 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27368 for ac_func in _modf
27370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27371 echo "$as_me:$LINENO: checking for $ac_func" >&5
27372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27373 if eval "test \"\${$as_ac_var+set}\" = set"; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 else
27376 if test x$gcc_no_link = xyes; then
27377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27379 { (exit 1); exit 1; }; }
27381 cat >conftest.$ac_ext <<_ACEOF
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27389 #define $ac_func innocuous_$ac_func
27391 /* System header to define __stub macros and hopefully few prototypes,
27392 which can conflict with char $ac_func (); below.
27393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27394 <limits.h> exists even on freestanding compilers. */
27396 #ifdef __STDC__
27397 # include <limits.h>
27398 #else
27399 # include <assert.h>
27400 #endif
27402 #undef $ac_func
27404 /* Override any gcc2 internal prototype to avoid an error. */
27405 #ifdef __cplusplus
27406 extern "C"
27408 #endif
27409 /* We use char because int might match the return type of a gcc2
27410 builtin and then its argument prototype would still apply. */
27411 char $ac_func ();
27412 /* The GNU C library defines this for functions which it implements
27413 to always fail with ENOSYS. Some functions are actually named
27414 something starting with __ and the normal name is an alias. */
27415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27416 choke me
27417 #else
27418 char (*f) () = $ac_func;
27419 #endif
27420 #ifdef __cplusplus
27422 #endif
27425 main ()
27427 return f != $ac_func;
27429 return 0;
27431 _ACEOF
27432 rm -f conftest.$ac_objext conftest$ac_exeext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27434 (eval $ac_link) 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } &&
27441 { ac_try='test -z "$ac_c_werror_flag"
27442 || test ! -s conftest.err'
27443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27444 (eval $ac_try) 2>&5
27445 ac_status=$?
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); }; } &&
27448 { ac_try='test -s conftest$ac_exeext'
27449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27450 (eval $ac_try) 2>&5
27451 ac_status=$?
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); }; }; then
27454 eval "$as_ac_var=yes"
27455 else
27456 echo "$as_me: failed program was:" >&5
27457 sed 's/^/| /' conftest.$ac_ext >&5
27459 eval "$as_ac_var=no"
27461 rm -f conftest.err conftest.$ac_objext \
27462 conftest$ac_exeext conftest.$ac_ext
27464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27466 if test `eval echo '${'$as_ac_var'}'` = yes; then
27467 cat >>confdefs.h <<_ACEOF
27468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27469 _ACEOF
27472 done
27482 echo "$as_me:$LINENO: checking for powf declaration" >&5
27483 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27484 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27485 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27486 echo $ECHO_N "(cached) $ECHO_C" >&6
27487 else
27491 ac_ext=cc
27492 ac_cpp='$CXXCPP $CPPFLAGS'
27493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27497 cat >conftest.$ac_ext <<_ACEOF
27498 /* confdefs.h. */
27499 _ACEOF
27500 cat confdefs.h >>conftest.$ac_ext
27501 cat >>conftest.$ac_ext <<_ACEOF
27502 /* end confdefs.h. */
27503 #include <math.h>
27505 main ()
27507 powf(0, 0);
27509 return 0;
27511 _ACEOF
27512 rm -f conftest.$ac_objext
27513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27514 (eval $ac_compile) 2>conftest.er1
27515 ac_status=$?
27516 grep -v '^ *+' conftest.er1 >conftest.err
27517 rm -f conftest.er1
27518 cat conftest.err >&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); } &&
27521 { ac_try='test -z "$ac_cxx_werror_flag"
27522 || test ! -s conftest.err'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27525 ac_status=$?
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; } &&
27528 { ac_try='test -s conftest.$ac_objext'
27529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530 (eval $ac_try) 2>&5
27531 ac_status=$?
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); }; }; then
27534 glibcxx_cv_func_powf_use=yes
27535 else
27536 echo "$as_me: failed program was:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27539 glibcxx_cv_func_powf_use=no
27541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27542 ac_ext=c
27543 ac_cpp='$CPP $CPPFLAGS'
27544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27553 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27555 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27557 for ac_func in powf
27559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27560 echo "$as_me:$LINENO: checking for $ac_func" >&5
27561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27562 if eval "test \"\${$as_ac_var+set}\" = set"; then
27563 echo $ECHO_N "(cached) $ECHO_C" >&6
27564 else
27565 if test x$gcc_no_link = xyes; then
27566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27568 { (exit 1); exit 1; }; }
27570 cat >conftest.$ac_ext <<_ACEOF
27571 /* confdefs.h. */
27572 _ACEOF
27573 cat confdefs.h >>conftest.$ac_ext
27574 cat >>conftest.$ac_ext <<_ACEOF
27575 /* end confdefs.h. */
27576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27578 #define $ac_func innocuous_$ac_func
27580 /* System header to define __stub macros and hopefully few prototypes,
27581 which can conflict with char $ac_func (); below.
27582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27583 <limits.h> exists even on freestanding compilers. */
27585 #ifdef __STDC__
27586 # include <limits.h>
27587 #else
27588 # include <assert.h>
27589 #endif
27591 #undef $ac_func
27593 /* Override any gcc2 internal prototype to avoid an error. */
27594 #ifdef __cplusplus
27595 extern "C"
27597 #endif
27598 /* We use char because int might match the return type of a gcc2
27599 builtin and then its argument prototype would still apply. */
27600 char $ac_func ();
27601 /* The GNU C library defines this for functions which it implements
27602 to always fail with ENOSYS. Some functions are actually named
27603 something starting with __ and the normal name is an alias. */
27604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27605 choke me
27606 #else
27607 char (*f) () = $ac_func;
27608 #endif
27609 #ifdef __cplusplus
27611 #endif
27614 main ()
27616 return f != $ac_func;
27618 return 0;
27620 _ACEOF
27621 rm -f conftest.$ac_objext conftest$ac_exeext
27622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27623 (eval $ac_link) 2>conftest.er1
27624 ac_status=$?
27625 grep -v '^ *+' conftest.er1 >conftest.err
27626 rm -f conftest.er1
27627 cat conftest.err >&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); } &&
27630 { ac_try='test -z "$ac_c_werror_flag"
27631 || test ! -s conftest.err'
27632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27633 (eval $ac_try) 2>&5
27634 ac_status=$?
27635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27636 (exit $ac_status); }; } &&
27637 { ac_try='test -s conftest$ac_exeext'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; }; then
27643 eval "$as_ac_var=yes"
27644 else
27645 echo "$as_me: failed program was:" >&5
27646 sed 's/^/| /' conftest.$ac_ext >&5
27648 eval "$as_ac_var=no"
27650 rm -f conftest.err conftest.$ac_objext \
27651 conftest$ac_exeext conftest.$ac_ext
27653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27655 if test `eval echo '${'$as_ac_var'}'` = yes; then
27656 cat >>confdefs.h <<_ACEOF
27657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27658 _ACEOF
27661 done
27663 else
27665 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27666 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27667 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27668 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27669 echo $ECHO_N "(cached) $ECHO_C" >&6
27670 else
27674 ac_ext=cc
27675 ac_cpp='$CXXCPP $CPPFLAGS'
27676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27680 cat >conftest.$ac_ext <<_ACEOF
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 #include <math.h>
27688 main ()
27690 _powf(0, 0);
27692 return 0;
27694 _ACEOF
27695 rm -f conftest.$ac_objext
27696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27697 (eval $ac_compile) 2>conftest.er1
27698 ac_status=$?
27699 grep -v '^ *+' conftest.er1 >conftest.err
27700 rm -f conftest.er1
27701 cat conftest.err >&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); } &&
27704 { ac_try='test -z "$ac_cxx_werror_flag"
27705 || test ! -s conftest.err'
27706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707 (eval $ac_try) 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; } &&
27711 { ac_try='test -s conftest.$ac_objext'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; }; then
27717 glibcxx_cv_func__powf_use=yes
27718 else
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27722 glibcxx_cv_func__powf_use=no
27724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27725 ac_ext=c
27726 ac_cpp='$CPP $CPPFLAGS'
27727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27735 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27736 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27738 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27740 for ac_func in _powf
27742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27743 echo "$as_me:$LINENO: checking for $ac_func" >&5
27744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27745 if eval "test \"\${$as_ac_var+set}\" = set"; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27747 else
27748 if test x$gcc_no_link = xyes; then
27749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27751 { (exit 1); exit 1; }; }
27753 cat >conftest.$ac_ext <<_ACEOF
27754 /* confdefs.h. */
27755 _ACEOF
27756 cat confdefs.h >>conftest.$ac_ext
27757 cat >>conftest.$ac_ext <<_ACEOF
27758 /* end confdefs.h. */
27759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27761 #define $ac_func innocuous_$ac_func
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27768 #ifdef __STDC__
27769 # include <limits.h>
27770 #else
27771 # include <assert.h>
27772 #endif
27774 #undef $ac_func
27776 /* Override any gcc2 internal prototype to avoid an error. */
27777 #ifdef __cplusplus
27778 extern "C"
27780 #endif
27781 /* We use char because int might match the return type of a gcc2
27782 builtin and then its argument prototype would still apply. */
27783 char $ac_func ();
27784 /* The GNU C library defines this for functions which it implements
27785 to always fail with ENOSYS. Some functions are actually named
27786 something starting with __ and the normal name is an alias. */
27787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27788 choke me
27789 #else
27790 char (*f) () = $ac_func;
27791 #endif
27792 #ifdef __cplusplus
27794 #endif
27797 main ()
27799 return f != $ac_func;
27801 return 0;
27803 _ACEOF
27804 rm -f conftest.$ac_objext conftest$ac_exeext
27805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27806 (eval $ac_link) 2>conftest.er1
27807 ac_status=$?
27808 grep -v '^ *+' conftest.er1 >conftest.err
27809 rm -f conftest.er1
27810 cat conftest.err >&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); } &&
27813 { ac_try='test -z "$ac_c_werror_flag"
27814 || test ! -s conftest.err'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; } &&
27820 { ac_try='test -s conftest$ac_exeext'
27821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822 (eval $ac_try) 2>&5
27823 ac_status=$?
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); }; }; then
27826 eval "$as_ac_var=yes"
27827 else
27828 echo "$as_me: failed program was:" >&5
27829 sed 's/^/| /' conftest.$ac_ext >&5
27831 eval "$as_ac_var=no"
27833 rm -f conftest.err conftest.$ac_objext \
27834 conftest$ac_exeext conftest.$ac_ext
27836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27838 if test `eval echo '${'$as_ac_var'}'` = yes; then
27839 cat >>confdefs.h <<_ACEOF
27840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27841 _ACEOF
27844 done
27854 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27855 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27856 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27857 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27858 echo $ECHO_N "(cached) $ECHO_C" >&6
27859 else
27863 ac_ext=cc
27864 ac_cpp='$CXXCPP $CPPFLAGS'
27865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27869 cat >conftest.$ac_ext <<_ACEOF
27870 /* confdefs.h. */
27871 _ACEOF
27872 cat confdefs.h >>conftest.$ac_ext
27873 cat >>conftest.$ac_ext <<_ACEOF
27874 /* end confdefs.h. */
27875 #include <math.h>
27876 #ifdef HAVE_IEEEFP_H
27877 #include <ieeefp.h>
27878 #endif
27881 main ()
27883 sqrtf(0);
27885 return 0;
27887 _ACEOF
27888 rm -f conftest.$ac_objext
27889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27890 (eval $ac_compile) 2>conftest.er1
27891 ac_status=$?
27892 grep -v '^ *+' conftest.er1 >conftest.err
27893 rm -f conftest.er1
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } &&
27897 { ac_try='test -z "$ac_cxx_werror_flag"
27898 || test ! -s conftest.err'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; } &&
27904 { ac_try='test -s conftest.$ac_objext'
27905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27906 (eval $ac_try) 2>&5
27907 ac_status=$?
27908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27909 (exit $ac_status); }; }; then
27910 glibcxx_cv_func_sqrtf_use=yes
27911 else
27912 echo "$as_me: failed program was:" >&5
27913 sed 's/^/| /' conftest.$ac_ext >&5
27915 glibcxx_cv_func_sqrtf_use=no
27917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27918 ac_ext=c
27919 ac_cpp='$CPP $CPPFLAGS'
27920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27929 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27931 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27933 for ac_func in sqrtf
27935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27936 echo "$as_me:$LINENO: checking for $ac_func" >&5
27937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27938 if eval "test \"\${$as_ac_var+set}\" = set"; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 else
27941 if test x$gcc_no_link = xyes; then
27942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27944 { (exit 1); exit 1; }; }
27946 cat >conftest.$ac_ext <<_ACEOF
27947 /* confdefs.h. */
27948 _ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27954 #define $ac_func innocuous_$ac_func
27956 /* System header to define __stub macros and hopefully few prototypes,
27957 which can conflict with char $ac_func (); below.
27958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27959 <limits.h> exists even on freestanding compilers. */
27961 #ifdef __STDC__
27962 # include <limits.h>
27963 #else
27964 # include <assert.h>
27965 #endif
27967 #undef $ac_func
27969 /* Override any gcc2 internal prototype to avoid an error. */
27970 #ifdef __cplusplus
27971 extern "C"
27973 #endif
27974 /* We use char because int might match the return type of a gcc2
27975 builtin and then its argument prototype would still apply. */
27976 char $ac_func ();
27977 /* The GNU C library defines this for functions which it implements
27978 to always fail with ENOSYS. Some functions are actually named
27979 something starting with __ and the normal name is an alias. */
27980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27981 choke me
27982 #else
27983 char (*f) () = $ac_func;
27984 #endif
27985 #ifdef __cplusplus
27987 #endif
27990 main ()
27992 return f != $ac_func;
27994 return 0;
27996 _ACEOF
27997 rm -f conftest.$ac_objext conftest$ac_exeext
27998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27999 (eval $ac_link) 2>conftest.er1
28000 ac_status=$?
28001 grep -v '^ *+' conftest.er1 >conftest.err
28002 rm -f conftest.er1
28003 cat conftest.err >&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try='test -z "$ac_c_werror_flag"
28007 || test ! -s conftest.err'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28010 ac_status=$?
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; } &&
28013 { ac_try='test -s conftest$ac_exeext'
28014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015 (eval $ac_try) 2>&5
28016 ac_status=$?
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); }; }; then
28019 eval "$as_ac_var=yes"
28020 else
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28024 eval "$as_ac_var=no"
28026 rm -f conftest.err conftest.$ac_objext \
28027 conftest$ac_exeext conftest.$ac_ext
28029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28031 if test `eval echo '${'$as_ac_var'}'` = yes; then
28032 cat >>confdefs.h <<_ACEOF
28033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28034 _ACEOF
28037 done
28039 else
28041 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28042 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28043 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28044 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 else
28050 ac_ext=cc
28051 ac_cpp='$CXXCPP $CPPFLAGS'
28052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28056 cat >conftest.$ac_ext <<_ACEOF
28057 /* confdefs.h. */
28058 _ACEOF
28059 cat confdefs.h >>conftest.$ac_ext
28060 cat >>conftest.$ac_ext <<_ACEOF
28061 /* end confdefs.h. */
28062 #include <math.h>
28063 #ifdef HAVE_IEEEFP_H
28064 #include <ieeefp.h>
28065 #endif
28068 main ()
28070 _sqrtf(0);
28072 return 0;
28074 _ACEOF
28075 rm -f conftest.$ac_objext
28076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28077 (eval $ac_compile) 2>conftest.er1
28078 ac_status=$?
28079 grep -v '^ *+' conftest.er1 >conftest.err
28080 rm -f conftest.er1
28081 cat conftest.err >&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } &&
28084 { ac_try='test -z "$ac_cxx_werror_flag"
28085 || test ! -s conftest.err'
28086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28087 (eval $ac_try) 2>&5
28088 ac_status=$?
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); }; } &&
28091 { ac_try='test -s conftest.$ac_objext'
28092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093 (eval $ac_try) 2>&5
28094 ac_status=$?
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); }; }; then
28097 glibcxx_cv_func__sqrtf_use=yes
28098 else
28099 echo "$as_me: failed program was:" >&5
28100 sed 's/^/| /' conftest.$ac_ext >&5
28102 glibcxx_cv_func__sqrtf_use=no
28104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28105 ac_ext=c
28106 ac_cpp='$CPP $CPPFLAGS'
28107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28116 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28118 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28120 for ac_func in _sqrtf
28122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28123 echo "$as_me:$LINENO: checking for $ac_func" >&5
28124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28125 if eval "test \"\${$as_ac_var+set}\" = set"; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28127 else
28128 if test x$gcc_no_link = xyes; then
28129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28131 { (exit 1); exit 1; }; }
28133 cat >conftest.$ac_ext <<_ACEOF
28134 /* confdefs.h. */
28135 _ACEOF
28136 cat confdefs.h >>conftest.$ac_ext
28137 cat >>conftest.$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28141 #define $ac_func innocuous_$ac_func
28143 /* System header to define __stub macros and hopefully few prototypes,
28144 which can conflict with char $ac_func (); below.
28145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28146 <limits.h> exists even on freestanding compilers. */
28148 #ifdef __STDC__
28149 # include <limits.h>
28150 #else
28151 # include <assert.h>
28152 #endif
28154 #undef $ac_func
28156 /* Override any gcc2 internal prototype to avoid an error. */
28157 #ifdef __cplusplus
28158 extern "C"
28160 #endif
28161 /* We use char because int might match the return type of a gcc2
28162 builtin and then its argument prototype would still apply. */
28163 char $ac_func ();
28164 /* The GNU C library defines this for functions which it implements
28165 to always fail with ENOSYS. Some functions are actually named
28166 something starting with __ and the normal name is an alias. */
28167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28168 choke me
28169 #else
28170 char (*f) () = $ac_func;
28171 #endif
28172 #ifdef __cplusplus
28174 #endif
28177 main ()
28179 return f != $ac_func;
28181 return 0;
28183 _ACEOF
28184 rm -f conftest.$ac_objext conftest$ac_exeext
28185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28186 (eval $ac_link) 2>conftest.er1
28187 ac_status=$?
28188 grep -v '^ *+' conftest.er1 >conftest.err
28189 rm -f conftest.er1
28190 cat conftest.err >&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); } &&
28193 { ac_try='test -z "$ac_c_werror_flag"
28194 || test ! -s conftest.err'
28195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196 (eval $ac_try) 2>&5
28197 ac_status=$?
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); }; } &&
28200 { ac_try='test -s conftest$ac_exeext'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28203 ac_status=$?
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; }; then
28206 eval "$as_ac_var=yes"
28207 else
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.$ac_ext >&5
28211 eval "$as_ac_var=no"
28213 rm -f conftest.err conftest.$ac_objext \
28214 conftest$ac_exeext conftest.$ac_ext
28216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28218 if test `eval echo '${'$as_ac_var'}'` = yes; then
28219 cat >>confdefs.h <<_ACEOF
28220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28221 _ACEOF
28224 done
28234 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28235 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28236 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28237 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28239 else
28243 ac_ext=cc
28244 ac_cpp='$CXXCPP $CPPFLAGS'
28245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28249 cat >conftest.$ac_ext <<_ACEOF
28250 /* confdefs.h. */
28251 _ACEOF
28252 cat confdefs.h >>conftest.$ac_ext
28253 cat >>conftest.$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28255 #include <math.h>
28257 main ()
28259 sincosf(0, 0, 0);
28261 return 0;
28263 _ACEOF
28264 rm -f conftest.$ac_objext
28265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28266 (eval $ac_compile) 2>conftest.er1
28267 ac_status=$?
28268 grep -v '^ *+' conftest.er1 >conftest.err
28269 rm -f conftest.er1
28270 cat conftest.err >&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try='test -z "$ac_cxx_werror_flag"
28274 || test ! -s conftest.err'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; } &&
28280 { ac_try='test -s conftest.$ac_objext'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28283 ac_status=$?
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; }; then
28286 glibcxx_cv_func_sincosf_use=yes
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28291 glibcxx_cv_func_sincosf_use=no
28293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28294 ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28305 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28307 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28309 for ac_func in sincosf
28311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28312 echo "$as_me:$LINENO: checking for $ac_func" >&5
28313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28314 if eval "test \"\${$as_ac_var+set}\" = set"; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 else
28317 if test x$gcc_no_link = xyes; then
28318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28320 { (exit 1); exit 1; }; }
28322 cat >conftest.$ac_ext <<_ACEOF
28323 /* confdefs.h. */
28324 _ACEOF
28325 cat confdefs.h >>conftest.$ac_ext
28326 cat >>conftest.$ac_ext <<_ACEOF
28327 /* end confdefs.h. */
28328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28330 #define $ac_func innocuous_$ac_func
28332 /* System header to define __stub macros and hopefully few prototypes,
28333 which can conflict with char $ac_func (); below.
28334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28335 <limits.h> exists even on freestanding compilers. */
28337 #ifdef __STDC__
28338 # include <limits.h>
28339 #else
28340 # include <assert.h>
28341 #endif
28343 #undef $ac_func
28345 /* Override any gcc2 internal prototype to avoid an error. */
28346 #ifdef __cplusplus
28347 extern "C"
28349 #endif
28350 /* We use char because int might match the return type of a gcc2
28351 builtin and then its argument prototype would still apply. */
28352 char $ac_func ();
28353 /* The GNU C library defines this for functions which it implements
28354 to always fail with ENOSYS. Some functions are actually named
28355 something starting with __ and the normal name is an alias. */
28356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28357 choke me
28358 #else
28359 char (*f) () = $ac_func;
28360 #endif
28361 #ifdef __cplusplus
28363 #endif
28366 main ()
28368 return f != $ac_func;
28370 return 0;
28372 _ACEOF
28373 rm -f conftest.$ac_objext conftest$ac_exeext
28374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28375 (eval $ac_link) 2>conftest.er1
28376 ac_status=$?
28377 grep -v '^ *+' conftest.er1 >conftest.err
28378 rm -f conftest.er1
28379 cat conftest.err >&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); } &&
28382 { ac_try='test -z "$ac_c_werror_flag"
28383 || test ! -s conftest.err'
28384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28385 (eval $ac_try) 2>&5
28386 ac_status=$?
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); }; } &&
28389 { ac_try='test -s conftest$ac_exeext'
28390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28391 (eval $ac_try) 2>&5
28392 ac_status=$?
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); }; }; then
28395 eval "$as_ac_var=yes"
28396 else
28397 echo "$as_me: failed program was:" >&5
28398 sed 's/^/| /' conftest.$ac_ext >&5
28400 eval "$as_ac_var=no"
28402 rm -f conftest.err conftest.$ac_objext \
28403 conftest$ac_exeext conftest.$ac_ext
28405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28407 if test `eval echo '${'$as_ac_var'}'` = yes; then
28408 cat >>confdefs.h <<_ACEOF
28409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28410 _ACEOF
28413 done
28415 else
28417 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28418 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28419 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28420 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 else
28426 ac_ext=cc
28427 ac_cpp='$CXXCPP $CPPFLAGS'
28428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28432 cat >conftest.$ac_ext <<_ACEOF
28433 /* confdefs.h. */
28434 _ACEOF
28435 cat confdefs.h >>conftest.$ac_ext
28436 cat >>conftest.$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438 #include <math.h>
28440 main ()
28442 _sincosf(0, 0, 0);
28444 return 0;
28446 _ACEOF
28447 rm -f conftest.$ac_objext
28448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28449 (eval $ac_compile) 2>conftest.er1
28450 ac_status=$?
28451 grep -v '^ *+' conftest.er1 >conftest.err
28452 rm -f conftest.er1
28453 cat conftest.err >&5
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); } &&
28456 { ac_try='test -z "$ac_cxx_werror_flag"
28457 || test ! -s conftest.err'
28458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459 (eval $ac_try) 2>&5
28460 ac_status=$?
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); }; } &&
28463 { ac_try='test -s conftest.$ac_objext'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28466 ac_status=$?
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; }; then
28469 glibcxx_cv_func__sincosf_use=yes
28470 else
28471 echo "$as_me: failed program was:" >&5
28472 sed 's/^/| /' conftest.$ac_ext >&5
28474 glibcxx_cv_func__sincosf_use=no
28476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28477 ac_ext=c
28478 ac_cpp='$CPP $CPPFLAGS'
28479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28488 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28490 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28492 for ac_func in _sincosf
28494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28495 echo "$as_me:$LINENO: checking for $ac_func" >&5
28496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28497 if eval "test \"\${$as_ac_var+set}\" = set"; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28499 else
28500 if test x$gcc_no_link = xyes; then
28501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28503 { (exit 1); exit 1; }; }
28505 cat >conftest.$ac_ext <<_ACEOF
28506 /* confdefs.h. */
28507 _ACEOF
28508 cat confdefs.h >>conftest.$ac_ext
28509 cat >>conftest.$ac_ext <<_ACEOF
28510 /* end confdefs.h. */
28511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28513 #define $ac_func innocuous_$ac_func
28515 /* System header to define __stub macros and hopefully few prototypes,
28516 which can conflict with char $ac_func (); below.
28517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28518 <limits.h> exists even on freestanding compilers. */
28520 #ifdef __STDC__
28521 # include <limits.h>
28522 #else
28523 # include <assert.h>
28524 #endif
28526 #undef $ac_func
28528 /* Override any gcc2 internal prototype to avoid an error. */
28529 #ifdef __cplusplus
28530 extern "C"
28532 #endif
28533 /* We use char because int might match the return type of a gcc2
28534 builtin and then its argument prototype would still apply. */
28535 char $ac_func ();
28536 /* The GNU C library defines this for functions which it implements
28537 to always fail with ENOSYS. Some functions are actually named
28538 something starting with __ and the normal name is an alias. */
28539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28540 choke me
28541 #else
28542 char (*f) () = $ac_func;
28543 #endif
28544 #ifdef __cplusplus
28546 #endif
28549 main ()
28551 return f != $ac_func;
28553 return 0;
28555 _ACEOF
28556 rm -f conftest.$ac_objext conftest$ac_exeext
28557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28558 (eval $ac_link) 2>conftest.er1
28559 ac_status=$?
28560 grep -v '^ *+' conftest.er1 >conftest.err
28561 rm -f conftest.er1
28562 cat conftest.err >&5
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } &&
28565 { ac_try='test -z "$ac_c_werror_flag"
28566 || test ! -s conftest.err'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28569 ac_status=$?
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; } &&
28572 { ac_try='test -s conftest$ac_exeext'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28575 ac_status=$?
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; }; then
28578 eval "$as_ac_var=yes"
28579 else
28580 echo "$as_me: failed program was:" >&5
28581 sed 's/^/| /' conftest.$ac_ext >&5
28583 eval "$as_ac_var=no"
28585 rm -f conftest.err conftest.$ac_objext \
28586 conftest$ac_exeext conftest.$ac_ext
28588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28590 if test `eval echo '${'$as_ac_var'}'` = yes; then
28591 cat >>confdefs.h <<_ACEOF
28592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28593 _ACEOF
28596 done
28606 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28607 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28608 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28609 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28610 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 else
28615 ac_ext=cc
28616 ac_cpp='$CXXCPP $CPPFLAGS'
28617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 #include <math.h>
28628 #ifdef HAVE_IEEEFP_H
28629 #include <ieeefp.h>
28630 #endif
28633 main ()
28635 finitef(0);
28637 return 0;
28639 _ACEOF
28640 rm -f conftest.$ac_objext
28641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28642 (eval $ac_compile) 2>conftest.er1
28643 ac_status=$?
28644 grep -v '^ *+' conftest.er1 >conftest.err
28645 rm -f conftest.er1
28646 cat conftest.err >&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); } &&
28649 { ac_try='test -z "$ac_cxx_werror_flag"
28650 || test ! -s conftest.err'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28653 ac_status=$?
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; } &&
28656 { ac_try='test -s conftest.$ac_objext'
28657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28658 (eval $ac_try) 2>&5
28659 ac_status=$?
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); }; }; then
28662 glibcxx_cv_func_finitef_use=yes
28663 else
28664 echo "$as_me: failed program was:" >&5
28665 sed 's/^/| /' conftest.$ac_ext >&5
28667 glibcxx_cv_func_finitef_use=no
28669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28670 ac_ext=c
28671 ac_cpp='$CPP $CPPFLAGS'
28672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28681 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28683 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28685 for ac_func in finitef
28687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28688 echo "$as_me:$LINENO: checking for $ac_func" >&5
28689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28690 if eval "test \"\${$as_ac_var+set}\" = set"; then
28691 echo $ECHO_N "(cached) $ECHO_C" >&6
28692 else
28693 if test x$gcc_no_link = xyes; then
28694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28696 { (exit 1); exit 1; }; }
28698 cat >conftest.$ac_ext <<_ACEOF
28699 /* confdefs.h. */
28700 _ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28706 #define $ac_func innocuous_$ac_func
28708 /* System header to define __stub macros and hopefully few prototypes,
28709 which can conflict with char $ac_func (); below.
28710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28711 <limits.h> exists even on freestanding compilers. */
28713 #ifdef __STDC__
28714 # include <limits.h>
28715 #else
28716 # include <assert.h>
28717 #endif
28719 #undef $ac_func
28721 /* Override any gcc2 internal prototype to avoid an error. */
28722 #ifdef __cplusplus
28723 extern "C"
28725 #endif
28726 /* We use char because int might match the return type of a gcc2
28727 builtin and then its argument prototype would still apply. */
28728 char $ac_func ();
28729 /* The GNU C library defines this for functions which it implements
28730 to always fail with ENOSYS. Some functions are actually named
28731 something starting with __ and the normal name is an alias. */
28732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28733 choke me
28734 #else
28735 char (*f) () = $ac_func;
28736 #endif
28737 #ifdef __cplusplus
28739 #endif
28742 main ()
28744 return f != $ac_func;
28746 return 0;
28748 _ACEOF
28749 rm -f conftest.$ac_objext conftest$ac_exeext
28750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28751 (eval $ac_link) 2>conftest.er1
28752 ac_status=$?
28753 grep -v '^ *+' conftest.er1 >conftest.err
28754 rm -f conftest.er1
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } &&
28758 { ac_try='test -z "$ac_c_werror_flag"
28759 || test ! -s conftest.err'
28760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 (eval $ac_try) 2>&5
28762 ac_status=$?
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; } &&
28765 { ac_try='test -s conftest$ac_exeext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 eval "$as_ac_var=yes"
28772 else
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28776 eval "$as_ac_var=no"
28778 rm -f conftest.err conftest.$ac_objext \
28779 conftest$ac_exeext conftest.$ac_ext
28781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28783 if test `eval echo '${'$as_ac_var'}'` = yes; then
28784 cat >>confdefs.h <<_ACEOF
28785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28786 _ACEOF
28789 done
28791 else
28793 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28794 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28795 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28796 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 else
28802 ac_ext=cc
28803 ac_cpp='$CXXCPP $CPPFLAGS'
28804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28808 cat >conftest.$ac_ext <<_ACEOF
28809 /* confdefs.h. */
28810 _ACEOF
28811 cat confdefs.h >>conftest.$ac_ext
28812 cat >>conftest.$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28814 #include <math.h>
28815 #ifdef HAVE_IEEEFP_H
28816 #include <ieeefp.h>
28817 #endif
28820 main ()
28822 _finitef(0);
28824 return 0;
28826 _ACEOF
28827 rm -f conftest.$ac_objext
28828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28829 (eval $ac_compile) 2>conftest.er1
28830 ac_status=$?
28831 grep -v '^ *+' conftest.er1 >conftest.err
28832 rm -f conftest.er1
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } &&
28836 { ac_try='test -z "$ac_cxx_werror_flag"
28837 || test ! -s conftest.err'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28840 ac_status=$?
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; } &&
28843 { ac_try='test -s conftest.$ac_objext'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28846 ac_status=$?
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; }; then
28849 glibcxx_cv_func__finitef_use=yes
28850 else
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.$ac_ext >&5
28854 glibcxx_cv_func__finitef_use=no
28856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28857 ac_ext=c
28858 ac_cpp='$CPP $CPPFLAGS'
28859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28868 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28870 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28872 for ac_func in _finitef
28874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28875 echo "$as_me:$LINENO: checking for $ac_func" >&5
28876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28877 if eval "test \"\${$as_ac_var+set}\" = set"; then
28878 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 else
28880 if test x$gcc_no_link = xyes; then
28881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28883 { (exit 1); exit 1; }; }
28885 cat >conftest.$ac_ext <<_ACEOF
28886 /* confdefs.h. */
28887 _ACEOF
28888 cat confdefs.h >>conftest.$ac_ext
28889 cat >>conftest.$ac_ext <<_ACEOF
28890 /* end confdefs.h. */
28891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28893 #define $ac_func innocuous_$ac_func
28895 /* System header to define __stub macros and hopefully few prototypes,
28896 which can conflict with char $ac_func (); below.
28897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28898 <limits.h> exists even on freestanding compilers. */
28900 #ifdef __STDC__
28901 # include <limits.h>
28902 #else
28903 # include <assert.h>
28904 #endif
28906 #undef $ac_func
28908 /* Override any gcc2 internal prototype to avoid an error. */
28909 #ifdef __cplusplus
28910 extern "C"
28912 #endif
28913 /* We use char because int might match the return type of a gcc2
28914 builtin and then its argument prototype would still apply. */
28915 char $ac_func ();
28916 /* The GNU C library defines this for functions which it implements
28917 to always fail with ENOSYS. Some functions are actually named
28918 something starting with __ and the normal name is an alias. */
28919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28920 choke me
28921 #else
28922 char (*f) () = $ac_func;
28923 #endif
28924 #ifdef __cplusplus
28926 #endif
28929 main ()
28931 return f != $ac_func;
28933 return 0;
28935 _ACEOF
28936 rm -f conftest.$ac_objext conftest$ac_exeext
28937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28938 (eval $ac_link) 2>conftest.er1
28939 ac_status=$?
28940 grep -v '^ *+' conftest.er1 >conftest.err
28941 rm -f conftest.er1
28942 cat conftest.err >&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } &&
28945 { ac_try='test -z "$ac_c_werror_flag"
28946 || test ! -s conftest.err'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; } &&
28952 { ac_try='test -s conftest$ac_exeext'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28955 ac_status=$?
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; }; then
28958 eval "$as_ac_var=yes"
28959 else
28960 echo "$as_me: failed program was:" >&5
28961 sed 's/^/| /' conftest.$ac_ext >&5
28963 eval "$as_ac_var=no"
28965 rm -f conftest.err conftest.$ac_objext \
28966 conftest$ac_exeext conftest.$ac_ext
28968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28970 if test `eval echo '${'$as_ac_var'}'` = yes; then
28971 cat >>confdefs.h <<_ACEOF
28972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28973 _ACEOF
28976 done
28986 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28987 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28988 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28990 else
28994 ac_ext=cc
28995 ac_cpp='$CXXCPP $CPPFLAGS'
28996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006 #include <math.h>
29008 main ()
29010 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29012 return 0;
29014 _ACEOF
29015 rm -f conftest.$ac_objext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29017 (eval $ac_compile) 2>conftest.er1
29018 ac_status=$?
29019 grep -v '^ *+' conftest.er1 >conftest.err
29020 rm -f conftest.er1
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try='test -z "$ac_cxx_werror_flag"
29025 || test ! -s conftest.err'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; } &&
29031 { ac_try='test -s conftest.$ac_objext'
29032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29033 (eval $ac_try) 2>&5
29034 ac_status=$?
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; }; then
29037 glibcxx_cv_func_long_double_trig_use=yes
29038 else
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29042 glibcxx_cv_func_long_double_trig_use=no
29044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29045 ac_ext=c
29046 ac_cpp='$CPP $CPPFLAGS'
29047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29054 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29055 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29065 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29068 echo "$as_me:$LINENO: checking for $ac_func" >&5
29069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29070 if eval "test \"\${$as_ac_var+set}\" = set"; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29072 else
29073 if test x$gcc_no_link = xyes; then
29074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29076 { (exit 1); exit 1; }; }
29078 cat >conftest.$ac_ext <<_ACEOF
29079 /* confdefs.h. */
29080 _ACEOF
29081 cat confdefs.h >>conftest.$ac_ext
29082 cat >>conftest.$ac_ext <<_ACEOF
29083 /* end confdefs.h. */
29084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29086 #define $ac_func innocuous_$ac_func
29088 /* System header to define __stub macros and hopefully few prototypes,
29089 which can conflict with char $ac_func (); below.
29090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29091 <limits.h> exists even on freestanding compilers. */
29093 #ifdef __STDC__
29094 # include <limits.h>
29095 #else
29096 # include <assert.h>
29097 #endif
29099 #undef $ac_func
29101 /* Override any gcc2 internal prototype to avoid an error. */
29102 #ifdef __cplusplus
29103 extern "C"
29105 #endif
29106 /* We use char because int might match the return type of a gcc2
29107 builtin and then its argument prototype would still apply. */
29108 char $ac_func ();
29109 /* The GNU C library defines this for functions which it implements
29110 to always fail with ENOSYS. Some functions are actually named
29111 something starting with __ and the normal name is an alias. */
29112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29113 choke me
29114 #else
29115 char (*f) () = $ac_func;
29116 #endif
29117 #ifdef __cplusplus
29119 #endif
29122 main ()
29124 return f != $ac_func;
29126 return 0;
29128 _ACEOF
29129 rm -f conftest.$ac_objext conftest$ac_exeext
29130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29131 (eval $ac_link) 2>conftest.er1
29132 ac_status=$?
29133 grep -v '^ *+' conftest.er1 >conftest.err
29134 rm -f conftest.er1
29135 cat conftest.err >&5
29136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29137 (exit $ac_status); } &&
29138 { ac_try='test -z "$ac_c_werror_flag"
29139 || test ! -s conftest.err'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29142 ac_status=$?
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; } &&
29145 { ac_try='test -s conftest$ac_exeext'
29146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29147 (eval $ac_try) 2>&5
29148 ac_status=$?
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); }; }; then
29151 eval "$as_ac_var=yes"
29152 else
29153 echo "$as_me: failed program was:" >&5
29154 sed 's/^/| /' conftest.$ac_ext >&5
29156 eval "$as_ac_var=no"
29158 rm -f conftest.err conftest.$ac_objext \
29159 conftest$ac_exeext conftest.$ac_ext
29161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29163 if test `eval echo '${'$as_ac_var'}'` = yes; then
29164 cat >>confdefs.h <<_ACEOF
29165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29166 _ACEOF
29169 done
29171 else
29172 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29173 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29174 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29175 echo $ECHO_N "(cached) $ECHO_C" >&6
29176 else
29180 ac_ext=cc
29181 ac_cpp='$CXXCPP $CPPFLAGS'
29182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29186 cat >conftest.$ac_ext <<_ACEOF
29187 /* confdefs.h. */
29188 _ACEOF
29189 cat confdefs.h >>conftest.$ac_ext
29190 cat >>conftest.$ac_ext <<_ACEOF
29191 /* end confdefs.h. */
29192 #include <math.h>
29194 main ()
29196 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29198 return 0;
29200 _ACEOF
29201 rm -f conftest.$ac_objext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29203 (eval $ac_compile) 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } &&
29210 { ac_try='test -z "$ac_cxx_werror_flag"
29211 || test ! -s conftest.err'
29212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213 (eval $ac_try) 2>&5
29214 ac_status=$?
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); }; } &&
29217 { ac_try='test -s conftest.$ac_objext'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29220 ac_status=$?
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; }; then
29223 glibcxx_cv_func__long_double_trig_use=yes
29224 else
29225 echo "$as_me: failed program was:" >&5
29226 sed 's/^/| /' conftest.$ac_ext >&5
29228 glibcxx_cv_func__long_double_trig_use=no
29230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29231 ac_ext=c
29232 ac_cpp='$CPP $CPPFLAGS'
29233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29240 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29241 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29251 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29254 echo "$as_me:$LINENO: checking for $ac_func" >&5
29255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29256 if eval "test \"\${$as_ac_var+set}\" = set"; then
29257 echo $ECHO_N "(cached) $ECHO_C" >&6
29258 else
29259 if test x$gcc_no_link = xyes; then
29260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29262 { (exit 1); exit 1; }; }
29264 cat >conftest.$ac_ext <<_ACEOF
29265 /* confdefs.h. */
29266 _ACEOF
29267 cat confdefs.h >>conftest.$ac_ext
29268 cat >>conftest.$ac_ext <<_ACEOF
29269 /* end confdefs.h. */
29270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29272 #define $ac_func innocuous_$ac_func
29274 /* System header to define __stub macros and hopefully few prototypes,
29275 which can conflict with char $ac_func (); below.
29276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29277 <limits.h> exists even on freestanding compilers. */
29279 #ifdef __STDC__
29280 # include <limits.h>
29281 #else
29282 # include <assert.h>
29283 #endif
29285 #undef $ac_func
29287 /* Override any gcc2 internal prototype to avoid an error. */
29288 #ifdef __cplusplus
29289 extern "C"
29291 #endif
29292 /* We use char because int might match the return type of a gcc2
29293 builtin and then its argument prototype would still apply. */
29294 char $ac_func ();
29295 /* The GNU C library defines this for functions which it implements
29296 to always fail with ENOSYS. Some functions are actually named
29297 something starting with __ and the normal name is an alias. */
29298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29299 choke me
29300 #else
29301 char (*f) () = $ac_func;
29302 #endif
29303 #ifdef __cplusplus
29305 #endif
29308 main ()
29310 return f != $ac_func;
29312 return 0;
29314 _ACEOF
29315 rm -f conftest.$ac_objext conftest$ac_exeext
29316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29317 (eval $ac_link) 2>conftest.er1
29318 ac_status=$?
29319 grep -v '^ *+' conftest.er1 >conftest.err
29320 rm -f conftest.er1
29321 cat conftest.err >&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); } &&
29324 { ac_try='test -z "$ac_c_werror_flag"
29325 || test ! -s conftest.err'
29326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327 (eval $ac_try) 2>&5
29328 ac_status=$?
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; } &&
29331 { ac_try='test -s conftest$ac_exeext'
29332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29333 (eval $ac_try) 2>&5
29334 ac_status=$?
29335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29336 (exit $ac_status); }; }; then
29337 eval "$as_ac_var=yes"
29338 else
29339 echo "$as_me: failed program was:" >&5
29340 sed 's/^/| /' conftest.$ac_ext >&5
29342 eval "$as_ac_var=no"
29344 rm -f conftest.err conftest.$ac_objext \
29345 conftest$ac_exeext conftest.$ac_ext
29347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29349 if test `eval echo '${'$as_ac_var'}'` = yes; then
29350 cat >>confdefs.h <<_ACEOF
29351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29352 _ACEOF
29355 done
29373 echo "$as_me:$LINENO: checking for long double round functions" >&5
29374 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29375 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29381 ac_ext=cc
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387 cat >conftest.$ac_ext <<_ACEOF
29388 /* confdefs.h. */
29389 _ACEOF
29390 cat confdefs.h >>conftest.$ac_ext
29391 cat >>conftest.$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 #include <math.h>
29395 main ()
29397 ceill (0); floorl (0);
29399 return 0;
29401 _ACEOF
29402 rm -f conftest.$ac_objext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29404 (eval $ac_compile) 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -z "$ac_cxx_werror_flag"
29412 || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29421 ac_status=$?
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 glibcxx_cv_func_long_double_round_use=yes
29425 else
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29429 glibcxx_cv_func_long_double_round_use=no
29431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29432 ac_ext=c
29433 ac_cpp='$CPP $CPPFLAGS'
29434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29441 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29442 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29445 for ac_func in ceill floorl
29447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29448 echo "$as_me:$LINENO: checking for $ac_func" >&5
29449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29450 if eval "test \"\${$as_ac_var+set}\" = set"; then
29451 echo $ECHO_N "(cached) $ECHO_C" >&6
29452 else
29453 if test x$gcc_no_link = xyes; then
29454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29456 { (exit 1); exit 1; }; }
29458 cat >conftest.$ac_ext <<_ACEOF
29459 /* confdefs.h. */
29460 _ACEOF
29461 cat confdefs.h >>conftest.$ac_ext
29462 cat >>conftest.$ac_ext <<_ACEOF
29463 /* end confdefs.h. */
29464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29466 #define $ac_func innocuous_$ac_func
29468 /* System header to define __stub macros and hopefully few prototypes,
29469 which can conflict with char $ac_func (); below.
29470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29471 <limits.h> exists even on freestanding compilers. */
29473 #ifdef __STDC__
29474 # include <limits.h>
29475 #else
29476 # include <assert.h>
29477 #endif
29479 #undef $ac_func
29481 /* Override any gcc2 internal prototype to avoid an error. */
29482 #ifdef __cplusplus
29483 extern "C"
29485 #endif
29486 /* We use char because int might match the return type of a gcc2
29487 builtin and then its argument prototype would still apply. */
29488 char $ac_func ();
29489 /* The GNU C library defines this for functions which it implements
29490 to always fail with ENOSYS. Some functions are actually named
29491 something starting with __ and the normal name is an alias. */
29492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29493 choke me
29494 #else
29495 char (*f) () = $ac_func;
29496 #endif
29497 #ifdef __cplusplus
29499 #endif
29502 main ()
29504 return f != $ac_func;
29506 return 0;
29508 _ACEOF
29509 rm -f conftest.$ac_objext conftest$ac_exeext
29510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29511 (eval $ac_link) 2>conftest.er1
29512 ac_status=$?
29513 grep -v '^ *+' conftest.er1 >conftest.err
29514 rm -f conftest.er1
29515 cat conftest.err >&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } &&
29518 { ac_try='test -z "$ac_c_werror_flag"
29519 || test ! -s conftest.err'
29520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29521 (eval $ac_try) 2>&5
29522 ac_status=$?
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); }; } &&
29525 { ac_try='test -s conftest$ac_exeext'
29526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29527 (eval $ac_try) 2>&5
29528 ac_status=$?
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); }; }; then
29531 eval "$as_ac_var=yes"
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29536 eval "$as_ac_var=no"
29538 rm -f conftest.err conftest.$ac_objext \
29539 conftest$ac_exeext conftest.$ac_ext
29541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29543 if test `eval echo '${'$as_ac_var'}'` = yes; then
29544 cat >>confdefs.h <<_ACEOF
29545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29546 _ACEOF
29549 done
29551 else
29552 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29553 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29554 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29555 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 else
29560 ac_ext=cc
29561 ac_cpp='$CXXCPP $CPPFLAGS'
29562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29566 cat >conftest.$ac_ext <<_ACEOF
29567 /* confdefs.h. */
29568 _ACEOF
29569 cat confdefs.h >>conftest.$ac_ext
29570 cat >>conftest.$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29572 #include <math.h>
29574 main ()
29576 _ceill (0); _floorl (0);
29578 return 0;
29580 _ACEOF
29581 rm -f conftest.$ac_objext
29582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29583 (eval $ac_compile) 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } &&
29590 { ac_try='test -z "$ac_cxx_werror_flag"
29591 || test ! -s conftest.err'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29594 ac_status=$?
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; } &&
29597 { ac_try='test -s conftest.$ac_objext'
29598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599 (eval $ac_try) 2>&5
29600 ac_status=$?
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; }; then
29603 glibcxx_cv_func__long_double_round_use=yes
29604 else
29605 echo "$as_me: failed program was:" >&5
29606 sed 's/^/| /' conftest.$ac_ext >&5
29608 glibcxx_cv_func__long_double_round_use=no
29610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29611 ac_ext=c
29612 ac_cpp='$CPP $CPPFLAGS'
29613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29620 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29621 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29624 for ac_func in _ceill _floorl
29626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29627 echo "$as_me:$LINENO: checking for $ac_func" >&5
29628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29629 if eval "test \"\${$as_ac_var+set}\" = set"; then
29630 echo $ECHO_N "(cached) $ECHO_C" >&6
29631 else
29632 if test x$gcc_no_link = xyes; then
29633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29635 { (exit 1); exit 1; }; }
29637 cat >conftest.$ac_ext <<_ACEOF
29638 /* confdefs.h. */
29639 _ACEOF
29640 cat confdefs.h >>conftest.$ac_ext
29641 cat >>conftest.$ac_ext <<_ACEOF
29642 /* end confdefs.h. */
29643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29645 #define $ac_func innocuous_$ac_func
29647 /* System header to define __stub macros and hopefully few prototypes,
29648 which can conflict with char $ac_func (); below.
29649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29650 <limits.h> exists even on freestanding compilers. */
29652 #ifdef __STDC__
29653 # include <limits.h>
29654 #else
29655 # include <assert.h>
29656 #endif
29658 #undef $ac_func
29660 /* Override any gcc2 internal prototype to avoid an error. */
29661 #ifdef __cplusplus
29662 extern "C"
29664 #endif
29665 /* We use char because int might match the return type of a gcc2
29666 builtin and then its argument prototype would still apply. */
29667 char $ac_func ();
29668 /* The GNU C library defines this for functions which it implements
29669 to always fail with ENOSYS. Some functions are actually named
29670 something starting with __ and the normal name is an alias. */
29671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29672 choke me
29673 #else
29674 char (*f) () = $ac_func;
29675 #endif
29676 #ifdef __cplusplus
29678 #endif
29681 main ()
29683 return f != $ac_func;
29685 return 0;
29687 _ACEOF
29688 rm -f conftest.$ac_objext conftest$ac_exeext
29689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29690 (eval $ac_link) 2>conftest.er1
29691 ac_status=$?
29692 grep -v '^ *+' conftest.er1 >conftest.err
29693 rm -f conftest.er1
29694 cat conftest.err >&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } &&
29697 { ac_try='test -z "$ac_c_werror_flag"
29698 || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29701 ac_status=$?
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try='test -s conftest$ac_exeext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 eval "$as_ac_var=yes"
29711 else
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.$ac_ext >&5
29715 eval "$as_ac_var=no"
29717 rm -f conftest.err conftest.$ac_objext \
29718 conftest$ac_exeext conftest.$ac_ext
29720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29722 if test `eval echo '${'$as_ac_var'}'` = yes; then
29723 cat >>confdefs.h <<_ACEOF
29724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29725 _ACEOF
29728 done
29740 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29741 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29742 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29743 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29749 ac_ext=cc
29750 ac_cpp='$CXXCPP $CPPFLAGS'
29751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29755 cat >conftest.$ac_ext <<_ACEOF
29756 /* confdefs.h. */
29757 _ACEOF
29758 cat confdefs.h >>conftest.$ac_ext
29759 cat >>conftest.$ac_ext <<_ACEOF
29760 /* end confdefs.h. */
29761 #include <math.h>
29762 #ifdef HAVE_IEEEFP_H
29763 #include <ieeefp.h>
29764 #endif
29767 main ()
29769 isnanl(0);
29771 return 0;
29773 _ACEOF
29774 rm -f conftest.$ac_objext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29776 (eval $ac_compile) 2>conftest.er1
29777 ac_status=$?
29778 grep -v '^ *+' conftest.er1 >conftest.err
29779 rm -f conftest.er1
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try='test -z "$ac_cxx_werror_flag"
29784 || test ! -s conftest.err'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; } &&
29790 { ac_try='test -s conftest.$ac_objext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 glibcxx_cv_func_isnanl_use=yes
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 glibcxx_cv_func_isnanl_use=no
29803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29804 ac_ext=c
29805 ac_cpp='$CPP $CPPFLAGS'
29806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29815 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29817 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29819 for ac_func in isnanl
29821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29822 echo "$as_me:$LINENO: checking for $ac_func" >&5
29823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29824 if eval "test \"\${$as_ac_var+set}\" = set"; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 if test x$gcc_no_link = xyes; then
29828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29830 { (exit 1); exit 1; }; }
29832 cat >conftest.$ac_ext <<_ACEOF
29833 /* confdefs.h. */
29834 _ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29840 #define $ac_func innocuous_$ac_func
29842 /* System header to define __stub macros and hopefully few prototypes,
29843 which can conflict with char $ac_func (); below.
29844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29845 <limits.h> exists even on freestanding compilers. */
29847 #ifdef __STDC__
29848 # include <limits.h>
29849 #else
29850 # include <assert.h>
29851 #endif
29853 #undef $ac_func
29855 /* Override any gcc2 internal prototype to avoid an error. */
29856 #ifdef __cplusplus
29857 extern "C"
29859 #endif
29860 /* We use char because int might match the return type of a gcc2
29861 builtin and then its argument prototype would still apply. */
29862 char $ac_func ();
29863 /* The GNU C library defines this for functions which it implements
29864 to always fail with ENOSYS. Some functions are actually named
29865 something starting with __ and the normal name is an alias. */
29866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29867 choke me
29868 #else
29869 char (*f) () = $ac_func;
29870 #endif
29871 #ifdef __cplusplus
29873 #endif
29876 main ()
29878 return f != $ac_func;
29880 return 0;
29882 _ACEOF
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29885 (eval $ac_link) 2>conftest.er1
29886 ac_status=$?
29887 grep -v '^ *+' conftest.er1 >conftest.err
29888 rm -f conftest.er1
29889 cat conftest.err >&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } &&
29892 { ac_try='test -z "$ac_c_werror_flag"
29893 || test ! -s conftest.err'
29894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895 (eval $ac_try) 2>&5
29896 ac_status=$?
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; } &&
29899 { ac_try='test -s conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29902 ac_status=$?
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905 eval "$as_ac_var=yes"
29906 else
29907 echo "$as_me: failed program was:" >&5
29908 sed 's/^/| /' conftest.$ac_ext >&5
29910 eval "$as_ac_var=no"
29912 rm -f conftest.err conftest.$ac_objext \
29913 conftest$ac_exeext conftest.$ac_ext
29915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29917 if test `eval echo '${'$as_ac_var'}'` = yes; then
29918 cat >>confdefs.h <<_ACEOF
29919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29920 _ACEOF
29923 done
29925 else
29927 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29928 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29929 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29930 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29932 else
29936 ac_ext=cc
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29942 cat >conftest.$ac_ext <<_ACEOF
29943 /* confdefs.h. */
29944 _ACEOF
29945 cat confdefs.h >>conftest.$ac_ext
29946 cat >>conftest.$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29948 #include <math.h>
29949 #ifdef HAVE_IEEEFP_H
29950 #include <ieeefp.h>
29951 #endif
29954 main ()
29956 _isnanl(0);
29958 return 0;
29960 _ACEOF
29961 rm -f conftest.$ac_objext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29963 (eval $ac_compile) 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -z "$ac_cxx_werror_flag"
29971 || test ! -s conftest.err'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; } &&
29977 { ac_try='test -s conftest.$ac_objext'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29980 ac_status=$?
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; }; then
29983 glibcxx_cv_func__isnanl_use=yes
29984 else
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29988 glibcxx_cv_func__isnanl_use=no
29990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29991 ac_ext=c
29992 ac_cpp='$CPP $CPPFLAGS'
29993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
30002 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
30004 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30006 for ac_func in _isnanl
30008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30009 echo "$as_me:$LINENO: checking for $ac_func" >&5
30010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30011 if eval "test \"\${$as_ac_var+set}\" = set"; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 else
30014 if test x$gcc_no_link = xyes; then
30015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30017 { (exit 1); exit 1; }; }
30019 cat >conftest.$ac_ext <<_ACEOF
30020 /* confdefs.h. */
30021 _ACEOF
30022 cat confdefs.h >>conftest.$ac_ext
30023 cat >>conftest.$ac_ext <<_ACEOF
30024 /* end confdefs.h. */
30025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30027 #define $ac_func innocuous_$ac_func
30029 /* System header to define __stub macros and hopefully few prototypes,
30030 which can conflict with char $ac_func (); below.
30031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30032 <limits.h> exists even on freestanding compilers. */
30034 #ifdef __STDC__
30035 # include <limits.h>
30036 #else
30037 # include <assert.h>
30038 #endif
30040 #undef $ac_func
30042 /* Override any gcc2 internal prototype to avoid an error. */
30043 #ifdef __cplusplus
30044 extern "C"
30046 #endif
30047 /* We use char because int might match the return type of a gcc2
30048 builtin and then its argument prototype would still apply. */
30049 char $ac_func ();
30050 /* The GNU C library defines this for functions which it implements
30051 to always fail with ENOSYS. Some functions are actually named
30052 something starting with __ and the normal name is an alias. */
30053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30054 choke me
30055 #else
30056 char (*f) () = $ac_func;
30057 #endif
30058 #ifdef __cplusplus
30060 #endif
30063 main ()
30065 return f != $ac_func;
30067 return 0;
30069 _ACEOF
30070 rm -f conftest.$ac_objext conftest$ac_exeext
30071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30072 (eval $ac_link) 2>conftest.er1
30073 ac_status=$?
30074 grep -v '^ *+' conftest.er1 >conftest.err
30075 rm -f conftest.er1
30076 cat conftest.err >&5
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); } &&
30079 { ac_try='test -z "$ac_c_werror_flag"
30080 || test ! -s conftest.err'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30083 ac_status=$?
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; } &&
30086 { ac_try='test -s conftest$ac_exeext'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30089 ac_status=$?
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; }; then
30092 eval "$as_ac_var=yes"
30093 else
30094 echo "$as_me: failed program was:" >&5
30095 sed 's/^/| /' conftest.$ac_ext >&5
30097 eval "$as_ac_var=no"
30099 rm -f conftest.err conftest.$ac_objext \
30100 conftest$ac_exeext conftest.$ac_ext
30102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30104 if test `eval echo '${'$as_ac_var'}'` = yes; then
30105 cat >>confdefs.h <<_ACEOF
30106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30107 _ACEOF
30110 done
30120 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30121 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30122 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30123 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30125 else
30129 ac_ext=cc
30130 ac_cpp='$CXXCPP $CPPFLAGS'
30131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141 #include <math.h>
30142 #ifdef HAVE_IEEEFP_H
30143 #include <ieeefp.h>
30144 #endif
30147 main ()
30149 isinfl(0);
30151 return 0;
30153 _ACEOF
30154 rm -f conftest.$ac_objext
30155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30156 (eval $ac_compile) 2>conftest.er1
30157 ac_status=$?
30158 grep -v '^ *+' conftest.er1 >conftest.err
30159 rm -f conftest.er1
30160 cat conftest.err >&5
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); } &&
30163 { ac_try='test -z "$ac_cxx_werror_flag"
30164 || test ! -s conftest.err'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30167 ac_status=$?
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; } &&
30170 { ac_try='test -s conftest.$ac_objext'
30171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30172 (eval $ac_try) 2>&5
30173 ac_status=$?
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); }; }; then
30176 glibcxx_cv_func_isinfl_use=yes
30177 else
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.$ac_ext >&5
30181 glibcxx_cv_func_isinfl_use=no
30183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30184 ac_ext=c
30185 ac_cpp='$CPP $CPPFLAGS'
30186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30195 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30197 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30199 for ac_func in isinfl
30201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30202 echo "$as_me:$LINENO: checking for $ac_func" >&5
30203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30204 if eval "test \"\${$as_ac_var+set}\" = set"; then
30205 echo $ECHO_N "(cached) $ECHO_C" >&6
30206 else
30207 if test x$gcc_no_link = xyes; then
30208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30210 { (exit 1); exit 1; }; }
30212 cat >conftest.$ac_ext <<_ACEOF
30213 /* confdefs.h. */
30214 _ACEOF
30215 cat confdefs.h >>conftest.$ac_ext
30216 cat >>conftest.$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30220 #define $ac_func innocuous_$ac_func
30222 /* System header to define __stub macros and hopefully few prototypes,
30223 which can conflict with char $ac_func (); below.
30224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30225 <limits.h> exists even on freestanding compilers. */
30227 #ifdef __STDC__
30228 # include <limits.h>
30229 #else
30230 # include <assert.h>
30231 #endif
30233 #undef $ac_func
30235 /* Override any gcc2 internal prototype to avoid an error. */
30236 #ifdef __cplusplus
30237 extern "C"
30239 #endif
30240 /* We use char because int might match the return type of a gcc2
30241 builtin and then its argument prototype would still apply. */
30242 char $ac_func ();
30243 /* The GNU C library defines this for functions which it implements
30244 to always fail with ENOSYS. Some functions are actually named
30245 something starting with __ and the normal name is an alias. */
30246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30247 choke me
30248 #else
30249 char (*f) () = $ac_func;
30250 #endif
30251 #ifdef __cplusplus
30253 #endif
30256 main ()
30258 return f != $ac_func;
30260 return 0;
30262 _ACEOF
30263 rm -f conftest.$ac_objext conftest$ac_exeext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30265 (eval $ac_link) 2>conftest.er1
30266 ac_status=$?
30267 grep -v '^ *+' conftest.er1 >conftest.err
30268 rm -f conftest.er1
30269 cat conftest.err >&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try='test -z "$ac_c_werror_flag"
30273 || test ! -s conftest.err'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; } &&
30279 { ac_try='test -s conftest$ac_exeext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 eval "$as_ac_var=yes"
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30290 eval "$as_ac_var=no"
30292 rm -f conftest.err conftest.$ac_objext \
30293 conftest$ac_exeext conftest.$ac_ext
30295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30297 if test `eval echo '${'$as_ac_var'}'` = yes; then
30298 cat >>confdefs.h <<_ACEOF
30299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30300 _ACEOF
30303 done
30305 else
30307 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30308 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30309 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30310 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30311 echo $ECHO_N "(cached) $ECHO_C" >&6
30312 else
30316 ac_ext=cc
30317 ac_cpp='$CXXCPP $CPPFLAGS'
30318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30322 cat >conftest.$ac_ext <<_ACEOF
30323 /* confdefs.h. */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30328 #include <math.h>
30329 #ifdef HAVE_IEEEFP_H
30330 #include <ieeefp.h>
30331 #endif
30334 main ()
30336 _isinfl(0);
30338 return 0;
30340 _ACEOF
30341 rm -f conftest.$ac_objext
30342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30343 (eval $ac_compile) 2>conftest.er1
30344 ac_status=$?
30345 grep -v '^ *+' conftest.er1 >conftest.err
30346 rm -f conftest.er1
30347 cat conftest.err >&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); } &&
30350 { ac_try='test -z "$ac_cxx_werror_flag"
30351 || test ! -s conftest.err'
30352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30353 (eval $ac_try) 2>&5
30354 ac_status=$?
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; } &&
30357 { ac_try='test -s conftest.$ac_objext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363 glibcxx_cv_func__isinfl_use=yes
30364 else
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30368 glibcxx_cv_func__isinfl_use=no
30370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30371 ac_ext=c
30372 ac_cpp='$CPP $CPPFLAGS'
30373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30382 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30384 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30386 for ac_func in _isinfl
30388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 echo "$as_me:$LINENO: checking for $ac_func" >&5
30390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30391 if eval "test \"\${$as_ac_var+set}\" = set"; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30393 else
30394 if test x$gcc_no_link = xyes; then
30395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30397 { (exit 1); exit 1; }; }
30399 cat >conftest.$ac_ext <<_ACEOF
30400 /* confdefs.h. */
30401 _ACEOF
30402 cat confdefs.h >>conftest.$ac_ext
30403 cat >>conftest.$ac_ext <<_ACEOF
30404 /* end confdefs.h. */
30405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30407 #define $ac_func innocuous_$ac_func
30409 /* System header to define __stub macros and hopefully few prototypes,
30410 which can conflict with char $ac_func (); below.
30411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30412 <limits.h> exists even on freestanding compilers. */
30414 #ifdef __STDC__
30415 # include <limits.h>
30416 #else
30417 # include <assert.h>
30418 #endif
30420 #undef $ac_func
30422 /* Override any gcc2 internal prototype to avoid an error. */
30423 #ifdef __cplusplus
30424 extern "C"
30426 #endif
30427 /* We use char because int might match the return type of a gcc2
30428 builtin and then its argument prototype would still apply. */
30429 char $ac_func ();
30430 /* The GNU C library defines this for functions which it implements
30431 to always fail with ENOSYS. Some functions are actually named
30432 something starting with __ and the normal name is an alias. */
30433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30434 choke me
30435 #else
30436 char (*f) () = $ac_func;
30437 #endif
30438 #ifdef __cplusplus
30440 #endif
30443 main ()
30445 return f != $ac_func;
30447 return 0;
30449 _ACEOF
30450 rm -f conftest.$ac_objext conftest$ac_exeext
30451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30452 (eval $ac_link) 2>conftest.er1
30453 ac_status=$?
30454 grep -v '^ *+' conftest.er1 >conftest.err
30455 rm -f conftest.er1
30456 cat conftest.err >&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); } &&
30459 { ac_try='test -z "$ac_c_werror_flag"
30460 || test ! -s conftest.err'
30461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30462 (eval $ac_try) 2>&5
30463 ac_status=$?
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); }; } &&
30466 { ac_try='test -s conftest$ac_exeext'
30467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30468 (eval $ac_try) 2>&5
30469 ac_status=$?
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; }; then
30472 eval "$as_ac_var=yes"
30473 else
30474 echo "$as_me: failed program was:" >&5
30475 sed 's/^/| /' conftest.$ac_ext >&5
30477 eval "$as_ac_var=no"
30479 rm -f conftest.err conftest.$ac_objext \
30480 conftest$ac_exeext conftest.$ac_ext
30482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30484 if test `eval echo '${'$as_ac_var'}'` = yes; then
30485 cat >>confdefs.h <<_ACEOF
30486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30487 _ACEOF
30490 done
30500 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30501 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30502 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30503 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30504 echo $ECHO_N "(cached) $ECHO_C" >&6
30505 else
30509 ac_ext=cc
30510 ac_cpp='$CXXCPP $CPPFLAGS'
30511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30515 cat >conftest.$ac_ext <<_ACEOF
30516 /* confdefs.h. */
30517 _ACEOF
30518 cat confdefs.h >>conftest.$ac_ext
30519 cat >>conftest.$ac_ext <<_ACEOF
30520 /* end confdefs.h. */
30521 #include <math.h>
30523 main ()
30525 copysignl(0, 0);
30527 return 0;
30529 _ACEOF
30530 rm -f conftest.$ac_objext
30531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30532 (eval $ac_compile) 2>conftest.er1
30533 ac_status=$?
30534 grep -v '^ *+' conftest.er1 >conftest.err
30535 rm -f conftest.er1
30536 cat conftest.err >&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); } &&
30539 { ac_try='test -z "$ac_cxx_werror_flag"
30540 || test ! -s conftest.err'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30543 ac_status=$?
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; } &&
30546 { ac_try='test -s conftest.$ac_objext'
30547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548 (eval $ac_try) 2>&5
30549 ac_status=$?
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); }; }; then
30552 glibcxx_cv_func_copysignl_use=yes
30553 else
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30557 glibcxx_cv_func_copysignl_use=no
30559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30560 ac_ext=c
30561 ac_cpp='$CPP $CPPFLAGS'
30562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30571 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30573 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30575 for ac_func in copysignl
30577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30578 echo "$as_me:$LINENO: checking for $ac_func" >&5
30579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30580 if eval "test \"\${$as_ac_var+set}\" = set"; then
30581 echo $ECHO_N "(cached) $ECHO_C" >&6
30582 else
30583 if test x$gcc_no_link = xyes; then
30584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30586 { (exit 1); exit 1; }; }
30588 cat >conftest.$ac_ext <<_ACEOF
30589 /* confdefs.h. */
30590 _ACEOF
30591 cat confdefs.h >>conftest.$ac_ext
30592 cat >>conftest.$ac_ext <<_ACEOF
30593 /* end confdefs.h. */
30594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30596 #define $ac_func innocuous_$ac_func
30598 /* System header to define __stub macros and hopefully few prototypes,
30599 which can conflict with char $ac_func (); below.
30600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30601 <limits.h> exists even on freestanding compilers. */
30603 #ifdef __STDC__
30604 # include <limits.h>
30605 #else
30606 # include <assert.h>
30607 #endif
30609 #undef $ac_func
30611 /* Override any gcc2 internal prototype to avoid an error. */
30612 #ifdef __cplusplus
30613 extern "C"
30615 #endif
30616 /* We use char because int might match the return type of a gcc2
30617 builtin and then its argument prototype would still apply. */
30618 char $ac_func ();
30619 /* The GNU C library defines this for functions which it implements
30620 to always fail with ENOSYS. Some functions are actually named
30621 something starting with __ and the normal name is an alias. */
30622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30623 choke me
30624 #else
30625 char (*f) () = $ac_func;
30626 #endif
30627 #ifdef __cplusplus
30629 #endif
30632 main ()
30634 return f != $ac_func;
30636 return 0;
30638 _ACEOF
30639 rm -f conftest.$ac_objext conftest$ac_exeext
30640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30641 (eval $ac_link) 2>conftest.er1
30642 ac_status=$?
30643 grep -v '^ *+' conftest.er1 >conftest.err
30644 rm -f conftest.er1
30645 cat conftest.err >&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } &&
30648 { ac_try='test -z "$ac_c_werror_flag"
30649 || test ! -s conftest.err'
30650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651 (eval $ac_try) 2>&5
30652 ac_status=$?
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); }; } &&
30655 { ac_try='test -s conftest$ac_exeext'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30658 ac_status=$?
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; }; then
30661 eval "$as_ac_var=yes"
30662 else
30663 echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.$ac_ext >&5
30666 eval "$as_ac_var=no"
30668 rm -f conftest.err conftest.$ac_objext \
30669 conftest$ac_exeext conftest.$ac_ext
30671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30673 if test `eval echo '${'$as_ac_var'}'` = yes; then
30674 cat >>confdefs.h <<_ACEOF
30675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30676 _ACEOF
30679 done
30681 else
30683 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30684 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30685 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30686 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30687 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 else
30692 ac_ext=cc
30693 ac_cpp='$CXXCPP $CPPFLAGS'
30694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30698 cat >conftest.$ac_ext <<_ACEOF
30699 /* confdefs.h. */
30700 _ACEOF
30701 cat confdefs.h >>conftest.$ac_ext
30702 cat >>conftest.$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30704 #include <math.h>
30706 main ()
30708 _copysignl(0, 0);
30710 return 0;
30712 _ACEOF
30713 rm -f conftest.$ac_objext
30714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30715 (eval $ac_compile) 2>conftest.er1
30716 ac_status=$?
30717 grep -v '^ *+' conftest.er1 >conftest.err
30718 rm -f conftest.er1
30719 cat conftest.err >&5
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); } &&
30722 { ac_try='test -z "$ac_cxx_werror_flag"
30723 || test ! -s conftest.err'
30724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30725 (eval $ac_try) 2>&5
30726 ac_status=$?
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); }; } &&
30729 { ac_try='test -s conftest.$ac_objext'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30732 ac_status=$?
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; }; then
30735 glibcxx_cv_func__copysignl_use=yes
30736 else
30737 echo "$as_me: failed program was:" >&5
30738 sed 's/^/| /' conftest.$ac_ext >&5
30740 glibcxx_cv_func__copysignl_use=no
30742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30743 ac_ext=c
30744 ac_cpp='$CPP $CPPFLAGS'
30745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30753 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30754 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30756 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30758 for ac_func in _copysignl
30760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30761 echo "$as_me:$LINENO: checking for $ac_func" >&5
30762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30763 if eval "test \"\${$as_ac_var+set}\" = set"; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30765 else
30766 if test x$gcc_no_link = xyes; then
30767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30769 { (exit 1); exit 1; }; }
30771 cat >conftest.$ac_ext <<_ACEOF
30772 /* confdefs.h. */
30773 _ACEOF
30774 cat confdefs.h >>conftest.$ac_ext
30775 cat >>conftest.$ac_ext <<_ACEOF
30776 /* end confdefs.h. */
30777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30779 #define $ac_func innocuous_$ac_func
30781 /* System header to define __stub macros and hopefully few prototypes,
30782 which can conflict with char $ac_func (); below.
30783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30784 <limits.h> exists even on freestanding compilers. */
30786 #ifdef __STDC__
30787 # include <limits.h>
30788 #else
30789 # include <assert.h>
30790 #endif
30792 #undef $ac_func
30794 /* Override any gcc2 internal prototype to avoid an error. */
30795 #ifdef __cplusplus
30796 extern "C"
30798 #endif
30799 /* We use char because int might match the return type of a gcc2
30800 builtin and then its argument prototype would still apply. */
30801 char $ac_func ();
30802 /* The GNU C library defines this for functions which it implements
30803 to always fail with ENOSYS. Some functions are actually named
30804 something starting with __ and the normal name is an alias. */
30805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30806 choke me
30807 #else
30808 char (*f) () = $ac_func;
30809 #endif
30810 #ifdef __cplusplus
30812 #endif
30815 main ()
30817 return f != $ac_func;
30819 return 0;
30821 _ACEOF
30822 rm -f conftest.$ac_objext conftest$ac_exeext
30823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30824 (eval $ac_link) 2>conftest.er1
30825 ac_status=$?
30826 grep -v '^ *+' conftest.er1 >conftest.err
30827 rm -f conftest.er1
30828 cat conftest.err >&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); } &&
30831 { ac_try='test -z "$ac_c_werror_flag"
30832 || test ! -s conftest.err'
30833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30834 (eval $ac_try) 2>&5
30835 ac_status=$?
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; } &&
30838 { ac_try='test -s conftest$ac_exeext'
30839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840 (eval $ac_try) 2>&5
30841 ac_status=$?
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); }; }; then
30844 eval "$as_ac_var=yes"
30845 else
30846 echo "$as_me: failed program was:" >&5
30847 sed 's/^/| /' conftest.$ac_ext >&5
30849 eval "$as_ac_var=no"
30851 rm -f conftest.err conftest.$ac_objext \
30852 conftest$ac_exeext conftest.$ac_ext
30854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30856 if test `eval echo '${'$as_ac_var'}'` = yes; then
30857 cat >>confdefs.h <<_ACEOF
30858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30859 _ACEOF
30862 done
30872 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30873 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30874 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30875 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 else
30881 ac_ext=cc
30882 ac_cpp='$CXXCPP $CPPFLAGS'
30883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30887 cat >conftest.$ac_ext <<_ACEOF
30888 /* confdefs.h. */
30889 _ACEOF
30890 cat confdefs.h >>conftest.$ac_ext
30891 cat >>conftest.$ac_ext <<_ACEOF
30892 /* end confdefs.h. */
30893 #include <math.h>
30895 main ()
30897 atan2l(0, 0);
30899 return 0;
30901 _ACEOF
30902 rm -f conftest.$ac_objext
30903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30904 (eval $ac_compile) 2>conftest.er1
30905 ac_status=$?
30906 grep -v '^ *+' conftest.er1 >conftest.err
30907 rm -f conftest.er1
30908 cat conftest.err >&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } &&
30911 { ac_try='test -z "$ac_cxx_werror_flag"
30912 || test ! -s conftest.err'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; } &&
30918 { ac_try='test -s conftest.$ac_objext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924 glibcxx_cv_func_atan2l_use=yes
30925 else
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30929 glibcxx_cv_func_atan2l_use=no
30931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30932 ac_ext=c
30933 ac_cpp='$CPP $CPPFLAGS'
30934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30943 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30945 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30947 for ac_func in atan2l
30949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30950 echo "$as_me:$LINENO: checking for $ac_func" >&5
30951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30952 if eval "test \"\${$as_ac_var+set}\" = set"; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 if test x$gcc_no_link = xyes; then
30956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30958 { (exit 1); exit 1; }; }
30960 cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h. */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30968 #define $ac_func innocuous_$ac_func
30970 /* System header to define __stub macros and hopefully few prototypes,
30971 which can conflict with char $ac_func (); below.
30972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30973 <limits.h> exists even on freestanding compilers. */
30975 #ifdef __STDC__
30976 # include <limits.h>
30977 #else
30978 # include <assert.h>
30979 #endif
30981 #undef $ac_func
30983 /* Override any gcc2 internal prototype to avoid an error. */
30984 #ifdef __cplusplus
30985 extern "C"
30987 #endif
30988 /* We use char because int might match the return type of a gcc2
30989 builtin and then its argument prototype would still apply. */
30990 char $ac_func ();
30991 /* The GNU C library defines this for functions which it implements
30992 to always fail with ENOSYS. Some functions are actually named
30993 something starting with __ and the normal name is an alias. */
30994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30995 choke me
30996 #else
30997 char (*f) () = $ac_func;
30998 #endif
30999 #ifdef __cplusplus
31001 #endif
31004 main ()
31006 return f != $ac_func;
31008 return 0;
31010 _ACEOF
31011 rm -f conftest.$ac_objext conftest$ac_exeext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31013 (eval $ac_link) 2>conftest.er1
31014 ac_status=$?
31015 grep -v '^ *+' conftest.er1 >conftest.err
31016 rm -f conftest.er1
31017 cat conftest.err >&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try='test -z "$ac_c_werror_flag"
31021 || test ! -s conftest.err'
31022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31023 (eval $ac_try) 2>&5
31024 ac_status=$?
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); }; } &&
31027 { ac_try='test -s conftest$ac_exeext'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; }; then
31033 eval "$as_ac_var=yes"
31034 else
31035 echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.$ac_ext >&5
31038 eval "$as_ac_var=no"
31040 rm -f conftest.err conftest.$ac_objext \
31041 conftest$ac_exeext conftest.$ac_ext
31043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31045 if test `eval echo '${'$as_ac_var'}'` = yes; then
31046 cat >>confdefs.h <<_ACEOF
31047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31048 _ACEOF
31051 done
31053 else
31055 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31056 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31057 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31058 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31060 else
31064 ac_ext=cc
31065 ac_cpp='$CXXCPP $CPPFLAGS'
31066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31070 cat >conftest.$ac_ext <<_ACEOF
31071 /* confdefs.h. */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31076 #include <math.h>
31078 main ()
31080 _atan2l(0, 0);
31082 return 0;
31084 _ACEOF
31085 rm -f conftest.$ac_objext
31086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31087 (eval $ac_compile) 2>conftest.er1
31088 ac_status=$?
31089 grep -v '^ *+' conftest.er1 >conftest.err
31090 rm -f conftest.er1
31091 cat conftest.err >&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try='test -z "$ac_cxx_werror_flag"
31095 || test ! -s conftest.err'
31096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31097 (eval $ac_try) 2>&5
31098 ac_status=$?
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); }; } &&
31101 { ac_try='test -s conftest.$ac_objext'
31102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103 (eval $ac_try) 2>&5
31104 ac_status=$?
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; }; then
31107 glibcxx_cv_func__atan2l_use=yes
31108 else
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31112 glibcxx_cv_func__atan2l_use=no
31114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31115 ac_ext=c
31116 ac_cpp='$CPP $CPPFLAGS'
31117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31125 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31126 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31128 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31130 for ac_func in _atan2l
31132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31133 echo "$as_me:$LINENO: checking for $ac_func" >&5
31134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31135 if eval "test \"\${$as_ac_var+set}\" = set"; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31137 else
31138 if test x$gcc_no_link = xyes; then
31139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31141 { (exit 1); exit 1; }; }
31143 cat >conftest.$ac_ext <<_ACEOF
31144 /* confdefs.h. */
31145 _ACEOF
31146 cat confdefs.h >>conftest.$ac_ext
31147 cat >>conftest.$ac_ext <<_ACEOF
31148 /* end confdefs.h. */
31149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31151 #define $ac_func innocuous_$ac_func
31153 /* System header to define __stub macros and hopefully few prototypes,
31154 which can conflict with char $ac_func (); below.
31155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31156 <limits.h> exists even on freestanding compilers. */
31158 #ifdef __STDC__
31159 # include <limits.h>
31160 #else
31161 # include <assert.h>
31162 #endif
31164 #undef $ac_func
31166 /* Override any gcc2 internal prototype to avoid an error. */
31167 #ifdef __cplusplus
31168 extern "C"
31170 #endif
31171 /* We use char because int might match the return type of a gcc2
31172 builtin and then its argument prototype would still apply. */
31173 char $ac_func ();
31174 /* The GNU C library defines this for functions which it implements
31175 to always fail with ENOSYS. Some functions are actually named
31176 something starting with __ and the normal name is an alias. */
31177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31178 choke me
31179 #else
31180 char (*f) () = $ac_func;
31181 #endif
31182 #ifdef __cplusplus
31184 #endif
31187 main ()
31189 return f != $ac_func;
31191 return 0;
31193 _ACEOF
31194 rm -f conftest.$ac_objext conftest$ac_exeext
31195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31196 (eval $ac_link) 2>conftest.er1
31197 ac_status=$?
31198 grep -v '^ *+' conftest.er1 >conftest.err
31199 rm -f conftest.er1
31200 cat conftest.err >&5
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); } &&
31203 { ac_try='test -z "$ac_c_werror_flag"
31204 || test ! -s conftest.err'
31205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31206 (eval $ac_try) 2>&5
31207 ac_status=$?
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); }; } &&
31210 { ac_try='test -s conftest$ac_exeext'
31211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31212 (eval $ac_try) 2>&5
31213 ac_status=$?
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); }; }; then
31216 eval "$as_ac_var=yes"
31217 else
31218 echo "$as_me: failed program was:" >&5
31219 sed 's/^/| /' conftest.$ac_ext >&5
31221 eval "$as_ac_var=no"
31223 rm -f conftest.err conftest.$ac_objext \
31224 conftest$ac_exeext conftest.$ac_ext
31226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31228 if test `eval echo '${'$as_ac_var'}'` = yes; then
31229 cat >>confdefs.h <<_ACEOF
31230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31231 _ACEOF
31234 done
31244 echo "$as_me:$LINENO: checking for expl declaration" >&5
31245 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31246 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31247 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31253 ac_ext=cc
31254 ac_cpp='$CXXCPP $CPPFLAGS'
31255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31259 cat >conftest.$ac_ext <<_ACEOF
31260 /* confdefs.h. */
31261 _ACEOF
31262 cat confdefs.h >>conftest.$ac_ext
31263 cat >>conftest.$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31265 #include <math.h>
31266 #ifdef HAVE_IEEEFP_H
31267 #include <ieeefp.h>
31268 #endif
31271 main ()
31273 expl(0);
31275 return 0;
31277 _ACEOF
31278 rm -f conftest.$ac_objext
31279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31280 (eval $ac_compile) 2>conftest.er1
31281 ac_status=$?
31282 grep -v '^ *+' conftest.er1 >conftest.err
31283 rm -f conftest.er1
31284 cat conftest.err >&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } &&
31287 { ac_try='test -z "$ac_cxx_werror_flag"
31288 || test ! -s conftest.err'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31291 ac_status=$?
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; } &&
31294 { ac_try='test -s conftest.$ac_objext'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31300 glibcxx_cv_func_expl_use=yes
31301 else
31302 echo "$as_me: failed program was:" >&5
31303 sed 's/^/| /' conftest.$ac_ext >&5
31305 glibcxx_cv_func_expl_use=no
31307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31319 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31321 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31323 for ac_func in expl
31325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31326 echo "$as_me:$LINENO: checking for $ac_func" >&5
31327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31328 if eval "test \"\${$as_ac_var+set}\" = set"; then
31329 echo $ECHO_N "(cached) $ECHO_C" >&6
31330 else
31331 if test x$gcc_no_link = xyes; then
31332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31334 { (exit 1); exit 1; }; }
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31344 #define $ac_func innocuous_$ac_func
31346 /* System header to define __stub macros and hopefully few prototypes,
31347 which can conflict with char $ac_func (); below.
31348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31349 <limits.h> exists even on freestanding compilers. */
31351 #ifdef __STDC__
31352 # include <limits.h>
31353 #else
31354 # include <assert.h>
31355 #endif
31357 #undef $ac_func
31359 /* Override any gcc2 internal prototype to avoid an error. */
31360 #ifdef __cplusplus
31361 extern "C"
31363 #endif
31364 /* We use char because int might match the return type of a gcc2
31365 builtin and then its argument prototype would still apply. */
31366 char $ac_func ();
31367 /* The GNU C library defines this for functions which it implements
31368 to always fail with ENOSYS. Some functions are actually named
31369 something starting with __ and the normal name is an alias. */
31370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31371 choke me
31372 #else
31373 char (*f) () = $ac_func;
31374 #endif
31375 #ifdef __cplusplus
31377 #endif
31380 main ()
31382 return f != $ac_func;
31384 return 0;
31386 _ACEOF
31387 rm -f conftest.$ac_objext conftest$ac_exeext
31388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31389 (eval $ac_link) 2>conftest.er1
31390 ac_status=$?
31391 grep -v '^ *+' conftest.er1 >conftest.err
31392 rm -f conftest.er1
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } &&
31396 { ac_try='test -z "$ac_c_werror_flag"
31397 || test ! -s conftest.err'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; } &&
31403 { ac_try='test -s conftest$ac_exeext'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 eval "$as_ac_var=yes"
31410 else
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.$ac_ext >&5
31414 eval "$as_ac_var=no"
31416 rm -f conftest.err conftest.$ac_objext \
31417 conftest$ac_exeext conftest.$ac_ext
31419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31421 if test `eval echo '${'$as_ac_var'}'` = yes; then
31422 cat >>confdefs.h <<_ACEOF
31423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31424 _ACEOF
31427 done
31429 else
31431 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31432 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31433 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31434 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31435 echo $ECHO_N "(cached) $ECHO_C" >&6
31436 else
31440 ac_ext=cc
31441 ac_cpp='$CXXCPP $CPPFLAGS'
31442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31446 cat >conftest.$ac_ext <<_ACEOF
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31452 #include <math.h>
31453 #ifdef HAVE_IEEEFP_H
31454 #include <ieeefp.h>
31455 #endif
31458 main ()
31460 _expl(0);
31462 return 0;
31464 _ACEOF
31465 rm -f conftest.$ac_objext
31466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31467 (eval $ac_compile) 2>conftest.er1
31468 ac_status=$?
31469 grep -v '^ *+' conftest.er1 >conftest.err
31470 rm -f conftest.er1
31471 cat conftest.err >&5
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); } &&
31474 { ac_try='test -z "$ac_cxx_werror_flag"
31475 || test ! -s conftest.err'
31476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31477 (eval $ac_try) 2>&5
31478 ac_status=$?
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); }; } &&
31481 { ac_try='test -s conftest.$ac_objext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 glibcxx_cv_func__expl_use=yes
31488 else
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.$ac_ext >&5
31492 glibcxx_cv_func__expl_use=no
31494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31495 ac_ext=c
31496 ac_cpp='$CPP $CPPFLAGS'
31497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31505 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31506 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31508 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31510 for ac_func in _expl
31512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31513 echo "$as_me:$LINENO: checking for $ac_func" >&5
31514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31515 if eval "test \"\${$as_ac_var+set}\" = set"; then
31516 echo $ECHO_N "(cached) $ECHO_C" >&6
31517 else
31518 if test x$gcc_no_link = xyes; then
31519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31521 { (exit 1); exit 1; }; }
31523 cat >conftest.$ac_ext <<_ACEOF
31524 /* confdefs.h. */
31525 _ACEOF
31526 cat confdefs.h >>conftest.$ac_ext
31527 cat >>conftest.$ac_ext <<_ACEOF
31528 /* end confdefs.h. */
31529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31531 #define $ac_func innocuous_$ac_func
31533 /* System header to define __stub macros and hopefully few prototypes,
31534 which can conflict with char $ac_func (); below.
31535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31536 <limits.h> exists even on freestanding compilers. */
31538 #ifdef __STDC__
31539 # include <limits.h>
31540 #else
31541 # include <assert.h>
31542 #endif
31544 #undef $ac_func
31546 /* Override any gcc2 internal prototype to avoid an error. */
31547 #ifdef __cplusplus
31548 extern "C"
31550 #endif
31551 /* We use char because int might match the return type of a gcc2
31552 builtin and then its argument prototype would still apply. */
31553 char $ac_func ();
31554 /* The GNU C library defines this for functions which it implements
31555 to always fail with ENOSYS. Some functions are actually named
31556 something starting with __ and the normal name is an alias. */
31557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31558 choke me
31559 #else
31560 char (*f) () = $ac_func;
31561 #endif
31562 #ifdef __cplusplus
31564 #endif
31567 main ()
31569 return f != $ac_func;
31571 return 0;
31573 _ACEOF
31574 rm -f conftest.$ac_objext conftest$ac_exeext
31575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31576 (eval $ac_link) 2>conftest.er1
31577 ac_status=$?
31578 grep -v '^ *+' conftest.er1 >conftest.err
31579 rm -f conftest.er1
31580 cat conftest.err >&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); } &&
31583 { ac_try='test -z "$ac_c_werror_flag"
31584 || test ! -s conftest.err'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31587 ac_status=$?
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; } &&
31590 { ac_try='test -s conftest$ac_exeext'
31591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31592 (eval $ac_try) 2>&5
31593 ac_status=$?
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); }; }; then
31596 eval "$as_ac_var=yes"
31597 else
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.$ac_ext >&5
31601 eval "$as_ac_var=no"
31603 rm -f conftest.err conftest.$ac_objext \
31604 conftest$ac_exeext conftest.$ac_ext
31606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31608 if test `eval echo '${'$as_ac_var'}'` = yes; then
31609 cat >>confdefs.h <<_ACEOF
31610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31611 _ACEOF
31614 done
31624 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31625 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31626 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31627 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31628 echo $ECHO_N "(cached) $ECHO_C" >&6
31629 else
31633 ac_ext=cc
31634 ac_cpp='$CXXCPP $CPPFLAGS'
31635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31639 cat >conftest.$ac_ext <<_ACEOF
31640 /* confdefs.h. */
31641 _ACEOF
31642 cat confdefs.h >>conftest.$ac_ext
31643 cat >>conftest.$ac_ext <<_ACEOF
31644 /* end confdefs.h. */
31645 #include <math.h>
31646 #ifdef HAVE_IEEEFP_H
31647 #include <ieeefp.h>
31648 #endif
31651 main ()
31653 fabsl(0);
31655 return 0;
31657 _ACEOF
31658 rm -f conftest.$ac_objext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31660 (eval $ac_compile) 2>conftest.er1
31661 ac_status=$?
31662 grep -v '^ *+' conftest.er1 >conftest.err
31663 rm -f conftest.er1
31664 cat conftest.err >&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); } &&
31667 { ac_try='test -z "$ac_cxx_werror_flag"
31668 || test ! -s conftest.err'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; } &&
31674 { ac_try='test -s conftest.$ac_objext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31680 glibcxx_cv_func_fabsl_use=yes
31681 else
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31685 glibcxx_cv_func_fabsl_use=no
31687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31688 ac_ext=c
31689 ac_cpp='$CPP $CPPFLAGS'
31690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31699 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31701 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31703 for ac_func in fabsl
31705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31706 echo "$as_me:$LINENO: checking for $ac_func" >&5
31707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31708 if eval "test \"\${$as_ac_var+set}\" = set"; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 else
31711 if test x$gcc_no_link = xyes; then
31712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31714 { (exit 1); exit 1; }; }
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31724 #define $ac_func innocuous_$ac_func
31726 /* System header to define __stub macros and hopefully few prototypes,
31727 which can conflict with char $ac_func (); below.
31728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31729 <limits.h> exists even on freestanding compilers. */
31731 #ifdef __STDC__
31732 # include <limits.h>
31733 #else
31734 # include <assert.h>
31735 #endif
31737 #undef $ac_func
31739 /* Override any gcc2 internal prototype to avoid an error. */
31740 #ifdef __cplusplus
31741 extern "C"
31743 #endif
31744 /* We use char because int might match the return type of a gcc2
31745 builtin and then its argument prototype would still apply. */
31746 char $ac_func ();
31747 /* The GNU C library defines this for functions which it implements
31748 to always fail with ENOSYS. Some functions are actually named
31749 something starting with __ and the normal name is an alias. */
31750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31751 choke me
31752 #else
31753 char (*f) () = $ac_func;
31754 #endif
31755 #ifdef __cplusplus
31757 #endif
31760 main ()
31762 return f != $ac_func;
31764 return 0;
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try='test -z "$ac_c_werror_flag"
31777 || test ! -s conftest.err'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; } &&
31783 { ac_try='test -s conftest$ac_exeext'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31786 ac_status=$?
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; }; then
31789 eval "$as_ac_var=yes"
31790 else
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31794 eval "$as_ac_var=no"
31796 rm -f conftest.err conftest.$ac_objext \
31797 conftest$ac_exeext conftest.$ac_ext
31799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31801 if test `eval echo '${'$as_ac_var'}'` = yes; then
31802 cat >>confdefs.h <<_ACEOF
31803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31804 _ACEOF
31807 done
31809 else
31811 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31812 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31813 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31814 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 else
31820 ac_ext=cc
31821 ac_cpp='$CXXCPP $CPPFLAGS'
31822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31826 cat >conftest.$ac_ext <<_ACEOF
31827 /* confdefs.h. */
31828 _ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832 #include <math.h>
31833 #ifdef HAVE_IEEEFP_H
31834 #include <ieeefp.h>
31835 #endif
31838 main ()
31840 _fabsl(0);
31842 return 0;
31844 _ACEOF
31845 rm -f conftest.$ac_objext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31847 (eval $ac_compile) 2>conftest.er1
31848 ac_status=$?
31849 grep -v '^ *+' conftest.er1 >conftest.err
31850 rm -f conftest.er1
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try='test -z "$ac_cxx_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try='test -s conftest.$ac_objext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 glibcxx_cv_func__fabsl_use=yes
31868 else
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31872 glibcxx_cv_func__fabsl_use=no
31874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31875 ac_ext=c
31876 ac_cpp='$CPP $CPPFLAGS'
31877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31886 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31888 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31890 for ac_func in _fabsl
31892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31893 echo "$as_me:$LINENO: checking for $ac_func" >&5
31894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31895 if eval "test \"\${$as_ac_var+set}\" = set"; then
31896 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 else
31898 if test x$gcc_no_link = xyes; then
31899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31901 { (exit 1); exit 1; }; }
31903 cat >conftest.$ac_ext <<_ACEOF
31904 /* confdefs.h. */
31905 _ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31911 #define $ac_func innocuous_$ac_func
31913 /* System header to define __stub macros and hopefully few prototypes,
31914 which can conflict with char $ac_func (); below.
31915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31916 <limits.h> exists even on freestanding compilers. */
31918 #ifdef __STDC__
31919 # include <limits.h>
31920 #else
31921 # include <assert.h>
31922 #endif
31924 #undef $ac_func
31926 /* Override any gcc2 internal prototype to avoid an error. */
31927 #ifdef __cplusplus
31928 extern "C"
31930 #endif
31931 /* We use char because int might match the return type of a gcc2
31932 builtin and then its argument prototype would still apply. */
31933 char $ac_func ();
31934 /* The GNU C library defines this for functions which it implements
31935 to always fail with ENOSYS. Some functions are actually named
31936 something starting with __ and the normal name is an alias. */
31937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31938 choke me
31939 #else
31940 char (*f) () = $ac_func;
31941 #endif
31942 #ifdef __cplusplus
31944 #endif
31947 main ()
31949 return f != $ac_func;
31951 return 0;
31953 _ACEOF
31954 rm -f conftest.$ac_objext conftest$ac_exeext
31955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31956 (eval $ac_link) 2>conftest.er1
31957 ac_status=$?
31958 grep -v '^ *+' conftest.er1 >conftest.err
31959 rm -f conftest.er1
31960 cat conftest.err >&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); } &&
31963 { ac_try='test -z "$ac_c_werror_flag"
31964 || test ! -s conftest.err'
31965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31966 (eval $ac_try) 2>&5
31967 ac_status=$?
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); }; } &&
31970 { ac_try='test -s conftest$ac_exeext'
31971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972 (eval $ac_try) 2>&5
31973 ac_status=$?
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; }; then
31976 eval "$as_ac_var=yes"
31977 else
31978 echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.$ac_ext >&5
31981 eval "$as_ac_var=no"
31983 rm -f conftest.err conftest.$ac_objext \
31984 conftest$ac_exeext conftest.$ac_ext
31986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31988 if test `eval echo '${'$as_ac_var'}'` = yes; then
31989 cat >>confdefs.h <<_ACEOF
31990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31991 _ACEOF
31994 done
32004 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
32005 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
32006 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32007 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32009 else
32013 ac_ext=cc
32014 ac_cpp='$CXXCPP $CPPFLAGS'
32015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32019 cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h. */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32025 #include <math.h>
32027 main ()
32029 fmodl(0, 0);
32031 return 0;
32033 _ACEOF
32034 rm -f conftest.$ac_objext
32035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32036 (eval $ac_compile) 2>conftest.er1
32037 ac_status=$?
32038 grep -v '^ *+' conftest.er1 >conftest.err
32039 rm -f conftest.er1
32040 cat conftest.err >&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); } &&
32043 { ac_try='test -z "$ac_cxx_werror_flag"
32044 || test ! -s conftest.err'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32047 ac_status=$?
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; } &&
32050 { ac_try='test -s conftest.$ac_objext'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32053 ac_status=$?
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; }; then
32056 glibcxx_cv_func_fmodl_use=yes
32057 else
32058 echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32061 glibcxx_cv_func_fmodl_use=no
32063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32064 ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32075 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32077 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32079 for ac_func in fmodl
32081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32082 echo "$as_me:$LINENO: checking for $ac_func" >&5
32083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32084 if eval "test \"\${$as_ac_var+set}\" = set"; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 else
32087 if test x$gcc_no_link = xyes; then
32088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32090 { (exit 1); exit 1; }; }
32092 cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h. */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32100 #define $ac_func innocuous_$ac_func
32102 /* System header to define __stub macros and hopefully few prototypes,
32103 which can conflict with char $ac_func (); below.
32104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32105 <limits.h> exists even on freestanding compilers. */
32107 #ifdef __STDC__
32108 # include <limits.h>
32109 #else
32110 # include <assert.h>
32111 #endif
32113 #undef $ac_func
32115 /* Override any gcc2 internal prototype to avoid an error. */
32116 #ifdef __cplusplus
32117 extern "C"
32119 #endif
32120 /* We use char because int might match the return type of a gcc2
32121 builtin and then its argument prototype would still apply. */
32122 char $ac_func ();
32123 /* The GNU C library defines this for functions which it implements
32124 to always fail with ENOSYS. Some functions are actually named
32125 something starting with __ and the normal name is an alias. */
32126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32127 choke me
32128 #else
32129 char (*f) () = $ac_func;
32130 #endif
32131 #ifdef __cplusplus
32133 #endif
32136 main ()
32138 return f != $ac_func;
32140 return 0;
32142 _ACEOF
32143 rm -f conftest.$ac_objext conftest$ac_exeext
32144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32145 (eval $ac_link) 2>conftest.er1
32146 ac_status=$?
32147 grep -v '^ *+' conftest.er1 >conftest.err
32148 rm -f conftest.er1
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try='test -z "$ac_c_werror_flag"
32153 || test ! -s conftest.err'
32154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 (eval $ac_try) 2>&5
32156 ac_status=$?
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); }; } &&
32159 { ac_try='test -s conftest$ac_exeext'
32160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32161 (eval $ac_try) 2>&5
32162 ac_status=$?
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; }; then
32165 eval "$as_ac_var=yes"
32166 else
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32170 eval "$as_ac_var=no"
32172 rm -f conftest.err conftest.$ac_objext \
32173 conftest$ac_exeext conftest.$ac_ext
32175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32177 if test `eval echo '${'$as_ac_var'}'` = yes; then
32178 cat >>confdefs.h <<_ACEOF
32179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32180 _ACEOF
32183 done
32185 else
32187 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32188 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32189 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32190 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 else
32196 ac_ext=cc
32197 ac_cpp='$CXXCPP $CPPFLAGS'
32198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32202 cat >conftest.$ac_ext <<_ACEOF
32203 /* confdefs.h. */
32204 _ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32208 #include <math.h>
32210 main ()
32212 _fmodl(0, 0);
32214 return 0;
32216 _ACEOF
32217 rm -f conftest.$ac_objext
32218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32219 (eval $ac_compile) 2>conftest.er1
32220 ac_status=$?
32221 grep -v '^ *+' conftest.er1 >conftest.err
32222 rm -f conftest.er1
32223 cat conftest.err >&5
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); } &&
32226 { ac_try='test -z "$ac_cxx_werror_flag"
32227 || test ! -s conftest.err'
32228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32229 (eval $ac_try) 2>&5
32230 ac_status=$?
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); }; } &&
32233 { ac_try='test -s conftest.$ac_objext'
32234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32235 (eval $ac_try) 2>&5
32236 ac_status=$?
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); }; }; then
32239 glibcxx_cv_func__fmodl_use=yes
32240 else
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.$ac_ext >&5
32244 glibcxx_cv_func__fmodl_use=no
32246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32247 ac_ext=c
32248 ac_cpp='$CPP $CPPFLAGS'
32249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32258 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32260 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32262 for ac_func in _fmodl
32264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32265 echo "$as_me:$LINENO: checking for $ac_func" >&5
32266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32267 if eval "test \"\${$as_ac_var+set}\" = set"; then
32268 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 else
32270 if test x$gcc_no_link = xyes; then
32271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32273 { (exit 1); exit 1; }; }
32275 cat >conftest.$ac_ext <<_ACEOF
32276 /* confdefs.h. */
32277 _ACEOF
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32283 #define $ac_func innocuous_$ac_func
32285 /* System header to define __stub macros and hopefully few prototypes,
32286 which can conflict with char $ac_func (); below.
32287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32288 <limits.h> exists even on freestanding compilers. */
32290 #ifdef __STDC__
32291 # include <limits.h>
32292 #else
32293 # include <assert.h>
32294 #endif
32296 #undef $ac_func
32298 /* Override any gcc2 internal prototype to avoid an error. */
32299 #ifdef __cplusplus
32300 extern "C"
32302 #endif
32303 /* We use char because int might match the return type of a gcc2
32304 builtin and then its argument prototype would still apply. */
32305 char $ac_func ();
32306 /* The GNU C library defines this for functions which it implements
32307 to always fail with ENOSYS. Some functions are actually named
32308 something starting with __ and the normal name is an alias. */
32309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32310 choke me
32311 #else
32312 char (*f) () = $ac_func;
32313 #endif
32314 #ifdef __cplusplus
32316 #endif
32319 main ()
32321 return f != $ac_func;
32323 return 0;
32325 _ACEOF
32326 rm -f conftest.$ac_objext conftest$ac_exeext
32327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32328 (eval $ac_link) 2>conftest.er1
32329 ac_status=$?
32330 grep -v '^ *+' conftest.er1 >conftest.err
32331 rm -f conftest.er1
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } &&
32335 { ac_try='test -z "$ac_c_werror_flag"
32336 || test ! -s conftest.err'
32337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32338 (eval $ac_try) 2>&5
32339 ac_status=$?
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); }; } &&
32342 { ac_try='test -s conftest$ac_exeext'
32343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32344 (eval $ac_try) 2>&5
32345 ac_status=$?
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); }; }; then
32348 eval "$as_ac_var=yes"
32349 else
32350 echo "$as_me: failed program was:" >&5
32351 sed 's/^/| /' conftest.$ac_ext >&5
32353 eval "$as_ac_var=no"
32355 rm -f conftest.err conftest.$ac_objext \
32356 conftest$ac_exeext conftest.$ac_ext
32358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32360 if test `eval echo '${'$as_ac_var'}'` = yes; then
32361 cat >>confdefs.h <<_ACEOF
32362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32363 _ACEOF
32366 done
32376 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32377 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32378 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32379 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32380 echo $ECHO_N "(cached) $ECHO_C" >&6
32381 else
32385 ac_ext=cc
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32391 cat >conftest.$ac_ext <<_ACEOF
32392 /* confdefs.h. */
32393 _ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32397 #include <math.h>
32399 main ()
32401 frexpl(0, 0);
32403 return 0;
32405 _ACEOF
32406 rm -f conftest.$ac_objext
32407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32408 (eval $ac_compile) 2>conftest.er1
32409 ac_status=$?
32410 grep -v '^ *+' conftest.er1 >conftest.err
32411 rm -f conftest.er1
32412 cat conftest.err >&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); } &&
32415 { ac_try='test -z "$ac_cxx_werror_flag"
32416 || test ! -s conftest.err'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32419 ac_status=$?
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; } &&
32422 { ac_try='test -s conftest.$ac_objext'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32425 ac_status=$?
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; }; then
32428 glibcxx_cv_func_frexpl_use=yes
32429 else
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.$ac_ext >&5
32433 glibcxx_cv_func_frexpl_use=no
32435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32447 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32449 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32451 for ac_func in frexpl
32453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32454 echo "$as_me:$LINENO: checking for $ac_func" >&5
32455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32456 if eval "test \"\${$as_ac_var+set}\" = set"; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32459 if test x$gcc_no_link = xyes; then
32460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32462 { (exit 1); exit 1; }; }
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32472 #define $ac_func innocuous_$ac_func
32474 /* System header to define __stub macros and hopefully few prototypes,
32475 which can conflict with char $ac_func (); below.
32476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32477 <limits.h> exists even on freestanding compilers. */
32479 #ifdef __STDC__
32480 # include <limits.h>
32481 #else
32482 # include <assert.h>
32483 #endif
32485 #undef $ac_func
32487 /* Override any gcc2 internal prototype to avoid an error. */
32488 #ifdef __cplusplus
32489 extern "C"
32491 #endif
32492 /* We use char because int might match the return type of a gcc2
32493 builtin and then its argument prototype would still apply. */
32494 char $ac_func ();
32495 /* The GNU C library defines this for functions which it implements
32496 to always fail with ENOSYS. Some functions are actually named
32497 something starting with __ and the normal name is an alias. */
32498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32499 choke me
32500 #else
32501 char (*f) () = $ac_func;
32502 #endif
32503 #ifdef __cplusplus
32505 #endif
32508 main ()
32510 return f != $ac_func;
32512 return 0;
32514 _ACEOF
32515 rm -f conftest.$ac_objext conftest$ac_exeext
32516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32517 (eval $ac_link) 2>conftest.er1
32518 ac_status=$?
32519 grep -v '^ *+' conftest.er1 >conftest.err
32520 rm -f conftest.er1
32521 cat conftest.err >&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } &&
32524 { ac_try='test -z "$ac_c_werror_flag"
32525 || test ! -s conftest.err'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; } &&
32531 { ac_try='test -s conftest$ac_exeext'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32534 ac_status=$?
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; }; then
32537 eval "$as_ac_var=yes"
32538 else
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32542 eval "$as_ac_var=no"
32544 rm -f conftest.err conftest.$ac_objext \
32545 conftest$ac_exeext conftest.$ac_ext
32547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32549 if test `eval echo '${'$as_ac_var'}'` = yes; then
32550 cat >>confdefs.h <<_ACEOF
32551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32552 _ACEOF
32555 done
32557 else
32559 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32560 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32561 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32562 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32563 echo $ECHO_N "(cached) $ECHO_C" >&6
32564 else
32568 ac_ext=cc
32569 ac_cpp='$CXXCPP $CPPFLAGS'
32570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574 cat >conftest.$ac_ext <<_ACEOF
32575 /* confdefs.h. */
32576 _ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580 #include <math.h>
32582 main ()
32584 _frexpl(0, 0);
32586 return 0;
32588 _ACEOF
32589 rm -f conftest.$ac_objext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32591 (eval $ac_compile) 2>conftest.er1
32592 ac_status=$?
32593 grep -v '^ *+' conftest.er1 >conftest.err
32594 rm -f conftest.er1
32595 cat conftest.err >&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try='test -z "$ac_cxx_werror_flag"
32599 || test ! -s conftest.err'
32600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601 (eval $ac_try) 2>&5
32602 ac_status=$?
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); }; } &&
32605 { ac_try='test -s conftest.$ac_objext'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32608 ac_status=$?
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; }; then
32611 glibcxx_cv_func__frexpl_use=yes
32612 else
32613 echo "$as_me: failed program was:" >&5
32614 sed 's/^/| /' conftest.$ac_ext >&5
32616 glibcxx_cv_func__frexpl_use=no
32618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32619 ac_ext=c
32620 ac_cpp='$CPP $CPPFLAGS'
32621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32629 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32630 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32632 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32634 for ac_func in _frexpl
32636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32637 echo "$as_me:$LINENO: checking for $ac_func" >&5
32638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32639 if eval "test \"\${$as_ac_var+set}\" = set"; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 else
32642 if test x$gcc_no_link = xyes; then
32643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32645 { (exit 1); exit 1; }; }
32647 cat >conftest.$ac_ext <<_ACEOF
32648 /* confdefs.h. */
32649 _ACEOF
32650 cat confdefs.h >>conftest.$ac_ext
32651 cat >>conftest.$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32655 #define $ac_func innocuous_$ac_func
32657 /* System header to define __stub macros and hopefully few prototypes,
32658 which can conflict with char $ac_func (); below.
32659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32660 <limits.h> exists even on freestanding compilers. */
32662 #ifdef __STDC__
32663 # include <limits.h>
32664 #else
32665 # include <assert.h>
32666 #endif
32668 #undef $ac_func
32670 /* Override any gcc2 internal prototype to avoid an error. */
32671 #ifdef __cplusplus
32672 extern "C"
32674 #endif
32675 /* We use char because int might match the return type of a gcc2
32676 builtin and then its argument prototype would still apply. */
32677 char $ac_func ();
32678 /* The GNU C library defines this for functions which it implements
32679 to always fail with ENOSYS. Some functions are actually named
32680 something starting with __ and the normal name is an alias. */
32681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32682 choke me
32683 #else
32684 char (*f) () = $ac_func;
32685 #endif
32686 #ifdef __cplusplus
32688 #endif
32691 main ()
32693 return f != $ac_func;
32695 return 0;
32697 _ACEOF
32698 rm -f conftest.$ac_objext conftest$ac_exeext
32699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32700 (eval $ac_link) 2>conftest.er1
32701 ac_status=$?
32702 grep -v '^ *+' conftest.er1 >conftest.err
32703 rm -f conftest.er1
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try='test -z "$ac_c_werror_flag"
32708 || test ! -s conftest.err'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32711 ac_status=$?
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; } &&
32714 { ac_try='test -s conftest$ac_exeext'
32715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32716 (eval $ac_try) 2>&5
32717 ac_status=$?
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); }; }; then
32720 eval "$as_ac_var=yes"
32721 else
32722 echo "$as_me: failed program was:" >&5
32723 sed 's/^/| /' conftest.$ac_ext >&5
32725 eval "$as_ac_var=no"
32727 rm -f conftest.err conftest.$ac_objext \
32728 conftest$ac_exeext conftest.$ac_ext
32730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32732 if test `eval echo '${'$as_ac_var'}'` = yes; then
32733 cat >>confdefs.h <<_ACEOF
32734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32735 _ACEOF
32738 done
32748 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32749 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32750 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32751 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32752 echo $ECHO_N "(cached) $ECHO_C" >&6
32753 else
32757 ac_ext=cc
32758 ac_cpp='$CXXCPP $CPPFLAGS'
32759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32763 cat >conftest.$ac_ext <<_ACEOF
32764 /* confdefs.h. */
32765 _ACEOF
32766 cat confdefs.h >>conftest.$ac_ext
32767 cat >>conftest.$ac_ext <<_ACEOF
32768 /* end confdefs.h. */
32769 #include <math.h>
32771 main ()
32773 hypotl(0, 0);
32775 return 0;
32777 _ACEOF
32778 rm -f conftest.$ac_objext
32779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32780 (eval $ac_compile) 2>conftest.er1
32781 ac_status=$?
32782 grep -v '^ *+' conftest.er1 >conftest.err
32783 rm -f conftest.er1
32784 cat conftest.err >&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -z "$ac_cxx_werror_flag"
32788 || test ! -s conftest.err'
32789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32790 (eval $ac_try) 2>&5
32791 ac_status=$?
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); }; } &&
32794 { ac_try='test -s conftest.$ac_objext'
32795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32796 (eval $ac_try) 2>&5
32797 ac_status=$?
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); }; }; then
32800 glibcxx_cv_func_hypotl_use=yes
32801 else
32802 echo "$as_me: failed program was:" >&5
32803 sed 's/^/| /' conftest.$ac_ext >&5
32805 glibcxx_cv_func_hypotl_use=no
32807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32808 ac_ext=c
32809 ac_cpp='$CPP $CPPFLAGS'
32810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32819 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32821 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32823 for ac_func in hypotl
32825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32826 echo "$as_me:$LINENO: checking for $ac_func" >&5
32827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32828 if eval "test \"\${$as_ac_var+set}\" = set"; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32830 else
32831 if test x$gcc_no_link = xyes; then
32832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32834 { (exit 1); exit 1; }; }
32836 cat >conftest.$ac_ext <<_ACEOF
32837 /* confdefs.h. */
32838 _ACEOF
32839 cat confdefs.h >>conftest.$ac_ext
32840 cat >>conftest.$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32844 #define $ac_func innocuous_$ac_func
32846 /* System header to define __stub macros and hopefully few prototypes,
32847 which can conflict with char $ac_func (); below.
32848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32849 <limits.h> exists even on freestanding compilers. */
32851 #ifdef __STDC__
32852 # include <limits.h>
32853 #else
32854 # include <assert.h>
32855 #endif
32857 #undef $ac_func
32859 /* Override any gcc2 internal prototype to avoid an error. */
32860 #ifdef __cplusplus
32861 extern "C"
32863 #endif
32864 /* We use char because int might match the return type of a gcc2
32865 builtin and then its argument prototype would still apply. */
32866 char $ac_func ();
32867 /* The GNU C library defines this for functions which it implements
32868 to always fail with ENOSYS. Some functions are actually named
32869 something starting with __ and the normal name is an alias. */
32870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32871 choke me
32872 #else
32873 char (*f) () = $ac_func;
32874 #endif
32875 #ifdef __cplusplus
32877 #endif
32880 main ()
32882 return f != $ac_func;
32884 return 0;
32886 _ACEOF
32887 rm -f conftest.$ac_objext conftest$ac_exeext
32888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32889 (eval $ac_link) 2>conftest.er1
32890 ac_status=$?
32891 grep -v '^ *+' conftest.er1 >conftest.err
32892 rm -f conftest.er1
32893 cat conftest.err >&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); } &&
32896 { ac_try='test -z "$ac_c_werror_flag"
32897 || test ! -s conftest.err'
32898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32899 (eval $ac_try) 2>&5
32900 ac_status=$?
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); }; } &&
32903 { ac_try='test -s conftest$ac_exeext'
32904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32905 (eval $ac_try) 2>&5
32906 ac_status=$?
32907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32908 (exit $ac_status); }; }; then
32909 eval "$as_ac_var=yes"
32910 else
32911 echo "$as_me: failed program was:" >&5
32912 sed 's/^/| /' conftest.$ac_ext >&5
32914 eval "$as_ac_var=no"
32916 rm -f conftest.err conftest.$ac_objext \
32917 conftest$ac_exeext conftest.$ac_ext
32919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32921 if test `eval echo '${'$as_ac_var'}'` = yes; then
32922 cat >>confdefs.h <<_ACEOF
32923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32924 _ACEOF
32927 done
32929 else
32931 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32932 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32933 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32934 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32935 echo $ECHO_N "(cached) $ECHO_C" >&6
32936 else
32940 ac_ext=cc
32941 ac_cpp='$CXXCPP $CPPFLAGS'
32942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32946 cat >conftest.$ac_ext <<_ACEOF
32947 /* confdefs.h. */
32948 _ACEOF
32949 cat confdefs.h >>conftest.$ac_ext
32950 cat >>conftest.$ac_ext <<_ACEOF
32951 /* end confdefs.h. */
32952 #include <math.h>
32954 main ()
32956 _hypotl(0, 0);
32958 return 0;
32960 _ACEOF
32961 rm -f conftest.$ac_objext
32962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32963 (eval $ac_compile) 2>conftest.er1
32964 ac_status=$?
32965 grep -v '^ *+' conftest.er1 >conftest.err
32966 rm -f conftest.er1
32967 cat conftest.err >&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); } &&
32970 { ac_try='test -z "$ac_cxx_werror_flag"
32971 || test ! -s conftest.err'
32972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32973 (eval $ac_try) 2>&5
32974 ac_status=$?
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); }; } &&
32977 { ac_try='test -s conftest.$ac_objext'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32980 ac_status=$?
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; }; then
32983 glibcxx_cv_func__hypotl_use=yes
32984 else
32985 echo "$as_me: failed program was:" >&5
32986 sed 's/^/| /' conftest.$ac_ext >&5
32988 glibcxx_cv_func__hypotl_use=no
32990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32991 ac_ext=c
32992 ac_cpp='$CPP $CPPFLAGS'
32993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
33002 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
33004 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33006 for ac_func in _hypotl
33008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33009 echo "$as_me:$LINENO: checking for $ac_func" >&5
33010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33011 if eval "test \"\${$as_ac_var+set}\" = set"; then
33012 echo $ECHO_N "(cached) $ECHO_C" >&6
33013 else
33014 if test x$gcc_no_link = xyes; then
33015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33017 { (exit 1); exit 1; }; }
33019 cat >conftest.$ac_ext <<_ACEOF
33020 /* confdefs.h. */
33021 _ACEOF
33022 cat confdefs.h >>conftest.$ac_ext
33023 cat >>conftest.$ac_ext <<_ACEOF
33024 /* end confdefs.h. */
33025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33027 #define $ac_func innocuous_$ac_func
33029 /* System header to define __stub macros and hopefully few prototypes,
33030 which can conflict with char $ac_func (); below.
33031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33032 <limits.h> exists even on freestanding compilers. */
33034 #ifdef __STDC__
33035 # include <limits.h>
33036 #else
33037 # include <assert.h>
33038 #endif
33040 #undef $ac_func
33042 /* Override any gcc2 internal prototype to avoid an error. */
33043 #ifdef __cplusplus
33044 extern "C"
33046 #endif
33047 /* We use char because int might match the return type of a gcc2
33048 builtin and then its argument prototype would still apply. */
33049 char $ac_func ();
33050 /* The GNU C library defines this for functions which it implements
33051 to always fail with ENOSYS. Some functions are actually named
33052 something starting with __ and the normal name is an alias. */
33053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33054 choke me
33055 #else
33056 char (*f) () = $ac_func;
33057 #endif
33058 #ifdef __cplusplus
33060 #endif
33063 main ()
33065 return f != $ac_func;
33067 return 0;
33069 _ACEOF
33070 rm -f conftest.$ac_objext conftest$ac_exeext
33071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33072 (eval $ac_link) 2>conftest.er1
33073 ac_status=$?
33074 grep -v '^ *+' conftest.er1 >conftest.err
33075 rm -f conftest.er1
33076 cat conftest.err >&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); } &&
33079 { ac_try='test -z "$ac_c_werror_flag"
33080 || test ! -s conftest.err'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33083 ac_status=$?
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; } &&
33086 { ac_try='test -s conftest$ac_exeext'
33087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33088 (eval $ac_try) 2>&5
33089 ac_status=$?
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); }; }; then
33092 eval "$as_ac_var=yes"
33093 else
33094 echo "$as_me: failed program was:" >&5
33095 sed 's/^/| /' conftest.$ac_ext >&5
33097 eval "$as_ac_var=no"
33099 rm -f conftest.err conftest.$ac_objext \
33100 conftest$ac_exeext conftest.$ac_ext
33102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33104 if test `eval echo '${'$as_ac_var'}'` = yes; then
33105 cat >>confdefs.h <<_ACEOF
33106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33107 _ACEOF
33110 done
33120 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33121 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33122 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33123 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33125 else
33129 ac_ext=cc
33130 ac_cpp='$CXXCPP $CPPFLAGS'
33131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33135 cat >conftest.$ac_ext <<_ACEOF
33136 /* confdefs.h. */
33137 _ACEOF
33138 cat confdefs.h >>conftest.$ac_ext
33139 cat >>conftest.$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33141 #include <math.h>
33143 main ()
33145 ldexpl(0, 0);
33147 return 0;
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33153 ac_status=$?
33154 grep -v '^ *+' conftest.er1 >conftest.err
33155 rm -f conftest.er1
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try='test -z "$ac_cxx_werror_flag"
33160 || test ! -s conftest.err'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; } &&
33166 { ac_try='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 glibcxx_cv_func_ldexpl_use=yes
33173 else
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33177 glibcxx_cv_func_ldexpl_use=no
33179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33180 ac_ext=c
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33191 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33193 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33195 for ac_func in ldexpl
33197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33198 echo "$as_me:$LINENO: checking for $ac_func" >&5
33199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33200 if eval "test \"\${$as_ac_var+set}\" = set"; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203 if test x$gcc_no_link = xyes; then
33204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33206 { (exit 1); exit 1; }; }
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h. */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33216 #define $ac_func innocuous_$ac_func
33218 /* System header to define __stub macros and hopefully few prototypes,
33219 which can conflict with char $ac_func (); below.
33220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221 <limits.h> exists even on freestanding compilers. */
33223 #ifdef __STDC__
33224 # include <limits.h>
33225 #else
33226 # include <assert.h>
33227 #endif
33229 #undef $ac_func
33231 /* Override any gcc2 internal prototype to avoid an error. */
33232 #ifdef __cplusplus
33233 extern "C"
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33238 char $ac_func ();
33239 /* The GNU C library defines this for functions which it implements
33240 to always fail with ENOSYS. Some functions are actually named
33241 something starting with __ and the normal name is an alias. */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33243 choke me
33244 #else
33245 char (*f) () = $ac_func;
33246 #endif
33247 #ifdef __cplusplus
33249 #endif
33252 main ()
33254 return f != $ac_func;
33256 return 0;
33258 _ACEOF
33259 rm -f conftest.$ac_objext conftest$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261 (eval $ac_link) 2>conftest.er1
33262 ac_status=$?
33263 grep -v '^ *+' conftest.er1 >conftest.err
33264 rm -f conftest.er1
33265 cat conftest.err >&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try='test -s conftest$ac_exeext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 eval "$as_ac_var=yes"
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33286 eval "$as_ac_var=no"
33288 rm -f conftest.err conftest.$ac_objext \
33289 conftest$ac_exeext conftest.$ac_ext
33291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33293 if test `eval echo '${'$as_ac_var'}'` = yes; then
33294 cat >>confdefs.h <<_ACEOF
33295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33296 _ACEOF
33299 done
33301 else
33303 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33304 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33305 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33306 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33312 ac_ext=cc
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 #include <math.h>
33326 main ()
33328 _ldexpl(0, 0);
33330 return 0;
33332 _ACEOF
33333 rm -f conftest.$ac_objext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33335 (eval $ac_compile) 2>conftest.er1
33336 ac_status=$?
33337 grep -v '^ *+' conftest.er1 >conftest.err
33338 rm -f conftest.er1
33339 cat conftest.err >&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -z "$ac_cxx_werror_flag"
33343 || test ! -s conftest.err'
33344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33345 (eval $ac_try) 2>&5
33346 ac_status=$?
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); }; } &&
33349 { ac_try='test -s conftest.$ac_objext'
33350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351 (eval $ac_try) 2>&5
33352 ac_status=$?
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); }; }; then
33355 glibcxx_cv_func__ldexpl_use=yes
33356 else
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.$ac_ext >&5
33360 glibcxx_cv_func__ldexpl_use=no
33362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33363 ac_ext=c
33364 ac_cpp='$CPP $CPPFLAGS'
33365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33374 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33376 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33378 for ac_func in _ldexpl
33380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33381 echo "$as_me:$LINENO: checking for $ac_func" >&5
33382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33383 if eval "test \"\${$as_ac_var+set}\" = set"; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33385 else
33386 if test x$gcc_no_link = xyes; then
33387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33389 { (exit 1); exit 1; }; }
33391 cat >conftest.$ac_ext <<_ACEOF
33392 /* confdefs.h. */
33393 _ACEOF
33394 cat confdefs.h >>conftest.$ac_ext
33395 cat >>conftest.$ac_ext <<_ACEOF
33396 /* end confdefs.h. */
33397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33399 #define $ac_func innocuous_$ac_func
33401 /* System header to define __stub macros and hopefully few prototypes,
33402 which can conflict with char $ac_func (); below.
33403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33404 <limits.h> exists even on freestanding compilers. */
33406 #ifdef __STDC__
33407 # include <limits.h>
33408 #else
33409 # include <assert.h>
33410 #endif
33412 #undef $ac_func
33414 /* Override any gcc2 internal prototype to avoid an error. */
33415 #ifdef __cplusplus
33416 extern "C"
33418 #endif
33419 /* We use char because int might match the return type of a gcc2
33420 builtin and then its argument prototype would still apply. */
33421 char $ac_func ();
33422 /* The GNU C library defines this for functions which it implements
33423 to always fail with ENOSYS. Some functions are actually named
33424 something starting with __ and the normal name is an alias. */
33425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33426 choke me
33427 #else
33428 char (*f) () = $ac_func;
33429 #endif
33430 #ifdef __cplusplus
33432 #endif
33435 main ()
33437 return f != $ac_func;
33439 return 0;
33441 _ACEOF
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33444 (eval $ac_link) 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } &&
33451 { ac_try='test -z "$ac_c_werror_flag"
33452 || test ! -s conftest.err'
33453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33454 (eval $ac_try) 2>&5
33455 ac_status=$?
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; } &&
33458 { ac_try='test -s conftest$ac_exeext'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; }; then
33464 eval "$as_ac_var=yes"
33465 else
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.$ac_ext >&5
33469 eval "$as_ac_var=no"
33471 rm -f conftest.err conftest.$ac_objext \
33472 conftest$ac_exeext conftest.$ac_ext
33474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33476 if test `eval echo '${'$as_ac_var'}'` = yes; then
33477 cat >>confdefs.h <<_ACEOF
33478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33479 _ACEOF
33482 done
33492 echo "$as_me:$LINENO: checking for logl declaration" >&5
33493 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33494 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33495 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497 else
33501 ac_ext=cc
33502 ac_cpp='$CXXCPP $CPPFLAGS'
33503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507 cat >conftest.$ac_ext <<_ACEOF
33508 /* confdefs.h. */
33509 _ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513 #include <math.h>
33514 #ifdef HAVE_IEEEFP_H
33515 #include <ieeefp.h>
33516 #endif
33519 main ()
33521 logl(0);
33523 return 0;
33525 _ACEOF
33526 rm -f conftest.$ac_objext
33527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33528 (eval $ac_compile) 2>conftest.er1
33529 ac_status=$?
33530 grep -v '^ *+' conftest.er1 >conftest.err
33531 rm -f conftest.er1
33532 cat conftest.err >&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); } &&
33535 { ac_try='test -z "$ac_cxx_werror_flag"
33536 || test ! -s conftest.err'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33539 ac_status=$?
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; } &&
33542 { ac_try='test -s conftest.$ac_objext'
33543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33544 (eval $ac_try) 2>&5
33545 ac_status=$?
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); }; }; then
33548 glibcxx_cv_func_logl_use=yes
33549 else
33550 echo "$as_me: failed program was:" >&5
33551 sed 's/^/| /' conftest.$ac_ext >&5
33553 glibcxx_cv_func_logl_use=no
33555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33556 ac_ext=c
33557 ac_cpp='$CPP $CPPFLAGS'
33558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33566 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33567 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33569 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33571 for ac_func in logl
33573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33574 echo "$as_me:$LINENO: checking for $ac_func" >&5
33575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33576 if eval "test \"\${$as_ac_var+set}\" = set"; then
33577 echo $ECHO_N "(cached) $ECHO_C" >&6
33578 else
33579 if test x$gcc_no_link = xyes; then
33580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33582 { (exit 1); exit 1; }; }
33584 cat >conftest.$ac_ext <<_ACEOF
33585 /* confdefs.h. */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33592 #define $ac_func innocuous_$ac_func
33594 /* System header to define __stub macros and hopefully few prototypes,
33595 which can conflict with char $ac_func (); below.
33596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33597 <limits.h> exists even on freestanding compilers. */
33599 #ifdef __STDC__
33600 # include <limits.h>
33601 #else
33602 # include <assert.h>
33603 #endif
33605 #undef $ac_func
33607 /* Override any gcc2 internal prototype to avoid an error. */
33608 #ifdef __cplusplus
33609 extern "C"
33611 #endif
33612 /* We use char because int might match the return type of a gcc2
33613 builtin and then its argument prototype would still apply. */
33614 char $ac_func ();
33615 /* The GNU C library defines this for functions which it implements
33616 to always fail with ENOSYS. Some functions are actually named
33617 something starting with __ and the normal name is an alias. */
33618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33619 choke me
33620 #else
33621 char (*f) () = $ac_func;
33622 #endif
33623 #ifdef __cplusplus
33625 #endif
33628 main ()
33630 return f != $ac_func;
33632 return 0;
33634 _ACEOF
33635 rm -f conftest.$ac_objext conftest$ac_exeext
33636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33637 (eval $ac_link) 2>conftest.er1
33638 ac_status=$?
33639 grep -v '^ *+' conftest.er1 >conftest.err
33640 rm -f conftest.er1
33641 cat conftest.err >&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); } &&
33644 { ac_try='test -z "$ac_c_werror_flag"
33645 || test ! -s conftest.err'
33646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33647 (eval $ac_try) 2>&5
33648 ac_status=$?
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); }; } &&
33651 { ac_try='test -s conftest$ac_exeext'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33654 ac_status=$?
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; }; then
33657 eval "$as_ac_var=yes"
33658 else
33659 echo "$as_me: failed program was:" >&5
33660 sed 's/^/| /' conftest.$ac_ext >&5
33662 eval "$as_ac_var=no"
33664 rm -f conftest.err conftest.$ac_objext \
33665 conftest$ac_exeext conftest.$ac_ext
33667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669 if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h <<_ACEOF
33671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33672 _ACEOF
33675 done
33677 else
33679 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33680 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33681 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33682 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33688 ac_ext=cc
33689 ac_cpp='$CXXCPP $CPPFLAGS'
33690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33694 cat >conftest.$ac_ext <<_ACEOF
33695 /* confdefs.h. */
33696 _ACEOF
33697 cat confdefs.h >>conftest.$ac_ext
33698 cat >>conftest.$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 #include <math.h>
33701 #ifdef HAVE_IEEEFP_H
33702 #include <ieeefp.h>
33703 #endif
33706 main ()
33708 _logl(0);
33710 return 0;
33712 _ACEOF
33713 rm -f conftest.$ac_objext
33714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33715 (eval $ac_compile) 2>conftest.er1
33716 ac_status=$?
33717 grep -v '^ *+' conftest.er1 >conftest.err
33718 rm -f conftest.er1
33719 cat conftest.err >&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); } &&
33722 { ac_try='test -z "$ac_cxx_werror_flag"
33723 || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try='test -s conftest.$ac_objext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33732 ac_status=$?
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735 glibcxx_cv_func__logl_use=yes
33736 else
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.$ac_ext >&5
33740 glibcxx_cv_func__logl_use=no
33742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33743 ac_ext=c
33744 ac_cpp='$CPP $CPPFLAGS'
33745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33753 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33754 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33756 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33758 for ac_func in _logl
33760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33761 echo "$as_me:$LINENO: checking for $ac_func" >&5
33762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33763 if eval "test \"\${$as_ac_var+set}\" = set"; then
33764 echo $ECHO_N "(cached) $ECHO_C" >&6
33765 else
33766 if test x$gcc_no_link = xyes; then
33767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33769 { (exit 1); exit 1; }; }
33771 cat >conftest.$ac_ext <<_ACEOF
33772 /* confdefs.h. */
33773 _ACEOF
33774 cat confdefs.h >>conftest.$ac_ext
33775 cat >>conftest.$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33779 #define $ac_func innocuous_$ac_func
33781 /* System header to define __stub macros and hopefully few prototypes,
33782 which can conflict with char $ac_func (); below.
33783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33784 <limits.h> exists even on freestanding compilers. */
33786 #ifdef __STDC__
33787 # include <limits.h>
33788 #else
33789 # include <assert.h>
33790 #endif
33792 #undef $ac_func
33794 /* Override any gcc2 internal prototype to avoid an error. */
33795 #ifdef __cplusplus
33796 extern "C"
33798 #endif
33799 /* We use char because int might match the return type of a gcc2
33800 builtin and then its argument prototype would still apply. */
33801 char $ac_func ();
33802 /* The GNU C library defines this for functions which it implements
33803 to always fail with ENOSYS. Some functions are actually named
33804 something starting with __ and the normal name is an alias. */
33805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33806 choke me
33807 #else
33808 char (*f) () = $ac_func;
33809 #endif
33810 #ifdef __cplusplus
33812 #endif
33815 main ()
33817 return f != $ac_func;
33819 return 0;
33821 _ACEOF
33822 rm -f conftest.$ac_objext conftest$ac_exeext
33823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33824 (eval $ac_link) 2>conftest.er1
33825 ac_status=$?
33826 grep -v '^ *+' conftest.er1 >conftest.err
33827 rm -f conftest.er1
33828 cat conftest.err >&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); } &&
33831 { ac_try='test -z "$ac_c_werror_flag"
33832 || test ! -s conftest.err'
33833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33834 (eval $ac_try) 2>&5
33835 ac_status=$?
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); }; } &&
33838 { ac_try='test -s conftest$ac_exeext'
33839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840 (eval $ac_try) 2>&5
33841 ac_status=$?
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; }; then
33844 eval "$as_ac_var=yes"
33845 else
33846 echo "$as_me: failed program was:" >&5
33847 sed 's/^/| /' conftest.$ac_ext >&5
33849 eval "$as_ac_var=no"
33851 rm -f conftest.err conftest.$ac_objext \
33852 conftest$ac_exeext conftest.$ac_ext
33854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33856 if test `eval echo '${'$as_ac_var'}'` = yes; then
33857 cat >>confdefs.h <<_ACEOF
33858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33859 _ACEOF
33862 done
33872 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33873 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33874 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33875 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33876 echo $ECHO_N "(cached) $ECHO_C" >&6
33877 else
33881 ac_ext=cc
33882 ac_cpp='$CXXCPP $CPPFLAGS'
33883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33887 cat >conftest.$ac_ext <<_ACEOF
33888 /* confdefs.h. */
33889 _ACEOF
33890 cat confdefs.h >>conftest.$ac_ext
33891 cat >>conftest.$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33893 #include <math.h>
33894 #ifdef HAVE_IEEEFP_H
33895 #include <ieeefp.h>
33896 #endif
33899 main ()
33901 log10l(0);
33903 return 0;
33905 _ACEOF
33906 rm -f conftest.$ac_objext
33907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33908 (eval $ac_compile) 2>conftest.er1
33909 ac_status=$?
33910 grep -v '^ *+' conftest.er1 >conftest.err
33911 rm -f conftest.er1
33912 cat conftest.err >&5
33913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33914 (exit $ac_status); } &&
33915 { ac_try='test -z "$ac_cxx_werror_flag"
33916 || test ! -s conftest.err'
33917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33918 (eval $ac_try) 2>&5
33919 ac_status=$?
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); }; } &&
33922 { ac_try='test -s conftest.$ac_objext'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33925 ac_status=$?
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; }; then
33928 glibcxx_cv_func_log10l_use=yes
33929 else
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33933 glibcxx_cv_func_log10l_use=no
33935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33947 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33949 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33951 for ac_func in log10l
33953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33954 echo "$as_me:$LINENO: checking for $ac_func" >&5
33955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33956 if eval "test \"\${$as_ac_var+set}\" = set"; then
33957 echo $ECHO_N "(cached) $ECHO_C" >&6
33958 else
33959 if test x$gcc_no_link = xyes; then
33960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33962 { (exit 1); exit 1; }; }
33964 cat >conftest.$ac_ext <<_ACEOF
33965 /* confdefs.h. */
33966 _ACEOF
33967 cat confdefs.h >>conftest.$ac_ext
33968 cat >>conftest.$ac_ext <<_ACEOF
33969 /* end confdefs.h. */
33970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33972 #define $ac_func innocuous_$ac_func
33974 /* System header to define __stub macros and hopefully few prototypes,
33975 which can conflict with char $ac_func (); below.
33976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33977 <limits.h> exists even on freestanding compilers. */
33979 #ifdef __STDC__
33980 # include <limits.h>
33981 #else
33982 # include <assert.h>
33983 #endif
33985 #undef $ac_func
33987 /* Override any gcc2 internal prototype to avoid an error. */
33988 #ifdef __cplusplus
33989 extern "C"
33991 #endif
33992 /* We use char because int might match the return type of a gcc2
33993 builtin and then its argument prototype would still apply. */
33994 char $ac_func ();
33995 /* The GNU C library defines this for functions which it implements
33996 to always fail with ENOSYS. Some functions are actually named
33997 something starting with __ and the normal name is an alias. */
33998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33999 choke me
34000 #else
34001 char (*f) () = $ac_func;
34002 #endif
34003 #ifdef __cplusplus
34005 #endif
34008 main ()
34010 return f != $ac_func;
34012 return 0;
34014 _ACEOF
34015 rm -f conftest.$ac_objext conftest$ac_exeext
34016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34017 (eval $ac_link) 2>conftest.er1
34018 ac_status=$?
34019 grep -v '^ *+' conftest.er1 >conftest.err
34020 rm -f conftest.er1
34021 cat conftest.err >&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } &&
34024 { ac_try='test -z "$ac_c_werror_flag"
34025 || test ! -s conftest.err'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34028 ac_status=$?
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; } &&
34031 { ac_try='test -s conftest$ac_exeext'
34032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34033 (eval $ac_try) 2>&5
34034 ac_status=$?
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); }; }; then
34037 eval "$as_ac_var=yes"
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34042 eval "$as_ac_var=no"
34044 rm -f conftest.err conftest.$ac_objext \
34045 conftest$ac_exeext conftest.$ac_ext
34047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34049 if test `eval echo '${'$as_ac_var'}'` = yes; then
34050 cat >>confdefs.h <<_ACEOF
34051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34052 _ACEOF
34055 done
34057 else
34059 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34060 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34061 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34062 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34064 else
34068 ac_ext=cc
34069 ac_cpp='$CXXCPP $CPPFLAGS'
34070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 #include <math.h>
34081 #ifdef HAVE_IEEEFP_H
34082 #include <ieeefp.h>
34083 #endif
34086 main ()
34088 _log10l(0);
34090 return 0;
34092 _ACEOF
34093 rm -f conftest.$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34096 ac_status=$?
34097 grep -v '^ *+' conftest.er1 >conftest.err
34098 rm -f conftest.er1
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try='test -z "$ac_cxx_werror_flag"
34103 || test ! -s conftest.err'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34106 ac_status=$?
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; } &&
34109 { ac_try='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34112 ac_status=$?
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 glibcxx_cv_func__log10l_use=yes
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34120 glibcxx_cv_func__log10l_use=no
34122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34123 ac_ext=c
34124 ac_cpp='$CPP $CPPFLAGS'
34125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34134 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34136 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34138 for ac_func in _log10l
34140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34141 echo "$as_me:$LINENO: checking for $ac_func" >&5
34142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34143 if eval "test \"\${$as_ac_var+set}\" = set"; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 else
34146 if test x$gcc_no_link = xyes; then
34147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34149 { (exit 1); exit 1; }; }
34151 cat >conftest.$ac_ext <<_ACEOF
34152 /* confdefs.h. */
34153 _ACEOF
34154 cat confdefs.h >>conftest.$ac_ext
34155 cat >>conftest.$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34159 #define $ac_func innocuous_$ac_func
34161 /* System header to define __stub macros and hopefully few prototypes,
34162 which can conflict with char $ac_func (); below.
34163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34164 <limits.h> exists even on freestanding compilers. */
34166 #ifdef __STDC__
34167 # include <limits.h>
34168 #else
34169 # include <assert.h>
34170 #endif
34172 #undef $ac_func
34174 /* Override any gcc2 internal prototype to avoid an error. */
34175 #ifdef __cplusplus
34176 extern "C"
34178 #endif
34179 /* We use char because int might match the return type of a gcc2
34180 builtin and then its argument prototype would still apply. */
34181 char $ac_func ();
34182 /* The GNU C library defines this for functions which it implements
34183 to always fail with ENOSYS. Some functions are actually named
34184 something starting with __ and the normal name is an alias. */
34185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34186 choke me
34187 #else
34188 char (*f) () = $ac_func;
34189 #endif
34190 #ifdef __cplusplus
34192 #endif
34195 main ()
34197 return f != $ac_func;
34199 return 0;
34201 _ACEOF
34202 rm -f conftest.$ac_objext conftest$ac_exeext
34203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34204 (eval $ac_link) 2>conftest.er1
34205 ac_status=$?
34206 grep -v '^ *+' conftest.er1 >conftest.err
34207 rm -f conftest.er1
34208 cat conftest.err >&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); } &&
34211 { ac_try='test -z "$ac_c_werror_flag"
34212 || test ! -s conftest.err'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; } &&
34218 { ac_try='test -s conftest$ac_exeext'
34219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220 (eval $ac_try) 2>&5
34221 ac_status=$?
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); }; }; then
34224 eval "$as_ac_var=yes"
34225 else
34226 echo "$as_me: failed program was:" >&5
34227 sed 's/^/| /' conftest.$ac_ext >&5
34229 eval "$as_ac_var=no"
34231 rm -f conftest.err conftest.$ac_objext \
34232 conftest$ac_exeext conftest.$ac_ext
34234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34236 if test `eval echo '${'$as_ac_var'}'` = yes; then
34237 cat >>confdefs.h <<_ACEOF
34238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34239 _ACEOF
34242 done
34252 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34253 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34254 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34255 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34261 ac_ext=cc
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34267 cat >conftest.$ac_ext <<_ACEOF
34268 /* confdefs.h. */
34269 _ACEOF
34270 cat confdefs.h >>conftest.$ac_ext
34271 cat >>conftest.$ac_ext <<_ACEOF
34272 /* end confdefs.h. */
34273 #include <math.h>
34275 main ()
34277 modfl(0, 0);
34279 return 0;
34281 _ACEOF
34282 rm -f conftest.$ac_objext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34284 (eval $ac_compile) 2>conftest.er1
34285 ac_status=$?
34286 grep -v '^ *+' conftest.er1 >conftest.err
34287 rm -f conftest.er1
34288 cat conftest.err >&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); } &&
34291 { ac_try='test -z "$ac_cxx_werror_flag"
34292 || test ! -s conftest.err'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34295 ac_status=$?
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; } &&
34298 { ac_try='test -s conftest.$ac_objext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 glibcxx_cv_func_modfl_use=yes
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34309 glibcxx_cv_func_modfl_use=no
34311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34312 ac_ext=c
34313 ac_cpp='$CPP $CPPFLAGS'
34314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34323 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34325 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34327 for ac_func in modfl
34329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34330 echo "$as_me:$LINENO: checking for $ac_func" >&5
34331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34332 if eval "test \"\${$as_ac_var+set}\" = set"; then
34333 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 else
34335 if test x$gcc_no_link = xyes; then
34336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34338 { (exit 1); exit 1; }; }
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h. */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34348 #define $ac_func innocuous_$ac_func
34350 /* System header to define __stub macros and hopefully few prototypes,
34351 which can conflict with char $ac_func (); below.
34352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34353 <limits.h> exists even on freestanding compilers. */
34355 #ifdef __STDC__
34356 # include <limits.h>
34357 #else
34358 # include <assert.h>
34359 #endif
34361 #undef $ac_func
34363 /* Override any gcc2 internal prototype to avoid an error. */
34364 #ifdef __cplusplus
34365 extern "C"
34367 #endif
34368 /* We use char because int might match the return type of a gcc2
34369 builtin and then its argument prototype would still apply. */
34370 char $ac_func ();
34371 /* The GNU C library defines this for functions which it implements
34372 to always fail with ENOSYS. Some functions are actually named
34373 something starting with __ and the normal name is an alias. */
34374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34375 choke me
34376 #else
34377 char (*f) () = $ac_func;
34378 #endif
34379 #ifdef __cplusplus
34381 #endif
34384 main ()
34386 return f != $ac_func;
34388 return 0;
34390 _ACEOF
34391 rm -f conftest.$ac_objext conftest$ac_exeext
34392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34393 (eval $ac_link) 2>conftest.er1
34394 ac_status=$?
34395 grep -v '^ *+' conftest.er1 >conftest.err
34396 rm -f conftest.er1
34397 cat conftest.err >&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); } &&
34400 { ac_try='test -z "$ac_c_werror_flag"
34401 || test ! -s conftest.err'
34402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34403 (eval $ac_try) 2>&5
34404 ac_status=$?
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); }; } &&
34407 { ac_try='test -s conftest$ac_exeext'
34408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34409 (eval $ac_try) 2>&5
34410 ac_status=$?
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); }; }; then
34413 eval "$as_ac_var=yes"
34414 else
34415 echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34418 eval "$as_ac_var=no"
34420 rm -f conftest.err conftest.$ac_objext \
34421 conftest$ac_exeext conftest.$ac_ext
34423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34425 if test `eval echo '${'$as_ac_var'}'` = yes; then
34426 cat >>confdefs.h <<_ACEOF
34427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34428 _ACEOF
34431 done
34433 else
34435 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34436 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34437 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34438 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34440 else
34444 ac_ext=cc
34445 ac_cpp='$CXXCPP $CPPFLAGS'
34446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34450 cat >conftest.$ac_ext <<_ACEOF
34451 /* confdefs.h. */
34452 _ACEOF
34453 cat confdefs.h >>conftest.$ac_ext
34454 cat >>conftest.$ac_ext <<_ACEOF
34455 /* end confdefs.h. */
34456 #include <math.h>
34458 main ()
34460 _modfl(0, 0);
34462 return 0;
34464 _ACEOF
34465 rm -f conftest.$ac_objext
34466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34467 (eval $ac_compile) 2>conftest.er1
34468 ac_status=$?
34469 grep -v '^ *+' conftest.er1 >conftest.err
34470 rm -f conftest.er1
34471 cat conftest.err >&5
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); } &&
34474 { ac_try='test -z "$ac_cxx_werror_flag"
34475 || test ! -s conftest.err'
34476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34477 (eval $ac_try) 2>&5
34478 ac_status=$?
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); }; } &&
34481 { ac_try='test -s conftest.$ac_objext'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34484 ac_status=$?
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; }; then
34487 glibcxx_cv_func__modfl_use=yes
34488 else
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.$ac_ext >&5
34492 glibcxx_cv_func__modfl_use=no
34494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34495 ac_ext=c
34496 ac_cpp='$CPP $CPPFLAGS'
34497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34505 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34506 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34508 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34510 for ac_func in _modfl
34512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34513 echo "$as_me:$LINENO: checking for $ac_func" >&5
34514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34515 if eval "test \"\${$as_ac_var+set}\" = set"; then
34516 echo $ECHO_N "(cached) $ECHO_C" >&6
34517 else
34518 if test x$gcc_no_link = xyes; then
34519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34521 { (exit 1); exit 1; }; }
34523 cat >conftest.$ac_ext <<_ACEOF
34524 /* confdefs.h. */
34525 _ACEOF
34526 cat confdefs.h >>conftest.$ac_ext
34527 cat >>conftest.$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34531 #define $ac_func innocuous_$ac_func
34533 /* System header to define __stub macros and hopefully few prototypes,
34534 which can conflict with char $ac_func (); below.
34535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34536 <limits.h> exists even on freestanding compilers. */
34538 #ifdef __STDC__
34539 # include <limits.h>
34540 #else
34541 # include <assert.h>
34542 #endif
34544 #undef $ac_func
34546 /* Override any gcc2 internal prototype to avoid an error. */
34547 #ifdef __cplusplus
34548 extern "C"
34550 #endif
34551 /* We use char because int might match the return type of a gcc2
34552 builtin and then its argument prototype would still apply. */
34553 char $ac_func ();
34554 /* The GNU C library defines this for functions which it implements
34555 to always fail with ENOSYS. Some functions are actually named
34556 something starting with __ and the normal name is an alias. */
34557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34558 choke me
34559 #else
34560 char (*f) () = $ac_func;
34561 #endif
34562 #ifdef __cplusplus
34564 #endif
34567 main ()
34569 return f != $ac_func;
34571 return 0;
34573 _ACEOF
34574 rm -f conftest.$ac_objext conftest$ac_exeext
34575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34576 (eval $ac_link) 2>conftest.er1
34577 ac_status=$?
34578 grep -v '^ *+' conftest.er1 >conftest.err
34579 rm -f conftest.er1
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } &&
34583 { ac_try='test -z "$ac_c_werror_flag"
34584 || test ! -s conftest.err'
34585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34586 (eval $ac_try) 2>&5
34587 ac_status=$?
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); }; } &&
34590 { ac_try='test -s conftest$ac_exeext'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; }; then
34596 eval "$as_ac_var=yes"
34597 else
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34601 eval "$as_ac_var=no"
34603 rm -f conftest.err conftest.$ac_objext \
34604 conftest$ac_exeext conftest.$ac_ext
34606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34608 if test `eval echo '${'$as_ac_var'}'` = yes; then
34609 cat >>confdefs.h <<_ACEOF
34610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34611 _ACEOF
34614 done
34624 echo "$as_me:$LINENO: checking for powl declaration" >&5
34625 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34626 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34627 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34633 ac_ext=cc
34634 ac_cpp='$CXXCPP $CPPFLAGS'
34635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34639 cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h. */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 #include <math.h>
34647 main ()
34649 powl(0, 0);
34651 return 0;
34653 _ACEOF
34654 rm -f conftest.$ac_objext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34656 (eval $ac_compile) 2>conftest.er1
34657 ac_status=$?
34658 grep -v '^ *+' conftest.er1 >conftest.err
34659 rm -f conftest.er1
34660 cat conftest.err >&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); } &&
34663 { ac_try='test -z "$ac_cxx_werror_flag"
34664 || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34667 ac_status=$?
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try='test -s conftest.$ac_objext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34673 ac_status=$?
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34676 glibcxx_cv_func_powl_use=yes
34677 else
34678 echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34681 glibcxx_cv_func_powl_use=no
34683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34684 ac_ext=c
34685 ac_cpp='$CPP $CPPFLAGS'
34686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34695 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34697 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34699 for ac_func in powl
34701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34702 echo "$as_me:$LINENO: checking for $ac_func" >&5
34703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34704 if eval "test \"\${$as_ac_var+set}\" = set"; then
34705 echo $ECHO_N "(cached) $ECHO_C" >&6
34706 else
34707 if test x$gcc_no_link = xyes; then
34708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34710 { (exit 1); exit 1; }; }
34712 cat >conftest.$ac_ext <<_ACEOF
34713 /* confdefs.h. */
34714 _ACEOF
34715 cat confdefs.h >>conftest.$ac_ext
34716 cat >>conftest.$ac_ext <<_ACEOF
34717 /* end confdefs.h. */
34718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34720 #define $ac_func innocuous_$ac_func
34722 /* System header to define __stub macros and hopefully few prototypes,
34723 which can conflict with char $ac_func (); below.
34724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34725 <limits.h> exists even on freestanding compilers. */
34727 #ifdef __STDC__
34728 # include <limits.h>
34729 #else
34730 # include <assert.h>
34731 #endif
34733 #undef $ac_func
34735 /* Override any gcc2 internal prototype to avoid an error. */
34736 #ifdef __cplusplus
34737 extern "C"
34739 #endif
34740 /* We use char because int might match the return type of a gcc2
34741 builtin and then its argument prototype would still apply. */
34742 char $ac_func ();
34743 /* The GNU C library defines this for functions which it implements
34744 to always fail with ENOSYS. Some functions are actually named
34745 something starting with __ and the normal name is an alias. */
34746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34747 choke me
34748 #else
34749 char (*f) () = $ac_func;
34750 #endif
34751 #ifdef __cplusplus
34753 #endif
34756 main ()
34758 return f != $ac_func;
34760 return 0;
34762 _ACEOF
34763 rm -f conftest.$ac_objext conftest$ac_exeext
34764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34765 (eval $ac_link) 2>conftest.er1
34766 ac_status=$?
34767 grep -v '^ *+' conftest.er1 >conftest.err
34768 rm -f conftest.er1
34769 cat conftest.err >&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } &&
34772 { ac_try='test -z "$ac_c_werror_flag"
34773 || test ! -s conftest.err'
34774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34775 (eval $ac_try) 2>&5
34776 ac_status=$?
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); }; } &&
34779 { ac_try='test -s conftest$ac_exeext'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34782 ac_status=$?
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; }; then
34785 eval "$as_ac_var=yes"
34786 else
34787 echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.$ac_ext >&5
34790 eval "$as_ac_var=no"
34792 rm -f conftest.err conftest.$ac_objext \
34793 conftest$ac_exeext conftest.$ac_ext
34795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34797 if test `eval echo '${'$as_ac_var'}'` = yes; then
34798 cat >>confdefs.h <<_ACEOF
34799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34800 _ACEOF
34803 done
34805 else
34807 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34808 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34809 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34810 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34816 ac_ext=cc
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828 #include <math.h>
34830 main ()
34832 _powl(0, 0);
34834 return 0;
34836 _ACEOF
34837 rm -f conftest.$ac_objext
34838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34839 (eval $ac_compile) 2>conftest.er1
34840 ac_status=$?
34841 grep -v '^ *+' conftest.er1 >conftest.err
34842 rm -f conftest.er1
34843 cat conftest.err >&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); } &&
34846 { ac_try='test -z "$ac_cxx_werror_flag"
34847 || test ! -s conftest.err'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34850 ac_status=$?
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; } &&
34853 { ac_try='test -s conftest.$ac_objext'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34856 ac_status=$?
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; }; then
34859 glibcxx_cv_func__powl_use=yes
34860 else
34861 echo "$as_me: failed program was:" >&5
34862 sed 's/^/| /' conftest.$ac_ext >&5
34864 glibcxx_cv_func__powl_use=no
34866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34867 ac_ext=c
34868 ac_cpp='$CPP $CPPFLAGS'
34869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34878 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34880 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34882 for ac_func in _powl
34884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34885 echo "$as_me:$LINENO: checking for $ac_func" >&5
34886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34887 if eval "test \"\${$as_ac_var+set}\" = set"; then
34888 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 else
34890 if test x$gcc_no_link = xyes; then
34891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34893 { (exit 1); exit 1; }; }
34895 cat >conftest.$ac_ext <<_ACEOF
34896 /* confdefs.h. */
34897 _ACEOF
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34903 #define $ac_func innocuous_$ac_func
34905 /* System header to define __stub macros and hopefully few prototypes,
34906 which can conflict with char $ac_func (); below.
34907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34908 <limits.h> exists even on freestanding compilers. */
34910 #ifdef __STDC__
34911 # include <limits.h>
34912 #else
34913 # include <assert.h>
34914 #endif
34916 #undef $ac_func
34918 /* Override any gcc2 internal prototype to avoid an error. */
34919 #ifdef __cplusplus
34920 extern "C"
34922 #endif
34923 /* We use char because int might match the return type of a gcc2
34924 builtin and then its argument prototype would still apply. */
34925 char $ac_func ();
34926 /* The GNU C library defines this for functions which it implements
34927 to always fail with ENOSYS. Some functions are actually named
34928 something starting with __ and the normal name is an alias. */
34929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34930 choke me
34931 #else
34932 char (*f) () = $ac_func;
34933 #endif
34934 #ifdef __cplusplus
34936 #endif
34939 main ()
34941 return f != $ac_func;
34943 return 0;
34945 _ACEOF
34946 rm -f conftest.$ac_objext conftest$ac_exeext
34947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34948 (eval $ac_link) 2>conftest.er1
34949 ac_status=$?
34950 grep -v '^ *+' conftest.er1 >conftest.err
34951 rm -f conftest.er1
34952 cat conftest.err >&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); } &&
34955 { ac_try='test -z "$ac_c_werror_flag"
34956 || test ! -s conftest.err'
34957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34958 (eval $ac_try) 2>&5
34959 ac_status=$?
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); }; } &&
34962 { ac_try='test -s conftest$ac_exeext'
34963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34964 (eval $ac_try) 2>&5
34965 ac_status=$?
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); }; }; then
34968 eval "$as_ac_var=yes"
34969 else
34970 echo "$as_me: failed program was:" >&5
34971 sed 's/^/| /' conftest.$ac_ext >&5
34973 eval "$as_ac_var=no"
34975 rm -f conftest.err conftest.$ac_objext \
34976 conftest$ac_exeext conftest.$ac_ext
34978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34980 if test `eval echo '${'$as_ac_var'}'` = yes; then
34981 cat >>confdefs.h <<_ACEOF
34982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34983 _ACEOF
34986 done
34996 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34997 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34998 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34999 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
35000 echo $ECHO_N "(cached) $ECHO_C" >&6
35001 else
35005 ac_ext=cc
35006 ac_cpp='$CXXCPP $CPPFLAGS'
35007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35011 cat >conftest.$ac_ext <<_ACEOF
35012 /* confdefs.h. */
35013 _ACEOF
35014 cat confdefs.h >>conftest.$ac_ext
35015 cat >>conftest.$ac_ext <<_ACEOF
35016 /* end confdefs.h. */
35017 #include <math.h>
35018 #ifdef HAVE_IEEEFP_H
35019 #include <ieeefp.h>
35020 #endif
35023 main ()
35025 sqrtl(0);
35027 return 0;
35029 _ACEOF
35030 rm -f conftest.$ac_objext
35031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35032 (eval $ac_compile) 2>conftest.er1
35033 ac_status=$?
35034 grep -v '^ *+' conftest.er1 >conftest.err
35035 rm -f conftest.er1
35036 cat conftest.err >&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); } &&
35039 { ac_try='test -z "$ac_cxx_werror_flag"
35040 || test ! -s conftest.err'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35043 ac_status=$?
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; } &&
35046 { ac_try='test -s conftest.$ac_objext'
35047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35048 (eval $ac_try) 2>&5
35049 ac_status=$?
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); }; }; then
35052 glibcxx_cv_func_sqrtl_use=yes
35053 else
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.$ac_ext >&5
35057 glibcxx_cv_func_sqrtl_use=no
35059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35060 ac_ext=c
35061 ac_cpp='$CPP $CPPFLAGS'
35062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35071 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35073 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35075 for ac_func in sqrtl
35077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35078 echo "$as_me:$LINENO: checking for $ac_func" >&5
35079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35080 if eval "test \"\${$as_ac_var+set}\" = set"; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 else
35083 if test x$gcc_no_link = xyes; then
35084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35086 { (exit 1); exit 1; }; }
35088 cat >conftest.$ac_ext <<_ACEOF
35089 /* confdefs.h. */
35090 _ACEOF
35091 cat confdefs.h >>conftest.$ac_ext
35092 cat >>conftest.$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35096 #define $ac_func innocuous_$ac_func
35098 /* System header to define __stub macros and hopefully few prototypes,
35099 which can conflict with char $ac_func (); below.
35100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35101 <limits.h> exists even on freestanding compilers. */
35103 #ifdef __STDC__
35104 # include <limits.h>
35105 #else
35106 # include <assert.h>
35107 #endif
35109 #undef $ac_func
35111 /* Override any gcc2 internal prototype to avoid an error. */
35112 #ifdef __cplusplus
35113 extern "C"
35115 #endif
35116 /* We use char because int might match the return type of a gcc2
35117 builtin and then its argument prototype would still apply. */
35118 char $ac_func ();
35119 /* The GNU C library defines this for functions which it implements
35120 to always fail with ENOSYS. Some functions are actually named
35121 something starting with __ and the normal name is an alias. */
35122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35123 choke me
35124 #else
35125 char (*f) () = $ac_func;
35126 #endif
35127 #ifdef __cplusplus
35129 #endif
35132 main ()
35134 return f != $ac_func;
35136 return 0;
35138 _ACEOF
35139 rm -f conftest.$ac_objext conftest$ac_exeext
35140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35141 (eval $ac_link) 2>conftest.er1
35142 ac_status=$?
35143 grep -v '^ *+' conftest.er1 >conftest.err
35144 rm -f conftest.er1
35145 cat conftest.err >&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } &&
35148 { ac_try='test -z "$ac_c_werror_flag"
35149 || test ! -s conftest.err'
35150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151 (eval $ac_try) 2>&5
35152 ac_status=$?
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); }; } &&
35155 { ac_try='test -s conftest$ac_exeext'
35156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35157 (eval $ac_try) 2>&5
35158 ac_status=$?
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); }; }; then
35161 eval "$as_ac_var=yes"
35162 else
35163 echo "$as_me: failed program was:" >&5
35164 sed 's/^/| /' conftest.$ac_ext >&5
35166 eval "$as_ac_var=no"
35168 rm -f conftest.err conftest.$ac_objext \
35169 conftest$ac_exeext conftest.$ac_ext
35171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35173 if test `eval echo '${'$as_ac_var'}'` = yes; then
35174 cat >>confdefs.h <<_ACEOF
35175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35176 _ACEOF
35179 done
35181 else
35183 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35184 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35185 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35186 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35187 echo $ECHO_N "(cached) $ECHO_C" >&6
35188 else
35192 ac_ext=cc
35193 ac_cpp='$CXXCPP $CPPFLAGS'
35194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198 cat >conftest.$ac_ext <<_ACEOF
35199 /* confdefs.h. */
35200 _ACEOF
35201 cat confdefs.h >>conftest.$ac_ext
35202 cat >>conftest.$ac_ext <<_ACEOF
35203 /* end confdefs.h. */
35204 #include <math.h>
35205 #ifdef HAVE_IEEEFP_H
35206 #include <ieeefp.h>
35207 #endif
35210 main ()
35212 _sqrtl(0);
35214 return 0;
35216 _ACEOF
35217 rm -f conftest.$ac_objext
35218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35219 (eval $ac_compile) 2>conftest.er1
35220 ac_status=$?
35221 grep -v '^ *+' conftest.er1 >conftest.err
35222 rm -f conftest.er1
35223 cat conftest.err >&5
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); } &&
35226 { ac_try='test -z "$ac_cxx_werror_flag"
35227 || test ! -s conftest.err'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35230 ac_status=$?
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; } &&
35233 { ac_try='test -s conftest.$ac_objext'
35234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35235 (eval $ac_try) 2>&5
35236 ac_status=$?
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); }; }; then
35239 glibcxx_cv_func__sqrtl_use=yes
35240 else
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.$ac_ext >&5
35244 glibcxx_cv_func__sqrtl_use=no
35246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35247 ac_ext=c
35248 ac_cpp='$CPP $CPPFLAGS'
35249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35258 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35260 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35262 for ac_func in _sqrtl
35264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35265 echo "$as_me:$LINENO: checking for $ac_func" >&5
35266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35267 if eval "test \"\${$as_ac_var+set}\" = set"; then
35268 echo $ECHO_N "(cached) $ECHO_C" >&6
35269 else
35270 if test x$gcc_no_link = xyes; then
35271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35273 { (exit 1); exit 1; }; }
35275 cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h. */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define $ac_func innocuous_$ac_func
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char $ac_func (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35290 #ifdef __STDC__
35291 # include <limits.h>
35292 #else
35293 # include <assert.h>
35294 #endif
35296 #undef $ac_func
35298 /* Override any gcc2 internal prototype to avoid an error. */
35299 #ifdef __cplusplus
35300 extern "C"
35302 #endif
35303 /* We use char because int might match the return type of a gcc2
35304 builtin and then its argument prototype would still apply. */
35305 char $ac_func ();
35306 /* The GNU C library defines this for functions which it implements
35307 to always fail with ENOSYS. Some functions are actually named
35308 something starting with __ and the normal name is an alias. */
35309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35310 choke me
35311 #else
35312 char (*f) () = $ac_func;
35313 #endif
35314 #ifdef __cplusplus
35316 #endif
35319 main ()
35321 return f != $ac_func;
35323 return 0;
35325 _ACEOF
35326 rm -f conftest.$ac_objext conftest$ac_exeext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35328 (eval $ac_link) 2>conftest.er1
35329 ac_status=$?
35330 grep -v '^ *+' conftest.er1 >conftest.err
35331 rm -f conftest.er1
35332 cat conftest.err >&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try='test -z "$ac_c_werror_flag"
35336 || test ! -s conftest.err'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35339 ac_status=$?
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; } &&
35342 { ac_try='test -s conftest$ac_exeext'
35343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35344 (eval $ac_try) 2>&5
35345 ac_status=$?
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); }; }; then
35348 eval "$as_ac_var=yes"
35349 else
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.$ac_ext >&5
35353 eval "$as_ac_var=no"
35355 rm -f conftest.err conftest.$ac_objext \
35356 conftest$ac_exeext conftest.$ac_ext
35358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35360 if test `eval echo '${'$as_ac_var'}'` = yes; then
35361 cat >>confdefs.h <<_ACEOF
35362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35363 _ACEOF
35366 done
35376 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35377 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35378 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35379 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35380 echo $ECHO_N "(cached) $ECHO_C" >&6
35381 else
35385 ac_ext=cc
35386 ac_cpp='$CXXCPP $CPPFLAGS'
35387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35391 cat >conftest.$ac_ext <<_ACEOF
35392 /* confdefs.h. */
35393 _ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397 #include <math.h>
35399 main ()
35401 sincosl(0, 0, 0);
35403 return 0;
35405 _ACEOF
35406 rm -f conftest.$ac_objext
35407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35408 (eval $ac_compile) 2>conftest.er1
35409 ac_status=$?
35410 grep -v '^ *+' conftest.er1 >conftest.err
35411 rm -f conftest.er1
35412 cat conftest.err >&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } &&
35415 { ac_try='test -z "$ac_cxx_werror_flag"
35416 || test ! -s conftest.err'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35419 ac_status=$?
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; } &&
35422 { ac_try='test -s conftest.$ac_objext'
35423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35424 (eval $ac_try) 2>&5
35425 ac_status=$?
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); }; }; then
35428 glibcxx_cv_func_sincosl_use=yes
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35433 glibcxx_cv_func_sincosl_use=no
35435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35436 ac_ext=c
35437 ac_cpp='$CPP $CPPFLAGS'
35438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35447 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35449 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35451 for ac_func in sincosl
35453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35454 echo "$as_me:$LINENO: checking for $ac_func" >&5
35455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35456 if eval "test \"\${$as_ac_var+set}\" = set"; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 else
35459 if test x$gcc_no_link = xyes; then
35460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35462 { (exit 1); exit 1; }; }
35464 cat >conftest.$ac_ext <<_ACEOF
35465 /* confdefs.h. */
35466 _ACEOF
35467 cat confdefs.h >>conftest.$ac_ext
35468 cat >>conftest.$ac_ext <<_ACEOF
35469 /* end confdefs.h. */
35470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35472 #define $ac_func innocuous_$ac_func
35474 /* System header to define __stub macros and hopefully few prototypes,
35475 which can conflict with char $ac_func (); below.
35476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35477 <limits.h> exists even on freestanding compilers. */
35479 #ifdef __STDC__
35480 # include <limits.h>
35481 #else
35482 # include <assert.h>
35483 #endif
35485 #undef $ac_func
35487 /* Override any gcc2 internal prototype to avoid an error. */
35488 #ifdef __cplusplus
35489 extern "C"
35491 #endif
35492 /* We use char because int might match the return type of a gcc2
35493 builtin and then its argument prototype would still apply. */
35494 char $ac_func ();
35495 /* The GNU C library defines this for functions which it implements
35496 to always fail with ENOSYS. Some functions are actually named
35497 something starting with __ and the normal name is an alias. */
35498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35499 choke me
35500 #else
35501 char (*f) () = $ac_func;
35502 #endif
35503 #ifdef __cplusplus
35505 #endif
35508 main ()
35510 return f != $ac_func;
35512 return 0;
35514 _ACEOF
35515 rm -f conftest.$ac_objext conftest$ac_exeext
35516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35517 (eval $ac_link) 2>conftest.er1
35518 ac_status=$?
35519 grep -v '^ *+' conftest.er1 >conftest.err
35520 rm -f conftest.er1
35521 cat conftest.err >&5
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); } &&
35524 { ac_try='test -z "$ac_c_werror_flag"
35525 || test ! -s conftest.err'
35526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35527 (eval $ac_try) 2>&5
35528 ac_status=$?
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); }; } &&
35531 { ac_try='test -s conftest$ac_exeext'
35532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35533 (eval $ac_try) 2>&5
35534 ac_status=$?
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); }; }; then
35537 eval "$as_ac_var=yes"
35538 else
35539 echo "$as_me: failed program was:" >&5
35540 sed 's/^/| /' conftest.$ac_ext >&5
35542 eval "$as_ac_var=no"
35544 rm -f conftest.err conftest.$ac_objext \
35545 conftest$ac_exeext conftest.$ac_ext
35547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35549 if test `eval echo '${'$as_ac_var'}'` = yes; then
35550 cat >>confdefs.h <<_ACEOF
35551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35552 _ACEOF
35555 done
35557 else
35559 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35560 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35561 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35562 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35564 else
35568 ac_ext=cc
35569 ac_cpp='$CXXCPP $CPPFLAGS'
35570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35574 cat >conftest.$ac_ext <<_ACEOF
35575 /* confdefs.h. */
35576 _ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35580 #include <math.h>
35582 main ()
35584 _sincosl(0, 0, 0);
35586 return 0;
35588 _ACEOF
35589 rm -f conftest.$ac_objext
35590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35591 (eval $ac_compile) 2>conftest.er1
35592 ac_status=$?
35593 grep -v '^ *+' conftest.er1 >conftest.err
35594 rm -f conftest.er1
35595 cat conftest.err >&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); } &&
35598 { ac_try='test -z "$ac_cxx_werror_flag"
35599 || test ! -s conftest.err'
35600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35601 (eval $ac_try) 2>&5
35602 ac_status=$?
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); }; } &&
35605 { ac_try='test -s conftest.$ac_objext'
35606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35607 (eval $ac_try) 2>&5
35608 ac_status=$?
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); }; }; then
35611 glibcxx_cv_func__sincosl_use=yes
35612 else
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.$ac_ext >&5
35616 glibcxx_cv_func__sincosl_use=no
35618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35630 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35632 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35634 for ac_func in _sincosl
35636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35637 echo "$as_me:$LINENO: checking for $ac_func" >&5
35638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35639 if eval "test \"\${$as_ac_var+set}\" = set"; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 else
35642 if test x$gcc_no_link = xyes; then
35643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35645 { (exit 1); exit 1; }; }
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35655 #define $ac_func innocuous_$ac_func
35657 /* System header to define __stub macros and hopefully few prototypes,
35658 which can conflict with char $ac_func (); below.
35659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35660 <limits.h> exists even on freestanding compilers. */
35662 #ifdef __STDC__
35663 # include <limits.h>
35664 #else
35665 # include <assert.h>
35666 #endif
35668 #undef $ac_func
35670 /* Override any gcc2 internal prototype to avoid an error. */
35671 #ifdef __cplusplus
35672 extern "C"
35674 #endif
35675 /* We use char because int might match the return type of a gcc2
35676 builtin and then its argument prototype would still apply. */
35677 char $ac_func ();
35678 /* The GNU C library defines this for functions which it implements
35679 to always fail with ENOSYS. Some functions are actually named
35680 something starting with __ and the normal name is an alias. */
35681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35682 choke me
35683 #else
35684 char (*f) () = $ac_func;
35685 #endif
35686 #ifdef __cplusplus
35688 #endif
35691 main ()
35693 return f != $ac_func;
35695 return 0;
35697 _ACEOF
35698 rm -f conftest.$ac_objext conftest$ac_exeext
35699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35700 (eval $ac_link) 2>conftest.er1
35701 ac_status=$?
35702 grep -v '^ *+' conftest.er1 >conftest.err
35703 rm -f conftest.er1
35704 cat conftest.err >&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); } &&
35707 { ac_try='test -z "$ac_c_werror_flag"
35708 || test ! -s conftest.err'
35709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35710 (eval $ac_try) 2>&5
35711 ac_status=$?
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); }; } &&
35714 { ac_try='test -s conftest$ac_exeext'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35717 ac_status=$?
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; }; then
35720 eval "$as_ac_var=yes"
35721 else
35722 echo "$as_me: failed program was:" >&5
35723 sed 's/^/| /' conftest.$ac_ext >&5
35725 eval "$as_ac_var=no"
35727 rm -f conftest.err conftest.$ac_objext \
35728 conftest$ac_exeext conftest.$ac_ext
35730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35732 if test `eval echo '${'$as_ac_var'}'` = yes; then
35733 cat >>confdefs.h <<_ACEOF
35734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35735 _ACEOF
35738 done
35748 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35749 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35750 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35751 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35752 echo $ECHO_N "(cached) $ECHO_C" >&6
35753 else
35757 ac_ext=cc
35758 ac_cpp='$CXXCPP $CPPFLAGS'
35759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35763 cat >conftest.$ac_ext <<_ACEOF
35764 /* confdefs.h. */
35765 _ACEOF
35766 cat confdefs.h >>conftest.$ac_ext
35767 cat >>conftest.$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35769 #include <math.h>
35770 #ifdef HAVE_IEEEFP_H
35771 #include <ieeefp.h>
35772 #endif
35775 main ()
35777 finitel(0);
35779 return 0;
35781 _ACEOF
35782 rm -f conftest.$ac_objext
35783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35784 (eval $ac_compile) 2>conftest.er1
35785 ac_status=$?
35786 grep -v '^ *+' conftest.er1 >conftest.err
35787 rm -f conftest.er1
35788 cat conftest.err >&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); } &&
35791 { ac_try='test -z "$ac_cxx_werror_flag"
35792 || test ! -s conftest.err'
35793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35794 (eval $ac_try) 2>&5
35795 ac_status=$?
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 (exit $ac_status); }; } &&
35798 { ac_try='test -s conftest.$ac_objext'
35799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800 (eval $ac_try) 2>&5
35801 ac_status=$?
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); }; }; then
35804 glibcxx_cv_func_finitel_use=yes
35805 else
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35809 glibcxx_cv_func_finitel_use=no
35811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35812 ac_ext=c
35813 ac_cpp='$CPP $CPPFLAGS'
35814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35823 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35825 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35827 for ac_func in finitel
35829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35830 echo "$as_me:$LINENO: checking for $ac_func" >&5
35831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35832 if eval "test \"\${$as_ac_var+set}\" = set"; then
35833 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 else
35835 if test x$gcc_no_link = xyes; then
35836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35838 { (exit 1); exit 1; }; }
35840 cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35848 #define $ac_func innocuous_$ac_func
35850 /* System header to define __stub macros and hopefully few prototypes,
35851 which can conflict with char $ac_func (); below.
35852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35853 <limits.h> exists even on freestanding compilers. */
35855 #ifdef __STDC__
35856 # include <limits.h>
35857 #else
35858 # include <assert.h>
35859 #endif
35861 #undef $ac_func
35863 /* Override any gcc2 internal prototype to avoid an error. */
35864 #ifdef __cplusplus
35865 extern "C"
35867 #endif
35868 /* We use char because int might match the return type of a gcc2
35869 builtin and then its argument prototype would still apply. */
35870 char $ac_func ();
35871 /* The GNU C library defines this for functions which it implements
35872 to always fail with ENOSYS. Some functions are actually named
35873 something starting with __ and the normal name is an alias. */
35874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35875 choke me
35876 #else
35877 char (*f) () = $ac_func;
35878 #endif
35879 #ifdef __cplusplus
35881 #endif
35884 main ()
35886 return f != $ac_func;
35888 return 0;
35890 _ACEOF
35891 rm -f conftest.$ac_objext conftest$ac_exeext
35892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35893 (eval $ac_link) 2>conftest.er1
35894 ac_status=$?
35895 grep -v '^ *+' conftest.er1 >conftest.err
35896 rm -f conftest.er1
35897 cat conftest.err >&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); } &&
35900 { ac_try='test -z "$ac_c_werror_flag"
35901 || test ! -s conftest.err'
35902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35903 (eval $ac_try) 2>&5
35904 ac_status=$?
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); }; } &&
35907 { ac_try='test -s conftest$ac_exeext'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35910 ac_status=$?
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }; then
35913 eval "$as_ac_var=yes"
35914 else
35915 echo "$as_me: failed program was:" >&5
35916 sed 's/^/| /' conftest.$ac_ext >&5
35918 eval "$as_ac_var=no"
35920 rm -f conftest.err conftest.$ac_objext \
35921 conftest$ac_exeext conftest.$ac_ext
35923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35925 if test `eval echo '${'$as_ac_var'}'` = yes; then
35926 cat >>confdefs.h <<_ACEOF
35927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35928 _ACEOF
35931 done
35933 else
35935 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35936 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35937 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35938 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
35940 else
35944 ac_ext=cc
35945 ac_cpp='$CXXCPP $CPPFLAGS'
35946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35950 cat >conftest.$ac_ext <<_ACEOF
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956 #include <math.h>
35957 #ifdef HAVE_IEEEFP_H
35958 #include <ieeefp.h>
35959 #endif
35962 main ()
35964 _finitel(0);
35966 return 0;
35968 _ACEOF
35969 rm -f conftest.$ac_objext
35970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35971 (eval $ac_compile) 2>conftest.er1
35972 ac_status=$?
35973 grep -v '^ *+' conftest.er1 >conftest.err
35974 rm -f conftest.er1
35975 cat conftest.err >&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } &&
35978 { ac_try='test -z "$ac_cxx_werror_flag"
35979 || test ! -s conftest.err'
35980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35981 (eval $ac_try) 2>&5
35982 ac_status=$?
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); }; } &&
35985 { ac_try='test -s conftest.$ac_objext'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35988 ac_status=$?
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; }; then
35991 glibcxx_cv_func__finitel_use=yes
35992 else
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.$ac_ext >&5
35996 glibcxx_cv_func__finitel_use=no
35998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35999 ac_ext=c
36000 ac_cpp='$CPP $CPPFLAGS'
36001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
36010 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
36012 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
36014 for ac_func in _finitel
36016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36017 echo "$as_me:$LINENO: checking for $ac_func" >&5
36018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36019 if eval "test \"\${$as_ac_var+set}\" = set"; then
36020 echo $ECHO_N "(cached) $ECHO_C" >&6
36021 else
36022 if test x$gcc_no_link = xyes; then
36023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36025 { (exit 1); exit 1; }; }
36027 cat >conftest.$ac_ext <<_ACEOF
36028 /* confdefs.h. */
36029 _ACEOF
36030 cat confdefs.h >>conftest.$ac_ext
36031 cat >>conftest.$ac_ext <<_ACEOF
36032 /* end confdefs.h. */
36033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36035 #define $ac_func innocuous_$ac_func
36037 /* System header to define __stub macros and hopefully few prototypes,
36038 which can conflict with char $ac_func (); below.
36039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36040 <limits.h> exists even on freestanding compilers. */
36042 #ifdef __STDC__
36043 # include <limits.h>
36044 #else
36045 # include <assert.h>
36046 #endif
36048 #undef $ac_func
36050 /* Override any gcc2 internal prototype to avoid an error. */
36051 #ifdef __cplusplus
36052 extern "C"
36054 #endif
36055 /* We use char because int might match the return type of a gcc2
36056 builtin and then its argument prototype would still apply. */
36057 char $ac_func ();
36058 /* The GNU C library defines this for functions which it implements
36059 to always fail with ENOSYS. Some functions are actually named
36060 something starting with __ and the normal name is an alias. */
36061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36062 choke me
36063 #else
36064 char (*f) () = $ac_func;
36065 #endif
36066 #ifdef __cplusplus
36068 #endif
36071 main ()
36073 return f != $ac_func;
36075 return 0;
36077 _ACEOF
36078 rm -f conftest.$ac_objext conftest$ac_exeext
36079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36080 (eval $ac_link) 2>conftest.er1
36081 ac_status=$?
36082 grep -v '^ *+' conftest.er1 >conftest.err
36083 rm -f conftest.er1
36084 cat conftest.err >&5
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); } &&
36087 { ac_try='test -z "$ac_c_werror_flag"
36088 || test ! -s conftest.err'
36089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36090 (eval $ac_try) 2>&5
36091 ac_status=$?
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); }; } &&
36094 { ac_try='test -s conftest$ac_exeext'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36097 ac_status=$?
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; }; then
36100 eval "$as_ac_var=yes"
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36105 eval "$as_ac_var=no"
36107 rm -f conftest.err conftest.$ac_objext \
36108 conftest$ac_exeext conftest.$ac_ext
36110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36112 if test `eval echo '${'$as_ac_var'}'` = yes; then
36113 cat >>confdefs.h <<_ACEOF
36114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36115 _ACEOF
36118 done
36127 LIBS="$ac_save_LIBS"
36128 CXXFLAGS="$ac_save_CXXFLAGS"
36132 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36133 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36134 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36135 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36136 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 else
36141 ac_ext=cc
36142 ac_cpp='$CXXCPP $CPPFLAGS'
36143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36147 cat >conftest.$ac_ext <<_ACEOF
36148 /* confdefs.h. */
36149 _ACEOF
36150 cat confdefs.h >>conftest.$ac_ext
36151 cat >>conftest.$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36153 #include <math.h>
36155 main ()
36157 __builtin_abs(0);
36159 return 0;
36161 _ACEOF
36162 rm -f conftest.$ac_objext
36163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36164 (eval $ac_compile) 2>conftest.er1
36165 ac_status=$?
36166 grep -v '^ *+' conftest.er1 >conftest.err
36167 rm -f conftest.er1
36168 cat conftest.err >&5
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); } &&
36171 { ac_try='test -z "$ac_cxx_werror_flag"
36172 || test ! -s conftest.err'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36175 ac_status=$?
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; } &&
36178 { ac_try='test -s conftest.$ac_objext'
36179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36180 (eval $ac_try) 2>&5
36181 ac_status=$?
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); }; }; then
36184 glibcxx_cv_func___builtin_abs_use=yes
36185 else
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.$ac_ext >&5
36189 glibcxx_cv_func___builtin_abs_use=no
36191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36192 ac_ext=c
36193 ac_cpp='$CPP $CPPFLAGS'
36194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36203 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36204 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36205 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36206 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36207 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36208 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36209 echo $ECHO_N "(cached) $ECHO_C" >&6
36210 else
36212 if test x$gcc_no_link = xyes; then
36213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36215 { (exit 1); exit 1; }; }
36217 cat >conftest.$ac_ext <<_ACEOF
36218 /* confdefs.h. */
36219 _ACEOF
36220 cat confdefs.h >>conftest.$ac_ext
36221 cat >>conftest.$ac_ext <<_ACEOF
36222 /* end confdefs.h. */
36223 #include <math.h>
36225 main ()
36227 __builtin_abs(0);
36229 return 0;
36231 _ACEOF
36232 rm -f conftest.$ac_objext conftest$ac_exeext
36233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36234 (eval $ac_link) 2>conftest.er1
36235 ac_status=$?
36236 grep -v '^ *+' conftest.er1 >conftest.err
36237 rm -f conftest.er1
36238 cat conftest.err >&5
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); } &&
36241 { ac_try='test -z "$ac_c_werror_flag"
36242 || test ! -s conftest.err'
36243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36244 (eval $ac_try) 2>&5
36245 ac_status=$?
36246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36247 (exit $ac_status); }; } &&
36248 { ac_try='test -s conftest$ac_exeext'
36249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36250 (eval $ac_try) 2>&5
36251 ac_status=$?
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); }; }; then
36254 glibcxx_cv_func___builtin_abs_link=yes
36255 else
36256 echo "$as_me: failed program was:" >&5
36257 sed 's/^/| /' conftest.$ac_ext >&5
36259 glibcxx_cv_func___builtin_abs_link=no
36261 rm -f conftest.err conftest.$ac_objext \
36262 conftest$ac_exeext conftest.$ac_ext
36267 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36268 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36270 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36272 cat >>confdefs.h <<\_ACEOF
36273 #define HAVE___BUILTIN_ABS 1
36274 _ACEOF
36281 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36282 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36283 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36284 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36285 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 else
36290 ac_ext=cc
36291 ac_cpp='$CXXCPP $CPPFLAGS'
36292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36296 cat >conftest.$ac_ext <<_ACEOF
36297 /* confdefs.h. */
36298 _ACEOF
36299 cat confdefs.h >>conftest.$ac_ext
36300 cat >>conftest.$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302 #include <math.h>
36304 main ()
36306 __builtin_fabsf(0);
36308 return 0;
36310 _ACEOF
36311 rm -f conftest.$ac_objext
36312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36313 (eval $ac_compile) 2>conftest.er1
36314 ac_status=$?
36315 grep -v '^ *+' conftest.er1 >conftest.err
36316 rm -f conftest.er1
36317 cat conftest.err >&5
36318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319 (exit $ac_status); } &&
36320 { ac_try='test -z "$ac_cxx_werror_flag"
36321 || test ! -s conftest.err'
36322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323 (eval $ac_try) 2>&5
36324 ac_status=$?
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; } &&
36327 { ac_try='test -s conftest.$ac_objext'
36328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36329 (eval $ac_try) 2>&5
36330 ac_status=$?
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); }; }; then
36333 glibcxx_cv_func___builtin_fabsf_use=yes
36334 else
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.$ac_ext >&5
36338 glibcxx_cv_func___builtin_fabsf_use=no
36340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36341 ac_ext=c
36342 ac_cpp='$CPP $CPPFLAGS'
36343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36351 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36352 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36353 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36354 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36355 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36356 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36357 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36358 echo $ECHO_N "(cached) $ECHO_C" >&6
36359 else
36361 if test x$gcc_no_link = xyes; then
36362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36364 { (exit 1); exit 1; }; }
36366 cat >conftest.$ac_ext <<_ACEOF
36367 /* confdefs.h. */
36368 _ACEOF
36369 cat confdefs.h >>conftest.$ac_ext
36370 cat >>conftest.$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372 #include <math.h>
36374 main ()
36376 __builtin_fabsf(0);
36378 return 0;
36380 _ACEOF
36381 rm -f conftest.$ac_objext conftest$ac_exeext
36382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36383 (eval $ac_link) 2>conftest.er1
36384 ac_status=$?
36385 grep -v '^ *+' conftest.er1 >conftest.err
36386 rm -f conftest.er1
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } &&
36390 { ac_try='test -z "$ac_c_werror_flag"
36391 || test ! -s conftest.err'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36394 ac_status=$?
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; } &&
36397 { ac_try='test -s conftest$ac_exeext'
36398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36399 (eval $ac_try) 2>&5
36400 ac_status=$?
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); }; }; then
36403 glibcxx_cv_func___builtin_fabsf_link=yes
36404 else
36405 echo "$as_me: failed program was:" >&5
36406 sed 's/^/| /' conftest.$ac_ext >&5
36408 glibcxx_cv_func___builtin_fabsf_link=no
36410 rm -f conftest.err conftest.$ac_objext \
36411 conftest$ac_exeext conftest.$ac_ext
36416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36417 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36419 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36421 cat >>confdefs.h <<\_ACEOF
36422 #define HAVE___BUILTIN_FABSF 1
36423 _ACEOF
36430 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36431 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36432 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36433 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36435 else
36439 ac_ext=cc
36440 ac_cpp='$CXXCPP $CPPFLAGS'
36441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36445 cat >conftest.$ac_ext <<_ACEOF
36446 /* confdefs.h. */
36447 _ACEOF
36448 cat confdefs.h >>conftest.$ac_ext
36449 cat >>conftest.$ac_ext <<_ACEOF
36450 /* end confdefs.h. */
36451 #include <math.h>
36453 main ()
36455 __builtin_fabs(0);
36457 return 0;
36459 _ACEOF
36460 rm -f conftest.$ac_objext
36461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36462 (eval $ac_compile) 2>conftest.er1
36463 ac_status=$?
36464 grep -v '^ *+' conftest.er1 >conftest.err
36465 rm -f conftest.er1
36466 cat conftest.err >&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } &&
36469 { ac_try='test -z "$ac_cxx_werror_flag"
36470 || test ! -s conftest.err'
36471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36472 (eval $ac_try) 2>&5
36473 ac_status=$?
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); }; } &&
36476 { ac_try='test -s conftest.$ac_objext'
36477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36478 (eval $ac_try) 2>&5
36479 ac_status=$?
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); }; }; then
36482 glibcxx_cv_func___builtin_fabs_use=yes
36483 else
36484 echo "$as_me: failed program was:" >&5
36485 sed 's/^/| /' conftest.$ac_ext >&5
36487 glibcxx_cv_func___builtin_fabs_use=no
36489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36490 ac_ext=c
36491 ac_cpp='$CPP $CPPFLAGS'
36492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36500 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36501 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36502 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36503 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36504 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36505 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36506 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36507 echo $ECHO_N "(cached) $ECHO_C" >&6
36508 else
36510 if test x$gcc_no_link = xyes; then
36511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36513 { (exit 1); exit 1; }; }
36515 cat >conftest.$ac_ext <<_ACEOF
36516 /* confdefs.h. */
36517 _ACEOF
36518 cat confdefs.h >>conftest.$ac_ext
36519 cat >>conftest.$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36521 #include <math.h>
36523 main ()
36525 __builtin_fabs(0);
36527 return 0;
36529 _ACEOF
36530 rm -f conftest.$ac_objext conftest$ac_exeext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36532 (eval $ac_link) 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try='test -z "$ac_c_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest$ac_exeext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 glibcxx_cv_func___builtin_fabs_link=yes
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36557 glibcxx_cv_func___builtin_fabs_link=no
36559 rm -f conftest.err conftest.$ac_objext \
36560 conftest$ac_exeext conftest.$ac_ext
36565 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36566 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36568 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36570 cat >>confdefs.h <<\_ACEOF
36571 #define HAVE___BUILTIN_FABS 1
36572 _ACEOF
36579 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36580 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36581 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36582 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36583 echo $ECHO_N "(cached) $ECHO_C" >&6
36584 else
36588 ac_ext=cc
36589 ac_cpp='$CXXCPP $CPPFLAGS'
36590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36594 cat >conftest.$ac_ext <<_ACEOF
36595 /* confdefs.h. */
36596 _ACEOF
36597 cat confdefs.h >>conftest.$ac_ext
36598 cat >>conftest.$ac_ext <<_ACEOF
36599 /* end confdefs.h. */
36600 #include <math.h>
36602 main ()
36604 __builtin_fabsl(0);
36606 return 0;
36608 _ACEOF
36609 rm -f conftest.$ac_objext
36610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36611 (eval $ac_compile) 2>conftest.er1
36612 ac_status=$?
36613 grep -v '^ *+' conftest.er1 >conftest.err
36614 rm -f conftest.er1
36615 cat conftest.err >&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); } &&
36618 { ac_try='test -z "$ac_cxx_werror_flag"
36619 || test ! -s conftest.err'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36622 ac_status=$?
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; } &&
36625 { ac_try='test -s conftest.$ac_objext'
36626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36627 (eval $ac_try) 2>&5
36628 ac_status=$?
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); }; }; then
36631 glibcxx_cv_func___builtin_fabsl_use=yes
36632 else
36633 echo "$as_me: failed program was:" >&5
36634 sed 's/^/| /' conftest.$ac_ext >&5
36636 glibcxx_cv_func___builtin_fabsl_use=no
36638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36649 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36650 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36651 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36652 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36653 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36654 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36655 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36656 echo $ECHO_N "(cached) $ECHO_C" >&6
36657 else
36659 if test x$gcc_no_link = xyes; then
36660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36662 { (exit 1); exit 1; }; }
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 #include <math.h>
36672 main ()
36674 __builtin_fabsl(0);
36676 return 0;
36678 _ACEOF
36679 rm -f conftest.$ac_objext conftest$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36682 ac_status=$?
36683 grep -v '^ *+' conftest.er1 >conftest.err
36684 rm -f conftest.er1
36685 cat conftest.err >&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try='test -z "$ac_c_werror_flag"
36689 || test ! -s conftest.err'
36690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36691 (eval $ac_try) 2>&5
36692 ac_status=$?
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); }; } &&
36695 { ac_try='test -s conftest$ac_exeext'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36698 ac_status=$?
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; }; then
36701 glibcxx_cv_func___builtin_fabsl_link=yes
36702 else
36703 echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.$ac_ext >&5
36706 glibcxx_cv_func___builtin_fabsl_link=no
36708 rm -f conftest.err conftest.$ac_objext \
36709 conftest$ac_exeext conftest.$ac_ext
36714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36715 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36717 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36719 cat >>confdefs.h <<\_ACEOF
36720 #define HAVE___BUILTIN_FABSL 1
36721 _ACEOF
36728 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36729 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36730 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36731 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36732 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 else
36737 ac_ext=cc
36738 ac_cpp='$CXXCPP $CPPFLAGS'
36739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36743 cat >conftest.$ac_ext <<_ACEOF
36744 /* confdefs.h. */
36745 _ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 #include <math.h>
36751 main ()
36753 __builtin_labs(0);
36755 return 0;
36757 _ACEOF
36758 rm -f conftest.$ac_objext
36759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36760 (eval $ac_compile) 2>conftest.er1
36761 ac_status=$?
36762 grep -v '^ *+' conftest.er1 >conftest.err
36763 rm -f conftest.er1
36764 cat conftest.err >&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); } &&
36767 { ac_try='test -z "$ac_cxx_werror_flag"
36768 || test ! -s conftest.err'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36771 ac_status=$?
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; } &&
36774 { ac_try='test -s conftest.$ac_objext'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36777 ac_status=$?
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; }; then
36780 glibcxx_cv_func___builtin_labs_use=yes
36781 else
36782 echo "$as_me: failed program was:" >&5
36783 sed 's/^/| /' conftest.$ac_ext >&5
36785 glibcxx_cv_func___builtin_labs_use=no
36787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36788 ac_ext=c
36789 ac_cpp='$CPP $CPPFLAGS'
36790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36799 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36800 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36801 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36802 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36803 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36804 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 else
36808 if test x$gcc_no_link = xyes; then
36809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36811 { (exit 1); exit 1; }; }
36813 cat >conftest.$ac_ext <<_ACEOF
36814 /* confdefs.h. */
36815 _ACEOF
36816 cat confdefs.h >>conftest.$ac_ext
36817 cat >>conftest.$ac_ext <<_ACEOF
36818 /* end confdefs.h. */
36819 #include <math.h>
36821 main ()
36823 __builtin_labs(0);
36825 return 0;
36827 _ACEOF
36828 rm -f conftest.$ac_objext conftest$ac_exeext
36829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36830 (eval $ac_link) 2>conftest.er1
36831 ac_status=$?
36832 grep -v '^ *+' conftest.er1 >conftest.err
36833 rm -f conftest.er1
36834 cat conftest.err >&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); } &&
36837 { ac_try='test -z "$ac_c_werror_flag"
36838 || test ! -s conftest.err'
36839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36840 (eval $ac_try) 2>&5
36841 ac_status=$?
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); }; } &&
36844 { ac_try='test -s conftest$ac_exeext'
36845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846 (eval $ac_try) 2>&5
36847 ac_status=$?
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); }; }; then
36850 glibcxx_cv_func___builtin_labs_link=yes
36851 else
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36855 glibcxx_cv_func___builtin_labs_link=no
36857 rm -f conftest.err conftest.$ac_objext \
36858 conftest$ac_exeext conftest.$ac_ext
36863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36864 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36866 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36868 cat >>confdefs.h <<\_ACEOF
36869 #define HAVE___BUILTIN_LABS 1
36870 _ACEOF
36878 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36879 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36880 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36881 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36883 else
36887 ac_ext=cc
36888 ac_cpp='$CXXCPP $CPPFLAGS'
36889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36893 cat >conftest.$ac_ext <<_ACEOF
36894 /* confdefs.h. */
36895 _ACEOF
36896 cat confdefs.h >>conftest.$ac_ext
36897 cat >>conftest.$ac_ext <<_ACEOF
36898 /* end confdefs.h. */
36899 #include <math.h>
36901 main ()
36903 __builtin_sqrtf(0);
36905 return 0;
36907 _ACEOF
36908 rm -f conftest.$ac_objext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36910 (eval $ac_compile) 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_cxx_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36921 ac_status=$?
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try='test -s conftest.$ac_objext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36927 ac_status=$?
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 glibcxx_cv_func___builtin_sqrtf_use=yes
36931 else
36932 echo "$as_me: failed program was:" >&5
36933 sed 's/^/| /' conftest.$ac_ext >&5
36935 glibcxx_cv_func___builtin_sqrtf_use=no
36937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36938 ac_ext=c
36939 ac_cpp='$CPP $CPPFLAGS'
36940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36948 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36949 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36950 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36951 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36952 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36953 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36954 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36955 echo $ECHO_N "(cached) $ECHO_C" >&6
36956 else
36958 if test x$gcc_no_link = xyes; then
36959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36961 { (exit 1); exit 1; }; }
36963 cat >conftest.$ac_ext <<_ACEOF
36964 /* confdefs.h. */
36965 _ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36969 #include <math.h>
36971 main ()
36973 __builtin_sqrtf(0);
36975 return 0;
36977 _ACEOF
36978 rm -f conftest.$ac_objext conftest$ac_exeext
36979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36980 (eval $ac_link) 2>conftest.er1
36981 ac_status=$?
36982 grep -v '^ *+' conftest.er1 >conftest.err
36983 rm -f conftest.er1
36984 cat conftest.err >&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); } &&
36987 { ac_try='test -z "$ac_c_werror_flag"
36988 || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36991 ac_status=$?
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try='test -s conftest$ac_exeext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36997 ac_status=$?
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 glibcxx_cv_func___builtin_sqrtf_link=yes
37001 else
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.$ac_ext >&5
37005 glibcxx_cv_func___builtin_sqrtf_link=no
37007 rm -f conftest.err conftest.$ac_objext \
37008 conftest$ac_exeext conftest.$ac_ext
37013 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
37014 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
37016 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
37018 cat >>confdefs.h <<\_ACEOF
37019 #define HAVE___BUILTIN_SQRTF 1
37020 _ACEOF
37027 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
37028 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
37029 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
37030 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
37031 echo $ECHO_N "(cached) $ECHO_C" >&6
37032 else
37036 ac_ext=cc
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37042 cat >conftest.$ac_ext <<_ACEOF
37043 /* confdefs.h. */
37044 _ACEOF
37045 cat confdefs.h >>conftest.$ac_ext
37046 cat >>conftest.$ac_ext <<_ACEOF
37047 /* end confdefs.h. */
37048 #include <math.h>
37050 main ()
37052 __builtin_sqrt(0);
37054 return 0;
37056 _ACEOF
37057 rm -f conftest.$ac_objext
37058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37059 (eval $ac_compile) 2>conftest.er1
37060 ac_status=$?
37061 grep -v '^ *+' conftest.er1 >conftest.err
37062 rm -f conftest.er1
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } &&
37066 { ac_try='test -z "$ac_cxx_werror_flag"
37067 || test ! -s conftest.err'
37068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37069 (eval $ac_try) 2>&5
37070 ac_status=$?
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); }; } &&
37073 { ac_try='test -s conftest.$ac_objext'
37074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37075 (eval $ac_try) 2>&5
37076 ac_status=$?
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); }; }; then
37079 glibcxx_cv_func___builtin_sqrt_use=yes
37080 else
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37084 glibcxx_cv_func___builtin_sqrt_use=no
37086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37087 ac_ext=c
37088 ac_cpp='$CPP $CPPFLAGS'
37089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37099 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37100 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37101 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37102 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37103 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37104 echo $ECHO_N "(cached) $ECHO_C" >&6
37105 else
37107 if test x$gcc_no_link = xyes; then
37108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37110 { (exit 1); exit 1; }; }
37112 cat >conftest.$ac_ext <<_ACEOF
37113 /* confdefs.h. */
37114 _ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37118 #include <math.h>
37120 main ()
37122 __builtin_sqrt(0);
37124 return 0;
37126 _ACEOF
37127 rm -f conftest.$ac_objext conftest$ac_exeext
37128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37129 (eval $ac_link) 2>conftest.er1
37130 ac_status=$?
37131 grep -v '^ *+' conftest.er1 >conftest.err
37132 rm -f conftest.er1
37133 cat conftest.err >&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); } &&
37136 { ac_try='test -z "$ac_c_werror_flag"
37137 || test ! -s conftest.err'
37138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37139 (eval $ac_try) 2>&5
37140 ac_status=$?
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); }; } &&
37143 { ac_try='test -s conftest$ac_exeext'
37144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145 (eval $ac_try) 2>&5
37146 ac_status=$?
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); }; }; then
37149 glibcxx_cv_func___builtin_sqrt_link=yes
37150 else
37151 echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37154 glibcxx_cv_func___builtin_sqrt_link=no
37156 rm -f conftest.err conftest.$ac_objext \
37157 conftest$ac_exeext conftest.$ac_ext
37162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37163 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37165 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37167 cat >>confdefs.h <<\_ACEOF
37168 #define HAVE___BUILTIN_SQRT 1
37169 _ACEOF
37176 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37177 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37178 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37179 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37181 else
37185 ac_ext=cc
37186 ac_cpp='$CXXCPP $CPPFLAGS'
37187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37191 cat >conftest.$ac_ext <<_ACEOF
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 #include <math.h>
37199 main ()
37201 __builtin_sqrtl(0);
37203 return 0;
37205 _ACEOF
37206 rm -f conftest.$ac_objext
37207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37208 (eval $ac_compile) 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } &&
37215 { ac_try='test -z "$ac_cxx_werror_flag"
37216 || test ! -s conftest.err'
37217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37218 (eval $ac_try) 2>&5
37219 ac_status=$?
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); }; } &&
37222 { ac_try='test -s conftest.$ac_objext'
37223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37224 (eval $ac_try) 2>&5
37225 ac_status=$?
37226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37227 (exit $ac_status); }; }; then
37228 glibcxx_cv_func___builtin_sqrtl_use=yes
37229 else
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37233 glibcxx_cv_func___builtin_sqrtl_use=no
37235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37236 ac_ext=c
37237 ac_cpp='$CPP $CPPFLAGS'
37238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37247 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37248 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37249 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37250 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37251 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37252 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37254 else
37256 if test x$gcc_no_link = xyes; then
37257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37259 { (exit 1); exit 1; }; }
37261 cat >conftest.$ac_ext <<_ACEOF
37262 /* confdefs.h. */
37263 _ACEOF
37264 cat confdefs.h >>conftest.$ac_ext
37265 cat >>conftest.$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 #include <math.h>
37269 main ()
37271 __builtin_sqrtl(0);
37273 return 0;
37275 _ACEOF
37276 rm -f conftest.$ac_objext conftest$ac_exeext
37277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37278 (eval $ac_link) 2>conftest.er1
37279 ac_status=$?
37280 grep -v '^ *+' conftest.er1 >conftest.err
37281 rm -f conftest.er1
37282 cat conftest.err >&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } &&
37285 { ac_try='test -z "$ac_c_werror_flag"
37286 || test ! -s conftest.err'
37287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37288 (eval $ac_try) 2>&5
37289 ac_status=$?
37290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 (exit $ac_status); }; } &&
37292 { ac_try='test -s conftest$ac_exeext'
37293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37294 (eval $ac_try) 2>&5
37295 ac_status=$?
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); }; }; then
37298 glibcxx_cv_func___builtin_sqrtl_link=yes
37299 else
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37303 glibcxx_cv_func___builtin_sqrtl_link=no
37305 rm -f conftest.err conftest.$ac_objext \
37306 conftest$ac_exeext conftest.$ac_ext
37311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37314 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37316 cat >>confdefs.h <<\_ACEOF
37317 #define HAVE___BUILTIN_SQRTL 1
37318 _ACEOF
37326 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37327 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37328 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37329 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37330 echo $ECHO_N "(cached) $ECHO_C" >&6
37331 else
37335 ac_ext=cc
37336 ac_cpp='$CXXCPP $CPPFLAGS'
37337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37341 cat >conftest.$ac_ext <<_ACEOF
37342 /* confdefs.h. */
37343 _ACEOF
37344 cat confdefs.h >>conftest.$ac_ext
37345 cat >>conftest.$ac_ext <<_ACEOF
37346 /* end confdefs.h. */
37347 #include <math.h>
37349 main ()
37351 __builtin_sinf(0);
37353 return 0;
37355 _ACEOF
37356 rm -f conftest.$ac_objext
37357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37358 (eval $ac_compile) 2>conftest.er1
37359 ac_status=$?
37360 grep -v '^ *+' conftest.er1 >conftest.err
37361 rm -f conftest.er1
37362 cat conftest.err >&5
37363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37364 (exit $ac_status); } &&
37365 { ac_try='test -z "$ac_cxx_werror_flag"
37366 || test ! -s conftest.err'
37367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37368 (eval $ac_try) 2>&5
37369 ac_status=$?
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); }; } &&
37372 { ac_try='test -s conftest.$ac_objext'
37373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37374 (eval $ac_try) 2>&5
37375 ac_status=$?
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); }; }; then
37378 glibcxx_cv_func___builtin_sinf_use=yes
37379 else
37380 echo "$as_me: failed program was:" >&5
37381 sed 's/^/| /' conftest.$ac_ext >&5
37383 glibcxx_cv_func___builtin_sinf_use=no
37385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37386 ac_ext=c
37387 ac_cpp='$CPP $CPPFLAGS'
37388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37397 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37398 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37399 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37400 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37401 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37402 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 else
37406 if test x$gcc_no_link = xyes; then
37407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37409 { (exit 1); exit 1; }; }
37411 cat >conftest.$ac_ext <<_ACEOF
37412 /* confdefs.h. */
37413 _ACEOF
37414 cat confdefs.h >>conftest.$ac_ext
37415 cat >>conftest.$ac_ext <<_ACEOF
37416 /* end confdefs.h. */
37417 #include <math.h>
37419 main ()
37421 __builtin_sinf(0);
37423 return 0;
37425 _ACEOF
37426 rm -f conftest.$ac_objext conftest$ac_exeext
37427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37428 (eval $ac_link) 2>conftest.er1
37429 ac_status=$?
37430 grep -v '^ *+' conftest.er1 >conftest.err
37431 rm -f conftest.er1
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } &&
37435 { ac_try='test -z "$ac_c_werror_flag"
37436 || test ! -s conftest.err'
37437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37438 (eval $ac_try) 2>&5
37439 ac_status=$?
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); }; } &&
37442 { ac_try='test -s conftest$ac_exeext'
37443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37444 (eval $ac_try) 2>&5
37445 ac_status=$?
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); }; }; then
37448 glibcxx_cv_func___builtin_sinf_link=yes
37449 else
37450 echo "$as_me: failed program was:" >&5
37451 sed 's/^/| /' conftest.$ac_ext >&5
37453 glibcxx_cv_func___builtin_sinf_link=no
37455 rm -f conftest.err conftest.$ac_objext \
37456 conftest$ac_exeext conftest.$ac_ext
37461 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37462 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37464 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37466 cat >>confdefs.h <<\_ACEOF
37467 #define HAVE___BUILTIN_SINF 1
37468 _ACEOF
37475 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37476 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37477 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37478 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 else
37484 ac_ext=cc
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490 cat >conftest.$ac_ext <<_ACEOF
37491 /* confdefs.h. */
37492 _ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496 #include <math.h>
37498 main ()
37500 __builtin_sin(0);
37502 return 0;
37504 _ACEOF
37505 rm -f conftest.$ac_objext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37507 (eval $ac_compile) 2>conftest.er1
37508 ac_status=$?
37509 grep -v '^ *+' conftest.er1 >conftest.err
37510 rm -f conftest.er1
37511 cat conftest.err >&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try='test -z "$ac_cxx_werror_flag"
37515 || test ! -s conftest.err'
37516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37517 (eval $ac_try) 2>&5
37518 ac_status=$?
37519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37520 (exit $ac_status); }; } &&
37521 { ac_try='test -s conftest.$ac_objext'
37522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37523 (eval $ac_try) 2>&5
37524 ac_status=$?
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); }; }; then
37527 glibcxx_cv_func___builtin_sin_use=yes
37528 else
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.$ac_ext >&5
37532 glibcxx_cv_func___builtin_sin_use=no
37534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37535 ac_ext=c
37536 ac_cpp='$CPP $CPPFLAGS'
37537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37547 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37548 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37549 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37550 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37551 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37552 echo $ECHO_N "(cached) $ECHO_C" >&6
37553 else
37555 if test x$gcc_no_link = xyes; then
37556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37558 { (exit 1); exit 1; }; }
37560 cat >conftest.$ac_ext <<_ACEOF
37561 /* confdefs.h. */
37562 _ACEOF
37563 cat confdefs.h >>conftest.$ac_ext
37564 cat >>conftest.$ac_ext <<_ACEOF
37565 /* end confdefs.h. */
37566 #include <math.h>
37568 main ()
37570 __builtin_sin(0);
37572 return 0;
37574 _ACEOF
37575 rm -f conftest.$ac_objext conftest$ac_exeext
37576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37577 (eval $ac_link) 2>conftest.er1
37578 ac_status=$?
37579 grep -v '^ *+' conftest.er1 >conftest.err
37580 rm -f conftest.er1
37581 cat conftest.err >&5
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); } &&
37584 { ac_try='test -z "$ac_c_werror_flag"
37585 || test ! -s conftest.err'
37586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37587 (eval $ac_try) 2>&5
37588 ac_status=$?
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); }; } &&
37591 { ac_try='test -s conftest$ac_exeext'
37592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37593 (eval $ac_try) 2>&5
37594 ac_status=$?
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); }; }; then
37597 glibcxx_cv_func___builtin_sin_link=yes
37598 else
37599 echo "$as_me: failed program was:" >&5
37600 sed 's/^/| /' conftest.$ac_ext >&5
37602 glibcxx_cv_func___builtin_sin_link=no
37604 rm -f conftest.err conftest.$ac_objext \
37605 conftest$ac_exeext conftest.$ac_ext
37610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37611 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37613 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37615 cat >>confdefs.h <<\_ACEOF
37616 #define HAVE___BUILTIN_SIN 1
37617 _ACEOF
37624 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37625 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37626 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37627 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37629 else
37633 ac_ext=cc
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37639 cat >conftest.$ac_ext <<_ACEOF
37640 /* confdefs.h. */
37641 _ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 #include <math.h>
37647 main ()
37649 __builtin_sinl(0);
37651 return 0;
37653 _ACEOF
37654 rm -f conftest.$ac_objext
37655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37656 (eval $ac_compile) 2>conftest.er1
37657 ac_status=$?
37658 grep -v '^ *+' conftest.er1 >conftest.err
37659 rm -f conftest.er1
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } &&
37663 { ac_try='test -z "$ac_cxx_werror_flag"
37664 || test ! -s conftest.err'
37665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37666 (eval $ac_try) 2>&5
37667 ac_status=$?
37668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37669 (exit $ac_status); }; } &&
37670 { ac_try='test -s conftest.$ac_objext'
37671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37672 (eval $ac_try) 2>&5
37673 ac_status=$?
37674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37675 (exit $ac_status); }; }; then
37676 glibcxx_cv_func___builtin_sinl_use=yes
37677 else
37678 echo "$as_me: failed program was:" >&5
37679 sed 's/^/| /' conftest.$ac_ext >&5
37681 glibcxx_cv_func___builtin_sinl_use=no
37683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37684 ac_ext=c
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37695 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37696 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37697 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37698 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37699 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37700 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37701 echo $ECHO_N "(cached) $ECHO_C" >&6
37702 else
37704 if test x$gcc_no_link = xyes; then
37705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37707 { (exit 1); exit 1; }; }
37709 cat >conftest.$ac_ext <<_ACEOF
37710 /* confdefs.h. */
37711 _ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 #include <math.h>
37717 main ()
37719 __builtin_sinl(0);
37721 return 0;
37723 _ACEOF
37724 rm -f conftest.$ac_objext conftest$ac_exeext
37725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37726 (eval $ac_link) 2>conftest.er1
37727 ac_status=$?
37728 grep -v '^ *+' conftest.er1 >conftest.err
37729 rm -f conftest.er1
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } &&
37733 { ac_try='test -z "$ac_c_werror_flag"
37734 || test ! -s conftest.err'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; } &&
37740 { ac_try='test -s conftest$ac_exeext'
37741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37742 (eval $ac_try) 2>&5
37743 ac_status=$?
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); }; }; then
37746 glibcxx_cv_func___builtin_sinl_link=yes
37747 else
37748 echo "$as_me: failed program was:" >&5
37749 sed 's/^/| /' conftest.$ac_ext >&5
37751 glibcxx_cv_func___builtin_sinl_link=no
37753 rm -f conftest.err conftest.$ac_objext \
37754 conftest$ac_exeext conftest.$ac_ext
37759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37760 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37762 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37764 cat >>confdefs.h <<\_ACEOF
37765 #define HAVE___BUILTIN_SINL 1
37766 _ACEOF
37774 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37775 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37776 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37777 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37778 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 else
37783 ac_ext=cc
37784 ac_cpp='$CXXCPP $CPPFLAGS'
37785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37789 cat >conftest.$ac_ext <<_ACEOF
37790 /* confdefs.h. */
37791 _ACEOF
37792 cat confdefs.h >>conftest.$ac_ext
37793 cat >>conftest.$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37795 #include <math.h>
37797 main ()
37799 __builtin_cosf(0);
37801 return 0;
37803 _ACEOF
37804 rm -f conftest.$ac_objext
37805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37806 (eval $ac_compile) 2>conftest.er1
37807 ac_status=$?
37808 grep -v '^ *+' conftest.er1 >conftest.err
37809 rm -f conftest.er1
37810 cat conftest.err >&5
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); } &&
37813 { ac_try='test -z "$ac_cxx_werror_flag"
37814 || test ! -s conftest.err'
37815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37816 (eval $ac_try) 2>&5
37817 ac_status=$?
37818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37819 (exit $ac_status); }; } &&
37820 { ac_try='test -s conftest.$ac_objext'
37821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37822 (eval $ac_try) 2>&5
37823 ac_status=$?
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); }; }; then
37826 glibcxx_cv_func___builtin_cosf_use=yes
37827 else
37828 echo "$as_me: failed program was:" >&5
37829 sed 's/^/| /' conftest.$ac_ext >&5
37831 glibcxx_cv_func___builtin_cosf_use=no
37833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37834 ac_ext=c
37835 ac_cpp='$CPP $CPPFLAGS'
37836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37844 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37845 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37846 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37847 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37848 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37849 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37850 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 else
37854 if test x$gcc_no_link = xyes; then
37855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37857 { (exit 1); exit 1; }; }
37859 cat >conftest.$ac_ext <<_ACEOF
37860 /* confdefs.h. */
37861 _ACEOF
37862 cat confdefs.h >>conftest.$ac_ext
37863 cat >>conftest.$ac_ext <<_ACEOF
37864 /* end confdefs.h. */
37865 #include <math.h>
37867 main ()
37869 __builtin_cosf(0);
37871 return 0;
37873 _ACEOF
37874 rm -f conftest.$ac_objext conftest$ac_exeext
37875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37876 (eval $ac_link) 2>conftest.er1
37877 ac_status=$?
37878 grep -v '^ *+' conftest.er1 >conftest.err
37879 rm -f conftest.er1
37880 cat conftest.err >&5
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); } &&
37883 { ac_try='test -z "$ac_c_werror_flag"
37884 || test ! -s conftest.err'
37885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37886 (eval $ac_try) 2>&5
37887 ac_status=$?
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); }; } &&
37890 { ac_try='test -s conftest$ac_exeext'
37891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37892 (eval $ac_try) 2>&5
37893 ac_status=$?
37894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37895 (exit $ac_status); }; }; then
37896 glibcxx_cv_func___builtin_cosf_link=yes
37897 else
37898 echo "$as_me: failed program was:" >&5
37899 sed 's/^/| /' conftest.$ac_ext >&5
37901 glibcxx_cv_func___builtin_cosf_link=no
37903 rm -f conftest.err conftest.$ac_objext \
37904 conftest$ac_exeext conftest.$ac_ext
37909 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37910 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37912 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37914 cat >>confdefs.h <<\_ACEOF
37915 #define HAVE___BUILTIN_COSF 1
37916 _ACEOF
37923 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37924 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37925 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37926 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37927 echo $ECHO_N "(cached) $ECHO_C" >&6
37928 else
37932 ac_ext=cc
37933 ac_cpp='$CXXCPP $CPPFLAGS'
37934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37938 cat >conftest.$ac_ext <<_ACEOF
37939 /* confdefs.h. */
37940 _ACEOF
37941 cat confdefs.h >>conftest.$ac_ext
37942 cat >>conftest.$ac_ext <<_ACEOF
37943 /* end confdefs.h. */
37944 #include <math.h>
37946 main ()
37948 __builtin_cos(0);
37950 return 0;
37952 _ACEOF
37953 rm -f conftest.$ac_objext
37954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37955 (eval $ac_compile) 2>conftest.er1
37956 ac_status=$?
37957 grep -v '^ *+' conftest.er1 >conftest.err
37958 rm -f conftest.er1
37959 cat conftest.err >&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } &&
37962 { ac_try='test -z "$ac_cxx_werror_flag"
37963 || test ! -s conftest.err'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37966 ac_status=$?
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; } &&
37969 { ac_try='test -s conftest.$ac_objext'
37970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37971 (eval $ac_try) 2>&5
37972 ac_status=$?
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); }; }; then
37975 glibcxx_cv_func___builtin_cos_use=yes
37976 else
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.$ac_ext >&5
37980 glibcxx_cv_func___builtin_cos_use=no
37982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37983 ac_ext=c
37984 ac_cpp='$CPP $CPPFLAGS'
37985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37993 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37994 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37995 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37996 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37997 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37998 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37999 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
38000 echo $ECHO_N "(cached) $ECHO_C" >&6
38001 else
38003 if test x$gcc_no_link = xyes; then
38004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38006 { (exit 1); exit 1; }; }
38008 cat >conftest.$ac_ext <<_ACEOF
38009 /* confdefs.h. */
38010 _ACEOF
38011 cat confdefs.h >>conftest.$ac_ext
38012 cat >>conftest.$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 #include <math.h>
38016 main ()
38018 __builtin_cos(0);
38020 return 0;
38022 _ACEOF
38023 rm -f conftest.$ac_objext conftest$ac_exeext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38025 (eval $ac_link) 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try='test -z "$ac_c_werror_flag"
38033 || test ! -s conftest.err'
38034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38035 (eval $ac_try) 2>&5
38036 ac_status=$?
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); }; } &&
38039 { ac_try='test -s conftest$ac_exeext'
38040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38041 (eval $ac_try) 2>&5
38042 ac_status=$?
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); }; }; then
38045 glibcxx_cv_func___builtin_cos_link=yes
38046 else
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38050 glibcxx_cv_func___builtin_cos_link=no
38052 rm -f conftest.err conftest.$ac_objext \
38053 conftest$ac_exeext conftest.$ac_ext
38058 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38059 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38061 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38063 cat >>confdefs.h <<\_ACEOF
38064 #define HAVE___BUILTIN_COS 1
38065 _ACEOF
38072 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38073 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38074 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38075 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 else
38081 ac_ext=cc
38082 ac_cpp='$CXXCPP $CPPFLAGS'
38083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38087 cat >conftest.$ac_ext <<_ACEOF
38088 /* confdefs.h. */
38089 _ACEOF
38090 cat confdefs.h >>conftest.$ac_ext
38091 cat >>conftest.$ac_ext <<_ACEOF
38092 /* end confdefs.h. */
38093 #include <math.h>
38095 main ()
38097 __builtin_cosl(0);
38099 return 0;
38101 _ACEOF
38102 rm -f conftest.$ac_objext
38103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38104 (eval $ac_compile) 2>conftest.er1
38105 ac_status=$?
38106 grep -v '^ *+' conftest.er1 >conftest.err
38107 rm -f conftest.er1
38108 cat conftest.err >&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); } &&
38111 { ac_try='test -z "$ac_cxx_werror_flag"
38112 || test ! -s conftest.err'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38115 ac_status=$?
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; } &&
38118 { ac_try='test -s conftest.$ac_objext'
38119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38120 (eval $ac_try) 2>&5
38121 ac_status=$?
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); }; }; then
38124 glibcxx_cv_func___builtin_cosl_use=yes
38125 else
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.$ac_ext >&5
38129 glibcxx_cv_func___builtin_cosl_use=no
38131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38132 ac_ext=c
38133 ac_cpp='$CPP $CPPFLAGS'
38134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38143 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38144 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38145 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38146 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38147 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38148 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 else
38152 if test x$gcc_no_link = xyes; then
38153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38155 { (exit 1); exit 1; }; }
38157 cat >conftest.$ac_ext <<_ACEOF
38158 /* confdefs.h. */
38159 _ACEOF
38160 cat confdefs.h >>conftest.$ac_ext
38161 cat >>conftest.$ac_ext <<_ACEOF
38162 /* end confdefs.h. */
38163 #include <math.h>
38165 main ()
38167 __builtin_cosl(0);
38169 return 0;
38171 _ACEOF
38172 rm -f conftest.$ac_objext conftest$ac_exeext
38173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38174 (eval $ac_link) 2>conftest.er1
38175 ac_status=$?
38176 grep -v '^ *+' conftest.er1 >conftest.err
38177 rm -f conftest.er1
38178 cat conftest.err >&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } &&
38181 { ac_try='test -z "$ac_c_werror_flag"
38182 || test ! -s conftest.err'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38185 ac_status=$?
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; } &&
38188 { ac_try='test -s conftest$ac_exeext'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38191 ac_status=$?
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; }; then
38194 glibcxx_cv_func___builtin_cosl_link=yes
38195 else
38196 echo "$as_me: failed program was:" >&5
38197 sed 's/^/| /' conftest.$ac_ext >&5
38199 glibcxx_cv_func___builtin_cosl_link=no
38201 rm -f conftest.err conftest.$ac_objext \
38202 conftest$ac_exeext conftest.$ac_ext
38207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38208 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38210 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38212 cat >>confdefs.h <<\_ACEOF
38213 #define HAVE___BUILTIN_COSL 1
38214 _ACEOF
38223 echo "$as_me:$LINENO: checking for main in -lm" >&5
38224 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38225 if test "${ac_cv_lib_m_main+set}" = set; then
38226 echo $ECHO_N "(cached) $ECHO_C" >&6
38227 else
38228 ac_check_lib_save_LIBS=$LIBS
38229 LIBS="-lm $LIBS"
38230 if test x$gcc_no_link = xyes; then
38231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38233 { (exit 1); exit 1; }; }
38235 cat >conftest.$ac_ext <<_ACEOF
38236 /* confdefs.h. */
38237 _ACEOF
38238 cat confdefs.h >>conftest.$ac_ext
38239 cat >>conftest.$ac_ext <<_ACEOF
38240 /* end confdefs.h. */
38244 main ()
38246 main ();
38248 return 0;
38250 _ACEOF
38251 rm -f conftest.$ac_objext conftest$ac_exeext
38252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38253 (eval $ac_link) 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } &&
38260 { ac_try='test -z "$ac_c_werror_flag"
38261 || test ! -s conftest.err'
38262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38263 (eval $ac_try) 2>&5
38264 ac_status=$?
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); }; } &&
38267 { ac_try='test -s conftest$ac_exeext'
38268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269 (eval $ac_try) 2>&5
38270 ac_status=$?
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); }; }; then
38273 ac_cv_lib_m_main=yes
38274 else
38275 echo "$as_me: failed program was:" >&5
38276 sed 's/^/| /' conftest.$ac_ext >&5
38278 ac_cv_lib_m_main=no
38280 rm -f conftest.err conftest.$ac_objext \
38281 conftest$ac_exeext conftest.$ac_ext
38282 LIBS=$ac_check_lib_save_LIBS
38284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38285 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38286 if test $ac_cv_lib_m_main = yes; then
38287 cat >>confdefs.h <<_ACEOF
38288 #define HAVE_LIBM 1
38289 _ACEOF
38291 LIBS="-lm $LIBS"
38296 for ac_func in copysignf
38298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38299 echo "$as_me:$LINENO: checking for $ac_func" >&5
38300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38301 if eval "test \"\${$as_ac_var+set}\" = set"; then
38302 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 else
38304 if test x$gcc_no_link = xyes; then
38305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38307 { (exit 1); exit 1; }; }
38309 cat >conftest.$ac_ext <<_ACEOF
38310 /* confdefs.h. */
38311 _ACEOF
38312 cat confdefs.h >>conftest.$ac_ext
38313 cat >>conftest.$ac_ext <<_ACEOF
38314 /* end confdefs.h. */
38315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38317 #define $ac_func innocuous_$ac_func
38319 /* System header to define __stub macros and hopefully few prototypes,
38320 which can conflict with char $ac_func (); below.
38321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38322 <limits.h> exists even on freestanding compilers. */
38324 #ifdef __STDC__
38325 # include <limits.h>
38326 #else
38327 # include <assert.h>
38328 #endif
38330 #undef $ac_func
38332 /* Override any gcc2 internal prototype to avoid an error. */
38333 #ifdef __cplusplus
38334 extern "C"
38336 #endif
38337 /* We use char because int might match the return type of a gcc2
38338 builtin and then its argument prototype would still apply. */
38339 char $ac_func ();
38340 /* The GNU C library defines this for functions which it implements
38341 to always fail with ENOSYS. Some functions are actually named
38342 something starting with __ and the normal name is an alias. */
38343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38344 choke me
38345 #else
38346 char (*f) () = $ac_func;
38347 #endif
38348 #ifdef __cplusplus
38350 #endif
38353 main ()
38355 return f != $ac_func;
38357 return 0;
38359 _ACEOF
38360 rm -f conftest.$ac_objext conftest$ac_exeext
38361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38362 (eval $ac_link) 2>conftest.er1
38363 ac_status=$?
38364 grep -v '^ *+' conftest.er1 >conftest.err
38365 rm -f conftest.er1
38366 cat conftest.err >&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } &&
38369 { ac_try='test -z "$ac_c_werror_flag"
38370 || test ! -s conftest.err'
38371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372 (eval $ac_try) 2>&5
38373 ac_status=$?
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); }; } &&
38376 { ac_try='test -s conftest$ac_exeext'
38377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38378 (eval $ac_try) 2>&5
38379 ac_status=$?
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); }; }; then
38382 eval "$as_ac_var=yes"
38383 else
38384 echo "$as_me: failed program was:" >&5
38385 sed 's/^/| /' conftest.$ac_ext >&5
38387 eval "$as_ac_var=no"
38389 rm -f conftest.err conftest.$ac_objext \
38390 conftest$ac_exeext conftest.$ac_ext
38392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38394 if test `eval echo '${'$as_ac_var'}'` = yes; then
38395 cat >>confdefs.h <<_ACEOF
38396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38397 _ACEOF
38399 else
38400 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38402 done
38406 for ac_func in __signbit
38408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38409 echo "$as_me:$LINENO: checking for $ac_func" >&5
38410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38411 if eval "test \"\${$as_ac_var+set}\" = set"; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38413 else
38414 if test x$gcc_no_link = xyes; then
38415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38417 { (exit 1); exit 1; }; }
38419 cat >conftest.$ac_ext <<_ACEOF
38420 /* confdefs.h. */
38421 _ACEOF
38422 cat confdefs.h >>conftest.$ac_ext
38423 cat >>conftest.$ac_ext <<_ACEOF
38424 /* end confdefs.h. */
38425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38427 #define $ac_func innocuous_$ac_func
38429 /* System header to define __stub macros and hopefully few prototypes,
38430 which can conflict with char $ac_func (); below.
38431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38432 <limits.h> exists even on freestanding compilers. */
38434 #ifdef __STDC__
38435 # include <limits.h>
38436 #else
38437 # include <assert.h>
38438 #endif
38440 #undef $ac_func
38442 /* Override any gcc2 internal prototype to avoid an error. */
38443 #ifdef __cplusplus
38444 extern "C"
38446 #endif
38447 /* We use char because int might match the return type of a gcc2
38448 builtin and then its argument prototype would still apply. */
38449 char $ac_func ();
38450 /* The GNU C library defines this for functions which it implements
38451 to always fail with ENOSYS. Some functions are actually named
38452 something starting with __ and the normal name is an alias. */
38453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38454 choke me
38455 #else
38456 char (*f) () = $ac_func;
38457 #endif
38458 #ifdef __cplusplus
38460 #endif
38463 main ()
38465 return f != $ac_func;
38467 return 0;
38469 _ACEOF
38470 rm -f conftest.$ac_objext conftest$ac_exeext
38471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38472 (eval $ac_link) 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } &&
38479 { ac_try='test -z "$ac_c_werror_flag"
38480 || test ! -s conftest.err'
38481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38482 (eval $ac_try) 2>&5
38483 ac_status=$?
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); }; } &&
38486 { ac_try='test -s conftest$ac_exeext'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38489 ac_status=$?
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; }; then
38492 eval "$as_ac_var=yes"
38493 else
38494 echo "$as_me: failed program was:" >&5
38495 sed 's/^/| /' conftest.$ac_ext >&5
38497 eval "$as_ac_var=no"
38499 rm -f conftest.err conftest.$ac_objext \
38500 conftest$ac_exeext conftest.$ac_ext
38502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38504 if test `eval echo '${'$as_ac_var'}'` = yes; then
38505 cat >>confdefs.h <<_ACEOF
38506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38507 _ACEOF
38509 else
38510 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38512 done
38516 for ac_func in __signbitf
38518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38519 echo "$as_me:$LINENO: checking for $ac_func" >&5
38520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38521 if eval "test \"\${$as_ac_var+set}\" = set"; then
38522 echo $ECHO_N "(cached) $ECHO_C" >&6
38523 else
38524 if test x$gcc_no_link = xyes; then
38525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38527 { (exit 1); exit 1; }; }
38529 cat >conftest.$ac_ext <<_ACEOF
38530 /* confdefs.h. */
38531 _ACEOF
38532 cat confdefs.h >>conftest.$ac_ext
38533 cat >>conftest.$ac_ext <<_ACEOF
38534 /* end confdefs.h. */
38535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38537 #define $ac_func innocuous_$ac_func
38539 /* System header to define __stub macros and hopefully few prototypes,
38540 which can conflict with char $ac_func (); below.
38541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38542 <limits.h> exists even on freestanding compilers. */
38544 #ifdef __STDC__
38545 # include <limits.h>
38546 #else
38547 # include <assert.h>
38548 #endif
38550 #undef $ac_func
38552 /* Override any gcc2 internal prototype to avoid an error. */
38553 #ifdef __cplusplus
38554 extern "C"
38556 #endif
38557 /* We use char because int might match the return type of a gcc2
38558 builtin and then its argument prototype would still apply. */
38559 char $ac_func ();
38560 /* The GNU C library defines this for functions which it implements
38561 to always fail with ENOSYS. Some functions are actually named
38562 something starting with __ and the normal name is an alias. */
38563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38564 choke me
38565 #else
38566 char (*f) () = $ac_func;
38567 #endif
38568 #ifdef __cplusplus
38570 #endif
38573 main ()
38575 return f != $ac_func;
38577 return 0;
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582 (eval $ac_link) 2>conftest.er1
38583 ac_status=$?
38584 grep -v '^ *+' conftest.er1 >conftest.err
38585 rm -f conftest.er1
38586 cat conftest.err >&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } &&
38589 { ac_try='test -z "$ac_c_werror_flag"
38590 || test ! -s conftest.err'
38591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38592 (eval $ac_try) 2>&5
38593 ac_status=$?
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); }; } &&
38596 { ac_try='test -s conftest$ac_exeext'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38599 ac_status=$?
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; }; then
38602 eval "$as_ac_var=yes"
38603 else
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.$ac_ext >&5
38607 eval "$as_ac_var=no"
38609 rm -f conftest.err conftest.$ac_objext \
38610 conftest$ac_exeext conftest.$ac_ext
38612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38614 if test `eval echo '${'$as_ac_var'}'` = yes; then
38615 cat >>confdefs.h <<_ACEOF
38616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38617 _ACEOF
38619 else
38620 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38622 done
38625 if test x$ac_cv_func_copysignl = x"yes"; then
38627 for ac_func in __signbitl
38629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38630 echo "$as_me:$LINENO: checking for $ac_func" >&5
38631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38632 if eval "test \"\${$as_ac_var+set}\" = set"; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38634 else
38635 if test x$gcc_no_link = xyes; then
38636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38638 { (exit 1); exit 1; }; }
38640 cat >conftest.$ac_ext <<_ACEOF
38641 /* confdefs.h. */
38642 _ACEOF
38643 cat confdefs.h >>conftest.$ac_ext
38644 cat >>conftest.$ac_ext <<_ACEOF
38645 /* end confdefs.h. */
38646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38648 #define $ac_func innocuous_$ac_func
38650 /* System header to define __stub macros and hopefully few prototypes,
38651 which can conflict with char $ac_func (); below.
38652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38653 <limits.h> exists even on freestanding compilers. */
38655 #ifdef __STDC__
38656 # include <limits.h>
38657 #else
38658 # include <assert.h>
38659 #endif
38661 #undef $ac_func
38663 /* Override any gcc2 internal prototype to avoid an error. */
38664 #ifdef __cplusplus
38665 extern "C"
38667 #endif
38668 /* We use char because int might match the return type of a gcc2
38669 builtin and then its argument prototype would still apply. */
38670 char $ac_func ();
38671 /* The GNU C library defines this for functions which it implements
38672 to always fail with ENOSYS. Some functions are actually named
38673 something starting with __ and the normal name is an alias. */
38674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38675 choke me
38676 #else
38677 char (*f) () = $ac_func;
38678 #endif
38679 #ifdef __cplusplus
38681 #endif
38684 main ()
38686 return f != $ac_func;
38688 return 0;
38690 _ACEOF
38691 rm -f conftest.$ac_objext conftest$ac_exeext
38692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38693 (eval $ac_link) 2>conftest.er1
38694 ac_status=$?
38695 grep -v '^ *+' conftest.er1 >conftest.err
38696 rm -f conftest.er1
38697 cat conftest.err >&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } &&
38700 { ac_try='test -z "$ac_c_werror_flag"
38701 || test ! -s conftest.err'
38702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38703 (eval $ac_try) 2>&5
38704 ac_status=$?
38705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38706 (exit $ac_status); }; } &&
38707 { ac_try='test -s conftest$ac_exeext'
38708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38709 (eval $ac_try) 2>&5
38710 ac_status=$?
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); }; }; then
38713 eval "$as_ac_var=yes"
38714 else
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.$ac_ext >&5
38718 eval "$as_ac_var=no"
38720 rm -f conftest.err conftest.$ac_objext \
38721 conftest$ac_exeext conftest.$ac_ext
38723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38725 if test `eval echo '${'$as_ac_var'}'` = yes; then
38726 cat >>confdefs.h <<_ACEOF
38727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38728 _ACEOF
38730 else
38731 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38733 done
38737 # Used in libmath/Makefile.am.
38738 if test -n "$LIBMATHOBJS"; then
38739 need_libmath=yes
38744 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38745 ac_save_CXXFLAGS="$CXXFLAGS"
38746 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38749 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38750 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38751 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38752 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38753 echo $ECHO_N "(cached) $ECHO_C" >&6
38754 else
38758 ac_ext=cc
38759 ac_cpp='$CXXCPP $CPPFLAGS'
38760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38764 cat >conftest.$ac_ext <<_ACEOF
38765 /* confdefs.h. */
38766 _ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38770 #include <stdlib.h>
38772 main ()
38774 strtold(0, 0);
38776 return 0;
38778 _ACEOF
38779 rm -f conftest.$ac_objext
38780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38781 (eval $ac_compile) 2>conftest.er1
38782 ac_status=$?
38783 grep -v '^ *+' conftest.er1 >conftest.err
38784 rm -f conftest.er1
38785 cat conftest.err >&5
38786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38787 (exit $ac_status); } &&
38788 { ac_try='test -z "$ac_cxx_werror_flag"
38789 || test ! -s conftest.err'
38790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38791 (eval $ac_try) 2>&5
38792 ac_status=$?
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); }; } &&
38795 { ac_try='test -s conftest.$ac_objext'
38796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38797 (eval $ac_try) 2>&5
38798 ac_status=$?
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); }; }; then
38801 glibcxx_cv_func_strtold_use=yes
38802 else
38803 echo "$as_me: failed program was:" >&5
38804 sed 's/^/| /' conftest.$ac_ext >&5
38806 glibcxx_cv_func_strtold_use=no
38808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_ext=c
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38820 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38823 for ac_func in strtold
38825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38826 echo "$as_me:$LINENO: checking for $ac_func" >&5
38827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38828 if eval "test \"\${$as_ac_var+set}\" = set"; then
38829 echo $ECHO_N "(cached) $ECHO_C" >&6
38830 else
38831 if test x$gcc_no_link = xyes; then
38832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38834 { (exit 1); exit 1; }; }
38836 cat >conftest.$ac_ext <<_ACEOF
38837 /* confdefs.h. */
38838 _ACEOF
38839 cat confdefs.h >>conftest.$ac_ext
38840 cat >>conftest.$ac_ext <<_ACEOF
38841 /* end confdefs.h. */
38842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38844 #define $ac_func innocuous_$ac_func
38846 /* System header to define __stub macros and hopefully few prototypes,
38847 which can conflict with char $ac_func (); below.
38848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38849 <limits.h> exists even on freestanding compilers. */
38851 #ifdef __STDC__
38852 # include <limits.h>
38853 #else
38854 # include <assert.h>
38855 #endif
38857 #undef $ac_func
38859 /* Override any gcc2 internal prototype to avoid an error. */
38860 #ifdef __cplusplus
38861 extern "C"
38863 #endif
38864 /* We use char because int might match the return type of a gcc2
38865 builtin and then its argument prototype would still apply. */
38866 char $ac_func ();
38867 /* The GNU C library defines this for functions which it implements
38868 to always fail with ENOSYS. Some functions are actually named
38869 something starting with __ and the normal name is an alias. */
38870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38871 choke me
38872 #else
38873 char (*f) () = $ac_func;
38874 #endif
38875 #ifdef __cplusplus
38877 #endif
38880 main ()
38882 return f != $ac_func;
38884 return 0;
38886 _ACEOF
38887 rm -f conftest.$ac_objext conftest$ac_exeext
38888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38889 (eval $ac_link) 2>conftest.er1
38890 ac_status=$?
38891 grep -v '^ *+' conftest.er1 >conftest.err
38892 rm -f conftest.er1
38893 cat conftest.err >&5
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); } &&
38896 { ac_try='test -z "$ac_c_werror_flag"
38897 || test ! -s conftest.err'
38898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38899 (eval $ac_try) 2>&5
38900 ac_status=$?
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); }; } &&
38903 { ac_try='test -s conftest$ac_exeext'
38904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905 (eval $ac_try) 2>&5
38906 ac_status=$?
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); }; }; then
38909 eval "$as_ac_var=yes"
38910 else
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38914 eval "$as_ac_var=no"
38916 rm -f conftest.err conftest.$ac_objext \
38917 conftest$ac_exeext conftest.$ac_ext
38919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38921 if test `eval echo '${'$as_ac_var'}'` = yes; then
38922 cat >>confdefs.h <<_ACEOF
38923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38924 _ACEOF
38927 done
38935 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38936 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38937 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38938 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38939 echo $ECHO_N "(cached) $ECHO_C" >&6
38940 else
38944 ac_ext=cc
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38950 cat >conftest.$ac_ext <<_ACEOF
38951 /* confdefs.h. */
38952 _ACEOF
38953 cat confdefs.h >>conftest.$ac_ext
38954 cat >>conftest.$ac_ext <<_ACEOF
38955 /* end confdefs.h. */
38956 #include <stdlib.h>
38958 main ()
38960 strtof(0, 0);
38962 return 0;
38964 _ACEOF
38965 rm -f conftest.$ac_objext
38966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38967 (eval $ac_compile) 2>conftest.er1
38968 ac_status=$?
38969 grep -v '^ *+' conftest.er1 >conftest.err
38970 rm -f conftest.er1
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } &&
38974 { ac_try='test -z "$ac_cxx_werror_flag"
38975 || test ! -s conftest.err'
38976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38977 (eval $ac_try) 2>&5
38978 ac_status=$?
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); }; } &&
38981 { ac_try='test -s conftest.$ac_objext'
38982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38983 (eval $ac_try) 2>&5
38984 ac_status=$?
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); }; }; then
38987 glibcxx_cv_func_strtof_use=yes
38988 else
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38992 glibcxx_cv_func_strtof_use=no
38994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38995 ac_ext=c
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
39006 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
39007 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39009 for ac_func in strtof
39011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39012 echo "$as_me:$LINENO: checking for $ac_func" >&5
39013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39014 if eval "test \"\${$as_ac_var+set}\" = set"; then
39015 echo $ECHO_N "(cached) $ECHO_C" >&6
39016 else
39017 if test x$gcc_no_link = xyes; then
39018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39020 { (exit 1); exit 1; }; }
39022 cat >conftest.$ac_ext <<_ACEOF
39023 /* confdefs.h. */
39024 _ACEOF
39025 cat confdefs.h >>conftest.$ac_ext
39026 cat >>conftest.$ac_ext <<_ACEOF
39027 /* end confdefs.h. */
39028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39030 #define $ac_func innocuous_$ac_func
39032 /* System header to define __stub macros and hopefully few prototypes,
39033 which can conflict with char $ac_func (); below.
39034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39035 <limits.h> exists even on freestanding compilers. */
39037 #ifdef __STDC__
39038 # include <limits.h>
39039 #else
39040 # include <assert.h>
39041 #endif
39043 #undef $ac_func
39045 /* Override any gcc2 internal prototype to avoid an error. */
39046 #ifdef __cplusplus
39047 extern "C"
39049 #endif
39050 /* We use char because int might match the return type of a gcc2
39051 builtin and then its argument prototype would still apply. */
39052 char $ac_func ();
39053 /* The GNU C library defines this for functions which it implements
39054 to always fail with ENOSYS. Some functions are actually named
39055 something starting with __ and the normal name is an alias. */
39056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39057 choke me
39058 #else
39059 char (*f) () = $ac_func;
39060 #endif
39061 #ifdef __cplusplus
39063 #endif
39066 main ()
39068 return f != $ac_func;
39070 return 0;
39072 _ACEOF
39073 rm -f conftest.$ac_objext conftest$ac_exeext
39074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39075 (eval $ac_link) 2>conftest.er1
39076 ac_status=$?
39077 grep -v '^ *+' conftest.er1 >conftest.err
39078 rm -f conftest.er1
39079 cat conftest.err >&5
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); } &&
39082 { ac_try='test -z "$ac_c_werror_flag"
39083 || test ! -s conftest.err'
39084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39085 (eval $ac_try) 2>&5
39086 ac_status=$?
39087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088 (exit $ac_status); }; } &&
39089 { ac_try='test -s conftest$ac_exeext'
39090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39091 (eval $ac_try) 2>&5
39092 ac_status=$?
39093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39094 (exit $ac_status); }; }; then
39095 eval "$as_ac_var=yes"
39096 else
39097 echo "$as_me: failed program was:" >&5
39098 sed 's/^/| /' conftest.$ac_ext >&5
39100 eval "$as_ac_var=no"
39102 rm -f conftest.err conftest.$ac_objext \
39103 conftest$ac_exeext conftest.$ac_ext
39105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39107 if test `eval echo '${'$as_ac_var'}'` = yes; then
39108 cat >>confdefs.h <<_ACEOF
39109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39110 _ACEOF
39113 done
39121 CXXFLAGS="$ac_save_CXXFLAGS"
39124 # For showmanyc_helper().
39127 for ac_header in sys/ioctl.h sys/filio.h
39129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39131 echo "$as_me:$LINENO: checking for $ac_header" >&5
39132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39138 else
39139 # Is the header compilable?
39140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39142 cat >conftest.$ac_ext <<_ACEOF
39143 /* confdefs.h. */
39144 _ACEOF
39145 cat confdefs.h >>conftest.$ac_ext
39146 cat >>conftest.$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39148 $ac_includes_default
39149 #include <$ac_header>
39150 _ACEOF
39151 rm -f conftest.$ac_objext
39152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39153 (eval $ac_compile) 2>conftest.er1
39154 ac_status=$?
39155 grep -v '^ *+' conftest.er1 >conftest.err
39156 rm -f conftest.er1
39157 cat conftest.err >&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); } &&
39160 { ac_try='test -z "$ac_c_werror_flag"
39161 || test ! -s conftest.err'
39162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39163 (eval $ac_try) 2>&5
39164 ac_status=$?
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); }; } &&
39167 { ac_try='test -s conftest.$ac_objext'
39168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39169 (eval $ac_try) 2>&5
39170 ac_status=$?
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); }; }; then
39173 ac_header_compiler=yes
39174 else
39175 echo "$as_me: failed program was:" >&5
39176 sed 's/^/| /' conftest.$ac_ext >&5
39178 ac_header_compiler=no
39180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39182 echo "${ECHO_T}$ac_header_compiler" >&6
39184 # Is the header present?
39185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39187 cat >conftest.$ac_ext <<_ACEOF
39188 /* confdefs.h. */
39189 _ACEOF
39190 cat confdefs.h >>conftest.$ac_ext
39191 cat >>conftest.$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 #include <$ac_header>
39194 _ACEOF
39195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39197 ac_status=$?
39198 grep -v '^ *+' conftest.er1 >conftest.err
39199 rm -f conftest.er1
39200 cat conftest.err >&5
39201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39202 (exit $ac_status); } >/dev/null; then
39203 if test -s conftest.err; then
39204 ac_cpp_err=$ac_c_preproc_warn_flag
39205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39206 else
39207 ac_cpp_err=
39209 else
39210 ac_cpp_err=yes
39212 if test -z "$ac_cpp_err"; then
39213 ac_header_preproc=yes
39214 else
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.$ac_ext >&5
39218 ac_header_preproc=no
39220 rm -f conftest.err conftest.$ac_ext
39221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39222 echo "${ECHO_T}$ac_header_preproc" >&6
39224 # So? What about this header?
39225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39226 yes:no: )
39227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39231 ac_header_preproc=yes
39233 no:yes:* )
39234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39247 cat <<\_ASBOX
39248 ## ----------------------------------------- ##
39249 ## Report this to the package-unused lists. ##
39250 ## ----------------------------------------- ##
39251 _ASBOX
39253 sed "s/^/$as_me: WARNING: /" >&2
39255 esac
39256 echo "$as_me:$LINENO: checking for $ac_header" >&5
39257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39259 echo $ECHO_N "(cached) $ECHO_C" >&6
39260 else
39261 eval "$as_ac_Header=\$ac_header_preproc"
39263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39268 cat >>confdefs.h <<_ACEOF
39269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39270 _ACEOF
39274 done
39277 echo "$as_me:$LINENO: checking for poll" >&5
39278 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39279 if test "${glibcxx_cv_POLL+set}" = set; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39281 else
39283 if test x$gcc_no_link = xyes; then
39284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39286 { (exit 1); exit 1; }; }
39288 cat >conftest.$ac_ext <<_ACEOF
39289 /* confdefs.h. */
39290 _ACEOF
39291 cat confdefs.h >>conftest.$ac_ext
39292 cat >>conftest.$ac_ext <<_ACEOF
39293 /* end confdefs.h. */
39294 #include <poll.h>
39296 main ()
39298 struct pollfd pfd[1];
39299 pfd[0].events = POLLIN;
39300 poll(pfd, 1, 0);
39302 return 0;
39304 _ACEOF
39305 rm -f conftest.$ac_objext conftest$ac_exeext
39306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39307 (eval $ac_link) 2>conftest.er1
39308 ac_status=$?
39309 grep -v '^ *+' conftest.er1 >conftest.err
39310 rm -f conftest.er1
39311 cat conftest.err >&5
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); } &&
39314 { ac_try='test -z "$ac_c_werror_flag"
39315 || test ! -s conftest.err'
39316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39317 (eval $ac_try) 2>&5
39318 ac_status=$?
39319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39320 (exit $ac_status); }; } &&
39321 { ac_try='test -s conftest$ac_exeext'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39324 ac_status=$?
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; }; then
39327 glibcxx_cv_POLL=yes
39328 else
39329 echo "$as_me: failed program was:" >&5
39330 sed 's/^/| /' conftest.$ac_ext >&5
39332 glibcxx_cv_POLL=no
39334 rm -f conftest.err conftest.$ac_objext \
39335 conftest$ac_exeext conftest.$ac_ext
39339 if test $glibcxx_cv_POLL = yes; then
39341 cat >>confdefs.h <<\_ACEOF
39342 #define HAVE_POLL 1
39343 _ACEOF
39346 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39347 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39350 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39351 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39352 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39353 echo $ECHO_N "(cached) $ECHO_C" >&6
39354 else
39356 if test x$gcc_no_link = xyes; then
39357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39359 { (exit 1); exit 1; }; }
39361 cat >conftest.$ac_ext <<_ACEOF
39362 /* confdefs.h. */
39363 _ACEOF
39364 cat confdefs.h >>conftest.$ac_ext
39365 cat >>conftest.$ac_ext <<_ACEOF
39366 /* end confdefs.h. */
39367 #include <sys/stat.h>
39369 main ()
39371 struct stat buffer;
39372 fstat(0, &buffer);
39373 S_ISREG(buffer.st_mode);
39375 return 0;
39377 _ACEOF
39378 rm -f conftest.$ac_objext conftest$ac_exeext
39379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39380 (eval $ac_link) 2>conftest.er1
39381 ac_status=$?
39382 grep -v '^ *+' conftest.er1 >conftest.err
39383 rm -f conftest.er1
39384 cat conftest.err >&5
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); } &&
39387 { ac_try='test -z "$ac_c_werror_flag"
39388 || test ! -s conftest.err'
39389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39390 (eval $ac_try) 2>&5
39391 ac_status=$?
39392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39393 (exit $ac_status); }; } &&
39394 { ac_try='test -s conftest$ac_exeext'
39395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39396 (eval $ac_try) 2>&5
39397 ac_status=$?
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); }; }; then
39400 glibcxx_cv_S_ISREG=yes
39401 else
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.$ac_ext >&5
39405 glibcxx_cv_S_ISREG=no
39407 rm -f conftest.err conftest.$ac_objext \
39408 conftest$ac_exeext conftest.$ac_ext
39412 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39414 else
39416 if test x$gcc_no_link = xyes; then
39417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39419 { (exit 1); exit 1; }; }
39421 cat >conftest.$ac_ext <<_ACEOF
39422 /* confdefs.h. */
39423 _ACEOF
39424 cat confdefs.h >>conftest.$ac_ext
39425 cat >>conftest.$ac_ext <<_ACEOF
39426 /* end confdefs.h. */
39427 #include <sys/stat.h>
39429 main ()
39431 struct stat buffer;
39432 fstat(0, &buffer);
39433 S_IFREG & buffer.st_mode;
39435 return 0;
39437 _ACEOF
39438 rm -f conftest.$ac_objext conftest$ac_exeext
39439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39440 (eval $ac_link) 2>conftest.er1
39441 ac_status=$?
39442 grep -v '^ *+' conftest.er1 >conftest.err
39443 rm -f conftest.er1
39444 cat conftest.err >&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); } &&
39447 { ac_try='test -z "$ac_c_werror_flag"
39448 || test ! -s conftest.err'
39449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39450 (eval $ac_try) 2>&5
39451 ac_status=$?
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); }; } &&
39454 { ac_try='test -s conftest$ac_exeext'
39455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39456 (eval $ac_try) 2>&5
39457 ac_status=$?
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); }; }; then
39460 glibcxx_cv_S_IFREG=yes
39461 else
39462 echo "$as_me: failed program was:" >&5
39463 sed 's/^/| /' conftest.$ac_ext >&5
39465 glibcxx_cv_S_IFREG=no
39467 rm -f conftest.err conftest.$ac_objext \
39468 conftest$ac_exeext conftest.$ac_ext
39472 res=no
39473 if test $glibcxx_cv_S_ISREG = yes; then
39475 cat >>confdefs.h <<\_ACEOF
39476 #define HAVE_S_ISREG 1
39477 _ACEOF
39479 res=S_ISREG
39480 elif test $glibcxx_cv_S_IFREG = yes; then
39482 cat >>confdefs.h <<\_ACEOF
39483 #define HAVE_S_IFREG 1
39484 _ACEOF
39486 res=S_IFREG
39488 echo "$as_me:$LINENO: result: $res" >&5
39489 echo "${ECHO_T}$res" >&6
39492 # For xsputn_2().
39494 for ac_header in sys/uio.h
39496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39498 echo "$as_me:$LINENO: checking for $ac_header" >&5
39499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39501 echo $ECHO_N "(cached) $ECHO_C" >&6
39503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39505 else
39506 # Is the header compilable?
39507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39509 cat >conftest.$ac_ext <<_ACEOF
39510 /* confdefs.h. */
39511 _ACEOF
39512 cat confdefs.h >>conftest.$ac_ext
39513 cat >>conftest.$ac_ext <<_ACEOF
39514 /* end confdefs.h. */
39515 $ac_includes_default
39516 #include <$ac_header>
39517 _ACEOF
39518 rm -f conftest.$ac_objext
39519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39520 (eval $ac_compile) 2>conftest.er1
39521 ac_status=$?
39522 grep -v '^ *+' conftest.er1 >conftest.err
39523 rm -f conftest.er1
39524 cat conftest.err >&5
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); } &&
39527 { ac_try='test -z "$ac_c_werror_flag"
39528 || test ! -s conftest.err'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39531 ac_status=$?
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; } &&
39534 { ac_try='test -s conftest.$ac_objext'
39535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39536 (eval $ac_try) 2>&5
39537 ac_status=$?
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); }; }; then
39540 ac_header_compiler=yes
39541 else
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39545 ac_header_compiler=no
39547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39549 echo "${ECHO_T}$ac_header_compiler" >&6
39551 # Is the header present?
39552 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39554 cat >conftest.$ac_ext <<_ACEOF
39555 /* confdefs.h. */
39556 _ACEOF
39557 cat confdefs.h >>conftest.$ac_ext
39558 cat >>conftest.$ac_ext <<_ACEOF
39559 /* end confdefs.h. */
39560 #include <$ac_header>
39561 _ACEOF
39562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39564 ac_status=$?
39565 grep -v '^ *+' conftest.er1 >conftest.err
39566 rm -f conftest.er1
39567 cat conftest.err >&5
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); } >/dev/null; then
39570 if test -s conftest.err; then
39571 ac_cpp_err=$ac_c_preproc_warn_flag
39572 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39573 else
39574 ac_cpp_err=
39576 else
39577 ac_cpp_err=yes
39579 if test -z "$ac_cpp_err"; then
39580 ac_header_preproc=yes
39581 else
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39585 ac_header_preproc=no
39587 rm -f conftest.err conftest.$ac_ext
39588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39589 echo "${ECHO_T}$ac_header_preproc" >&6
39591 # So? What about this header?
39592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39593 yes:no: )
39594 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39595 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39597 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39598 ac_header_preproc=yes
39600 no:yes:* )
39601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39605 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39606 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39607 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39608 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39610 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39611 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39612 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39614 cat <<\_ASBOX
39615 ## ----------------------------------------- ##
39616 ## Report this to the package-unused lists. ##
39617 ## ----------------------------------------- ##
39618 _ASBOX
39620 sed "s/^/$as_me: WARNING: /" >&2
39622 esac
39623 echo "$as_me:$LINENO: checking for $ac_header" >&5
39624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39626 echo $ECHO_N "(cached) $ECHO_C" >&6
39627 else
39628 eval "$as_ac_Header=\$ac_header_preproc"
39630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39635 cat >>confdefs.h <<_ACEOF
39636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39637 _ACEOF
39641 done
39644 echo "$as_me:$LINENO: checking for writev" >&5
39645 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39646 if test "${glibcxx_cv_WRITEV+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 else
39650 if test x$gcc_no_link = xyes; then
39651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39653 { (exit 1); exit 1; }; }
39655 cat >conftest.$ac_ext <<_ACEOF
39656 /* confdefs.h. */
39657 _ACEOF
39658 cat confdefs.h >>conftest.$ac_ext
39659 cat >>conftest.$ac_ext <<_ACEOF
39660 /* end confdefs.h. */
39661 #include <sys/uio.h>
39663 main ()
39665 struct iovec iov[2];
39666 writev(0, iov, 0);
39668 return 0;
39670 _ACEOF
39671 rm -f conftest.$ac_objext conftest$ac_exeext
39672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39673 (eval $ac_link) 2>conftest.er1
39674 ac_status=$?
39675 grep -v '^ *+' conftest.er1 >conftest.err
39676 rm -f conftest.er1
39677 cat conftest.err >&5
39678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679 (exit $ac_status); } &&
39680 { ac_try='test -z "$ac_c_werror_flag"
39681 || test ! -s conftest.err'
39682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39683 (eval $ac_try) 2>&5
39684 ac_status=$?
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); }; } &&
39687 { ac_try='test -s conftest$ac_exeext'
39688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39689 (eval $ac_try) 2>&5
39690 ac_status=$?
39691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39692 (exit $ac_status); }; }; then
39693 glibcxx_cv_WRITEV=yes
39694 else
39695 echo "$as_me: failed program was:" >&5
39696 sed 's/^/| /' conftest.$ac_ext >&5
39698 glibcxx_cv_WRITEV=no
39700 rm -f conftest.err conftest.$ac_objext \
39701 conftest$ac_exeext conftest.$ac_ext
39705 if test $glibcxx_cv_WRITEV = yes; then
39707 cat >>confdefs.h <<\_ACEOF
39708 #define HAVE_WRITEV 1
39709 _ACEOF
39712 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39713 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39716 # For the __streamoff_base_type typedef.
39718 echo "$as_me:$LINENO: checking for int64_t" >&5
39719 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39720 if test "${glibcxx_cv_INT64_T+set}" = set; then
39721 echo $ECHO_N "(cached) $ECHO_C" >&6
39722 else
39724 cat >conftest.$ac_ext <<_ACEOF
39725 /* confdefs.h. */
39726 _ACEOF
39727 cat confdefs.h >>conftest.$ac_ext
39728 cat >>conftest.$ac_ext <<_ACEOF
39729 /* end confdefs.h. */
39730 #include <stdint.h>
39732 main ()
39734 int64_t var;
39736 return 0;
39738 _ACEOF
39739 rm -f conftest.$ac_objext
39740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39741 (eval $ac_compile) 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } &&
39748 { ac_try='test -z "$ac_c_werror_flag"
39749 || test ! -s conftest.err'
39750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39751 (eval $ac_try) 2>&5
39752 ac_status=$?
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); }; } &&
39755 { ac_try='test -s conftest.$ac_objext'
39756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39757 (eval $ac_try) 2>&5
39758 ac_status=$?
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); }; }; then
39761 glibcxx_cv_INT64_T=yes
39762 else
39763 echo "$as_me: failed program was:" >&5
39764 sed 's/^/| /' conftest.$ac_ext >&5
39766 glibcxx_cv_INT64_T=no
39768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39772 if test $glibcxx_cv_INT64_T = yes; then
39774 cat >>confdefs.h <<\_ACEOF
39775 #define HAVE_INT64_T 1
39776 _ACEOF
39779 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39780 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39783 # For LFS support.
39787 ac_ext=cc
39788 ac_cpp='$CXXCPP $CPPFLAGS'
39789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39793 ac_save_CXXFLAGS="$CXXFLAGS"
39794 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39795 echo "$as_me:$LINENO: checking for LFS support" >&5
39796 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39797 if test "${glibcxx_cv_LFS+set}" = set; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 else
39801 if test x$gcc_no_link = xyes; then
39802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39804 { (exit 1); exit 1; }; }
39806 cat >conftest.$ac_ext <<_ACEOF
39807 /* confdefs.h. */
39808 _ACEOF
39809 cat confdefs.h >>conftest.$ac_ext
39810 cat >>conftest.$ac_ext <<_ACEOF
39811 /* end confdefs.h. */
39812 #include <unistd.h>
39813 #include <stdio.h>
39814 #include <sys/stat.h>
39817 main ()
39819 FILE* fp;
39820 fopen64("t", "w");
39821 fseeko64(fp, 0, SEEK_CUR);
39822 ftello64(fp);
39823 lseek64(1, 0, SEEK_CUR);
39824 struct stat64 buf;
39825 fstat64(1, &buf);
39827 return 0;
39829 _ACEOF
39830 rm -f conftest.$ac_objext conftest$ac_exeext
39831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39832 (eval $ac_link) 2>conftest.er1
39833 ac_status=$?
39834 grep -v '^ *+' conftest.er1 >conftest.err
39835 rm -f conftest.er1
39836 cat conftest.err >&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } &&
39839 { ac_try='test -z "$ac_cxx_werror_flag"
39840 || test ! -s conftest.err'
39841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39842 (eval $ac_try) 2>&5
39843 ac_status=$?
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); }; } &&
39846 { ac_try='test -s conftest$ac_exeext'
39847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39848 (eval $ac_try) 2>&5
39849 ac_status=$?
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); }; }; then
39852 glibcxx_cv_LFS=yes
39853 else
39854 echo "$as_me: failed program was:" >&5
39855 sed 's/^/| /' conftest.$ac_ext >&5
39857 glibcxx_cv_LFS=no
39859 rm -f conftest.err conftest.$ac_objext \
39860 conftest$ac_exeext conftest.$ac_ext
39864 if test $glibcxx_cv_LFS = yes; then
39866 cat >>confdefs.h <<\_ACEOF
39867 #define _GLIBCXX_USE_LFS 1
39868 _ACEOF
39871 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39872 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39873 CXXFLAGS="$ac_save_CXXFLAGS"
39874 ac_ext=c
39875 ac_cpp='$CPP $CPPFLAGS'
39876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39882 # For C99 support to TR1.
39887 ac_ext=cc
39888 ac_cpp='$CXXCPP $CPPFLAGS'
39889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39894 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39895 # undefined and fake C99 facilities may be spuriously enabled.
39896 ac_save_CXXFLAGS="$CXXFLAGS"
39897 CXXFLAGS="$CXXFLAGS -std=c++98"
39899 # Check for the existence of <complex.h> complex math functions used
39900 # by tr1/complex.
39902 for ac_header in complex.h
39904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39906 echo "$as_me:$LINENO: checking for $ac_header" >&5
39907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39913 else
39914 # Is the header compilable?
39915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39917 cat >conftest.$ac_ext <<_ACEOF
39918 /* confdefs.h. */
39919 _ACEOF
39920 cat confdefs.h >>conftest.$ac_ext
39921 cat >>conftest.$ac_ext <<_ACEOF
39922 /* end confdefs.h. */
39923 $ac_includes_default
39924 #include <$ac_header>
39925 _ACEOF
39926 rm -f conftest.$ac_objext
39927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39928 (eval $ac_compile) 2>conftest.er1
39929 ac_status=$?
39930 grep -v '^ *+' conftest.er1 >conftest.err
39931 rm -f conftest.er1
39932 cat conftest.err >&5
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); } &&
39935 { ac_try='test -z "$ac_cxx_werror_flag"
39936 || test ! -s conftest.err'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39939 ac_status=$?
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; } &&
39942 { ac_try='test -s conftest.$ac_objext'
39943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39944 (eval $ac_try) 2>&5
39945 ac_status=$?
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 ac_header_compiler=yes
39949 else
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39953 ac_header_compiler=no
39955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39957 echo "${ECHO_T}$ac_header_compiler" >&6
39959 # Is the header present?
39960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39962 cat >conftest.$ac_ext <<_ACEOF
39963 /* confdefs.h. */
39964 _ACEOF
39965 cat confdefs.h >>conftest.$ac_ext
39966 cat >>conftest.$ac_ext <<_ACEOF
39967 /* end confdefs.h. */
39968 #include <$ac_header>
39969 _ACEOF
39970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39972 ac_status=$?
39973 grep -v '^ *+' conftest.er1 >conftest.err
39974 rm -f conftest.er1
39975 cat conftest.err >&5
39976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39977 (exit $ac_status); } >/dev/null; then
39978 if test -s conftest.err; then
39979 ac_cpp_err=$ac_cxx_preproc_warn_flag
39980 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39981 else
39982 ac_cpp_err=
39984 else
39985 ac_cpp_err=yes
39987 if test -z "$ac_cpp_err"; then
39988 ac_header_preproc=yes
39989 else
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.$ac_ext >&5
39993 ac_header_preproc=no
39995 rm -f conftest.err conftest.$ac_ext
39996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39997 echo "${ECHO_T}$ac_header_preproc" >&6
39999 # So? What about this header?
40000 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40001 yes:no: )
40002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40006 ac_header_preproc=yes
40008 no:yes:* )
40009 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40011 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40012 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40013 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40015 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40016 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40019 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40022 cat <<\_ASBOX
40023 ## ----------------------------------------- ##
40024 ## Report this to the package-unused lists. ##
40025 ## ----------------------------------------- ##
40026 _ASBOX
40028 sed "s/^/$as_me: WARNING: /" >&2
40030 esac
40031 echo "$as_me:$LINENO: checking for $ac_header" >&5
40032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40034 echo $ECHO_N "(cached) $ECHO_C" >&6
40035 else
40036 eval "$as_ac_Header=\$ac_header_preproc"
40038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40043 cat >>confdefs.h <<_ACEOF
40044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40045 _ACEOF
40046 ac_has_complex_h=yes
40047 else
40048 ac_has_complex_h=no
40051 done
40053 ac_c99_complex_tr1=no;
40054 if test x"$ac_has_complex_h" = x"yes"; then
40055 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40056 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40057 cat >conftest.$ac_ext <<_ACEOF
40058 /* confdefs.h. */
40059 _ACEOF
40060 cat confdefs.h >>conftest.$ac_ext
40061 cat >>conftest.$ac_ext <<_ACEOF
40062 /* end confdefs.h. */
40063 #include <complex.h>
40065 main ()
40067 typedef __complex__ float float_type; float_type tmpf;
40068 cacosf(tmpf);
40069 casinf(tmpf);
40070 catanf(tmpf);
40071 cacoshf(tmpf);
40072 casinhf(tmpf);
40073 catanhf(tmpf);
40074 typedef __complex__ double double_type; double_type tmpd;
40075 cacos(tmpd);
40076 casin(tmpd);
40077 catan(tmpd);
40078 cacosh(tmpd);
40079 casinh(tmpd);
40080 catanh(tmpd);
40081 typedef __complex__ long double ld_type; ld_type tmpld;
40082 cacosl(tmpld);
40083 casinl(tmpld);
40084 catanl(tmpld);
40085 cacoshl(tmpld);
40086 casinhl(tmpld);
40087 catanhl(tmpld);
40090 return 0;
40092 _ACEOF
40093 rm -f conftest.$ac_objext
40094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40095 (eval $ac_compile) 2>conftest.er1
40096 ac_status=$?
40097 grep -v '^ *+' conftest.er1 >conftest.err
40098 rm -f conftest.er1
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } &&
40102 { ac_try='test -z "$ac_cxx_werror_flag"
40103 || test ! -s conftest.err'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40106 ac_status=$?
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; } &&
40109 { ac_try='test -s conftest.$ac_objext'
40110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40111 (eval $ac_try) 2>&5
40112 ac_status=$?
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); }; }; then
40115 ac_c99_complex_tr1=yes
40116 else
40117 echo "$as_me: failed program was:" >&5
40118 sed 's/^/| /' conftest.$ac_ext >&5
40120 ac_c99_complex_tr1=no
40122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40124 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40125 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40126 if test x"$ac_c99_complex_tr1" = x"yes"; then
40128 cat >>confdefs.h <<\_ACEOF
40129 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40130 _ACEOF
40134 # Check for the existence of <ctype.h> functions.
40135 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40136 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40137 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 else
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147 #include <ctype.h>
40149 main ()
40151 int ch;
40152 int ret;
40153 ret = isblank(ch);
40156 return 0;
40158 _ACEOF
40159 rm -f conftest.$ac_objext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40161 (eval $ac_compile) 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try='test -z "$ac_cxx_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try='test -s conftest.$ac_objext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 glibcxx_cv_c99_ctype_tr1=yes
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 glibcxx_cv_c99_ctype_tr1=no
40188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40192 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40193 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40194 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40196 cat >>confdefs.h <<\_ACEOF
40197 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40198 _ACEOF
40202 # Check for the existence of <fenv.h> functions.
40204 for ac_header in fenv.h
40206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40208 echo "$as_me:$LINENO: checking for $ac_header" >&5
40209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40215 else
40216 # Is the header compilable?
40217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40219 cat >conftest.$ac_ext <<_ACEOF
40220 /* confdefs.h. */
40221 _ACEOF
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40225 $ac_includes_default
40226 #include <$ac_header>
40227 _ACEOF
40228 rm -f conftest.$ac_objext
40229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40230 (eval $ac_compile) 2>conftest.er1
40231 ac_status=$?
40232 grep -v '^ *+' conftest.er1 >conftest.err
40233 rm -f conftest.er1
40234 cat conftest.err >&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); } &&
40237 { ac_try='test -z "$ac_cxx_werror_flag"
40238 || test ! -s conftest.err'
40239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40240 (eval $ac_try) 2>&5
40241 ac_status=$?
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); }; } &&
40244 { ac_try='test -s conftest.$ac_objext'
40245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246 (eval $ac_try) 2>&5
40247 ac_status=$?
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); }; }; then
40250 ac_header_compiler=yes
40251 else
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40255 ac_header_compiler=no
40257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40259 echo "${ECHO_T}$ac_header_compiler" >&6
40261 # Is the header present?
40262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40264 cat >conftest.$ac_ext <<_ACEOF
40265 /* confdefs.h. */
40266 _ACEOF
40267 cat confdefs.h >>conftest.$ac_ext
40268 cat >>conftest.$ac_ext <<_ACEOF
40269 /* end confdefs.h. */
40270 #include <$ac_header>
40271 _ACEOF
40272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40274 ac_status=$?
40275 grep -v '^ *+' conftest.er1 >conftest.err
40276 rm -f conftest.er1
40277 cat conftest.err >&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } >/dev/null; then
40280 if test -s conftest.err; then
40281 ac_cpp_err=$ac_cxx_preproc_warn_flag
40282 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40283 else
40284 ac_cpp_err=
40286 else
40287 ac_cpp_err=yes
40289 if test -z "$ac_cpp_err"; then
40290 ac_header_preproc=yes
40291 else
40292 echo "$as_me: failed program was:" >&5
40293 sed 's/^/| /' conftest.$ac_ext >&5
40295 ac_header_preproc=no
40297 rm -f conftest.err conftest.$ac_ext
40298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40299 echo "${ECHO_T}$ac_header_preproc" >&6
40301 # So? What about this header?
40302 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40303 yes:no: )
40304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40308 ac_header_preproc=yes
40310 no:yes:* )
40311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40324 cat <<\_ASBOX
40325 ## ----------------------------------------- ##
40326 ## Report this to the package-unused lists. ##
40327 ## ----------------------------------------- ##
40328 _ASBOX
40330 sed "s/^/$as_me: WARNING: /" >&2
40332 esac
40333 echo "$as_me:$LINENO: checking for $ac_header" >&5
40334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40336 echo $ECHO_N "(cached) $ECHO_C" >&6
40337 else
40338 eval "$as_ac_Header=\$ac_header_preproc"
40340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40345 cat >>confdefs.h <<_ACEOF
40346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40347 _ACEOF
40348 ac_has_fenv_h=yes
40349 else
40350 ac_has_fenv_h=no
40353 done
40355 ac_c99_fenv_tr1=no;
40356 if test x"$ac_has_fenv_h" = x"yes"; then
40357 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40358 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40359 cat >conftest.$ac_ext <<_ACEOF
40360 /* confdefs.h. */
40361 _ACEOF
40362 cat confdefs.h >>conftest.$ac_ext
40363 cat >>conftest.$ac_ext <<_ACEOF
40364 /* end confdefs.h. */
40365 #include <fenv.h>
40367 main ()
40369 int except, mode;
40370 fexcept_t* pflag;
40371 fenv_t* penv;
40372 int ret;
40373 ret = feclearexcept(except);
40374 ret = fegetexceptflag(pflag, except);
40375 ret = feraiseexcept(except);
40376 ret = fesetexceptflag(pflag, except);
40377 ret = fetestexcept(except);
40378 ret = fegetround();
40379 ret = fesetround(mode);
40380 ret = fegetenv(penv);
40381 ret = feholdexcept(penv);
40382 ret = fesetenv(penv);
40383 ret = feupdateenv(penv);
40386 return 0;
40388 _ACEOF
40389 rm -f conftest.$ac_objext
40390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40391 (eval $ac_compile) 2>conftest.er1
40392 ac_status=$?
40393 grep -v '^ *+' conftest.er1 >conftest.err
40394 rm -f conftest.er1
40395 cat conftest.err >&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } &&
40398 { ac_try='test -z "$ac_cxx_werror_flag"
40399 || test ! -s conftest.err'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40402 ac_status=$?
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; } &&
40405 { ac_try='test -s conftest.$ac_objext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 ac_c99_fenv_tr1=yes
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40416 ac_c99_fenv_tr1=no
40418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40420 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40421 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40422 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40424 cat >>confdefs.h <<\_ACEOF
40425 #define _GLIBCXX_USE_C99_FENV_TR1 1
40426 _ACEOF
40430 # Check for the existence of <stdint.h> types.
40431 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40432 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40433 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40434 echo $ECHO_N "(cached) $ECHO_C" >&6
40435 else
40437 cat >conftest.$ac_ext <<_ACEOF
40438 /* confdefs.h. */
40439 _ACEOF
40440 cat confdefs.h >>conftest.$ac_ext
40441 cat >>conftest.$ac_ext <<_ACEOF
40442 /* end confdefs.h. */
40443 #include <stdint.h>
40445 main ()
40447 typedef int8_t my_int8_t;
40448 typedef int16_t my_int16_t;
40449 typedef int32_t my_int32_t;
40450 typedef int64_t my_int64_t;
40451 typedef int_fast8_t my_int_fast8_t;
40452 typedef int_fast16_t my_int_fast16_t;
40453 typedef int_fast32_t my_int_fast32_t;
40454 typedef int_fast64_t my_int_fast64_t;
40455 typedef int_least8_t my_int_least8_t;
40456 typedef int_least16_t my_int_least16_t;
40457 typedef int_least32_t my_int_least32_t;
40458 typedef int_least64_t my_int_least64_t;
40459 typedef intmax_t my_intmax_t;
40460 typedef intptr_t my_intptr_t;
40461 typedef uint8_t my_uint8_t;
40462 typedef uint16_t my_uint16_t;
40463 typedef uint32_t my_uint32_t;
40464 typedef uint64_t my_uint64_t;
40465 typedef uint_fast8_t my_uint_fast8_t;
40466 typedef uint_fast16_t my_uint_fast16_t;
40467 typedef uint_fast32_t my_uint_fast32_t;
40468 typedef uint_fast64_t my_uint_fast64_t;
40469 typedef uint_least8_t my_uint_least8_t;
40470 typedef uint_least16_t my_uint_least16_t;
40471 typedef uint_least32_t my_uint_least32_t;
40472 typedef uint_least64_t my_uint_least64_t;
40473 typedef uintmax_t my_uintmax_t;
40474 typedef uintptr_t my_uintptr_t;
40477 return 0;
40479 _ACEOF
40480 rm -f conftest.$ac_objext
40481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40482 (eval $ac_compile) 2>conftest.er1
40483 ac_status=$?
40484 grep -v '^ *+' conftest.er1 >conftest.err
40485 rm -f conftest.er1
40486 cat conftest.err >&5
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); } &&
40489 { ac_try='test -z "$ac_cxx_werror_flag"
40490 || test ! -s conftest.err'
40491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40492 (eval $ac_try) 2>&5
40493 ac_status=$?
40494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40495 (exit $ac_status); }; } &&
40496 { ac_try='test -s conftest.$ac_objext'
40497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498 (eval $ac_try) 2>&5
40499 ac_status=$?
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); }; }; then
40502 glibcxx_cv_c99_stdint_tr1=yes
40503 else
40504 echo "$as_me: failed program was:" >&5
40505 sed 's/^/| /' conftest.$ac_ext >&5
40507 glibcxx_cv_c99_stdint_tr1=no
40509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40513 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40514 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40515 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40517 cat >>confdefs.h <<\_ACEOF
40518 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40519 _ACEOF
40523 # Check for the existence of <math.h> functions.
40524 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40525 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40526 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40528 else
40530 cat >conftest.$ac_ext <<_ACEOF
40531 /* confdefs.h. */
40532 _ACEOF
40533 cat confdefs.h >>conftest.$ac_ext
40534 cat >>conftest.$ac_ext <<_ACEOF
40535 /* end confdefs.h. */
40536 #include <math.h>
40538 main ()
40540 typedef double_t my_double_t;
40541 typedef float_t my_float_t;
40542 acosh(0.0);
40543 acoshf(0.0f);
40544 acoshl(0.0l);
40545 asinh(0.0);
40546 asinhf(0.0f);
40547 asinhl(0.0l);
40548 atanh(0.0);
40549 atanhf(0.0f);
40550 atanhl(0.0l);
40551 cbrt(0.0);
40552 cbrtf(0.0f);
40553 cbrtl(0.0l);
40554 copysign(0.0, 0.0);
40555 copysignf(0.0f, 0.0f);
40556 copysignl(0.0l, 0.0l);
40557 erf(0.0);
40558 erff(0.0f);
40559 erfl(0.0l);
40560 erfc(0.0);
40561 erfcf(0.0f);
40562 erfcl(0.0l);
40563 exp2(0.0);
40564 exp2f(0.0f);
40565 exp2l(0.0l);
40566 expm1(0.0);
40567 expm1f(0.0f);
40568 expm1l(0.0l);
40569 fdim(0.0, 0.0);
40570 fdimf(0.0f, 0.0f);
40571 fdiml(0.0l, 0.0l);
40572 fma(0.0, 0.0, 0.0);
40573 fmaf(0.0f, 0.0f, 0.0f);
40574 fmal(0.0l, 0.0l, 0.0l);
40575 fmax(0.0, 0.0);
40576 fmaxf(0.0f, 0.0f);
40577 fmaxl(0.0l, 0.0l);
40578 fmin(0.0, 0.0);
40579 fminf(0.0f, 0.0f);
40580 fminl(0.0l, 0.0l);
40581 hypot(0.0, 0.0);
40582 hypotf(0.0f, 0.0f);
40583 hypotl(0.0l, 0.0l);
40584 ilogb(0.0);
40585 ilogbf(0.0f);
40586 ilogbl(0.0l);
40587 lgamma(0.0);
40588 lgammaf(0.0f);
40589 lgammal(0.0l);
40590 llrint(0.0);
40591 llrintf(0.0f);
40592 llrintl(0.0l);
40593 llround(0.0);
40594 llroundf(0.0f);
40595 llroundl(0.0l);
40596 log1p(0.0);
40597 log1pf(0.0f);
40598 log1pl(0.0l);
40599 log2(0.0);
40600 log2f(0.0f);
40601 log2l(0.0l);
40602 logb(0.0);
40603 logbf(0.0f);
40604 logbl(0.0l);
40605 lrint(0.0);
40606 lrintf(0.0f);
40607 lrintl(0.0l);
40608 lround(0.0);
40609 lroundf(0.0f);
40610 lroundl(0.0l);
40611 nan(0);
40612 nanf(0);
40613 nanl(0);
40614 nearbyint(0.0);
40615 nearbyintf(0.0f);
40616 nearbyintl(0.0l);
40617 nextafter(0.0, 0.0);
40618 nextafterf(0.0f, 0.0f);
40619 nextafterl(0.0l, 0.0l);
40620 nexttoward(0.0, 0.0);
40621 nexttowardf(0.0f, 0.0f);
40622 nexttowardl(0.0l, 0.0l);
40623 remainder(0.0, 0.0);
40624 remainderf(0.0f, 0.0f);
40625 remainderl(0.0l, 0.0l);
40626 remquo(0.0, 0.0, 0);
40627 remquo(0.0f, 0.0f, 0);
40628 remquo(0.0l, 0.0l, 0);
40629 rint(0.0);
40630 rintf(0.0f);
40631 rintl(0.0l);
40632 round(0.0);
40633 roundf(0.0f);
40634 roundl(0.0l);
40635 scalbln(0.0, 0l);
40636 scalblnf(0.0f, 0l);
40637 scalblnl(0.0l, 0l);
40638 scalbn(0.0, 0);
40639 scalbnf(0.0f, 0);
40640 scalbnl(0.0l, 0);
40641 tgamma(0.0);
40642 tgammaf(0.0f);
40643 tgammal(0.0l);
40644 trunc(0.0);
40645 truncf(0.0f);
40646 truncl(0.0l);
40649 return 0;
40651 _ACEOF
40652 rm -f conftest.$ac_objext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40654 (eval $ac_compile) 2>conftest.er1
40655 ac_status=$?
40656 grep -v '^ *+' conftest.er1 >conftest.err
40657 rm -f conftest.er1
40658 cat conftest.err >&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try='test -z "$ac_cxx_werror_flag"
40662 || test ! -s conftest.err'
40663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40664 (eval $ac_try) 2>&5
40665 ac_status=$?
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); }; } &&
40668 { ac_try='test -s conftest.$ac_objext'
40669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40670 (eval $ac_try) 2>&5
40671 ac_status=$?
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; }; then
40674 glibcxx_cv_c99_math_tr1=yes
40675 else
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.$ac_ext >&5
40679 glibcxx_cv_c99_math_tr1=no
40681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40685 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40686 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40687 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40689 cat >>confdefs.h <<\_ACEOF
40690 #define _GLIBCXX_USE_C99_MATH_TR1 1
40691 _ACEOF
40695 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40696 # sense if the previous check fails, per C99, 7.8/1).
40697 ac_c99_inttypes_tr1=no;
40698 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40699 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40700 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 #include <inttypes.h>
40709 main ()
40711 intmax_t i, numer, denom, base;
40712 const char* s;
40713 char** endptr;
40714 intmax_t ret = imaxabs(i);
40715 imaxdiv_t dret = imaxdiv(numer, denom);
40716 ret = strtoimax(s, endptr, base);
40717 uintmax_t uret = strtoumax(s, endptr, base);
40720 return 0;
40722 _ACEOF
40723 rm -f conftest.$ac_objext
40724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40725 (eval $ac_compile) 2>conftest.er1
40726 ac_status=$?
40727 grep -v '^ *+' conftest.er1 >conftest.err
40728 rm -f conftest.er1
40729 cat conftest.err >&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); } &&
40732 { ac_try='test -z "$ac_cxx_werror_flag"
40733 || test ! -s conftest.err'
40734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40735 (eval $ac_try) 2>&5
40736 ac_status=$?
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); }; } &&
40739 { ac_try='test -s conftest.$ac_objext'
40740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40741 (eval $ac_try) 2>&5
40742 ac_status=$?
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); }; }; then
40745 ac_c99_inttypes_tr1=yes
40746 else
40747 echo "$as_me: failed program was:" >&5
40748 sed 's/^/| /' conftest.$ac_ext >&5
40750 ac_c99_inttypes_tr1=no
40752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40754 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40755 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40756 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40758 cat >>confdefs.h <<\_ACEOF
40759 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40760 _ACEOF
40764 # Check for the existence of the <stdbool.h> header.
40766 for ac_header in stdbool.h
40768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40770 echo "$as_me:$LINENO: checking for $ac_header" >&5
40771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40777 else
40778 # Is the header compilable?
40779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40781 cat >conftest.$ac_ext <<_ACEOF
40782 /* confdefs.h. */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 $ac_includes_default
40788 #include <$ac_header>
40789 _ACEOF
40790 rm -f conftest.$ac_objext
40791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40792 (eval $ac_compile) 2>conftest.er1
40793 ac_status=$?
40794 grep -v '^ *+' conftest.er1 >conftest.err
40795 rm -f conftest.er1
40796 cat conftest.err >&5
40797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798 (exit $ac_status); } &&
40799 { ac_try='test -z "$ac_cxx_werror_flag"
40800 || test ! -s conftest.err'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40803 ac_status=$?
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; } &&
40806 { ac_try='test -s conftest.$ac_objext'
40807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40808 (eval $ac_try) 2>&5
40809 ac_status=$?
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); }; }; then
40812 ac_header_compiler=yes
40813 else
40814 echo "$as_me: failed program was:" >&5
40815 sed 's/^/| /' conftest.$ac_ext >&5
40817 ac_header_compiler=no
40819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40821 echo "${ECHO_T}$ac_header_compiler" >&6
40823 # Is the header present?
40824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40826 cat >conftest.$ac_ext <<_ACEOF
40827 /* confdefs.h. */
40828 _ACEOF
40829 cat confdefs.h >>conftest.$ac_ext
40830 cat >>conftest.$ac_ext <<_ACEOF
40831 /* end confdefs.h. */
40832 #include <$ac_header>
40833 _ACEOF
40834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40836 ac_status=$?
40837 grep -v '^ *+' conftest.er1 >conftest.err
40838 rm -f conftest.er1
40839 cat conftest.err >&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } >/dev/null; then
40842 if test -s conftest.err; then
40843 ac_cpp_err=$ac_cxx_preproc_warn_flag
40844 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40845 else
40846 ac_cpp_err=
40848 else
40849 ac_cpp_err=yes
40851 if test -z "$ac_cpp_err"; then
40852 ac_header_preproc=yes
40853 else
40854 echo "$as_me: failed program was:" >&5
40855 sed 's/^/| /' conftest.$ac_ext >&5
40857 ac_header_preproc=no
40859 rm -f conftest.err conftest.$ac_ext
40860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40861 echo "${ECHO_T}$ac_header_preproc" >&6
40863 # So? What about this header?
40864 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40865 yes:no: )
40866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40870 ac_header_preproc=yes
40872 no:yes:* )
40873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40886 cat <<\_ASBOX
40887 ## ----------------------------------------- ##
40888 ## Report this to the package-unused lists. ##
40889 ## ----------------------------------------- ##
40890 _ASBOX
40892 sed "s/^/$as_me: WARNING: /" >&2
40894 esac
40895 echo "$as_me:$LINENO: checking for $ac_header" >&5
40896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40898 echo $ECHO_N "(cached) $ECHO_C" >&6
40899 else
40900 eval "$as_ac_Header=\$ac_header_preproc"
40902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40907 cat >>confdefs.h <<_ACEOF
40908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40909 _ACEOF
40913 done
40916 CXXFLAGS="$ac_save_CXXFLAGS"
40917 ac_ext=c
40918 ac_cpp='$CPP $CPPFLAGS'
40919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40925 # For dev/random and dev/urandom for TR1.
40928 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40929 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40930 if test "${glibcxx_cv_random_tr1+set}" = set; then
40931 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 else
40934 if test "$cross_compiling" = yes; then
40935 glibcxx_cv_random_tr1=no
40936 else
40937 cat >conftest.$ac_ext <<_ACEOF
40938 /* confdefs.h. */
40939 _ACEOF
40940 cat confdefs.h >>conftest.$ac_ext
40941 cat >>conftest.$ac_ext <<_ACEOF
40942 /* end confdefs.h. */
40943 #include <stdio.h>
40944 int main()
40946 return !(fopen("/dev/random", "r")
40947 && fopen("/dev/urandom", "r"));
40950 _ACEOF
40951 rm -f conftest$ac_exeext
40952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40953 (eval $ac_link) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40958 (eval $ac_try) 2>&5
40959 ac_status=$?
40960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961 (exit $ac_status); }; }; then
40962 glibcxx_cv_random_tr1=yes
40963 else
40964 echo "$as_me: program exited with status $ac_status" >&5
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40968 ( exit $ac_status )
40969 glibcxx_cv_random_tr1=no
40971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40976 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40977 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40978 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40980 cat >>confdefs.h <<\_ACEOF
40981 #define _GLIBCXX_USE_RANDOM_TR1 1
40982 _ACEOF
40988 # For TLS support.
40990 # Check whether --enable-tls or --disable-tls was given.
40991 if test "${enable_tls+set}" = set; then
40992 enableval="$enable_tls"
40994 case "$enableval" in
40995 yes|no) ;;
40996 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40997 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40998 { (exit 1); exit 1; }; } ;;
40999 esac
41001 else
41002 enable_tls=yes
41005 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41006 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41007 if test "${gcc_cv_have_tls+set}" = set; then
41008 echo $ECHO_N "(cached) $ECHO_C" >&6
41009 else
41011 if test "$cross_compiling" = yes; then
41012 if test x$gcc_no_link = xyes; then
41013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41015 { (exit 1); exit 1; }; }
41017 cat >conftest.$ac_ext <<_ACEOF
41018 __thread int a; int b; int main() { return a = b; }
41019 _ACEOF
41020 rm -f conftest.$ac_objext conftest$ac_exeext
41021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41022 (eval $ac_link) 2>conftest.er1
41023 ac_status=$?
41024 grep -v '^ *+' conftest.er1 >conftest.err
41025 rm -f conftest.er1
41026 cat conftest.err >&5
41027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028 (exit $ac_status); } &&
41029 { ac_try='test -z "$ac_c_werror_flag"
41030 || test ! -s conftest.err'
41031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41032 (eval $ac_try) 2>&5
41033 ac_status=$?
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); }; } &&
41036 { ac_try='test -s conftest$ac_exeext'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41039 ac_status=$?
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; }; then
41042 gcc_cv_have_tls=yes
41043 else
41044 echo "$as_me: failed program was:" >&5
41045 sed 's/^/| /' conftest.$ac_ext >&5
41047 gcc_cv_have_tls=no
41049 rm -f conftest.err conftest.$ac_objext \
41050 conftest$ac_exeext conftest.$ac_ext
41053 else
41054 cat >conftest.$ac_ext <<_ACEOF
41055 __thread int a; int b; int main() { return a = b; }
41056 _ACEOF
41057 rm -f conftest$ac_exeext
41058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41059 (eval $ac_link) 2>&5
41060 ac_status=$?
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41064 (eval $ac_try) 2>&5
41065 ac_status=$?
41066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41067 (exit $ac_status); }; }; then
41068 chktls_save_LDFLAGS="$LDFLAGS"
41069 LDFLAGS="-static $LDFLAGS"
41070 if test x$gcc_no_link = xyes; then
41071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41073 { (exit 1); exit 1; }; }
41075 cat >conftest.$ac_ext <<_ACEOF
41076 int main() { return 0; }
41077 _ACEOF
41078 rm -f conftest.$ac_objext conftest$ac_exeext
41079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41080 (eval $ac_link) 2>conftest.er1
41081 ac_status=$?
41082 grep -v '^ *+' conftest.er1 >conftest.err
41083 rm -f conftest.er1
41084 cat conftest.err >&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } &&
41087 { ac_try='test -z "$ac_c_werror_flag"
41088 || test ! -s conftest.err'
41089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41090 (eval $ac_try) 2>&5
41091 ac_status=$?
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); }; } &&
41094 { ac_try='test -s conftest$ac_exeext'
41095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41096 (eval $ac_try) 2>&5
41097 ac_status=$?
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); }; }; then
41100 if test "$cross_compiling" = yes; then
41101 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41102 See \`config.log' for more details." >&5
41103 echo "$as_me: error: cannot run test program while cross compiling
41104 See \`config.log' for more details." >&2;}
41105 { (exit 1); exit 1; }; }
41106 else
41107 cat >conftest.$ac_ext <<_ACEOF
41108 __thread int a; int b; int main() { return a = b; }
41109 _ACEOF
41110 rm -f conftest$ac_exeext
41111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41112 (eval $ac_link) 2>&5
41113 ac_status=$?
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117 (eval $ac_try) 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); }; }; then
41121 gcc_cv_have_tls=yes
41122 else
41123 echo "$as_me: program exited with status $ac_status" >&5
41124 echo "$as_me: failed program was:" >&5
41125 sed 's/^/| /' conftest.$ac_ext >&5
41127 ( exit $ac_status )
41128 gcc_cv_have_tls=no
41130 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41132 else
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41136 gcc_cv_have_tls=yes
41138 rm -f conftest.err conftest.$ac_objext \
41139 conftest$ac_exeext conftest.$ac_ext
41140 LDFLAGS="$chktls_save_LDFLAGS"
41141 if test $gcc_cv_have_tls = yes; then
41142 chktls_save_CFLAGS="$CFLAGS"
41143 thread_CFLAGS=failed
41144 for flag in '' '-pthread' '-lpthread'; do
41145 CFLAGS="$flag $chktls_save_CFLAGS"
41146 if test x$gcc_no_link = xyes; then
41147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41149 { (exit 1); exit 1; }; }
41151 cat >conftest.$ac_ext <<_ACEOF
41152 /* confdefs.h. */
41153 _ACEOF
41154 cat confdefs.h >>conftest.$ac_ext
41155 cat >>conftest.$ac_ext <<_ACEOF
41156 /* end confdefs.h. */
41157 #include <pthread.h>
41158 void *g(void *d) { return NULL; }
41160 main ()
41162 pthread_t t; pthread_create(&t,NULL,g,NULL);
41164 return 0;
41166 _ACEOF
41167 rm -f conftest.$ac_objext conftest$ac_exeext
41168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41169 (eval $ac_link) 2>conftest.er1
41170 ac_status=$?
41171 grep -v '^ *+' conftest.er1 >conftest.err
41172 rm -f conftest.er1
41173 cat conftest.err >&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); } &&
41176 { ac_try='test -z "$ac_c_werror_flag"
41177 || test ! -s conftest.err'
41178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41179 (eval $ac_try) 2>&5
41180 ac_status=$?
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); }; } &&
41183 { ac_try='test -s conftest$ac_exeext'
41184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41185 (eval $ac_try) 2>&5
41186 ac_status=$?
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); }; }; then
41189 thread_CFLAGS="$flag"
41190 else
41191 echo "$as_me: failed program was:" >&5
41192 sed 's/^/| /' conftest.$ac_ext >&5
41195 rm -f conftest.err conftest.$ac_objext \
41196 conftest$ac_exeext conftest.$ac_ext
41197 if test "X$thread_CFLAGS" != Xfailed; then
41198 break
41200 done
41201 CFLAGS="$chktls_save_CFLAGS"
41202 if test "X$thread_CFLAGS" != Xfailed; then
41203 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41204 if test "$cross_compiling" = yes; then
41205 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41206 See \`config.log' for more details." >&5
41207 echo "$as_me: error: cannot run test program while cross compiling
41208 See \`config.log' for more details." >&2;}
41209 { (exit 1); exit 1; }; }
41210 else
41211 cat >conftest.$ac_ext <<_ACEOF
41212 /* confdefs.h. */
41213 _ACEOF
41214 cat confdefs.h >>conftest.$ac_ext
41215 cat >>conftest.$ac_ext <<_ACEOF
41216 /* end confdefs.h. */
41217 #include <pthread.h>
41218 __thread int a;
41219 static int *a_in_other_thread;
41220 static void *
41221 thread_func (void *arg)
41223 a_in_other_thread = &a;
41224 return (void *)0;
41227 main ()
41229 pthread_t thread;
41230 void *thread_retval;
41231 int *a_in_main_thread;
41232 if (pthread_create (&thread, (pthread_attr_t *)0,
41233 thread_func, (void *)0))
41234 return 0;
41235 a_in_main_thread = &a;
41236 if (pthread_join (thread, &thread_retval))
41237 return 0;
41238 return (a_in_other_thread == a_in_main_thread);
41240 return 0;
41242 _ACEOF
41243 rm -f conftest$ac_exeext
41244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41245 (eval $ac_link) 2>&5
41246 ac_status=$?
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41250 (eval $ac_try) 2>&5
41251 ac_status=$?
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); }; }; then
41254 gcc_cv_have_tls=yes
41255 else
41256 echo "$as_me: program exited with status $ac_status" >&5
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41260 ( exit $ac_status )
41261 gcc_cv_have_tls=no
41263 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41265 CFLAGS="$chktls_save_CFLAGS"
41268 else
41269 echo "$as_me: program exited with status $ac_status" >&5
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.$ac_ext >&5
41273 ( exit $ac_status )
41274 gcc_cv_have_tls=no
41276 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41279 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41280 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41281 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define HAVE_TLS 1
41285 _ACEOF
41289 # For _Unwind_GetIPInfo.
41293 ac_ext=cc
41294 ac_cpp='$CXXCPP $CPPFLAGS'
41295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41299 ac_save_CXXFLAGS="$CXXFLAGS"
41300 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41301 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41302 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41303 if test "${gcc_cv_getipinfo+set}" = set; then
41304 echo $ECHO_N "(cached) $ECHO_C" >&6
41305 else
41307 if test x$gcc_no_link = xyes; then
41308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41310 { (exit 1); exit 1; }; }
41312 cat >conftest.$ac_ext <<_ACEOF
41313 /* confdefs.h. */
41314 _ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318 extern "C" { extern void _Unwind_GetIPInfo(); }
41320 main ()
41322 _Unwind_GetIPInfo();
41324 return 0;
41326 _ACEOF
41327 rm -f conftest.$ac_objext conftest$ac_exeext
41328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41329 (eval $ac_link) 2>conftest.er1
41330 ac_status=$?
41331 grep -v '^ *+' conftest.er1 >conftest.err
41332 rm -f conftest.er1
41333 cat conftest.err >&5
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); } &&
41336 { ac_try='test -z "$ac_cxx_werror_flag"
41337 || test ! -s conftest.err'
41338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41339 (eval $ac_try) 2>&5
41340 ac_status=$?
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); }; } &&
41343 { ac_try='test -s conftest$ac_exeext'
41344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41345 (eval $ac_try) 2>&5
41346 ac_status=$?
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); }; }; then
41349 gcc_cv_getipinfo=yes
41350 else
41351 echo "$as_me: failed program was:" >&5
41352 sed 's/^/| /' conftest.$ac_ext >&5
41354 gcc_cv_getipinfo=no
41356 rm -f conftest.err conftest.$ac_objext \
41357 conftest$ac_exeext conftest.$ac_ext
41361 if test $gcc_cv_getipinfo = yes; then
41363 cat >>confdefs.h <<\_ACEOF
41364 #define HAVE_GETIPINFO 1
41365 _ACEOF
41368 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41369 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41370 CXXFLAGS="$ac_save_CXXFLAGS"
41371 ac_ext=c
41372 ac_cpp='$CPP $CPPFLAGS'
41373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41380 if test "${ac_cv_header_locale_h+set}" = set; then
41381 echo "$as_me:$LINENO: checking for locale.h" >&5
41382 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41383 if test "${ac_cv_header_locale_h+set}" = set; then
41384 echo $ECHO_N "(cached) $ECHO_C" >&6
41386 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41387 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41388 else
41389 # Is the header compilable?
41390 echo "$as_me:$LINENO: checking locale.h usability" >&5
41391 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41392 cat >conftest.$ac_ext <<_ACEOF
41393 /* confdefs.h. */
41394 _ACEOF
41395 cat confdefs.h >>conftest.$ac_ext
41396 cat >>conftest.$ac_ext <<_ACEOF
41397 /* end confdefs.h. */
41398 $ac_includes_default
41399 #include <locale.h>
41400 _ACEOF
41401 rm -f conftest.$ac_objext
41402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41403 (eval $ac_compile) 2>conftest.er1
41404 ac_status=$?
41405 grep -v '^ *+' conftest.er1 >conftest.err
41406 rm -f conftest.er1
41407 cat conftest.err >&5
41408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41409 (exit $ac_status); } &&
41410 { ac_try='test -z "$ac_c_werror_flag"
41411 || test ! -s conftest.err'
41412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41413 (eval $ac_try) 2>&5
41414 ac_status=$?
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); }; } &&
41417 { ac_try='test -s conftest.$ac_objext'
41418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41419 (eval $ac_try) 2>&5
41420 ac_status=$?
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); }; }; then
41423 ac_header_compiler=yes
41424 else
41425 echo "$as_me: failed program was:" >&5
41426 sed 's/^/| /' conftest.$ac_ext >&5
41428 ac_header_compiler=no
41430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41432 echo "${ECHO_T}$ac_header_compiler" >&6
41434 # Is the header present?
41435 echo "$as_me:$LINENO: checking locale.h presence" >&5
41436 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41437 cat >conftest.$ac_ext <<_ACEOF
41438 /* confdefs.h. */
41439 _ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41443 #include <locale.h>
41444 _ACEOF
41445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41447 ac_status=$?
41448 grep -v '^ *+' conftest.er1 >conftest.err
41449 rm -f conftest.er1
41450 cat conftest.err >&5
41451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452 (exit $ac_status); } >/dev/null; then
41453 if test -s conftest.err; then
41454 ac_cpp_err=$ac_c_preproc_warn_flag
41455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41456 else
41457 ac_cpp_err=
41459 else
41460 ac_cpp_err=yes
41462 if test -z "$ac_cpp_err"; then
41463 ac_header_preproc=yes
41464 else
41465 echo "$as_me: failed program was:" >&5
41466 sed 's/^/| /' conftest.$ac_ext >&5
41468 ac_header_preproc=no
41470 rm -f conftest.err conftest.$ac_ext
41471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41472 echo "${ECHO_T}$ac_header_preproc" >&6
41474 # So? What about this header?
41475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41476 yes:no: )
41477 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41478 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41479 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41480 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41481 ac_header_preproc=yes
41483 no:yes:* )
41484 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41485 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41486 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41487 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41488 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41489 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41490 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41491 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41492 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41493 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41494 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41495 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41497 cat <<\_ASBOX
41498 ## ----------------------------------------- ##
41499 ## Report this to the package-unused lists. ##
41500 ## ----------------------------------------- ##
41501 _ASBOX
41503 sed "s/^/$as_me: WARNING: /" >&2
41505 esac
41506 echo "$as_me:$LINENO: checking for locale.h" >&5
41507 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41508 if test "${ac_cv_header_locale_h+set}" = set; then
41509 echo $ECHO_N "(cached) $ECHO_C" >&6
41510 else
41511 ac_cv_header_locale_h=$ac_header_preproc
41513 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41514 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41517 if test $ac_cv_header_locale_h = yes; then
41519 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41520 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41521 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41523 else
41524 if test x$gcc_no_link = xyes; then
41525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41527 { (exit 1); exit 1; }; }
41529 cat >conftest.$ac_ext <<_ACEOF
41530 /* confdefs.h. */
41531 _ACEOF
41532 cat confdefs.h >>conftest.$ac_ext
41533 cat >>conftest.$ac_ext <<_ACEOF
41534 /* end confdefs.h. */
41535 #include <locale.h>
41537 main ()
41539 return LC_MESSAGES
41541 return 0;
41543 _ACEOF
41544 rm -f conftest.$ac_objext conftest$ac_exeext
41545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41546 (eval $ac_link) 2>conftest.er1
41547 ac_status=$?
41548 grep -v '^ *+' conftest.er1 >conftest.err
41549 rm -f conftest.er1
41550 cat conftest.err >&5
41551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41552 (exit $ac_status); } &&
41553 { ac_try='test -z "$ac_c_werror_flag"
41554 || test ! -s conftest.err'
41555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41556 (eval $ac_try) 2>&5
41557 ac_status=$?
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; } &&
41560 { ac_try='test -s conftest$ac_exeext'
41561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41562 (eval $ac_try) 2>&5
41563 ac_status=$?
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; }; then
41566 ac_cv_val_LC_MESSAGES=yes
41567 else
41568 echo "$as_me: failed program was:" >&5
41569 sed 's/^/| /' conftest.$ac_ext >&5
41571 ac_cv_val_LC_MESSAGES=no
41573 rm -f conftest.err conftest.$ac_objext \
41574 conftest$ac_exeext conftest.$ac_ext
41576 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41577 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41578 if test $ac_cv_val_LC_MESSAGES = yes; then
41580 cat >>confdefs.h <<\_ACEOF
41581 #define HAVE_LC_MESSAGES 1
41582 _ACEOF
41591 cat >conftest.$ac_ext <<_ACEOF
41592 /* confdefs.h. */
41593 _ACEOF
41594 cat confdefs.h >>conftest.$ac_ext
41595 cat >>conftest.$ac_ext <<_ACEOF
41596 /* end confdefs.h. */
41597 #include <setjmp.h>
41599 main ()
41601 sigjmp_buf env;
41602 while (! sigsetjmp (env, 1))
41603 siglongjmp (env, 1);
41606 return 0;
41608 _ACEOF
41609 rm -f conftest.$ac_objext
41610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41611 (eval $ac_compile) 2>conftest.er1
41612 ac_status=$?
41613 grep -v '^ *+' conftest.er1 >conftest.err
41614 rm -f conftest.er1
41615 cat conftest.err >&5
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); } &&
41618 { ac_try='test -z "$ac_c_werror_flag"
41619 || test ! -s conftest.err'
41620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41621 (eval $ac_try) 2>&5
41622 ac_status=$?
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); }; } &&
41625 { ac_try='test -s conftest.$ac_objext'
41626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41627 (eval $ac_try) 2>&5
41628 ac_status=$?
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); }; }; then
41632 cat >>confdefs.h <<\_ACEOF
41633 #define HAVE_SIGSETJMP 1
41634 _ACEOF
41636 else
41637 echo "$as_me: failed program was:" >&5
41638 sed 's/^/| /' conftest.$ac_ext >&5
41641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41643 if test x$gcc_no_link = xyes; then
41644 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41645 ac_cv_func_mmap_fixed_mapped=no
41648 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41651 for ac_header in stdlib.h unistd.h
41653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41655 echo "$as_me:$LINENO: checking for $ac_header" >&5
41656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41658 echo $ECHO_N "(cached) $ECHO_C" >&6
41660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41662 else
41663 # Is the header compilable?
41664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41666 cat >conftest.$ac_ext <<_ACEOF
41667 /* confdefs.h. */
41668 _ACEOF
41669 cat confdefs.h >>conftest.$ac_ext
41670 cat >>conftest.$ac_ext <<_ACEOF
41671 /* end confdefs.h. */
41672 $ac_includes_default
41673 #include <$ac_header>
41674 _ACEOF
41675 rm -f conftest.$ac_objext
41676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41677 (eval $ac_compile) 2>conftest.er1
41678 ac_status=$?
41679 grep -v '^ *+' conftest.er1 >conftest.err
41680 rm -f conftest.er1
41681 cat conftest.err >&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); } &&
41684 { ac_try='test -z "$ac_c_werror_flag"
41685 || test ! -s conftest.err'
41686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41687 (eval $ac_try) 2>&5
41688 ac_status=$?
41689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41690 (exit $ac_status); }; } &&
41691 { ac_try='test -s conftest.$ac_objext'
41692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41693 (eval $ac_try) 2>&5
41694 ac_status=$?
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); }; }; then
41697 ac_header_compiler=yes
41698 else
41699 echo "$as_me: failed program was:" >&5
41700 sed 's/^/| /' conftest.$ac_ext >&5
41702 ac_header_compiler=no
41704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41706 echo "${ECHO_T}$ac_header_compiler" >&6
41708 # Is the header present?
41709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41711 cat >conftest.$ac_ext <<_ACEOF
41712 /* confdefs.h. */
41713 _ACEOF
41714 cat confdefs.h >>conftest.$ac_ext
41715 cat >>conftest.$ac_ext <<_ACEOF
41716 /* end confdefs.h. */
41717 #include <$ac_header>
41718 _ACEOF
41719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41721 ac_status=$?
41722 grep -v '^ *+' conftest.er1 >conftest.err
41723 rm -f conftest.er1
41724 cat conftest.err >&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } >/dev/null; then
41727 if test -s conftest.err; then
41728 ac_cpp_err=$ac_c_preproc_warn_flag
41729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41730 else
41731 ac_cpp_err=
41733 else
41734 ac_cpp_err=yes
41736 if test -z "$ac_cpp_err"; then
41737 ac_header_preproc=yes
41738 else
41739 echo "$as_me: failed program was:" >&5
41740 sed 's/^/| /' conftest.$ac_ext >&5
41742 ac_header_preproc=no
41744 rm -f conftest.err conftest.$ac_ext
41745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41746 echo "${ECHO_T}$ac_header_preproc" >&6
41748 # So? What about this header?
41749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41750 yes:no: )
41751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41755 ac_header_preproc=yes
41757 no:yes:* )
41758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41771 cat <<\_ASBOX
41772 ## ----------------------------------------- ##
41773 ## Report this to the package-unused lists. ##
41774 ## ----------------------------------------- ##
41775 _ASBOX
41777 sed "s/^/$as_me: WARNING: /" >&2
41779 esac
41780 echo "$as_me:$LINENO: checking for $ac_header" >&5
41781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41783 echo $ECHO_N "(cached) $ECHO_C" >&6
41784 else
41785 eval "$as_ac_Header=\$ac_header_preproc"
41787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41792 cat >>confdefs.h <<_ACEOF
41793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41794 _ACEOF
41798 done
41801 for ac_func in getpagesize
41803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41804 echo "$as_me:$LINENO: checking for $ac_func" >&5
41805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41806 if eval "test \"\${$as_ac_var+set}\" = set"; then
41807 echo $ECHO_N "(cached) $ECHO_C" >&6
41808 else
41809 if test x$gcc_no_link = xyes; then
41810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41812 { (exit 1); exit 1; }; }
41814 cat >conftest.$ac_ext <<_ACEOF
41815 /* confdefs.h. */
41816 _ACEOF
41817 cat confdefs.h >>conftest.$ac_ext
41818 cat >>conftest.$ac_ext <<_ACEOF
41819 /* end confdefs.h. */
41820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41822 #define $ac_func innocuous_$ac_func
41824 /* System header to define __stub macros and hopefully few prototypes,
41825 which can conflict with char $ac_func (); below.
41826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41827 <limits.h> exists even on freestanding compilers. */
41829 #ifdef __STDC__
41830 # include <limits.h>
41831 #else
41832 # include <assert.h>
41833 #endif
41835 #undef $ac_func
41837 /* Override any gcc2 internal prototype to avoid an error. */
41838 #ifdef __cplusplus
41839 extern "C"
41841 #endif
41842 /* We use char because int might match the return type of a gcc2
41843 builtin and then its argument prototype would still apply. */
41844 char $ac_func ();
41845 /* The GNU C library defines this for functions which it implements
41846 to always fail with ENOSYS. Some functions are actually named
41847 something starting with __ and the normal name is an alias. */
41848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41849 choke me
41850 #else
41851 char (*f) () = $ac_func;
41852 #endif
41853 #ifdef __cplusplus
41855 #endif
41858 main ()
41860 return f != $ac_func;
41862 return 0;
41864 _ACEOF
41865 rm -f conftest.$ac_objext conftest$ac_exeext
41866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41867 (eval $ac_link) 2>conftest.er1
41868 ac_status=$?
41869 grep -v '^ *+' conftest.er1 >conftest.err
41870 rm -f conftest.er1
41871 cat conftest.err >&5
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); } &&
41874 { ac_try='test -z "$ac_c_werror_flag"
41875 || test ! -s conftest.err'
41876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41877 (eval $ac_try) 2>&5
41878 ac_status=$?
41879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41880 (exit $ac_status); }; } &&
41881 { ac_try='test -s conftest$ac_exeext'
41882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41883 (eval $ac_try) 2>&5
41884 ac_status=$?
41885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41886 (exit $ac_status); }; }; then
41887 eval "$as_ac_var=yes"
41888 else
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.$ac_ext >&5
41892 eval "$as_ac_var=no"
41894 rm -f conftest.err conftest.$ac_objext \
41895 conftest$ac_exeext conftest.$ac_ext
41897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41899 if test `eval echo '${'$as_ac_var'}'` = yes; then
41900 cat >>confdefs.h <<_ACEOF
41901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41902 _ACEOF
41905 done
41907 echo "$as_me:$LINENO: checking for working mmap" >&5
41908 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41909 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41910 echo $ECHO_N "(cached) $ECHO_C" >&6
41911 else
41912 if test "$cross_compiling" = yes; then
41913 ac_cv_func_mmap_fixed_mapped=no
41914 else
41915 cat >conftest.$ac_ext <<_ACEOF
41916 /* confdefs.h. */
41917 _ACEOF
41918 cat confdefs.h >>conftest.$ac_ext
41919 cat >>conftest.$ac_ext <<_ACEOF
41920 /* end confdefs.h. */
41921 $ac_includes_default
41922 /* malloc might have been renamed as rpl_malloc. */
41923 #undef malloc
41925 /* Thanks to Mike Haertel and Jim Avera for this test.
41926 Here is a matrix of mmap possibilities:
41927 mmap private not fixed
41928 mmap private fixed at somewhere currently unmapped
41929 mmap private fixed at somewhere already mapped
41930 mmap shared not fixed
41931 mmap shared fixed at somewhere currently unmapped
41932 mmap shared fixed at somewhere already mapped
41933 For private mappings, we should verify that changes cannot be read()
41934 back from the file, nor mmap's back from the file at a different
41935 address. (There have been systems where private was not correctly
41936 implemented like the infamous i386 svr4.0, and systems where the
41937 VM page cache was not coherent with the file system buffer cache
41938 like early versions of FreeBSD and possibly contemporary NetBSD.)
41939 For shared mappings, we should conversely verify that changes get
41940 propagated back to all the places they're supposed to be.
41942 Grep wants private fixed already mapped.
41943 The main things grep needs to know about mmap are:
41944 * does it exist and is it safe to write into the mmap'd area
41945 * how to use it (BSD variants) */
41947 #include <fcntl.h>
41948 #include <sys/mman.h>
41950 #if !STDC_HEADERS && !HAVE_STDLIB_H
41951 char *malloc ();
41952 #endif
41954 /* This mess was copied from the GNU getpagesize.h. */
41955 #if !HAVE_GETPAGESIZE
41956 /* Assume that all systems that can run configure have sys/param.h. */
41957 # if !HAVE_SYS_PARAM_H
41958 # define HAVE_SYS_PARAM_H 1
41959 # endif
41961 # ifdef _SC_PAGESIZE
41962 # define getpagesize() sysconf(_SC_PAGESIZE)
41963 # else /* no _SC_PAGESIZE */
41964 # if HAVE_SYS_PARAM_H
41965 # include <sys/param.h>
41966 # ifdef EXEC_PAGESIZE
41967 # define getpagesize() EXEC_PAGESIZE
41968 # else /* no EXEC_PAGESIZE */
41969 # ifdef NBPG
41970 # define getpagesize() NBPG * CLSIZE
41971 # ifndef CLSIZE
41972 # define CLSIZE 1
41973 # endif /* no CLSIZE */
41974 # else /* no NBPG */
41975 # ifdef NBPC
41976 # define getpagesize() NBPC
41977 # else /* no NBPC */
41978 # ifdef PAGESIZE
41979 # define getpagesize() PAGESIZE
41980 # endif /* PAGESIZE */
41981 # endif /* no NBPC */
41982 # endif /* no NBPG */
41983 # endif /* no EXEC_PAGESIZE */
41984 # else /* no HAVE_SYS_PARAM_H */
41985 # define getpagesize() 8192 /* punt totally */
41986 # endif /* no HAVE_SYS_PARAM_H */
41987 # endif /* no _SC_PAGESIZE */
41989 #endif /* no HAVE_GETPAGESIZE */
41992 main ()
41994 char *data, *data2, *data3;
41995 int i, pagesize;
41996 int fd;
41998 pagesize = getpagesize ();
42000 /* First, make a file with some known garbage in it. */
42001 data = (char *) malloc (pagesize);
42002 if (!data)
42003 exit (1);
42004 for (i = 0; i < pagesize; ++i)
42005 *(data + i) = rand ();
42006 umask (0);
42007 fd = creat ("conftest.mmap", 0600);
42008 if (fd < 0)
42009 exit (1);
42010 if (write (fd, data, pagesize) != pagesize)
42011 exit (1);
42012 close (fd);
42014 /* Next, try to mmap the file at a fixed address which already has
42015 something else allocated at it. If we can, also make sure that
42016 we see the same garbage. */
42017 fd = open ("conftest.mmap", O_RDWR);
42018 if (fd < 0)
42019 exit (1);
42020 data2 = (char *) malloc (2 * pagesize);
42021 if (!data2)
42022 exit (1);
42023 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
42024 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
42025 MAP_PRIVATE | MAP_FIXED, fd, 0L))
42026 exit (1);
42027 for (i = 0; i < pagesize; ++i)
42028 if (*(data + i) != *(data2 + i))
42029 exit (1);
42031 /* Finally, make sure that changes to the mapped area do not
42032 percolate back to the file as seen by read(). (This is a bug on
42033 some variants of i386 svr4.0.) */
42034 for (i = 0; i < pagesize; ++i)
42035 *(data2 + i) = *(data2 + i) + 1;
42036 data3 = (char *) malloc (pagesize);
42037 if (!data3)
42038 exit (1);
42039 if (read (fd, data3, pagesize) != pagesize)
42040 exit (1);
42041 for (i = 0; i < pagesize; ++i)
42042 if (*(data + i) != *(data3 + i))
42043 exit (1);
42044 close (fd);
42045 exit (0);
42047 _ACEOF
42048 rm -f conftest$ac_exeext
42049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42050 (eval $ac_link) 2>&5
42051 ac_status=$?
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42055 (eval $ac_try) 2>&5
42056 ac_status=$?
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); }; }; then
42059 ac_cv_func_mmap_fixed_mapped=yes
42060 else
42061 echo "$as_me: program exited with status $ac_status" >&5
42062 echo "$as_me: failed program was:" >&5
42063 sed 's/^/| /' conftest.$ac_ext >&5
42065 ( exit $ac_status )
42066 ac_cv_func_mmap_fixed_mapped=no
42068 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42071 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42072 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42073 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42075 cat >>confdefs.h <<\_ACEOF
42076 #define HAVE_MMAP 1
42077 _ACEOF
42080 rm -f conftest.mmap
42084 # For iconv support.
42086 if test "X$prefix" = "XNONE"; then
42087 acl_final_prefix="$ac_default_prefix"
42088 else
42089 acl_final_prefix="$prefix"
42091 if test "X$exec_prefix" = "XNONE"; then
42092 acl_final_exec_prefix='${prefix}'
42093 else
42094 acl_final_exec_prefix="$exec_prefix"
42096 acl_save_prefix="$prefix"
42097 prefix="$acl_final_prefix"
42098 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42099 prefix="$acl_save_prefix"
42102 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42103 if test "${with_gnu_ld+set}" = set; then
42104 withval="$with_gnu_ld"
42105 test "$withval" = no || with_gnu_ld=yes
42106 else
42107 with_gnu_ld=no
42109 # Prepare PATH_SEPARATOR.
42110 # The user is always right.
42111 if test "${PATH_SEPARATOR+set}" != set; then
42112 echo "#! /bin/sh" >conf$$.sh
42113 echo "exit 0" >>conf$$.sh
42114 chmod +x conf$$.sh
42115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42116 PATH_SEPARATOR=';'
42117 else
42118 PATH_SEPARATOR=:
42120 rm -f conf$$.sh
42122 ac_prog=ld
42123 if test "$GCC" = yes; then
42124 # Check if gcc -print-prog-name=ld gives a path.
42125 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42126 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42127 case $host in
42128 *-*-mingw*)
42129 # gcc leaves a trailing carriage return which upsets mingw
42130 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42132 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42133 esac
42134 case $ac_prog in
42135 # Accept absolute paths.
42136 [\\/]* | [A-Za-z]:[\\/]*)
42137 re_direlt='/[^/][^/]*/\.\./'
42138 # Canonicalize the path of ld
42139 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42140 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42141 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42142 done
42143 test -z "$LD" && LD="$ac_prog"
42146 # If it fails, then pretend we aren't using GCC.
42147 ac_prog=ld
42150 # If it is relative, then search for the first ld in PATH.
42151 with_gnu_ld=unknown
42153 esac
42154 elif test "$with_gnu_ld" = yes; then
42155 echo "$as_me:$LINENO: checking for GNU ld" >&5
42156 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42157 else
42158 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42159 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42161 if test "${acl_cv_path_LD+set}" = set; then
42162 echo $ECHO_N "(cached) $ECHO_C" >&6
42163 else
42164 if test -z "$LD"; then
42165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42166 for ac_dir in $PATH; do
42167 test -z "$ac_dir" && ac_dir=.
42168 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42169 acl_cv_path_LD="$ac_dir/$ac_prog"
42170 # Check to see if the program is GNU ld. I'd rather use --version,
42171 # but apparently some GNU ld's only accept -v.
42172 # Break only if it was the GNU/non-GNU ld that we prefer.
42173 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42174 test "$with_gnu_ld" != no && break
42175 else
42176 test "$with_gnu_ld" != yes && break
42179 done
42180 IFS="$ac_save_ifs"
42181 else
42182 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42186 LD="$acl_cv_path_LD"
42187 if test -n "$LD"; then
42188 echo "$as_me:$LINENO: result: $LD" >&5
42189 echo "${ECHO_T}$LD" >&6
42190 else
42191 echo "$as_me:$LINENO: result: no" >&5
42192 echo "${ECHO_T}no" >&6
42194 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42195 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42196 { (exit 1); exit 1; }; }
42197 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42198 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42199 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42200 echo $ECHO_N "(cached) $ECHO_C" >&6
42201 else
42202 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42203 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42204 acl_cv_prog_gnu_ld=yes
42205 else
42206 acl_cv_prog_gnu_ld=no
42209 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42210 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42211 with_gnu_ld=$acl_cv_prog_gnu_ld
42215 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42216 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42217 if test "${acl_cv_rpath+set}" = set; then
42218 echo $ECHO_N "(cached) $ECHO_C" >&6
42219 else
42221 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42222 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42223 . ./conftest.sh
42224 rm -f ./conftest.sh
42225 acl_cv_rpath=done
42228 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42229 echo "${ECHO_T}$acl_cv_rpath" >&6
42230 wl="$acl_cv_wl"
42231 libext="$acl_cv_libext"
42232 shlibext="$acl_cv_shlibext"
42233 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42234 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42235 hardcode_direct="$acl_cv_hardcode_direct"
42236 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42237 # Check whether --enable-rpath or --disable-rpath was given.
42238 if test "${enable_rpath+set}" = set; then
42239 enableval="$enable_rpath"
42241 else
42242 enable_rpath=yes
42251 use_additional=yes
42253 acl_save_prefix="$prefix"
42254 prefix="$acl_final_prefix"
42255 acl_save_exec_prefix="$exec_prefix"
42256 exec_prefix="$acl_final_exec_prefix"
42258 eval additional_includedir=\"$includedir\"
42259 eval additional_libdir=\"$libdir\"
42261 exec_prefix="$acl_save_exec_prefix"
42262 prefix="$acl_save_prefix"
42265 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42266 if test "${with_libiconv_prefix+set}" = set; then
42267 withval="$with_libiconv_prefix"
42269 if test "X$withval" = "Xno"; then
42270 use_additional=no
42271 else
42272 if test "X$withval" = "X"; then
42274 acl_save_prefix="$prefix"
42275 prefix="$acl_final_prefix"
42276 acl_save_exec_prefix="$exec_prefix"
42277 exec_prefix="$acl_final_exec_prefix"
42279 eval additional_includedir=\"$includedir\"
42280 eval additional_libdir=\"$libdir\"
42282 exec_prefix="$acl_save_exec_prefix"
42283 prefix="$acl_save_prefix"
42285 else
42286 additional_includedir="$withval/include"
42287 additional_libdir="$withval/lib"
42292 LIBICONV=
42293 LTLIBICONV=
42294 INCICONV=
42295 rpathdirs=
42296 ltrpathdirs=
42297 names_already_handled=
42298 names_next_round='iconv '
42299 while test -n "$names_next_round"; do
42300 names_this_round="$names_next_round"
42301 names_next_round=
42302 for name in $names_this_round; do
42303 already_handled=
42304 for n in $names_already_handled; do
42305 if test "$n" = "$name"; then
42306 already_handled=yes
42307 break
42309 done
42310 if test -z "$already_handled"; then
42311 names_already_handled="$names_already_handled $name"
42312 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42313 eval value=\"\$HAVE_LIB$uppername\"
42314 if test -n "$value"; then
42315 if test "$value" = yes; then
42316 eval value=\"\$LIB$uppername\"
42317 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42318 eval value=\"\$LTLIB$uppername\"
42319 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42320 else
42323 else
42324 found_dir=
42325 found_la=
42326 found_so=
42327 found_a=
42328 if test $use_additional = yes; then
42329 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42330 found_dir="$additional_libdir"
42331 found_so="$additional_libdir/lib$name.$shlibext"
42332 if test -f "$additional_libdir/lib$name.la"; then
42333 found_la="$additional_libdir/lib$name.la"
42335 else
42336 if test -f "$additional_libdir/lib$name.$libext"; then
42337 found_dir="$additional_libdir"
42338 found_a="$additional_libdir/lib$name.$libext"
42339 if test -f "$additional_libdir/lib$name.la"; then
42340 found_la="$additional_libdir/lib$name.la"
42345 if test "X$found_dir" = "X"; then
42346 for x in $LDFLAGS $LTLIBICONV; do
42348 acl_save_prefix="$prefix"
42349 prefix="$acl_final_prefix"
42350 acl_save_exec_prefix="$exec_prefix"
42351 exec_prefix="$acl_final_exec_prefix"
42352 eval x=\"$x\"
42353 exec_prefix="$acl_save_exec_prefix"
42354 prefix="$acl_save_prefix"
42356 case "$x" in
42357 -L*)
42358 dir=`echo "X$x" | sed -e 's/^X-L//'`
42359 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42360 found_dir="$dir"
42361 found_so="$dir/lib$name.$shlibext"
42362 if test -f "$dir/lib$name.la"; then
42363 found_la="$dir/lib$name.la"
42365 else
42366 if test -f "$dir/lib$name.$libext"; then
42367 found_dir="$dir"
42368 found_a="$dir/lib$name.$libext"
42369 if test -f "$dir/lib$name.la"; then
42370 found_la="$dir/lib$name.la"
42375 esac
42376 if test "X$found_dir" != "X"; then
42377 break
42379 done
42381 if test "X$found_dir" != "X"; then
42382 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42383 if test "X$found_so" != "X"; then
42384 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42385 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42386 else
42387 haveit=
42388 for x in $ltrpathdirs; do
42389 if test "X$x" = "X$found_dir"; then
42390 haveit=yes
42391 break
42393 done
42394 if test -z "$haveit"; then
42395 ltrpathdirs="$ltrpathdirs $found_dir"
42397 if test "$hardcode_direct" = yes; then
42398 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42399 else
42400 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42401 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42402 haveit=
42403 for x in $rpathdirs; do
42404 if test "X$x" = "X$found_dir"; then
42405 haveit=yes
42406 break
42408 done
42409 if test -z "$haveit"; then
42410 rpathdirs="$rpathdirs $found_dir"
42412 else
42413 haveit=
42414 for x in $LDFLAGS $LIBICONV; do
42416 acl_save_prefix="$prefix"
42417 prefix="$acl_final_prefix"
42418 acl_save_exec_prefix="$exec_prefix"
42419 exec_prefix="$acl_final_exec_prefix"
42420 eval x=\"$x\"
42421 exec_prefix="$acl_save_exec_prefix"
42422 prefix="$acl_save_prefix"
42424 if test "X$x" = "X-L$found_dir"; then
42425 haveit=yes
42426 break
42428 done
42429 if test -z "$haveit"; then
42430 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42432 if test "$hardcode_minus_L" != no; then
42433 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42434 else
42435 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42440 else
42441 if test "X$found_a" != "X"; then
42442 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42443 else
42444 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42447 additional_includedir=
42448 case "$found_dir" in
42449 */lib | */lib/)
42450 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42451 additional_includedir="$basedir/include"
42453 esac
42454 if test "X$additional_includedir" != "X"; then
42455 if test "X$additional_includedir" != "X/usr/include"; then
42456 haveit=
42457 if test "X$additional_includedir" = "X/usr/local/include"; then
42458 if test -n "$GCC"; then
42459 case $host_os in
42460 linux*) haveit=yes;;
42461 esac
42464 if test -z "$haveit"; then
42465 for x in $CPPFLAGS $INCICONV; do
42467 acl_save_prefix="$prefix"
42468 prefix="$acl_final_prefix"
42469 acl_save_exec_prefix="$exec_prefix"
42470 exec_prefix="$acl_final_exec_prefix"
42471 eval x=\"$x\"
42472 exec_prefix="$acl_save_exec_prefix"
42473 prefix="$acl_save_prefix"
42475 if test "X$x" = "X-I$additional_includedir"; then
42476 haveit=yes
42477 break
42479 done
42480 if test -z "$haveit"; then
42481 if test -d "$additional_includedir"; then
42482 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42488 if test -n "$found_la"; then
42489 save_libdir="$libdir"
42490 case "$found_la" in
42491 */* | *\\*) . "$found_la" ;;
42492 *) . "./$found_la" ;;
42493 esac
42494 libdir="$save_libdir"
42495 for dep in $dependency_libs; do
42496 case "$dep" in
42497 -L*)
42498 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42499 if test "X$additional_libdir" != "X/usr/lib"; then
42500 haveit=
42501 if test "X$additional_libdir" = "X/usr/local/lib"; then
42502 if test -n "$GCC"; then
42503 case $host_os in
42504 linux*) haveit=yes;;
42505 esac
42508 if test -z "$haveit"; then
42509 haveit=
42510 for x in $LDFLAGS $LIBICONV; do
42512 acl_save_prefix="$prefix"
42513 prefix="$acl_final_prefix"
42514 acl_save_exec_prefix="$exec_prefix"
42515 exec_prefix="$acl_final_exec_prefix"
42516 eval x=\"$x\"
42517 exec_prefix="$acl_save_exec_prefix"
42518 prefix="$acl_save_prefix"
42520 if test "X$x" = "X-L$additional_libdir"; then
42521 haveit=yes
42522 break
42524 done
42525 if test -z "$haveit"; then
42526 if test -d "$additional_libdir"; then
42527 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42530 haveit=
42531 for x in $LDFLAGS $LTLIBICONV; do
42533 acl_save_prefix="$prefix"
42534 prefix="$acl_final_prefix"
42535 acl_save_exec_prefix="$exec_prefix"
42536 exec_prefix="$acl_final_exec_prefix"
42537 eval x=\"$x\"
42538 exec_prefix="$acl_save_exec_prefix"
42539 prefix="$acl_save_prefix"
42541 if test "X$x" = "X-L$additional_libdir"; then
42542 haveit=yes
42543 break
42545 done
42546 if test -z "$haveit"; then
42547 if test -d "$additional_libdir"; then
42548 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42554 -R*)
42555 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42556 if test "$enable_rpath" != no; then
42557 haveit=
42558 for x in $rpathdirs; do
42559 if test "X$x" = "X$dir"; then
42560 haveit=yes
42561 break
42563 done
42564 if test -z "$haveit"; then
42565 rpathdirs="$rpathdirs $dir"
42567 haveit=
42568 for x in $ltrpathdirs; do
42569 if test "X$x" = "X$dir"; then
42570 haveit=yes
42571 break
42573 done
42574 if test -z "$haveit"; then
42575 ltrpathdirs="$ltrpathdirs $dir"
42579 -l*)
42580 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42582 *.la)
42583 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42586 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42587 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42589 esac
42590 done
42592 else
42593 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42594 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42598 done
42599 done
42600 if test "X$rpathdirs" != "X"; then
42601 if test -n "$hardcode_libdir_separator"; then
42602 alldirs=
42603 for found_dir in $rpathdirs; do
42604 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42605 done
42606 acl_save_libdir="$libdir"
42607 libdir="$alldirs"
42608 eval flag=\"$hardcode_libdir_flag_spec\"
42609 libdir="$acl_save_libdir"
42610 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42611 else
42612 for found_dir in $rpathdirs; do
42613 acl_save_libdir="$libdir"
42614 libdir="$found_dir"
42615 eval flag=\"$hardcode_libdir_flag_spec\"
42616 libdir="$acl_save_libdir"
42617 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42618 done
42621 if test "X$ltrpathdirs" != "X"; then
42622 for found_dir in $ltrpathdirs; do
42623 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42624 done
42633 am_save_CPPFLAGS="$CPPFLAGS"
42635 for element in $INCICONV; do
42636 haveit=
42637 for x in $CPPFLAGS; do
42639 acl_save_prefix="$prefix"
42640 prefix="$acl_final_prefix"
42641 acl_save_exec_prefix="$exec_prefix"
42642 exec_prefix="$acl_final_exec_prefix"
42643 eval x=\"$x\"
42644 exec_prefix="$acl_save_exec_prefix"
42645 prefix="$acl_save_prefix"
42647 if test "X$x" = "X$element"; then
42648 haveit=yes
42649 break
42651 done
42652 if test -z "$haveit"; then
42653 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42655 done
42658 echo "$as_me:$LINENO: checking for iconv" >&5
42659 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42660 if test "${am_cv_func_iconv+set}" = set; then
42661 echo $ECHO_N "(cached) $ECHO_C" >&6
42662 else
42664 am_cv_func_iconv="no, consider installing GNU libiconv"
42665 am_cv_lib_iconv=no
42666 if test x$gcc_no_link = xyes; then
42667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42669 { (exit 1); exit 1; }; }
42671 cat >conftest.$ac_ext <<_ACEOF
42672 /* confdefs.h. */
42673 _ACEOF
42674 cat confdefs.h >>conftest.$ac_ext
42675 cat >>conftest.$ac_ext <<_ACEOF
42676 /* end confdefs.h. */
42677 #include <stdlib.h>
42678 #include <iconv.h>
42680 main ()
42682 iconv_t cd = iconv_open("","");
42683 iconv(cd,NULL,NULL,NULL,NULL);
42684 iconv_close(cd);
42686 return 0;
42688 _ACEOF
42689 rm -f conftest.$ac_objext conftest$ac_exeext
42690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42691 (eval $ac_link) 2>conftest.er1
42692 ac_status=$?
42693 grep -v '^ *+' conftest.er1 >conftest.err
42694 rm -f conftest.er1
42695 cat conftest.err >&5
42696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42697 (exit $ac_status); } &&
42698 { ac_try='test -z "$ac_c_werror_flag"
42699 || test ! -s conftest.err'
42700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42701 (eval $ac_try) 2>&5
42702 ac_status=$?
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); }; } &&
42705 { ac_try='test -s conftest$ac_exeext'
42706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42707 (eval $ac_try) 2>&5
42708 ac_status=$?
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); }; }; then
42711 am_cv_func_iconv=yes
42712 else
42713 echo "$as_me: failed program was:" >&5
42714 sed 's/^/| /' conftest.$ac_ext >&5
42717 rm -f conftest.err conftest.$ac_objext \
42718 conftest$ac_exeext conftest.$ac_ext
42719 if test "$am_cv_func_iconv" != yes; then
42720 am_save_LIBS="$LIBS"
42721 LIBS="$LIBS $LIBICONV"
42722 if test x$gcc_no_link = xyes; then
42723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42725 { (exit 1); exit 1; }; }
42727 cat >conftest.$ac_ext <<_ACEOF
42728 /* confdefs.h. */
42729 _ACEOF
42730 cat confdefs.h >>conftest.$ac_ext
42731 cat >>conftest.$ac_ext <<_ACEOF
42732 /* end confdefs.h. */
42733 #include <stdlib.h>
42734 #include <iconv.h>
42736 main ()
42738 iconv_t cd = iconv_open("","");
42739 iconv(cd,NULL,NULL,NULL,NULL);
42740 iconv_close(cd);
42742 return 0;
42744 _ACEOF
42745 rm -f conftest.$ac_objext conftest$ac_exeext
42746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42747 (eval $ac_link) 2>conftest.er1
42748 ac_status=$?
42749 grep -v '^ *+' conftest.er1 >conftest.err
42750 rm -f conftest.er1
42751 cat conftest.err >&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } &&
42754 { ac_try='test -z "$ac_c_werror_flag"
42755 || test ! -s conftest.err'
42756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42757 (eval $ac_try) 2>&5
42758 ac_status=$?
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; } &&
42761 { ac_try='test -s conftest$ac_exeext'
42762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42763 (eval $ac_try) 2>&5
42764 ac_status=$?
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); }; }; then
42767 am_cv_lib_iconv=yes
42768 am_cv_func_iconv=yes
42769 else
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42774 rm -f conftest.err conftest.$ac_objext \
42775 conftest$ac_exeext conftest.$ac_ext
42776 LIBS="$am_save_LIBS"
42780 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42781 echo "${ECHO_T}$am_cv_func_iconv" >&6
42782 if test "$am_cv_func_iconv" = yes; then
42784 cat >>confdefs.h <<\_ACEOF
42785 #define HAVE_ICONV 1
42786 _ACEOF
42789 if test "$am_cv_lib_iconv" = yes; then
42790 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42791 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42792 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42793 echo "${ECHO_T}$LIBICONV" >&6
42794 else
42795 CPPFLAGS="$am_save_CPPFLAGS"
42796 LIBICONV=
42797 LTLIBICONV=
42802 if test "$am_cv_func_iconv" = yes; then
42803 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42804 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42805 if test "${am_cv_proto_iconv+set}" = set; then
42806 echo $ECHO_N "(cached) $ECHO_C" >&6
42807 else
42809 cat >conftest.$ac_ext <<_ACEOF
42810 /* confdefs.h. */
42811 _ACEOF
42812 cat confdefs.h >>conftest.$ac_ext
42813 cat >>conftest.$ac_ext <<_ACEOF
42814 /* end confdefs.h. */
42816 #include <stdlib.h>
42817 #include <iconv.h>
42818 extern
42819 #ifdef __cplusplus
42821 #endif
42822 #if defined(__STDC__) || defined(__cplusplus)
42823 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42824 #else
42825 size_t iconv();
42826 #endif
42829 main ()
42833 return 0;
42835 _ACEOF
42836 rm -f conftest.$ac_objext
42837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42838 (eval $ac_compile) 2>conftest.er1
42839 ac_status=$?
42840 grep -v '^ *+' conftest.er1 >conftest.err
42841 rm -f conftest.er1
42842 cat conftest.err >&5
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); } &&
42845 { ac_try='test -z "$ac_c_werror_flag"
42846 || test ! -s conftest.err'
42847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42848 (eval $ac_try) 2>&5
42849 ac_status=$?
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); }; } &&
42852 { ac_try='test -s conftest.$ac_objext'
42853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42854 (eval $ac_try) 2>&5
42855 ac_status=$?
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); }; }; then
42858 am_cv_proto_iconv_arg1=""
42859 else
42860 echo "$as_me: failed program was:" >&5
42861 sed 's/^/| /' conftest.$ac_ext >&5
42863 am_cv_proto_iconv_arg1="const"
42865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42866 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);"
42869 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42870 echo "$as_me:$LINENO: result: ${ac_t:-
42871 }$am_cv_proto_iconv" >&5
42872 echo "${ECHO_T}${ac_t:-
42873 }$am_cv_proto_iconv" >&6
42875 cat >>confdefs.h <<_ACEOF
42876 #define ICONV_CONST $am_cv_proto_iconv_arg1
42877 _ACEOF
42882 else
42884 # This lets us hard-code the functionality we know we'll have in the cross
42885 # target environment. "Let" is a sugar-coated word placed on an especially
42886 # dull and tedious hack, actually.
42888 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42889 # that involve linking, can't be used:
42890 # "cannot open sim-crt0.o"
42891 # "cannot open crt0.o"
42892 # etc. All this is because there currently exists no unified, consistent
42893 # way for top level CC information to be passed down to target directories:
42894 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42895 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42896 # crosses can be removed.
42898 # If Canadian cross, then don't pick up tools from the build directory.
42899 # Used only in GLIBCXX_EXPORT_INCLUDES.
42900 if test -n "$with_cross_host" &&
42901 test x"$build_alias" != x"$with_cross_host" &&
42902 test x"$build" != x"$target";
42903 then
42904 CANADIAN=yes
42905 else
42906 CANADIAN=no
42909 # Construct crosses by hand, eliminating bits that need ld...
42910 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42911 # GLIBCXX_CHECK_MATH_SUPPORT
42913 # First, test for "known" system libraries. We may be using newlib even
42914 # on a hosted environment.
42915 if test "x${with_newlib}" = "xyes"; then
42916 os_include_dir="os/newlib"
42917 cat >>confdefs.h <<\_ACEOF
42918 #define HAVE_HYPOT 1
42919 _ACEOF
42922 # GLIBCXX_CHECK_STDLIB_SUPPORT
42923 cat >>confdefs.h <<\_ACEOF
42924 #define HAVE_STRTOF 1
42925 _ACEOF
42927 # AC_FUNC_MMAP
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_MMAP 1
42930 _ACEOF
42933 cat >>confdefs.h <<\_ACEOF
42934 #define HAVE_ACOSF 1
42935 _ACEOF
42937 cat >>confdefs.h <<\_ACEOF
42938 #define HAVE_ASINF 1
42939 _ACEOF
42941 cat >>confdefs.h <<\_ACEOF
42942 #define HAVE_ATAN2F 1
42943 _ACEOF
42945 cat >>confdefs.h <<\_ACEOF
42946 #define HAVE_ATANF 1
42947 _ACEOF
42949 cat >>confdefs.h <<\_ACEOF
42950 #define HAVE_CEILF 1
42951 _ACEOF
42953 cat >>confdefs.h <<\_ACEOF
42954 #define HAVE_COPYSIGN 1
42955 _ACEOF
42957 cat >>confdefs.h <<\_ACEOF
42958 #define HAVE_COPYSIGNF 1
42959 _ACEOF
42961 cat >>confdefs.h <<\_ACEOF
42962 #define HAVE_COSF 1
42963 _ACEOF
42965 cat >>confdefs.h <<\_ACEOF
42966 #define HAVE_COSHF 1
42967 _ACEOF
42969 cat >>confdefs.h <<\_ACEOF
42970 #define HAVE_EXPF 1
42971 _ACEOF
42973 cat >>confdefs.h <<\_ACEOF
42974 #define HAVE_FABSF 1
42975 _ACEOF
42977 cat >>confdefs.h <<\_ACEOF
42978 #define HAVE_FLOORF 1
42979 _ACEOF
42981 cat >>confdefs.h <<\_ACEOF
42982 #define HAVE_FMODF 1
42983 _ACEOF
42985 cat >>confdefs.h <<\_ACEOF
42986 #define HAVE_FREXPF 1
42987 _ACEOF
42989 cat >>confdefs.h <<\_ACEOF
42990 #define HAVE_LDEXPF 1
42991 _ACEOF
42993 cat >>confdefs.h <<\_ACEOF
42994 #define HAVE_LOG10F 1
42995 _ACEOF
42997 cat >>confdefs.h <<\_ACEOF
42998 #define HAVE_LOGF 1
42999 _ACEOF
43001 cat >>confdefs.h <<\_ACEOF
43002 #define HAVE_MODFF 1
43003 _ACEOF
43005 cat >>confdefs.h <<\_ACEOF
43006 #define HAVE_POWF 1
43007 _ACEOF
43009 cat >>confdefs.h <<\_ACEOF
43010 #define HAVE_SINF 1
43011 _ACEOF
43013 cat >>confdefs.h <<\_ACEOF
43014 #define HAVE_SINHF 1
43015 _ACEOF
43017 cat >>confdefs.h <<\_ACEOF
43018 #define HAVE_SQRTF 1
43019 _ACEOF
43021 cat >>confdefs.h <<\_ACEOF
43022 #define HAVE_TANF 1
43023 _ACEOF
43025 cat >>confdefs.h <<\_ACEOF
43026 #define HAVE_TANHF 1
43027 _ACEOF
43030 cat >>confdefs.h <<\_ACEOF
43031 #define HAVE_S_ISREG 1
43032 _ACEOF
43034 cat >>confdefs.h <<\_ACEOF
43035 #define HAVE_S_IFREG 1
43036 _ACEOF
43039 cat >>confdefs.h <<\_ACEOF
43040 #define HAVE_ICONV 1
43041 _ACEOF
43043 else
43045 # Base decisions on target environment.
43046 case "${host}" in
43047 arm*-*-symbianelf*)
43048 # This is a freestanding configuration; there is nothing to do here.
43051 mips*-sde-elf*)
43052 # These definitions are for the SDE C library rather than newlib.
43068 for ac_header in float.h inttypes.h locale.h \
43069 stdint.h stdlib.h string.h unistd.h wchar.h \
43070 machine/endian.h sys/ioctl.h sys/resource.h \
43071 sys/stat.h sys/time.h sys/types.h sys/uio.h
43073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43075 echo "$as_me:$LINENO: checking for $ac_header" >&5
43076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43078 echo $ECHO_N "(cached) $ECHO_C" >&6
43080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43082 else
43083 # Is the header compilable?
43084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43086 cat >conftest.$ac_ext <<_ACEOF
43087 /* confdefs.h. */
43088 _ACEOF
43089 cat confdefs.h >>conftest.$ac_ext
43090 cat >>conftest.$ac_ext <<_ACEOF
43091 /* end confdefs.h. */
43092 $ac_includes_default
43093 #include <$ac_header>
43094 _ACEOF
43095 rm -f conftest.$ac_objext
43096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43097 (eval $ac_compile) 2>conftest.er1
43098 ac_status=$?
43099 grep -v '^ *+' conftest.er1 >conftest.err
43100 rm -f conftest.er1
43101 cat conftest.err >&5
43102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43103 (exit $ac_status); } &&
43104 { ac_try='test -z "$ac_c_werror_flag"
43105 || test ! -s conftest.err'
43106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43107 (eval $ac_try) 2>&5
43108 ac_status=$?
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); }; } &&
43111 { ac_try='test -s conftest.$ac_objext'
43112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43113 (eval $ac_try) 2>&5
43114 ac_status=$?
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); }; }; then
43117 ac_header_compiler=yes
43118 else
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.$ac_ext >&5
43122 ac_header_compiler=no
43124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43126 echo "${ECHO_T}$ac_header_compiler" >&6
43128 # Is the header present?
43129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43131 cat >conftest.$ac_ext <<_ACEOF
43132 /* confdefs.h. */
43133 _ACEOF
43134 cat confdefs.h >>conftest.$ac_ext
43135 cat >>conftest.$ac_ext <<_ACEOF
43136 /* end confdefs.h. */
43137 #include <$ac_header>
43138 _ACEOF
43139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43141 ac_status=$?
43142 grep -v '^ *+' conftest.er1 >conftest.err
43143 rm -f conftest.er1
43144 cat conftest.err >&5
43145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43146 (exit $ac_status); } >/dev/null; then
43147 if test -s conftest.err; then
43148 ac_cpp_err=$ac_c_preproc_warn_flag
43149 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43150 else
43151 ac_cpp_err=
43153 else
43154 ac_cpp_err=yes
43156 if test -z "$ac_cpp_err"; then
43157 ac_header_preproc=yes
43158 else
43159 echo "$as_me: failed program was:" >&5
43160 sed 's/^/| /' conftest.$ac_ext >&5
43162 ac_header_preproc=no
43164 rm -f conftest.err conftest.$ac_ext
43165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43166 echo "${ECHO_T}$ac_header_preproc" >&6
43168 # So? What about this header?
43169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43170 yes:no: )
43171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43175 ac_header_preproc=yes
43177 no:yes:* )
43178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43191 cat <<\_ASBOX
43192 ## ----------------------------------------- ##
43193 ## Report this to the package-unused lists. ##
43194 ## ----------------------------------------- ##
43195 _ASBOX
43197 sed "s/^/$as_me: WARNING: /" >&2
43199 esac
43200 echo "$as_me:$LINENO: checking for $ac_header" >&5
43201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43203 echo $ECHO_N "(cached) $ECHO_C" >&6
43204 else
43205 eval "$as_ac_Header=\$ac_header_preproc"
43207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43212 cat >>confdefs.h <<_ACEOF
43213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43214 _ACEOF
43218 done
43220 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43223 # All these tests are for C++; save the language and the compiler flags.
43224 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43225 # found in GLIBCXX_CONFIGURE.
43228 ac_ext=cc
43229 ac_cpp='$CXXCPP $CPPFLAGS'
43230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43234 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43235 ac_save_CXXFLAGS="$CXXFLAGS"
43237 # Check for maintainer-mode bits.
43238 if test x"$USE_MAINTAINER_MODE" = xno; then
43239 WERROR=''
43240 else
43241 WERROR='-Werror'
43244 # Check for -ffunction-sections -fdata-sections
43245 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43246 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43247 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43248 cat >conftest.$ac_ext <<_ACEOF
43249 /* confdefs.h. */
43250 _ACEOF
43251 cat confdefs.h >>conftest.$ac_ext
43252 cat >>conftest.$ac_ext <<_ACEOF
43253 /* end confdefs.h. */
43254 int foo; void bar() { };
43256 main ()
43260 return 0;
43262 _ACEOF
43263 rm -f conftest.$ac_objext
43264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43265 (eval $ac_compile) 2>conftest.er1
43266 ac_status=$?
43267 grep -v '^ *+' conftest.er1 >conftest.err
43268 rm -f conftest.er1
43269 cat conftest.err >&5
43270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271 (exit $ac_status); } &&
43272 { ac_try='test -z "$ac_cxx_werror_flag"
43273 || test ! -s conftest.err'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; } &&
43279 { ac_try='test -s conftest.$ac_objext'
43280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43281 (eval $ac_try) 2>&5
43282 ac_status=$?
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); }; }; then
43285 ac_fdsections=yes
43286 else
43287 echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.$ac_ext >&5
43290 ac_fdsections=no
43292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43293 if test "$ac_test_CXXFLAGS" = set; then
43294 CXXFLAGS="$ac_save_CXXFLAGS"
43295 else
43296 # this is the suspicious part
43297 CXXFLAGS=''
43299 if test x"$ac_fdsections" = x"yes"; then
43300 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43302 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43303 echo "${ECHO_T}$ac_fdsections" >&6
43305 ac_ext=c
43306 ac_cpp='$CPP $CPPFLAGS'
43307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43315 # If we're not using GNU ld, then there's no point in even trying these
43316 # tests. Check for that first. We should have already tested for gld
43317 # by now (in libtool), but require it now just to be safe...
43318 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43319 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43323 # The name set by libtool depends on the version of libtool. Shame on us
43324 # for depending on an impl detail, but c'est la vie. Older versions used
43325 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43326 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43327 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43328 # set (hence we're using an older libtool), then set it.
43329 if test x${with_gnu_ld+set} != xset; then
43330 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43331 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43332 with_gnu_ld=no
43333 else
43334 with_gnu_ld=$ac_cv_prog_gnu_ld
43338 # Start by getting the version number. I think the libtool test already
43339 # does some of this, but throws away the result.
43340 glibcxx_ld_is_gold=no
43341 if test x"$with_gnu_ld" = x"yes"; then
43342 echo "$as_me:$LINENO: checking for ld version" >&5
43343 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43345 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43346 glibcxx_ld_is_gold=yes
43348 ldver=`$LD --version 2>/dev/null | head -1 | \
43349 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43351 glibcxx_gnu_ld_version=`echo $ldver | \
43352 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43353 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43354 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43357 # Set --gc-sections.
43358 glibcxx_have_gc_sections=no
43359 if test "$glibcxx_ld_is_gold" = "yes"; then
43360 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43361 glibcxx_have_gc_sections=yes
43363 else
43364 glibcxx_gcsections_min_ld=21602
43365 if test x"$with_gnu_ld" = x"yes" &&
43366 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43367 glibcxx_have_gc_sections=yes
43370 if test "$glibcxx_have_gc_sections" = "yes"; then
43371 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43372 # NB: This flag only works reliably after 2.16.1. Configure tests
43373 # for this are difficult, so hard wire a value that should work.
43375 ac_test_CFLAGS="${CFLAGS+set}"
43376 ac_save_CFLAGS="$CFLAGS"
43377 CFLAGS='-Wl,--gc-sections'
43379 # Check for -Wl,--gc-sections
43380 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43381 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43382 if test x$gcc_no_link = xyes; then
43383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43385 { (exit 1); exit 1; }; }
43387 cat >conftest.$ac_ext <<_ACEOF
43388 /* confdefs.h. */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393 int one(void) { return 1; }
43394 int two(void) { return 2; }
43397 main ()
43399 two();
43401 return 0;
43403 _ACEOF
43404 rm -f conftest.$ac_objext conftest$ac_exeext
43405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43406 (eval $ac_link) 2>conftest.er1
43407 ac_status=$?
43408 grep -v '^ *+' conftest.er1 >conftest.err
43409 rm -f conftest.er1
43410 cat conftest.err >&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); } &&
43413 { ac_try='test -z "$ac_c_werror_flag"
43414 || test ! -s conftest.err'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43417 ac_status=$?
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; } &&
43420 { ac_try='test -s conftest$ac_exeext'
43421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43422 (eval $ac_try) 2>&5
43423 ac_status=$?
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); }; }; then
43426 ac_gcsections=yes
43427 else
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43431 ac_gcsections=no
43433 rm -f conftest.err conftest.$ac_objext \
43434 conftest$ac_exeext conftest.$ac_ext
43435 if test "$ac_gcsections" = "yes"; then
43436 rm -f conftest.c
43437 touch conftest.c
43438 if $CC -c conftest.c; then
43439 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43440 grep "Warning: gc-sections option ignored" > /dev/null; then
43441 ac_gcsections=no
43444 rm -f conftest.c conftest.o conftest
43446 if test "$ac_gcsections" = "yes"; then
43447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43449 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43450 echo "${ECHO_T}$ac_gcsections" >&6
43452 if test "$ac_test_CFLAGS" = set; then
43453 CFLAGS="$ac_save_CFLAGS"
43454 else
43455 # this is the suspicious part
43456 CFLAGS=''
43460 # Set -z,relro.
43461 # Note this is only for shared objects.
43462 ac_ld_relro=no
43463 if test x"$with_gnu_ld" = x"yes"; then
43464 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43465 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43466 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43467 if test -n "$cxx_z_relo"; then
43468 OPT_LDFLAGS="-Wl,-z,relro"
43469 ac_ld_relro=yes
43471 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43472 echo "${ECHO_T}$ac_ld_relro" >&6
43475 # Set linker optimization flags.
43476 if test x"$with_gnu_ld" = x"yes"; then
43477 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43484 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43485 ac_save_CXXFLAGS="$CXXFLAGS"
43486 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43488 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43489 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43490 if test "${ac_cv_lib_m_sin+set}" = set; then
43491 echo $ECHO_N "(cached) $ECHO_C" >&6
43492 else
43493 ac_check_lib_save_LIBS=$LIBS
43494 LIBS="-lm $LIBS"
43495 if test x$gcc_no_link = xyes; then
43496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43498 { (exit 1); exit 1; }; }
43500 cat >conftest.$ac_ext <<_ACEOF
43501 /* confdefs.h. */
43502 _ACEOF
43503 cat confdefs.h >>conftest.$ac_ext
43504 cat >>conftest.$ac_ext <<_ACEOF
43505 /* end confdefs.h. */
43507 /* Override any gcc2 internal prototype to avoid an error. */
43508 #ifdef __cplusplus
43509 extern "C"
43510 #endif
43511 /* We use char because int might match the return type of a gcc2
43512 builtin and then its argument prototype would still apply. */
43513 char sin ();
43515 main ()
43517 sin ();
43519 return 0;
43521 _ACEOF
43522 rm -f conftest.$ac_objext conftest$ac_exeext
43523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43524 (eval $ac_link) 2>conftest.er1
43525 ac_status=$?
43526 grep -v '^ *+' conftest.er1 >conftest.err
43527 rm -f conftest.er1
43528 cat conftest.err >&5
43529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43530 (exit $ac_status); } &&
43531 { ac_try='test -z "$ac_c_werror_flag"
43532 || test ! -s conftest.err'
43533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43534 (eval $ac_try) 2>&5
43535 ac_status=$?
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); }; } &&
43538 { ac_try='test -s conftest$ac_exeext'
43539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43540 (eval $ac_try) 2>&5
43541 ac_status=$?
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); }; }; then
43544 ac_cv_lib_m_sin=yes
43545 else
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43549 ac_cv_lib_m_sin=no
43551 rm -f conftest.err conftest.$ac_objext \
43552 conftest$ac_exeext conftest.$ac_ext
43553 LIBS=$ac_check_lib_save_LIBS
43555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43556 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43557 if test $ac_cv_lib_m_sin = yes; then
43558 libm="-lm"
43561 ac_save_LIBS="$LIBS"
43562 LIBS="$LIBS $libm"
43566 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43567 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43568 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43569 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43570 echo $ECHO_N "(cached) $ECHO_C" >&6
43571 else
43575 ac_ext=cc
43576 ac_cpp='$CXXCPP $CPPFLAGS'
43577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43581 cat >conftest.$ac_ext <<_ACEOF
43582 /* confdefs.h. */
43583 _ACEOF
43584 cat confdefs.h >>conftest.$ac_ext
43585 cat >>conftest.$ac_ext <<_ACEOF
43586 /* end confdefs.h. */
43587 #include <math.h>
43588 #ifdef HAVE_IEEEFP_H
43589 #include <ieeefp.h>
43590 #endif
43593 main ()
43595 isinf(0);
43597 return 0;
43599 _ACEOF
43600 rm -f conftest.$ac_objext
43601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43602 (eval $ac_compile) 2>conftest.er1
43603 ac_status=$?
43604 grep -v '^ *+' conftest.er1 >conftest.err
43605 rm -f conftest.er1
43606 cat conftest.err >&5
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); } &&
43609 { ac_try='test -z "$ac_cxx_werror_flag"
43610 || test ! -s conftest.err'
43611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43612 (eval $ac_try) 2>&5
43613 ac_status=$?
43614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43615 (exit $ac_status); }; } &&
43616 { ac_try='test -s conftest.$ac_objext'
43617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43618 (eval $ac_try) 2>&5
43619 ac_status=$?
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); }; }; then
43622 glibcxx_cv_func_isinf_use=yes
43623 else
43624 echo "$as_me: failed program was:" >&5
43625 sed 's/^/| /' conftest.$ac_ext >&5
43627 glibcxx_cv_func_isinf_use=no
43629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43630 ac_ext=c
43631 ac_cpp='$CPP $CPPFLAGS'
43632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43641 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43643 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43645 for ac_func in isinf
43647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43648 echo "$as_me:$LINENO: checking for $ac_func" >&5
43649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43650 if eval "test \"\${$as_ac_var+set}\" = set"; then
43651 echo $ECHO_N "(cached) $ECHO_C" >&6
43652 else
43653 if test x$gcc_no_link = xyes; then
43654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43656 { (exit 1); exit 1; }; }
43658 cat >conftest.$ac_ext <<_ACEOF
43659 /* confdefs.h. */
43660 _ACEOF
43661 cat confdefs.h >>conftest.$ac_ext
43662 cat >>conftest.$ac_ext <<_ACEOF
43663 /* end confdefs.h. */
43664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43666 #define $ac_func innocuous_$ac_func
43668 /* System header to define __stub macros and hopefully few prototypes,
43669 which can conflict with char $ac_func (); below.
43670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43671 <limits.h> exists even on freestanding compilers. */
43673 #ifdef __STDC__
43674 # include <limits.h>
43675 #else
43676 # include <assert.h>
43677 #endif
43679 #undef $ac_func
43681 /* Override any gcc2 internal prototype to avoid an error. */
43682 #ifdef __cplusplus
43683 extern "C"
43685 #endif
43686 /* We use char because int might match the return type of a gcc2
43687 builtin and then its argument prototype would still apply. */
43688 char $ac_func ();
43689 /* The GNU C library defines this for functions which it implements
43690 to always fail with ENOSYS. Some functions are actually named
43691 something starting with __ and the normal name is an alias. */
43692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43693 choke me
43694 #else
43695 char (*f) () = $ac_func;
43696 #endif
43697 #ifdef __cplusplus
43699 #endif
43702 main ()
43704 return f != $ac_func;
43706 return 0;
43708 _ACEOF
43709 rm -f conftest.$ac_objext conftest$ac_exeext
43710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43711 (eval $ac_link) 2>conftest.er1
43712 ac_status=$?
43713 grep -v '^ *+' conftest.er1 >conftest.err
43714 rm -f conftest.er1
43715 cat conftest.err >&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } &&
43718 { ac_try='test -z "$ac_c_werror_flag"
43719 || test ! -s conftest.err'
43720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43721 (eval $ac_try) 2>&5
43722 ac_status=$?
43723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43724 (exit $ac_status); }; } &&
43725 { ac_try='test -s conftest$ac_exeext'
43726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43727 (eval $ac_try) 2>&5
43728 ac_status=$?
43729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43730 (exit $ac_status); }; }; then
43731 eval "$as_ac_var=yes"
43732 else
43733 echo "$as_me: failed program was:" >&5
43734 sed 's/^/| /' conftest.$ac_ext >&5
43736 eval "$as_ac_var=no"
43738 rm -f conftest.err conftest.$ac_objext \
43739 conftest$ac_exeext conftest.$ac_ext
43741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43743 if test `eval echo '${'$as_ac_var'}'` = yes; then
43744 cat >>confdefs.h <<_ACEOF
43745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43746 _ACEOF
43749 done
43751 else
43753 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43754 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43755 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43756 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43757 echo $ECHO_N "(cached) $ECHO_C" >&6
43758 else
43762 ac_ext=cc
43763 ac_cpp='$CXXCPP $CPPFLAGS'
43764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43768 cat >conftest.$ac_ext <<_ACEOF
43769 /* confdefs.h. */
43770 _ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43774 #include <math.h>
43775 #ifdef HAVE_IEEEFP_H
43776 #include <ieeefp.h>
43777 #endif
43780 main ()
43782 _isinf(0);
43784 return 0;
43786 _ACEOF
43787 rm -f conftest.$ac_objext
43788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43789 (eval $ac_compile) 2>conftest.er1
43790 ac_status=$?
43791 grep -v '^ *+' conftest.er1 >conftest.err
43792 rm -f conftest.er1
43793 cat conftest.err >&5
43794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43795 (exit $ac_status); } &&
43796 { ac_try='test -z "$ac_cxx_werror_flag"
43797 || test ! -s conftest.err'
43798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43799 (eval $ac_try) 2>&5
43800 ac_status=$?
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); }; } &&
43803 { ac_try='test -s conftest.$ac_objext'
43804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43805 (eval $ac_try) 2>&5
43806 ac_status=$?
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); }; }; then
43809 glibcxx_cv_func__isinf_use=yes
43810 else
43811 echo "$as_me: failed program was:" >&5
43812 sed 's/^/| /' conftest.$ac_ext >&5
43814 glibcxx_cv_func__isinf_use=no
43816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43817 ac_ext=c
43818 ac_cpp='$CPP $CPPFLAGS'
43819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43828 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43830 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43832 for ac_func in _isinf
43834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43835 echo "$as_me:$LINENO: checking for $ac_func" >&5
43836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43837 if eval "test \"\${$as_ac_var+set}\" = set"; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43839 else
43840 if test x$gcc_no_link = xyes; then
43841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43843 { (exit 1); exit 1; }; }
43845 cat >conftest.$ac_ext <<_ACEOF
43846 /* confdefs.h. */
43847 _ACEOF
43848 cat confdefs.h >>conftest.$ac_ext
43849 cat >>conftest.$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43853 #define $ac_func innocuous_$ac_func
43855 /* System header to define __stub macros and hopefully few prototypes,
43856 which can conflict with char $ac_func (); below.
43857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43858 <limits.h> exists even on freestanding compilers. */
43860 #ifdef __STDC__
43861 # include <limits.h>
43862 #else
43863 # include <assert.h>
43864 #endif
43866 #undef $ac_func
43868 /* Override any gcc2 internal prototype to avoid an error. */
43869 #ifdef __cplusplus
43870 extern "C"
43872 #endif
43873 /* We use char because int might match the return type of a gcc2
43874 builtin and then its argument prototype would still apply. */
43875 char $ac_func ();
43876 /* The GNU C library defines this for functions which it implements
43877 to always fail with ENOSYS. Some functions are actually named
43878 something starting with __ and the normal name is an alias. */
43879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43880 choke me
43881 #else
43882 char (*f) () = $ac_func;
43883 #endif
43884 #ifdef __cplusplus
43886 #endif
43889 main ()
43891 return f != $ac_func;
43893 return 0;
43895 _ACEOF
43896 rm -f conftest.$ac_objext conftest$ac_exeext
43897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43898 (eval $ac_link) 2>conftest.er1
43899 ac_status=$?
43900 grep -v '^ *+' conftest.er1 >conftest.err
43901 rm -f conftest.er1
43902 cat conftest.err >&5
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); } &&
43905 { ac_try='test -z "$ac_c_werror_flag"
43906 || test ! -s conftest.err'
43907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43908 (eval $ac_try) 2>&5
43909 ac_status=$?
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; } &&
43912 { ac_try='test -s conftest$ac_exeext'
43913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43914 (eval $ac_try) 2>&5
43915 ac_status=$?
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); }; }; then
43918 eval "$as_ac_var=yes"
43919 else
43920 echo "$as_me: failed program was:" >&5
43921 sed 's/^/| /' conftest.$ac_ext >&5
43923 eval "$as_ac_var=no"
43925 rm -f conftest.err conftest.$ac_objext \
43926 conftest$ac_exeext conftest.$ac_ext
43928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43930 if test `eval echo '${'$as_ac_var'}'` = yes; then
43931 cat >>confdefs.h <<_ACEOF
43932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43933 _ACEOF
43936 done
43946 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43947 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43948 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43949 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43951 else
43955 ac_ext=cc
43956 ac_cpp='$CXXCPP $CPPFLAGS'
43957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961 cat >conftest.$ac_ext <<_ACEOF
43962 /* confdefs.h. */
43963 _ACEOF
43964 cat confdefs.h >>conftest.$ac_ext
43965 cat >>conftest.$ac_ext <<_ACEOF
43966 /* end confdefs.h. */
43967 #include <math.h>
43968 #ifdef HAVE_IEEEFP_H
43969 #include <ieeefp.h>
43970 #endif
43973 main ()
43975 isnan(0);
43977 return 0;
43979 _ACEOF
43980 rm -f conftest.$ac_objext
43981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43982 (eval $ac_compile) 2>conftest.er1
43983 ac_status=$?
43984 grep -v '^ *+' conftest.er1 >conftest.err
43985 rm -f conftest.er1
43986 cat conftest.err >&5
43987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43988 (exit $ac_status); } &&
43989 { ac_try='test -z "$ac_cxx_werror_flag"
43990 || test ! -s conftest.err'
43991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43992 (eval $ac_try) 2>&5
43993 ac_status=$?
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); }; } &&
43996 { ac_try='test -s conftest.$ac_objext'
43997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43998 (eval $ac_try) 2>&5
43999 ac_status=$?
44000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44001 (exit $ac_status); }; }; then
44002 glibcxx_cv_func_isnan_use=yes
44003 else
44004 echo "$as_me: failed program was:" >&5
44005 sed 's/^/| /' conftest.$ac_ext >&5
44007 glibcxx_cv_func_isnan_use=no
44009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
44021 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
44023 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44025 for ac_func in isnan
44027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44028 echo "$as_me:$LINENO: checking for $ac_func" >&5
44029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44030 if eval "test \"\${$as_ac_var+set}\" = set"; then
44031 echo $ECHO_N "(cached) $ECHO_C" >&6
44032 else
44033 if test x$gcc_no_link = xyes; then
44034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44036 { (exit 1); exit 1; }; }
44038 cat >conftest.$ac_ext <<_ACEOF
44039 /* confdefs.h. */
44040 _ACEOF
44041 cat confdefs.h >>conftest.$ac_ext
44042 cat >>conftest.$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44046 #define $ac_func innocuous_$ac_func
44048 /* System header to define __stub macros and hopefully few prototypes,
44049 which can conflict with char $ac_func (); below.
44050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44051 <limits.h> exists even on freestanding compilers. */
44053 #ifdef __STDC__
44054 # include <limits.h>
44055 #else
44056 # include <assert.h>
44057 #endif
44059 #undef $ac_func
44061 /* Override any gcc2 internal prototype to avoid an error. */
44062 #ifdef __cplusplus
44063 extern "C"
44065 #endif
44066 /* We use char because int might match the return type of a gcc2
44067 builtin and then its argument prototype would still apply. */
44068 char $ac_func ();
44069 /* The GNU C library defines this for functions which it implements
44070 to always fail with ENOSYS. Some functions are actually named
44071 something starting with __ and the normal name is an alias. */
44072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44073 choke me
44074 #else
44075 char (*f) () = $ac_func;
44076 #endif
44077 #ifdef __cplusplus
44079 #endif
44082 main ()
44084 return f != $ac_func;
44086 return 0;
44088 _ACEOF
44089 rm -f conftest.$ac_objext conftest$ac_exeext
44090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44091 (eval $ac_link) 2>conftest.er1
44092 ac_status=$?
44093 grep -v '^ *+' conftest.er1 >conftest.err
44094 rm -f conftest.er1
44095 cat conftest.err >&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } &&
44098 { ac_try='test -z "$ac_c_werror_flag"
44099 || test ! -s conftest.err'
44100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44101 (eval $ac_try) 2>&5
44102 ac_status=$?
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); }; } &&
44105 { ac_try='test -s conftest$ac_exeext'
44106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44107 (eval $ac_try) 2>&5
44108 ac_status=$?
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); }; }; then
44111 eval "$as_ac_var=yes"
44112 else
44113 echo "$as_me: failed program was:" >&5
44114 sed 's/^/| /' conftest.$ac_ext >&5
44116 eval "$as_ac_var=no"
44118 rm -f conftest.err conftest.$ac_objext \
44119 conftest$ac_exeext conftest.$ac_ext
44121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44123 if test `eval echo '${'$as_ac_var'}'` = yes; then
44124 cat >>confdefs.h <<_ACEOF
44125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44126 _ACEOF
44129 done
44131 else
44133 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44134 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44135 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44136 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44137 echo $ECHO_N "(cached) $ECHO_C" >&6
44138 else
44142 ac_ext=cc
44143 ac_cpp='$CXXCPP $CPPFLAGS'
44144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44148 cat >conftest.$ac_ext <<_ACEOF
44149 /* confdefs.h. */
44150 _ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44154 #include <math.h>
44155 #ifdef HAVE_IEEEFP_H
44156 #include <ieeefp.h>
44157 #endif
44160 main ()
44162 _isnan(0);
44164 return 0;
44166 _ACEOF
44167 rm -f conftest.$ac_objext
44168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44169 (eval $ac_compile) 2>conftest.er1
44170 ac_status=$?
44171 grep -v '^ *+' conftest.er1 >conftest.err
44172 rm -f conftest.er1
44173 cat conftest.err >&5
44174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175 (exit $ac_status); } &&
44176 { ac_try='test -z "$ac_cxx_werror_flag"
44177 || test ! -s conftest.err'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; } &&
44183 { ac_try='test -s conftest.$ac_objext'
44184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44185 (eval $ac_try) 2>&5
44186 ac_status=$?
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); }; }; then
44189 glibcxx_cv_func__isnan_use=yes
44190 else
44191 echo "$as_me: failed program was:" >&5
44192 sed 's/^/| /' conftest.$ac_ext >&5
44194 glibcxx_cv_func__isnan_use=no
44196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44197 ac_ext=c
44198 ac_cpp='$CPP $CPPFLAGS'
44199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44208 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44210 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44212 for ac_func in _isnan
44214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44215 echo "$as_me:$LINENO: checking for $ac_func" >&5
44216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44217 if eval "test \"\${$as_ac_var+set}\" = set"; then
44218 echo $ECHO_N "(cached) $ECHO_C" >&6
44219 else
44220 if test x$gcc_no_link = xyes; then
44221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44223 { (exit 1); exit 1; }; }
44225 cat >conftest.$ac_ext <<_ACEOF
44226 /* confdefs.h. */
44227 _ACEOF
44228 cat confdefs.h >>conftest.$ac_ext
44229 cat >>conftest.$ac_ext <<_ACEOF
44230 /* end confdefs.h. */
44231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44233 #define $ac_func innocuous_$ac_func
44235 /* System header to define __stub macros and hopefully few prototypes,
44236 which can conflict with char $ac_func (); below.
44237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44238 <limits.h> exists even on freestanding compilers. */
44240 #ifdef __STDC__
44241 # include <limits.h>
44242 #else
44243 # include <assert.h>
44244 #endif
44246 #undef $ac_func
44248 /* Override any gcc2 internal prototype to avoid an error. */
44249 #ifdef __cplusplus
44250 extern "C"
44252 #endif
44253 /* We use char because int might match the return type of a gcc2
44254 builtin and then its argument prototype would still apply. */
44255 char $ac_func ();
44256 /* The GNU C library defines this for functions which it implements
44257 to always fail with ENOSYS. Some functions are actually named
44258 something starting with __ and the normal name is an alias. */
44259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44260 choke me
44261 #else
44262 char (*f) () = $ac_func;
44263 #endif
44264 #ifdef __cplusplus
44266 #endif
44269 main ()
44271 return f != $ac_func;
44273 return 0;
44275 _ACEOF
44276 rm -f conftest.$ac_objext conftest$ac_exeext
44277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44278 (eval $ac_link) 2>conftest.er1
44279 ac_status=$?
44280 grep -v '^ *+' conftest.er1 >conftest.err
44281 rm -f conftest.er1
44282 cat conftest.err >&5
44283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44284 (exit $ac_status); } &&
44285 { ac_try='test -z "$ac_c_werror_flag"
44286 || test ! -s conftest.err'
44287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44288 (eval $ac_try) 2>&5
44289 ac_status=$?
44290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291 (exit $ac_status); }; } &&
44292 { ac_try='test -s conftest$ac_exeext'
44293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44294 (eval $ac_try) 2>&5
44295 ac_status=$?
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; }; then
44298 eval "$as_ac_var=yes"
44299 else
44300 echo "$as_me: failed program was:" >&5
44301 sed 's/^/| /' conftest.$ac_ext >&5
44303 eval "$as_ac_var=no"
44305 rm -f conftest.err conftest.$ac_objext \
44306 conftest$ac_exeext conftest.$ac_ext
44308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44310 if test `eval echo '${'$as_ac_var'}'` = yes; then
44311 cat >>confdefs.h <<_ACEOF
44312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44313 _ACEOF
44316 done
44326 echo "$as_me:$LINENO: checking for finite declaration" >&5
44327 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44328 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44329 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44330 echo $ECHO_N "(cached) $ECHO_C" >&6
44331 else
44335 ac_ext=cc
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat >conftest.$ac_ext <<_ACEOF
44342 /* confdefs.h. */
44343 _ACEOF
44344 cat confdefs.h >>conftest.$ac_ext
44345 cat >>conftest.$ac_ext <<_ACEOF
44346 /* end confdefs.h. */
44347 #include <math.h>
44348 #ifdef HAVE_IEEEFP_H
44349 #include <ieeefp.h>
44350 #endif
44353 main ()
44355 finite(0);
44357 return 0;
44359 _ACEOF
44360 rm -f conftest.$ac_objext
44361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44362 (eval $ac_compile) 2>conftest.er1
44363 ac_status=$?
44364 grep -v '^ *+' conftest.er1 >conftest.err
44365 rm -f conftest.er1
44366 cat conftest.err >&5
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); } &&
44369 { ac_try='test -z "$ac_cxx_werror_flag"
44370 || test ! -s conftest.err'
44371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44372 (eval $ac_try) 2>&5
44373 ac_status=$?
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); }; } &&
44376 { ac_try='test -s conftest.$ac_objext'
44377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44378 (eval $ac_try) 2>&5
44379 ac_status=$?
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); }; }; then
44382 glibcxx_cv_func_finite_use=yes
44383 else
44384 echo "$as_me: failed program was:" >&5
44385 sed 's/^/| /' conftest.$ac_ext >&5
44387 glibcxx_cv_func_finite_use=no
44389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44390 ac_ext=c
44391 ac_cpp='$CPP $CPPFLAGS'
44392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44401 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44403 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44405 for ac_func in finite
44407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44408 echo "$as_me:$LINENO: checking for $ac_func" >&5
44409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44410 if eval "test \"\${$as_ac_var+set}\" = set"; then
44411 echo $ECHO_N "(cached) $ECHO_C" >&6
44412 else
44413 if test x$gcc_no_link = xyes; then
44414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44416 { (exit 1); exit 1; }; }
44418 cat >conftest.$ac_ext <<_ACEOF
44419 /* confdefs.h. */
44420 _ACEOF
44421 cat confdefs.h >>conftest.$ac_ext
44422 cat >>conftest.$ac_ext <<_ACEOF
44423 /* end confdefs.h. */
44424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44426 #define $ac_func innocuous_$ac_func
44428 /* System header to define __stub macros and hopefully few prototypes,
44429 which can conflict with char $ac_func (); below.
44430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44431 <limits.h> exists even on freestanding compilers. */
44433 #ifdef __STDC__
44434 # include <limits.h>
44435 #else
44436 # include <assert.h>
44437 #endif
44439 #undef $ac_func
44441 /* Override any gcc2 internal prototype to avoid an error. */
44442 #ifdef __cplusplus
44443 extern "C"
44445 #endif
44446 /* We use char because int might match the return type of a gcc2
44447 builtin and then its argument prototype would still apply. */
44448 char $ac_func ();
44449 /* The GNU C library defines this for functions which it implements
44450 to always fail with ENOSYS. Some functions are actually named
44451 something starting with __ and the normal name is an alias. */
44452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44453 choke me
44454 #else
44455 char (*f) () = $ac_func;
44456 #endif
44457 #ifdef __cplusplus
44459 #endif
44462 main ()
44464 return f != $ac_func;
44466 return 0;
44468 _ACEOF
44469 rm -f conftest.$ac_objext conftest$ac_exeext
44470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44471 (eval $ac_link) 2>conftest.er1
44472 ac_status=$?
44473 grep -v '^ *+' conftest.er1 >conftest.err
44474 rm -f conftest.er1
44475 cat conftest.err >&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); } &&
44478 { ac_try='test -z "$ac_c_werror_flag"
44479 || test ! -s conftest.err'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; } &&
44485 { ac_try='test -s conftest$ac_exeext'
44486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44487 (eval $ac_try) 2>&5
44488 ac_status=$?
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); }; }; then
44491 eval "$as_ac_var=yes"
44492 else
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44496 eval "$as_ac_var=no"
44498 rm -f conftest.err conftest.$ac_objext \
44499 conftest$ac_exeext conftest.$ac_ext
44501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44503 if test `eval echo '${'$as_ac_var'}'` = yes; then
44504 cat >>confdefs.h <<_ACEOF
44505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44506 _ACEOF
44509 done
44511 else
44513 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44514 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44515 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44516 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44517 echo $ECHO_N "(cached) $ECHO_C" >&6
44518 else
44522 ac_ext=cc
44523 ac_cpp='$CXXCPP $CPPFLAGS'
44524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528 cat >conftest.$ac_ext <<_ACEOF
44529 /* confdefs.h. */
44530 _ACEOF
44531 cat confdefs.h >>conftest.$ac_ext
44532 cat >>conftest.$ac_ext <<_ACEOF
44533 /* end confdefs.h. */
44534 #include <math.h>
44535 #ifdef HAVE_IEEEFP_H
44536 #include <ieeefp.h>
44537 #endif
44540 main ()
44542 _finite(0);
44544 return 0;
44546 _ACEOF
44547 rm -f conftest.$ac_objext
44548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44549 (eval $ac_compile) 2>conftest.er1
44550 ac_status=$?
44551 grep -v '^ *+' conftest.er1 >conftest.err
44552 rm -f conftest.er1
44553 cat conftest.err >&5
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); } &&
44556 { ac_try='test -z "$ac_cxx_werror_flag"
44557 || test ! -s conftest.err'
44558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44559 (eval $ac_try) 2>&5
44560 ac_status=$?
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); }; } &&
44563 { ac_try='test -s conftest.$ac_objext'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44566 ac_status=$?
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; }; then
44569 glibcxx_cv_func__finite_use=yes
44570 else
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.$ac_ext >&5
44574 glibcxx_cv_func__finite_use=no
44576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44577 ac_ext=c
44578 ac_cpp='$CPP $CPPFLAGS'
44579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44588 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44590 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44592 for ac_func in _finite
44594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44595 echo "$as_me:$LINENO: checking for $ac_func" >&5
44596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44597 if eval "test \"\${$as_ac_var+set}\" = set"; then
44598 echo $ECHO_N "(cached) $ECHO_C" >&6
44599 else
44600 if test x$gcc_no_link = xyes; then
44601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44603 { (exit 1); exit 1; }; }
44605 cat >conftest.$ac_ext <<_ACEOF
44606 /* confdefs.h. */
44607 _ACEOF
44608 cat confdefs.h >>conftest.$ac_ext
44609 cat >>conftest.$ac_ext <<_ACEOF
44610 /* end confdefs.h. */
44611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44613 #define $ac_func innocuous_$ac_func
44615 /* System header to define __stub macros and hopefully few prototypes,
44616 which can conflict with char $ac_func (); below.
44617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44618 <limits.h> exists even on freestanding compilers. */
44620 #ifdef __STDC__
44621 # include <limits.h>
44622 #else
44623 # include <assert.h>
44624 #endif
44626 #undef $ac_func
44628 /* Override any gcc2 internal prototype to avoid an error. */
44629 #ifdef __cplusplus
44630 extern "C"
44632 #endif
44633 /* We use char because int might match the return type of a gcc2
44634 builtin and then its argument prototype would still apply. */
44635 char $ac_func ();
44636 /* The GNU C library defines this for functions which it implements
44637 to always fail with ENOSYS. Some functions are actually named
44638 something starting with __ and the normal name is an alias. */
44639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44640 choke me
44641 #else
44642 char (*f) () = $ac_func;
44643 #endif
44644 #ifdef __cplusplus
44646 #endif
44649 main ()
44651 return f != $ac_func;
44653 return 0;
44655 _ACEOF
44656 rm -f conftest.$ac_objext conftest$ac_exeext
44657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44658 (eval $ac_link) 2>conftest.er1
44659 ac_status=$?
44660 grep -v '^ *+' conftest.er1 >conftest.err
44661 rm -f conftest.er1
44662 cat conftest.err >&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } &&
44665 { ac_try='test -z "$ac_c_werror_flag"
44666 || test ! -s conftest.err'
44667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44668 (eval $ac_try) 2>&5
44669 ac_status=$?
44670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671 (exit $ac_status); }; } &&
44672 { ac_try='test -s conftest$ac_exeext'
44673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44674 (eval $ac_try) 2>&5
44675 ac_status=$?
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); }; }; then
44678 eval "$as_ac_var=yes"
44679 else
44680 echo "$as_me: failed program was:" >&5
44681 sed 's/^/| /' conftest.$ac_ext >&5
44683 eval "$as_ac_var=no"
44685 rm -f conftest.err conftest.$ac_objext \
44686 conftest$ac_exeext conftest.$ac_ext
44688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44690 if test `eval echo '${'$as_ac_var'}'` = yes; then
44691 cat >>confdefs.h <<_ACEOF
44692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44693 _ACEOF
44696 done
44706 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44707 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44708 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44709 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44710 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 else
44715 ac_ext=cc
44716 ac_cpp='$CXXCPP $CPPFLAGS'
44717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44721 cat >conftest.$ac_ext <<_ACEOF
44722 /* confdefs.h. */
44723 _ACEOF
44724 cat confdefs.h >>conftest.$ac_ext
44725 cat >>conftest.$ac_ext <<_ACEOF
44726 /* end confdefs.h. */
44727 #include <math.h>
44729 main ()
44731 copysign(0, 0);
44733 return 0;
44735 _ACEOF
44736 rm -f conftest.$ac_objext
44737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44738 (eval $ac_compile) 2>conftest.er1
44739 ac_status=$?
44740 grep -v '^ *+' conftest.er1 >conftest.err
44741 rm -f conftest.er1
44742 cat conftest.err >&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } &&
44745 { ac_try='test -z "$ac_cxx_werror_flag"
44746 || test ! -s conftest.err'
44747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44748 (eval $ac_try) 2>&5
44749 ac_status=$?
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); }; } &&
44752 { ac_try='test -s conftest.$ac_objext'
44753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44754 (eval $ac_try) 2>&5
44755 ac_status=$?
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); }; }; then
44758 glibcxx_cv_func_copysign_use=yes
44759 else
44760 echo "$as_me: failed program was:" >&5
44761 sed 's/^/| /' conftest.$ac_ext >&5
44763 glibcxx_cv_func_copysign_use=no
44765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44766 ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44777 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44779 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44781 for ac_func in copysign
44783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44784 echo "$as_me:$LINENO: checking for $ac_func" >&5
44785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44786 if eval "test \"\${$as_ac_var+set}\" = set"; then
44787 echo $ECHO_N "(cached) $ECHO_C" >&6
44788 else
44789 if test x$gcc_no_link = xyes; then
44790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44792 { (exit 1); exit 1; }; }
44794 cat >conftest.$ac_ext <<_ACEOF
44795 /* confdefs.h. */
44796 _ACEOF
44797 cat confdefs.h >>conftest.$ac_ext
44798 cat >>conftest.$ac_ext <<_ACEOF
44799 /* end confdefs.h. */
44800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44802 #define $ac_func innocuous_$ac_func
44804 /* System header to define __stub macros and hopefully few prototypes,
44805 which can conflict with char $ac_func (); below.
44806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44807 <limits.h> exists even on freestanding compilers. */
44809 #ifdef __STDC__
44810 # include <limits.h>
44811 #else
44812 # include <assert.h>
44813 #endif
44815 #undef $ac_func
44817 /* Override any gcc2 internal prototype to avoid an error. */
44818 #ifdef __cplusplus
44819 extern "C"
44821 #endif
44822 /* We use char because int might match the return type of a gcc2
44823 builtin and then its argument prototype would still apply. */
44824 char $ac_func ();
44825 /* The GNU C library defines this for functions which it implements
44826 to always fail with ENOSYS. Some functions are actually named
44827 something starting with __ and the normal name is an alias. */
44828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44829 choke me
44830 #else
44831 char (*f) () = $ac_func;
44832 #endif
44833 #ifdef __cplusplus
44835 #endif
44838 main ()
44840 return f != $ac_func;
44842 return 0;
44844 _ACEOF
44845 rm -f conftest.$ac_objext conftest$ac_exeext
44846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44847 (eval $ac_link) 2>conftest.er1
44848 ac_status=$?
44849 grep -v '^ *+' conftest.er1 >conftest.err
44850 rm -f conftest.er1
44851 cat conftest.err >&5
44852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44853 (exit $ac_status); } &&
44854 { ac_try='test -z "$ac_c_werror_flag"
44855 || test ! -s conftest.err'
44856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44857 (eval $ac_try) 2>&5
44858 ac_status=$?
44859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44860 (exit $ac_status); }; } &&
44861 { ac_try='test -s conftest$ac_exeext'
44862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44863 (eval $ac_try) 2>&5
44864 ac_status=$?
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); }; }; then
44867 eval "$as_ac_var=yes"
44868 else
44869 echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.$ac_ext >&5
44872 eval "$as_ac_var=no"
44874 rm -f conftest.err conftest.$ac_objext \
44875 conftest$ac_exeext conftest.$ac_ext
44877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44879 if test `eval echo '${'$as_ac_var'}'` = yes; then
44880 cat >>confdefs.h <<_ACEOF
44881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44882 _ACEOF
44885 done
44887 else
44889 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44890 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44891 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44892 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44893 echo $ECHO_N "(cached) $ECHO_C" >&6
44894 else
44898 ac_ext=cc
44899 ac_cpp='$CXXCPP $CPPFLAGS'
44900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44904 cat >conftest.$ac_ext <<_ACEOF
44905 /* confdefs.h. */
44906 _ACEOF
44907 cat confdefs.h >>conftest.$ac_ext
44908 cat >>conftest.$ac_ext <<_ACEOF
44909 /* end confdefs.h. */
44910 #include <math.h>
44912 main ()
44914 _copysign(0, 0);
44916 return 0;
44918 _ACEOF
44919 rm -f conftest.$ac_objext
44920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44921 (eval $ac_compile) 2>conftest.er1
44922 ac_status=$?
44923 grep -v '^ *+' conftest.er1 >conftest.err
44924 rm -f conftest.er1
44925 cat conftest.err >&5
44926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44927 (exit $ac_status); } &&
44928 { ac_try='test -z "$ac_cxx_werror_flag"
44929 || test ! -s conftest.err'
44930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44931 (eval $ac_try) 2>&5
44932 ac_status=$?
44933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44934 (exit $ac_status); }; } &&
44935 { ac_try='test -s conftest.$ac_objext'
44936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44937 (eval $ac_try) 2>&5
44938 ac_status=$?
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); }; }; then
44941 glibcxx_cv_func__copysign_use=yes
44942 else
44943 echo "$as_me: failed program was:" >&5
44944 sed 's/^/| /' conftest.$ac_ext >&5
44946 glibcxx_cv_func__copysign_use=no
44948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44949 ac_ext=c
44950 ac_cpp='$CPP $CPPFLAGS'
44951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44960 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44962 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44964 for ac_func in _copysign
44966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44967 echo "$as_me:$LINENO: checking for $ac_func" >&5
44968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44969 if eval "test \"\${$as_ac_var+set}\" = set"; then
44970 echo $ECHO_N "(cached) $ECHO_C" >&6
44971 else
44972 if test x$gcc_no_link = xyes; then
44973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44975 { (exit 1); exit 1; }; }
44977 cat >conftest.$ac_ext <<_ACEOF
44978 /* confdefs.h. */
44979 _ACEOF
44980 cat confdefs.h >>conftest.$ac_ext
44981 cat >>conftest.$ac_ext <<_ACEOF
44982 /* end confdefs.h. */
44983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44985 #define $ac_func innocuous_$ac_func
44987 /* System header to define __stub macros and hopefully few prototypes,
44988 which can conflict with char $ac_func (); below.
44989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44990 <limits.h> exists even on freestanding compilers. */
44992 #ifdef __STDC__
44993 # include <limits.h>
44994 #else
44995 # include <assert.h>
44996 #endif
44998 #undef $ac_func
45000 /* Override any gcc2 internal prototype to avoid an error. */
45001 #ifdef __cplusplus
45002 extern "C"
45004 #endif
45005 /* We use char because int might match the return type of a gcc2
45006 builtin and then its argument prototype would still apply. */
45007 char $ac_func ();
45008 /* The GNU C library defines this for functions which it implements
45009 to always fail with ENOSYS. Some functions are actually named
45010 something starting with __ and the normal name is an alias. */
45011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45012 choke me
45013 #else
45014 char (*f) () = $ac_func;
45015 #endif
45016 #ifdef __cplusplus
45018 #endif
45021 main ()
45023 return f != $ac_func;
45025 return 0;
45027 _ACEOF
45028 rm -f conftest.$ac_objext conftest$ac_exeext
45029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45030 (eval $ac_link) 2>conftest.er1
45031 ac_status=$?
45032 grep -v '^ *+' conftest.er1 >conftest.err
45033 rm -f conftest.er1
45034 cat conftest.err >&5
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); } &&
45037 { ac_try='test -z "$ac_c_werror_flag"
45038 || test ! -s conftest.err'
45039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45040 (eval $ac_try) 2>&5
45041 ac_status=$?
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); }; } &&
45044 { ac_try='test -s conftest$ac_exeext'
45045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45046 (eval $ac_try) 2>&5
45047 ac_status=$?
45048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049 (exit $ac_status); }; }; then
45050 eval "$as_ac_var=yes"
45051 else
45052 echo "$as_me: failed program was:" >&5
45053 sed 's/^/| /' conftest.$ac_ext >&5
45055 eval "$as_ac_var=no"
45057 rm -f conftest.err conftest.$ac_objext \
45058 conftest$ac_exeext conftest.$ac_ext
45060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45062 if test `eval echo '${'$as_ac_var'}'` = yes; then
45063 cat >>confdefs.h <<_ACEOF
45064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45065 _ACEOF
45068 done
45078 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45079 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45080 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45081 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45082 echo $ECHO_N "(cached) $ECHO_C" >&6
45083 else
45087 ac_ext=cc
45088 ac_cpp='$CXXCPP $CPPFLAGS'
45089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45093 cat >conftest.$ac_ext <<_ACEOF
45094 /* confdefs.h. */
45095 _ACEOF
45096 cat confdefs.h >>conftest.$ac_ext
45097 cat >>conftest.$ac_ext <<_ACEOF
45098 /* end confdefs.h. */
45099 #include <math.h>
45101 main ()
45103 sincos(0, 0, 0);
45105 return 0;
45107 _ACEOF
45108 rm -f conftest.$ac_objext
45109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45110 (eval $ac_compile) 2>conftest.er1
45111 ac_status=$?
45112 grep -v '^ *+' conftest.er1 >conftest.err
45113 rm -f conftest.er1
45114 cat conftest.err >&5
45115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45116 (exit $ac_status); } &&
45117 { ac_try='test -z "$ac_cxx_werror_flag"
45118 || test ! -s conftest.err'
45119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45120 (eval $ac_try) 2>&5
45121 ac_status=$?
45122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45123 (exit $ac_status); }; } &&
45124 { ac_try='test -s conftest.$ac_objext'
45125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45126 (eval $ac_try) 2>&5
45127 ac_status=$?
45128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45129 (exit $ac_status); }; }; then
45130 glibcxx_cv_func_sincos_use=yes
45131 else
45132 echo "$as_me: failed program was:" >&5
45133 sed 's/^/| /' conftest.$ac_ext >&5
45135 glibcxx_cv_func_sincos_use=no
45137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45138 ac_ext=c
45139 ac_cpp='$CPP $CPPFLAGS'
45140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45149 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45151 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45153 for ac_func in sincos
45155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45156 echo "$as_me:$LINENO: checking for $ac_func" >&5
45157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45158 if eval "test \"\${$as_ac_var+set}\" = set"; then
45159 echo $ECHO_N "(cached) $ECHO_C" >&6
45160 else
45161 if test x$gcc_no_link = xyes; then
45162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45164 { (exit 1); exit 1; }; }
45166 cat >conftest.$ac_ext <<_ACEOF
45167 /* confdefs.h. */
45168 _ACEOF
45169 cat confdefs.h >>conftest.$ac_ext
45170 cat >>conftest.$ac_ext <<_ACEOF
45171 /* end confdefs.h. */
45172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45174 #define $ac_func innocuous_$ac_func
45176 /* System header to define __stub macros and hopefully few prototypes,
45177 which can conflict with char $ac_func (); below.
45178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45179 <limits.h> exists even on freestanding compilers. */
45181 #ifdef __STDC__
45182 # include <limits.h>
45183 #else
45184 # include <assert.h>
45185 #endif
45187 #undef $ac_func
45189 /* Override any gcc2 internal prototype to avoid an error. */
45190 #ifdef __cplusplus
45191 extern "C"
45193 #endif
45194 /* We use char because int might match the return type of a gcc2
45195 builtin and then its argument prototype would still apply. */
45196 char $ac_func ();
45197 /* The GNU C library defines this for functions which it implements
45198 to always fail with ENOSYS. Some functions are actually named
45199 something starting with __ and the normal name is an alias. */
45200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45201 choke me
45202 #else
45203 char (*f) () = $ac_func;
45204 #endif
45205 #ifdef __cplusplus
45207 #endif
45210 main ()
45212 return f != $ac_func;
45214 return 0;
45216 _ACEOF
45217 rm -f conftest.$ac_objext conftest$ac_exeext
45218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45219 (eval $ac_link) 2>conftest.er1
45220 ac_status=$?
45221 grep -v '^ *+' conftest.er1 >conftest.err
45222 rm -f conftest.er1
45223 cat conftest.err >&5
45224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45225 (exit $ac_status); } &&
45226 { ac_try='test -z "$ac_c_werror_flag"
45227 || test ! -s conftest.err'
45228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45229 (eval $ac_try) 2>&5
45230 ac_status=$?
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); }; } &&
45233 { ac_try='test -s conftest$ac_exeext'
45234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45235 (eval $ac_try) 2>&5
45236 ac_status=$?
45237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45238 (exit $ac_status); }; }; then
45239 eval "$as_ac_var=yes"
45240 else
45241 echo "$as_me: failed program was:" >&5
45242 sed 's/^/| /' conftest.$ac_ext >&5
45244 eval "$as_ac_var=no"
45246 rm -f conftest.err conftest.$ac_objext \
45247 conftest$ac_exeext conftest.$ac_ext
45249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45251 if test `eval echo '${'$as_ac_var'}'` = yes; then
45252 cat >>confdefs.h <<_ACEOF
45253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45254 _ACEOF
45257 done
45259 else
45261 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45262 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45263 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45264 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45265 echo $ECHO_N "(cached) $ECHO_C" >&6
45266 else
45270 ac_ext=cc
45271 ac_cpp='$CXXCPP $CPPFLAGS'
45272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45276 cat >conftest.$ac_ext <<_ACEOF
45277 /* confdefs.h. */
45278 _ACEOF
45279 cat confdefs.h >>conftest.$ac_ext
45280 cat >>conftest.$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45282 #include <math.h>
45284 main ()
45286 _sincos(0, 0, 0);
45288 return 0;
45290 _ACEOF
45291 rm -f conftest.$ac_objext
45292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45293 (eval $ac_compile) 2>conftest.er1
45294 ac_status=$?
45295 grep -v '^ *+' conftest.er1 >conftest.err
45296 rm -f conftest.er1
45297 cat conftest.err >&5
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); } &&
45300 { ac_try='test -z "$ac_cxx_werror_flag"
45301 || test ! -s conftest.err'
45302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45303 (eval $ac_try) 2>&5
45304 ac_status=$?
45305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45306 (exit $ac_status); }; } &&
45307 { ac_try='test -s conftest.$ac_objext'
45308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45309 (eval $ac_try) 2>&5
45310 ac_status=$?
45311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45312 (exit $ac_status); }; }; then
45313 glibcxx_cv_func__sincos_use=yes
45314 else
45315 echo "$as_me: failed program was:" >&5
45316 sed 's/^/| /' conftest.$ac_ext >&5
45318 glibcxx_cv_func__sincos_use=no
45320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45321 ac_ext=c
45322 ac_cpp='$CPP $CPPFLAGS'
45323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45331 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45332 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45334 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45336 for ac_func in _sincos
45338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45339 echo "$as_me:$LINENO: checking for $ac_func" >&5
45340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45341 if eval "test \"\${$as_ac_var+set}\" = set"; then
45342 echo $ECHO_N "(cached) $ECHO_C" >&6
45343 else
45344 if test x$gcc_no_link = xyes; then
45345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45347 { (exit 1); exit 1; }; }
45349 cat >conftest.$ac_ext <<_ACEOF
45350 /* confdefs.h. */
45351 _ACEOF
45352 cat confdefs.h >>conftest.$ac_ext
45353 cat >>conftest.$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45357 #define $ac_func innocuous_$ac_func
45359 /* System header to define __stub macros and hopefully few prototypes,
45360 which can conflict with char $ac_func (); below.
45361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45362 <limits.h> exists even on freestanding compilers. */
45364 #ifdef __STDC__
45365 # include <limits.h>
45366 #else
45367 # include <assert.h>
45368 #endif
45370 #undef $ac_func
45372 /* Override any gcc2 internal prototype to avoid an error. */
45373 #ifdef __cplusplus
45374 extern "C"
45376 #endif
45377 /* We use char because int might match the return type of a gcc2
45378 builtin and then its argument prototype would still apply. */
45379 char $ac_func ();
45380 /* The GNU C library defines this for functions which it implements
45381 to always fail with ENOSYS. Some functions are actually named
45382 something starting with __ and the normal name is an alias. */
45383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45384 choke me
45385 #else
45386 char (*f) () = $ac_func;
45387 #endif
45388 #ifdef __cplusplus
45390 #endif
45393 main ()
45395 return f != $ac_func;
45397 return 0;
45399 _ACEOF
45400 rm -f conftest.$ac_objext conftest$ac_exeext
45401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45402 (eval $ac_link) 2>conftest.er1
45403 ac_status=$?
45404 grep -v '^ *+' conftest.er1 >conftest.err
45405 rm -f conftest.er1
45406 cat conftest.err >&5
45407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408 (exit $ac_status); } &&
45409 { ac_try='test -z "$ac_c_werror_flag"
45410 || test ! -s conftest.err'
45411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45412 (eval $ac_try) 2>&5
45413 ac_status=$?
45414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45415 (exit $ac_status); }; } &&
45416 { ac_try='test -s conftest$ac_exeext'
45417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45418 (eval $ac_try) 2>&5
45419 ac_status=$?
45420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45421 (exit $ac_status); }; }; then
45422 eval "$as_ac_var=yes"
45423 else
45424 echo "$as_me: failed program was:" >&5
45425 sed 's/^/| /' conftest.$ac_ext >&5
45427 eval "$as_ac_var=no"
45429 rm -f conftest.err conftest.$ac_objext \
45430 conftest$ac_exeext conftest.$ac_ext
45432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45434 if test `eval echo '${'$as_ac_var'}'` = yes; then
45435 cat >>confdefs.h <<_ACEOF
45436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45437 _ACEOF
45440 done
45450 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45451 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45452 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45453 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45454 echo $ECHO_N "(cached) $ECHO_C" >&6
45455 else
45459 ac_ext=cc
45460 ac_cpp='$CXXCPP $CPPFLAGS'
45461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45465 cat >conftest.$ac_ext <<_ACEOF
45466 /* confdefs.h. */
45467 _ACEOF
45468 cat confdefs.h >>conftest.$ac_ext
45469 cat >>conftest.$ac_ext <<_ACEOF
45470 /* end confdefs.h. */
45471 #include <math.h>
45472 #ifdef HAVE_IEEEFP_H
45473 #include <ieeefp.h>
45474 #endif
45477 main ()
45479 fpclass(0);
45481 return 0;
45483 _ACEOF
45484 rm -f conftest.$ac_objext
45485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45486 (eval $ac_compile) 2>conftest.er1
45487 ac_status=$?
45488 grep -v '^ *+' conftest.er1 >conftest.err
45489 rm -f conftest.er1
45490 cat conftest.err >&5
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); } &&
45493 { ac_try='test -z "$ac_cxx_werror_flag"
45494 || test ! -s conftest.err'
45495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45496 (eval $ac_try) 2>&5
45497 ac_status=$?
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); }; } &&
45500 { ac_try='test -s conftest.$ac_objext'
45501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45502 (eval $ac_try) 2>&5
45503 ac_status=$?
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); }; }; then
45506 glibcxx_cv_func_fpclass_use=yes
45507 else
45508 echo "$as_me: failed program was:" >&5
45509 sed 's/^/| /' conftest.$ac_ext >&5
45511 glibcxx_cv_func_fpclass_use=no
45513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45514 ac_ext=c
45515 ac_cpp='$CPP $CPPFLAGS'
45516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45525 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45527 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45529 for ac_func in fpclass
45531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45532 echo "$as_me:$LINENO: checking for $ac_func" >&5
45533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45534 if eval "test \"\${$as_ac_var+set}\" = set"; then
45535 echo $ECHO_N "(cached) $ECHO_C" >&6
45536 else
45537 if test x$gcc_no_link = xyes; then
45538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45540 { (exit 1); exit 1; }; }
45542 cat >conftest.$ac_ext <<_ACEOF
45543 /* confdefs.h. */
45544 _ACEOF
45545 cat confdefs.h >>conftest.$ac_ext
45546 cat >>conftest.$ac_ext <<_ACEOF
45547 /* end confdefs.h. */
45548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45550 #define $ac_func innocuous_$ac_func
45552 /* System header to define __stub macros and hopefully few prototypes,
45553 which can conflict with char $ac_func (); below.
45554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45555 <limits.h> exists even on freestanding compilers. */
45557 #ifdef __STDC__
45558 # include <limits.h>
45559 #else
45560 # include <assert.h>
45561 #endif
45563 #undef $ac_func
45565 /* Override any gcc2 internal prototype to avoid an error. */
45566 #ifdef __cplusplus
45567 extern "C"
45569 #endif
45570 /* We use char because int might match the return type of a gcc2
45571 builtin and then its argument prototype would still apply. */
45572 char $ac_func ();
45573 /* The GNU C library defines this for functions which it implements
45574 to always fail with ENOSYS. Some functions are actually named
45575 something starting with __ and the normal name is an alias. */
45576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45577 choke me
45578 #else
45579 char (*f) () = $ac_func;
45580 #endif
45581 #ifdef __cplusplus
45583 #endif
45586 main ()
45588 return f != $ac_func;
45590 return 0;
45592 _ACEOF
45593 rm -f conftest.$ac_objext conftest$ac_exeext
45594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45595 (eval $ac_link) 2>conftest.er1
45596 ac_status=$?
45597 grep -v '^ *+' conftest.er1 >conftest.err
45598 rm -f conftest.er1
45599 cat conftest.err >&5
45600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601 (exit $ac_status); } &&
45602 { ac_try='test -z "$ac_c_werror_flag"
45603 || test ! -s conftest.err'
45604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45605 (eval $ac_try) 2>&5
45606 ac_status=$?
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); }; } &&
45609 { ac_try='test -s conftest$ac_exeext'
45610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45611 (eval $ac_try) 2>&5
45612 ac_status=$?
45613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614 (exit $ac_status); }; }; then
45615 eval "$as_ac_var=yes"
45616 else
45617 echo "$as_me: failed program was:" >&5
45618 sed 's/^/| /' conftest.$ac_ext >&5
45620 eval "$as_ac_var=no"
45622 rm -f conftest.err conftest.$ac_objext \
45623 conftest$ac_exeext conftest.$ac_ext
45625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45627 if test `eval echo '${'$as_ac_var'}'` = yes; then
45628 cat >>confdefs.h <<_ACEOF
45629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45630 _ACEOF
45633 done
45635 else
45637 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45638 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45639 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45640 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45641 echo $ECHO_N "(cached) $ECHO_C" >&6
45642 else
45646 ac_ext=cc
45647 ac_cpp='$CXXCPP $CPPFLAGS'
45648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45652 cat >conftest.$ac_ext <<_ACEOF
45653 /* confdefs.h. */
45654 _ACEOF
45655 cat confdefs.h >>conftest.$ac_ext
45656 cat >>conftest.$ac_ext <<_ACEOF
45657 /* end confdefs.h. */
45658 #include <math.h>
45659 #ifdef HAVE_IEEEFP_H
45660 #include <ieeefp.h>
45661 #endif
45664 main ()
45666 _fpclass(0);
45668 return 0;
45670 _ACEOF
45671 rm -f conftest.$ac_objext
45672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45673 (eval $ac_compile) 2>conftest.er1
45674 ac_status=$?
45675 grep -v '^ *+' conftest.er1 >conftest.err
45676 rm -f conftest.er1
45677 cat conftest.err >&5
45678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45679 (exit $ac_status); } &&
45680 { ac_try='test -z "$ac_cxx_werror_flag"
45681 || test ! -s conftest.err'
45682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45683 (eval $ac_try) 2>&5
45684 ac_status=$?
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); }; } &&
45687 { ac_try='test -s conftest.$ac_objext'
45688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45689 (eval $ac_try) 2>&5
45690 ac_status=$?
45691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45692 (exit $ac_status); }; }; then
45693 glibcxx_cv_func__fpclass_use=yes
45694 else
45695 echo "$as_me: failed program was:" >&5
45696 sed 's/^/| /' conftest.$ac_ext >&5
45698 glibcxx_cv_func__fpclass_use=no
45700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45701 ac_ext=c
45702 ac_cpp='$CPP $CPPFLAGS'
45703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45712 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45714 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45716 for ac_func in _fpclass
45718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45719 echo "$as_me:$LINENO: checking for $ac_func" >&5
45720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45721 if eval "test \"\${$as_ac_var+set}\" = set"; then
45722 echo $ECHO_N "(cached) $ECHO_C" >&6
45723 else
45724 if test x$gcc_no_link = xyes; then
45725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45727 { (exit 1); exit 1; }; }
45729 cat >conftest.$ac_ext <<_ACEOF
45730 /* confdefs.h. */
45731 _ACEOF
45732 cat confdefs.h >>conftest.$ac_ext
45733 cat >>conftest.$ac_ext <<_ACEOF
45734 /* end confdefs.h. */
45735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45737 #define $ac_func innocuous_$ac_func
45739 /* System header to define __stub macros and hopefully few prototypes,
45740 which can conflict with char $ac_func (); below.
45741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45742 <limits.h> exists even on freestanding compilers. */
45744 #ifdef __STDC__
45745 # include <limits.h>
45746 #else
45747 # include <assert.h>
45748 #endif
45750 #undef $ac_func
45752 /* Override any gcc2 internal prototype to avoid an error. */
45753 #ifdef __cplusplus
45754 extern "C"
45756 #endif
45757 /* We use char because int might match the return type of a gcc2
45758 builtin and then its argument prototype would still apply. */
45759 char $ac_func ();
45760 /* The GNU C library defines this for functions which it implements
45761 to always fail with ENOSYS. Some functions are actually named
45762 something starting with __ and the normal name is an alias. */
45763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45764 choke me
45765 #else
45766 char (*f) () = $ac_func;
45767 #endif
45768 #ifdef __cplusplus
45770 #endif
45773 main ()
45775 return f != $ac_func;
45777 return 0;
45779 _ACEOF
45780 rm -f conftest.$ac_objext conftest$ac_exeext
45781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45782 (eval $ac_link) 2>conftest.er1
45783 ac_status=$?
45784 grep -v '^ *+' conftest.er1 >conftest.err
45785 rm -f conftest.er1
45786 cat conftest.err >&5
45787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45788 (exit $ac_status); } &&
45789 { ac_try='test -z "$ac_c_werror_flag"
45790 || test ! -s conftest.err'
45791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45792 (eval $ac_try) 2>&5
45793 ac_status=$?
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); }; } &&
45796 { ac_try='test -s conftest$ac_exeext'
45797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45798 (eval $ac_try) 2>&5
45799 ac_status=$?
45800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45801 (exit $ac_status); }; }; then
45802 eval "$as_ac_var=yes"
45803 else
45804 echo "$as_me: failed program was:" >&5
45805 sed 's/^/| /' conftest.$ac_ext >&5
45807 eval "$as_ac_var=no"
45809 rm -f conftest.err conftest.$ac_objext \
45810 conftest$ac_exeext conftest.$ac_ext
45812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45814 if test `eval echo '${'$as_ac_var'}'` = yes; then
45815 cat >>confdefs.h <<_ACEOF
45816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45817 _ACEOF
45820 done
45830 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45831 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45833 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45834 echo $ECHO_N "(cached) $ECHO_C" >&6
45835 else
45839 ac_ext=cc
45840 ac_cpp='$CXXCPP $CPPFLAGS'
45841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45845 cat >conftest.$ac_ext <<_ACEOF
45846 /* confdefs.h. */
45847 _ACEOF
45848 cat confdefs.h >>conftest.$ac_ext
45849 cat >>conftest.$ac_ext <<_ACEOF
45850 /* end confdefs.h. */
45851 #include <math.h>
45852 #ifdef HAVE_IEEEFP_H
45853 #include <ieeefp.h>
45854 #endif
45857 main ()
45859 qfpclass(0);
45861 return 0;
45863 _ACEOF
45864 rm -f conftest.$ac_objext
45865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45866 (eval $ac_compile) 2>conftest.er1
45867 ac_status=$?
45868 grep -v '^ *+' conftest.er1 >conftest.err
45869 rm -f conftest.er1
45870 cat conftest.err >&5
45871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45872 (exit $ac_status); } &&
45873 { ac_try='test -z "$ac_cxx_werror_flag"
45874 || test ! -s conftest.err'
45875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45876 (eval $ac_try) 2>&5
45877 ac_status=$?
45878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45879 (exit $ac_status); }; } &&
45880 { ac_try='test -s conftest.$ac_objext'
45881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45882 (eval $ac_try) 2>&5
45883 ac_status=$?
45884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45885 (exit $ac_status); }; }; then
45886 glibcxx_cv_func_qfpclass_use=yes
45887 else
45888 echo "$as_me: failed program was:" >&5
45889 sed 's/^/| /' conftest.$ac_ext >&5
45891 glibcxx_cv_func_qfpclass_use=no
45893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45894 ac_ext=c
45895 ac_cpp='$CPP $CPPFLAGS'
45896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45905 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45907 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45909 for ac_func in qfpclass
45911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45912 echo "$as_me:$LINENO: checking for $ac_func" >&5
45913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45914 if eval "test \"\${$as_ac_var+set}\" = set"; then
45915 echo $ECHO_N "(cached) $ECHO_C" >&6
45916 else
45917 if test x$gcc_no_link = xyes; then
45918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45920 { (exit 1); exit 1; }; }
45922 cat >conftest.$ac_ext <<_ACEOF
45923 /* confdefs.h. */
45924 _ACEOF
45925 cat confdefs.h >>conftest.$ac_ext
45926 cat >>conftest.$ac_ext <<_ACEOF
45927 /* end confdefs.h. */
45928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45930 #define $ac_func innocuous_$ac_func
45932 /* System header to define __stub macros and hopefully few prototypes,
45933 which can conflict with char $ac_func (); below.
45934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45935 <limits.h> exists even on freestanding compilers. */
45937 #ifdef __STDC__
45938 # include <limits.h>
45939 #else
45940 # include <assert.h>
45941 #endif
45943 #undef $ac_func
45945 /* Override any gcc2 internal prototype to avoid an error. */
45946 #ifdef __cplusplus
45947 extern "C"
45949 #endif
45950 /* We use char because int might match the return type of a gcc2
45951 builtin and then its argument prototype would still apply. */
45952 char $ac_func ();
45953 /* The GNU C library defines this for functions which it implements
45954 to always fail with ENOSYS. Some functions are actually named
45955 something starting with __ and the normal name is an alias. */
45956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45957 choke me
45958 #else
45959 char (*f) () = $ac_func;
45960 #endif
45961 #ifdef __cplusplus
45963 #endif
45966 main ()
45968 return f != $ac_func;
45970 return 0;
45972 _ACEOF
45973 rm -f conftest.$ac_objext conftest$ac_exeext
45974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45975 (eval $ac_link) 2>conftest.er1
45976 ac_status=$?
45977 grep -v '^ *+' conftest.er1 >conftest.err
45978 rm -f conftest.er1
45979 cat conftest.err >&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); } &&
45982 { ac_try='test -z "$ac_c_werror_flag"
45983 || test ! -s conftest.err'
45984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45985 (eval $ac_try) 2>&5
45986 ac_status=$?
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); }; } &&
45989 { ac_try='test -s conftest$ac_exeext'
45990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45991 (eval $ac_try) 2>&5
45992 ac_status=$?
45993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45994 (exit $ac_status); }; }; then
45995 eval "$as_ac_var=yes"
45996 else
45997 echo "$as_me: failed program was:" >&5
45998 sed 's/^/| /' conftest.$ac_ext >&5
46000 eval "$as_ac_var=no"
46002 rm -f conftest.err conftest.$ac_objext \
46003 conftest$ac_exeext conftest.$ac_ext
46005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46007 if test `eval echo '${'$as_ac_var'}'` = yes; then
46008 cat >>confdefs.h <<_ACEOF
46009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46010 _ACEOF
46013 done
46015 else
46017 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
46018 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
46019 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46020 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
46021 echo $ECHO_N "(cached) $ECHO_C" >&6
46022 else
46026 ac_ext=cc
46027 ac_cpp='$CXXCPP $CPPFLAGS'
46028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46032 cat >conftest.$ac_ext <<_ACEOF
46033 /* confdefs.h. */
46034 _ACEOF
46035 cat confdefs.h >>conftest.$ac_ext
46036 cat >>conftest.$ac_ext <<_ACEOF
46037 /* end confdefs.h. */
46038 #include <math.h>
46039 #ifdef HAVE_IEEEFP_H
46040 #include <ieeefp.h>
46041 #endif
46044 main ()
46046 _qfpclass(0);
46048 return 0;
46050 _ACEOF
46051 rm -f conftest.$ac_objext
46052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46053 (eval $ac_compile) 2>conftest.er1
46054 ac_status=$?
46055 grep -v '^ *+' conftest.er1 >conftest.err
46056 rm -f conftest.er1
46057 cat conftest.err >&5
46058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46059 (exit $ac_status); } &&
46060 { ac_try='test -z "$ac_cxx_werror_flag"
46061 || test ! -s conftest.err'
46062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46063 (eval $ac_try) 2>&5
46064 ac_status=$?
46065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46066 (exit $ac_status); }; } &&
46067 { ac_try='test -s conftest.$ac_objext'
46068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46069 (eval $ac_try) 2>&5
46070 ac_status=$?
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); }; }; then
46073 glibcxx_cv_func__qfpclass_use=yes
46074 else
46075 echo "$as_me: failed program was:" >&5
46076 sed 's/^/| /' conftest.$ac_ext >&5
46078 glibcxx_cv_func__qfpclass_use=no
46080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46081 ac_ext=c
46082 ac_cpp='$CPP $CPPFLAGS'
46083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46092 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46094 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46096 for ac_func in _qfpclass
46098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46099 echo "$as_me:$LINENO: checking for $ac_func" >&5
46100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46101 if eval "test \"\${$as_ac_var+set}\" = set"; then
46102 echo $ECHO_N "(cached) $ECHO_C" >&6
46103 else
46104 if test x$gcc_no_link = xyes; then
46105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46107 { (exit 1); exit 1; }; }
46109 cat >conftest.$ac_ext <<_ACEOF
46110 /* confdefs.h. */
46111 _ACEOF
46112 cat confdefs.h >>conftest.$ac_ext
46113 cat >>conftest.$ac_ext <<_ACEOF
46114 /* end confdefs.h. */
46115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46117 #define $ac_func innocuous_$ac_func
46119 /* System header to define __stub macros and hopefully few prototypes,
46120 which can conflict with char $ac_func (); below.
46121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46122 <limits.h> exists even on freestanding compilers. */
46124 #ifdef __STDC__
46125 # include <limits.h>
46126 #else
46127 # include <assert.h>
46128 #endif
46130 #undef $ac_func
46132 /* Override any gcc2 internal prototype to avoid an error. */
46133 #ifdef __cplusplus
46134 extern "C"
46136 #endif
46137 /* We use char because int might match the return type of a gcc2
46138 builtin and then its argument prototype would still apply. */
46139 char $ac_func ();
46140 /* The GNU C library defines this for functions which it implements
46141 to always fail with ENOSYS. Some functions are actually named
46142 something starting with __ and the normal name is an alias. */
46143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46144 choke me
46145 #else
46146 char (*f) () = $ac_func;
46147 #endif
46148 #ifdef __cplusplus
46150 #endif
46153 main ()
46155 return f != $ac_func;
46157 return 0;
46159 _ACEOF
46160 rm -f conftest.$ac_objext conftest$ac_exeext
46161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46162 (eval $ac_link) 2>conftest.er1
46163 ac_status=$?
46164 grep -v '^ *+' conftest.er1 >conftest.err
46165 rm -f conftest.er1
46166 cat conftest.err >&5
46167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168 (exit $ac_status); } &&
46169 { ac_try='test -z "$ac_c_werror_flag"
46170 || test ! -s conftest.err'
46171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46172 (eval $ac_try) 2>&5
46173 ac_status=$?
46174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46175 (exit $ac_status); }; } &&
46176 { ac_try='test -s conftest$ac_exeext'
46177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46178 (eval $ac_try) 2>&5
46179 ac_status=$?
46180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46181 (exit $ac_status); }; }; then
46182 eval "$as_ac_var=yes"
46183 else
46184 echo "$as_me: failed program was:" >&5
46185 sed 's/^/| /' conftest.$ac_ext >&5
46187 eval "$as_ac_var=no"
46189 rm -f conftest.err conftest.$ac_objext \
46190 conftest$ac_exeext conftest.$ac_ext
46192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46194 if test `eval echo '${'$as_ac_var'}'` = yes; then
46195 cat >>confdefs.h <<_ACEOF
46196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46197 _ACEOF
46200 done
46210 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46211 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46212 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46213 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46214 echo $ECHO_N "(cached) $ECHO_C" >&6
46215 else
46219 ac_ext=cc
46220 ac_cpp='$CXXCPP $CPPFLAGS'
46221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46225 cat >conftest.$ac_ext <<_ACEOF
46226 /* confdefs.h. */
46227 _ACEOF
46228 cat confdefs.h >>conftest.$ac_ext
46229 cat >>conftest.$ac_ext <<_ACEOF
46230 /* end confdefs.h. */
46231 #include <math.h>
46233 main ()
46235 hypot(0, 0);
46237 return 0;
46239 _ACEOF
46240 rm -f conftest.$ac_objext
46241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46242 (eval $ac_compile) 2>conftest.er1
46243 ac_status=$?
46244 grep -v '^ *+' conftest.er1 >conftest.err
46245 rm -f conftest.er1
46246 cat conftest.err >&5
46247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46248 (exit $ac_status); } &&
46249 { ac_try='test -z "$ac_cxx_werror_flag"
46250 || test ! -s conftest.err'
46251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46252 (eval $ac_try) 2>&5
46253 ac_status=$?
46254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46255 (exit $ac_status); }; } &&
46256 { ac_try='test -s conftest.$ac_objext'
46257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46258 (eval $ac_try) 2>&5
46259 ac_status=$?
46260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46261 (exit $ac_status); }; }; then
46262 glibcxx_cv_func_hypot_use=yes
46263 else
46264 echo "$as_me: failed program was:" >&5
46265 sed 's/^/| /' conftest.$ac_ext >&5
46267 glibcxx_cv_func_hypot_use=no
46269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46270 ac_ext=c
46271 ac_cpp='$CPP $CPPFLAGS'
46272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46281 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46283 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46285 for ac_func in hypot
46287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46288 echo "$as_me:$LINENO: checking for $ac_func" >&5
46289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46290 if eval "test \"\${$as_ac_var+set}\" = set"; then
46291 echo $ECHO_N "(cached) $ECHO_C" >&6
46292 else
46293 if test x$gcc_no_link = xyes; then
46294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46296 { (exit 1); exit 1; }; }
46298 cat >conftest.$ac_ext <<_ACEOF
46299 /* confdefs.h. */
46300 _ACEOF
46301 cat confdefs.h >>conftest.$ac_ext
46302 cat >>conftest.$ac_ext <<_ACEOF
46303 /* end confdefs.h. */
46304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46306 #define $ac_func innocuous_$ac_func
46308 /* System header to define __stub macros and hopefully few prototypes,
46309 which can conflict with char $ac_func (); below.
46310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46311 <limits.h> exists even on freestanding compilers. */
46313 #ifdef __STDC__
46314 # include <limits.h>
46315 #else
46316 # include <assert.h>
46317 #endif
46319 #undef $ac_func
46321 /* Override any gcc2 internal prototype to avoid an error. */
46322 #ifdef __cplusplus
46323 extern "C"
46325 #endif
46326 /* We use char because int might match the return type of a gcc2
46327 builtin and then its argument prototype would still apply. */
46328 char $ac_func ();
46329 /* The GNU C library defines this for functions which it implements
46330 to always fail with ENOSYS. Some functions are actually named
46331 something starting with __ and the normal name is an alias. */
46332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46333 choke me
46334 #else
46335 char (*f) () = $ac_func;
46336 #endif
46337 #ifdef __cplusplus
46339 #endif
46342 main ()
46344 return f != $ac_func;
46346 return 0;
46348 _ACEOF
46349 rm -f conftest.$ac_objext conftest$ac_exeext
46350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46351 (eval $ac_link) 2>conftest.er1
46352 ac_status=$?
46353 grep -v '^ *+' conftest.er1 >conftest.err
46354 rm -f conftest.er1
46355 cat conftest.err >&5
46356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46357 (exit $ac_status); } &&
46358 { ac_try='test -z "$ac_c_werror_flag"
46359 || test ! -s conftest.err'
46360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46361 (eval $ac_try) 2>&5
46362 ac_status=$?
46363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46364 (exit $ac_status); }; } &&
46365 { ac_try='test -s conftest$ac_exeext'
46366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46367 (eval $ac_try) 2>&5
46368 ac_status=$?
46369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46370 (exit $ac_status); }; }; then
46371 eval "$as_ac_var=yes"
46372 else
46373 echo "$as_me: failed program was:" >&5
46374 sed 's/^/| /' conftest.$ac_ext >&5
46376 eval "$as_ac_var=no"
46378 rm -f conftest.err conftest.$ac_objext \
46379 conftest$ac_exeext conftest.$ac_ext
46381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46383 if test `eval echo '${'$as_ac_var'}'` = yes; then
46384 cat >>confdefs.h <<_ACEOF
46385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46386 _ACEOF
46389 done
46391 else
46393 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46394 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46395 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46396 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46397 echo $ECHO_N "(cached) $ECHO_C" >&6
46398 else
46402 ac_ext=cc
46403 ac_cpp='$CXXCPP $CPPFLAGS'
46404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408 cat >conftest.$ac_ext <<_ACEOF
46409 /* confdefs.h. */
46410 _ACEOF
46411 cat confdefs.h >>conftest.$ac_ext
46412 cat >>conftest.$ac_ext <<_ACEOF
46413 /* end confdefs.h. */
46414 #include <math.h>
46416 main ()
46418 _hypot(0, 0);
46420 return 0;
46422 _ACEOF
46423 rm -f conftest.$ac_objext
46424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46425 (eval $ac_compile) 2>conftest.er1
46426 ac_status=$?
46427 grep -v '^ *+' conftest.er1 >conftest.err
46428 rm -f conftest.er1
46429 cat conftest.err >&5
46430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46431 (exit $ac_status); } &&
46432 { ac_try='test -z "$ac_cxx_werror_flag"
46433 || test ! -s conftest.err'
46434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46435 (eval $ac_try) 2>&5
46436 ac_status=$?
46437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46438 (exit $ac_status); }; } &&
46439 { ac_try='test -s conftest.$ac_objext'
46440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46441 (eval $ac_try) 2>&5
46442 ac_status=$?
46443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46444 (exit $ac_status); }; }; then
46445 glibcxx_cv_func__hypot_use=yes
46446 else
46447 echo "$as_me: failed program was:" >&5
46448 sed 's/^/| /' conftest.$ac_ext >&5
46450 glibcxx_cv_func__hypot_use=no
46452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46453 ac_ext=c
46454 ac_cpp='$CPP $CPPFLAGS'
46455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46464 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46466 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46468 for ac_func in _hypot
46470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46471 echo "$as_me:$LINENO: checking for $ac_func" >&5
46472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46473 if eval "test \"\${$as_ac_var+set}\" = set"; then
46474 echo $ECHO_N "(cached) $ECHO_C" >&6
46475 else
46476 if test x$gcc_no_link = xyes; then
46477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46479 { (exit 1); exit 1; }; }
46481 cat >conftest.$ac_ext <<_ACEOF
46482 /* confdefs.h. */
46483 _ACEOF
46484 cat confdefs.h >>conftest.$ac_ext
46485 cat >>conftest.$ac_ext <<_ACEOF
46486 /* end confdefs.h. */
46487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46489 #define $ac_func innocuous_$ac_func
46491 /* System header to define __stub macros and hopefully few prototypes,
46492 which can conflict with char $ac_func (); below.
46493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46494 <limits.h> exists even on freestanding compilers. */
46496 #ifdef __STDC__
46497 # include <limits.h>
46498 #else
46499 # include <assert.h>
46500 #endif
46502 #undef $ac_func
46504 /* Override any gcc2 internal prototype to avoid an error. */
46505 #ifdef __cplusplus
46506 extern "C"
46508 #endif
46509 /* We use char because int might match the return type of a gcc2
46510 builtin and then its argument prototype would still apply. */
46511 char $ac_func ();
46512 /* The GNU C library defines this for functions which it implements
46513 to always fail with ENOSYS. Some functions are actually named
46514 something starting with __ and the normal name is an alias. */
46515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46516 choke me
46517 #else
46518 char (*f) () = $ac_func;
46519 #endif
46520 #ifdef __cplusplus
46522 #endif
46525 main ()
46527 return f != $ac_func;
46529 return 0;
46531 _ACEOF
46532 rm -f conftest.$ac_objext conftest$ac_exeext
46533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46534 (eval $ac_link) 2>conftest.er1
46535 ac_status=$?
46536 grep -v '^ *+' conftest.er1 >conftest.err
46537 rm -f conftest.er1
46538 cat conftest.err >&5
46539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46540 (exit $ac_status); } &&
46541 { ac_try='test -z "$ac_c_werror_flag"
46542 || test ! -s conftest.err'
46543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46544 (eval $ac_try) 2>&5
46545 ac_status=$?
46546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46547 (exit $ac_status); }; } &&
46548 { ac_try='test -s conftest$ac_exeext'
46549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46550 (eval $ac_try) 2>&5
46551 ac_status=$?
46552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553 (exit $ac_status); }; }; then
46554 eval "$as_ac_var=yes"
46555 else
46556 echo "$as_me: failed program was:" >&5
46557 sed 's/^/| /' conftest.$ac_ext >&5
46559 eval "$as_ac_var=no"
46561 rm -f conftest.err conftest.$ac_objext \
46562 conftest$ac_exeext conftest.$ac_ext
46564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46566 if test `eval echo '${'$as_ac_var'}'` = yes; then
46567 cat >>confdefs.h <<_ACEOF
46568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46569 _ACEOF
46572 done
46582 echo "$as_me:$LINENO: checking for float trig functions" >&5
46583 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46584 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46585 echo $ECHO_N "(cached) $ECHO_C" >&6
46586 else
46590 ac_ext=cc
46591 ac_cpp='$CXXCPP $CPPFLAGS'
46592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46596 cat >conftest.$ac_ext <<_ACEOF
46597 /* confdefs.h. */
46598 _ACEOF
46599 cat confdefs.h >>conftest.$ac_ext
46600 cat >>conftest.$ac_ext <<_ACEOF
46601 /* end confdefs.h. */
46602 #include <math.h>
46604 main ()
46606 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46608 return 0;
46610 _ACEOF
46611 rm -f conftest.$ac_objext
46612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46613 (eval $ac_compile) 2>conftest.er1
46614 ac_status=$?
46615 grep -v '^ *+' conftest.er1 >conftest.err
46616 rm -f conftest.er1
46617 cat conftest.err >&5
46618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619 (exit $ac_status); } &&
46620 { ac_try='test -z "$ac_cxx_werror_flag"
46621 || test ! -s conftest.err'
46622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46623 (eval $ac_try) 2>&5
46624 ac_status=$?
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); }; } &&
46627 { ac_try='test -s conftest.$ac_objext'
46628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46629 (eval $ac_try) 2>&5
46630 ac_status=$?
46631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46632 (exit $ac_status); }; }; then
46633 glibcxx_cv_func_float_trig_use=yes
46634 else
46635 echo "$as_me: failed program was:" >&5
46636 sed 's/^/| /' conftest.$ac_ext >&5
46638 glibcxx_cv_func_float_trig_use=no
46640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46641 ac_ext=c
46642 ac_cpp='$CPP $CPPFLAGS'
46643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46650 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46651 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46661 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46664 echo "$as_me:$LINENO: checking for $ac_func" >&5
46665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46666 if eval "test \"\${$as_ac_var+set}\" = set"; then
46667 echo $ECHO_N "(cached) $ECHO_C" >&6
46668 else
46669 if test x$gcc_no_link = xyes; then
46670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46672 { (exit 1); exit 1; }; }
46674 cat >conftest.$ac_ext <<_ACEOF
46675 /* confdefs.h. */
46676 _ACEOF
46677 cat confdefs.h >>conftest.$ac_ext
46678 cat >>conftest.$ac_ext <<_ACEOF
46679 /* end confdefs.h. */
46680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46682 #define $ac_func innocuous_$ac_func
46684 /* System header to define __stub macros and hopefully few prototypes,
46685 which can conflict with char $ac_func (); below.
46686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46687 <limits.h> exists even on freestanding compilers. */
46689 #ifdef __STDC__
46690 # include <limits.h>
46691 #else
46692 # include <assert.h>
46693 #endif
46695 #undef $ac_func
46697 /* Override any gcc2 internal prototype to avoid an error. */
46698 #ifdef __cplusplus
46699 extern "C"
46701 #endif
46702 /* We use char because int might match the return type of a gcc2
46703 builtin and then its argument prototype would still apply. */
46704 char $ac_func ();
46705 /* The GNU C library defines this for functions which it implements
46706 to always fail with ENOSYS. Some functions are actually named
46707 something starting with __ and the normal name is an alias. */
46708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46709 choke me
46710 #else
46711 char (*f) () = $ac_func;
46712 #endif
46713 #ifdef __cplusplus
46715 #endif
46718 main ()
46720 return f != $ac_func;
46722 return 0;
46724 _ACEOF
46725 rm -f conftest.$ac_objext conftest$ac_exeext
46726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46727 (eval $ac_link) 2>conftest.er1
46728 ac_status=$?
46729 grep -v '^ *+' conftest.er1 >conftest.err
46730 rm -f conftest.er1
46731 cat conftest.err >&5
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); } &&
46734 { ac_try='test -z "$ac_c_werror_flag"
46735 || test ! -s conftest.err'
46736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46737 (eval $ac_try) 2>&5
46738 ac_status=$?
46739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740 (exit $ac_status); }; } &&
46741 { ac_try='test -s conftest$ac_exeext'
46742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46743 (eval $ac_try) 2>&5
46744 ac_status=$?
46745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746 (exit $ac_status); }; }; then
46747 eval "$as_ac_var=yes"
46748 else
46749 echo "$as_me: failed program was:" >&5
46750 sed 's/^/| /' conftest.$ac_ext >&5
46752 eval "$as_ac_var=no"
46754 rm -f conftest.err conftest.$ac_objext \
46755 conftest$ac_exeext conftest.$ac_ext
46757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46759 if test `eval echo '${'$as_ac_var'}'` = yes; then
46760 cat >>confdefs.h <<_ACEOF
46761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46762 _ACEOF
46765 done
46767 else
46768 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46769 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46770 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46771 echo $ECHO_N "(cached) $ECHO_C" >&6
46772 else
46776 ac_ext=cc
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46782 cat >conftest.$ac_ext <<_ACEOF
46783 /* confdefs.h. */
46784 _ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46788 #include <math.h>
46790 main ()
46792 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46794 return 0;
46796 _ACEOF
46797 rm -f conftest.$ac_objext
46798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46799 (eval $ac_compile) 2>conftest.er1
46800 ac_status=$?
46801 grep -v '^ *+' conftest.er1 >conftest.err
46802 rm -f conftest.er1
46803 cat conftest.err >&5
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); } &&
46806 { ac_try='test -z "$ac_cxx_werror_flag"
46807 || test ! -s conftest.err'
46808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46809 (eval $ac_try) 2>&5
46810 ac_status=$?
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); }; } &&
46813 { ac_try='test -s conftest.$ac_objext'
46814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46815 (eval $ac_try) 2>&5
46816 ac_status=$?
46817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46818 (exit $ac_status); }; }; then
46819 glibcxx_cv_func__float_trig_use=yes
46820 else
46821 echo "$as_me: failed program was:" >&5
46822 sed 's/^/| /' conftest.$ac_ext >&5
46824 glibcxx_cv_func__float_trig_use=no
46826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46827 ac_ext=c
46828 ac_cpp='$CPP $CPPFLAGS'
46829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46836 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46837 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46847 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46850 echo "$as_me:$LINENO: checking for $ac_func" >&5
46851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46852 if eval "test \"\${$as_ac_var+set}\" = set"; then
46853 echo $ECHO_N "(cached) $ECHO_C" >&6
46854 else
46855 if test x$gcc_no_link = xyes; then
46856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46858 { (exit 1); exit 1; }; }
46860 cat >conftest.$ac_ext <<_ACEOF
46861 /* confdefs.h. */
46862 _ACEOF
46863 cat confdefs.h >>conftest.$ac_ext
46864 cat >>conftest.$ac_ext <<_ACEOF
46865 /* end confdefs.h. */
46866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46868 #define $ac_func innocuous_$ac_func
46870 /* System header to define __stub macros and hopefully few prototypes,
46871 which can conflict with char $ac_func (); below.
46872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46873 <limits.h> exists even on freestanding compilers. */
46875 #ifdef __STDC__
46876 # include <limits.h>
46877 #else
46878 # include <assert.h>
46879 #endif
46881 #undef $ac_func
46883 /* Override any gcc2 internal prototype to avoid an error. */
46884 #ifdef __cplusplus
46885 extern "C"
46887 #endif
46888 /* We use char because int might match the return type of a gcc2
46889 builtin and then its argument prototype would still apply. */
46890 char $ac_func ();
46891 /* The GNU C library defines this for functions which it implements
46892 to always fail with ENOSYS. Some functions are actually named
46893 something starting with __ and the normal name is an alias. */
46894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46895 choke me
46896 #else
46897 char (*f) () = $ac_func;
46898 #endif
46899 #ifdef __cplusplus
46901 #endif
46904 main ()
46906 return f != $ac_func;
46908 return 0;
46910 _ACEOF
46911 rm -f conftest.$ac_objext conftest$ac_exeext
46912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46913 (eval $ac_link) 2>conftest.er1
46914 ac_status=$?
46915 grep -v '^ *+' conftest.er1 >conftest.err
46916 rm -f conftest.er1
46917 cat conftest.err >&5
46918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46919 (exit $ac_status); } &&
46920 { ac_try='test -z "$ac_c_werror_flag"
46921 || test ! -s conftest.err'
46922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46923 (eval $ac_try) 2>&5
46924 ac_status=$?
46925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46926 (exit $ac_status); }; } &&
46927 { ac_try='test -s conftest$ac_exeext'
46928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46929 (eval $ac_try) 2>&5
46930 ac_status=$?
46931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46932 (exit $ac_status); }; }; then
46933 eval "$as_ac_var=yes"
46934 else
46935 echo "$as_me: failed program was:" >&5
46936 sed 's/^/| /' conftest.$ac_ext >&5
46938 eval "$as_ac_var=no"
46940 rm -f conftest.err conftest.$ac_objext \
46941 conftest$ac_exeext conftest.$ac_ext
46943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46945 if test `eval echo '${'$as_ac_var'}'` = yes; then
46946 cat >>confdefs.h <<_ACEOF
46947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46948 _ACEOF
46951 done
46969 echo "$as_me:$LINENO: checking for float round functions" >&5
46970 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46971 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46977 ac_ext=cc
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46983 cat >conftest.$ac_ext <<_ACEOF
46984 /* confdefs.h. */
46985 _ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h. */
46989 #include <math.h>
46991 main ()
46993 ceilf (0); floorf (0);
46995 return 0;
46997 _ACEOF
46998 rm -f conftest.$ac_objext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47000 (eval $ac_compile) 2>conftest.er1
47001 ac_status=$?
47002 grep -v '^ *+' conftest.er1 >conftest.err
47003 rm -f conftest.er1
47004 cat conftest.err >&5
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); } &&
47007 { ac_try='test -z "$ac_cxx_werror_flag"
47008 || test ! -s conftest.err'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47011 ac_status=$?
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; } &&
47014 { ac_try='test -s conftest.$ac_objext'
47015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016 (eval $ac_try) 2>&5
47017 ac_status=$?
47018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019 (exit $ac_status); }; }; then
47020 glibcxx_cv_func_float_round_use=yes
47021 else
47022 echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47025 glibcxx_cv_func_float_round_use=no
47027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47028 ac_ext=c
47029 ac_cpp='$CPP $CPPFLAGS'
47030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47037 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47038 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47041 for ac_func in ceilf floorf
47043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47044 echo "$as_me:$LINENO: checking for $ac_func" >&5
47045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47046 if eval "test \"\${$as_ac_var+set}\" = set"; then
47047 echo $ECHO_N "(cached) $ECHO_C" >&6
47048 else
47049 if test x$gcc_no_link = xyes; then
47050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47052 { (exit 1); exit 1; }; }
47054 cat >conftest.$ac_ext <<_ACEOF
47055 /* confdefs.h. */
47056 _ACEOF
47057 cat confdefs.h >>conftest.$ac_ext
47058 cat >>conftest.$ac_ext <<_ACEOF
47059 /* end confdefs.h. */
47060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47062 #define $ac_func innocuous_$ac_func
47064 /* System header to define __stub macros and hopefully few prototypes,
47065 which can conflict with char $ac_func (); below.
47066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47067 <limits.h> exists even on freestanding compilers. */
47069 #ifdef __STDC__
47070 # include <limits.h>
47071 #else
47072 # include <assert.h>
47073 #endif
47075 #undef $ac_func
47077 /* Override any gcc2 internal prototype to avoid an error. */
47078 #ifdef __cplusplus
47079 extern "C"
47081 #endif
47082 /* We use char because int might match the return type of a gcc2
47083 builtin and then its argument prototype would still apply. */
47084 char $ac_func ();
47085 /* The GNU C library defines this for functions which it implements
47086 to always fail with ENOSYS. Some functions are actually named
47087 something starting with __ and the normal name is an alias. */
47088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47089 choke me
47090 #else
47091 char (*f) () = $ac_func;
47092 #endif
47093 #ifdef __cplusplus
47095 #endif
47098 main ()
47100 return f != $ac_func;
47102 return 0;
47104 _ACEOF
47105 rm -f conftest.$ac_objext conftest$ac_exeext
47106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47107 (eval $ac_link) 2>conftest.er1
47108 ac_status=$?
47109 grep -v '^ *+' conftest.er1 >conftest.err
47110 rm -f conftest.er1
47111 cat conftest.err >&5
47112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47113 (exit $ac_status); } &&
47114 { ac_try='test -z "$ac_c_werror_flag"
47115 || test ! -s conftest.err'
47116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47117 (eval $ac_try) 2>&5
47118 ac_status=$?
47119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47120 (exit $ac_status); }; } &&
47121 { ac_try='test -s conftest$ac_exeext'
47122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47123 (eval $ac_try) 2>&5
47124 ac_status=$?
47125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47126 (exit $ac_status); }; }; then
47127 eval "$as_ac_var=yes"
47128 else
47129 echo "$as_me: failed program was:" >&5
47130 sed 's/^/| /' conftest.$ac_ext >&5
47132 eval "$as_ac_var=no"
47134 rm -f conftest.err conftest.$ac_objext \
47135 conftest$ac_exeext conftest.$ac_ext
47137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47139 if test `eval echo '${'$as_ac_var'}'` = yes; then
47140 cat >>confdefs.h <<_ACEOF
47141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47142 _ACEOF
47145 done
47147 else
47148 echo "$as_me:$LINENO: checking for _float round functions" >&5
47149 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47150 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47151 echo $ECHO_N "(cached) $ECHO_C" >&6
47152 else
47156 ac_ext=cc
47157 ac_cpp='$CXXCPP $CPPFLAGS'
47158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162 cat >conftest.$ac_ext <<_ACEOF
47163 /* confdefs.h. */
47164 _ACEOF
47165 cat confdefs.h >>conftest.$ac_ext
47166 cat >>conftest.$ac_ext <<_ACEOF
47167 /* end confdefs.h. */
47168 #include <math.h>
47170 main ()
47172 _ceilf (0); _floorf (0);
47174 return 0;
47176 _ACEOF
47177 rm -f conftest.$ac_objext
47178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47179 (eval $ac_compile) 2>conftest.er1
47180 ac_status=$?
47181 grep -v '^ *+' conftest.er1 >conftest.err
47182 rm -f conftest.er1
47183 cat conftest.err >&5
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); } &&
47186 { ac_try='test -z "$ac_cxx_werror_flag"
47187 || test ! -s conftest.err'
47188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47189 (eval $ac_try) 2>&5
47190 ac_status=$?
47191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47192 (exit $ac_status); }; } &&
47193 { ac_try='test -s conftest.$ac_objext'
47194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47195 (eval $ac_try) 2>&5
47196 ac_status=$?
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); }; }; then
47199 glibcxx_cv_func__float_round_use=yes
47200 else
47201 echo "$as_me: failed program was:" >&5
47202 sed 's/^/| /' conftest.$ac_ext >&5
47204 glibcxx_cv_func__float_round_use=no
47206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47207 ac_ext=c
47208 ac_cpp='$CPP $CPPFLAGS'
47209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47216 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47217 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47220 for ac_func in _ceilf _floorf
47222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47223 echo "$as_me:$LINENO: checking for $ac_func" >&5
47224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47225 if eval "test \"\${$as_ac_var+set}\" = set"; then
47226 echo $ECHO_N "(cached) $ECHO_C" >&6
47227 else
47228 if test x$gcc_no_link = xyes; then
47229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47231 { (exit 1); exit 1; }; }
47233 cat >conftest.$ac_ext <<_ACEOF
47234 /* confdefs.h. */
47235 _ACEOF
47236 cat confdefs.h >>conftest.$ac_ext
47237 cat >>conftest.$ac_ext <<_ACEOF
47238 /* end confdefs.h. */
47239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47241 #define $ac_func innocuous_$ac_func
47243 /* System header to define __stub macros and hopefully few prototypes,
47244 which can conflict with char $ac_func (); below.
47245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47246 <limits.h> exists even on freestanding compilers. */
47248 #ifdef __STDC__
47249 # include <limits.h>
47250 #else
47251 # include <assert.h>
47252 #endif
47254 #undef $ac_func
47256 /* Override any gcc2 internal prototype to avoid an error. */
47257 #ifdef __cplusplus
47258 extern "C"
47260 #endif
47261 /* We use char because int might match the return type of a gcc2
47262 builtin and then its argument prototype would still apply. */
47263 char $ac_func ();
47264 /* The GNU C library defines this for functions which it implements
47265 to always fail with ENOSYS. Some functions are actually named
47266 something starting with __ and the normal name is an alias. */
47267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47268 choke me
47269 #else
47270 char (*f) () = $ac_func;
47271 #endif
47272 #ifdef __cplusplus
47274 #endif
47277 main ()
47279 return f != $ac_func;
47281 return 0;
47283 _ACEOF
47284 rm -f conftest.$ac_objext conftest$ac_exeext
47285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47286 (eval $ac_link) 2>conftest.er1
47287 ac_status=$?
47288 grep -v '^ *+' conftest.er1 >conftest.err
47289 rm -f conftest.er1
47290 cat conftest.err >&5
47291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292 (exit $ac_status); } &&
47293 { ac_try='test -z "$ac_c_werror_flag"
47294 || test ! -s conftest.err'
47295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47296 (eval $ac_try) 2>&5
47297 ac_status=$?
47298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47299 (exit $ac_status); }; } &&
47300 { ac_try='test -s conftest$ac_exeext'
47301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47302 (eval $ac_try) 2>&5
47303 ac_status=$?
47304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47305 (exit $ac_status); }; }; then
47306 eval "$as_ac_var=yes"
47307 else
47308 echo "$as_me: failed program was:" >&5
47309 sed 's/^/| /' conftest.$ac_ext >&5
47311 eval "$as_ac_var=no"
47313 rm -f conftest.err conftest.$ac_objext \
47314 conftest$ac_exeext conftest.$ac_ext
47316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47318 if test `eval echo '${'$as_ac_var'}'` = yes; then
47319 cat >>confdefs.h <<_ACEOF
47320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47321 _ACEOF
47324 done
47336 echo "$as_me:$LINENO: checking for expf declaration" >&5
47337 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47338 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47339 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47340 echo $ECHO_N "(cached) $ECHO_C" >&6
47341 else
47345 ac_ext=cc
47346 ac_cpp='$CXXCPP $CPPFLAGS'
47347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47351 cat >conftest.$ac_ext <<_ACEOF
47352 /* confdefs.h. */
47353 _ACEOF
47354 cat confdefs.h >>conftest.$ac_ext
47355 cat >>conftest.$ac_ext <<_ACEOF
47356 /* end confdefs.h. */
47357 #include <math.h>
47358 #ifdef HAVE_IEEEFP_H
47359 #include <ieeefp.h>
47360 #endif
47363 main ()
47365 expf(0);
47367 return 0;
47369 _ACEOF
47370 rm -f conftest.$ac_objext
47371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47372 (eval $ac_compile) 2>conftest.er1
47373 ac_status=$?
47374 grep -v '^ *+' conftest.er1 >conftest.err
47375 rm -f conftest.er1
47376 cat conftest.err >&5
47377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47378 (exit $ac_status); } &&
47379 { ac_try='test -z "$ac_cxx_werror_flag"
47380 || test ! -s conftest.err'
47381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47382 (eval $ac_try) 2>&5
47383 ac_status=$?
47384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47385 (exit $ac_status); }; } &&
47386 { ac_try='test -s conftest.$ac_objext'
47387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47388 (eval $ac_try) 2>&5
47389 ac_status=$?
47390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47391 (exit $ac_status); }; }; then
47392 glibcxx_cv_func_expf_use=yes
47393 else
47394 echo "$as_me: failed program was:" >&5
47395 sed 's/^/| /' conftest.$ac_ext >&5
47397 glibcxx_cv_func_expf_use=no
47399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47400 ac_ext=c
47401 ac_cpp='$CPP $CPPFLAGS'
47402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47411 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47413 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47415 for ac_func in expf
47417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47418 echo "$as_me:$LINENO: checking for $ac_func" >&5
47419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47420 if eval "test \"\${$as_ac_var+set}\" = set"; then
47421 echo $ECHO_N "(cached) $ECHO_C" >&6
47422 else
47423 if test x$gcc_no_link = xyes; then
47424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47426 { (exit 1); exit 1; }; }
47428 cat >conftest.$ac_ext <<_ACEOF
47429 /* confdefs.h. */
47430 _ACEOF
47431 cat confdefs.h >>conftest.$ac_ext
47432 cat >>conftest.$ac_ext <<_ACEOF
47433 /* end confdefs.h. */
47434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47436 #define $ac_func innocuous_$ac_func
47438 /* System header to define __stub macros and hopefully few prototypes,
47439 which can conflict with char $ac_func (); below.
47440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47441 <limits.h> exists even on freestanding compilers. */
47443 #ifdef __STDC__
47444 # include <limits.h>
47445 #else
47446 # include <assert.h>
47447 #endif
47449 #undef $ac_func
47451 /* Override any gcc2 internal prototype to avoid an error. */
47452 #ifdef __cplusplus
47453 extern "C"
47455 #endif
47456 /* We use char because int might match the return type of a gcc2
47457 builtin and then its argument prototype would still apply. */
47458 char $ac_func ();
47459 /* The GNU C library defines this for functions which it implements
47460 to always fail with ENOSYS. Some functions are actually named
47461 something starting with __ and the normal name is an alias. */
47462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47463 choke me
47464 #else
47465 char (*f) () = $ac_func;
47466 #endif
47467 #ifdef __cplusplus
47469 #endif
47472 main ()
47474 return f != $ac_func;
47476 return 0;
47478 _ACEOF
47479 rm -f conftest.$ac_objext conftest$ac_exeext
47480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47481 (eval $ac_link) 2>conftest.er1
47482 ac_status=$?
47483 grep -v '^ *+' conftest.er1 >conftest.err
47484 rm -f conftest.er1
47485 cat conftest.err >&5
47486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47487 (exit $ac_status); } &&
47488 { ac_try='test -z "$ac_c_werror_flag"
47489 || test ! -s conftest.err'
47490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47491 (eval $ac_try) 2>&5
47492 ac_status=$?
47493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494 (exit $ac_status); }; } &&
47495 { ac_try='test -s conftest$ac_exeext'
47496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47497 (eval $ac_try) 2>&5
47498 ac_status=$?
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); }; }; then
47501 eval "$as_ac_var=yes"
47502 else
47503 echo "$as_me: failed program was:" >&5
47504 sed 's/^/| /' conftest.$ac_ext >&5
47506 eval "$as_ac_var=no"
47508 rm -f conftest.err conftest.$ac_objext \
47509 conftest$ac_exeext conftest.$ac_ext
47511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47513 if test `eval echo '${'$as_ac_var'}'` = yes; then
47514 cat >>confdefs.h <<_ACEOF
47515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47516 _ACEOF
47519 done
47521 else
47523 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47524 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47525 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47526 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47527 echo $ECHO_N "(cached) $ECHO_C" >&6
47528 else
47532 ac_ext=cc
47533 ac_cpp='$CXXCPP $CPPFLAGS'
47534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47538 cat >conftest.$ac_ext <<_ACEOF
47539 /* confdefs.h. */
47540 _ACEOF
47541 cat confdefs.h >>conftest.$ac_ext
47542 cat >>conftest.$ac_ext <<_ACEOF
47543 /* end confdefs.h. */
47544 #include <math.h>
47545 #ifdef HAVE_IEEEFP_H
47546 #include <ieeefp.h>
47547 #endif
47550 main ()
47552 _expf(0);
47554 return 0;
47556 _ACEOF
47557 rm -f conftest.$ac_objext
47558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47559 (eval $ac_compile) 2>conftest.er1
47560 ac_status=$?
47561 grep -v '^ *+' conftest.er1 >conftest.err
47562 rm -f conftest.er1
47563 cat conftest.err >&5
47564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47565 (exit $ac_status); } &&
47566 { ac_try='test -z "$ac_cxx_werror_flag"
47567 || test ! -s conftest.err'
47568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47569 (eval $ac_try) 2>&5
47570 ac_status=$?
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); }; } &&
47573 { ac_try='test -s conftest.$ac_objext'
47574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47575 (eval $ac_try) 2>&5
47576 ac_status=$?
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); }; }; then
47579 glibcxx_cv_func__expf_use=yes
47580 else
47581 echo "$as_me: failed program was:" >&5
47582 sed 's/^/| /' conftest.$ac_ext >&5
47584 glibcxx_cv_func__expf_use=no
47586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47587 ac_ext=c
47588 ac_cpp='$CPP $CPPFLAGS'
47589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47598 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47600 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47602 for ac_func in _expf
47604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47605 echo "$as_me:$LINENO: checking for $ac_func" >&5
47606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47607 if eval "test \"\${$as_ac_var+set}\" = set"; then
47608 echo $ECHO_N "(cached) $ECHO_C" >&6
47609 else
47610 if test x$gcc_no_link = xyes; then
47611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47613 { (exit 1); exit 1; }; }
47615 cat >conftest.$ac_ext <<_ACEOF
47616 /* confdefs.h. */
47617 _ACEOF
47618 cat confdefs.h >>conftest.$ac_ext
47619 cat >>conftest.$ac_ext <<_ACEOF
47620 /* end confdefs.h. */
47621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47623 #define $ac_func innocuous_$ac_func
47625 /* System header to define __stub macros and hopefully few prototypes,
47626 which can conflict with char $ac_func (); below.
47627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47628 <limits.h> exists even on freestanding compilers. */
47630 #ifdef __STDC__
47631 # include <limits.h>
47632 #else
47633 # include <assert.h>
47634 #endif
47636 #undef $ac_func
47638 /* Override any gcc2 internal prototype to avoid an error. */
47639 #ifdef __cplusplus
47640 extern "C"
47642 #endif
47643 /* We use char because int might match the return type of a gcc2
47644 builtin and then its argument prototype would still apply. */
47645 char $ac_func ();
47646 /* The GNU C library defines this for functions which it implements
47647 to always fail with ENOSYS. Some functions are actually named
47648 something starting with __ and the normal name is an alias. */
47649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47650 choke me
47651 #else
47652 char (*f) () = $ac_func;
47653 #endif
47654 #ifdef __cplusplus
47656 #endif
47659 main ()
47661 return f != $ac_func;
47663 return 0;
47665 _ACEOF
47666 rm -f conftest.$ac_objext conftest$ac_exeext
47667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47668 (eval $ac_link) 2>conftest.er1
47669 ac_status=$?
47670 grep -v '^ *+' conftest.er1 >conftest.err
47671 rm -f conftest.er1
47672 cat conftest.err >&5
47673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47674 (exit $ac_status); } &&
47675 { ac_try='test -z "$ac_c_werror_flag"
47676 || test ! -s conftest.err'
47677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47678 (eval $ac_try) 2>&5
47679 ac_status=$?
47680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681 (exit $ac_status); }; } &&
47682 { ac_try='test -s conftest$ac_exeext'
47683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47684 (eval $ac_try) 2>&5
47685 ac_status=$?
47686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47687 (exit $ac_status); }; }; then
47688 eval "$as_ac_var=yes"
47689 else
47690 echo "$as_me: failed program was:" >&5
47691 sed 's/^/| /' conftest.$ac_ext >&5
47693 eval "$as_ac_var=no"
47695 rm -f conftest.err conftest.$ac_objext \
47696 conftest$ac_exeext conftest.$ac_ext
47698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47700 if test `eval echo '${'$as_ac_var'}'` = yes; then
47701 cat >>confdefs.h <<_ACEOF
47702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47703 _ACEOF
47706 done
47716 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47717 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47718 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47719 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47721 else
47725 ac_ext=cc
47726 ac_cpp='$CXXCPP $CPPFLAGS'
47727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47731 cat >conftest.$ac_ext <<_ACEOF
47732 /* confdefs.h. */
47733 _ACEOF
47734 cat confdefs.h >>conftest.$ac_ext
47735 cat >>conftest.$ac_ext <<_ACEOF
47736 /* end confdefs.h. */
47737 #include <math.h>
47738 #ifdef HAVE_IEEEFP_H
47739 #include <ieeefp.h>
47740 #endif
47743 main ()
47745 isnanf(0);
47747 return 0;
47749 _ACEOF
47750 rm -f conftest.$ac_objext
47751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47752 (eval $ac_compile) 2>conftest.er1
47753 ac_status=$?
47754 grep -v '^ *+' conftest.er1 >conftest.err
47755 rm -f conftest.er1
47756 cat conftest.err >&5
47757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47758 (exit $ac_status); } &&
47759 { ac_try='test -z "$ac_cxx_werror_flag"
47760 || test ! -s conftest.err'
47761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47762 (eval $ac_try) 2>&5
47763 ac_status=$?
47764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765 (exit $ac_status); }; } &&
47766 { ac_try='test -s conftest.$ac_objext'
47767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47768 (eval $ac_try) 2>&5
47769 ac_status=$?
47770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47771 (exit $ac_status); }; }; then
47772 glibcxx_cv_func_isnanf_use=yes
47773 else
47774 echo "$as_me: failed program was:" >&5
47775 sed 's/^/| /' conftest.$ac_ext >&5
47777 glibcxx_cv_func_isnanf_use=no
47779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47780 ac_ext=c
47781 ac_cpp='$CPP $CPPFLAGS'
47782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47791 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47793 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47795 for ac_func in isnanf
47797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47798 echo "$as_me:$LINENO: checking for $ac_func" >&5
47799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47800 if eval "test \"\${$as_ac_var+set}\" = set"; then
47801 echo $ECHO_N "(cached) $ECHO_C" >&6
47802 else
47803 if test x$gcc_no_link = xyes; then
47804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47806 { (exit 1); exit 1; }; }
47808 cat >conftest.$ac_ext <<_ACEOF
47809 /* confdefs.h. */
47810 _ACEOF
47811 cat confdefs.h >>conftest.$ac_ext
47812 cat >>conftest.$ac_ext <<_ACEOF
47813 /* end confdefs.h. */
47814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47816 #define $ac_func innocuous_$ac_func
47818 /* System header to define __stub macros and hopefully few prototypes,
47819 which can conflict with char $ac_func (); below.
47820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47821 <limits.h> exists even on freestanding compilers. */
47823 #ifdef __STDC__
47824 # include <limits.h>
47825 #else
47826 # include <assert.h>
47827 #endif
47829 #undef $ac_func
47831 /* Override any gcc2 internal prototype to avoid an error. */
47832 #ifdef __cplusplus
47833 extern "C"
47835 #endif
47836 /* We use char because int might match the return type of a gcc2
47837 builtin and then its argument prototype would still apply. */
47838 char $ac_func ();
47839 /* The GNU C library defines this for functions which it implements
47840 to always fail with ENOSYS. Some functions are actually named
47841 something starting with __ and the normal name is an alias. */
47842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47843 choke me
47844 #else
47845 char (*f) () = $ac_func;
47846 #endif
47847 #ifdef __cplusplus
47849 #endif
47852 main ()
47854 return f != $ac_func;
47856 return 0;
47858 _ACEOF
47859 rm -f conftest.$ac_objext conftest$ac_exeext
47860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47861 (eval $ac_link) 2>conftest.er1
47862 ac_status=$?
47863 grep -v '^ *+' conftest.er1 >conftest.err
47864 rm -f conftest.er1
47865 cat conftest.err >&5
47866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867 (exit $ac_status); } &&
47868 { ac_try='test -z "$ac_c_werror_flag"
47869 || test ! -s conftest.err'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47872 ac_status=$?
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; } &&
47875 { ac_try='test -s conftest$ac_exeext'
47876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47877 (eval $ac_try) 2>&5
47878 ac_status=$?
47879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47880 (exit $ac_status); }; }; then
47881 eval "$as_ac_var=yes"
47882 else
47883 echo "$as_me: failed program was:" >&5
47884 sed 's/^/| /' conftest.$ac_ext >&5
47886 eval "$as_ac_var=no"
47888 rm -f conftest.err conftest.$ac_objext \
47889 conftest$ac_exeext conftest.$ac_ext
47891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47893 if test `eval echo '${'$as_ac_var'}'` = yes; then
47894 cat >>confdefs.h <<_ACEOF
47895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47896 _ACEOF
47899 done
47901 else
47903 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47904 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47905 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47906 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47907 echo $ECHO_N "(cached) $ECHO_C" >&6
47908 else
47912 ac_ext=cc
47913 ac_cpp='$CXXCPP $CPPFLAGS'
47914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47918 cat >conftest.$ac_ext <<_ACEOF
47919 /* confdefs.h. */
47920 _ACEOF
47921 cat confdefs.h >>conftest.$ac_ext
47922 cat >>conftest.$ac_ext <<_ACEOF
47923 /* end confdefs.h. */
47924 #include <math.h>
47925 #ifdef HAVE_IEEEFP_H
47926 #include <ieeefp.h>
47927 #endif
47930 main ()
47932 _isnanf(0);
47934 return 0;
47936 _ACEOF
47937 rm -f conftest.$ac_objext
47938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47939 (eval $ac_compile) 2>conftest.er1
47940 ac_status=$?
47941 grep -v '^ *+' conftest.er1 >conftest.err
47942 rm -f conftest.er1
47943 cat conftest.err >&5
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); } &&
47946 { ac_try='test -z "$ac_cxx_werror_flag"
47947 || test ! -s conftest.err'
47948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47949 (eval $ac_try) 2>&5
47950 ac_status=$?
47951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47952 (exit $ac_status); }; } &&
47953 { ac_try='test -s conftest.$ac_objext'
47954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47955 (eval $ac_try) 2>&5
47956 ac_status=$?
47957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47958 (exit $ac_status); }; }; then
47959 glibcxx_cv_func__isnanf_use=yes
47960 else
47961 echo "$as_me: failed program was:" >&5
47962 sed 's/^/| /' conftest.$ac_ext >&5
47964 glibcxx_cv_func__isnanf_use=no
47966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47967 ac_ext=c
47968 ac_cpp='$CPP $CPPFLAGS'
47969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47978 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47980 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47982 for ac_func in _isnanf
47984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47985 echo "$as_me:$LINENO: checking for $ac_func" >&5
47986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47987 if eval "test \"\${$as_ac_var+set}\" = set"; then
47988 echo $ECHO_N "(cached) $ECHO_C" >&6
47989 else
47990 if test x$gcc_no_link = xyes; then
47991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47993 { (exit 1); exit 1; }; }
47995 cat >conftest.$ac_ext <<_ACEOF
47996 /* confdefs.h. */
47997 _ACEOF
47998 cat confdefs.h >>conftest.$ac_ext
47999 cat >>conftest.$ac_ext <<_ACEOF
48000 /* end confdefs.h. */
48001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48003 #define $ac_func innocuous_$ac_func
48005 /* System header to define __stub macros and hopefully few prototypes,
48006 which can conflict with char $ac_func (); below.
48007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48008 <limits.h> exists even on freestanding compilers. */
48010 #ifdef __STDC__
48011 # include <limits.h>
48012 #else
48013 # include <assert.h>
48014 #endif
48016 #undef $ac_func
48018 /* Override any gcc2 internal prototype to avoid an error. */
48019 #ifdef __cplusplus
48020 extern "C"
48022 #endif
48023 /* We use char because int might match the return type of a gcc2
48024 builtin and then its argument prototype would still apply. */
48025 char $ac_func ();
48026 /* The GNU C library defines this for functions which it implements
48027 to always fail with ENOSYS. Some functions are actually named
48028 something starting with __ and the normal name is an alias. */
48029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48030 choke me
48031 #else
48032 char (*f) () = $ac_func;
48033 #endif
48034 #ifdef __cplusplus
48036 #endif
48039 main ()
48041 return f != $ac_func;
48043 return 0;
48045 _ACEOF
48046 rm -f conftest.$ac_objext conftest$ac_exeext
48047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48048 (eval $ac_link) 2>conftest.er1
48049 ac_status=$?
48050 grep -v '^ *+' conftest.er1 >conftest.err
48051 rm -f conftest.er1
48052 cat conftest.err >&5
48053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48054 (exit $ac_status); } &&
48055 { ac_try='test -z "$ac_c_werror_flag"
48056 || test ! -s conftest.err'
48057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48058 (eval $ac_try) 2>&5
48059 ac_status=$?
48060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061 (exit $ac_status); }; } &&
48062 { ac_try='test -s conftest$ac_exeext'
48063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48064 (eval $ac_try) 2>&5
48065 ac_status=$?
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); }; }; then
48068 eval "$as_ac_var=yes"
48069 else
48070 echo "$as_me: failed program was:" >&5
48071 sed 's/^/| /' conftest.$ac_ext >&5
48073 eval "$as_ac_var=no"
48075 rm -f conftest.err conftest.$ac_objext \
48076 conftest$ac_exeext conftest.$ac_ext
48078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48080 if test `eval echo '${'$as_ac_var'}'` = yes; then
48081 cat >>confdefs.h <<_ACEOF
48082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48083 _ACEOF
48086 done
48096 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48097 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48098 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48099 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48100 echo $ECHO_N "(cached) $ECHO_C" >&6
48101 else
48105 ac_ext=cc
48106 ac_cpp='$CXXCPP $CPPFLAGS'
48107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48111 cat >conftest.$ac_ext <<_ACEOF
48112 /* confdefs.h. */
48113 _ACEOF
48114 cat confdefs.h >>conftest.$ac_ext
48115 cat >>conftest.$ac_ext <<_ACEOF
48116 /* end confdefs.h. */
48117 #include <math.h>
48118 #ifdef HAVE_IEEEFP_H
48119 #include <ieeefp.h>
48120 #endif
48123 main ()
48125 isinff(0);
48127 return 0;
48129 _ACEOF
48130 rm -f conftest.$ac_objext
48131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48132 (eval $ac_compile) 2>conftest.er1
48133 ac_status=$?
48134 grep -v '^ *+' conftest.er1 >conftest.err
48135 rm -f conftest.er1
48136 cat conftest.err >&5
48137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48138 (exit $ac_status); } &&
48139 { ac_try='test -z "$ac_cxx_werror_flag"
48140 || test ! -s conftest.err'
48141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48142 (eval $ac_try) 2>&5
48143 ac_status=$?
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); }; } &&
48146 { ac_try='test -s conftest.$ac_objext'
48147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48148 (eval $ac_try) 2>&5
48149 ac_status=$?
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }; }; then
48152 glibcxx_cv_func_isinff_use=yes
48153 else
48154 echo "$as_me: failed program was:" >&5
48155 sed 's/^/| /' conftest.$ac_ext >&5
48157 glibcxx_cv_func_isinff_use=no
48159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48160 ac_ext=c
48161 ac_cpp='$CPP $CPPFLAGS'
48162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48171 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48173 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48175 for ac_func in isinff
48177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48178 echo "$as_me:$LINENO: checking for $ac_func" >&5
48179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48180 if eval "test \"\${$as_ac_var+set}\" = set"; then
48181 echo $ECHO_N "(cached) $ECHO_C" >&6
48182 else
48183 if test x$gcc_no_link = xyes; then
48184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48186 { (exit 1); exit 1; }; }
48188 cat >conftest.$ac_ext <<_ACEOF
48189 /* confdefs.h. */
48190 _ACEOF
48191 cat confdefs.h >>conftest.$ac_ext
48192 cat >>conftest.$ac_ext <<_ACEOF
48193 /* end confdefs.h. */
48194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48196 #define $ac_func innocuous_$ac_func
48198 /* System header to define __stub macros and hopefully few prototypes,
48199 which can conflict with char $ac_func (); below.
48200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48201 <limits.h> exists even on freestanding compilers. */
48203 #ifdef __STDC__
48204 # include <limits.h>
48205 #else
48206 # include <assert.h>
48207 #endif
48209 #undef $ac_func
48211 /* Override any gcc2 internal prototype to avoid an error. */
48212 #ifdef __cplusplus
48213 extern "C"
48215 #endif
48216 /* We use char because int might match the return type of a gcc2
48217 builtin and then its argument prototype would still apply. */
48218 char $ac_func ();
48219 /* The GNU C library defines this for functions which it implements
48220 to always fail with ENOSYS. Some functions are actually named
48221 something starting with __ and the normal name is an alias. */
48222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48223 choke me
48224 #else
48225 char (*f) () = $ac_func;
48226 #endif
48227 #ifdef __cplusplus
48229 #endif
48232 main ()
48234 return f != $ac_func;
48236 return 0;
48238 _ACEOF
48239 rm -f conftest.$ac_objext conftest$ac_exeext
48240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48241 (eval $ac_link) 2>conftest.er1
48242 ac_status=$?
48243 grep -v '^ *+' conftest.er1 >conftest.err
48244 rm -f conftest.er1
48245 cat conftest.err >&5
48246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48247 (exit $ac_status); } &&
48248 { ac_try='test -z "$ac_c_werror_flag"
48249 || test ! -s conftest.err'
48250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48251 (eval $ac_try) 2>&5
48252 ac_status=$?
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); }; } &&
48255 { ac_try='test -s conftest$ac_exeext'
48256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48257 (eval $ac_try) 2>&5
48258 ac_status=$?
48259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48260 (exit $ac_status); }; }; then
48261 eval "$as_ac_var=yes"
48262 else
48263 echo "$as_me: failed program was:" >&5
48264 sed 's/^/| /' conftest.$ac_ext >&5
48266 eval "$as_ac_var=no"
48268 rm -f conftest.err conftest.$ac_objext \
48269 conftest$ac_exeext conftest.$ac_ext
48271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48273 if test `eval echo '${'$as_ac_var'}'` = yes; then
48274 cat >>confdefs.h <<_ACEOF
48275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48276 _ACEOF
48279 done
48281 else
48283 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48284 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48285 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48286 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48287 echo $ECHO_N "(cached) $ECHO_C" >&6
48288 else
48292 ac_ext=cc
48293 ac_cpp='$CXXCPP $CPPFLAGS'
48294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48298 cat >conftest.$ac_ext <<_ACEOF
48299 /* confdefs.h. */
48300 _ACEOF
48301 cat confdefs.h >>conftest.$ac_ext
48302 cat >>conftest.$ac_ext <<_ACEOF
48303 /* end confdefs.h. */
48304 #include <math.h>
48305 #ifdef HAVE_IEEEFP_H
48306 #include <ieeefp.h>
48307 #endif
48310 main ()
48312 _isinff(0);
48314 return 0;
48316 _ACEOF
48317 rm -f conftest.$ac_objext
48318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48319 (eval $ac_compile) 2>conftest.er1
48320 ac_status=$?
48321 grep -v '^ *+' conftest.er1 >conftest.err
48322 rm -f conftest.er1
48323 cat conftest.err >&5
48324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48325 (exit $ac_status); } &&
48326 { ac_try='test -z "$ac_cxx_werror_flag"
48327 || test ! -s conftest.err'
48328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48329 (eval $ac_try) 2>&5
48330 ac_status=$?
48331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48332 (exit $ac_status); }; } &&
48333 { ac_try='test -s conftest.$ac_objext'
48334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48335 (eval $ac_try) 2>&5
48336 ac_status=$?
48337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48338 (exit $ac_status); }; }; then
48339 glibcxx_cv_func__isinff_use=yes
48340 else
48341 echo "$as_me: failed program was:" >&5
48342 sed 's/^/| /' conftest.$ac_ext >&5
48344 glibcxx_cv_func__isinff_use=no
48346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48347 ac_ext=c
48348 ac_cpp='$CPP $CPPFLAGS'
48349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48358 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48360 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48362 for ac_func in _isinff
48364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48365 echo "$as_me:$LINENO: checking for $ac_func" >&5
48366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48367 if eval "test \"\${$as_ac_var+set}\" = set"; then
48368 echo $ECHO_N "(cached) $ECHO_C" >&6
48369 else
48370 if test x$gcc_no_link = xyes; then
48371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48373 { (exit 1); exit 1; }; }
48375 cat >conftest.$ac_ext <<_ACEOF
48376 /* confdefs.h. */
48377 _ACEOF
48378 cat confdefs.h >>conftest.$ac_ext
48379 cat >>conftest.$ac_ext <<_ACEOF
48380 /* end confdefs.h. */
48381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48383 #define $ac_func innocuous_$ac_func
48385 /* System header to define __stub macros and hopefully few prototypes,
48386 which can conflict with char $ac_func (); below.
48387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48388 <limits.h> exists even on freestanding compilers. */
48390 #ifdef __STDC__
48391 # include <limits.h>
48392 #else
48393 # include <assert.h>
48394 #endif
48396 #undef $ac_func
48398 /* Override any gcc2 internal prototype to avoid an error. */
48399 #ifdef __cplusplus
48400 extern "C"
48402 #endif
48403 /* We use char because int might match the return type of a gcc2
48404 builtin and then its argument prototype would still apply. */
48405 char $ac_func ();
48406 /* The GNU C library defines this for functions which it implements
48407 to always fail with ENOSYS. Some functions are actually named
48408 something starting with __ and the normal name is an alias. */
48409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48410 choke me
48411 #else
48412 char (*f) () = $ac_func;
48413 #endif
48414 #ifdef __cplusplus
48416 #endif
48419 main ()
48421 return f != $ac_func;
48423 return 0;
48425 _ACEOF
48426 rm -f conftest.$ac_objext conftest$ac_exeext
48427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48428 (eval $ac_link) 2>conftest.er1
48429 ac_status=$?
48430 grep -v '^ *+' conftest.er1 >conftest.err
48431 rm -f conftest.er1
48432 cat conftest.err >&5
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); } &&
48435 { ac_try='test -z "$ac_c_werror_flag"
48436 || test ! -s conftest.err'
48437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48438 (eval $ac_try) 2>&5
48439 ac_status=$?
48440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48441 (exit $ac_status); }; } &&
48442 { ac_try='test -s conftest$ac_exeext'
48443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48444 (eval $ac_try) 2>&5
48445 ac_status=$?
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); }; }; then
48448 eval "$as_ac_var=yes"
48449 else
48450 echo "$as_me: failed program was:" >&5
48451 sed 's/^/| /' conftest.$ac_ext >&5
48453 eval "$as_ac_var=no"
48455 rm -f conftest.err conftest.$ac_objext \
48456 conftest$ac_exeext conftest.$ac_ext
48458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48460 if test `eval echo '${'$as_ac_var'}'` = yes; then
48461 cat >>confdefs.h <<_ACEOF
48462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48463 _ACEOF
48466 done
48476 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48477 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48478 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48479 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48480 echo $ECHO_N "(cached) $ECHO_C" >&6
48481 else
48485 ac_ext=cc
48486 ac_cpp='$CXXCPP $CPPFLAGS'
48487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48491 cat >conftest.$ac_ext <<_ACEOF
48492 /* confdefs.h. */
48493 _ACEOF
48494 cat confdefs.h >>conftest.$ac_ext
48495 cat >>conftest.$ac_ext <<_ACEOF
48496 /* end confdefs.h. */
48497 #include <math.h>
48499 main ()
48501 atan2f(0, 0);
48503 return 0;
48505 _ACEOF
48506 rm -f conftest.$ac_objext
48507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48508 (eval $ac_compile) 2>conftest.er1
48509 ac_status=$?
48510 grep -v '^ *+' conftest.er1 >conftest.err
48511 rm -f conftest.er1
48512 cat conftest.err >&5
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); } &&
48515 { ac_try='test -z "$ac_cxx_werror_flag"
48516 || test ! -s conftest.err'
48517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48518 (eval $ac_try) 2>&5
48519 ac_status=$?
48520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48521 (exit $ac_status); }; } &&
48522 { ac_try='test -s conftest.$ac_objext'
48523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48524 (eval $ac_try) 2>&5
48525 ac_status=$?
48526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527 (exit $ac_status); }; }; then
48528 glibcxx_cv_func_atan2f_use=yes
48529 else
48530 echo "$as_me: failed program was:" >&5
48531 sed 's/^/| /' conftest.$ac_ext >&5
48533 glibcxx_cv_func_atan2f_use=no
48535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48547 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48549 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48551 for ac_func in atan2f
48553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48554 echo "$as_me:$LINENO: checking for $ac_func" >&5
48555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48556 if eval "test \"\${$as_ac_var+set}\" = set"; then
48557 echo $ECHO_N "(cached) $ECHO_C" >&6
48558 else
48559 if test x$gcc_no_link = xyes; then
48560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48562 { (exit 1); exit 1; }; }
48564 cat >conftest.$ac_ext <<_ACEOF
48565 /* confdefs.h. */
48566 _ACEOF
48567 cat confdefs.h >>conftest.$ac_ext
48568 cat >>conftest.$ac_ext <<_ACEOF
48569 /* end confdefs.h. */
48570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48572 #define $ac_func innocuous_$ac_func
48574 /* System header to define __stub macros and hopefully few prototypes,
48575 which can conflict with char $ac_func (); below.
48576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48577 <limits.h> exists even on freestanding compilers. */
48579 #ifdef __STDC__
48580 # include <limits.h>
48581 #else
48582 # include <assert.h>
48583 #endif
48585 #undef $ac_func
48587 /* Override any gcc2 internal prototype to avoid an error. */
48588 #ifdef __cplusplus
48589 extern "C"
48591 #endif
48592 /* We use char because int might match the return type of a gcc2
48593 builtin and then its argument prototype would still apply. */
48594 char $ac_func ();
48595 /* The GNU C library defines this for functions which it implements
48596 to always fail with ENOSYS. Some functions are actually named
48597 something starting with __ and the normal name is an alias. */
48598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48599 choke me
48600 #else
48601 char (*f) () = $ac_func;
48602 #endif
48603 #ifdef __cplusplus
48605 #endif
48608 main ()
48610 return f != $ac_func;
48612 return 0;
48614 _ACEOF
48615 rm -f conftest.$ac_objext conftest$ac_exeext
48616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48617 (eval $ac_link) 2>conftest.er1
48618 ac_status=$?
48619 grep -v '^ *+' conftest.er1 >conftest.err
48620 rm -f conftest.er1
48621 cat conftest.err >&5
48622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48623 (exit $ac_status); } &&
48624 { ac_try='test -z "$ac_c_werror_flag"
48625 || test ! -s conftest.err'
48626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48627 (eval $ac_try) 2>&5
48628 ac_status=$?
48629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48630 (exit $ac_status); }; } &&
48631 { ac_try='test -s conftest$ac_exeext'
48632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48633 (eval $ac_try) 2>&5
48634 ac_status=$?
48635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48636 (exit $ac_status); }; }; then
48637 eval "$as_ac_var=yes"
48638 else
48639 echo "$as_me: failed program was:" >&5
48640 sed 's/^/| /' conftest.$ac_ext >&5
48642 eval "$as_ac_var=no"
48644 rm -f conftest.err conftest.$ac_objext \
48645 conftest$ac_exeext conftest.$ac_ext
48647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48649 if test `eval echo '${'$as_ac_var'}'` = yes; then
48650 cat >>confdefs.h <<_ACEOF
48651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48652 _ACEOF
48655 done
48657 else
48659 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48660 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48661 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48662 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48663 echo $ECHO_N "(cached) $ECHO_C" >&6
48664 else
48668 ac_ext=cc
48669 ac_cpp='$CXXCPP $CPPFLAGS'
48670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48674 cat >conftest.$ac_ext <<_ACEOF
48675 /* confdefs.h. */
48676 _ACEOF
48677 cat confdefs.h >>conftest.$ac_ext
48678 cat >>conftest.$ac_ext <<_ACEOF
48679 /* end confdefs.h. */
48680 #include <math.h>
48682 main ()
48684 _atan2f(0, 0);
48686 return 0;
48688 _ACEOF
48689 rm -f conftest.$ac_objext
48690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48691 (eval $ac_compile) 2>conftest.er1
48692 ac_status=$?
48693 grep -v '^ *+' conftest.er1 >conftest.err
48694 rm -f conftest.er1
48695 cat conftest.err >&5
48696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48697 (exit $ac_status); } &&
48698 { ac_try='test -z "$ac_cxx_werror_flag"
48699 || test ! -s conftest.err'
48700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48701 (eval $ac_try) 2>&5
48702 ac_status=$?
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); }; } &&
48705 { ac_try='test -s conftest.$ac_objext'
48706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48707 (eval $ac_try) 2>&5
48708 ac_status=$?
48709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48710 (exit $ac_status); }; }; then
48711 glibcxx_cv_func__atan2f_use=yes
48712 else
48713 echo "$as_me: failed program was:" >&5
48714 sed 's/^/| /' conftest.$ac_ext >&5
48716 glibcxx_cv_func__atan2f_use=no
48718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48719 ac_ext=c
48720 ac_cpp='$CPP $CPPFLAGS'
48721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48730 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48732 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48734 for ac_func in _atan2f
48736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48737 echo "$as_me:$LINENO: checking for $ac_func" >&5
48738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48739 if eval "test \"\${$as_ac_var+set}\" = set"; then
48740 echo $ECHO_N "(cached) $ECHO_C" >&6
48741 else
48742 if test x$gcc_no_link = xyes; then
48743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48745 { (exit 1); exit 1; }; }
48747 cat >conftest.$ac_ext <<_ACEOF
48748 /* confdefs.h. */
48749 _ACEOF
48750 cat confdefs.h >>conftest.$ac_ext
48751 cat >>conftest.$ac_ext <<_ACEOF
48752 /* end confdefs.h. */
48753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48755 #define $ac_func innocuous_$ac_func
48757 /* System header to define __stub macros and hopefully few prototypes,
48758 which can conflict with char $ac_func (); below.
48759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48760 <limits.h> exists even on freestanding compilers. */
48762 #ifdef __STDC__
48763 # include <limits.h>
48764 #else
48765 # include <assert.h>
48766 #endif
48768 #undef $ac_func
48770 /* Override any gcc2 internal prototype to avoid an error. */
48771 #ifdef __cplusplus
48772 extern "C"
48774 #endif
48775 /* We use char because int might match the return type of a gcc2
48776 builtin and then its argument prototype would still apply. */
48777 char $ac_func ();
48778 /* The GNU C library defines this for functions which it implements
48779 to always fail with ENOSYS. Some functions are actually named
48780 something starting with __ and the normal name is an alias. */
48781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48782 choke me
48783 #else
48784 char (*f) () = $ac_func;
48785 #endif
48786 #ifdef __cplusplus
48788 #endif
48791 main ()
48793 return f != $ac_func;
48795 return 0;
48797 _ACEOF
48798 rm -f conftest.$ac_objext conftest$ac_exeext
48799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48800 (eval $ac_link) 2>conftest.er1
48801 ac_status=$?
48802 grep -v '^ *+' conftest.er1 >conftest.err
48803 rm -f conftest.er1
48804 cat conftest.err >&5
48805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48806 (exit $ac_status); } &&
48807 { ac_try='test -z "$ac_c_werror_flag"
48808 || test ! -s conftest.err'
48809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48810 (eval $ac_try) 2>&5
48811 ac_status=$?
48812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48813 (exit $ac_status); }; } &&
48814 { ac_try='test -s conftest$ac_exeext'
48815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48816 (eval $ac_try) 2>&5
48817 ac_status=$?
48818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48819 (exit $ac_status); }; }; then
48820 eval "$as_ac_var=yes"
48821 else
48822 echo "$as_me: failed program was:" >&5
48823 sed 's/^/| /' conftest.$ac_ext >&5
48825 eval "$as_ac_var=no"
48827 rm -f conftest.err conftest.$ac_objext \
48828 conftest$ac_exeext conftest.$ac_ext
48830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48832 if test `eval echo '${'$as_ac_var'}'` = yes; then
48833 cat >>confdefs.h <<_ACEOF
48834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48835 _ACEOF
48838 done
48848 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48849 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48850 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48851 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48852 echo $ECHO_N "(cached) $ECHO_C" >&6
48853 else
48857 ac_ext=cc
48858 ac_cpp='$CXXCPP $CPPFLAGS'
48859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48863 cat >conftest.$ac_ext <<_ACEOF
48864 /* confdefs.h. */
48865 _ACEOF
48866 cat confdefs.h >>conftest.$ac_ext
48867 cat >>conftest.$ac_ext <<_ACEOF
48868 /* end confdefs.h. */
48869 #include <math.h>
48870 #ifdef HAVE_IEEEFP_H
48871 #include <ieeefp.h>
48872 #endif
48875 main ()
48877 fabsf(0);
48879 return 0;
48881 _ACEOF
48882 rm -f conftest.$ac_objext
48883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48884 (eval $ac_compile) 2>conftest.er1
48885 ac_status=$?
48886 grep -v '^ *+' conftest.er1 >conftest.err
48887 rm -f conftest.er1
48888 cat conftest.err >&5
48889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48890 (exit $ac_status); } &&
48891 { ac_try='test -z "$ac_cxx_werror_flag"
48892 || test ! -s conftest.err'
48893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48894 (eval $ac_try) 2>&5
48895 ac_status=$?
48896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48897 (exit $ac_status); }; } &&
48898 { ac_try='test -s conftest.$ac_objext'
48899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48900 (eval $ac_try) 2>&5
48901 ac_status=$?
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); }; }; then
48904 glibcxx_cv_func_fabsf_use=yes
48905 else
48906 echo "$as_me: failed program was:" >&5
48907 sed 's/^/| /' conftest.$ac_ext >&5
48909 glibcxx_cv_func_fabsf_use=no
48911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48923 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48925 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48927 for ac_func in fabsf
48929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48930 echo "$as_me:$LINENO: checking for $ac_func" >&5
48931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48932 if eval "test \"\${$as_ac_var+set}\" = set"; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 else
48935 if test x$gcc_no_link = xyes; then
48936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48938 { (exit 1); exit 1; }; }
48940 cat >conftest.$ac_ext <<_ACEOF
48941 /* confdefs.h. */
48942 _ACEOF
48943 cat confdefs.h >>conftest.$ac_ext
48944 cat >>conftest.$ac_ext <<_ACEOF
48945 /* end confdefs.h. */
48946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48948 #define $ac_func innocuous_$ac_func
48950 /* System header to define __stub macros and hopefully few prototypes,
48951 which can conflict with char $ac_func (); below.
48952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48953 <limits.h> exists even on freestanding compilers. */
48955 #ifdef __STDC__
48956 # include <limits.h>
48957 #else
48958 # include <assert.h>
48959 #endif
48961 #undef $ac_func
48963 /* Override any gcc2 internal prototype to avoid an error. */
48964 #ifdef __cplusplus
48965 extern "C"
48967 #endif
48968 /* We use char because int might match the return type of a gcc2
48969 builtin and then its argument prototype would still apply. */
48970 char $ac_func ();
48971 /* The GNU C library defines this for functions which it implements
48972 to always fail with ENOSYS. Some functions are actually named
48973 something starting with __ and the normal name is an alias. */
48974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48975 choke me
48976 #else
48977 char (*f) () = $ac_func;
48978 #endif
48979 #ifdef __cplusplus
48981 #endif
48984 main ()
48986 return f != $ac_func;
48988 return 0;
48990 _ACEOF
48991 rm -f conftest.$ac_objext conftest$ac_exeext
48992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48993 (eval $ac_link) 2>conftest.er1
48994 ac_status=$?
48995 grep -v '^ *+' conftest.er1 >conftest.err
48996 rm -f conftest.er1
48997 cat conftest.err >&5
48998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48999 (exit $ac_status); } &&
49000 { ac_try='test -z "$ac_c_werror_flag"
49001 || test ! -s conftest.err'
49002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49003 (eval $ac_try) 2>&5
49004 ac_status=$?
49005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49006 (exit $ac_status); }; } &&
49007 { ac_try='test -s conftest$ac_exeext'
49008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49009 (eval $ac_try) 2>&5
49010 ac_status=$?
49011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49012 (exit $ac_status); }; }; then
49013 eval "$as_ac_var=yes"
49014 else
49015 echo "$as_me: failed program was:" >&5
49016 sed 's/^/| /' conftest.$ac_ext >&5
49018 eval "$as_ac_var=no"
49020 rm -f conftest.err conftest.$ac_objext \
49021 conftest$ac_exeext conftest.$ac_ext
49023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49025 if test `eval echo '${'$as_ac_var'}'` = yes; then
49026 cat >>confdefs.h <<_ACEOF
49027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49028 _ACEOF
49031 done
49033 else
49035 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49036 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49037 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49038 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49039 echo $ECHO_N "(cached) $ECHO_C" >&6
49040 else
49044 ac_ext=cc
49045 ac_cpp='$CXXCPP $CPPFLAGS'
49046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49050 cat >conftest.$ac_ext <<_ACEOF
49051 /* confdefs.h. */
49052 _ACEOF
49053 cat confdefs.h >>conftest.$ac_ext
49054 cat >>conftest.$ac_ext <<_ACEOF
49055 /* end confdefs.h. */
49056 #include <math.h>
49057 #ifdef HAVE_IEEEFP_H
49058 #include <ieeefp.h>
49059 #endif
49062 main ()
49064 _fabsf(0);
49066 return 0;
49068 _ACEOF
49069 rm -f conftest.$ac_objext
49070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49071 (eval $ac_compile) 2>conftest.er1
49072 ac_status=$?
49073 grep -v '^ *+' conftest.er1 >conftest.err
49074 rm -f conftest.er1
49075 cat conftest.err >&5
49076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49077 (exit $ac_status); } &&
49078 { ac_try='test -z "$ac_cxx_werror_flag"
49079 || test ! -s conftest.err'
49080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49081 (eval $ac_try) 2>&5
49082 ac_status=$?
49083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49084 (exit $ac_status); }; } &&
49085 { ac_try='test -s conftest.$ac_objext'
49086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49087 (eval $ac_try) 2>&5
49088 ac_status=$?
49089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49090 (exit $ac_status); }; }; then
49091 glibcxx_cv_func__fabsf_use=yes
49092 else
49093 echo "$as_me: failed program was:" >&5
49094 sed 's/^/| /' conftest.$ac_ext >&5
49096 glibcxx_cv_func__fabsf_use=no
49098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49110 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49112 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49114 for ac_func in _fabsf
49116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49117 echo "$as_me:$LINENO: checking for $ac_func" >&5
49118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49119 if eval "test \"\${$as_ac_var+set}\" = set"; then
49120 echo $ECHO_N "(cached) $ECHO_C" >&6
49121 else
49122 if test x$gcc_no_link = xyes; then
49123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49125 { (exit 1); exit 1; }; }
49127 cat >conftest.$ac_ext <<_ACEOF
49128 /* confdefs.h. */
49129 _ACEOF
49130 cat confdefs.h >>conftest.$ac_ext
49131 cat >>conftest.$ac_ext <<_ACEOF
49132 /* end confdefs.h. */
49133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49135 #define $ac_func innocuous_$ac_func
49137 /* System header to define __stub macros and hopefully few prototypes,
49138 which can conflict with char $ac_func (); below.
49139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49140 <limits.h> exists even on freestanding compilers. */
49142 #ifdef __STDC__
49143 # include <limits.h>
49144 #else
49145 # include <assert.h>
49146 #endif
49148 #undef $ac_func
49150 /* Override any gcc2 internal prototype to avoid an error. */
49151 #ifdef __cplusplus
49152 extern "C"
49154 #endif
49155 /* We use char because int might match the return type of a gcc2
49156 builtin and then its argument prototype would still apply. */
49157 char $ac_func ();
49158 /* The GNU C library defines this for functions which it implements
49159 to always fail with ENOSYS. Some functions are actually named
49160 something starting with __ and the normal name is an alias. */
49161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49162 choke me
49163 #else
49164 char (*f) () = $ac_func;
49165 #endif
49166 #ifdef __cplusplus
49168 #endif
49171 main ()
49173 return f != $ac_func;
49175 return 0;
49177 _ACEOF
49178 rm -f conftest.$ac_objext conftest$ac_exeext
49179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49180 (eval $ac_link) 2>conftest.er1
49181 ac_status=$?
49182 grep -v '^ *+' conftest.er1 >conftest.err
49183 rm -f conftest.er1
49184 cat conftest.err >&5
49185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49186 (exit $ac_status); } &&
49187 { ac_try='test -z "$ac_c_werror_flag"
49188 || test ! -s conftest.err'
49189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49190 (eval $ac_try) 2>&5
49191 ac_status=$?
49192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49193 (exit $ac_status); }; } &&
49194 { ac_try='test -s conftest$ac_exeext'
49195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49196 (eval $ac_try) 2>&5
49197 ac_status=$?
49198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49199 (exit $ac_status); }; }; then
49200 eval "$as_ac_var=yes"
49201 else
49202 echo "$as_me: failed program was:" >&5
49203 sed 's/^/| /' conftest.$ac_ext >&5
49205 eval "$as_ac_var=no"
49207 rm -f conftest.err conftest.$ac_objext \
49208 conftest$ac_exeext conftest.$ac_ext
49210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49212 if test `eval echo '${'$as_ac_var'}'` = yes; then
49213 cat >>confdefs.h <<_ACEOF
49214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49215 _ACEOF
49218 done
49228 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49229 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49230 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49231 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49232 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 else
49237 ac_ext=cc
49238 ac_cpp='$CXXCPP $CPPFLAGS'
49239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49243 cat >conftest.$ac_ext <<_ACEOF
49244 /* confdefs.h. */
49245 _ACEOF
49246 cat confdefs.h >>conftest.$ac_ext
49247 cat >>conftest.$ac_ext <<_ACEOF
49248 /* end confdefs.h. */
49249 #include <math.h>
49251 main ()
49253 fmodf(0, 0);
49255 return 0;
49257 _ACEOF
49258 rm -f conftest.$ac_objext
49259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49260 (eval $ac_compile) 2>conftest.er1
49261 ac_status=$?
49262 grep -v '^ *+' conftest.er1 >conftest.err
49263 rm -f conftest.er1
49264 cat conftest.err >&5
49265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49266 (exit $ac_status); } &&
49267 { ac_try='test -z "$ac_cxx_werror_flag"
49268 || test ! -s conftest.err'
49269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49270 (eval $ac_try) 2>&5
49271 ac_status=$?
49272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49273 (exit $ac_status); }; } &&
49274 { ac_try='test -s conftest.$ac_objext'
49275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49276 (eval $ac_try) 2>&5
49277 ac_status=$?
49278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49279 (exit $ac_status); }; }; then
49280 glibcxx_cv_func_fmodf_use=yes
49281 else
49282 echo "$as_me: failed program was:" >&5
49283 sed 's/^/| /' conftest.$ac_ext >&5
49285 glibcxx_cv_func_fmodf_use=no
49287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49288 ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49299 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49301 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49303 for ac_func in fmodf
49305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49306 echo "$as_me:$LINENO: checking for $ac_func" >&5
49307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49308 if eval "test \"\${$as_ac_var+set}\" = set"; then
49309 echo $ECHO_N "(cached) $ECHO_C" >&6
49310 else
49311 if test x$gcc_no_link = xyes; then
49312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49314 { (exit 1); exit 1; }; }
49316 cat >conftest.$ac_ext <<_ACEOF
49317 /* confdefs.h. */
49318 _ACEOF
49319 cat confdefs.h >>conftest.$ac_ext
49320 cat >>conftest.$ac_ext <<_ACEOF
49321 /* end confdefs.h. */
49322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49324 #define $ac_func innocuous_$ac_func
49326 /* System header to define __stub macros and hopefully few prototypes,
49327 which can conflict with char $ac_func (); below.
49328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49329 <limits.h> exists even on freestanding compilers. */
49331 #ifdef __STDC__
49332 # include <limits.h>
49333 #else
49334 # include <assert.h>
49335 #endif
49337 #undef $ac_func
49339 /* Override any gcc2 internal prototype to avoid an error. */
49340 #ifdef __cplusplus
49341 extern "C"
49343 #endif
49344 /* We use char because int might match the return type of a gcc2
49345 builtin and then its argument prototype would still apply. */
49346 char $ac_func ();
49347 /* The GNU C library defines this for functions which it implements
49348 to always fail with ENOSYS. Some functions are actually named
49349 something starting with __ and the normal name is an alias. */
49350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49351 choke me
49352 #else
49353 char (*f) () = $ac_func;
49354 #endif
49355 #ifdef __cplusplus
49357 #endif
49360 main ()
49362 return f != $ac_func;
49364 return 0;
49366 _ACEOF
49367 rm -f conftest.$ac_objext conftest$ac_exeext
49368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49369 (eval $ac_link) 2>conftest.er1
49370 ac_status=$?
49371 grep -v '^ *+' conftest.er1 >conftest.err
49372 rm -f conftest.er1
49373 cat conftest.err >&5
49374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49375 (exit $ac_status); } &&
49376 { ac_try='test -z "$ac_c_werror_flag"
49377 || test ! -s conftest.err'
49378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49379 (eval $ac_try) 2>&5
49380 ac_status=$?
49381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49382 (exit $ac_status); }; } &&
49383 { ac_try='test -s conftest$ac_exeext'
49384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49385 (eval $ac_try) 2>&5
49386 ac_status=$?
49387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49388 (exit $ac_status); }; }; then
49389 eval "$as_ac_var=yes"
49390 else
49391 echo "$as_me: failed program was:" >&5
49392 sed 's/^/| /' conftest.$ac_ext >&5
49394 eval "$as_ac_var=no"
49396 rm -f conftest.err conftest.$ac_objext \
49397 conftest$ac_exeext conftest.$ac_ext
49399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49401 if test `eval echo '${'$as_ac_var'}'` = yes; then
49402 cat >>confdefs.h <<_ACEOF
49403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49404 _ACEOF
49407 done
49409 else
49411 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49412 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49413 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49414 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49415 echo $ECHO_N "(cached) $ECHO_C" >&6
49416 else
49420 ac_ext=cc
49421 ac_cpp='$CXXCPP $CPPFLAGS'
49422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49426 cat >conftest.$ac_ext <<_ACEOF
49427 /* confdefs.h. */
49428 _ACEOF
49429 cat confdefs.h >>conftest.$ac_ext
49430 cat >>conftest.$ac_ext <<_ACEOF
49431 /* end confdefs.h. */
49432 #include <math.h>
49434 main ()
49436 _fmodf(0, 0);
49438 return 0;
49440 _ACEOF
49441 rm -f conftest.$ac_objext
49442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49443 (eval $ac_compile) 2>conftest.er1
49444 ac_status=$?
49445 grep -v '^ *+' conftest.er1 >conftest.err
49446 rm -f conftest.er1
49447 cat conftest.err >&5
49448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49449 (exit $ac_status); } &&
49450 { ac_try='test -z "$ac_cxx_werror_flag"
49451 || test ! -s conftest.err'
49452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49453 (eval $ac_try) 2>&5
49454 ac_status=$?
49455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49456 (exit $ac_status); }; } &&
49457 { ac_try='test -s conftest.$ac_objext'
49458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49459 (eval $ac_try) 2>&5
49460 ac_status=$?
49461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49462 (exit $ac_status); }; }; then
49463 glibcxx_cv_func__fmodf_use=yes
49464 else
49465 echo "$as_me: failed program was:" >&5
49466 sed 's/^/| /' conftest.$ac_ext >&5
49468 glibcxx_cv_func__fmodf_use=no
49470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49471 ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49481 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49482 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49484 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49486 for ac_func in _fmodf
49488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49489 echo "$as_me:$LINENO: checking for $ac_func" >&5
49490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49491 if eval "test \"\${$as_ac_var+set}\" = set"; then
49492 echo $ECHO_N "(cached) $ECHO_C" >&6
49493 else
49494 if test x$gcc_no_link = xyes; then
49495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49497 { (exit 1); exit 1; }; }
49499 cat >conftest.$ac_ext <<_ACEOF
49500 /* confdefs.h. */
49501 _ACEOF
49502 cat confdefs.h >>conftest.$ac_ext
49503 cat >>conftest.$ac_ext <<_ACEOF
49504 /* end confdefs.h. */
49505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49507 #define $ac_func innocuous_$ac_func
49509 /* System header to define __stub macros and hopefully few prototypes,
49510 which can conflict with char $ac_func (); below.
49511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49512 <limits.h> exists even on freestanding compilers. */
49514 #ifdef __STDC__
49515 # include <limits.h>
49516 #else
49517 # include <assert.h>
49518 #endif
49520 #undef $ac_func
49522 /* Override any gcc2 internal prototype to avoid an error. */
49523 #ifdef __cplusplus
49524 extern "C"
49526 #endif
49527 /* We use char because int might match the return type of a gcc2
49528 builtin and then its argument prototype would still apply. */
49529 char $ac_func ();
49530 /* The GNU C library defines this for functions which it implements
49531 to always fail with ENOSYS. Some functions are actually named
49532 something starting with __ and the normal name is an alias. */
49533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49534 choke me
49535 #else
49536 char (*f) () = $ac_func;
49537 #endif
49538 #ifdef __cplusplus
49540 #endif
49543 main ()
49545 return f != $ac_func;
49547 return 0;
49549 _ACEOF
49550 rm -f conftest.$ac_objext conftest$ac_exeext
49551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49552 (eval $ac_link) 2>conftest.er1
49553 ac_status=$?
49554 grep -v '^ *+' conftest.er1 >conftest.err
49555 rm -f conftest.er1
49556 cat conftest.err >&5
49557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49558 (exit $ac_status); } &&
49559 { ac_try='test -z "$ac_c_werror_flag"
49560 || test ! -s conftest.err'
49561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49562 (eval $ac_try) 2>&5
49563 ac_status=$?
49564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49565 (exit $ac_status); }; } &&
49566 { ac_try='test -s conftest$ac_exeext'
49567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49568 (eval $ac_try) 2>&5
49569 ac_status=$?
49570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49571 (exit $ac_status); }; }; then
49572 eval "$as_ac_var=yes"
49573 else
49574 echo "$as_me: failed program was:" >&5
49575 sed 's/^/| /' conftest.$ac_ext >&5
49577 eval "$as_ac_var=no"
49579 rm -f conftest.err conftest.$ac_objext \
49580 conftest$ac_exeext conftest.$ac_ext
49582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49584 if test `eval echo '${'$as_ac_var'}'` = yes; then
49585 cat >>confdefs.h <<_ACEOF
49586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49587 _ACEOF
49590 done
49600 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49601 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49602 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49603 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49604 echo $ECHO_N "(cached) $ECHO_C" >&6
49605 else
49609 ac_ext=cc
49610 ac_cpp='$CXXCPP $CPPFLAGS'
49611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49615 cat >conftest.$ac_ext <<_ACEOF
49616 /* confdefs.h. */
49617 _ACEOF
49618 cat confdefs.h >>conftest.$ac_ext
49619 cat >>conftest.$ac_ext <<_ACEOF
49620 /* end confdefs.h. */
49621 #include <math.h>
49623 main ()
49625 frexpf(0, 0);
49627 return 0;
49629 _ACEOF
49630 rm -f conftest.$ac_objext
49631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49632 (eval $ac_compile) 2>conftest.er1
49633 ac_status=$?
49634 grep -v '^ *+' conftest.er1 >conftest.err
49635 rm -f conftest.er1
49636 cat conftest.err >&5
49637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49638 (exit $ac_status); } &&
49639 { ac_try='test -z "$ac_cxx_werror_flag"
49640 || test ! -s conftest.err'
49641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49642 (eval $ac_try) 2>&5
49643 ac_status=$?
49644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49645 (exit $ac_status); }; } &&
49646 { ac_try='test -s conftest.$ac_objext'
49647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49648 (eval $ac_try) 2>&5
49649 ac_status=$?
49650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49651 (exit $ac_status); }; }; then
49652 glibcxx_cv_func_frexpf_use=yes
49653 else
49654 echo "$as_me: failed program was:" >&5
49655 sed 's/^/| /' conftest.$ac_ext >&5
49657 glibcxx_cv_func_frexpf_use=no
49659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49660 ac_ext=c
49661 ac_cpp='$CPP $CPPFLAGS'
49662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49671 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49673 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49675 for ac_func in frexpf
49677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49678 echo "$as_me:$LINENO: checking for $ac_func" >&5
49679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49680 if eval "test \"\${$as_ac_var+set}\" = set"; then
49681 echo $ECHO_N "(cached) $ECHO_C" >&6
49682 else
49683 if test x$gcc_no_link = xyes; then
49684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49686 { (exit 1); exit 1; }; }
49688 cat >conftest.$ac_ext <<_ACEOF
49689 /* confdefs.h. */
49690 _ACEOF
49691 cat confdefs.h >>conftest.$ac_ext
49692 cat >>conftest.$ac_ext <<_ACEOF
49693 /* end confdefs.h. */
49694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49696 #define $ac_func innocuous_$ac_func
49698 /* System header to define __stub macros and hopefully few prototypes,
49699 which can conflict with char $ac_func (); below.
49700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49701 <limits.h> exists even on freestanding compilers. */
49703 #ifdef __STDC__
49704 # include <limits.h>
49705 #else
49706 # include <assert.h>
49707 #endif
49709 #undef $ac_func
49711 /* Override any gcc2 internal prototype to avoid an error. */
49712 #ifdef __cplusplus
49713 extern "C"
49715 #endif
49716 /* We use char because int might match the return type of a gcc2
49717 builtin and then its argument prototype would still apply. */
49718 char $ac_func ();
49719 /* The GNU C library defines this for functions which it implements
49720 to always fail with ENOSYS. Some functions are actually named
49721 something starting with __ and the normal name is an alias. */
49722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49723 choke me
49724 #else
49725 char (*f) () = $ac_func;
49726 #endif
49727 #ifdef __cplusplus
49729 #endif
49732 main ()
49734 return f != $ac_func;
49736 return 0;
49738 _ACEOF
49739 rm -f conftest.$ac_objext conftest$ac_exeext
49740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49741 (eval $ac_link) 2>conftest.er1
49742 ac_status=$?
49743 grep -v '^ *+' conftest.er1 >conftest.err
49744 rm -f conftest.er1
49745 cat conftest.err >&5
49746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49747 (exit $ac_status); } &&
49748 { ac_try='test -z "$ac_c_werror_flag"
49749 || test ! -s conftest.err'
49750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49751 (eval $ac_try) 2>&5
49752 ac_status=$?
49753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49754 (exit $ac_status); }; } &&
49755 { ac_try='test -s conftest$ac_exeext'
49756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49757 (eval $ac_try) 2>&5
49758 ac_status=$?
49759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49760 (exit $ac_status); }; }; then
49761 eval "$as_ac_var=yes"
49762 else
49763 echo "$as_me: failed program was:" >&5
49764 sed 's/^/| /' conftest.$ac_ext >&5
49766 eval "$as_ac_var=no"
49768 rm -f conftest.err conftest.$ac_objext \
49769 conftest$ac_exeext conftest.$ac_ext
49771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49773 if test `eval echo '${'$as_ac_var'}'` = yes; then
49774 cat >>confdefs.h <<_ACEOF
49775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49776 _ACEOF
49779 done
49781 else
49783 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49784 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49785 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49786 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49787 echo $ECHO_N "(cached) $ECHO_C" >&6
49788 else
49792 ac_ext=cc
49793 ac_cpp='$CXXCPP $CPPFLAGS'
49794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49798 cat >conftest.$ac_ext <<_ACEOF
49799 /* confdefs.h. */
49800 _ACEOF
49801 cat confdefs.h >>conftest.$ac_ext
49802 cat >>conftest.$ac_ext <<_ACEOF
49803 /* end confdefs.h. */
49804 #include <math.h>
49806 main ()
49808 _frexpf(0, 0);
49810 return 0;
49812 _ACEOF
49813 rm -f conftest.$ac_objext
49814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49815 (eval $ac_compile) 2>conftest.er1
49816 ac_status=$?
49817 grep -v '^ *+' conftest.er1 >conftest.err
49818 rm -f conftest.er1
49819 cat conftest.err >&5
49820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49821 (exit $ac_status); } &&
49822 { ac_try='test -z "$ac_cxx_werror_flag"
49823 || test ! -s conftest.err'
49824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49825 (eval $ac_try) 2>&5
49826 ac_status=$?
49827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49828 (exit $ac_status); }; } &&
49829 { ac_try='test -s conftest.$ac_objext'
49830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49831 (eval $ac_try) 2>&5
49832 ac_status=$?
49833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49834 (exit $ac_status); }; }; then
49835 glibcxx_cv_func__frexpf_use=yes
49836 else
49837 echo "$as_me: failed program was:" >&5
49838 sed 's/^/| /' conftest.$ac_ext >&5
49840 glibcxx_cv_func__frexpf_use=no
49842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49843 ac_ext=c
49844 ac_cpp='$CPP $CPPFLAGS'
49845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49854 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49856 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49858 for ac_func in _frexpf
49860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49861 echo "$as_me:$LINENO: checking for $ac_func" >&5
49862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49863 if eval "test \"\${$as_ac_var+set}\" = set"; then
49864 echo $ECHO_N "(cached) $ECHO_C" >&6
49865 else
49866 if test x$gcc_no_link = xyes; then
49867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49869 { (exit 1); exit 1; }; }
49871 cat >conftest.$ac_ext <<_ACEOF
49872 /* confdefs.h. */
49873 _ACEOF
49874 cat confdefs.h >>conftest.$ac_ext
49875 cat >>conftest.$ac_ext <<_ACEOF
49876 /* end confdefs.h. */
49877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49879 #define $ac_func innocuous_$ac_func
49881 /* System header to define __stub macros and hopefully few prototypes,
49882 which can conflict with char $ac_func (); below.
49883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49884 <limits.h> exists even on freestanding compilers. */
49886 #ifdef __STDC__
49887 # include <limits.h>
49888 #else
49889 # include <assert.h>
49890 #endif
49892 #undef $ac_func
49894 /* Override any gcc2 internal prototype to avoid an error. */
49895 #ifdef __cplusplus
49896 extern "C"
49898 #endif
49899 /* We use char because int might match the return type of a gcc2
49900 builtin and then its argument prototype would still apply. */
49901 char $ac_func ();
49902 /* The GNU C library defines this for functions which it implements
49903 to always fail with ENOSYS. Some functions are actually named
49904 something starting with __ and the normal name is an alias. */
49905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49906 choke me
49907 #else
49908 char (*f) () = $ac_func;
49909 #endif
49910 #ifdef __cplusplus
49912 #endif
49915 main ()
49917 return f != $ac_func;
49919 return 0;
49921 _ACEOF
49922 rm -f conftest.$ac_objext conftest$ac_exeext
49923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49924 (eval $ac_link) 2>conftest.er1
49925 ac_status=$?
49926 grep -v '^ *+' conftest.er1 >conftest.err
49927 rm -f conftest.er1
49928 cat conftest.err >&5
49929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49930 (exit $ac_status); } &&
49931 { ac_try='test -z "$ac_c_werror_flag"
49932 || test ! -s conftest.err'
49933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49934 (eval $ac_try) 2>&5
49935 ac_status=$?
49936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49937 (exit $ac_status); }; } &&
49938 { ac_try='test -s conftest$ac_exeext'
49939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49940 (eval $ac_try) 2>&5
49941 ac_status=$?
49942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49943 (exit $ac_status); }; }; then
49944 eval "$as_ac_var=yes"
49945 else
49946 echo "$as_me: failed program was:" >&5
49947 sed 's/^/| /' conftest.$ac_ext >&5
49949 eval "$as_ac_var=no"
49951 rm -f conftest.err conftest.$ac_objext \
49952 conftest$ac_exeext conftest.$ac_ext
49954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49956 if test `eval echo '${'$as_ac_var'}'` = yes; then
49957 cat >>confdefs.h <<_ACEOF
49958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49959 _ACEOF
49962 done
49972 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49973 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49974 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49975 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49976 echo $ECHO_N "(cached) $ECHO_C" >&6
49977 else
49981 ac_ext=cc
49982 ac_cpp='$CXXCPP $CPPFLAGS'
49983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49987 cat >conftest.$ac_ext <<_ACEOF
49988 /* confdefs.h. */
49989 _ACEOF
49990 cat confdefs.h >>conftest.$ac_ext
49991 cat >>conftest.$ac_ext <<_ACEOF
49992 /* end confdefs.h. */
49993 #include <math.h>
49995 main ()
49997 hypotf(0, 0);
49999 return 0;
50001 _ACEOF
50002 rm -f conftest.$ac_objext
50003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50004 (eval $ac_compile) 2>conftest.er1
50005 ac_status=$?
50006 grep -v '^ *+' conftest.er1 >conftest.err
50007 rm -f conftest.er1
50008 cat conftest.err >&5
50009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50010 (exit $ac_status); } &&
50011 { ac_try='test -z "$ac_cxx_werror_flag"
50012 || test ! -s conftest.err'
50013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50014 (eval $ac_try) 2>&5
50015 ac_status=$?
50016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50017 (exit $ac_status); }; } &&
50018 { ac_try='test -s conftest.$ac_objext'
50019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50020 (eval $ac_try) 2>&5
50021 ac_status=$?
50022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023 (exit $ac_status); }; }; then
50024 glibcxx_cv_func_hypotf_use=yes
50025 else
50026 echo "$as_me: failed program was:" >&5
50027 sed 's/^/| /' conftest.$ac_ext >&5
50029 glibcxx_cv_func_hypotf_use=no
50031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50032 ac_ext=c
50033 ac_cpp='$CPP $CPPFLAGS'
50034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50043 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50045 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50047 for ac_func in hypotf
50049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50050 echo "$as_me:$LINENO: checking for $ac_func" >&5
50051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50052 if eval "test \"\${$as_ac_var+set}\" = set"; then
50053 echo $ECHO_N "(cached) $ECHO_C" >&6
50054 else
50055 if test x$gcc_no_link = xyes; then
50056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50058 { (exit 1); exit 1; }; }
50060 cat >conftest.$ac_ext <<_ACEOF
50061 /* confdefs.h. */
50062 _ACEOF
50063 cat confdefs.h >>conftest.$ac_ext
50064 cat >>conftest.$ac_ext <<_ACEOF
50065 /* end confdefs.h. */
50066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50068 #define $ac_func innocuous_$ac_func
50070 /* System header to define __stub macros and hopefully few prototypes,
50071 which can conflict with char $ac_func (); below.
50072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50073 <limits.h> exists even on freestanding compilers. */
50075 #ifdef __STDC__
50076 # include <limits.h>
50077 #else
50078 # include <assert.h>
50079 #endif
50081 #undef $ac_func
50083 /* Override any gcc2 internal prototype to avoid an error. */
50084 #ifdef __cplusplus
50085 extern "C"
50087 #endif
50088 /* We use char because int might match the return type of a gcc2
50089 builtin and then its argument prototype would still apply. */
50090 char $ac_func ();
50091 /* The GNU C library defines this for functions which it implements
50092 to always fail with ENOSYS. Some functions are actually named
50093 something starting with __ and the normal name is an alias. */
50094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50095 choke me
50096 #else
50097 char (*f) () = $ac_func;
50098 #endif
50099 #ifdef __cplusplus
50101 #endif
50104 main ()
50106 return f != $ac_func;
50108 return 0;
50110 _ACEOF
50111 rm -f conftest.$ac_objext conftest$ac_exeext
50112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50113 (eval $ac_link) 2>conftest.er1
50114 ac_status=$?
50115 grep -v '^ *+' conftest.er1 >conftest.err
50116 rm -f conftest.er1
50117 cat conftest.err >&5
50118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119 (exit $ac_status); } &&
50120 { ac_try='test -z "$ac_c_werror_flag"
50121 || test ! -s conftest.err'
50122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50123 (eval $ac_try) 2>&5
50124 ac_status=$?
50125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50126 (exit $ac_status); }; } &&
50127 { ac_try='test -s conftest$ac_exeext'
50128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50129 (eval $ac_try) 2>&5
50130 ac_status=$?
50131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50132 (exit $ac_status); }; }; then
50133 eval "$as_ac_var=yes"
50134 else
50135 echo "$as_me: failed program was:" >&5
50136 sed 's/^/| /' conftest.$ac_ext >&5
50138 eval "$as_ac_var=no"
50140 rm -f conftest.err conftest.$ac_objext \
50141 conftest$ac_exeext conftest.$ac_ext
50143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50145 if test `eval echo '${'$as_ac_var'}'` = yes; then
50146 cat >>confdefs.h <<_ACEOF
50147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50148 _ACEOF
50151 done
50153 else
50155 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50156 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50157 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50158 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50159 echo $ECHO_N "(cached) $ECHO_C" >&6
50160 else
50164 ac_ext=cc
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50170 cat >conftest.$ac_ext <<_ACEOF
50171 /* confdefs.h. */
50172 _ACEOF
50173 cat confdefs.h >>conftest.$ac_ext
50174 cat >>conftest.$ac_ext <<_ACEOF
50175 /* end confdefs.h. */
50176 #include <math.h>
50178 main ()
50180 _hypotf(0, 0);
50182 return 0;
50184 _ACEOF
50185 rm -f conftest.$ac_objext
50186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50187 (eval $ac_compile) 2>conftest.er1
50188 ac_status=$?
50189 grep -v '^ *+' conftest.er1 >conftest.err
50190 rm -f conftest.er1
50191 cat conftest.err >&5
50192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50193 (exit $ac_status); } &&
50194 { ac_try='test -z "$ac_cxx_werror_flag"
50195 || test ! -s conftest.err'
50196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50197 (eval $ac_try) 2>&5
50198 ac_status=$?
50199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50200 (exit $ac_status); }; } &&
50201 { ac_try='test -s conftest.$ac_objext'
50202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50203 (eval $ac_try) 2>&5
50204 ac_status=$?
50205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50206 (exit $ac_status); }; }; then
50207 glibcxx_cv_func__hypotf_use=yes
50208 else
50209 echo "$as_me: failed program was:" >&5
50210 sed 's/^/| /' conftest.$ac_ext >&5
50212 glibcxx_cv_func__hypotf_use=no
50214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50215 ac_ext=c
50216 ac_cpp='$CPP $CPPFLAGS'
50217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50226 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50228 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50230 for ac_func in _hypotf
50232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50233 echo "$as_me:$LINENO: checking for $ac_func" >&5
50234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50235 if eval "test \"\${$as_ac_var+set}\" = set"; then
50236 echo $ECHO_N "(cached) $ECHO_C" >&6
50237 else
50238 if test x$gcc_no_link = xyes; then
50239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50241 { (exit 1); exit 1; }; }
50243 cat >conftest.$ac_ext <<_ACEOF
50244 /* confdefs.h. */
50245 _ACEOF
50246 cat confdefs.h >>conftest.$ac_ext
50247 cat >>conftest.$ac_ext <<_ACEOF
50248 /* end confdefs.h. */
50249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50251 #define $ac_func innocuous_$ac_func
50253 /* System header to define __stub macros and hopefully few prototypes,
50254 which can conflict with char $ac_func (); below.
50255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50256 <limits.h> exists even on freestanding compilers. */
50258 #ifdef __STDC__
50259 # include <limits.h>
50260 #else
50261 # include <assert.h>
50262 #endif
50264 #undef $ac_func
50266 /* Override any gcc2 internal prototype to avoid an error. */
50267 #ifdef __cplusplus
50268 extern "C"
50270 #endif
50271 /* We use char because int might match the return type of a gcc2
50272 builtin and then its argument prototype would still apply. */
50273 char $ac_func ();
50274 /* The GNU C library defines this for functions which it implements
50275 to always fail with ENOSYS. Some functions are actually named
50276 something starting with __ and the normal name is an alias. */
50277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50278 choke me
50279 #else
50280 char (*f) () = $ac_func;
50281 #endif
50282 #ifdef __cplusplus
50284 #endif
50287 main ()
50289 return f != $ac_func;
50291 return 0;
50293 _ACEOF
50294 rm -f conftest.$ac_objext conftest$ac_exeext
50295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50296 (eval $ac_link) 2>conftest.er1
50297 ac_status=$?
50298 grep -v '^ *+' conftest.er1 >conftest.err
50299 rm -f conftest.er1
50300 cat conftest.err >&5
50301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50302 (exit $ac_status); } &&
50303 { ac_try='test -z "$ac_c_werror_flag"
50304 || test ! -s conftest.err'
50305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50306 (eval $ac_try) 2>&5
50307 ac_status=$?
50308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50309 (exit $ac_status); }; } &&
50310 { ac_try='test -s conftest$ac_exeext'
50311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50312 (eval $ac_try) 2>&5
50313 ac_status=$?
50314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50315 (exit $ac_status); }; }; then
50316 eval "$as_ac_var=yes"
50317 else
50318 echo "$as_me: failed program was:" >&5
50319 sed 's/^/| /' conftest.$ac_ext >&5
50321 eval "$as_ac_var=no"
50323 rm -f conftest.err conftest.$ac_objext \
50324 conftest$ac_exeext conftest.$ac_ext
50326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50328 if test `eval echo '${'$as_ac_var'}'` = yes; then
50329 cat >>confdefs.h <<_ACEOF
50330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50331 _ACEOF
50334 done
50344 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50345 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50346 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50347 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50348 echo $ECHO_N "(cached) $ECHO_C" >&6
50349 else
50353 ac_ext=cc
50354 ac_cpp='$CXXCPP $CPPFLAGS'
50355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50359 cat >conftest.$ac_ext <<_ACEOF
50360 /* confdefs.h. */
50361 _ACEOF
50362 cat confdefs.h >>conftest.$ac_ext
50363 cat >>conftest.$ac_ext <<_ACEOF
50364 /* end confdefs.h. */
50365 #include <math.h>
50367 main ()
50369 ldexpf(0, 0);
50371 return 0;
50373 _ACEOF
50374 rm -f conftest.$ac_objext
50375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50376 (eval $ac_compile) 2>conftest.er1
50377 ac_status=$?
50378 grep -v '^ *+' conftest.er1 >conftest.err
50379 rm -f conftest.er1
50380 cat conftest.err >&5
50381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382 (exit $ac_status); } &&
50383 { ac_try='test -z "$ac_cxx_werror_flag"
50384 || test ! -s conftest.err'
50385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50386 (eval $ac_try) 2>&5
50387 ac_status=$?
50388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50389 (exit $ac_status); }; } &&
50390 { ac_try='test -s conftest.$ac_objext'
50391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50392 (eval $ac_try) 2>&5
50393 ac_status=$?
50394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50395 (exit $ac_status); }; }; then
50396 glibcxx_cv_func_ldexpf_use=yes
50397 else
50398 echo "$as_me: failed program was:" >&5
50399 sed 's/^/| /' conftest.$ac_ext >&5
50401 glibcxx_cv_func_ldexpf_use=no
50403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50404 ac_ext=c
50405 ac_cpp='$CPP $CPPFLAGS'
50406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50415 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50417 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50419 for ac_func in ldexpf
50421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50422 echo "$as_me:$LINENO: checking for $ac_func" >&5
50423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50424 if eval "test \"\${$as_ac_var+set}\" = set"; then
50425 echo $ECHO_N "(cached) $ECHO_C" >&6
50426 else
50427 if test x$gcc_no_link = xyes; then
50428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50430 { (exit 1); exit 1; }; }
50432 cat >conftest.$ac_ext <<_ACEOF
50433 /* confdefs.h. */
50434 _ACEOF
50435 cat confdefs.h >>conftest.$ac_ext
50436 cat >>conftest.$ac_ext <<_ACEOF
50437 /* end confdefs.h. */
50438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50440 #define $ac_func innocuous_$ac_func
50442 /* System header to define __stub macros and hopefully few prototypes,
50443 which can conflict with char $ac_func (); below.
50444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50445 <limits.h> exists even on freestanding compilers. */
50447 #ifdef __STDC__
50448 # include <limits.h>
50449 #else
50450 # include <assert.h>
50451 #endif
50453 #undef $ac_func
50455 /* Override any gcc2 internal prototype to avoid an error. */
50456 #ifdef __cplusplus
50457 extern "C"
50459 #endif
50460 /* We use char because int might match the return type of a gcc2
50461 builtin and then its argument prototype would still apply. */
50462 char $ac_func ();
50463 /* The GNU C library defines this for functions which it implements
50464 to always fail with ENOSYS. Some functions are actually named
50465 something starting with __ and the normal name is an alias. */
50466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50467 choke me
50468 #else
50469 char (*f) () = $ac_func;
50470 #endif
50471 #ifdef __cplusplus
50473 #endif
50476 main ()
50478 return f != $ac_func;
50480 return 0;
50482 _ACEOF
50483 rm -f conftest.$ac_objext conftest$ac_exeext
50484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50485 (eval $ac_link) 2>conftest.er1
50486 ac_status=$?
50487 grep -v '^ *+' conftest.er1 >conftest.err
50488 rm -f conftest.er1
50489 cat conftest.err >&5
50490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50491 (exit $ac_status); } &&
50492 { ac_try='test -z "$ac_c_werror_flag"
50493 || test ! -s conftest.err'
50494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50495 (eval $ac_try) 2>&5
50496 ac_status=$?
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); }; } &&
50499 { ac_try='test -s conftest$ac_exeext'
50500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50501 (eval $ac_try) 2>&5
50502 ac_status=$?
50503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50504 (exit $ac_status); }; }; then
50505 eval "$as_ac_var=yes"
50506 else
50507 echo "$as_me: failed program was:" >&5
50508 sed 's/^/| /' conftest.$ac_ext >&5
50510 eval "$as_ac_var=no"
50512 rm -f conftest.err conftest.$ac_objext \
50513 conftest$ac_exeext conftest.$ac_ext
50515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50517 if test `eval echo '${'$as_ac_var'}'` = yes; then
50518 cat >>confdefs.h <<_ACEOF
50519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50520 _ACEOF
50523 done
50525 else
50527 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50528 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50529 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50530 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50531 echo $ECHO_N "(cached) $ECHO_C" >&6
50532 else
50536 ac_ext=cc
50537 ac_cpp='$CXXCPP $CPPFLAGS'
50538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50542 cat >conftest.$ac_ext <<_ACEOF
50543 /* confdefs.h. */
50544 _ACEOF
50545 cat confdefs.h >>conftest.$ac_ext
50546 cat >>conftest.$ac_ext <<_ACEOF
50547 /* end confdefs.h. */
50548 #include <math.h>
50550 main ()
50552 _ldexpf(0, 0);
50554 return 0;
50556 _ACEOF
50557 rm -f conftest.$ac_objext
50558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50559 (eval $ac_compile) 2>conftest.er1
50560 ac_status=$?
50561 grep -v '^ *+' conftest.er1 >conftest.err
50562 rm -f conftest.er1
50563 cat conftest.err >&5
50564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50565 (exit $ac_status); } &&
50566 { ac_try='test -z "$ac_cxx_werror_flag"
50567 || test ! -s conftest.err'
50568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50569 (eval $ac_try) 2>&5
50570 ac_status=$?
50571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50572 (exit $ac_status); }; } &&
50573 { ac_try='test -s conftest.$ac_objext'
50574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50575 (eval $ac_try) 2>&5
50576 ac_status=$?
50577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50578 (exit $ac_status); }; }; then
50579 glibcxx_cv_func__ldexpf_use=yes
50580 else
50581 echo "$as_me: failed program was:" >&5
50582 sed 's/^/| /' conftest.$ac_ext >&5
50584 glibcxx_cv_func__ldexpf_use=no
50586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50587 ac_ext=c
50588 ac_cpp='$CPP $CPPFLAGS'
50589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50598 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50600 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50602 for ac_func in _ldexpf
50604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50605 echo "$as_me:$LINENO: checking for $ac_func" >&5
50606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50607 if eval "test \"\${$as_ac_var+set}\" = set"; then
50608 echo $ECHO_N "(cached) $ECHO_C" >&6
50609 else
50610 if test x$gcc_no_link = xyes; then
50611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50613 { (exit 1); exit 1; }; }
50615 cat >conftest.$ac_ext <<_ACEOF
50616 /* confdefs.h. */
50617 _ACEOF
50618 cat confdefs.h >>conftest.$ac_ext
50619 cat >>conftest.$ac_ext <<_ACEOF
50620 /* end confdefs.h. */
50621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50623 #define $ac_func innocuous_$ac_func
50625 /* System header to define __stub macros and hopefully few prototypes,
50626 which can conflict with char $ac_func (); below.
50627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50628 <limits.h> exists even on freestanding compilers. */
50630 #ifdef __STDC__
50631 # include <limits.h>
50632 #else
50633 # include <assert.h>
50634 #endif
50636 #undef $ac_func
50638 /* Override any gcc2 internal prototype to avoid an error. */
50639 #ifdef __cplusplus
50640 extern "C"
50642 #endif
50643 /* We use char because int might match the return type of a gcc2
50644 builtin and then its argument prototype would still apply. */
50645 char $ac_func ();
50646 /* The GNU C library defines this for functions which it implements
50647 to always fail with ENOSYS. Some functions are actually named
50648 something starting with __ and the normal name is an alias. */
50649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50650 choke me
50651 #else
50652 char (*f) () = $ac_func;
50653 #endif
50654 #ifdef __cplusplus
50656 #endif
50659 main ()
50661 return f != $ac_func;
50663 return 0;
50665 _ACEOF
50666 rm -f conftest.$ac_objext conftest$ac_exeext
50667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50668 (eval $ac_link) 2>conftest.er1
50669 ac_status=$?
50670 grep -v '^ *+' conftest.er1 >conftest.err
50671 rm -f conftest.er1
50672 cat conftest.err >&5
50673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50674 (exit $ac_status); } &&
50675 { ac_try='test -z "$ac_c_werror_flag"
50676 || test ! -s conftest.err'
50677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50678 (eval $ac_try) 2>&5
50679 ac_status=$?
50680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681 (exit $ac_status); }; } &&
50682 { ac_try='test -s conftest$ac_exeext'
50683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50684 (eval $ac_try) 2>&5
50685 ac_status=$?
50686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50687 (exit $ac_status); }; }; then
50688 eval "$as_ac_var=yes"
50689 else
50690 echo "$as_me: failed program was:" >&5
50691 sed 's/^/| /' conftest.$ac_ext >&5
50693 eval "$as_ac_var=no"
50695 rm -f conftest.err conftest.$ac_objext \
50696 conftest$ac_exeext conftest.$ac_ext
50698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50700 if test `eval echo '${'$as_ac_var'}'` = yes; then
50701 cat >>confdefs.h <<_ACEOF
50702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50703 _ACEOF
50706 done
50716 echo "$as_me:$LINENO: checking for logf declaration" >&5
50717 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50718 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50719 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50720 echo $ECHO_N "(cached) $ECHO_C" >&6
50721 else
50725 ac_ext=cc
50726 ac_cpp='$CXXCPP $CPPFLAGS'
50727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50731 cat >conftest.$ac_ext <<_ACEOF
50732 /* confdefs.h. */
50733 _ACEOF
50734 cat confdefs.h >>conftest.$ac_ext
50735 cat >>conftest.$ac_ext <<_ACEOF
50736 /* end confdefs.h. */
50737 #include <math.h>
50738 #ifdef HAVE_IEEEFP_H
50739 #include <ieeefp.h>
50740 #endif
50743 main ()
50745 logf(0);
50747 return 0;
50749 _ACEOF
50750 rm -f conftest.$ac_objext
50751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50752 (eval $ac_compile) 2>conftest.er1
50753 ac_status=$?
50754 grep -v '^ *+' conftest.er1 >conftest.err
50755 rm -f conftest.er1
50756 cat conftest.err >&5
50757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50758 (exit $ac_status); } &&
50759 { ac_try='test -z "$ac_cxx_werror_flag"
50760 || test ! -s conftest.err'
50761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50762 (eval $ac_try) 2>&5
50763 ac_status=$?
50764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50765 (exit $ac_status); }; } &&
50766 { ac_try='test -s conftest.$ac_objext'
50767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50768 (eval $ac_try) 2>&5
50769 ac_status=$?
50770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50771 (exit $ac_status); }; }; then
50772 glibcxx_cv_func_logf_use=yes
50773 else
50774 echo "$as_me: failed program was:" >&5
50775 sed 's/^/| /' conftest.$ac_ext >&5
50777 glibcxx_cv_func_logf_use=no
50779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50791 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50793 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50795 for ac_func in logf
50797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50798 echo "$as_me:$LINENO: checking for $ac_func" >&5
50799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50800 if eval "test \"\${$as_ac_var+set}\" = set"; then
50801 echo $ECHO_N "(cached) $ECHO_C" >&6
50802 else
50803 if test x$gcc_no_link = xyes; then
50804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50806 { (exit 1); exit 1; }; }
50808 cat >conftest.$ac_ext <<_ACEOF
50809 /* confdefs.h. */
50810 _ACEOF
50811 cat confdefs.h >>conftest.$ac_ext
50812 cat >>conftest.$ac_ext <<_ACEOF
50813 /* end confdefs.h. */
50814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50816 #define $ac_func innocuous_$ac_func
50818 /* System header to define __stub macros and hopefully few prototypes,
50819 which can conflict with char $ac_func (); below.
50820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50821 <limits.h> exists even on freestanding compilers. */
50823 #ifdef __STDC__
50824 # include <limits.h>
50825 #else
50826 # include <assert.h>
50827 #endif
50829 #undef $ac_func
50831 /* Override any gcc2 internal prototype to avoid an error. */
50832 #ifdef __cplusplus
50833 extern "C"
50835 #endif
50836 /* We use char because int might match the return type of a gcc2
50837 builtin and then its argument prototype would still apply. */
50838 char $ac_func ();
50839 /* The GNU C library defines this for functions which it implements
50840 to always fail with ENOSYS. Some functions are actually named
50841 something starting with __ and the normal name is an alias. */
50842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50843 choke me
50844 #else
50845 char (*f) () = $ac_func;
50846 #endif
50847 #ifdef __cplusplus
50849 #endif
50852 main ()
50854 return f != $ac_func;
50856 return 0;
50858 _ACEOF
50859 rm -f conftest.$ac_objext conftest$ac_exeext
50860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50861 (eval $ac_link) 2>conftest.er1
50862 ac_status=$?
50863 grep -v '^ *+' conftest.er1 >conftest.err
50864 rm -f conftest.er1
50865 cat conftest.err >&5
50866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50867 (exit $ac_status); } &&
50868 { ac_try='test -z "$ac_c_werror_flag"
50869 || test ! -s conftest.err'
50870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50871 (eval $ac_try) 2>&5
50872 ac_status=$?
50873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50874 (exit $ac_status); }; } &&
50875 { ac_try='test -s conftest$ac_exeext'
50876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50877 (eval $ac_try) 2>&5
50878 ac_status=$?
50879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50880 (exit $ac_status); }; }; then
50881 eval "$as_ac_var=yes"
50882 else
50883 echo "$as_me: failed program was:" >&5
50884 sed 's/^/| /' conftest.$ac_ext >&5
50886 eval "$as_ac_var=no"
50888 rm -f conftest.err conftest.$ac_objext \
50889 conftest$ac_exeext conftest.$ac_ext
50891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50893 if test `eval echo '${'$as_ac_var'}'` = yes; then
50894 cat >>confdefs.h <<_ACEOF
50895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50896 _ACEOF
50899 done
50901 else
50903 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50904 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50905 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50906 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50907 echo $ECHO_N "(cached) $ECHO_C" >&6
50908 else
50912 ac_ext=cc
50913 ac_cpp='$CXXCPP $CPPFLAGS'
50914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50918 cat >conftest.$ac_ext <<_ACEOF
50919 /* confdefs.h. */
50920 _ACEOF
50921 cat confdefs.h >>conftest.$ac_ext
50922 cat >>conftest.$ac_ext <<_ACEOF
50923 /* end confdefs.h. */
50924 #include <math.h>
50925 #ifdef HAVE_IEEEFP_H
50926 #include <ieeefp.h>
50927 #endif
50930 main ()
50932 _logf(0);
50934 return 0;
50936 _ACEOF
50937 rm -f conftest.$ac_objext
50938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50939 (eval $ac_compile) 2>conftest.er1
50940 ac_status=$?
50941 grep -v '^ *+' conftest.er1 >conftest.err
50942 rm -f conftest.er1
50943 cat conftest.err >&5
50944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50945 (exit $ac_status); } &&
50946 { ac_try='test -z "$ac_cxx_werror_flag"
50947 || test ! -s conftest.err'
50948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50949 (eval $ac_try) 2>&5
50950 ac_status=$?
50951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50952 (exit $ac_status); }; } &&
50953 { ac_try='test -s conftest.$ac_objext'
50954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50955 (eval $ac_try) 2>&5
50956 ac_status=$?
50957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50958 (exit $ac_status); }; }; then
50959 glibcxx_cv_func__logf_use=yes
50960 else
50961 echo "$as_me: failed program was:" >&5
50962 sed 's/^/| /' conftest.$ac_ext >&5
50964 glibcxx_cv_func__logf_use=no
50966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50967 ac_ext=c
50968 ac_cpp='$CPP $CPPFLAGS'
50969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50978 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50980 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50982 for ac_func in _logf
50984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50985 echo "$as_me:$LINENO: checking for $ac_func" >&5
50986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50987 if eval "test \"\${$as_ac_var+set}\" = set"; then
50988 echo $ECHO_N "(cached) $ECHO_C" >&6
50989 else
50990 if test x$gcc_no_link = xyes; then
50991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50993 { (exit 1); exit 1; }; }
50995 cat >conftest.$ac_ext <<_ACEOF
50996 /* confdefs.h. */
50997 _ACEOF
50998 cat confdefs.h >>conftest.$ac_ext
50999 cat >>conftest.$ac_ext <<_ACEOF
51000 /* end confdefs.h. */
51001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51003 #define $ac_func innocuous_$ac_func
51005 /* System header to define __stub macros and hopefully few prototypes,
51006 which can conflict with char $ac_func (); below.
51007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51008 <limits.h> exists even on freestanding compilers. */
51010 #ifdef __STDC__
51011 # include <limits.h>
51012 #else
51013 # include <assert.h>
51014 #endif
51016 #undef $ac_func
51018 /* Override any gcc2 internal prototype to avoid an error. */
51019 #ifdef __cplusplus
51020 extern "C"
51022 #endif
51023 /* We use char because int might match the return type of a gcc2
51024 builtin and then its argument prototype would still apply. */
51025 char $ac_func ();
51026 /* The GNU C library defines this for functions which it implements
51027 to always fail with ENOSYS. Some functions are actually named
51028 something starting with __ and the normal name is an alias. */
51029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51030 choke me
51031 #else
51032 char (*f) () = $ac_func;
51033 #endif
51034 #ifdef __cplusplus
51036 #endif
51039 main ()
51041 return f != $ac_func;
51043 return 0;
51045 _ACEOF
51046 rm -f conftest.$ac_objext conftest$ac_exeext
51047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51048 (eval $ac_link) 2>conftest.er1
51049 ac_status=$?
51050 grep -v '^ *+' conftest.er1 >conftest.err
51051 rm -f conftest.er1
51052 cat conftest.err >&5
51053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51054 (exit $ac_status); } &&
51055 { ac_try='test -z "$ac_c_werror_flag"
51056 || test ! -s conftest.err'
51057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51058 (eval $ac_try) 2>&5
51059 ac_status=$?
51060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51061 (exit $ac_status); }; } &&
51062 { ac_try='test -s conftest$ac_exeext'
51063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51064 (eval $ac_try) 2>&5
51065 ac_status=$?
51066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51067 (exit $ac_status); }; }; then
51068 eval "$as_ac_var=yes"
51069 else
51070 echo "$as_me: failed program was:" >&5
51071 sed 's/^/| /' conftest.$ac_ext >&5
51073 eval "$as_ac_var=no"
51075 rm -f conftest.err conftest.$ac_objext \
51076 conftest$ac_exeext conftest.$ac_ext
51078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51080 if test `eval echo '${'$as_ac_var'}'` = yes; then
51081 cat >>confdefs.h <<_ACEOF
51082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51083 _ACEOF
51086 done
51096 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51097 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51098 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51099 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51100 echo $ECHO_N "(cached) $ECHO_C" >&6
51101 else
51105 ac_ext=cc
51106 ac_cpp='$CXXCPP $CPPFLAGS'
51107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51111 cat >conftest.$ac_ext <<_ACEOF
51112 /* confdefs.h. */
51113 _ACEOF
51114 cat confdefs.h >>conftest.$ac_ext
51115 cat >>conftest.$ac_ext <<_ACEOF
51116 /* end confdefs.h. */
51117 #include <math.h>
51118 #ifdef HAVE_IEEEFP_H
51119 #include <ieeefp.h>
51120 #endif
51123 main ()
51125 log10f(0);
51127 return 0;
51129 _ACEOF
51130 rm -f conftest.$ac_objext
51131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51132 (eval $ac_compile) 2>conftest.er1
51133 ac_status=$?
51134 grep -v '^ *+' conftest.er1 >conftest.err
51135 rm -f conftest.er1
51136 cat conftest.err >&5
51137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51138 (exit $ac_status); } &&
51139 { ac_try='test -z "$ac_cxx_werror_flag"
51140 || test ! -s conftest.err'
51141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51142 (eval $ac_try) 2>&5
51143 ac_status=$?
51144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51145 (exit $ac_status); }; } &&
51146 { ac_try='test -s conftest.$ac_objext'
51147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51148 (eval $ac_try) 2>&5
51149 ac_status=$?
51150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51151 (exit $ac_status); }; }; then
51152 glibcxx_cv_func_log10f_use=yes
51153 else
51154 echo "$as_me: failed program was:" >&5
51155 sed 's/^/| /' conftest.$ac_ext >&5
51157 glibcxx_cv_func_log10f_use=no
51159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51160 ac_ext=c
51161 ac_cpp='$CPP $CPPFLAGS'
51162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51171 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51173 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51175 for ac_func in log10f
51177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51178 echo "$as_me:$LINENO: checking for $ac_func" >&5
51179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51180 if eval "test \"\${$as_ac_var+set}\" = set"; then
51181 echo $ECHO_N "(cached) $ECHO_C" >&6
51182 else
51183 if test x$gcc_no_link = xyes; then
51184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51186 { (exit 1); exit 1; }; }
51188 cat >conftest.$ac_ext <<_ACEOF
51189 /* confdefs.h. */
51190 _ACEOF
51191 cat confdefs.h >>conftest.$ac_ext
51192 cat >>conftest.$ac_ext <<_ACEOF
51193 /* end confdefs.h. */
51194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51196 #define $ac_func innocuous_$ac_func
51198 /* System header to define __stub macros and hopefully few prototypes,
51199 which can conflict with char $ac_func (); below.
51200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51201 <limits.h> exists even on freestanding compilers. */
51203 #ifdef __STDC__
51204 # include <limits.h>
51205 #else
51206 # include <assert.h>
51207 #endif
51209 #undef $ac_func
51211 /* Override any gcc2 internal prototype to avoid an error. */
51212 #ifdef __cplusplus
51213 extern "C"
51215 #endif
51216 /* We use char because int might match the return type of a gcc2
51217 builtin and then its argument prototype would still apply. */
51218 char $ac_func ();
51219 /* The GNU C library defines this for functions which it implements
51220 to always fail with ENOSYS. Some functions are actually named
51221 something starting with __ and the normal name is an alias. */
51222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51223 choke me
51224 #else
51225 char (*f) () = $ac_func;
51226 #endif
51227 #ifdef __cplusplus
51229 #endif
51232 main ()
51234 return f != $ac_func;
51236 return 0;
51238 _ACEOF
51239 rm -f conftest.$ac_objext conftest$ac_exeext
51240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51241 (eval $ac_link) 2>conftest.er1
51242 ac_status=$?
51243 grep -v '^ *+' conftest.er1 >conftest.err
51244 rm -f conftest.er1
51245 cat conftest.err >&5
51246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51247 (exit $ac_status); } &&
51248 { ac_try='test -z "$ac_c_werror_flag"
51249 || test ! -s conftest.err'
51250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51251 (eval $ac_try) 2>&5
51252 ac_status=$?
51253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51254 (exit $ac_status); }; } &&
51255 { ac_try='test -s conftest$ac_exeext'
51256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51257 (eval $ac_try) 2>&5
51258 ac_status=$?
51259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51260 (exit $ac_status); }; }; then
51261 eval "$as_ac_var=yes"
51262 else
51263 echo "$as_me: failed program was:" >&5
51264 sed 's/^/| /' conftest.$ac_ext >&5
51266 eval "$as_ac_var=no"
51268 rm -f conftest.err conftest.$ac_objext \
51269 conftest$ac_exeext conftest.$ac_ext
51271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51273 if test `eval echo '${'$as_ac_var'}'` = yes; then
51274 cat >>confdefs.h <<_ACEOF
51275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51276 _ACEOF
51279 done
51281 else
51283 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51284 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51285 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51286 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51287 echo $ECHO_N "(cached) $ECHO_C" >&6
51288 else
51292 ac_ext=cc
51293 ac_cpp='$CXXCPP $CPPFLAGS'
51294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51298 cat >conftest.$ac_ext <<_ACEOF
51299 /* confdefs.h. */
51300 _ACEOF
51301 cat confdefs.h >>conftest.$ac_ext
51302 cat >>conftest.$ac_ext <<_ACEOF
51303 /* end confdefs.h. */
51304 #include <math.h>
51305 #ifdef HAVE_IEEEFP_H
51306 #include <ieeefp.h>
51307 #endif
51310 main ()
51312 _log10f(0);
51314 return 0;
51316 _ACEOF
51317 rm -f conftest.$ac_objext
51318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51319 (eval $ac_compile) 2>conftest.er1
51320 ac_status=$?
51321 grep -v '^ *+' conftest.er1 >conftest.err
51322 rm -f conftest.er1
51323 cat conftest.err >&5
51324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51325 (exit $ac_status); } &&
51326 { ac_try='test -z "$ac_cxx_werror_flag"
51327 || test ! -s conftest.err'
51328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51329 (eval $ac_try) 2>&5
51330 ac_status=$?
51331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51332 (exit $ac_status); }; } &&
51333 { ac_try='test -s conftest.$ac_objext'
51334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51335 (eval $ac_try) 2>&5
51336 ac_status=$?
51337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51338 (exit $ac_status); }; }; then
51339 glibcxx_cv_func__log10f_use=yes
51340 else
51341 echo "$as_me: failed program was:" >&5
51342 sed 's/^/| /' conftest.$ac_ext >&5
51344 glibcxx_cv_func__log10f_use=no
51346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51347 ac_ext=c
51348 ac_cpp='$CPP $CPPFLAGS'
51349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51358 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51360 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51362 for ac_func in _log10f
51364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51365 echo "$as_me:$LINENO: checking for $ac_func" >&5
51366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51367 if eval "test \"\${$as_ac_var+set}\" = set"; then
51368 echo $ECHO_N "(cached) $ECHO_C" >&6
51369 else
51370 if test x$gcc_no_link = xyes; then
51371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51373 { (exit 1); exit 1; }; }
51375 cat >conftest.$ac_ext <<_ACEOF
51376 /* confdefs.h. */
51377 _ACEOF
51378 cat confdefs.h >>conftest.$ac_ext
51379 cat >>conftest.$ac_ext <<_ACEOF
51380 /* end confdefs.h. */
51381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51383 #define $ac_func innocuous_$ac_func
51385 /* System header to define __stub macros and hopefully few prototypes,
51386 which can conflict with char $ac_func (); below.
51387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51388 <limits.h> exists even on freestanding compilers. */
51390 #ifdef __STDC__
51391 # include <limits.h>
51392 #else
51393 # include <assert.h>
51394 #endif
51396 #undef $ac_func
51398 /* Override any gcc2 internal prototype to avoid an error. */
51399 #ifdef __cplusplus
51400 extern "C"
51402 #endif
51403 /* We use char because int might match the return type of a gcc2
51404 builtin and then its argument prototype would still apply. */
51405 char $ac_func ();
51406 /* The GNU C library defines this for functions which it implements
51407 to always fail with ENOSYS. Some functions are actually named
51408 something starting with __ and the normal name is an alias. */
51409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51410 choke me
51411 #else
51412 char (*f) () = $ac_func;
51413 #endif
51414 #ifdef __cplusplus
51416 #endif
51419 main ()
51421 return f != $ac_func;
51423 return 0;
51425 _ACEOF
51426 rm -f conftest.$ac_objext conftest$ac_exeext
51427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51428 (eval $ac_link) 2>conftest.er1
51429 ac_status=$?
51430 grep -v '^ *+' conftest.er1 >conftest.err
51431 rm -f conftest.er1
51432 cat conftest.err >&5
51433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51434 (exit $ac_status); } &&
51435 { ac_try='test -z "$ac_c_werror_flag"
51436 || test ! -s conftest.err'
51437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51438 (eval $ac_try) 2>&5
51439 ac_status=$?
51440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51441 (exit $ac_status); }; } &&
51442 { ac_try='test -s conftest$ac_exeext'
51443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51444 (eval $ac_try) 2>&5
51445 ac_status=$?
51446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51447 (exit $ac_status); }; }; then
51448 eval "$as_ac_var=yes"
51449 else
51450 echo "$as_me: failed program was:" >&5
51451 sed 's/^/| /' conftest.$ac_ext >&5
51453 eval "$as_ac_var=no"
51455 rm -f conftest.err conftest.$ac_objext \
51456 conftest$ac_exeext conftest.$ac_ext
51458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51460 if test `eval echo '${'$as_ac_var'}'` = yes; then
51461 cat >>confdefs.h <<_ACEOF
51462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51463 _ACEOF
51466 done
51476 echo "$as_me:$LINENO: checking for modff declaration" >&5
51477 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51478 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51479 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51480 echo $ECHO_N "(cached) $ECHO_C" >&6
51481 else
51485 ac_ext=cc
51486 ac_cpp='$CXXCPP $CPPFLAGS'
51487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51491 cat >conftest.$ac_ext <<_ACEOF
51492 /* confdefs.h. */
51493 _ACEOF
51494 cat confdefs.h >>conftest.$ac_ext
51495 cat >>conftest.$ac_ext <<_ACEOF
51496 /* end confdefs.h. */
51497 #include <math.h>
51499 main ()
51501 modff(0, 0);
51503 return 0;
51505 _ACEOF
51506 rm -f conftest.$ac_objext
51507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51508 (eval $ac_compile) 2>conftest.er1
51509 ac_status=$?
51510 grep -v '^ *+' conftest.er1 >conftest.err
51511 rm -f conftest.er1
51512 cat conftest.err >&5
51513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51514 (exit $ac_status); } &&
51515 { ac_try='test -z "$ac_cxx_werror_flag"
51516 || test ! -s conftest.err'
51517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51518 (eval $ac_try) 2>&5
51519 ac_status=$?
51520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51521 (exit $ac_status); }; } &&
51522 { ac_try='test -s conftest.$ac_objext'
51523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524 (eval $ac_try) 2>&5
51525 ac_status=$?
51526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527 (exit $ac_status); }; }; then
51528 glibcxx_cv_func_modff_use=yes
51529 else
51530 echo "$as_me: failed program was:" >&5
51531 sed 's/^/| /' conftest.$ac_ext >&5
51533 glibcxx_cv_func_modff_use=no
51535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51536 ac_ext=c
51537 ac_cpp='$CPP $CPPFLAGS'
51538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51546 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51547 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51549 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51551 for ac_func in modff
51553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51554 echo "$as_me:$LINENO: checking for $ac_func" >&5
51555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51556 if eval "test \"\${$as_ac_var+set}\" = set"; then
51557 echo $ECHO_N "(cached) $ECHO_C" >&6
51558 else
51559 if test x$gcc_no_link = xyes; then
51560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51562 { (exit 1); exit 1; }; }
51564 cat >conftest.$ac_ext <<_ACEOF
51565 /* confdefs.h. */
51566 _ACEOF
51567 cat confdefs.h >>conftest.$ac_ext
51568 cat >>conftest.$ac_ext <<_ACEOF
51569 /* end confdefs.h. */
51570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51572 #define $ac_func innocuous_$ac_func
51574 /* System header to define __stub macros and hopefully few prototypes,
51575 which can conflict with char $ac_func (); below.
51576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51577 <limits.h> exists even on freestanding compilers. */
51579 #ifdef __STDC__
51580 # include <limits.h>
51581 #else
51582 # include <assert.h>
51583 #endif
51585 #undef $ac_func
51587 /* Override any gcc2 internal prototype to avoid an error. */
51588 #ifdef __cplusplus
51589 extern "C"
51591 #endif
51592 /* We use char because int might match the return type of a gcc2
51593 builtin and then its argument prototype would still apply. */
51594 char $ac_func ();
51595 /* The GNU C library defines this for functions which it implements
51596 to always fail with ENOSYS. Some functions are actually named
51597 something starting with __ and the normal name is an alias. */
51598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51599 choke me
51600 #else
51601 char (*f) () = $ac_func;
51602 #endif
51603 #ifdef __cplusplus
51605 #endif
51608 main ()
51610 return f != $ac_func;
51612 return 0;
51614 _ACEOF
51615 rm -f conftest.$ac_objext conftest$ac_exeext
51616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51617 (eval $ac_link) 2>conftest.er1
51618 ac_status=$?
51619 grep -v '^ *+' conftest.er1 >conftest.err
51620 rm -f conftest.er1
51621 cat conftest.err >&5
51622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51623 (exit $ac_status); } &&
51624 { ac_try='test -z "$ac_c_werror_flag"
51625 || test ! -s conftest.err'
51626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51627 (eval $ac_try) 2>&5
51628 ac_status=$?
51629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51630 (exit $ac_status); }; } &&
51631 { ac_try='test -s conftest$ac_exeext'
51632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51633 (eval $ac_try) 2>&5
51634 ac_status=$?
51635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51636 (exit $ac_status); }; }; then
51637 eval "$as_ac_var=yes"
51638 else
51639 echo "$as_me: failed program was:" >&5
51640 sed 's/^/| /' conftest.$ac_ext >&5
51642 eval "$as_ac_var=no"
51644 rm -f conftest.err conftest.$ac_objext \
51645 conftest$ac_exeext conftest.$ac_ext
51647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51649 if test `eval echo '${'$as_ac_var'}'` = yes; then
51650 cat >>confdefs.h <<_ACEOF
51651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51652 _ACEOF
51655 done
51657 else
51659 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51660 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51661 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51662 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51663 echo $ECHO_N "(cached) $ECHO_C" >&6
51664 else
51668 ac_ext=cc
51669 ac_cpp='$CXXCPP $CPPFLAGS'
51670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51674 cat >conftest.$ac_ext <<_ACEOF
51675 /* confdefs.h. */
51676 _ACEOF
51677 cat confdefs.h >>conftest.$ac_ext
51678 cat >>conftest.$ac_ext <<_ACEOF
51679 /* end confdefs.h. */
51680 #include <math.h>
51682 main ()
51684 _modff(0, 0);
51686 return 0;
51688 _ACEOF
51689 rm -f conftest.$ac_objext
51690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51691 (eval $ac_compile) 2>conftest.er1
51692 ac_status=$?
51693 grep -v '^ *+' conftest.er1 >conftest.err
51694 rm -f conftest.er1
51695 cat conftest.err >&5
51696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51697 (exit $ac_status); } &&
51698 { ac_try='test -z "$ac_cxx_werror_flag"
51699 || test ! -s conftest.err'
51700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51701 (eval $ac_try) 2>&5
51702 ac_status=$?
51703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51704 (exit $ac_status); }; } &&
51705 { ac_try='test -s conftest.$ac_objext'
51706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51707 (eval $ac_try) 2>&5
51708 ac_status=$?
51709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51710 (exit $ac_status); }; }; then
51711 glibcxx_cv_func__modff_use=yes
51712 else
51713 echo "$as_me: failed program was:" >&5
51714 sed 's/^/| /' conftest.$ac_ext >&5
51716 glibcxx_cv_func__modff_use=no
51718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51719 ac_ext=c
51720 ac_cpp='$CPP $CPPFLAGS'
51721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51729 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51730 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51732 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51734 for ac_func in _modff
51736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51737 echo "$as_me:$LINENO: checking for $ac_func" >&5
51738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51739 if eval "test \"\${$as_ac_var+set}\" = set"; then
51740 echo $ECHO_N "(cached) $ECHO_C" >&6
51741 else
51742 if test x$gcc_no_link = xyes; then
51743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51745 { (exit 1); exit 1; }; }
51747 cat >conftest.$ac_ext <<_ACEOF
51748 /* confdefs.h. */
51749 _ACEOF
51750 cat confdefs.h >>conftest.$ac_ext
51751 cat >>conftest.$ac_ext <<_ACEOF
51752 /* end confdefs.h. */
51753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51755 #define $ac_func innocuous_$ac_func
51757 /* System header to define __stub macros and hopefully few prototypes,
51758 which can conflict with char $ac_func (); below.
51759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51760 <limits.h> exists even on freestanding compilers. */
51762 #ifdef __STDC__
51763 # include <limits.h>
51764 #else
51765 # include <assert.h>
51766 #endif
51768 #undef $ac_func
51770 /* Override any gcc2 internal prototype to avoid an error. */
51771 #ifdef __cplusplus
51772 extern "C"
51774 #endif
51775 /* We use char because int might match the return type of a gcc2
51776 builtin and then its argument prototype would still apply. */
51777 char $ac_func ();
51778 /* The GNU C library defines this for functions which it implements
51779 to always fail with ENOSYS. Some functions are actually named
51780 something starting with __ and the normal name is an alias. */
51781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51782 choke me
51783 #else
51784 char (*f) () = $ac_func;
51785 #endif
51786 #ifdef __cplusplus
51788 #endif
51791 main ()
51793 return f != $ac_func;
51795 return 0;
51797 _ACEOF
51798 rm -f conftest.$ac_objext conftest$ac_exeext
51799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51800 (eval $ac_link) 2>conftest.er1
51801 ac_status=$?
51802 grep -v '^ *+' conftest.er1 >conftest.err
51803 rm -f conftest.er1
51804 cat conftest.err >&5
51805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51806 (exit $ac_status); } &&
51807 { ac_try='test -z "$ac_c_werror_flag"
51808 || test ! -s conftest.err'
51809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51810 (eval $ac_try) 2>&5
51811 ac_status=$?
51812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51813 (exit $ac_status); }; } &&
51814 { ac_try='test -s conftest$ac_exeext'
51815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51816 (eval $ac_try) 2>&5
51817 ac_status=$?
51818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51819 (exit $ac_status); }; }; then
51820 eval "$as_ac_var=yes"
51821 else
51822 echo "$as_me: failed program was:" >&5
51823 sed 's/^/| /' conftest.$ac_ext >&5
51825 eval "$as_ac_var=no"
51827 rm -f conftest.err conftest.$ac_objext \
51828 conftest$ac_exeext conftest.$ac_ext
51830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51832 if test `eval echo '${'$as_ac_var'}'` = yes; then
51833 cat >>confdefs.h <<_ACEOF
51834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51835 _ACEOF
51838 done
51848 echo "$as_me:$LINENO: checking for modf declaration" >&5
51849 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51850 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51851 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51852 echo $ECHO_N "(cached) $ECHO_C" >&6
51853 else
51857 ac_ext=cc
51858 ac_cpp='$CXXCPP $CPPFLAGS'
51859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51863 cat >conftest.$ac_ext <<_ACEOF
51864 /* confdefs.h. */
51865 _ACEOF
51866 cat confdefs.h >>conftest.$ac_ext
51867 cat >>conftest.$ac_ext <<_ACEOF
51868 /* end confdefs.h. */
51869 #include <math.h>
51871 main ()
51873 modf(0, 0);
51875 return 0;
51877 _ACEOF
51878 rm -f conftest.$ac_objext
51879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51880 (eval $ac_compile) 2>conftest.er1
51881 ac_status=$?
51882 grep -v '^ *+' conftest.er1 >conftest.err
51883 rm -f conftest.er1
51884 cat conftest.err >&5
51885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51886 (exit $ac_status); } &&
51887 { ac_try='test -z "$ac_cxx_werror_flag"
51888 || test ! -s conftest.err'
51889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51890 (eval $ac_try) 2>&5
51891 ac_status=$?
51892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51893 (exit $ac_status); }; } &&
51894 { ac_try='test -s conftest.$ac_objext'
51895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51896 (eval $ac_try) 2>&5
51897 ac_status=$?
51898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51899 (exit $ac_status); }; }; then
51900 glibcxx_cv_func_modf_use=yes
51901 else
51902 echo "$as_me: failed program was:" >&5
51903 sed 's/^/| /' conftest.$ac_ext >&5
51905 glibcxx_cv_func_modf_use=no
51907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51908 ac_ext=c
51909 ac_cpp='$CPP $CPPFLAGS'
51910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51919 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51921 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51923 for ac_func in modf
51925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51926 echo "$as_me:$LINENO: checking for $ac_func" >&5
51927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51928 if eval "test \"\${$as_ac_var+set}\" = set"; then
51929 echo $ECHO_N "(cached) $ECHO_C" >&6
51930 else
51931 if test x$gcc_no_link = xyes; then
51932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51934 { (exit 1); exit 1; }; }
51936 cat >conftest.$ac_ext <<_ACEOF
51937 /* confdefs.h. */
51938 _ACEOF
51939 cat confdefs.h >>conftest.$ac_ext
51940 cat >>conftest.$ac_ext <<_ACEOF
51941 /* end confdefs.h. */
51942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51944 #define $ac_func innocuous_$ac_func
51946 /* System header to define __stub macros and hopefully few prototypes,
51947 which can conflict with char $ac_func (); below.
51948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51949 <limits.h> exists even on freestanding compilers. */
51951 #ifdef __STDC__
51952 # include <limits.h>
51953 #else
51954 # include <assert.h>
51955 #endif
51957 #undef $ac_func
51959 /* Override any gcc2 internal prototype to avoid an error. */
51960 #ifdef __cplusplus
51961 extern "C"
51963 #endif
51964 /* We use char because int might match the return type of a gcc2
51965 builtin and then its argument prototype would still apply. */
51966 char $ac_func ();
51967 /* The GNU C library defines this for functions which it implements
51968 to always fail with ENOSYS. Some functions are actually named
51969 something starting with __ and the normal name is an alias. */
51970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51971 choke me
51972 #else
51973 char (*f) () = $ac_func;
51974 #endif
51975 #ifdef __cplusplus
51977 #endif
51980 main ()
51982 return f != $ac_func;
51984 return 0;
51986 _ACEOF
51987 rm -f conftest.$ac_objext conftest$ac_exeext
51988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51989 (eval $ac_link) 2>conftest.er1
51990 ac_status=$?
51991 grep -v '^ *+' conftest.er1 >conftest.err
51992 rm -f conftest.er1
51993 cat conftest.err >&5
51994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51995 (exit $ac_status); } &&
51996 { ac_try='test -z "$ac_c_werror_flag"
51997 || test ! -s conftest.err'
51998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51999 (eval $ac_try) 2>&5
52000 ac_status=$?
52001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52002 (exit $ac_status); }; } &&
52003 { ac_try='test -s conftest$ac_exeext'
52004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52005 (eval $ac_try) 2>&5
52006 ac_status=$?
52007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52008 (exit $ac_status); }; }; then
52009 eval "$as_ac_var=yes"
52010 else
52011 echo "$as_me: failed program was:" >&5
52012 sed 's/^/| /' conftest.$ac_ext >&5
52014 eval "$as_ac_var=no"
52016 rm -f conftest.err conftest.$ac_objext \
52017 conftest$ac_exeext conftest.$ac_ext
52019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52021 if test `eval echo '${'$as_ac_var'}'` = yes; then
52022 cat >>confdefs.h <<_ACEOF
52023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52024 _ACEOF
52027 done
52029 else
52031 echo "$as_me:$LINENO: checking for _modf declaration" >&5
52032 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
52033 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52034 if test "${glibcxx_cv_func__modf_use+set}" = set; then
52035 echo $ECHO_N "(cached) $ECHO_C" >&6
52036 else
52040 ac_ext=cc
52041 ac_cpp='$CXXCPP $CPPFLAGS'
52042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52046 cat >conftest.$ac_ext <<_ACEOF
52047 /* confdefs.h. */
52048 _ACEOF
52049 cat confdefs.h >>conftest.$ac_ext
52050 cat >>conftest.$ac_ext <<_ACEOF
52051 /* end confdefs.h. */
52052 #include <math.h>
52054 main ()
52056 _modf(0, 0);
52058 return 0;
52060 _ACEOF
52061 rm -f conftest.$ac_objext
52062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52063 (eval $ac_compile) 2>conftest.er1
52064 ac_status=$?
52065 grep -v '^ *+' conftest.er1 >conftest.err
52066 rm -f conftest.er1
52067 cat conftest.err >&5
52068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52069 (exit $ac_status); } &&
52070 { ac_try='test -z "$ac_cxx_werror_flag"
52071 || test ! -s conftest.err'
52072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52073 (eval $ac_try) 2>&5
52074 ac_status=$?
52075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52076 (exit $ac_status); }; } &&
52077 { ac_try='test -s conftest.$ac_objext'
52078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52079 (eval $ac_try) 2>&5
52080 ac_status=$?
52081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52082 (exit $ac_status); }; }; then
52083 glibcxx_cv_func__modf_use=yes
52084 else
52085 echo "$as_me: failed program was:" >&5
52086 sed 's/^/| /' conftest.$ac_ext >&5
52088 glibcxx_cv_func__modf_use=no
52090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52091 ac_ext=c
52092 ac_cpp='$CPP $CPPFLAGS'
52093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52102 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52104 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52106 for ac_func in _modf
52108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52109 echo "$as_me:$LINENO: checking for $ac_func" >&5
52110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52111 if eval "test \"\${$as_ac_var+set}\" = set"; then
52112 echo $ECHO_N "(cached) $ECHO_C" >&6
52113 else
52114 if test x$gcc_no_link = xyes; then
52115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52117 { (exit 1); exit 1; }; }
52119 cat >conftest.$ac_ext <<_ACEOF
52120 /* confdefs.h. */
52121 _ACEOF
52122 cat confdefs.h >>conftest.$ac_ext
52123 cat >>conftest.$ac_ext <<_ACEOF
52124 /* end confdefs.h. */
52125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52127 #define $ac_func innocuous_$ac_func
52129 /* System header to define __stub macros and hopefully few prototypes,
52130 which can conflict with char $ac_func (); below.
52131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52132 <limits.h> exists even on freestanding compilers. */
52134 #ifdef __STDC__
52135 # include <limits.h>
52136 #else
52137 # include <assert.h>
52138 #endif
52140 #undef $ac_func
52142 /* Override any gcc2 internal prototype to avoid an error. */
52143 #ifdef __cplusplus
52144 extern "C"
52146 #endif
52147 /* We use char because int might match the return type of a gcc2
52148 builtin and then its argument prototype would still apply. */
52149 char $ac_func ();
52150 /* The GNU C library defines this for functions which it implements
52151 to always fail with ENOSYS. Some functions are actually named
52152 something starting with __ and the normal name is an alias. */
52153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52154 choke me
52155 #else
52156 char (*f) () = $ac_func;
52157 #endif
52158 #ifdef __cplusplus
52160 #endif
52163 main ()
52165 return f != $ac_func;
52167 return 0;
52169 _ACEOF
52170 rm -f conftest.$ac_objext conftest$ac_exeext
52171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52172 (eval $ac_link) 2>conftest.er1
52173 ac_status=$?
52174 grep -v '^ *+' conftest.er1 >conftest.err
52175 rm -f conftest.er1
52176 cat conftest.err >&5
52177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52178 (exit $ac_status); } &&
52179 { ac_try='test -z "$ac_c_werror_flag"
52180 || test ! -s conftest.err'
52181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52182 (eval $ac_try) 2>&5
52183 ac_status=$?
52184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52185 (exit $ac_status); }; } &&
52186 { ac_try='test -s conftest$ac_exeext'
52187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52188 (eval $ac_try) 2>&5
52189 ac_status=$?
52190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52191 (exit $ac_status); }; }; then
52192 eval "$as_ac_var=yes"
52193 else
52194 echo "$as_me: failed program was:" >&5
52195 sed 's/^/| /' conftest.$ac_ext >&5
52197 eval "$as_ac_var=no"
52199 rm -f conftest.err conftest.$ac_objext \
52200 conftest$ac_exeext conftest.$ac_ext
52202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52204 if test `eval echo '${'$as_ac_var'}'` = yes; then
52205 cat >>confdefs.h <<_ACEOF
52206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52207 _ACEOF
52210 done
52220 echo "$as_me:$LINENO: checking for powf declaration" >&5
52221 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52222 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52223 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52224 echo $ECHO_N "(cached) $ECHO_C" >&6
52225 else
52229 ac_ext=cc
52230 ac_cpp='$CXXCPP $CPPFLAGS'
52231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52235 cat >conftest.$ac_ext <<_ACEOF
52236 /* confdefs.h. */
52237 _ACEOF
52238 cat confdefs.h >>conftest.$ac_ext
52239 cat >>conftest.$ac_ext <<_ACEOF
52240 /* end confdefs.h. */
52241 #include <math.h>
52243 main ()
52245 powf(0, 0);
52247 return 0;
52249 _ACEOF
52250 rm -f conftest.$ac_objext
52251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52252 (eval $ac_compile) 2>conftest.er1
52253 ac_status=$?
52254 grep -v '^ *+' conftest.er1 >conftest.err
52255 rm -f conftest.er1
52256 cat conftest.err >&5
52257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52258 (exit $ac_status); } &&
52259 { ac_try='test -z "$ac_cxx_werror_flag"
52260 || test ! -s conftest.err'
52261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52262 (eval $ac_try) 2>&5
52263 ac_status=$?
52264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52265 (exit $ac_status); }; } &&
52266 { ac_try='test -s conftest.$ac_objext'
52267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52268 (eval $ac_try) 2>&5
52269 ac_status=$?
52270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52271 (exit $ac_status); }; }; then
52272 glibcxx_cv_func_powf_use=yes
52273 else
52274 echo "$as_me: failed program was:" >&5
52275 sed 's/^/| /' conftest.$ac_ext >&5
52277 glibcxx_cv_func_powf_use=no
52279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52280 ac_ext=c
52281 ac_cpp='$CPP $CPPFLAGS'
52282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52291 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52293 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52295 for ac_func in powf
52297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52298 echo "$as_me:$LINENO: checking for $ac_func" >&5
52299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52300 if eval "test \"\${$as_ac_var+set}\" = set"; then
52301 echo $ECHO_N "(cached) $ECHO_C" >&6
52302 else
52303 if test x$gcc_no_link = xyes; then
52304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52306 { (exit 1); exit 1; }; }
52308 cat >conftest.$ac_ext <<_ACEOF
52309 /* confdefs.h. */
52310 _ACEOF
52311 cat confdefs.h >>conftest.$ac_ext
52312 cat >>conftest.$ac_ext <<_ACEOF
52313 /* end confdefs.h. */
52314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52316 #define $ac_func innocuous_$ac_func
52318 /* System header to define __stub macros and hopefully few prototypes,
52319 which can conflict with char $ac_func (); below.
52320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52321 <limits.h> exists even on freestanding compilers. */
52323 #ifdef __STDC__
52324 # include <limits.h>
52325 #else
52326 # include <assert.h>
52327 #endif
52329 #undef $ac_func
52331 /* Override any gcc2 internal prototype to avoid an error. */
52332 #ifdef __cplusplus
52333 extern "C"
52335 #endif
52336 /* We use char because int might match the return type of a gcc2
52337 builtin and then its argument prototype would still apply. */
52338 char $ac_func ();
52339 /* The GNU C library defines this for functions which it implements
52340 to always fail with ENOSYS. Some functions are actually named
52341 something starting with __ and the normal name is an alias. */
52342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52343 choke me
52344 #else
52345 char (*f) () = $ac_func;
52346 #endif
52347 #ifdef __cplusplus
52349 #endif
52352 main ()
52354 return f != $ac_func;
52356 return 0;
52358 _ACEOF
52359 rm -f conftest.$ac_objext conftest$ac_exeext
52360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52361 (eval $ac_link) 2>conftest.er1
52362 ac_status=$?
52363 grep -v '^ *+' conftest.er1 >conftest.err
52364 rm -f conftest.er1
52365 cat conftest.err >&5
52366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52367 (exit $ac_status); } &&
52368 { ac_try='test -z "$ac_c_werror_flag"
52369 || test ! -s conftest.err'
52370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52371 (eval $ac_try) 2>&5
52372 ac_status=$?
52373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52374 (exit $ac_status); }; } &&
52375 { ac_try='test -s conftest$ac_exeext'
52376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52377 (eval $ac_try) 2>&5
52378 ac_status=$?
52379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52380 (exit $ac_status); }; }; then
52381 eval "$as_ac_var=yes"
52382 else
52383 echo "$as_me: failed program was:" >&5
52384 sed 's/^/| /' conftest.$ac_ext >&5
52386 eval "$as_ac_var=no"
52388 rm -f conftest.err conftest.$ac_objext \
52389 conftest$ac_exeext conftest.$ac_ext
52391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52393 if test `eval echo '${'$as_ac_var'}'` = yes; then
52394 cat >>confdefs.h <<_ACEOF
52395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52396 _ACEOF
52399 done
52401 else
52403 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52404 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52405 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52406 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52407 echo $ECHO_N "(cached) $ECHO_C" >&6
52408 else
52412 ac_ext=cc
52413 ac_cpp='$CXXCPP $CPPFLAGS'
52414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52418 cat >conftest.$ac_ext <<_ACEOF
52419 /* confdefs.h. */
52420 _ACEOF
52421 cat confdefs.h >>conftest.$ac_ext
52422 cat >>conftest.$ac_ext <<_ACEOF
52423 /* end confdefs.h. */
52424 #include <math.h>
52426 main ()
52428 _powf(0, 0);
52430 return 0;
52432 _ACEOF
52433 rm -f conftest.$ac_objext
52434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52435 (eval $ac_compile) 2>conftest.er1
52436 ac_status=$?
52437 grep -v '^ *+' conftest.er1 >conftest.err
52438 rm -f conftest.er1
52439 cat conftest.err >&5
52440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52441 (exit $ac_status); } &&
52442 { ac_try='test -z "$ac_cxx_werror_flag"
52443 || test ! -s conftest.err'
52444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52445 (eval $ac_try) 2>&5
52446 ac_status=$?
52447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52448 (exit $ac_status); }; } &&
52449 { ac_try='test -s conftest.$ac_objext'
52450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52451 (eval $ac_try) 2>&5
52452 ac_status=$?
52453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52454 (exit $ac_status); }; }; then
52455 glibcxx_cv_func__powf_use=yes
52456 else
52457 echo "$as_me: failed program was:" >&5
52458 sed 's/^/| /' conftest.$ac_ext >&5
52460 glibcxx_cv_func__powf_use=no
52462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52463 ac_ext=c
52464 ac_cpp='$CPP $CPPFLAGS'
52465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52473 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52474 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52476 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52478 for ac_func in _powf
52480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52481 echo "$as_me:$LINENO: checking for $ac_func" >&5
52482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52483 if eval "test \"\${$as_ac_var+set}\" = set"; then
52484 echo $ECHO_N "(cached) $ECHO_C" >&6
52485 else
52486 if test x$gcc_no_link = xyes; then
52487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52489 { (exit 1); exit 1; }; }
52491 cat >conftest.$ac_ext <<_ACEOF
52492 /* confdefs.h. */
52493 _ACEOF
52494 cat confdefs.h >>conftest.$ac_ext
52495 cat >>conftest.$ac_ext <<_ACEOF
52496 /* end confdefs.h. */
52497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52499 #define $ac_func innocuous_$ac_func
52501 /* System header to define __stub macros and hopefully few prototypes,
52502 which can conflict with char $ac_func (); below.
52503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52504 <limits.h> exists even on freestanding compilers. */
52506 #ifdef __STDC__
52507 # include <limits.h>
52508 #else
52509 # include <assert.h>
52510 #endif
52512 #undef $ac_func
52514 /* Override any gcc2 internal prototype to avoid an error. */
52515 #ifdef __cplusplus
52516 extern "C"
52518 #endif
52519 /* We use char because int might match the return type of a gcc2
52520 builtin and then its argument prototype would still apply. */
52521 char $ac_func ();
52522 /* The GNU C library defines this for functions which it implements
52523 to always fail with ENOSYS. Some functions are actually named
52524 something starting with __ and the normal name is an alias. */
52525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52526 choke me
52527 #else
52528 char (*f) () = $ac_func;
52529 #endif
52530 #ifdef __cplusplus
52532 #endif
52535 main ()
52537 return f != $ac_func;
52539 return 0;
52541 _ACEOF
52542 rm -f conftest.$ac_objext conftest$ac_exeext
52543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52544 (eval $ac_link) 2>conftest.er1
52545 ac_status=$?
52546 grep -v '^ *+' conftest.er1 >conftest.err
52547 rm -f conftest.er1
52548 cat conftest.err >&5
52549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52550 (exit $ac_status); } &&
52551 { ac_try='test -z "$ac_c_werror_flag"
52552 || test ! -s conftest.err'
52553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52554 (eval $ac_try) 2>&5
52555 ac_status=$?
52556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52557 (exit $ac_status); }; } &&
52558 { ac_try='test -s conftest$ac_exeext'
52559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52560 (eval $ac_try) 2>&5
52561 ac_status=$?
52562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52563 (exit $ac_status); }; }; then
52564 eval "$as_ac_var=yes"
52565 else
52566 echo "$as_me: failed program was:" >&5
52567 sed 's/^/| /' conftest.$ac_ext >&5
52569 eval "$as_ac_var=no"
52571 rm -f conftest.err conftest.$ac_objext \
52572 conftest$ac_exeext conftest.$ac_ext
52574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52576 if test `eval echo '${'$as_ac_var'}'` = yes; then
52577 cat >>confdefs.h <<_ACEOF
52578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52579 _ACEOF
52582 done
52592 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52593 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52594 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52595 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52596 echo $ECHO_N "(cached) $ECHO_C" >&6
52597 else
52601 ac_ext=cc
52602 ac_cpp='$CXXCPP $CPPFLAGS'
52603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52607 cat >conftest.$ac_ext <<_ACEOF
52608 /* confdefs.h. */
52609 _ACEOF
52610 cat confdefs.h >>conftest.$ac_ext
52611 cat >>conftest.$ac_ext <<_ACEOF
52612 /* end confdefs.h. */
52613 #include <math.h>
52614 #ifdef HAVE_IEEEFP_H
52615 #include <ieeefp.h>
52616 #endif
52619 main ()
52621 sqrtf(0);
52623 return 0;
52625 _ACEOF
52626 rm -f conftest.$ac_objext
52627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52628 (eval $ac_compile) 2>conftest.er1
52629 ac_status=$?
52630 grep -v '^ *+' conftest.er1 >conftest.err
52631 rm -f conftest.er1
52632 cat conftest.err >&5
52633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52634 (exit $ac_status); } &&
52635 { ac_try='test -z "$ac_cxx_werror_flag"
52636 || test ! -s conftest.err'
52637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52638 (eval $ac_try) 2>&5
52639 ac_status=$?
52640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52641 (exit $ac_status); }; } &&
52642 { ac_try='test -s conftest.$ac_objext'
52643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52644 (eval $ac_try) 2>&5
52645 ac_status=$?
52646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52647 (exit $ac_status); }; }; then
52648 glibcxx_cv_func_sqrtf_use=yes
52649 else
52650 echo "$as_me: failed program was:" >&5
52651 sed 's/^/| /' conftest.$ac_ext >&5
52653 glibcxx_cv_func_sqrtf_use=no
52655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52656 ac_ext=c
52657 ac_cpp='$CPP $CPPFLAGS'
52658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52667 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52669 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52671 for ac_func in sqrtf
52673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52674 echo "$as_me:$LINENO: checking for $ac_func" >&5
52675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52676 if eval "test \"\${$as_ac_var+set}\" = set"; then
52677 echo $ECHO_N "(cached) $ECHO_C" >&6
52678 else
52679 if test x$gcc_no_link = xyes; then
52680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52682 { (exit 1); exit 1; }; }
52684 cat >conftest.$ac_ext <<_ACEOF
52685 /* confdefs.h. */
52686 _ACEOF
52687 cat confdefs.h >>conftest.$ac_ext
52688 cat >>conftest.$ac_ext <<_ACEOF
52689 /* end confdefs.h. */
52690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52692 #define $ac_func innocuous_$ac_func
52694 /* System header to define __stub macros and hopefully few prototypes,
52695 which can conflict with char $ac_func (); below.
52696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52697 <limits.h> exists even on freestanding compilers. */
52699 #ifdef __STDC__
52700 # include <limits.h>
52701 #else
52702 # include <assert.h>
52703 #endif
52705 #undef $ac_func
52707 /* Override any gcc2 internal prototype to avoid an error. */
52708 #ifdef __cplusplus
52709 extern "C"
52711 #endif
52712 /* We use char because int might match the return type of a gcc2
52713 builtin and then its argument prototype would still apply. */
52714 char $ac_func ();
52715 /* The GNU C library defines this for functions which it implements
52716 to always fail with ENOSYS. Some functions are actually named
52717 something starting with __ and the normal name is an alias. */
52718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52719 choke me
52720 #else
52721 char (*f) () = $ac_func;
52722 #endif
52723 #ifdef __cplusplus
52725 #endif
52728 main ()
52730 return f != $ac_func;
52732 return 0;
52734 _ACEOF
52735 rm -f conftest.$ac_objext conftest$ac_exeext
52736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52737 (eval $ac_link) 2>conftest.er1
52738 ac_status=$?
52739 grep -v '^ *+' conftest.er1 >conftest.err
52740 rm -f conftest.er1
52741 cat conftest.err >&5
52742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52743 (exit $ac_status); } &&
52744 { ac_try='test -z "$ac_c_werror_flag"
52745 || test ! -s conftest.err'
52746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52747 (eval $ac_try) 2>&5
52748 ac_status=$?
52749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52750 (exit $ac_status); }; } &&
52751 { ac_try='test -s conftest$ac_exeext'
52752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52753 (eval $ac_try) 2>&5
52754 ac_status=$?
52755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52756 (exit $ac_status); }; }; then
52757 eval "$as_ac_var=yes"
52758 else
52759 echo "$as_me: failed program was:" >&5
52760 sed 's/^/| /' conftest.$ac_ext >&5
52762 eval "$as_ac_var=no"
52764 rm -f conftest.err conftest.$ac_objext \
52765 conftest$ac_exeext conftest.$ac_ext
52767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52769 if test `eval echo '${'$as_ac_var'}'` = yes; then
52770 cat >>confdefs.h <<_ACEOF
52771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52772 _ACEOF
52775 done
52777 else
52779 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52780 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52781 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52782 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52783 echo $ECHO_N "(cached) $ECHO_C" >&6
52784 else
52788 ac_ext=cc
52789 ac_cpp='$CXXCPP $CPPFLAGS'
52790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52794 cat >conftest.$ac_ext <<_ACEOF
52795 /* confdefs.h. */
52796 _ACEOF
52797 cat confdefs.h >>conftest.$ac_ext
52798 cat >>conftest.$ac_ext <<_ACEOF
52799 /* end confdefs.h. */
52800 #include <math.h>
52801 #ifdef HAVE_IEEEFP_H
52802 #include <ieeefp.h>
52803 #endif
52806 main ()
52808 _sqrtf(0);
52810 return 0;
52812 _ACEOF
52813 rm -f conftest.$ac_objext
52814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52815 (eval $ac_compile) 2>conftest.er1
52816 ac_status=$?
52817 grep -v '^ *+' conftest.er1 >conftest.err
52818 rm -f conftest.er1
52819 cat conftest.err >&5
52820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52821 (exit $ac_status); } &&
52822 { ac_try='test -z "$ac_cxx_werror_flag"
52823 || test ! -s conftest.err'
52824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52825 (eval $ac_try) 2>&5
52826 ac_status=$?
52827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52828 (exit $ac_status); }; } &&
52829 { ac_try='test -s conftest.$ac_objext'
52830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52831 (eval $ac_try) 2>&5
52832 ac_status=$?
52833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52834 (exit $ac_status); }; }; then
52835 glibcxx_cv_func__sqrtf_use=yes
52836 else
52837 echo "$as_me: failed program was:" >&5
52838 sed 's/^/| /' conftest.$ac_ext >&5
52840 glibcxx_cv_func__sqrtf_use=no
52842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52843 ac_ext=c
52844 ac_cpp='$CPP $CPPFLAGS'
52845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52854 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52856 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52858 for ac_func in _sqrtf
52860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52861 echo "$as_me:$LINENO: checking for $ac_func" >&5
52862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52863 if eval "test \"\${$as_ac_var+set}\" = set"; then
52864 echo $ECHO_N "(cached) $ECHO_C" >&6
52865 else
52866 if test x$gcc_no_link = xyes; then
52867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52869 { (exit 1); exit 1; }; }
52871 cat >conftest.$ac_ext <<_ACEOF
52872 /* confdefs.h. */
52873 _ACEOF
52874 cat confdefs.h >>conftest.$ac_ext
52875 cat >>conftest.$ac_ext <<_ACEOF
52876 /* end confdefs.h. */
52877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52879 #define $ac_func innocuous_$ac_func
52881 /* System header to define __stub macros and hopefully few prototypes,
52882 which can conflict with char $ac_func (); below.
52883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52884 <limits.h> exists even on freestanding compilers. */
52886 #ifdef __STDC__
52887 # include <limits.h>
52888 #else
52889 # include <assert.h>
52890 #endif
52892 #undef $ac_func
52894 /* Override any gcc2 internal prototype to avoid an error. */
52895 #ifdef __cplusplus
52896 extern "C"
52898 #endif
52899 /* We use char because int might match the return type of a gcc2
52900 builtin and then its argument prototype would still apply. */
52901 char $ac_func ();
52902 /* The GNU C library defines this for functions which it implements
52903 to always fail with ENOSYS. Some functions are actually named
52904 something starting with __ and the normal name is an alias. */
52905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52906 choke me
52907 #else
52908 char (*f) () = $ac_func;
52909 #endif
52910 #ifdef __cplusplus
52912 #endif
52915 main ()
52917 return f != $ac_func;
52919 return 0;
52921 _ACEOF
52922 rm -f conftest.$ac_objext conftest$ac_exeext
52923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52924 (eval $ac_link) 2>conftest.er1
52925 ac_status=$?
52926 grep -v '^ *+' conftest.er1 >conftest.err
52927 rm -f conftest.er1
52928 cat conftest.err >&5
52929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52930 (exit $ac_status); } &&
52931 { ac_try='test -z "$ac_c_werror_flag"
52932 || test ! -s conftest.err'
52933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52934 (eval $ac_try) 2>&5
52935 ac_status=$?
52936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52937 (exit $ac_status); }; } &&
52938 { ac_try='test -s conftest$ac_exeext'
52939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52940 (eval $ac_try) 2>&5
52941 ac_status=$?
52942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52943 (exit $ac_status); }; }; then
52944 eval "$as_ac_var=yes"
52945 else
52946 echo "$as_me: failed program was:" >&5
52947 sed 's/^/| /' conftest.$ac_ext >&5
52949 eval "$as_ac_var=no"
52951 rm -f conftest.err conftest.$ac_objext \
52952 conftest$ac_exeext conftest.$ac_ext
52954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52956 if test `eval echo '${'$as_ac_var'}'` = yes; then
52957 cat >>confdefs.h <<_ACEOF
52958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52959 _ACEOF
52962 done
52972 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52973 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52974 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52975 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52976 echo $ECHO_N "(cached) $ECHO_C" >&6
52977 else
52981 ac_ext=cc
52982 ac_cpp='$CXXCPP $CPPFLAGS'
52983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52987 cat >conftest.$ac_ext <<_ACEOF
52988 /* confdefs.h. */
52989 _ACEOF
52990 cat confdefs.h >>conftest.$ac_ext
52991 cat >>conftest.$ac_ext <<_ACEOF
52992 /* end confdefs.h. */
52993 #include <math.h>
52995 main ()
52997 sincosf(0, 0, 0);
52999 return 0;
53001 _ACEOF
53002 rm -f conftest.$ac_objext
53003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53004 (eval $ac_compile) 2>conftest.er1
53005 ac_status=$?
53006 grep -v '^ *+' conftest.er1 >conftest.err
53007 rm -f conftest.er1
53008 cat conftest.err >&5
53009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53010 (exit $ac_status); } &&
53011 { ac_try='test -z "$ac_cxx_werror_flag"
53012 || test ! -s conftest.err'
53013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53014 (eval $ac_try) 2>&5
53015 ac_status=$?
53016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53017 (exit $ac_status); }; } &&
53018 { ac_try='test -s conftest.$ac_objext'
53019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53020 (eval $ac_try) 2>&5
53021 ac_status=$?
53022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023 (exit $ac_status); }; }; then
53024 glibcxx_cv_func_sincosf_use=yes
53025 else
53026 echo "$as_me: failed program was:" >&5
53027 sed 's/^/| /' conftest.$ac_ext >&5
53029 glibcxx_cv_func_sincosf_use=no
53031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53032 ac_ext=c
53033 ac_cpp='$CPP $CPPFLAGS'
53034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53043 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53045 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53047 for ac_func in sincosf
53049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53050 echo "$as_me:$LINENO: checking for $ac_func" >&5
53051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53052 if eval "test \"\${$as_ac_var+set}\" = set"; then
53053 echo $ECHO_N "(cached) $ECHO_C" >&6
53054 else
53055 if test x$gcc_no_link = xyes; then
53056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53058 { (exit 1); exit 1; }; }
53060 cat >conftest.$ac_ext <<_ACEOF
53061 /* confdefs.h. */
53062 _ACEOF
53063 cat confdefs.h >>conftest.$ac_ext
53064 cat >>conftest.$ac_ext <<_ACEOF
53065 /* end confdefs.h. */
53066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53068 #define $ac_func innocuous_$ac_func
53070 /* System header to define __stub macros and hopefully few prototypes,
53071 which can conflict with char $ac_func (); below.
53072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53073 <limits.h> exists even on freestanding compilers. */
53075 #ifdef __STDC__
53076 # include <limits.h>
53077 #else
53078 # include <assert.h>
53079 #endif
53081 #undef $ac_func
53083 /* Override any gcc2 internal prototype to avoid an error. */
53084 #ifdef __cplusplus
53085 extern "C"
53087 #endif
53088 /* We use char because int might match the return type of a gcc2
53089 builtin and then its argument prototype would still apply. */
53090 char $ac_func ();
53091 /* The GNU C library defines this for functions which it implements
53092 to always fail with ENOSYS. Some functions are actually named
53093 something starting with __ and the normal name is an alias. */
53094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53095 choke me
53096 #else
53097 char (*f) () = $ac_func;
53098 #endif
53099 #ifdef __cplusplus
53101 #endif
53104 main ()
53106 return f != $ac_func;
53108 return 0;
53110 _ACEOF
53111 rm -f conftest.$ac_objext conftest$ac_exeext
53112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53113 (eval $ac_link) 2>conftest.er1
53114 ac_status=$?
53115 grep -v '^ *+' conftest.er1 >conftest.err
53116 rm -f conftest.er1
53117 cat conftest.err >&5
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); } &&
53120 { ac_try='test -z "$ac_c_werror_flag"
53121 || test ! -s conftest.err'
53122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53123 (eval $ac_try) 2>&5
53124 ac_status=$?
53125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53126 (exit $ac_status); }; } &&
53127 { ac_try='test -s conftest$ac_exeext'
53128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53129 (eval $ac_try) 2>&5
53130 ac_status=$?
53131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53132 (exit $ac_status); }; }; then
53133 eval "$as_ac_var=yes"
53134 else
53135 echo "$as_me: failed program was:" >&5
53136 sed 's/^/| /' conftest.$ac_ext >&5
53138 eval "$as_ac_var=no"
53140 rm -f conftest.err conftest.$ac_objext \
53141 conftest$ac_exeext conftest.$ac_ext
53143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53145 if test `eval echo '${'$as_ac_var'}'` = yes; then
53146 cat >>confdefs.h <<_ACEOF
53147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53148 _ACEOF
53151 done
53153 else
53155 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53156 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53157 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53158 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53159 echo $ECHO_N "(cached) $ECHO_C" >&6
53160 else
53164 ac_ext=cc
53165 ac_cpp='$CXXCPP $CPPFLAGS'
53166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53170 cat >conftest.$ac_ext <<_ACEOF
53171 /* confdefs.h. */
53172 _ACEOF
53173 cat confdefs.h >>conftest.$ac_ext
53174 cat >>conftest.$ac_ext <<_ACEOF
53175 /* end confdefs.h. */
53176 #include <math.h>
53178 main ()
53180 _sincosf(0, 0, 0);
53182 return 0;
53184 _ACEOF
53185 rm -f conftest.$ac_objext
53186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53187 (eval $ac_compile) 2>conftest.er1
53188 ac_status=$?
53189 grep -v '^ *+' conftest.er1 >conftest.err
53190 rm -f conftest.er1
53191 cat conftest.err >&5
53192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53193 (exit $ac_status); } &&
53194 { ac_try='test -z "$ac_cxx_werror_flag"
53195 || test ! -s conftest.err'
53196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53197 (eval $ac_try) 2>&5
53198 ac_status=$?
53199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53200 (exit $ac_status); }; } &&
53201 { ac_try='test -s conftest.$ac_objext'
53202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53203 (eval $ac_try) 2>&5
53204 ac_status=$?
53205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53206 (exit $ac_status); }; }; then
53207 glibcxx_cv_func__sincosf_use=yes
53208 else
53209 echo "$as_me: failed program was:" >&5
53210 sed 's/^/| /' conftest.$ac_ext >&5
53212 glibcxx_cv_func__sincosf_use=no
53214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53215 ac_ext=c
53216 ac_cpp='$CPP $CPPFLAGS'
53217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53226 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53228 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53230 for ac_func in _sincosf
53232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53233 echo "$as_me:$LINENO: checking for $ac_func" >&5
53234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53235 if eval "test \"\${$as_ac_var+set}\" = set"; then
53236 echo $ECHO_N "(cached) $ECHO_C" >&6
53237 else
53238 if test x$gcc_no_link = xyes; then
53239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53241 { (exit 1); exit 1; }; }
53243 cat >conftest.$ac_ext <<_ACEOF
53244 /* confdefs.h. */
53245 _ACEOF
53246 cat confdefs.h >>conftest.$ac_ext
53247 cat >>conftest.$ac_ext <<_ACEOF
53248 /* end confdefs.h. */
53249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53251 #define $ac_func innocuous_$ac_func
53253 /* System header to define __stub macros and hopefully few prototypes,
53254 which can conflict with char $ac_func (); below.
53255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53256 <limits.h> exists even on freestanding compilers. */
53258 #ifdef __STDC__
53259 # include <limits.h>
53260 #else
53261 # include <assert.h>
53262 #endif
53264 #undef $ac_func
53266 /* Override any gcc2 internal prototype to avoid an error. */
53267 #ifdef __cplusplus
53268 extern "C"
53270 #endif
53271 /* We use char because int might match the return type of a gcc2
53272 builtin and then its argument prototype would still apply. */
53273 char $ac_func ();
53274 /* The GNU C library defines this for functions which it implements
53275 to always fail with ENOSYS. Some functions are actually named
53276 something starting with __ and the normal name is an alias. */
53277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53278 choke me
53279 #else
53280 char (*f) () = $ac_func;
53281 #endif
53282 #ifdef __cplusplus
53284 #endif
53287 main ()
53289 return f != $ac_func;
53291 return 0;
53293 _ACEOF
53294 rm -f conftest.$ac_objext conftest$ac_exeext
53295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53296 (eval $ac_link) 2>conftest.er1
53297 ac_status=$?
53298 grep -v '^ *+' conftest.er1 >conftest.err
53299 rm -f conftest.er1
53300 cat conftest.err >&5
53301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302 (exit $ac_status); } &&
53303 { ac_try='test -z "$ac_c_werror_flag"
53304 || test ! -s conftest.err'
53305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53306 (eval $ac_try) 2>&5
53307 ac_status=$?
53308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53309 (exit $ac_status); }; } &&
53310 { ac_try='test -s conftest$ac_exeext'
53311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53312 (eval $ac_try) 2>&5
53313 ac_status=$?
53314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53315 (exit $ac_status); }; }; then
53316 eval "$as_ac_var=yes"
53317 else
53318 echo "$as_me: failed program was:" >&5
53319 sed 's/^/| /' conftest.$ac_ext >&5
53321 eval "$as_ac_var=no"
53323 rm -f conftest.err conftest.$ac_objext \
53324 conftest$ac_exeext conftest.$ac_ext
53326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53328 if test `eval echo '${'$as_ac_var'}'` = yes; then
53329 cat >>confdefs.h <<_ACEOF
53330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53331 _ACEOF
53334 done
53344 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53345 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53346 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53347 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53348 echo $ECHO_N "(cached) $ECHO_C" >&6
53349 else
53353 ac_ext=cc
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53359 cat >conftest.$ac_ext <<_ACEOF
53360 /* confdefs.h. */
53361 _ACEOF
53362 cat confdefs.h >>conftest.$ac_ext
53363 cat >>conftest.$ac_ext <<_ACEOF
53364 /* end confdefs.h. */
53365 #include <math.h>
53366 #ifdef HAVE_IEEEFP_H
53367 #include <ieeefp.h>
53368 #endif
53371 main ()
53373 finitef(0);
53375 return 0;
53377 _ACEOF
53378 rm -f conftest.$ac_objext
53379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53380 (eval $ac_compile) 2>conftest.er1
53381 ac_status=$?
53382 grep -v '^ *+' conftest.er1 >conftest.err
53383 rm -f conftest.er1
53384 cat conftest.err >&5
53385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53386 (exit $ac_status); } &&
53387 { ac_try='test -z "$ac_cxx_werror_flag"
53388 || test ! -s conftest.err'
53389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53390 (eval $ac_try) 2>&5
53391 ac_status=$?
53392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53393 (exit $ac_status); }; } &&
53394 { ac_try='test -s conftest.$ac_objext'
53395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53396 (eval $ac_try) 2>&5
53397 ac_status=$?
53398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53399 (exit $ac_status); }; }; then
53400 glibcxx_cv_func_finitef_use=yes
53401 else
53402 echo "$as_me: failed program was:" >&5
53403 sed 's/^/| /' conftest.$ac_ext >&5
53405 glibcxx_cv_func_finitef_use=no
53407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53408 ac_ext=c
53409 ac_cpp='$CPP $CPPFLAGS'
53410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53419 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53421 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53423 for ac_func in finitef
53425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53426 echo "$as_me:$LINENO: checking for $ac_func" >&5
53427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53428 if eval "test \"\${$as_ac_var+set}\" = set"; then
53429 echo $ECHO_N "(cached) $ECHO_C" >&6
53430 else
53431 if test x$gcc_no_link = xyes; then
53432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53434 { (exit 1); exit 1; }; }
53436 cat >conftest.$ac_ext <<_ACEOF
53437 /* confdefs.h. */
53438 _ACEOF
53439 cat confdefs.h >>conftest.$ac_ext
53440 cat >>conftest.$ac_ext <<_ACEOF
53441 /* end confdefs.h. */
53442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53444 #define $ac_func innocuous_$ac_func
53446 /* System header to define __stub macros and hopefully few prototypes,
53447 which can conflict with char $ac_func (); below.
53448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53449 <limits.h> exists even on freestanding compilers. */
53451 #ifdef __STDC__
53452 # include <limits.h>
53453 #else
53454 # include <assert.h>
53455 #endif
53457 #undef $ac_func
53459 /* Override any gcc2 internal prototype to avoid an error. */
53460 #ifdef __cplusplus
53461 extern "C"
53463 #endif
53464 /* We use char because int might match the return type of a gcc2
53465 builtin and then its argument prototype would still apply. */
53466 char $ac_func ();
53467 /* The GNU C library defines this for functions which it implements
53468 to always fail with ENOSYS. Some functions are actually named
53469 something starting with __ and the normal name is an alias. */
53470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53471 choke me
53472 #else
53473 char (*f) () = $ac_func;
53474 #endif
53475 #ifdef __cplusplus
53477 #endif
53480 main ()
53482 return f != $ac_func;
53484 return 0;
53486 _ACEOF
53487 rm -f conftest.$ac_objext conftest$ac_exeext
53488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53489 (eval $ac_link) 2>conftest.er1
53490 ac_status=$?
53491 grep -v '^ *+' conftest.er1 >conftest.err
53492 rm -f conftest.er1
53493 cat conftest.err >&5
53494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53495 (exit $ac_status); } &&
53496 { ac_try='test -z "$ac_c_werror_flag"
53497 || test ! -s conftest.err'
53498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53499 (eval $ac_try) 2>&5
53500 ac_status=$?
53501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53502 (exit $ac_status); }; } &&
53503 { ac_try='test -s conftest$ac_exeext'
53504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53505 (eval $ac_try) 2>&5
53506 ac_status=$?
53507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53508 (exit $ac_status); }; }; then
53509 eval "$as_ac_var=yes"
53510 else
53511 echo "$as_me: failed program was:" >&5
53512 sed 's/^/| /' conftest.$ac_ext >&5
53514 eval "$as_ac_var=no"
53516 rm -f conftest.err conftest.$ac_objext \
53517 conftest$ac_exeext conftest.$ac_ext
53519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53521 if test `eval echo '${'$as_ac_var'}'` = yes; then
53522 cat >>confdefs.h <<_ACEOF
53523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53524 _ACEOF
53527 done
53529 else
53531 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53532 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53533 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53534 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53535 echo $ECHO_N "(cached) $ECHO_C" >&6
53536 else
53540 ac_ext=cc
53541 ac_cpp='$CXXCPP $CPPFLAGS'
53542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53546 cat >conftest.$ac_ext <<_ACEOF
53547 /* confdefs.h. */
53548 _ACEOF
53549 cat confdefs.h >>conftest.$ac_ext
53550 cat >>conftest.$ac_ext <<_ACEOF
53551 /* end confdefs.h. */
53552 #include <math.h>
53553 #ifdef HAVE_IEEEFP_H
53554 #include <ieeefp.h>
53555 #endif
53558 main ()
53560 _finitef(0);
53562 return 0;
53564 _ACEOF
53565 rm -f conftest.$ac_objext
53566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53567 (eval $ac_compile) 2>conftest.er1
53568 ac_status=$?
53569 grep -v '^ *+' conftest.er1 >conftest.err
53570 rm -f conftest.er1
53571 cat conftest.err >&5
53572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53573 (exit $ac_status); } &&
53574 { ac_try='test -z "$ac_cxx_werror_flag"
53575 || test ! -s conftest.err'
53576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53577 (eval $ac_try) 2>&5
53578 ac_status=$?
53579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53580 (exit $ac_status); }; } &&
53581 { ac_try='test -s conftest.$ac_objext'
53582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53583 (eval $ac_try) 2>&5
53584 ac_status=$?
53585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53586 (exit $ac_status); }; }; then
53587 glibcxx_cv_func__finitef_use=yes
53588 else
53589 echo "$as_me: failed program was:" >&5
53590 sed 's/^/| /' conftest.$ac_ext >&5
53592 glibcxx_cv_func__finitef_use=no
53594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53595 ac_ext=c
53596 ac_cpp='$CPP $CPPFLAGS'
53597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53605 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53606 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53608 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53610 for ac_func in _finitef
53612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53613 echo "$as_me:$LINENO: checking for $ac_func" >&5
53614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53615 if eval "test \"\${$as_ac_var+set}\" = set"; then
53616 echo $ECHO_N "(cached) $ECHO_C" >&6
53617 else
53618 if test x$gcc_no_link = xyes; then
53619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53621 { (exit 1); exit 1; }; }
53623 cat >conftest.$ac_ext <<_ACEOF
53624 /* confdefs.h. */
53625 _ACEOF
53626 cat confdefs.h >>conftest.$ac_ext
53627 cat >>conftest.$ac_ext <<_ACEOF
53628 /* end confdefs.h. */
53629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53631 #define $ac_func innocuous_$ac_func
53633 /* System header to define __stub macros and hopefully few prototypes,
53634 which can conflict with char $ac_func (); below.
53635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53636 <limits.h> exists even on freestanding compilers. */
53638 #ifdef __STDC__
53639 # include <limits.h>
53640 #else
53641 # include <assert.h>
53642 #endif
53644 #undef $ac_func
53646 /* Override any gcc2 internal prototype to avoid an error. */
53647 #ifdef __cplusplus
53648 extern "C"
53650 #endif
53651 /* We use char because int might match the return type of a gcc2
53652 builtin and then its argument prototype would still apply. */
53653 char $ac_func ();
53654 /* The GNU C library defines this for functions which it implements
53655 to always fail with ENOSYS. Some functions are actually named
53656 something starting with __ and the normal name is an alias. */
53657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53658 choke me
53659 #else
53660 char (*f) () = $ac_func;
53661 #endif
53662 #ifdef __cplusplus
53664 #endif
53667 main ()
53669 return f != $ac_func;
53671 return 0;
53673 _ACEOF
53674 rm -f conftest.$ac_objext conftest$ac_exeext
53675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53676 (eval $ac_link) 2>conftest.er1
53677 ac_status=$?
53678 grep -v '^ *+' conftest.er1 >conftest.err
53679 rm -f conftest.er1
53680 cat conftest.err >&5
53681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53682 (exit $ac_status); } &&
53683 { ac_try='test -z "$ac_c_werror_flag"
53684 || test ! -s conftest.err'
53685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53686 (eval $ac_try) 2>&5
53687 ac_status=$?
53688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53689 (exit $ac_status); }; } &&
53690 { ac_try='test -s conftest$ac_exeext'
53691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53692 (eval $ac_try) 2>&5
53693 ac_status=$?
53694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53695 (exit $ac_status); }; }; then
53696 eval "$as_ac_var=yes"
53697 else
53698 echo "$as_me: failed program was:" >&5
53699 sed 's/^/| /' conftest.$ac_ext >&5
53701 eval "$as_ac_var=no"
53703 rm -f conftest.err conftest.$ac_objext \
53704 conftest$ac_exeext conftest.$ac_ext
53706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53708 if test `eval echo '${'$as_ac_var'}'` = yes; then
53709 cat >>confdefs.h <<_ACEOF
53710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53711 _ACEOF
53714 done
53724 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53725 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53726 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53727 echo $ECHO_N "(cached) $ECHO_C" >&6
53728 else
53732 ac_ext=cc
53733 ac_cpp='$CXXCPP $CPPFLAGS'
53734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53738 cat >conftest.$ac_ext <<_ACEOF
53739 /* confdefs.h. */
53740 _ACEOF
53741 cat confdefs.h >>conftest.$ac_ext
53742 cat >>conftest.$ac_ext <<_ACEOF
53743 /* end confdefs.h. */
53744 #include <math.h>
53746 main ()
53748 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53750 return 0;
53752 _ACEOF
53753 rm -f conftest.$ac_objext
53754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53755 (eval $ac_compile) 2>conftest.er1
53756 ac_status=$?
53757 grep -v '^ *+' conftest.er1 >conftest.err
53758 rm -f conftest.er1
53759 cat conftest.err >&5
53760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53761 (exit $ac_status); } &&
53762 { ac_try='test -z "$ac_cxx_werror_flag"
53763 || test ! -s conftest.err'
53764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53765 (eval $ac_try) 2>&5
53766 ac_status=$?
53767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53768 (exit $ac_status); }; } &&
53769 { ac_try='test -s conftest.$ac_objext'
53770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53771 (eval $ac_try) 2>&5
53772 ac_status=$?
53773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774 (exit $ac_status); }; }; then
53775 glibcxx_cv_func_long_double_trig_use=yes
53776 else
53777 echo "$as_me: failed program was:" >&5
53778 sed 's/^/| /' conftest.$ac_ext >&5
53780 glibcxx_cv_func_long_double_trig_use=no
53782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53783 ac_ext=c
53784 ac_cpp='$CPP $CPPFLAGS'
53785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53792 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53793 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53803 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53806 echo "$as_me:$LINENO: checking for $ac_func" >&5
53807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53808 if eval "test \"\${$as_ac_var+set}\" = set"; then
53809 echo $ECHO_N "(cached) $ECHO_C" >&6
53810 else
53811 if test x$gcc_no_link = xyes; then
53812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53814 { (exit 1); exit 1; }; }
53816 cat >conftest.$ac_ext <<_ACEOF
53817 /* confdefs.h. */
53818 _ACEOF
53819 cat confdefs.h >>conftest.$ac_ext
53820 cat >>conftest.$ac_ext <<_ACEOF
53821 /* end confdefs.h. */
53822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53824 #define $ac_func innocuous_$ac_func
53826 /* System header to define __stub macros and hopefully few prototypes,
53827 which can conflict with char $ac_func (); below.
53828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53829 <limits.h> exists even on freestanding compilers. */
53831 #ifdef __STDC__
53832 # include <limits.h>
53833 #else
53834 # include <assert.h>
53835 #endif
53837 #undef $ac_func
53839 /* Override any gcc2 internal prototype to avoid an error. */
53840 #ifdef __cplusplus
53841 extern "C"
53843 #endif
53844 /* We use char because int might match the return type of a gcc2
53845 builtin and then its argument prototype would still apply. */
53846 char $ac_func ();
53847 /* The GNU C library defines this for functions which it implements
53848 to always fail with ENOSYS. Some functions are actually named
53849 something starting with __ and the normal name is an alias. */
53850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53851 choke me
53852 #else
53853 char (*f) () = $ac_func;
53854 #endif
53855 #ifdef __cplusplus
53857 #endif
53860 main ()
53862 return f != $ac_func;
53864 return 0;
53866 _ACEOF
53867 rm -f conftest.$ac_objext conftest$ac_exeext
53868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53869 (eval $ac_link) 2>conftest.er1
53870 ac_status=$?
53871 grep -v '^ *+' conftest.er1 >conftest.err
53872 rm -f conftest.er1
53873 cat conftest.err >&5
53874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875 (exit $ac_status); } &&
53876 { ac_try='test -z "$ac_c_werror_flag"
53877 || test ! -s conftest.err'
53878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53879 (eval $ac_try) 2>&5
53880 ac_status=$?
53881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53882 (exit $ac_status); }; } &&
53883 { ac_try='test -s conftest$ac_exeext'
53884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53885 (eval $ac_try) 2>&5
53886 ac_status=$?
53887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53888 (exit $ac_status); }; }; then
53889 eval "$as_ac_var=yes"
53890 else
53891 echo "$as_me: failed program was:" >&5
53892 sed 's/^/| /' conftest.$ac_ext >&5
53894 eval "$as_ac_var=no"
53896 rm -f conftest.err conftest.$ac_objext \
53897 conftest$ac_exeext conftest.$ac_ext
53899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53901 if test `eval echo '${'$as_ac_var'}'` = yes; then
53902 cat >>confdefs.h <<_ACEOF
53903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53904 _ACEOF
53907 done
53909 else
53910 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53911 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53912 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53913 echo $ECHO_N "(cached) $ECHO_C" >&6
53914 else
53918 ac_ext=cc
53919 ac_cpp='$CXXCPP $CPPFLAGS'
53920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53924 cat >conftest.$ac_ext <<_ACEOF
53925 /* confdefs.h. */
53926 _ACEOF
53927 cat confdefs.h >>conftest.$ac_ext
53928 cat >>conftest.$ac_ext <<_ACEOF
53929 /* end confdefs.h. */
53930 #include <math.h>
53932 main ()
53934 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53936 return 0;
53938 _ACEOF
53939 rm -f conftest.$ac_objext
53940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53941 (eval $ac_compile) 2>conftest.er1
53942 ac_status=$?
53943 grep -v '^ *+' conftest.er1 >conftest.err
53944 rm -f conftest.er1
53945 cat conftest.err >&5
53946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53947 (exit $ac_status); } &&
53948 { ac_try='test -z "$ac_cxx_werror_flag"
53949 || test ! -s conftest.err'
53950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53951 (eval $ac_try) 2>&5
53952 ac_status=$?
53953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53954 (exit $ac_status); }; } &&
53955 { ac_try='test -s conftest.$ac_objext'
53956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53957 (eval $ac_try) 2>&5
53958 ac_status=$?
53959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53960 (exit $ac_status); }; }; then
53961 glibcxx_cv_func__long_double_trig_use=yes
53962 else
53963 echo "$as_me: failed program was:" >&5
53964 sed 's/^/| /' conftest.$ac_ext >&5
53966 glibcxx_cv_func__long_double_trig_use=no
53968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53969 ac_ext=c
53970 ac_cpp='$CPP $CPPFLAGS'
53971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53978 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53979 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53989 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53992 echo "$as_me:$LINENO: checking for $ac_func" >&5
53993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53994 if eval "test \"\${$as_ac_var+set}\" = set"; then
53995 echo $ECHO_N "(cached) $ECHO_C" >&6
53996 else
53997 if test x$gcc_no_link = xyes; then
53998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54000 { (exit 1); exit 1; }; }
54002 cat >conftest.$ac_ext <<_ACEOF
54003 /* confdefs.h. */
54004 _ACEOF
54005 cat confdefs.h >>conftest.$ac_ext
54006 cat >>conftest.$ac_ext <<_ACEOF
54007 /* end confdefs.h. */
54008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54010 #define $ac_func innocuous_$ac_func
54012 /* System header to define __stub macros and hopefully few prototypes,
54013 which can conflict with char $ac_func (); below.
54014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54015 <limits.h> exists even on freestanding compilers. */
54017 #ifdef __STDC__
54018 # include <limits.h>
54019 #else
54020 # include <assert.h>
54021 #endif
54023 #undef $ac_func
54025 /* Override any gcc2 internal prototype to avoid an error. */
54026 #ifdef __cplusplus
54027 extern "C"
54029 #endif
54030 /* We use char because int might match the return type of a gcc2
54031 builtin and then its argument prototype would still apply. */
54032 char $ac_func ();
54033 /* The GNU C library defines this for functions which it implements
54034 to always fail with ENOSYS. Some functions are actually named
54035 something starting with __ and the normal name is an alias. */
54036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54037 choke me
54038 #else
54039 char (*f) () = $ac_func;
54040 #endif
54041 #ifdef __cplusplus
54043 #endif
54046 main ()
54048 return f != $ac_func;
54050 return 0;
54052 _ACEOF
54053 rm -f conftest.$ac_objext conftest$ac_exeext
54054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54055 (eval $ac_link) 2>conftest.er1
54056 ac_status=$?
54057 grep -v '^ *+' conftest.er1 >conftest.err
54058 rm -f conftest.er1
54059 cat conftest.err >&5
54060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54061 (exit $ac_status); } &&
54062 { ac_try='test -z "$ac_c_werror_flag"
54063 || test ! -s conftest.err'
54064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54065 (eval $ac_try) 2>&5
54066 ac_status=$?
54067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54068 (exit $ac_status); }; } &&
54069 { ac_try='test -s conftest$ac_exeext'
54070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54071 (eval $ac_try) 2>&5
54072 ac_status=$?
54073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54074 (exit $ac_status); }; }; then
54075 eval "$as_ac_var=yes"
54076 else
54077 echo "$as_me: failed program was:" >&5
54078 sed 's/^/| /' conftest.$ac_ext >&5
54080 eval "$as_ac_var=no"
54082 rm -f conftest.err conftest.$ac_objext \
54083 conftest$ac_exeext conftest.$ac_ext
54085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54087 if test `eval echo '${'$as_ac_var'}'` = yes; then
54088 cat >>confdefs.h <<_ACEOF
54089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54090 _ACEOF
54093 done
54111 echo "$as_me:$LINENO: checking for long double round functions" >&5
54112 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54113 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54114 echo $ECHO_N "(cached) $ECHO_C" >&6
54115 else
54119 ac_ext=cc
54120 ac_cpp='$CXXCPP $CPPFLAGS'
54121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54125 cat >conftest.$ac_ext <<_ACEOF
54126 /* confdefs.h. */
54127 _ACEOF
54128 cat confdefs.h >>conftest.$ac_ext
54129 cat >>conftest.$ac_ext <<_ACEOF
54130 /* end confdefs.h. */
54131 #include <math.h>
54133 main ()
54135 ceill (0); floorl (0);
54137 return 0;
54139 _ACEOF
54140 rm -f conftest.$ac_objext
54141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54142 (eval $ac_compile) 2>conftest.er1
54143 ac_status=$?
54144 grep -v '^ *+' conftest.er1 >conftest.err
54145 rm -f conftest.er1
54146 cat conftest.err >&5
54147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148 (exit $ac_status); } &&
54149 { ac_try='test -z "$ac_cxx_werror_flag"
54150 || test ! -s conftest.err'
54151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54152 (eval $ac_try) 2>&5
54153 ac_status=$?
54154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155 (exit $ac_status); }; } &&
54156 { ac_try='test -s conftest.$ac_objext'
54157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54158 (eval $ac_try) 2>&5
54159 ac_status=$?
54160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161 (exit $ac_status); }; }; then
54162 glibcxx_cv_func_long_double_round_use=yes
54163 else
54164 echo "$as_me: failed program was:" >&5
54165 sed 's/^/| /' conftest.$ac_ext >&5
54167 glibcxx_cv_func_long_double_round_use=no
54169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54170 ac_ext=c
54171 ac_cpp='$CPP $CPPFLAGS'
54172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54179 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54180 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54183 for ac_func in ceill floorl
54185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54186 echo "$as_me:$LINENO: checking for $ac_func" >&5
54187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54188 if eval "test \"\${$as_ac_var+set}\" = set"; then
54189 echo $ECHO_N "(cached) $ECHO_C" >&6
54190 else
54191 if test x$gcc_no_link = xyes; then
54192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54194 { (exit 1); exit 1; }; }
54196 cat >conftest.$ac_ext <<_ACEOF
54197 /* confdefs.h. */
54198 _ACEOF
54199 cat confdefs.h >>conftest.$ac_ext
54200 cat >>conftest.$ac_ext <<_ACEOF
54201 /* end confdefs.h. */
54202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54204 #define $ac_func innocuous_$ac_func
54206 /* System header to define __stub macros and hopefully few prototypes,
54207 which can conflict with char $ac_func (); below.
54208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54209 <limits.h> exists even on freestanding compilers. */
54211 #ifdef __STDC__
54212 # include <limits.h>
54213 #else
54214 # include <assert.h>
54215 #endif
54217 #undef $ac_func
54219 /* Override any gcc2 internal prototype to avoid an error. */
54220 #ifdef __cplusplus
54221 extern "C"
54223 #endif
54224 /* We use char because int might match the return type of a gcc2
54225 builtin and then its argument prototype would still apply. */
54226 char $ac_func ();
54227 /* The GNU C library defines this for functions which it implements
54228 to always fail with ENOSYS. Some functions are actually named
54229 something starting with __ and the normal name is an alias. */
54230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54231 choke me
54232 #else
54233 char (*f) () = $ac_func;
54234 #endif
54235 #ifdef __cplusplus
54237 #endif
54240 main ()
54242 return f != $ac_func;
54244 return 0;
54246 _ACEOF
54247 rm -f conftest.$ac_objext conftest$ac_exeext
54248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54249 (eval $ac_link) 2>conftest.er1
54250 ac_status=$?
54251 grep -v '^ *+' conftest.er1 >conftest.err
54252 rm -f conftest.er1
54253 cat conftest.err >&5
54254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54255 (exit $ac_status); } &&
54256 { ac_try='test -z "$ac_c_werror_flag"
54257 || test ! -s conftest.err'
54258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54259 (eval $ac_try) 2>&5
54260 ac_status=$?
54261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54262 (exit $ac_status); }; } &&
54263 { ac_try='test -s conftest$ac_exeext'
54264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54265 (eval $ac_try) 2>&5
54266 ac_status=$?
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); }; }; then
54269 eval "$as_ac_var=yes"
54270 else
54271 echo "$as_me: failed program was:" >&5
54272 sed 's/^/| /' conftest.$ac_ext >&5
54274 eval "$as_ac_var=no"
54276 rm -f conftest.err conftest.$ac_objext \
54277 conftest$ac_exeext conftest.$ac_ext
54279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54281 if test `eval echo '${'$as_ac_var'}'` = yes; then
54282 cat >>confdefs.h <<_ACEOF
54283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54284 _ACEOF
54287 done
54289 else
54290 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54291 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54292 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54293 echo $ECHO_N "(cached) $ECHO_C" >&6
54294 else
54298 ac_ext=cc
54299 ac_cpp='$CXXCPP $CPPFLAGS'
54300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54304 cat >conftest.$ac_ext <<_ACEOF
54305 /* confdefs.h. */
54306 _ACEOF
54307 cat confdefs.h >>conftest.$ac_ext
54308 cat >>conftest.$ac_ext <<_ACEOF
54309 /* end confdefs.h. */
54310 #include <math.h>
54312 main ()
54314 _ceill (0); _floorl (0);
54316 return 0;
54318 _ACEOF
54319 rm -f conftest.$ac_objext
54320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54321 (eval $ac_compile) 2>conftest.er1
54322 ac_status=$?
54323 grep -v '^ *+' conftest.er1 >conftest.err
54324 rm -f conftest.er1
54325 cat conftest.err >&5
54326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54327 (exit $ac_status); } &&
54328 { ac_try='test -z "$ac_cxx_werror_flag"
54329 || test ! -s conftest.err'
54330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54331 (eval $ac_try) 2>&5
54332 ac_status=$?
54333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54334 (exit $ac_status); }; } &&
54335 { ac_try='test -s conftest.$ac_objext'
54336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54337 (eval $ac_try) 2>&5
54338 ac_status=$?
54339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54340 (exit $ac_status); }; }; then
54341 glibcxx_cv_func__long_double_round_use=yes
54342 else
54343 echo "$as_me: failed program was:" >&5
54344 sed 's/^/| /' conftest.$ac_ext >&5
54346 glibcxx_cv_func__long_double_round_use=no
54348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54349 ac_ext=c
54350 ac_cpp='$CPP $CPPFLAGS'
54351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54357 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54358 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54359 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54362 for ac_func in _ceill _floorl
54364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54365 echo "$as_me:$LINENO: checking for $ac_func" >&5
54366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54367 if eval "test \"\${$as_ac_var+set}\" = set"; then
54368 echo $ECHO_N "(cached) $ECHO_C" >&6
54369 else
54370 if test x$gcc_no_link = xyes; then
54371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54373 { (exit 1); exit 1; }; }
54375 cat >conftest.$ac_ext <<_ACEOF
54376 /* confdefs.h. */
54377 _ACEOF
54378 cat confdefs.h >>conftest.$ac_ext
54379 cat >>conftest.$ac_ext <<_ACEOF
54380 /* end confdefs.h. */
54381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54383 #define $ac_func innocuous_$ac_func
54385 /* System header to define __stub macros and hopefully few prototypes,
54386 which can conflict with char $ac_func (); below.
54387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54388 <limits.h> exists even on freestanding compilers. */
54390 #ifdef __STDC__
54391 # include <limits.h>
54392 #else
54393 # include <assert.h>
54394 #endif
54396 #undef $ac_func
54398 /* Override any gcc2 internal prototype to avoid an error. */
54399 #ifdef __cplusplus
54400 extern "C"
54402 #endif
54403 /* We use char because int might match the return type of a gcc2
54404 builtin and then its argument prototype would still apply. */
54405 char $ac_func ();
54406 /* The GNU C library defines this for functions which it implements
54407 to always fail with ENOSYS. Some functions are actually named
54408 something starting with __ and the normal name is an alias. */
54409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54410 choke me
54411 #else
54412 char (*f) () = $ac_func;
54413 #endif
54414 #ifdef __cplusplus
54416 #endif
54419 main ()
54421 return f != $ac_func;
54423 return 0;
54425 _ACEOF
54426 rm -f conftest.$ac_objext conftest$ac_exeext
54427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54428 (eval $ac_link) 2>conftest.er1
54429 ac_status=$?
54430 grep -v '^ *+' conftest.er1 >conftest.err
54431 rm -f conftest.er1
54432 cat conftest.err >&5
54433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54434 (exit $ac_status); } &&
54435 { ac_try='test -z "$ac_c_werror_flag"
54436 || test ! -s conftest.err'
54437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54438 (eval $ac_try) 2>&5
54439 ac_status=$?
54440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54441 (exit $ac_status); }; } &&
54442 { ac_try='test -s conftest$ac_exeext'
54443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54444 (eval $ac_try) 2>&5
54445 ac_status=$?
54446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54447 (exit $ac_status); }; }; then
54448 eval "$as_ac_var=yes"
54449 else
54450 echo "$as_me: failed program was:" >&5
54451 sed 's/^/| /' conftest.$ac_ext >&5
54453 eval "$as_ac_var=no"
54455 rm -f conftest.err conftest.$ac_objext \
54456 conftest$ac_exeext conftest.$ac_ext
54458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54460 if test `eval echo '${'$as_ac_var'}'` = yes; then
54461 cat >>confdefs.h <<_ACEOF
54462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54463 _ACEOF
54466 done
54478 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54479 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54480 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54481 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54482 echo $ECHO_N "(cached) $ECHO_C" >&6
54483 else
54487 ac_ext=cc
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54493 cat >conftest.$ac_ext <<_ACEOF
54494 /* confdefs.h. */
54495 _ACEOF
54496 cat confdefs.h >>conftest.$ac_ext
54497 cat >>conftest.$ac_ext <<_ACEOF
54498 /* end confdefs.h. */
54499 #include <math.h>
54500 #ifdef HAVE_IEEEFP_H
54501 #include <ieeefp.h>
54502 #endif
54505 main ()
54507 isnanl(0);
54509 return 0;
54511 _ACEOF
54512 rm -f conftest.$ac_objext
54513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54514 (eval $ac_compile) 2>conftest.er1
54515 ac_status=$?
54516 grep -v '^ *+' conftest.er1 >conftest.err
54517 rm -f conftest.er1
54518 cat conftest.err >&5
54519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54520 (exit $ac_status); } &&
54521 { ac_try='test -z "$ac_cxx_werror_flag"
54522 || test ! -s conftest.err'
54523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54524 (eval $ac_try) 2>&5
54525 ac_status=$?
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); }; } &&
54528 { ac_try='test -s conftest.$ac_objext'
54529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54530 (eval $ac_try) 2>&5
54531 ac_status=$?
54532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54533 (exit $ac_status); }; }; then
54534 glibcxx_cv_func_isnanl_use=yes
54535 else
54536 echo "$as_me: failed program was:" >&5
54537 sed 's/^/| /' conftest.$ac_ext >&5
54539 glibcxx_cv_func_isnanl_use=no
54541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54542 ac_ext=c
54543 ac_cpp='$CPP $CPPFLAGS'
54544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54553 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54555 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54557 for ac_func in isnanl
54559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54560 echo "$as_me:$LINENO: checking for $ac_func" >&5
54561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54562 if eval "test \"\${$as_ac_var+set}\" = set"; then
54563 echo $ECHO_N "(cached) $ECHO_C" >&6
54564 else
54565 if test x$gcc_no_link = xyes; then
54566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54568 { (exit 1); exit 1; }; }
54570 cat >conftest.$ac_ext <<_ACEOF
54571 /* confdefs.h. */
54572 _ACEOF
54573 cat confdefs.h >>conftest.$ac_ext
54574 cat >>conftest.$ac_ext <<_ACEOF
54575 /* end confdefs.h. */
54576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54578 #define $ac_func innocuous_$ac_func
54580 /* System header to define __stub macros and hopefully few prototypes,
54581 which can conflict with char $ac_func (); below.
54582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54583 <limits.h> exists even on freestanding compilers. */
54585 #ifdef __STDC__
54586 # include <limits.h>
54587 #else
54588 # include <assert.h>
54589 #endif
54591 #undef $ac_func
54593 /* Override any gcc2 internal prototype to avoid an error. */
54594 #ifdef __cplusplus
54595 extern "C"
54597 #endif
54598 /* We use char because int might match the return type of a gcc2
54599 builtin and then its argument prototype would still apply. */
54600 char $ac_func ();
54601 /* The GNU C library defines this for functions which it implements
54602 to always fail with ENOSYS. Some functions are actually named
54603 something starting with __ and the normal name is an alias. */
54604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54605 choke me
54606 #else
54607 char (*f) () = $ac_func;
54608 #endif
54609 #ifdef __cplusplus
54611 #endif
54614 main ()
54616 return f != $ac_func;
54618 return 0;
54620 _ACEOF
54621 rm -f conftest.$ac_objext conftest$ac_exeext
54622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54623 (eval $ac_link) 2>conftest.er1
54624 ac_status=$?
54625 grep -v '^ *+' conftest.er1 >conftest.err
54626 rm -f conftest.er1
54627 cat conftest.err >&5
54628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54629 (exit $ac_status); } &&
54630 { ac_try='test -z "$ac_c_werror_flag"
54631 || test ! -s conftest.err'
54632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54633 (eval $ac_try) 2>&5
54634 ac_status=$?
54635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54636 (exit $ac_status); }; } &&
54637 { ac_try='test -s conftest$ac_exeext'
54638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54639 (eval $ac_try) 2>&5
54640 ac_status=$?
54641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54642 (exit $ac_status); }; }; then
54643 eval "$as_ac_var=yes"
54644 else
54645 echo "$as_me: failed program was:" >&5
54646 sed 's/^/| /' conftest.$ac_ext >&5
54648 eval "$as_ac_var=no"
54650 rm -f conftest.err conftest.$ac_objext \
54651 conftest$ac_exeext conftest.$ac_ext
54653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54655 if test `eval echo '${'$as_ac_var'}'` = yes; then
54656 cat >>confdefs.h <<_ACEOF
54657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54658 _ACEOF
54661 done
54663 else
54665 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54666 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54667 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54668 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54669 echo $ECHO_N "(cached) $ECHO_C" >&6
54670 else
54674 ac_ext=cc
54675 ac_cpp='$CXXCPP $CPPFLAGS'
54676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54680 cat >conftest.$ac_ext <<_ACEOF
54681 /* confdefs.h. */
54682 _ACEOF
54683 cat confdefs.h >>conftest.$ac_ext
54684 cat >>conftest.$ac_ext <<_ACEOF
54685 /* end confdefs.h. */
54686 #include <math.h>
54687 #ifdef HAVE_IEEEFP_H
54688 #include <ieeefp.h>
54689 #endif
54692 main ()
54694 _isnanl(0);
54696 return 0;
54698 _ACEOF
54699 rm -f conftest.$ac_objext
54700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54701 (eval $ac_compile) 2>conftest.er1
54702 ac_status=$?
54703 grep -v '^ *+' conftest.er1 >conftest.err
54704 rm -f conftest.er1
54705 cat conftest.err >&5
54706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54707 (exit $ac_status); } &&
54708 { ac_try='test -z "$ac_cxx_werror_flag"
54709 || test ! -s conftest.err'
54710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54711 (eval $ac_try) 2>&5
54712 ac_status=$?
54713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54714 (exit $ac_status); }; } &&
54715 { ac_try='test -s conftest.$ac_objext'
54716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54717 (eval $ac_try) 2>&5
54718 ac_status=$?
54719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54720 (exit $ac_status); }; }; then
54721 glibcxx_cv_func__isnanl_use=yes
54722 else
54723 echo "$as_me: failed program was:" >&5
54724 sed 's/^/| /' conftest.$ac_ext >&5
54726 glibcxx_cv_func__isnanl_use=no
54728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54729 ac_ext=c
54730 ac_cpp='$CPP $CPPFLAGS'
54731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54740 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54742 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54744 for ac_func in _isnanl
54746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54747 echo "$as_me:$LINENO: checking for $ac_func" >&5
54748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54749 if eval "test \"\${$as_ac_var+set}\" = set"; then
54750 echo $ECHO_N "(cached) $ECHO_C" >&6
54751 else
54752 if test x$gcc_no_link = xyes; then
54753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54755 { (exit 1); exit 1; }; }
54757 cat >conftest.$ac_ext <<_ACEOF
54758 /* confdefs.h. */
54759 _ACEOF
54760 cat confdefs.h >>conftest.$ac_ext
54761 cat >>conftest.$ac_ext <<_ACEOF
54762 /* end confdefs.h. */
54763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54765 #define $ac_func innocuous_$ac_func
54767 /* System header to define __stub macros and hopefully few prototypes,
54768 which can conflict with char $ac_func (); below.
54769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54770 <limits.h> exists even on freestanding compilers. */
54772 #ifdef __STDC__
54773 # include <limits.h>
54774 #else
54775 # include <assert.h>
54776 #endif
54778 #undef $ac_func
54780 /* Override any gcc2 internal prototype to avoid an error. */
54781 #ifdef __cplusplus
54782 extern "C"
54784 #endif
54785 /* We use char because int might match the return type of a gcc2
54786 builtin and then its argument prototype would still apply. */
54787 char $ac_func ();
54788 /* The GNU C library defines this for functions which it implements
54789 to always fail with ENOSYS. Some functions are actually named
54790 something starting with __ and the normal name is an alias. */
54791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54792 choke me
54793 #else
54794 char (*f) () = $ac_func;
54795 #endif
54796 #ifdef __cplusplus
54798 #endif
54801 main ()
54803 return f != $ac_func;
54805 return 0;
54807 _ACEOF
54808 rm -f conftest.$ac_objext conftest$ac_exeext
54809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54810 (eval $ac_link) 2>conftest.er1
54811 ac_status=$?
54812 grep -v '^ *+' conftest.er1 >conftest.err
54813 rm -f conftest.er1
54814 cat conftest.err >&5
54815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54816 (exit $ac_status); } &&
54817 { ac_try='test -z "$ac_c_werror_flag"
54818 || test ! -s conftest.err'
54819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54820 (eval $ac_try) 2>&5
54821 ac_status=$?
54822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54823 (exit $ac_status); }; } &&
54824 { ac_try='test -s conftest$ac_exeext'
54825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54826 (eval $ac_try) 2>&5
54827 ac_status=$?
54828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54829 (exit $ac_status); }; }; then
54830 eval "$as_ac_var=yes"
54831 else
54832 echo "$as_me: failed program was:" >&5
54833 sed 's/^/| /' conftest.$ac_ext >&5
54835 eval "$as_ac_var=no"
54837 rm -f conftest.err conftest.$ac_objext \
54838 conftest$ac_exeext conftest.$ac_ext
54840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54842 if test `eval echo '${'$as_ac_var'}'` = yes; then
54843 cat >>confdefs.h <<_ACEOF
54844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54845 _ACEOF
54848 done
54858 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54859 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54860 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54861 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54862 echo $ECHO_N "(cached) $ECHO_C" >&6
54863 else
54867 ac_ext=cc
54868 ac_cpp='$CXXCPP $CPPFLAGS'
54869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54873 cat >conftest.$ac_ext <<_ACEOF
54874 /* confdefs.h. */
54875 _ACEOF
54876 cat confdefs.h >>conftest.$ac_ext
54877 cat >>conftest.$ac_ext <<_ACEOF
54878 /* end confdefs.h. */
54879 #include <math.h>
54880 #ifdef HAVE_IEEEFP_H
54881 #include <ieeefp.h>
54882 #endif
54885 main ()
54887 isinfl(0);
54889 return 0;
54891 _ACEOF
54892 rm -f conftest.$ac_objext
54893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54894 (eval $ac_compile) 2>conftest.er1
54895 ac_status=$?
54896 grep -v '^ *+' conftest.er1 >conftest.err
54897 rm -f conftest.er1
54898 cat conftest.err >&5
54899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54900 (exit $ac_status); } &&
54901 { ac_try='test -z "$ac_cxx_werror_flag"
54902 || test ! -s conftest.err'
54903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54904 (eval $ac_try) 2>&5
54905 ac_status=$?
54906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54907 (exit $ac_status); }; } &&
54908 { ac_try='test -s conftest.$ac_objext'
54909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54910 (eval $ac_try) 2>&5
54911 ac_status=$?
54912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54913 (exit $ac_status); }; }; then
54914 glibcxx_cv_func_isinfl_use=yes
54915 else
54916 echo "$as_me: failed program was:" >&5
54917 sed 's/^/| /' conftest.$ac_ext >&5
54919 glibcxx_cv_func_isinfl_use=no
54921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54922 ac_ext=c
54923 ac_cpp='$CPP $CPPFLAGS'
54924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54933 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54935 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54937 for ac_func in isinfl
54939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54940 echo "$as_me:$LINENO: checking for $ac_func" >&5
54941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54942 if eval "test \"\${$as_ac_var+set}\" = set"; then
54943 echo $ECHO_N "(cached) $ECHO_C" >&6
54944 else
54945 if test x$gcc_no_link = xyes; then
54946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54948 { (exit 1); exit 1; }; }
54950 cat >conftest.$ac_ext <<_ACEOF
54951 /* confdefs.h. */
54952 _ACEOF
54953 cat confdefs.h >>conftest.$ac_ext
54954 cat >>conftest.$ac_ext <<_ACEOF
54955 /* end confdefs.h. */
54956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54958 #define $ac_func innocuous_$ac_func
54960 /* System header to define __stub macros and hopefully few prototypes,
54961 which can conflict with char $ac_func (); below.
54962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54963 <limits.h> exists even on freestanding compilers. */
54965 #ifdef __STDC__
54966 # include <limits.h>
54967 #else
54968 # include <assert.h>
54969 #endif
54971 #undef $ac_func
54973 /* Override any gcc2 internal prototype to avoid an error. */
54974 #ifdef __cplusplus
54975 extern "C"
54977 #endif
54978 /* We use char because int might match the return type of a gcc2
54979 builtin and then its argument prototype would still apply. */
54980 char $ac_func ();
54981 /* The GNU C library defines this for functions which it implements
54982 to always fail with ENOSYS. Some functions are actually named
54983 something starting with __ and the normal name is an alias. */
54984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54985 choke me
54986 #else
54987 char (*f) () = $ac_func;
54988 #endif
54989 #ifdef __cplusplus
54991 #endif
54994 main ()
54996 return f != $ac_func;
54998 return 0;
55000 _ACEOF
55001 rm -f conftest.$ac_objext conftest$ac_exeext
55002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55003 (eval $ac_link) 2>conftest.er1
55004 ac_status=$?
55005 grep -v '^ *+' conftest.er1 >conftest.err
55006 rm -f conftest.er1
55007 cat conftest.err >&5
55008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55009 (exit $ac_status); } &&
55010 { ac_try='test -z "$ac_c_werror_flag"
55011 || test ! -s conftest.err'
55012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55013 (eval $ac_try) 2>&5
55014 ac_status=$?
55015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55016 (exit $ac_status); }; } &&
55017 { ac_try='test -s conftest$ac_exeext'
55018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55019 (eval $ac_try) 2>&5
55020 ac_status=$?
55021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55022 (exit $ac_status); }; }; then
55023 eval "$as_ac_var=yes"
55024 else
55025 echo "$as_me: failed program was:" >&5
55026 sed 's/^/| /' conftest.$ac_ext >&5
55028 eval "$as_ac_var=no"
55030 rm -f conftest.err conftest.$ac_objext \
55031 conftest$ac_exeext conftest.$ac_ext
55033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55035 if test `eval echo '${'$as_ac_var'}'` = yes; then
55036 cat >>confdefs.h <<_ACEOF
55037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55038 _ACEOF
55041 done
55043 else
55045 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55046 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55047 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55048 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55049 echo $ECHO_N "(cached) $ECHO_C" >&6
55050 else
55054 ac_ext=cc
55055 ac_cpp='$CXXCPP $CPPFLAGS'
55056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55060 cat >conftest.$ac_ext <<_ACEOF
55061 /* confdefs.h. */
55062 _ACEOF
55063 cat confdefs.h >>conftest.$ac_ext
55064 cat >>conftest.$ac_ext <<_ACEOF
55065 /* end confdefs.h. */
55066 #include <math.h>
55067 #ifdef HAVE_IEEEFP_H
55068 #include <ieeefp.h>
55069 #endif
55072 main ()
55074 _isinfl(0);
55076 return 0;
55078 _ACEOF
55079 rm -f conftest.$ac_objext
55080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55081 (eval $ac_compile) 2>conftest.er1
55082 ac_status=$?
55083 grep -v '^ *+' conftest.er1 >conftest.err
55084 rm -f conftest.er1
55085 cat conftest.err >&5
55086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55087 (exit $ac_status); } &&
55088 { ac_try='test -z "$ac_cxx_werror_flag"
55089 || test ! -s conftest.err'
55090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55091 (eval $ac_try) 2>&5
55092 ac_status=$?
55093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55094 (exit $ac_status); }; } &&
55095 { ac_try='test -s conftest.$ac_objext'
55096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55097 (eval $ac_try) 2>&5
55098 ac_status=$?
55099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55100 (exit $ac_status); }; }; then
55101 glibcxx_cv_func__isinfl_use=yes
55102 else
55103 echo "$as_me: failed program was:" >&5
55104 sed 's/^/| /' conftest.$ac_ext >&5
55106 glibcxx_cv_func__isinfl_use=no
55108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55109 ac_ext=c
55110 ac_cpp='$CPP $CPPFLAGS'
55111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55120 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55122 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55124 for ac_func in _isinfl
55126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55127 echo "$as_me:$LINENO: checking for $ac_func" >&5
55128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55129 if eval "test \"\${$as_ac_var+set}\" = set"; then
55130 echo $ECHO_N "(cached) $ECHO_C" >&6
55131 else
55132 if test x$gcc_no_link = xyes; then
55133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55135 { (exit 1); exit 1; }; }
55137 cat >conftest.$ac_ext <<_ACEOF
55138 /* confdefs.h. */
55139 _ACEOF
55140 cat confdefs.h >>conftest.$ac_ext
55141 cat >>conftest.$ac_ext <<_ACEOF
55142 /* end confdefs.h. */
55143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55145 #define $ac_func innocuous_$ac_func
55147 /* System header to define __stub macros and hopefully few prototypes,
55148 which can conflict with char $ac_func (); below.
55149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55150 <limits.h> exists even on freestanding compilers. */
55152 #ifdef __STDC__
55153 # include <limits.h>
55154 #else
55155 # include <assert.h>
55156 #endif
55158 #undef $ac_func
55160 /* Override any gcc2 internal prototype to avoid an error. */
55161 #ifdef __cplusplus
55162 extern "C"
55164 #endif
55165 /* We use char because int might match the return type of a gcc2
55166 builtin and then its argument prototype would still apply. */
55167 char $ac_func ();
55168 /* The GNU C library defines this for functions which it implements
55169 to always fail with ENOSYS. Some functions are actually named
55170 something starting with __ and the normal name is an alias. */
55171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55172 choke me
55173 #else
55174 char (*f) () = $ac_func;
55175 #endif
55176 #ifdef __cplusplus
55178 #endif
55181 main ()
55183 return f != $ac_func;
55185 return 0;
55187 _ACEOF
55188 rm -f conftest.$ac_objext conftest$ac_exeext
55189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55190 (eval $ac_link) 2>conftest.er1
55191 ac_status=$?
55192 grep -v '^ *+' conftest.er1 >conftest.err
55193 rm -f conftest.er1
55194 cat conftest.err >&5
55195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55196 (exit $ac_status); } &&
55197 { ac_try='test -z "$ac_c_werror_flag"
55198 || test ! -s conftest.err'
55199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55200 (eval $ac_try) 2>&5
55201 ac_status=$?
55202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55203 (exit $ac_status); }; } &&
55204 { ac_try='test -s conftest$ac_exeext'
55205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55206 (eval $ac_try) 2>&5
55207 ac_status=$?
55208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55209 (exit $ac_status); }; }; then
55210 eval "$as_ac_var=yes"
55211 else
55212 echo "$as_me: failed program was:" >&5
55213 sed 's/^/| /' conftest.$ac_ext >&5
55215 eval "$as_ac_var=no"
55217 rm -f conftest.err conftest.$ac_objext \
55218 conftest$ac_exeext conftest.$ac_ext
55220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55222 if test `eval echo '${'$as_ac_var'}'` = yes; then
55223 cat >>confdefs.h <<_ACEOF
55224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55225 _ACEOF
55228 done
55238 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55239 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55240 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55241 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55242 echo $ECHO_N "(cached) $ECHO_C" >&6
55243 else
55247 ac_ext=cc
55248 ac_cpp='$CXXCPP $CPPFLAGS'
55249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55253 cat >conftest.$ac_ext <<_ACEOF
55254 /* confdefs.h. */
55255 _ACEOF
55256 cat confdefs.h >>conftest.$ac_ext
55257 cat >>conftest.$ac_ext <<_ACEOF
55258 /* end confdefs.h. */
55259 #include <math.h>
55261 main ()
55263 copysignl(0, 0);
55265 return 0;
55267 _ACEOF
55268 rm -f conftest.$ac_objext
55269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55270 (eval $ac_compile) 2>conftest.er1
55271 ac_status=$?
55272 grep -v '^ *+' conftest.er1 >conftest.err
55273 rm -f conftest.er1
55274 cat conftest.err >&5
55275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55276 (exit $ac_status); } &&
55277 { ac_try='test -z "$ac_cxx_werror_flag"
55278 || test ! -s conftest.err'
55279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55280 (eval $ac_try) 2>&5
55281 ac_status=$?
55282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55283 (exit $ac_status); }; } &&
55284 { ac_try='test -s conftest.$ac_objext'
55285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55286 (eval $ac_try) 2>&5
55287 ac_status=$?
55288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55289 (exit $ac_status); }; }; then
55290 glibcxx_cv_func_copysignl_use=yes
55291 else
55292 echo "$as_me: failed program was:" >&5
55293 sed 's/^/| /' conftest.$ac_ext >&5
55295 glibcxx_cv_func_copysignl_use=no
55297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55298 ac_ext=c
55299 ac_cpp='$CPP $CPPFLAGS'
55300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55309 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55311 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55313 for ac_func in copysignl
55315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55316 echo "$as_me:$LINENO: checking for $ac_func" >&5
55317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55318 if eval "test \"\${$as_ac_var+set}\" = set"; then
55319 echo $ECHO_N "(cached) $ECHO_C" >&6
55320 else
55321 if test x$gcc_no_link = xyes; then
55322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55324 { (exit 1); exit 1; }; }
55326 cat >conftest.$ac_ext <<_ACEOF
55327 /* confdefs.h. */
55328 _ACEOF
55329 cat confdefs.h >>conftest.$ac_ext
55330 cat >>conftest.$ac_ext <<_ACEOF
55331 /* end confdefs.h. */
55332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55334 #define $ac_func innocuous_$ac_func
55336 /* System header to define __stub macros and hopefully few prototypes,
55337 which can conflict with char $ac_func (); below.
55338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55339 <limits.h> exists even on freestanding compilers. */
55341 #ifdef __STDC__
55342 # include <limits.h>
55343 #else
55344 # include <assert.h>
55345 #endif
55347 #undef $ac_func
55349 /* Override any gcc2 internal prototype to avoid an error. */
55350 #ifdef __cplusplus
55351 extern "C"
55353 #endif
55354 /* We use char because int might match the return type of a gcc2
55355 builtin and then its argument prototype would still apply. */
55356 char $ac_func ();
55357 /* The GNU C library defines this for functions which it implements
55358 to always fail with ENOSYS. Some functions are actually named
55359 something starting with __ and the normal name is an alias. */
55360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55361 choke me
55362 #else
55363 char (*f) () = $ac_func;
55364 #endif
55365 #ifdef __cplusplus
55367 #endif
55370 main ()
55372 return f != $ac_func;
55374 return 0;
55376 _ACEOF
55377 rm -f conftest.$ac_objext conftest$ac_exeext
55378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55379 (eval $ac_link) 2>conftest.er1
55380 ac_status=$?
55381 grep -v '^ *+' conftest.er1 >conftest.err
55382 rm -f conftest.er1
55383 cat conftest.err >&5
55384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55385 (exit $ac_status); } &&
55386 { ac_try='test -z "$ac_c_werror_flag"
55387 || test ! -s conftest.err'
55388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55389 (eval $ac_try) 2>&5
55390 ac_status=$?
55391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55392 (exit $ac_status); }; } &&
55393 { ac_try='test -s conftest$ac_exeext'
55394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55395 (eval $ac_try) 2>&5
55396 ac_status=$?
55397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55398 (exit $ac_status); }; }; then
55399 eval "$as_ac_var=yes"
55400 else
55401 echo "$as_me: failed program was:" >&5
55402 sed 's/^/| /' conftest.$ac_ext >&5
55404 eval "$as_ac_var=no"
55406 rm -f conftest.err conftest.$ac_objext \
55407 conftest$ac_exeext conftest.$ac_ext
55409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55411 if test `eval echo '${'$as_ac_var'}'` = yes; then
55412 cat >>confdefs.h <<_ACEOF
55413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55414 _ACEOF
55417 done
55419 else
55421 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55422 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55423 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55424 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55425 echo $ECHO_N "(cached) $ECHO_C" >&6
55426 else
55430 ac_ext=cc
55431 ac_cpp='$CXXCPP $CPPFLAGS'
55432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55436 cat >conftest.$ac_ext <<_ACEOF
55437 /* confdefs.h. */
55438 _ACEOF
55439 cat confdefs.h >>conftest.$ac_ext
55440 cat >>conftest.$ac_ext <<_ACEOF
55441 /* end confdefs.h. */
55442 #include <math.h>
55444 main ()
55446 _copysignl(0, 0);
55448 return 0;
55450 _ACEOF
55451 rm -f conftest.$ac_objext
55452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55453 (eval $ac_compile) 2>conftest.er1
55454 ac_status=$?
55455 grep -v '^ *+' conftest.er1 >conftest.err
55456 rm -f conftest.er1
55457 cat conftest.err >&5
55458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55459 (exit $ac_status); } &&
55460 { ac_try='test -z "$ac_cxx_werror_flag"
55461 || test ! -s conftest.err'
55462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55463 (eval $ac_try) 2>&5
55464 ac_status=$?
55465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466 (exit $ac_status); }; } &&
55467 { ac_try='test -s conftest.$ac_objext'
55468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55469 (eval $ac_try) 2>&5
55470 ac_status=$?
55471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55472 (exit $ac_status); }; }; then
55473 glibcxx_cv_func__copysignl_use=yes
55474 else
55475 echo "$as_me: failed program was:" >&5
55476 sed 's/^/| /' conftest.$ac_ext >&5
55478 glibcxx_cv_func__copysignl_use=no
55480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55481 ac_ext=c
55482 ac_cpp='$CPP $CPPFLAGS'
55483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55492 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55494 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55496 for ac_func in _copysignl
55498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55499 echo "$as_me:$LINENO: checking for $ac_func" >&5
55500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55501 if eval "test \"\${$as_ac_var+set}\" = set"; then
55502 echo $ECHO_N "(cached) $ECHO_C" >&6
55503 else
55504 if test x$gcc_no_link = xyes; then
55505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55507 { (exit 1); exit 1; }; }
55509 cat >conftest.$ac_ext <<_ACEOF
55510 /* confdefs.h. */
55511 _ACEOF
55512 cat confdefs.h >>conftest.$ac_ext
55513 cat >>conftest.$ac_ext <<_ACEOF
55514 /* end confdefs.h. */
55515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55517 #define $ac_func innocuous_$ac_func
55519 /* System header to define __stub macros and hopefully few prototypes,
55520 which can conflict with char $ac_func (); below.
55521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55522 <limits.h> exists even on freestanding compilers. */
55524 #ifdef __STDC__
55525 # include <limits.h>
55526 #else
55527 # include <assert.h>
55528 #endif
55530 #undef $ac_func
55532 /* Override any gcc2 internal prototype to avoid an error. */
55533 #ifdef __cplusplus
55534 extern "C"
55536 #endif
55537 /* We use char because int might match the return type of a gcc2
55538 builtin and then its argument prototype would still apply. */
55539 char $ac_func ();
55540 /* The GNU C library defines this for functions which it implements
55541 to always fail with ENOSYS. Some functions are actually named
55542 something starting with __ and the normal name is an alias. */
55543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55544 choke me
55545 #else
55546 char (*f) () = $ac_func;
55547 #endif
55548 #ifdef __cplusplus
55550 #endif
55553 main ()
55555 return f != $ac_func;
55557 return 0;
55559 _ACEOF
55560 rm -f conftest.$ac_objext conftest$ac_exeext
55561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55562 (eval $ac_link) 2>conftest.er1
55563 ac_status=$?
55564 grep -v '^ *+' conftest.er1 >conftest.err
55565 rm -f conftest.er1
55566 cat conftest.err >&5
55567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55568 (exit $ac_status); } &&
55569 { ac_try='test -z "$ac_c_werror_flag"
55570 || test ! -s conftest.err'
55571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55572 (eval $ac_try) 2>&5
55573 ac_status=$?
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); }; } &&
55576 { ac_try='test -s conftest$ac_exeext'
55577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55578 (eval $ac_try) 2>&5
55579 ac_status=$?
55580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581 (exit $ac_status); }; }; then
55582 eval "$as_ac_var=yes"
55583 else
55584 echo "$as_me: failed program was:" >&5
55585 sed 's/^/| /' conftest.$ac_ext >&5
55587 eval "$as_ac_var=no"
55589 rm -f conftest.err conftest.$ac_objext \
55590 conftest$ac_exeext conftest.$ac_ext
55592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55594 if test `eval echo '${'$as_ac_var'}'` = yes; then
55595 cat >>confdefs.h <<_ACEOF
55596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55597 _ACEOF
55600 done
55610 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55611 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55612 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55613 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55614 echo $ECHO_N "(cached) $ECHO_C" >&6
55615 else
55619 ac_ext=cc
55620 ac_cpp='$CXXCPP $CPPFLAGS'
55621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55625 cat >conftest.$ac_ext <<_ACEOF
55626 /* confdefs.h. */
55627 _ACEOF
55628 cat confdefs.h >>conftest.$ac_ext
55629 cat >>conftest.$ac_ext <<_ACEOF
55630 /* end confdefs.h. */
55631 #include <math.h>
55633 main ()
55635 atan2l(0, 0);
55637 return 0;
55639 _ACEOF
55640 rm -f conftest.$ac_objext
55641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55642 (eval $ac_compile) 2>conftest.er1
55643 ac_status=$?
55644 grep -v '^ *+' conftest.er1 >conftest.err
55645 rm -f conftest.er1
55646 cat conftest.err >&5
55647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55648 (exit $ac_status); } &&
55649 { ac_try='test -z "$ac_cxx_werror_flag"
55650 || test ! -s conftest.err'
55651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55652 (eval $ac_try) 2>&5
55653 ac_status=$?
55654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55655 (exit $ac_status); }; } &&
55656 { ac_try='test -s conftest.$ac_objext'
55657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55658 (eval $ac_try) 2>&5
55659 ac_status=$?
55660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55661 (exit $ac_status); }; }; then
55662 glibcxx_cv_func_atan2l_use=yes
55663 else
55664 echo "$as_me: failed program was:" >&5
55665 sed 's/^/| /' conftest.$ac_ext >&5
55667 glibcxx_cv_func_atan2l_use=no
55669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55670 ac_ext=c
55671 ac_cpp='$CPP $CPPFLAGS'
55672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55681 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55683 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55685 for ac_func in atan2l
55687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55688 echo "$as_me:$LINENO: checking for $ac_func" >&5
55689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55690 if eval "test \"\${$as_ac_var+set}\" = set"; then
55691 echo $ECHO_N "(cached) $ECHO_C" >&6
55692 else
55693 if test x$gcc_no_link = xyes; then
55694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55696 { (exit 1); exit 1; }; }
55698 cat >conftest.$ac_ext <<_ACEOF
55699 /* confdefs.h. */
55700 _ACEOF
55701 cat confdefs.h >>conftest.$ac_ext
55702 cat >>conftest.$ac_ext <<_ACEOF
55703 /* end confdefs.h. */
55704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55706 #define $ac_func innocuous_$ac_func
55708 /* System header to define __stub macros and hopefully few prototypes,
55709 which can conflict with char $ac_func (); below.
55710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55711 <limits.h> exists even on freestanding compilers. */
55713 #ifdef __STDC__
55714 # include <limits.h>
55715 #else
55716 # include <assert.h>
55717 #endif
55719 #undef $ac_func
55721 /* Override any gcc2 internal prototype to avoid an error. */
55722 #ifdef __cplusplus
55723 extern "C"
55725 #endif
55726 /* We use char because int might match the return type of a gcc2
55727 builtin and then its argument prototype would still apply. */
55728 char $ac_func ();
55729 /* The GNU C library defines this for functions which it implements
55730 to always fail with ENOSYS. Some functions are actually named
55731 something starting with __ and the normal name is an alias. */
55732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55733 choke me
55734 #else
55735 char (*f) () = $ac_func;
55736 #endif
55737 #ifdef __cplusplus
55739 #endif
55742 main ()
55744 return f != $ac_func;
55746 return 0;
55748 _ACEOF
55749 rm -f conftest.$ac_objext conftest$ac_exeext
55750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55751 (eval $ac_link) 2>conftest.er1
55752 ac_status=$?
55753 grep -v '^ *+' conftest.er1 >conftest.err
55754 rm -f conftest.er1
55755 cat conftest.err >&5
55756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55757 (exit $ac_status); } &&
55758 { ac_try='test -z "$ac_c_werror_flag"
55759 || test ! -s conftest.err'
55760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55761 (eval $ac_try) 2>&5
55762 ac_status=$?
55763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55764 (exit $ac_status); }; } &&
55765 { ac_try='test -s conftest$ac_exeext'
55766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55767 (eval $ac_try) 2>&5
55768 ac_status=$?
55769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55770 (exit $ac_status); }; }; then
55771 eval "$as_ac_var=yes"
55772 else
55773 echo "$as_me: failed program was:" >&5
55774 sed 's/^/| /' conftest.$ac_ext >&5
55776 eval "$as_ac_var=no"
55778 rm -f conftest.err conftest.$ac_objext \
55779 conftest$ac_exeext conftest.$ac_ext
55781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55783 if test `eval echo '${'$as_ac_var'}'` = yes; then
55784 cat >>confdefs.h <<_ACEOF
55785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55786 _ACEOF
55789 done
55791 else
55793 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55794 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55795 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55796 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55797 echo $ECHO_N "(cached) $ECHO_C" >&6
55798 else
55802 ac_ext=cc
55803 ac_cpp='$CXXCPP $CPPFLAGS'
55804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55808 cat >conftest.$ac_ext <<_ACEOF
55809 /* confdefs.h. */
55810 _ACEOF
55811 cat confdefs.h >>conftest.$ac_ext
55812 cat >>conftest.$ac_ext <<_ACEOF
55813 /* end confdefs.h. */
55814 #include <math.h>
55816 main ()
55818 _atan2l(0, 0);
55820 return 0;
55822 _ACEOF
55823 rm -f conftest.$ac_objext
55824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55825 (eval $ac_compile) 2>conftest.er1
55826 ac_status=$?
55827 grep -v '^ *+' conftest.er1 >conftest.err
55828 rm -f conftest.er1
55829 cat conftest.err >&5
55830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55831 (exit $ac_status); } &&
55832 { ac_try='test -z "$ac_cxx_werror_flag"
55833 || test ! -s conftest.err'
55834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55835 (eval $ac_try) 2>&5
55836 ac_status=$?
55837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838 (exit $ac_status); }; } &&
55839 { ac_try='test -s conftest.$ac_objext'
55840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55841 (eval $ac_try) 2>&5
55842 ac_status=$?
55843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55844 (exit $ac_status); }; }; then
55845 glibcxx_cv_func__atan2l_use=yes
55846 else
55847 echo "$as_me: failed program was:" >&5
55848 sed 's/^/| /' conftest.$ac_ext >&5
55850 glibcxx_cv_func__atan2l_use=no
55852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55853 ac_ext=c
55854 ac_cpp='$CPP $CPPFLAGS'
55855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55864 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55866 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55868 for ac_func in _atan2l
55870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55871 echo "$as_me:$LINENO: checking for $ac_func" >&5
55872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55873 if eval "test \"\${$as_ac_var+set}\" = set"; then
55874 echo $ECHO_N "(cached) $ECHO_C" >&6
55875 else
55876 if test x$gcc_no_link = xyes; then
55877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55879 { (exit 1); exit 1; }; }
55881 cat >conftest.$ac_ext <<_ACEOF
55882 /* confdefs.h. */
55883 _ACEOF
55884 cat confdefs.h >>conftest.$ac_ext
55885 cat >>conftest.$ac_ext <<_ACEOF
55886 /* end confdefs.h. */
55887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55889 #define $ac_func innocuous_$ac_func
55891 /* System header to define __stub macros and hopefully few prototypes,
55892 which can conflict with char $ac_func (); below.
55893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55894 <limits.h> exists even on freestanding compilers. */
55896 #ifdef __STDC__
55897 # include <limits.h>
55898 #else
55899 # include <assert.h>
55900 #endif
55902 #undef $ac_func
55904 /* Override any gcc2 internal prototype to avoid an error. */
55905 #ifdef __cplusplus
55906 extern "C"
55908 #endif
55909 /* We use char because int might match the return type of a gcc2
55910 builtin and then its argument prototype would still apply. */
55911 char $ac_func ();
55912 /* The GNU C library defines this for functions which it implements
55913 to always fail with ENOSYS. Some functions are actually named
55914 something starting with __ and the normal name is an alias. */
55915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55916 choke me
55917 #else
55918 char (*f) () = $ac_func;
55919 #endif
55920 #ifdef __cplusplus
55922 #endif
55925 main ()
55927 return f != $ac_func;
55929 return 0;
55931 _ACEOF
55932 rm -f conftest.$ac_objext conftest$ac_exeext
55933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55934 (eval $ac_link) 2>conftest.er1
55935 ac_status=$?
55936 grep -v '^ *+' conftest.er1 >conftest.err
55937 rm -f conftest.er1
55938 cat conftest.err >&5
55939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55940 (exit $ac_status); } &&
55941 { ac_try='test -z "$ac_c_werror_flag"
55942 || test ! -s conftest.err'
55943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55944 (eval $ac_try) 2>&5
55945 ac_status=$?
55946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55947 (exit $ac_status); }; } &&
55948 { ac_try='test -s conftest$ac_exeext'
55949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55950 (eval $ac_try) 2>&5
55951 ac_status=$?
55952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55953 (exit $ac_status); }; }; then
55954 eval "$as_ac_var=yes"
55955 else
55956 echo "$as_me: failed program was:" >&5
55957 sed 's/^/| /' conftest.$ac_ext >&5
55959 eval "$as_ac_var=no"
55961 rm -f conftest.err conftest.$ac_objext \
55962 conftest$ac_exeext conftest.$ac_ext
55964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55966 if test `eval echo '${'$as_ac_var'}'` = yes; then
55967 cat >>confdefs.h <<_ACEOF
55968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55969 _ACEOF
55972 done
55982 echo "$as_me:$LINENO: checking for expl declaration" >&5
55983 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55984 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55985 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55986 echo $ECHO_N "(cached) $ECHO_C" >&6
55987 else
55991 ac_ext=cc
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55997 cat >conftest.$ac_ext <<_ACEOF
55998 /* confdefs.h. */
55999 _ACEOF
56000 cat confdefs.h >>conftest.$ac_ext
56001 cat >>conftest.$ac_ext <<_ACEOF
56002 /* end confdefs.h. */
56003 #include <math.h>
56004 #ifdef HAVE_IEEEFP_H
56005 #include <ieeefp.h>
56006 #endif
56009 main ()
56011 expl(0);
56013 return 0;
56015 _ACEOF
56016 rm -f conftest.$ac_objext
56017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56018 (eval $ac_compile) 2>conftest.er1
56019 ac_status=$?
56020 grep -v '^ *+' conftest.er1 >conftest.err
56021 rm -f conftest.er1
56022 cat conftest.err >&5
56023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024 (exit $ac_status); } &&
56025 { ac_try='test -z "$ac_cxx_werror_flag"
56026 || test ! -s conftest.err'
56027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56028 (eval $ac_try) 2>&5
56029 ac_status=$?
56030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031 (exit $ac_status); }; } &&
56032 { ac_try='test -s conftest.$ac_objext'
56033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56034 (eval $ac_try) 2>&5
56035 ac_status=$?
56036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037 (exit $ac_status); }; }; then
56038 glibcxx_cv_func_expl_use=yes
56039 else
56040 echo "$as_me: failed program was:" >&5
56041 sed 's/^/| /' conftest.$ac_ext >&5
56043 glibcxx_cv_func_expl_use=no
56045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56046 ac_ext=c
56047 ac_cpp='$CPP $CPPFLAGS'
56048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56056 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56057 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56059 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56061 for ac_func in expl
56063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064 echo "$as_me:$LINENO: checking for $ac_func" >&5
56065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56066 if eval "test \"\${$as_ac_var+set}\" = set"; then
56067 echo $ECHO_N "(cached) $ECHO_C" >&6
56068 else
56069 if test x$gcc_no_link = xyes; then
56070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56072 { (exit 1); exit 1; }; }
56074 cat >conftest.$ac_ext <<_ACEOF
56075 /* confdefs.h. */
56076 _ACEOF
56077 cat confdefs.h >>conftest.$ac_ext
56078 cat >>conftest.$ac_ext <<_ACEOF
56079 /* end confdefs.h. */
56080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56082 #define $ac_func innocuous_$ac_func
56084 /* System header to define __stub macros and hopefully few prototypes,
56085 which can conflict with char $ac_func (); below.
56086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56087 <limits.h> exists even on freestanding compilers. */
56089 #ifdef __STDC__
56090 # include <limits.h>
56091 #else
56092 # include <assert.h>
56093 #endif
56095 #undef $ac_func
56097 /* Override any gcc2 internal prototype to avoid an error. */
56098 #ifdef __cplusplus
56099 extern "C"
56101 #endif
56102 /* We use char because int might match the return type of a gcc2
56103 builtin and then its argument prototype would still apply. */
56104 char $ac_func ();
56105 /* The GNU C library defines this for functions which it implements
56106 to always fail with ENOSYS. Some functions are actually named
56107 something starting with __ and the normal name is an alias. */
56108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56109 choke me
56110 #else
56111 char (*f) () = $ac_func;
56112 #endif
56113 #ifdef __cplusplus
56115 #endif
56118 main ()
56120 return f != $ac_func;
56122 return 0;
56124 _ACEOF
56125 rm -f conftest.$ac_objext conftest$ac_exeext
56126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56127 (eval $ac_link) 2>conftest.er1
56128 ac_status=$?
56129 grep -v '^ *+' conftest.er1 >conftest.err
56130 rm -f conftest.er1
56131 cat conftest.err >&5
56132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133 (exit $ac_status); } &&
56134 { ac_try='test -z "$ac_c_werror_flag"
56135 || test ! -s conftest.err'
56136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56137 (eval $ac_try) 2>&5
56138 ac_status=$?
56139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56140 (exit $ac_status); }; } &&
56141 { ac_try='test -s conftest$ac_exeext'
56142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56143 (eval $ac_try) 2>&5
56144 ac_status=$?
56145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146 (exit $ac_status); }; }; then
56147 eval "$as_ac_var=yes"
56148 else
56149 echo "$as_me: failed program was:" >&5
56150 sed 's/^/| /' conftest.$ac_ext >&5
56152 eval "$as_ac_var=no"
56154 rm -f conftest.err conftest.$ac_objext \
56155 conftest$ac_exeext conftest.$ac_ext
56157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56159 if test `eval echo '${'$as_ac_var'}'` = yes; then
56160 cat >>confdefs.h <<_ACEOF
56161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56162 _ACEOF
56165 done
56167 else
56169 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56170 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56171 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56172 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56173 echo $ECHO_N "(cached) $ECHO_C" >&6
56174 else
56178 ac_ext=cc
56179 ac_cpp='$CXXCPP $CPPFLAGS'
56180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56184 cat >conftest.$ac_ext <<_ACEOF
56185 /* confdefs.h. */
56186 _ACEOF
56187 cat confdefs.h >>conftest.$ac_ext
56188 cat >>conftest.$ac_ext <<_ACEOF
56189 /* end confdefs.h. */
56190 #include <math.h>
56191 #ifdef HAVE_IEEEFP_H
56192 #include <ieeefp.h>
56193 #endif
56196 main ()
56198 _expl(0);
56200 return 0;
56202 _ACEOF
56203 rm -f conftest.$ac_objext
56204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56205 (eval $ac_compile) 2>conftest.er1
56206 ac_status=$?
56207 grep -v '^ *+' conftest.er1 >conftest.err
56208 rm -f conftest.er1
56209 cat conftest.err >&5
56210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56211 (exit $ac_status); } &&
56212 { ac_try='test -z "$ac_cxx_werror_flag"
56213 || test ! -s conftest.err'
56214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56215 (eval $ac_try) 2>&5
56216 ac_status=$?
56217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56218 (exit $ac_status); }; } &&
56219 { ac_try='test -s conftest.$ac_objext'
56220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56221 (eval $ac_try) 2>&5
56222 ac_status=$?
56223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56224 (exit $ac_status); }; }; then
56225 glibcxx_cv_func__expl_use=yes
56226 else
56227 echo "$as_me: failed program was:" >&5
56228 sed 's/^/| /' conftest.$ac_ext >&5
56230 glibcxx_cv_func__expl_use=no
56232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56233 ac_ext=c
56234 ac_cpp='$CPP $CPPFLAGS'
56235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56244 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56246 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56248 for ac_func in _expl
56250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56251 echo "$as_me:$LINENO: checking for $ac_func" >&5
56252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56253 if eval "test \"\${$as_ac_var+set}\" = set"; then
56254 echo $ECHO_N "(cached) $ECHO_C" >&6
56255 else
56256 if test x$gcc_no_link = xyes; then
56257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56259 { (exit 1); exit 1; }; }
56261 cat >conftest.$ac_ext <<_ACEOF
56262 /* confdefs.h. */
56263 _ACEOF
56264 cat confdefs.h >>conftest.$ac_ext
56265 cat >>conftest.$ac_ext <<_ACEOF
56266 /* end confdefs.h. */
56267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56269 #define $ac_func innocuous_$ac_func
56271 /* System header to define __stub macros and hopefully few prototypes,
56272 which can conflict with char $ac_func (); below.
56273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56274 <limits.h> exists even on freestanding compilers. */
56276 #ifdef __STDC__
56277 # include <limits.h>
56278 #else
56279 # include <assert.h>
56280 #endif
56282 #undef $ac_func
56284 /* Override any gcc2 internal prototype to avoid an error. */
56285 #ifdef __cplusplus
56286 extern "C"
56288 #endif
56289 /* We use char because int might match the return type of a gcc2
56290 builtin and then its argument prototype would still apply. */
56291 char $ac_func ();
56292 /* The GNU C library defines this for functions which it implements
56293 to always fail with ENOSYS. Some functions are actually named
56294 something starting with __ and the normal name is an alias. */
56295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56296 choke me
56297 #else
56298 char (*f) () = $ac_func;
56299 #endif
56300 #ifdef __cplusplus
56302 #endif
56305 main ()
56307 return f != $ac_func;
56309 return 0;
56311 _ACEOF
56312 rm -f conftest.$ac_objext conftest$ac_exeext
56313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56314 (eval $ac_link) 2>conftest.er1
56315 ac_status=$?
56316 grep -v '^ *+' conftest.er1 >conftest.err
56317 rm -f conftest.er1
56318 cat conftest.err >&5
56319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56320 (exit $ac_status); } &&
56321 { ac_try='test -z "$ac_c_werror_flag"
56322 || test ! -s conftest.err'
56323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56324 (eval $ac_try) 2>&5
56325 ac_status=$?
56326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56327 (exit $ac_status); }; } &&
56328 { ac_try='test -s conftest$ac_exeext'
56329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56330 (eval $ac_try) 2>&5
56331 ac_status=$?
56332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56333 (exit $ac_status); }; }; then
56334 eval "$as_ac_var=yes"
56335 else
56336 echo "$as_me: failed program was:" >&5
56337 sed 's/^/| /' conftest.$ac_ext >&5
56339 eval "$as_ac_var=no"
56341 rm -f conftest.err conftest.$ac_objext \
56342 conftest$ac_exeext conftest.$ac_ext
56344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56346 if test `eval echo '${'$as_ac_var'}'` = yes; then
56347 cat >>confdefs.h <<_ACEOF
56348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56349 _ACEOF
56352 done
56362 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56363 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56364 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56365 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56366 echo $ECHO_N "(cached) $ECHO_C" >&6
56367 else
56371 ac_ext=cc
56372 ac_cpp='$CXXCPP $CPPFLAGS'
56373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56377 cat >conftest.$ac_ext <<_ACEOF
56378 /* confdefs.h. */
56379 _ACEOF
56380 cat confdefs.h >>conftest.$ac_ext
56381 cat >>conftest.$ac_ext <<_ACEOF
56382 /* end confdefs.h. */
56383 #include <math.h>
56384 #ifdef HAVE_IEEEFP_H
56385 #include <ieeefp.h>
56386 #endif
56389 main ()
56391 fabsl(0);
56393 return 0;
56395 _ACEOF
56396 rm -f conftest.$ac_objext
56397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56398 (eval $ac_compile) 2>conftest.er1
56399 ac_status=$?
56400 grep -v '^ *+' conftest.er1 >conftest.err
56401 rm -f conftest.er1
56402 cat conftest.err >&5
56403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56404 (exit $ac_status); } &&
56405 { ac_try='test -z "$ac_cxx_werror_flag"
56406 || test ! -s conftest.err'
56407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56408 (eval $ac_try) 2>&5
56409 ac_status=$?
56410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56411 (exit $ac_status); }; } &&
56412 { ac_try='test -s conftest.$ac_objext'
56413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56414 (eval $ac_try) 2>&5
56415 ac_status=$?
56416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56417 (exit $ac_status); }; }; then
56418 glibcxx_cv_func_fabsl_use=yes
56419 else
56420 echo "$as_me: failed program was:" >&5
56421 sed 's/^/| /' conftest.$ac_ext >&5
56423 glibcxx_cv_func_fabsl_use=no
56425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56426 ac_ext=c
56427 ac_cpp='$CPP $CPPFLAGS'
56428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56437 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56439 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56441 for ac_func in fabsl
56443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56444 echo "$as_me:$LINENO: checking for $ac_func" >&5
56445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56446 if eval "test \"\${$as_ac_var+set}\" = set"; then
56447 echo $ECHO_N "(cached) $ECHO_C" >&6
56448 else
56449 if test x$gcc_no_link = xyes; then
56450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56452 { (exit 1); exit 1; }; }
56454 cat >conftest.$ac_ext <<_ACEOF
56455 /* confdefs.h. */
56456 _ACEOF
56457 cat confdefs.h >>conftest.$ac_ext
56458 cat >>conftest.$ac_ext <<_ACEOF
56459 /* end confdefs.h. */
56460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56462 #define $ac_func innocuous_$ac_func
56464 /* System header to define __stub macros and hopefully few prototypes,
56465 which can conflict with char $ac_func (); below.
56466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56467 <limits.h> exists even on freestanding compilers. */
56469 #ifdef __STDC__
56470 # include <limits.h>
56471 #else
56472 # include <assert.h>
56473 #endif
56475 #undef $ac_func
56477 /* Override any gcc2 internal prototype to avoid an error. */
56478 #ifdef __cplusplus
56479 extern "C"
56481 #endif
56482 /* We use char because int might match the return type of a gcc2
56483 builtin and then its argument prototype would still apply. */
56484 char $ac_func ();
56485 /* The GNU C library defines this for functions which it implements
56486 to always fail with ENOSYS. Some functions are actually named
56487 something starting with __ and the normal name is an alias. */
56488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56489 choke me
56490 #else
56491 char (*f) () = $ac_func;
56492 #endif
56493 #ifdef __cplusplus
56495 #endif
56498 main ()
56500 return f != $ac_func;
56502 return 0;
56504 _ACEOF
56505 rm -f conftest.$ac_objext conftest$ac_exeext
56506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56507 (eval $ac_link) 2>conftest.er1
56508 ac_status=$?
56509 grep -v '^ *+' conftest.er1 >conftest.err
56510 rm -f conftest.er1
56511 cat conftest.err >&5
56512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56513 (exit $ac_status); } &&
56514 { ac_try='test -z "$ac_c_werror_flag"
56515 || test ! -s conftest.err'
56516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56517 (eval $ac_try) 2>&5
56518 ac_status=$?
56519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56520 (exit $ac_status); }; } &&
56521 { ac_try='test -s conftest$ac_exeext'
56522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56523 (eval $ac_try) 2>&5
56524 ac_status=$?
56525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56526 (exit $ac_status); }; }; then
56527 eval "$as_ac_var=yes"
56528 else
56529 echo "$as_me: failed program was:" >&5
56530 sed 's/^/| /' conftest.$ac_ext >&5
56532 eval "$as_ac_var=no"
56534 rm -f conftest.err conftest.$ac_objext \
56535 conftest$ac_exeext conftest.$ac_ext
56537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56539 if test `eval echo '${'$as_ac_var'}'` = yes; then
56540 cat >>confdefs.h <<_ACEOF
56541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56542 _ACEOF
56545 done
56547 else
56549 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56550 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56551 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56552 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56553 echo $ECHO_N "(cached) $ECHO_C" >&6
56554 else
56558 ac_ext=cc
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56564 cat >conftest.$ac_ext <<_ACEOF
56565 /* confdefs.h. */
56566 _ACEOF
56567 cat confdefs.h >>conftest.$ac_ext
56568 cat >>conftest.$ac_ext <<_ACEOF
56569 /* end confdefs.h. */
56570 #include <math.h>
56571 #ifdef HAVE_IEEEFP_H
56572 #include <ieeefp.h>
56573 #endif
56576 main ()
56578 _fabsl(0);
56580 return 0;
56582 _ACEOF
56583 rm -f conftest.$ac_objext
56584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56585 (eval $ac_compile) 2>conftest.er1
56586 ac_status=$?
56587 grep -v '^ *+' conftest.er1 >conftest.err
56588 rm -f conftest.er1
56589 cat conftest.err >&5
56590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56591 (exit $ac_status); } &&
56592 { ac_try='test -z "$ac_cxx_werror_flag"
56593 || test ! -s conftest.err'
56594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56595 (eval $ac_try) 2>&5
56596 ac_status=$?
56597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56598 (exit $ac_status); }; } &&
56599 { ac_try='test -s conftest.$ac_objext'
56600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56601 (eval $ac_try) 2>&5
56602 ac_status=$?
56603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56604 (exit $ac_status); }; }; then
56605 glibcxx_cv_func__fabsl_use=yes
56606 else
56607 echo "$as_me: failed program was:" >&5
56608 sed 's/^/| /' conftest.$ac_ext >&5
56610 glibcxx_cv_func__fabsl_use=no
56612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56624 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56626 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56628 for ac_func in _fabsl
56630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56631 echo "$as_me:$LINENO: checking for $ac_func" >&5
56632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56633 if eval "test \"\${$as_ac_var+set}\" = set"; then
56634 echo $ECHO_N "(cached) $ECHO_C" >&6
56635 else
56636 if test x$gcc_no_link = xyes; then
56637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56639 { (exit 1); exit 1; }; }
56641 cat >conftest.$ac_ext <<_ACEOF
56642 /* confdefs.h. */
56643 _ACEOF
56644 cat confdefs.h >>conftest.$ac_ext
56645 cat >>conftest.$ac_ext <<_ACEOF
56646 /* end confdefs.h. */
56647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56649 #define $ac_func innocuous_$ac_func
56651 /* System header to define __stub macros and hopefully few prototypes,
56652 which can conflict with char $ac_func (); below.
56653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56654 <limits.h> exists even on freestanding compilers. */
56656 #ifdef __STDC__
56657 # include <limits.h>
56658 #else
56659 # include <assert.h>
56660 #endif
56662 #undef $ac_func
56664 /* Override any gcc2 internal prototype to avoid an error. */
56665 #ifdef __cplusplus
56666 extern "C"
56668 #endif
56669 /* We use char because int might match the return type of a gcc2
56670 builtin and then its argument prototype would still apply. */
56671 char $ac_func ();
56672 /* The GNU C library defines this for functions which it implements
56673 to always fail with ENOSYS. Some functions are actually named
56674 something starting with __ and the normal name is an alias. */
56675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56676 choke me
56677 #else
56678 char (*f) () = $ac_func;
56679 #endif
56680 #ifdef __cplusplus
56682 #endif
56685 main ()
56687 return f != $ac_func;
56689 return 0;
56691 _ACEOF
56692 rm -f conftest.$ac_objext conftest$ac_exeext
56693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56694 (eval $ac_link) 2>conftest.er1
56695 ac_status=$?
56696 grep -v '^ *+' conftest.er1 >conftest.err
56697 rm -f conftest.er1
56698 cat conftest.err >&5
56699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56700 (exit $ac_status); } &&
56701 { ac_try='test -z "$ac_c_werror_flag"
56702 || test ! -s conftest.err'
56703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56704 (eval $ac_try) 2>&5
56705 ac_status=$?
56706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56707 (exit $ac_status); }; } &&
56708 { ac_try='test -s conftest$ac_exeext'
56709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56710 (eval $ac_try) 2>&5
56711 ac_status=$?
56712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56713 (exit $ac_status); }; }; then
56714 eval "$as_ac_var=yes"
56715 else
56716 echo "$as_me: failed program was:" >&5
56717 sed 's/^/| /' conftest.$ac_ext >&5
56719 eval "$as_ac_var=no"
56721 rm -f conftest.err conftest.$ac_objext \
56722 conftest$ac_exeext conftest.$ac_ext
56724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56726 if test `eval echo '${'$as_ac_var'}'` = yes; then
56727 cat >>confdefs.h <<_ACEOF
56728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56729 _ACEOF
56732 done
56742 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56743 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56744 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56745 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56746 echo $ECHO_N "(cached) $ECHO_C" >&6
56747 else
56751 ac_ext=cc
56752 ac_cpp='$CXXCPP $CPPFLAGS'
56753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56757 cat >conftest.$ac_ext <<_ACEOF
56758 /* confdefs.h. */
56759 _ACEOF
56760 cat confdefs.h >>conftest.$ac_ext
56761 cat >>conftest.$ac_ext <<_ACEOF
56762 /* end confdefs.h. */
56763 #include <math.h>
56765 main ()
56767 fmodl(0, 0);
56769 return 0;
56771 _ACEOF
56772 rm -f conftest.$ac_objext
56773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56774 (eval $ac_compile) 2>conftest.er1
56775 ac_status=$?
56776 grep -v '^ *+' conftest.er1 >conftest.err
56777 rm -f conftest.er1
56778 cat conftest.err >&5
56779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780 (exit $ac_status); } &&
56781 { ac_try='test -z "$ac_cxx_werror_flag"
56782 || test ! -s conftest.err'
56783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56784 (eval $ac_try) 2>&5
56785 ac_status=$?
56786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56787 (exit $ac_status); }; } &&
56788 { ac_try='test -s conftest.$ac_objext'
56789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56790 (eval $ac_try) 2>&5
56791 ac_status=$?
56792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56793 (exit $ac_status); }; }; then
56794 glibcxx_cv_func_fmodl_use=yes
56795 else
56796 echo "$as_me: failed program was:" >&5
56797 sed 's/^/| /' conftest.$ac_ext >&5
56799 glibcxx_cv_func_fmodl_use=no
56801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56802 ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56813 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56815 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56817 for ac_func in fmodl
56819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56820 echo "$as_me:$LINENO: checking for $ac_func" >&5
56821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56822 if eval "test \"\${$as_ac_var+set}\" = set"; then
56823 echo $ECHO_N "(cached) $ECHO_C" >&6
56824 else
56825 if test x$gcc_no_link = xyes; then
56826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56828 { (exit 1); exit 1; }; }
56830 cat >conftest.$ac_ext <<_ACEOF
56831 /* confdefs.h. */
56832 _ACEOF
56833 cat confdefs.h >>conftest.$ac_ext
56834 cat >>conftest.$ac_ext <<_ACEOF
56835 /* end confdefs.h. */
56836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56838 #define $ac_func innocuous_$ac_func
56840 /* System header to define __stub macros and hopefully few prototypes,
56841 which can conflict with char $ac_func (); below.
56842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56843 <limits.h> exists even on freestanding compilers. */
56845 #ifdef __STDC__
56846 # include <limits.h>
56847 #else
56848 # include <assert.h>
56849 #endif
56851 #undef $ac_func
56853 /* Override any gcc2 internal prototype to avoid an error. */
56854 #ifdef __cplusplus
56855 extern "C"
56857 #endif
56858 /* We use char because int might match the return type of a gcc2
56859 builtin and then its argument prototype would still apply. */
56860 char $ac_func ();
56861 /* The GNU C library defines this for functions which it implements
56862 to always fail with ENOSYS. Some functions are actually named
56863 something starting with __ and the normal name is an alias. */
56864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56865 choke me
56866 #else
56867 char (*f) () = $ac_func;
56868 #endif
56869 #ifdef __cplusplus
56871 #endif
56874 main ()
56876 return f != $ac_func;
56878 return 0;
56880 _ACEOF
56881 rm -f conftest.$ac_objext conftest$ac_exeext
56882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56883 (eval $ac_link) 2>conftest.er1
56884 ac_status=$?
56885 grep -v '^ *+' conftest.er1 >conftest.err
56886 rm -f conftest.er1
56887 cat conftest.err >&5
56888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56889 (exit $ac_status); } &&
56890 { ac_try='test -z "$ac_c_werror_flag"
56891 || test ! -s conftest.err'
56892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56893 (eval $ac_try) 2>&5
56894 ac_status=$?
56895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56896 (exit $ac_status); }; } &&
56897 { ac_try='test -s conftest$ac_exeext'
56898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56899 (eval $ac_try) 2>&5
56900 ac_status=$?
56901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56902 (exit $ac_status); }; }; then
56903 eval "$as_ac_var=yes"
56904 else
56905 echo "$as_me: failed program was:" >&5
56906 sed 's/^/| /' conftest.$ac_ext >&5
56908 eval "$as_ac_var=no"
56910 rm -f conftest.err conftest.$ac_objext \
56911 conftest$ac_exeext conftest.$ac_ext
56913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56915 if test `eval echo '${'$as_ac_var'}'` = yes; then
56916 cat >>confdefs.h <<_ACEOF
56917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56918 _ACEOF
56921 done
56923 else
56925 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56926 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56927 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56928 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56929 echo $ECHO_N "(cached) $ECHO_C" >&6
56930 else
56934 ac_ext=cc
56935 ac_cpp='$CXXCPP $CPPFLAGS'
56936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56940 cat >conftest.$ac_ext <<_ACEOF
56941 /* confdefs.h. */
56942 _ACEOF
56943 cat confdefs.h >>conftest.$ac_ext
56944 cat >>conftest.$ac_ext <<_ACEOF
56945 /* end confdefs.h. */
56946 #include <math.h>
56948 main ()
56950 _fmodl(0, 0);
56952 return 0;
56954 _ACEOF
56955 rm -f conftest.$ac_objext
56956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56957 (eval $ac_compile) 2>conftest.er1
56958 ac_status=$?
56959 grep -v '^ *+' conftest.er1 >conftest.err
56960 rm -f conftest.er1
56961 cat conftest.err >&5
56962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56963 (exit $ac_status); } &&
56964 { ac_try='test -z "$ac_cxx_werror_flag"
56965 || test ! -s conftest.err'
56966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56967 (eval $ac_try) 2>&5
56968 ac_status=$?
56969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970 (exit $ac_status); }; } &&
56971 { ac_try='test -s conftest.$ac_objext'
56972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56973 (eval $ac_try) 2>&5
56974 ac_status=$?
56975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56976 (exit $ac_status); }; }; then
56977 glibcxx_cv_func__fmodl_use=yes
56978 else
56979 echo "$as_me: failed program was:" >&5
56980 sed 's/^/| /' conftest.$ac_ext >&5
56982 glibcxx_cv_func__fmodl_use=no
56984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56985 ac_ext=c
56986 ac_cpp='$CPP $CPPFLAGS'
56987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56996 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56998 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57000 for ac_func in _fmodl
57002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57003 echo "$as_me:$LINENO: checking for $ac_func" >&5
57004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57005 if eval "test \"\${$as_ac_var+set}\" = set"; then
57006 echo $ECHO_N "(cached) $ECHO_C" >&6
57007 else
57008 if test x$gcc_no_link = xyes; then
57009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57011 { (exit 1); exit 1; }; }
57013 cat >conftest.$ac_ext <<_ACEOF
57014 /* confdefs.h. */
57015 _ACEOF
57016 cat confdefs.h >>conftest.$ac_ext
57017 cat >>conftest.$ac_ext <<_ACEOF
57018 /* end confdefs.h. */
57019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57021 #define $ac_func innocuous_$ac_func
57023 /* System header to define __stub macros and hopefully few prototypes,
57024 which can conflict with char $ac_func (); below.
57025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57026 <limits.h> exists even on freestanding compilers. */
57028 #ifdef __STDC__
57029 # include <limits.h>
57030 #else
57031 # include <assert.h>
57032 #endif
57034 #undef $ac_func
57036 /* Override any gcc2 internal prototype to avoid an error. */
57037 #ifdef __cplusplus
57038 extern "C"
57040 #endif
57041 /* We use char because int might match the return type of a gcc2
57042 builtin and then its argument prototype would still apply. */
57043 char $ac_func ();
57044 /* The GNU C library defines this for functions which it implements
57045 to always fail with ENOSYS. Some functions are actually named
57046 something starting with __ and the normal name is an alias. */
57047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57048 choke me
57049 #else
57050 char (*f) () = $ac_func;
57051 #endif
57052 #ifdef __cplusplus
57054 #endif
57057 main ()
57059 return f != $ac_func;
57061 return 0;
57063 _ACEOF
57064 rm -f conftest.$ac_objext conftest$ac_exeext
57065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57066 (eval $ac_link) 2>conftest.er1
57067 ac_status=$?
57068 grep -v '^ *+' conftest.er1 >conftest.err
57069 rm -f conftest.er1
57070 cat conftest.err >&5
57071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57072 (exit $ac_status); } &&
57073 { ac_try='test -z "$ac_c_werror_flag"
57074 || test ! -s conftest.err'
57075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57076 (eval $ac_try) 2>&5
57077 ac_status=$?
57078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57079 (exit $ac_status); }; } &&
57080 { ac_try='test -s conftest$ac_exeext'
57081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57082 (eval $ac_try) 2>&5
57083 ac_status=$?
57084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57085 (exit $ac_status); }; }; then
57086 eval "$as_ac_var=yes"
57087 else
57088 echo "$as_me: failed program was:" >&5
57089 sed 's/^/| /' conftest.$ac_ext >&5
57091 eval "$as_ac_var=no"
57093 rm -f conftest.err conftest.$ac_objext \
57094 conftest$ac_exeext conftest.$ac_ext
57096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57098 if test `eval echo '${'$as_ac_var'}'` = yes; then
57099 cat >>confdefs.h <<_ACEOF
57100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57101 _ACEOF
57104 done
57114 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57115 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57116 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57117 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57118 echo $ECHO_N "(cached) $ECHO_C" >&6
57119 else
57123 ac_ext=cc
57124 ac_cpp='$CXXCPP $CPPFLAGS'
57125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57129 cat >conftest.$ac_ext <<_ACEOF
57130 /* confdefs.h. */
57131 _ACEOF
57132 cat confdefs.h >>conftest.$ac_ext
57133 cat >>conftest.$ac_ext <<_ACEOF
57134 /* end confdefs.h. */
57135 #include <math.h>
57137 main ()
57139 frexpl(0, 0);
57141 return 0;
57143 _ACEOF
57144 rm -f conftest.$ac_objext
57145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57146 (eval $ac_compile) 2>conftest.er1
57147 ac_status=$?
57148 grep -v '^ *+' conftest.er1 >conftest.err
57149 rm -f conftest.er1
57150 cat conftest.err >&5
57151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57152 (exit $ac_status); } &&
57153 { ac_try='test -z "$ac_cxx_werror_flag"
57154 || test ! -s conftest.err'
57155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57156 (eval $ac_try) 2>&5
57157 ac_status=$?
57158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57159 (exit $ac_status); }; } &&
57160 { ac_try='test -s conftest.$ac_objext'
57161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57162 (eval $ac_try) 2>&5
57163 ac_status=$?
57164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57165 (exit $ac_status); }; }; then
57166 glibcxx_cv_func_frexpl_use=yes
57167 else
57168 echo "$as_me: failed program was:" >&5
57169 sed 's/^/| /' conftest.$ac_ext >&5
57171 glibcxx_cv_func_frexpl_use=no
57173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57174 ac_ext=c
57175 ac_cpp='$CPP $CPPFLAGS'
57176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57185 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57187 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57189 for ac_func in frexpl
57191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57192 echo "$as_me:$LINENO: checking for $ac_func" >&5
57193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57194 if eval "test \"\${$as_ac_var+set}\" = set"; then
57195 echo $ECHO_N "(cached) $ECHO_C" >&6
57196 else
57197 if test x$gcc_no_link = xyes; then
57198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57200 { (exit 1); exit 1; }; }
57202 cat >conftest.$ac_ext <<_ACEOF
57203 /* confdefs.h. */
57204 _ACEOF
57205 cat confdefs.h >>conftest.$ac_ext
57206 cat >>conftest.$ac_ext <<_ACEOF
57207 /* end confdefs.h. */
57208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57210 #define $ac_func innocuous_$ac_func
57212 /* System header to define __stub macros and hopefully few prototypes,
57213 which can conflict with char $ac_func (); below.
57214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57215 <limits.h> exists even on freestanding compilers. */
57217 #ifdef __STDC__
57218 # include <limits.h>
57219 #else
57220 # include <assert.h>
57221 #endif
57223 #undef $ac_func
57225 /* Override any gcc2 internal prototype to avoid an error. */
57226 #ifdef __cplusplus
57227 extern "C"
57229 #endif
57230 /* We use char because int might match the return type of a gcc2
57231 builtin and then its argument prototype would still apply. */
57232 char $ac_func ();
57233 /* The GNU C library defines this for functions which it implements
57234 to always fail with ENOSYS. Some functions are actually named
57235 something starting with __ and the normal name is an alias. */
57236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57237 choke me
57238 #else
57239 char (*f) () = $ac_func;
57240 #endif
57241 #ifdef __cplusplus
57243 #endif
57246 main ()
57248 return f != $ac_func;
57250 return 0;
57252 _ACEOF
57253 rm -f conftest.$ac_objext conftest$ac_exeext
57254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57255 (eval $ac_link) 2>conftest.er1
57256 ac_status=$?
57257 grep -v '^ *+' conftest.er1 >conftest.err
57258 rm -f conftest.er1
57259 cat conftest.err >&5
57260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57261 (exit $ac_status); } &&
57262 { ac_try='test -z "$ac_c_werror_flag"
57263 || test ! -s conftest.err'
57264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57265 (eval $ac_try) 2>&5
57266 ac_status=$?
57267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57268 (exit $ac_status); }; } &&
57269 { ac_try='test -s conftest$ac_exeext'
57270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57271 (eval $ac_try) 2>&5
57272 ac_status=$?
57273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57274 (exit $ac_status); }; }; then
57275 eval "$as_ac_var=yes"
57276 else
57277 echo "$as_me: failed program was:" >&5
57278 sed 's/^/| /' conftest.$ac_ext >&5
57280 eval "$as_ac_var=no"
57282 rm -f conftest.err conftest.$ac_objext \
57283 conftest$ac_exeext conftest.$ac_ext
57285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57287 if test `eval echo '${'$as_ac_var'}'` = yes; then
57288 cat >>confdefs.h <<_ACEOF
57289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57290 _ACEOF
57293 done
57295 else
57297 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57298 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57299 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57300 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57301 echo $ECHO_N "(cached) $ECHO_C" >&6
57302 else
57306 ac_ext=cc
57307 ac_cpp='$CXXCPP $CPPFLAGS'
57308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57312 cat >conftest.$ac_ext <<_ACEOF
57313 /* confdefs.h. */
57314 _ACEOF
57315 cat confdefs.h >>conftest.$ac_ext
57316 cat >>conftest.$ac_ext <<_ACEOF
57317 /* end confdefs.h. */
57318 #include <math.h>
57320 main ()
57322 _frexpl(0, 0);
57324 return 0;
57326 _ACEOF
57327 rm -f conftest.$ac_objext
57328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57329 (eval $ac_compile) 2>conftest.er1
57330 ac_status=$?
57331 grep -v '^ *+' conftest.er1 >conftest.err
57332 rm -f conftest.er1
57333 cat conftest.err >&5
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); } &&
57336 { ac_try='test -z "$ac_cxx_werror_flag"
57337 || test ! -s conftest.err'
57338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57339 (eval $ac_try) 2>&5
57340 ac_status=$?
57341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57342 (exit $ac_status); }; } &&
57343 { ac_try='test -s conftest.$ac_objext'
57344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57345 (eval $ac_try) 2>&5
57346 ac_status=$?
57347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57348 (exit $ac_status); }; }; then
57349 glibcxx_cv_func__frexpl_use=yes
57350 else
57351 echo "$as_me: failed program was:" >&5
57352 sed 's/^/| /' conftest.$ac_ext >&5
57354 glibcxx_cv_func__frexpl_use=no
57356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57357 ac_ext=c
57358 ac_cpp='$CPP $CPPFLAGS'
57359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57368 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57370 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57372 for ac_func in _frexpl
57374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57375 echo "$as_me:$LINENO: checking for $ac_func" >&5
57376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57377 if eval "test \"\${$as_ac_var+set}\" = set"; then
57378 echo $ECHO_N "(cached) $ECHO_C" >&6
57379 else
57380 if test x$gcc_no_link = xyes; then
57381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57383 { (exit 1); exit 1; }; }
57385 cat >conftest.$ac_ext <<_ACEOF
57386 /* confdefs.h. */
57387 _ACEOF
57388 cat confdefs.h >>conftest.$ac_ext
57389 cat >>conftest.$ac_ext <<_ACEOF
57390 /* end confdefs.h. */
57391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57393 #define $ac_func innocuous_$ac_func
57395 /* System header to define __stub macros and hopefully few prototypes,
57396 which can conflict with char $ac_func (); below.
57397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57398 <limits.h> exists even on freestanding compilers. */
57400 #ifdef __STDC__
57401 # include <limits.h>
57402 #else
57403 # include <assert.h>
57404 #endif
57406 #undef $ac_func
57408 /* Override any gcc2 internal prototype to avoid an error. */
57409 #ifdef __cplusplus
57410 extern "C"
57412 #endif
57413 /* We use char because int might match the return type of a gcc2
57414 builtin and then its argument prototype would still apply. */
57415 char $ac_func ();
57416 /* The GNU C library defines this for functions which it implements
57417 to always fail with ENOSYS. Some functions are actually named
57418 something starting with __ and the normal name is an alias. */
57419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57420 choke me
57421 #else
57422 char (*f) () = $ac_func;
57423 #endif
57424 #ifdef __cplusplus
57426 #endif
57429 main ()
57431 return f != $ac_func;
57433 return 0;
57435 _ACEOF
57436 rm -f conftest.$ac_objext conftest$ac_exeext
57437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57438 (eval $ac_link) 2>conftest.er1
57439 ac_status=$?
57440 grep -v '^ *+' conftest.er1 >conftest.err
57441 rm -f conftest.er1
57442 cat conftest.err >&5
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); } &&
57445 { ac_try='test -z "$ac_c_werror_flag"
57446 || test ! -s conftest.err'
57447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57448 (eval $ac_try) 2>&5
57449 ac_status=$?
57450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451 (exit $ac_status); }; } &&
57452 { ac_try='test -s conftest$ac_exeext'
57453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454 (eval $ac_try) 2>&5
57455 ac_status=$?
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); }; }; then
57458 eval "$as_ac_var=yes"
57459 else
57460 echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57463 eval "$as_ac_var=no"
57465 rm -f conftest.err conftest.$ac_objext \
57466 conftest$ac_exeext conftest.$ac_ext
57468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57470 if test `eval echo '${'$as_ac_var'}'` = yes; then
57471 cat >>confdefs.h <<_ACEOF
57472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57473 _ACEOF
57476 done
57486 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57487 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57488 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57489 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57490 echo $ECHO_N "(cached) $ECHO_C" >&6
57491 else
57495 ac_ext=cc
57496 ac_cpp='$CXXCPP $CPPFLAGS'
57497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57501 cat >conftest.$ac_ext <<_ACEOF
57502 /* confdefs.h. */
57503 _ACEOF
57504 cat confdefs.h >>conftest.$ac_ext
57505 cat >>conftest.$ac_ext <<_ACEOF
57506 /* end confdefs.h. */
57507 #include <math.h>
57509 main ()
57511 hypotl(0, 0);
57513 return 0;
57515 _ACEOF
57516 rm -f conftest.$ac_objext
57517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57518 (eval $ac_compile) 2>conftest.er1
57519 ac_status=$?
57520 grep -v '^ *+' conftest.er1 >conftest.err
57521 rm -f conftest.er1
57522 cat conftest.err >&5
57523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57524 (exit $ac_status); } &&
57525 { ac_try='test -z "$ac_cxx_werror_flag"
57526 || test ! -s conftest.err'
57527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57528 (eval $ac_try) 2>&5
57529 ac_status=$?
57530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57531 (exit $ac_status); }; } &&
57532 { ac_try='test -s conftest.$ac_objext'
57533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57534 (eval $ac_try) 2>&5
57535 ac_status=$?
57536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57537 (exit $ac_status); }; }; then
57538 glibcxx_cv_func_hypotl_use=yes
57539 else
57540 echo "$as_me: failed program was:" >&5
57541 sed 's/^/| /' conftest.$ac_ext >&5
57543 glibcxx_cv_func_hypotl_use=no
57545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57546 ac_ext=c
57547 ac_cpp='$CPP $CPPFLAGS'
57548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57557 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57559 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57561 for ac_func in hypotl
57563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57564 echo "$as_me:$LINENO: checking for $ac_func" >&5
57565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57566 if eval "test \"\${$as_ac_var+set}\" = set"; then
57567 echo $ECHO_N "(cached) $ECHO_C" >&6
57568 else
57569 if test x$gcc_no_link = xyes; then
57570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57572 { (exit 1); exit 1; }; }
57574 cat >conftest.$ac_ext <<_ACEOF
57575 /* confdefs.h. */
57576 _ACEOF
57577 cat confdefs.h >>conftest.$ac_ext
57578 cat >>conftest.$ac_ext <<_ACEOF
57579 /* end confdefs.h. */
57580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57582 #define $ac_func innocuous_$ac_func
57584 /* System header to define __stub macros and hopefully few prototypes,
57585 which can conflict with char $ac_func (); below.
57586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57587 <limits.h> exists even on freestanding compilers. */
57589 #ifdef __STDC__
57590 # include <limits.h>
57591 #else
57592 # include <assert.h>
57593 #endif
57595 #undef $ac_func
57597 /* Override any gcc2 internal prototype to avoid an error. */
57598 #ifdef __cplusplus
57599 extern "C"
57601 #endif
57602 /* We use char because int might match the return type of a gcc2
57603 builtin and then its argument prototype would still apply. */
57604 char $ac_func ();
57605 /* The GNU C library defines this for functions which it implements
57606 to always fail with ENOSYS. Some functions are actually named
57607 something starting with __ and the normal name is an alias. */
57608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57609 choke me
57610 #else
57611 char (*f) () = $ac_func;
57612 #endif
57613 #ifdef __cplusplus
57615 #endif
57618 main ()
57620 return f != $ac_func;
57622 return 0;
57624 _ACEOF
57625 rm -f conftest.$ac_objext conftest$ac_exeext
57626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57627 (eval $ac_link) 2>conftest.er1
57628 ac_status=$?
57629 grep -v '^ *+' conftest.er1 >conftest.err
57630 rm -f conftest.er1
57631 cat conftest.err >&5
57632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57633 (exit $ac_status); } &&
57634 { ac_try='test -z "$ac_c_werror_flag"
57635 || test ! -s conftest.err'
57636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57637 (eval $ac_try) 2>&5
57638 ac_status=$?
57639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57640 (exit $ac_status); }; } &&
57641 { ac_try='test -s conftest$ac_exeext'
57642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57643 (eval $ac_try) 2>&5
57644 ac_status=$?
57645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57646 (exit $ac_status); }; }; then
57647 eval "$as_ac_var=yes"
57648 else
57649 echo "$as_me: failed program was:" >&5
57650 sed 's/^/| /' conftest.$ac_ext >&5
57652 eval "$as_ac_var=no"
57654 rm -f conftest.err conftest.$ac_objext \
57655 conftest$ac_exeext conftest.$ac_ext
57657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57659 if test `eval echo '${'$as_ac_var'}'` = yes; then
57660 cat >>confdefs.h <<_ACEOF
57661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57662 _ACEOF
57665 done
57667 else
57669 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57670 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57671 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57672 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57673 echo $ECHO_N "(cached) $ECHO_C" >&6
57674 else
57678 ac_ext=cc
57679 ac_cpp='$CXXCPP $CPPFLAGS'
57680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57684 cat >conftest.$ac_ext <<_ACEOF
57685 /* confdefs.h. */
57686 _ACEOF
57687 cat confdefs.h >>conftest.$ac_ext
57688 cat >>conftest.$ac_ext <<_ACEOF
57689 /* end confdefs.h. */
57690 #include <math.h>
57692 main ()
57694 _hypotl(0, 0);
57696 return 0;
57698 _ACEOF
57699 rm -f conftest.$ac_objext
57700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57701 (eval $ac_compile) 2>conftest.er1
57702 ac_status=$?
57703 grep -v '^ *+' conftest.er1 >conftest.err
57704 rm -f conftest.er1
57705 cat conftest.err >&5
57706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57707 (exit $ac_status); } &&
57708 { ac_try='test -z "$ac_cxx_werror_flag"
57709 || test ! -s conftest.err'
57710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57711 (eval $ac_try) 2>&5
57712 ac_status=$?
57713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57714 (exit $ac_status); }; } &&
57715 { ac_try='test -s conftest.$ac_objext'
57716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57717 (eval $ac_try) 2>&5
57718 ac_status=$?
57719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57720 (exit $ac_status); }; }; then
57721 glibcxx_cv_func__hypotl_use=yes
57722 else
57723 echo "$as_me: failed program was:" >&5
57724 sed 's/^/| /' conftest.$ac_ext >&5
57726 glibcxx_cv_func__hypotl_use=no
57728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57729 ac_ext=c
57730 ac_cpp='$CPP $CPPFLAGS'
57731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57740 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57742 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57744 for ac_func in _hypotl
57746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57747 echo "$as_me:$LINENO: checking for $ac_func" >&5
57748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57749 if eval "test \"\${$as_ac_var+set}\" = set"; then
57750 echo $ECHO_N "(cached) $ECHO_C" >&6
57751 else
57752 if test x$gcc_no_link = xyes; then
57753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57755 { (exit 1); exit 1; }; }
57757 cat >conftest.$ac_ext <<_ACEOF
57758 /* confdefs.h. */
57759 _ACEOF
57760 cat confdefs.h >>conftest.$ac_ext
57761 cat >>conftest.$ac_ext <<_ACEOF
57762 /* end confdefs.h. */
57763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57765 #define $ac_func innocuous_$ac_func
57767 /* System header to define __stub macros and hopefully few prototypes,
57768 which can conflict with char $ac_func (); below.
57769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57770 <limits.h> exists even on freestanding compilers. */
57772 #ifdef __STDC__
57773 # include <limits.h>
57774 #else
57775 # include <assert.h>
57776 #endif
57778 #undef $ac_func
57780 /* Override any gcc2 internal prototype to avoid an error. */
57781 #ifdef __cplusplus
57782 extern "C"
57784 #endif
57785 /* We use char because int might match the return type of a gcc2
57786 builtin and then its argument prototype would still apply. */
57787 char $ac_func ();
57788 /* The GNU C library defines this for functions which it implements
57789 to always fail with ENOSYS. Some functions are actually named
57790 something starting with __ and the normal name is an alias. */
57791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57792 choke me
57793 #else
57794 char (*f) () = $ac_func;
57795 #endif
57796 #ifdef __cplusplus
57798 #endif
57801 main ()
57803 return f != $ac_func;
57805 return 0;
57807 _ACEOF
57808 rm -f conftest.$ac_objext conftest$ac_exeext
57809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57810 (eval $ac_link) 2>conftest.er1
57811 ac_status=$?
57812 grep -v '^ *+' conftest.er1 >conftest.err
57813 rm -f conftest.er1
57814 cat conftest.err >&5
57815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57816 (exit $ac_status); } &&
57817 { ac_try='test -z "$ac_c_werror_flag"
57818 || test ! -s conftest.err'
57819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57820 (eval $ac_try) 2>&5
57821 ac_status=$?
57822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57823 (exit $ac_status); }; } &&
57824 { ac_try='test -s conftest$ac_exeext'
57825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57826 (eval $ac_try) 2>&5
57827 ac_status=$?
57828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57829 (exit $ac_status); }; }; then
57830 eval "$as_ac_var=yes"
57831 else
57832 echo "$as_me: failed program was:" >&5
57833 sed 's/^/| /' conftest.$ac_ext >&5
57835 eval "$as_ac_var=no"
57837 rm -f conftest.err conftest.$ac_objext \
57838 conftest$ac_exeext conftest.$ac_ext
57840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57842 if test `eval echo '${'$as_ac_var'}'` = yes; then
57843 cat >>confdefs.h <<_ACEOF
57844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57845 _ACEOF
57848 done
57858 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57859 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57860 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57861 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57862 echo $ECHO_N "(cached) $ECHO_C" >&6
57863 else
57867 ac_ext=cc
57868 ac_cpp='$CXXCPP $CPPFLAGS'
57869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57873 cat >conftest.$ac_ext <<_ACEOF
57874 /* confdefs.h. */
57875 _ACEOF
57876 cat confdefs.h >>conftest.$ac_ext
57877 cat >>conftest.$ac_ext <<_ACEOF
57878 /* end confdefs.h. */
57879 #include <math.h>
57881 main ()
57883 ldexpl(0, 0);
57885 return 0;
57887 _ACEOF
57888 rm -f conftest.$ac_objext
57889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57890 (eval $ac_compile) 2>conftest.er1
57891 ac_status=$?
57892 grep -v '^ *+' conftest.er1 >conftest.err
57893 rm -f conftest.er1
57894 cat conftest.err >&5
57895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57896 (exit $ac_status); } &&
57897 { ac_try='test -z "$ac_cxx_werror_flag"
57898 || test ! -s conftest.err'
57899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57900 (eval $ac_try) 2>&5
57901 ac_status=$?
57902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57903 (exit $ac_status); }; } &&
57904 { ac_try='test -s conftest.$ac_objext'
57905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57906 (eval $ac_try) 2>&5
57907 ac_status=$?
57908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57909 (exit $ac_status); }; }; then
57910 glibcxx_cv_func_ldexpl_use=yes
57911 else
57912 echo "$as_me: failed program was:" >&5
57913 sed 's/^/| /' conftest.$ac_ext >&5
57915 glibcxx_cv_func_ldexpl_use=no
57917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57918 ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57929 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57931 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57933 for ac_func in ldexpl
57935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57936 echo "$as_me:$LINENO: checking for $ac_func" >&5
57937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57938 if eval "test \"\${$as_ac_var+set}\" = set"; then
57939 echo $ECHO_N "(cached) $ECHO_C" >&6
57940 else
57941 if test x$gcc_no_link = xyes; then
57942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57944 { (exit 1); exit 1; }; }
57946 cat >conftest.$ac_ext <<_ACEOF
57947 /* confdefs.h. */
57948 _ACEOF
57949 cat confdefs.h >>conftest.$ac_ext
57950 cat >>conftest.$ac_ext <<_ACEOF
57951 /* end confdefs.h. */
57952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57954 #define $ac_func innocuous_$ac_func
57956 /* System header to define __stub macros and hopefully few prototypes,
57957 which can conflict with char $ac_func (); below.
57958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57959 <limits.h> exists even on freestanding compilers. */
57961 #ifdef __STDC__
57962 # include <limits.h>
57963 #else
57964 # include <assert.h>
57965 #endif
57967 #undef $ac_func
57969 /* Override any gcc2 internal prototype to avoid an error. */
57970 #ifdef __cplusplus
57971 extern "C"
57973 #endif
57974 /* We use char because int might match the return type of a gcc2
57975 builtin and then its argument prototype would still apply. */
57976 char $ac_func ();
57977 /* The GNU C library defines this for functions which it implements
57978 to always fail with ENOSYS. Some functions are actually named
57979 something starting with __ and the normal name is an alias. */
57980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57981 choke me
57982 #else
57983 char (*f) () = $ac_func;
57984 #endif
57985 #ifdef __cplusplus
57987 #endif
57990 main ()
57992 return f != $ac_func;
57994 return 0;
57996 _ACEOF
57997 rm -f conftest.$ac_objext conftest$ac_exeext
57998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57999 (eval $ac_link) 2>conftest.er1
58000 ac_status=$?
58001 grep -v '^ *+' conftest.er1 >conftest.err
58002 rm -f conftest.er1
58003 cat conftest.err >&5
58004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58005 (exit $ac_status); } &&
58006 { ac_try='test -z "$ac_c_werror_flag"
58007 || test ! -s conftest.err'
58008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58009 (eval $ac_try) 2>&5
58010 ac_status=$?
58011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58012 (exit $ac_status); }; } &&
58013 { ac_try='test -s conftest$ac_exeext'
58014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58015 (eval $ac_try) 2>&5
58016 ac_status=$?
58017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58018 (exit $ac_status); }; }; then
58019 eval "$as_ac_var=yes"
58020 else
58021 echo "$as_me: failed program was:" >&5
58022 sed 's/^/| /' conftest.$ac_ext >&5
58024 eval "$as_ac_var=no"
58026 rm -f conftest.err conftest.$ac_objext \
58027 conftest$ac_exeext conftest.$ac_ext
58029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58031 if test `eval echo '${'$as_ac_var'}'` = yes; then
58032 cat >>confdefs.h <<_ACEOF
58033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58034 _ACEOF
58037 done
58039 else
58041 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58042 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58043 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58044 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58045 echo $ECHO_N "(cached) $ECHO_C" >&6
58046 else
58050 ac_ext=cc
58051 ac_cpp='$CXXCPP $CPPFLAGS'
58052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056 cat >conftest.$ac_ext <<_ACEOF
58057 /* confdefs.h. */
58058 _ACEOF
58059 cat confdefs.h >>conftest.$ac_ext
58060 cat >>conftest.$ac_ext <<_ACEOF
58061 /* end confdefs.h. */
58062 #include <math.h>
58064 main ()
58066 _ldexpl(0, 0);
58068 return 0;
58070 _ACEOF
58071 rm -f conftest.$ac_objext
58072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58073 (eval $ac_compile) 2>conftest.er1
58074 ac_status=$?
58075 grep -v '^ *+' conftest.er1 >conftest.err
58076 rm -f conftest.er1
58077 cat conftest.err >&5
58078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58079 (exit $ac_status); } &&
58080 { ac_try='test -z "$ac_cxx_werror_flag"
58081 || test ! -s conftest.err'
58082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58083 (eval $ac_try) 2>&5
58084 ac_status=$?
58085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58086 (exit $ac_status); }; } &&
58087 { ac_try='test -s conftest.$ac_objext'
58088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58089 (eval $ac_try) 2>&5
58090 ac_status=$?
58091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58092 (exit $ac_status); }; }; then
58093 glibcxx_cv_func__ldexpl_use=yes
58094 else
58095 echo "$as_me: failed program was:" >&5
58096 sed 's/^/| /' conftest.$ac_ext >&5
58098 glibcxx_cv_func__ldexpl_use=no
58100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58101 ac_ext=c
58102 ac_cpp='$CPP $CPPFLAGS'
58103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58112 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58114 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58116 for ac_func in _ldexpl
58118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58119 echo "$as_me:$LINENO: checking for $ac_func" >&5
58120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58121 if eval "test \"\${$as_ac_var+set}\" = set"; then
58122 echo $ECHO_N "(cached) $ECHO_C" >&6
58123 else
58124 if test x$gcc_no_link = xyes; then
58125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58127 { (exit 1); exit 1; }; }
58129 cat >conftest.$ac_ext <<_ACEOF
58130 /* confdefs.h. */
58131 _ACEOF
58132 cat confdefs.h >>conftest.$ac_ext
58133 cat >>conftest.$ac_ext <<_ACEOF
58134 /* end confdefs.h. */
58135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58137 #define $ac_func innocuous_$ac_func
58139 /* System header to define __stub macros and hopefully few prototypes,
58140 which can conflict with char $ac_func (); below.
58141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58142 <limits.h> exists even on freestanding compilers. */
58144 #ifdef __STDC__
58145 # include <limits.h>
58146 #else
58147 # include <assert.h>
58148 #endif
58150 #undef $ac_func
58152 /* Override any gcc2 internal prototype to avoid an error. */
58153 #ifdef __cplusplus
58154 extern "C"
58156 #endif
58157 /* We use char because int might match the return type of a gcc2
58158 builtin and then its argument prototype would still apply. */
58159 char $ac_func ();
58160 /* The GNU C library defines this for functions which it implements
58161 to always fail with ENOSYS. Some functions are actually named
58162 something starting with __ and the normal name is an alias. */
58163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58164 choke me
58165 #else
58166 char (*f) () = $ac_func;
58167 #endif
58168 #ifdef __cplusplus
58170 #endif
58173 main ()
58175 return f != $ac_func;
58177 return 0;
58179 _ACEOF
58180 rm -f conftest.$ac_objext conftest$ac_exeext
58181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58182 (eval $ac_link) 2>conftest.er1
58183 ac_status=$?
58184 grep -v '^ *+' conftest.er1 >conftest.err
58185 rm -f conftest.er1
58186 cat conftest.err >&5
58187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58188 (exit $ac_status); } &&
58189 { ac_try='test -z "$ac_c_werror_flag"
58190 || test ! -s conftest.err'
58191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58192 (eval $ac_try) 2>&5
58193 ac_status=$?
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); }; } &&
58196 { ac_try='test -s conftest$ac_exeext'
58197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58198 (eval $ac_try) 2>&5
58199 ac_status=$?
58200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58201 (exit $ac_status); }; }; then
58202 eval "$as_ac_var=yes"
58203 else
58204 echo "$as_me: failed program was:" >&5
58205 sed 's/^/| /' conftest.$ac_ext >&5
58207 eval "$as_ac_var=no"
58209 rm -f conftest.err conftest.$ac_objext \
58210 conftest$ac_exeext conftest.$ac_ext
58212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58214 if test `eval echo '${'$as_ac_var'}'` = yes; then
58215 cat >>confdefs.h <<_ACEOF
58216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58217 _ACEOF
58220 done
58230 echo "$as_me:$LINENO: checking for logl declaration" >&5
58231 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58232 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58233 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58234 echo $ECHO_N "(cached) $ECHO_C" >&6
58235 else
58239 ac_ext=cc
58240 ac_cpp='$CXXCPP $CPPFLAGS'
58241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58245 cat >conftest.$ac_ext <<_ACEOF
58246 /* confdefs.h. */
58247 _ACEOF
58248 cat confdefs.h >>conftest.$ac_ext
58249 cat >>conftest.$ac_ext <<_ACEOF
58250 /* end confdefs.h. */
58251 #include <math.h>
58252 #ifdef HAVE_IEEEFP_H
58253 #include <ieeefp.h>
58254 #endif
58257 main ()
58259 logl(0);
58261 return 0;
58263 _ACEOF
58264 rm -f conftest.$ac_objext
58265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58266 (eval $ac_compile) 2>conftest.er1
58267 ac_status=$?
58268 grep -v '^ *+' conftest.er1 >conftest.err
58269 rm -f conftest.er1
58270 cat conftest.err >&5
58271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272 (exit $ac_status); } &&
58273 { ac_try='test -z "$ac_cxx_werror_flag"
58274 || test ! -s conftest.err'
58275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58276 (eval $ac_try) 2>&5
58277 ac_status=$?
58278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58279 (exit $ac_status); }; } &&
58280 { ac_try='test -s conftest.$ac_objext'
58281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58282 (eval $ac_try) 2>&5
58283 ac_status=$?
58284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58285 (exit $ac_status); }; }; then
58286 glibcxx_cv_func_logl_use=yes
58287 else
58288 echo "$as_me: failed program was:" >&5
58289 sed 's/^/| /' conftest.$ac_ext >&5
58291 glibcxx_cv_func_logl_use=no
58293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58294 ac_ext=c
58295 ac_cpp='$CPP $CPPFLAGS'
58296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58305 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58307 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58309 for ac_func in logl
58311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58312 echo "$as_me:$LINENO: checking for $ac_func" >&5
58313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58314 if eval "test \"\${$as_ac_var+set}\" = set"; then
58315 echo $ECHO_N "(cached) $ECHO_C" >&6
58316 else
58317 if test x$gcc_no_link = xyes; then
58318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58320 { (exit 1); exit 1; }; }
58322 cat >conftest.$ac_ext <<_ACEOF
58323 /* confdefs.h. */
58324 _ACEOF
58325 cat confdefs.h >>conftest.$ac_ext
58326 cat >>conftest.$ac_ext <<_ACEOF
58327 /* end confdefs.h. */
58328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58330 #define $ac_func innocuous_$ac_func
58332 /* System header to define __stub macros and hopefully few prototypes,
58333 which can conflict with char $ac_func (); below.
58334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58335 <limits.h> exists even on freestanding compilers. */
58337 #ifdef __STDC__
58338 # include <limits.h>
58339 #else
58340 # include <assert.h>
58341 #endif
58343 #undef $ac_func
58345 /* Override any gcc2 internal prototype to avoid an error. */
58346 #ifdef __cplusplus
58347 extern "C"
58349 #endif
58350 /* We use char because int might match the return type of a gcc2
58351 builtin and then its argument prototype would still apply. */
58352 char $ac_func ();
58353 /* The GNU C library defines this for functions which it implements
58354 to always fail with ENOSYS. Some functions are actually named
58355 something starting with __ and the normal name is an alias. */
58356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58357 choke me
58358 #else
58359 char (*f) () = $ac_func;
58360 #endif
58361 #ifdef __cplusplus
58363 #endif
58366 main ()
58368 return f != $ac_func;
58370 return 0;
58372 _ACEOF
58373 rm -f conftest.$ac_objext conftest$ac_exeext
58374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58375 (eval $ac_link) 2>conftest.er1
58376 ac_status=$?
58377 grep -v '^ *+' conftest.er1 >conftest.err
58378 rm -f conftest.er1
58379 cat conftest.err >&5
58380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58381 (exit $ac_status); } &&
58382 { ac_try='test -z "$ac_c_werror_flag"
58383 || test ! -s conftest.err'
58384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58385 (eval $ac_try) 2>&5
58386 ac_status=$?
58387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58388 (exit $ac_status); }; } &&
58389 { ac_try='test -s conftest$ac_exeext'
58390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58391 (eval $ac_try) 2>&5
58392 ac_status=$?
58393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58394 (exit $ac_status); }; }; then
58395 eval "$as_ac_var=yes"
58396 else
58397 echo "$as_me: failed program was:" >&5
58398 sed 's/^/| /' conftest.$ac_ext >&5
58400 eval "$as_ac_var=no"
58402 rm -f conftest.err conftest.$ac_objext \
58403 conftest$ac_exeext conftest.$ac_ext
58405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58407 if test `eval echo '${'$as_ac_var'}'` = yes; then
58408 cat >>confdefs.h <<_ACEOF
58409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58410 _ACEOF
58413 done
58415 else
58417 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58418 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58419 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58420 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58421 echo $ECHO_N "(cached) $ECHO_C" >&6
58422 else
58426 ac_ext=cc
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432 cat >conftest.$ac_ext <<_ACEOF
58433 /* confdefs.h. */
58434 _ACEOF
58435 cat confdefs.h >>conftest.$ac_ext
58436 cat >>conftest.$ac_ext <<_ACEOF
58437 /* end confdefs.h. */
58438 #include <math.h>
58439 #ifdef HAVE_IEEEFP_H
58440 #include <ieeefp.h>
58441 #endif
58444 main ()
58446 _logl(0);
58448 return 0;
58450 _ACEOF
58451 rm -f conftest.$ac_objext
58452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58453 (eval $ac_compile) 2>conftest.er1
58454 ac_status=$?
58455 grep -v '^ *+' conftest.er1 >conftest.err
58456 rm -f conftest.er1
58457 cat conftest.err >&5
58458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58459 (exit $ac_status); } &&
58460 { ac_try='test -z "$ac_cxx_werror_flag"
58461 || test ! -s conftest.err'
58462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58463 (eval $ac_try) 2>&5
58464 ac_status=$?
58465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58466 (exit $ac_status); }; } &&
58467 { ac_try='test -s conftest.$ac_objext'
58468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58469 (eval $ac_try) 2>&5
58470 ac_status=$?
58471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58472 (exit $ac_status); }; }; then
58473 glibcxx_cv_func__logl_use=yes
58474 else
58475 echo "$as_me: failed program was:" >&5
58476 sed 's/^/| /' conftest.$ac_ext >&5
58478 glibcxx_cv_func__logl_use=no
58480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58481 ac_ext=c
58482 ac_cpp='$CPP $CPPFLAGS'
58483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58492 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58494 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58496 for ac_func in _logl
58498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58499 echo "$as_me:$LINENO: checking for $ac_func" >&5
58500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58501 if eval "test \"\${$as_ac_var+set}\" = set"; then
58502 echo $ECHO_N "(cached) $ECHO_C" >&6
58503 else
58504 if test x$gcc_no_link = xyes; then
58505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58507 { (exit 1); exit 1; }; }
58509 cat >conftest.$ac_ext <<_ACEOF
58510 /* confdefs.h. */
58511 _ACEOF
58512 cat confdefs.h >>conftest.$ac_ext
58513 cat >>conftest.$ac_ext <<_ACEOF
58514 /* end confdefs.h. */
58515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58517 #define $ac_func innocuous_$ac_func
58519 /* System header to define __stub macros and hopefully few prototypes,
58520 which can conflict with char $ac_func (); below.
58521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58522 <limits.h> exists even on freestanding compilers. */
58524 #ifdef __STDC__
58525 # include <limits.h>
58526 #else
58527 # include <assert.h>
58528 #endif
58530 #undef $ac_func
58532 /* Override any gcc2 internal prototype to avoid an error. */
58533 #ifdef __cplusplus
58534 extern "C"
58536 #endif
58537 /* We use char because int might match the return type of a gcc2
58538 builtin and then its argument prototype would still apply. */
58539 char $ac_func ();
58540 /* The GNU C library defines this for functions which it implements
58541 to always fail with ENOSYS. Some functions are actually named
58542 something starting with __ and the normal name is an alias. */
58543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58544 choke me
58545 #else
58546 char (*f) () = $ac_func;
58547 #endif
58548 #ifdef __cplusplus
58550 #endif
58553 main ()
58555 return f != $ac_func;
58557 return 0;
58559 _ACEOF
58560 rm -f conftest.$ac_objext conftest$ac_exeext
58561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58562 (eval $ac_link) 2>conftest.er1
58563 ac_status=$?
58564 grep -v '^ *+' conftest.er1 >conftest.err
58565 rm -f conftest.er1
58566 cat conftest.err >&5
58567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58568 (exit $ac_status); } &&
58569 { ac_try='test -z "$ac_c_werror_flag"
58570 || test ! -s conftest.err'
58571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58572 (eval $ac_try) 2>&5
58573 ac_status=$?
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); }; } &&
58576 { ac_try='test -s conftest$ac_exeext'
58577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58578 (eval $ac_try) 2>&5
58579 ac_status=$?
58580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 (exit $ac_status); }; }; then
58582 eval "$as_ac_var=yes"
58583 else
58584 echo "$as_me: failed program was:" >&5
58585 sed 's/^/| /' conftest.$ac_ext >&5
58587 eval "$as_ac_var=no"
58589 rm -f conftest.err conftest.$ac_objext \
58590 conftest$ac_exeext conftest.$ac_ext
58592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58594 if test `eval echo '${'$as_ac_var'}'` = yes; then
58595 cat >>confdefs.h <<_ACEOF
58596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58597 _ACEOF
58600 done
58610 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58611 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58612 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58613 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58614 echo $ECHO_N "(cached) $ECHO_C" >&6
58615 else
58619 ac_ext=cc
58620 ac_cpp='$CXXCPP $CPPFLAGS'
58621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58625 cat >conftest.$ac_ext <<_ACEOF
58626 /* confdefs.h. */
58627 _ACEOF
58628 cat confdefs.h >>conftest.$ac_ext
58629 cat >>conftest.$ac_ext <<_ACEOF
58630 /* end confdefs.h. */
58631 #include <math.h>
58632 #ifdef HAVE_IEEEFP_H
58633 #include <ieeefp.h>
58634 #endif
58637 main ()
58639 log10l(0);
58641 return 0;
58643 _ACEOF
58644 rm -f conftest.$ac_objext
58645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58646 (eval $ac_compile) 2>conftest.er1
58647 ac_status=$?
58648 grep -v '^ *+' conftest.er1 >conftest.err
58649 rm -f conftest.er1
58650 cat conftest.err >&5
58651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58652 (exit $ac_status); } &&
58653 { ac_try='test -z "$ac_cxx_werror_flag"
58654 || test ! -s conftest.err'
58655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58656 (eval $ac_try) 2>&5
58657 ac_status=$?
58658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58659 (exit $ac_status); }; } &&
58660 { ac_try='test -s conftest.$ac_objext'
58661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58662 (eval $ac_try) 2>&5
58663 ac_status=$?
58664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58665 (exit $ac_status); }; }; then
58666 glibcxx_cv_func_log10l_use=yes
58667 else
58668 echo "$as_me: failed program was:" >&5
58669 sed 's/^/| /' conftest.$ac_ext >&5
58671 glibcxx_cv_func_log10l_use=no
58673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58674 ac_ext=c
58675 ac_cpp='$CPP $CPPFLAGS'
58676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58685 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58687 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58689 for ac_func in log10l
58691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58692 echo "$as_me:$LINENO: checking for $ac_func" >&5
58693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58694 if eval "test \"\${$as_ac_var+set}\" = set"; then
58695 echo $ECHO_N "(cached) $ECHO_C" >&6
58696 else
58697 if test x$gcc_no_link = xyes; then
58698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58700 { (exit 1); exit 1; }; }
58702 cat >conftest.$ac_ext <<_ACEOF
58703 /* confdefs.h. */
58704 _ACEOF
58705 cat confdefs.h >>conftest.$ac_ext
58706 cat >>conftest.$ac_ext <<_ACEOF
58707 /* end confdefs.h. */
58708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58710 #define $ac_func innocuous_$ac_func
58712 /* System header to define __stub macros and hopefully few prototypes,
58713 which can conflict with char $ac_func (); below.
58714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58715 <limits.h> exists even on freestanding compilers. */
58717 #ifdef __STDC__
58718 # include <limits.h>
58719 #else
58720 # include <assert.h>
58721 #endif
58723 #undef $ac_func
58725 /* Override any gcc2 internal prototype to avoid an error. */
58726 #ifdef __cplusplus
58727 extern "C"
58729 #endif
58730 /* We use char because int might match the return type of a gcc2
58731 builtin and then its argument prototype would still apply. */
58732 char $ac_func ();
58733 /* The GNU C library defines this for functions which it implements
58734 to always fail with ENOSYS. Some functions are actually named
58735 something starting with __ and the normal name is an alias. */
58736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58737 choke me
58738 #else
58739 char (*f) () = $ac_func;
58740 #endif
58741 #ifdef __cplusplus
58743 #endif
58746 main ()
58748 return f != $ac_func;
58750 return 0;
58752 _ACEOF
58753 rm -f conftest.$ac_objext conftest$ac_exeext
58754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58755 (eval $ac_link) 2>conftest.er1
58756 ac_status=$?
58757 grep -v '^ *+' conftest.er1 >conftest.err
58758 rm -f conftest.er1
58759 cat conftest.err >&5
58760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58761 (exit $ac_status); } &&
58762 { ac_try='test -z "$ac_c_werror_flag"
58763 || test ! -s conftest.err'
58764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58765 (eval $ac_try) 2>&5
58766 ac_status=$?
58767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58768 (exit $ac_status); }; } &&
58769 { ac_try='test -s conftest$ac_exeext'
58770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58771 (eval $ac_try) 2>&5
58772 ac_status=$?
58773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58774 (exit $ac_status); }; }; then
58775 eval "$as_ac_var=yes"
58776 else
58777 echo "$as_me: failed program was:" >&5
58778 sed 's/^/| /' conftest.$ac_ext >&5
58780 eval "$as_ac_var=no"
58782 rm -f conftest.err conftest.$ac_objext \
58783 conftest$ac_exeext conftest.$ac_ext
58785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58787 if test `eval echo '${'$as_ac_var'}'` = yes; then
58788 cat >>confdefs.h <<_ACEOF
58789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58790 _ACEOF
58793 done
58795 else
58797 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58798 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58799 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58800 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58801 echo $ECHO_N "(cached) $ECHO_C" >&6
58802 else
58806 ac_ext=cc
58807 ac_cpp='$CXXCPP $CPPFLAGS'
58808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812 cat >conftest.$ac_ext <<_ACEOF
58813 /* confdefs.h. */
58814 _ACEOF
58815 cat confdefs.h >>conftest.$ac_ext
58816 cat >>conftest.$ac_ext <<_ACEOF
58817 /* end confdefs.h. */
58818 #include <math.h>
58819 #ifdef HAVE_IEEEFP_H
58820 #include <ieeefp.h>
58821 #endif
58824 main ()
58826 _log10l(0);
58828 return 0;
58830 _ACEOF
58831 rm -f conftest.$ac_objext
58832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58833 (eval $ac_compile) 2>conftest.er1
58834 ac_status=$?
58835 grep -v '^ *+' conftest.er1 >conftest.err
58836 rm -f conftest.er1
58837 cat conftest.err >&5
58838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58839 (exit $ac_status); } &&
58840 { ac_try='test -z "$ac_cxx_werror_flag"
58841 || test ! -s conftest.err'
58842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58843 (eval $ac_try) 2>&5
58844 ac_status=$?
58845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58846 (exit $ac_status); }; } &&
58847 { ac_try='test -s conftest.$ac_objext'
58848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58849 (eval $ac_try) 2>&5
58850 ac_status=$?
58851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58852 (exit $ac_status); }; }; then
58853 glibcxx_cv_func__log10l_use=yes
58854 else
58855 echo "$as_me: failed program was:" >&5
58856 sed 's/^/| /' conftest.$ac_ext >&5
58858 glibcxx_cv_func__log10l_use=no
58860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58861 ac_ext=c
58862 ac_cpp='$CPP $CPPFLAGS'
58863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58872 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58874 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58876 for ac_func in _log10l
58878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58879 echo "$as_me:$LINENO: checking for $ac_func" >&5
58880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58881 if eval "test \"\${$as_ac_var+set}\" = set"; then
58882 echo $ECHO_N "(cached) $ECHO_C" >&6
58883 else
58884 if test x$gcc_no_link = xyes; then
58885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58887 { (exit 1); exit 1; }; }
58889 cat >conftest.$ac_ext <<_ACEOF
58890 /* confdefs.h. */
58891 _ACEOF
58892 cat confdefs.h >>conftest.$ac_ext
58893 cat >>conftest.$ac_ext <<_ACEOF
58894 /* end confdefs.h. */
58895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58897 #define $ac_func innocuous_$ac_func
58899 /* System header to define __stub macros and hopefully few prototypes,
58900 which can conflict with char $ac_func (); below.
58901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58902 <limits.h> exists even on freestanding compilers. */
58904 #ifdef __STDC__
58905 # include <limits.h>
58906 #else
58907 # include <assert.h>
58908 #endif
58910 #undef $ac_func
58912 /* Override any gcc2 internal prototype to avoid an error. */
58913 #ifdef __cplusplus
58914 extern "C"
58916 #endif
58917 /* We use char because int might match the return type of a gcc2
58918 builtin and then its argument prototype would still apply. */
58919 char $ac_func ();
58920 /* The GNU C library defines this for functions which it implements
58921 to always fail with ENOSYS. Some functions are actually named
58922 something starting with __ and the normal name is an alias. */
58923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58924 choke me
58925 #else
58926 char (*f) () = $ac_func;
58927 #endif
58928 #ifdef __cplusplus
58930 #endif
58933 main ()
58935 return f != $ac_func;
58937 return 0;
58939 _ACEOF
58940 rm -f conftest.$ac_objext conftest$ac_exeext
58941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58942 (eval $ac_link) 2>conftest.er1
58943 ac_status=$?
58944 grep -v '^ *+' conftest.er1 >conftest.err
58945 rm -f conftest.er1
58946 cat conftest.err >&5
58947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58948 (exit $ac_status); } &&
58949 { ac_try='test -z "$ac_c_werror_flag"
58950 || test ! -s conftest.err'
58951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58952 (eval $ac_try) 2>&5
58953 ac_status=$?
58954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58955 (exit $ac_status); }; } &&
58956 { ac_try='test -s conftest$ac_exeext'
58957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58958 (eval $ac_try) 2>&5
58959 ac_status=$?
58960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58961 (exit $ac_status); }; }; then
58962 eval "$as_ac_var=yes"
58963 else
58964 echo "$as_me: failed program was:" >&5
58965 sed 's/^/| /' conftest.$ac_ext >&5
58967 eval "$as_ac_var=no"
58969 rm -f conftest.err conftest.$ac_objext \
58970 conftest$ac_exeext conftest.$ac_ext
58972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58974 if test `eval echo '${'$as_ac_var'}'` = yes; then
58975 cat >>confdefs.h <<_ACEOF
58976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58977 _ACEOF
58980 done
58990 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58991 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58992 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58993 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58994 echo $ECHO_N "(cached) $ECHO_C" >&6
58995 else
58999 ac_ext=cc
59000 ac_cpp='$CXXCPP $CPPFLAGS'
59001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59005 cat >conftest.$ac_ext <<_ACEOF
59006 /* confdefs.h. */
59007 _ACEOF
59008 cat confdefs.h >>conftest.$ac_ext
59009 cat >>conftest.$ac_ext <<_ACEOF
59010 /* end confdefs.h. */
59011 #include <math.h>
59013 main ()
59015 modfl(0, 0);
59017 return 0;
59019 _ACEOF
59020 rm -f conftest.$ac_objext
59021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59022 (eval $ac_compile) 2>conftest.er1
59023 ac_status=$?
59024 grep -v '^ *+' conftest.er1 >conftest.err
59025 rm -f conftest.er1
59026 cat conftest.err >&5
59027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59028 (exit $ac_status); } &&
59029 { ac_try='test -z "$ac_cxx_werror_flag"
59030 || test ! -s conftest.err'
59031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59032 (eval $ac_try) 2>&5
59033 ac_status=$?
59034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59035 (exit $ac_status); }; } &&
59036 { ac_try='test -s conftest.$ac_objext'
59037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59038 (eval $ac_try) 2>&5
59039 ac_status=$?
59040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59041 (exit $ac_status); }; }; then
59042 glibcxx_cv_func_modfl_use=yes
59043 else
59044 echo "$as_me: failed program was:" >&5
59045 sed 's/^/| /' conftest.$ac_ext >&5
59047 glibcxx_cv_func_modfl_use=no
59049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59050 ac_ext=c
59051 ac_cpp='$CPP $CPPFLAGS'
59052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59061 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59063 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59065 for ac_func in modfl
59067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59068 echo "$as_me:$LINENO: checking for $ac_func" >&5
59069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59070 if eval "test \"\${$as_ac_var+set}\" = set"; then
59071 echo $ECHO_N "(cached) $ECHO_C" >&6
59072 else
59073 if test x$gcc_no_link = xyes; then
59074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59076 { (exit 1); exit 1; }; }
59078 cat >conftest.$ac_ext <<_ACEOF
59079 /* confdefs.h. */
59080 _ACEOF
59081 cat confdefs.h >>conftest.$ac_ext
59082 cat >>conftest.$ac_ext <<_ACEOF
59083 /* end confdefs.h. */
59084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59086 #define $ac_func innocuous_$ac_func
59088 /* System header to define __stub macros and hopefully few prototypes,
59089 which can conflict with char $ac_func (); below.
59090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59091 <limits.h> exists even on freestanding compilers. */
59093 #ifdef __STDC__
59094 # include <limits.h>
59095 #else
59096 # include <assert.h>
59097 #endif
59099 #undef $ac_func
59101 /* Override any gcc2 internal prototype to avoid an error. */
59102 #ifdef __cplusplus
59103 extern "C"
59105 #endif
59106 /* We use char because int might match the return type of a gcc2
59107 builtin and then its argument prototype would still apply. */
59108 char $ac_func ();
59109 /* The GNU C library defines this for functions which it implements
59110 to always fail with ENOSYS. Some functions are actually named
59111 something starting with __ and the normal name is an alias. */
59112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59113 choke me
59114 #else
59115 char (*f) () = $ac_func;
59116 #endif
59117 #ifdef __cplusplus
59119 #endif
59122 main ()
59124 return f != $ac_func;
59126 return 0;
59128 _ACEOF
59129 rm -f conftest.$ac_objext conftest$ac_exeext
59130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59131 (eval $ac_link) 2>conftest.er1
59132 ac_status=$?
59133 grep -v '^ *+' conftest.er1 >conftest.err
59134 rm -f conftest.er1
59135 cat conftest.err >&5
59136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59137 (exit $ac_status); } &&
59138 { ac_try='test -z "$ac_c_werror_flag"
59139 || test ! -s conftest.err'
59140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59141 (eval $ac_try) 2>&5
59142 ac_status=$?
59143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59144 (exit $ac_status); }; } &&
59145 { ac_try='test -s conftest$ac_exeext'
59146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59147 (eval $ac_try) 2>&5
59148 ac_status=$?
59149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59150 (exit $ac_status); }; }; then
59151 eval "$as_ac_var=yes"
59152 else
59153 echo "$as_me: failed program was:" >&5
59154 sed 's/^/| /' conftest.$ac_ext >&5
59156 eval "$as_ac_var=no"
59158 rm -f conftest.err conftest.$ac_objext \
59159 conftest$ac_exeext conftest.$ac_ext
59161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59163 if test `eval echo '${'$as_ac_var'}'` = yes; then
59164 cat >>confdefs.h <<_ACEOF
59165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59166 _ACEOF
59169 done
59171 else
59173 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59174 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59175 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59176 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59177 echo $ECHO_N "(cached) $ECHO_C" >&6
59178 else
59182 ac_ext=cc
59183 ac_cpp='$CXXCPP $CPPFLAGS'
59184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59188 cat >conftest.$ac_ext <<_ACEOF
59189 /* confdefs.h. */
59190 _ACEOF
59191 cat confdefs.h >>conftest.$ac_ext
59192 cat >>conftest.$ac_ext <<_ACEOF
59193 /* end confdefs.h. */
59194 #include <math.h>
59196 main ()
59198 _modfl(0, 0);
59200 return 0;
59202 _ACEOF
59203 rm -f conftest.$ac_objext
59204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59205 (eval $ac_compile) 2>conftest.er1
59206 ac_status=$?
59207 grep -v '^ *+' conftest.er1 >conftest.err
59208 rm -f conftest.er1
59209 cat conftest.err >&5
59210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59211 (exit $ac_status); } &&
59212 { ac_try='test -z "$ac_cxx_werror_flag"
59213 || test ! -s conftest.err'
59214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59215 (eval $ac_try) 2>&5
59216 ac_status=$?
59217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59218 (exit $ac_status); }; } &&
59219 { ac_try='test -s conftest.$ac_objext'
59220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59221 (eval $ac_try) 2>&5
59222 ac_status=$?
59223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59224 (exit $ac_status); }; }; then
59225 glibcxx_cv_func__modfl_use=yes
59226 else
59227 echo "$as_me: failed program was:" >&5
59228 sed 's/^/| /' conftest.$ac_ext >&5
59230 glibcxx_cv_func__modfl_use=no
59232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59233 ac_ext=c
59234 ac_cpp='$CPP $CPPFLAGS'
59235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59244 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59246 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59248 for ac_func in _modfl
59250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59251 echo "$as_me:$LINENO: checking for $ac_func" >&5
59252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59253 if eval "test \"\${$as_ac_var+set}\" = set"; then
59254 echo $ECHO_N "(cached) $ECHO_C" >&6
59255 else
59256 if test x$gcc_no_link = xyes; then
59257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59259 { (exit 1); exit 1; }; }
59261 cat >conftest.$ac_ext <<_ACEOF
59262 /* confdefs.h. */
59263 _ACEOF
59264 cat confdefs.h >>conftest.$ac_ext
59265 cat >>conftest.$ac_ext <<_ACEOF
59266 /* end confdefs.h. */
59267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59269 #define $ac_func innocuous_$ac_func
59271 /* System header to define __stub macros and hopefully few prototypes,
59272 which can conflict with char $ac_func (); below.
59273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59274 <limits.h> exists even on freestanding compilers. */
59276 #ifdef __STDC__
59277 # include <limits.h>
59278 #else
59279 # include <assert.h>
59280 #endif
59282 #undef $ac_func
59284 /* Override any gcc2 internal prototype to avoid an error. */
59285 #ifdef __cplusplus
59286 extern "C"
59288 #endif
59289 /* We use char because int might match the return type of a gcc2
59290 builtin and then its argument prototype would still apply. */
59291 char $ac_func ();
59292 /* The GNU C library defines this for functions which it implements
59293 to always fail with ENOSYS. Some functions are actually named
59294 something starting with __ and the normal name is an alias. */
59295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59296 choke me
59297 #else
59298 char (*f) () = $ac_func;
59299 #endif
59300 #ifdef __cplusplus
59302 #endif
59305 main ()
59307 return f != $ac_func;
59309 return 0;
59311 _ACEOF
59312 rm -f conftest.$ac_objext conftest$ac_exeext
59313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59314 (eval $ac_link) 2>conftest.er1
59315 ac_status=$?
59316 grep -v '^ *+' conftest.er1 >conftest.err
59317 rm -f conftest.er1
59318 cat conftest.err >&5
59319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59320 (exit $ac_status); } &&
59321 { ac_try='test -z "$ac_c_werror_flag"
59322 || test ! -s conftest.err'
59323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59324 (eval $ac_try) 2>&5
59325 ac_status=$?
59326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59327 (exit $ac_status); }; } &&
59328 { ac_try='test -s conftest$ac_exeext'
59329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59330 (eval $ac_try) 2>&5
59331 ac_status=$?
59332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59333 (exit $ac_status); }; }; then
59334 eval "$as_ac_var=yes"
59335 else
59336 echo "$as_me: failed program was:" >&5
59337 sed 's/^/| /' conftest.$ac_ext >&5
59339 eval "$as_ac_var=no"
59341 rm -f conftest.err conftest.$ac_objext \
59342 conftest$ac_exeext conftest.$ac_ext
59344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59346 if test `eval echo '${'$as_ac_var'}'` = yes; then
59347 cat >>confdefs.h <<_ACEOF
59348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59349 _ACEOF
59352 done
59362 echo "$as_me:$LINENO: checking for powl declaration" >&5
59363 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59364 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59365 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59366 echo $ECHO_N "(cached) $ECHO_C" >&6
59367 else
59371 ac_ext=cc
59372 ac_cpp='$CXXCPP $CPPFLAGS'
59373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59377 cat >conftest.$ac_ext <<_ACEOF
59378 /* confdefs.h. */
59379 _ACEOF
59380 cat confdefs.h >>conftest.$ac_ext
59381 cat >>conftest.$ac_ext <<_ACEOF
59382 /* end confdefs.h. */
59383 #include <math.h>
59385 main ()
59387 powl(0, 0);
59389 return 0;
59391 _ACEOF
59392 rm -f conftest.$ac_objext
59393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59394 (eval $ac_compile) 2>conftest.er1
59395 ac_status=$?
59396 grep -v '^ *+' conftest.er1 >conftest.err
59397 rm -f conftest.er1
59398 cat conftest.err >&5
59399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59400 (exit $ac_status); } &&
59401 { ac_try='test -z "$ac_cxx_werror_flag"
59402 || test ! -s conftest.err'
59403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59404 (eval $ac_try) 2>&5
59405 ac_status=$?
59406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59407 (exit $ac_status); }; } &&
59408 { ac_try='test -s conftest.$ac_objext'
59409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59410 (eval $ac_try) 2>&5
59411 ac_status=$?
59412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59413 (exit $ac_status); }; }; then
59414 glibcxx_cv_func_powl_use=yes
59415 else
59416 echo "$as_me: failed program was:" >&5
59417 sed 's/^/| /' conftest.$ac_ext >&5
59419 glibcxx_cv_func_powl_use=no
59421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59422 ac_ext=c
59423 ac_cpp='$CPP $CPPFLAGS'
59424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59433 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59435 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59437 for ac_func in powl
59439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59440 echo "$as_me:$LINENO: checking for $ac_func" >&5
59441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59442 if eval "test \"\${$as_ac_var+set}\" = set"; then
59443 echo $ECHO_N "(cached) $ECHO_C" >&6
59444 else
59445 if test x$gcc_no_link = xyes; then
59446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59448 { (exit 1); exit 1; }; }
59450 cat >conftest.$ac_ext <<_ACEOF
59451 /* confdefs.h. */
59452 _ACEOF
59453 cat confdefs.h >>conftest.$ac_ext
59454 cat >>conftest.$ac_ext <<_ACEOF
59455 /* end confdefs.h. */
59456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59458 #define $ac_func innocuous_$ac_func
59460 /* System header to define __stub macros and hopefully few prototypes,
59461 which can conflict with char $ac_func (); below.
59462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59463 <limits.h> exists even on freestanding compilers. */
59465 #ifdef __STDC__
59466 # include <limits.h>
59467 #else
59468 # include <assert.h>
59469 #endif
59471 #undef $ac_func
59473 /* Override any gcc2 internal prototype to avoid an error. */
59474 #ifdef __cplusplus
59475 extern "C"
59477 #endif
59478 /* We use char because int might match the return type of a gcc2
59479 builtin and then its argument prototype would still apply. */
59480 char $ac_func ();
59481 /* The GNU C library defines this for functions which it implements
59482 to always fail with ENOSYS. Some functions are actually named
59483 something starting with __ and the normal name is an alias. */
59484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59485 choke me
59486 #else
59487 char (*f) () = $ac_func;
59488 #endif
59489 #ifdef __cplusplus
59491 #endif
59494 main ()
59496 return f != $ac_func;
59498 return 0;
59500 _ACEOF
59501 rm -f conftest.$ac_objext conftest$ac_exeext
59502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59503 (eval $ac_link) 2>conftest.er1
59504 ac_status=$?
59505 grep -v '^ *+' conftest.er1 >conftest.err
59506 rm -f conftest.er1
59507 cat conftest.err >&5
59508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59509 (exit $ac_status); } &&
59510 { ac_try='test -z "$ac_c_werror_flag"
59511 || test ! -s conftest.err'
59512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59513 (eval $ac_try) 2>&5
59514 ac_status=$?
59515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59516 (exit $ac_status); }; } &&
59517 { ac_try='test -s conftest$ac_exeext'
59518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59519 (eval $ac_try) 2>&5
59520 ac_status=$?
59521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59522 (exit $ac_status); }; }; then
59523 eval "$as_ac_var=yes"
59524 else
59525 echo "$as_me: failed program was:" >&5
59526 sed 's/^/| /' conftest.$ac_ext >&5
59528 eval "$as_ac_var=no"
59530 rm -f conftest.err conftest.$ac_objext \
59531 conftest$ac_exeext conftest.$ac_ext
59533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59535 if test `eval echo '${'$as_ac_var'}'` = yes; then
59536 cat >>confdefs.h <<_ACEOF
59537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59538 _ACEOF
59541 done
59543 else
59545 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59546 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59547 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59548 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59549 echo $ECHO_N "(cached) $ECHO_C" >&6
59550 else
59554 ac_ext=cc
59555 ac_cpp='$CXXCPP $CPPFLAGS'
59556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59560 cat >conftest.$ac_ext <<_ACEOF
59561 /* confdefs.h. */
59562 _ACEOF
59563 cat confdefs.h >>conftest.$ac_ext
59564 cat >>conftest.$ac_ext <<_ACEOF
59565 /* end confdefs.h. */
59566 #include <math.h>
59568 main ()
59570 _powl(0, 0);
59572 return 0;
59574 _ACEOF
59575 rm -f conftest.$ac_objext
59576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59577 (eval $ac_compile) 2>conftest.er1
59578 ac_status=$?
59579 grep -v '^ *+' conftest.er1 >conftest.err
59580 rm -f conftest.er1
59581 cat conftest.err >&5
59582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59583 (exit $ac_status); } &&
59584 { ac_try='test -z "$ac_cxx_werror_flag"
59585 || test ! -s conftest.err'
59586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59587 (eval $ac_try) 2>&5
59588 ac_status=$?
59589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59590 (exit $ac_status); }; } &&
59591 { ac_try='test -s conftest.$ac_objext'
59592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59593 (eval $ac_try) 2>&5
59594 ac_status=$?
59595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59596 (exit $ac_status); }; }; then
59597 glibcxx_cv_func__powl_use=yes
59598 else
59599 echo "$as_me: failed program was:" >&5
59600 sed 's/^/| /' conftest.$ac_ext >&5
59602 glibcxx_cv_func__powl_use=no
59604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59605 ac_ext=c
59606 ac_cpp='$CPP $CPPFLAGS'
59607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59616 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59618 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59620 for ac_func in _powl
59622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59623 echo "$as_me:$LINENO: checking for $ac_func" >&5
59624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59625 if eval "test \"\${$as_ac_var+set}\" = set"; then
59626 echo $ECHO_N "(cached) $ECHO_C" >&6
59627 else
59628 if test x$gcc_no_link = xyes; then
59629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59631 { (exit 1); exit 1; }; }
59633 cat >conftest.$ac_ext <<_ACEOF
59634 /* confdefs.h. */
59635 _ACEOF
59636 cat confdefs.h >>conftest.$ac_ext
59637 cat >>conftest.$ac_ext <<_ACEOF
59638 /* end confdefs.h. */
59639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59641 #define $ac_func innocuous_$ac_func
59643 /* System header to define __stub macros and hopefully few prototypes,
59644 which can conflict with char $ac_func (); below.
59645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59646 <limits.h> exists even on freestanding compilers. */
59648 #ifdef __STDC__
59649 # include <limits.h>
59650 #else
59651 # include <assert.h>
59652 #endif
59654 #undef $ac_func
59656 /* Override any gcc2 internal prototype to avoid an error. */
59657 #ifdef __cplusplus
59658 extern "C"
59660 #endif
59661 /* We use char because int might match the return type of a gcc2
59662 builtin and then its argument prototype would still apply. */
59663 char $ac_func ();
59664 /* The GNU C library defines this for functions which it implements
59665 to always fail with ENOSYS. Some functions are actually named
59666 something starting with __ and the normal name is an alias. */
59667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59668 choke me
59669 #else
59670 char (*f) () = $ac_func;
59671 #endif
59672 #ifdef __cplusplus
59674 #endif
59677 main ()
59679 return f != $ac_func;
59681 return 0;
59683 _ACEOF
59684 rm -f conftest.$ac_objext conftest$ac_exeext
59685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59686 (eval $ac_link) 2>conftest.er1
59687 ac_status=$?
59688 grep -v '^ *+' conftest.er1 >conftest.err
59689 rm -f conftest.er1
59690 cat conftest.err >&5
59691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59692 (exit $ac_status); } &&
59693 { ac_try='test -z "$ac_c_werror_flag"
59694 || test ! -s conftest.err'
59695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59696 (eval $ac_try) 2>&5
59697 ac_status=$?
59698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59699 (exit $ac_status); }; } &&
59700 { ac_try='test -s conftest$ac_exeext'
59701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59702 (eval $ac_try) 2>&5
59703 ac_status=$?
59704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59705 (exit $ac_status); }; }; then
59706 eval "$as_ac_var=yes"
59707 else
59708 echo "$as_me: failed program was:" >&5
59709 sed 's/^/| /' conftest.$ac_ext >&5
59711 eval "$as_ac_var=no"
59713 rm -f conftest.err conftest.$ac_objext \
59714 conftest$ac_exeext conftest.$ac_ext
59716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59718 if test `eval echo '${'$as_ac_var'}'` = yes; then
59719 cat >>confdefs.h <<_ACEOF
59720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59721 _ACEOF
59724 done
59734 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59735 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59736 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59737 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59738 echo $ECHO_N "(cached) $ECHO_C" >&6
59739 else
59743 ac_ext=cc
59744 ac_cpp='$CXXCPP $CPPFLAGS'
59745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59749 cat >conftest.$ac_ext <<_ACEOF
59750 /* confdefs.h. */
59751 _ACEOF
59752 cat confdefs.h >>conftest.$ac_ext
59753 cat >>conftest.$ac_ext <<_ACEOF
59754 /* end confdefs.h. */
59755 #include <math.h>
59756 #ifdef HAVE_IEEEFP_H
59757 #include <ieeefp.h>
59758 #endif
59761 main ()
59763 sqrtl(0);
59765 return 0;
59767 _ACEOF
59768 rm -f conftest.$ac_objext
59769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59770 (eval $ac_compile) 2>conftest.er1
59771 ac_status=$?
59772 grep -v '^ *+' conftest.er1 >conftest.err
59773 rm -f conftest.er1
59774 cat conftest.err >&5
59775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59776 (exit $ac_status); } &&
59777 { ac_try='test -z "$ac_cxx_werror_flag"
59778 || test ! -s conftest.err'
59779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59780 (eval $ac_try) 2>&5
59781 ac_status=$?
59782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59783 (exit $ac_status); }; } &&
59784 { ac_try='test -s conftest.$ac_objext'
59785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59786 (eval $ac_try) 2>&5
59787 ac_status=$?
59788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59789 (exit $ac_status); }; }; then
59790 glibcxx_cv_func_sqrtl_use=yes
59791 else
59792 echo "$as_me: failed program was:" >&5
59793 sed 's/^/| /' conftest.$ac_ext >&5
59795 glibcxx_cv_func_sqrtl_use=no
59797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59798 ac_ext=c
59799 ac_cpp='$CPP $CPPFLAGS'
59800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59809 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59811 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59813 for ac_func in sqrtl
59815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59816 echo "$as_me:$LINENO: checking for $ac_func" >&5
59817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59818 if eval "test \"\${$as_ac_var+set}\" = set"; then
59819 echo $ECHO_N "(cached) $ECHO_C" >&6
59820 else
59821 if test x$gcc_no_link = xyes; then
59822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59824 { (exit 1); exit 1; }; }
59826 cat >conftest.$ac_ext <<_ACEOF
59827 /* confdefs.h. */
59828 _ACEOF
59829 cat confdefs.h >>conftest.$ac_ext
59830 cat >>conftest.$ac_ext <<_ACEOF
59831 /* end confdefs.h. */
59832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59834 #define $ac_func innocuous_$ac_func
59836 /* System header to define __stub macros and hopefully few prototypes,
59837 which can conflict with char $ac_func (); below.
59838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59839 <limits.h> exists even on freestanding compilers. */
59841 #ifdef __STDC__
59842 # include <limits.h>
59843 #else
59844 # include <assert.h>
59845 #endif
59847 #undef $ac_func
59849 /* Override any gcc2 internal prototype to avoid an error. */
59850 #ifdef __cplusplus
59851 extern "C"
59853 #endif
59854 /* We use char because int might match the return type of a gcc2
59855 builtin and then its argument prototype would still apply. */
59856 char $ac_func ();
59857 /* The GNU C library defines this for functions which it implements
59858 to always fail with ENOSYS. Some functions are actually named
59859 something starting with __ and the normal name is an alias. */
59860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59861 choke me
59862 #else
59863 char (*f) () = $ac_func;
59864 #endif
59865 #ifdef __cplusplus
59867 #endif
59870 main ()
59872 return f != $ac_func;
59874 return 0;
59876 _ACEOF
59877 rm -f conftest.$ac_objext conftest$ac_exeext
59878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59879 (eval $ac_link) 2>conftest.er1
59880 ac_status=$?
59881 grep -v '^ *+' conftest.er1 >conftest.err
59882 rm -f conftest.er1
59883 cat conftest.err >&5
59884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59885 (exit $ac_status); } &&
59886 { ac_try='test -z "$ac_c_werror_flag"
59887 || test ! -s conftest.err'
59888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59889 (eval $ac_try) 2>&5
59890 ac_status=$?
59891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59892 (exit $ac_status); }; } &&
59893 { ac_try='test -s conftest$ac_exeext'
59894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59895 (eval $ac_try) 2>&5
59896 ac_status=$?
59897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59898 (exit $ac_status); }; }; then
59899 eval "$as_ac_var=yes"
59900 else
59901 echo "$as_me: failed program was:" >&5
59902 sed 's/^/| /' conftest.$ac_ext >&5
59904 eval "$as_ac_var=no"
59906 rm -f conftest.err conftest.$ac_objext \
59907 conftest$ac_exeext conftest.$ac_ext
59909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59911 if test `eval echo '${'$as_ac_var'}'` = yes; then
59912 cat >>confdefs.h <<_ACEOF
59913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59914 _ACEOF
59917 done
59919 else
59921 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59922 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59923 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59924 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59925 echo $ECHO_N "(cached) $ECHO_C" >&6
59926 else
59930 ac_ext=cc
59931 ac_cpp='$CXXCPP $CPPFLAGS'
59932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59936 cat >conftest.$ac_ext <<_ACEOF
59937 /* confdefs.h. */
59938 _ACEOF
59939 cat confdefs.h >>conftest.$ac_ext
59940 cat >>conftest.$ac_ext <<_ACEOF
59941 /* end confdefs.h. */
59942 #include <math.h>
59943 #ifdef HAVE_IEEEFP_H
59944 #include <ieeefp.h>
59945 #endif
59948 main ()
59950 _sqrtl(0);
59952 return 0;
59954 _ACEOF
59955 rm -f conftest.$ac_objext
59956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59957 (eval $ac_compile) 2>conftest.er1
59958 ac_status=$?
59959 grep -v '^ *+' conftest.er1 >conftest.err
59960 rm -f conftest.er1
59961 cat conftest.err >&5
59962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59963 (exit $ac_status); } &&
59964 { ac_try='test -z "$ac_cxx_werror_flag"
59965 || test ! -s conftest.err'
59966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59967 (eval $ac_try) 2>&5
59968 ac_status=$?
59969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59970 (exit $ac_status); }; } &&
59971 { ac_try='test -s conftest.$ac_objext'
59972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59973 (eval $ac_try) 2>&5
59974 ac_status=$?
59975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59976 (exit $ac_status); }; }; then
59977 glibcxx_cv_func__sqrtl_use=yes
59978 else
59979 echo "$as_me: failed program was:" >&5
59980 sed 's/^/| /' conftest.$ac_ext >&5
59982 glibcxx_cv_func__sqrtl_use=no
59984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59985 ac_ext=c
59986 ac_cpp='$CPP $CPPFLAGS'
59987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59996 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59998 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60000 for ac_func in _sqrtl
60002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60003 echo "$as_me:$LINENO: checking for $ac_func" >&5
60004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60005 if eval "test \"\${$as_ac_var+set}\" = set"; then
60006 echo $ECHO_N "(cached) $ECHO_C" >&6
60007 else
60008 if test x$gcc_no_link = xyes; then
60009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60011 { (exit 1); exit 1; }; }
60013 cat >conftest.$ac_ext <<_ACEOF
60014 /* confdefs.h. */
60015 _ACEOF
60016 cat confdefs.h >>conftest.$ac_ext
60017 cat >>conftest.$ac_ext <<_ACEOF
60018 /* end confdefs.h. */
60019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60021 #define $ac_func innocuous_$ac_func
60023 /* System header to define __stub macros and hopefully few prototypes,
60024 which can conflict with char $ac_func (); below.
60025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60026 <limits.h> exists even on freestanding compilers. */
60028 #ifdef __STDC__
60029 # include <limits.h>
60030 #else
60031 # include <assert.h>
60032 #endif
60034 #undef $ac_func
60036 /* Override any gcc2 internal prototype to avoid an error. */
60037 #ifdef __cplusplus
60038 extern "C"
60040 #endif
60041 /* We use char because int might match the return type of a gcc2
60042 builtin and then its argument prototype would still apply. */
60043 char $ac_func ();
60044 /* The GNU C library defines this for functions which it implements
60045 to always fail with ENOSYS. Some functions are actually named
60046 something starting with __ and the normal name is an alias. */
60047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60048 choke me
60049 #else
60050 char (*f) () = $ac_func;
60051 #endif
60052 #ifdef __cplusplus
60054 #endif
60057 main ()
60059 return f != $ac_func;
60061 return 0;
60063 _ACEOF
60064 rm -f conftest.$ac_objext conftest$ac_exeext
60065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60066 (eval $ac_link) 2>conftest.er1
60067 ac_status=$?
60068 grep -v '^ *+' conftest.er1 >conftest.err
60069 rm -f conftest.er1
60070 cat conftest.err >&5
60071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60072 (exit $ac_status); } &&
60073 { ac_try='test -z "$ac_c_werror_flag"
60074 || test ! -s conftest.err'
60075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60076 (eval $ac_try) 2>&5
60077 ac_status=$?
60078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60079 (exit $ac_status); }; } &&
60080 { ac_try='test -s conftest$ac_exeext'
60081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60082 (eval $ac_try) 2>&5
60083 ac_status=$?
60084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60085 (exit $ac_status); }; }; then
60086 eval "$as_ac_var=yes"
60087 else
60088 echo "$as_me: failed program was:" >&5
60089 sed 's/^/| /' conftest.$ac_ext >&5
60091 eval "$as_ac_var=no"
60093 rm -f conftest.err conftest.$ac_objext \
60094 conftest$ac_exeext conftest.$ac_ext
60096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60098 if test `eval echo '${'$as_ac_var'}'` = yes; then
60099 cat >>confdefs.h <<_ACEOF
60100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60101 _ACEOF
60104 done
60114 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60115 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60116 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60117 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60118 echo $ECHO_N "(cached) $ECHO_C" >&6
60119 else
60123 ac_ext=cc
60124 ac_cpp='$CXXCPP $CPPFLAGS'
60125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60129 cat >conftest.$ac_ext <<_ACEOF
60130 /* confdefs.h. */
60131 _ACEOF
60132 cat confdefs.h >>conftest.$ac_ext
60133 cat >>conftest.$ac_ext <<_ACEOF
60134 /* end confdefs.h. */
60135 #include <math.h>
60137 main ()
60139 sincosl(0, 0, 0);
60141 return 0;
60143 _ACEOF
60144 rm -f conftest.$ac_objext
60145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60146 (eval $ac_compile) 2>conftest.er1
60147 ac_status=$?
60148 grep -v '^ *+' conftest.er1 >conftest.err
60149 rm -f conftest.er1
60150 cat conftest.err >&5
60151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60152 (exit $ac_status); } &&
60153 { ac_try='test -z "$ac_cxx_werror_flag"
60154 || test ! -s conftest.err'
60155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60156 (eval $ac_try) 2>&5
60157 ac_status=$?
60158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60159 (exit $ac_status); }; } &&
60160 { ac_try='test -s conftest.$ac_objext'
60161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60162 (eval $ac_try) 2>&5
60163 ac_status=$?
60164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60165 (exit $ac_status); }; }; then
60166 glibcxx_cv_func_sincosl_use=yes
60167 else
60168 echo "$as_me: failed program was:" >&5
60169 sed 's/^/| /' conftest.$ac_ext >&5
60171 glibcxx_cv_func_sincosl_use=no
60173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60174 ac_ext=c
60175 ac_cpp='$CPP $CPPFLAGS'
60176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60185 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60187 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60189 for ac_func in sincosl
60191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60192 echo "$as_me:$LINENO: checking for $ac_func" >&5
60193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60194 if eval "test \"\${$as_ac_var+set}\" = set"; then
60195 echo $ECHO_N "(cached) $ECHO_C" >&6
60196 else
60197 if test x$gcc_no_link = xyes; then
60198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60200 { (exit 1); exit 1; }; }
60202 cat >conftest.$ac_ext <<_ACEOF
60203 /* confdefs.h. */
60204 _ACEOF
60205 cat confdefs.h >>conftest.$ac_ext
60206 cat >>conftest.$ac_ext <<_ACEOF
60207 /* end confdefs.h. */
60208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60210 #define $ac_func innocuous_$ac_func
60212 /* System header to define __stub macros and hopefully few prototypes,
60213 which can conflict with char $ac_func (); below.
60214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60215 <limits.h> exists even on freestanding compilers. */
60217 #ifdef __STDC__
60218 # include <limits.h>
60219 #else
60220 # include <assert.h>
60221 #endif
60223 #undef $ac_func
60225 /* Override any gcc2 internal prototype to avoid an error. */
60226 #ifdef __cplusplus
60227 extern "C"
60229 #endif
60230 /* We use char because int might match the return type of a gcc2
60231 builtin and then its argument prototype would still apply. */
60232 char $ac_func ();
60233 /* The GNU C library defines this for functions which it implements
60234 to always fail with ENOSYS. Some functions are actually named
60235 something starting with __ and the normal name is an alias. */
60236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60237 choke me
60238 #else
60239 char (*f) () = $ac_func;
60240 #endif
60241 #ifdef __cplusplus
60243 #endif
60246 main ()
60248 return f != $ac_func;
60250 return 0;
60252 _ACEOF
60253 rm -f conftest.$ac_objext conftest$ac_exeext
60254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60255 (eval $ac_link) 2>conftest.er1
60256 ac_status=$?
60257 grep -v '^ *+' conftest.er1 >conftest.err
60258 rm -f conftest.er1
60259 cat conftest.err >&5
60260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60261 (exit $ac_status); } &&
60262 { ac_try='test -z "$ac_c_werror_flag"
60263 || test ! -s conftest.err'
60264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60265 (eval $ac_try) 2>&5
60266 ac_status=$?
60267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60268 (exit $ac_status); }; } &&
60269 { ac_try='test -s conftest$ac_exeext'
60270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60271 (eval $ac_try) 2>&5
60272 ac_status=$?
60273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60274 (exit $ac_status); }; }; then
60275 eval "$as_ac_var=yes"
60276 else
60277 echo "$as_me: failed program was:" >&5
60278 sed 's/^/| /' conftest.$ac_ext >&5
60280 eval "$as_ac_var=no"
60282 rm -f conftest.err conftest.$ac_objext \
60283 conftest$ac_exeext conftest.$ac_ext
60285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60287 if test `eval echo '${'$as_ac_var'}'` = yes; then
60288 cat >>confdefs.h <<_ACEOF
60289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60290 _ACEOF
60293 done
60295 else
60297 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60298 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60299 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60300 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60301 echo $ECHO_N "(cached) $ECHO_C" >&6
60302 else
60306 ac_ext=cc
60307 ac_cpp='$CXXCPP $CPPFLAGS'
60308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60312 cat >conftest.$ac_ext <<_ACEOF
60313 /* confdefs.h. */
60314 _ACEOF
60315 cat confdefs.h >>conftest.$ac_ext
60316 cat >>conftest.$ac_ext <<_ACEOF
60317 /* end confdefs.h. */
60318 #include <math.h>
60320 main ()
60322 _sincosl(0, 0, 0);
60324 return 0;
60326 _ACEOF
60327 rm -f conftest.$ac_objext
60328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60329 (eval $ac_compile) 2>conftest.er1
60330 ac_status=$?
60331 grep -v '^ *+' conftest.er1 >conftest.err
60332 rm -f conftest.er1
60333 cat conftest.err >&5
60334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60335 (exit $ac_status); } &&
60336 { ac_try='test -z "$ac_cxx_werror_flag"
60337 || test ! -s conftest.err'
60338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60339 (eval $ac_try) 2>&5
60340 ac_status=$?
60341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60342 (exit $ac_status); }; } &&
60343 { ac_try='test -s conftest.$ac_objext'
60344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60345 (eval $ac_try) 2>&5
60346 ac_status=$?
60347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60348 (exit $ac_status); }; }; then
60349 glibcxx_cv_func__sincosl_use=yes
60350 else
60351 echo "$as_me: failed program was:" >&5
60352 sed 's/^/| /' conftest.$ac_ext >&5
60354 glibcxx_cv_func__sincosl_use=no
60356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60357 ac_ext=c
60358 ac_cpp='$CPP $CPPFLAGS'
60359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60368 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60370 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60372 for ac_func in _sincosl
60374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60375 echo "$as_me:$LINENO: checking for $ac_func" >&5
60376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60377 if eval "test \"\${$as_ac_var+set}\" = set"; then
60378 echo $ECHO_N "(cached) $ECHO_C" >&6
60379 else
60380 if test x$gcc_no_link = xyes; then
60381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60383 { (exit 1); exit 1; }; }
60385 cat >conftest.$ac_ext <<_ACEOF
60386 /* confdefs.h. */
60387 _ACEOF
60388 cat confdefs.h >>conftest.$ac_ext
60389 cat >>conftest.$ac_ext <<_ACEOF
60390 /* end confdefs.h. */
60391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60393 #define $ac_func innocuous_$ac_func
60395 /* System header to define __stub macros and hopefully few prototypes,
60396 which can conflict with char $ac_func (); below.
60397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60398 <limits.h> exists even on freestanding compilers. */
60400 #ifdef __STDC__
60401 # include <limits.h>
60402 #else
60403 # include <assert.h>
60404 #endif
60406 #undef $ac_func
60408 /* Override any gcc2 internal prototype to avoid an error. */
60409 #ifdef __cplusplus
60410 extern "C"
60412 #endif
60413 /* We use char because int might match the return type of a gcc2
60414 builtin and then its argument prototype would still apply. */
60415 char $ac_func ();
60416 /* The GNU C library defines this for functions which it implements
60417 to always fail with ENOSYS. Some functions are actually named
60418 something starting with __ and the normal name is an alias. */
60419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60420 choke me
60421 #else
60422 char (*f) () = $ac_func;
60423 #endif
60424 #ifdef __cplusplus
60426 #endif
60429 main ()
60431 return f != $ac_func;
60433 return 0;
60435 _ACEOF
60436 rm -f conftest.$ac_objext conftest$ac_exeext
60437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60438 (eval $ac_link) 2>conftest.er1
60439 ac_status=$?
60440 grep -v '^ *+' conftest.er1 >conftest.err
60441 rm -f conftest.er1
60442 cat conftest.err >&5
60443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60444 (exit $ac_status); } &&
60445 { ac_try='test -z "$ac_c_werror_flag"
60446 || test ! -s conftest.err'
60447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60448 (eval $ac_try) 2>&5
60449 ac_status=$?
60450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60451 (exit $ac_status); }; } &&
60452 { ac_try='test -s conftest$ac_exeext'
60453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60454 (eval $ac_try) 2>&5
60455 ac_status=$?
60456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60457 (exit $ac_status); }; }; then
60458 eval "$as_ac_var=yes"
60459 else
60460 echo "$as_me: failed program was:" >&5
60461 sed 's/^/| /' conftest.$ac_ext >&5
60463 eval "$as_ac_var=no"
60465 rm -f conftest.err conftest.$ac_objext \
60466 conftest$ac_exeext conftest.$ac_ext
60468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60470 if test `eval echo '${'$as_ac_var'}'` = yes; then
60471 cat >>confdefs.h <<_ACEOF
60472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60473 _ACEOF
60476 done
60486 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60487 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60488 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60489 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60490 echo $ECHO_N "(cached) $ECHO_C" >&6
60491 else
60495 ac_ext=cc
60496 ac_cpp='$CXXCPP $CPPFLAGS'
60497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60501 cat >conftest.$ac_ext <<_ACEOF
60502 /* confdefs.h. */
60503 _ACEOF
60504 cat confdefs.h >>conftest.$ac_ext
60505 cat >>conftest.$ac_ext <<_ACEOF
60506 /* end confdefs.h. */
60507 #include <math.h>
60508 #ifdef HAVE_IEEEFP_H
60509 #include <ieeefp.h>
60510 #endif
60513 main ()
60515 finitel(0);
60517 return 0;
60519 _ACEOF
60520 rm -f conftest.$ac_objext
60521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60522 (eval $ac_compile) 2>conftest.er1
60523 ac_status=$?
60524 grep -v '^ *+' conftest.er1 >conftest.err
60525 rm -f conftest.er1
60526 cat conftest.err >&5
60527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60528 (exit $ac_status); } &&
60529 { ac_try='test -z "$ac_cxx_werror_flag"
60530 || test ! -s conftest.err'
60531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60532 (eval $ac_try) 2>&5
60533 ac_status=$?
60534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60535 (exit $ac_status); }; } &&
60536 { ac_try='test -s conftest.$ac_objext'
60537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60538 (eval $ac_try) 2>&5
60539 ac_status=$?
60540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60541 (exit $ac_status); }; }; then
60542 glibcxx_cv_func_finitel_use=yes
60543 else
60544 echo "$as_me: failed program was:" >&5
60545 sed 's/^/| /' conftest.$ac_ext >&5
60547 glibcxx_cv_func_finitel_use=no
60549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60550 ac_ext=c
60551 ac_cpp='$CPP $CPPFLAGS'
60552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60561 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60563 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60565 for ac_func in finitel
60567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60568 echo "$as_me:$LINENO: checking for $ac_func" >&5
60569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60570 if eval "test \"\${$as_ac_var+set}\" = set"; then
60571 echo $ECHO_N "(cached) $ECHO_C" >&6
60572 else
60573 if test x$gcc_no_link = xyes; then
60574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60576 { (exit 1); exit 1; }; }
60578 cat >conftest.$ac_ext <<_ACEOF
60579 /* confdefs.h. */
60580 _ACEOF
60581 cat confdefs.h >>conftest.$ac_ext
60582 cat >>conftest.$ac_ext <<_ACEOF
60583 /* end confdefs.h. */
60584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60586 #define $ac_func innocuous_$ac_func
60588 /* System header to define __stub macros and hopefully few prototypes,
60589 which can conflict with char $ac_func (); below.
60590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60591 <limits.h> exists even on freestanding compilers. */
60593 #ifdef __STDC__
60594 # include <limits.h>
60595 #else
60596 # include <assert.h>
60597 #endif
60599 #undef $ac_func
60601 /* Override any gcc2 internal prototype to avoid an error. */
60602 #ifdef __cplusplus
60603 extern "C"
60605 #endif
60606 /* We use char because int might match the return type of a gcc2
60607 builtin and then its argument prototype would still apply. */
60608 char $ac_func ();
60609 /* The GNU C library defines this for functions which it implements
60610 to always fail with ENOSYS. Some functions are actually named
60611 something starting with __ and the normal name is an alias. */
60612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60613 choke me
60614 #else
60615 char (*f) () = $ac_func;
60616 #endif
60617 #ifdef __cplusplus
60619 #endif
60622 main ()
60624 return f != $ac_func;
60626 return 0;
60628 _ACEOF
60629 rm -f conftest.$ac_objext conftest$ac_exeext
60630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60631 (eval $ac_link) 2>conftest.er1
60632 ac_status=$?
60633 grep -v '^ *+' conftest.er1 >conftest.err
60634 rm -f conftest.er1
60635 cat conftest.err >&5
60636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60637 (exit $ac_status); } &&
60638 { ac_try='test -z "$ac_c_werror_flag"
60639 || test ! -s conftest.err'
60640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60641 (eval $ac_try) 2>&5
60642 ac_status=$?
60643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60644 (exit $ac_status); }; } &&
60645 { ac_try='test -s conftest$ac_exeext'
60646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60647 (eval $ac_try) 2>&5
60648 ac_status=$?
60649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60650 (exit $ac_status); }; }; then
60651 eval "$as_ac_var=yes"
60652 else
60653 echo "$as_me: failed program was:" >&5
60654 sed 's/^/| /' conftest.$ac_ext >&5
60656 eval "$as_ac_var=no"
60658 rm -f conftest.err conftest.$ac_objext \
60659 conftest$ac_exeext conftest.$ac_ext
60661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60663 if test `eval echo '${'$as_ac_var'}'` = yes; then
60664 cat >>confdefs.h <<_ACEOF
60665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60666 _ACEOF
60669 done
60671 else
60673 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60674 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60675 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60676 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60677 echo $ECHO_N "(cached) $ECHO_C" >&6
60678 else
60682 ac_ext=cc
60683 ac_cpp='$CXXCPP $CPPFLAGS'
60684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60688 cat >conftest.$ac_ext <<_ACEOF
60689 /* confdefs.h. */
60690 _ACEOF
60691 cat confdefs.h >>conftest.$ac_ext
60692 cat >>conftest.$ac_ext <<_ACEOF
60693 /* end confdefs.h. */
60694 #include <math.h>
60695 #ifdef HAVE_IEEEFP_H
60696 #include <ieeefp.h>
60697 #endif
60700 main ()
60702 _finitel(0);
60704 return 0;
60706 _ACEOF
60707 rm -f conftest.$ac_objext
60708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60709 (eval $ac_compile) 2>conftest.er1
60710 ac_status=$?
60711 grep -v '^ *+' conftest.er1 >conftest.err
60712 rm -f conftest.er1
60713 cat conftest.err >&5
60714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60715 (exit $ac_status); } &&
60716 { ac_try='test -z "$ac_cxx_werror_flag"
60717 || test ! -s conftest.err'
60718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60719 (eval $ac_try) 2>&5
60720 ac_status=$?
60721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60722 (exit $ac_status); }; } &&
60723 { ac_try='test -s conftest.$ac_objext'
60724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60725 (eval $ac_try) 2>&5
60726 ac_status=$?
60727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60728 (exit $ac_status); }; }; then
60729 glibcxx_cv_func__finitel_use=yes
60730 else
60731 echo "$as_me: failed program was:" >&5
60732 sed 's/^/| /' conftest.$ac_ext >&5
60734 glibcxx_cv_func__finitel_use=no
60736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60737 ac_ext=c
60738 ac_cpp='$CPP $CPPFLAGS'
60739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60748 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60750 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60752 for ac_func in _finitel
60754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60755 echo "$as_me:$LINENO: checking for $ac_func" >&5
60756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60757 if eval "test \"\${$as_ac_var+set}\" = set"; then
60758 echo $ECHO_N "(cached) $ECHO_C" >&6
60759 else
60760 if test x$gcc_no_link = xyes; then
60761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60763 { (exit 1); exit 1; }; }
60765 cat >conftest.$ac_ext <<_ACEOF
60766 /* confdefs.h. */
60767 _ACEOF
60768 cat confdefs.h >>conftest.$ac_ext
60769 cat >>conftest.$ac_ext <<_ACEOF
60770 /* end confdefs.h. */
60771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60773 #define $ac_func innocuous_$ac_func
60775 /* System header to define __stub macros and hopefully few prototypes,
60776 which can conflict with char $ac_func (); below.
60777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60778 <limits.h> exists even on freestanding compilers. */
60780 #ifdef __STDC__
60781 # include <limits.h>
60782 #else
60783 # include <assert.h>
60784 #endif
60786 #undef $ac_func
60788 /* Override any gcc2 internal prototype to avoid an error. */
60789 #ifdef __cplusplus
60790 extern "C"
60792 #endif
60793 /* We use char because int might match the return type of a gcc2
60794 builtin and then its argument prototype would still apply. */
60795 char $ac_func ();
60796 /* The GNU C library defines this for functions which it implements
60797 to always fail with ENOSYS. Some functions are actually named
60798 something starting with __ and the normal name is an alias. */
60799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60800 choke me
60801 #else
60802 char (*f) () = $ac_func;
60803 #endif
60804 #ifdef __cplusplus
60806 #endif
60809 main ()
60811 return f != $ac_func;
60813 return 0;
60815 _ACEOF
60816 rm -f conftest.$ac_objext conftest$ac_exeext
60817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60818 (eval $ac_link) 2>conftest.er1
60819 ac_status=$?
60820 grep -v '^ *+' conftest.er1 >conftest.err
60821 rm -f conftest.er1
60822 cat conftest.err >&5
60823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60824 (exit $ac_status); } &&
60825 { ac_try='test -z "$ac_c_werror_flag"
60826 || test ! -s conftest.err'
60827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60828 (eval $ac_try) 2>&5
60829 ac_status=$?
60830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60831 (exit $ac_status); }; } &&
60832 { ac_try='test -s conftest$ac_exeext'
60833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60834 (eval $ac_try) 2>&5
60835 ac_status=$?
60836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60837 (exit $ac_status); }; }; then
60838 eval "$as_ac_var=yes"
60839 else
60840 echo "$as_me: failed program was:" >&5
60841 sed 's/^/| /' conftest.$ac_ext >&5
60843 eval "$as_ac_var=no"
60845 rm -f conftest.err conftest.$ac_objext \
60846 conftest$ac_exeext conftest.$ac_ext
60848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60850 if test `eval echo '${'$as_ac_var'}'` = yes; then
60851 cat >>confdefs.h <<_ACEOF
60852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60853 _ACEOF
60856 done
60865 LIBS="$ac_save_LIBS"
60866 CXXFLAGS="$ac_save_CXXFLAGS"
60870 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60871 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60872 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60873 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60874 echo $ECHO_N "(cached) $ECHO_C" >&6
60875 else
60879 ac_ext=cc
60880 ac_cpp='$CXXCPP $CPPFLAGS'
60881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60885 cat >conftest.$ac_ext <<_ACEOF
60886 /* confdefs.h. */
60887 _ACEOF
60888 cat confdefs.h >>conftest.$ac_ext
60889 cat >>conftest.$ac_ext <<_ACEOF
60890 /* end confdefs.h. */
60891 #include <math.h>
60893 main ()
60895 __builtin_abs(0);
60897 return 0;
60899 _ACEOF
60900 rm -f conftest.$ac_objext
60901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60902 (eval $ac_compile) 2>conftest.er1
60903 ac_status=$?
60904 grep -v '^ *+' conftest.er1 >conftest.err
60905 rm -f conftest.er1
60906 cat conftest.err >&5
60907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60908 (exit $ac_status); } &&
60909 { ac_try='test -z "$ac_cxx_werror_flag"
60910 || test ! -s conftest.err'
60911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60912 (eval $ac_try) 2>&5
60913 ac_status=$?
60914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60915 (exit $ac_status); }; } &&
60916 { ac_try='test -s conftest.$ac_objext'
60917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60918 (eval $ac_try) 2>&5
60919 ac_status=$?
60920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921 (exit $ac_status); }; }; then
60922 glibcxx_cv_func___builtin_abs_use=yes
60923 else
60924 echo "$as_me: failed program was:" >&5
60925 sed 's/^/| /' conftest.$ac_ext >&5
60927 glibcxx_cv_func___builtin_abs_use=no
60929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60930 ac_ext=c
60931 ac_cpp='$CPP $CPPFLAGS'
60932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60941 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60942 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60943 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60944 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60945 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60946 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60947 echo $ECHO_N "(cached) $ECHO_C" >&6
60948 else
60950 if test x$gcc_no_link = xyes; then
60951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60953 { (exit 1); exit 1; }; }
60955 cat >conftest.$ac_ext <<_ACEOF
60956 /* confdefs.h. */
60957 _ACEOF
60958 cat confdefs.h >>conftest.$ac_ext
60959 cat >>conftest.$ac_ext <<_ACEOF
60960 /* end confdefs.h. */
60961 #include <math.h>
60963 main ()
60965 __builtin_abs(0);
60967 return 0;
60969 _ACEOF
60970 rm -f conftest.$ac_objext conftest$ac_exeext
60971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60972 (eval $ac_link) 2>conftest.er1
60973 ac_status=$?
60974 grep -v '^ *+' conftest.er1 >conftest.err
60975 rm -f conftest.er1
60976 cat conftest.err >&5
60977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60978 (exit $ac_status); } &&
60979 { ac_try='test -z "$ac_c_werror_flag"
60980 || test ! -s conftest.err'
60981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60982 (eval $ac_try) 2>&5
60983 ac_status=$?
60984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60985 (exit $ac_status); }; } &&
60986 { ac_try='test -s conftest$ac_exeext'
60987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60988 (eval $ac_try) 2>&5
60989 ac_status=$?
60990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60991 (exit $ac_status); }; }; then
60992 glibcxx_cv_func___builtin_abs_link=yes
60993 else
60994 echo "$as_me: failed program was:" >&5
60995 sed 's/^/| /' conftest.$ac_ext >&5
60997 glibcxx_cv_func___builtin_abs_link=no
60999 rm -f conftest.err conftest.$ac_objext \
61000 conftest$ac_exeext conftest.$ac_ext
61005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61006 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61008 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61010 cat >>confdefs.h <<\_ACEOF
61011 #define HAVE___BUILTIN_ABS 1
61012 _ACEOF
61019 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61020 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61021 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61022 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61023 echo $ECHO_N "(cached) $ECHO_C" >&6
61024 else
61028 ac_ext=cc
61029 ac_cpp='$CXXCPP $CPPFLAGS'
61030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61034 cat >conftest.$ac_ext <<_ACEOF
61035 /* confdefs.h. */
61036 _ACEOF
61037 cat confdefs.h >>conftest.$ac_ext
61038 cat >>conftest.$ac_ext <<_ACEOF
61039 /* end confdefs.h. */
61040 #include <math.h>
61042 main ()
61044 __builtin_fabsf(0);
61046 return 0;
61048 _ACEOF
61049 rm -f conftest.$ac_objext
61050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61051 (eval $ac_compile) 2>conftest.er1
61052 ac_status=$?
61053 grep -v '^ *+' conftest.er1 >conftest.err
61054 rm -f conftest.er1
61055 cat conftest.err >&5
61056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61057 (exit $ac_status); } &&
61058 { ac_try='test -z "$ac_cxx_werror_flag"
61059 || test ! -s conftest.err'
61060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61061 (eval $ac_try) 2>&5
61062 ac_status=$?
61063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61064 (exit $ac_status); }; } &&
61065 { ac_try='test -s conftest.$ac_objext'
61066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61067 (eval $ac_try) 2>&5
61068 ac_status=$?
61069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61070 (exit $ac_status); }; }; then
61071 glibcxx_cv_func___builtin_fabsf_use=yes
61072 else
61073 echo "$as_me: failed program was:" >&5
61074 sed 's/^/| /' conftest.$ac_ext >&5
61076 glibcxx_cv_func___builtin_fabsf_use=no
61078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61079 ac_ext=c
61080 ac_cpp='$CPP $CPPFLAGS'
61081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61090 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61091 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61092 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61093 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61094 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61095 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61096 echo $ECHO_N "(cached) $ECHO_C" >&6
61097 else
61099 if test x$gcc_no_link = xyes; then
61100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61102 { (exit 1); exit 1; }; }
61104 cat >conftest.$ac_ext <<_ACEOF
61105 /* confdefs.h. */
61106 _ACEOF
61107 cat confdefs.h >>conftest.$ac_ext
61108 cat >>conftest.$ac_ext <<_ACEOF
61109 /* end confdefs.h. */
61110 #include <math.h>
61112 main ()
61114 __builtin_fabsf(0);
61116 return 0;
61118 _ACEOF
61119 rm -f conftest.$ac_objext conftest$ac_exeext
61120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61121 (eval $ac_link) 2>conftest.er1
61122 ac_status=$?
61123 grep -v '^ *+' conftest.er1 >conftest.err
61124 rm -f conftest.er1
61125 cat conftest.err >&5
61126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61127 (exit $ac_status); } &&
61128 { ac_try='test -z "$ac_c_werror_flag"
61129 || test ! -s conftest.err'
61130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61131 (eval $ac_try) 2>&5
61132 ac_status=$?
61133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61134 (exit $ac_status); }; } &&
61135 { ac_try='test -s conftest$ac_exeext'
61136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61137 (eval $ac_try) 2>&5
61138 ac_status=$?
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); }; }; then
61141 glibcxx_cv_func___builtin_fabsf_link=yes
61142 else
61143 echo "$as_me: failed program was:" >&5
61144 sed 's/^/| /' conftest.$ac_ext >&5
61146 glibcxx_cv_func___builtin_fabsf_link=no
61148 rm -f conftest.err conftest.$ac_objext \
61149 conftest$ac_exeext conftest.$ac_ext
61154 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61155 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61157 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61159 cat >>confdefs.h <<\_ACEOF
61160 #define HAVE___BUILTIN_FABSF 1
61161 _ACEOF
61168 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61169 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61170 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61171 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61172 echo $ECHO_N "(cached) $ECHO_C" >&6
61173 else
61177 ac_ext=cc
61178 ac_cpp='$CXXCPP $CPPFLAGS'
61179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61183 cat >conftest.$ac_ext <<_ACEOF
61184 /* confdefs.h. */
61185 _ACEOF
61186 cat confdefs.h >>conftest.$ac_ext
61187 cat >>conftest.$ac_ext <<_ACEOF
61188 /* end confdefs.h. */
61189 #include <math.h>
61191 main ()
61193 __builtin_fabs(0);
61195 return 0;
61197 _ACEOF
61198 rm -f conftest.$ac_objext
61199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61200 (eval $ac_compile) 2>conftest.er1
61201 ac_status=$?
61202 grep -v '^ *+' conftest.er1 >conftest.err
61203 rm -f conftest.er1
61204 cat conftest.err >&5
61205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61206 (exit $ac_status); } &&
61207 { ac_try='test -z "$ac_cxx_werror_flag"
61208 || test ! -s conftest.err'
61209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61210 (eval $ac_try) 2>&5
61211 ac_status=$?
61212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61213 (exit $ac_status); }; } &&
61214 { ac_try='test -s conftest.$ac_objext'
61215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61216 (eval $ac_try) 2>&5
61217 ac_status=$?
61218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61219 (exit $ac_status); }; }; then
61220 glibcxx_cv_func___builtin_fabs_use=yes
61221 else
61222 echo "$as_me: failed program was:" >&5
61223 sed 's/^/| /' conftest.$ac_ext >&5
61225 glibcxx_cv_func___builtin_fabs_use=no
61227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61228 ac_ext=c
61229 ac_cpp='$CPP $CPPFLAGS'
61230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61239 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61240 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61241 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61242 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61243 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61244 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61245 echo $ECHO_N "(cached) $ECHO_C" >&6
61246 else
61248 if test x$gcc_no_link = xyes; then
61249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61251 { (exit 1); exit 1; }; }
61253 cat >conftest.$ac_ext <<_ACEOF
61254 /* confdefs.h. */
61255 _ACEOF
61256 cat confdefs.h >>conftest.$ac_ext
61257 cat >>conftest.$ac_ext <<_ACEOF
61258 /* end confdefs.h. */
61259 #include <math.h>
61261 main ()
61263 __builtin_fabs(0);
61265 return 0;
61267 _ACEOF
61268 rm -f conftest.$ac_objext conftest$ac_exeext
61269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61270 (eval $ac_link) 2>conftest.er1
61271 ac_status=$?
61272 grep -v '^ *+' conftest.er1 >conftest.err
61273 rm -f conftest.er1
61274 cat conftest.err >&5
61275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61276 (exit $ac_status); } &&
61277 { ac_try='test -z "$ac_c_werror_flag"
61278 || test ! -s conftest.err'
61279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61280 (eval $ac_try) 2>&5
61281 ac_status=$?
61282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61283 (exit $ac_status); }; } &&
61284 { ac_try='test -s conftest$ac_exeext'
61285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61286 (eval $ac_try) 2>&5
61287 ac_status=$?
61288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61289 (exit $ac_status); }; }; then
61290 glibcxx_cv_func___builtin_fabs_link=yes
61291 else
61292 echo "$as_me: failed program was:" >&5
61293 sed 's/^/| /' conftest.$ac_ext >&5
61295 glibcxx_cv_func___builtin_fabs_link=no
61297 rm -f conftest.err conftest.$ac_objext \
61298 conftest$ac_exeext conftest.$ac_ext
61303 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61304 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61306 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61308 cat >>confdefs.h <<\_ACEOF
61309 #define HAVE___BUILTIN_FABS 1
61310 _ACEOF
61317 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61318 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61319 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61320 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61321 echo $ECHO_N "(cached) $ECHO_C" >&6
61322 else
61326 ac_ext=cc
61327 ac_cpp='$CXXCPP $CPPFLAGS'
61328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61332 cat >conftest.$ac_ext <<_ACEOF
61333 /* confdefs.h. */
61334 _ACEOF
61335 cat confdefs.h >>conftest.$ac_ext
61336 cat >>conftest.$ac_ext <<_ACEOF
61337 /* end confdefs.h. */
61338 #include <math.h>
61340 main ()
61342 __builtin_fabsl(0);
61344 return 0;
61346 _ACEOF
61347 rm -f conftest.$ac_objext
61348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61349 (eval $ac_compile) 2>conftest.er1
61350 ac_status=$?
61351 grep -v '^ *+' conftest.er1 >conftest.err
61352 rm -f conftest.er1
61353 cat conftest.err >&5
61354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61355 (exit $ac_status); } &&
61356 { ac_try='test -z "$ac_cxx_werror_flag"
61357 || test ! -s conftest.err'
61358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61359 (eval $ac_try) 2>&5
61360 ac_status=$?
61361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61362 (exit $ac_status); }; } &&
61363 { ac_try='test -s conftest.$ac_objext'
61364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61365 (eval $ac_try) 2>&5
61366 ac_status=$?
61367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61368 (exit $ac_status); }; }; then
61369 glibcxx_cv_func___builtin_fabsl_use=yes
61370 else
61371 echo "$as_me: failed program was:" >&5
61372 sed 's/^/| /' conftest.$ac_ext >&5
61374 glibcxx_cv_func___builtin_fabsl_use=no
61376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61377 ac_ext=c
61378 ac_cpp='$CPP $CPPFLAGS'
61379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61388 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61389 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61390 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61391 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61392 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61393 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61394 echo $ECHO_N "(cached) $ECHO_C" >&6
61395 else
61397 if test x$gcc_no_link = xyes; then
61398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61400 { (exit 1); exit 1; }; }
61402 cat >conftest.$ac_ext <<_ACEOF
61403 /* confdefs.h. */
61404 _ACEOF
61405 cat confdefs.h >>conftest.$ac_ext
61406 cat >>conftest.$ac_ext <<_ACEOF
61407 /* end confdefs.h. */
61408 #include <math.h>
61410 main ()
61412 __builtin_fabsl(0);
61414 return 0;
61416 _ACEOF
61417 rm -f conftest.$ac_objext conftest$ac_exeext
61418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61419 (eval $ac_link) 2>conftest.er1
61420 ac_status=$?
61421 grep -v '^ *+' conftest.er1 >conftest.err
61422 rm -f conftest.er1
61423 cat conftest.err >&5
61424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61425 (exit $ac_status); } &&
61426 { ac_try='test -z "$ac_c_werror_flag"
61427 || test ! -s conftest.err'
61428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61429 (eval $ac_try) 2>&5
61430 ac_status=$?
61431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61432 (exit $ac_status); }; } &&
61433 { ac_try='test -s conftest$ac_exeext'
61434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61435 (eval $ac_try) 2>&5
61436 ac_status=$?
61437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61438 (exit $ac_status); }; }; then
61439 glibcxx_cv_func___builtin_fabsl_link=yes
61440 else
61441 echo "$as_me: failed program was:" >&5
61442 sed 's/^/| /' conftest.$ac_ext >&5
61444 glibcxx_cv_func___builtin_fabsl_link=no
61446 rm -f conftest.err conftest.$ac_objext \
61447 conftest$ac_exeext conftest.$ac_ext
61452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61453 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61455 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61457 cat >>confdefs.h <<\_ACEOF
61458 #define HAVE___BUILTIN_FABSL 1
61459 _ACEOF
61466 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61467 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61468 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61469 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61470 echo $ECHO_N "(cached) $ECHO_C" >&6
61471 else
61475 ac_ext=cc
61476 ac_cpp='$CXXCPP $CPPFLAGS'
61477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61481 cat >conftest.$ac_ext <<_ACEOF
61482 /* confdefs.h. */
61483 _ACEOF
61484 cat confdefs.h >>conftest.$ac_ext
61485 cat >>conftest.$ac_ext <<_ACEOF
61486 /* end confdefs.h. */
61487 #include <math.h>
61489 main ()
61491 __builtin_labs(0);
61493 return 0;
61495 _ACEOF
61496 rm -f conftest.$ac_objext
61497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61498 (eval $ac_compile) 2>conftest.er1
61499 ac_status=$?
61500 grep -v '^ *+' conftest.er1 >conftest.err
61501 rm -f conftest.er1
61502 cat conftest.err >&5
61503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61504 (exit $ac_status); } &&
61505 { ac_try='test -z "$ac_cxx_werror_flag"
61506 || test ! -s conftest.err'
61507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61508 (eval $ac_try) 2>&5
61509 ac_status=$?
61510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61511 (exit $ac_status); }; } &&
61512 { ac_try='test -s conftest.$ac_objext'
61513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61514 (eval $ac_try) 2>&5
61515 ac_status=$?
61516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61517 (exit $ac_status); }; }; then
61518 glibcxx_cv_func___builtin_labs_use=yes
61519 else
61520 echo "$as_me: failed program was:" >&5
61521 sed 's/^/| /' conftest.$ac_ext >&5
61523 glibcxx_cv_func___builtin_labs_use=no
61525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61526 ac_ext=c
61527 ac_cpp='$CPP $CPPFLAGS'
61528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61537 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61538 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61539 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61540 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61541 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61542 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61543 echo $ECHO_N "(cached) $ECHO_C" >&6
61544 else
61546 if test x$gcc_no_link = xyes; then
61547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61549 { (exit 1); exit 1; }; }
61551 cat >conftest.$ac_ext <<_ACEOF
61552 /* confdefs.h. */
61553 _ACEOF
61554 cat confdefs.h >>conftest.$ac_ext
61555 cat >>conftest.$ac_ext <<_ACEOF
61556 /* end confdefs.h. */
61557 #include <math.h>
61559 main ()
61561 __builtin_labs(0);
61563 return 0;
61565 _ACEOF
61566 rm -f conftest.$ac_objext conftest$ac_exeext
61567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61568 (eval $ac_link) 2>conftest.er1
61569 ac_status=$?
61570 grep -v '^ *+' conftest.er1 >conftest.err
61571 rm -f conftest.er1
61572 cat conftest.err >&5
61573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61574 (exit $ac_status); } &&
61575 { ac_try='test -z "$ac_c_werror_flag"
61576 || test ! -s conftest.err'
61577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61578 (eval $ac_try) 2>&5
61579 ac_status=$?
61580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61581 (exit $ac_status); }; } &&
61582 { ac_try='test -s conftest$ac_exeext'
61583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61584 (eval $ac_try) 2>&5
61585 ac_status=$?
61586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61587 (exit $ac_status); }; }; then
61588 glibcxx_cv_func___builtin_labs_link=yes
61589 else
61590 echo "$as_me: failed program was:" >&5
61591 sed 's/^/| /' conftest.$ac_ext >&5
61593 glibcxx_cv_func___builtin_labs_link=no
61595 rm -f conftest.err conftest.$ac_objext \
61596 conftest$ac_exeext conftest.$ac_ext
61601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61602 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61604 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61606 cat >>confdefs.h <<\_ACEOF
61607 #define HAVE___BUILTIN_LABS 1
61608 _ACEOF
61616 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61617 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61618 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61619 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61620 echo $ECHO_N "(cached) $ECHO_C" >&6
61621 else
61625 ac_ext=cc
61626 ac_cpp='$CXXCPP $CPPFLAGS'
61627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61631 cat >conftest.$ac_ext <<_ACEOF
61632 /* confdefs.h. */
61633 _ACEOF
61634 cat confdefs.h >>conftest.$ac_ext
61635 cat >>conftest.$ac_ext <<_ACEOF
61636 /* end confdefs.h. */
61637 #include <math.h>
61639 main ()
61641 __builtin_sqrtf(0);
61643 return 0;
61645 _ACEOF
61646 rm -f conftest.$ac_objext
61647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61648 (eval $ac_compile) 2>conftest.er1
61649 ac_status=$?
61650 grep -v '^ *+' conftest.er1 >conftest.err
61651 rm -f conftest.er1
61652 cat conftest.err >&5
61653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61654 (exit $ac_status); } &&
61655 { ac_try='test -z "$ac_cxx_werror_flag"
61656 || test ! -s conftest.err'
61657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61658 (eval $ac_try) 2>&5
61659 ac_status=$?
61660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61661 (exit $ac_status); }; } &&
61662 { ac_try='test -s conftest.$ac_objext'
61663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61664 (eval $ac_try) 2>&5
61665 ac_status=$?
61666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61667 (exit $ac_status); }; }; then
61668 glibcxx_cv_func___builtin_sqrtf_use=yes
61669 else
61670 echo "$as_me: failed program was:" >&5
61671 sed 's/^/| /' conftest.$ac_ext >&5
61673 glibcxx_cv_func___builtin_sqrtf_use=no
61675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61676 ac_ext=c
61677 ac_cpp='$CPP $CPPFLAGS'
61678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61687 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61688 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61689 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61690 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61691 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61692 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61693 echo $ECHO_N "(cached) $ECHO_C" >&6
61694 else
61696 if test x$gcc_no_link = xyes; then
61697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61699 { (exit 1); exit 1; }; }
61701 cat >conftest.$ac_ext <<_ACEOF
61702 /* confdefs.h. */
61703 _ACEOF
61704 cat confdefs.h >>conftest.$ac_ext
61705 cat >>conftest.$ac_ext <<_ACEOF
61706 /* end confdefs.h. */
61707 #include <math.h>
61709 main ()
61711 __builtin_sqrtf(0);
61713 return 0;
61715 _ACEOF
61716 rm -f conftest.$ac_objext conftest$ac_exeext
61717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61718 (eval $ac_link) 2>conftest.er1
61719 ac_status=$?
61720 grep -v '^ *+' conftest.er1 >conftest.err
61721 rm -f conftest.er1
61722 cat conftest.err >&5
61723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61724 (exit $ac_status); } &&
61725 { ac_try='test -z "$ac_c_werror_flag"
61726 || test ! -s conftest.err'
61727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61728 (eval $ac_try) 2>&5
61729 ac_status=$?
61730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61731 (exit $ac_status); }; } &&
61732 { ac_try='test -s conftest$ac_exeext'
61733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61734 (eval $ac_try) 2>&5
61735 ac_status=$?
61736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61737 (exit $ac_status); }; }; then
61738 glibcxx_cv_func___builtin_sqrtf_link=yes
61739 else
61740 echo "$as_me: failed program was:" >&5
61741 sed 's/^/| /' conftest.$ac_ext >&5
61743 glibcxx_cv_func___builtin_sqrtf_link=no
61745 rm -f conftest.err conftest.$ac_objext \
61746 conftest$ac_exeext conftest.$ac_ext
61751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61752 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61754 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61756 cat >>confdefs.h <<\_ACEOF
61757 #define HAVE___BUILTIN_SQRTF 1
61758 _ACEOF
61765 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61766 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61767 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61768 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61769 echo $ECHO_N "(cached) $ECHO_C" >&6
61770 else
61774 ac_ext=cc
61775 ac_cpp='$CXXCPP $CPPFLAGS'
61776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61780 cat >conftest.$ac_ext <<_ACEOF
61781 /* confdefs.h. */
61782 _ACEOF
61783 cat confdefs.h >>conftest.$ac_ext
61784 cat >>conftest.$ac_ext <<_ACEOF
61785 /* end confdefs.h. */
61786 #include <math.h>
61788 main ()
61790 __builtin_sqrt(0);
61792 return 0;
61794 _ACEOF
61795 rm -f conftest.$ac_objext
61796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61797 (eval $ac_compile) 2>conftest.er1
61798 ac_status=$?
61799 grep -v '^ *+' conftest.er1 >conftest.err
61800 rm -f conftest.er1
61801 cat conftest.err >&5
61802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61803 (exit $ac_status); } &&
61804 { ac_try='test -z "$ac_cxx_werror_flag"
61805 || test ! -s conftest.err'
61806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61807 (eval $ac_try) 2>&5
61808 ac_status=$?
61809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61810 (exit $ac_status); }; } &&
61811 { ac_try='test -s conftest.$ac_objext'
61812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61813 (eval $ac_try) 2>&5
61814 ac_status=$?
61815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816 (exit $ac_status); }; }; then
61817 glibcxx_cv_func___builtin_sqrt_use=yes
61818 else
61819 echo "$as_me: failed program was:" >&5
61820 sed 's/^/| /' conftest.$ac_ext >&5
61822 glibcxx_cv_func___builtin_sqrt_use=no
61824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61825 ac_ext=c
61826 ac_cpp='$CPP $CPPFLAGS'
61827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61836 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61837 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61838 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61839 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61840 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61841 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61842 echo $ECHO_N "(cached) $ECHO_C" >&6
61843 else
61845 if test x$gcc_no_link = xyes; then
61846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61848 { (exit 1); exit 1; }; }
61850 cat >conftest.$ac_ext <<_ACEOF
61851 /* confdefs.h. */
61852 _ACEOF
61853 cat confdefs.h >>conftest.$ac_ext
61854 cat >>conftest.$ac_ext <<_ACEOF
61855 /* end confdefs.h. */
61856 #include <math.h>
61858 main ()
61860 __builtin_sqrt(0);
61862 return 0;
61864 _ACEOF
61865 rm -f conftest.$ac_objext conftest$ac_exeext
61866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61867 (eval $ac_link) 2>conftest.er1
61868 ac_status=$?
61869 grep -v '^ *+' conftest.er1 >conftest.err
61870 rm -f conftest.er1
61871 cat conftest.err >&5
61872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61873 (exit $ac_status); } &&
61874 { ac_try='test -z "$ac_c_werror_flag"
61875 || test ! -s conftest.err'
61876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61877 (eval $ac_try) 2>&5
61878 ac_status=$?
61879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61880 (exit $ac_status); }; } &&
61881 { ac_try='test -s conftest$ac_exeext'
61882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61883 (eval $ac_try) 2>&5
61884 ac_status=$?
61885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61886 (exit $ac_status); }; }; then
61887 glibcxx_cv_func___builtin_sqrt_link=yes
61888 else
61889 echo "$as_me: failed program was:" >&5
61890 sed 's/^/| /' conftest.$ac_ext >&5
61892 glibcxx_cv_func___builtin_sqrt_link=no
61894 rm -f conftest.err conftest.$ac_objext \
61895 conftest$ac_exeext conftest.$ac_ext
61900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61901 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61903 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61905 cat >>confdefs.h <<\_ACEOF
61906 #define HAVE___BUILTIN_SQRT 1
61907 _ACEOF
61914 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61915 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61916 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61917 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61918 echo $ECHO_N "(cached) $ECHO_C" >&6
61919 else
61923 ac_ext=cc
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61929 cat >conftest.$ac_ext <<_ACEOF
61930 /* confdefs.h. */
61931 _ACEOF
61932 cat confdefs.h >>conftest.$ac_ext
61933 cat >>conftest.$ac_ext <<_ACEOF
61934 /* end confdefs.h. */
61935 #include <math.h>
61937 main ()
61939 __builtin_sqrtl(0);
61941 return 0;
61943 _ACEOF
61944 rm -f conftest.$ac_objext
61945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61946 (eval $ac_compile) 2>conftest.er1
61947 ac_status=$?
61948 grep -v '^ *+' conftest.er1 >conftest.err
61949 rm -f conftest.er1
61950 cat conftest.err >&5
61951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61952 (exit $ac_status); } &&
61953 { ac_try='test -z "$ac_cxx_werror_flag"
61954 || test ! -s conftest.err'
61955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61956 (eval $ac_try) 2>&5
61957 ac_status=$?
61958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61959 (exit $ac_status); }; } &&
61960 { ac_try='test -s conftest.$ac_objext'
61961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61962 (eval $ac_try) 2>&5
61963 ac_status=$?
61964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61965 (exit $ac_status); }; }; then
61966 glibcxx_cv_func___builtin_sqrtl_use=yes
61967 else
61968 echo "$as_me: failed program was:" >&5
61969 sed 's/^/| /' conftest.$ac_ext >&5
61971 glibcxx_cv_func___builtin_sqrtl_use=no
61973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61974 ac_ext=c
61975 ac_cpp='$CPP $CPPFLAGS'
61976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61985 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61986 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61987 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61988 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61989 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61990 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61991 echo $ECHO_N "(cached) $ECHO_C" >&6
61992 else
61994 if test x$gcc_no_link = xyes; then
61995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61997 { (exit 1); exit 1; }; }
61999 cat >conftest.$ac_ext <<_ACEOF
62000 /* confdefs.h. */
62001 _ACEOF
62002 cat confdefs.h >>conftest.$ac_ext
62003 cat >>conftest.$ac_ext <<_ACEOF
62004 /* end confdefs.h. */
62005 #include <math.h>
62007 main ()
62009 __builtin_sqrtl(0);
62011 return 0;
62013 _ACEOF
62014 rm -f conftest.$ac_objext conftest$ac_exeext
62015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62016 (eval $ac_link) 2>conftest.er1
62017 ac_status=$?
62018 grep -v '^ *+' conftest.er1 >conftest.err
62019 rm -f conftest.er1
62020 cat conftest.err >&5
62021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62022 (exit $ac_status); } &&
62023 { ac_try='test -z "$ac_c_werror_flag"
62024 || test ! -s conftest.err'
62025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62026 (eval $ac_try) 2>&5
62027 ac_status=$?
62028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62029 (exit $ac_status); }; } &&
62030 { ac_try='test -s conftest$ac_exeext'
62031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62032 (eval $ac_try) 2>&5
62033 ac_status=$?
62034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035 (exit $ac_status); }; }; then
62036 glibcxx_cv_func___builtin_sqrtl_link=yes
62037 else
62038 echo "$as_me: failed program was:" >&5
62039 sed 's/^/| /' conftest.$ac_ext >&5
62041 glibcxx_cv_func___builtin_sqrtl_link=no
62043 rm -f conftest.err conftest.$ac_objext \
62044 conftest$ac_exeext conftest.$ac_ext
62049 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62052 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62054 cat >>confdefs.h <<\_ACEOF
62055 #define HAVE___BUILTIN_SQRTL 1
62056 _ACEOF
62064 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62065 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62066 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62067 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62068 echo $ECHO_N "(cached) $ECHO_C" >&6
62069 else
62073 ac_ext=cc
62074 ac_cpp='$CXXCPP $CPPFLAGS'
62075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62079 cat >conftest.$ac_ext <<_ACEOF
62080 /* confdefs.h. */
62081 _ACEOF
62082 cat confdefs.h >>conftest.$ac_ext
62083 cat >>conftest.$ac_ext <<_ACEOF
62084 /* end confdefs.h. */
62085 #include <math.h>
62087 main ()
62089 __builtin_sinf(0);
62091 return 0;
62093 _ACEOF
62094 rm -f conftest.$ac_objext
62095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62096 (eval $ac_compile) 2>conftest.er1
62097 ac_status=$?
62098 grep -v '^ *+' conftest.er1 >conftest.err
62099 rm -f conftest.er1
62100 cat conftest.err >&5
62101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62102 (exit $ac_status); } &&
62103 { ac_try='test -z "$ac_cxx_werror_flag"
62104 || test ! -s conftest.err'
62105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62106 (eval $ac_try) 2>&5
62107 ac_status=$?
62108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62109 (exit $ac_status); }; } &&
62110 { ac_try='test -s conftest.$ac_objext'
62111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62112 (eval $ac_try) 2>&5
62113 ac_status=$?
62114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62115 (exit $ac_status); }; }; then
62116 glibcxx_cv_func___builtin_sinf_use=yes
62117 else
62118 echo "$as_me: failed program was:" >&5
62119 sed 's/^/| /' conftest.$ac_ext >&5
62121 glibcxx_cv_func___builtin_sinf_use=no
62123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62124 ac_ext=c
62125 ac_cpp='$CPP $CPPFLAGS'
62126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62136 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62137 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62138 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62139 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62140 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62141 echo $ECHO_N "(cached) $ECHO_C" >&6
62142 else
62144 if test x$gcc_no_link = xyes; then
62145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62147 { (exit 1); exit 1; }; }
62149 cat >conftest.$ac_ext <<_ACEOF
62150 /* confdefs.h. */
62151 _ACEOF
62152 cat confdefs.h >>conftest.$ac_ext
62153 cat >>conftest.$ac_ext <<_ACEOF
62154 /* end confdefs.h. */
62155 #include <math.h>
62157 main ()
62159 __builtin_sinf(0);
62161 return 0;
62163 _ACEOF
62164 rm -f conftest.$ac_objext conftest$ac_exeext
62165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62166 (eval $ac_link) 2>conftest.er1
62167 ac_status=$?
62168 grep -v '^ *+' conftest.er1 >conftest.err
62169 rm -f conftest.er1
62170 cat conftest.err >&5
62171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62172 (exit $ac_status); } &&
62173 { ac_try='test -z "$ac_c_werror_flag"
62174 || test ! -s conftest.err'
62175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62176 (eval $ac_try) 2>&5
62177 ac_status=$?
62178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62179 (exit $ac_status); }; } &&
62180 { ac_try='test -s conftest$ac_exeext'
62181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62182 (eval $ac_try) 2>&5
62183 ac_status=$?
62184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185 (exit $ac_status); }; }; then
62186 glibcxx_cv_func___builtin_sinf_link=yes
62187 else
62188 echo "$as_me: failed program was:" >&5
62189 sed 's/^/| /' conftest.$ac_ext >&5
62191 glibcxx_cv_func___builtin_sinf_link=no
62193 rm -f conftest.err conftest.$ac_objext \
62194 conftest$ac_exeext conftest.$ac_ext
62199 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62202 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62204 cat >>confdefs.h <<\_ACEOF
62205 #define HAVE___BUILTIN_SINF 1
62206 _ACEOF
62213 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62214 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62215 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62216 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62217 echo $ECHO_N "(cached) $ECHO_C" >&6
62218 else
62222 ac_ext=cc
62223 ac_cpp='$CXXCPP $CPPFLAGS'
62224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62228 cat >conftest.$ac_ext <<_ACEOF
62229 /* confdefs.h. */
62230 _ACEOF
62231 cat confdefs.h >>conftest.$ac_ext
62232 cat >>conftest.$ac_ext <<_ACEOF
62233 /* end confdefs.h. */
62234 #include <math.h>
62236 main ()
62238 __builtin_sin(0);
62240 return 0;
62242 _ACEOF
62243 rm -f conftest.$ac_objext
62244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62245 (eval $ac_compile) 2>conftest.er1
62246 ac_status=$?
62247 grep -v '^ *+' conftest.er1 >conftest.err
62248 rm -f conftest.er1
62249 cat conftest.err >&5
62250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62251 (exit $ac_status); } &&
62252 { ac_try='test -z "$ac_cxx_werror_flag"
62253 || test ! -s conftest.err'
62254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62255 (eval $ac_try) 2>&5
62256 ac_status=$?
62257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62258 (exit $ac_status); }; } &&
62259 { ac_try='test -s conftest.$ac_objext'
62260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62261 (eval $ac_try) 2>&5
62262 ac_status=$?
62263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62264 (exit $ac_status); }; }; then
62265 glibcxx_cv_func___builtin_sin_use=yes
62266 else
62267 echo "$as_me: failed program was:" >&5
62268 sed 's/^/| /' conftest.$ac_ext >&5
62270 glibcxx_cv_func___builtin_sin_use=no
62272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62273 ac_ext=c
62274 ac_cpp='$CPP $CPPFLAGS'
62275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62285 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62286 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62287 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62288 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62289 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62290 echo $ECHO_N "(cached) $ECHO_C" >&6
62291 else
62293 if test x$gcc_no_link = xyes; then
62294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62296 { (exit 1); exit 1; }; }
62298 cat >conftest.$ac_ext <<_ACEOF
62299 /* confdefs.h. */
62300 _ACEOF
62301 cat confdefs.h >>conftest.$ac_ext
62302 cat >>conftest.$ac_ext <<_ACEOF
62303 /* end confdefs.h. */
62304 #include <math.h>
62306 main ()
62308 __builtin_sin(0);
62310 return 0;
62312 _ACEOF
62313 rm -f conftest.$ac_objext conftest$ac_exeext
62314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62315 (eval $ac_link) 2>conftest.er1
62316 ac_status=$?
62317 grep -v '^ *+' conftest.er1 >conftest.err
62318 rm -f conftest.er1
62319 cat conftest.err >&5
62320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62321 (exit $ac_status); } &&
62322 { ac_try='test -z "$ac_c_werror_flag"
62323 || test ! -s conftest.err'
62324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62325 (eval $ac_try) 2>&5
62326 ac_status=$?
62327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62328 (exit $ac_status); }; } &&
62329 { ac_try='test -s conftest$ac_exeext'
62330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62331 (eval $ac_try) 2>&5
62332 ac_status=$?
62333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334 (exit $ac_status); }; }; then
62335 glibcxx_cv_func___builtin_sin_link=yes
62336 else
62337 echo "$as_me: failed program was:" >&5
62338 sed 's/^/| /' conftest.$ac_ext >&5
62340 glibcxx_cv_func___builtin_sin_link=no
62342 rm -f conftest.err conftest.$ac_objext \
62343 conftest$ac_exeext conftest.$ac_ext
62348 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62349 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62351 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62353 cat >>confdefs.h <<\_ACEOF
62354 #define HAVE___BUILTIN_SIN 1
62355 _ACEOF
62362 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62363 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62364 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62365 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62366 echo $ECHO_N "(cached) $ECHO_C" >&6
62367 else
62371 ac_ext=cc
62372 ac_cpp='$CXXCPP $CPPFLAGS'
62373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62377 cat >conftest.$ac_ext <<_ACEOF
62378 /* confdefs.h. */
62379 _ACEOF
62380 cat confdefs.h >>conftest.$ac_ext
62381 cat >>conftest.$ac_ext <<_ACEOF
62382 /* end confdefs.h. */
62383 #include <math.h>
62385 main ()
62387 __builtin_sinl(0);
62389 return 0;
62391 _ACEOF
62392 rm -f conftest.$ac_objext
62393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62394 (eval $ac_compile) 2>conftest.er1
62395 ac_status=$?
62396 grep -v '^ *+' conftest.er1 >conftest.err
62397 rm -f conftest.er1
62398 cat conftest.err >&5
62399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62400 (exit $ac_status); } &&
62401 { ac_try='test -z "$ac_cxx_werror_flag"
62402 || test ! -s conftest.err'
62403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62404 (eval $ac_try) 2>&5
62405 ac_status=$?
62406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62407 (exit $ac_status); }; } &&
62408 { ac_try='test -s conftest.$ac_objext'
62409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62410 (eval $ac_try) 2>&5
62411 ac_status=$?
62412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62413 (exit $ac_status); }; }; then
62414 glibcxx_cv_func___builtin_sinl_use=yes
62415 else
62416 echo "$as_me: failed program was:" >&5
62417 sed 's/^/| /' conftest.$ac_ext >&5
62419 glibcxx_cv_func___builtin_sinl_use=no
62421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62422 ac_ext=c
62423 ac_cpp='$CPP $CPPFLAGS'
62424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62432 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62433 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62434 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62435 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62436 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62437 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62438 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62439 echo $ECHO_N "(cached) $ECHO_C" >&6
62440 else
62442 if test x$gcc_no_link = xyes; then
62443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62445 { (exit 1); exit 1; }; }
62447 cat >conftest.$ac_ext <<_ACEOF
62448 /* confdefs.h. */
62449 _ACEOF
62450 cat confdefs.h >>conftest.$ac_ext
62451 cat >>conftest.$ac_ext <<_ACEOF
62452 /* end confdefs.h. */
62453 #include <math.h>
62455 main ()
62457 __builtin_sinl(0);
62459 return 0;
62461 _ACEOF
62462 rm -f conftest.$ac_objext conftest$ac_exeext
62463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62464 (eval $ac_link) 2>conftest.er1
62465 ac_status=$?
62466 grep -v '^ *+' conftest.er1 >conftest.err
62467 rm -f conftest.er1
62468 cat conftest.err >&5
62469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62470 (exit $ac_status); } &&
62471 { ac_try='test -z "$ac_c_werror_flag"
62472 || test ! -s conftest.err'
62473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62474 (eval $ac_try) 2>&5
62475 ac_status=$?
62476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62477 (exit $ac_status); }; } &&
62478 { ac_try='test -s conftest$ac_exeext'
62479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62480 (eval $ac_try) 2>&5
62481 ac_status=$?
62482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483 (exit $ac_status); }; }; then
62484 glibcxx_cv_func___builtin_sinl_link=yes
62485 else
62486 echo "$as_me: failed program was:" >&5
62487 sed 's/^/| /' conftest.$ac_ext >&5
62489 glibcxx_cv_func___builtin_sinl_link=no
62491 rm -f conftest.err conftest.$ac_objext \
62492 conftest$ac_exeext conftest.$ac_ext
62497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62500 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62502 cat >>confdefs.h <<\_ACEOF
62503 #define HAVE___BUILTIN_SINL 1
62504 _ACEOF
62512 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62513 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62514 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62515 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62516 echo $ECHO_N "(cached) $ECHO_C" >&6
62517 else
62521 ac_ext=cc
62522 ac_cpp='$CXXCPP $CPPFLAGS'
62523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62527 cat >conftest.$ac_ext <<_ACEOF
62528 /* confdefs.h. */
62529 _ACEOF
62530 cat confdefs.h >>conftest.$ac_ext
62531 cat >>conftest.$ac_ext <<_ACEOF
62532 /* end confdefs.h. */
62533 #include <math.h>
62535 main ()
62537 __builtin_cosf(0);
62539 return 0;
62541 _ACEOF
62542 rm -f conftest.$ac_objext
62543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62544 (eval $ac_compile) 2>conftest.er1
62545 ac_status=$?
62546 grep -v '^ *+' conftest.er1 >conftest.err
62547 rm -f conftest.er1
62548 cat conftest.err >&5
62549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62550 (exit $ac_status); } &&
62551 { ac_try='test -z "$ac_cxx_werror_flag"
62552 || test ! -s conftest.err'
62553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62554 (eval $ac_try) 2>&5
62555 ac_status=$?
62556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62557 (exit $ac_status); }; } &&
62558 { ac_try='test -s conftest.$ac_objext'
62559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62560 (eval $ac_try) 2>&5
62561 ac_status=$?
62562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62563 (exit $ac_status); }; }; then
62564 glibcxx_cv_func___builtin_cosf_use=yes
62565 else
62566 echo "$as_me: failed program was:" >&5
62567 sed 's/^/| /' conftest.$ac_ext >&5
62569 glibcxx_cv_func___builtin_cosf_use=no
62571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62572 ac_ext=c
62573 ac_cpp='$CPP $CPPFLAGS'
62574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62582 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62583 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62584 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62585 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62586 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62587 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62588 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62589 echo $ECHO_N "(cached) $ECHO_C" >&6
62590 else
62592 if test x$gcc_no_link = xyes; then
62593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62595 { (exit 1); exit 1; }; }
62597 cat >conftest.$ac_ext <<_ACEOF
62598 /* confdefs.h. */
62599 _ACEOF
62600 cat confdefs.h >>conftest.$ac_ext
62601 cat >>conftest.$ac_ext <<_ACEOF
62602 /* end confdefs.h. */
62603 #include <math.h>
62605 main ()
62607 __builtin_cosf(0);
62609 return 0;
62611 _ACEOF
62612 rm -f conftest.$ac_objext conftest$ac_exeext
62613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62614 (eval $ac_link) 2>conftest.er1
62615 ac_status=$?
62616 grep -v '^ *+' conftest.er1 >conftest.err
62617 rm -f conftest.er1
62618 cat conftest.err >&5
62619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62620 (exit $ac_status); } &&
62621 { ac_try='test -z "$ac_c_werror_flag"
62622 || test ! -s conftest.err'
62623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62624 (eval $ac_try) 2>&5
62625 ac_status=$?
62626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62627 (exit $ac_status); }; } &&
62628 { ac_try='test -s conftest$ac_exeext'
62629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62630 (eval $ac_try) 2>&5
62631 ac_status=$?
62632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62633 (exit $ac_status); }; }; then
62634 glibcxx_cv_func___builtin_cosf_link=yes
62635 else
62636 echo "$as_me: failed program was:" >&5
62637 sed 's/^/| /' conftest.$ac_ext >&5
62639 glibcxx_cv_func___builtin_cosf_link=no
62641 rm -f conftest.err conftest.$ac_objext \
62642 conftest$ac_exeext conftest.$ac_ext
62647 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62648 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62650 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62652 cat >>confdefs.h <<\_ACEOF
62653 #define HAVE___BUILTIN_COSF 1
62654 _ACEOF
62661 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62662 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62663 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62664 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62665 echo $ECHO_N "(cached) $ECHO_C" >&6
62666 else
62670 ac_ext=cc
62671 ac_cpp='$CXXCPP $CPPFLAGS'
62672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62676 cat >conftest.$ac_ext <<_ACEOF
62677 /* confdefs.h. */
62678 _ACEOF
62679 cat confdefs.h >>conftest.$ac_ext
62680 cat >>conftest.$ac_ext <<_ACEOF
62681 /* end confdefs.h. */
62682 #include <math.h>
62684 main ()
62686 __builtin_cos(0);
62688 return 0;
62690 _ACEOF
62691 rm -f conftest.$ac_objext
62692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62693 (eval $ac_compile) 2>conftest.er1
62694 ac_status=$?
62695 grep -v '^ *+' conftest.er1 >conftest.err
62696 rm -f conftest.er1
62697 cat conftest.err >&5
62698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62699 (exit $ac_status); } &&
62700 { ac_try='test -z "$ac_cxx_werror_flag"
62701 || test ! -s conftest.err'
62702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62703 (eval $ac_try) 2>&5
62704 ac_status=$?
62705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62706 (exit $ac_status); }; } &&
62707 { ac_try='test -s conftest.$ac_objext'
62708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62709 (eval $ac_try) 2>&5
62710 ac_status=$?
62711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62712 (exit $ac_status); }; }; then
62713 glibcxx_cv_func___builtin_cos_use=yes
62714 else
62715 echo "$as_me: failed program was:" >&5
62716 sed 's/^/| /' conftest.$ac_ext >&5
62718 glibcxx_cv_func___builtin_cos_use=no
62720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62721 ac_ext=c
62722 ac_cpp='$CPP $CPPFLAGS'
62723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62732 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62733 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62734 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62735 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62736 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62737 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62738 echo $ECHO_N "(cached) $ECHO_C" >&6
62739 else
62741 if test x$gcc_no_link = xyes; then
62742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62744 { (exit 1); exit 1; }; }
62746 cat >conftest.$ac_ext <<_ACEOF
62747 /* confdefs.h. */
62748 _ACEOF
62749 cat confdefs.h >>conftest.$ac_ext
62750 cat >>conftest.$ac_ext <<_ACEOF
62751 /* end confdefs.h. */
62752 #include <math.h>
62754 main ()
62756 __builtin_cos(0);
62758 return 0;
62760 _ACEOF
62761 rm -f conftest.$ac_objext conftest$ac_exeext
62762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62763 (eval $ac_link) 2>conftest.er1
62764 ac_status=$?
62765 grep -v '^ *+' conftest.er1 >conftest.err
62766 rm -f conftest.er1
62767 cat conftest.err >&5
62768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62769 (exit $ac_status); } &&
62770 { ac_try='test -z "$ac_c_werror_flag"
62771 || test ! -s conftest.err'
62772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62773 (eval $ac_try) 2>&5
62774 ac_status=$?
62775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62776 (exit $ac_status); }; } &&
62777 { ac_try='test -s conftest$ac_exeext'
62778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62779 (eval $ac_try) 2>&5
62780 ac_status=$?
62781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62782 (exit $ac_status); }; }; then
62783 glibcxx_cv_func___builtin_cos_link=yes
62784 else
62785 echo "$as_me: failed program was:" >&5
62786 sed 's/^/| /' conftest.$ac_ext >&5
62788 glibcxx_cv_func___builtin_cos_link=no
62790 rm -f conftest.err conftest.$ac_objext \
62791 conftest$ac_exeext conftest.$ac_ext
62796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62797 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62799 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62801 cat >>confdefs.h <<\_ACEOF
62802 #define HAVE___BUILTIN_COS 1
62803 _ACEOF
62810 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62811 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62812 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62813 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62814 echo $ECHO_N "(cached) $ECHO_C" >&6
62815 else
62819 ac_ext=cc
62820 ac_cpp='$CXXCPP $CPPFLAGS'
62821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62825 cat >conftest.$ac_ext <<_ACEOF
62826 /* confdefs.h. */
62827 _ACEOF
62828 cat confdefs.h >>conftest.$ac_ext
62829 cat >>conftest.$ac_ext <<_ACEOF
62830 /* end confdefs.h. */
62831 #include <math.h>
62833 main ()
62835 __builtin_cosl(0);
62837 return 0;
62839 _ACEOF
62840 rm -f conftest.$ac_objext
62841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62842 (eval $ac_compile) 2>conftest.er1
62843 ac_status=$?
62844 grep -v '^ *+' conftest.er1 >conftest.err
62845 rm -f conftest.er1
62846 cat conftest.err >&5
62847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62848 (exit $ac_status); } &&
62849 { ac_try='test -z "$ac_cxx_werror_flag"
62850 || test ! -s conftest.err'
62851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62852 (eval $ac_try) 2>&5
62853 ac_status=$?
62854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62855 (exit $ac_status); }; } &&
62856 { ac_try='test -s conftest.$ac_objext'
62857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62858 (eval $ac_try) 2>&5
62859 ac_status=$?
62860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62861 (exit $ac_status); }; }; then
62862 glibcxx_cv_func___builtin_cosl_use=yes
62863 else
62864 echo "$as_me: failed program was:" >&5
62865 sed 's/^/| /' conftest.$ac_ext >&5
62867 glibcxx_cv_func___builtin_cosl_use=no
62869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62870 ac_ext=c
62871 ac_cpp='$CPP $CPPFLAGS'
62872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62880 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62881 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62882 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62883 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62884 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62885 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62886 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62887 echo $ECHO_N "(cached) $ECHO_C" >&6
62888 else
62890 if test x$gcc_no_link = xyes; then
62891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62893 { (exit 1); exit 1; }; }
62895 cat >conftest.$ac_ext <<_ACEOF
62896 /* confdefs.h. */
62897 _ACEOF
62898 cat confdefs.h >>conftest.$ac_ext
62899 cat >>conftest.$ac_ext <<_ACEOF
62900 /* end confdefs.h. */
62901 #include <math.h>
62903 main ()
62905 __builtin_cosl(0);
62907 return 0;
62909 _ACEOF
62910 rm -f conftest.$ac_objext conftest$ac_exeext
62911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62912 (eval $ac_link) 2>conftest.er1
62913 ac_status=$?
62914 grep -v '^ *+' conftest.er1 >conftest.err
62915 rm -f conftest.er1
62916 cat conftest.err >&5
62917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62918 (exit $ac_status); } &&
62919 { ac_try='test -z "$ac_c_werror_flag"
62920 || test ! -s conftest.err'
62921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62922 (eval $ac_try) 2>&5
62923 ac_status=$?
62924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62925 (exit $ac_status); }; } &&
62926 { ac_try='test -s conftest$ac_exeext'
62927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62928 (eval $ac_try) 2>&5
62929 ac_status=$?
62930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62931 (exit $ac_status); }; }; then
62932 glibcxx_cv_func___builtin_cosl_link=yes
62933 else
62934 echo "$as_me: failed program was:" >&5
62935 sed 's/^/| /' conftest.$ac_ext >&5
62937 glibcxx_cv_func___builtin_cosl_link=no
62939 rm -f conftest.err conftest.$ac_objext \
62940 conftest$ac_exeext conftest.$ac_ext
62945 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62946 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62948 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62950 cat >>confdefs.h <<\_ACEOF
62951 #define HAVE___BUILTIN_COSL 1
62952 _ACEOF
62961 echo "$as_me:$LINENO: checking for main in -lm" >&5
62962 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62963 if test "${ac_cv_lib_m_main+set}" = set; then
62964 echo $ECHO_N "(cached) $ECHO_C" >&6
62965 else
62966 ac_check_lib_save_LIBS=$LIBS
62967 LIBS="-lm $LIBS"
62968 if test x$gcc_no_link = xyes; then
62969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62971 { (exit 1); exit 1; }; }
62973 cat >conftest.$ac_ext <<_ACEOF
62974 /* confdefs.h. */
62975 _ACEOF
62976 cat confdefs.h >>conftest.$ac_ext
62977 cat >>conftest.$ac_ext <<_ACEOF
62978 /* end confdefs.h. */
62982 main ()
62984 main ();
62986 return 0;
62988 _ACEOF
62989 rm -f conftest.$ac_objext conftest$ac_exeext
62990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62991 (eval $ac_link) 2>conftest.er1
62992 ac_status=$?
62993 grep -v '^ *+' conftest.er1 >conftest.err
62994 rm -f conftest.er1
62995 cat conftest.err >&5
62996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62997 (exit $ac_status); } &&
62998 { ac_try='test -z "$ac_c_werror_flag"
62999 || test ! -s conftest.err'
63000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63001 (eval $ac_try) 2>&5
63002 ac_status=$?
63003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63004 (exit $ac_status); }; } &&
63005 { ac_try='test -s conftest$ac_exeext'
63006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63007 (eval $ac_try) 2>&5
63008 ac_status=$?
63009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63010 (exit $ac_status); }; }; then
63011 ac_cv_lib_m_main=yes
63012 else
63013 echo "$as_me: failed program was:" >&5
63014 sed 's/^/| /' conftest.$ac_ext >&5
63016 ac_cv_lib_m_main=no
63018 rm -f conftest.err conftest.$ac_objext \
63019 conftest$ac_exeext conftest.$ac_ext
63020 LIBS=$ac_check_lib_save_LIBS
63022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63023 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63024 if test $ac_cv_lib_m_main = yes; then
63025 cat >>confdefs.h <<_ACEOF
63026 #define HAVE_LIBM 1
63027 _ACEOF
63029 LIBS="-lm $LIBS"
63034 for ac_func in copysignf
63036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63037 echo "$as_me:$LINENO: checking for $ac_func" >&5
63038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63039 if eval "test \"\${$as_ac_var+set}\" = set"; then
63040 echo $ECHO_N "(cached) $ECHO_C" >&6
63041 else
63042 if test x$gcc_no_link = xyes; then
63043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63045 { (exit 1); exit 1; }; }
63047 cat >conftest.$ac_ext <<_ACEOF
63048 /* confdefs.h. */
63049 _ACEOF
63050 cat confdefs.h >>conftest.$ac_ext
63051 cat >>conftest.$ac_ext <<_ACEOF
63052 /* end confdefs.h. */
63053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63055 #define $ac_func innocuous_$ac_func
63057 /* System header to define __stub macros and hopefully few prototypes,
63058 which can conflict with char $ac_func (); below.
63059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63060 <limits.h> exists even on freestanding compilers. */
63062 #ifdef __STDC__
63063 # include <limits.h>
63064 #else
63065 # include <assert.h>
63066 #endif
63068 #undef $ac_func
63070 /* Override any gcc2 internal prototype to avoid an error. */
63071 #ifdef __cplusplus
63072 extern "C"
63074 #endif
63075 /* We use char because int might match the return type of a gcc2
63076 builtin and then its argument prototype would still apply. */
63077 char $ac_func ();
63078 /* The GNU C library defines this for functions which it implements
63079 to always fail with ENOSYS. Some functions are actually named
63080 something starting with __ and the normal name is an alias. */
63081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63082 choke me
63083 #else
63084 char (*f) () = $ac_func;
63085 #endif
63086 #ifdef __cplusplus
63088 #endif
63091 main ()
63093 return f != $ac_func;
63095 return 0;
63097 _ACEOF
63098 rm -f conftest.$ac_objext conftest$ac_exeext
63099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63100 (eval $ac_link) 2>conftest.er1
63101 ac_status=$?
63102 grep -v '^ *+' conftest.er1 >conftest.err
63103 rm -f conftest.er1
63104 cat conftest.err >&5
63105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63106 (exit $ac_status); } &&
63107 { ac_try='test -z "$ac_c_werror_flag"
63108 || test ! -s conftest.err'
63109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63110 (eval $ac_try) 2>&5
63111 ac_status=$?
63112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63113 (exit $ac_status); }; } &&
63114 { ac_try='test -s conftest$ac_exeext'
63115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63116 (eval $ac_try) 2>&5
63117 ac_status=$?
63118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63119 (exit $ac_status); }; }; then
63120 eval "$as_ac_var=yes"
63121 else
63122 echo "$as_me: failed program was:" >&5
63123 sed 's/^/| /' conftest.$ac_ext >&5
63125 eval "$as_ac_var=no"
63127 rm -f conftest.err conftest.$ac_objext \
63128 conftest$ac_exeext conftest.$ac_ext
63130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63132 if test `eval echo '${'$as_ac_var'}'` = yes; then
63133 cat >>confdefs.h <<_ACEOF
63134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63135 _ACEOF
63137 else
63138 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63140 done
63144 for ac_func in __signbit
63146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63147 echo "$as_me:$LINENO: checking for $ac_func" >&5
63148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63149 if eval "test \"\${$as_ac_var+set}\" = set"; then
63150 echo $ECHO_N "(cached) $ECHO_C" >&6
63151 else
63152 if test x$gcc_no_link = xyes; then
63153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63155 { (exit 1); exit 1; }; }
63157 cat >conftest.$ac_ext <<_ACEOF
63158 /* confdefs.h. */
63159 _ACEOF
63160 cat confdefs.h >>conftest.$ac_ext
63161 cat >>conftest.$ac_ext <<_ACEOF
63162 /* end confdefs.h. */
63163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63165 #define $ac_func innocuous_$ac_func
63167 /* System header to define __stub macros and hopefully few prototypes,
63168 which can conflict with char $ac_func (); below.
63169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63170 <limits.h> exists even on freestanding compilers. */
63172 #ifdef __STDC__
63173 # include <limits.h>
63174 #else
63175 # include <assert.h>
63176 #endif
63178 #undef $ac_func
63180 /* Override any gcc2 internal prototype to avoid an error. */
63181 #ifdef __cplusplus
63182 extern "C"
63184 #endif
63185 /* We use char because int might match the return type of a gcc2
63186 builtin and then its argument prototype would still apply. */
63187 char $ac_func ();
63188 /* The GNU C library defines this for functions which it implements
63189 to always fail with ENOSYS. Some functions are actually named
63190 something starting with __ and the normal name is an alias. */
63191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63192 choke me
63193 #else
63194 char (*f) () = $ac_func;
63195 #endif
63196 #ifdef __cplusplus
63198 #endif
63201 main ()
63203 return f != $ac_func;
63205 return 0;
63207 _ACEOF
63208 rm -f conftest.$ac_objext conftest$ac_exeext
63209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63210 (eval $ac_link) 2>conftest.er1
63211 ac_status=$?
63212 grep -v '^ *+' conftest.er1 >conftest.err
63213 rm -f conftest.er1
63214 cat conftest.err >&5
63215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63216 (exit $ac_status); } &&
63217 { ac_try='test -z "$ac_c_werror_flag"
63218 || test ! -s conftest.err'
63219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63220 (eval $ac_try) 2>&5
63221 ac_status=$?
63222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63223 (exit $ac_status); }; } &&
63224 { ac_try='test -s conftest$ac_exeext'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; }; then
63230 eval "$as_ac_var=yes"
63231 else
63232 echo "$as_me: failed program was:" >&5
63233 sed 's/^/| /' conftest.$ac_ext >&5
63235 eval "$as_ac_var=no"
63237 rm -f conftest.err conftest.$ac_objext \
63238 conftest$ac_exeext conftest.$ac_ext
63240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63242 if test `eval echo '${'$as_ac_var'}'` = yes; then
63243 cat >>confdefs.h <<_ACEOF
63244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63245 _ACEOF
63247 else
63248 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63250 done
63254 for ac_func in __signbitf
63256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63257 echo "$as_me:$LINENO: checking for $ac_func" >&5
63258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63259 if eval "test \"\${$as_ac_var+set}\" = set"; then
63260 echo $ECHO_N "(cached) $ECHO_C" >&6
63261 else
63262 if test x$gcc_no_link = xyes; then
63263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63265 { (exit 1); exit 1; }; }
63267 cat >conftest.$ac_ext <<_ACEOF
63268 /* confdefs.h. */
63269 _ACEOF
63270 cat confdefs.h >>conftest.$ac_ext
63271 cat >>conftest.$ac_ext <<_ACEOF
63272 /* end confdefs.h. */
63273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63275 #define $ac_func innocuous_$ac_func
63277 /* System header to define __stub macros and hopefully few prototypes,
63278 which can conflict with char $ac_func (); below.
63279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63280 <limits.h> exists even on freestanding compilers. */
63282 #ifdef __STDC__
63283 # include <limits.h>
63284 #else
63285 # include <assert.h>
63286 #endif
63288 #undef $ac_func
63290 /* Override any gcc2 internal prototype to avoid an error. */
63291 #ifdef __cplusplus
63292 extern "C"
63294 #endif
63295 /* We use char because int might match the return type of a gcc2
63296 builtin and then its argument prototype would still apply. */
63297 char $ac_func ();
63298 /* The GNU C library defines this for functions which it implements
63299 to always fail with ENOSYS. Some functions are actually named
63300 something starting with __ and the normal name is an alias. */
63301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63302 choke me
63303 #else
63304 char (*f) () = $ac_func;
63305 #endif
63306 #ifdef __cplusplus
63308 #endif
63311 main ()
63313 return f != $ac_func;
63315 return 0;
63317 _ACEOF
63318 rm -f conftest.$ac_objext conftest$ac_exeext
63319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63320 (eval $ac_link) 2>conftest.er1
63321 ac_status=$?
63322 grep -v '^ *+' conftest.er1 >conftest.err
63323 rm -f conftest.er1
63324 cat conftest.err >&5
63325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63326 (exit $ac_status); } &&
63327 { ac_try='test -z "$ac_c_werror_flag"
63328 || test ! -s conftest.err'
63329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63330 (eval $ac_try) 2>&5
63331 ac_status=$?
63332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63333 (exit $ac_status); }; } &&
63334 { ac_try='test -s conftest$ac_exeext'
63335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63336 (eval $ac_try) 2>&5
63337 ac_status=$?
63338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63339 (exit $ac_status); }; }; then
63340 eval "$as_ac_var=yes"
63341 else
63342 echo "$as_me: failed program was:" >&5
63343 sed 's/^/| /' conftest.$ac_ext >&5
63345 eval "$as_ac_var=no"
63347 rm -f conftest.err conftest.$ac_objext \
63348 conftest$ac_exeext conftest.$ac_ext
63350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63352 if test `eval echo '${'$as_ac_var'}'` = yes; then
63353 cat >>confdefs.h <<_ACEOF
63354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63355 _ACEOF
63357 else
63358 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63360 done
63363 if test x$ac_cv_func_copysignl = x"yes"; then
63365 for ac_func in __signbitl
63367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63368 echo "$as_me:$LINENO: checking for $ac_func" >&5
63369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63370 if eval "test \"\${$as_ac_var+set}\" = set"; then
63371 echo $ECHO_N "(cached) $ECHO_C" >&6
63372 else
63373 if test x$gcc_no_link = xyes; then
63374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63376 { (exit 1); exit 1; }; }
63378 cat >conftest.$ac_ext <<_ACEOF
63379 /* confdefs.h. */
63380 _ACEOF
63381 cat confdefs.h >>conftest.$ac_ext
63382 cat >>conftest.$ac_ext <<_ACEOF
63383 /* end confdefs.h. */
63384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63386 #define $ac_func innocuous_$ac_func
63388 /* System header to define __stub macros and hopefully few prototypes,
63389 which can conflict with char $ac_func (); below.
63390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63391 <limits.h> exists even on freestanding compilers. */
63393 #ifdef __STDC__
63394 # include <limits.h>
63395 #else
63396 # include <assert.h>
63397 #endif
63399 #undef $ac_func
63401 /* Override any gcc2 internal prototype to avoid an error. */
63402 #ifdef __cplusplus
63403 extern "C"
63405 #endif
63406 /* We use char because int might match the return type of a gcc2
63407 builtin and then its argument prototype would still apply. */
63408 char $ac_func ();
63409 /* The GNU C library defines this for functions which it implements
63410 to always fail with ENOSYS. Some functions are actually named
63411 something starting with __ and the normal name is an alias. */
63412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63413 choke me
63414 #else
63415 char (*f) () = $ac_func;
63416 #endif
63417 #ifdef __cplusplus
63419 #endif
63422 main ()
63424 return f != $ac_func;
63426 return 0;
63428 _ACEOF
63429 rm -f conftest.$ac_objext conftest$ac_exeext
63430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63431 (eval $ac_link) 2>conftest.er1
63432 ac_status=$?
63433 grep -v '^ *+' conftest.er1 >conftest.err
63434 rm -f conftest.er1
63435 cat conftest.err >&5
63436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63437 (exit $ac_status); } &&
63438 { ac_try='test -z "$ac_c_werror_flag"
63439 || test ! -s conftest.err'
63440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63441 (eval $ac_try) 2>&5
63442 ac_status=$?
63443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63444 (exit $ac_status); }; } &&
63445 { ac_try='test -s conftest$ac_exeext'
63446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63447 (eval $ac_try) 2>&5
63448 ac_status=$?
63449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63450 (exit $ac_status); }; }; then
63451 eval "$as_ac_var=yes"
63452 else
63453 echo "$as_me: failed program was:" >&5
63454 sed 's/^/| /' conftest.$ac_ext >&5
63456 eval "$as_ac_var=no"
63458 rm -f conftest.err conftest.$ac_objext \
63459 conftest$ac_exeext conftest.$ac_ext
63461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63463 if test `eval echo '${'$as_ac_var'}'` = yes; then
63464 cat >>confdefs.h <<_ACEOF
63465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63466 _ACEOF
63468 else
63469 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63471 done
63475 # Used in libmath/Makefile.am.
63476 if test -n "$LIBMATHOBJS"; then
63477 need_libmath=yes
63482 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63483 ac_save_CXXFLAGS="$CXXFLAGS"
63484 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63487 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63488 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63489 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63490 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63491 echo $ECHO_N "(cached) $ECHO_C" >&6
63492 else
63496 ac_ext=cc
63497 ac_cpp='$CXXCPP $CPPFLAGS'
63498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63502 cat >conftest.$ac_ext <<_ACEOF
63503 /* confdefs.h. */
63504 _ACEOF
63505 cat confdefs.h >>conftest.$ac_ext
63506 cat >>conftest.$ac_ext <<_ACEOF
63507 /* end confdefs.h. */
63508 #include <stdlib.h>
63510 main ()
63512 strtold(0, 0);
63514 return 0;
63516 _ACEOF
63517 rm -f conftest.$ac_objext
63518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63519 (eval $ac_compile) 2>conftest.er1
63520 ac_status=$?
63521 grep -v '^ *+' conftest.er1 >conftest.err
63522 rm -f conftest.er1
63523 cat conftest.err >&5
63524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63525 (exit $ac_status); } &&
63526 { ac_try='test -z "$ac_cxx_werror_flag"
63527 || test ! -s conftest.err'
63528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63529 (eval $ac_try) 2>&5
63530 ac_status=$?
63531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63532 (exit $ac_status); }; } &&
63533 { ac_try='test -s conftest.$ac_objext'
63534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63535 (eval $ac_try) 2>&5
63536 ac_status=$?
63537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63538 (exit $ac_status); }; }; then
63539 glibcxx_cv_func_strtold_use=yes
63540 else
63541 echo "$as_me: failed program was:" >&5
63542 sed 's/^/| /' conftest.$ac_ext >&5
63544 glibcxx_cv_func_strtold_use=no
63546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63547 ac_ext=c
63548 ac_cpp='$CPP $CPPFLAGS'
63549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63557 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63558 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63559 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63561 for ac_func in strtold
63563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63564 echo "$as_me:$LINENO: checking for $ac_func" >&5
63565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63566 if eval "test \"\${$as_ac_var+set}\" = set"; then
63567 echo $ECHO_N "(cached) $ECHO_C" >&6
63568 else
63569 if test x$gcc_no_link = xyes; then
63570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63572 { (exit 1); exit 1; }; }
63574 cat >conftest.$ac_ext <<_ACEOF
63575 /* confdefs.h. */
63576 _ACEOF
63577 cat confdefs.h >>conftest.$ac_ext
63578 cat >>conftest.$ac_ext <<_ACEOF
63579 /* end confdefs.h. */
63580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63582 #define $ac_func innocuous_$ac_func
63584 /* System header to define __stub macros and hopefully few prototypes,
63585 which can conflict with char $ac_func (); below.
63586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63587 <limits.h> exists even on freestanding compilers. */
63589 #ifdef __STDC__
63590 # include <limits.h>
63591 #else
63592 # include <assert.h>
63593 #endif
63595 #undef $ac_func
63597 /* Override any gcc2 internal prototype to avoid an error. */
63598 #ifdef __cplusplus
63599 extern "C"
63601 #endif
63602 /* We use char because int might match the return type of a gcc2
63603 builtin and then its argument prototype would still apply. */
63604 char $ac_func ();
63605 /* The GNU C library defines this for functions which it implements
63606 to always fail with ENOSYS. Some functions are actually named
63607 something starting with __ and the normal name is an alias. */
63608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63609 choke me
63610 #else
63611 char (*f) () = $ac_func;
63612 #endif
63613 #ifdef __cplusplus
63615 #endif
63618 main ()
63620 return f != $ac_func;
63622 return 0;
63624 _ACEOF
63625 rm -f conftest.$ac_objext conftest$ac_exeext
63626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63627 (eval $ac_link) 2>conftest.er1
63628 ac_status=$?
63629 grep -v '^ *+' conftest.er1 >conftest.err
63630 rm -f conftest.er1
63631 cat conftest.err >&5
63632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63633 (exit $ac_status); } &&
63634 { ac_try='test -z "$ac_c_werror_flag"
63635 || test ! -s conftest.err'
63636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63637 (eval $ac_try) 2>&5
63638 ac_status=$?
63639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63640 (exit $ac_status); }; } &&
63641 { ac_try='test -s conftest$ac_exeext'
63642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63643 (eval $ac_try) 2>&5
63644 ac_status=$?
63645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63646 (exit $ac_status); }; }; then
63647 eval "$as_ac_var=yes"
63648 else
63649 echo "$as_me: failed program was:" >&5
63650 sed 's/^/| /' conftest.$ac_ext >&5
63652 eval "$as_ac_var=no"
63654 rm -f conftest.err conftest.$ac_objext \
63655 conftest$ac_exeext conftest.$ac_ext
63657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63659 if test `eval echo '${'$as_ac_var'}'` = yes; then
63660 cat >>confdefs.h <<_ACEOF
63661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63662 _ACEOF
63665 done
63673 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63674 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63675 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63676 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63677 echo $ECHO_N "(cached) $ECHO_C" >&6
63678 else
63682 ac_ext=cc
63683 ac_cpp='$CXXCPP $CPPFLAGS'
63684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63688 cat >conftest.$ac_ext <<_ACEOF
63689 /* confdefs.h. */
63690 _ACEOF
63691 cat confdefs.h >>conftest.$ac_ext
63692 cat >>conftest.$ac_ext <<_ACEOF
63693 /* end confdefs.h. */
63694 #include <stdlib.h>
63696 main ()
63698 strtof(0, 0);
63700 return 0;
63702 _ACEOF
63703 rm -f conftest.$ac_objext
63704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63705 (eval $ac_compile) 2>conftest.er1
63706 ac_status=$?
63707 grep -v '^ *+' conftest.er1 >conftest.err
63708 rm -f conftest.er1
63709 cat conftest.err >&5
63710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63711 (exit $ac_status); } &&
63712 { ac_try='test -z "$ac_cxx_werror_flag"
63713 || test ! -s conftest.err'
63714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63715 (eval $ac_try) 2>&5
63716 ac_status=$?
63717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63718 (exit $ac_status); }; } &&
63719 { ac_try='test -s conftest.$ac_objext'
63720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63721 (eval $ac_try) 2>&5
63722 ac_status=$?
63723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63724 (exit $ac_status); }; }; then
63725 glibcxx_cv_func_strtof_use=yes
63726 else
63727 echo "$as_me: failed program was:" >&5
63728 sed 's/^/| /' conftest.$ac_ext >&5
63730 glibcxx_cv_func_strtof_use=no
63732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63733 ac_ext=c
63734 ac_cpp='$CPP $CPPFLAGS'
63735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63744 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63745 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63747 for ac_func in strtof
63749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63750 echo "$as_me:$LINENO: checking for $ac_func" >&5
63751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63752 if eval "test \"\${$as_ac_var+set}\" = set"; then
63753 echo $ECHO_N "(cached) $ECHO_C" >&6
63754 else
63755 if test x$gcc_no_link = xyes; then
63756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63758 { (exit 1); exit 1; }; }
63760 cat >conftest.$ac_ext <<_ACEOF
63761 /* confdefs.h. */
63762 _ACEOF
63763 cat confdefs.h >>conftest.$ac_ext
63764 cat >>conftest.$ac_ext <<_ACEOF
63765 /* end confdefs.h. */
63766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63768 #define $ac_func innocuous_$ac_func
63770 /* System header to define __stub macros and hopefully few prototypes,
63771 which can conflict with char $ac_func (); below.
63772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63773 <limits.h> exists even on freestanding compilers. */
63775 #ifdef __STDC__
63776 # include <limits.h>
63777 #else
63778 # include <assert.h>
63779 #endif
63781 #undef $ac_func
63783 /* Override any gcc2 internal prototype to avoid an error. */
63784 #ifdef __cplusplus
63785 extern "C"
63787 #endif
63788 /* We use char because int might match the return type of a gcc2
63789 builtin and then its argument prototype would still apply. */
63790 char $ac_func ();
63791 /* The GNU C library defines this for functions which it implements
63792 to always fail with ENOSYS. Some functions are actually named
63793 something starting with __ and the normal name is an alias. */
63794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63795 choke me
63796 #else
63797 char (*f) () = $ac_func;
63798 #endif
63799 #ifdef __cplusplus
63801 #endif
63804 main ()
63806 return f != $ac_func;
63808 return 0;
63810 _ACEOF
63811 rm -f conftest.$ac_objext conftest$ac_exeext
63812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63813 (eval $ac_link) 2>conftest.er1
63814 ac_status=$?
63815 grep -v '^ *+' conftest.er1 >conftest.err
63816 rm -f conftest.er1
63817 cat conftest.err >&5
63818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63819 (exit $ac_status); } &&
63820 { ac_try='test -z "$ac_c_werror_flag"
63821 || test ! -s conftest.err'
63822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63823 (eval $ac_try) 2>&5
63824 ac_status=$?
63825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63826 (exit $ac_status); }; } &&
63827 { ac_try='test -s conftest$ac_exeext'
63828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63829 (eval $ac_try) 2>&5
63830 ac_status=$?
63831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63832 (exit $ac_status); }; }; then
63833 eval "$as_ac_var=yes"
63834 else
63835 echo "$as_me: failed program was:" >&5
63836 sed 's/^/| /' conftest.$ac_ext >&5
63838 eval "$as_ac_var=no"
63840 rm -f conftest.err conftest.$ac_objext \
63841 conftest$ac_exeext conftest.$ac_ext
63843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63845 if test `eval echo '${'$as_ac_var'}'` = yes; then
63846 cat >>confdefs.h <<_ACEOF
63847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63848 _ACEOF
63851 done
63859 CXXFLAGS="$ac_save_CXXFLAGS"
63862 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63863 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63864 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63865 echo $ECHO_N "(cached) $ECHO_C" >&6
63866 else
63868 if test x$gcc_no_link = xyes; then
63869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63871 { (exit 1); exit 1; }; }
63873 cat >conftest.$ac_ext <<_ACEOF
63874 /* confdefs.h. */
63875 _ACEOF
63876 cat confdefs.h >>conftest.$ac_ext
63877 cat >>conftest.$ac_ext <<_ACEOF
63878 /* end confdefs.h. */
63879 #include <sys/stat.h>
63881 main ()
63883 struct stat buffer;
63884 fstat(0, &buffer);
63885 S_ISREG(buffer.st_mode);
63887 return 0;
63889 _ACEOF
63890 rm -f conftest.$ac_objext conftest$ac_exeext
63891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63892 (eval $ac_link) 2>conftest.er1
63893 ac_status=$?
63894 grep -v '^ *+' conftest.er1 >conftest.err
63895 rm -f conftest.er1
63896 cat conftest.err >&5
63897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63898 (exit $ac_status); } &&
63899 { ac_try='test -z "$ac_c_werror_flag"
63900 || test ! -s conftest.err'
63901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63902 (eval $ac_try) 2>&5
63903 ac_status=$?
63904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63905 (exit $ac_status); }; } &&
63906 { ac_try='test -s conftest$ac_exeext'
63907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63908 (eval $ac_try) 2>&5
63909 ac_status=$?
63910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63911 (exit $ac_status); }; }; then
63912 glibcxx_cv_S_ISREG=yes
63913 else
63914 echo "$as_me: failed program was:" >&5
63915 sed 's/^/| /' conftest.$ac_ext >&5
63917 glibcxx_cv_S_ISREG=no
63919 rm -f conftest.err conftest.$ac_objext \
63920 conftest$ac_exeext conftest.$ac_ext
63924 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63925 echo $ECHO_N "(cached) $ECHO_C" >&6
63926 else
63928 if test x$gcc_no_link = xyes; then
63929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63931 { (exit 1); exit 1; }; }
63933 cat >conftest.$ac_ext <<_ACEOF
63934 /* confdefs.h. */
63935 _ACEOF
63936 cat confdefs.h >>conftest.$ac_ext
63937 cat >>conftest.$ac_ext <<_ACEOF
63938 /* end confdefs.h. */
63939 #include <sys/stat.h>
63941 main ()
63943 struct stat buffer;
63944 fstat(0, &buffer);
63945 S_IFREG & buffer.st_mode;
63947 return 0;
63949 _ACEOF
63950 rm -f conftest.$ac_objext conftest$ac_exeext
63951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63952 (eval $ac_link) 2>conftest.er1
63953 ac_status=$?
63954 grep -v '^ *+' conftest.er1 >conftest.err
63955 rm -f conftest.er1
63956 cat conftest.err >&5
63957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63958 (exit $ac_status); } &&
63959 { ac_try='test -z "$ac_c_werror_flag"
63960 || test ! -s conftest.err'
63961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63962 (eval $ac_try) 2>&5
63963 ac_status=$?
63964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63965 (exit $ac_status); }; } &&
63966 { ac_try='test -s conftest$ac_exeext'
63967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63968 (eval $ac_try) 2>&5
63969 ac_status=$?
63970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63971 (exit $ac_status); }; }; then
63972 glibcxx_cv_S_IFREG=yes
63973 else
63974 echo "$as_me: failed program was:" >&5
63975 sed 's/^/| /' conftest.$ac_ext >&5
63977 glibcxx_cv_S_IFREG=no
63979 rm -f conftest.err conftest.$ac_objext \
63980 conftest$ac_exeext conftest.$ac_ext
63984 res=no
63985 if test $glibcxx_cv_S_ISREG = yes; then
63987 cat >>confdefs.h <<\_ACEOF
63988 #define HAVE_S_ISREG 1
63989 _ACEOF
63991 res=S_ISREG
63992 elif test $glibcxx_cv_S_IFREG = yes; then
63994 cat >>confdefs.h <<\_ACEOF
63995 #define HAVE_S_IFREG 1
63996 _ACEOF
63998 res=S_IFREG
64000 echo "$as_me:$LINENO: result: $res" >&5
64001 echo "${ECHO_T}$res" >&6
64003 cat >>confdefs.h <<\_ACEOF
64004 #define HAVE_SIGSETJMP 1
64005 _ACEOF
64007 cat >>confdefs.h <<\_ACEOF
64008 #define HAVE_GETPAGESIZE 1
64009 _ACEOF
64011 cat >>confdefs.h <<\_ACEOF
64012 #define HAVE_WRITEV 1
64013 _ACEOF
64015 cat >>confdefs.h <<\_ACEOF
64016 #define HAVE_INT64_T 1
64017 _ACEOF
64020 cat >>confdefs.h <<\_ACEOF
64021 #define HAVE_LIBM 1
64022 _ACEOF
64024 cat >>confdefs.h <<\_ACEOF
64025 #define HAVE_COPYSIGN 1
64026 _ACEOF
64028 cat >>confdefs.h <<\_ACEOF
64029 #define HAVE_FINITE 1
64030 _ACEOF
64032 cat >>confdefs.h <<\_ACEOF
64033 #define HAVE_HYPOT 1
64034 _ACEOF
64036 cat >>confdefs.h <<\_ACEOF
64037 #define HAVE_ISNAN 1
64038 _ACEOF
64040 cat >>confdefs.h <<\_ACEOF
64041 #define HAVE_ISINF 1
64042 _ACEOF
64045 cat >>confdefs.h <<\_ACEOF
64046 #define HAVE_LDEXPF 1
64047 _ACEOF
64049 cat >>confdefs.h <<\_ACEOF
64050 #define HAVE_MODF 1
64051 _ACEOF
64053 cat >>confdefs.h <<\_ACEOF
64054 #define HAVE_SQRTF 1
64055 _ACEOF
64059 *-darwin*)
64060 # Darwin versions vary, but the linker should work in a cross environment,
64061 # so we just check for all the features here.
64062 # Check for available headers.
64076 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64077 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
64078 sys/types.h
64080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64082 echo "$as_me:$LINENO: checking for $ac_header" >&5
64083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64085 echo $ECHO_N "(cached) $ECHO_C" >&6
64087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64089 else
64090 # Is the header compilable?
64091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64093 cat >conftest.$ac_ext <<_ACEOF
64094 /* confdefs.h. */
64095 _ACEOF
64096 cat confdefs.h >>conftest.$ac_ext
64097 cat >>conftest.$ac_ext <<_ACEOF
64098 /* end confdefs.h. */
64099 $ac_includes_default
64100 #include <$ac_header>
64101 _ACEOF
64102 rm -f conftest.$ac_objext
64103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64104 (eval $ac_compile) 2>conftest.er1
64105 ac_status=$?
64106 grep -v '^ *+' conftest.er1 >conftest.err
64107 rm -f conftest.er1
64108 cat conftest.err >&5
64109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64110 (exit $ac_status); } &&
64111 { ac_try='test -z "$ac_c_werror_flag"
64112 || test ! -s conftest.err'
64113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64114 (eval $ac_try) 2>&5
64115 ac_status=$?
64116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64117 (exit $ac_status); }; } &&
64118 { ac_try='test -s conftest.$ac_objext'
64119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64120 (eval $ac_try) 2>&5
64121 ac_status=$?
64122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64123 (exit $ac_status); }; }; then
64124 ac_header_compiler=yes
64125 else
64126 echo "$as_me: failed program was:" >&5
64127 sed 's/^/| /' conftest.$ac_ext >&5
64129 ac_header_compiler=no
64131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64133 echo "${ECHO_T}$ac_header_compiler" >&6
64135 # Is the header present?
64136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64138 cat >conftest.$ac_ext <<_ACEOF
64139 /* confdefs.h. */
64140 _ACEOF
64141 cat confdefs.h >>conftest.$ac_ext
64142 cat >>conftest.$ac_ext <<_ACEOF
64143 /* end confdefs.h. */
64144 #include <$ac_header>
64145 _ACEOF
64146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64148 ac_status=$?
64149 grep -v '^ *+' conftest.er1 >conftest.err
64150 rm -f conftest.er1
64151 cat conftest.err >&5
64152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64153 (exit $ac_status); } >/dev/null; then
64154 if test -s conftest.err; then
64155 ac_cpp_err=$ac_c_preproc_warn_flag
64156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64157 else
64158 ac_cpp_err=
64160 else
64161 ac_cpp_err=yes
64163 if test -z "$ac_cpp_err"; then
64164 ac_header_preproc=yes
64165 else
64166 echo "$as_me: failed program was:" >&5
64167 sed 's/^/| /' conftest.$ac_ext >&5
64169 ac_header_preproc=no
64171 rm -f conftest.err conftest.$ac_ext
64172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64173 echo "${ECHO_T}$ac_header_preproc" >&6
64175 # So? What about this header?
64176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64177 yes:no: )
64178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64182 ac_header_preproc=yes
64184 no:yes:* )
64185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64198 cat <<\_ASBOX
64199 ## ----------------------------------------- ##
64200 ## Report this to the package-unused lists. ##
64201 ## ----------------------------------------- ##
64202 _ASBOX
64204 sed "s/^/$as_me: WARNING: /" >&2
64206 esac
64207 echo "$as_me:$LINENO: checking for $ac_header" >&5
64208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64210 echo $ECHO_N "(cached) $ECHO_C" >&6
64211 else
64212 eval "$as_ac_Header=\$ac_header_preproc"
64214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64219 cat >>confdefs.h <<_ACEOF
64220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64221 _ACEOF
64225 done
64228 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64231 ac_save_CXXFLAGS="$CXXFLAGS"
64232 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64234 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64235 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64236 if test "${ac_cv_lib_m_sin+set}" = set; then
64237 echo $ECHO_N "(cached) $ECHO_C" >&6
64238 else
64239 ac_check_lib_save_LIBS=$LIBS
64240 LIBS="-lm $LIBS"
64241 if test x$gcc_no_link = xyes; then
64242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64244 { (exit 1); exit 1; }; }
64246 cat >conftest.$ac_ext <<_ACEOF
64247 /* confdefs.h. */
64248 _ACEOF
64249 cat confdefs.h >>conftest.$ac_ext
64250 cat >>conftest.$ac_ext <<_ACEOF
64251 /* end confdefs.h. */
64253 /* Override any gcc2 internal prototype to avoid an error. */
64254 #ifdef __cplusplus
64255 extern "C"
64256 #endif
64257 /* We use char because int might match the return type of a gcc2
64258 builtin and then its argument prototype would still apply. */
64259 char sin ();
64261 main ()
64263 sin ();
64265 return 0;
64267 _ACEOF
64268 rm -f conftest.$ac_objext conftest$ac_exeext
64269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64270 (eval $ac_link) 2>conftest.er1
64271 ac_status=$?
64272 grep -v '^ *+' conftest.er1 >conftest.err
64273 rm -f conftest.er1
64274 cat conftest.err >&5
64275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64276 (exit $ac_status); } &&
64277 { ac_try='test -z "$ac_c_werror_flag"
64278 || test ! -s conftest.err'
64279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64280 (eval $ac_try) 2>&5
64281 ac_status=$?
64282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64283 (exit $ac_status); }; } &&
64284 { ac_try='test -s conftest$ac_exeext'
64285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64286 (eval $ac_try) 2>&5
64287 ac_status=$?
64288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64289 (exit $ac_status); }; }; then
64290 ac_cv_lib_m_sin=yes
64291 else
64292 echo "$as_me: failed program was:" >&5
64293 sed 's/^/| /' conftest.$ac_ext >&5
64295 ac_cv_lib_m_sin=no
64297 rm -f conftest.err conftest.$ac_objext \
64298 conftest$ac_exeext conftest.$ac_ext
64299 LIBS=$ac_check_lib_save_LIBS
64301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64302 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64303 if test $ac_cv_lib_m_sin = yes; then
64304 libm="-lm"
64307 ac_save_LIBS="$LIBS"
64308 LIBS="$LIBS $libm"
64312 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64313 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64314 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64315 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64316 echo $ECHO_N "(cached) $ECHO_C" >&6
64317 else
64321 ac_ext=cc
64322 ac_cpp='$CXXCPP $CPPFLAGS'
64323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64327 cat >conftest.$ac_ext <<_ACEOF
64328 /* confdefs.h. */
64329 _ACEOF
64330 cat confdefs.h >>conftest.$ac_ext
64331 cat >>conftest.$ac_ext <<_ACEOF
64332 /* end confdefs.h. */
64333 #include <math.h>
64334 #ifdef HAVE_IEEEFP_H
64335 #include <ieeefp.h>
64336 #endif
64339 main ()
64341 isinf(0);
64343 return 0;
64345 _ACEOF
64346 rm -f conftest.$ac_objext
64347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64348 (eval $ac_compile) 2>conftest.er1
64349 ac_status=$?
64350 grep -v '^ *+' conftest.er1 >conftest.err
64351 rm -f conftest.er1
64352 cat conftest.err >&5
64353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354 (exit $ac_status); } &&
64355 { ac_try='test -z "$ac_cxx_werror_flag"
64356 || test ! -s conftest.err'
64357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64358 (eval $ac_try) 2>&5
64359 ac_status=$?
64360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64361 (exit $ac_status); }; } &&
64362 { ac_try='test -s conftest.$ac_objext'
64363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64364 (eval $ac_try) 2>&5
64365 ac_status=$?
64366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64367 (exit $ac_status); }; }; then
64368 glibcxx_cv_func_isinf_use=yes
64369 else
64370 echo "$as_me: failed program was:" >&5
64371 sed 's/^/| /' conftest.$ac_ext >&5
64373 glibcxx_cv_func_isinf_use=no
64375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64376 ac_ext=c
64377 ac_cpp='$CPP $CPPFLAGS'
64378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64387 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64389 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64391 for ac_func in isinf
64393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64394 echo "$as_me:$LINENO: checking for $ac_func" >&5
64395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64396 if eval "test \"\${$as_ac_var+set}\" = set"; then
64397 echo $ECHO_N "(cached) $ECHO_C" >&6
64398 else
64399 if test x$gcc_no_link = xyes; then
64400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64402 { (exit 1); exit 1; }; }
64404 cat >conftest.$ac_ext <<_ACEOF
64405 /* confdefs.h. */
64406 _ACEOF
64407 cat confdefs.h >>conftest.$ac_ext
64408 cat >>conftest.$ac_ext <<_ACEOF
64409 /* end confdefs.h. */
64410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64412 #define $ac_func innocuous_$ac_func
64414 /* System header to define __stub macros and hopefully few prototypes,
64415 which can conflict with char $ac_func (); below.
64416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64417 <limits.h> exists even on freestanding compilers. */
64419 #ifdef __STDC__
64420 # include <limits.h>
64421 #else
64422 # include <assert.h>
64423 #endif
64425 #undef $ac_func
64427 /* Override any gcc2 internal prototype to avoid an error. */
64428 #ifdef __cplusplus
64429 extern "C"
64431 #endif
64432 /* We use char because int might match the return type of a gcc2
64433 builtin and then its argument prototype would still apply. */
64434 char $ac_func ();
64435 /* The GNU C library defines this for functions which it implements
64436 to always fail with ENOSYS. Some functions are actually named
64437 something starting with __ and the normal name is an alias. */
64438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64439 choke me
64440 #else
64441 char (*f) () = $ac_func;
64442 #endif
64443 #ifdef __cplusplus
64445 #endif
64448 main ()
64450 return f != $ac_func;
64452 return 0;
64454 _ACEOF
64455 rm -f conftest.$ac_objext conftest$ac_exeext
64456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64457 (eval $ac_link) 2>conftest.er1
64458 ac_status=$?
64459 grep -v '^ *+' conftest.er1 >conftest.err
64460 rm -f conftest.er1
64461 cat conftest.err >&5
64462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64463 (exit $ac_status); } &&
64464 { ac_try='test -z "$ac_c_werror_flag"
64465 || test ! -s conftest.err'
64466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64467 (eval $ac_try) 2>&5
64468 ac_status=$?
64469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470 (exit $ac_status); }; } &&
64471 { ac_try='test -s conftest$ac_exeext'
64472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64473 (eval $ac_try) 2>&5
64474 ac_status=$?
64475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64476 (exit $ac_status); }; }; then
64477 eval "$as_ac_var=yes"
64478 else
64479 echo "$as_me: failed program was:" >&5
64480 sed 's/^/| /' conftest.$ac_ext >&5
64482 eval "$as_ac_var=no"
64484 rm -f conftest.err conftest.$ac_objext \
64485 conftest$ac_exeext conftest.$ac_ext
64487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64489 if test `eval echo '${'$as_ac_var'}'` = yes; then
64490 cat >>confdefs.h <<_ACEOF
64491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64492 _ACEOF
64495 done
64497 else
64499 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64500 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64501 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64502 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64503 echo $ECHO_N "(cached) $ECHO_C" >&6
64504 else
64508 ac_ext=cc
64509 ac_cpp='$CXXCPP $CPPFLAGS'
64510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64514 cat >conftest.$ac_ext <<_ACEOF
64515 /* confdefs.h. */
64516 _ACEOF
64517 cat confdefs.h >>conftest.$ac_ext
64518 cat >>conftest.$ac_ext <<_ACEOF
64519 /* end confdefs.h. */
64520 #include <math.h>
64521 #ifdef HAVE_IEEEFP_H
64522 #include <ieeefp.h>
64523 #endif
64526 main ()
64528 _isinf(0);
64530 return 0;
64532 _ACEOF
64533 rm -f conftest.$ac_objext
64534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64535 (eval $ac_compile) 2>conftest.er1
64536 ac_status=$?
64537 grep -v '^ *+' conftest.er1 >conftest.err
64538 rm -f conftest.er1
64539 cat conftest.err >&5
64540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64541 (exit $ac_status); } &&
64542 { ac_try='test -z "$ac_cxx_werror_flag"
64543 || test ! -s conftest.err'
64544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64545 (eval $ac_try) 2>&5
64546 ac_status=$?
64547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548 (exit $ac_status); }; } &&
64549 { ac_try='test -s conftest.$ac_objext'
64550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64551 (eval $ac_try) 2>&5
64552 ac_status=$?
64553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554 (exit $ac_status); }; }; then
64555 glibcxx_cv_func__isinf_use=yes
64556 else
64557 echo "$as_me: failed program was:" >&5
64558 sed 's/^/| /' conftest.$ac_ext >&5
64560 glibcxx_cv_func__isinf_use=no
64562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64563 ac_ext=c
64564 ac_cpp='$CPP $CPPFLAGS'
64565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64574 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64576 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64578 for ac_func in _isinf
64580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64581 echo "$as_me:$LINENO: checking for $ac_func" >&5
64582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64583 if eval "test \"\${$as_ac_var+set}\" = set"; then
64584 echo $ECHO_N "(cached) $ECHO_C" >&6
64585 else
64586 if test x$gcc_no_link = xyes; then
64587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64589 { (exit 1); exit 1; }; }
64591 cat >conftest.$ac_ext <<_ACEOF
64592 /* confdefs.h. */
64593 _ACEOF
64594 cat confdefs.h >>conftest.$ac_ext
64595 cat >>conftest.$ac_ext <<_ACEOF
64596 /* end confdefs.h. */
64597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64599 #define $ac_func innocuous_$ac_func
64601 /* System header to define __stub macros and hopefully few prototypes,
64602 which can conflict with char $ac_func (); below.
64603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64604 <limits.h> exists even on freestanding compilers. */
64606 #ifdef __STDC__
64607 # include <limits.h>
64608 #else
64609 # include <assert.h>
64610 #endif
64612 #undef $ac_func
64614 /* Override any gcc2 internal prototype to avoid an error. */
64615 #ifdef __cplusplus
64616 extern "C"
64618 #endif
64619 /* We use char because int might match the return type of a gcc2
64620 builtin and then its argument prototype would still apply. */
64621 char $ac_func ();
64622 /* The GNU C library defines this for functions which it implements
64623 to always fail with ENOSYS. Some functions are actually named
64624 something starting with __ and the normal name is an alias. */
64625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64626 choke me
64627 #else
64628 char (*f) () = $ac_func;
64629 #endif
64630 #ifdef __cplusplus
64632 #endif
64635 main ()
64637 return f != $ac_func;
64639 return 0;
64641 _ACEOF
64642 rm -f conftest.$ac_objext conftest$ac_exeext
64643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64644 (eval $ac_link) 2>conftest.er1
64645 ac_status=$?
64646 grep -v '^ *+' conftest.er1 >conftest.err
64647 rm -f conftest.er1
64648 cat conftest.err >&5
64649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64650 (exit $ac_status); } &&
64651 { ac_try='test -z "$ac_c_werror_flag"
64652 || test ! -s conftest.err'
64653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64654 (eval $ac_try) 2>&5
64655 ac_status=$?
64656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64657 (exit $ac_status); }; } &&
64658 { ac_try='test -s conftest$ac_exeext'
64659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64660 (eval $ac_try) 2>&5
64661 ac_status=$?
64662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64663 (exit $ac_status); }; }; then
64664 eval "$as_ac_var=yes"
64665 else
64666 echo "$as_me: failed program was:" >&5
64667 sed 's/^/| /' conftest.$ac_ext >&5
64669 eval "$as_ac_var=no"
64671 rm -f conftest.err conftest.$ac_objext \
64672 conftest$ac_exeext conftest.$ac_ext
64674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64676 if test `eval echo '${'$as_ac_var'}'` = yes; then
64677 cat >>confdefs.h <<_ACEOF
64678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64679 _ACEOF
64682 done
64692 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64693 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64694 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64695 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64696 echo $ECHO_N "(cached) $ECHO_C" >&6
64697 else
64701 ac_ext=cc
64702 ac_cpp='$CXXCPP $CPPFLAGS'
64703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64707 cat >conftest.$ac_ext <<_ACEOF
64708 /* confdefs.h. */
64709 _ACEOF
64710 cat confdefs.h >>conftest.$ac_ext
64711 cat >>conftest.$ac_ext <<_ACEOF
64712 /* end confdefs.h. */
64713 #include <math.h>
64714 #ifdef HAVE_IEEEFP_H
64715 #include <ieeefp.h>
64716 #endif
64719 main ()
64721 isnan(0);
64723 return 0;
64725 _ACEOF
64726 rm -f conftest.$ac_objext
64727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64728 (eval $ac_compile) 2>conftest.er1
64729 ac_status=$?
64730 grep -v '^ *+' conftest.er1 >conftest.err
64731 rm -f conftest.er1
64732 cat conftest.err >&5
64733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734 (exit $ac_status); } &&
64735 { ac_try='test -z "$ac_cxx_werror_flag"
64736 || test ! -s conftest.err'
64737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64738 (eval $ac_try) 2>&5
64739 ac_status=$?
64740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64741 (exit $ac_status); }; } &&
64742 { ac_try='test -s conftest.$ac_objext'
64743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64744 (eval $ac_try) 2>&5
64745 ac_status=$?
64746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64747 (exit $ac_status); }; }; then
64748 glibcxx_cv_func_isnan_use=yes
64749 else
64750 echo "$as_me: failed program was:" >&5
64751 sed 's/^/| /' conftest.$ac_ext >&5
64753 glibcxx_cv_func_isnan_use=no
64755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64756 ac_ext=c
64757 ac_cpp='$CPP $CPPFLAGS'
64758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64767 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64769 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64771 for ac_func in isnan
64773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64774 echo "$as_me:$LINENO: checking for $ac_func" >&5
64775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64776 if eval "test \"\${$as_ac_var+set}\" = set"; then
64777 echo $ECHO_N "(cached) $ECHO_C" >&6
64778 else
64779 if test x$gcc_no_link = xyes; then
64780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64782 { (exit 1); exit 1; }; }
64784 cat >conftest.$ac_ext <<_ACEOF
64785 /* confdefs.h. */
64786 _ACEOF
64787 cat confdefs.h >>conftest.$ac_ext
64788 cat >>conftest.$ac_ext <<_ACEOF
64789 /* end confdefs.h. */
64790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64792 #define $ac_func innocuous_$ac_func
64794 /* System header to define __stub macros and hopefully few prototypes,
64795 which can conflict with char $ac_func (); below.
64796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64797 <limits.h> exists even on freestanding compilers. */
64799 #ifdef __STDC__
64800 # include <limits.h>
64801 #else
64802 # include <assert.h>
64803 #endif
64805 #undef $ac_func
64807 /* Override any gcc2 internal prototype to avoid an error. */
64808 #ifdef __cplusplus
64809 extern "C"
64811 #endif
64812 /* We use char because int might match the return type of a gcc2
64813 builtin and then its argument prototype would still apply. */
64814 char $ac_func ();
64815 /* The GNU C library defines this for functions which it implements
64816 to always fail with ENOSYS. Some functions are actually named
64817 something starting with __ and the normal name is an alias. */
64818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64819 choke me
64820 #else
64821 char (*f) () = $ac_func;
64822 #endif
64823 #ifdef __cplusplus
64825 #endif
64828 main ()
64830 return f != $ac_func;
64832 return 0;
64834 _ACEOF
64835 rm -f conftest.$ac_objext conftest$ac_exeext
64836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64837 (eval $ac_link) 2>conftest.er1
64838 ac_status=$?
64839 grep -v '^ *+' conftest.er1 >conftest.err
64840 rm -f conftest.er1
64841 cat conftest.err >&5
64842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64843 (exit $ac_status); } &&
64844 { ac_try='test -z "$ac_c_werror_flag"
64845 || test ! -s conftest.err'
64846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64847 (eval $ac_try) 2>&5
64848 ac_status=$?
64849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64850 (exit $ac_status); }; } &&
64851 { ac_try='test -s conftest$ac_exeext'
64852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64853 (eval $ac_try) 2>&5
64854 ac_status=$?
64855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64856 (exit $ac_status); }; }; then
64857 eval "$as_ac_var=yes"
64858 else
64859 echo "$as_me: failed program was:" >&5
64860 sed 's/^/| /' conftest.$ac_ext >&5
64862 eval "$as_ac_var=no"
64864 rm -f conftest.err conftest.$ac_objext \
64865 conftest$ac_exeext conftest.$ac_ext
64867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64869 if test `eval echo '${'$as_ac_var'}'` = yes; then
64870 cat >>confdefs.h <<_ACEOF
64871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64872 _ACEOF
64875 done
64877 else
64879 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64880 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64881 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64882 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64883 echo $ECHO_N "(cached) $ECHO_C" >&6
64884 else
64888 ac_ext=cc
64889 ac_cpp='$CXXCPP $CPPFLAGS'
64890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64894 cat >conftest.$ac_ext <<_ACEOF
64895 /* confdefs.h. */
64896 _ACEOF
64897 cat confdefs.h >>conftest.$ac_ext
64898 cat >>conftest.$ac_ext <<_ACEOF
64899 /* end confdefs.h. */
64900 #include <math.h>
64901 #ifdef HAVE_IEEEFP_H
64902 #include <ieeefp.h>
64903 #endif
64906 main ()
64908 _isnan(0);
64910 return 0;
64912 _ACEOF
64913 rm -f conftest.$ac_objext
64914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64915 (eval $ac_compile) 2>conftest.er1
64916 ac_status=$?
64917 grep -v '^ *+' conftest.er1 >conftest.err
64918 rm -f conftest.er1
64919 cat conftest.err >&5
64920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64921 (exit $ac_status); } &&
64922 { ac_try='test -z "$ac_cxx_werror_flag"
64923 || test ! -s conftest.err'
64924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64925 (eval $ac_try) 2>&5
64926 ac_status=$?
64927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64928 (exit $ac_status); }; } &&
64929 { ac_try='test -s conftest.$ac_objext'
64930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64931 (eval $ac_try) 2>&5
64932 ac_status=$?
64933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64934 (exit $ac_status); }; }; then
64935 glibcxx_cv_func__isnan_use=yes
64936 else
64937 echo "$as_me: failed program was:" >&5
64938 sed 's/^/| /' conftest.$ac_ext >&5
64940 glibcxx_cv_func__isnan_use=no
64942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64943 ac_ext=c
64944 ac_cpp='$CPP $CPPFLAGS'
64945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64954 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64956 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64958 for ac_func in _isnan
64960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64961 echo "$as_me:$LINENO: checking for $ac_func" >&5
64962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64963 if eval "test \"\${$as_ac_var+set}\" = set"; then
64964 echo $ECHO_N "(cached) $ECHO_C" >&6
64965 else
64966 if test x$gcc_no_link = xyes; then
64967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64969 { (exit 1); exit 1; }; }
64971 cat >conftest.$ac_ext <<_ACEOF
64972 /* confdefs.h. */
64973 _ACEOF
64974 cat confdefs.h >>conftest.$ac_ext
64975 cat >>conftest.$ac_ext <<_ACEOF
64976 /* end confdefs.h. */
64977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64979 #define $ac_func innocuous_$ac_func
64981 /* System header to define __stub macros and hopefully few prototypes,
64982 which can conflict with char $ac_func (); below.
64983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64984 <limits.h> exists even on freestanding compilers. */
64986 #ifdef __STDC__
64987 # include <limits.h>
64988 #else
64989 # include <assert.h>
64990 #endif
64992 #undef $ac_func
64994 /* Override any gcc2 internal prototype to avoid an error. */
64995 #ifdef __cplusplus
64996 extern "C"
64998 #endif
64999 /* We use char because int might match the return type of a gcc2
65000 builtin and then its argument prototype would still apply. */
65001 char $ac_func ();
65002 /* The GNU C library defines this for functions which it implements
65003 to always fail with ENOSYS. Some functions are actually named
65004 something starting with __ and the normal name is an alias. */
65005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65006 choke me
65007 #else
65008 char (*f) () = $ac_func;
65009 #endif
65010 #ifdef __cplusplus
65012 #endif
65015 main ()
65017 return f != $ac_func;
65019 return 0;
65021 _ACEOF
65022 rm -f conftest.$ac_objext conftest$ac_exeext
65023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65024 (eval $ac_link) 2>conftest.er1
65025 ac_status=$?
65026 grep -v '^ *+' conftest.er1 >conftest.err
65027 rm -f conftest.er1
65028 cat conftest.err >&5
65029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65030 (exit $ac_status); } &&
65031 { ac_try='test -z "$ac_c_werror_flag"
65032 || test ! -s conftest.err'
65033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65034 (eval $ac_try) 2>&5
65035 ac_status=$?
65036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65037 (exit $ac_status); }; } &&
65038 { ac_try='test -s conftest$ac_exeext'
65039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65040 (eval $ac_try) 2>&5
65041 ac_status=$?
65042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65043 (exit $ac_status); }; }; then
65044 eval "$as_ac_var=yes"
65045 else
65046 echo "$as_me: failed program was:" >&5
65047 sed 's/^/| /' conftest.$ac_ext >&5
65049 eval "$as_ac_var=no"
65051 rm -f conftest.err conftest.$ac_objext \
65052 conftest$ac_exeext conftest.$ac_ext
65054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65056 if test `eval echo '${'$as_ac_var'}'` = yes; then
65057 cat >>confdefs.h <<_ACEOF
65058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65059 _ACEOF
65062 done
65072 echo "$as_me:$LINENO: checking for finite declaration" >&5
65073 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65074 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65075 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65076 echo $ECHO_N "(cached) $ECHO_C" >&6
65077 else
65081 ac_ext=cc
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65087 cat >conftest.$ac_ext <<_ACEOF
65088 /* confdefs.h. */
65089 _ACEOF
65090 cat confdefs.h >>conftest.$ac_ext
65091 cat >>conftest.$ac_ext <<_ACEOF
65092 /* end confdefs.h. */
65093 #include <math.h>
65094 #ifdef HAVE_IEEEFP_H
65095 #include <ieeefp.h>
65096 #endif
65099 main ()
65101 finite(0);
65103 return 0;
65105 _ACEOF
65106 rm -f conftest.$ac_objext
65107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65108 (eval $ac_compile) 2>conftest.er1
65109 ac_status=$?
65110 grep -v '^ *+' conftest.er1 >conftest.err
65111 rm -f conftest.er1
65112 cat conftest.err >&5
65113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65114 (exit $ac_status); } &&
65115 { ac_try='test -z "$ac_cxx_werror_flag"
65116 || test ! -s conftest.err'
65117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65118 (eval $ac_try) 2>&5
65119 ac_status=$?
65120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65121 (exit $ac_status); }; } &&
65122 { ac_try='test -s conftest.$ac_objext'
65123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65124 (eval $ac_try) 2>&5
65125 ac_status=$?
65126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65127 (exit $ac_status); }; }; then
65128 glibcxx_cv_func_finite_use=yes
65129 else
65130 echo "$as_me: failed program was:" >&5
65131 sed 's/^/| /' conftest.$ac_ext >&5
65133 glibcxx_cv_func_finite_use=no
65135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65136 ac_ext=c
65137 ac_cpp='$CPP $CPPFLAGS'
65138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65147 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65149 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65151 for ac_func in finite
65153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65154 echo "$as_me:$LINENO: checking for $ac_func" >&5
65155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65156 if eval "test \"\${$as_ac_var+set}\" = set"; then
65157 echo $ECHO_N "(cached) $ECHO_C" >&6
65158 else
65159 if test x$gcc_no_link = xyes; then
65160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65162 { (exit 1); exit 1; }; }
65164 cat >conftest.$ac_ext <<_ACEOF
65165 /* confdefs.h. */
65166 _ACEOF
65167 cat confdefs.h >>conftest.$ac_ext
65168 cat >>conftest.$ac_ext <<_ACEOF
65169 /* end confdefs.h. */
65170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65172 #define $ac_func innocuous_$ac_func
65174 /* System header to define __stub macros and hopefully few prototypes,
65175 which can conflict with char $ac_func (); below.
65176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65177 <limits.h> exists even on freestanding compilers. */
65179 #ifdef __STDC__
65180 # include <limits.h>
65181 #else
65182 # include <assert.h>
65183 #endif
65185 #undef $ac_func
65187 /* Override any gcc2 internal prototype to avoid an error. */
65188 #ifdef __cplusplus
65189 extern "C"
65191 #endif
65192 /* We use char because int might match the return type of a gcc2
65193 builtin and then its argument prototype would still apply. */
65194 char $ac_func ();
65195 /* The GNU C library defines this for functions which it implements
65196 to always fail with ENOSYS. Some functions are actually named
65197 something starting with __ and the normal name is an alias. */
65198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65199 choke me
65200 #else
65201 char (*f) () = $ac_func;
65202 #endif
65203 #ifdef __cplusplus
65205 #endif
65208 main ()
65210 return f != $ac_func;
65212 return 0;
65214 _ACEOF
65215 rm -f conftest.$ac_objext conftest$ac_exeext
65216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65217 (eval $ac_link) 2>conftest.er1
65218 ac_status=$?
65219 grep -v '^ *+' conftest.er1 >conftest.err
65220 rm -f conftest.er1
65221 cat conftest.err >&5
65222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65223 (exit $ac_status); } &&
65224 { ac_try='test -z "$ac_c_werror_flag"
65225 || test ! -s conftest.err'
65226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65227 (eval $ac_try) 2>&5
65228 ac_status=$?
65229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65230 (exit $ac_status); }; } &&
65231 { ac_try='test -s conftest$ac_exeext'
65232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65233 (eval $ac_try) 2>&5
65234 ac_status=$?
65235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65236 (exit $ac_status); }; }; then
65237 eval "$as_ac_var=yes"
65238 else
65239 echo "$as_me: failed program was:" >&5
65240 sed 's/^/| /' conftest.$ac_ext >&5
65242 eval "$as_ac_var=no"
65244 rm -f conftest.err conftest.$ac_objext \
65245 conftest$ac_exeext conftest.$ac_ext
65247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65249 if test `eval echo '${'$as_ac_var'}'` = yes; then
65250 cat >>confdefs.h <<_ACEOF
65251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65252 _ACEOF
65255 done
65257 else
65259 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65260 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65261 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65262 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65263 echo $ECHO_N "(cached) $ECHO_C" >&6
65264 else
65268 ac_ext=cc
65269 ac_cpp='$CXXCPP $CPPFLAGS'
65270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65274 cat >conftest.$ac_ext <<_ACEOF
65275 /* confdefs.h. */
65276 _ACEOF
65277 cat confdefs.h >>conftest.$ac_ext
65278 cat >>conftest.$ac_ext <<_ACEOF
65279 /* end confdefs.h. */
65280 #include <math.h>
65281 #ifdef HAVE_IEEEFP_H
65282 #include <ieeefp.h>
65283 #endif
65286 main ()
65288 _finite(0);
65290 return 0;
65292 _ACEOF
65293 rm -f conftest.$ac_objext
65294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65295 (eval $ac_compile) 2>conftest.er1
65296 ac_status=$?
65297 grep -v '^ *+' conftest.er1 >conftest.err
65298 rm -f conftest.er1
65299 cat conftest.err >&5
65300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65301 (exit $ac_status); } &&
65302 { ac_try='test -z "$ac_cxx_werror_flag"
65303 || test ! -s conftest.err'
65304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65305 (eval $ac_try) 2>&5
65306 ac_status=$?
65307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65308 (exit $ac_status); }; } &&
65309 { ac_try='test -s conftest.$ac_objext'
65310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65311 (eval $ac_try) 2>&5
65312 ac_status=$?
65313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65314 (exit $ac_status); }; }; then
65315 glibcxx_cv_func__finite_use=yes
65316 else
65317 echo "$as_me: failed program was:" >&5
65318 sed 's/^/| /' conftest.$ac_ext >&5
65320 glibcxx_cv_func__finite_use=no
65322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65323 ac_ext=c
65324 ac_cpp='$CPP $CPPFLAGS'
65325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65334 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65336 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65338 for ac_func in _finite
65340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65341 echo "$as_me:$LINENO: checking for $ac_func" >&5
65342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65343 if eval "test \"\${$as_ac_var+set}\" = set"; then
65344 echo $ECHO_N "(cached) $ECHO_C" >&6
65345 else
65346 if test x$gcc_no_link = xyes; then
65347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65349 { (exit 1); exit 1; }; }
65351 cat >conftest.$ac_ext <<_ACEOF
65352 /* confdefs.h. */
65353 _ACEOF
65354 cat confdefs.h >>conftest.$ac_ext
65355 cat >>conftest.$ac_ext <<_ACEOF
65356 /* end confdefs.h. */
65357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65359 #define $ac_func innocuous_$ac_func
65361 /* System header to define __stub macros and hopefully few prototypes,
65362 which can conflict with char $ac_func (); below.
65363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65364 <limits.h> exists even on freestanding compilers. */
65366 #ifdef __STDC__
65367 # include <limits.h>
65368 #else
65369 # include <assert.h>
65370 #endif
65372 #undef $ac_func
65374 /* Override any gcc2 internal prototype to avoid an error. */
65375 #ifdef __cplusplus
65376 extern "C"
65378 #endif
65379 /* We use char because int might match the return type of a gcc2
65380 builtin and then its argument prototype would still apply. */
65381 char $ac_func ();
65382 /* The GNU C library defines this for functions which it implements
65383 to always fail with ENOSYS. Some functions are actually named
65384 something starting with __ and the normal name is an alias. */
65385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65386 choke me
65387 #else
65388 char (*f) () = $ac_func;
65389 #endif
65390 #ifdef __cplusplus
65392 #endif
65395 main ()
65397 return f != $ac_func;
65399 return 0;
65401 _ACEOF
65402 rm -f conftest.$ac_objext conftest$ac_exeext
65403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65404 (eval $ac_link) 2>conftest.er1
65405 ac_status=$?
65406 grep -v '^ *+' conftest.er1 >conftest.err
65407 rm -f conftest.er1
65408 cat conftest.err >&5
65409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65410 (exit $ac_status); } &&
65411 { ac_try='test -z "$ac_c_werror_flag"
65412 || test ! -s conftest.err'
65413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65414 (eval $ac_try) 2>&5
65415 ac_status=$?
65416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65417 (exit $ac_status); }; } &&
65418 { ac_try='test -s conftest$ac_exeext'
65419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65420 (eval $ac_try) 2>&5
65421 ac_status=$?
65422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65423 (exit $ac_status); }; }; then
65424 eval "$as_ac_var=yes"
65425 else
65426 echo "$as_me: failed program was:" >&5
65427 sed 's/^/| /' conftest.$ac_ext >&5
65429 eval "$as_ac_var=no"
65431 rm -f conftest.err conftest.$ac_objext \
65432 conftest$ac_exeext conftest.$ac_ext
65434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65436 if test `eval echo '${'$as_ac_var'}'` = yes; then
65437 cat >>confdefs.h <<_ACEOF
65438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65439 _ACEOF
65442 done
65452 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65453 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65454 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65455 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65456 echo $ECHO_N "(cached) $ECHO_C" >&6
65457 else
65461 ac_ext=cc
65462 ac_cpp='$CXXCPP $CPPFLAGS'
65463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65467 cat >conftest.$ac_ext <<_ACEOF
65468 /* confdefs.h. */
65469 _ACEOF
65470 cat confdefs.h >>conftest.$ac_ext
65471 cat >>conftest.$ac_ext <<_ACEOF
65472 /* end confdefs.h. */
65473 #include <math.h>
65475 main ()
65477 copysign(0, 0);
65479 return 0;
65481 _ACEOF
65482 rm -f conftest.$ac_objext
65483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65484 (eval $ac_compile) 2>conftest.er1
65485 ac_status=$?
65486 grep -v '^ *+' conftest.er1 >conftest.err
65487 rm -f conftest.er1
65488 cat conftest.err >&5
65489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65490 (exit $ac_status); } &&
65491 { ac_try='test -z "$ac_cxx_werror_flag"
65492 || test ! -s conftest.err'
65493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65494 (eval $ac_try) 2>&5
65495 ac_status=$?
65496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65497 (exit $ac_status); }; } &&
65498 { ac_try='test -s conftest.$ac_objext'
65499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65500 (eval $ac_try) 2>&5
65501 ac_status=$?
65502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65503 (exit $ac_status); }; }; then
65504 glibcxx_cv_func_copysign_use=yes
65505 else
65506 echo "$as_me: failed program was:" >&5
65507 sed 's/^/| /' conftest.$ac_ext >&5
65509 glibcxx_cv_func_copysign_use=no
65511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65512 ac_ext=c
65513 ac_cpp='$CPP $CPPFLAGS'
65514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65523 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65525 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65527 for ac_func in copysign
65529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65530 echo "$as_me:$LINENO: checking for $ac_func" >&5
65531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65532 if eval "test \"\${$as_ac_var+set}\" = set"; then
65533 echo $ECHO_N "(cached) $ECHO_C" >&6
65534 else
65535 if test x$gcc_no_link = xyes; then
65536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65538 { (exit 1); exit 1; }; }
65540 cat >conftest.$ac_ext <<_ACEOF
65541 /* confdefs.h. */
65542 _ACEOF
65543 cat confdefs.h >>conftest.$ac_ext
65544 cat >>conftest.$ac_ext <<_ACEOF
65545 /* end confdefs.h. */
65546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65548 #define $ac_func innocuous_$ac_func
65550 /* System header to define __stub macros and hopefully few prototypes,
65551 which can conflict with char $ac_func (); below.
65552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65553 <limits.h> exists even on freestanding compilers. */
65555 #ifdef __STDC__
65556 # include <limits.h>
65557 #else
65558 # include <assert.h>
65559 #endif
65561 #undef $ac_func
65563 /* Override any gcc2 internal prototype to avoid an error. */
65564 #ifdef __cplusplus
65565 extern "C"
65567 #endif
65568 /* We use char because int might match the return type of a gcc2
65569 builtin and then its argument prototype would still apply. */
65570 char $ac_func ();
65571 /* The GNU C library defines this for functions which it implements
65572 to always fail with ENOSYS. Some functions are actually named
65573 something starting with __ and the normal name is an alias. */
65574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65575 choke me
65576 #else
65577 char (*f) () = $ac_func;
65578 #endif
65579 #ifdef __cplusplus
65581 #endif
65584 main ()
65586 return f != $ac_func;
65588 return 0;
65590 _ACEOF
65591 rm -f conftest.$ac_objext conftest$ac_exeext
65592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65593 (eval $ac_link) 2>conftest.er1
65594 ac_status=$?
65595 grep -v '^ *+' conftest.er1 >conftest.err
65596 rm -f conftest.er1
65597 cat conftest.err >&5
65598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65599 (exit $ac_status); } &&
65600 { ac_try='test -z "$ac_c_werror_flag"
65601 || test ! -s conftest.err'
65602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65603 (eval $ac_try) 2>&5
65604 ac_status=$?
65605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65606 (exit $ac_status); }; } &&
65607 { ac_try='test -s conftest$ac_exeext'
65608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65609 (eval $ac_try) 2>&5
65610 ac_status=$?
65611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65612 (exit $ac_status); }; }; then
65613 eval "$as_ac_var=yes"
65614 else
65615 echo "$as_me: failed program was:" >&5
65616 sed 's/^/| /' conftest.$ac_ext >&5
65618 eval "$as_ac_var=no"
65620 rm -f conftest.err conftest.$ac_objext \
65621 conftest$ac_exeext conftest.$ac_ext
65623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65625 if test `eval echo '${'$as_ac_var'}'` = yes; then
65626 cat >>confdefs.h <<_ACEOF
65627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65628 _ACEOF
65631 done
65633 else
65635 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65636 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65637 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65638 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65639 echo $ECHO_N "(cached) $ECHO_C" >&6
65640 else
65644 ac_ext=cc
65645 ac_cpp='$CXXCPP $CPPFLAGS'
65646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65650 cat >conftest.$ac_ext <<_ACEOF
65651 /* confdefs.h. */
65652 _ACEOF
65653 cat confdefs.h >>conftest.$ac_ext
65654 cat >>conftest.$ac_ext <<_ACEOF
65655 /* end confdefs.h. */
65656 #include <math.h>
65658 main ()
65660 _copysign(0, 0);
65662 return 0;
65664 _ACEOF
65665 rm -f conftest.$ac_objext
65666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65667 (eval $ac_compile) 2>conftest.er1
65668 ac_status=$?
65669 grep -v '^ *+' conftest.er1 >conftest.err
65670 rm -f conftest.er1
65671 cat conftest.err >&5
65672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65673 (exit $ac_status); } &&
65674 { ac_try='test -z "$ac_cxx_werror_flag"
65675 || test ! -s conftest.err'
65676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65677 (eval $ac_try) 2>&5
65678 ac_status=$?
65679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65680 (exit $ac_status); }; } &&
65681 { ac_try='test -s conftest.$ac_objext'
65682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65683 (eval $ac_try) 2>&5
65684 ac_status=$?
65685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65686 (exit $ac_status); }; }; then
65687 glibcxx_cv_func__copysign_use=yes
65688 else
65689 echo "$as_me: failed program was:" >&5
65690 sed 's/^/| /' conftest.$ac_ext >&5
65692 glibcxx_cv_func__copysign_use=no
65694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65695 ac_ext=c
65696 ac_cpp='$CPP $CPPFLAGS'
65697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65706 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65708 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65710 for ac_func in _copysign
65712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65713 echo "$as_me:$LINENO: checking for $ac_func" >&5
65714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65715 if eval "test \"\${$as_ac_var+set}\" = set"; then
65716 echo $ECHO_N "(cached) $ECHO_C" >&6
65717 else
65718 if test x$gcc_no_link = xyes; then
65719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65721 { (exit 1); exit 1; }; }
65723 cat >conftest.$ac_ext <<_ACEOF
65724 /* confdefs.h. */
65725 _ACEOF
65726 cat confdefs.h >>conftest.$ac_ext
65727 cat >>conftest.$ac_ext <<_ACEOF
65728 /* end confdefs.h. */
65729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65731 #define $ac_func innocuous_$ac_func
65733 /* System header to define __stub macros and hopefully few prototypes,
65734 which can conflict with char $ac_func (); below.
65735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65736 <limits.h> exists even on freestanding compilers. */
65738 #ifdef __STDC__
65739 # include <limits.h>
65740 #else
65741 # include <assert.h>
65742 #endif
65744 #undef $ac_func
65746 /* Override any gcc2 internal prototype to avoid an error. */
65747 #ifdef __cplusplus
65748 extern "C"
65750 #endif
65751 /* We use char because int might match the return type of a gcc2
65752 builtin and then its argument prototype would still apply. */
65753 char $ac_func ();
65754 /* The GNU C library defines this for functions which it implements
65755 to always fail with ENOSYS. Some functions are actually named
65756 something starting with __ and the normal name is an alias. */
65757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65758 choke me
65759 #else
65760 char (*f) () = $ac_func;
65761 #endif
65762 #ifdef __cplusplus
65764 #endif
65767 main ()
65769 return f != $ac_func;
65771 return 0;
65773 _ACEOF
65774 rm -f conftest.$ac_objext conftest$ac_exeext
65775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65776 (eval $ac_link) 2>conftest.er1
65777 ac_status=$?
65778 grep -v '^ *+' conftest.er1 >conftest.err
65779 rm -f conftest.er1
65780 cat conftest.err >&5
65781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65782 (exit $ac_status); } &&
65783 { ac_try='test -z "$ac_c_werror_flag"
65784 || test ! -s conftest.err'
65785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65786 (eval $ac_try) 2>&5
65787 ac_status=$?
65788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65789 (exit $ac_status); }; } &&
65790 { ac_try='test -s conftest$ac_exeext'
65791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65792 (eval $ac_try) 2>&5
65793 ac_status=$?
65794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65795 (exit $ac_status); }; }; then
65796 eval "$as_ac_var=yes"
65797 else
65798 echo "$as_me: failed program was:" >&5
65799 sed 's/^/| /' conftest.$ac_ext >&5
65801 eval "$as_ac_var=no"
65803 rm -f conftest.err conftest.$ac_objext \
65804 conftest$ac_exeext conftest.$ac_ext
65806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65808 if test `eval echo '${'$as_ac_var'}'` = yes; then
65809 cat >>confdefs.h <<_ACEOF
65810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65811 _ACEOF
65814 done
65824 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65825 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65826 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65827 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65828 echo $ECHO_N "(cached) $ECHO_C" >&6
65829 else
65833 ac_ext=cc
65834 ac_cpp='$CXXCPP $CPPFLAGS'
65835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65839 cat >conftest.$ac_ext <<_ACEOF
65840 /* confdefs.h. */
65841 _ACEOF
65842 cat confdefs.h >>conftest.$ac_ext
65843 cat >>conftest.$ac_ext <<_ACEOF
65844 /* end confdefs.h. */
65845 #include <math.h>
65847 main ()
65849 sincos(0, 0, 0);
65851 return 0;
65853 _ACEOF
65854 rm -f conftest.$ac_objext
65855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65856 (eval $ac_compile) 2>conftest.er1
65857 ac_status=$?
65858 grep -v '^ *+' conftest.er1 >conftest.err
65859 rm -f conftest.er1
65860 cat conftest.err >&5
65861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 (exit $ac_status); } &&
65863 { ac_try='test -z "$ac_cxx_werror_flag"
65864 || test ! -s conftest.err'
65865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65866 (eval $ac_try) 2>&5
65867 ac_status=$?
65868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65869 (exit $ac_status); }; } &&
65870 { ac_try='test -s conftest.$ac_objext'
65871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65872 (eval $ac_try) 2>&5
65873 ac_status=$?
65874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65875 (exit $ac_status); }; }; then
65876 glibcxx_cv_func_sincos_use=yes
65877 else
65878 echo "$as_me: failed program was:" >&5
65879 sed 's/^/| /' conftest.$ac_ext >&5
65881 glibcxx_cv_func_sincos_use=no
65883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65884 ac_ext=c
65885 ac_cpp='$CPP $CPPFLAGS'
65886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65895 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65897 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65899 for ac_func in sincos
65901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65902 echo "$as_me:$LINENO: checking for $ac_func" >&5
65903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65904 if eval "test \"\${$as_ac_var+set}\" = set"; then
65905 echo $ECHO_N "(cached) $ECHO_C" >&6
65906 else
65907 if test x$gcc_no_link = xyes; then
65908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65910 { (exit 1); exit 1; }; }
65912 cat >conftest.$ac_ext <<_ACEOF
65913 /* confdefs.h. */
65914 _ACEOF
65915 cat confdefs.h >>conftest.$ac_ext
65916 cat >>conftest.$ac_ext <<_ACEOF
65917 /* end confdefs.h. */
65918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65920 #define $ac_func innocuous_$ac_func
65922 /* System header to define __stub macros and hopefully few prototypes,
65923 which can conflict with char $ac_func (); below.
65924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65925 <limits.h> exists even on freestanding compilers. */
65927 #ifdef __STDC__
65928 # include <limits.h>
65929 #else
65930 # include <assert.h>
65931 #endif
65933 #undef $ac_func
65935 /* Override any gcc2 internal prototype to avoid an error. */
65936 #ifdef __cplusplus
65937 extern "C"
65939 #endif
65940 /* We use char because int might match the return type of a gcc2
65941 builtin and then its argument prototype would still apply. */
65942 char $ac_func ();
65943 /* The GNU C library defines this for functions which it implements
65944 to always fail with ENOSYS. Some functions are actually named
65945 something starting with __ and the normal name is an alias. */
65946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65947 choke me
65948 #else
65949 char (*f) () = $ac_func;
65950 #endif
65951 #ifdef __cplusplus
65953 #endif
65956 main ()
65958 return f != $ac_func;
65960 return 0;
65962 _ACEOF
65963 rm -f conftest.$ac_objext conftest$ac_exeext
65964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65965 (eval $ac_link) 2>conftest.er1
65966 ac_status=$?
65967 grep -v '^ *+' conftest.er1 >conftest.err
65968 rm -f conftest.er1
65969 cat conftest.err >&5
65970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65971 (exit $ac_status); } &&
65972 { ac_try='test -z "$ac_c_werror_flag"
65973 || test ! -s conftest.err'
65974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65975 (eval $ac_try) 2>&5
65976 ac_status=$?
65977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65978 (exit $ac_status); }; } &&
65979 { ac_try='test -s conftest$ac_exeext'
65980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65981 (eval $ac_try) 2>&5
65982 ac_status=$?
65983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65984 (exit $ac_status); }; }; then
65985 eval "$as_ac_var=yes"
65986 else
65987 echo "$as_me: failed program was:" >&5
65988 sed 's/^/| /' conftest.$ac_ext >&5
65990 eval "$as_ac_var=no"
65992 rm -f conftest.err conftest.$ac_objext \
65993 conftest$ac_exeext conftest.$ac_ext
65995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65997 if test `eval echo '${'$as_ac_var'}'` = yes; then
65998 cat >>confdefs.h <<_ACEOF
65999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66000 _ACEOF
66003 done
66005 else
66007 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
66008 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
66009 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66010 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
66011 echo $ECHO_N "(cached) $ECHO_C" >&6
66012 else
66016 ac_ext=cc
66017 ac_cpp='$CXXCPP $CPPFLAGS'
66018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66022 cat >conftest.$ac_ext <<_ACEOF
66023 /* confdefs.h. */
66024 _ACEOF
66025 cat confdefs.h >>conftest.$ac_ext
66026 cat >>conftest.$ac_ext <<_ACEOF
66027 /* end confdefs.h. */
66028 #include <math.h>
66030 main ()
66032 _sincos(0, 0, 0);
66034 return 0;
66036 _ACEOF
66037 rm -f conftest.$ac_objext
66038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66039 (eval $ac_compile) 2>conftest.er1
66040 ac_status=$?
66041 grep -v '^ *+' conftest.er1 >conftest.err
66042 rm -f conftest.er1
66043 cat conftest.err >&5
66044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66045 (exit $ac_status); } &&
66046 { ac_try='test -z "$ac_cxx_werror_flag"
66047 || test ! -s conftest.err'
66048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66049 (eval $ac_try) 2>&5
66050 ac_status=$?
66051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66052 (exit $ac_status); }; } &&
66053 { ac_try='test -s conftest.$ac_objext'
66054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66055 (eval $ac_try) 2>&5
66056 ac_status=$?
66057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66058 (exit $ac_status); }; }; then
66059 glibcxx_cv_func__sincos_use=yes
66060 else
66061 echo "$as_me: failed program was:" >&5
66062 sed 's/^/| /' conftest.$ac_ext >&5
66064 glibcxx_cv_func__sincos_use=no
66066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66067 ac_ext=c
66068 ac_cpp='$CPP $CPPFLAGS'
66069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66078 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66080 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66082 for ac_func in _sincos
66084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66085 echo "$as_me:$LINENO: checking for $ac_func" >&5
66086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66087 if eval "test \"\${$as_ac_var+set}\" = set"; then
66088 echo $ECHO_N "(cached) $ECHO_C" >&6
66089 else
66090 if test x$gcc_no_link = xyes; then
66091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66093 { (exit 1); exit 1; }; }
66095 cat >conftest.$ac_ext <<_ACEOF
66096 /* confdefs.h. */
66097 _ACEOF
66098 cat confdefs.h >>conftest.$ac_ext
66099 cat >>conftest.$ac_ext <<_ACEOF
66100 /* end confdefs.h. */
66101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66103 #define $ac_func innocuous_$ac_func
66105 /* System header to define __stub macros and hopefully few prototypes,
66106 which can conflict with char $ac_func (); below.
66107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66108 <limits.h> exists even on freestanding compilers. */
66110 #ifdef __STDC__
66111 # include <limits.h>
66112 #else
66113 # include <assert.h>
66114 #endif
66116 #undef $ac_func
66118 /* Override any gcc2 internal prototype to avoid an error. */
66119 #ifdef __cplusplus
66120 extern "C"
66122 #endif
66123 /* We use char because int might match the return type of a gcc2
66124 builtin and then its argument prototype would still apply. */
66125 char $ac_func ();
66126 /* The GNU C library defines this for functions which it implements
66127 to always fail with ENOSYS. Some functions are actually named
66128 something starting with __ and the normal name is an alias. */
66129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66130 choke me
66131 #else
66132 char (*f) () = $ac_func;
66133 #endif
66134 #ifdef __cplusplus
66136 #endif
66139 main ()
66141 return f != $ac_func;
66143 return 0;
66145 _ACEOF
66146 rm -f conftest.$ac_objext conftest$ac_exeext
66147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66148 (eval $ac_link) 2>conftest.er1
66149 ac_status=$?
66150 grep -v '^ *+' conftest.er1 >conftest.err
66151 rm -f conftest.er1
66152 cat conftest.err >&5
66153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66154 (exit $ac_status); } &&
66155 { ac_try='test -z "$ac_c_werror_flag"
66156 || test ! -s conftest.err'
66157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66158 (eval $ac_try) 2>&5
66159 ac_status=$?
66160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66161 (exit $ac_status); }; } &&
66162 { ac_try='test -s conftest$ac_exeext'
66163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66164 (eval $ac_try) 2>&5
66165 ac_status=$?
66166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66167 (exit $ac_status); }; }; then
66168 eval "$as_ac_var=yes"
66169 else
66170 echo "$as_me: failed program was:" >&5
66171 sed 's/^/| /' conftest.$ac_ext >&5
66173 eval "$as_ac_var=no"
66175 rm -f conftest.err conftest.$ac_objext \
66176 conftest$ac_exeext conftest.$ac_ext
66178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66180 if test `eval echo '${'$as_ac_var'}'` = yes; then
66181 cat >>confdefs.h <<_ACEOF
66182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66183 _ACEOF
66186 done
66196 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66197 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66198 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66199 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66200 echo $ECHO_N "(cached) $ECHO_C" >&6
66201 else
66205 ac_ext=cc
66206 ac_cpp='$CXXCPP $CPPFLAGS'
66207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66211 cat >conftest.$ac_ext <<_ACEOF
66212 /* confdefs.h. */
66213 _ACEOF
66214 cat confdefs.h >>conftest.$ac_ext
66215 cat >>conftest.$ac_ext <<_ACEOF
66216 /* end confdefs.h. */
66217 #include <math.h>
66218 #ifdef HAVE_IEEEFP_H
66219 #include <ieeefp.h>
66220 #endif
66223 main ()
66225 fpclass(0);
66227 return 0;
66229 _ACEOF
66230 rm -f conftest.$ac_objext
66231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66232 (eval $ac_compile) 2>conftest.er1
66233 ac_status=$?
66234 grep -v '^ *+' conftest.er1 >conftest.err
66235 rm -f conftest.er1
66236 cat conftest.err >&5
66237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66238 (exit $ac_status); } &&
66239 { ac_try='test -z "$ac_cxx_werror_flag"
66240 || test ! -s conftest.err'
66241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66242 (eval $ac_try) 2>&5
66243 ac_status=$?
66244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66245 (exit $ac_status); }; } &&
66246 { ac_try='test -s conftest.$ac_objext'
66247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66248 (eval $ac_try) 2>&5
66249 ac_status=$?
66250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66251 (exit $ac_status); }; }; then
66252 glibcxx_cv_func_fpclass_use=yes
66253 else
66254 echo "$as_me: failed program was:" >&5
66255 sed 's/^/| /' conftest.$ac_ext >&5
66257 glibcxx_cv_func_fpclass_use=no
66259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66260 ac_ext=c
66261 ac_cpp='$CPP $CPPFLAGS'
66262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66271 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66273 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66275 for ac_func in fpclass
66277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66278 echo "$as_me:$LINENO: checking for $ac_func" >&5
66279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66280 if eval "test \"\${$as_ac_var+set}\" = set"; then
66281 echo $ECHO_N "(cached) $ECHO_C" >&6
66282 else
66283 if test x$gcc_no_link = xyes; then
66284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66286 { (exit 1); exit 1; }; }
66288 cat >conftest.$ac_ext <<_ACEOF
66289 /* confdefs.h. */
66290 _ACEOF
66291 cat confdefs.h >>conftest.$ac_ext
66292 cat >>conftest.$ac_ext <<_ACEOF
66293 /* end confdefs.h. */
66294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66296 #define $ac_func innocuous_$ac_func
66298 /* System header to define __stub macros and hopefully few prototypes,
66299 which can conflict with char $ac_func (); below.
66300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66301 <limits.h> exists even on freestanding compilers. */
66303 #ifdef __STDC__
66304 # include <limits.h>
66305 #else
66306 # include <assert.h>
66307 #endif
66309 #undef $ac_func
66311 /* Override any gcc2 internal prototype to avoid an error. */
66312 #ifdef __cplusplus
66313 extern "C"
66315 #endif
66316 /* We use char because int might match the return type of a gcc2
66317 builtin and then its argument prototype would still apply. */
66318 char $ac_func ();
66319 /* The GNU C library defines this for functions which it implements
66320 to always fail with ENOSYS. Some functions are actually named
66321 something starting with __ and the normal name is an alias. */
66322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66323 choke me
66324 #else
66325 char (*f) () = $ac_func;
66326 #endif
66327 #ifdef __cplusplus
66329 #endif
66332 main ()
66334 return f != $ac_func;
66336 return 0;
66338 _ACEOF
66339 rm -f conftest.$ac_objext conftest$ac_exeext
66340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66341 (eval $ac_link) 2>conftest.er1
66342 ac_status=$?
66343 grep -v '^ *+' conftest.er1 >conftest.err
66344 rm -f conftest.er1
66345 cat conftest.err >&5
66346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66347 (exit $ac_status); } &&
66348 { ac_try='test -z "$ac_c_werror_flag"
66349 || test ! -s conftest.err'
66350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66351 (eval $ac_try) 2>&5
66352 ac_status=$?
66353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66354 (exit $ac_status); }; } &&
66355 { ac_try='test -s conftest$ac_exeext'
66356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66357 (eval $ac_try) 2>&5
66358 ac_status=$?
66359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66360 (exit $ac_status); }; }; then
66361 eval "$as_ac_var=yes"
66362 else
66363 echo "$as_me: failed program was:" >&5
66364 sed 's/^/| /' conftest.$ac_ext >&5
66366 eval "$as_ac_var=no"
66368 rm -f conftest.err conftest.$ac_objext \
66369 conftest$ac_exeext conftest.$ac_ext
66371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66373 if test `eval echo '${'$as_ac_var'}'` = yes; then
66374 cat >>confdefs.h <<_ACEOF
66375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66376 _ACEOF
66379 done
66381 else
66383 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66384 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66385 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66386 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66387 echo $ECHO_N "(cached) $ECHO_C" >&6
66388 else
66392 ac_ext=cc
66393 ac_cpp='$CXXCPP $CPPFLAGS'
66394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66398 cat >conftest.$ac_ext <<_ACEOF
66399 /* confdefs.h. */
66400 _ACEOF
66401 cat confdefs.h >>conftest.$ac_ext
66402 cat >>conftest.$ac_ext <<_ACEOF
66403 /* end confdefs.h. */
66404 #include <math.h>
66405 #ifdef HAVE_IEEEFP_H
66406 #include <ieeefp.h>
66407 #endif
66410 main ()
66412 _fpclass(0);
66414 return 0;
66416 _ACEOF
66417 rm -f conftest.$ac_objext
66418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66419 (eval $ac_compile) 2>conftest.er1
66420 ac_status=$?
66421 grep -v '^ *+' conftest.er1 >conftest.err
66422 rm -f conftest.er1
66423 cat conftest.err >&5
66424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66425 (exit $ac_status); } &&
66426 { ac_try='test -z "$ac_cxx_werror_flag"
66427 || test ! -s conftest.err'
66428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66429 (eval $ac_try) 2>&5
66430 ac_status=$?
66431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66432 (exit $ac_status); }; } &&
66433 { ac_try='test -s conftest.$ac_objext'
66434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66435 (eval $ac_try) 2>&5
66436 ac_status=$?
66437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66438 (exit $ac_status); }; }; then
66439 glibcxx_cv_func__fpclass_use=yes
66440 else
66441 echo "$as_me: failed program was:" >&5
66442 sed 's/^/| /' conftest.$ac_ext >&5
66444 glibcxx_cv_func__fpclass_use=no
66446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66447 ac_ext=c
66448 ac_cpp='$CPP $CPPFLAGS'
66449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66458 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66460 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66462 for ac_func in _fpclass
66464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66465 echo "$as_me:$LINENO: checking for $ac_func" >&5
66466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66467 if eval "test \"\${$as_ac_var+set}\" = set"; then
66468 echo $ECHO_N "(cached) $ECHO_C" >&6
66469 else
66470 if test x$gcc_no_link = xyes; then
66471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66473 { (exit 1); exit 1; }; }
66475 cat >conftest.$ac_ext <<_ACEOF
66476 /* confdefs.h. */
66477 _ACEOF
66478 cat confdefs.h >>conftest.$ac_ext
66479 cat >>conftest.$ac_ext <<_ACEOF
66480 /* end confdefs.h. */
66481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66483 #define $ac_func innocuous_$ac_func
66485 /* System header to define __stub macros and hopefully few prototypes,
66486 which can conflict with char $ac_func (); below.
66487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66488 <limits.h> exists even on freestanding compilers. */
66490 #ifdef __STDC__
66491 # include <limits.h>
66492 #else
66493 # include <assert.h>
66494 #endif
66496 #undef $ac_func
66498 /* Override any gcc2 internal prototype to avoid an error. */
66499 #ifdef __cplusplus
66500 extern "C"
66502 #endif
66503 /* We use char because int might match the return type of a gcc2
66504 builtin and then its argument prototype would still apply. */
66505 char $ac_func ();
66506 /* The GNU C library defines this for functions which it implements
66507 to always fail with ENOSYS. Some functions are actually named
66508 something starting with __ and the normal name is an alias. */
66509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66510 choke me
66511 #else
66512 char (*f) () = $ac_func;
66513 #endif
66514 #ifdef __cplusplus
66516 #endif
66519 main ()
66521 return f != $ac_func;
66523 return 0;
66525 _ACEOF
66526 rm -f conftest.$ac_objext conftest$ac_exeext
66527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66528 (eval $ac_link) 2>conftest.er1
66529 ac_status=$?
66530 grep -v '^ *+' conftest.er1 >conftest.err
66531 rm -f conftest.er1
66532 cat conftest.err >&5
66533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66534 (exit $ac_status); } &&
66535 { ac_try='test -z "$ac_c_werror_flag"
66536 || test ! -s conftest.err'
66537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66538 (eval $ac_try) 2>&5
66539 ac_status=$?
66540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66541 (exit $ac_status); }; } &&
66542 { ac_try='test -s conftest$ac_exeext'
66543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66544 (eval $ac_try) 2>&5
66545 ac_status=$?
66546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66547 (exit $ac_status); }; }; then
66548 eval "$as_ac_var=yes"
66549 else
66550 echo "$as_me: failed program was:" >&5
66551 sed 's/^/| /' conftest.$ac_ext >&5
66553 eval "$as_ac_var=no"
66555 rm -f conftest.err conftest.$ac_objext \
66556 conftest$ac_exeext conftest.$ac_ext
66558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66560 if test `eval echo '${'$as_ac_var'}'` = yes; then
66561 cat >>confdefs.h <<_ACEOF
66562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66563 _ACEOF
66566 done
66576 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66577 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66578 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66579 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66580 echo $ECHO_N "(cached) $ECHO_C" >&6
66581 else
66585 ac_ext=cc
66586 ac_cpp='$CXXCPP $CPPFLAGS'
66587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66591 cat >conftest.$ac_ext <<_ACEOF
66592 /* confdefs.h. */
66593 _ACEOF
66594 cat confdefs.h >>conftest.$ac_ext
66595 cat >>conftest.$ac_ext <<_ACEOF
66596 /* end confdefs.h. */
66597 #include <math.h>
66598 #ifdef HAVE_IEEEFP_H
66599 #include <ieeefp.h>
66600 #endif
66603 main ()
66605 qfpclass(0);
66607 return 0;
66609 _ACEOF
66610 rm -f conftest.$ac_objext
66611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66612 (eval $ac_compile) 2>conftest.er1
66613 ac_status=$?
66614 grep -v '^ *+' conftest.er1 >conftest.err
66615 rm -f conftest.er1
66616 cat conftest.err >&5
66617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66618 (exit $ac_status); } &&
66619 { ac_try='test -z "$ac_cxx_werror_flag"
66620 || test ! -s conftest.err'
66621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66622 (eval $ac_try) 2>&5
66623 ac_status=$?
66624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66625 (exit $ac_status); }; } &&
66626 { ac_try='test -s conftest.$ac_objext'
66627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66628 (eval $ac_try) 2>&5
66629 ac_status=$?
66630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66631 (exit $ac_status); }; }; then
66632 glibcxx_cv_func_qfpclass_use=yes
66633 else
66634 echo "$as_me: failed program was:" >&5
66635 sed 's/^/| /' conftest.$ac_ext >&5
66637 glibcxx_cv_func_qfpclass_use=no
66639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66640 ac_ext=c
66641 ac_cpp='$CPP $CPPFLAGS'
66642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66651 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66653 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66655 for ac_func in qfpclass
66657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66658 echo "$as_me:$LINENO: checking for $ac_func" >&5
66659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66660 if eval "test \"\${$as_ac_var+set}\" = set"; then
66661 echo $ECHO_N "(cached) $ECHO_C" >&6
66662 else
66663 if test x$gcc_no_link = xyes; then
66664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66666 { (exit 1); exit 1; }; }
66668 cat >conftest.$ac_ext <<_ACEOF
66669 /* confdefs.h. */
66670 _ACEOF
66671 cat confdefs.h >>conftest.$ac_ext
66672 cat >>conftest.$ac_ext <<_ACEOF
66673 /* end confdefs.h. */
66674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66676 #define $ac_func innocuous_$ac_func
66678 /* System header to define __stub macros and hopefully few prototypes,
66679 which can conflict with char $ac_func (); below.
66680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66681 <limits.h> exists even on freestanding compilers. */
66683 #ifdef __STDC__
66684 # include <limits.h>
66685 #else
66686 # include <assert.h>
66687 #endif
66689 #undef $ac_func
66691 /* Override any gcc2 internal prototype to avoid an error. */
66692 #ifdef __cplusplus
66693 extern "C"
66695 #endif
66696 /* We use char because int might match the return type of a gcc2
66697 builtin and then its argument prototype would still apply. */
66698 char $ac_func ();
66699 /* The GNU C library defines this for functions which it implements
66700 to always fail with ENOSYS. Some functions are actually named
66701 something starting with __ and the normal name is an alias. */
66702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66703 choke me
66704 #else
66705 char (*f) () = $ac_func;
66706 #endif
66707 #ifdef __cplusplus
66709 #endif
66712 main ()
66714 return f != $ac_func;
66716 return 0;
66718 _ACEOF
66719 rm -f conftest.$ac_objext conftest$ac_exeext
66720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66721 (eval $ac_link) 2>conftest.er1
66722 ac_status=$?
66723 grep -v '^ *+' conftest.er1 >conftest.err
66724 rm -f conftest.er1
66725 cat conftest.err >&5
66726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66727 (exit $ac_status); } &&
66728 { ac_try='test -z "$ac_c_werror_flag"
66729 || test ! -s conftest.err'
66730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66731 (eval $ac_try) 2>&5
66732 ac_status=$?
66733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66734 (exit $ac_status); }; } &&
66735 { ac_try='test -s conftest$ac_exeext'
66736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66737 (eval $ac_try) 2>&5
66738 ac_status=$?
66739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66740 (exit $ac_status); }; }; then
66741 eval "$as_ac_var=yes"
66742 else
66743 echo "$as_me: failed program was:" >&5
66744 sed 's/^/| /' conftest.$ac_ext >&5
66746 eval "$as_ac_var=no"
66748 rm -f conftest.err conftest.$ac_objext \
66749 conftest$ac_exeext conftest.$ac_ext
66751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66753 if test `eval echo '${'$as_ac_var'}'` = yes; then
66754 cat >>confdefs.h <<_ACEOF
66755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66756 _ACEOF
66759 done
66761 else
66763 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66764 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66765 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66766 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66767 echo $ECHO_N "(cached) $ECHO_C" >&6
66768 else
66772 ac_ext=cc
66773 ac_cpp='$CXXCPP $CPPFLAGS'
66774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66778 cat >conftest.$ac_ext <<_ACEOF
66779 /* confdefs.h. */
66780 _ACEOF
66781 cat confdefs.h >>conftest.$ac_ext
66782 cat >>conftest.$ac_ext <<_ACEOF
66783 /* end confdefs.h. */
66784 #include <math.h>
66785 #ifdef HAVE_IEEEFP_H
66786 #include <ieeefp.h>
66787 #endif
66790 main ()
66792 _qfpclass(0);
66794 return 0;
66796 _ACEOF
66797 rm -f conftest.$ac_objext
66798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66799 (eval $ac_compile) 2>conftest.er1
66800 ac_status=$?
66801 grep -v '^ *+' conftest.er1 >conftest.err
66802 rm -f conftest.er1
66803 cat conftest.err >&5
66804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66805 (exit $ac_status); } &&
66806 { ac_try='test -z "$ac_cxx_werror_flag"
66807 || test ! -s conftest.err'
66808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66809 (eval $ac_try) 2>&5
66810 ac_status=$?
66811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66812 (exit $ac_status); }; } &&
66813 { ac_try='test -s conftest.$ac_objext'
66814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66815 (eval $ac_try) 2>&5
66816 ac_status=$?
66817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66818 (exit $ac_status); }; }; then
66819 glibcxx_cv_func__qfpclass_use=yes
66820 else
66821 echo "$as_me: failed program was:" >&5
66822 sed 's/^/| /' conftest.$ac_ext >&5
66824 glibcxx_cv_func__qfpclass_use=no
66826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66827 ac_ext=c
66828 ac_cpp='$CPP $CPPFLAGS'
66829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66838 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66840 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66842 for ac_func in _qfpclass
66844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66845 echo "$as_me:$LINENO: checking for $ac_func" >&5
66846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66847 if eval "test \"\${$as_ac_var+set}\" = set"; then
66848 echo $ECHO_N "(cached) $ECHO_C" >&6
66849 else
66850 if test x$gcc_no_link = xyes; then
66851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66853 { (exit 1); exit 1; }; }
66855 cat >conftest.$ac_ext <<_ACEOF
66856 /* confdefs.h. */
66857 _ACEOF
66858 cat confdefs.h >>conftest.$ac_ext
66859 cat >>conftest.$ac_ext <<_ACEOF
66860 /* end confdefs.h. */
66861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66863 #define $ac_func innocuous_$ac_func
66865 /* System header to define __stub macros and hopefully few prototypes,
66866 which can conflict with char $ac_func (); below.
66867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66868 <limits.h> exists even on freestanding compilers. */
66870 #ifdef __STDC__
66871 # include <limits.h>
66872 #else
66873 # include <assert.h>
66874 #endif
66876 #undef $ac_func
66878 /* Override any gcc2 internal prototype to avoid an error. */
66879 #ifdef __cplusplus
66880 extern "C"
66882 #endif
66883 /* We use char because int might match the return type of a gcc2
66884 builtin and then its argument prototype would still apply. */
66885 char $ac_func ();
66886 /* The GNU C library defines this for functions which it implements
66887 to always fail with ENOSYS. Some functions are actually named
66888 something starting with __ and the normal name is an alias. */
66889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66890 choke me
66891 #else
66892 char (*f) () = $ac_func;
66893 #endif
66894 #ifdef __cplusplus
66896 #endif
66899 main ()
66901 return f != $ac_func;
66903 return 0;
66905 _ACEOF
66906 rm -f conftest.$ac_objext conftest$ac_exeext
66907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66908 (eval $ac_link) 2>conftest.er1
66909 ac_status=$?
66910 grep -v '^ *+' conftest.er1 >conftest.err
66911 rm -f conftest.er1
66912 cat conftest.err >&5
66913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66914 (exit $ac_status); } &&
66915 { ac_try='test -z "$ac_c_werror_flag"
66916 || test ! -s conftest.err'
66917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66918 (eval $ac_try) 2>&5
66919 ac_status=$?
66920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66921 (exit $ac_status); }; } &&
66922 { ac_try='test -s conftest$ac_exeext'
66923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66924 (eval $ac_try) 2>&5
66925 ac_status=$?
66926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66927 (exit $ac_status); }; }; then
66928 eval "$as_ac_var=yes"
66929 else
66930 echo "$as_me: failed program was:" >&5
66931 sed 's/^/| /' conftest.$ac_ext >&5
66933 eval "$as_ac_var=no"
66935 rm -f conftest.err conftest.$ac_objext \
66936 conftest$ac_exeext conftest.$ac_ext
66938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66940 if test `eval echo '${'$as_ac_var'}'` = yes; then
66941 cat >>confdefs.h <<_ACEOF
66942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66943 _ACEOF
66946 done
66956 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66957 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66958 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66959 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66960 echo $ECHO_N "(cached) $ECHO_C" >&6
66961 else
66965 ac_ext=cc
66966 ac_cpp='$CXXCPP $CPPFLAGS'
66967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66971 cat >conftest.$ac_ext <<_ACEOF
66972 /* confdefs.h. */
66973 _ACEOF
66974 cat confdefs.h >>conftest.$ac_ext
66975 cat >>conftest.$ac_ext <<_ACEOF
66976 /* end confdefs.h. */
66977 #include <math.h>
66979 main ()
66981 hypot(0, 0);
66983 return 0;
66985 _ACEOF
66986 rm -f conftest.$ac_objext
66987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66988 (eval $ac_compile) 2>conftest.er1
66989 ac_status=$?
66990 grep -v '^ *+' conftest.er1 >conftest.err
66991 rm -f conftest.er1
66992 cat conftest.err >&5
66993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66994 (exit $ac_status); } &&
66995 { ac_try='test -z "$ac_cxx_werror_flag"
66996 || test ! -s conftest.err'
66997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66998 (eval $ac_try) 2>&5
66999 ac_status=$?
67000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67001 (exit $ac_status); }; } &&
67002 { ac_try='test -s conftest.$ac_objext'
67003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67004 (eval $ac_try) 2>&5
67005 ac_status=$?
67006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67007 (exit $ac_status); }; }; then
67008 glibcxx_cv_func_hypot_use=yes
67009 else
67010 echo "$as_me: failed program was:" >&5
67011 sed 's/^/| /' conftest.$ac_ext >&5
67013 glibcxx_cv_func_hypot_use=no
67015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67016 ac_ext=c
67017 ac_cpp='$CPP $CPPFLAGS'
67018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
67027 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
67029 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67031 for ac_func in hypot
67033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67034 echo "$as_me:$LINENO: checking for $ac_func" >&5
67035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67036 if eval "test \"\${$as_ac_var+set}\" = set"; then
67037 echo $ECHO_N "(cached) $ECHO_C" >&6
67038 else
67039 if test x$gcc_no_link = xyes; then
67040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67042 { (exit 1); exit 1; }; }
67044 cat >conftest.$ac_ext <<_ACEOF
67045 /* confdefs.h. */
67046 _ACEOF
67047 cat confdefs.h >>conftest.$ac_ext
67048 cat >>conftest.$ac_ext <<_ACEOF
67049 /* end confdefs.h. */
67050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67052 #define $ac_func innocuous_$ac_func
67054 /* System header to define __stub macros and hopefully few prototypes,
67055 which can conflict with char $ac_func (); below.
67056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67057 <limits.h> exists even on freestanding compilers. */
67059 #ifdef __STDC__
67060 # include <limits.h>
67061 #else
67062 # include <assert.h>
67063 #endif
67065 #undef $ac_func
67067 /* Override any gcc2 internal prototype to avoid an error. */
67068 #ifdef __cplusplus
67069 extern "C"
67071 #endif
67072 /* We use char because int might match the return type of a gcc2
67073 builtin and then its argument prototype would still apply. */
67074 char $ac_func ();
67075 /* The GNU C library defines this for functions which it implements
67076 to always fail with ENOSYS. Some functions are actually named
67077 something starting with __ and the normal name is an alias. */
67078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67079 choke me
67080 #else
67081 char (*f) () = $ac_func;
67082 #endif
67083 #ifdef __cplusplus
67085 #endif
67088 main ()
67090 return f != $ac_func;
67092 return 0;
67094 _ACEOF
67095 rm -f conftest.$ac_objext conftest$ac_exeext
67096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67097 (eval $ac_link) 2>conftest.er1
67098 ac_status=$?
67099 grep -v '^ *+' conftest.er1 >conftest.err
67100 rm -f conftest.er1
67101 cat conftest.err >&5
67102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67103 (exit $ac_status); } &&
67104 { ac_try='test -z "$ac_c_werror_flag"
67105 || test ! -s conftest.err'
67106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67107 (eval $ac_try) 2>&5
67108 ac_status=$?
67109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67110 (exit $ac_status); }; } &&
67111 { ac_try='test -s conftest$ac_exeext'
67112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67113 (eval $ac_try) 2>&5
67114 ac_status=$?
67115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67116 (exit $ac_status); }; }; then
67117 eval "$as_ac_var=yes"
67118 else
67119 echo "$as_me: failed program was:" >&5
67120 sed 's/^/| /' conftest.$ac_ext >&5
67122 eval "$as_ac_var=no"
67124 rm -f conftest.err conftest.$ac_objext \
67125 conftest$ac_exeext conftest.$ac_ext
67127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67129 if test `eval echo '${'$as_ac_var'}'` = yes; then
67130 cat >>confdefs.h <<_ACEOF
67131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67132 _ACEOF
67135 done
67137 else
67139 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67140 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67141 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67142 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67143 echo $ECHO_N "(cached) $ECHO_C" >&6
67144 else
67148 ac_ext=cc
67149 ac_cpp='$CXXCPP $CPPFLAGS'
67150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67154 cat >conftest.$ac_ext <<_ACEOF
67155 /* confdefs.h. */
67156 _ACEOF
67157 cat confdefs.h >>conftest.$ac_ext
67158 cat >>conftest.$ac_ext <<_ACEOF
67159 /* end confdefs.h. */
67160 #include <math.h>
67162 main ()
67164 _hypot(0, 0);
67166 return 0;
67168 _ACEOF
67169 rm -f conftest.$ac_objext
67170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67171 (eval $ac_compile) 2>conftest.er1
67172 ac_status=$?
67173 grep -v '^ *+' conftest.er1 >conftest.err
67174 rm -f conftest.er1
67175 cat conftest.err >&5
67176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67177 (exit $ac_status); } &&
67178 { ac_try='test -z "$ac_cxx_werror_flag"
67179 || test ! -s conftest.err'
67180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67181 (eval $ac_try) 2>&5
67182 ac_status=$?
67183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67184 (exit $ac_status); }; } &&
67185 { ac_try='test -s conftest.$ac_objext'
67186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67187 (eval $ac_try) 2>&5
67188 ac_status=$?
67189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67190 (exit $ac_status); }; }; then
67191 glibcxx_cv_func__hypot_use=yes
67192 else
67193 echo "$as_me: failed program was:" >&5
67194 sed 's/^/| /' conftest.$ac_ext >&5
67196 glibcxx_cv_func__hypot_use=no
67198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67199 ac_ext=c
67200 ac_cpp='$CPP $CPPFLAGS'
67201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67210 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67212 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67214 for ac_func in _hypot
67216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67217 echo "$as_me:$LINENO: checking for $ac_func" >&5
67218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67219 if eval "test \"\${$as_ac_var+set}\" = set"; then
67220 echo $ECHO_N "(cached) $ECHO_C" >&6
67221 else
67222 if test x$gcc_no_link = xyes; then
67223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67225 { (exit 1); exit 1; }; }
67227 cat >conftest.$ac_ext <<_ACEOF
67228 /* confdefs.h. */
67229 _ACEOF
67230 cat confdefs.h >>conftest.$ac_ext
67231 cat >>conftest.$ac_ext <<_ACEOF
67232 /* end confdefs.h. */
67233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67235 #define $ac_func innocuous_$ac_func
67237 /* System header to define __stub macros and hopefully few prototypes,
67238 which can conflict with char $ac_func (); below.
67239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67240 <limits.h> exists even on freestanding compilers. */
67242 #ifdef __STDC__
67243 # include <limits.h>
67244 #else
67245 # include <assert.h>
67246 #endif
67248 #undef $ac_func
67250 /* Override any gcc2 internal prototype to avoid an error. */
67251 #ifdef __cplusplus
67252 extern "C"
67254 #endif
67255 /* We use char because int might match the return type of a gcc2
67256 builtin and then its argument prototype would still apply. */
67257 char $ac_func ();
67258 /* The GNU C library defines this for functions which it implements
67259 to always fail with ENOSYS. Some functions are actually named
67260 something starting with __ and the normal name is an alias. */
67261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67262 choke me
67263 #else
67264 char (*f) () = $ac_func;
67265 #endif
67266 #ifdef __cplusplus
67268 #endif
67271 main ()
67273 return f != $ac_func;
67275 return 0;
67277 _ACEOF
67278 rm -f conftest.$ac_objext conftest$ac_exeext
67279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67280 (eval $ac_link) 2>conftest.er1
67281 ac_status=$?
67282 grep -v '^ *+' conftest.er1 >conftest.err
67283 rm -f conftest.er1
67284 cat conftest.err >&5
67285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67286 (exit $ac_status); } &&
67287 { ac_try='test -z "$ac_c_werror_flag"
67288 || test ! -s conftest.err'
67289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67290 (eval $ac_try) 2>&5
67291 ac_status=$?
67292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67293 (exit $ac_status); }; } &&
67294 { ac_try='test -s conftest$ac_exeext'
67295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67296 (eval $ac_try) 2>&5
67297 ac_status=$?
67298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67299 (exit $ac_status); }; }; then
67300 eval "$as_ac_var=yes"
67301 else
67302 echo "$as_me: failed program was:" >&5
67303 sed 's/^/| /' conftest.$ac_ext >&5
67305 eval "$as_ac_var=no"
67307 rm -f conftest.err conftest.$ac_objext \
67308 conftest$ac_exeext conftest.$ac_ext
67310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67312 if test `eval echo '${'$as_ac_var'}'` = yes; then
67313 cat >>confdefs.h <<_ACEOF
67314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67315 _ACEOF
67318 done
67328 echo "$as_me:$LINENO: checking for float trig functions" >&5
67329 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67330 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67331 echo $ECHO_N "(cached) $ECHO_C" >&6
67332 else
67336 ac_ext=cc
67337 ac_cpp='$CXXCPP $CPPFLAGS'
67338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67342 cat >conftest.$ac_ext <<_ACEOF
67343 /* confdefs.h. */
67344 _ACEOF
67345 cat confdefs.h >>conftest.$ac_ext
67346 cat >>conftest.$ac_ext <<_ACEOF
67347 /* end confdefs.h. */
67348 #include <math.h>
67350 main ()
67352 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67354 return 0;
67356 _ACEOF
67357 rm -f conftest.$ac_objext
67358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67359 (eval $ac_compile) 2>conftest.er1
67360 ac_status=$?
67361 grep -v '^ *+' conftest.er1 >conftest.err
67362 rm -f conftest.er1
67363 cat conftest.err >&5
67364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67365 (exit $ac_status); } &&
67366 { ac_try='test -z "$ac_cxx_werror_flag"
67367 || test ! -s conftest.err'
67368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67369 (eval $ac_try) 2>&5
67370 ac_status=$?
67371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67372 (exit $ac_status); }; } &&
67373 { ac_try='test -s conftest.$ac_objext'
67374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67375 (eval $ac_try) 2>&5
67376 ac_status=$?
67377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67378 (exit $ac_status); }; }; then
67379 glibcxx_cv_func_float_trig_use=yes
67380 else
67381 echo "$as_me: failed program was:" >&5
67382 sed 's/^/| /' conftest.$ac_ext >&5
67384 glibcxx_cv_func_float_trig_use=no
67386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67387 ac_ext=c
67388 ac_cpp='$CPP $CPPFLAGS'
67389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67396 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67397 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67407 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67410 echo "$as_me:$LINENO: checking for $ac_func" >&5
67411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67412 if eval "test \"\${$as_ac_var+set}\" = set"; then
67413 echo $ECHO_N "(cached) $ECHO_C" >&6
67414 else
67415 if test x$gcc_no_link = xyes; then
67416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67418 { (exit 1); exit 1; }; }
67420 cat >conftest.$ac_ext <<_ACEOF
67421 /* confdefs.h. */
67422 _ACEOF
67423 cat confdefs.h >>conftest.$ac_ext
67424 cat >>conftest.$ac_ext <<_ACEOF
67425 /* end confdefs.h. */
67426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67428 #define $ac_func innocuous_$ac_func
67430 /* System header to define __stub macros and hopefully few prototypes,
67431 which can conflict with char $ac_func (); below.
67432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67433 <limits.h> exists even on freestanding compilers. */
67435 #ifdef __STDC__
67436 # include <limits.h>
67437 #else
67438 # include <assert.h>
67439 #endif
67441 #undef $ac_func
67443 /* Override any gcc2 internal prototype to avoid an error. */
67444 #ifdef __cplusplus
67445 extern "C"
67447 #endif
67448 /* We use char because int might match the return type of a gcc2
67449 builtin and then its argument prototype would still apply. */
67450 char $ac_func ();
67451 /* The GNU C library defines this for functions which it implements
67452 to always fail with ENOSYS. Some functions are actually named
67453 something starting with __ and the normal name is an alias. */
67454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67455 choke me
67456 #else
67457 char (*f) () = $ac_func;
67458 #endif
67459 #ifdef __cplusplus
67461 #endif
67464 main ()
67466 return f != $ac_func;
67468 return 0;
67470 _ACEOF
67471 rm -f conftest.$ac_objext conftest$ac_exeext
67472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67473 (eval $ac_link) 2>conftest.er1
67474 ac_status=$?
67475 grep -v '^ *+' conftest.er1 >conftest.err
67476 rm -f conftest.er1
67477 cat conftest.err >&5
67478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67479 (exit $ac_status); } &&
67480 { ac_try='test -z "$ac_c_werror_flag"
67481 || test ! -s conftest.err'
67482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67483 (eval $ac_try) 2>&5
67484 ac_status=$?
67485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67486 (exit $ac_status); }; } &&
67487 { ac_try='test -s conftest$ac_exeext'
67488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67489 (eval $ac_try) 2>&5
67490 ac_status=$?
67491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67492 (exit $ac_status); }; }; then
67493 eval "$as_ac_var=yes"
67494 else
67495 echo "$as_me: failed program was:" >&5
67496 sed 's/^/| /' conftest.$ac_ext >&5
67498 eval "$as_ac_var=no"
67500 rm -f conftest.err conftest.$ac_objext \
67501 conftest$ac_exeext conftest.$ac_ext
67503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67505 if test `eval echo '${'$as_ac_var'}'` = yes; then
67506 cat >>confdefs.h <<_ACEOF
67507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67508 _ACEOF
67511 done
67513 else
67514 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67515 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67516 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67517 echo $ECHO_N "(cached) $ECHO_C" >&6
67518 else
67522 ac_ext=cc
67523 ac_cpp='$CXXCPP $CPPFLAGS'
67524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67528 cat >conftest.$ac_ext <<_ACEOF
67529 /* confdefs.h. */
67530 _ACEOF
67531 cat confdefs.h >>conftest.$ac_ext
67532 cat >>conftest.$ac_ext <<_ACEOF
67533 /* end confdefs.h. */
67534 #include <math.h>
67536 main ()
67538 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67540 return 0;
67542 _ACEOF
67543 rm -f conftest.$ac_objext
67544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67545 (eval $ac_compile) 2>conftest.er1
67546 ac_status=$?
67547 grep -v '^ *+' conftest.er1 >conftest.err
67548 rm -f conftest.er1
67549 cat conftest.err >&5
67550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67551 (exit $ac_status); } &&
67552 { ac_try='test -z "$ac_cxx_werror_flag"
67553 || test ! -s conftest.err'
67554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67555 (eval $ac_try) 2>&5
67556 ac_status=$?
67557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67558 (exit $ac_status); }; } &&
67559 { ac_try='test -s conftest.$ac_objext'
67560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67561 (eval $ac_try) 2>&5
67562 ac_status=$?
67563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67564 (exit $ac_status); }; }; then
67565 glibcxx_cv_func__float_trig_use=yes
67566 else
67567 echo "$as_me: failed program was:" >&5
67568 sed 's/^/| /' conftest.$ac_ext >&5
67570 glibcxx_cv_func__float_trig_use=no
67572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67573 ac_ext=c
67574 ac_cpp='$CPP $CPPFLAGS'
67575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67582 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67583 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67593 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67596 echo "$as_me:$LINENO: checking for $ac_func" >&5
67597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67598 if eval "test \"\${$as_ac_var+set}\" = set"; then
67599 echo $ECHO_N "(cached) $ECHO_C" >&6
67600 else
67601 if test x$gcc_no_link = xyes; then
67602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67604 { (exit 1); exit 1; }; }
67606 cat >conftest.$ac_ext <<_ACEOF
67607 /* confdefs.h. */
67608 _ACEOF
67609 cat confdefs.h >>conftest.$ac_ext
67610 cat >>conftest.$ac_ext <<_ACEOF
67611 /* end confdefs.h. */
67612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67614 #define $ac_func innocuous_$ac_func
67616 /* System header to define __stub macros and hopefully few prototypes,
67617 which can conflict with char $ac_func (); below.
67618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67619 <limits.h> exists even on freestanding compilers. */
67621 #ifdef __STDC__
67622 # include <limits.h>
67623 #else
67624 # include <assert.h>
67625 #endif
67627 #undef $ac_func
67629 /* Override any gcc2 internal prototype to avoid an error. */
67630 #ifdef __cplusplus
67631 extern "C"
67633 #endif
67634 /* We use char because int might match the return type of a gcc2
67635 builtin and then its argument prototype would still apply. */
67636 char $ac_func ();
67637 /* The GNU C library defines this for functions which it implements
67638 to always fail with ENOSYS. Some functions are actually named
67639 something starting with __ and the normal name is an alias. */
67640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67641 choke me
67642 #else
67643 char (*f) () = $ac_func;
67644 #endif
67645 #ifdef __cplusplus
67647 #endif
67650 main ()
67652 return f != $ac_func;
67654 return 0;
67656 _ACEOF
67657 rm -f conftest.$ac_objext conftest$ac_exeext
67658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67659 (eval $ac_link) 2>conftest.er1
67660 ac_status=$?
67661 grep -v '^ *+' conftest.er1 >conftest.err
67662 rm -f conftest.er1
67663 cat conftest.err >&5
67664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67665 (exit $ac_status); } &&
67666 { ac_try='test -z "$ac_c_werror_flag"
67667 || test ! -s conftest.err'
67668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67669 (eval $ac_try) 2>&5
67670 ac_status=$?
67671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67672 (exit $ac_status); }; } &&
67673 { ac_try='test -s conftest$ac_exeext'
67674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67675 (eval $ac_try) 2>&5
67676 ac_status=$?
67677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678 (exit $ac_status); }; }; then
67679 eval "$as_ac_var=yes"
67680 else
67681 echo "$as_me: failed program was:" >&5
67682 sed 's/^/| /' conftest.$ac_ext >&5
67684 eval "$as_ac_var=no"
67686 rm -f conftest.err conftest.$ac_objext \
67687 conftest$ac_exeext conftest.$ac_ext
67689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67691 if test `eval echo '${'$as_ac_var'}'` = yes; then
67692 cat >>confdefs.h <<_ACEOF
67693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67694 _ACEOF
67697 done
67715 echo "$as_me:$LINENO: checking for float round functions" >&5
67716 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67717 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67718 echo $ECHO_N "(cached) $ECHO_C" >&6
67719 else
67723 ac_ext=cc
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67729 cat >conftest.$ac_ext <<_ACEOF
67730 /* confdefs.h. */
67731 _ACEOF
67732 cat confdefs.h >>conftest.$ac_ext
67733 cat >>conftest.$ac_ext <<_ACEOF
67734 /* end confdefs.h. */
67735 #include <math.h>
67737 main ()
67739 ceilf (0); floorf (0);
67741 return 0;
67743 _ACEOF
67744 rm -f conftest.$ac_objext
67745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67746 (eval $ac_compile) 2>conftest.er1
67747 ac_status=$?
67748 grep -v '^ *+' conftest.er1 >conftest.err
67749 rm -f conftest.er1
67750 cat conftest.err >&5
67751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752 (exit $ac_status); } &&
67753 { ac_try='test -z "$ac_cxx_werror_flag"
67754 || test ! -s conftest.err'
67755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756 (eval $ac_try) 2>&5
67757 ac_status=$?
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); }; } &&
67760 { ac_try='test -s conftest.$ac_objext'
67761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762 (eval $ac_try) 2>&5
67763 ac_status=$?
67764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765 (exit $ac_status); }; }; then
67766 glibcxx_cv_func_float_round_use=yes
67767 else
67768 echo "$as_me: failed program was:" >&5
67769 sed 's/^/| /' conftest.$ac_ext >&5
67771 glibcxx_cv_func_float_round_use=no
67773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67774 ac_ext=c
67775 ac_cpp='$CPP $CPPFLAGS'
67776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67783 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67784 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67787 for ac_func in ceilf floorf
67789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67790 echo "$as_me:$LINENO: checking for $ac_func" >&5
67791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67792 if eval "test \"\${$as_ac_var+set}\" = set"; then
67793 echo $ECHO_N "(cached) $ECHO_C" >&6
67794 else
67795 if test x$gcc_no_link = xyes; then
67796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67798 { (exit 1); exit 1; }; }
67800 cat >conftest.$ac_ext <<_ACEOF
67801 /* confdefs.h. */
67802 _ACEOF
67803 cat confdefs.h >>conftest.$ac_ext
67804 cat >>conftest.$ac_ext <<_ACEOF
67805 /* end confdefs.h. */
67806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67808 #define $ac_func innocuous_$ac_func
67810 /* System header to define __stub macros and hopefully few prototypes,
67811 which can conflict with char $ac_func (); below.
67812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67813 <limits.h> exists even on freestanding compilers. */
67815 #ifdef __STDC__
67816 # include <limits.h>
67817 #else
67818 # include <assert.h>
67819 #endif
67821 #undef $ac_func
67823 /* Override any gcc2 internal prototype to avoid an error. */
67824 #ifdef __cplusplus
67825 extern "C"
67827 #endif
67828 /* We use char because int might match the return type of a gcc2
67829 builtin and then its argument prototype would still apply. */
67830 char $ac_func ();
67831 /* The GNU C library defines this for functions which it implements
67832 to always fail with ENOSYS. Some functions are actually named
67833 something starting with __ and the normal name is an alias. */
67834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67835 choke me
67836 #else
67837 char (*f) () = $ac_func;
67838 #endif
67839 #ifdef __cplusplus
67841 #endif
67844 main ()
67846 return f != $ac_func;
67848 return 0;
67850 _ACEOF
67851 rm -f conftest.$ac_objext conftest$ac_exeext
67852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67853 (eval $ac_link) 2>conftest.er1
67854 ac_status=$?
67855 grep -v '^ *+' conftest.er1 >conftest.err
67856 rm -f conftest.er1
67857 cat conftest.err >&5
67858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67859 (exit $ac_status); } &&
67860 { ac_try='test -z "$ac_c_werror_flag"
67861 || test ! -s conftest.err'
67862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67863 (eval $ac_try) 2>&5
67864 ac_status=$?
67865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67866 (exit $ac_status); }; } &&
67867 { ac_try='test -s conftest$ac_exeext'
67868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67869 (eval $ac_try) 2>&5
67870 ac_status=$?
67871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872 (exit $ac_status); }; }; then
67873 eval "$as_ac_var=yes"
67874 else
67875 echo "$as_me: failed program was:" >&5
67876 sed 's/^/| /' conftest.$ac_ext >&5
67878 eval "$as_ac_var=no"
67880 rm -f conftest.err conftest.$ac_objext \
67881 conftest$ac_exeext conftest.$ac_ext
67883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67885 if test `eval echo '${'$as_ac_var'}'` = yes; then
67886 cat >>confdefs.h <<_ACEOF
67887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67888 _ACEOF
67891 done
67893 else
67894 echo "$as_me:$LINENO: checking for _float round functions" >&5
67895 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67896 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67897 echo $ECHO_N "(cached) $ECHO_C" >&6
67898 else
67902 ac_ext=cc
67903 ac_cpp='$CXXCPP $CPPFLAGS'
67904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67908 cat >conftest.$ac_ext <<_ACEOF
67909 /* confdefs.h. */
67910 _ACEOF
67911 cat confdefs.h >>conftest.$ac_ext
67912 cat >>conftest.$ac_ext <<_ACEOF
67913 /* end confdefs.h. */
67914 #include <math.h>
67916 main ()
67918 _ceilf (0); _floorf (0);
67920 return 0;
67922 _ACEOF
67923 rm -f conftest.$ac_objext
67924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67925 (eval $ac_compile) 2>conftest.er1
67926 ac_status=$?
67927 grep -v '^ *+' conftest.er1 >conftest.err
67928 rm -f conftest.er1
67929 cat conftest.err >&5
67930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67931 (exit $ac_status); } &&
67932 { ac_try='test -z "$ac_cxx_werror_flag"
67933 || test ! -s conftest.err'
67934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67935 (eval $ac_try) 2>&5
67936 ac_status=$?
67937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67938 (exit $ac_status); }; } &&
67939 { ac_try='test -s conftest.$ac_objext'
67940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67941 (eval $ac_try) 2>&5
67942 ac_status=$?
67943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67944 (exit $ac_status); }; }; then
67945 glibcxx_cv_func__float_round_use=yes
67946 else
67947 echo "$as_me: failed program was:" >&5
67948 sed 's/^/| /' conftest.$ac_ext >&5
67950 glibcxx_cv_func__float_round_use=no
67952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67953 ac_ext=c
67954 ac_cpp='$CPP $CPPFLAGS'
67955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67962 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67963 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67966 for ac_func in _ceilf _floorf
67968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67969 echo "$as_me:$LINENO: checking for $ac_func" >&5
67970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67971 if eval "test \"\${$as_ac_var+set}\" = set"; then
67972 echo $ECHO_N "(cached) $ECHO_C" >&6
67973 else
67974 if test x$gcc_no_link = xyes; then
67975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67977 { (exit 1); exit 1; }; }
67979 cat >conftest.$ac_ext <<_ACEOF
67980 /* confdefs.h. */
67981 _ACEOF
67982 cat confdefs.h >>conftest.$ac_ext
67983 cat >>conftest.$ac_ext <<_ACEOF
67984 /* end confdefs.h. */
67985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67987 #define $ac_func innocuous_$ac_func
67989 /* System header to define __stub macros and hopefully few prototypes,
67990 which can conflict with char $ac_func (); below.
67991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67992 <limits.h> exists even on freestanding compilers. */
67994 #ifdef __STDC__
67995 # include <limits.h>
67996 #else
67997 # include <assert.h>
67998 #endif
68000 #undef $ac_func
68002 /* Override any gcc2 internal prototype to avoid an error. */
68003 #ifdef __cplusplus
68004 extern "C"
68006 #endif
68007 /* We use char because int might match the return type of a gcc2
68008 builtin and then its argument prototype would still apply. */
68009 char $ac_func ();
68010 /* The GNU C library defines this for functions which it implements
68011 to always fail with ENOSYS. Some functions are actually named
68012 something starting with __ and the normal name is an alias. */
68013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68014 choke me
68015 #else
68016 char (*f) () = $ac_func;
68017 #endif
68018 #ifdef __cplusplus
68020 #endif
68023 main ()
68025 return f != $ac_func;
68027 return 0;
68029 _ACEOF
68030 rm -f conftest.$ac_objext conftest$ac_exeext
68031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68032 (eval $ac_link) 2>conftest.er1
68033 ac_status=$?
68034 grep -v '^ *+' conftest.er1 >conftest.err
68035 rm -f conftest.er1
68036 cat conftest.err >&5
68037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68038 (exit $ac_status); } &&
68039 { ac_try='test -z "$ac_c_werror_flag"
68040 || test ! -s conftest.err'
68041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68042 (eval $ac_try) 2>&5
68043 ac_status=$?
68044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68045 (exit $ac_status); }; } &&
68046 { ac_try='test -s conftest$ac_exeext'
68047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68048 (eval $ac_try) 2>&5
68049 ac_status=$?
68050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68051 (exit $ac_status); }; }; then
68052 eval "$as_ac_var=yes"
68053 else
68054 echo "$as_me: failed program was:" >&5
68055 sed 's/^/| /' conftest.$ac_ext >&5
68057 eval "$as_ac_var=no"
68059 rm -f conftest.err conftest.$ac_objext \
68060 conftest$ac_exeext conftest.$ac_ext
68062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68064 if test `eval echo '${'$as_ac_var'}'` = yes; then
68065 cat >>confdefs.h <<_ACEOF
68066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68067 _ACEOF
68070 done
68082 echo "$as_me:$LINENO: checking for expf declaration" >&5
68083 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68084 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68085 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68086 echo $ECHO_N "(cached) $ECHO_C" >&6
68087 else
68091 ac_ext=cc
68092 ac_cpp='$CXXCPP $CPPFLAGS'
68093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68097 cat >conftest.$ac_ext <<_ACEOF
68098 /* confdefs.h. */
68099 _ACEOF
68100 cat confdefs.h >>conftest.$ac_ext
68101 cat >>conftest.$ac_ext <<_ACEOF
68102 /* end confdefs.h. */
68103 #include <math.h>
68104 #ifdef HAVE_IEEEFP_H
68105 #include <ieeefp.h>
68106 #endif
68109 main ()
68111 expf(0);
68113 return 0;
68115 _ACEOF
68116 rm -f conftest.$ac_objext
68117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68118 (eval $ac_compile) 2>conftest.er1
68119 ac_status=$?
68120 grep -v '^ *+' conftest.er1 >conftest.err
68121 rm -f conftest.er1
68122 cat conftest.err >&5
68123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68124 (exit $ac_status); } &&
68125 { ac_try='test -z "$ac_cxx_werror_flag"
68126 || test ! -s conftest.err'
68127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68128 (eval $ac_try) 2>&5
68129 ac_status=$?
68130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68131 (exit $ac_status); }; } &&
68132 { ac_try='test -s conftest.$ac_objext'
68133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68134 (eval $ac_try) 2>&5
68135 ac_status=$?
68136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137 (exit $ac_status); }; }; then
68138 glibcxx_cv_func_expf_use=yes
68139 else
68140 echo "$as_me: failed program was:" >&5
68141 sed 's/^/| /' conftest.$ac_ext >&5
68143 glibcxx_cv_func_expf_use=no
68145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68146 ac_ext=c
68147 ac_cpp='$CPP $CPPFLAGS'
68148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68157 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68159 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68161 for ac_func in expf
68163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68164 echo "$as_me:$LINENO: checking for $ac_func" >&5
68165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68166 if eval "test \"\${$as_ac_var+set}\" = set"; then
68167 echo $ECHO_N "(cached) $ECHO_C" >&6
68168 else
68169 if test x$gcc_no_link = xyes; then
68170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68172 { (exit 1); exit 1; }; }
68174 cat >conftest.$ac_ext <<_ACEOF
68175 /* confdefs.h. */
68176 _ACEOF
68177 cat confdefs.h >>conftest.$ac_ext
68178 cat >>conftest.$ac_ext <<_ACEOF
68179 /* end confdefs.h. */
68180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68182 #define $ac_func innocuous_$ac_func
68184 /* System header to define __stub macros and hopefully few prototypes,
68185 which can conflict with char $ac_func (); below.
68186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68187 <limits.h> exists even on freestanding compilers. */
68189 #ifdef __STDC__
68190 # include <limits.h>
68191 #else
68192 # include <assert.h>
68193 #endif
68195 #undef $ac_func
68197 /* Override any gcc2 internal prototype to avoid an error. */
68198 #ifdef __cplusplus
68199 extern "C"
68201 #endif
68202 /* We use char because int might match the return type of a gcc2
68203 builtin and then its argument prototype would still apply. */
68204 char $ac_func ();
68205 /* The GNU C library defines this for functions which it implements
68206 to always fail with ENOSYS. Some functions are actually named
68207 something starting with __ and the normal name is an alias. */
68208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68209 choke me
68210 #else
68211 char (*f) () = $ac_func;
68212 #endif
68213 #ifdef __cplusplus
68215 #endif
68218 main ()
68220 return f != $ac_func;
68222 return 0;
68224 _ACEOF
68225 rm -f conftest.$ac_objext conftest$ac_exeext
68226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68227 (eval $ac_link) 2>conftest.er1
68228 ac_status=$?
68229 grep -v '^ *+' conftest.er1 >conftest.err
68230 rm -f conftest.er1
68231 cat conftest.err >&5
68232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68233 (exit $ac_status); } &&
68234 { ac_try='test -z "$ac_c_werror_flag"
68235 || test ! -s conftest.err'
68236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68237 (eval $ac_try) 2>&5
68238 ac_status=$?
68239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240 (exit $ac_status); }; } &&
68241 { ac_try='test -s conftest$ac_exeext'
68242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68243 (eval $ac_try) 2>&5
68244 ac_status=$?
68245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246 (exit $ac_status); }; }; then
68247 eval "$as_ac_var=yes"
68248 else
68249 echo "$as_me: failed program was:" >&5
68250 sed 's/^/| /' conftest.$ac_ext >&5
68252 eval "$as_ac_var=no"
68254 rm -f conftest.err conftest.$ac_objext \
68255 conftest$ac_exeext conftest.$ac_ext
68257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68259 if test `eval echo '${'$as_ac_var'}'` = yes; then
68260 cat >>confdefs.h <<_ACEOF
68261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68262 _ACEOF
68265 done
68267 else
68269 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68270 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68271 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68272 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68273 echo $ECHO_N "(cached) $ECHO_C" >&6
68274 else
68278 ac_ext=cc
68279 ac_cpp='$CXXCPP $CPPFLAGS'
68280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68284 cat >conftest.$ac_ext <<_ACEOF
68285 /* confdefs.h. */
68286 _ACEOF
68287 cat confdefs.h >>conftest.$ac_ext
68288 cat >>conftest.$ac_ext <<_ACEOF
68289 /* end confdefs.h. */
68290 #include <math.h>
68291 #ifdef HAVE_IEEEFP_H
68292 #include <ieeefp.h>
68293 #endif
68296 main ()
68298 _expf(0);
68300 return 0;
68302 _ACEOF
68303 rm -f conftest.$ac_objext
68304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68305 (eval $ac_compile) 2>conftest.er1
68306 ac_status=$?
68307 grep -v '^ *+' conftest.er1 >conftest.err
68308 rm -f conftest.er1
68309 cat conftest.err >&5
68310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68311 (exit $ac_status); } &&
68312 { ac_try='test -z "$ac_cxx_werror_flag"
68313 || test ! -s conftest.err'
68314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68315 (eval $ac_try) 2>&5
68316 ac_status=$?
68317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68318 (exit $ac_status); }; } &&
68319 { ac_try='test -s conftest.$ac_objext'
68320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68321 (eval $ac_try) 2>&5
68322 ac_status=$?
68323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68324 (exit $ac_status); }; }; then
68325 glibcxx_cv_func__expf_use=yes
68326 else
68327 echo "$as_me: failed program was:" >&5
68328 sed 's/^/| /' conftest.$ac_ext >&5
68330 glibcxx_cv_func__expf_use=no
68332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68333 ac_ext=c
68334 ac_cpp='$CPP $CPPFLAGS'
68335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68344 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68346 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68348 for ac_func in _expf
68350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68351 echo "$as_me:$LINENO: checking for $ac_func" >&5
68352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68353 if eval "test \"\${$as_ac_var+set}\" = set"; then
68354 echo $ECHO_N "(cached) $ECHO_C" >&6
68355 else
68356 if test x$gcc_no_link = xyes; then
68357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68359 { (exit 1); exit 1; }; }
68361 cat >conftest.$ac_ext <<_ACEOF
68362 /* confdefs.h. */
68363 _ACEOF
68364 cat confdefs.h >>conftest.$ac_ext
68365 cat >>conftest.$ac_ext <<_ACEOF
68366 /* end confdefs.h. */
68367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68369 #define $ac_func innocuous_$ac_func
68371 /* System header to define __stub macros and hopefully few prototypes,
68372 which can conflict with char $ac_func (); below.
68373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68374 <limits.h> exists even on freestanding compilers. */
68376 #ifdef __STDC__
68377 # include <limits.h>
68378 #else
68379 # include <assert.h>
68380 #endif
68382 #undef $ac_func
68384 /* Override any gcc2 internal prototype to avoid an error. */
68385 #ifdef __cplusplus
68386 extern "C"
68388 #endif
68389 /* We use char because int might match the return type of a gcc2
68390 builtin and then its argument prototype would still apply. */
68391 char $ac_func ();
68392 /* The GNU C library defines this for functions which it implements
68393 to always fail with ENOSYS. Some functions are actually named
68394 something starting with __ and the normal name is an alias. */
68395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68396 choke me
68397 #else
68398 char (*f) () = $ac_func;
68399 #endif
68400 #ifdef __cplusplus
68402 #endif
68405 main ()
68407 return f != $ac_func;
68409 return 0;
68411 _ACEOF
68412 rm -f conftest.$ac_objext conftest$ac_exeext
68413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68414 (eval $ac_link) 2>conftest.er1
68415 ac_status=$?
68416 grep -v '^ *+' conftest.er1 >conftest.err
68417 rm -f conftest.er1
68418 cat conftest.err >&5
68419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68420 (exit $ac_status); } &&
68421 { ac_try='test -z "$ac_c_werror_flag"
68422 || test ! -s conftest.err'
68423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68424 (eval $ac_try) 2>&5
68425 ac_status=$?
68426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68427 (exit $ac_status); }; } &&
68428 { ac_try='test -s conftest$ac_exeext'
68429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68430 (eval $ac_try) 2>&5
68431 ac_status=$?
68432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68433 (exit $ac_status); }; }; then
68434 eval "$as_ac_var=yes"
68435 else
68436 echo "$as_me: failed program was:" >&5
68437 sed 's/^/| /' conftest.$ac_ext >&5
68439 eval "$as_ac_var=no"
68441 rm -f conftest.err conftest.$ac_objext \
68442 conftest$ac_exeext conftest.$ac_ext
68444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68446 if test `eval echo '${'$as_ac_var'}'` = yes; then
68447 cat >>confdefs.h <<_ACEOF
68448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68449 _ACEOF
68452 done
68462 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68463 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68464 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68465 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68466 echo $ECHO_N "(cached) $ECHO_C" >&6
68467 else
68471 ac_ext=cc
68472 ac_cpp='$CXXCPP $CPPFLAGS'
68473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68477 cat >conftest.$ac_ext <<_ACEOF
68478 /* confdefs.h. */
68479 _ACEOF
68480 cat confdefs.h >>conftest.$ac_ext
68481 cat >>conftest.$ac_ext <<_ACEOF
68482 /* end confdefs.h. */
68483 #include <math.h>
68484 #ifdef HAVE_IEEEFP_H
68485 #include <ieeefp.h>
68486 #endif
68489 main ()
68491 isnanf(0);
68493 return 0;
68495 _ACEOF
68496 rm -f conftest.$ac_objext
68497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68498 (eval $ac_compile) 2>conftest.er1
68499 ac_status=$?
68500 grep -v '^ *+' conftest.er1 >conftest.err
68501 rm -f conftest.er1
68502 cat conftest.err >&5
68503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68504 (exit $ac_status); } &&
68505 { ac_try='test -z "$ac_cxx_werror_flag"
68506 || test ! -s conftest.err'
68507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68508 (eval $ac_try) 2>&5
68509 ac_status=$?
68510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68511 (exit $ac_status); }; } &&
68512 { ac_try='test -s conftest.$ac_objext'
68513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68514 (eval $ac_try) 2>&5
68515 ac_status=$?
68516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68517 (exit $ac_status); }; }; then
68518 glibcxx_cv_func_isnanf_use=yes
68519 else
68520 echo "$as_me: failed program was:" >&5
68521 sed 's/^/| /' conftest.$ac_ext >&5
68523 glibcxx_cv_func_isnanf_use=no
68525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68526 ac_ext=c
68527 ac_cpp='$CPP $CPPFLAGS'
68528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68537 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68539 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68541 for ac_func in isnanf
68543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68544 echo "$as_me:$LINENO: checking for $ac_func" >&5
68545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68546 if eval "test \"\${$as_ac_var+set}\" = set"; then
68547 echo $ECHO_N "(cached) $ECHO_C" >&6
68548 else
68549 if test x$gcc_no_link = xyes; then
68550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68552 { (exit 1); exit 1; }; }
68554 cat >conftest.$ac_ext <<_ACEOF
68555 /* confdefs.h. */
68556 _ACEOF
68557 cat confdefs.h >>conftest.$ac_ext
68558 cat >>conftest.$ac_ext <<_ACEOF
68559 /* end confdefs.h. */
68560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68562 #define $ac_func innocuous_$ac_func
68564 /* System header to define __stub macros and hopefully few prototypes,
68565 which can conflict with char $ac_func (); below.
68566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68567 <limits.h> exists even on freestanding compilers. */
68569 #ifdef __STDC__
68570 # include <limits.h>
68571 #else
68572 # include <assert.h>
68573 #endif
68575 #undef $ac_func
68577 /* Override any gcc2 internal prototype to avoid an error. */
68578 #ifdef __cplusplus
68579 extern "C"
68581 #endif
68582 /* We use char because int might match the return type of a gcc2
68583 builtin and then its argument prototype would still apply. */
68584 char $ac_func ();
68585 /* The GNU C library defines this for functions which it implements
68586 to always fail with ENOSYS. Some functions are actually named
68587 something starting with __ and the normal name is an alias. */
68588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68589 choke me
68590 #else
68591 char (*f) () = $ac_func;
68592 #endif
68593 #ifdef __cplusplus
68595 #endif
68598 main ()
68600 return f != $ac_func;
68602 return 0;
68604 _ACEOF
68605 rm -f conftest.$ac_objext conftest$ac_exeext
68606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68607 (eval $ac_link) 2>conftest.er1
68608 ac_status=$?
68609 grep -v '^ *+' conftest.er1 >conftest.err
68610 rm -f conftest.er1
68611 cat conftest.err >&5
68612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68613 (exit $ac_status); } &&
68614 { ac_try='test -z "$ac_c_werror_flag"
68615 || test ! -s conftest.err'
68616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68617 (eval $ac_try) 2>&5
68618 ac_status=$?
68619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68620 (exit $ac_status); }; } &&
68621 { ac_try='test -s conftest$ac_exeext'
68622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68623 (eval $ac_try) 2>&5
68624 ac_status=$?
68625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68626 (exit $ac_status); }; }; then
68627 eval "$as_ac_var=yes"
68628 else
68629 echo "$as_me: failed program was:" >&5
68630 sed 's/^/| /' conftest.$ac_ext >&5
68632 eval "$as_ac_var=no"
68634 rm -f conftest.err conftest.$ac_objext \
68635 conftest$ac_exeext conftest.$ac_ext
68637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68639 if test `eval echo '${'$as_ac_var'}'` = yes; then
68640 cat >>confdefs.h <<_ACEOF
68641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68642 _ACEOF
68645 done
68647 else
68649 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68650 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68651 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68652 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68653 echo $ECHO_N "(cached) $ECHO_C" >&6
68654 else
68658 ac_ext=cc
68659 ac_cpp='$CXXCPP $CPPFLAGS'
68660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68664 cat >conftest.$ac_ext <<_ACEOF
68665 /* confdefs.h. */
68666 _ACEOF
68667 cat confdefs.h >>conftest.$ac_ext
68668 cat >>conftest.$ac_ext <<_ACEOF
68669 /* end confdefs.h. */
68670 #include <math.h>
68671 #ifdef HAVE_IEEEFP_H
68672 #include <ieeefp.h>
68673 #endif
68676 main ()
68678 _isnanf(0);
68680 return 0;
68682 _ACEOF
68683 rm -f conftest.$ac_objext
68684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68685 (eval $ac_compile) 2>conftest.er1
68686 ac_status=$?
68687 grep -v '^ *+' conftest.er1 >conftest.err
68688 rm -f conftest.er1
68689 cat conftest.err >&5
68690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68691 (exit $ac_status); } &&
68692 { ac_try='test -z "$ac_cxx_werror_flag"
68693 || test ! -s conftest.err'
68694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68695 (eval $ac_try) 2>&5
68696 ac_status=$?
68697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68698 (exit $ac_status); }; } &&
68699 { ac_try='test -s conftest.$ac_objext'
68700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68701 (eval $ac_try) 2>&5
68702 ac_status=$?
68703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68704 (exit $ac_status); }; }; then
68705 glibcxx_cv_func__isnanf_use=yes
68706 else
68707 echo "$as_me: failed program was:" >&5
68708 sed 's/^/| /' conftest.$ac_ext >&5
68710 glibcxx_cv_func__isnanf_use=no
68712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68713 ac_ext=c
68714 ac_cpp='$CPP $CPPFLAGS'
68715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68724 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68726 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68728 for ac_func in _isnanf
68730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68731 echo "$as_me:$LINENO: checking for $ac_func" >&5
68732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68733 if eval "test \"\${$as_ac_var+set}\" = set"; then
68734 echo $ECHO_N "(cached) $ECHO_C" >&6
68735 else
68736 if test x$gcc_no_link = xyes; then
68737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68739 { (exit 1); exit 1; }; }
68741 cat >conftest.$ac_ext <<_ACEOF
68742 /* confdefs.h. */
68743 _ACEOF
68744 cat confdefs.h >>conftest.$ac_ext
68745 cat >>conftest.$ac_ext <<_ACEOF
68746 /* end confdefs.h. */
68747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68749 #define $ac_func innocuous_$ac_func
68751 /* System header to define __stub macros and hopefully few prototypes,
68752 which can conflict with char $ac_func (); below.
68753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68754 <limits.h> exists even on freestanding compilers. */
68756 #ifdef __STDC__
68757 # include <limits.h>
68758 #else
68759 # include <assert.h>
68760 #endif
68762 #undef $ac_func
68764 /* Override any gcc2 internal prototype to avoid an error. */
68765 #ifdef __cplusplus
68766 extern "C"
68768 #endif
68769 /* We use char because int might match the return type of a gcc2
68770 builtin and then its argument prototype would still apply. */
68771 char $ac_func ();
68772 /* The GNU C library defines this for functions which it implements
68773 to always fail with ENOSYS. Some functions are actually named
68774 something starting with __ and the normal name is an alias. */
68775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68776 choke me
68777 #else
68778 char (*f) () = $ac_func;
68779 #endif
68780 #ifdef __cplusplus
68782 #endif
68785 main ()
68787 return f != $ac_func;
68789 return 0;
68791 _ACEOF
68792 rm -f conftest.$ac_objext conftest$ac_exeext
68793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68794 (eval $ac_link) 2>conftest.er1
68795 ac_status=$?
68796 grep -v '^ *+' conftest.er1 >conftest.err
68797 rm -f conftest.er1
68798 cat conftest.err >&5
68799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68800 (exit $ac_status); } &&
68801 { ac_try='test -z "$ac_c_werror_flag"
68802 || test ! -s conftest.err'
68803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68804 (eval $ac_try) 2>&5
68805 ac_status=$?
68806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807 (exit $ac_status); }; } &&
68808 { ac_try='test -s conftest$ac_exeext'
68809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68810 (eval $ac_try) 2>&5
68811 ac_status=$?
68812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68813 (exit $ac_status); }; }; then
68814 eval "$as_ac_var=yes"
68815 else
68816 echo "$as_me: failed program was:" >&5
68817 sed 's/^/| /' conftest.$ac_ext >&5
68819 eval "$as_ac_var=no"
68821 rm -f conftest.err conftest.$ac_objext \
68822 conftest$ac_exeext conftest.$ac_ext
68824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68826 if test `eval echo '${'$as_ac_var'}'` = yes; then
68827 cat >>confdefs.h <<_ACEOF
68828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68829 _ACEOF
68832 done
68842 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68843 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68844 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68845 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68846 echo $ECHO_N "(cached) $ECHO_C" >&6
68847 else
68851 ac_ext=cc
68852 ac_cpp='$CXXCPP $CPPFLAGS'
68853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68857 cat >conftest.$ac_ext <<_ACEOF
68858 /* confdefs.h. */
68859 _ACEOF
68860 cat confdefs.h >>conftest.$ac_ext
68861 cat >>conftest.$ac_ext <<_ACEOF
68862 /* end confdefs.h. */
68863 #include <math.h>
68864 #ifdef HAVE_IEEEFP_H
68865 #include <ieeefp.h>
68866 #endif
68869 main ()
68871 isinff(0);
68873 return 0;
68875 _ACEOF
68876 rm -f conftest.$ac_objext
68877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68878 (eval $ac_compile) 2>conftest.er1
68879 ac_status=$?
68880 grep -v '^ *+' conftest.er1 >conftest.err
68881 rm -f conftest.er1
68882 cat conftest.err >&5
68883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68884 (exit $ac_status); } &&
68885 { ac_try='test -z "$ac_cxx_werror_flag"
68886 || test ! -s conftest.err'
68887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68888 (eval $ac_try) 2>&5
68889 ac_status=$?
68890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68891 (exit $ac_status); }; } &&
68892 { ac_try='test -s conftest.$ac_objext'
68893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68894 (eval $ac_try) 2>&5
68895 ac_status=$?
68896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68897 (exit $ac_status); }; }; then
68898 glibcxx_cv_func_isinff_use=yes
68899 else
68900 echo "$as_me: failed program was:" >&5
68901 sed 's/^/| /' conftest.$ac_ext >&5
68903 glibcxx_cv_func_isinff_use=no
68905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68906 ac_ext=c
68907 ac_cpp='$CPP $CPPFLAGS'
68908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68917 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68919 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68921 for ac_func in isinff
68923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68924 echo "$as_me:$LINENO: checking for $ac_func" >&5
68925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68926 if eval "test \"\${$as_ac_var+set}\" = set"; then
68927 echo $ECHO_N "(cached) $ECHO_C" >&6
68928 else
68929 if test x$gcc_no_link = xyes; then
68930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68932 { (exit 1); exit 1; }; }
68934 cat >conftest.$ac_ext <<_ACEOF
68935 /* confdefs.h. */
68936 _ACEOF
68937 cat confdefs.h >>conftest.$ac_ext
68938 cat >>conftest.$ac_ext <<_ACEOF
68939 /* end confdefs.h. */
68940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68942 #define $ac_func innocuous_$ac_func
68944 /* System header to define __stub macros and hopefully few prototypes,
68945 which can conflict with char $ac_func (); below.
68946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68947 <limits.h> exists even on freestanding compilers. */
68949 #ifdef __STDC__
68950 # include <limits.h>
68951 #else
68952 # include <assert.h>
68953 #endif
68955 #undef $ac_func
68957 /* Override any gcc2 internal prototype to avoid an error. */
68958 #ifdef __cplusplus
68959 extern "C"
68961 #endif
68962 /* We use char because int might match the return type of a gcc2
68963 builtin and then its argument prototype would still apply. */
68964 char $ac_func ();
68965 /* The GNU C library defines this for functions which it implements
68966 to always fail with ENOSYS. Some functions are actually named
68967 something starting with __ and the normal name is an alias. */
68968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68969 choke me
68970 #else
68971 char (*f) () = $ac_func;
68972 #endif
68973 #ifdef __cplusplus
68975 #endif
68978 main ()
68980 return f != $ac_func;
68982 return 0;
68984 _ACEOF
68985 rm -f conftest.$ac_objext conftest$ac_exeext
68986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68987 (eval $ac_link) 2>conftest.er1
68988 ac_status=$?
68989 grep -v '^ *+' conftest.er1 >conftest.err
68990 rm -f conftest.er1
68991 cat conftest.err >&5
68992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68993 (exit $ac_status); } &&
68994 { ac_try='test -z "$ac_c_werror_flag"
68995 || test ! -s conftest.err'
68996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68997 (eval $ac_try) 2>&5
68998 ac_status=$?
68999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69000 (exit $ac_status); }; } &&
69001 { ac_try='test -s conftest$ac_exeext'
69002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69003 (eval $ac_try) 2>&5
69004 ac_status=$?
69005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69006 (exit $ac_status); }; }; then
69007 eval "$as_ac_var=yes"
69008 else
69009 echo "$as_me: failed program was:" >&5
69010 sed 's/^/| /' conftest.$ac_ext >&5
69012 eval "$as_ac_var=no"
69014 rm -f conftest.err conftest.$ac_objext \
69015 conftest$ac_exeext conftest.$ac_ext
69017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69019 if test `eval echo '${'$as_ac_var'}'` = yes; then
69020 cat >>confdefs.h <<_ACEOF
69021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69022 _ACEOF
69025 done
69027 else
69029 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
69030 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
69031 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
69032 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
69033 echo $ECHO_N "(cached) $ECHO_C" >&6
69034 else
69038 ac_ext=cc
69039 ac_cpp='$CXXCPP $CPPFLAGS'
69040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69044 cat >conftest.$ac_ext <<_ACEOF
69045 /* confdefs.h. */
69046 _ACEOF
69047 cat confdefs.h >>conftest.$ac_ext
69048 cat >>conftest.$ac_ext <<_ACEOF
69049 /* end confdefs.h. */
69050 #include <math.h>
69051 #ifdef HAVE_IEEEFP_H
69052 #include <ieeefp.h>
69053 #endif
69056 main ()
69058 _isinff(0);
69060 return 0;
69062 _ACEOF
69063 rm -f conftest.$ac_objext
69064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69065 (eval $ac_compile) 2>conftest.er1
69066 ac_status=$?
69067 grep -v '^ *+' conftest.er1 >conftest.err
69068 rm -f conftest.er1
69069 cat conftest.err >&5
69070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69071 (exit $ac_status); } &&
69072 { ac_try='test -z "$ac_cxx_werror_flag"
69073 || test ! -s conftest.err'
69074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69075 (eval $ac_try) 2>&5
69076 ac_status=$?
69077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69078 (exit $ac_status); }; } &&
69079 { ac_try='test -s conftest.$ac_objext'
69080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69081 (eval $ac_try) 2>&5
69082 ac_status=$?
69083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69084 (exit $ac_status); }; }; then
69085 glibcxx_cv_func__isinff_use=yes
69086 else
69087 echo "$as_me: failed program was:" >&5
69088 sed 's/^/| /' conftest.$ac_ext >&5
69090 glibcxx_cv_func__isinff_use=no
69092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69093 ac_ext=c
69094 ac_cpp='$CPP $CPPFLAGS'
69095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69104 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69106 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69108 for ac_func in _isinff
69110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69111 echo "$as_me:$LINENO: checking for $ac_func" >&5
69112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69113 if eval "test \"\${$as_ac_var+set}\" = set"; then
69114 echo $ECHO_N "(cached) $ECHO_C" >&6
69115 else
69116 if test x$gcc_no_link = xyes; then
69117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69119 { (exit 1); exit 1; }; }
69121 cat >conftest.$ac_ext <<_ACEOF
69122 /* confdefs.h. */
69123 _ACEOF
69124 cat confdefs.h >>conftest.$ac_ext
69125 cat >>conftest.$ac_ext <<_ACEOF
69126 /* end confdefs.h. */
69127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69129 #define $ac_func innocuous_$ac_func
69131 /* System header to define __stub macros and hopefully few prototypes,
69132 which can conflict with char $ac_func (); below.
69133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69134 <limits.h> exists even on freestanding compilers. */
69136 #ifdef __STDC__
69137 # include <limits.h>
69138 #else
69139 # include <assert.h>
69140 #endif
69142 #undef $ac_func
69144 /* Override any gcc2 internal prototype to avoid an error. */
69145 #ifdef __cplusplus
69146 extern "C"
69148 #endif
69149 /* We use char because int might match the return type of a gcc2
69150 builtin and then its argument prototype would still apply. */
69151 char $ac_func ();
69152 /* The GNU C library defines this for functions which it implements
69153 to always fail with ENOSYS. Some functions are actually named
69154 something starting with __ and the normal name is an alias. */
69155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69156 choke me
69157 #else
69158 char (*f) () = $ac_func;
69159 #endif
69160 #ifdef __cplusplus
69162 #endif
69165 main ()
69167 return f != $ac_func;
69169 return 0;
69171 _ACEOF
69172 rm -f conftest.$ac_objext conftest$ac_exeext
69173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69174 (eval $ac_link) 2>conftest.er1
69175 ac_status=$?
69176 grep -v '^ *+' conftest.er1 >conftest.err
69177 rm -f conftest.er1
69178 cat conftest.err >&5
69179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69180 (exit $ac_status); } &&
69181 { ac_try='test -z "$ac_c_werror_flag"
69182 || test ! -s conftest.err'
69183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69184 (eval $ac_try) 2>&5
69185 ac_status=$?
69186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69187 (exit $ac_status); }; } &&
69188 { ac_try='test -s conftest$ac_exeext'
69189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69190 (eval $ac_try) 2>&5
69191 ac_status=$?
69192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69193 (exit $ac_status); }; }; then
69194 eval "$as_ac_var=yes"
69195 else
69196 echo "$as_me: failed program was:" >&5
69197 sed 's/^/| /' conftest.$ac_ext >&5
69199 eval "$as_ac_var=no"
69201 rm -f conftest.err conftest.$ac_objext \
69202 conftest$ac_exeext conftest.$ac_ext
69204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69206 if test `eval echo '${'$as_ac_var'}'` = yes; then
69207 cat >>confdefs.h <<_ACEOF
69208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69209 _ACEOF
69212 done
69222 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69223 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69224 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69225 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69226 echo $ECHO_N "(cached) $ECHO_C" >&6
69227 else
69231 ac_ext=cc
69232 ac_cpp='$CXXCPP $CPPFLAGS'
69233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69237 cat >conftest.$ac_ext <<_ACEOF
69238 /* confdefs.h. */
69239 _ACEOF
69240 cat confdefs.h >>conftest.$ac_ext
69241 cat >>conftest.$ac_ext <<_ACEOF
69242 /* end confdefs.h. */
69243 #include <math.h>
69245 main ()
69247 atan2f(0, 0);
69249 return 0;
69251 _ACEOF
69252 rm -f conftest.$ac_objext
69253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69254 (eval $ac_compile) 2>conftest.er1
69255 ac_status=$?
69256 grep -v '^ *+' conftest.er1 >conftest.err
69257 rm -f conftest.er1
69258 cat conftest.err >&5
69259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69260 (exit $ac_status); } &&
69261 { ac_try='test -z "$ac_cxx_werror_flag"
69262 || test ! -s conftest.err'
69263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69264 (eval $ac_try) 2>&5
69265 ac_status=$?
69266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69267 (exit $ac_status); }; } &&
69268 { ac_try='test -s conftest.$ac_objext'
69269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69270 (eval $ac_try) 2>&5
69271 ac_status=$?
69272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69273 (exit $ac_status); }; }; then
69274 glibcxx_cv_func_atan2f_use=yes
69275 else
69276 echo "$as_me: failed program was:" >&5
69277 sed 's/^/| /' conftest.$ac_ext >&5
69279 glibcxx_cv_func_atan2f_use=no
69281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69282 ac_ext=c
69283 ac_cpp='$CPP $CPPFLAGS'
69284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69293 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69295 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69297 for ac_func in atan2f
69299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69300 echo "$as_me:$LINENO: checking for $ac_func" >&5
69301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69302 if eval "test \"\${$as_ac_var+set}\" = set"; then
69303 echo $ECHO_N "(cached) $ECHO_C" >&6
69304 else
69305 if test x$gcc_no_link = xyes; then
69306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69308 { (exit 1); exit 1; }; }
69310 cat >conftest.$ac_ext <<_ACEOF
69311 /* confdefs.h. */
69312 _ACEOF
69313 cat confdefs.h >>conftest.$ac_ext
69314 cat >>conftest.$ac_ext <<_ACEOF
69315 /* end confdefs.h. */
69316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69318 #define $ac_func innocuous_$ac_func
69320 /* System header to define __stub macros and hopefully few prototypes,
69321 which can conflict with char $ac_func (); below.
69322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69323 <limits.h> exists even on freestanding compilers. */
69325 #ifdef __STDC__
69326 # include <limits.h>
69327 #else
69328 # include <assert.h>
69329 #endif
69331 #undef $ac_func
69333 /* Override any gcc2 internal prototype to avoid an error. */
69334 #ifdef __cplusplus
69335 extern "C"
69337 #endif
69338 /* We use char because int might match the return type of a gcc2
69339 builtin and then its argument prototype would still apply. */
69340 char $ac_func ();
69341 /* The GNU C library defines this for functions which it implements
69342 to always fail with ENOSYS. Some functions are actually named
69343 something starting with __ and the normal name is an alias. */
69344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69345 choke me
69346 #else
69347 char (*f) () = $ac_func;
69348 #endif
69349 #ifdef __cplusplus
69351 #endif
69354 main ()
69356 return f != $ac_func;
69358 return 0;
69360 _ACEOF
69361 rm -f conftest.$ac_objext conftest$ac_exeext
69362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69363 (eval $ac_link) 2>conftest.er1
69364 ac_status=$?
69365 grep -v '^ *+' conftest.er1 >conftest.err
69366 rm -f conftest.er1
69367 cat conftest.err >&5
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); } &&
69370 { ac_try='test -z "$ac_c_werror_flag"
69371 || test ! -s conftest.err'
69372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373 (eval $ac_try) 2>&5
69374 ac_status=$?
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); }; } &&
69377 { ac_try='test -s conftest$ac_exeext'
69378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379 (eval $ac_try) 2>&5
69380 ac_status=$?
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); }; }; then
69383 eval "$as_ac_var=yes"
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69388 eval "$as_ac_var=no"
69390 rm -f conftest.err conftest.$ac_objext \
69391 conftest$ac_exeext conftest.$ac_ext
69393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69395 if test `eval echo '${'$as_ac_var'}'` = yes; then
69396 cat >>confdefs.h <<_ACEOF
69397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69398 _ACEOF
69401 done
69403 else
69405 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69406 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69407 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69408 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69409 echo $ECHO_N "(cached) $ECHO_C" >&6
69410 else
69414 ac_ext=cc
69415 ac_cpp='$CXXCPP $CPPFLAGS'
69416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69420 cat >conftest.$ac_ext <<_ACEOF
69421 /* confdefs.h. */
69422 _ACEOF
69423 cat confdefs.h >>conftest.$ac_ext
69424 cat >>conftest.$ac_ext <<_ACEOF
69425 /* end confdefs.h. */
69426 #include <math.h>
69428 main ()
69430 _atan2f(0, 0);
69432 return 0;
69434 _ACEOF
69435 rm -f conftest.$ac_objext
69436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69437 (eval $ac_compile) 2>conftest.er1
69438 ac_status=$?
69439 grep -v '^ *+' conftest.er1 >conftest.err
69440 rm -f conftest.er1
69441 cat conftest.err >&5
69442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69443 (exit $ac_status); } &&
69444 { ac_try='test -z "$ac_cxx_werror_flag"
69445 || test ! -s conftest.err'
69446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69447 (eval $ac_try) 2>&5
69448 ac_status=$?
69449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69450 (exit $ac_status); }; } &&
69451 { ac_try='test -s conftest.$ac_objext'
69452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69453 (eval $ac_try) 2>&5
69454 ac_status=$?
69455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69456 (exit $ac_status); }; }; then
69457 glibcxx_cv_func__atan2f_use=yes
69458 else
69459 echo "$as_me: failed program was:" >&5
69460 sed 's/^/| /' conftest.$ac_ext >&5
69462 glibcxx_cv_func__atan2f_use=no
69464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69465 ac_ext=c
69466 ac_cpp='$CPP $CPPFLAGS'
69467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69476 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69478 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69480 for ac_func in _atan2f
69482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69483 echo "$as_me:$LINENO: checking for $ac_func" >&5
69484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69485 if eval "test \"\${$as_ac_var+set}\" = set"; then
69486 echo $ECHO_N "(cached) $ECHO_C" >&6
69487 else
69488 if test x$gcc_no_link = xyes; then
69489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69491 { (exit 1); exit 1; }; }
69493 cat >conftest.$ac_ext <<_ACEOF
69494 /* confdefs.h. */
69495 _ACEOF
69496 cat confdefs.h >>conftest.$ac_ext
69497 cat >>conftest.$ac_ext <<_ACEOF
69498 /* end confdefs.h. */
69499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69501 #define $ac_func innocuous_$ac_func
69503 /* System header to define __stub macros and hopefully few prototypes,
69504 which can conflict with char $ac_func (); below.
69505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69506 <limits.h> exists even on freestanding compilers. */
69508 #ifdef __STDC__
69509 # include <limits.h>
69510 #else
69511 # include <assert.h>
69512 #endif
69514 #undef $ac_func
69516 /* Override any gcc2 internal prototype to avoid an error. */
69517 #ifdef __cplusplus
69518 extern "C"
69520 #endif
69521 /* We use char because int might match the return type of a gcc2
69522 builtin and then its argument prototype would still apply. */
69523 char $ac_func ();
69524 /* The GNU C library defines this for functions which it implements
69525 to always fail with ENOSYS. Some functions are actually named
69526 something starting with __ and the normal name is an alias. */
69527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69528 choke me
69529 #else
69530 char (*f) () = $ac_func;
69531 #endif
69532 #ifdef __cplusplus
69534 #endif
69537 main ()
69539 return f != $ac_func;
69541 return 0;
69543 _ACEOF
69544 rm -f conftest.$ac_objext conftest$ac_exeext
69545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69546 (eval $ac_link) 2>conftest.er1
69547 ac_status=$?
69548 grep -v '^ *+' conftest.er1 >conftest.err
69549 rm -f conftest.er1
69550 cat conftest.err >&5
69551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69552 (exit $ac_status); } &&
69553 { ac_try='test -z "$ac_c_werror_flag"
69554 || test ! -s conftest.err'
69555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69556 (eval $ac_try) 2>&5
69557 ac_status=$?
69558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69559 (exit $ac_status); }; } &&
69560 { ac_try='test -s conftest$ac_exeext'
69561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69562 (eval $ac_try) 2>&5
69563 ac_status=$?
69564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69565 (exit $ac_status); }; }; then
69566 eval "$as_ac_var=yes"
69567 else
69568 echo "$as_me: failed program was:" >&5
69569 sed 's/^/| /' conftest.$ac_ext >&5
69571 eval "$as_ac_var=no"
69573 rm -f conftest.err conftest.$ac_objext \
69574 conftest$ac_exeext conftest.$ac_ext
69576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69578 if test `eval echo '${'$as_ac_var'}'` = yes; then
69579 cat >>confdefs.h <<_ACEOF
69580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69581 _ACEOF
69584 done
69594 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69595 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69596 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69597 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69598 echo $ECHO_N "(cached) $ECHO_C" >&6
69599 else
69603 ac_ext=cc
69604 ac_cpp='$CXXCPP $CPPFLAGS'
69605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69609 cat >conftest.$ac_ext <<_ACEOF
69610 /* confdefs.h. */
69611 _ACEOF
69612 cat confdefs.h >>conftest.$ac_ext
69613 cat >>conftest.$ac_ext <<_ACEOF
69614 /* end confdefs.h. */
69615 #include <math.h>
69616 #ifdef HAVE_IEEEFP_H
69617 #include <ieeefp.h>
69618 #endif
69621 main ()
69623 fabsf(0);
69625 return 0;
69627 _ACEOF
69628 rm -f conftest.$ac_objext
69629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69630 (eval $ac_compile) 2>conftest.er1
69631 ac_status=$?
69632 grep -v '^ *+' conftest.er1 >conftest.err
69633 rm -f conftest.er1
69634 cat conftest.err >&5
69635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69636 (exit $ac_status); } &&
69637 { ac_try='test -z "$ac_cxx_werror_flag"
69638 || test ! -s conftest.err'
69639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69640 (eval $ac_try) 2>&5
69641 ac_status=$?
69642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69643 (exit $ac_status); }; } &&
69644 { ac_try='test -s conftest.$ac_objext'
69645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69646 (eval $ac_try) 2>&5
69647 ac_status=$?
69648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69649 (exit $ac_status); }; }; then
69650 glibcxx_cv_func_fabsf_use=yes
69651 else
69652 echo "$as_me: failed program was:" >&5
69653 sed 's/^/| /' conftest.$ac_ext >&5
69655 glibcxx_cv_func_fabsf_use=no
69657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69658 ac_ext=c
69659 ac_cpp='$CPP $CPPFLAGS'
69660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69669 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69671 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69673 for ac_func in fabsf
69675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69676 echo "$as_me:$LINENO: checking for $ac_func" >&5
69677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69678 if eval "test \"\${$as_ac_var+set}\" = set"; then
69679 echo $ECHO_N "(cached) $ECHO_C" >&6
69680 else
69681 if test x$gcc_no_link = xyes; then
69682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69684 { (exit 1); exit 1; }; }
69686 cat >conftest.$ac_ext <<_ACEOF
69687 /* confdefs.h. */
69688 _ACEOF
69689 cat confdefs.h >>conftest.$ac_ext
69690 cat >>conftest.$ac_ext <<_ACEOF
69691 /* end confdefs.h. */
69692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69694 #define $ac_func innocuous_$ac_func
69696 /* System header to define __stub macros and hopefully few prototypes,
69697 which can conflict with char $ac_func (); below.
69698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69699 <limits.h> exists even on freestanding compilers. */
69701 #ifdef __STDC__
69702 # include <limits.h>
69703 #else
69704 # include <assert.h>
69705 #endif
69707 #undef $ac_func
69709 /* Override any gcc2 internal prototype to avoid an error. */
69710 #ifdef __cplusplus
69711 extern "C"
69713 #endif
69714 /* We use char because int might match the return type of a gcc2
69715 builtin and then its argument prototype would still apply. */
69716 char $ac_func ();
69717 /* The GNU C library defines this for functions which it implements
69718 to always fail with ENOSYS. Some functions are actually named
69719 something starting with __ and the normal name is an alias. */
69720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69721 choke me
69722 #else
69723 char (*f) () = $ac_func;
69724 #endif
69725 #ifdef __cplusplus
69727 #endif
69730 main ()
69732 return f != $ac_func;
69734 return 0;
69736 _ACEOF
69737 rm -f conftest.$ac_objext conftest$ac_exeext
69738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69739 (eval $ac_link) 2>conftest.er1
69740 ac_status=$?
69741 grep -v '^ *+' conftest.er1 >conftest.err
69742 rm -f conftest.er1
69743 cat conftest.err >&5
69744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69745 (exit $ac_status); } &&
69746 { ac_try='test -z "$ac_c_werror_flag"
69747 || test ! -s conftest.err'
69748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69749 (eval $ac_try) 2>&5
69750 ac_status=$?
69751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69752 (exit $ac_status); }; } &&
69753 { ac_try='test -s conftest$ac_exeext'
69754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69755 (eval $ac_try) 2>&5
69756 ac_status=$?
69757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69758 (exit $ac_status); }; }; then
69759 eval "$as_ac_var=yes"
69760 else
69761 echo "$as_me: failed program was:" >&5
69762 sed 's/^/| /' conftest.$ac_ext >&5
69764 eval "$as_ac_var=no"
69766 rm -f conftest.err conftest.$ac_objext \
69767 conftest$ac_exeext conftest.$ac_ext
69769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69771 if test `eval echo '${'$as_ac_var'}'` = yes; then
69772 cat >>confdefs.h <<_ACEOF
69773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69774 _ACEOF
69777 done
69779 else
69781 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69782 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69783 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69784 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69785 echo $ECHO_N "(cached) $ECHO_C" >&6
69786 else
69790 ac_ext=cc
69791 ac_cpp='$CXXCPP $CPPFLAGS'
69792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69796 cat >conftest.$ac_ext <<_ACEOF
69797 /* confdefs.h. */
69798 _ACEOF
69799 cat confdefs.h >>conftest.$ac_ext
69800 cat >>conftest.$ac_ext <<_ACEOF
69801 /* end confdefs.h. */
69802 #include <math.h>
69803 #ifdef HAVE_IEEEFP_H
69804 #include <ieeefp.h>
69805 #endif
69808 main ()
69810 _fabsf(0);
69812 return 0;
69814 _ACEOF
69815 rm -f conftest.$ac_objext
69816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69817 (eval $ac_compile) 2>conftest.er1
69818 ac_status=$?
69819 grep -v '^ *+' conftest.er1 >conftest.err
69820 rm -f conftest.er1
69821 cat conftest.err >&5
69822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69823 (exit $ac_status); } &&
69824 { ac_try='test -z "$ac_cxx_werror_flag"
69825 || test ! -s conftest.err'
69826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69827 (eval $ac_try) 2>&5
69828 ac_status=$?
69829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69830 (exit $ac_status); }; } &&
69831 { ac_try='test -s conftest.$ac_objext'
69832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69833 (eval $ac_try) 2>&5
69834 ac_status=$?
69835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69836 (exit $ac_status); }; }; then
69837 glibcxx_cv_func__fabsf_use=yes
69838 else
69839 echo "$as_me: failed program was:" >&5
69840 sed 's/^/| /' conftest.$ac_ext >&5
69842 glibcxx_cv_func__fabsf_use=no
69844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69845 ac_ext=c
69846 ac_cpp='$CPP $CPPFLAGS'
69847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69856 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69858 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69860 for ac_func in _fabsf
69862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69863 echo "$as_me:$LINENO: checking for $ac_func" >&5
69864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69865 if eval "test \"\${$as_ac_var+set}\" = set"; then
69866 echo $ECHO_N "(cached) $ECHO_C" >&6
69867 else
69868 if test x$gcc_no_link = xyes; then
69869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69871 { (exit 1); exit 1; }; }
69873 cat >conftest.$ac_ext <<_ACEOF
69874 /* confdefs.h. */
69875 _ACEOF
69876 cat confdefs.h >>conftest.$ac_ext
69877 cat >>conftest.$ac_ext <<_ACEOF
69878 /* end confdefs.h. */
69879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69881 #define $ac_func innocuous_$ac_func
69883 /* System header to define __stub macros and hopefully few prototypes,
69884 which can conflict with char $ac_func (); below.
69885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69886 <limits.h> exists even on freestanding compilers. */
69888 #ifdef __STDC__
69889 # include <limits.h>
69890 #else
69891 # include <assert.h>
69892 #endif
69894 #undef $ac_func
69896 /* Override any gcc2 internal prototype to avoid an error. */
69897 #ifdef __cplusplus
69898 extern "C"
69900 #endif
69901 /* We use char because int might match the return type of a gcc2
69902 builtin and then its argument prototype would still apply. */
69903 char $ac_func ();
69904 /* The GNU C library defines this for functions which it implements
69905 to always fail with ENOSYS. Some functions are actually named
69906 something starting with __ and the normal name is an alias. */
69907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69908 choke me
69909 #else
69910 char (*f) () = $ac_func;
69911 #endif
69912 #ifdef __cplusplus
69914 #endif
69917 main ()
69919 return f != $ac_func;
69921 return 0;
69923 _ACEOF
69924 rm -f conftest.$ac_objext conftest$ac_exeext
69925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69926 (eval $ac_link) 2>conftest.er1
69927 ac_status=$?
69928 grep -v '^ *+' conftest.er1 >conftest.err
69929 rm -f conftest.er1
69930 cat conftest.err >&5
69931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69932 (exit $ac_status); } &&
69933 { ac_try='test -z "$ac_c_werror_flag"
69934 || test ! -s conftest.err'
69935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69936 (eval $ac_try) 2>&5
69937 ac_status=$?
69938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939 (exit $ac_status); }; } &&
69940 { ac_try='test -s conftest$ac_exeext'
69941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69942 (eval $ac_try) 2>&5
69943 ac_status=$?
69944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69945 (exit $ac_status); }; }; then
69946 eval "$as_ac_var=yes"
69947 else
69948 echo "$as_me: failed program was:" >&5
69949 sed 's/^/| /' conftest.$ac_ext >&5
69951 eval "$as_ac_var=no"
69953 rm -f conftest.err conftest.$ac_objext \
69954 conftest$ac_exeext conftest.$ac_ext
69956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69958 if test `eval echo '${'$as_ac_var'}'` = yes; then
69959 cat >>confdefs.h <<_ACEOF
69960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69961 _ACEOF
69964 done
69974 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69975 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69976 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69977 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69978 echo $ECHO_N "(cached) $ECHO_C" >&6
69979 else
69983 ac_ext=cc
69984 ac_cpp='$CXXCPP $CPPFLAGS'
69985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69989 cat >conftest.$ac_ext <<_ACEOF
69990 /* confdefs.h. */
69991 _ACEOF
69992 cat confdefs.h >>conftest.$ac_ext
69993 cat >>conftest.$ac_ext <<_ACEOF
69994 /* end confdefs.h. */
69995 #include <math.h>
69997 main ()
69999 fmodf(0, 0);
70001 return 0;
70003 _ACEOF
70004 rm -f conftest.$ac_objext
70005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70006 (eval $ac_compile) 2>conftest.er1
70007 ac_status=$?
70008 grep -v '^ *+' conftest.er1 >conftest.err
70009 rm -f conftest.er1
70010 cat conftest.err >&5
70011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70012 (exit $ac_status); } &&
70013 { ac_try='test -z "$ac_cxx_werror_flag"
70014 || test ! -s conftest.err'
70015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70016 (eval $ac_try) 2>&5
70017 ac_status=$?
70018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70019 (exit $ac_status); }; } &&
70020 { ac_try='test -s conftest.$ac_objext'
70021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70022 (eval $ac_try) 2>&5
70023 ac_status=$?
70024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70025 (exit $ac_status); }; }; then
70026 glibcxx_cv_func_fmodf_use=yes
70027 else
70028 echo "$as_me: failed program was:" >&5
70029 sed 's/^/| /' conftest.$ac_ext >&5
70031 glibcxx_cv_func_fmodf_use=no
70033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70034 ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70045 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70047 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70049 for ac_func in fmodf
70051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70052 echo "$as_me:$LINENO: checking for $ac_func" >&5
70053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70054 if eval "test \"\${$as_ac_var+set}\" = set"; then
70055 echo $ECHO_N "(cached) $ECHO_C" >&6
70056 else
70057 if test x$gcc_no_link = xyes; then
70058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70060 { (exit 1); exit 1; }; }
70062 cat >conftest.$ac_ext <<_ACEOF
70063 /* confdefs.h. */
70064 _ACEOF
70065 cat confdefs.h >>conftest.$ac_ext
70066 cat >>conftest.$ac_ext <<_ACEOF
70067 /* end confdefs.h. */
70068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70070 #define $ac_func innocuous_$ac_func
70072 /* System header to define __stub macros and hopefully few prototypes,
70073 which can conflict with char $ac_func (); below.
70074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70075 <limits.h> exists even on freestanding compilers. */
70077 #ifdef __STDC__
70078 # include <limits.h>
70079 #else
70080 # include <assert.h>
70081 #endif
70083 #undef $ac_func
70085 /* Override any gcc2 internal prototype to avoid an error. */
70086 #ifdef __cplusplus
70087 extern "C"
70089 #endif
70090 /* We use char because int might match the return type of a gcc2
70091 builtin and then its argument prototype would still apply. */
70092 char $ac_func ();
70093 /* The GNU C library defines this for functions which it implements
70094 to always fail with ENOSYS. Some functions are actually named
70095 something starting with __ and the normal name is an alias. */
70096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70097 choke me
70098 #else
70099 char (*f) () = $ac_func;
70100 #endif
70101 #ifdef __cplusplus
70103 #endif
70106 main ()
70108 return f != $ac_func;
70110 return 0;
70112 _ACEOF
70113 rm -f conftest.$ac_objext conftest$ac_exeext
70114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70115 (eval $ac_link) 2>conftest.er1
70116 ac_status=$?
70117 grep -v '^ *+' conftest.er1 >conftest.err
70118 rm -f conftest.er1
70119 cat conftest.err >&5
70120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70121 (exit $ac_status); } &&
70122 { ac_try='test -z "$ac_c_werror_flag"
70123 || test ! -s conftest.err'
70124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70125 (eval $ac_try) 2>&5
70126 ac_status=$?
70127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70128 (exit $ac_status); }; } &&
70129 { ac_try='test -s conftest$ac_exeext'
70130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70131 (eval $ac_try) 2>&5
70132 ac_status=$?
70133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70134 (exit $ac_status); }; }; then
70135 eval "$as_ac_var=yes"
70136 else
70137 echo "$as_me: failed program was:" >&5
70138 sed 's/^/| /' conftest.$ac_ext >&5
70140 eval "$as_ac_var=no"
70142 rm -f conftest.err conftest.$ac_objext \
70143 conftest$ac_exeext conftest.$ac_ext
70145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70147 if test `eval echo '${'$as_ac_var'}'` = yes; then
70148 cat >>confdefs.h <<_ACEOF
70149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70150 _ACEOF
70153 done
70155 else
70157 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70158 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70159 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70160 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70161 echo $ECHO_N "(cached) $ECHO_C" >&6
70162 else
70166 ac_ext=cc
70167 ac_cpp='$CXXCPP $CPPFLAGS'
70168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70172 cat >conftest.$ac_ext <<_ACEOF
70173 /* confdefs.h. */
70174 _ACEOF
70175 cat confdefs.h >>conftest.$ac_ext
70176 cat >>conftest.$ac_ext <<_ACEOF
70177 /* end confdefs.h. */
70178 #include <math.h>
70180 main ()
70182 _fmodf(0, 0);
70184 return 0;
70186 _ACEOF
70187 rm -f conftest.$ac_objext
70188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70189 (eval $ac_compile) 2>conftest.er1
70190 ac_status=$?
70191 grep -v '^ *+' conftest.er1 >conftest.err
70192 rm -f conftest.er1
70193 cat conftest.err >&5
70194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70195 (exit $ac_status); } &&
70196 { ac_try='test -z "$ac_cxx_werror_flag"
70197 || test ! -s conftest.err'
70198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70199 (eval $ac_try) 2>&5
70200 ac_status=$?
70201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70202 (exit $ac_status); }; } &&
70203 { ac_try='test -s conftest.$ac_objext'
70204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70205 (eval $ac_try) 2>&5
70206 ac_status=$?
70207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70208 (exit $ac_status); }; }; then
70209 glibcxx_cv_func__fmodf_use=yes
70210 else
70211 echo "$as_me: failed program was:" >&5
70212 sed 's/^/| /' conftest.$ac_ext >&5
70214 glibcxx_cv_func__fmodf_use=no
70216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70217 ac_ext=c
70218 ac_cpp='$CPP $CPPFLAGS'
70219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70228 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70230 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70232 for ac_func in _fmodf
70234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70235 echo "$as_me:$LINENO: checking for $ac_func" >&5
70236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70237 if eval "test \"\${$as_ac_var+set}\" = set"; then
70238 echo $ECHO_N "(cached) $ECHO_C" >&6
70239 else
70240 if test x$gcc_no_link = xyes; then
70241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70243 { (exit 1); exit 1; }; }
70245 cat >conftest.$ac_ext <<_ACEOF
70246 /* confdefs.h. */
70247 _ACEOF
70248 cat confdefs.h >>conftest.$ac_ext
70249 cat >>conftest.$ac_ext <<_ACEOF
70250 /* end confdefs.h. */
70251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70253 #define $ac_func innocuous_$ac_func
70255 /* System header to define __stub macros and hopefully few prototypes,
70256 which can conflict with char $ac_func (); below.
70257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70258 <limits.h> exists even on freestanding compilers. */
70260 #ifdef __STDC__
70261 # include <limits.h>
70262 #else
70263 # include <assert.h>
70264 #endif
70266 #undef $ac_func
70268 /* Override any gcc2 internal prototype to avoid an error. */
70269 #ifdef __cplusplus
70270 extern "C"
70272 #endif
70273 /* We use char because int might match the return type of a gcc2
70274 builtin and then its argument prototype would still apply. */
70275 char $ac_func ();
70276 /* The GNU C library defines this for functions which it implements
70277 to always fail with ENOSYS. Some functions are actually named
70278 something starting with __ and the normal name is an alias. */
70279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70280 choke me
70281 #else
70282 char (*f) () = $ac_func;
70283 #endif
70284 #ifdef __cplusplus
70286 #endif
70289 main ()
70291 return f != $ac_func;
70293 return 0;
70295 _ACEOF
70296 rm -f conftest.$ac_objext conftest$ac_exeext
70297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70298 (eval $ac_link) 2>conftest.er1
70299 ac_status=$?
70300 grep -v '^ *+' conftest.er1 >conftest.err
70301 rm -f conftest.er1
70302 cat conftest.err >&5
70303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70304 (exit $ac_status); } &&
70305 { ac_try='test -z "$ac_c_werror_flag"
70306 || test ! -s conftest.err'
70307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70308 (eval $ac_try) 2>&5
70309 ac_status=$?
70310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70311 (exit $ac_status); }; } &&
70312 { ac_try='test -s conftest$ac_exeext'
70313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70314 (eval $ac_try) 2>&5
70315 ac_status=$?
70316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70317 (exit $ac_status); }; }; then
70318 eval "$as_ac_var=yes"
70319 else
70320 echo "$as_me: failed program was:" >&5
70321 sed 's/^/| /' conftest.$ac_ext >&5
70323 eval "$as_ac_var=no"
70325 rm -f conftest.err conftest.$ac_objext \
70326 conftest$ac_exeext conftest.$ac_ext
70328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70330 if test `eval echo '${'$as_ac_var'}'` = yes; then
70331 cat >>confdefs.h <<_ACEOF
70332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70333 _ACEOF
70336 done
70346 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70347 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70348 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70349 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70350 echo $ECHO_N "(cached) $ECHO_C" >&6
70351 else
70355 ac_ext=cc
70356 ac_cpp='$CXXCPP $CPPFLAGS'
70357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70361 cat >conftest.$ac_ext <<_ACEOF
70362 /* confdefs.h. */
70363 _ACEOF
70364 cat confdefs.h >>conftest.$ac_ext
70365 cat >>conftest.$ac_ext <<_ACEOF
70366 /* end confdefs.h. */
70367 #include <math.h>
70369 main ()
70371 frexpf(0, 0);
70373 return 0;
70375 _ACEOF
70376 rm -f conftest.$ac_objext
70377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70378 (eval $ac_compile) 2>conftest.er1
70379 ac_status=$?
70380 grep -v '^ *+' conftest.er1 >conftest.err
70381 rm -f conftest.er1
70382 cat conftest.err >&5
70383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70384 (exit $ac_status); } &&
70385 { ac_try='test -z "$ac_cxx_werror_flag"
70386 || test ! -s conftest.err'
70387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70388 (eval $ac_try) 2>&5
70389 ac_status=$?
70390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70391 (exit $ac_status); }; } &&
70392 { ac_try='test -s conftest.$ac_objext'
70393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70394 (eval $ac_try) 2>&5
70395 ac_status=$?
70396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70397 (exit $ac_status); }; }; then
70398 glibcxx_cv_func_frexpf_use=yes
70399 else
70400 echo "$as_me: failed program was:" >&5
70401 sed 's/^/| /' conftest.$ac_ext >&5
70403 glibcxx_cv_func_frexpf_use=no
70405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70406 ac_ext=c
70407 ac_cpp='$CPP $CPPFLAGS'
70408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70417 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70419 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70421 for ac_func in frexpf
70423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70424 echo "$as_me:$LINENO: checking for $ac_func" >&5
70425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70426 if eval "test \"\${$as_ac_var+set}\" = set"; then
70427 echo $ECHO_N "(cached) $ECHO_C" >&6
70428 else
70429 if test x$gcc_no_link = xyes; then
70430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70432 { (exit 1); exit 1; }; }
70434 cat >conftest.$ac_ext <<_ACEOF
70435 /* confdefs.h. */
70436 _ACEOF
70437 cat confdefs.h >>conftest.$ac_ext
70438 cat >>conftest.$ac_ext <<_ACEOF
70439 /* end confdefs.h. */
70440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70442 #define $ac_func innocuous_$ac_func
70444 /* System header to define __stub macros and hopefully few prototypes,
70445 which can conflict with char $ac_func (); below.
70446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70447 <limits.h> exists even on freestanding compilers. */
70449 #ifdef __STDC__
70450 # include <limits.h>
70451 #else
70452 # include <assert.h>
70453 #endif
70455 #undef $ac_func
70457 /* Override any gcc2 internal prototype to avoid an error. */
70458 #ifdef __cplusplus
70459 extern "C"
70461 #endif
70462 /* We use char because int might match the return type of a gcc2
70463 builtin and then its argument prototype would still apply. */
70464 char $ac_func ();
70465 /* The GNU C library defines this for functions which it implements
70466 to always fail with ENOSYS. Some functions are actually named
70467 something starting with __ and the normal name is an alias. */
70468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70469 choke me
70470 #else
70471 char (*f) () = $ac_func;
70472 #endif
70473 #ifdef __cplusplus
70475 #endif
70478 main ()
70480 return f != $ac_func;
70482 return 0;
70484 _ACEOF
70485 rm -f conftest.$ac_objext conftest$ac_exeext
70486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70487 (eval $ac_link) 2>conftest.er1
70488 ac_status=$?
70489 grep -v '^ *+' conftest.er1 >conftest.err
70490 rm -f conftest.er1
70491 cat conftest.err >&5
70492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70493 (exit $ac_status); } &&
70494 { ac_try='test -z "$ac_c_werror_flag"
70495 || test ! -s conftest.err'
70496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70497 (eval $ac_try) 2>&5
70498 ac_status=$?
70499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70500 (exit $ac_status); }; } &&
70501 { ac_try='test -s conftest$ac_exeext'
70502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70503 (eval $ac_try) 2>&5
70504 ac_status=$?
70505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70506 (exit $ac_status); }; }; then
70507 eval "$as_ac_var=yes"
70508 else
70509 echo "$as_me: failed program was:" >&5
70510 sed 's/^/| /' conftest.$ac_ext >&5
70512 eval "$as_ac_var=no"
70514 rm -f conftest.err conftest.$ac_objext \
70515 conftest$ac_exeext conftest.$ac_ext
70517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70519 if test `eval echo '${'$as_ac_var'}'` = yes; then
70520 cat >>confdefs.h <<_ACEOF
70521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70522 _ACEOF
70525 done
70527 else
70529 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70530 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70531 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70532 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70533 echo $ECHO_N "(cached) $ECHO_C" >&6
70534 else
70538 ac_ext=cc
70539 ac_cpp='$CXXCPP $CPPFLAGS'
70540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70544 cat >conftest.$ac_ext <<_ACEOF
70545 /* confdefs.h. */
70546 _ACEOF
70547 cat confdefs.h >>conftest.$ac_ext
70548 cat >>conftest.$ac_ext <<_ACEOF
70549 /* end confdefs.h. */
70550 #include <math.h>
70552 main ()
70554 _frexpf(0, 0);
70556 return 0;
70558 _ACEOF
70559 rm -f conftest.$ac_objext
70560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70561 (eval $ac_compile) 2>conftest.er1
70562 ac_status=$?
70563 grep -v '^ *+' conftest.er1 >conftest.err
70564 rm -f conftest.er1
70565 cat conftest.err >&5
70566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70567 (exit $ac_status); } &&
70568 { ac_try='test -z "$ac_cxx_werror_flag"
70569 || test ! -s conftest.err'
70570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70571 (eval $ac_try) 2>&5
70572 ac_status=$?
70573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70574 (exit $ac_status); }; } &&
70575 { ac_try='test -s conftest.$ac_objext'
70576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70577 (eval $ac_try) 2>&5
70578 ac_status=$?
70579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70580 (exit $ac_status); }; }; then
70581 glibcxx_cv_func__frexpf_use=yes
70582 else
70583 echo "$as_me: failed program was:" >&5
70584 sed 's/^/| /' conftest.$ac_ext >&5
70586 glibcxx_cv_func__frexpf_use=no
70588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70589 ac_ext=c
70590 ac_cpp='$CPP $CPPFLAGS'
70591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70600 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70602 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70604 for ac_func in _frexpf
70606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70607 echo "$as_me:$LINENO: checking for $ac_func" >&5
70608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70609 if eval "test \"\${$as_ac_var+set}\" = set"; then
70610 echo $ECHO_N "(cached) $ECHO_C" >&6
70611 else
70612 if test x$gcc_no_link = xyes; then
70613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70615 { (exit 1); exit 1; }; }
70617 cat >conftest.$ac_ext <<_ACEOF
70618 /* confdefs.h. */
70619 _ACEOF
70620 cat confdefs.h >>conftest.$ac_ext
70621 cat >>conftest.$ac_ext <<_ACEOF
70622 /* end confdefs.h. */
70623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70625 #define $ac_func innocuous_$ac_func
70627 /* System header to define __stub macros and hopefully few prototypes,
70628 which can conflict with char $ac_func (); below.
70629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70630 <limits.h> exists even on freestanding compilers. */
70632 #ifdef __STDC__
70633 # include <limits.h>
70634 #else
70635 # include <assert.h>
70636 #endif
70638 #undef $ac_func
70640 /* Override any gcc2 internal prototype to avoid an error. */
70641 #ifdef __cplusplus
70642 extern "C"
70644 #endif
70645 /* We use char because int might match the return type of a gcc2
70646 builtin and then its argument prototype would still apply. */
70647 char $ac_func ();
70648 /* The GNU C library defines this for functions which it implements
70649 to always fail with ENOSYS. Some functions are actually named
70650 something starting with __ and the normal name is an alias. */
70651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70652 choke me
70653 #else
70654 char (*f) () = $ac_func;
70655 #endif
70656 #ifdef __cplusplus
70658 #endif
70661 main ()
70663 return f != $ac_func;
70665 return 0;
70667 _ACEOF
70668 rm -f conftest.$ac_objext conftest$ac_exeext
70669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70670 (eval $ac_link) 2>conftest.er1
70671 ac_status=$?
70672 grep -v '^ *+' conftest.er1 >conftest.err
70673 rm -f conftest.er1
70674 cat conftest.err >&5
70675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70676 (exit $ac_status); } &&
70677 { ac_try='test -z "$ac_c_werror_flag"
70678 || test ! -s conftest.err'
70679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70680 (eval $ac_try) 2>&5
70681 ac_status=$?
70682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70683 (exit $ac_status); }; } &&
70684 { ac_try='test -s conftest$ac_exeext'
70685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70686 (eval $ac_try) 2>&5
70687 ac_status=$?
70688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70689 (exit $ac_status); }; }; then
70690 eval "$as_ac_var=yes"
70691 else
70692 echo "$as_me: failed program was:" >&5
70693 sed 's/^/| /' conftest.$ac_ext >&5
70695 eval "$as_ac_var=no"
70697 rm -f conftest.err conftest.$ac_objext \
70698 conftest$ac_exeext conftest.$ac_ext
70700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70702 if test `eval echo '${'$as_ac_var'}'` = yes; then
70703 cat >>confdefs.h <<_ACEOF
70704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70705 _ACEOF
70708 done
70718 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70719 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70720 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70721 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70722 echo $ECHO_N "(cached) $ECHO_C" >&6
70723 else
70727 ac_ext=cc
70728 ac_cpp='$CXXCPP $CPPFLAGS'
70729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70733 cat >conftest.$ac_ext <<_ACEOF
70734 /* confdefs.h. */
70735 _ACEOF
70736 cat confdefs.h >>conftest.$ac_ext
70737 cat >>conftest.$ac_ext <<_ACEOF
70738 /* end confdefs.h. */
70739 #include <math.h>
70741 main ()
70743 hypotf(0, 0);
70745 return 0;
70747 _ACEOF
70748 rm -f conftest.$ac_objext
70749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70750 (eval $ac_compile) 2>conftest.er1
70751 ac_status=$?
70752 grep -v '^ *+' conftest.er1 >conftest.err
70753 rm -f conftest.er1
70754 cat conftest.err >&5
70755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70756 (exit $ac_status); } &&
70757 { ac_try='test -z "$ac_cxx_werror_flag"
70758 || test ! -s conftest.err'
70759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70760 (eval $ac_try) 2>&5
70761 ac_status=$?
70762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70763 (exit $ac_status); }; } &&
70764 { ac_try='test -s conftest.$ac_objext'
70765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70766 (eval $ac_try) 2>&5
70767 ac_status=$?
70768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70769 (exit $ac_status); }; }; then
70770 glibcxx_cv_func_hypotf_use=yes
70771 else
70772 echo "$as_me: failed program was:" >&5
70773 sed 's/^/| /' conftest.$ac_ext >&5
70775 glibcxx_cv_func_hypotf_use=no
70777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70778 ac_ext=c
70779 ac_cpp='$CPP $CPPFLAGS'
70780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70789 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70791 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70793 for ac_func in hypotf
70795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70796 echo "$as_me:$LINENO: checking for $ac_func" >&5
70797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70798 if eval "test \"\${$as_ac_var+set}\" = set"; then
70799 echo $ECHO_N "(cached) $ECHO_C" >&6
70800 else
70801 if test x$gcc_no_link = xyes; then
70802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70804 { (exit 1); exit 1; }; }
70806 cat >conftest.$ac_ext <<_ACEOF
70807 /* confdefs.h. */
70808 _ACEOF
70809 cat confdefs.h >>conftest.$ac_ext
70810 cat >>conftest.$ac_ext <<_ACEOF
70811 /* end confdefs.h. */
70812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70814 #define $ac_func innocuous_$ac_func
70816 /* System header to define __stub macros and hopefully few prototypes,
70817 which can conflict with char $ac_func (); below.
70818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70819 <limits.h> exists even on freestanding compilers. */
70821 #ifdef __STDC__
70822 # include <limits.h>
70823 #else
70824 # include <assert.h>
70825 #endif
70827 #undef $ac_func
70829 /* Override any gcc2 internal prototype to avoid an error. */
70830 #ifdef __cplusplus
70831 extern "C"
70833 #endif
70834 /* We use char because int might match the return type of a gcc2
70835 builtin and then its argument prototype would still apply. */
70836 char $ac_func ();
70837 /* The GNU C library defines this for functions which it implements
70838 to always fail with ENOSYS. Some functions are actually named
70839 something starting with __ and the normal name is an alias. */
70840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70841 choke me
70842 #else
70843 char (*f) () = $ac_func;
70844 #endif
70845 #ifdef __cplusplus
70847 #endif
70850 main ()
70852 return f != $ac_func;
70854 return 0;
70856 _ACEOF
70857 rm -f conftest.$ac_objext conftest$ac_exeext
70858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70859 (eval $ac_link) 2>conftest.er1
70860 ac_status=$?
70861 grep -v '^ *+' conftest.er1 >conftest.err
70862 rm -f conftest.er1
70863 cat conftest.err >&5
70864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70865 (exit $ac_status); } &&
70866 { ac_try='test -z "$ac_c_werror_flag"
70867 || test ! -s conftest.err'
70868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70869 (eval $ac_try) 2>&5
70870 ac_status=$?
70871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70872 (exit $ac_status); }; } &&
70873 { ac_try='test -s conftest$ac_exeext'
70874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70875 (eval $ac_try) 2>&5
70876 ac_status=$?
70877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70878 (exit $ac_status); }; }; then
70879 eval "$as_ac_var=yes"
70880 else
70881 echo "$as_me: failed program was:" >&5
70882 sed 's/^/| /' conftest.$ac_ext >&5
70884 eval "$as_ac_var=no"
70886 rm -f conftest.err conftest.$ac_objext \
70887 conftest$ac_exeext conftest.$ac_ext
70889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70891 if test `eval echo '${'$as_ac_var'}'` = yes; then
70892 cat >>confdefs.h <<_ACEOF
70893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70894 _ACEOF
70897 done
70899 else
70901 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70902 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70903 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70904 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70905 echo $ECHO_N "(cached) $ECHO_C" >&6
70906 else
70910 ac_ext=cc
70911 ac_cpp='$CXXCPP $CPPFLAGS'
70912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70916 cat >conftest.$ac_ext <<_ACEOF
70917 /* confdefs.h. */
70918 _ACEOF
70919 cat confdefs.h >>conftest.$ac_ext
70920 cat >>conftest.$ac_ext <<_ACEOF
70921 /* end confdefs.h. */
70922 #include <math.h>
70924 main ()
70926 _hypotf(0, 0);
70928 return 0;
70930 _ACEOF
70931 rm -f conftest.$ac_objext
70932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70933 (eval $ac_compile) 2>conftest.er1
70934 ac_status=$?
70935 grep -v '^ *+' conftest.er1 >conftest.err
70936 rm -f conftest.er1
70937 cat conftest.err >&5
70938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70939 (exit $ac_status); } &&
70940 { ac_try='test -z "$ac_cxx_werror_flag"
70941 || test ! -s conftest.err'
70942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70943 (eval $ac_try) 2>&5
70944 ac_status=$?
70945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70946 (exit $ac_status); }; } &&
70947 { ac_try='test -s conftest.$ac_objext'
70948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70949 (eval $ac_try) 2>&5
70950 ac_status=$?
70951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70952 (exit $ac_status); }; }; then
70953 glibcxx_cv_func__hypotf_use=yes
70954 else
70955 echo "$as_me: failed program was:" >&5
70956 sed 's/^/| /' conftest.$ac_ext >&5
70958 glibcxx_cv_func__hypotf_use=no
70960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70961 ac_ext=c
70962 ac_cpp='$CPP $CPPFLAGS'
70963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70972 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70974 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70976 for ac_func in _hypotf
70978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70979 echo "$as_me:$LINENO: checking for $ac_func" >&5
70980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70981 if eval "test \"\${$as_ac_var+set}\" = set"; then
70982 echo $ECHO_N "(cached) $ECHO_C" >&6
70983 else
70984 if test x$gcc_no_link = xyes; then
70985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70987 { (exit 1); exit 1; }; }
70989 cat >conftest.$ac_ext <<_ACEOF
70990 /* confdefs.h. */
70991 _ACEOF
70992 cat confdefs.h >>conftest.$ac_ext
70993 cat >>conftest.$ac_ext <<_ACEOF
70994 /* end confdefs.h. */
70995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70997 #define $ac_func innocuous_$ac_func
70999 /* System header to define __stub macros and hopefully few prototypes,
71000 which can conflict with char $ac_func (); below.
71001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71002 <limits.h> exists even on freestanding compilers. */
71004 #ifdef __STDC__
71005 # include <limits.h>
71006 #else
71007 # include <assert.h>
71008 #endif
71010 #undef $ac_func
71012 /* Override any gcc2 internal prototype to avoid an error. */
71013 #ifdef __cplusplus
71014 extern "C"
71016 #endif
71017 /* We use char because int might match the return type of a gcc2
71018 builtin and then its argument prototype would still apply. */
71019 char $ac_func ();
71020 /* The GNU C library defines this for functions which it implements
71021 to always fail with ENOSYS. Some functions are actually named
71022 something starting with __ and the normal name is an alias. */
71023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71024 choke me
71025 #else
71026 char (*f) () = $ac_func;
71027 #endif
71028 #ifdef __cplusplus
71030 #endif
71033 main ()
71035 return f != $ac_func;
71037 return 0;
71039 _ACEOF
71040 rm -f conftest.$ac_objext conftest$ac_exeext
71041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71042 (eval $ac_link) 2>conftest.er1
71043 ac_status=$?
71044 grep -v '^ *+' conftest.er1 >conftest.err
71045 rm -f conftest.er1
71046 cat conftest.err >&5
71047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71048 (exit $ac_status); } &&
71049 { ac_try='test -z "$ac_c_werror_flag"
71050 || test ! -s conftest.err'
71051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71052 (eval $ac_try) 2>&5
71053 ac_status=$?
71054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71055 (exit $ac_status); }; } &&
71056 { ac_try='test -s conftest$ac_exeext'
71057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71058 (eval $ac_try) 2>&5
71059 ac_status=$?
71060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71061 (exit $ac_status); }; }; then
71062 eval "$as_ac_var=yes"
71063 else
71064 echo "$as_me: failed program was:" >&5
71065 sed 's/^/| /' conftest.$ac_ext >&5
71067 eval "$as_ac_var=no"
71069 rm -f conftest.err conftest.$ac_objext \
71070 conftest$ac_exeext conftest.$ac_ext
71072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71074 if test `eval echo '${'$as_ac_var'}'` = yes; then
71075 cat >>confdefs.h <<_ACEOF
71076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71077 _ACEOF
71080 done
71090 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71091 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71092 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71093 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71094 echo $ECHO_N "(cached) $ECHO_C" >&6
71095 else
71099 ac_ext=cc
71100 ac_cpp='$CXXCPP $CPPFLAGS'
71101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71105 cat >conftest.$ac_ext <<_ACEOF
71106 /* confdefs.h. */
71107 _ACEOF
71108 cat confdefs.h >>conftest.$ac_ext
71109 cat >>conftest.$ac_ext <<_ACEOF
71110 /* end confdefs.h. */
71111 #include <math.h>
71113 main ()
71115 ldexpf(0, 0);
71117 return 0;
71119 _ACEOF
71120 rm -f conftest.$ac_objext
71121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71122 (eval $ac_compile) 2>conftest.er1
71123 ac_status=$?
71124 grep -v '^ *+' conftest.er1 >conftest.err
71125 rm -f conftest.er1
71126 cat conftest.err >&5
71127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71128 (exit $ac_status); } &&
71129 { ac_try='test -z "$ac_cxx_werror_flag"
71130 || test ! -s conftest.err'
71131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71132 (eval $ac_try) 2>&5
71133 ac_status=$?
71134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71135 (exit $ac_status); }; } &&
71136 { ac_try='test -s conftest.$ac_objext'
71137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71138 (eval $ac_try) 2>&5
71139 ac_status=$?
71140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71141 (exit $ac_status); }; }; then
71142 glibcxx_cv_func_ldexpf_use=yes
71143 else
71144 echo "$as_me: failed program was:" >&5
71145 sed 's/^/| /' conftest.$ac_ext >&5
71147 glibcxx_cv_func_ldexpf_use=no
71149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71150 ac_ext=c
71151 ac_cpp='$CPP $CPPFLAGS'
71152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71160 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71161 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71163 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71165 for ac_func in ldexpf
71167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71168 echo "$as_me:$LINENO: checking for $ac_func" >&5
71169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71170 if eval "test \"\${$as_ac_var+set}\" = set"; then
71171 echo $ECHO_N "(cached) $ECHO_C" >&6
71172 else
71173 if test x$gcc_no_link = xyes; then
71174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71176 { (exit 1); exit 1; }; }
71178 cat >conftest.$ac_ext <<_ACEOF
71179 /* confdefs.h. */
71180 _ACEOF
71181 cat confdefs.h >>conftest.$ac_ext
71182 cat >>conftest.$ac_ext <<_ACEOF
71183 /* end confdefs.h. */
71184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71186 #define $ac_func innocuous_$ac_func
71188 /* System header to define __stub macros and hopefully few prototypes,
71189 which can conflict with char $ac_func (); below.
71190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71191 <limits.h> exists even on freestanding compilers. */
71193 #ifdef __STDC__
71194 # include <limits.h>
71195 #else
71196 # include <assert.h>
71197 #endif
71199 #undef $ac_func
71201 /* Override any gcc2 internal prototype to avoid an error. */
71202 #ifdef __cplusplus
71203 extern "C"
71205 #endif
71206 /* We use char because int might match the return type of a gcc2
71207 builtin and then its argument prototype would still apply. */
71208 char $ac_func ();
71209 /* The GNU C library defines this for functions which it implements
71210 to always fail with ENOSYS. Some functions are actually named
71211 something starting with __ and the normal name is an alias. */
71212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71213 choke me
71214 #else
71215 char (*f) () = $ac_func;
71216 #endif
71217 #ifdef __cplusplus
71219 #endif
71222 main ()
71224 return f != $ac_func;
71226 return 0;
71228 _ACEOF
71229 rm -f conftest.$ac_objext conftest$ac_exeext
71230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71231 (eval $ac_link) 2>conftest.er1
71232 ac_status=$?
71233 grep -v '^ *+' conftest.er1 >conftest.err
71234 rm -f conftest.er1
71235 cat conftest.err >&5
71236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237 (exit $ac_status); } &&
71238 { ac_try='test -z "$ac_c_werror_flag"
71239 || test ! -s conftest.err'
71240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71241 (eval $ac_try) 2>&5
71242 ac_status=$?
71243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71244 (exit $ac_status); }; } &&
71245 { ac_try='test -s conftest$ac_exeext'
71246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71247 (eval $ac_try) 2>&5
71248 ac_status=$?
71249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71250 (exit $ac_status); }; }; then
71251 eval "$as_ac_var=yes"
71252 else
71253 echo "$as_me: failed program was:" >&5
71254 sed 's/^/| /' conftest.$ac_ext >&5
71256 eval "$as_ac_var=no"
71258 rm -f conftest.err conftest.$ac_objext \
71259 conftest$ac_exeext conftest.$ac_ext
71261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71263 if test `eval echo '${'$as_ac_var'}'` = yes; then
71264 cat >>confdefs.h <<_ACEOF
71265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71266 _ACEOF
71269 done
71271 else
71273 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71274 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71275 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71276 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71277 echo $ECHO_N "(cached) $ECHO_C" >&6
71278 else
71282 ac_ext=cc
71283 ac_cpp='$CXXCPP $CPPFLAGS'
71284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71288 cat >conftest.$ac_ext <<_ACEOF
71289 /* confdefs.h. */
71290 _ACEOF
71291 cat confdefs.h >>conftest.$ac_ext
71292 cat >>conftest.$ac_ext <<_ACEOF
71293 /* end confdefs.h. */
71294 #include <math.h>
71296 main ()
71298 _ldexpf(0, 0);
71300 return 0;
71302 _ACEOF
71303 rm -f conftest.$ac_objext
71304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71305 (eval $ac_compile) 2>conftest.er1
71306 ac_status=$?
71307 grep -v '^ *+' conftest.er1 >conftest.err
71308 rm -f conftest.er1
71309 cat conftest.err >&5
71310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71311 (exit $ac_status); } &&
71312 { ac_try='test -z "$ac_cxx_werror_flag"
71313 || test ! -s conftest.err'
71314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71315 (eval $ac_try) 2>&5
71316 ac_status=$?
71317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318 (exit $ac_status); }; } &&
71319 { ac_try='test -s conftest.$ac_objext'
71320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71321 (eval $ac_try) 2>&5
71322 ac_status=$?
71323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71324 (exit $ac_status); }; }; then
71325 glibcxx_cv_func__ldexpf_use=yes
71326 else
71327 echo "$as_me: failed program was:" >&5
71328 sed 's/^/| /' conftest.$ac_ext >&5
71330 glibcxx_cv_func__ldexpf_use=no
71332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71333 ac_ext=c
71334 ac_cpp='$CPP $CPPFLAGS'
71335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71344 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71346 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71348 for ac_func in _ldexpf
71350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71351 echo "$as_me:$LINENO: checking for $ac_func" >&5
71352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71353 if eval "test \"\${$as_ac_var+set}\" = set"; then
71354 echo $ECHO_N "(cached) $ECHO_C" >&6
71355 else
71356 if test x$gcc_no_link = xyes; then
71357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71359 { (exit 1); exit 1; }; }
71361 cat >conftest.$ac_ext <<_ACEOF
71362 /* confdefs.h. */
71363 _ACEOF
71364 cat confdefs.h >>conftest.$ac_ext
71365 cat >>conftest.$ac_ext <<_ACEOF
71366 /* end confdefs.h. */
71367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71369 #define $ac_func innocuous_$ac_func
71371 /* System header to define __stub macros and hopefully few prototypes,
71372 which can conflict with char $ac_func (); below.
71373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71374 <limits.h> exists even on freestanding compilers. */
71376 #ifdef __STDC__
71377 # include <limits.h>
71378 #else
71379 # include <assert.h>
71380 #endif
71382 #undef $ac_func
71384 /* Override any gcc2 internal prototype to avoid an error. */
71385 #ifdef __cplusplus
71386 extern "C"
71388 #endif
71389 /* We use char because int might match the return type of a gcc2
71390 builtin and then its argument prototype would still apply. */
71391 char $ac_func ();
71392 /* The GNU C library defines this for functions which it implements
71393 to always fail with ENOSYS. Some functions are actually named
71394 something starting with __ and the normal name is an alias. */
71395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71396 choke me
71397 #else
71398 char (*f) () = $ac_func;
71399 #endif
71400 #ifdef __cplusplus
71402 #endif
71405 main ()
71407 return f != $ac_func;
71409 return 0;
71411 _ACEOF
71412 rm -f conftest.$ac_objext conftest$ac_exeext
71413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71414 (eval $ac_link) 2>conftest.er1
71415 ac_status=$?
71416 grep -v '^ *+' conftest.er1 >conftest.err
71417 rm -f conftest.er1
71418 cat conftest.err >&5
71419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71420 (exit $ac_status); } &&
71421 { ac_try='test -z "$ac_c_werror_flag"
71422 || test ! -s conftest.err'
71423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71424 (eval $ac_try) 2>&5
71425 ac_status=$?
71426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71427 (exit $ac_status); }; } &&
71428 { ac_try='test -s conftest$ac_exeext'
71429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71430 (eval $ac_try) 2>&5
71431 ac_status=$?
71432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71433 (exit $ac_status); }; }; then
71434 eval "$as_ac_var=yes"
71435 else
71436 echo "$as_me: failed program was:" >&5
71437 sed 's/^/| /' conftest.$ac_ext >&5
71439 eval "$as_ac_var=no"
71441 rm -f conftest.err conftest.$ac_objext \
71442 conftest$ac_exeext conftest.$ac_ext
71444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71446 if test `eval echo '${'$as_ac_var'}'` = yes; then
71447 cat >>confdefs.h <<_ACEOF
71448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71449 _ACEOF
71452 done
71462 echo "$as_me:$LINENO: checking for logf declaration" >&5
71463 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71464 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71465 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71466 echo $ECHO_N "(cached) $ECHO_C" >&6
71467 else
71471 ac_ext=cc
71472 ac_cpp='$CXXCPP $CPPFLAGS'
71473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71477 cat >conftest.$ac_ext <<_ACEOF
71478 /* confdefs.h. */
71479 _ACEOF
71480 cat confdefs.h >>conftest.$ac_ext
71481 cat >>conftest.$ac_ext <<_ACEOF
71482 /* end confdefs.h. */
71483 #include <math.h>
71484 #ifdef HAVE_IEEEFP_H
71485 #include <ieeefp.h>
71486 #endif
71489 main ()
71491 logf(0);
71493 return 0;
71495 _ACEOF
71496 rm -f conftest.$ac_objext
71497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71498 (eval $ac_compile) 2>conftest.er1
71499 ac_status=$?
71500 grep -v '^ *+' conftest.er1 >conftest.err
71501 rm -f conftest.er1
71502 cat conftest.err >&5
71503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71504 (exit $ac_status); } &&
71505 { ac_try='test -z "$ac_cxx_werror_flag"
71506 || test ! -s conftest.err'
71507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71508 (eval $ac_try) 2>&5
71509 ac_status=$?
71510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71511 (exit $ac_status); }; } &&
71512 { ac_try='test -s conftest.$ac_objext'
71513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71514 (eval $ac_try) 2>&5
71515 ac_status=$?
71516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71517 (exit $ac_status); }; }; then
71518 glibcxx_cv_func_logf_use=yes
71519 else
71520 echo "$as_me: failed program was:" >&5
71521 sed 's/^/| /' conftest.$ac_ext >&5
71523 glibcxx_cv_func_logf_use=no
71525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71526 ac_ext=c
71527 ac_cpp='$CPP $CPPFLAGS'
71528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71537 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71539 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71541 for ac_func in logf
71543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71544 echo "$as_me:$LINENO: checking for $ac_func" >&5
71545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71546 if eval "test \"\${$as_ac_var+set}\" = set"; then
71547 echo $ECHO_N "(cached) $ECHO_C" >&6
71548 else
71549 if test x$gcc_no_link = xyes; then
71550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71552 { (exit 1); exit 1; }; }
71554 cat >conftest.$ac_ext <<_ACEOF
71555 /* confdefs.h. */
71556 _ACEOF
71557 cat confdefs.h >>conftest.$ac_ext
71558 cat >>conftest.$ac_ext <<_ACEOF
71559 /* end confdefs.h. */
71560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71562 #define $ac_func innocuous_$ac_func
71564 /* System header to define __stub macros and hopefully few prototypes,
71565 which can conflict with char $ac_func (); below.
71566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71567 <limits.h> exists even on freestanding compilers. */
71569 #ifdef __STDC__
71570 # include <limits.h>
71571 #else
71572 # include <assert.h>
71573 #endif
71575 #undef $ac_func
71577 /* Override any gcc2 internal prototype to avoid an error. */
71578 #ifdef __cplusplus
71579 extern "C"
71581 #endif
71582 /* We use char because int might match the return type of a gcc2
71583 builtin and then its argument prototype would still apply. */
71584 char $ac_func ();
71585 /* The GNU C library defines this for functions which it implements
71586 to always fail with ENOSYS. Some functions are actually named
71587 something starting with __ and the normal name is an alias. */
71588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71589 choke me
71590 #else
71591 char (*f) () = $ac_func;
71592 #endif
71593 #ifdef __cplusplus
71595 #endif
71598 main ()
71600 return f != $ac_func;
71602 return 0;
71604 _ACEOF
71605 rm -f conftest.$ac_objext conftest$ac_exeext
71606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71607 (eval $ac_link) 2>conftest.er1
71608 ac_status=$?
71609 grep -v '^ *+' conftest.er1 >conftest.err
71610 rm -f conftest.er1
71611 cat conftest.err >&5
71612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71613 (exit $ac_status); } &&
71614 { ac_try='test -z "$ac_c_werror_flag"
71615 || test ! -s conftest.err'
71616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71617 (eval $ac_try) 2>&5
71618 ac_status=$?
71619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71620 (exit $ac_status); }; } &&
71621 { ac_try='test -s conftest$ac_exeext'
71622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71623 (eval $ac_try) 2>&5
71624 ac_status=$?
71625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71626 (exit $ac_status); }; }; then
71627 eval "$as_ac_var=yes"
71628 else
71629 echo "$as_me: failed program was:" >&5
71630 sed 's/^/| /' conftest.$ac_ext >&5
71632 eval "$as_ac_var=no"
71634 rm -f conftest.err conftest.$ac_objext \
71635 conftest$ac_exeext conftest.$ac_ext
71637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71639 if test `eval echo '${'$as_ac_var'}'` = yes; then
71640 cat >>confdefs.h <<_ACEOF
71641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71642 _ACEOF
71645 done
71647 else
71649 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71650 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71651 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71652 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71653 echo $ECHO_N "(cached) $ECHO_C" >&6
71654 else
71658 ac_ext=cc
71659 ac_cpp='$CXXCPP $CPPFLAGS'
71660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71664 cat >conftest.$ac_ext <<_ACEOF
71665 /* confdefs.h. */
71666 _ACEOF
71667 cat confdefs.h >>conftest.$ac_ext
71668 cat >>conftest.$ac_ext <<_ACEOF
71669 /* end confdefs.h. */
71670 #include <math.h>
71671 #ifdef HAVE_IEEEFP_H
71672 #include <ieeefp.h>
71673 #endif
71676 main ()
71678 _logf(0);
71680 return 0;
71682 _ACEOF
71683 rm -f conftest.$ac_objext
71684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71685 (eval $ac_compile) 2>conftest.er1
71686 ac_status=$?
71687 grep -v '^ *+' conftest.er1 >conftest.err
71688 rm -f conftest.er1
71689 cat conftest.err >&5
71690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71691 (exit $ac_status); } &&
71692 { ac_try='test -z "$ac_cxx_werror_flag"
71693 || test ! -s conftest.err'
71694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71695 (eval $ac_try) 2>&5
71696 ac_status=$?
71697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71698 (exit $ac_status); }; } &&
71699 { ac_try='test -s conftest.$ac_objext'
71700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71701 (eval $ac_try) 2>&5
71702 ac_status=$?
71703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71704 (exit $ac_status); }; }; then
71705 glibcxx_cv_func__logf_use=yes
71706 else
71707 echo "$as_me: failed program was:" >&5
71708 sed 's/^/| /' conftest.$ac_ext >&5
71710 glibcxx_cv_func__logf_use=no
71712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71713 ac_ext=c
71714 ac_cpp='$CPP $CPPFLAGS'
71715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71724 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71726 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71728 for ac_func in _logf
71730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71731 echo "$as_me:$LINENO: checking for $ac_func" >&5
71732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71733 if eval "test \"\${$as_ac_var+set}\" = set"; then
71734 echo $ECHO_N "(cached) $ECHO_C" >&6
71735 else
71736 if test x$gcc_no_link = xyes; then
71737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71739 { (exit 1); exit 1; }; }
71741 cat >conftest.$ac_ext <<_ACEOF
71742 /* confdefs.h. */
71743 _ACEOF
71744 cat confdefs.h >>conftest.$ac_ext
71745 cat >>conftest.$ac_ext <<_ACEOF
71746 /* end confdefs.h. */
71747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71749 #define $ac_func innocuous_$ac_func
71751 /* System header to define __stub macros and hopefully few prototypes,
71752 which can conflict with char $ac_func (); below.
71753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71754 <limits.h> exists even on freestanding compilers. */
71756 #ifdef __STDC__
71757 # include <limits.h>
71758 #else
71759 # include <assert.h>
71760 #endif
71762 #undef $ac_func
71764 /* Override any gcc2 internal prototype to avoid an error. */
71765 #ifdef __cplusplus
71766 extern "C"
71768 #endif
71769 /* We use char because int might match the return type of a gcc2
71770 builtin and then its argument prototype would still apply. */
71771 char $ac_func ();
71772 /* The GNU C library defines this for functions which it implements
71773 to always fail with ENOSYS. Some functions are actually named
71774 something starting with __ and the normal name is an alias. */
71775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71776 choke me
71777 #else
71778 char (*f) () = $ac_func;
71779 #endif
71780 #ifdef __cplusplus
71782 #endif
71785 main ()
71787 return f != $ac_func;
71789 return 0;
71791 _ACEOF
71792 rm -f conftest.$ac_objext conftest$ac_exeext
71793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71794 (eval $ac_link) 2>conftest.er1
71795 ac_status=$?
71796 grep -v '^ *+' conftest.er1 >conftest.err
71797 rm -f conftest.er1
71798 cat conftest.err >&5
71799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71800 (exit $ac_status); } &&
71801 { ac_try='test -z "$ac_c_werror_flag"
71802 || test ! -s conftest.err'
71803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71804 (eval $ac_try) 2>&5
71805 ac_status=$?
71806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71807 (exit $ac_status); }; } &&
71808 { ac_try='test -s conftest$ac_exeext'
71809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71810 (eval $ac_try) 2>&5
71811 ac_status=$?
71812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71813 (exit $ac_status); }; }; then
71814 eval "$as_ac_var=yes"
71815 else
71816 echo "$as_me: failed program was:" >&5
71817 sed 's/^/| /' conftest.$ac_ext >&5
71819 eval "$as_ac_var=no"
71821 rm -f conftest.err conftest.$ac_objext \
71822 conftest$ac_exeext conftest.$ac_ext
71824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71826 if test `eval echo '${'$as_ac_var'}'` = yes; then
71827 cat >>confdefs.h <<_ACEOF
71828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71829 _ACEOF
71832 done
71842 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71843 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71844 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71845 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71846 echo $ECHO_N "(cached) $ECHO_C" >&6
71847 else
71851 ac_ext=cc
71852 ac_cpp='$CXXCPP $CPPFLAGS'
71853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71857 cat >conftest.$ac_ext <<_ACEOF
71858 /* confdefs.h. */
71859 _ACEOF
71860 cat confdefs.h >>conftest.$ac_ext
71861 cat >>conftest.$ac_ext <<_ACEOF
71862 /* end confdefs.h. */
71863 #include <math.h>
71864 #ifdef HAVE_IEEEFP_H
71865 #include <ieeefp.h>
71866 #endif
71869 main ()
71871 log10f(0);
71873 return 0;
71875 _ACEOF
71876 rm -f conftest.$ac_objext
71877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71878 (eval $ac_compile) 2>conftest.er1
71879 ac_status=$?
71880 grep -v '^ *+' conftest.er1 >conftest.err
71881 rm -f conftest.er1
71882 cat conftest.err >&5
71883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71884 (exit $ac_status); } &&
71885 { ac_try='test -z "$ac_cxx_werror_flag"
71886 || test ! -s conftest.err'
71887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71888 (eval $ac_try) 2>&5
71889 ac_status=$?
71890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71891 (exit $ac_status); }; } &&
71892 { ac_try='test -s conftest.$ac_objext'
71893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71894 (eval $ac_try) 2>&5
71895 ac_status=$?
71896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71897 (exit $ac_status); }; }; then
71898 glibcxx_cv_func_log10f_use=yes
71899 else
71900 echo "$as_me: failed program was:" >&5
71901 sed 's/^/| /' conftest.$ac_ext >&5
71903 glibcxx_cv_func_log10f_use=no
71905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71906 ac_ext=c
71907 ac_cpp='$CPP $CPPFLAGS'
71908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71917 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71919 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71921 for ac_func in log10f
71923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71924 echo "$as_me:$LINENO: checking for $ac_func" >&5
71925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71926 if eval "test \"\${$as_ac_var+set}\" = set"; then
71927 echo $ECHO_N "(cached) $ECHO_C" >&6
71928 else
71929 if test x$gcc_no_link = xyes; then
71930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71932 { (exit 1); exit 1; }; }
71934 cat >conftest.$ac_ext <<_ACEOF
71935 /* confdefs.h. */
71936 _ACEOF
71937 cat confdefs.h >>conftest.$ac_ext
71938 cat >>conftest.$ac_ext <<_ACEOF
71939 /* end confdefs.h. */
71940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71942 #define $ac_func innocuous_$ac_func
71944 /* System header to define __stub macros and hopefully few prototypes,
71945 which can conflict with char $ac_func (); below.
71946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71947 <limits.h> exists even on freestanding compilers. */
71949 #ifdef __STDC__
71950 # include <limits.h>
71951 #else
71952 # include <assert.h>
71953 #endif
71955 #undef $ac_func
71957 /* Override any gcc2 internal prototype to avoid an error. */
71958 #ifdef __cplusplus
71959 extern "C"
71961 #endif
71962 /* We use char because int might match the return type of a gcc2
71963 builtin and then its argument prototype would still apply. */
71964 char $ac_func ();
71965 /* The GNU C library defines this for functions which it implements
71966 to always fail with ENOSYS. Some functions are actually named
71967 something starting with __ and the normal name is an alias. */
71968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71969 choke me
71970 #else
71971 char (*f) () = $ac_func;
71972 #endif
71973 #ifdef __cplusplus
71975 #endif
71978 main ()
71980 return f != $ac_func;
71982 return 0;
71984 _ACEOF
71985 rm -f conftest.$ac_objext conftest$ac_exeext
71986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71987 (eval $ac_link) 2>conftest.er1
71988 ac_status=$?
71989 grep -v '^ *+' conftest.er1 >conftest.err
71990 rm -f conftest.er1
71991 cat conftest.err >&5
71992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71993 (exit $ac_status); } &&
71994 { ac_try='test -z "$ac_c_werror_flag"
71995 || test ! -s conftest.err'
71996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71997 (eval $ac_try) 2>&5
71998 ac_status=$?
71999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000 (exit $ac_status); }; } &&
72001 { ac_try='test -s conftest$ac_exeext'
72002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003 (eval $ac_try) 2>&5
72004 ac_status=$?
72005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006 (exit $ac_status); }; }; then
72007 eval "$as_ac_var=yes"
72008 else
72009 echo "$as_me: failed program was:" >&5
72010 sed 's/^/| /' conftest.$ac_ext >&5
72012 eval "$as_ac_var=no"
72014 rm -f conftest.err conftest.$ac_objext \
72015 conftest$ac_exeext conftest.$ac_ext
72017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72019 if test `eval echo '${'$as_ac_var'}'` = yes; then
72020 cat >>confdefs.h <<_ACEOF
72021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72022 _ACEOF
72025 done
72027 else
72029 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
72030 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
72031 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
72032 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
72033 echo $ECHO_N "(cached) $ECHO_C" >&6
72034 else
72038 ac_ext=cc
72039 ac_cpp='$CXXCPP $CPPFLAGS'
72040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72044 cat >conftest.$ac_ext <<_ACEOF
72045 /* confdefs.h. */
72046 _ACEOF
72047 cat confdefs.h >>conftest.$ac_ext
72048 cat >>conftest.$ac_ext <<_ACEOF
72049 /* end confdefs.h. */
72050 #include <math.h>
72051 #ifdef HAVE_IEEEFP_H
72052 #include <ieeefp.h>
72053 #endif
72056 main ()
72058 _log10f(0);
72060 return 0;
72062 _ACEOF
72063 rm -f conftest.$ac_objext
72064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72065 (eval $ac_compile) 2>conftest.er1
72066 ac_status=$?
72067 grep -v '^ *+' conftest.er1 >conftest.err
72068 rm -f conftest.er1
72069 cat conftest.err >&5
72070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72071 (exit $ac_status); } &&
72072 { ac_try='test -z "$ac_cxx_werror_flag"
72073 || test ! -s conftest.err'
72074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72075 (eval $ac_try) 2>&5
72076 ac_status=$?
72077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72078 (exit $ac_status); }; } &&
72079 { ac_try='test -s conftest.$ac_objext'
72080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72081 (eval $ac_try) 2>&5
72082 ac_status=$?
72083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72084 (exit $ac_status); }; }; then
72085 glibcxx_cv_func__log10f_use=yes
72086 else
72087 echo "$as_me: failed program was:" >&5
72088 sed 's/^/| /' conftest.$ac_ext >&5
72090 glibcxx_cv_func__log10f_use=no
72092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72093 ac_ext=c
72094 ac_cpp='$CPP $CPPFLAGS'
72095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72104 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72106 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72108 for ac_func in _log10f
72110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72111 echo "$as_me:$LINENO: checking for $ac_func" >&5
72112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72113 if eval "test \"\${$as_ac_var+set}\" = set"; then
72114 echo $ECHO_N "(cached) $ECHO_C" >&6
72115 else
72116 if test x$gcc_no_link = xyes; then
72117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72119 { (exit 1); exit 1; }; }
72121 cat >conftest.$ac_ext <<_ACEOF
72122 /* confdefs.h. */
72123 _ACEOF
72124 cat confdefs.h >>conftest.$ac_ext
72125 cat >>conftest.$ac_ext <<_ACEOF
72126 /* end confdefs.h. */
72127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72129 #define $ac_func innocuous_$ac_func
72131 /* System header to define __stub macros and hopefully few prototypes,
72132 which can conflict with char $ac_func (); below.
72133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72134 <limits.h> exists even on freestanding compilers. */
72136 #ifdef __STDC__
72137 # include <limits.h>
72138 #else
72139 # include <assert.h>
72140 #endif
72142 #undef $ac_func
72144 /* Override any gcc2 internal prototype to avoid an error. */
72145 #ifdef __cplusplus
72146 extern "C"
72148 #endif
72149 /* We use char because int might match the return type of a gcc2
72150 builtin and then its argument prototype would still apply. */
72151 char $ac_func ();
72152 /* The GNU C library defines this for functions which it implements
72153 to always fail with ENOSYS. Some functions are actually named
72154 something starting with __ and the normal name is an alias. */
72155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72156 choke me
72157 #else
72158 char (*f) () = $ac_func;
72159 #endif
72160 #ifdef __cplusplus
72162 #endif
72165 main ()
72167 return f != $ac_func;
72169 return 0;
72171 _ACEOF
72172 rm -f conftest.$ac_objext conftest$ac_exeext
72173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72174 (eval $ac_link) 2>conftest.er1
72175 ac_status=$?
72176 grep -v '^ *+' conftest.er1 >conftest.err
72177 rm -f conftest.er1
72178 cat conftest.err >&5
72179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72180 (exit $ac_status); } &&
72181 { ac_try='test -z "$ac_c_werror_flag"
72182 || test ! -s conftest.err'
72183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72184 (eval $ac_try) 2>&5
72185 ac_status=$?
72186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72187 (exit $ac_status); }; } &&
72188 { ac_try='test -s conftest$ac_exeext'
72189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72190 (eval $ac_try) 2>&5
72191 ac_status=$?
72192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72193 (exit $ac_status); }; }; then
72194 eval "$as_ac_var=yes"
72195 else
72196 echo "$as_me: failed program was:" >&5
72197 sed 's/^/| /' conftest.$ac_ext >&5
72199 eval "$as_ac_var=no"
72201 rm -f conftest.err conftest.$ac_objext \
72202 conftest$ac_exeext conftest.$ac_ext
72204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72206 if test `eval echo '${'$as_ac_var'}'` = yes; then
72207 cat >>confdefs.h <<_ACEOF
72208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72209 _ACEOF
72212 done
72222 echo "$as_me:$LINENO: checking for modff declaration" >&5
72223 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72224 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72225 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72226 echo $ECHO_N "(cached) $ECHO_C" >&6
72227 else
72231 ac_ext=cc
72232 ac_cpp='$CXXCPP $CPPFLAGS'
72233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72237 cat >conftest.$ac_ext <<_ACEOF
72238 /* confdefs.h. */
72239 _ACEOF
72240 cat confdefs.h >>conftest.$ac_ext
72241 cat >>conftest.$ac_ext <<_ACEOF
72242 /* end confdefs.h. */
72243 #include <math.h>
72245 main ()
72247 modff(0, 0);
72249 return 0;
72251 _ACEOF
72252 rm -f conftest.$ac_objext
72253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72254 (eval $ac_compile) 2>conftest.er1
72255 ac_status=$?
72256 grep -v '^ *+' conftest.er1 >conftest.err
72257 rm -f conftest.er1
72258 cat conftest.err >&5
72259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72260 (exit $ac_status); } &&
72261 { ac_try='test -z "$ac_cxx_werror_flag"
72262 || test ! -s conftest.err'
72263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72264 (eval $ac_try) 2>&5
72265 ac_status=$?
72266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72267 (exit $ac_status); }; } &&
72268 { ac_try='test -s conftest.$ac_objext'
72269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72270 (eval $ac_try) 2>&5
72271 ac_status=$?
72272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72273 (exit $ac_status); }; }; then
72274 glibcxx_cv_func_modff_use=yes
72275 else
72276 echo "$as_me: failed program was:" >&5
72277 sed 's/^/| /' conftest.$ac_ext >&5
72279 glibcxx_cv_func_modff_use=no
72281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72282 ac_ext=c
72283 ac_cpp='$CPP $CPPFLAGS'
72284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72293 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72295 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72297 for ac_func in modff
72299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72300 echo "$as_me:$LINENO: checking for $ac_func" >&5
72301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72302 if eval "test \"\${$as_ac_var+set}\" = set"; then
72303 echo $ECHO_N "(cached) $ECHO_C" >&6
72304 else
72305 if test x$gcc_no_link = xyes; then
72306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72308 { (exit 1); exit 1; }; }
72310 cat >conftest.$ac_ext <<_ACEOF
72311 /* confdefs.h. */
72312 _ACEOF
72313 cat confdefs.h >>conftest.$ac_ext
72314 cat >>conftest.$ac_ext <<_ACEOF
72315 /* end confdefs.h. */
72316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72318 #define $ac_func innocuous_$ac_func
72320 /* System header to define __stub macros and hopefully few prototypes,
72321 which can conflict with char $ac_func (); below.
72322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72323 <limits.h> exists even on freestanding compilers. */
72325 #ifdef __STDC__
72326 # include <limits.h>
72327 #else
72328 # include <assert.h>
72329 #endif
72331 #undef $ac_func
72333 /* Override any gcc2 internal prototype to avoid an error. */
72334 #ifdef __cplusplus
72335 extern "C"
72337 #endif
72338 /* We use char because int might match the return type of a gcc2
72339 builtin and then its argument prototype would still apply. */
72340 char $ac_func ();
72341 /* The GNU C library defines this for functions which it implements
72342 to always fail with ENOSYS. Some functions are actually named
72343 something starting with __ and the normal name is an alias. */
72344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72345 choke me
72346 #else
72347 char (*f) () = $ac_func;
72348 #endif
72349 #ifdef __cplusplus
72351 #endif
72354 main ()
72356 return f != $ac_func;
72358 return 0;
72360 _ACEOF
72361 rm -f conftest.$ac_objext conftest$ac_exeext
72362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72363 (eval $ac_link) 2>conftest.er1
72364 ac_status=$?
72365 grep -v '^ *+' conftest.er1 >conftest.err
72366 rm -f conftest.er1
72367 cat conftest.err >&5
72368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72369 (exit $ac_status); } &&
72370 { ac_try='test -z "$ac_c_werror_flag"
72371 || test ! -s conftest.err'
72372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72373 (eval $ac_try) 2>&5
72374 ac_status=$?
72375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72376 (exit $ac_status); }; } &&
72377 { ac_try='test -s conftest$ac_exeext'
72378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72379 (eval $ac_try) 2>&5
72380 ac_status=$?
72381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72382 (exit $ac_status); }; }; then
72383 eval "$as_ac_var=yes"
72384 else
72385 echo "$as_me: failed program was:" >&5
72386 sed 's/^/| /' conftest.$ac_ext >&5
72388 eval "$as_ac_var=no"
72390 rm -f conftest.err conftest.$ac_objext \
72391 conftest$ac_exeext conftest.$ac_ext
72393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72395 if test `eval echo '${'$as_ac_var'}'` = yes; then
72396 cat >>confdefs.h <<_ACEOF
72397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72398 _ACEOF
72401 done
72403 else
72405 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72406 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72407 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72408 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72409 echo $ECHO_N "(cached) $ECHO_C" >&6
72410 else
72414 ac_ext=cc
72415 ac_cpp='$CXXCPP $CPPFLAGS'
72416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72420 cat >conftest.$ac_ext <<_ACEOF
72421 /* confdefs.h. */
72422 _ACEOF
72423 cat confdefs.h >>conftest.$ac_ext
72424 cat >>conftest.$ac_ext <<_ACEOF
72425 /* end confdefs.h. */
72426 #include <math.h>
72428 main ()
72430 _modff(0, 0);
72432 return 0;
72434 _ACEOF
72435 rm -f conftest.$ac_objext
72436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72437 (eval $ac_compile) 2>conftest.er1
72438 ac_status=$?
72439 grep -v '^ *+' conftest.er1 >conftest.err
72440 rm -f conftest.er1
72441 cat conftest.err >&5
72442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72443 (exit $ac_status); } &&
72444 { ac_try='test -z "$ac_cxx_werror_flag"
72445 || test ! -s conftest.err'
72446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72447 (eval $ac_try) 2>&5
72448 ac_status=$?
72449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72450 (exit $ac_status); }; } &&
72451 { ac_try='test -s conftest.$ac_objext'
72452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72453 (eval $ac_try) 2>&5
72454 ac_status=$?
72455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72456 (exit $ac_status); }; }; then
72457 glibcxx_cv_func__modff_use=yes
72458 else
72459 echo "$as_me: failed program was:" >&5
72460 sed 's/^/| /' conftest.$ac_ext >&5
72462 glibcxx_cv_func__modff_use=no
72464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72465 ac_ext=c
72466 ac_cpp='$CPP $CPPFLAGS'
72467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72476 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72478 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72480 for ac_func in _modff
72482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72483 echo "$as_me:$LINENO: checking for $ac_func" >&5
72484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72485 if eval "test \"\${$as_ac_var+set}\" = set"; then
72486 echo $ECHO_N "(cached) $ECHO_C" >&6
72487 else
72488 if test x$gcc_no_link = xyes; then
72489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72491 { (exit 1); exit 1; }; }
72493 cat >conftest.$ac_ext <<_ACEOF
72494 /* confdefs.h. */
72495 _ACEOF
72496 cat confdefs.h >>conftest.$ac_ext
72497 cat >>conftest.$ac_ext <<_ACEOF
72498 /* end confdefs.h. */
72499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72501 #define $ac_func innocuous_$ac_func
72503 /* System header to define __stub macros and hopefully few prototypes,
72504 which can conflict with char $ac_func (); below.
72505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72506 <limits.h> exists even on freestanding compilers. */
72508 #ifdef __STDC__
72509 # include <limits.h>
72510 #else
72511 # include <assert.h>
72512 #endif
72514 #undef $ac_func
72516 /* Override any gcc2 internal prototype to avoid an error. */
72517 #ifdef __cplusplus
72518 extern "C"
72520 #endif
72521 /* We use char because int might match the return type of a gcc2
72522 builtin and then its argument prototype would still apply. */
72523 char $ac_func ();
72524 /* The GNU C library defines this for functions which it implements
72525 to always fail with ENOSYS. Some functions are actually named
72526 something starting with __ and the normal name is an alias. */
72527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72528 choke me
72529 #else
72530 char (*f) () = $ac_func;
72531 #endif
72532 #ifdef __cplusplus
72534 #endif
72537 main ()
72539 return f != $ac_func;
72541 return 0;
72543 _ACEOF
72544 rm -f conftest.$ac_objext conftest$ac_exeext
72545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72546 (eval $ac_link) 2>conftest.er1
72547 ac_status=$?
72548 grep -v '^ *+' conftest.er1 >conftest.err
72549 rm -f conftest.er1
72550 cat conftest.err >&5
72551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72552 (exit $ac_status); } &&
72553 { ac_try='test -z "$ac_c_werror_flag"
72554 || test ! -s conftest.err'
72555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72556 (eval $ac_try) 2>&5
72557 ac_status=$?
72558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72559 (exit $ac_status); }; } &&
72560 { ac_try='test -s conftest$ac_exeext'
72561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72562 (eval $ac_try) 2>&5
72563 ac_status=$?
72564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72565 (exit $ac_status); }; }; then
72566 eval "$as_ac_var=yes"
72567 else
72568 echo "$as_me: failed program was:" >&5
72569 sed 's/^/| /' conftest.$ac_ext >&5
72571 eval "$as_ac_var=no"
72573 rm -f conftest.err conftest.$ac_objext \
72574 conftest$ac_exeext conftest.$ac_ext
72576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72578 if test `eval echo '${'$as_ac_var'}'` = yes; then
72579 cat >>confdefs.h <<_ACEOF
72580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72581 _ACEOF
72584 done
72594 echo "$as_me:$LINENO: checking for modf declaration" >&5
72595 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72596 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72597 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72598 echo $ECHO_N "(cached) $ECHO_C" >&6
72599 else
72603 ac_ext=cc
72604 ac_cpp='$CXXCPP $CPPFLAGS'
72605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72609 cat >conftest.$ac_ext <<_ACEOF
72610 /* confdefs.h. */
72611 _ACEOF
72612 cat confdefs.h >>conftest.$ac_ext
72613 cat >>conftest.$ac_ext <<_ACEOF
72614 /* end confdefs.h. */
72615 #include <math.h>
72617 main ()
72619 modf(0, 0);
72621 return 0;
72623 _ACEOF
72624 rm -f conftest.$ac_objext
72625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72626 (eval $ac_compile) 2>conftest.er1
72627 ac_status=$?
72628 grep -v '^ *+' conftest.er1 >conftest.err
72629 rm -f conftest.er1
72630 cat conftest.err >&5
72631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72632 (exit $ac_status); } &&
72633 { ac_try='test -z "$ac_cxx_werror_flag"
72634 || test ! -s conftest.err'
72635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72636 (eval $ac_try) 2>&5
72637 ac_status=$?
72638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72639 (exit $ac_status); }; } &&
72640 { ac_try='test -s conftest.$ac_objext'
72641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72642 (eval $ac_try) 2>&5
72643 ac_status=$?
72644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72645 (exit $ac_status); }; }; then
72646 glibcxx_cv_func_modf_use=yes
72647 else
72648 echo "$as_me: failed program was:" >&5
72649 sed 's/^/| /' conftest.$ac_ext >&5
72651 glibcxx_cv_func_modf_use=no
72653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72654 ac_ext=c
72655 ac_cpp='$CPP $CPPFLAGS'
72656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72665 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72667 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72669 for ac_func in modf
72671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72672 echo "$as_me:$LINENO: checking for $ac_func" >&5
72673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72674 if eval "test \"\${$as_ac_var+set}\" = set"; then
72675 echo $ECHO_N "(cached) $ECHO_C" >&6
72676 else
72677 if test x$gcc_no_link = xyes; then
72678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72680 { (exit 1); exit 1; }; }
72682 cat >conftest.$ac_ext <<_ACEOF
72683 /* confdefs.h. */
72684 _ACEOF
72685 cat confdefs.h >>conftest.$ac_ext
72686 cat >>conftest.$ac_ext <<_ACEOF
72687 /* end confdefs.h. */
72688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72690 #define $ac_func innocuous_$ac_func
72692 /* System header to define __stub macros and hopefully few prototypes,
72693 which can conflict with char $ac_func (); below.
72694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72695 <limits.h> exists even on freestanding compilers. */
72697 #ifdef __STDC__
72698 # include <limits.h>
72699 #else
72700 # include <assert.h>
72701 #endif
72703 #undef $ac_func
72705 /* Override any gcc2 internal prototype to avoid an error. */
72706 #ifdef __cplusplus
72707 extern "C"
72709 #endif
72710 /* We use char because int might match the return type of a gcc2
72711 builtin and then its argument prototype would still apply. */
72712 char $ac_func ();
72713 /* The GNU C library defines this for functions which it implements
72714 to always fail with ENOSYS. Some functions are actually named
72715 something starting with __ and the normal name is an alias. */
72716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72717 choke me
72718 #else
72719 char (*f) () = $ac_func;
72720 #endif
72721 #ifdef __cplusplus
72723 #endif
72726 main ()
72728 return f != $ac_func;
72730 return 0;
72732 _ACEOF
72733 rm -f conftest.$ac_objext conftest$ac_exeext
72734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72735 (eval $ac_link) 2>conftest.er1
72736 ac_status=$?
72737 grep -v '^ *+' conftest.er1 >conftest.err
72738 rm -f conftest.er1
72739 cat conftest.err >&5
72740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72741 (exit $ac_status); } &&
72742 { ac_try='test -z "$ac_c_werror_flag"
72743 || test ! -s conftest.err'
72744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72745 (eval $ac_try) 2>&5
72746 ac_status=$?
72747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72748 (exit $ac_status); }; } &&
72749 { ac_try='test -s conftest$ac_exeext'
72750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72751 (eval $ac_try) 2>&5
72752 ac_status=$?
72753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72754 (exit $ac_status); }; }; then
72755 eval "$as_ac_var=yes"
72756 else
72757 echo "$as_me: failed program was:" >&5
72758 sed 's/^/| /' conftest.$ac_ext >&5
72760 eval "$as_ac_var=no"
72762 rm -f conftest.err conftest.$ac_objext \
72763 conftest$ac_exeext conftest.$ac_ext
72765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72767 if test `eval echo '${'$as_ac_var'}'` = yes; then
72768 cat >>confdefs.h <<_ACEOF
72769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72770 _ACEOF
72773 done
72775 else
72777 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72778 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72779 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72780 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72781 echo $ECHO_N "(cached) $ECHO_C" >&6
72782 else
72786 ac_ext=cc
72787 ac_cpp='$CXXCPP $CPPFLAGS'
72788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72792 cat >conftest.$ac_ext <<_ACEOF
72793 /* confdefs.h. */
72794 _ACEOF
72795 cat confdefs.h >>conftest.$ac_ext
72796 cat >>conftest.$ac_ext <<_ACEOF
72797 /* end confdefs.h. */
72798 #include <math.h>
72800 main ()
72802 _modf(0, 0);
72804 return 0;
72806 _ACEOF
72807 rm -f conftest.$ac_objext
72808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72809 (eval $ac_compile) 2>conftest.er1
72810 ac_status=$?
72811 grep -v '^ *+' conftest.er1 >conftest.err
72812 rm -f conftest.er1
72813 cat conftest.err >&5
72814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72815 (exit $ac_status); } &&
72816 { ac_try='test -z "$ac_cxx_werror_flag"
72817 || test ! -s conftest.err'
72818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72819 (eval $ac_try) 2>&5
72820 ac_status=$?
72821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72822 (exit $ac_status); }; } &&
72823 { ac_try='test -s conftest.$ac_objext'
72824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72825 (eval $ac_try) 2>&5
72826 ac_status=$?
72827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72828 (exit $ac_status); }; }; then
72829 glibcxx_cv_func__modf_use=yes
72830 else
72831 echo "$as_me: failed program was:" >&5
72832 sed 's/^/| /' conftest.$ac_ext >&5
72834 glibcxx_cv_func__modf_use=no
72836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72837 ac_ext=c
72838 ac_cpp='$CPP $CPPFLAGS'
72839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72848 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72850 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72852 for ac_func in _modf
72854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72855 echo "$as_me:$LINENO: checking for $ac_func" >&5
72856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72857 if eval "test \"\${$as_ac_var+set}\" = set"; then
72858 echo $ECHO_N "(cached) $ECHO_C" >&6
72859 else
72860 if test x$gcc_no_link = xyes; then
72861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72863 { (exit 1); exit 1; }; }
72865 cat >conftest.$ac_ext <<_ACEOF
72866 /* confdefs.h. */
72867 _ACEOF
72868 cat confdefs.h >>conftest.$ac_ext
72869 cat >>conftest.$ac_ext <<_ACEOF
72870 /* end confdefs.h. */
72871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72873 #define $ac_func innocuous_$ac_func
72875 /* System header to define __stub macros and hopefully few prototypes,
72876 which can conflict with char $ac_func (); below.
72877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72878 <limits.h> exists even on freestanding compilers. */
72880 #ifdef __STDC__
72881 # include <limits.h>
72882 #else
72883 # include <assert.h>
72884 #endif
72886 #undef $ac_func
72888 /* Override any gcc2 internal prototype to avoid an error. */
72889 #ifdef __cplusplus
72890 extern "C"
72892 #endif
72893 /* We use char because int might match the return type of a gcc2
72894 builtin and then its argument prototype would still apply. */
72895 char $ac_func ();
72896 /* The GNU C library defines this for functions which it implements
72897 to always fail with ENOSYS. Some functions are actually named
72898 something starting with __ and the normal name is an alias. */
72899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72900 choke me
72901 #else
72902 char (*f) () = $ac_func;
72903 #endif
72904 #ifdef __cplusplus
72906 #endif
72909 main ()
72911 return f != $ac_func;
72913 return 0;
72915 _ACEOF
72916 rm -f conftest.$ac_objext conftest$ac_exeext
72917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72918 (eval $ac_link) 2>conftest.er1
72919 ac_status=$?
72920 grep -v '^ *+' conftest.er1 >conftest.err
72921 rm -f conftest.er1
72922 cat conftest.err >&5
72923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72924 (exit $ac_status); } &&
72925 { ac_try='test -z "$ac_c_werror_flag"
72926 || test ! -s conftest.err'
72927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72928 (eval $ac_try) 2>&5
72929 ac_status=$?
72930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72931 (exit $ac_status); }; } &&
72932 { ac_try='test -s conftest$ac_exeext'
72933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72934 (eval $ac_try) 2>&5
72935 ac_status=$?
72936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72937 (exit $ac_status); }; }; then
72938 eval "$as_ac_var=yes"
72939 else
72940 echo "$as_me: failed program was:" >&5
72941 sed 's/^/| /' conftest.$ac_ext >&5
72943 eval "$as_ac_var=no"
72945 rm -f conftest.err conftest.$ac_objext \
72946 conftest$ac_exeext conftest.$ac_ext
72948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72950 if test `eval echo '${'$as_ac_var'}'` = yes; then
72951 cat >>confdefs.h <<_ACEOF
72952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72953 _ACEOF
72956 done
72966 echo "$as_me:$LINENO: checking for powf declaration" >&5
72967 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72968 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72969 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72970 echo $ECHO_N "(cached) $ECHO_C" >&6
72971 else
72975 ac_ext=cc
72976 ac_cpp='$CXXCPP $CPPFLAGS'
72977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72981 cat >conftest.$ac_ext <<_ACEOF
72982 /* confdefs.h. */
72983 _ACEOF
72984 cat confdefs.h >>conftest.$ac_ext
72985 cat >>conftest.$ac_ext <<_ACEOF
72986 /* end confdefs.h. */
72987 #include <math.h>
72989 main ()
72991 powf(0, 0);
72993 return 0;
72995 _ACEOF
72996 rm -f conftest.$ac_objext
72997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72998 (eval $ac_compile) 2>conftest.er1
72999 ac_status=$?
73000 grep -v '^ *+' conftest.er1 >conftest.err
73001 rm -f conftest.er1
73002 cat conftest.err >&5
73003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004 (exit $ac_status); } &&
73005 { ac_try='test -z "$ac_cxx_werror_flag"
73006 || test ! -s conftest.err'
73007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73008 (eval $ac_try) 2>&5
73009 ac_status=$?
73010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73011 (exit $ac_status); }; } &&
73012 { ac_try='test -s conftest.$ac_objext'
73013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73014 (eval $ac_try) 2>&5
73015 ac_status=$?
73016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73017 (exit $ac_status); }; }; then
73018 glibcxx_cv_func_powf_use=yes
73019 else
73020 echo "$as_me: failed program was:" >&5
73021 sed 's/^/| /' conftest.$ac_ext >&5
73023 glibcxx_cv_func_powf_use=no
73025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73026 ac_ext=c
73027 ac_cpp='$CPP $CPPFLAGS'
73028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73037 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73039 if test x$glibcxx_cv_func_powf_use = x"yes"; then
73041 for ac_func in powf
73043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73044 echo "$as_me:$LINENO: checking for $ac_func" >&5
73045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73046 if eval "test \"\${$as_ac_var+set}\" = set"; then
73047 echo $ECHO_N "(cached) $ECHO_C" >&6
73048 else
73049 if test x$gcc_no_link = xyes; then
73050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73052 { (exit 1); exit 1; }; }
73054 cat >conftest.$ac_ext <<_ACEOF
73055 /* confdefs.h. */
73056 _ACEOF
73057 cat confdefs.h >>conftest.$ac_ext
73058 cat >>conftest.$ac_ext <<_ACEOF
73059 /* end confdefs.h. */
73060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73062 #define $ac_func innocuous_$ac_func
73064 /* System header to define __stub macros and hopefully few prototypes,
73065 which can conflict with char $ac_func (); below.
73066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73067 <limits.h> exists even on freestanding compilers. */
73069 #ifdef __STDC__
73070 # include <limits.h>
73071 #else
73072 # include <assert.h>
73073 #endif
73075 #undef $ac_func
73077 /* Override any gcc2 internal prototype to avoid an error. */
73078 #ifdef __cplusplus
73079 extern "C"
73081 #endif
73082 /* We use char because int might match the return type of a gcc2
73083 builtin and then its argument prototype would still apply. */
73084 char $ac_func ();
73085 /* The GNU C library defines this for functions which it implements
73086 to always fail with ENOSYS. Some functions are actually named
73087 something starting with __ and the normal name is an alias. */
73088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73089 choke me
73090 #else
73091 char (*f) () = $ac_func;
73092 #endif
73093 #ifdef __cplusplus
73095 #endif
73098 main ()
73100 return f != $ac_func;
73102 return 0;
73104 _ACEOF
73105 rm -f conftest.$ac_objext conftest$ac_exeext
73106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73107 (eval $ac_link) 2>conftest.er1
73108 ac_status=$?
73109 grep -v '^ *+' conftest.er1 >conftest.err
73110 rm -f conftest.er1
73111 cat conftest.err >&5
73112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73113 (exit $ac_status); } &&
73114 { ac_try='test -z "$ac_c_werror_flag"
73115 || test ! -s conftest.err'
73116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73117 (eval $ac_try) 2>&5
73118 ac_status=$?
73119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73120 (exit $ac_status); }; } &&
73121 { ac_try='test -s conftest$ac_exeext'
73122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73123 (eval $ac_try) 2>&5
73124 ac_status=$?
73125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73126 (exit $ac_status); }; }; then
73127 eval "$as_ac_var=yes"
73128 else
73129 echo "$as_me: failed program was:" >&5
73130 sed 's/^/| /' conftest.$ac_ext >&5
73132 eval "$as_ac_var=no"
73134 rm -f conftest.err conftest.$ac_objext \
73135 conftest$ac_exeext conftest.$ac_ext
73137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73139 if test `eval echo '${'$as_ac_var'}'` = yes; then
73140 cat >>confdefs.h <<_ACEOF
73141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73142 _ACEOF
73145 done
73147 else
73149 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73150 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73151 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73152 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73153 echo $ECHO_N "(cached) $ECHO_C" >&6
73154 else
73158 ac_ext=cc
73159 ac_cpp='$CXXCPP $CPPFLAGS'
73160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73164 cat >conftest.$ac_ext <<_ACEOF
73165 /* confdefs.h. */
73166 _ACEOF
73167 cat confdefs.h >>conftest.$ac_ext
73168 cat >>conftest.$ac_ext <<_ACEOF
73169 /* end confdefs.h. */
73170 #include <math.h>
73172 main ()
73174 _powf(0, 0);
73176 return 0;
73178 _ACEOF
73179 rm -f conftest.$ac_objext
73180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73181 (eval $ac_compile) 2>conftest.er1
73182 ac_status=$?
73183 grep -v '^ *+' conftest.er1 >conftest.err
73184 rm -f conftest.er1
73185 cat conftest.err >&5
73186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73187 (exit $ac_status); } &&
73188 { ac_try='test -z "$ac_cxx_werror_flag"
73189 || test ! -s conftest.err'
73190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73191 (eval $ac_try) 2>&5
73192 ac_status=$?
73193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73194 (exit $ac_status); }; } &&
73195 { ac_try='test -s conftest.$ac_objext'
73196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73197 (eval $ac_try) 2>&5
73198 ac_status=$?
73199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73200 (exit $ac_status); }; }; then
73201 glibcxx_cv_func__powf_use=yes
73202 else
73203 echo "$as_me: failed program was:" >&5
73204 sed 's/^/| /' conftest.$ac_ext >&5
73206 glibcxx_cv_func__powf_use=no
73208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73209 ac_ext=c
73210 ac_cpp='$CPP $CPPFLAGS'
73211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73220 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73222 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73224 for ac_func in _powf
73226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73227 echo "$as_me:$LINENO: checking for $ac_func" >&5
73228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73229 if eval "test \"\${$as_ac_var+set}\" = set"; then
73230 echo $ECHO_N "(cached) $ECHO_C" >&6
73231 else
73232 if test x$gcc_no_link = xyes; then
73233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73235 { (exit 1); exit 1; }; }
73237 cat >conftest.$ac_ext <<_ACEOF
73238 /* confdefs.h. */
73239 _ACEOF
73240 cat confdefs.h >>conftest.$ac_ext
73241 cat >>conftest.$ac_ext <<_ACEOF
73242 /* end confdefs.h. */
73243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73245 #define $ac_func innocuous_$ac_func
73247 /* System header to define __stub macros and hopefully few prototypes,
73248 which can conflict with char $ac_func (); below.
73249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73250 <limits.h> exists even on freestanding compilers. */
73252 #ifdef __STDC__
73253 # include <limits.h>
73254 #else
73255 # include <assert.h>
73256 #endif
73258 #undef $ac_func
73260 /* Override any gcc2 internal prototype to avoid an error. */
73261 #ifdef __cplusplus
73262 extern "C"
73264 #endif
73265 /* We use char because int might match the return type of a gcc2
73266 builtin and then its argument prototype would still apply. */
73267 char $ac_func ();
73268 /* The GNU C library defines this for functions which it implements
73269 to always fail with ENOSYS. Some functions are actually named
73270 something starting with __ and the normal name is an alias. */
73271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73272 choke me
73273 #else
73274 char (*f) () = $ac_func;
73275 #endif
73276 #ifdef __cplusplus
73278 #endif
73281 main ()
73283 return f != $ac_func;
73285 return 0;
73287 _ACEOF
73288 rm -f conftest.$ac_objext conftest$ac_exeext
73289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73290 (eval $ac_link) 2>conftest.er1
73291 ac_status=$?
73292 grep -v '^ *+' conftest.er1 >conftest.err
73293 rm -f conftest.er1
73294 cat conftest.err >&5
73295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73296 (exit $ac_status); } &&
73297 { ac_try='test -z "$ac_c_werror_flag"
73298 || test ! -s conftest.err'
73299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73300 (eval $ac_try) 2>&5
73301 ac_status=$?
73302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73303 (exit $ac_status); }; } &&
73304 { ac_try='test -s conftest$ac_exeext'
73305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73306 (eval $ac_try) 2>&5
73307 ac_status=$?
73308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73309 (exit $ac_status); }; }; then
73310 eval "$as_ac_var=yes"
73311 else
73312 echo "$as_me: failed program was:" >&5
73313 sed 's/^/| /' conftest.$ac_ext >&5
73315 eval "$as_ac_var=no"
73317 rm -f conftest.err conftest.$ac_objext \
73318 conftest$ac_exeext conftest.$ac_ext
73320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73322 if test `eval echo '${'$as_ac_var'}'` = yes; then
73323 cat >>confdefs.h <<_ACEOF
73324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73325 _ACEOF
73328 done
73338 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73339 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73340 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73341 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73342 echo $ECHO_N "(cached) $ECHO_C" >&6
73343 else
73347 ac_ext=cc
73348 ac_cpp='$CXXCPP $CPPFLAGS'
73349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73353 cat >conftest.$ac_ext <<_ACEOF
73354 /* confdefs.h. */
73355 _ACEOF
73356 cat confdefs.h >>conftest.$ac_ext
73357 cat >>conftest.$ac_ext <<_ACEOF
73358 /* end confdefs.h. */
73359 #include <math.h>
73360 #ifdef HAVE_IEEEFP_H
73361 #include <ieeefp.h>
73362 #endif
73365 main ()
73367 sqrtf(0);
73369 return 0;
73371 _ACEOF
73372 rm -f conftest.$ac_objext
73373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73374 (eval $ac_compile) 2>conftest.er1
73375 ac_status=$?
73376 grep -v '^ *+' conftest.er1 >conftest.err
73377 rm -f conftest.er1
73378 cat conftest.err >&5
73379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380 (exit $ac_status); } &&
73381 { ac_try='test -z "$ac_cxx_werror_flag"
73382 || test ! -s conftest.err'
73383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73384 (eval $ac_try) 2>&5
73385 ac_status=$?
73386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73387 (exit $ac_status); }; } &&
73388 { ac_try='test -s conftest.$ac_objext'
73389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73390 (eval $ac_try) 2>&5
73391 ac_status=$?
73392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73393 (exit $ac_status); }; }; then
73394 glibcxx_cv_func_sqrtf_use=yes
73395 else
73396 echo "$as_me: failed program was:" >&5
73397 sed 's/^/| /' conftest.$ac_ext >&5
73399 glibcxx_cv_func_sqrtf_use=no
73401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73402 ac_ext=c
73403 ac_cpp='$CPP $CPPFLAGS'
73404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73412 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73413 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73415 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73417 for ac_func in sqrtf
73419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73420 echo "$as_me:$LINENO: checking for $ac_func" >&5
73421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73422 if eval "test \"\${$as_ac_var+set}\" = set"; then
73423 echo $ECHO_N "(cached) $ECHO_C" >&6
73424 else
73425 if test x$gcc_no_link = xyes; then
73426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73428 { (exit 1); exit 1; }; }
73430 cat >conftest.$ac_ext <<_ACEOF
73431 /* confdefs.h. */
73432 _ACEOF
73433 cat confdefs.h >>conftest.$ac_ext
73434 cat >>conftest.$ac_ext <<_ACEOF
73435 /* end confdefs.h. */
73436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73438 #define $ac_func innocuous_$ac_func
73440 /* System header to define __stub macros and hopefully few prototypes,
73441 which can conflict with char $ac_func (); below.
73442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73443 <limits.h> exists even on freestanding compilers. */
73445 #ifdef __STDC__
73446 # include <limits.h>
73447 #else
73448 # include <assert.h>
73449 #endif
73451 #undef $ac_func
73453 /* Override any gcc2 internal prototype to avoid an error. */
73454 #ifdef __cplusplus
73455 extern "C"
73457 #endif
73458 /* We use char because int might match the return type of a gcc2
73459 builtin and then its argument prototype would still apply. */
73460 char $ac_func ();
73461 /* The GNU C library defines this for functions which it implements
73462 to always fail with ENOSYS. Some functions are actually named
73463 something starting with __ and the normal name is an alias. */
73464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73465 choke me
73466 #else
73467 char (*f) () = $ac_func;
73468 #endif
73469 #ifdef __cplusplus
73471 #endif
73474 main ()
73476 return f != $ac_func;
73478 return 0;
73480 _ACEOF
73481 rm -f conftest.$ac_objext conftest$ac_exeext
73482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73483 (eval $ac_link) 2>conftest.er1
73484 ac_status=$?
73485 grep -v '^ *+' conftest.er1 >conftest.err
73486 rm -f conftest.er1
73487 cat conftest.err >&5
73488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73489 (exit $ac_status); } &&
73490 { ac_try='test -z "$ac_c_werror_flag"
73491 || test ! -s conftest.err'
73492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73493 (eval $ac_try) 2>&5
73494 ac_status=$?
73495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73496 (exit $ac_status); }; } &&
73497 { ac_try='test -s conftest$ac_exeext'
73498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73499 (eval $ac_try) 2>&5
73500 ac_status=$?
73501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73502 (exit $ac_status); }; }; then
73503 eval "$as_ac_var=yes"
73504 else
73505 echo "$as_me: failed program was:" >&5
73506 sed 's/^/| /' conftest.$ac_ext >&5
73508 eval "$as_ac_var=no"
73510 rm -f conftest.err conftest.$ac_objext \
73511 conftest$ac_exeext conftest.$ac_ext
73513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73515 if test `eval echo '${'$as_ac_var'}'` = yes; then
73516 cat >>confdefs.h <<_ACEOF
73517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73518 _ACEOF
73521 done
73523 else
73525 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73526 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73527 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73528 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73529 echo $ECHO_N "(cached) $ECHO_C" >&6
73530 else
73534 ac_ext=cc
73535 ac_cpp='$CXXCPP $CPPFLAGS'
73536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73540 cat >conftest.$ac_ext <<_ACEOF
73541 /* confdefs.h. */
73542 _ACEOF
73543 cat confdefs.h >>conftest.$ac_ext
73544 cat >>conftest.$ac_ext <<_ACEOF
73545 /* end confdefs.h. */
73546 #include <math.h>
73547 #ifdef HAVE_IEEEFP_H
73548 #include <ieeefp.h>
73549 #endif
73552 main ()
73554 _sqrtf(0);
73556 return 0;
73558 _ACEOF
73559 rm -f conftest.$ac_objext
73560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73561 (eval $ac_compile) 2>conftest.er1
73562 ac_status=$?
73563 grep -v '^ *+' conftest.er1 >conftest.err
73564 rm -f conftest.er1
73565 cat conftest.err >&5
73566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73567 (exit $ac_status); } &&
73568 { ac_try='test -z "$ac_cxx_werror_flag"
73569 || test ! -s conftest.err'
73570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73571 (eval $ac_try) 2>&5
73572 ac_status=$?
73573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73574 (exit $ac_status); }; } &&
73575 { ac_try='test -s conftest.$ac_objext'
73576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73577 (eval $ac_try) 2>&5
73578 ac_status=$?
73579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73580 (exit $ac_status); }; }; then
73581 glibcxx_cv_func__sqrtf_use=yes
73582 else
73583 echo "$as_me: failed program was:" >&5
73584 sed 's/^/| /' conftest.$ac_ext >&5
73586 glibcxx_cv_func__sqrtf_use=no
73588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73589 ac_ext=c
73590 ac_cpp='$CPP $CPPFLAGS'
73591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73600 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73602 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73604 for ac_func in _sqrtf
73606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73607 echo "$as_me:$LINENO: checking for $ac_func" >&5
73608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73609 if eval "test \"\${$as_ac_var+set}\" = set"; then
73610 echo $ECHO_N "(cached) $ECHO_C" >&6
73611 else
73612 if test x$gcc_no_link = xyes; then
73613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73615 { (exit 1); exit 1; }; }
73617 cat >conftest.$ac_ext <<_ACEOF
73618 /* confdefs.h. */
73619 _ACEOF
73620 cat confdefs.h >>conftest.$ac_ext
73621 cat >>conftest.$ac_ext <<_ACEOF
73622 /* end confdefs.h. */
73623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73625 #define $ac_func innocuous_$ac_func
73627 /* System header to define __stub macros and hopefully few prototypes,
73628 which can conflict with char $ac_func (); below.
73629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73630 <limits.h> exists even on freestanding compilers. */
73632 #ifdef __STDC__
73633 # include <limits.h>
73634 #else
73635 # include <assert.h>
73636 #endif
73638 #undef $ac_func
73640 /* Override any gcc2 internal prototype to avoid an error. */
73641 #ifdef __cplusplus
73642 extern "C"
73644 #endif
73645 /* We use char because int might match the return type of a gcc2
73646 builtin and then its argument prototype would still apply. */
73647 char $ac_func ();
73648 /* The GNU C library defines this for functions which it implements
73649 to always fail with ENOSYS. Some functions are actually named
73650 something starting with __ and the normal name is an alias. */
73651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73652 choke me
73653 #else
73654 char (*f) () = $ac_func;
73655 #endif
73656 #ifdef __cplusplus
73658 #endif
73661 main ()
73663 return f != $ac_func;
73665 return 0;
73667 _ACEOF
73668 rm -f conftest.$ac_objext conftest$ac_exeext
73669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73670 (eval $ac_link) 2>conftest.er1
73671 ac_status=$?
73672 grep -v '^ *+' conftest.er1 >conftest.err
73673 rm -f conftest.er1
73674 cat conftest.err >&5
73675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73676 (exit $ac_status); } &&
73677 { ac_try='test -z "$ac_c_werror_flag"
73678 || test ! -s conftest.err'
73679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73680 (eval $ac_try) 2>&5
73681 ac_status=$?
73682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73683 (exit $ac_status); }; } &&
73684 { ac_try='test -s conftest$ac_exeext'
73685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73686 (eval $ac_try) 2>&5
73687 ac_status=$?
73688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73689 (exit $ac_status); }; }; then
73690 eval "$as_ac_var=yes"
73691 else
73692 echo "$as_me: failed program was:" >&5
73693 sed 's/^/| /' conftest.$ac_ext >&5
73695 eval "$as_ac_var=no"
73697 rm -f conftest.err conftest.$ac_objext \
73698 conftest$ac_exeext conftest.$ac_ext
73700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73702 if test `eval echo '${'$as_ac_var'}'` = yes; then
73703 cat >>confdefs.h <<_ACEOF
73704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73705 _ACEOF
73708 done
73718 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73719 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73720 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73721 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73722 echo $ECHO_N "(cached) $ECHO_C" >&6
73723 else
73727 ac_ext=cc
73728 ac_cpp='$CXXCPP $CPPFLAGS'
73729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73733 cat >conftest.$ac_ext <<_ACEOF
73734 /* confdefs.h. */
73735 _ACEOF
73736 cat confdefs.h >>conftest.$ac_ext
73737 cat >>conftest.$ac_ext <<_ACEOF
73738 /* end confdefs.h. */
73739 #include <math.h>
73741 main ()
73743 sincosf(0, 0, 0);
73745 return 0;
73747 _ACEOF
73748 rm -f conftest.$ac_objext
73749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73750 (eval $ac_compile) 2>conftest.er1
73751 ac_status=$?
73752 grep -v '^ *+' conftest.er1 >conftest.err
73753 rm -f conftest.er1
73754 cat conftest.err >&5
73755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756 (exit $ac_status); } &&
73757 { ac_try='test -z "$ac_cxx_werror_flag"
73758 || test ! -s conftest.err'
73759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73760 (eval $ac_try) 2>&5
73761 ac_status=$?
73762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73763 (exit $ac_status); }; } &&
73764 { ac_try='test -s conftest.$ac_objext'
73765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73766 (eval $ac_try) 2>&5
73767 ac_status=$?
73768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73769 (exit $ac_status); }; }; then
73770 glibcxx_cv_func_sincosf_use=yes
73771 else
73772 echo "$as_me: failed program was:" >&5
73773 sed 's/^/| /' conftest.$ac_ext >&5
73775 glibcxx_cv_func_sincosf_use=no
73777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73778 ac_ext=c
73779 ac_cpp='$CPP $CPPFLAGS'
73780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73789 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73791 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73793 for ac_func in sincosf
73795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73796 echo "$as_me:$LINENO: checking for $ac_func" >&5
73797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73798 if eval "test \"\${$as_ac_var+set}\" = set"; then
73799 echo $ECHO_N "(cached) $ECHO_C" >&6
73800 else
73801 if test x$gcc_no_link = xyes; then
73802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73804 { (exit 1); exit 1; }; }
73806 cat >conftest.$ac_ext <<_ACEOF
73807 /* confdefs.h. */
73808 _ACEOF
73809 cat confdefs.h >>conftest.$ac_ext
73810 cat >>conftest.$ac_ext <<_ACEOF
73811 /* end confdefs.h. */
73812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73814 #define $ac_func innocuous_$ac_func
73816 /* System header to define __stub macros and hopefully few prototypes,
73817 which can conflict with char $ac_func (); below.
73818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73819 <limits.h> exists even on freestanding compilers. */
73821 #ifdef __STDC__
73822 # include <limits.h>
73823 #else
73824 # include <assert.h>
73825 #endif
73827 #undef $ac_func
73829 /* Override any gcc2 internal prototype to avoid an error. */
73830 #ifdef __cplusplus
73831 extern "C"
73833 #endif
73834 /* We use char because int might match the return type of a gcc2
73835 builtin and then its argument prototype would still apply. */
73836 char $ac_func ();
73837 /* The GNU C library defines this for functions which it implements
73838 to always fail with ENOSYS. Some functions are actually named
73839 something starting with __ and the normal name is an alias. */
73840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73841 choke me
73842 #else
73843 char (*f) () = $ac_func;
73844 #endif
73845 #ifdef __cplusplus
73847 #endif
73850 main ()
73852 return f != $ac_func;
73854 return 0;
73856 _ACEOF
73857 rm -f conftest.$ac_objext conftest$ac_exeext
73858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73859 (eval $ac_link) 2>conftest.er1
73860 ac_status=$?
73861 grep -v '^ *+' conftest.er1 >conftest.err
73862 rm -f conftest.er1
73863 cat conftest.err >&5
73864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73865 (exit $ac_status); } &&
73866 { ac_try='test -z "$ac_c_werror_flag"
73867 || test ! -s conftest.err'
73868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73869 (eval $ac_try) 2>&5
73870 ac_status=$?
73871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73872 (exit $ac_status); }; } &&
73873 { ac_try='test -s conftest$ac_exeext'
73874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73875 (eval $ac_try) 2>&5
73876 ac_status=$?
73877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73878 (exit $ac_status); }; }; then
73879 eval "$as_ac_var=yes"
73880 else
73881 echo "$as_me: failed program was:" >&5
73882 sed 's/^/| /' conftest.$ac_ext >&5
73884 eval "$as_ac_var=no"
73886 rm -f conftest.err conftest.$ac_objext \
73887 conftest$ac_exeext conftest.$ac_ext
73889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73891 if test `eval echo '${'$as_ac_var'}'` = yes; then
73892 cat >>confdefs.h <<_ACEOF
73893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73894 _ACEOF
73897 done
73899 else
73901 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73902 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73903 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73904 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73905 echo $ECHO_N "(cached) $ECHO_C" >&6
73906 else
73910 ac_ext=cc
73911 ac_cpp='$CXXCPP $CPPFLAGS'
73912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73916 cat >conftest.$ac_ext <<_ACEOF
73917 /* confdefs.h. */
73918 _ACEOF
73919 cat confdefs.h >>conftest.$ac_ext
73920 cat >>conftest.$ac_ext <<_ACEOF
73921 /* end confdefs.h. */
73922 #include <math.h>
73924 main ()
73926 _sincosf(0, 0, 0);
73928 return 0;
73930 _ACEOF
73931 rm -f conftest.$ac_objext
73932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73933 (eval $ac_compile) 2>conftest.er1
73934 ac_status=$?
73935 grep -v '^ *+' conftest.er1 >conftest.err
73936 rm -f conftest.er1
73937 cat conftest.err >&5
73938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73939 (exit $ac_status); } &&
73940 { ac_try='test -z "$ac_cxx_werror_flag"
73941 || test ! -s conftest.err'
73942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73943 (eval $ac_try) 2>&5
73944 ac_status=$?
73945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73946 (exit $ac_status); }; } &&
73947 { ac_try='test -s conftest.$ac_objext'
73948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73949 (eval $ac_try) 2>&5
73950 ac_status=$?
73951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73952 (exit $ac_status); }; }; then
73953 glibcxx_cv_func__sincosf_use=yes
73954 else
73955 echo "$as_me: failed program was:" >&5
73956 sed 's/^/| /' conftest.$ac_ext >&5
73958 glibcxx_cv_func__sincosf_use=no
73960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73961 ac_ext=c
73962 ac_cpp='$CPP $CPPFLAGS'
73963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73972 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73974 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73976 for ac_func in _sincosf
73978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73979 echo "$as_me:$LINENO: checking for $ac_func" >&5
73980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73981 if eval "test \"\${$as_ac_var+set}\" = set"; then
73982 echo $ECHO_N "(cached) $ECHO_C" >&6
73983 else
73984 if test x$gcc_no_link = xyes; then
73985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73987 { (exit 1); exit 1; }; }
73989 cat >conftest.$ac_ext <<_ACEOF
73990 /* confdefs.h. */
73991 _ACEOF
73992 cat confdefs.h >>conftest.$ac_ext
73993 cat >>conftest.$ac_ext <<_ACEOF
73994 /* end confdefs.h. */
73995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73997 #define $ac_func innocuous_$ac_func
73999 /* System header to define __stub macros and hopefully few prototypes,
74000 which can conflict with char $ac_func (); below.
74001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74002 <limits.h> exists even on freestanding compilers. */
74004 #ifdef __STDC__
74005 # include <limits.h>
74006 #else
74007 # include <assert.h>
74008 #endif
74010 #undef $ac_func
74012 /* Override any gcc2 internal prototype to avoid an error. */
74013 #ifdef __cplusplus
74014 extern "C"
74016 #endif
74017 /* We use char because int might match the return type of a gcc2
74018 builtin and then its argument prototype would still apply. */
74019 char $ac_func ();
74020 /* The GNU C library defines this for functions which it implements
74021 to always fail with ENOSYS. Some functions are actually named
74022 something starting with __ and the normal name is an alias. */
74023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74024 choke me
74025 #else
74026 char (*f) () = $ac_func;
74027 #endif
74028 #ifdef __cplusplus
74030 #endif
74033 main ()
74035 return f != $ac_func;
74037 return 0;
74039 _ACEOF
74040 rm -f conftest.$ac_objext conftest$ac_exeext
74041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74042 (eval $ac_link) 2>conftest.er1
74043 ac_status=$?
74044 grep -v '^ *+' conftest.er1 >conftest.err
74045 rm -f conftest.er1
74046 cat conftest.err >&5
74047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74048 (exit $ac_status); } &&
74049 { ac_try='test -z "$ac_c_werror_flag"
74050 || test ! -s conftest.err'
74051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74052 (eval $ac_try) 2>&5
74053 ac_status=$?
74054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74055 (exit $ac_status); }; } &&
74056 { ac_try='test -s conftest$ac_exeext'
74057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74058 (eval $ac_try) 2>&5
74059 ac_status=$?
74060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74061 (exit $ac_status); }; }; then
74062 eval "$as_ac_var=yes"
74063 else
74064 echo "$as_me: failed program was:" >&5
74065 sed 's/^/| /' conftest.$ac_ext >&5
74067 eval "$as_ac_var=no"
74069 rm -f conftest.err conftest.$ac_objext \
74070 conftest$ac_exeext conftest.$ac_ext
74072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74074 if test `eval echo '${'$as_ac_var'}'` = yes; then
74075 cat >>confdefs.h <<_ACEOF
74076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74077 _ACEOF
74080 done
74090 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74091 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74092 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74093 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74094 echo $ECHO_N "(cached) $ECHO_C" >&6
74095 else
74099 ac_ext=cc
74100 ac_cpp='$CXXCPP $CPPFLAGS'
74101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74105 cat >conftest.$ac_ext <<_ACEOF
74106 /* confdefs.h. */
74107 _ACEOF
74108 cat confdefs.h >>conftest.$ac_ext
74109 cat >>conftest.$ac_ext <<_ACEOF
74110 /* end confdefs.h. */
74111 #include <math.h>
74112 #ifdef HAVE_IEEEFP_H
74113 #include <ieeefp.h>
74114 #endif
74117 main ()
74119 finitef(0);
74121 return 0;
74123 _ACEOF
74124 rm -f conftest.$ac_objext
74125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74126 (eval $ac_compile) 2>conftest.er1
74127 ac_status=$?
74128 grep -v '^ *+' conftest.er1 >conftest.err
74129 rm -f conftest.er1
74130 cat conftest.err >&5
74131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74132 (exit $ac_status); } &&
74133 { ac_try='test -z "$ac_cxx_werror_flag"
74134 || test ! -s conftest.err'
74135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74136 (eval $ac_try) 2>&5
74137 ac_status=$?
74138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74139 (exit $ac_status); }; } &&
74140 { ac_try='test -s conftest.$ac_objext'
74141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74142 (eval $ac_try) 2>&5
74143 ac_status=$?
74144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74145 (exit $ac_status); }; }; then
74146 glibcxx_cv_func_finitef_use=yes
74147 else
74148 echo "$as_me: failed program was:" >&5
74149 sed 's/^/| /' conftest.$ac_ext >&5
74151 glibcxx_cv_func_finitef_use=no
74153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74154 ac_ext=c
74155 ac_cpp='$CPP $CPPFLAGS'
74156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74165 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74167 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74169 for ac_func in finitef
74171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74172 echo "$as_me:$LINENO: checking for $ac_func" >&5
74173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74174 if eval "test \"\${$as_ac_var+set}\" = set"; then
74175 echo $ECHO_N "(cached) $ECHO_C" >&6
74176 else
74177 if test x$gcc_no_link = xyes; then
74178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74180 { (exit 1); exit 1; }; }
74182 cat >conftest.$ac_ext <<_ACEOF
74183 /* confdefs.h. */
74184 _ACEOF
74185 cat confdefs.h >>conftest.$ac_ext
74186 cat >>conftest.$ac_ext <<_ACEOF
74187 /* end confdefs.h. */
74188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74190 #define $ac_func innocuous_$ac_func
74192 /* System header to define __stub macros and hopefully few prototypes,
74193 which can conflict with char $ac_func (); below.
74194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74195 <limits.h> exists even on freestanding compilers. */
74197 #ifdef __STDC__
74198 # include <limits.h>
74199 #else
74200 # include <assert.h>
74201 #endif
74203 #undef $ac_func
74205 /* Override any gcc2 internal prototype to avoid an error. */
74206 #ifdef __cplusplus
74207 extern "C"
74209 #endif
74210 /* We use char because int might match the return type of a gcc2
74211 builtin and then its argument prototype would still apply. */
74212 char $ac_func ();
74213 /* The GNU C library defines this for functions which it implements
74214 to always fail with ENOSYS. Some functions are actually named
74215 something starting with __ and the normal name is an alias. */
74216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74217 choke me
74218 #else
74219 char (*f) () = $ac_func;
74220 #endif
74221 #ifdef __cplusplus
74223 #endif
74226 main ()
74228 return f != $ac_func;
74230 return 0;
74232 _ACEOF
74233 rm -f conftest.$ac_objext conftest$ac_exeext
74234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74235 (eval $ac_link) 2>conftest.er1
74236 ac_status=$?
74237 grep -v '^ *+' conftest.er1 >conftest.err
74238 rm -f conftest.er1
74239 cat conftest.err >&5
74240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74241 (exit $ac_status); } &&
74242 { ac_try='test -z "$ac_c_werror_flag"
74243 || test ! -s conftest.err'
74244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74245 (eval $ac_try) 2>&5
74246 ac_status=$?
74247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74248 (exit $ac_status); }; } &&
74249 { ac_try='test -s conftest$ac_exeext'
74250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74251 (eval $ac_try) 2>&5
74252 ac_status=$?
74253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74254 (exit $ac_status); }; }; then
74255 eval "$as_ac_var=yes"
74256 else
74257 echo "$as_me: failed program was:" >&5
74258 sed 's/^/| /' conftest.$ac_ext >&5
74260 eval "$as_ac_var=no"
74262 rm -f conftest.err conftest.$ac_objext \
74263 conftest$ac_exeext conftest.$ac_ext
74265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74267 if test `eval echo '${'$as_ac_var'}'` = yes; then
74268 cat >>confdefs.h <<_ACEOF
74269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74270 _ACEOF
74273 done
74275 else
74277 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74278 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74279 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74280 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74281 echo $ECHO_N "(cached) $ECHO_C" >&6
74282 else
74286 ac_ext=cc
74287 ac_cpp='$CXXCPP $CPPFLAGS'
74288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74292 cat >conftest.$ac_ext <<_ACEOF
74293 /* confdefs.h. */
74294 _ACEOF
74295 cat confdefs.h >>conftest.$ac_ext
74296 cat >>conftest.$ac_ext <<_ACEOF
74297 /* end confdefs.h. */
74298 #include <math.h>
74299 #ifdef HAVE_IEEEFP_H
74300 #include <ieeefp.h>
74301 #endif
74304 main ()
74306 _finitef(0);
74308 return 0;
74310 _ACEOF
74311 rm -f conftest.$ac_objext
74312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74313 (eval $ac_compile) 2>conftest.er1
74314 ac_status=$?
74315 grep -v '^ *+' conftest.er1 >conftest.err
74316 rm -f conftest.er1
74317 cat conftest.err >&5
74318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74319 (exit $ac_status); } &&
74320 { ac_try='test -z "$ac_cxx_werror_flag"
74321 || test ! -s conftest.err'
74322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74323 (eval $ac_try) 2>&5
74324 ac_status=$?
74325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74326 (exit $ac_status); }; } &&
74327 { ac_try='test -s conftest.$ac_objext'
74328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74329 (eval $ac_try) 2>&5
74330 ac_status=$?
74331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74332 (exit $ac_status); }; }; then
74333 glibcxx_cv_func__finitef_use=yes
74334 else
74335 echo "$as_me: failed program was:" >&5
74336 sed 's/^/| /' conftest.$ac_ext >&5
74338 glibcxx_cv_func__finitef_use=no
74340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74341 ac_ext=c
74342 ac_cpp='$CPP $CPPFLAGS'
74343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74352 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74354 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74356 for ac_func in _finitef
74358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74359 echo "$as_me:$LINENO: checking for $ac_func" >&5
74360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74361 if eval "test \"\${$as_ac_var+set}\" = set"; then
74362 echo $ECHO_N "(cached) $ECHO_C" >&6
74363 else
74364 if test x$gcc_no_link = xyes; then
74365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74367 { (exit 1); exit 1; }; }
74369 cat >conftest.$ac_ext <<_ACEOF
74370 /* confdefs.h. */
74371 _ACEOF
74372 cat confdefs.h >>conftest.$ac_ext
74373 cat >>conftest.$ac_ext <<_ACEOF
74374 /* end confdefs.h. */
74375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74377 #define $ac_func innocuous_$ac_func
74379 /* System header to define __stub macros and hopefully few prototypes,
74380 which can conflict with char $ac_func (); below.
74381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74382 <limits.h> exists even on freestanding compilers. */
74384 #ifdef __STDC__
74385 # include <limits.h>
74386 #else
74387 # include <assert.h>
74388 #endif
74390 #undef $ac_func
74392 /* Override any gcc2 internal prototype to avoid an error. */
74393 #ifdef __cplusplus
74394 extern "C"
74396 #endif
74397 /* We use char because int might match the return type of a gcc2
74398 builtin and then its argument prototype would still apply. */
74399 char $ac_func ();
74400 /* The GNU C library defines this for functions which it implements
74401 to always fail with ENOSYS. Some functions are actually named
74402 something starting with __ and the normal name is an alias. */
74403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74404 choke me
74405 #else
74406 char (*f) () = $ac_func;
74407 #endif
74408 #ifdef __cplusplus
74410 #endif
74413 main ()
74415 return f != $ac_func;
74417 return 0;
74419 _ACEOF
74420 rm -f conftest.$ac_objext conftest$ac_exeext
74421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74422 (eval $ac_link) 2>conftest.er1
74423 ac_status=$?
74424 grep -v '^ *+' conftest.er1 >conftest.err
74425 rm -f conftest.er1
74426 cat conftest.err >&5
74427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74428 (exit $ac_status); } &&
74429 { ac_try='test -z "$ac_c_werror_flag"
74430 || test ! -s conftest.err'
74431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74432 (eval $ac_try) 2>&5
74433 ac_status=$?
74434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74435 (exit $ac_status); }; } &&
74436 { ac_try='test -s conftest$ac_exeext'
74437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74438 (eval $ac_try) 2>&5
74439 ac_status=$?
74440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74441 (exit $ac_status); }; }; then
74442 eval "$as_ac_var=yes"
74443 else
74444 echo "$as_me: failed program was:" >&5
74445 sed 's/^/| /' conftest.$ac_ext >&5
74447 eval "$as_ac_var=no"
74449 rm -f conftest.err conftest.$ac_objext \
74450 conftest$ac_exeext conftest.$ac_ext
74452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74454 if test `eval echo '${'$as_ac_var'}'` = yes; then
74455 cat >>confdefs.h <<_ACEOF
74456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74457 _ACEOF
74460 done
74470 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74471 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74472 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74473 echo $ECHO_N "(cached) $ECHO_C" >&6
74474 else
74478 ac_ext=cc
74479 ac_cpp='$CXXCPP $CPPFLAGS'
74480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74484 cat >conftest.$ac_ext <<_ACEOF
74485 /* confdefs.h. */
74486 _ACEOF
74487 cat confdefs.h >>conftest.$ac_ext
74488 cat >>conftest.$ac_ext <<_ACEOF
74489 /* end confdefs.h. */
74490 #include <math.h>
74492 main ()
74494 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74496 return 0;
74498 _ACEOF
74499 rm -f conftest.$ac_objext
74500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74501 (eval $ac_compile) 2>conftest.er1
74502 ac_status=$?
74503 grep -v '^ *+' conftest.er1 >conftest.err
74504 rm -f conftest.er1
74505 cat conftest.err >&5
74506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74507 (exit $ac_status); } &&
74508 { ac_try='test -z "$ac_cxx_werror_flag"
74509 || test ! -s conftest.err'
74510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74511 (eval $ac_try) 2>&5
74512 ac_status=$?
74513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74514 (exit $ac_status); }; } &&
74515 { ac_try='test -s conftest.$ac_objext'
74516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74517 (eval $ac_try) 2>&5
74518 ac_status=$?
74519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74520 (exit $ac_status); }; }; then
74521 glibcxx_cv_func_long_double_trig_use=yes
74522 else
74523 echo "$as_me: failed program was:" >&5
74524 sed 's/^/| /' conftest.$ac_ext >&5
74526 glibcxx_cv_func_long_double_trig_use=no
74528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74529 ac_ext=c
74530 ac_cpp='$CPP $CPPFLAGS'
74531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74538 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74539 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74549 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74552 echo "$as_me:$LINENO: checking for $ac_func" >&5
74553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74554 if eval "test \"\${$as_ac_var+set}\" = set"; then
74555 echo $ECHO_N "(cached) $ECHO_C" >&6
74556 else
74557 if test x$gcc_no_link = xyes; then
74558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74560 { (exit 1); exit 1; }; }
74562 cat >conftest.$ac_ext <<_ACEOF
74563 /* confdefs.h. */
74564 _ACEOF
74565 cat confdefs.h >>conftest.$ac_ext
74566 cat >>conftest.$ac_ext <<_ACEOF
74567 /* end confdefs.h. */
74568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74570 #define $ac_func innocuous_$ac_func
74572 /* System header to define __stub macros and hopefully few prototypes,
74573 which can conflict with char $ac_func (); below.
74574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74575 <limits.h> exists even on freestanding compilers. */
74577 #ifdef __STDC__
74578 # include <limits.h>
74579 #else
74580 # include <assert.h>
74581 #endif
74583 #undef $ac_func
74585 /* Override any gcc2 internal prototype to avoid an error. */
74586 #ifdef __cplusplus
74587 extern "C"
74589 #endif
74590 /* We use char because int might match the return type of a gcc2
74591 builtin and then its argument prototype would still apply. */
74592 char $ac_func ();
74593 /* The GNU C library defines this for functions which it implements
74594 to always fail with ENOSYS. Some functions are actually named
74595 something starting with __ and the normal name is an alias. */
74596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74597 choke me
74598 #else
74599 char (*f) () = $ac_func;
74600 #endif
74601 #ifdef __cplusplus
74603 #endif
74606 main ()
74608 return f != $ac_func;
74610 return 0;
74612 _ACEOF
74613 rm -f conftest.$ac_objext conftest$ac_exeext
74614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74615 (eval $ac_link) 2>conftest.er1
74616 ac_status=$?
74617 grep -v '^ *+' conftest.er1 >conftest.err
74618 rm -f conftest.er1
74619 cat conftest.err >&5
74620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74621 (exit $ac_status); } &&
74622 { ac_try='test -z "$ac_c_werror_flag"
74623 || test ! -s conftest.err'
74624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74625 (eval $ac_try) 2>&5
74626 ac_status=$?
74627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74628 (exit $ac_status); }; } &&
74629 { ac_try='test -s conftest$ac_exeext'
74630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74631 (eval $ac_try) 2>&5
74632 ac_status=$?
74633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74634 (exit $ac_status); }; }; then
74635 eval "$as_ac_var=yes"
74636 else
74637 echo "$as_me: failed program was:" >&5
74638 sed 's/^/| /' conftest.$ac_ext >&5
74640 eval "$as_ac_var=no"
74642 rm -f conftest.err conftest.$ac_objext \
74643 conftest$ac_exeext conftest.$ac_ext
74645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74647 if test `eval echo '${'$as_ac_var'}'` = yes; then
74648 cat >>confdefs.h <<_ACEOF
74649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74650 _ACEOF
74653 done
74655 else
74656 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74657 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74658 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74659 echo $ECHO_N "(cached) $ECHO_C" >&6
74660 else
74664 ac_ext=cc
74665 ac_cpp='$CXXCPP $CPPFLAGS'
74666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74670 cat >conftest.$ac_ext <<_ACEOF
74671 /* confdefs.h. */
74672 _ACEOF
74673 cat confdefs.h >>conftest.$ac_ext
74674 cat >>conftest.$ac_ext <<_ACEOF
74675 /* end confdefs.h. */
74676 #include <math.h>
74678 main ()
74680 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74682 return 0;
74684 _ACEOF
74685 rm -f conftest.$ac_objext
74686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74687 (eval $ac_compile) 2>conftest.er1
74688 ac_status=$?
74689 grep -v '^ *+' conftest.er1 >conftest.err
74690 rm -f conftest.er1
74691 cat conftest.err >&5
74692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74693 (exit $ac_status); } &&
74694 { ac_try='test -z "$ac_cxx_werror_flag"
74695 || test ! -s conftest.err'
74696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74697 (eval $ac_try) 2>&5
74698 ac_status=$?
74699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74700 (exit $ac_status); }; } &&
74701 { ac_try='test -s conftest.$ac_objext'
74702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74703 (eval $ac_try) 2>&5
74704 ac_status=$?
74705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74706 (exit $ac_status); }; }; then
74707 glibcxx_cv_func__long_double_trig_use=yes
74708 else
74709 echo "$as_me: failed program was:" >&5
74710 sed 's/^/| /' conftest.$ac_ext >&5
74712 glibcxx_cv_func__long_double_trig_use=no
74714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74715 ac_ext=c
74716 ac_cpp='$CPP $CPPFLAGS'
74717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74724 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74725 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74735 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74738 echo "$as_me:$LINENO: checking for $ac_func" >&5
74739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74740 if eval "test \"\${$as_ac_var+set}\" = set"; then
74741 echo $ECHO_N "(cached) $ECHO_C" >&6
74742 else
74743 if test x$gcc_no_link = xyes; then
74744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74746 { (exit 1); exit 1; }; }
74748 cat >conftest.$ac_ext <<_ACEOF
74749 /* confdefs.h. */
74750 _ACEOF
74751 cat confdefs.h >>conftest.$ac_ext
74752 cat >>conftest.$ac_ext <<_ACEOF
74753 /* end confdefs.h. */
74754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74756 #define $ac_func innocuous_$ac_func
74758 /* System header to define __stub macros and hopefully few prototypes,
74759 which can conflict with char $ac_func (); below.
74760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74761 <limits.h> exists even on freestanding compilers. */
74763 #ifdef __STDC__
74764 # include <limits.h>
74765 #else
74766 # include <assert.h>
74767 #endif
74769 #undef $ac_func
74771 /* Override any gcc2 internal prototype to avoid an error. */
74772 #ifdef __cplusplus
74773 extern "C"
74775 #endif
74776 /* We use char because int might match the return type of a gcc2
74777 builtin and then its argument prototype would still apply. */
74778 char $ac_func ();
74779 /* The GNU C library defines this for functions which it implements
74780 to always fail with ENOSYS. Some functions are actually named
74781 something starting with __ and the normal name is an alias. */
74782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74783 choke me
74784 #else
74785 char (*f) () = $ac_func;
74786 #endif
74787 #ifdef __cplusplus
74789 #endif
74792 main ()
74794 return f != $ac_func;
74796 return 0;
74798 _ACEOF
74799 rm -f conftest.$ac_objext conftest$ac_exeext
74800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74801 (eval $ac_link) 2>conftest.er1
74802 ac_status=$?
74803 grep -v '^ *+' conftest.er1 >conftest.err
74804 rm -f conftest.er1
74805 cat conftest.err >&5
74806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74807 (exit $ac_status); } &&
74808 { ac_try='test -z "$ac_c_werror_flag"
74809 || test ! -s conftest.err'
74810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74811 (eval $ac_try) 2>&5
74812 ac_status=$?
74813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74814 (exit $ac_status); }; } &&
74815 { ac_try='test -s conftest$ac_exeext'
74816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74817 (eval $ac_try) 2>&5
74818 ac_status=$?
74819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74820 (exit $ac_status); }; }; then
74821 eval "$as_ac_var=yes"
74822 else
74823 echo "$as_me: failed program was:" >&5
74824 sed 's/^/| /' conftest.$ac_ext >&5
74826 eval "$as_ac_var=no"
74828 rm -f conftest.err conftest.$ac_objext \
74829 conftest$ac_exeext conftest.$ac_ext
74831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74833 if test `eval echo '${'$as_ac_var'}'` = yes; then
74834 cat >>confdefs.h <<_ACEOF
74835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74836 _ACEOF
74839 done
74857 echo "$as_me:$LINENO: checking for long double round functions" >&5
74858 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74859 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74860 echo $ECHO_N "(cached) $ECHO_C" >&6
74861 else
74865 ac_ext=cc
74866 ac_cpp='$CXXCPP $CPPFLAGS'
74867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74871 cat >conftest.$ac_ext <<_ACEOF
74872 /* confdefs.h. */
74873 _ACEOF
74874 cat confdefs.h >>conftest.$ac_ext
74875 cat >>conftest.$ac_ext <<_ACEOF
74876 /* end confdefs.h. */
74877 #include <math.h>
74879 main ()
74881 ceill (0); floorl (0);
74883 return 0;
74885 _ACEOF
74886 rm -f conftest.$ac_objext
74887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74888 (eval $ac_compile) 2>conftest.er1
74889 ac_status=$?
74890 grep -v '^ *+' conftest.er1 >conftest.err
74891 rm -f conftest.er1
74892 cat conftest.err >&5
74893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74894 (exit $ac_status); } &&
74895 { ac_try='test -z "$ac_cxx_werror_flag"
74896 || test ! -s conftest.err'
74897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74898 (eval $ac_try) 2>&5
74899 ac_status=$?
74900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74901 (exit $ac_status); }; } &&
74902 { ac_try='test -s conftest.$ac_objext'
74903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74904 (eval $ac_try) 2>&5
74905 ac_status=$?
74906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74907 (exit $ac_status); }; }; then
74908 glibcxx_cv_func_long_double_round_use=yes
74909 else
74910 echo "$as_me: failed program was:" >&5
74911 sed 's/^/| /' conftest.$ac_ext >&5
74913 glibcxx_cv_func_long_double_round_use=no
74915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74916 ac_ext=c
74917 ac_cpp='$CPP $CPPFLAGS'
74918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74924 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74925 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74926 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74929 for ac_func in ceill floorl
74931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74932 echo "$as_me:$LINENO: checking for $ac_func" >&5
74933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74934 if eval "test \"\${$as_ac_var+set}\" = set"; then
74935 echo $ECHO_N "(cached) $ECHO_C" >&6
74936 else
74937 if test x$gcc_no_link = xyes; then
74938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74940 { (exit 1); exit 1; }; }
74942 cat >conftest.$ac_ext <<_ACEOF
74943 /* confdefs.h. */
74944 _ACEOF
74945 cat confdefs.h >>conftest.$ac_ext
74946 cat >>conftest.$ac_ext <<_ACEOF
74947 /* end confdefs.h. */
74948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74950 #define $ac_func innocuous_$ac_func
74952 /* System header to define __stub macros and hopefully few prototypes,
74953 which can conflict with char $ac_func (); below.
74954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74955 <limits.h> exists even on freestanding compilers. */
74957 #ifdef __STDC__
74958 # include <limits.h>
74959 #else
74960 # include <assert.h>
74961 #endif
74963 #undef $ac_func
74965 /* Override any gcc2 internal prototype to avoid an error. */
74966 #ifdef __cplusplus
74967 extern "C"
74969 #endif
74970 /* We use char because int might match the return type of a gcc2
74971 builtin and then its argument prototype would still apply. */
74972 char $ac_func ();
74973 /* The GNU C library defines this for functions which it implements
74974 to always fail with ENOSYS. Some functions are actually named
74975 something starting with __ and the normal name is an alias. */
74976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74977 choke me
74978 #else
74979 char (*f) () = $ac_func;
74980 #endif
74981 #ifdef __cplusplus
74983 #endif
74986 main ()
74988 return f != $ac_func;
74990 return 0;
74992 _ACEOF
74993 rm -f conftest.$ac_objext conftest$ac_exeext
74994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74995 (eval $ac_link) 2>conftest.er1
74996 ac_status=$?
74997 grep -v '^ *+' conftest.er1 >conftest.err
74998 rm -f conftest.er1
74999 cat conftest.err >&5
75000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75001 (exit $ac_status); } &&
75002 { ac_try='test -z "$ac_c_werror_flag"
75003 || test ! -s conftest.err'
75004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75005 (eval $ac_try) 2>&5
75006 ac_status=$?
75007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75008 (exit $ac_status); }; } &&
75009 { ac_try='test -s conftest$ac_exeext'
75010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75011 (eval $ac_try) 2>&5
75012 ac_status=$?
75013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75014 (exit $ac_status); }; }; then
75015 eval "$as_ac_var=yes"
75016 else
75017 echo "$as_me: failed program was:" >&5
75018 sed 's/^/| /' conftest.$ac_ext >&5
75020 eval "$as_ac_var=no"
75022 rm -f conftest.err conftest.$ac_objext \
75023 conftest$ac_exeext conftest.$ac_ext
75025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75027 if test `eval echo '${'$as_ac_var'}'` = yes; then
75028 cat >>confdefs.h <<_ACEOF
75029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75030 _ACEOF
75033 done
75035 else
75036 echo "$as_me:$LINENO: checking for _long double round functions" >&5
75037 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75038 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75039 echo $ECHO_N "(cached) $ECHO_C" >&6
75040 else
75044 ac_ext=cc
75045 ac_cpp='$CXXCPP $CPPFLAGS'
75046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75050 cat >conftest.$ac_ext <<_ACEOF
75051 /* confdefs.h. */
75052 _ACEOF
75053 cat confdefs.h >>conftest.$ac_ext
75054 cat >>conftest.$ac_ext <<_ACEOF
75055 /* end confdefs.h. */
75056 #include <math.h>
75058 main ()
75060 _ceill (0); _floorl (0);
75062 return 0;
75064 _ACEOF
75065 rm -f conftest.$ac_objext
75066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75067 (eval $ac_compile) 2>conftest.er1
75068 ac_status=$?
75069 grep -v '^ *+' conftest.er1 >conftest.err
75070 rm -f conftest.er1
75071 cat conftest.err >&5
75072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75073 (exit $ac_status); } &&
75074 { ac_try='test -z "$ac_cxx_werror_flag"
75075 || test ! -s conftest.err'
75076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75077 (eval $ac_try) 2>&5
75078 ac_status=$?
75079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75080 (exit $ac_status); }; } &&
75081 { ac_try='test -s conftest.$ac_objext'
75082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75083 (eval $ac_try) 2>&5
75084 ac_status=$?
75085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75086 (exit $ac_status); }; }; then
75087 glibcxx_cv_func__long_double_round_use=yes
75088 else
75089 echo "$as_me: failed program was:" >&5
75090 sed 's/^/| /' conftest.$ac_ext >&5
75092 glibcxx_cv_func__long_double_round_use=no
75094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75095 ac_ext=c
75096 ac_cpp='$CPP $CPPFLAGS'
75097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75104 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75105 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75108 for ac_func in _ceill _floorl
75110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75111 echo "$as_me:$LINENO: checking for $ac_func" >&5
75112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75113 if eval "test \"\${$as_ac_var+set}\" = set"; then
75114 echo $ECHO_N "(cached) $ECHO_C" >&6
75115 else
75116 if test x$gcc_no_link = xyes; then
75117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75119 { (exit 1); exit 1; }; }
75121 cat >conftest.$ac_ext <<_ACEOF
75122 /* confdefs.h. */
75123 _ACEOF
75124 cat confdefs.h >>conftest.$ac_ext
75125 cat >>conftest.$ac_ext <<_ACEOF
75126 /* end confdefs.h. */
75127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75129 #define $ac_func innocuous_$ac_func
75131 /* System header to define __stub macros and hopefully few prototypes,
75132 which can conflict with char $ac_func (); below.
75133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75134 <limits.h> exists even on freestanding compilers. */
75136 #ifdef __STDC__
75137 # include <limits.h>
75138 #else
75139 # include <assert.h>
75140 #endif
75142 #undef $ac_func
75144 /* Override any gcc2 internal prototype to avoid an error. */
75145 #ifdef __cplusplus
75146 extern "C"
75148 #endif
75149 /* We use char because int might match the return type of a gcc2
75150 builtin and then its argument prototype would still apply. */
75151 char $ac_func ();
75152 /* The GNU C library defines this for functions which it implements
75153 to always fail with ENOSYS. Some functions are actually named
75154 something starting with __ and the normal name is an alias. */
75155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75156 choke me
75157 #else
75158 char (*f) () = $ac_func;
75159 #endif
75160 #ifdef __cplusplus
75162 #endif
75165 main ()
75167 return f != $ac_func;
75169 return 0;
75171 _ACEOF
75172 rm -f conftest.$ac_objext conftest$ac_exeext
75173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75174 (eval $ac_link) 2>conftest.er1
75175 ac_status=$?
75176 grep -v '^ *+' conftest.er1 >conftest.err
75177 rm -f conftest.er1
75178 cat conftest.err >&5
75179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75180 (exit $ac_status); } &&
75181 { ac_try='test -z "$ac_c_werror_flag"
75182 || test ! -s conftest.err'
75183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75184 (eval $ac_try) 2>&5
75185 ac_status=$?
75186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75187 (exit $ac_status); }; } &&
75188 { ac_try='test -s conftest$ac_exeext'
75189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75190 (eval $ac_try) 2>&5
75191 ac_status=$?
75192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75193 (exit $ac_status); }; }; then
75194 eval "$as_ac_var=yes"
75195 else
75196 echo "$as_me: failed program was:" >&5
75197 sed 's/^/| /' conftest.$ac_ext >&5
75199 eval "$as_ac_var=no"
75201 rm -f conftest.err conftest.$ac_objext \
75202 conftest$ac_exeext conftest.$ac_ext
75204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75206 if test `eval echo '${'$as_ac_var'}'` = yes; then
75207 cat >>confdefs.h <<_ACEOF
75208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75209 _ACEOF
75212 done
75224 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75225 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75226 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75227 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75228 echo $ECHO_N "(cached) $ECHO_C" >&6
75229 else
75233 ac_ext=cc
75234 ac_cpp='$CXXCPP $CPPFLAGS'
75235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75239 cat >conftest.$ac_ext <<_ACEOF
75240 /* confdefs.h. */
75241 _ACEOF
75242 cat confdefs.h >>conftest.$ac_ext
75243 cat >>conftest.$ac_ext <<_ACEOF
75244 /* end confdefs.h. */
75245 #include <math.h>
75246 #ifdef HAVE_IEEEFP_H
75247 #include <ieeefp.h>
75248 #endif
75251 main ()
75253 isnanl(0);
75255 return 0;
75257 _ACEOF
75258 rm -f conftest.$ac_objext
75259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75260 (eval $ac_compile) 2>conftest.er1
75261 ac_status=$?
75262 grep -v '^ *+' conftest.er1 >conftest.err
75263 rm -f conftest.er1
75264 cat conftest.err >&5
75265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75266 (exit $ac_status); } &&
75267 { ac_try='test -z "$ac_cxx_werror_flag"
75268 || test ! -s conftest.err'
75269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75270 (eval $ac_try) 2>&5
75271 ac_status=$?
75272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75273 (exit $ac_status); }; } &&
75274 { ac_try='test -s conftest.$ac_objext'
75275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75276 (eval $ac_try) 2>&5
75277 ac_status=$?
75278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75279 (exit $ac_status); }; }; then
75280 glibcxx_cv_func_isnanl_use=yes
75281 else
75282 echo "$as_me: failed program was:" >&5
75283 sed 's/^/| /' conftest.$ac_ext >&5
75285 glibcxx_cv_func_isnanl_use=no
75287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75288 ac_ext=c
75289 ac_cpp='$CPP $CPPFLAGS'
75290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75299 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75301 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75303 for ac_func in isnanl
75305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75306 echo "$as_me:$LINENO: checking for $ac_func" >&5
75307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75308 if eval "test \"\${$as_ac_var+set}\" = set"; then
75309 echo $ECHO_N "(cached) $ECHO_C" >&6
75310 else
75311 if test x$gcc_no_link = xyes; then
75312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75314 { (exit 1); exit 1; }; }
75316 cat >conftest.$ac_ext <<_ACEOF
75317 /* confdefs.h. */
75318 _ACEOF
75319 cat confdefs.h >>conftest.$ac_ext
75320 cat >>conftest.$ac_ext <<_ACEOF
75321 /* end confdefs.h. */
75322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75324 #define $ac_func innocuous_$ac_func
75326 /* System header to define __stub macros and hopefully few prototypes,
75327 which can conflict with char $ac_func (); below.
75328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75329 <limits.h> exists even on freestanding compilers. */
75331 #ifdef __STDC__
75332 # include <limits.h>
75333 #else
75334 # include <assert.h>
75335 #endif
75337 #undef $ac_func
75339 /* Override any gcc2 internal prototype to avoid an error. */
75340 #ifdef __cplusplus
75341 extern "C"
75343 #endif
75344 /* We use char because int might match the return type of a gcc2
75345 builtin and then its argument prototype would still apply. */
75346 char $ac_func ();
75347 /* The GNU C library defines this for functions which it implements
75348 to always fail with ENOSYS. Some functions are actually named
75349 something starting with __ and the normal name is an alias. */
75350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75351 choke me
75352 #else
75353 char (*f) () = $ac_func;
75354 #endif
75355 #ifdef __cplusplus
75357 #endif
75360 main ()
75362 return f != $ac_func;
75364 return 0;
75366 _ACEOF
75367 rm -f conftest.$ac_objext conftest$ac_exeext
75368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75369 (eval $ac_link) 2>conftest.er1
75370 ac_status=$?
75371 grep -v '^ *+' conftest.er1 >conftest.err
75372 rm -f conftest.er1
75373 cat conftest.err >&5
75374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375 (exit $ac_status); } &&
75376 { ac_try='test -z "$ac_c_werror_flag"
75377 || test ! -s conftest.err'
75378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75379 (eval $ac_try) 2>&5
75380 ac_status=$?
75381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382 (exit $ac_status); }; } &&
75383 { ac_try='test -s conftest$ac_exeext'
75384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75385 (eval $ac_try) 2>&5
75386 ac_status=$?
75387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75388 (exit $ac_status); }; }; then
75389 eval "$as_ac_var=yes"
75390 else
75391 echo "$as_me: failed program was:" >&5
75392 sed 's/^/| /' conftest.$ac_ext >&5
75394 eval "$as_ac_var=no"
75396 rm -f conftest.err conftest.$ac_objext \
75397 conftest$ac_exeext conftest.$ac_ext
75399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75401 if test `eval echo '${'$as_ac_var'}'` = yes; then
75402 cat >>confdefs.h <<_ACEOF
75403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75404 _ACEOF
75407 done
75409 else
75411 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75412 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75413 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75414 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75415 echo $ECHO_N "(cached) $ECHO_C" >&6
75416 else
75420 ac_ext=cc
75421 ac_cpp='$CXXCPP $CPPFLAGS'
75422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75426 cat >conftest.$ac_ext <<_ACEOF
75427 /* confdefs.h. */
75428 _ACEOF
75429 cat confdefs.h >>conftest.$ac_ext
75430 cat >>conftest.$ac_ext <<_ACEOF
75431 /* end confdefs.h. */
75432 #include <math.h>
75433 #ifdef HAVE_IEEEFP_H
75434 #include <ieeefp.h>
75435 #endif
75438 main ()
75440 _isnanl(0);
75442 return 0;
75444 _ACEOF
75445 rm -f conftest.$ac_objext
75446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75447 (eval $ac_compile) 2>conftest.er1
75448 ac_status=$?
75449 grep -v '^ *+' conftest.er1 >conftest.err
75450 rm -f conftest.er1
75451 cat conftest.err >&5
75452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75453 (exit $ac_status); } &&
75454 { ac_try='test -z "$ac_cxx_werror_flag"
75455 || test ! -s conftest.err'
75456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75457 (eval $ac_try) 2>&5
75458 ac_status=$?
75459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75460 (exit $ac_status); }; } &&
75461 { ac_try='test -s conftest.$ac_objext'
75462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75463 (eval $ac_try) 2>&5
75464 ac_status=$?
75465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75466 (exit $ac_status); }; }; then
75467 glibcxx_cv_func__isnanl_use=yes
75468 else
75469 echo "$as_me: failed program was:" >&5
75470 sed 's/^/| /' conftest.$ac_ext >&5
75472 glibcxx_cv_func__isnanl_use=no
75474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75475 ac_ext=c
75476 ac_cpp='$CPP $CPPFLAGS'
75477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75486 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75488 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75490 for ac_func in _isnanl
75492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75493 echo "$as_me:$LINENO: checking for $ac_func" >&5
75494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75495 if eval "test \"\${$as_ac_var+set}\" = set"; then
75496 echo $ECHO_N "(cached) $ECHO_C" >&6
75497 else
75498 if test x$gcc_no_link = xyes; then
75499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75501 { (exit 1); exit 1; }; }
75503 cat >conftest.$ac_ext <<_ACEOF
75504 /* confdefs.h. */
75505 _ACEOF
75506 cat confdefs.h >>conftest.$ac_ext
75507 cat >>conftest.$ac_ext <<_ACEOF
75508 /* end confdefs.h. */
75509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75511 #define $ac_func innocuous_$ac_func
75513 /* System header to define __stub macros and hopefully few prototypes,
75514 which can conflict with char $ac_func (); below.
75515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75516 <limits.h> exists even on freestanding compilers. */
75518 #ifdef __STDC__
75519 # include <limits.h>
75520 #else
75521 # include <assert.h>
75522 #endif
75524 #undef $ac_func
75526 /* Override any gcc2 internal prototype to avoid an error. */
75527 #ifdef __cplusplus
75528 extern "C"
75530 #endif
75531 /* We use char because int might match the return type of a gcc2
75532 builtin and then its argument prototype would still apply. */
75533 char $ac_func ();
75534 /* The GNU C library defines this for functions which it implements
75535 to always fail with ENOSYS. Some functions are actually named
75536 something starting with __ and the normal name is an alias. */
75537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75538 choke me
75539 #else
75540 char (*f) () = $ac_func;
75541 #endif
75542 #ifdef __cplusplus
75544 #endif
75547 main ()
75549 return f != $ac_func;
75551 return 0;
75553 _ACEOF
75554 rm -f conftest.$ac_objext conftest$ac_exeext
75555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75556 (eval $ac_link) 2>conftest.er1
75557 ac_status=$?
75558 grep -v '^ *+' conftest.er1 >conftest.err
75559 rm -f conftest.er1
75560 cat conftest.err >&5
75561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75562 (exit $ac_status); } &&
75563 { ac_try='test -z "$ac_c_werror_flag"
75564 || test ! -s conftest.err'
75565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75566 (eval $ac_try) 2>&5
75567 ac_status=$?
75568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75569 (exit $ac_status); }; } &&
75570 { ac_try='test -s conftest$ac_exeext'
75571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75572 (eval $ac_try) 2>&5
75573 ac_status=$?
75574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75575 (exit $ac_status); }; }; then
75576 eval "$as_ac_var=yes"
75577 else
75578 echo "$as_me: failed program was:" >&5
75579 sed 's/^/| /' conftest.$ac_ext >&5
75581 eval "$as_ac_var=no"
75583 rm -f conftest.err conftest.$ac_objext \
75584 conftest$ac_exeext conftest.$ac_ext
75586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75588 if test `eval echo '${'$as_ac_var'}'` = yes; then
75589 cat >>confdefs.h <<_ACEOF
75590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75591 _ACEOF
75594 done
75604 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75605 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75606 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75607 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75608 echo $ECHO_N "(cached) $ECHO_C" >&6
75609 else
75613 ac_ext=cc
75614 ac_cpp='$CXXCPP $CPPFLAGS'
75615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75619 cat >conftest.$ac_ext <<_ACEOF
75620 /* confdefs.h. */
75621 _ACEOF
75622 cat confdefs.h >>conftest.$ac_ext
75623 cat >>conftest.$ac_ext <<_ACEOF
75624 /* end confdefs.h. */
75625 #include <math.h>
75626 #ifdef HAVE_IEEEFP_H
75627 #include <ieeefp.h>
75628 #endif
75631 main ()
75633 isinfl(0);
75635 return 0;
75637 _ACEOF
75638 rm -f conftest.$ac_objext
75639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75640 (eval $ac_compile) 2>conftest.er1
75641 ac_status=$?
75642 grep -v '^ *+' conftest.er1 >conftest.err
75643 rm -f conftest.er1
75644 cat conftest.err >&5
75645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75646 (exit $ac_status); } &&
75647 { ac_try='test -z "$ac_cxx_werror_flag"
75648 || test ! -s conftest.err'
75649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75650 (eval $ac_try) 2>&5
75651 ac_status=$?
75652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75653 (exit $ac_status); }; } &&
75654 { ac_try='test -s conftest.$ac_objext'
75655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75656 (eval $ac_try) 2>&5
75657 ac_status=$?
75658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75659 (exit $ac_status); }; }; then
75660 glibcxx_cv_func_isinfl_use=yes
75661 else
75662 echo "$as_me: failed program was:" >&5
75663 sed 's/^/| /' conftest.$ac_ext >&5
75665 glibcxx_cv_func_isinfl_use=no
75667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75668 ac_ext=c
75669 ac_cpp='$CPP $CPPFLAGS'
75670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75679 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75681 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75683 for ac_func in isinfl
75685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75686 echo "$as_me:$LINENO: checking for $ac_func" >&5
75687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75688 if eval "test \"\${$as_ac_var+set}\" = set"; then
75689 echo $ECHO_N "(cached) $ECHO_C" >&6
75690 else
75691 if test x$gcc_no_link = xyes; then
75692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75694 { (exit 1); exit 1; }; }
75696 cat >conftest.$ac_ext <<_ACEOF
75697 /* confdefs.h. */
75698 _ACEOF
75699 cat confdefs.h >>conftest.$ac_ext
75700 cat >>conftest.$ac_ext <<_ACEOF
75701 /* end confdefs.h. */
75702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75704 #define $ac_func innocuous_$ac_func
75706 /* System header to define __stub macros and hopefully few prototypes,
75707 which can conflict with char $ac_func (); below.
75708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75709 <limits.h> exists even on freestanding compilers. */
75711 #ifdef __STDC__
75712 # include <limits.h>
75713 #else
75714 # include <assert.h>
75715 #endif
75717 #undef $ac_func
75719 /* Override any gcc2 internal prototype to avoid an error. */
75720 #ifdef __cplusplus
75721 extern "C"
75723 #endif
75724 /* We use char because int might match the return type of a gcc2
75725 builtin and then its argument prototype would still apply. */
75726 char $ac_func ();
75727 /* The GNU C library defines this for functions which it implements
75728 to always fail with ENOSYS. Some functions are actually named
75729 something starting with __ and the normal name is an alias. */
75730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75731 choke me
75732 #else
75733 char (*f) () = $ac_func;
75734 #endif
75735 #ifdef __cplusplus
75737 #endif
75740 main ()
75742 return f != $ac_func;
75744 return 0;
75746 _ACEOF
75747 rm -f conftest.$ac_objext conftest$ac_exeext
75748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75749 (eval $ac_link) 2>conftest.er1
75750 ac_status=$?
75751 grep -v '^ *+' conftest.er1 >conftest.err
75752 rm -f conftest.er1
75753 cat conftest.err >&5
75754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75755 (exit $ac_status); } &&
75756 { ac_try='test -z "$ac_c_werror_flag"
75757 || test ! -s conftest.err'
75758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75759 (eval $ac_try) 2>&5
75760 ac_status=$?
75761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75762 (exit $ac_status); }; } &&
75763 { ac_try='test -s conftest$ac_exeext'
75764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75765 (eval $ac_try) 2>&5
75766 ac_status=$?
75767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75768 (exit $ac_status); }; }; then
75769 eval "$as_ac_var=yes"
75770 else
75771 echo "$as_me: failed program was:" >&5
75772 sed 's/^/| /' conftest.$ac_ext >&5
75774 eval "$as_ac_var=no"
75776 rm -f conftest.err conftest.$ac_objext \
75777 conftest$ac_exeext conftest.$ac_ext
75779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75781 if test `eval echo '${'$as_ac_var'}'` = yes; then
75782 cat >>confdefs.h <<_ACEOF
75783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75784 _ACEOF
75787 done
75789 else
75791 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75792 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75793 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75794 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75795 echo $ECHO_N "(cached) $ECHO_C" >&6
75796 else
75800 ac_ext=cc
75801 ac_cpp='$CXXCPP $CPPFLAGS'
75802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75806 cat >conftest.$ac_ext <<_ACEOF
75807 /* confdefs.h. */
75808 _ACEOF
75809 cat confdefs.h >>conftest.$ac_ext
75810 cat >>conftest.$ac_ext <<_ACEOF
75811 /* end confdefs.h. */
75812 #include <math.h>
75813 #ifdef HAVE_IEEEFP_H
75814 #include <ieeefp.h>
75815 #endif
75818 main ()
75820 _isinfl(0);
75822 return 0;
75824 _ACEOF
75825 rm -f conftest.$ac_objext
75826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75827 (eval $ac_compile) 2>conftest.er1
75828 ac_status=$?
75829 grep -v '^ *+' conftest.er1 >conftest.err
75830 rm -f conftest.er1
75831 cat conftest.err >&5
75832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75833 (exit $ac_status); } &&
75834 { ac_try='test -z "$ac_cxx_werror_flag"
75835 || test ! -s conftest.err'
75836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75837 (eval $ac_try) 2>&5
75838 ac_status=$?
75839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75840 (exit $ac_status); }; } &&
75841 { ac_try='test -s conftest.$ac_objext'
75842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75843 (eval $ac_try) 2>&5
75844 ac_status=$?
75845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75846 (exit $ac_status); }; }; then
75847 glibcxx_cv_func__isinfl_use=yes
75848 else
75849 echo "$as_me: failed program was:" >&5
75850 sed 's/^/| /' conftest.$ac_ext >&5
75852 glibcxx_cv_func__isinfl_use=no
75854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75855 ac_ext=c
75856 ac_cpp='$CPP $CPPFLAGS'
75857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75866 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75868 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75870 for ac_func in _isinfl
75872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75873 echo "$as_me:$LINENO: checking for $ac_func" >&5
75874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75875 if eval "test \"\${$as_ac_var+set}\" = set"; then
75876 echo $ECHO_N "(cached) $ECHO_C" >&6
75877 else
75878 if test x$gcc_no_link = xyes; then
75879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75881 { (exit 1); exit 1; }; }
75883 cat >conftest.$ac_ext <<_ACEOF
75884 /* confdefs.h. */
75885 _ACEOF
75886 cat confdefs.h >>conftest.$ac_ext
75887 cat >>conftest.$ac_ext <<_ACEOF
75888 /* end confdefs.h. */
75889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75891 #define $ac_func innocuous_$ac_func
75893 /* System header to define __stub macros and hopefully few prototypes,
75894 which can conflict with char $ac_func (); below.
75895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75896 <limits.h> exists even on freestanding compilers. */
75898 #ifdef __STDC__
75899 # include <limits.h>
75900 #else
75901 # include <assert.h>
75902 #endif
75904 #undef $ac_func
75906 /* Override any gcc2 internal prototype to avoid an error. */
75907 #ifdef __cplusplus
75908 extern "C"
75910 #endif
75911 /* We use char because int might match the return type of a gcc2
75912 builtin and then its argument prototype would still apply. */
75913 char $ac_func ();
75914 /* The GNU C library defines this for functions which it implements
75915 to always fail with ENOSYS. Some functions are actually named
75916 something starting with __ and the normal name is an alias. */
75917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75918 choke me
75919 #else
75920 char (*f) () = $ac_func;
75921 #endif
75922 #ifdef __cplusplus
75924 #endif
75927 main ()
75929 return f != $ac_func;
75931 return 0;
75933 _ACEOF
75934 rm -f conftest.$ac_objext conftest$ac_exeext
75935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75936 (eval $ac_link) 2>conftest.er1
75937 ac_status=$?
75938 grep -v '^ *+' conftest.er1 >conftest.err
75939 rm -f conftest.er1
75940 cat conftest.err >&5
75941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75942 (exit $ac_status); } &&
75943 { ac_try='test -z "$ac_c_werror_flag"
75944 || test ! -s conftest.err'
75945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75946 (eval $ac_try) 2>&5
75947 ac_status=$?
75948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949 (exit $ac_status); }; } &&
75950 { ac_try='test -s conftest$ac_exeext'
75951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75952 (eval $ac_try) 2>&5
75953 ac_status=$?
75954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75955 (exit $ac_status); }; }; then
75956 eval "$as_ac_var=yes"
75957 else
75958 echo "$as_me: failed program was:" >&5
75959 sed 's/^/| /' conftest.$ac_ext >&5
75961 eval "$as_ac_var=no"
75963 rm -f conftest.err conftest.$ac_objext \
75964 conftest$ac_exeext conftest.$ac_ext
75966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75968 if test `eval echo '${'$as_ac_var'}'` = yes; then
75969 cat >>confdefs.h <<_ACEOF
75970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75971 _ACEOF
75974 done
75984 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75985 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75986 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75987 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75988 echo $ECHO_N "(cached) $ECHO_C" >&6
75989 else
75993 ac_ext=cc
75994 ac_cpp='$CXXCPP $CPPFLAGS'
75995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75999 cat >conftest.$ac_ext <<_ACEOF
76000 /* confdefs.h. */
76001 _ACEOF
76002 cat confdefs.h >>conftest.$ac_ext
76003 cat >>conftest.$ac_ext <<_ACEOF
76004 /* end confdefs.h. */
76005 #include <math.h>
76007 main ()
76009 copysignl(0, 0);
76011 return 0;
76013 _ACEOF
76014 rm -f conftest.$ac_objext
76015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76016 (eval $ac_compile) 2>conftest.er1
76017 ac_status=$?
76018 grep -v '^ *+' conftest.er1 >conftest.err
76019 rm -f conftest.er1
76020 cat conftest.err >&5
76021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76022 (exit $ac_status); } &&
76023 { ac_try='test -z "$ac_cxx_werror_flag"
76024 || test ! -s conftest.err'
76025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76026 (eval $ac_try) 2>&5
76027 ac_status=$?
76028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76029 (exit $ac_status); }; } &&
76030 { ac_try='test -s conftest.$ac_objext'
76031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76032 (eval $ac_try) 2>&5
76033 ac_status=$?
76034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76035 (exit $ac_status); }; }; then
76036 glibcxx_cv_func_copysignl_use=yes
76037 else
76038 echo "$as_me: failed program was:" >&5
76039 sed 's/^/| /' conftest.$ac_ext >&5
76041 glibcxx_cv_func_copysignl_use=no
76043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76044 ac_ext=c
76045 ac_cpp='$CPP $CPPFLAGS'
76046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76055 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76057 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76059 for ac_func in copysignl
76061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76062 echo "$as_me:$LINENO: checking for $ac_func" >&5
76063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76064 if eval "test \"\${$as_ac_var+set}\" = set"; then
76065 echo $ECHO_N "(cached) $ECHO_C" >&6
76066 else
76067 if test x$gcc_no_link = xyes; then
76068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76070 { (exit 1); exit 1; }; }
76072 cat >conftest.$ac_ext <<_ACEOF
76073 /* confdefs.h. */
76074 _ACEOF
76075 cat confdefs.h >>conftest.$ac_ext
76076 cat >>conftest.$ac_ext <<_ACEOF
76077 /* end confdefs.h. */
76078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76080 #define $ac_func innocuous_$ac_func
76082 /* System header to define __stub macros and hopefully few prototypes,
76083 which can conflict with char $ac_func (); below.
76084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76085 <limits.h> exists even on freestanding compilers. */
76087 #ifdef __STDC__
76088 # include <limits.h>
76089 #else
76090 # include <assert.h>
76091 #endif
76093 #undef $ac_func
76095 /* Override any gcc2 internal prototype to avoid an error. */
76096 #ifdef __cplusplus
76097 extern "C"
76099 #endif
76100 /* We use char because int might match the return type of a gcc2
76101 builtin and then its argument prototype would still apply. */
76102 char $ac_func ();
76103 /* The GNU C library defines this for functions which it implements
76104 to always fail with ENOSYS. Some functions are actually named
76105 something starting with __ and the normal name is an alias. */
76106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76107 choke me
76108 #else
76109 char (*f) () = $ac_func;
76110 #endif
76111 #ifdef __cplusplus
76113 #endif
76116 main ()
76118 return f != $ac_func;
76120 return 0;
76122 _ACEOF
76123 rm -f conftest.$ac_objext conftest$ac_exeext
76124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76125 (eval $ac_link) 2>conftest.er1
76126 ac_status=$?
76127 grep -v '^ *+' conftest.er1 >conftest.err
76128 rm -f conftest.er1
76129 cat conftest.err >&5
76130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76131 (exit $ac_status); } &&
76132 { ac_try='test -z "$ac_c_werror_flag"
76133 || test ! -s conftest.err'
76134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76135 (eval $ac_try) 2>&5
76136 ac_status=$?
76137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76138 (exit $ac_status); }; } &&
76139 { ac_try='test -s conftest$ac_exeext'
76140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76141 (eval $ac_try) 2>&5
76142 ac_status=$?
76143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76144 (exit $ac_status); }; }; then
76145 eval "$as_ac_var=yes"
76146 else
76147 echo "$as_me: failed program was:" >&5
76148 sed 's/^/| /' conftest.$ac_ext >&5
76150 eval "$as_ac_var=no"
76152 rm -f conftest.err conftest.$ac_objext \
76153 conftest$ac_exeext conftest.$ac_ext
76155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76157 if test `eval echo '${'$as_ac_var'}'` = yes; then
76158 cat >>confdefs.h <<_ACEOF
76159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76160 _ACEOF
76163 done
76165 else
76167 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76168 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76169 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76170 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76171 echo $ECHO_N "(cached) $ECHO_C" >&6
76172 else
76176 ac_ext=cc
76177 ac_cpp='$CXXCPP $CPPFLAGS'
76178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76182 cat >conftest.$ac_ext <<_ACEOF
76183 /* confdefs.h. */
76184 _ACEOF
76185 cat confdefs.h >>conftest.$ac_ext
76186 cat >>conftest.$ac_ext <<_ACEOF
76187 /* end confdefs.h. */
76188 #include <math.h>
76190 main ()
76192 _copysignl(0, 0);
76194 return 0;
76196 _ACEOF
76197 rm -f conftest.$ac_objext
76198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76199 (eval $ac_compile) 2>conftest.er1
76200 ac_status=$?
76201 grep -v '^ *+' conftest.er1 >conftest.err
76202 rm -f conftest.er1
76203 cat conftest.err >&5
76204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76205 (exit $ac_status); } &&
76206 { ac_try='test -z "$ac_cxx_werror_flag"
76207 || test ! -s conftest.err'
76208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76209 (eval $ac_try) 2>&5
76210 ac_status=$?
76211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76212 (exit $ac_status); }; } &&
76213 { ac_try='test -s conftest.$ac_objext'
76214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76215 (eval $ac_try) 2>&5
76216 ac_status=$?
76217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76218 (exit $ac_status); }; }; then
76219 glibcxx_cv_func__copysignl_use=yes
76220 else
76221 echo "$as_me: failed program was:" >&5
76222 sed 's/^/| /' conftest.$ac_ext >&5
76224 glibcxx_cv_func__copysignl_use=no
76226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76227 ac_ext=c
76228 ac_cpp='$CPP $CPPFLAGS'
76229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76238 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76240 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76242 for ac_func in _copysignl
76244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76245 echo "$as_me:$LINENO: checking for $ac_func" >&5
76246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76247 if eval "test \"\${$as_ac_var+set}\" = set"; then
76248 echo $ECHO_N "(cached) $ECHO_C" >&6
76249 else
76250 if test x$gcc_no_link = xyes; then
76251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76253 { (exit 1); exit 1; }; }
76255 cat >conftest.$ac_ext <<_ACEOF
76256 /* confdefs.h. */
76257 _ACEOF
76258 cat confdefs.h >>conftest.$ac_ext
76259 cat >>conftest.$ac_ext <<_ACEOF
76260 /* end confdefs.h. */
76261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76263 #define $ac_func innocuous_$ac_func
76265 /* System header to define __stub macros and hopefully few prototypes,
76266 which can conflict with char $ac_func (); below.
76267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76268 <limits.h> exists even on freestanding compilers. */
76270 #ifdef __STDC__
76271 # include <limits.h>
76272 #else
76273 # include <assert.h>
76274 #endif
76276 #undef $ac_func
76278 /* Override any gcc2 internal prototype to avoid an error. */
76279 #ifdef __cplusplus
76280 extern "C"
76282 #endif
76283 /* We use char because int might match the return type of a gcc2
76284 builtin and then its argument prototype would still apply. */
76285 char $ac_func ();
76286 /* The GNU C library defines this for functions which it implements
76287 to always fail with ENOSYS. Some functions are actually named
76288 something starting with __ and the normal name is an alias. */
76289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76290 choke me
76291 #else
76292 char (*f) () = $ac_func;
76293 #endif
76294 #ifdef __cplusplus
76296 #endif
76299 main ()
76301 return f != $ac_func;
76303 return 0;
76305 _ACEOF
76306 rm -f conftest.$ac_objext conftest$ac_exeext
76307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76308 (eval $ac_link) 2>conftest.er1
76309 ac_status=$?
76310 grep -v '^ *+' conftest.er1 >conftest.err
76311 rm -f conftest.er1
76312 cat conftest.err >&5
76313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76314 (exit $ac_status); } &&
76315 { ac_try='test -z "$ac_c_werror_flag"
76316 || test ! -s conftest.err'
76317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76318 (eval $ac_try) 2>&5
76319 ac_status=$?
76320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76321 (exit $ac_status); }; } &&
76322 { ac_try='test -s conftest$ac_exeext'
76323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76324 (eval $ac_try) 2>&5
76325 ac_status=$?
76326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76327 (exit $ac_status); }; }; then
76328 eval "$as_ac_var=yes"
76329 else
76330 echo "$as_me: failed program was:" >&5
76331 sed 's/^/| /' conftest.$ac_ext >&5
76333 eval "$as_ac_var=no"
76335 rm -f conftest.err conftest.$ac_objext \
76336 conftest$ac_exeext conftest.$ac_ext
76338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76340 if test `eval echo '${'$as_ac_var'}'` = yes; then
76341 cat >>confdefs.h <<_ACEOF
76342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76343 _ACEOF
76346 done
76356 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76357 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76358 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76359 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76360 echo $ECHO_N "(cached) $ECHO_C" >&6
76361 else
76365 ac_ext=cc
76366 ac_cpp='$CXXCPP $CPPFLAGS'
76367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76371 cat >conftest.$ac_ext <<_ACEOF
76372 /* confdefs.h. */
76373 _ACEOF
76374 cat confdefs.h >>conftest.$ac_ext
76375 cat >>conftest.$ac_ext <<_ACEOF
76376 /* end confdefs.h. */
76377 #include <math.h>
76379 main ()
76381 atan2l(0, 0);
76383 return 0;
76385 _ACEOF
76386 rm -f conftest.$ac_objext
76387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76388 (eval $ac_compile) 2>conftest.er1
76389 ac_status=$?
76390 grep -v '^ *+' conftest.er1 >conftest.err
76391 rm -f conftest.er1
76392 cat conftest.err >&5
76393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76394 (exit $ac_status); } &&
76395 { ac_try='test -z "$ac_cxx_werror_flag"
76396 || test ! -s conftest.err'
76397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76398 (eval $ac_try) 2>&5
76399 ac_status=$?
76400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76401 (exit $ac_status); }; } &&
76402 { ac_try='test -s conftest.$ac_objext'
76403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76404 (eval $ac_try) 2>&5
76405 ac_status=$?
76406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76407 (exit $ac_status); }; }; then
76408 glibcxx_cv_func_atan2l_use=yes
76409 else
76410 echo "$as_me: failed program was:" >&5
76411 sed 's/^/| /' conftest.$ac_ext >&5
76413 glibcxx_cv_func_atan2l_use=no
76415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76416 ac_ext=c
76417 ac_cpp='$CPP $CPPFLAGS'
76418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76427 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76429 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76431 for ac_func in atan2l
76433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76434 echo "$as_me:$LINENO: checking for $ac_func" >&5
76435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76436 if eval "test \"\${$as_ac_var+set}\" = set"; then
76437 echo $ECHO_N "(cached) $ECHO_C" >&6
76438 else
76439 if test x$gcc_no_link = xyes; then
76440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76442 { (exit 1); exit 1; }; }
76444 cat >conftest.$ac_ext <<_ACEOF
76445 /* confdefs.h. */
76446 _ACEOF
76447 cat confdefs.h >>conftest.$ac_ext
76448 cat >>conftest.$ac_ext <<_ACEOF
76449 /* end confdefs.h. */
76450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76452 #define $ac_func innocuous_$ac_func
76454 /* System header to define __stub macros and hopefully few prototypes,
76455 which can conflict with char $ac_func (); below.
76456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76457 <limits.h> exists even on freestanding compilers. */
76459 #ifdef __STDC__
76460 # include <limits.h>
76461 #else
76462 # include <assert.h>
76463 #endif
76465 #undef $ac_func
76467 /* Override any gcc2 internal prototype to avoid an error. */
76468 #ifdef __cplusplus
76469 extern "C"
76471 #endif
76472 /* We use char because int might match the return type of a gcc2
76473 builtin and then its argument prototype would still apply. */
76474 char $ac_func ();
76475 /* The GNU C library defines this for functions which it implements
76476 to always fail with ENOSYS. Some functions are actually named
76477 something starting with __ and the normal name is an alias. */
76478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76479 choke me
76480 #else
76481 char (*f) () = $ac_func;
76482 #endif
76483 #ifdef __cplusplus
76485 #endif
76488 main ()
76490 return f != $ac_func;
76492 return 0;
76494 _ACEOF
76495 rm -f conftest.$ac_objext conftest$ac_exeext
76496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76497 (eval $ac_link) 2>conftest.er1
76498 ac_status=$?
76499 grep -v '^ *+' conftest.er1 >conftest.err
76500 rm -f conftest.er1
76501 cat conftest.err >&5
76502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76503 (exit $ac_status); } &&
76504 { ac_try='test -z "$ac_c_werror_flag"
76505 || test ! -s conftest.err'
76506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76507 (eval $ac_try) 2>&5
76508 ac_status=$?
76509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76510 (exit $ac_status); }; } &&
76511 { ac_try='test -s conftest$ac_exeext'
76512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76513 (eval $ac_try) 2>&5
76514 ac_status=$?
76515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76516 (exit $ac_status); }; }; then
76517 eval "$as_ac_var=yes"
76518 else
76519 echo "$as_me: failed program was:" >&5
76520 sed 's/^/| /' conftest.$ac_ext >&5
76522 eval "$as_ac_var=no"
76524 rm -f conftest.err conftest.$ac_objext \
76525 conftest$ac_exeext conftest.$ac_ext
76527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76529 if test `eval echo '${'$as_ac_var'}'` = yes; then
76530 cat >>confdefs.h <<_ACEOF
76531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76532 _ACEOF
76535 done
76537 else
76539 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76540 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76541 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76542 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76543 echo $ECHO_N "(cached) $ECHO_C" >&6
76544 else
76548 ac_ext=cc
76549 ac_cpp='$CXXCPP $CPPFLAGS'
76550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76554 cat >conftest.$ac_ext <<_ACEOF
76555 /* confdefs.h. */
76556 _ACEOF
76557 cat confdefs.h >>conftest.$ac_ext
76558 cat >>conftest.$ac_ext <<_ACEOF
76559 /* end confdefs.h. */
76560 #include <math.h>
76562 main ()
76564 _atan2l(0, 0);
76566 return 0;
76568 _ACEOF
76569 rm -f conftest.$ac_objext
76570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76571 (eval $ac_compile) 2>conftest.er1
76572 ac_status=$?
76573 grep -v '^ *+' conftest.er1 >conftest.err
76574 rm -f conftest.er1
76575 cat conftest.err >&5
76576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76577 (exit $ac_status); } &&
76578 { ac_try='test -z "$ac_cxx_werror_flag"
76579 || test ! -s conftest.err'
76580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76581 (eval $ac_try) 2>&5
76582 ac_status=$?
76583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76584 (exit $ac_status); }; } &&
76585 { ac_try='test -s conftest.$ac_objext'
76586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76587 (eval $ac_try) 2>&5
76588 ac_status=$?
76589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76590 (exit $ac_status); }; }; then
76591 glibcxx_cv_func__atan2l_use=yes
76592 else
76593 echo "$as_me: failed program was:" >&5
76594 sed 's/^/| /' conftest.$ac_ext >&5
76596 glibcxx_cv_func__atan2l_use=no
76598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76599 ac_ext=c
76600 ac_cpp='$CPP $CPPFLAGS'
76601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76610 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76612 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76614 for ac_func in _atan2l
76616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76617 echo "$as_me:$LINENO: checking for $ac_func" >&5
76618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76619 if eval "test \"\${$as_ac_var+set}\" = set"; then
76620 echo $ECHO_N "(cached) $ECHO_C" >&6
76621 else
76622 if test x$gcc_no_link = xyes; then
76623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76625 { (exit 1); exit 1; }; }
76627 cat >conftest.$ac_ext <<_ACEOF
76628 /* confdefs.h. */
76629 _ACEOF
76630 cat confdefs.h >>conftest.$ac_ext
76631 cat >>conftest.$ac_ext <<_ACEOF
76632 /* end confdefs.h. */
76633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76635 #define $ac_func innocuous_$ac_func
76637 /* System header to define __stub macros and hopefully few prototypes,
76638 which can conflict with char $ac_func (); below.
76639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76640 <limits.h> exists even on freestanding compilers. */
76642 #ifdef __STDC__
76643 # include <limits.h>
76644 #else
76645 # include <assert.h>
76646 #endif
76648 #undef $ac_func
76650 /* Override any gcc2 internal prototype to avoid an error. */
76651 #ifdef __cplusplus
76652 extern "C"
76654 #endif
76655 /* We use char because int might match the return type of a gcc2
76656 builtin and then its argument prototype would still apply. */
76657 char $ac_func ();
76658 /* The GNU C library defines this for functions which it implements
76659 to always fail with ENOSYS. Some functions are actually named
76660 something starting with __ and the normal name is an alias. */
76661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76662 choke me
76663 #else
76664 char (*f) () = $ac_func;
76665 #endif
76666 #ifdef __cplusplus
76668 #endif
76671 main ()
76673 return f != $ac_func;
76675 return 0;
76677 _ACEOF
76678 rm -f conftest.$ac_objext conftest$ac_exeext
76679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76680 (eval $ac_link) 2>conftest.er1
76681 ac_status=$?
76682 grep -v '^ *+' conftest.er1 >conftest.err
76683 rm -f conftest.er1
76684 cat conftest.err >&5
76685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76686 (exit $ac_status); } &&
76687 { ac_try='test -z "$ac_c_werror_flag"
76688 || test ! -s conftest.err'
76689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76690 (eval $ac_try) 2>&5
76691 ac_status=$?
76692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76693 (exit $ac_status); }; } &&
76694 { ac_try='test -s conftest$ac_exeext'
76695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76696 (eval $ac_try) 2>&5
76697 ac_status=$?
76698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76699 (exit $ac_status); }; }; then
76700 eval "$as_ac_var=yes"
76701 else
76702 echo "$as_me: failed program was:" >&5
76703 sed 's/^/| /' conftest.$ac_ext >&5
76705 eval "$as_ac_var=no"
76707 rm -f conftest.err conftest.$ac_objext \
76708 conftest$ac_exeext conftest.$ac_ext
76710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76712 if test `eval echo '${'$as_ac_var'}'` = yes; then
76713 cat >>confdefs.h <<_ACEOF
76714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76715 _ACEOF
76718 done
76728 echo "$as_me:$LINENO: checking for expl declaration" >&5
76729 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76730 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76731 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76732 echo $ECHO_N "(cached) $ECHO_C" >&6
76733 else
76737 ac_ext=cc
76738 ac_cpp='$CXXCPP $CPPFLAGS'
76739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76743 cat >conftest.$ac_ext <<_ACEOF
76744 /* confdefs.h. */
76745 _ACEOF
76746 cat confdefs.h >>conftest.$ac_ext
76747 cat >>conftest.$ac_ext <<_ACEOF
76748 /* end confdefs.h. */
76749 #include <math.h>
76750 #ifdef HAVE_IEEEFP_H
76751 #include <ieeefp.h>
76752 #endif
76755 main ()
76757 expl(0);
76759 return 0;
76761 _ACEOF
76762 rm -f conftest.$ac_objext
76763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76764 (eval $ac_compile) 2>conftest.er1
76765 ac_status=$?
76766 grep -v '^ *+' conftest.er1 >conftest.err
76767 rm -f conftest.er1
76768 cat conftest.err >&5
76769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76770 (exit $ac_status); } &&
76771 { ac_try='test -z "$ac_cxx_werror_flag"
76772 || test ! -s conftest.err'
76773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76774 (eval $ac_try) 2>&5
76775 ac_status=$?
76776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76777 (exit $ac_status); }; } &&
76778 { ac_try='test -s conftest.$ac_objext'
76779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76780 (eval $ac_try) 2>&5
76781 ac_status=$?
76782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76783 (exit $ac_status); }; }; then
76784 glibcxx_cv_func_expl_use=yes
76785 else
76786 echo "$as_me: failed program was:" >&5
76787 sed 's/^/| /' conftest.$ac_ext >&5
76789 glibcxx_cv_func_expl_use=no
76791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76792 ac_ext=c
76793 ac_cpp='$CPP $CPPFLAGS'
76794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76803 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76805 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76807 for ac_func in expl
76809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76810 echo "$as_me:$LINENO: checking for $ac_func" >&5
76811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76812 if eval "test \"\${$as_ac_var+set}\" = set"; then
76813 echo $ECHO_N "(cached) $ECHO_C" >&6
76814 else
76815 if test x$gcc_no_link = xyes; then
76816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76818 { (exit 1); exit 1; }; }
76820 cat >conftest.$ac_ext <<_ACEOF
76821 /* confdefs.h. */
76822 _ACEOF
76823 cat confdefs.h >>conftest.$ac_ext
76824 cat >>conftest.$ac_ext <<_ACEOF
76825 /* end confdefs.h. */
76826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76828 #define $ac_func innocuous_$ac_func
76830 /* System header to define __stub macros and hopefully few prototypes,
76831 which can conflict with char $ac_func (); below.
76832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76833 <limits.h> exists even on freestanding compilers. */
76835 #ifdef __STDC__
76836 # include <limits.h>
76837 #else
76838 # include <assert.h>
76839 #endif
76841 #undef $ac_func
76843 /* Override any gcc2 internal prototype to avoid an error. */
76844 #ifdef __cplusplus
76845 extern "C"
76847 #endif
76848 /* We use char because int might match the return type of a gcc2
76849 builtin and then its argument prototype would still apply. */
76850 char $ac_func ();
76851 /* The GNU C library defines this for functions which it implements
76852 to always fail with ENOSYS. Some functions are actually named
76853 something starting with __ and the normal name is an alias. */
76854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76855 choke me
76856 #else
76857 char (*f) () = $ac_func;
76858 #endif
76859 #ifdef __cplusplus
76861 #endif
76864 main ()
76866 return f != $ac_func;
76868 return 0;
76870 _ACEOF
76871 rm -f conftest.$ac_objext conftest$ac_exeext
76872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76873 (eval $ac_link) 2>conftest.er1
76874 ac_status=$?
76875 grep -v '^ *+' conftest.er1 >conftest.err
76876 rm -f conftest.er1
76877 cat conftest.err >&5
76878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76879 (exit $ac_status); } &&
76880 { ac_try='test -z "$ac_c_werror_flag"
76881 || test ! -s conftest.err'
76882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76883 (eval $ac_try) 2>&5
76884 ac_status=$?
76885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76886 (exit $ac_status); }; } &&
76887 { ac_try='test -s conftest$ac_exeext'
76888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76889 (eval $ac_try) 2>&5
76890 ac_status=$?
76891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76892 (exit $ac_status); }; }; then
76893 eval "$as_ac_var=yes"
76894 else
76895 echo "$as_me: failed program was:" >&5
76896 sed 's/^/| /' conftest.$ac_ext >&5
76898 eval "$as_ac_var=no"
76900 rm -f conftest.err conftest.$ac_objext \
76901 conftest$ac_exeext conftest.$ac_ext
76903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76905 if test `eval echo '${'$as_ac_var'}'` = yes; then
76906 cat >>confdefs.h <<_ACEOF
76907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76908 _ACEOF
76911 done
76913 else
76915 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76916 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76917 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76918 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76919 echo $ECHO_N "(cached) $ECHO_C" >&6
76920 else
76924 ac_ext=cc
76925 ac_cpp='$CXXCPP $CPPFLAGS'
76926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76930 cat >conftest.$ac_ext <<_ACEOF
76931 /* confdefs.h. */
76932 _ACEOF
76933 cat confdefs.h >>conftest.$ac_ext
76934 cat >>conftest.$ac_ext <<_ACEOF
76935 /* end confdefs.h. */
76936 #include <math.h>
76937 #ifdef HAVE_IEEEFP_H
76938 #include <ieeefp.h>
76939 #endif
76942 main ()
76944 _expl(0);
76946 return 0;
76948 _ACEOF
76949 rm -f conftest.$ac_objext
76950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76951 (eval $ac_compile) 2>conftest.er1
76952 ac_status=$?
76953 grep -v '^ *+' conftest.er1 >conftest.err
76954 rm -f conftest.er1
76955 cat conftest.err >&5
76956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76957 (exit $ac_status); } &&
76958 { ac_try='test -z "$ac_cxx_werror_flag"
76959 || test ! -s conftest.err'
76960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76961 (eval $ac_try) 2>&5
76962 ac_status=$?
76963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76964 (exit $ac_status); }; } &&
76965 { ac_try='test -s conftest.$ac_objext'
76966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76967 (eval $ac_try) 2>&5
76968 ac_status=$?
76969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76970 (exit $ac_status); }; }; then
76971 glibcxx_cv_func__expl_use=yes
76972 else
76973 echo "$as_me: failed program was:" >&5
76974 sed 's/^/| /' conftest.$ac_ext >&5
76976 glibcxx_cv_func__expl_use=no
76978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76979 ac_ext=c
76980 ac_cpp='$CPP $CPPFLAGS'
76981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76990 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76992 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76994 for ac_func in _expl
76996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76997 echo "$as_me:$LINENO: checking for $ac_func" >&5
76998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76999 if eval "test \"\${$as_ac_var+set}\" = set"; then
77000 echo $ECHO_N "(cached) $ECHO_C" >&6
77001 else
77002 if test x$gcc_no_link = xyes; then
77003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77005 { (exit 1); exit 1; }; }
77007 cat >conftest.$ac_ext <<_ACEOF
77008 /* confdefs.h. */
77009 _ACEOF
77010 cat confdefs.h >>conftest.$ac_ext
77011 cat >>conftest.$ac_ext <<_ACEOF
77012 /* end confdefs.h. */
77013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77015 #define $ac_func innocuous_$ac_func
77017 /* System header to define __stub macros and hopefully few prototypes,
77018 which can conflict with char $ac_func (); below.
77019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77020 <limits.h> exists even on freestanding compilers. */
77022 #ifdef __STDC__
77023 # include <limits.h>
77024 #else
77025 # include <assert.h>
77026 #endif
77028 #undef $ac_func
77030 /* Override any gcc2 internal prototype to avoid an error. */
77031 #ifdef __cplusplus
77032 extern "C"
77034 #endif
77035 /* We use char because int might match the return type of a gcc2
77036 builtin and then its argument prototype would still apply. */
77037 char $ac_func ();
77038 /* The GNU C library defines this for functions which it implements
77039 to always fail with ENOSYS. Some functions are actually named
77040 something starting with __ and the normal name is an alias. */
77041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77042 choke me
77043 #else
77044 char (*f) () = $ac_func;
77045 #endif
77046 #ifdef __cplusplus
77048 #endif
77051 main ()
77053 return f != $ac_func;
77055 return 0;
77057 _ACEOF
77058 rm -f conftest.$ac_objext conftest$ac_exeext
77059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77060 (eval $ac_link) 2>conftest.er1
77061 ac_status=$?
77062 grep -v '^ *+' conftest.er1 >conftest.err
77063 rm -f conftest.er1
77064 cat conftest.err >&5
77065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77066 (exit $ac_status); } &&
77067 { ac_try='test -z "$ac_c_werror_flag"
77068 || test ! -s conftest.err'
77069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77070 (eval $ac_try) 2>&5
77071 ac_status=$?
77072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77073 (exit $ac_status); }; } &&
77074 { ac_try='test -s conftest$ac_exeext'
77075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77076 (eval $ac_try) 2>&5
77077 ac_status=$?
77078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77079 (exit $ac_status); }; }; then
77080 eval "$as_ac_var=yes"
77081 else
77082 echo "$as_me: failed program was:" >&5
77083 sed 's/^/| /' conftest.$ac_ext >&5
77085 eval "$as_ac_var=no"
77087 rm -f conftest.err conftest.$ac_objext \
77088 conftest$ac_exeext conftest.$ac_ext
77090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77092 if test `eval echo '${'$as_ac_var'}'` = yes; then
77093 cat >>confdefs.h <<_ACEOF
77094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77095 _ACEOF
77098 done
77108 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77109 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77110 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77111 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77112 echo $ECHO_N "(cached) $ECHO_C" >&6
77113 else
77117 ac_ext=cc
77118 ac_cpp='$CXXCPP $CPPFLAGS'
77119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77123 cat >conftest.$ac_ext <<_ACEOF
77124 /* confdefs.h. */
77125 _ACEOF
77126 cat confdefs.h >>conftest.$ac_ext
77127 cat >>conftest.$ac_ext <<_ACEOF
77128 /* end confdefs.h. */
77129 #include <math.h>
77130 #ifdef HAVE_IEEEFP_H
77131 #include <ieeefp.h>
77132 #endif
77135 main ()
77137 fabsl(0);
77139 return 0;
77141 _ACEOF
77142 rm -f conftest.$ac_objext
77143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77144 (eval $ac_compile) 2>conftest.er1
77145 ac_status=$?
77146 grep -v '^ *+' conftest.er1 >conftest.err
77147 rm -f conftest.er1
77148 cat conftest.err >&5
77149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77150 (exit $ac_status); } &&
77151 { ac_try='test -z "$ac_cxx_werror_flag"
77152 || test ! -s conftest.err'
77153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77154 (eval $ac_try) 2>&5
77155 ac_status=$?
77156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77157 (exit $ac_status); }; } &&
77158 { ac_try='test -s conftest.$ac_objext'
77159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77160 (eval $ac_try) 2>&5
77161 ac_status=$?
77162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77163 (exit $ac_status); }; }; then
77164 glibcxx_cv_func_fabsl_use=yes
77165 else
77166 echo "$as_me: failed program was:" >&5
77167 sed 's/^/| /' conftest.$ac_ext >&5
77169 glibcxx_cv_func_fabsl_use=no
77171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77172 ac_ext=c
77173 ac_cpp='$CPP $CPPFLAGS'
77174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77183 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77185 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77187 for ac_func in fabsl
77189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77190 echo "$as_me:$LINENO: checking for $ac_func" >&5
77191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77192 if eval "test \"\${$as_ac_var+set}\" = set"; then
77193 echo $ECHO_N "(cached) $ECHO_C" >&6
77194 else
77195 if test x$gcc_no_link = xyes; then
77196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77198 { (exit 1); exit 1; }; }
77200 cat >conftest.$ac_ext <<_ACEOF
77201 /* confdefs.h. */
77202 _ACEOF
77203 cat confdefs.h >>conftest.$ac_ext
77204 cat >>conftest.$ac_ext <<_ACEOF
77205 /* end confdefs.h. */
77206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77208 #define $ac_func innocuous_$ac_func
77210 /* System header to define __stub macros and hopefully few prototypes,
77211 which can conflict with char $ac_func (); below.
77212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77213 <limits.h> exists even on freestanding compilers. */
77215 #ifdef __STDC__
77216 # include <limits.h>
77217 #else
77218 # include <assert.h>
77219 #endif
77221 #undef $ac_func
77223 /* Override any gcc2 internal prototype to avoid an error. */
77224 #ifdef __cplusplus
77225 extern "C"
77227 #endif
77228 /* We use char because int might match the return type of a gcc2
77229 builtin and then its argument prototype would still apply. */
77230 char $ac_func ();
77231 /* The GNU C library defines this for functions which it implements
77232 to always fail with ENOSYS. Some functions are actually named
77233 something starting with __ and the normal name is an alias. */
77234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77235 choke me
77236 #else
77237 char (*f) () = $ac_func;
77238 #endif
77239 #ifdef __cplusplus
77241 #endif
77244 main ()
77246 return f != $ac_func;
77248 return 0;
77250 _ACEOF
77251 rm -f conftest.$ac_objext conftest$ac_exeext
77252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77253 (eval $ac_link) 2>conftest.er1
77254 ac_status=$?
77255 grep -v '^ *+' conftest.er1 >conftest.err
77256 rm -f conftest.er1
77257 cat conftest.err >&5
77258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77259 (exit $ac_status); } &&
77260 { ac_try='test -z "$ac_c_werror_flag"
77261 || test ! -s conftest.err'
77262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77263 (eval $ac_try) 2>&5
77264 ac_status=$?
77265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77266 (exit $ac_status); }; } &&
77267 { ac_try='test -s conftest$ac_exeext'
77268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77269 (eval $ac_try) 2>&5
77270 ac_status=$?
77271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77272 (exit $ac_status); }; }; then
77273 eval "$as_ac_var=yes"
77274 else
77275 echo "$as_me: failed program was:" >&5
77276 sed 's/^/| /' conftest.$ac_ext >&5
77278 eval "$as_ac_var=no"
77280 rm -f conftest.err conftest.$ac_objext \
77281 conftest$ac_exeext conftest.$ac_ext
77283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77285 if test `eval echo '${'$as_ac_var'}'` = yes; then
77286 cat >>confdefs.h <<_ACEOF
77287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77288 _ACEOF
77291 done
77293 else
77295 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77296 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77297 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77298 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77299 echo $ECHO_N "(cached) $ECHO_C" >&6
77300 else
77304 ac_ext=cc
77305 ac_cpp='$CXXCPP $CPPFLAGS'
77306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77310 cat >conftest.$ac_ext <<_ACEOF
77311 /* confdefs.h. */
77312 _ACEOF
77313 cat confdefs.h >>conftest.$ac_ext
77314 cat >>conftest.$ac_ext <<_ACEOF
77315 /* end confdefs.h. */
77316 #include <math.h>
77317 #ifdef HAVE_IEEEFP_H
77318 #include <ieeefp.h>
77319 #endif
77322 main ()
77324 _fabsl(0);
77326 return 0;
77328 _ACEOF
77329 rm -f conftest.$ac_objext
77330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77331 (eval $ac_compile) 2>conftest.er1
77332 ac_status=$?
77333 grep -v '^ *+' conftest.er1 >conftest.err
77334 rm -f conftest.er1
77335 cat conftest.err >&5
77336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77337 (exit $ac_status); } &&
77338 { ac_try='test -z "$ac_cxx_werror_flag"
77339 || test ! -s conftest.err'
77340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77341 (eval $ac_try) 2>&5
77342 ac_status=$?
77343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77344 (exit $ac_status); }; } &&
77345 { ac_try='test -s conftest.$ac_objext'
77346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77347 (eval $ac_try) 2>&5
77348 ac_status=$?
77349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77350 (exit $ac_status); }; }; then
77351 glibcxx_cv_func__fabsl_use=yes
77352 else
77353 echo "$as_me: failed program was:" >&5
77354 sed 's/^/| /' conftest.$ac_ext >&5
77356 glibcxx_cv_func__fabsl_use=no
77358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77359 ac_ext=c
77360 ac_cpp='$CPP $CPPFLAGS'
77361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77370 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77372 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77374 for ac_func in _fabsl
77376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77377 echo "$as_me:$LINENO: checking for $ac_func" >&5
77378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77379 if eval "test \"\${$as_ac_var+set}\" = set"; then
77380 echo $ECHO_N "(cached) $ECHO_C" >&6
77381 else
77382 if test x$gcc_no_link = xyes; then
77383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77385 { (exit 1); exit 1; }; }
77387 cat >conftest.$ac_ext <<_ACEOF
77388 /* confdefs.h. */
77389 _ACEOF
77390 cat confdefs.h >>conftest.$ac_ext
77391 cat >>conftest.$ac_ext <<_ACEOF
77392 /* end confdefs.h. */
77393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77395 #define $ac_func innocuous_$ac_func
77397 /* System header to define __stub macros and hopefully few prototypes,
77398 which can conflict with char $ac_func (); below.
77399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77400 <limits.h> exists even on freestanding compilers. */
77402 #ifdef __STDC__
77403 # include <limits.h>
77404 #else
77405 # include <assert.h>
77406 #endif
77408 #undef $ac_func
77410 /* Override any gcc2 internal prototype to avoid an error. */
77411 #ifdef __cplusplus
77412 extern "C"
77414 #endif
77415 /* We use char because int might match the return type of a gcc2
77416 builtin and then its argument prototype would still apply. */
77417 char $ac_func ();
77418 /* The GNU C library defines this for functions which it implements
77419 to always fail with ENOSYS. Some functions are actually named
77420 something starting with __ and the normal name is an alias. */
77421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77422 choke me
77423 #else
77424 char (*f) () = $ac_func;
77425 #endif
77426 #ifdef __cplusplus
77428 #endif
77431 main ()
77433 return f != $ac_func;
77435 return 0;
77437 _ACEOF
77438 rm -f conftest.$ac_objext conftest$ac_exeext
77439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77440 (eval $ac_link) 2>conftest.er1
77441 ac_status=$?
77442 grep -v '^ *+' conftest.er1 >conftest.err
77443 rm -f conftest.er1
77444 cat conftest.err >&5
77445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77446 (exit $ac_status); } &&
77447 { ac_try='test -z "$ac_c_werror_flag"
77448 || test ! -s conftest.err'
77449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77450 (eval $ac_try) 2>&5
77451 ac_status=$?
77452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77453 (exit $ac_status); }; } &&
77454 { ac_try='test -s conftest$ac_exeext'
77455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77456 (eval $ac_try) 2>&5
77457 ac_status=$?
77458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77459 (exit $ac_status); }; }; then
77460 eval "$as_ac_var=yes"
77461 else
77462 echo "$as_me: failed program was:" >&5
77463 sed 's/^/| /' conftest.$ac_ext >&5
77465 eval "$as_ac_var=no"
77467 rm -f conftest.err conftest.$ac_objext \
77468 conftest$ac_exeext conftest.$ac_ext
77470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77472 if test `eval echo '${'$as_ac_var'}'` = yes; then
77473 cat >>confdefs.h <<_ACEOF
77474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77475 _ACEOF
77478 done
77488 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77489 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77490 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77491 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77492 echo $ECHO_N "(cached) $ECHO_C" >&6
77493 else
77497 ac_ext=cc
77498 ac_cpp='$CXXCPP $CPPFLAGS'
77499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77503 cat >conftest.$ac_ext <<_ACEOF
77504 /* confdefs.h. */
77505 _ACEOF
77506 cat confdefs.h >>conftest.$ac_ext
77507 cat >>conftest.$ac_ext <<_ACEOF
77508 /* end confdefs.h. */
77509 #include <math.h>
77511 main ()
77513 fmodl(0, 0);
77515 return 0;
77517 _ACEOF
77518 rm -f conftest.$ac_objext
77519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77520 (eval $ac_compile) 2>conftest.er1
77521 ac_status=$?
77522 grep -v '^ *+' conftest.er1 >conftest.err
77523 rm -f conftest.er1
77524 cat conftest.err >&5
77525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77526 (exit $ac_status); } &&
77527 { ac_try='test -z "$ac_cxx_werror_flag"
77528 || test ! -s conftest.err'
77529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77530 (eval $ac_try) 2>&5
77531 ac_status=$?
77532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77533 (exit $ac_status); }; } &&
77534 { ac_try='test -s conftest.$ac_objext'
77535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77536 (eval $ac_try) 2>&5
77537 ac_status=$?
77538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77539 (exit $ac_status); }; }; then
77540 glibcxx_cv_func_fmodl_use=yes
77541 else
77542 echo "$as_me: failed program was:" >&5
77543 sed 's/^/| /' conftest.$ac_ext >&5
77545 glibcxx_cv_func_fmodl_use=no
77547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77548 ac_ext=c
77549 ac_cpp='$CPP $CPPFLAGS'
77550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77559 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77561 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77563 for ac_func in fmodl
77565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77566 echo "$as_me:$LINENO: checking for $ac_func" >&5
77567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77568 if eval "test \"\${$as_ac_var+set}\" = set"; then
77569 echo $ECHO_N "(cached) $ECHO_C" >&6
77570 else
77571 if test x$gcc_no_link = xyes; then
77572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77574 { (exit 1); exit 1; }; }
77576 cat >conftest.$ac_ext <<_ACEOF
77577 /* confdefs.h. */
77578 _ACEOF
77579 cat confdefs.h >>conftest.$ac_ext
77580 cat >>conftest.$ac_ext <<_ACEOF
77581 /* end confdefs.h. */
77582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77584 #define $ac_func innocuous_$ac_func
77586 /* System header to define __stub macros and hopefully few prototypes,
77587 which can conflict with char $ac_func (); below.
77588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77589 <limits.h> exists even on freestanding compilers. */
77591 #ifdef __STDC__
77592 # include <limits.h>
77593 #else
77594 # include <assert.h>
77595 #endif
77597 #undef $ac_func
77599 /* Override any gcc2 internal prototype to avoid an error. */
77600 #ifdef __cplusplus
77601 extern "C"
77603 #endif
77604 /* We use char because int might match the return type of a gcc2
77605 builtin and then its argument prototype would still apply. */
77606 char $ac_func ();
77607 /* The GNU C library defines this for functions which it implements
77608 to always fail with ENOSYS. Some functions are actually named
77609 something starting with __ and the normal name is an alias. */
77610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77611 choke me
77612 #else
77613 char (*f) () = $ac_func;
77614 #endif
77615 #ifdef __cplusplus
77617 #endif
77620 main ()
77622 return f != $ac_func;
77624 return 0;
77626 _ACEOF
77627 rm -f conftest.$ac_objext conftest$ac_exeext
77628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77629 (eval $ac_link) 2>conftest.er1
77630 ac_status=$?
77631 grep -v '^ *+' conftest.er1 >conftest.err
77632 rm -f conftest.er1
77633 cat conftest.err >&5
77634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77635 (exit $ac_status); } &&
77636 { ac_try='test -z "$ac_c_werror_flag"
77637 || test ! -s conftest.err'
77638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77639 (eval $ac_try) 2>&5
77640 ac_status=$?
77641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77642 (exit $ac_status); }; } &&
77643 { ac_try='test -s conftest$ac_exeext'
77644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77645 (eval $ac_try) 2>&5
77646 ac_status=$?
77647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77648 (exit $ac_status); }; }; then
77649 eval "$as_ac_var=yes"
77650 else
77651 echo "$as_me: failed program was:" >&5
77652 sed 's/^/| /' conftest.$ac_ext >&5
77654 eval "$as_ac_var=no"
77656 rm -f conftest.err conftest.$ac_objext \
77657 conftest$ac_exeext conftest.$ac_ext
77659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77661 if test `eval echo '${'$as_ac_var'}'` = yes; then
77662 cat >>confdefs.h <<_ACEOF
77663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77664 _ACEOF
77667 done
77669 else
77671 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77672 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77673 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77674 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77675 echo $ECHO_N "(cached) $ECHO_C" >&6
77676 else
77680 ac_ext=cc
77681 ac_cpp='$CXXCPP $CPPFLAGS'
77682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77686 cat >conftest.$ac_ext <<_ACEOF
77687 /* confdefs.h. */
77688 _ACEOF
77689 cat confdefs.h >>conftest.$ac_ext
77690 cat >>conftest.$ac_ext <<_ACEOF
77691 /* end confdefs.h. */
77692 #include <math.h>
77694 main ()
77696 _fmodl(0, 0);
77698 return 0;
77700 _ACEOF
77701 rm -f conftest.$ac_objext
77702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77703 (eval $ac_compile) 2>conftest.er1
77704 ac_status=$?
77705 grep -v '^ *+' conftest.er1 >conftest.err
77706 rm -f conftest.er1
77707 cat conftest.err >&5
77708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77709 (exit $ac_status); } &&
77710 { ac_try='test -z "$ac_cxx_werror_flag"
77711 || test ! -s conftest.err'
77712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77713 (eval $ac_try) 2>&5
77714 ac_status=$?
77715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77716 (exit $ac_status); }; } &&
77717 { ac_try='test -s conftest.$ac_objext'
77718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77719 (eval $ac_try) 2>&5
77720 ac_status=$?
77721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77722 (exit $ac_status); }; }; then
77723 glibcxx_cv_func__fmodl_use=yes
77724 else
77725 echo "$as_me: failed program was:" >&5
77726 sed 's/^/| /' conftest.$ac_ext >&5
77728 glibcxx_cv_func__fmodl_use=no
77730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77731 ac_ext=c
77732 ac_cpp='$CPP $CPPFLAGS'
77733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77742 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77744 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77746 for ac_func in _fmodl
77748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77749 echo "$as_me:$LINENO: checking for $ac_func" >&5
77750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77751 if eval "test \"\${$as_ac_var+set}\" = set"; then
77752 echo $ECHO_N "(cached) $ECHO_C" >&6
77753 else
77754 if test x$gcc_no_link = xyes; then
77755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77757 { (exit 1); exit 1; }; }
77759 cat >conftest.$ac_ext <<_ACEOF
77760 /* confdefs.h. */
77761 _ACEOF
77762 cat confdefs.h >>conftest.$ac_ext
77763 cat >>conftest.$ac_ext <<_ACEOF
77764 /* end confdefs.h. */
77765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77767 #define $ac_func innocuous_$ac_func
77769 /* System header to define __stub macros and hopefully few prototypes,
77770 which can conflict with char $ac_func (); below.
77771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77772 <limits.h> exists even on freestanding compilers. */
77774 #ifdef __STDC__
77775 # include <limits.h>
77776 #else
77777 # include <assert.h>
77778 #endif
77780 #undef $ac_func
77782 /* Override any gcc2 internal prototype to avoid an error. */
77783 #ifdef __cplusplus
77784 extern "C"
77786 #endif
77787 /* We use char because int might match the return type of a gcc2
77788 builtin and then its argument prototype would still apply. */
77789 char $ac_func ();
77790 /* The GNU C library defines this for functions which it implements
77791 to always fail with ENOSYS. Some functions are actually named
77792 something starting with __ and the normal name is an alias. */
77793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77794 choke me
77795 #else
77796 char (*f) () = $ac_func;
77797 #endif
77798 #ifdef __cplusplus
77800 #endif
77803 main ()
77805 return f != $ac_func;
77807 return 0;
77809 _ACEOF
77810 rm -f conftest.$ac_objext conftest$ac_exeext
77811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77812 (eval $ac_link) 2>conftest.er1
77813 ac_status=$?
77814 grep -v '^ *+' conftest.er1 >conftest.err
77815 rm -f conftest.er1
77816 cat conftest.err >&5
77817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77818 (exit $ac_status); } &&
77819 { ac_try='test -z "$ac_c_werror_flag"
77820 || test ! -s conftest.err'
77821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77822 (eval $ac_try) 2>&5
77823 ac_status=$?
77824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77825 (exit $ac_status); }; } &&
77826 { ac_try='test -s conftest$ac_exeext'
77827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77828 (eval $ac_try) 2>&5
77829 ac_status=$?
77830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77831 (exit $ac_status); }; }; then
77832 eval "$as_ac_var=yes"
77833 else
77834 echo "$as_me: failed program was:" >&5
77835 sed 's/^/| /' conftest.$ac_ext >&5
77837 eval "$as_ac_var=no"
77839 rm -f conftest.err conftest.$ac_objext \
77840 conftest$ac_exeext conftest.$ac_ext
77842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77844 if test `eval echo '${'$as_ac_var'}'` = yes; then
77845 cat >>confdefs.h <<_ACEOF
77846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77847 _ACEOF
77850 done
77860 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77861 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77862 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77863 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77864 echo $ECHO_N "(cached) $ECHO_C" >&6
77865 else
77869 ac_ext=cc
77870 ac_cpp='$CXXCPP $CPPFLAGS'
77871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77875 cat >conftest.$ac_ext <<_ACEOF
77876 /* confdefs.h. */
77877 _ACEOF
77878 cat confdefs.h >>conftest.$ac_ext
77879 cat >>conftest.$ac_ext <<_ACEOF
77880 /* end confdefs.h. */
77881 #include <math.h>
77883 main ()
77885 frexpl(0, 0);
77887 return 0;
77889 _ACEOF
77890 rm -f conftest.$ac_objext
77891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77892 (eval $ac_compile) 2>conftest.er1
77893 ac_status=$?
77894 grep -v '^ *+' conftest.er1 >conftest.err
77895 rm -f conftest.er1
77896 cat conftest.err >&5
77897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77898 (exit $ac_status); } &&
77899 { ac_try='test -z "$ac_cxx_werror_flag"
77900 || test ! -s conftest.err'
77901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77902 (eval $ac_try) 2>&5
77903 ac_status=$?
77904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77905 (exit $ac_status); }; } &&
77906 { ac_try='test -s conftest.$ac_objext'
77907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77908 (eval $ac_try) 2>&5
77909 ac_status=$?
77910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77911 (exit $ac_status); }; }; then
77912 glibcxx_cv_func_frexpl_use=yes
77913 else
77914 echo "$as_me: failed program was:" >&5
77915 sed 's/^/| /' conftest.$ac_ext >&5
77917 glibcxx_cv_func_frexpl_use=no
77919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77920 ac_ext=c
77921 ac_cpp='$CPP $CPPFLAGS'
77922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77931 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77933 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77935 for ac_func in frexpl
77937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77938 echo "$as_me:$LINENO: checking for $ac_func" >&5
77939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77940 if eval "test \"\${$as_ac_var+set}\" = set"; then
77941 echo $ECHO_N "(cached) $ECHO_C" >&6
77942 else
77943 if test x$gcc_no_link = xyes; then
77944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77946 { (exit 1); exit 1; }; }
77948 cat >conftest.$ac_ext <<_ACEOF
77949 /* confdefs.h. */
77950 _ACEOF
77951 cat confdefs.h >>conftest.$ac_ext
77952 cat >>conftest.$ac_ext <<_ACEOF
77953 /* end confdefs.h. */
77954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77956 #define $ac_func innocuous_$ac_func
77958 /* System header to define __stub macros and hopefully few prototypes,
77959 which can conflict with char $ac_func (); below.
77960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77961 <limits.h> exists even on freestanding compilers. */
77963 #ifdef __STDC__
77964 # include <limits.h>
77965 #else
77966 # include <assert.h>
77967 #endif
77969 #undef $ac_func
77971 /* Override any gcc2 internal prototype to avoid an error. */
77972 #ifdef __cplusplus
77973 extern "C"
77975 #endif
77976 /* We use char because int might match the return type of a gcc2
77977 builtin and then its argument prototype would still apply. */
77978 char $ac_func ();
77979 /* The GNU C library defines this for functions which it implements
77980 to always fail with ENOSYS. Some functions are actually named
77981 something starting with __ and the normal name is an alias. */
77982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77983 choke me
77984 #else
77985 char (*f) () = $ac_func;
77986 #endif
77987 #ifdef __cplusplus
77989 #endif
77992 main ()
77994 return f != $ac_func;
77996 return 0;
77998 _ACEOF
77999 rm -f conftest.$ac_objext conftest$ac_exeext
78000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78001 (eval $ac_link) 2>conftest.er1
78002 ac_status=$?
78003 grep -v '^ *+' conftest.er1 >conftest.err
78004 rm -f conftest.er1
78005 cat conftest.err >&5
78006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78007 (exit $ac_status); } &&
78008 { ac_try='test -z "$ac_c_werror_flag"
78009 || test ! -s conftest.err'
78010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78011 (eval $ac_try) 2>&5
78012 ac_status=$?
78013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78014 (exit $ac_status); }; } &&
78015 { ac_try='test -s conftest$ac_exeext'
78016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78017 (eval $ac_try) 2>&5
78018 ac_status=$?
78019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78020 (exit $ac_status); }; }; then
78021 eval "$as_ac_var=yes"
78022 else
78023 echo "$as_me: failed program was:" >&5
78024 sed 's/^/| /' conftest.$ac_ext >&5
78026 eval "$as_ac_var=no"
78028 rm -f conftest.err conftest.$ac_objext \
78029 conftest$ac_exeext conftest.$ac_ext
78031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78033 if test `eval echo '${'$as_ac_var'}'` = yes; then
78034 cat >>confdefs.h <<_ACEOF
78035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78036 _ACEOF
78039 done
78041 else
78043 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78044 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78045 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78046 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78047 echo $ECHO_N "(cached) $ECHO_C" >&6
78048 else
78052 ac_ext=cc
78053 ac_cpp='$CXXCPP $CPPFLAGS'
78054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78058 cat >conftest.$ac_ext <<_ACEOF
78059 /* confdefs.h. */
78060 _ACEOF
78061 cat confdefs.h >>conftest.$ac_ext
78062 cat >>conftest.$ac_ext <<_ACEOF
78063 /* end confdefs.h. */
78064 #include <math.h>
78066 main ()
78068 _frexpl(0, 0);
78070 return 0;
78072 _ACEOF
78073 rm -f conftest.$ac_objext
78074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78075 (eval $ac_compile) 2>conftest.er1
78076 ac_status=$?
78077 grep -v '^ *+' conftest.er1 >conftest.err
78078 rm -f conftest.er1
78079 cat conftest.err >&5
78080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78081 (exit $ac_status); } &&
78082 { ac_try='test -z "$ac_cxx_werror_flag"
78083 || test ! -s conftest.err'
78084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78085 (eval $ac_try) 2>&5
78086 ac_status=$?
78087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78088 (exit $ac_status); }; } &&
78089 { ac_try='test -s conftest.$ac_objext'
78090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78091 (eval $ac_try) 2>&5
78092 ac_status=$?
78093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78094 (exit $ac_status); }; }; then
78095 glibcxx_cv_func__frexpl_use=yes
78096 else
78097 echo "$as_me: failed program was:" >&5
78098 sed 's/^/| /' conftest.$ac_ext >&5
78100 glibcxx_cv_func__frexpl_use=no
78102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78103 ac_ext=c
78104 ac_cpp='$CPP $CPPFLAGS'
78105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78114 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78116 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78118 for ac_func in _frexpl
78120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78121 echo "$as_me:$LINENO: checking for $ac_func" >&5
78122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78123 if eval "test \"\${$as_ac_var+set}\" = set"; then
78124 echo $ECHO_N "(cached) $ECHO_C" >&6
78125 else
78126 if test x$gcc_no_link = xyes; then
78127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78129 { (exit 1); exit 1; }; }
78131 cat >conftest.$ac_ext <<_ACEOF
78132 /* confdefs.h. */
78133 _ACEOF
78134 cat confdefs.h >>conftest.$ac_ext
78135 cat >>conftest.$ac_ext <<_ACEOF
78136 /* end confdefs.h. */
78137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78139 #define $ac_func innocuous_$ac_func
78141 /* System header to define __stub macros and hopefully few prototypes,
78142 which can conflict with char $ac_func (); below.
78143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78144 <limits.h> exists even on freestanding compilers. */
78146 #ifdef __STDC__
78147 # include <limits.h>
78148 #else
78149 # include <assert.h>
78150 #endif
78152 #undef $ac_func
78154 /* Override any gcc2 internal prototype to avoid an error. */
78155 #ifdef __cplusplus
78156 extern "C"
78158 #endif
78159 /* We use char because int might match the return type of a gcc2
78160 builtin and then its argument prototype would still apply. */
78161 char $ac_func ();
78162 /* The GNU C library defines this for functions which it implements
78163 to always fail with ENOSYS. Some functions are actually named
78164 something starting with __ and the normal name is an alias. */
78165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78166 choke me
78167 #else
78168 char (*f) () = $ac_func;
78169 #endif
78170 #ifdef __cplusplus
78172 #endif
78175 main ()
78177 return f != $ac_func;
78179 return 0;
78181 _ACEOF
78182 rm -f conftest.$ac_objext conftest$ac_exeext
78183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78184 (eval $ac_link) 2>conftest.er1
78185 ac_status=$?
78186 grep -v '^ *+' conftest.er1 >conftest.err
78187 rm -f conftest.er1
78188 cat conftest.err >&5
78189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78190 (exit $ac_status); } &&
78191 { ac_try='test -z "$ac_c_werror_flag"
78192 || test ! -s conftest.err'
78193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78194 (eval $ac_try) 2>&5
78195 ac_status=$?
78196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78197 (exit $ac_status); }; } &&
78198 { ac_try='test -s conftest$ac_exeext'
78199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78200 (eval $ac_try) 2>&5
78201 ac_status=$?
78202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78203 (exit $ac_status); }; }; then
78204 eval "$as_ac_var=yes"
78205 else
78206 echo "$as_me: failed program was:" >&5
78207 sed 's/^/| /' conftest.$ac_ext >&5
78209 eval "$as_ac_var=no"
78211 rm -f conftest.err conftest.$ac_objext \
78212 conftest$ac_exeext conftest.$ac_ext
78214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78216 if test `eval echo '${'$as_ac_var'}'` = yes; then
78217 cat >>confdefs.h <<_ACEOF
78218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78219 _ACEOF
78222 done
78232 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78233 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78234 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78235 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78236 echo $ECHO_N "(cached) $ECHO_C" >&6
78237 else
78241 ac_ext=cc
78242 ac_cpp='$CXXCPP $CPPFLAGS'
78243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78247 cat >conftest.$ac_ext <<_ACEOF
78248 /* confdefs.h. */
78249 _ACEOF
78250 cat confdefs.h >>conftest.$ac_ext
78251 cat >>conftest.$ac_ext <<_ACEOF
78252 /* end confdefs.h. */
78253 #include <math.h>
78255 main ()
78257 hypotl(0, 0);
78259 return 0;
78261 _ACEOF
78262 rm -f conftest.$ac_objext
78263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78264 (eval $ac_compile) 2>conftest.er1
78265 ac_status=$?
78266 grep -v '^ *+' conftest.er1 >conftest.err
78267 rm -f conftest.er1
78268 cat conftest.err >&5
78269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78270 (exit $ac_status); } &&
78271 { ac_try='test -z "$ac_cxx_werror_flag"
78272 || test ! -s conftest.err'
78273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78274 (eval $ac_try) 2>&5
78275 ac_status=$?
78276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78277 (exit $ac_status); }; } &&
78278 { ac_try='test -s conftest.$ac_objext'
78279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78280 (eval $ac_try) 2>&5
78281 ac_status=$?
78282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78283 (exit $ac_status); }; }; then
78284 glibcxx_cv_func_hypotl_use=yes
78285 else
78286 echo "$as_me: failed program was:" >&5
78287 sed 's/^/| /' conftest.$ac_ext >&5
78289 glibcxx_cv_func_hypotl_use=no
78291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78292 ac_ext=c
78293 ac_cpp='$CPP $CPPFLAGS'
78294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78302 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78303 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78305 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78307 for ac_func in hypotl
78309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78310 echo "$as_me:$LINENO: checking for $ac_func" >&5
78311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78312 if eval "test \"\${$as_ac_var+set}\" = set"; then
78313 echo $ECHO_N "(cached) $ECHO_C" >&6
78314 else
78315 if test x$gcc_no_link = xyes; then
78316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78318 { (exit 1); exit 1; }; }
78320 cat >conftest.$ac_ext <<_ACEOF
78321 /* confdefs.h. */
78322 _ACEOF
78323 cat confdefs.h >>conftest.$ac_ext
78324 cat >>conftest.$ac_ext <<_ACEOF
78325 /* end confdefs.h. */
78326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78328 #define $ac_func innocuous_$ac_func
78330 /* System header to define __stub macros and hopefully few prototypes,
78331 which can conflict with char $ac_func (); below.
78332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78333 <limits.h> exists even on freestanding compilers. */
78335 #ifdef __STDC__
78336 # include <limits.h>
78337 #else
78338 # include <assert.h>
78339 #endif
78341 #undef $ac_func
78343 /* Override any gcc2 internal prototype to avoid an error. */
78344 #ifdef __cplusplus
78345 extern "C"
78347 #endif
78348 /* We use char because int might match the return type of a gcc2
78349 builtin and then its argument prototype would still apply. */
78350 char $ac_func ();
78351 /* The GNU C library defines this for functions which it implements
78352 to always fail with ENOSYS. Some functions are actually named
78353 something starting with __ and the normal name is an alias. */
78354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78355 choke me
78356 #else
78357 char (*f) () = $ac_func;
78358 #endif
78359 #ifdef __cplusplus
78361 #endif
78364 main ()
78366 return f != $ac_func;
78368 return 0;
78370 _ACEOF
78371 rm -f conftest.$ac_objext conftest$ac_exeext
78372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78373 (eval $ac_link) 2>conftest.er1
78374 ac_status=$?
78375 grep -v '^ *+' conftest.er1 >conftest.err
78376 rm -f conftest.er1
78377 cat conftest.err >&5
78378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78379 (exit $ac_status); } &&
78380 { ac_try='test -z "$ac_c_werror_flag"
78381 || test ! -s conftest.err'
78382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78383 (eval $ac_try) 2>&5
78384 ac_status=$?
78385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78386 (exit $ac_status); }; } &&
78387 { ac_try='test -s conftest$ac_exeext'
78388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78389 (eval $ac_try) 2>&5
78390 ac_status=$?
78391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78392 (exit $ac_status); }; }; then
78393 eval "$as_ac_var=yes"
78394 else
78395 echo "$as_me: failed program was:" >&5
78396 sed 's/^/| /' conftest.$ac_ext >&5
78398 eval "$as_ac_var=no"
78400 rm -f conftest.err conftest.$ac_objext \
78401 conftest$ac_exeext conftest.$ac_ext
78403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78405 if test `eval echo '${'$as_ac_var'}'` = yes; then
78406 cat >>confdefs.h <<_ACEOF
78407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78408 _ACEOF
78411 done
78413 else
78415 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78416 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78417 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78418 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78419 echo $ECHO_N "(cached) $ECHO_C" >&6
78420 else
78424 ac_ext=cc
78425 ac_cpp='$CXXCPP $CPPFLAGS'
78426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78430 cat >conftest.$ac_ext <<_ACEOF
78431 /* confdefs.h. */
78432 _ACEOF
78433 cat confdefs.h >>conftest.$ac_ext
78434 cat >>conftest.$ac_ext <<_ACEOF
78435 /* end confdefs.h. */
78436 #include <math.h>
78438 main ()
78440 _hypotl(0, 0);
78442 return 0;
78444 _ACEOF
78445 rm -f conftest.$ac_objext
78446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78447 (eval $ac_compile) 2>conftest.er1
78448 ac_status=$?
78449 grep -v '^ *+' conftest.er1 >conftest.err
78450 rm -f conftest.er1
78451 cat conftest.err >&5
78452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78453 (exit $ac_status); } &&
78454 { ac_try='test -z "$ac_cxx_werror_flag"
78455 || test ! -s conftest.err'
78456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78457 (eval $ac_try) 2>&5
78458 ac_status=$?
78459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78460 (exit $ac_status); }; } &&
78461 { ac_try='test -s conftest.$ac_objext'
78462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78463 (eval $ac_try) 2>&5
78464 ac_status=$?
78465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78466 (exit $ac_status); }; }; then
78467 glibcxx_cv_func__hypotl_use=yes
78468 else
78469 echo "$as_me: failed program was:" >&5
78470 sed 's/^/| /' conftest.$ac_ext >&5
78472 glibcxx_cv_func__hypotl_use=no
78474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78475 ac_ext=c
78476 ac_cpp='$CPP $CPPFLAGS'
78477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78486 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78488 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78490 for ac_func in _hypotl
78492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78493 echo "$as_me:$LINENO: checking for $ac_func" >&5
78494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78495 if eval "test \"\${$as_ac_var+set}\" = set"; then
78496 echo $ECHO_N "(cached) $ECHO_C" >&6
78497 else
78498 if test x$gcc_no_link = xyes; then
78499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78501 { (exit 1); exit 1; }; }
78503 cat >conftest.$ac_ext <<_ACEOF
78504 /* confdefs.h. */
78505 _ACEOF
78506 cat confdefs.h >>conftest.$ac_ext
78507 cat >>conftest.$ac_ext <<_ACEOF
78508 /* end confdefs.h. */
78509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78511 #define $ac_func innocuous_$ac_func
78513 /* System header to define __stub macros and hopefully few prototypes,
78514 which can conflict with char $ac_func (); below.
78515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78516 <limits.h> exists even on freestanding compilers. */
78518 #ifdef __STDC__
78519 # include <limits.h>
78520 #else
78521 # include <assert.h>
78522 #endif
78524 #undef $ac_func
78526 /* Override any gcc2 internal prototype to avoid an error. */
78527 #ifdef __cplusplus
78528 extern "C"
78530 #endif
78531 /* We use char because int might match the return type of a gcc2
78532 builtin and then its argument prototype would still apply. */
78533 char $ac_func ();
78534 /* The GNU C library defines this for functions which it implements
78535 to always fail with ENOSYS. Some functions are actually named
78536 something starting with __ and the normal name is an alias. */
78537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78538 choke me
78539 #else
78540 char (*f) () = $ac_func;
78541 #endif
78542 #ifdef __cplusplus
78544 #endif
78547 main ()
78549 return f != $ac_func;
78551 return 0;
78553 _ACEOF
78554 rm -f conftest.$ac_objext conftest$ac_exeext
78555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78556 (eval $ac_link) 2>conftest.er1
78557 ac_status=$?
78558 grep -v '^ *+' conftest.er1 >conftest.err
78559 rm -f conftest.er1
78560 cat conftest.err >&5
78561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78562 (exit $ac_status); } &&
78563 { ac_try='test -z "$ac_c_werror_flag"
78564 || test ! -s conftest.err'
78565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78566 (eval $ac_try) 2>&5
78567 ac_status=$?
78568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78569 (exit $ac_status); }; } &&
78570 { ac_try='test -s conftest$ac_exeext'
78571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78572 (eval $ac_try) 2>&5
78573 ac_status=$?
78574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78575 (exit $ac_status); }; }; then
78576 eval "$as_ac_var=yes"
78577 else
78578 echo "$as_me: failed program was:" >&5
78579 sed 's/^/| /' conftest.$ac_ext >&5
78581 eval "$as_ac_var=no"
78583 rm -f conftest.err conftest.$ac_objext \
78584 conftest$ac_exeext conftest.$ac_ext
78586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78588 if test `eval echo '${'$as_ac_var'}'` = yes; then
78589 cat >>confdefs.h <<_ACEOF
78590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78591 _ACEOF
78594 done
78604 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78605 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78606 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78607 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78608 echo $ECHO_N "(cached) $ECHO_C" >&6
78609 else
78613 ac_ext=cc
78614 ac_cpp='$CXXCPP $CPPFLAGS'
78615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78619 cat >conftest.$ac_ext <<_ACEOF
78620 /* confdefs.h. */
78621 _ACEOF
78622 cat confdefs.h >>conftest.$ac_ext
78623 cat >>conftest.$ac_ext <<_ACEOF
78624 /* end confdefs.h. */
78625 #include <math.h>
78627 main ()
78629 ldexpl(0, 0);
78631 return 0;
78633 _ACEOF
78634 rm -f conftest.$ac_objext
78635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78636 (eval $ac_compile) 2>conftest.er1
78637 ac_status=$?
78638 grep -v '^ *+' conftest.er1 >conftest.err
78639 rm -f conftest.er1
78640 cat conftest.err >&5
78641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78642 (exit $ac_status); } &&
78643 { ac_try='test -z "$ac_cxx_werror_flag"
78644 || test ! -s conftest.err'
78645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78646 (eval $ac_try) 2>&5
78647 ac_status=$?
78648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78649 (exit $ac_status); }; } &&
78650 { ac_try='test -s conftest.$ac_objext'
78651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78652 (eval $ac_try) 2>&5
78653 ac_status=$?
78654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78655 (exit $ac_status); }; }; then
78656 glibcxx_cv_func_ldexpl_use=yes
78657 else
78658 echo "$as_me: failed program was:" >&5
78659 sed 's/^/| /' conftest.$ac_ext >&5
78661 glibcxx_cv_func_ldexpl_use=no
78663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78664 ac_ext=c
78665 ac_cpp='$CPP $CPPFLAGS'
78666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78674 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78675 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78677 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78679 for ac_func in ldexpl
78681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78682 echo "$as_me:$LINENO: checking for $ac_func" >&5
78683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78684 if eval "test \"\${$as_ac_var+set}\" = set"; then
78685 echo $ECHO_N "(cached) $ECHO_C" >&6
78686 else
78687 if test x$gcc_no_link = xyes; then
78688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78690 { (exit 1); exit 1; }; }
78692 cat >conftest.$ac_ext <<_ACEOF
78693 /* confdefs.h. */
78694 _ACEOF
78695 cat confdefs.h >>conftest.$ac_ext
78696 cat >>conftest.$ac_ext <<_ACEOF
78697 /* end confdefs.h. */
78698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78700 #define $ac_func innocuous_$ac_func
78702 /* System header to define __stub macros and hopefully few prototypes,
78703 which can conflict with char $ac_func (); below.
78704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78705 <limits.h> exists even on freestanding compilers. */
78707 #ifdef __STDC__
78708 # include <limits.h>
78709 #else
78710 # include <assert.h>
78711 #endif
78713 #undef $ac_func
78715 /* Override any gcc2 internal prototype to avoid an error. */
78716 #ifdef __cplusplus
78717 extern "C"
78719 #endif
78720 /* We use char because int might match the return type of a gcc2
78721 builtin and then its argument prototype would still apply. */
78722 char $ac_func ();
78723 /* The GNU C library defines this for functions which it implements
78724 to always fail with ENOSYS. Some functions are actually named
78725 something starting with __ and the normal name is an alias. */
78726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78727 choke me
78728 #else
78729 char (*f) () = $ac_func;
78730 #endif
78731 #ifdef __cplusplus
78733 #endif
78736 main ()
78738 return f != $ac_func;
78740 return 0;
78742 _ACEOF
78743 rm -f conftest.$ac_objext conftest$ac_exeext
78744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78745 (eval $ac_link) 2>conftest.er1
78746 ac_status=$?
78747 grep -v '^ *+' conftest.er1 >conftest.err
78748 rm -f conftest.er1
78749 cat conftest.err >&5
78750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78751 (exit $ac_status); } &&
78752 { ac_try='test -z "$ac_c_werror_flag"
78753 || test ! -s conftest.err'
78754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78755 (eval $ac_try) 2>&5
78756 ac_status=$?
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); }; } &&
78759 { ac_try='test -s conftest$ac_exeext'
78760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78761 (eval $ac_try) 2>&5
78762 ac_status=$?
78763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78764 (exit $ac_status); }; }; then
78765 eval "$as_ac_var=yes"
78766 else
78767 echo "$as_me: failed program was:" >&5
78768 sed 's/^/| /' conftest.$ac_ext >&5
78770 eval "$as_ac_var=no"
78772 rm -f conftest.err conftest.$ac_objext \
78773 conftest$ac_exeext conftest.$ac_ext
78775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78777 if test `eval echo '${'$as_ac_var'}'` = yes; then
78778 cat >>confdefs.h <<_ACEOF
78779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78780 _ACEOF
78783 done
78785 else
78787 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78788 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78789 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78790 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78791 echo $ECHO_N "(cached) $ECHO_C" >&6
78792 else
78796 ac_ext=cc
78797 ac_cpp='$CXXCPP $CPPFLAGS'
78798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78802 cat >conftest.$ac_ext <<_ACEOF
78803 /* confdefs.h. */
78804 _ACEOF
78805 cat confdefs.h >>conftest.$ac_ext
78806 cat >>conftest.$ac_ext <<_ACEOF
78807 /* end confdefs.h. */
78808 #include <math.h>
78810 main ()
78812 _ldexpl(0, 0);
78814 return 0;
78816 _ACEOF
78817 rm -f conftest.$ac_objext
78818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78819 (eval $ac_compile) 2>conftest.er1
78820 ac_status=$?
78821 grep -v '^ *+' conftest.er1 >conftest.err
78822 rm -f conftest.er1
78823 cat conftest.err >&5
78824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78825 (exit $ac_status); } &&
78826 { ac_try='test -z "$ac_cxx_werror_flag"
78827 || test ! -s conftest.err'
78828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78829 (eval $ac_try) 2>&5
78830 ac_status=$?
78831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78832 (exit $ac_status); }; } &&
78833 { ac_try='test -s conftest.$ac_objext'
78834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78835 (eval $ac_try) 2>&5
78836 ac_status=$?
78837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78838 (exit $ac_status); }; }; then
78839 glibcxx_cv_func__ldexpl_use=yes
78840 else
78841 echo "$as_me: failed program was:" >&5
78842 sed 's/^/| /' conftest.$ac_ext >&5
78844 glibcxx_cv_func__ldexpl_use=no
78846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78847 ac_ext=c
78848 ac_cpp='$CPP $CPPFLAGS'
78849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78858 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78860 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78862 for ac_func in _ldexpl
78864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78865 echo "$as_me:$LINENO: checking for $ac_func" >&5
78866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78867 if eval "test \"\${$as_ac_var+set}\" = set"; then
78868 echo $ECHO_N "(cached) $ECHO_C" >&6
78869 else
78870 if test x$gcc_no_link = xyes; then
78871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78873 { (exit 1); exit 1; }; }
78875 cat >conftest.$ac_ext <<_ACEOF
78876 /* confdefs.h. */
78877 _ACEOF
78878 cat confdefs.h >>conftest.$ac_ext
78879 cat >>conftest.$ac_ext <<_ACEOF
78880 /* end confdefs.h. */
78881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78883 #define $ac_func innocuous_$ac_func
78885 /* System header to define __stub macros and hopefully few prototypes,
78886 which can conflict with char $ac_func (); below.
78887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78888 <limits.h> exists even on freestanding compilers. */
78890 #ifdef __STDC__
78891 # include <limits.h>
78892 #else
78893 # include <assert.h>
78894 #endif
78896 #undef $ac_func
78898 /* Override any gcc2 internal prototype to avoid an error. */
78899 #ifdef __cplusplus
78900 extern "C"
78902 #endif
78903 /* We use char because int might match the return type of a gcc2
78904 builtin and then its argument prototype would still apply. */
78905 char $ac_func ();
78906 /* The GNU C library defines this for functions which it implements
78907 to always fail with ENOSYS. Some functions are actually named
78908 something starting with __ and the normal name is an alias. */
78909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78910 choke me
78911 #else
78912 char (*f) () = $ac_func;
78913 #endif
78914 #ifdef __cplusplus
78916 #endif
78919 main ()
78921 return f != $ac_func;
78923 return 0;
78925 _ACEOF
78926 rm -f conftest.$ac_objext conftest$ac_exeext
78927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78928 (eval $ac_link) 2>conftest.er1
78929 ac_status=$?
78930 grep -v '^ *+' conftest.er1 >conftest.err
78931 rm -f conftest.er1
78932 cat conftest.err >&5
78933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78934 (exit $ac_status); } &&
78935 { ac_try='test -z "$ac_c_werror_flag"
78936 || test ! -s conftest.err'
78937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78938 (eval $ac_try) 2>&5
78939 ac_status=$?
78940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78941 (exit $ac_status); }; } &&
78942 { ac_try='test -s conftest$ac_exeext'
78943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78944 (eval $ac_try) 2>&5
78945 ac_status=$?
78946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78947 (exit $ac_status); }; }; then
78948 eval "$as_ac_var=yes"
78949 else
78950 echo "$as_me: failed program was:" >&5
78951 sed 's/^/| /' conftest.$ac_ext >&5
78953 eval "$as_ac_var=no"
78955 rm -f conftest.err conftest.$ac_objext \
78956 conftest$ac_exeext conftest.$ac_ext
78958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78960 if test `eval echo '${'$as_ac_var'}'` = yes; then
78961 cat >>confdefs.h <<_ACEOF
78962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78963 _ACEOF
78966 done
78976 echo "$as_me:$LINENO: checking for logl declaration" >&5
78977 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78978 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78979 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78980 echo $ECHO_N "(cached) $ECHO_C" >&6
78981 else
78985 ac_ext=cc
78986 ac_cpp='$CXXCPP $CPPFLAGS'
78987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78991 cat >conftest.$ac_ext <<_ACEOF
78992 /* confdefs.h. */
78993 _ACEOF
78994 cat confdefs.h >>conftest.$ac_ext
78995 cat >>conftest.$ac_ext <<_ACEOF
78996 /* end confdefs.h. */
78997 #include <math.h>
78998 #ifdef HAVE_IEEEFP_H
78999 #include <ieeefp.h>
79000 #endif
79003 main ()
79005 logl(0);
79007 return 0;
79009 _ACEOF
79010 rm -f conftest.$ac_objext
79011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79012 (eval $ac_compile) 2>conftest.er1
79013 ac_status=$?
79014 grep -v '^ *+' conftest.er1 >conftest.err
79015 rm -f conftest.er1
79016 cat conftest.err >&5
79017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79018 (exit $ac_status); } &&
79019 { ac_try='test -z "$ac_cxx_werror_flag"
79020 || test ! -s conftest.err'
79021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79022 (eval $ac_try) 2>&5
79023 ac_status=$?
79024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79025 (exit $ac_status); }; } &&
79026 { ac_try='test -s conftest.$ac_objext'
79027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79028 (eval $ac_try) 2>&5
79029 ac_status=$?
79030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79031 (exit $ac_status); }; }; then
79032 glibcxx_cv_func_logl_use=yes
79033 else
79034 echo "$as_me: failed program was:" >&5
79035 sed 's/^/| /' conftest.$ac_ext >&5
79037 glibcxx_cv_func_logl_use=no
79039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79040 ac_ext=c
79041 ac_cpp='$CPP $CPPFLAGS'
79042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79051 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79053 if test x$glibcxx_cv_func_logl_use = x"yes"; then
79055 for ac_func in logl
79057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79058 echo "$as_me:$LINENO: checking for $ac_func" >&5
79059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79060 if eval "test \"\${$as_ac_var+set}\" = set"; then
79061 echo $ECHO_N "(cached) $ECHO_C" >&6
79062 else
79063 if test x$gcc_no_link = xyes; then
79064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79066 { (exit 1); exit 1; }; }
79068 cat >conftest.$ac_ext <<_ACEOF
79069 /* confdefs.h. */
79070 _ACEOF
79071 cat confdefs.h >>conftest.$ac_ext
79072 cat >>conftest.$ac_ext <<_ACEOF
79073 /* end confdefs.h. */
79074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79076 #define $ac_func innocuous_$ac_func
79078 /* System header to define __stub macros and hopefully few prototypes,
79079 which can conflict with char $ac_func (); below.
79080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79081 <limits.h> exists even on freestanding compilers. */
79083 #ifdef __STDC__
79084 # include <limits.h>
79085 #else
79086 # include <assert.h>
79087 #endif
79089 #undef $ac_func
79091 /* Override any gcc2 internal prototype to avoid an error. */
79092 #ifdef __cplusplus
79093 extern "C"
79095 #endif
79096 /* We use char because int might match the return type of a gcc2
79097 builtin and then its argument prototype would still apply. */
79098 char $ac_func ();
79099 /* The GNU C library defines this for functions which it implements
79100 to always fail with ENOSYS. Some functions are actually named
79101 something starting with __ and the normal name is an alias. */
79102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79103 choke me
79104 #else
79105 char (*f) () = $ac_func;
79106 #endif
79107 #ifdef __cplusplus
79109 #endif
79112 main ()
79114 return f != $ac_func;
79116 return 0;
79118 _ACEOF
79119 rm -f conftest.$ac_objext conftest$ac_exeext
79120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79121 (eval $ac_link) 2>conftest.er1
79122 ac_status=$?
79123 grep -v '^ *+' conftest.er1 >conftest.err
79124 rm -f conftest.er1
79125 cat conftest.err >&5
79126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79127 (exit $ac_status); } &&
79128 { ac_try='test -z "$ac_c_werror_flag"
79129 || test ! -s conftest.err'
79130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79131 (eval $ac_try) 2>&5
79132 ac_status=$?
79133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79134 (exit $ac_status); }; } &&
79135 { ac_try='test -s conftest$ac_exeext'
79136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79137 (eval $ac_try) 2>&5
79138 ac_status=$?
79139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79140 (exit $ac_status); }; }; then
79141 eval "$as_ac_var=yes"
79142 else
79143 echo "$as_me: failed program was:" >&5
79144 sed 's/^/| /' conftest.$ac_ext >&5
79146 eval "$as_ac_var=no"
79148 rm -f conftest.err conftest.$ac_objext \
79149 conftest$ac_exeext conftest.$ac_ext
79151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79153 if test `eval echo '${'$as_ac_var'}'` = yes; then
79154 cat >>confdefs.h <<_ACEOF
79155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79156 _ACEOF
79159 done
79161 else
79163 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79164 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79165 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79166 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79167 echo $ECHO_N "(cached) $ECHO_C" >&6
79168 else
79172 ac_ext=cc
79173 ac_cpp='$CXXCPP $CPPFLAGS'
79174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79178 cat >conftest.$ac_ext <<_ACEOF
79179 /* confdefs.h. */
79180 _ACEOF
79181 cat confdefs.h >>conftest.$ac_ext
79182 cat >>conftest.$ac_ext <<_ACEOF
79183 /* end confdefs.h. */
79184 #include <math.h>
79185 #ifdef HAVE_IEEEFP_H
79186 #include <ieeefp.h>
79187 #endif
79190 main ()
79192 _logl(0);
79194 return 0;
79196 _ACEOF
79197 rm -f conftest.$ac_objext
79198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79199 (eval $ac_compile) 2>conftest.er1
79200 ac_status=$?
79201 grep -v '^ *+' conftest.er1 >conftest.err
79202 rm -f conftest.er1
79203 cat conftest.err >&5
79204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79205 (exit $ac_status); } &&
79206 { ac_try='test -z "$ac_cxx_werror_flag"
79207 || test ! -s conftest.err'
79208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79209 (eval $ac_try) 2>&5
79210 ac_status=$?
79211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79212 (exit $ac_status); }; } &&
79213 { ac_try='test -s conftest.$ac_objext'
79214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79215 (eval $ac_try) 2>&5
79216 ac_status=$?
79217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79218 (exit $ac_status); }; }; then
79219 glibcxx_cv_func__logl_use=yes
79220 else
79221 echo "$as_me: failed program was:" >&5
79222 sed 's/^/| /' conftest.$ac_ext >&5
79224 glibcxx_cv_func__logl_use=no
79226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79227 ac_ext=c
79228 ac_cpp='$CPP $CPPFLAGS'
79229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79238 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79240 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79242 for ac_func in _logl
79244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79245 echo "$as_me:$LINENO: checking for $ac_func" >&5
79246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79247 if eval "test \"\${$as_ac_var+set}\" = set"; then
79248 echo $ECHO_N "(cached) $ECHO_C" >&6
79249 else
79250 if test x$gcc_no_link = xyes; then
79251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79253 { (exit 1); exit 1; }; }
79255 cat >conftest.$ac_ext <<_ACEOF
79256 /* confdefs.h. */
79257 _ACEOF
79258 cat confdefs.h >>conftest.$ac_ext
79259 cat >>conftest.$ac_ext <<_ACEOF
79260 /* end confdefs.h. */
79261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79263 #define $ac_func innocuous_$ac_func
79265 /* System header to define __stub macros and hopefully few prototypes,
79266 which can conflict with char $ac_func (); below.
79267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79268 <limits.h> exists even on freestanding compilers. */
79270 #ifdef __STDC__
79271 # include <limits.h>
79272 #else
79273 # include <assert.h>
79274 #endif
79276 #undef $ac_func
79278 /* Override any gcc2 internal prototype to avoid an error. */
79279 #ifdef __cplusplus
79280 extern "C"
79282 #endif
79283 /* We use char because int might match the return type of a gcc2
79284 builtin and then its argument prototype would still apply. */
79285 char $ac_func ();
79286 /* The GNU C library defines this for functions which it implements
79287 to always fail with ENOSYS. Some functions are actually named
79288 something starting with __ and the normal name is an alias. */
79289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79290 choke me
79291 #else
79292 char (*f) () = $ac_func;
79293 #endif
79294 #ifdef __cplusplus
79296 #endif
79299 main ()
79301 return f != $ac_func;
79303 return 0;
79305 _ACEOF
79306 rm -f conftest.$ac_objext conftest$ac_exeext
79307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79308 (eval $ac_link) 2>conftest.er1
79309 ac_status=$?
79310 grep -v '^ *+' conftest.er1 >conftest.err
79311 rm -f conftest.er1
79312 cat conftest.err >&5
79313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79314 (exit $ac_status); } &&
79315 { ac_try='test -z "$ac_c_werror_flag"
79316 || test ! -s conftest.err'
79317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79318 (eval $ac_try) 2>&5
79319 ac_status=$?
79320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79321 (exit $ac_status); }; } &&
79322 { ac_try='test -s conftest$ac_exeext'
79323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79324 (eval $ac_try) 2>&5
79325 ac_status=$?
79326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79327 (exit $ac_status); }; }; then
79328 eval "$as_ac_var=yes"
79329 else
79330 echo "$as_me: failed program was:" >&5
79331 sed 's/^/| /' conftest.$ac_ext >&5
79333 eval "$as_ac_var=no"
79335 rm -f conftest.err conftest.$ac_objext \
79336 conftest$ac_exeext conftest.$ac_ext
79338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79340 if test `eval echo '${'$as_ac_var'}'` = yes; then
79341 cat >>confdefs.h <<_ACEOF
79342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79343 _ACEOF
79346 done
79356 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79357 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79358 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79359 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79360 echo $ECHO_N "(cached) $ECHO_C" >&6
79361 else
79365 ac_ext=cc
79366 ac_cpp='$CXXCPP $CPPFLAGS'
79367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79371 cat >conftest.$ac_ext <<_ACEOF
79372 /* confdefs.h. */
79373 _ACEOF
79374 cat confdefs.h >>conftest.$ac_ext
79375 cat >>conftest.$ac_ext <<_ACEOF
79376 /* end confdefs.h. */
79377 #include <math.h>
79378 #ifdef HAVE_IEEEFP_H
79379 #include <ieeefp.h>
79380 #endif
79383 main ()
79385 log10l(0);
79387 return 0;
79389 _ACEOF
79390 rm -f conftest.$ac_objext
79391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79392 (eval $ac_compile) 2>conftest.er1
79393 ac_status=$?
79394 grep -v '^ *+' conftest.er1 >conftest.err
79395 rm -f conftest.er1
79396 cat conftest.err >&5
79397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79398 (exit $ac_status); } &&
79399 { ac_try='test -z "$ac_cxx_werror_flag"
79400 || test ! -s conftest.err'
79401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79402 (eval $ac_try) 2>&5
79403 ac_status=$?
79404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405 (exit $ac_status); }; } &&
79406 { ac_try='test -s conftest.$ac_objext'
79407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79408 (eval $ac_try) 2>&5
79409 ac_status=$?
79410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79411 (exit $ac_status); }; }; then
79412 glibcxx_cv_func_log10l_use=yes
79413 else
79414 echo "$as_me: failed program was:" >&5
79415 sed 's/^/| /' conftest.$ac_ext >&5
79417 glibcxx_cv_func_log10l_use=no
79419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79420 ac_ext=c
79421 ac_cpp='$CPP $CPPFLAGS'
79422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79431 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79433 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79435 for ac_func in log10l
79437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79438 echo "$as_me:$LINENO: checking for $ac_func" >&5
79439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79440 if eval "test \"\${$as_ac_var+set}\" = set"; then
79441 echo $ECHO_N "(cached) $ECHO_C" >&6
79442 else
79443 if test x$gcc_no_link = xyes; then
79444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79446 { (exit 1); exit 1; }; }
79448 cat >conftest.$ac_ext <<_ACEOF
79449 /* confdefs.h. */
79450 _ACEOF
79451 cat confdefs.h >>conftest.$ac_ext
79452 cat >>conftest.$ac_ext <<_ACEOF
79453 /* end confdefs.h. */
79454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79456 #define $ac_func innocuous_$ac_func
79458 /* System header to define __stub macros and hopefully few prototypes,
79459 which can conflict with char $ac_func (); below.
79460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79461 <limits.h> exists even on freestanding compilers. */
79463 #ifdef __STDC__
79464 # include <limits.h>
79465 #else
79466 # include <assert.h>
79467 #endif
79469 #undef $ac_func
79471 /* Override any gcc2 internal prototype to avoid an error. */
79472 #ifdef __cplusplus
79473 extern "C"
79475 #endif
79476 /* We use char because int might match the return type of a gcc2
79477 builtin and then its argument prototype would still apply. */
79478 char $ac_func ();
79479 /* The GNU C library defines this for functions which it implements
79480 to always fail with ENOSYS. Some functions are actually named
79481 something starting with __ and the normal name is an alias. */
79482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79483 choke me
79484 #else
79485 char (*f) () = $ac_func;
79486 #endif
79487 #ifdef __cplusplus
79489 #endif
79492 main ()
79494 return f != $ac_func;
79496 return 0;
79498 _ACEOF
79499 rm -f conftest.$ac_objext conftest$ac_exeext
79500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79501 (eval $ac_link) 2>conftest.er1
79502 ac_status=$?
79503 grep -v '^ *+' conftest.er1 >conftest.err
79504 rm -f conftest.er1
79505 cat conftest.err >&5
79506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79507 (exit $ac_status); } &&
79508 { ac_try='test -z "$ac_c_werror_flag"
79509 || test ! -s conftest.err'
79510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79511 (eval $ac_try) 2>&5
79512 ac_status=$?
79513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79514 (exit $ac_status); }; } &&
79515 { ac_try='test -s conftest$ac_exeext'
79516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79517 (eval $ac_try) 2>&5
79518 ac_status=$?
79519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79520 (exit $ac_status); }; }; then
79521 eval "$as_ac_var=yes"
79522 else
79523 echo "$as_me: failed program was:" >&5
79524 sed 's/^/| /' conftest.$ac_ext >&5
79526 eval "$as_ac_var=no"
79528 rm -f conftest.err conftest.$ac_objext \
79529 conftest$ac_exeext conftest.$ac_ext
79531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79533 if test `eval echo '${'$as_ac_var'}'` = yes; then
79534 cat >>confdefs.h <<_ACEOF
79535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79536 _ACEOF
79539 done
79541 else
79543 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79544 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79545 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79546 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79547 echo $ECHO_N "(cached) $ECHO_C" >&6
79548 else
79552 ac_ext=cc
79553 ac_cpp='$CXXCPP $CPPFLAGS'
79554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79558 cat >conftest.$ac_ext <<_ACEOF
79559 /* confdefs.h. */
79560 _ACEOF
79561 cat confdefs.h >>conftest.$ac_ext
79562 cat >>conftest.$ac_ext <<_ACEOF
79563 /* end confdefs.h. */
79564 #include <math.h>
79565 #ifdef HAVE_IEEEFP_H
79566 #include <ieeefp.h>
79567 #endif
79570 main ()
79572 _log10l(0);
79574 return 0;
79576 _ACEOF
79577 rm -f conftest.$ac_objext
79578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79579 (eval $ac_compile) 2>conftest.er1
79580 ac_status=$?
79581 grep -v '^ *+' conftest.er1 >conftest.err
79582 rm -f conftest.er1
79583 cat conftest.err >&5
79584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79585 (exit $ac_status); } &&
79586 { ac_try='test -z "$ac_cxx_werror_flag"
79587 || test ! -s conftest.err'
79588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79589 (eval $ac_try) 2>&5
79590 ac_status=$?
79591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79592 (exit $ac_status); }; } &&
79593 { ac_try='test -s conftest.$ac_objext'
79594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79595 (eval $ac_try) 2>&5
79596 ac_status=$?
79597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79598 (exit $ac_status); }; }; then
79599 glibcxx_cv_func__log10l_use=yes
79600 else
79601 echo "$as_me: failed program was:" >&5
79602 sed 's/^/| /' conftest.$ac_ext >&5
79604 glibcxx_cv_func__log10l_use=no
79606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79607 ac_ext=c
79608 ac_cpp='$CPP $CPPFLAGS'
79609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79618 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79620 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79622 for ac_func in _log10l
79624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79625 echo "$as_me:$LINENO: checking for $ac_func" >&5
79626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79627 if eval "test \"\${$as_ac_var+set}\" = set"; then
79628 echo $ECHO_N "(cached) $ECHO_C" >&6
79629 else
79630 if test x$gcc_no_link = xyes; then
79631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79633 { (exit 1); exit 1; }; }
79635 cat >conftest.$ac_ext <<_ACEOF
79636 /* confdefs.h. */
79637 _ACEOF
79638 cat confdefs.h >>conftest.$ac_ext
79639 cat >>conftest.$ac_ext <<_ACEOF
79640 /* end confdefs.h. */
79641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79643 #define $ac_func innocuous_$ac_func
79645 /* System header to define __stub macros and hopefully few prototypes,
79646 which can conflict with char $ac_func (); below.
79647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79648 <limits.h> exists even on freestanding compilers. */
79650 #ifdef __STDC__
79651 # include <limits.h>
79652 #else
79653 # include <assert.h>
79654 #endif
79656 #undef $ac_func
79658 /* Override any gcc2 internal prototype to avoid an error. */
79659 #ifdef __cplusplus
79660 extern "C"
79662 #endif
79663 /* We use char because int might match the return type of a gcc2
79664 builtin and then its argument prototype would still apply. */
79665 char $ac_func ();
79666 /* The GNU C library defines this for functions which it implements
79667 to always fail with ENOSYS. Some functions are actually named
79668 something starting with __ and the normal name is an alias. */
79669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79670 choke me
79671 #else
79672 char (*f) () = $ac_func;
79673 #endif
79674 #ifdef __cplusplus
79676 #endif
79679 main ()
79681 return f != $ac_func;
79683 return 0;
79685 _ACEOF
79686 rm -f conftest.$ac_objext conftest$ac_exeext
79687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79688 (eval $ac_link) 2>conftest.er1
79689 ac_status=$?
79690 grep -v '^ *+' conftest.er1 >conftest.err
79691 rm -f conftest.er1
79692 cat conftest.err >&5
79693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79694 (exit $ac_status); } &&
79695 { ac_try='test -z "$ac_c_werror_flag"
79696 || test ! -s conftest.err'
79697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79698 (eval $ac_try) 2>&5
79699 ac_status=$?
79700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79701 (exit $ac_status); }; } &&
79702 { ac_try='test -s conftest$ac_exeext'
79703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79704 (eval $ac_try) 2>&5
79705 ac_status=$?
79706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79707 (exit $ac_status); }; }; then
79708 eval "$as_ac_var=yes"
79709 else
79710 echo "$as_me: failed program was:" >&5
79711 sed 's/^/| /' conftest.$ac_ext >&5
79713 eval "$as_ac_var=no"
79715 rm -f conftest.err conftest.$ac_objext \
79716 conftest$ac_exeext conftest.$ac_ext
79718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79720 if test `eval echo '${'$as_ac_var'}'` = yes; then
79721 cat >>confdefs.h <<_ACEOF
79722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79723 _ACEOF
79726 done
79736 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79737 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79738 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79739 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79740 echo $ECHO_N "(cached) $ECHO_C" >&6
79741 else
79745 ac_ext=cc
79746 ac_cpp='$CXXCPP $CPPFLAGS'
79747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79751 cat >conftest.$ac_ext <<_ACEOF
79752 /* confdefs.h. */
79753 _ACEOF
79754 cat confdefs.h >>conftest.$ac_ext
79755 cat >>conftest.$ac_ext <<_ACEOF
79756 /* end confdefs.h. */
79757 #include <math.h>
79759 main ()
79761 modfl(0, 0);
79763 return 0;
79765 _ACEOF
79766 rm -f conftest.$ac_objext
79767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79768 (eval $ac_compile) 2>conftest.er1
79769 ac_status=$?
79770 grep -v '^ *+' conftest.er1 >conftest.err
79771 rm -f conftest.er1
79772 cat conftest.err >&5
79773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79774 (exit $ac_status); } &&
79775 { ac_try='test -z "$ac_cxx_werror_flag"
79776 || test ! -s conftest.err'
79777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79778 (eval $ac_try) 2>&5
79779 ac_status=$?
79780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79781 (exit $ac_status); }; } &&
79782 { ac_try='test -s conftest.$ac_objext'
79783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79784 (eval $ac_try) 2>&5
79785 ac_status=$?
79786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79787 (exit $ac_status); }; }; then
79788 glibcxx_cv_func_modfl_use=yes
79789 else
79790 echo "$as_me: failed program was:" >&5
79791 sed 's/^/| /' conftest.$ac_ext >&5
79793 glibcxx_cv_func_modfl_use=no
79795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79796 ac_ext=c
79797 ac_cpp='$CPP $CPPFLAGS'
79798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79807 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79809 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79811 for ac_func in modfl
79813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79814 echo "$as_me:$LINENO: checking for $ac_func" >&5
79815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79816 if eval "test \"\${$as_ac_var+set}\" = set"; then
79817 echo $ECHO_N "(cached) $ECHO_C" >&6
79818 else
79819 if test x$gcc_no_link = xyes; then
79820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79822 { (exit 1); exit 1; }; }
79824 cat >conftest.$ac_ext <<_ACEOF
79825 /* confdefs.h. */
79826 _ACEOF
79827 cat confdefs.h >>conftest.$ac_ext
79828 cat >>conftest.$ac_ext <<_ACEOF
79829 /* end confdefs.h. */
79830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79832 #define $ac_func innocuous_$ac_func
79834 /* System header to define __stub macros and hopefully few prototypes,
79835 which can conflict with char $ac_func (); below.
79836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79837 <limits.h> exists even on freestanding compilers. */
79839 #ifdef __STDC__
79840 # include <limits.h>
79841 #else
79842 # include <assert.h>
79843 #endif
79845 #undef $ac_func
79847 /* Override any gcc2 internal prototype to avoid an error. */
79848 #ifdef __cplusplus
79849 extern "C"
79851 #endif
79852 /* We use char because int might match the return type of a gcc2
79853 builtin and then its argument prototype would still apply. */
79854 char $ac_func ();
79855 /* The GNU C library defines this for functions which it implements
79856 to always fail with ENOSYS. Some functions are actually named
79857 something starting with __ and the normal name is an alias. */
79858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79859 choke me
79860 #else
79861 char (*f) () = $ac_func;
79862 #endif
79863 #ifdef __cplusplus
79865 #endif
79868 main ()
79870 return f != $ac_func;
79872 return 0;
79874 _ACEOF
79875 rm -f conftest.$ac_objext conftest$ac_exeext
79876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79877 (eval $ac_link) 2>conftest.er1
79878 ac_status=$?
79879 grep -v '^ *+' conftest.er1 >conftest.err
79880 rm -f conftest.er1
79881 cat conftest.err >&5
79882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79883 (exit $ac_status); } &&
79884 { ac_try='test -z "$ac_c_werror_flag"
79885 || test ! -s conftest.err'
79886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79887 (eval $ac_try) 2>&5
79888 ac_status=$?
79889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79890 (exit $ac_status); }; } &&
79891 { ac_try='test -s conftest$ac_exeext'
79892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79893 (eval $ac_try) 2>&5
79894 ac_status=$?
79895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79896 (exit $ac_status); }; }; then
79897 eval "$as_ac_var=yes"
79898 else
79899 echo "$as_me: failed program was:" >&5
79900 sed 's/^/| /' conftest.$ac_ext >&5
79902 eval "$as_ac_var=no"
79904 rm -f conftest.err conftest.$ac_objext \
79905 conftest$ac_exeext conftest.$ac_ext
79907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79909 if test `eval echo '${'$as_ac_var'}'` = yes; then
79910 cat >>confdefs.h <<_ACEOF
79911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79912 _ACEOF
79915 done
79917 else
79919 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79920 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79921 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79922 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79923 echo $ECHO_N "(cached) $ECHO_C" >&6
79924 else
79928 ac_ext=cc
79929 ac_cpp='$CXXCPP $CPPFLAGS'
79930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79934 cat >conftest.$ac_ext <<_ACEOF
79935 /* confdefs.h. */
79936 _ACEOF
79937 cat confdefs.h >>conftest.$ac_ext
79938 cat >>conftest.$ac_ext <<_ACEOF
79939 /* end confdefs.h. */
79940 #include <math.h>
79942 main ()
79944 _modfl(0, 0);
79946 return 0;
79948 _ACEOF
79949 rm -f conftest.$ac_objext
79950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79951 (eval $ac_compile) 2>conftest.er1
79952 ac_status=$?
79953 grep -v '^ *+' conftest.er1 >conftest.err
79954 rm -f conftest.er1
79955 cat conftest.err >&5
79956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79957 (exit $ac_status); } &&
79958 { ac_try='test -z "$ac_cxx_werror_flag"
79959 || test ! -s conftest.err'
79960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79961 (eval $ac_try) 2>&5
79962 ac_status=$?
79963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79964 (exit $ac_status); }; } &&
79965 { ac_try='test -s conftest.$ac_objext'
79966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79967 (eval $ac_try) 2>&5
79968 ac_status=$?
79969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79970 (exit $ac_status); }; }; then
79971 glibcxx_cv_func__modfl_use=yes
79972 else
79973 echo "$as_me: failed program was:" >&5
79974 sed 's/^/| /' conftest.$ac_ext >&5
79976 glibcxx_cv_func__modfl_use=no
79978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79979 ac_ext=c
79980 ac_cpp='$CPP $CPPFLAGS'
79981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79990 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79992 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79994 for ac_func in _modfl
79996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79997 echo "$as_me:$LINENO: checking for $ac_func" >&5
79998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79999 if eval "test \"\${$as_ac_var+set}\" = set"; then
80000 echo $ECHO_N "(cached) $ECHO_C" >&6
80001 else
80002 if test x$gcc_no_link = xyes; then
80003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80005 { (exit 1); exit 1; }; }
80007 cat >conftest.$ac_ext <<_ACEOF
80008 /* confdefs.h. */
80009 _ACEOF
80010 cat confdefs.h >>conftest.$ac_ext
80011 cat >>conftest.$ac_ext <<_ACEOF
80012 /* end confdefs.h. */
80013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80015 #define $ac_func innocuous_$ac_func
80017 /* System header to define __stub macros and hopefully few prototypes,
80018 which can conflict with char $ac_func (); below.
80019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80020 <limits.h> exists even on freestanding compilers. */
80022 #ifdef __STDC__
80023 # include <limits.h>
80024 #else
80025 # include <assert.h>
80026 #endif
80028 #undef $ac_func
80030 /* Override any gcc2 internal prototype to avoid an error. */
80031 #ifdef __cplusplus
80032 extern "C"
80034 #endif
80035 /* We use char because int might match the return type of a gcc2
80036 builtin and then its argument prototype would still apply. */
80037 char $ac_func ();
80038 /* The GNU C library defines this for functions which it implements
80039 to always fail with ENOSYS. Some functions are actually named
80040 something starting with __ and the normal name is an alias. */
80041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80042 choke me
80043 #else
80044 char (*f) () = $ac_func;
80045 #endif
80046 #ifdef __cplusplus
80048 #endif
80051 main ()
80053 return f != $ac_func;
80055 return 0;
80057 _ACEOF
80058 rm -f conftest.$ac_objext conftest$ac_exeext
80059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80060 (eval $ac_link) 2>conftest.er1
80061 ac_status=$?
80062 grep -v '^ *+' conftest.er1 >conftest.err
80063 rm -f conftest.er1
80064 cat conftest.err >&5
80065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80066 (exit $ac_status); } &&
80067 { ac_try='test -z "$ac_c_werror_flag"
80068 || test ! -s conftest.err'
80069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80070 (eval $ac_try) 2>&5
80071 ac_status=$?
80072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80073 (exit $ac_status); }; } &&
80074 { ac_try='test -s conftest$ac_exeext'
80075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80076 (eval $ac_try) 2>&5
80077 ac_status=$?
80078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80079 (exit $ac_status); }; }; then
80080 eval "$as_ac_var=yes"
80081 else
80082 echo "$as_me: failed program was:" >&5
80083 sed 's/^/| /' conftest.$ac_ext >&5
80085 eval "$as_ac_var=no"
80087 rm -f conftest.err conftest.$ac_objext \
80088 conftest$ac_exeext conftest.$ac_ext
80090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80092 if test `eval echo '${'$as_ac_var'}'` = yes; then
80093 cat >>confdefs.h <<_ACEOF
80094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80095 _ACEOF
80098 done
80108 echo "$as_me:$LINENO: checking for powl declaration" >&5
80109 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80111 if test "${glibcxx_cv_func_powl_use+set}" = set; then
80112 echo $ECHO_N "(cached) $ECHO_C" >&6
80113 else
80117 ac_ext=cc
80118 ac_cpp='$CXXCPP $CPPFLAGS'
80119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80123 cat >conftest.$ac_ext <<_ACEOF
80124 /* confdefs.h. */
80125 _ACEOF
80126 cat confdefs.h >>conftest.$ac_ext
80127 cat >>conftest.$ac_ext <<_ACEOF
80128 /* end confdefs.h. */
80129 #include <math.h>
80131 main ()
80133 powl(0, 0);
80135 return 0;
80137 _ACEOF
80138 rm -f conftest.$ac_objext
80139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80140 (eval $ac_compile) 2>conftest.er1
80141 ac_status=$?
80142 grep -v '^ *+' conftest.er1 >conftest.err
80143 rm -f conftest.er1
80144 cat conftest.err >&5
80145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80146 (exit $ac_status); } &&
80147 { ac_try='test -z "$ac_cxx_werror_flag"
80148 || test ! -s conftest.err'
80149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80150 (eval $ac_try) 2>&5
80151 ac_status=$?
80152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80153 (exit $ac_status); }; } &&
80154 { ac_try='test -s conftest.$ac_objext'
80155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80156 (eval $ac_try) 2>&5
80157 ac_status=$?
80158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80159 (exit $ac_status); }; }; then
80160 glibcxx_cv_func_powl_use=yes
80161 else
80162 echo "$as_me: failed program was:" >&5
80163 sed 's/^/| /' conftest.$ac_ext >&5
80165 glibcxx_cv_func_powl_use=no
80167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80168 ac_ext=c
80169 ac_cpp='$CPP $CPPFLAGS'
80170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80179 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80181 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80183 for ac_func in powl
80185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80186 echo "$as_me:$LINENO: checking for $ac_func" >&5
80187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80188 if eval "test \"\${$as_ac_var+set}\" = set"; then
80189 echo $ECHO_N "(cached) $ECHO_C" >&6
80190 else
80191 if test x$gcc_no_link = xyes; then
80192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80194 { (exit 1); exit 1; }; }
80196 cat >conftest.$ac_ext <<_ACEOF
80197 /* confdefs.h. */
80198 _ACEOF
80199 cat confdefs.h >>conftest.$ac_ext
80200 cat >>conftest.$ac_ext <<_ACEOF
80201 /* end confdefs.h. */
80202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80204 #define $ac_func innocuous_$ac_func
80206 /* System header to define __stub macros and hopefully few prototypes,
80207 which can conflict with char $ac_func (); below.
80208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80209 <limits.h> exists even on freestanding compilers. */
80211 #ifdef __STDC__
80212 # include <limits.h>
80213 #else
80214 # include <assert.h>
80215 #endif
80217 #undef $ac_func
80219 /* Override any gcc2 internal prototype to avoid an error. */
80220 #ifdef __cplusplus
80221 extern "C"
80223 #endif
80224 /* We use char because int might match the return type of a gcc2
80225 builtin and then its argument prototype would still apply. */
80226 char $ac_func ();
80227 /* The GNU C library defines this for functions which it implements
80228 to always fail with ENOSYS. Some functions are actually named
80229 something starting with __ and the normal name is an alias. */
80230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80231 choke me
80232 #else
80233 char (*f) () = $ac_func;
80234 #endif
80235 #ifdef __cplusplus
80237 #endif
80240 main ()
80242 return f != $ac_func;
80244 return 0;
80246 _ACEOF
80247 rm -f conftest.$ac_objext conftest$ac_exeext
80248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80249 (eval $ac_link) 2>conftest.er1
80250 ac_status=$?
80251 grep -v '^ *+' conftest.er1 >conftest.err
80252 rm -f conftest.er1
80253 cat conftest.err >&5
80254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80255 (exit $ac_status); } &&
80256 { ac_try='test -z "$ac_c_werror_flag"
80257 || test ! -s conftest.err'
80258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80259 (eval $ac_try) 2>&5
80260 ac_status=$?
80261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80262 (exit $ac_status); }; } &&
80263 { ac_try='test -s conftest$ac_exeext'
80264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80265 (eval $ac_try) 2>&5
80266 ac_status=$?
80267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80268 (exit $ac_status); }; }; then
80269 eval "$as_ac_var=yes"
80270 else
80271 echo "$as_me: failed program was:" >&5
80272 sed 's/^/| /' conftest.$ac_ext >&5
80274 eval "$as_ac_var=no"
80276 rm -f conftest.err conftest.$ac_objext \
80277 conftest$ac_exeext conftest.$ac_ext
80279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80281 if test `eval echo '${'$as_ac_var'}'` = yes; then
80282 cat >>confdefs.h <<_ACEOF
80283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80284 _ACEOF
80287 done
80289 else
80291 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80292 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80293 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80294 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80295 echo $ECHO_N "(cached) $ECHO_C" >&6
80296 else
80300 ac_ext=cc
80301 ac_cpp='$CXXCPP $CPPFLAGS'
80302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80306 cat >conftest.$ac_ext <<_ACEOF
80307 /* confdefs.h. */
80308 _ACEOF
80309 cat confdefs.h >>conftest.$ac_ext
80310 cat >>conftest.$ac_ext <<_ACEOF
80311 /* end confdefs.h. */
80312 #include <math.h>
80314 main ()
80316 _powl(0, 0);
80318 return 0;
80320 _ACEOF
80321 rm -f conftest.$ac_objext
80322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80323 (eval $ac_compile) 2>conftest.er1
80324 ac_status=$?
80325 grep -v '^ *+' conftest.er1 >conftest.err
80326 rm -f conftest.er1
80327 cat conftest.err >&5
80328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80329 (exit $ac_status); } &&
80330 { ac_try='test -z "$ac_cxx_werror_flag"
80331 || test ! -s conftest.err'
80332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80333 (eval $ac_try) 2>&5
80334 ac_status=$?
80335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80336 (exit $ac_status); }; } &&
80337 { ac_try='test -s conftest.$ac_objext'
80338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80339 (eval $ac_try) 2>&5
80340 ac_status=$?
80341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80342 (exit $ac_status); }; }; then
80343 glibcxx_cv_func__powl_use=yes
80344 else
80345 echo "$as_me: failed program was:" >&5
80346 sed 's/^/| /' conftest.$ac_ext >&5
80348 glibcxx_cv_func__powl_use=no
80350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80351 ac_ext=c
80352 ac_cpp='$CPP $CPPFLAGS'
80353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80362 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80364 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80366 for ac_func in _powl
80368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80369 echo "$as_me:$LINENO: checking for $ac_func" >&5
80370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80371 if eval "test \"\${$as_ac_var+set}\" = set"; then
80372 echo $ECHO_N "(cached) $ECHO_C" >&6
80373 else
80374 if test x$gcc_no_link = xyes; then
80375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80377 { (exit 1); exit 1; }; }
80379 cat >conftest.$ac_ext <<_ACEOF
80380 /* confdefs.h. */
80381 _ACEOF
80382 cat confdefs.h >>conftest.$ac_ext
80383 cat >>conftest.$ac_ext <<_ACEOF
80384 /* end confdefs.h. */
80385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80387 #define $ac_func innocuous_$ac_func
80389 /* System header to define __stub macros and hopefully few prototypes,
80390 which can conflict with char $ac_func (); below.
80391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80392 <limits.h> exists even on freestanding compilers. */
80394 #ifdef __STDC__
80395 # include <limits.h>
80396 #else
80397 # include <assert.h>
80398 #endif
80400 #undef $ac_func
80402 /* Override any gcc2 internal prototype to avoid an error. */
80403 #ifdef __cplusplus
80404 extern "C"
80406 #endif
80407 /* We use char because int might match the return type of a gcc2
80408 builtin and then its argument prototype would still apply. */
80409 char $ac_func ();
80410 /* The GNU C library defines this for functions which it implements
80411 to always fail with ENOSYS. Some functions are actually named
80412 something starting with __ and the normal name is an alias. */
80413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80414 choke me
80415 #else
80416 char (*f) () = $ac_func;
80417 #endif
80418 #ifdef __cplusplus
80420 #endif
80423 main ()
80425 return f != $ac_func;
80427 return 0;
80429 _ACEOF
80430 rm -f conftest.$ac_objext conftest$ac_exeext
80431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80432 (eval $ac_link) 2>conftest.er1
80433 ac_status=$?
80434 grep -v '^ *+' conftest.er1 >conftest.err
80435 rm -f conftest.er1
80436 cat conftest.err >&5
80437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80438 (exit $ac_status); } &&
80439 { ac_try='test -z "$ac_c_werror_flag"
80440 || test ! -s conftest.err'
80441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80442 (eval $ac_try) 2>&5
80443 ac_status=$?
80444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80445 (exit $ac_status); }; } &&
80446 { ac_try='test -s conftest$ac_exeext'
80447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80448 (eval $ac_try) 2>&5
80449 ac_status=$?
80450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80451 (exit $ac_status); }; }; then
80452 eval "$as_ac_var=yes"
80453 else
80454 echo "$as_me: failed program was:" >&5
80455 sed 's/^/| /' conftest.$ac_ext >&5
80457 eval "$as_ac_var=no"
80459 rm -f conftest.err conftest.$ac_objext \
80460 conftest$ac_exeext conftest.$ac_ext
80462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80464 if test `eval echo '${'$as_ac_var'}'` = yes; then
80465 cat >>confdefs.h <<_ACEOF
80466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80467 _ACEOF
80470 done
80480 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80481 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80482 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80483 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80484 echo $ECHO_N "(cached) $ECHO_C" >&6
80485 else
80489 ac_ext=cc
80490 ac_cpp='$CXXCPP $CPPFLAGS'
80491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80495 cat >conftest.$ac_ext <<_ACEOF
80496 /* confdefs.h. */
80497 _ACEOF
80498 cat confdefs.h >>conftest.$ac_ext
80499 cat >>conftest.$ac_ext <<_ACEOF
80500 /* end confdefs.h. */
80501 #include <math.h>
80502 #ifdef HAVE_IEEEFP_H
80503 #include <ieeefp.h>
80504 #endif
80507 main ()
80509 sqrtl(0);
80511 return 0;
80513 _ACEOF
80514 rm -f conftest.$ac_objext
80515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80516 (eval $ac_compile) 2>conftest.er1
80517 ac_status=$?
80518 grep -v '^ *+' conftest.er1 >conftest.err
80519 rm -f conftest.er1
80520 cat conftest.err >&5
80521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80522 (exit $ac_status); } &&
80523 { ac_try='test -z "$ac_cxx_werror_flag"
80524 || test ! -s conftest.err'
80525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80526 (eval $ac_try) 2>&5
80527 ac_status=$?
80528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80529 (exit $ac_status); }; } &&
80530 { ac_try='test -s conftest.$ac_objext'
80531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80532 (eval $ac_try) 2>&5
80533 ac_status=$?
80534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80535 (exit $ac_status); }; }; then
80536 glibcxx_cv_func_sqrtl_use=yes
80537 else
80538 echo "$as_me: failed program was:" >&5
80539 sed 's/^/| /' conftest.$ac_ext >&5
80541 glibcxx_cv_func_sqrtl_use=no
80543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80544 ac_ext=c
80545 ac_cpp='$CPP $CPPFLAGS'
80546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80555 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80557 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80559 for ac_func in sqrtl
80561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80562 echo "$as_me:$LINENO: checking for $ac_func" >&5
80563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80564 if eval "test \"\${$as_ac_var+set}\" = set"; then
80565 echo $ECHO_N "(cached) $ECHO_C" >&6
80566 else
80567 if test x$gcc_no_link = xyes; then
80568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80570 { (exit 1); exit 1; }; }
80572 cat >conftest.$ac_ext <<_ACEOF
80573 /* confdefs.h. */
80574 _ACEOF
80575 cat confdefs.h >>conftest.$ac_ext
80576 cat >>conftest.$ac_ext <<_ACEOF
80577 /* end confdefs.h. */
80578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80580 #define $ac_func innocuous_$ac_func
80582 /* System header to define __stub macros and hopefully few prototypes,
80583 which can conflict with char $ac_func (); below.
80584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80585 <limits.h> exists even on freestanding compilers. */
80587 #ifdef __STDC__
80588 # include <limits.h>
80589 #else
80590 # include <assert.h>
80591 #endif
80593 #undef $ac_func
80595 /* Override any gcc2 internal prototype to avoid an error. */
80596 #ifdef __cplusplus
80597 extern "C"
80599 #endif
80600 /* We use char because int might match the return type of a gcc2
80601 builtin and then its argument prototype would still apply. */
80602 char $ac_func ();
80603 /* The GNU C library defines this for functions which it implements
80604 to always fail with ENOSYS. Some functions are actually named
80605 something starting with __ and the normal name is an alias. */
80606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80607 choke me
80608 #else
80609 char (*f) () = $ac_func;
80610 #endif
80611 #ifdef __cplusplus
80613 #endif
80616 main ()
80618 return f != $ac_func;
80620 return 0;
80622 _ACEOF
80623 rm -f conftest.$ac_objext conftest$ac_exeext
80624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80625 (eval $ac_link) 2>conftest.er1
80626 ac_status=$?
80627 grep -v '^ *+' conftest.er1 >conftest.err
80628 rm -f conftest.er1
80629 cat conftest.err >&5
80630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80631 (exit $ac_status); } &&
80632 { ac_try='test -z "$ac_c_werror_flag"
80633 || test ! -s conftest.err'
80634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80635 (eval $ac_try) 2>&5
80636 ac_status=$?
80637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80638 (exit $ac_status); }; } &&
80639 { ac_try='test -s conftest$ac_exeext'
80640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80641 (eval $ac_try) 2>&5
80642 ac_status=$?
80643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80644 (exit $ac_status); }; }; then
80645 eval "$as_ac_var=yes"
80646 else
80647 echo "$as_me: failed program was:" >&5
80648 sed 's/^/| /' conftest.$ac_ext >&5
80650 eval "$as_ac_var=no"
80652 rm -f conftest.err conftest.$ac_objext \
80653 conftest$ac_exeext conftest.$ac_ext
80655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80657 if test `eval echo '${'$as_ac_var'}'` = yes; then
80658 cat >>confdefs.h <<_ACEOF
80659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80660 _ACEOF
80663 done
80665 else
80667 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80668 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80669 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80670 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80671 echo $ECHO_N "(cached) $ECHO_C" >&6
80672 else
80676 ac_ext=cc
80677 ac_cpp='$CXXCPP $CPPFLAGS'
80678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80682 cat >conftest.$ac_ext <<_ACEOF
80683 /* confdefs.h. */
80684 _ACEOF
80685 cat confdefs.h >>conftest.$ac_ext
80686 cat >>conftest.$ac_ext <<_ACEOF
80687 /* end confdefs.h. */
80688 #include <math.h>
80689 #ifdef HAVE_IEEEFP_H
80690 #include <ieeefp.h>
80691 #endif
80694 main ()
80696 _sqrtl(0);
80698 return 0;
80700 _ACEOF
80701 rm -f conftest.$ac_objext
80702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80703 (eval $ac_compile) 2>conftest.er1
80704 ac_status=$?
80705 grep -v '^ *+' conftest.er1 >conftest.err
80706 rm -f conftest.er1
80707 cat conftest.err >&5
80708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80709 (exit $ac_status); } &&
80710 { ac_try='test -z "$ac_cxx_werror_flag"
80711 || test ! -s conftest.err'
80712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80713 (eval $ac_try) 2>&5
80714 ac_status=$?
80715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80716 (exit $ac_status); }; } &&
80717 { ac_try='test -s conftest.$ac_objext'
80718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80719 (eval $ac_try) 2>&5
80720 ac_status=$?
80721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80722 (exit $ac_status); }; }; then
80723 glibcxx_cv_func__sqrtl_use=yes
80724 else
80725 echo "$as_me: failed program was:" >&5
80726 sed 's/^/| /' conftest.$ac_ext >&5
80728 glibcxx_cv_func__sqrtl_use=no
80730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80731 ac_ext=c
80732 ac_cpp='$CPP $CPPFLAGS'
80733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80742 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80744 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80746 for ac_func in _sqrtl
80748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80749 echo "$as_me:$LINENO: checking for $ac_func" >&5
80750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80751 if eval "test \"\${$as_ac_var+set}\" = set"; then
80752 echo $ECHO_N "(cached) $ECHO_C" >&6
80753 else
80754 if test x$gcc_no_link = xyes; then
80755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80757 { (exit 1); exit 1; }; }
80759 cat >conftest.$ac_ext <<_ACEOF
80760 /* confdefs.h. */
80761 _ACEOF
80762 cat confdefs.h >>conftest.$ac_ext
80763 cat >>conftest.$ac_ext <<_ACEOF
80764 /* end confdefs.h. */
80765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80767 #define $ac_func innocuous_$ac_func
80769 /* System header to define __stub macros and hopefully few prototypes,
80770 which can conflict with char $ac_func (); below.
80771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80772 <limits.h> exists even on freestanding compilers. */
80774 #ifdef __STDC__
80775 # include <limits.h>
80776 #else
80777 # include <assert.h>
80778 #endif
80780 #undef $ac_func
80782 /* Override any gcc2 internal prototype to avoid an error. */
80783 #ifdef __cplusplus
80784 extern "C"
80786 #endif
80787 /* We use char because int might match the return type of a gcc2
80788 builtin and then its argument prototype would still apply. */
80789 char $ac_func ();
80790 /* The GNU C library defines this for functions which it implements
80791 to always fail with ENOSYS. Some functions are actually named
80792 something starting with __ and the normal name is an alias. */
80793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80794 choke me
80795 #else
80796 char (*f) () = $ac_func;
80797 #endif
80798 #ifdef __cplusplus
80800 #endif
80803 main ()
80805 return f != $ac_func;
80807 return 0;
80809 _ACEOF
80810 rm -f conftest.$ac_objext conftest$ac_exeext
80811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80812 (eval $ac_link) 2>conftest.er1
80813 ac_status=$?
80814 grep -v '^ *+' conftest.er1 >conftest.err
80815 rm -f conftest.er1
80816 cat conftest.err >&5
80817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80818 (exit $ac_status); } &&
80819 { ac_try='test -z "$ac_c_werror_flag"
80820 || test ! -s conftest.err'
80821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80822 (eval $ac_try) 2>&5
80823 ac_status=$?
80824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80825 (exit $ac_status); }; } &&
80826 { ac_try='test -s conftest$ac_exeext'
80827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80828 (eval $ac_try) 2>&5
80829 ac_status=$?
80830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80831 (exit $ac_status); }; }; then
80832 eval "$as_ac_var=yes"
80833 else
80834 echo "$as_me: failed program was:" >&5
80835 sed 's/^/| /' conftest.$ac_ext >&5
80837 eval "$as_ac_var=no"
80839 rm -f conftest.err conftest.$ac_objext \
80840 conftest$ac_exeext conftest.$ac_ext
80842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80844 if test `eval echo '${'$as_ac_var'}'` = yes; then
80845 cat >>confdefs.h <<_ACEOF
80846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80847 _ACEOF
80850 done
80860 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80861 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80862 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80863 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80864 echo $ECHO_N "(cached) $ECHO_C" >&6
80865 else
80869 ac_ext=cc
80870 ac_cpp='$CXXCPP $CPPFLAGS'
80871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80875 cat >conftest.$ac_ext <<_ACEOF
80876 /* confdefs.h. */
80877 _ACEOF
80878 cat confdefs.h >>conftest.$ac_ext
80879 cat >>conftest.$ac_ext <<_ACEOF
80880 /* end confdefs.h. */
80881 #include <math.h>
80883 main ()
80885 sincosl(0, 0, 0);
80887 return 0;
80889 _ACEOF
80890 rm -f conftest.$ac_objext
80891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80892 (eval $ac_compile) 2>conftest.er1
80893 ac_status=$?
80894 grep -v '^ *+' conftest.er1 >conftest.err
80895 rm -f conftest.er1
80896 cat conftest.err >&5
80897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80898 (exit $ac_status); } &&
80899 { ac_try='test -z "$ac_cxx_werror_flag"
80900 || test ! -s conftest.err'
80901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80902 (eval $ac_try) 2>&5
80903 ac_status=$?
80904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80905 (exit $ac_status); }; } &&
80906 { ac_try='test -s conftest.$ac_objext'
80907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80908 (eval $ac_try) 2>&5
80909 ac_status=$?
80910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80911 (exit $ac_status); }; }; then
80912 glibcxx_cv_func_sincosl_use=yes
80913 else
80914 echo "$as_me: failed program was:" >&5
80915 sed 's/^/| /' conftest.$ac_ext >&5
80917 glibcxx_cv_func_sincosl_use=no
80919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80920 ac_ext=c
80921 ac_cpp='$CPP $CPPFLAGS'
80922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80931 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80933 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80935 for ac_func in sincosl
80937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80938 echo "$as_me:$LINENO: checking for $ac_func" >&5
80939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80940 if eval "test \"\${$as_ac_var+set}\" = set"; then
80941 echo $ECHO_N "(cached) $ECHO_C" >&6
80942 else
80943 if test x$gcc_no_link = xyes; then
80944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80946 { (exit 1); exit 1; }; }
80948 cat >conftest.$ac_ext <<_ACEOF
80949 /* confdefs.h. */
80950 _ACEOF
80951 cat confdefs.h >>conftest.$ac_ext
80952 cat >>conftest.$ac_ext <<_ACEOF
80953 /* end confdefs.h. */
80954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80956 #define $ac_func innocuous_$ac_func
80958 /* System header to define __stub macros and hopefully few prototypes,
80959 which can conflict with char $ac_func (); below.
80960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80961 <limits.h> exists even on freestanding compilers. */
80963 #ifdef __STDC__
80964 # include <limits.h>
80965 #else
80966 # include <assert.h>
80967 #endif
80969 #undef $ac_func
80971 /* Override any gcc2 internal prototype to avoid an error. */
80972 #ifdef __cplusplus
80973 extern "C"
80975 #endif
80976 /* We use char because int might match the return type of a gcc2
80977 builtin and then its argument prototype would still apply. */
80978 char $ac_func ();
80979 /* The GNU C library defines this for functions which it implements
80980 to always fail with ENOSYS. Some functions are actually named
80981 something starting with __ and the normal name is an alias. */
80982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80983 choke me
80984 #else
80985 char (*f) () = $ac_func;
80986 #endif
80987 #ifdef __cplusplus
80989 #endif
80992 main ()
80994 return f != $ac_func;
80996 return 0;
80998 _ACEOF
80999 rm -f conftest.$ac_objext conftest$ac_exeext
81000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81001 (eval $ac_link) 2>conftest.er1
81002 ac_status=$?
81003 grep -v '^ *+' conftest.er1 >conftest.err
81004 rm -f conftest.er1
81005 cat conftest.err >&5
81006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81007 (exit $ac_status); } &&
81008 { ac_try='test -z "$ac_c_werror_flag"
81009 || test ! -s conftest.err'
81010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81011 (eval $ac_try) 2>&5
81012 ac_status=$?
81013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81014 (exit $ac_status); }; } &&
81015 { ac_try='test -s conftest$ac_exeext'
81016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81017 (eval $ac_try) 2>&5
81018 ac_status=$?
81019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81020 (exit $ac_status); }; }; then
81021 eval "$as_ac_var=yes"
81022 else
81023 echo "$as_me: failed program was:" >&5
81024 sed 's/^/| /' conftest.$ac_ext >&5
81026 eval "$as_ac_var=no"
81028 rm -f conftest.err conftest.$ac_objext \
81029 conftest$ac_exeext conftest.$ac_ext
81031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81033 if test `eval echo '${'$as_ac_var'}'` = yes; then
81034 cat >>confdefs.h <<_ACEOF
81035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81036 _ACEOF
81039 done
81041 else
81043 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81044 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81045 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81046 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81047 echo $ECHO_N "(cached) $ECHO_C" >&6
81048 else
81052 ac_ext=cc
81053 ac_cpp='$CXXCPP $CPPFLAGS'
81054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81058 cat >conftest.$ac_ext <<_ACEOF
81059 /* confdefs.h. */
81060 _ACEOF
81061 cat confdefs.h >>conftest.$ac_ext
81062 cat >>conftest.$ac_ext <<_ACEOF
81063 /* end confdefs.h. */
81064 #include <math.h>
81066 main ()
81068 _sincosl(0, 0, 0);
81070 return 0;
81072 _ACEOF
81073 rm -f conftest.$ac_objext
81074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81075 (eval $ac_compile) 2>conftest.er1
81076 ac_status=$?
81077 grep -v '^ *+' conftest.er1 >conftest.err
81078 rm -f conftest.er1
81079 cat conftest.err >&5
81080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081 (exit $ac_status); } &&
81082 { ac_try='test -z "$ac_cxx_werror_flag"
81083 || test ! -s conftest.err'
81084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81085 (eval $ac_try) 2>&5
81086 ac_status=$?
81087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81088 (exit $ac_status); }; } &&
81089 { ac_try='test -s conftest.$ac_objext'
81090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81091 (eval $ac_try) 2>&5
81092 ac_status=$?
81093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81094 (exit $ac_status); }; }; then
81095 glibcxx_cv_func__sincosl_use=yes
81096 else
81097 echo "$as_me: failed program was:" >&5
81098 sed 's/^/| /' conftest.$ac_ext >&5
81100 glibcxx_cv_func__sincosl_use=no
81102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81103 ac_ext=c
81104 ac_cpp='$CPP $CPPFLAGS'
81105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81114 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81116 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81118 for ac_func in _sincosl
81120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81121 echo "$as_me:$LINENO: checking for $ac_func" >&5
81122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81123 if eval "test \"\${$as_ac_var+set}\" = set"; then
81124 echo $ECHO_N "(cached) $ECHO_C" >&6
81125 else
81126 if test x$gcc_no_link = xyes; then
81127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81129 { (exit 1); exit 1; }; }
81131 cat >conftest.$ac_ext <<_ACEOF
81132 /* confdefs.h. */
81133 _ACEOF
81134 cat confdefs.h >>conftest.$ac_ext
81135 cat >>conftest.$ac_ext <<_ACEOF
81136 /* end confdefs.h. */
81137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81139 #define $ac_func innocuous_$ac_func
81141 /* System header to define __stub macros and hopefully few prototypes,
81142 which can conflict with char $ac_func (); below.
81143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81144 <limits.h> exists even on freestanding compilers. */
81146 #ifdef __STDC__
81147 # include <limits.h>
81148 #else
81149 # include <assert.h>
81150 #endif
81152 #undef $ac_func
81154 /* Override any gcc2 internal prototype to avoid an error. */
81155 #ifdef __cplusplus
81156 extern "C"
81158 #endif
81159 /* We use char because int might match the return type of a gcc2
81160 builtin and then its argument prototype would still apply. */
81161 char $ac_func ();
81162 /* The GNU C library defines this for functions which it implements
81163 to always fail with ENOSYS. Some functions are actually named
81164 something starting with __ and the normal name is an alias. */
81165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81166 choke me
81167 #else
81168 char (*f) () = $ac_func;
81169 #endif
81170 #ifdef __cplusplus
81172 #endif
81175 main ()
81177 return f != $ac_func;
81179 return 0;
81181 _ACEOF
81182 rm -f conftest.$ac_objext conftest$ac_exeext
81183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81184 (eval $ac_link) 2>conftest.er1
81185 ac_status=$?
81186 grep -v '^ *+' conftest.er1 >conftest.err
81187 rm -f conftest.er1
81188 cat conftest.err >&5
81189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190 (exit $ac_status); } &&
81191 { ac_try='test -z "$ac_c_werror_flag"
81192 || test ! -s conftest.err'
81193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81194 (eval $ac_try) 2>&5
81195 ac_status=$?
81196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81197 (exit $ac_status); }; } &&
81198 { ac_try='test -s conftest$ac_exeext'
81199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81200 (eval $ac_try) 2>&5
81201 ac_status=$?
81202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81203 (exit $ac_status); }; }; then
81204 eval "$as_ac_var=yes"
81205 else
81206 echo "$as_me: failed program was:" >&5
81207 sed 's/^/| /' conftest.$ac_ext >&5
81209 eval "$as_ac_var=no"
81211 rm -f conftest.err conftest.$ac_objext \
81212 conftest$ac_exeext conftest.$ac_ext
81214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81216 if test `eval echo '${'$as_ac_var'}'` = yes; then
81217 cat >>confdefs.h <<_ACEOF
81218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81219 _ACEOF
81222 done
81232 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81233 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81234 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81235 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81236 echo $ECHO_N "(cached) $ECHO_C" >&6
81237 else
81241 ac_ext=cc
81242 ac_cpp='$CXXCPP $CPPFLAGS'
81243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81247 cat >conftest.$ac_ext <<_ACEOF
81248 /* confdefs.h. */
81249 _ACEOF
81250 cat confdefs.h >>conftest.$ac_ext
81251 cat >>conftest.$ac_ext <<_ACEOF
81252 /* end confdefs.h. */
81253 #include <math.h>
81254 #ifdef HAVE_IEEEFP_H
81255 #include <ieeefp.h>
81256 #endif
81259 main ()
81261 finitel(0);
81263 return 0;
81265 _ACEOF
81266 rm -f conftest.$ac_objext
81267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81268 (eval $ac_compile) 2>conftest.er1
81269 ac_status=$?
81270 grep -v '^ *+' conftest.er1 >conftest.err
81271 rm -f conftest.er1
81272 cat conftest.err >&5
81273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274 (exit $ac_status); } &&
81275 { ac_try='test -z "$ac_cxx_werror_flag"
81276 || test ! -s conftest.err'
81277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81278 (eval $ac_try) 2>&5
81279 ac_status=$?
81280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81281 (exit $ac_status); }; } &&
81282 { ac_try='test -s conftest.$ac_objext'
81283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81284 (eval $ac_try) 2>&5
81285 ac_status=$?
81286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81287 (exit $ac_status); }; }; then
81288 glibcxx_cv_func_finitel_use=yes
81289 else
81290 echo "$as_me: failed program was:" >&5
81291 sed 's/^/| /' conftest.$ac_ext >&5
81293 glibcxx_cv_func_finitel_use=no
81295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81296 ac_ext=c
81297 ac_cpp='$CPP $CPPFLAGS'
81298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81307 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81309 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81311 for ac_func in finitel
81313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81314 echo "$as_me:$LINENO: checking for $ac_func" >&5
81315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81316 if eval "test \"\${$as_ac_var+set}\" = set"; then
81317 echo $ECHO_N "(cached) $ECHO_C" >&6
81318 else
81319 if test x$gcc_no_link = xyes; then
81320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81322 { (exit 1); exit 1; }; }
81324 cat >conftest.$ac_ext <<_ACEOF
81325 /* confdefs.h. */
81326 _ACEOF
81327 cat confdefs.h >>conftest.$ac_ext
81328 cat >>conftest.$ac_ext <<_ACEOF
81329 /* end confdefs.h. */
81330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81332 #define $ac_func innocuous_$ac_func
81334 /* System header to define __stub macros and hopefully few prototypes,
81335 which can conflict with char $ac_func (); below.
81336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81337 <limits.h> exists even on freestanding compilers. */
81339 #ifdef __STDC__
81340 # include <limits.h>
81341 #else
81342 # include <assert.h>
81343 #endif
81345 #undef $ac_func
81347 /* Override any gcc2 internal prototype to avoid an error. */
81348 #ifdef __cplusplus
81349 extern "C"
81351 #endif
81352 /* We use char because int might match the return type of a gcc2
81353 builtin and then its argument prototype would still apply. */
81354 char $ac_func ();
81355 /* The GNU C library defines this for functions which it implements
81356 to always fail with ENOSYS. Some functions are actually named
81357 something starting with __ and the normal name is an alias. */
81358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81359 choke me
81360 #else
81361 char (*f) () = $ac_func;
81362 #endif
81363 #ifdef __cplusplus
81365 #endif
81368 main ()
81370 return f != $ac_func;
81372 return 0;
81374 _ACEOF
81375 rm -f conftest.$ac_objext conftest$ac_exeext
81376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81377 (eval $ac_link) 2>conftest.er1
81378 ac_status=$?
81379 grep -v '^ *+' conftest.er1 >conftest.err
81380 rm -f conftest.er1
81381 cat conftest.err >&5
81382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81383 (exit $ac_status); } &&
81384 { ac_try='test -z "$ac_c_werror_flag"
81385 || test ! -s conftest.err'
81386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81387 (eval $ac_try) 2>&5
81388 ac_status=$?
81389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81390 (exit $ac_status); }; } &&
81391 { ac_try='test -s conftest$ac_exeext'
81392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81393 (eval $ac_try) 2>&5
81394 ac_status=$?
81395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81396 (exit $ac_status); }; }; then
81397 eval "$as_ac_var=yes"
81398 else
81399 echo "$as_me: failed program was:" >&5
81400 sed 's/^/| /' conftest.$ac_ext >&5
81402 eval "$as_ac_var=no"
81404 rm -f conftest.err conftest.$ac_objext \
81405 conftest$ac_exeext conftest.$ac_ext
81407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81409 if test `eval echo '${'$as_ac_var'}'` = yes; then
81410 cat >>confdefs.h <<_ACEOF
81411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81412 _ACEOF
81415 done
81417 else
81419 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81420 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81421 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81422 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81423 echo $ECHO_N "(cached) $ECHO_C" >&6
81424 else
81428 ac_ext=cc
81429 ac_cpp='$CXXCPP $CPPFLAGS'
81430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81434 cat >conftest.$ac_ext <<_ACEOF
81435 /* confdefs.h. */
81436 _ACEOF
81437 cat confdefs.h >>conftest.$ac_ext
81438 cat >>conftest.$ac_ext <<_ACEOF
81439 /* end confdefs.h. */
81440 #include <math.h>
81441 #ifdef HAVE_IEEEFP_H
81442 #include <ieeefp.h>
81443 #endif
81446 main ()
81448 _finitel(0);
81450 return 0;
81452 _ACEOF
81453 rm -f conftest.$ac_objext
81454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81455 (eval $ac_compile) 2>conftest.er1
81456 ac_status=$?
81457 grep -v '^ *+' conftest.er1 >conftest.err
81458 rm -f conftest.er1
81459 cat conftest.err >&5
81460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81461 (exit $ac_status); } &&
81462 { ac_try='test -z "$ac_cxx_werror_flag"
81463 || test ! -s conftest.err'
81464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81465 (eval $ac_try) 2>&5
81466 ac_status=$?
81467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81468 (exit $ac_status); }; } &&
81469 { ac_try='test -s conftest.$ac_objext'
81470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81471 (eval $ac_try) 2>&5
81472 ac_status=$?
81473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81474 (exit $ac_status); }; }; then
81475 glibcxx_cv_func__finitel_use=yes
81476 else
81477 echo "$as_me: failed program was:" >&5
81478 sed 's/^/| /' conftest.$ac_ext >&5
81480 glibcxx_cv_func__finitel_use=no
81482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81483 ac_ext=c
81484 ac_cpp='$CPP $CPPFLAGS'
81485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81493 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81494 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81496 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81498 for ac_func in _finitel
81500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81501 echo "$as_me:$LINENO: checking for $ac_func" >&5
81502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81503 if eval "test \"\${$as_ac_var+set}\" = set"; then
81504 echo $ECHO_N "(cached) $ECHO_C" >&6
81505 else
81506 if test x$gcc_no_link = xyes; then
81507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81509 { (exit 1); exit 1; }; }
81511 cat >conftest.$ac_ext <<_ACEOF
81512 /* confdefs.h. */
81513 _ACEOF
81514 cat confdefs.h >>conftest.$ac_ext
81515 cat >>conftest.$ac_ext <<_ACEOF
81516 /* end confdefs.h. */
81517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81519 #define $ac_func innocuous_$ac_func
81521 /* System header to define __stub macros and hopefully few prototypes,
81522 which can conflict with char $ac_func (); below.
81523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81524 <limits.h> exists even on freestanding compilers. */
81526 #ifdef __STDC__
81527 # include <limits.h>
81528 #else
81529 # include <assert.h>
81530 #endif
81532 #undef $ac_func
81534 /* Override any gcc2 internal prototype to avoid an error. */
81535 #ifdef __cplusplus
81536 extern "C"
81538 #endif
81539 /* We use char because int might match the return type of a gcc2
81540 builtin and then its argument prototype would still apply. */
81541 char $ac_func ();
81542 /* The GNU C library defines this for functions which it implements
81543 to always fail with ENOSYS. Some functions are actually named
81544 something starting with __ and the normal name is an alias. */
81545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81546 choke me
81547 #else
81548 char (*f) () = $ac_func;
81549 #endif
81550 #ifdef __cplusplus
81552 #endif
81555 main ()
81557 return f != $ac_func;
81559 return 0;
81561 _ACEOF
81562 rm -f conftest.$ac_objext conftest$ac_exeext
81563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81564 (eval $ac_link) 2>conftest.er1
81565 ac_status=$?
81566 grep -v '^ *+' conftest.er1 >conftest.err
81567 rm -f conftest.er1
81568 cat conftest.err >&5
81569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81570 (exit $ac_status); } &&
81571 { ac_try='test -z "$ac_c_werror_flag"
81572 || test ! -s conftest.err'
81573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81574 (eval $ac_try) 2>&5
81575 ac_status=$?
81576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81577 (exit $ac_status); }; } &&
81578 { ac_try='test -s conftest$ac_exeext'
81579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81580 (eval $ac_try) 2>&5
81581 ac_status=$?
81582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81583 (exit $ac_status); }; }; then
81584 eval "$as_ac_var=yes"
81585 else
81586 echo "$as_me: failed program was:" >&5
81587 sed 's/^/| /' conftest.$ac_ext >&5
81589 eval "$as_ac_var=no"
81591 rm -f conftest.err conftest.$ac_objext \
81592 conftest$ac_exeext conftest.$ac_ext
81594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81596 if test `eval echo '${'$as_ac_var'}'` = yes; then
81597 cat >>confdefs.h <<_ACEOF
81598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81599 _ACEOF
81602 done
81611 LIBS="$ac_save_LIBS"
81612 CXXFLAGS="$ac_save_CXXFLAGS"
81616 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81617 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81618 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81619 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81620 echo $ECHO_N "(cached) $ECHO_C" >&6
81621 else
81625 ac_ext=cc
81626 ac_cpp='$CXXCPP $CPPFLAGS'
81627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81631 cat >conftest.$ac_ext <<_ACEOF
81632 /* confdefs.h. */
81633 _ACEOF
81634 cat confdefs.h >>conftest.$ac_ext
81635 cat >>conftest.$ac_ext <<_ACEOF
81636 /* end confdefs.h. */
81637 #include <math.h>
81639 main ()
81641 __builtin_abs(0);
81643 return 0;
81645 _ACEOF
81646 rm -f conftest.$ac_objext
81647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81648 (eval $ac_compile) 2>conftest.er1
81649 ac_status=$?
81650 grep -v '^ *+' conftest.er1 >conftest.err
81651 rm -f conftest.er1
81652 cat conftest.err >&5
81653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81654 (exit $ac_status); } &&
81655 { ac_try='test -z "$ac_cxx_werror_flag"
81656 || test ! -s conftest.err'
81657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81658 (eval $ac_try) 2>&5
81659 ac_status=$?
81660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81661 (exit $ac_status); }; } &&
81662 { ac_try='test -s conftest.$ac_objext'
81663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81664 (eval $ac_try) 2>&5
81665 ac_status=$?
81666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81667 (exit $ac_status); }; }; then
81668 glibcxx_cv_func___builtin_abs_use=yes
81669 else
81670 echo "$as_me: failed program was:" >&5
81671 sed 's/^/| /' conftest.$ac_ext >&5
81673 glibcxx_cv_func___builtin_abs_use=no
81675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81676 ac_ext=c
81677 ac_cpp='$CPP $CPPFLAGS'
81678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81687 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81688 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81689 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81690 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81691 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81692 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81693 echo $ECHO_N "(cached) $ECHO_C" >&6
81694 else
81696 if test x$gcc_no_link = xyes; then
81697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81699 { (exit 1); exit 1; }; }
81701 cat >conftest.$ac_ext <<_ACEOF
81702 /* confdefs.h. */
81703 _ACEOF
81704 cat confdefs.h >>conftest.$ac_ext
81705 cat >>conftest.$ac_ext <<_ACEOF
81706 /* end confdefs.h. */
81707 #include <math.h>
81709 main ()
81711 __builtin_abs(0);
81713 return 0;
81715 _ACEOF
81716 rm -f conftest.$ac_objext conftest$ac_exeext
81717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81718 (eval $ac_link) 2>conftest.er1
81719 ac_status=$?
81720 grep -v '^ *+' conftest.er1 >conftest.err
81721 rm -f conftest.er1
81722 cat conftest.err >&5
81723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81724 (exit $ac_status); } &&
81725 { ac_try='test -z "$ac_c_werror_flag"
81726 || test ! -s conftest.err'
81727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81728 (eval $ac_try) 2>&5
81729 ac_status=$?
81730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81731 (exit $ac_status); }; } &&
81732 { ac_try='test -s conftest$ac_exeext'
81733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81734 (eval $ac_try) 2>&5
81735 ac_status=$?
81736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81737 (exit $ac_status); }; }; then
81738 glibcxx_cv_func___builtin_abs_link=yes
81739 else
81740 echo "$as_me: failed program was:" >&5
81741 sed 's/^/| /' conftest.$ac_ext >&5
81743 glibcxx_cv_func___builtin_abs_link=no
81745 rm -f conftest.err conftest.$ac_objext \
81746 conftest$ac_exeext conftest.$ac_ext
81751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81752 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81754 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81756 cat >>confdefs.h <<\_ACEOF
81757 #define HAVE___BUILTIN_ABS 1
81758 _ACEOF
81765 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81766 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81767 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81768 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81769 echo $ECHO_N "(cached) $ECHO_C" >&6
81770 else
81774 ac_ext=cc
81775 ac_cpp='$CXXCPP $CPPFLAGS'
81776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81780 cat >conftest.$ac_ext <<_ACEOF
81781 /* confdefs.h. */
81782 _ACEOF
81783 cat confdefs.h >>conftest.$ac_ext
81784 cat >>conftest.$ac_ext <<_ACEOF
81785 /* end confdefs.h. */
81786 #include <math.h>
81788 main ()
81790 __builtin_fabsf(0);
81792 return 0;
81794 _ACEOF
81795 rm -f conftest.$ac_objext
81796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81797 (eval $ac_compile) 2>conftest.er1
81798 ac_status=$?
81799 grep -v '^ *+' conftest.er1 >conftest.err
81800 rm -f conftest.er1
81801 cat conftest.err >&5
81802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81803 (exit $ac_status); } &&
81804 { ac_try='test -z "$ac_cxx_werror_flag"
81805 || test ! -s conftest.err'
81806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81807 (eval $ac_try) 2>&5
81808 ac_status=$?
81809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81810 (exit $ac_status); }; } &&
81811 { ac_try='test -s conftest.$ac_objext'
81812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81813 (eval $ac_try) 2>&5
81814 ac_status=$?
81815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81816 (exit $ac_status); }; }; then
81817 glibcxx_cv_func___builtin_fabsf_use=yes
81818 else
81819 echo "$as_me: failed program was:" >&5
81820 sed 's/^/| /' conftest.$ac_ext >&5
81822 glibcxx_cv_func___builtin_fabsf_use=no
81824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81825 ac_ext=c
81826 ac_cpp='$CPP $CPPFLAGS'
81827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81836 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81837 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81838 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81839 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81840 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81841 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81842 echo $ECHO_N "(cached) $ECHO_C" >&6
81843 else
81845 if test x$gcc_no_link = xyes; then
81846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81848 { (exit 1); exit 1; }; }
81850 cat >conftest.$ac_ext <<_ACEOF
81851 /* confdefs.h. */
81852 _ACEOF
81853 cat confdefs.h >>conftest.$ac_ext
81854 cat >>conftest.$ac_ext <<_ACEOF
81855 /* end confdefs.h. */
81856 #include <math.h>
81858 main ()
81860 __builtin_fabsf(0);
81862 return 0;
81864 _ACEOF
81865 rm -f conftest.$ac_objext conftest$ac_exeext
81866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81867 (eval $ac_link) 2>conftest.er1
81868 ac_status=$?
81869 grep -v '^ *+' conftest.er1 >conftest.err
81870 rm -f conftest.er1
81871 cat conftest.err >&5
81872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81873 (exit $ac_status); } &&
81874 { ac_try='test -z "$ac_c_werror_flag"
81875 || test ! -s conftest.err'
81876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81877 (eval $ac_try) 2>&5
81878 ac_status=$?
81879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81880 (exit $ac_status); }; } &&
81881 { ac_try='test -s conftest$ac_exeext'
81882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81883 (eval $ac_try) 2>&5
81884 ac_status=$?
81885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81886 (exit $ac_status); }; }; then
81887 glibcxx_cv_func___builtin_fabsf_link=yes
81888 else
81889 echo "$as_me: failed program was:" >&5
81890 sed 's/^/| /' conftest.$ac_ext >&5
81892 glibcxx_cv_func___builtin_fabsf_link=no
81894 rm -f conftest.err conftest.$ac_objext \
81895 conftest$ac_exeext conftest.$ac_ext
81900 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81901 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81903 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81905 cat >>confdefs.h <<\_ACEOF
81906 #define HAVE___BUILTIN_FABSF 1
81907 _ACEOF
81914 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81915 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81916 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81917 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81918 echo $ECHO_N "(cached) $ECHO_C" >&6
81919 else
81923 ac_ext=cc
81924 ac_cpp='$CXXCPP $CPPFLAGS'
81925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81929 cat >conftest.$ac_ext <<_ACEOF
81930 /* confdefs.h. */
81931 _ACEOF
81932 cat confdefs.h >>conftest.$ac_ext
81933 cat >>conftest.$ac_ext <<_ACEOF
81934 /* end confdefs.h. */
81935 #include <math.h>
81937 main ()
81939 __builtin_fabs(0);
81941 return 0;
81943 _ACEOF
81944 rm -f conftest.$ac_objext
81945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81946 (eval $ac_compile) 2>conftest.er1
81947 ac_status=$?
81948 grep -v '^ *+' conftest.er1 >conftest.err
81949 rm -f conftest.er1
81950 cat conftest.err >&5
81951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81952 (exit $ac_status); } &&
81953 { ac_try='test -z "$ac_cxx_werror_flag"
81954 || test ! -s conftest.err'
81955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81956 (eval $ac_try) 2>&5
81957 ac_status=$?
81958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81959 (exit $ac_status); }; } &&
81960 { ac_try='test -s conftest.$ac_objext'
81961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81962 (eval $ac_try) 2>&5
81963 ac_status=$?
81964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81965 (exit $ac_status); }; }; then
81966 glibcxx_cv_func___builtin_fabs_use=yes
81967 else
81968 echo "$as_me: failed program was:" >&5
81969 sed 's/^/| /' conftest.$ac_ext >&5
81971 glibcxx_cv_func___builtin_fabs_use=no
81973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81974 ac_ext=c
81975 ac_cpp='$CPP $CPPFLAGS'
81976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81985 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81986 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81987 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81988 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81989 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81990 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81991 echo $ECHO_N "(cached) $ECHO_C" >&6
81992 else
81994 if test x$gcc_no_link = xyes; then
81995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81997 { (exit 1); exit 1; }; }
81999 cat >conftest.$ac_ext <<_ACEOF
82000 /* confdefs.h. */
82001 _ACEOF
82002 cat confdefs.h >>conftest.$ac_ext
82003 cat >>conftest.$ac_ext <<_ACEOF
82004 /* end confdefs.h. */
82005 #include <math.h>
82007 main ()
82009 __builtin_fabs(0);
82011 return 0;
82013 _ACEOF
82014 rm -f conftest.$ac_objext conftest$ac_exeext
82015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82016 (eval $ac_link) 2>conftest.er1
82017 ac_status=$?
82018 grep -v '^ *+' conftest.er1 >conftest.err
82019 rm -f conftest.er1
82020 cat conftest.err >&5
82021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82022 (exit $ac_status); } &&
82023 { ac_try='test -z "$ac_c_werror_flag"
82024 || test ! -s conftest.err'
82025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82026 (eval $ac_try) 2>&5
82027 ac_status=$?
82028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82029 (exit $ac_status); }; } &&
82030 { ac_try='test -s conftest$ac_exeext'
82031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82032 (eval $ac_try) 2>&5
82033 ac_status=$?
82034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82035 (exit $ac_status); }; }; then
82036 glibcxx_cv_func___builtin_fabs_link=yes
82037 else
82038 echo "$as_me: failed program was:" >&5
82039 sed 's/^/| /' conftest.$ac_ext >&5
82041 glibcxx_cv_func___builtin_fabs_link=no
82043 rm -f conftest.err conftest.$ac_objext \
82044 conftest$ac_exeext conftest.$ac_ext
82049 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82050 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82052 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82054 cat >>confdefs.h <<\_ACEOF
82055 #define HAVE___BUILTIN_FABS 1
82056 _ACEOF
82063 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82064 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82065 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82066 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82067 echo $ECHO_N "(cached) $ECHO_C" >&6
82068 else
82072 ac_ext=cc
82073 ac_cpp='$CXXCPP $CPPFLAGS'
82074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82078 cat >conftest.$ac_ext <<_ACEOF
82079 /* confdefs.h. */
82080 _ACEOF
82081 cat confdefs.h >>conftest.$ac_ext
82082 cat >>conftest.$ac_ext <<_ACEOF
82083 /* end confdefs.h. */
82084 #include <math.h>
82086 main ()
82088 __builtin_fabsl(0);
82090 return 0;
82092 _ACEOF
82093 rm -f conftest.$ac_objext
82094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82095 (eval $ac_compile) 2>conftest.er1
82096 ac_status=$?
82097 grep -v '^ *+' conftest.er1 >conftest.err
82098 rm -f conftest.er1
82099 cat conftest.err >&5
82100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82101 (exit $ac_status); } &&
82102 { ac_try='test -z "$ac_cxx_werror_flag"
82103 || test ! -s conftest.err'
82104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82105 (eval $ac_try) 2>&5
82106 ac_status=$?
82107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82108 (exit $ac_status); }; } &&
82109 { ac_try='test -s conftest.$ac_objext'
82110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82111 (eval $ac_try) 2>&5
82112 ac_status=$?
82113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82114 (exit $ac_status); }; }; then
82115 glibcxx_cv_func___builtin_fabsl_use=yes
82116 else
82117 echo "$as_me: failed program was:" >&5
82118 sed 's/^/| /' conftest.$ac_ext >&5
82120 glibcxx_cv_func___builtin_fabsl_use=no
82122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82123 ac_ext=c
82124 ac_cpp='$CPP $CPPFLAGS'
82125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82134 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82135 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82136 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82137 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82138 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82139 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82140 echo $ECHO_N "(cached) $ECHO_C" >&6
82141 else
82143 if test x$gcc_no_link = xyes; then
82144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82146 { (exit 1); exit 1; }; }
82148 cat >conftest.$ac_ext <<_ACEOF
82149 /* confdefs.h. */
82150 _ACEOF
82151 cat confdefs.h >>conftest.$ac_ext
82152 cat >>conftest.$ac_ext <<_ACEOF
82153 /* end confdefs.h. */
82154 #include <math.h>
82156 main ()
82158 __builtin_fabsl(0);
82160 return 0;
82162 _ACEOF
82163 rm -f conftest.$ac_objext conftest$ac_exeext
82164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82165 (eval $ac_link) 2>conftest.er1
82166 ac_status=$?
82167 grep -v '^ *+' conftest.er1 >conftest.err
82168 rm -f conftest.er1
82169 cat conftest.err >&5
82170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82171 (exit $ac_status); } &&
82172 { ac_try='test -z "$ac_c_werror_flag"
82173 || test ! -s conftest.err'
82174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82175 (eval $ac_try) 2>&5
82176 ac_status=$?
82177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82178 (exit $ac_status); }; } &&
82179 { ac_try='test -s conftest$ac_exeext'
82180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82181 (eval $ac_try) 2>&5
82182 ac_status=$?
82183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82184 (exit $ac_status); }; }; then
82185 glibcxx_cv_func___builtin_fabsl_link=yes
82186 else
82187 echo "$as_me: failed program was:" >&5
82188 sed 's/^/| /' conftest.$ac_ext >&5
82190 glibcxx_cv_func___builtin_fabsl_link=no
82192 rm -f conftest.err conftest.$ac_objext \
82193 conftest$ac_exeext conftest.$ac_ext
82198 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82199 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82201 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82203 cat >>confdefs.h <<\_ACEOF
82204 #define HAVE___BUILTIN_FABSL 1
82205 _ACEOF
82212 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82213 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82214 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82215 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82216 echo $ECHO_N "(cached) $ECHO_C" >&6
82217 else
82221 ac_ext=cc
82222 ac_cpp='$CXXCPP $CPPFLAGS'
82223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82227 cat >conftest.$ac_ext <<_ACEOF
82228 /* confdefs.h. */
82229 _ACEOF
82230 cat confdefs.h >>conftest.$ac_ext
82231 cat >>conftest.$ac_ext <<_ACEOF
82232 /* end confdefs.h. */
82233 #include <math.h>
82235 main ()
82237 __builtin_labs(0);
82239 return 0;
82241 _ACEOF
82242 rm -f conftest.$ac_objext
82243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82244 (eval $ac_compile) 2>conftest.er1
82245 ac_status=$?
82246 grep -v '^ *+' conftest.er1 >conftest.err
82247 rm -f conftest.er1
82248 cat conftest.err >&5
82249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82250 (exit $ac_status); } &&
82251 { ac_try='test -z "$ac_cxx_werror_flag"
82252 || test ! -s conftest.err'
82253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82254 (eval $ac_try) 2>&5
82255 ac_status=$?
82256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82257 (exit $ac_status); }; } &&
82258 { ac_try='test -s conftest.$ac_objext'
82259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82260 (eval $ac_try) 2>&5
82261 ac_status=$?
82262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82263 (exit $ac_status); }; }; then
82264 glibcxx_cv_func___builtin_labs_use=yes
82265 else
82266 echo "$as_me: failed program was:" >&5
82267 sed 's/^/| /' conftest.$ac_ext >&5
82269 glibcxx_cv_func___builtin_labs_use=no
82271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82272 ac_ext=c
82273 ac_cpp='$CPP $CPPFLAGS'
82274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82282 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82283 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82284 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82285 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82286 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82287 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82288 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82289 echo $ECHO_N "(cached) $ECHO_C" >&6
82290 else
82292 if test x$gcc_no_link = xyes; then
82293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82295 { (exit 1); exit 1; }; }
82297 cat >conftest.$ac_ext <<_ACEOF
82298 /* confdefs.h. */
82299 _ACEOF
82300 cat confdefs.h >>conftest.$ac_ext
82301 cat >>conftest.$ac_ext <<_ACEOF
82302 /* end confdefs.h. */
82303 #include <math.h>
82305 main ()
82307 __builtin_labs(0);
82309 return 0;
82311 _ACEOF
82312 rm -f conftest.$ac_objext conftest$ac_exeext
82313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82314 (eval $ac_link) 2>conftest.er1
82315 ac_status=$?
82316 grep -v '^ *+' conftest.er1 >conftest.err
82317 rm -f conftest.er1
82318 cat conftest.err >&5
82319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82320 (exit $ac_status); } &&
82321 { ac_try='test -z "$ac_c_werror_flag"
82322 || test ! -s conftest.err'
82323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82324 (eval $ac_try) 2>&5
82325 ac_status=$?
82326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82327 (exit $ac_status); }; } &&
82328 { ac_try='test -s conftest$ac_exeext'
82329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82330 (eval $ac_try) 2>&5
82331 ac_status=$?
82332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82333 (exit $ac_status); }; }; then
82334 glibcxx_cv_func___builtin_labs_link=yes
82335 else
82336 echo "$as_me: failed program was:" >&5
82337 sed 's/^/| /' conftest.$ac_ext >&5
82339 glibcxx_cv_func___builtin_labs_link=no
82341 rm -f conftest.err conftest.$ac_objext \
82342 conftest$ac_exeext conftest.$ac_ext
82347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82348 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82350 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82352 cat >>confdefs.h <<\_ACEOF
82353 #define HAVE___BUILTIN_LABS 1
82354 _ACEOF
82362 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82363 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82364 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82365 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82366 echo $ECHO_N "(cached) $ECHO_C" >&6
82367 else
82371 ac_ext=cc
82372 ac_cpp='$CXXCPP $CPPFLAGS'
82373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82377 cat >conftest.$ac_ext <<_ACEOF
82378 /* confdefs.h. */
82379 _ACEOF
82380 cat confdefs.h >>conftest.$ac_ext
82381 cat >>conftest.$ac_ext <<_ACEOF
82382 /* end confdefs.h. */
82383 #include <math.h>
82385 main ()
82387 __builtin_sqrtf(0);
82389 return 0;
82391 _ACEOF
82392 rm -f conftest.$ac_objext
82393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82394 (eval $ac_compile) 2>conftest.er1
82395 ac_status=$?
82396 grep -v '^ *+' conftest.er1 >conftest.err
82397 rm -f conftest.er1
82398 cat conftest.err >&5
82399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82400 (exit $ac_status); } &&
82401 { ac_try='test -z "$ac_cxx_werror_flag"
82402 || test ! -s conftest.err'
82403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82404 (eval $ac_try) 2>&5
82405 ac_status=$?
82406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407 (exit $ac_status); }; } &&
82408 { ac_try='test -s conftest.$ac_objext'
82409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82410 (eval $ac_try) 2>&5
82411 ac_status=$?
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); }; }; then
82414 glibcxx_cv_func___builtin_sqrtf_use=yes
82415 else
82416 echo "$as_me: failed program was:" >&5
82417 sed 's/^/| /' conftest.$ac_ext >&5
82419 glibcxx_cv_func___builtin_sqrtf_use=no
82421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82422 ac_ext=c
82423 ac_cpp='$CPP $CPPFLAGS'
82424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82432 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82433 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82434 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82435 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82436 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82437 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82438 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82439 echo $ECHO_N "(cached) $ECHO_C" >&6
82440 else
82442 if test x$gcc_no_link = xyes; then
82443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82445 { (exit 1); exit 1; }; }
82447 cat >conftest.$ac_ext <<_ACEOF
82448 /* confdefs.h. */
82449 _ACEOF
82450 cat confdefs.h >>conftest.$ac_ext
82451 cat >>conftest.$ac_ext <<_ACEOF
82452 /* end confdefs.h. */
82453 #include <math.h>
82455 main ()
82457 __builtin_sqrtf(0);
82459 return 0;
82461 _ACEOF
82462 rm -f conftest.$ac_objext conftest$ac_exeext
82463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82464 (eval $ac_link) 2>conftest.er1
82465 ac_status=$?
82466 grep -v '^ *+' conftest.er1 >conftest.err
82467 rm -f conftest.er1
82468 cat conftest.err >&5
82469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82470 (exit $ac_status); } &&
82471 { ac_try='test -z "$ac_c_werror_flag"
82472 || test ! -s conftest.err'
82473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82474 (eval $ac_try) 2>&5
82475 ac_status=$?
82476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82477 (exit $ac_status); }; } &&
82478 { ac_try='test -s conftest$ac_exeext'
82479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82480 (eval $ac_try) 2>&5
82481 ac_status=$?
82482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82483 (exit $ac_status); }; }; then
82484 glibcxx_cv_func___builtin_sqrtf_link=yes
82485 else
82486 echo "$as_me: failed program was:" >&5
82487 sed 's/^/| /' conftest.$ac_ext >&5
82489 glibcxx_cv_func___builtin_sqrtf_link=no
82491 rm -f conftest.err conftest.$ac_objext \
82492 conftest$ac_exeext conftest.$ac_ext
82497 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82500 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82502 cat >>confdefs.h <<\_ACEOF
82503 #define HAVE___BUILTIN_SQRTF 1
82504 _ACEOF
82511 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82512 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82513 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82514 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82515 echo $ECHO_N "(cached) $ECHO_C" >&6
82516 else
82520 ac_ext=cc
82521 ac_cpp='$CXXCPP $CPPFLAGS'
82522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82526 cat >conftest.$ac_ext <<_ACEOF
82527 /* confdefs.h. */
82528 _ACEOF
82529 cat confdefs.h >>conftest.$ac_ext
82530 cat >>conftest.$ac_ext <<_ACEOF
82531 /* end confdefs.h. */
82532 #include <math.h>
82534 main ()
82536 __builtin_sqrt(0);
82538 return 0;
82540 _ACEOF
82541 rm -f conftest.$ac_objext
82542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82543 (eval $ac_compile) 2>conftest.er1
82544 ac_status=$?
82545 grep -v '^ *+' conftest.er1 >conftest.err
82546 rm -f conftest.er1
82547 cat conftest.err >&5
82548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82549 (exit $ac_status); } &&
82550 { ac_try='test -z "$ac_cxx_werror_flag"
82551 || test ! -s conftest.err'
82552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82553 (eval $ac_try) 2>&5
82554 ac_status=$?
82555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82556 (exit $ac_status); }; } &&
82557 { ac_try='test -s conftest.$ac_objext'
82558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82559 (eval $ac_try) 2>&5
82560 ac_status=$?
82561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82562 (exit $ac_status); }; }; then
82563 glibcxx_cv_func___builtin_sqrt_use=yes
82564 else
82565 echo "$as_me: failed program was:" >&5
82566 sed 's/^/| /' conftest.$ac_ext >&5
82568 glibcxx_cv_func___builtin_sqrt_use=no
82570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82571 ac_ext=c
82572 ac_cpp='$CPP $CPPFLAGS'
82573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82582 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82583 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82584 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82585 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82586 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82587 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82588 echo $ECHO_N "(cached) $ECHO_C" >&6
82589 else
82591 if test x$gcc_no_link = xyes; then
82592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82594 { (exit 1); exit 1; }; }
82596 cat >conftest.$ac_ext <<_ACEOF
82597 /* confdefs.h. */
82598 _ACEOF
82599 cat confdefs.h >>conftest.$ac_ext
82600 cat >>conftest.$ac_ext <<_ACEOF
82601 /* end confdefs.h. */
82602 #include <math.h>
82604 main ()
82606 __builtin_sqrt(0);
82608 return 0;
82610 _ACEOF
82611 rm -f conftest.$ac_objext conftest$ac_exeext
82612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82613 (eval $ac_link) 2>conftest.er1
82614 ac_status=$?
82615 grep -v '^ *+' conftest.er1 >conftest.err
82616 rm -f conftest.er1
82617 cat conftest.err >&5
82618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82619 (exit $ac_status); } &&
82620 { ac_try='test -z "$ac_c_werror_flag"
82621 || test ! -s conftest.err'
82622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82623 (eval $ac_try) 2>&5
82624 ac_status=$?
82625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82626 (exit $ac_status); }; } &&
82627 { ac_try='test -s conftest$ac_exeext'
82628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82629 (eval $ac_try) 2>&5
82630 ac_status=$?
82631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82632 (exit $ac_status); }; }; then
82633 glibcxx_cv_func___builtin_sqrt_link=yes
82634 else
82635 echo "$as_me: failed program was:" >&5
82636 sed 's/^/| /' conftest.$ac_ext >&5
82638 glibcxx_cv_func___builtin_sqrt_link=no
82640 rm -f conftest.err conftest.$ac_objext \
82641 conftest$ac_exeext conftest.$ac_ext
82646 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82647 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82649 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82651 cat >>confdefs.h <<\_ACEOF
82652 #define HAVE___BUILTIN_SQRT 1
82653 _ACEOF
82660 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82661 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82662 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82663 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82664 echo $ECHO_N "(cached) $ECHO_C" >&6
82665 else
82669 ac_ext=cc
82670 ac_cpp='$CXXCPP $CPPFLAGS'
82671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82675 cat >conftest.$ac_ext <<_ACEOF
82676 /* confdefs.h. */
82677 _ACEOF
82678 cat confdefs.h >>conftest.$ac_ext
82679 cat >>conftest.$ac_ext <<_ACEOF
82680 /* end confdefs.h. */
82681 #include <math.h>
82683 main ()
82685 __builtin_sqrtl(0);
82687 return 0;
82689 _ACEOF
82690 rm -f conftest.$ac_objext
82691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82692 (eval $ac_compile) 2>conftest.er1
82693 ac_status=$?
82694 grep -v '^ *+' conftest.er1 >conftest.err
82695 rm -f conftest.er1
82696 cat conftest.err >&5
82697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82698 (exit $ac_status); } &&
82699 { ac_try='test -z "$ac_cxx_werror_flag"
82700 || test ! -s conftest.err'
82701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82702 (eval $ac_try) 2>&5
82703 ac_status=$?
82704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82705 (exit $ac_status); }; } &&
82706 { ac_try='test -s conftest.$ac_objext'
82707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82708 (eval $ac_try) 2>&5
82709 ac_status=$?
82710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711 (exit $ac_status); }; }; then
82712 glibcxx_cv_func___builtin_sqrtl_use=yes
82713 else
82714 echo "$as_me: failed program was:" >&5
82715 sed 's/^/| /' conftest.$ac_ext >&5
82717 glibcxx_cv_func___builtin_sqrtl_use=no
82719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82720 ac_ext=c
82721 ac_cpp='$CPP $CPPFLAGS'
82722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82730 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82731 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82732 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82733 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82734 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82735 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82736 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82737 echo $ECHO_N "(cached) $ECHO_C" >&6
82738 else
82740 if test x$gcc_no_link = xyes; then
82741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82743 { (exit 1); exit 1; }; }
82745 cat >conftest.$ac_ext <<_ACEOF
82746 /* confdefs.h. */
82747 _ACEOF
82748 cat confdefs.h >>conftest.$ac_ext
82749 cat >>conftest.$ac_ext <<_ACEOF
82750 /* end confdefs.h. */
82751 #include <math.h>
82753 main ()
82755 __builtin_sqrtl(0);
82757 return 0;
82759 _ACEOF
82760 rm -f conftest.$ac_objext conftest$ac_exeext
82761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82762 (eval $ac_link) 2>conftest.er1
82763 ac_status=$?
82764 grep -v '^ *+' conftest.er1 >conftest.err
82765 rm -f conftest.er1
82766 cat conftest.err >&5
82767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82768 (exit $ac_status); } &&
82769 { ac_try='test -z "$ac_c_werror_flag"
82770 || test ! -s conftest.err'
82771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82772 (eval $ac_try) 2>&5
82773 ac_status=$?
82774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82775 (exit $ac_status); }; } &&
82776 { ac_try='test -s conftest$ac_exeext'
82777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82778 (eval $ac_try) 2>&5
82779 ac_status=$?
82780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82781 (exit $ac_status); }; }; then
82782 glibcxx_cv_func___builtin_sqrtl_link=yes
82783 else
82784 echo "$as_me: failed program was:" >&5
82785 sed 's/^/| /' conftest.$ac_ext >&5
82787 glibcxx_cv_func___builtin_sqrtl_link=no
82789 rm -f conftest.err conftest.$ac_objext \
82790 conftest$ac_exeext conftest.$ac_ext
82795 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82798 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82800 cat >>confdefs.h <<\_ACEOF
82801 #define HAVE___BUILTIN_SQRTL 1
82802 _ACEOF
82810 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82811 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82812 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82813 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82814 echo $ECHO_N "(cached) $ECHO_C" >&6
82815 else
82819 ac_ext=cc
82820 ac_cpp='$CXXCPP $CPPFLAGS'
82821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82825 cat >conftest.$ac_ext <<_ACEOF
82826 /* confdefs.h. */
82827 _ACEOF
82828 cat confdefs.h >>conftest.$ac_ext
82829 cat >>conftest.$ac_ext <<_ACEOF
82830 /* end confdefs.h. */
82831 #include <math.h>
82833 main ()
82835 __builtin_sinf(0);
82837 return 0;
82839 _ACEOF
82840 rm -f conftest.$ac_objext
82841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82842 (eval $ac_compile) 2>conftest.er1
82843 ac_status=$?
82844 grep -v '^ *+' conftest.er1 >conftest.err
82845 rm -f conftest.er1
82846 cat conftest.err >&5
82847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82848 (exit $ac_status); } &&
82849 { ac_try='test -z "$ac_cxx_werror_flag"
82850 || test ! -s conftest.err'
82851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82852 (eval $ac_try) 2>&5
82853 ac_status=$?
82854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82855 (exit $ac_status); }; } &&
82856 { ac_try='test -s conftest.$ac_objext'
82857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82858 (eval $ac_try) 2>&5
82859 ac_status=$?
82860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82861 (exit $ac_status); }; }; then
82862 glibcxx_cv_func___builtin_sinf_use=yes
82863 else
82864 echo "$as_me: failed program was:" >&5
82865 sed 's/^/| /' conftest.$ac_ext >&5
82867 glibcxx_cv_func___builtin_sinf_use=no
82869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82870 ac_ext=c
82871 ac_cpp='$CPP $CPPFLAGS'
82872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82880 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82881 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82882 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82883 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82884 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82885 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82886 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82887 echo $ECHO_N "(cached) $ECHO_C" >&6
82888 else
82890 if test x$gcc_no_link = xyes; then
82891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82893 { (exit 1); exit 1; }; }
82895 cat >conftest.$ac_ext <<_ACEOF
82896 /* confdefs.h. */
82897 _ACEOF
82898 cat confdefs.h >>conftest.$ac_ext
82899 cat >>conftest.$ac_ext <<_ACEOF
82900 /* end confdefs.h. */
82901 #include <math.h>
82903 main ()
82905 __builtin_sinf(0);
82907 return 0;
82909 _ACEOF
82910 rm -f conftest.$ac_objext conftest$ac_exeext
82911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82912 (eval $ac_link) 2>conftest.er1
82913 ac_status=$?
82914 grep -v '^ *+' conftest.er1 >conftest.err
82915 rm -f conftest.er1
82916 cat conftest.err >&5
82917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82918 (exit $ac_status); } &&
82919 { ac_try='test -z "$ac_c_werror_flag"
82920 || test ! -s conftest.err'
82921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82922 (eval $ac_try) 2>&5
82923 ac_status=$?
82924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82925 (exit $ac_status); }; } &&
82926 { ac_try='test -s conftest$ac_exeext'
82927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82928 (eval $ac_try) 2>&5
82929 ac_status=$?
82930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82931 (exit $ac_status); }; }; then
82932 glibcxx_cv_func___builtin_sinf_link=yes
82933 else
82934 echo "$as_me: failed program was:" >&5
82935 sed 's/^/| /' conftest.$ac_ext >&5
82937 glibcxx_cv_func___builtin_sinf_link=no
82939 rm -f conftest.err conftest.$ac_objext \
82940 conftest$ac_exeext conftest.$ac_ext
82945 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82946 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82948 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82950 cat >>confdefs.h <<\_ACEOF
82951 #define HAVE___BUILTIN_SINF 1
82952 _ACEOF
82959 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82960 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82961 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82962 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82963 echo $ECHO_N "(cached) $ECHO_C" >&6
82964 else
82968 ac_ext=cc
82969 ac_cpp='$CXXCPP $CPPFLAGS'
82970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82974 cat >conftest.$ac_ext <<_ACEOF
82975 /* confdefs.h. */
82976 _ACEOF
82977 cat confdefs.h >>conftest.$ac_ext
82978 cat >>conftest.$ac_ext <<_ACEOF
82979 /* end confdefs.h. */
82980 #include <math.h>
82982 main ()
82984 __builtin_sin(0);
82986 return 0;
82988 _ACEOF
82989 rm -f conftest.$ac_objext
82990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82991 (eval $ac_compile) 2>conftest.er1
82992 ac_status=$?
82993 grep -v '^ *+' conftest.er1 >conftest.err
82994 rm -f conftest.er1
82995 cat conftest.err >&5
82996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82997 (exit $ac_status); } &&
82998 { ac_try='test -z "$ac_cxx_werror_flag"
82999 || test ! -s conftest.err'
83000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83001 (eval $ac_try) 2>&5
83002 ac_status=$?
83003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83004 (exit $ac_status); }; } &&
83005 { ac_try='test -s conftest.$ac_objext'
83006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83007 (eval $ac_try) 2>&5
83008 ac_status=$?
83009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83010 (exit $ac_status); }; }; then
83011 glibcxx_cv_func___builtin_sin_use=yes
83012 else
83013 echo "$as_me: failed program was:" >&5
83014 sed 's/^/| /' conftest.$ac_ext >&5
83016 glibcxx_cv_func___builtin_sin_use=no
83018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83019 ac_ext=c
83020 ac_cpp='$CPP $CPPFLAGS'
83021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83029 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
83030 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
83031 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
83032 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
83033 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
83034 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83035 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83036 echo $ECHO_N "(cached) $ECHO_C" >&6
83037 else
83039 if test x$gcc_no_link = xyes; then
83040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83042 { (exit 1); exit 1; }; }
83044 cat >conftest.$ac_ext <<_ACEOF
83045 /* confdefs.h. */
83046 _ACEOF
83047 cat confdefs.h >>conftest.$ac_ext
83048 cat >>conftest.$ac_ext <<_ACEOF
83049 /* end confdefs.h. */
83050 #include <math.h>
83052 main ()
83054 __builtin_sin(0);
83056 return 0;
83058 _ACEOF
83059 rm -f conftest.$ac_objext conftest$ac_exeext
83060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83061 (eval $ac_link) 2>conftest.er1
83062 ac_status=$?
83063 grep -v '^ *+' conftest.er1 >conftest.err
83064 rm -f conftest.er1
83065 cat conftest.err >&5
83066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83067 (exit $ac_status); } &&
83068 { ac_try='test -z "$ac_c_werror_flag"
83069 || test ! -s conftest.err'
83070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83071 (eval $ac_try) 2>&5
83072 ac_status=$?
83073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83074 (exit $ac_status); }; } &&
83075 { ac_try='test -s conftest$ac_exeext'
83076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83077 (eval $ac_try) 2>&5
83078 ac_status=$?
83079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83080 (exit $ac_status); }; }; then
83081 glibcxx_cv_func___builtin_sin_link=yes
83082 else
83083 echo "$as_me: failed program was:" >&5
83084 sed 's/^/| /' conftest.$ac_ext >&5
83086 glibcxx_cv_func___builtin_sin_link=no
83088 rm -f conftest.err conftest.$ac_objext \
83089 conftest$ac_exeext conftest.$ac_ext
83094 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83095 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83097 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83099 cat >>confdefs.h <<\_ACEOF
83100 #define HAVE___BUILTIN_SIN 1
83101 _ACEOF
83108 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83109 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83110 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83111 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83112 echo $ECHO_N "(cached) $ECHO_C" >&6
83113 else
83117 ac_ext=cc
83118 ac_cpp='$CXXCPP $CPPFLAGS'
83119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83123 cat >conftest.$ac_ext <<_ACEOF
83124 /* confdefs.h. */
83125 _ACEOF
83126 cat confdefs.h >>conftest.$ac_ext
83127 cat >>conftest.$ac_ext <<_ACEOF
83128 /* end confdefs.h. */
83129 #include <math.h>
83131 main ()
83133 __builtin_sinl(0);
83135 return 0;
83137 _ACEOF
83138 rm -f conftest.$ac_objext
83139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83140 (eval $ac_compile) 2>conftest.er1
83141 ac_status=$?
83142 grep -v '^ *+' conftest.er1 >conftest.err
83143 rm -f conftest.er1
83144 cat conftest.err >&5
83145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83146 (exit $ac_status); } &&
83147 { ac_try='test -z "$ac_cxx_werror_flag"
83148 || test ! -s conftest.err'
83149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83150 (eval $ac_try) 2>&5
83151 ac_status=$?
83152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83153 (exit $ac_status); }; } &&
83154 { ac_try='test -s conftest.$ac_objext'
83155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83156 (eval $ac_try) 2>&5
83157 ac_status=$?
83158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83159 (exit $ac_status); }; }; then
83160 glibcxx_cv_func___builtin_sinl_use=yes
83161 else
83162 echo "$as_me: failed program was:" >&5
83163 sed 's/^/| /' conftest.$ac_ext >&5
83165 glibcxx_cv_func___builtin_sinl_use=no
83167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83168 ac_ext=c
83169 ac_cpp='$CPP $CPPFLAGS'
83170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83178 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83179 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83180 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83181 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83182 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83183 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83184 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83185 echo $ECHO_N "(cached) $ECHO_C" >&6
83186 else
83188 if test x$gcc_no_link = xyes; then
83189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83191 { (exit 1); exit 1; }; }
83193 cat >conftest.$ac_ext <<_ACEOF
83194 /* confdefs.h. */
83195 _ACEOF
83196 cat confdefs.h >>conftest.$ac_ext
83197 cat >>conftest.$ac_ext <<_ACEOF
83198 /* end confdefs.h. */
83199 #include <math.h>
83201 main ()
83203 __builtin_sinl(0);
83205 return 0;
83207 _ACEOF
83208 rm -f conftest.$ac_objext conftest$ac_exeext
83209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83210 (eval $ac_link) 2>conftest.er1
83211 ac_status=$?
83212 grep -v '^ *+' conftest.er1 >conftest.err
83213 rm -f conftest.er1
83214 cat conftest.err >&5
83215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83216 (exit $ac_status); } &&
83217 { ac_try='test -z "$ac_c_werror_flag"
83218 || test ! -s conftest.err'
83219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83220 (eval $ac_try) 2>&5
83221 ac_status=$?
83222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83223 (exit $ac_status); }; } &&
83224 { ac_try='test -s conftest$ac_exeext'
83225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83226 (eval $ac_try) 2>&5
83227 ac_status=$?
83228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83229 (exit $ac_status); }; }; then
83230 glibcxx_cv_func___builtin_sinl_link=yes
83231 else
83232 echo "$as_me: failed program was:" >&5
83233 sed 's/^/| /' conftest.$ac_ext >&5
83235 glibcxx_cv_func___builtin_sinl_link=no
83237 rm -f conftest.err conftest.$ac_objext \
83238 conftest$ac_exeext conftest.$ac_ext
83243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83246 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83248 cat >>confdefs.h <<\_ACEOF
83249 #define HAVE___BUILTIN_SINL 1
83250 _ACEOF
83258 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83259 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83260 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83261 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83262 echo $ECHO_N "(cached) $ECHO_C" >&6
83263 else
83267 ac_ext=cc
83268 ac_cpp='$CXXCPP $CPPFLAGS'
83269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83273 cat >conftest.$ac_ext <<_ACEOF
83274 /* confdefs.h. */
83275 _ACEOF
83276 cat confdefs.h >>conftest.$ac_ext
83277 cat >>conftest.$ac_ext <<_ACEOF
83278 /* end confdefs.h. */
83279 #include <math.h>
83281 main ()
83283 __builtin_cosf(0);
83285 return 0;
83287 _ACEOF
83288 rm -f conftest.$ac_objext
83289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83290 (eval $ac_compile) 2>conftest.er1
83291 ac_status=$?
83292 grep -v '^ *+' conftest.er1 >conftest.err
83293 rm -f conftest.er1
83294 cat conftest.err >&5
83295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83296 (exit $ac_status); } &&
83297 { ac_try='test -z "$ac_cxx_werror_flag"
83298 || test ! -s conftest.err'
83299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83300 (eval $ac_try) 2>&5
83301 ac_status=$?
83302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83303 (exit $ac_status); }; } &&
83304 { ac_try='test -s conftest.$ac_objext'
83305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83306 (eval $ac_try) 2>&5
83307 ac_status=$?
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); }; }; then
83310 glibcxx_cv_func___builtin_cosf_use=yes
83311 else
83312 echo "$as_me: failed program was:" >&5
83313 sed 's/^/| /' conftest.$ac_ext >&5
83315 glibcxx_cv_func___builtin_cosf_use=no
83317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83318 ac_ext=c
83319 ac_cpp='$CPP $CPPFLAGS'
83320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83329 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83330 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83331 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83332 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83333 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83334 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83335 echo $ECHO_N "(cached) $ECHO_C" >&6
83336 else
83338 if test x$gcc_no_link = xyes; then
83339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83341 { (exit 1); exit 1; }; }
83343 cat >conftest.$ac_ext <<_ACEOF
83344 /* confdefs.h. */
83345 _ACEOF
83346 cat confdefs.h >>conftest.$ac_ext
83347 cat >>conftest.$ac_ext <<_ACEOF
83348 /* end confdefs.h. */
83349 #include <math.h>
83351 main ()
83353 __builtin_cosf(0);
83355 return 0;
83357 _ACEOF
83358 rm -f conftest.$ac_objext conftest$ac_exeext
83359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83360 (eval $ac_link) 2>conftest.er1
83361 ac_status=$?
83362 grep -v '^ *+' conftest.er1 >conftest.err
83363 rm -f conftest.er1
83364 cat conftest.err >&5
83365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83366 (exit $ac_status); } &&
83367 { ac_try='test -z "$ac_c_werror_flag"
83368 || test ! -s conftest.err'
83369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83370 (eval $ac_try) 2>&5
83371 ac_status=$?
83372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83373 (exit $ac_status); }; } &&
83374 { ac_try='test -s conftest$ac_exeext'
83375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83376 (eval $ac_try) 2>&5
83377 ac_status=$?
83378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83379 (exit $ac_status); }; }; then
83380 glibcxx_cv_func___builtin_cosf_link=yes
83381 else
83382 echo "$as_me: failed program was:" >&5
83383 sed 's/^/| /' conftest.$ac_ext >&5
83385 glibcxx_cv_func___builtin_cosf_link=no
83387 rm -f conftest.err conftest.$ac_objext \
83388 conftest$ac_exeext conftest.$ac_ext
83393 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83394 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83396 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83398 cat >>confdefs.h <<\_ACEOF
83399 #define HAVE___BUILTIN_COSF 1
83400 _ACEOF
83407 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83408 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83409 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83410 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83411 echo $ECHO_N "(cached) $ECHO_C" >&6
83412 else
83416 ac_ext=cc
83417 ac_cpp='$CXXCPP $CPPFLAGS'
83418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83422 cat >conftest.$ac_ext <<_ACEOF
83423 /* confdefs.h. */
83424 _ACEOF
83425 cat confdefs.h >>conftest.$ac_ext
83426 cat >>conftest.$ac_ext <<_ACEOF
83427 /* end confdefs.h. */
83428 #include <math.h>
83430 main ()
83432 __builtin_cos(0);
83434 return 0;
83436 _ACEOF
83437 rm -f conftest.$ac_objext
83438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83439 (eval $ac_compile) 2>conftest.er1
83440 ac_status=$?
83441 grep -v '^ *+' conftest.er1 >conftest.err
83442 rm -f conftest.er1
83443 cat conftest.err >&5
83444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83445 (exit $ac_status); } &&
83446 { ac_try='test -z "$ac_cxx_werror_flag"
83447 || test ! -s conftest.err'
83448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83449 (eval $ac_try) 2>&5
83450 ac_status=$?
83451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83452 (exit $ac_status); }; } &&
83453 { ac_try='test -s conftest.$ac_objext'
83454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83455 (eval $ac_try) 2>&5
83456 ac_status=$?
83457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83458 (exit $ac_status); }; }; then
83459 glibcxx_cv_func___builtin_cos_use=yes
83460 else
83461 echo "$as_me: failed program was:" >&5
83462 sed 's/^/| /' conftest.$ac_ext >&5
83464 glibcxx_cv_func___builtin_cos_use=no
83466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83467 ac_ext=c
83468 ac_cpp='$CPP $CPPFLAGS'
83469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83477 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83478 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83479 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83480 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83481 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83482 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83483 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83484 echo $ECHO_N "(cached) $ECHO_C" >&6
83485 else
83487 if test x$gcc_no_link = xyes; then
83488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83490 { (exit 1); exit 1; }; }
83492 cat >conftest.$ac_ext <<_ACEOF
83493 /* confdefs.h. */
83494 _ACEOF
83495 cat confdefs.h >>conftest.$ac_ext
83496 cat >>conftest.$ac_ext <<_ACEOF
83497 /* end confdefs.h. */
83498 #include <math.h>
83500 main ()
83502 __builtin_cos(0);
83504 return 0;
83506 _ACEOF
83507 rm -f conftest.$ac_objext conftest$ac_exeext
83508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83509 (eval $ac_link) 2>conftest.er1
83510 ac_status=$?
83511 grep -v '^ *+' conftest.er1 >conftest.err
83512 rm -f conftest.er1
83513 cat conftest.err >&5
83514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83515 (exit $ac_status); } &&
83516 { ac_try='test -z "$ac_c_werror_flag"
83517 || test ! -s conftest.err'
83518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83519 (eval $ac_try) 2>&5
83520 ac_status=$?
83521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83522 (exit $ac_status); }; } &&
83523 { ac_try='test -s conftest$ac_exeext'
83524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83525 (eval $ac_try) 2>&5
83526 ac_status=$?
83527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83528 (exit $ac_status); }; }; then
83529 glibcxx_cv_func___builtin_cos_link=yes
83530 else
83531 echo "$as_me: failed program was:" >&5
83532 sed 's/^/| /' conftest.$ac_ext >&5
83534 glibcxx_cv_func___builtin_cos_link=no
83536 rm -f conftest.err conftest.$ac_objext \
83537 conftest$ac_exeext conftest.$ac_ext
83542 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83543 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83545 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83547 cat >>confdefs.h <<\_ACEOF
83548 #define HAVE___BUILTIN_COS 1
83549 _ACEOF
83556 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83557 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83558 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83559 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83560 echo $ECHO_N "(cached) $ECHO_C" >&6
83561 else
83565 ac_ext=cc
83566 ac_cpp='$CXXCPP $CPPFLAGS'
83567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83571 cat >conftest.$ac_ext <<_ACEOF
83572 /* confdefs.h. */
83573 _ACEOF
83574 cat confdefs.h >>conftest.$ac_ext
83575 cat >>conftest.$ac_ext <<_ACEOF
83576 /* end confdefs.h. */
83577 #include <math.h>
83579 main ()
83581 __builtin_cosl(0);
83583 return 0;
83585 _ACEOF
83586 rm -f conftest.$ac_objext
83587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83588 (eval $ac_compile) 2>conftest.er1
83589 ac_status=$?
83590 grep -v '^ *+' conftest.er1 >conftest.err
83591 rm -f conftest.er1
83592 cat conftest.err >&5
83593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83594 (exit $ac_status); } &&
83595 { ac_try='test -z "$ac_cxx_werror_flag"
83596 || test ! -s conftest.err'
83597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83598 (eval $ac_try) 2>&5
83599 ac_status=$?
83600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83601 (exit $ac_status); }; } &&
83602 { ac_try='test -s conftest.$ac_objext'
83603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83604 (eval $ac_try) 2>&5
83605 ac_status=$?
83606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607 (exit $ac_status); }; }; then
83608 glibcxx_cv_func___builtin_cosl_use=yes
83609 else
83610 echo "$as_me: failed program was:" >&5
83611 sed 's/^/| /' conftest.$ac_ext >&5
83613 glibcxx_cv_func___builtin_cosl_use=no
83615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83616 ac_ext=c
83617 ac_cpp='$CPP $CPPFLAGS'
83618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83626 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83627 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83628 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83629 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83630 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83631 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83632 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83633 echo $ECHO_N "(cached) $ECHO_C" >&6
83634 else
83636 if test x$gcc_no_link = xyes; then
83637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83639 { (exit 1); exit 1; }; }
83641 cat >conftest.$ac_ext <<_ACEOF
83642 /* confdefs.h. */
83643 _ACEOF
83644 cat confdefs.h >>conftest.$ac_ext
83645 cat >>conftest.$ac_ext <<_ACEOF
83646 /* end confdefs.h. */
83647 #include <math.h>
83649 main ()
83651 __builtin_cosl(0);
83653 return 0;
83655 _ACEOF
83656 rm -f conftest.$ac_objext conftest$ac_exeext
83657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83658 (eval $ac_link) 2>conftest.er1
83659 ac_status=$?
83660 grep -v '^ *+' conftest.er1 >conftest.err
83661 rm -f conftest.er1
83662 cat conftest.err >&5
83663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83664 (exit $ac_status); } &&
83665 { ac_try='test -z "$ac_c_werror_flag"
83666 || test ! -s conftest.err'
83667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83668 (eval $ac_try) 2>&5
83669 ac_status=$?
83670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83671 (exit $ac_status); }; } &&
83672 { ac_try='test -s conftest$ac_exeext'
83673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83674 (eval $ac_try) 2>&5
83675 ac_status=$?
83676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83677 (exit $ac_status); }; }; then
83678 glibcxx_cv_func___builtin_cosl_link=yes
83679 else
83680 echo "$as_me: failed program was:" >&5
83681 sed 's/^/| /' conftest.$ac_ext >&5
83683 glibcxx_cv_func___builtin_cosl_link=no
83685 rm -f conftest.err conftest.$ac_objext \
83686 conftest$ac_exeext conftest.$ac_ext
83691 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83692 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83694 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83696 cat >>confdefs.h <<\_ACEOF
83697 #define HAVE___BUILTIN_COSL 1
83698 _ACEOF
83707 echo "$as_me:$LINENO: checking for main in -lm" >&5
83708 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83709 if test "${ac_cv_lib_m_main+set}" = set; then
83710 echo $ECHO_N "(cached) $ECHO_C" >&6
83711 else
83712 ac_check_lib_save_LIBS=$LIBS
83713 LIBS="-lm $LIBS"
83714 if test x$gcc_no_link = xyes; then
83715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83717 { (exit 1); exit 1; }; }
83719 cat >conftest.$ac_ext <<_ACEOF
83720 /* confdefs.h. */
83721 _ACEOF
83722 cat confdefs.h >>conftest.$ac_ext
83723 cat >>conftest.$ac_ext <<_ACEOF
83724 /* end confdefs.h. */
83728 main ()
83730 main ();
83732 return 0;
83734 _ACEOF
83735 rm -f conftest.$ac_objext conftest$ac_exeext
83736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83737 (eval $ac_link) 2>conftest.er1
83738 ac_status=$?
83739 grep -v '^ *+' conftest.er1 >conftest.err
83740 rm -f conftest.er1
83741 cat conftest.err >&5
83742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83743 (exit $ac_status); } &&
83744 { ac_try='test -z "$ac_c_werror_flag"
83745 || test ! -s conftest.err'
83746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83747 (eval $ac_try) 2>&5
83748 ac_status=$?
83749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83750 (exit $ac_status); }; } &&
83751 { ac_try='test -s conftest$ac_exeext'
83752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83753 (eval $ac_try) 2>&5
83754 ac_status=$?
83755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83756 (exit $ac_status); }; }; then
83757 ac_cv_lib_m_main=yes
83758 else
83759 echo "$as_me: failed program was:" >&5
83760 sed 's/^/| /' conftest.$ac_ext >&5
83762 ac_cv_lib_m_main=no
83764 rm -f conftest.err conftest.$ac_objext \
83765 conftest$ac_exeext conftest.$ac_ext
83766 LIBS=$ac_check_lib_save_LIBS
83768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83769 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83770 if test $ac_cv_lib_m_main = yes; then
83771 cat >>confdefs.h <<_ACEOF
83772 #define HAVE_LIBM 1
83773 _ACEOF
83775 LIBS="-lm $LIBS"
83780 for ac_func in copysignf
83782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83783 echo "$as_me:$LINENO: checking for $ac_func" >&5
83784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83785 if eval "test \"\${$as_ac_var+set}\" = set"; then
83786 echo $ECHO_N "(cached) $ECHO_C" >&6
83787 else
83788 if test x$gcc_no_link = xyes; then
83789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83791 { (exit 1); exit 1; }; }
83793 cat >conftest.$ac_ext <<_ACEOF
83794 /* confdefs.h. */
83795 _ACEOF
83796 cat confdefs.h >>conftest.$ac_ext
83797 cat >>conftest.$ac_ext <<_ACEOF
83798 /* end confdefs.h. */
83799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83801 #define $ac_func innocuous_$ac_func
83803 /* System header to define __stub macros and hopefully few prototypes,
83804 which can conflict with char $ac_func (); below.
83805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83806 <limits.h> exists even on freestanding compilers. */
83808 #ifdef __STDC__
83809 # include <limits.h>
83810 #else
83811 # include <assert.h>
83812 #endif
83814 #undef $ac_func
83816 /* Override any gcc2 internal prototype to avoid an error. */
83817 #ifdef __cplusplus
83818 extern "C"
83820 #endif
83821 /* We use char because int might match the return type of a gcc2
83822 builtin and then its argument prototype would still apply. */
83823 char $ac_func ();
83824 /* The GNU C library defines this for functions which it implements
83825 to always fail with ENOSYS. Some functions are actually named
83826 something starting with __ and the normal name is an alias. */
83827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83828 choke me
83829 #else
83830 char (*f) () = $ac_func;
83831 #endif
83832 #ifdef __cplusplus
83834 #endif
83837 main ()
83839 return f != $ac_func;
83841 return 0;
83843 _ACEOF
83844 rm -f conftest.$ac_objext conftest$ac_exeext
83845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83846 (eval $ac_link) 2>conftest.er1
83847 ac_status=$?
83848 grep -v '^ *+' conftest.er1 >conftest.err
83849 rm -f conftest.er1
83850 cat conftest.err >&5
83851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83852 (exit $ac_status); } &&
83853 { ac_try='test -z "$ac_c_werror_flag"
83854 || test ! -s conftest.err'
83855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83856 (eval $ac_try) 2>&5
83857 ac_status=$?
83858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83859 (exit $ac_status); }; } &&
83860 { ac_try='test -s conftest$ac_exeext'
83861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83862 (eval $ac_try) 2>&5
83863 ac_status=$?
83864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83865 (exit $ac_status); }; }; then
83866 eval "$as_ac_var=yes"
83867 else
83868 echo "$as_me: failed program was:" >&5
83869 sed 's/^/| /' conftest.$ac_ext >&5
83871 eval "$as_ac_var=no"
83873 rm -f conftest.err conftest.$ac_objext \
83874 conftest$ac_exeext conftest.$ac_ext
83876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83878 if test `eval echo '${'$as_ac_var'}'` = yes; then
83879 cat >>confdefs.h <<_ACEOF
83880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83881 _ACEOF
83883 else
83884 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83886 done
83890 for ac_func in __signbit
83892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83893 echo "$as_me:$LINENO: checking for $ac_func" >&5
83894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83895 if eval "test \"\${$as_ac_var+set}\" = set"; then
83896 echo $ECHO_N "(cached) $ECHO_C" >&6
83897 else
83898 if test x$gcc_no_link = xyes; then
83899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83901 { (exit 1); exit 1; }; }
83903 cat >conftest.$ac_ext <<_ACEOF
83904 /* confdefs.h. */
83905 _ACEOF
83906 cat confdefs.h >>conftest.$ac_ext
83907 cat >>conftest.$ac_ext <<_ACEOF
83908 /* end confdefs.h. */
83909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83911 #define $ac_func innocuous_$ac_func
83913 /* System header to define __stub macros and hopefully few prototypes,
83914 which can conflict with char $ac_func (); below.
83915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83916 <limits.h> exists even on freestanding compilers. */
83918 #ifdef __STDC__
83919 # include <limits.h>
83920 #else
83921 # include <assert.h>
83922 #endif
83924 #undef $ac_func
83926 /* Override any gcc2 internal prototype to avoid an error. */
83927 #ifdef __cplusplus
83928 extern "C"
83930 #endif
83931 /* We use char because int might match the return type of a gcc2
83932 builtin and then its argument prototype would still apply. */
83933 char $ac_func ();
83934 /* The GNU C library defines this for functions which it implements
83935 to always fail with ENOSYS. Some functions are actually named
83936 something starting with __ and the normal name is an alias. */
83937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83938 choke me
83939 #else
83940 char (*f) () = $ac_func;
83941 #endif
83942 #ifdef __cplusplus
83944 #endif
83947 main ()
83949 return f != $ac_func;
83951 return 0;
83953 _ACEOF
83954 rm -f conftest.$ac_objext conftest$ac_exeext
83955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83956 (eval $ac_link) 2>conftest.er1
83957 ac_status=$?
83958 grep -v '^ *+' conftest.er1 >conftest.err
83959 rm -f conftest.er1
83960 cat conftest.err >&5
83961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962 (exit $ac_status); } &&
83963 { ac_try='test -z "$ac_c_werror_flag"
83964 || test ! -s conftest.err'
83965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83966 (eval $ac_try) 2>&5
83967 ac_status=$?
83968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83969 (exit $ac_status); }; } &&
83970 { ac_try='test -s conftest$ac_exeext'
83971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83972 (eval $ac_try) 2>&5
83973 ac_status=$?
83974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975 (exit $ac_status); }; }; then
83976 eval "$as_ac_var=yes"
83977 else
83978 echo "$as_me: failed program was:" >&5
83979 sed 's/^/| /' conftest.$ac_ext >&5
83981 eval "$as_ac_var=no"
83983 rm -f conftest.err conftest.$ac_objext \
83984 conftest$ac_exeext conftest.$ac_ext
83986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83988 if test `eval echo '${'$as_ac_var'}'` = yes; then
83989 cat >>confdefs.h <<_ACEOF
83990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83991 _ACEOF
83993 else
83994 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83996 done
84000 for ac_func in __signbitf
84002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84003 echo "$as_me:$LINENO: checking for $ac_func" >&5
84004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84005 if eval "test \"\${$as_ac_var+set}\" = set"; then
84006 echo $ECHO_N "(cached) $ECHO_C" >&6
84007 else
84008 if test x$gcc_no_link = xyes; then
84009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84011 { (exit 1); exit 1; }; }
84013 cat >conftest.$ac_ext <<_ACEOF
84014 /* confdefs.h. */
84015 _ACEOF
84016 cat confdefs.h >>conftest.$ac_ext
84017 cat >>conftest.$ac_ext <<_ACEOF
84018 /* end confdefs.h. */
84019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84021 #define $ac_func innocuous_$ac_func
84023 /* System header to define __stub macros and hopefully few prototypes,
84024 which can conflict with char $ac_func (); below.
84025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84026 <limits.h> exists even on freestanding compilers. */
84028 #ifdef __STDC__
84029 # include <limits.h>
84030 #else
84031 # include <assert.h>
84032 #endif
84034 #undef $ac_func
84036 /* Override any gcc2 internal prototype to avoid an error. */
84037 #ifdef __cplusplus
84038 extern "C"
84040 #endif
84041 /* We use char because int might match the return type of a gcc2
84042 builtin and then its argument prototype would still apply. */
84043 char $ac_func ();
84044 /* The GNU C library defines this for functions which it implements
84045 to always fail with ENOSYS. Some functions are actually named
84046 something starting with __ and the normal name is an alias. */
84047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84048 choke me
84049 #else
84050 char (*f) () = $ac_func;
84051 #endif
84052 #ifdef __cplusplus
84054 #endif
84057 main ()
84059 return f != $ac_func;
84061 return 0;
84063 _ACEOF
84064 rm -f conftest.$ac_objext conftest$ac_exeext
84065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84066 (eval $ac_link) 2>conftest.er1
84067 ac_status=$?
84068 grep -v '^ *+' conftest.er1 >conftest.err
84069 rm -f conftest.er1
84070 cat conftest.err >&5
84071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84072 (exit $ac_status); } &&
84073 { ac_try='test -z "$ac_c_werror_flag"
84074 || test ! -s conftest.err'
84075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84076 (eval $ac_try) 2>&5
84077 ac_status=$?
84078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84079 (exit $ac_status); }; } &&
84080 { ac_try='test -s conftest$ac_exeext'
84081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84082 (eval $ac_try) 2>&5
84083 ac_status=$?
84084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84085 (exit $ac_status); }; }; then
84086 eval "$as_ac_var=yes"
84087 else
84088 echo "$as_me: failed program was:" >&5
84089 sed 's/^/| /' conftest.$ac_ext >&5
84091 eval "$as_ac_var=no"
84093 rm -f conftest.err conftest.$ac_objext \
84094 conftest$ac_exeext conftest.$ac_ext
84096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84098 if test `eval echo '${'$as_ac_var'}'` = yes; then
84099 cat >>confdefs.h <<_ACEOF
84100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84101 _ACEOF
84103 else
84104 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84106 done
84109 if test x$ac_cv_func_copysignl = x"yes"; then
84111 for ac_func in __signbitl
84113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84114 echo "$as_me:$LINENO: checking for $ac_func" >&5
84115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84116 if eval "test \"\${$as_ac_var+set}\" = set"; then
84117 echo $ECHO_N "(cached) $ECHO_C" >&6
84118 else
84119 if test x$gcc_no_link = xyes; then
84120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84122 { (exit 1); exit 1; }; }
84124 cat >conftest.$ac_ext <<_ACEOF
84125 /* confdefs.h. */
84126 _ACEOF
84127 cat confdefs.h >>conftest.$ac_ext
84128 cat >>conftest.$ac_ext <<_ACEOF
84129 /* end confdefs.h. */
84130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84132 #define $ac_func innocuous_$ac_func
84134 /* System header to define __stub macros and hopefully few prototypes,
84135 which can conflict with char $ac_func (); below.
84136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84137 <limits.h> exists even on freestanding compilers. */
84139 #ifdef __STDC__
84140 # include <limits.h>
84141 #else
84142 # include <assert.h>
84143 #endif
84145 #undef $ac_func
84147 /* Override any gcc2 internal prototype to avoid an error. */
84148 #ifdef __cplusplus
84149 extern "C"
84151 #endif
84152 /* We use char because int might match the return type of a gcc2
84153 builtin and then its argument prototype would still apply. */
84154 char $ac_func ();
84155 /* The GNU C library defines this for functions which it implements
84156 to always fail with ENOSYS. Some functions are actually named
84157 something starting with __ and the normal name is an alias. */
84158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84159 choke me
84160 #else
84161 char (*f) () = $ac_func;
84162 #endif
84163 #ifdef __cplusplus
84165 #endif
84168 main ()
84170 return f != $ac_func;
84172 return 0;
84174 _ACEOF
84175 rm -f conftest.$ac_objext conftest$ac_exeext
84176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84177 (eval $ac_link) 2>conftest.er1
84178 ac_status=$?
84179 grep -v '^ *+' conftest.er1 >conftest.err
84180 rm -f conftest.er1
84181 cat conftest.err >&5
84182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84183 (exit $ac_status); } &&
84184 { ac_try='test -z "$ac_c_werror_flag"
84185 || test ! -s conftest.err'
84186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84187 (eval $ac_try) 2>&5
84188 ac_status=$?
84189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84190 (exit $ac_status); }; } &&
84191 { ac_try='test -s conftest$ac_exeext'
84192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84193 (eval $ac_try) 2>&5
84194 ac_status=$?
84195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84196 (exit $ac_status); }; }; then
84197 eval "$as_ac_var=yes"
84198 else
84199 echo "$as_me: failed program was:" >&5
84200 sed 's/^/| /' conftest.$ac_ext >&5
84202 eval "$as_ac_var=no"
84204 rm -f conftest.err conftest.$ac_objext \
84205 conftest$ac_exeext conftest.$ac_ext
84207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84209 if test `eval echo '${'$as_ac_var'}'` = yes; then
84210 cat >>confdefs.h <<_ACEOF
84211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84212 _ACEOF
84214 else
84215 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84217 done
84221 # Used in libmath/Makefile.am.
84222 if test -n "$LIBMATHOBJS"; then
84223 need_libmath=yes
84228 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84229 ac_save_CXXFLAGS="$CXXFLAGS"
84230 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84233 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84234 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84235 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84236 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84237 echo $ECHO_N "(cached) $ECHO_C" >&6
84238 else
84242 ac_ext=cc
84243 ac_cpp='$CXXCPP $CPPFLAGS'
84244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84248 cat >conftest.$ac_ext <<_ACEOF
84249 /* confdefs.h. */
84250 _ACEOF
84251 cat confdefs.h >>conftest.$ac_ext
84252 cat >>conftest.$ac_ext <<_ACEOF
84253 /* end confdefs.h. */
84254 #include <stdlib.h>
84256 main ()
84258 strtold(0, 0);
84260 return 0;
84262 _ACEOF
84263 rm -f conftest.$ac_objext
84264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84265 (eval $ac_compile) 2>conftest.er1
84266 ac_status=$?
84267 grep -v '^ *+' conftest.er1 >conftest.err
84268 rm -f conftest.er1
84269 cat conftest.err >&5
84270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84271 (exit $ac_status); } &&
84272 { ac_try='test -z "$ac_cxx_werror_flag"
84273 || test ! -s conftest.err'
84274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84275 (eval $ac_try) 2>&5
84276 ac_status=$?
84277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84278 (exit $ac_status); }; } &&
84279 { ac_try='test -s conftest.$ac_objext'
84280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84281 (eval $ac_try) 2>&5
84282 ac_status=$?
84283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84284 (exit $ac_status); }; }; then
84285 glibcxx_cv_func_strtold_use=yes
84286 else
84287 echo "$as_me: failed program was:" >&5
84288 sed 's/^/| /' conftest.$ac_ext >&5
84290 glibcxx_cv_func_strtold_use=no
84292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84293 ac_ext=c
84294 ac_cpp='$CPP $CPPFLAGS'
84295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84303 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84304 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84305 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84307 for ac_func in strtold
84309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84310 echo "$as_me:$LINENO: checking for $ac_func" >&5
84311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84312 if eval "test \"\${$as_ac_var+set}\" = set"; then
84313 echo $ECHO_N "(cached) $ECHO_C" >&6
84314 else
84315 if test x$gcc_no_link = xyes; then
84316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84318 { (exit 1); exit 1; }; }
84320 cat >conftest.$ac_ext <<_ACEOF
84321 /* confdefs.h. */
84322 _ACEOF
84323 cat confdefs.h >>conftest.$ac_ext
84324 cat >>conftest.$ac_ext <<_ACEOF
84325 /* end confdefs.h. */
84326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84328 #define $ac_func innocuous_$ac_func
84330 /* System header to define __stub macros and hopefully few prototypes,
84331 which can conflict with char $ac_func (); below.
84332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84333 <limits.h> exists even on freestanding compilers. */
84335 #ifdef __STDC__
84336 # include <limits.h>
84337 #else
84338 # include <assert.h>
84339 #endif
84341 #undef $ac_func
84343 /* Override any gcc2 internal prototype to avoid an error. */
84344 #ifdef __cplusplus
84345 extern "C"
84347 #endif
84348 /* We use char because int might match the return type of a gcc2
84349 builtin and then its argument prototype would still apply. */
84350 char $ac_func ();
84351 /* The GNU C library defines this for functions which it implements
84352 to always fail with ENOSYS. Some functions are actually named
84353 something starting with __ and the normal name is an alias. */
84354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84355 choke me
84356 #else
84357 char (*f) () = $ac_func;
84358 #endif
84359 #ifdef __cplusplus
84361 #endif
84364 main ()
84366 return f != $ac_func;
84368 return 0;
84370 _ACEOF
84371 rm -f conftest.$ac_objext conftest$ac_exeext
84372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84373 (eval $ac_link) 2>conftest.er1
84374 ac_status=$?
84375 grep -v '^ *+' conftest.er1 >conftest.err
84376 rm -f conftest.er1
84377 cat conftest.err >&5
84378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84379 (exit $ac_status); } &&
84380 { ac_try='test -z "$ac_c_werror_flag"
84381 || test ! -s conftest.err'
84382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84383 (eval $ac_try) 2>&5
84384 ac_status=$?
84385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84386 (exit $ac_status); }; } &&
84387 { ac_try='test -s conftest$ac_exeext'
84388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84389 (eval $ac_try) 2>&5
84390 ac_status=$?
84391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84392 (exit $ac_status); }; }; then
84393 eval "$as_ac_var=yes"
84394 else
84395 echo "$as_me: failed program was:" >&5
84396 sed 's/^/| /' conftest.$ac_ext >&5
84398 eval "$as_ac_var=no"
84400 rm -f conftest.err conftest.$ac_objext \
84401 conftest$ac_exeext conftest.$ac_ext
84403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84405 if test `eval echo '${'$as_ac_var'}'` = yes; then
84406 cat >>confdefs.h <<_ACEOF
84407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84408 _ACEOF
84411 done
84419 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84420 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84421 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84422 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84423 echo $ECHO_N "(cached) $ECHO_C" >&6
84424 else
84428 ac_ext=cc
84429 ac_cpp='$CXXCPP $CPPFLAGS'
84430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84434 cat >conftest.$ac_ext <<_ACEOF
84435 /* confdefs.h. */
84436 _ACEOF
84437 cat confdefs.h >>conftest.$ac_ext
84438 cat >>conftest.$ac_ext <<_ACEOF
84439 /* end confdefs.h. */
84440 #include <stdlib.h>
84442 main ()
84444 strtof(0, 0);
84446 return 0;
84448 _ACEOF
84449 rm -f conftest.$ac_objext
84450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84451 (eval $ac_compile) 2>conftest.er1
84452 ac_status=$?
84453 grep -v '^ *+' conftest.er1 >conftest.err
84454 rm -f conftest.er1
84455 cat conftest.err >&5
84456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84457 (exit $ac_status); } &&
84458 { ac_try='test -z "$ac_cxx_werror_flag"
84459 || test ! -s conftest.err'
84460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84461 (eval $ac_try) 2>&5
84462 ac_status=$?
84463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84464 (exit $ac_status); }; } &&
84465 { ac_try='test -s conftest.$ac_objext'
84466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84467 (eval $ac_try) 2>&5
84468 ac_status=$?
84469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84470 (exit $ac_status); }; }; then
84471 glibcxx_cv_func_strtof_use=yes
84472 else
84473 echo "$as_me: failed program was:" >&5
84474 sed 's/^/| /' conftest.$ac_ext >&5
84476 glibcxx_cv_func_strtof_use=no
84478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84479 ac_ext=c
84480 ac_cpp='$CPP $CPPFLAGS'
84481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84490 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84491 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84493 for ac_func in strtof
84495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84496 echo "$as_me:$LINENO: checking for $ac_func" >&5
84497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84498 if eval "test \"\${$as_ac_var+set}\" = set"; then
84499 echo $ECHO_N "(cached) $ECHO_C" >&6
84500 else
84501 if test x$gcc_no_link = xyes; then
84502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84504 { (exit 1); exit 1; }; }
84506 cat >conftest.$ac_ext <<_ACEOF
84507 /* confdefs.h. */
84508 _ACEOF
84509 cat confdefs.h >>conftest.$ac_ext
84510 cat >>conftest.$ac_ext <<_ACEOF
84511 /* end confdefs.h. */
84512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84514 #define $ac_func innocuous_$ac_func
84516 /* System header to define __stub macros and hopefully few prototypes,
84517 which can conflict with char $ac_func (); below.
84518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84519 <limits.h> exists even on freestanding compilers. */
84521 #ifdef __STDC__
84522 # include <limits.h>
84523 #else
84524 # include <assert.h>
84525 #endif
84527 #undef $ac_func
84529 /* Override any gcc2 internal prototype to avoid an error. */
84530 #ifdef __cplusplus
84531 extern "C"
84533 #endif
84534 /* We use char because int might match the return type of a gcc2
84535 builtin and then its argument prototype would still apply. */
84536 char $ac_func ();
84537 /* The GNU C library defines this for functions which it implements
84538 to always fail with ENOSYS. Some functions are actually named
84539 something starting with __ and the normal name is an alias. */
84540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84541 choke me
84542 #else
84543 char (*f) () = $ac_func;
84544 #endif
84545 #ifdef __cplusplus
84547 #endif
84550 main ()
84552 return f != $ac_func;
84554 return 0;
84556 _ACEOF
84557 rm -f conftest.$ac_objext conftest$ac_exeext
84558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84559 (eval $ac_link) 2>conftest.er1
84560 ac_status=$?
84561 grep -v '^ *+' conftest.er1 >conftest.err
84562 rm -f conftest.er1
84563 cat conftest.err >&5
84564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84565 (exit $ac_status); } &&
84566 { ac_try='test -z "$ac_c_werror_flag"
84567 || test ! -s conftest.err'
84568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84569 (eval $ac_try) 2>&5
84570 ac_status=$?
84571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84572 (exit $ac_status); }; } &&
84573 { ac_try='test -s conftest$ac_exeext'
84574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84575 (eval $ac_try) 2>&5
84576 ac_status=$?
84577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84578 (exit $ac_status); }; }; then
84579 eval "$as_ac_var=yes"
84580 else
84581 echo "$as_me: failed program was:" >&5
84582 sed 's/^/| /' conftest.$ac_ext >&5
84584 eval "$as_ac_var=no"
84586 rm -f conftest.err conftest.$ac_objext \
84587 conftest$ac_exeext conftest.$ac_ext
84589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84591 if test `eval echo '${'$as_ac_var'}'` = yes; then
84592 cat >>confdefs.h <<_ACEOF
84593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84594 _ACEOF
84597 done
84605 CXXFLAGS="$ac_save_CXXFLAGS"
84608 # For showmanyc_helper().
84611 for ac_header in sys/ioctl.h sys/filio.h
84613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84615 echo "$as_me:$LINENO: checking for $ac_header" >&5
84616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84618 echo $ECHO_N "(cached) $ECHO_C" >&6
84620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84622 else
84623 # Is the header compilable?
84624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84626 cat >conftest.$ac_ext <<_ACEOF
84627 /* confdefs.h. */
84628 _ACEOF
84629 cat confdefs.h >>conftest.$ac_ext
84630 cat >>conftest.$ac_ext <<_ACEOF
84631 /* end confdefs.h. */
84632 $ac_includes_default
84633 #include <$ac_header>
84634 _ACEOF
84635 rm -f conftest.$ac_objext
84636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84637 (eval $ac_compile) 2>conftest.er1
84638 ac_status=$?
84639 grep -v '^ *+' conftest.er1 >conftest.err
84640 rm -f conftest.er1
84641 cat conftest.err >&5
84642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84643 (exit $ac_status); } &&
84644 { ac_try='test -z "$ac_c_werror_flag"
84645 || test ! -s conftest.err'
84646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84647 (eval $ac_try) 2>&5
84648 ac_status=$?
84649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84650 (exit $ac_status); }; } &&
84651 { ac_try='test -s conftest.$ac_objext'
84652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84653 (eval $ac_try) 2>&5
84654 ac_status=$?
84655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84656 (exit $ac_status); }; }; then
84657 ac_header_compiler=yes
84658 else
84659 echo "$as_me: failed program was:" >&5
84660 sed 's/^/| /' conftest.$ac_ext >&5
84662 ac_header_compiler=no
84664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84666 echo "${ECHO_T}$ac_header_compiler" >&6
84668 # Is the header present?
84669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84671 cat >conftest.$ac_ext <<_ACEOF
84672 /* confdefs.h. */
84673 _ACEOF
84674 cat confdefs.h >>conftest.$ac_ext
84675 cat >>conftest.$ac_ext <<_ACEOF
84676 /* end confdefs.h. */
84677 #include <$ac_header>
84678 _ACEOF
84679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84681 ac_status=$?
84682 grep -v '^ *+' conftest.er1 >conftest.err
84683 rm -f conftest.er1
84684 cat conftest.err >&5
84685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84686 (exit $ac_status); } >/dev/null; then
84687 if test -s conftest.err; then
84688 ac_cpp_err=$ac_c_preproc_warn_flag
84689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84690 else
84691 ac_cpp_err=
84693 else
84694 ac_cpp_err=yes
84696 if test -z "$ac_cpp_err"; then
84697 ac_header_preproc=yes
84698 else
84699 echo "$as_me: failed program was:" >&5
84700 sed 's/^/| /' conftest.$ac_ext >&5
84702 ac_header_preproc=no
84704 rm -f conftest.err conftest.$ac_ext
84705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84706 echo "${ECHO_T}$ac_header_preproc" >&6
84708 # So? What about this header?
84709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84710 yes:no: )
84711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84715 ac_header_preproc=yes
84717 no:yes:* )
84718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84731 cat <<\_ASBOX
84732 ## ----------------------------------------- ##
84733 ## Report this to the package-unused lists. ##
84734 ## ----------------------------------------- ##
84735 _ASBOX
84737 sed "s/^/$as_me: WARNING: /" >&2
84739 esac
84740 echo "$as_me:$LINENO: checking for $ac_header" >&5
84741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84743 echo $ECHO_N "(cached) $ECHO_C" >&6
84744 else
84745 eval "$as_ac_Header=\$ac_header_preproc"
84747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84752 cat >>confdefs.h <<_ACEOF
84753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84754 _ACEOF
84758 done
84761 echo "$as_me:$LINENO: checking for poll" >&5
84762 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84763 if test "${glibcxx_cv_POLL+set}" = set; then
84764 echo $ECHO_N "(cached) $ECHO_C" >&6
84765 else
84767 if test x$gcc_no_link = xyes; then
84768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84770 { (exit 1); exit 1; }; }
84772 cat >conftest.$ac_ext <<_ACEOF
84773 /* confdefs.h. */
84774 _ACEOF
84775 cat confdefs.h >>conftest.$ac_ext
84776 cat >>conftest.$ac_ext <<_ACEOF
84777 /* end confdefs.h. */
84778 #include <poll.h>
84780 main ()
84782 struct pollfd pfd[1];
84783 pfd[0].events = POLLIN;
84784 poll(pfd, 1, 0);
84786 return 0;
84788 _ACEOF
84789 rm -f conftest.$ac_objext conftest$ac_exeext
84790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84791 (eval $ac_link) 2>conftest.er1
84792 ac_status=$?
84793 grep -v '^ *+' conftest.er1 >conftest.err
84794 rm -f conftest.er1
84795 cat conftest.err >&5
84796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84797 (exit $ac_status); } &&
84798 { ac_try='test -z "$ac_c_werror_flag"
84799 || test ! -s conftest.err'
84800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84801 (eval $ac_try) 2>&5
84802 ac_status=$?
84803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84804 (exit $ac_status); }; } &&
84805 { ac_try='test -s conftest$ac_exeext'
84806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84807 (eval $ac_try) 2>&5
84808 ac_status=$?
84809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84810 (exit $ac_status); }; }; then
84811 glibcxx_cv_POLL=yes
84812 else
84813 echo "$as_me: failed program was:" >&5
84814 sed 's/^/| /' conftest.$ac_ext >&5
84816 glibcxx_cv_POLL=no
84818 rm -f conftest.err conftest.$ac_objext \
84819 conftest$ac_exeext conftest.$ac_ext
84823 if test $glibcxx_cv_POLL = yes; then
84825 cat >>confdefs.h <<\_ACEOF
84826 #define HAVE_POLL 1
84827 _ACEOF
84830 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84831 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84834 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84835 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84836 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84837 echo $ECHO_N "(cached) $ECHO_C" >&6
84838 else
84840 if test x$gcc_no_link = xyes; then
84841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84843 { (exit 1); exit 1; }; }
84845 cat >conftest.$ac_ext <<_ACEOF
84846 /* confdefs.h. */
84847 _ACEOF
84848 cat confdefs.h >>conftest.$ac_ext
84849 cat >>conftest.$ac_ext <<_ACEOF
84850 /* end confdefs.h. */
84851 #include <sys/stat.h>
84853 main ()
84855 struct stat buffer;
84856 fstat(0, &buffer);
84857 S_ISREG(buffer.st_mode);
84859 return 0;
84861 _ACEOF
84862 rm -f conftest.$ac_objext conftest$ac_exeext
84863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84864 (eval $ac_link) 2>conftest.er1
84865 ac_status=$?
84866 grep -v '^ *+' conftest.er1 >conftest.err
84867 rm -f conftest.er1
84868 cat conftest.err >&5
84869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84870 (exit $ac_status); } &&
84871 { ac_try='test -z "$ac_c_werror_flag"
84872 || test ! -s conftest.err'
84873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84874 (eval $ac_try) 2>&5
84875 ac_status=$?
84876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84877 (exit $ac_status); }; } &&
84878 { ac_try='test -s conftest$ac_exeext'
84879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84880 (eval $ac_try) 2>&5
84881 ac_status=$?
84882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84883 (exit $ac_status); }; }; then
84884 glibcxx_cv_S_ISREG=yes
84885 else
84886 echo "$as_me: failed program was:" >&5
84887 sed 's/^/| /' conftest.$ac_ext >&5
84889 glibcxx_cv_S_ISREG=no
84891 rm -f conftest.err conftest.$ac_objext \
84892 conftest$ac_exeext conftest.$ac_ext
84896 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84897 echo $ECHO_N "(cached) $ECHO_C" >&6
84898 else
84900 if test x$gcc_no_link = xyes; then
84901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84903 { (exit 1); exit 1; }; }
84905 cat >conftest.$ac_ext <<_ACEOF
84906 /* confdefs.h. */
84907 _ACEOF
84908 cat confdefs.h >>conftest.$ac_ext
84909 cat >>conftest.$ac_ext <<_ACEOF
84910 /* end confdefs.h. */
84911 #include <sys/stat.h>
84913 main ()
84915 struct stat buffer;
84916 fstat(0, &buffer);
84917 S_IFREG & buffer.st_mode;
84919 return 0;
84921 _ACEOF
84922 rm -f conftest.$ac_objext conftest$ac_exeext
84923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84924 (eval $ac_link) 2>conftest.er1
84925 ac_status=$?
84926 grep -v '^ *+' conftest.er1 >conftest.err
84927 rm -f conftest.er1
84928 cat conftest.err >&5
84929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930 (exit $ac_status); } &&
84931 { ac_try='test -z "$ac_c_werror_flag"
84932 || test ! -s conftest.err'
84933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84934 (eval $ac_try) 2>&5
84935 ac_status=$?
84936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84937 (exit $ac_status); }; } &&
84938 { ac_try='test -s conftest$ac_exeext'
84939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84940 (eval $ac_try) 2>&5
84941 ac_status=$?
84942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84943 (exit $ac_status); }; }; then
84944 glibcxx_cv_S_IFREG=yes
84945 else
84946 echo "$as_me: failed program was:" >&5
84947 sed 's/^/| /' conftest.$ac_ext >&5
84949 glibcxx_cv_S_IFREG=no
84951 rm -f conftest.err conftest.$ac_objext \
84952 conftest$ac_exeext conftest.$ac_ext
84956 res=no
84957 if test $glibcxx_cv_S_ISREG = yes; then
84959 cat >>confdefs.h <<\_ACEOF
84960 #define HAVE_S_ISREG 1
84961 _ACEOF
84963 res=S_ISREG
84964 elif test $glibcxx_cv_S_IFREG = yes; then
84966 cat >>confdefs.h <<\_ACEOF
84967 #define HAVE_S_IFREG 1
84968 _ACEOF
84970 res=S_IFREG
84972 echo "$as_me:$LINENO: result: $res" >&5
84973 echo "${ECHO_T}$res" >&6
84976 # For xsputn_2().
84978 for ac_header in sys/uio.h
84980 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84982 echo "$as_me:$LINENO: checking for $ac_header" >&5
84983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84985 echo $ECHO_N "(cached) $ECHO_C" >&6
84987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84989 else
84990 # Is the header compilable?
84991 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84992 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84993 cat >conftest.$ac_ext <<_ACEOF
84994 /* confdefs.h. */
84995 _ACEOF
84996 cat confdefs.h >>conftest.$ac_ext
84997 cat >>conftest.$ac_ext <<_ACEOF
84998 /* end confdefs.h. */
84999 $ac_includes_default
85000 #include <$ac_header>
85001 _ACEOF
85002 rm -f conftest.$ac_objext
85003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85004 (eval $ac_compile) 2>conftest.er1
85005 ac_status=$?
85006 grep -v '^ *+' conftest.er1 >conftest.err
85007 rm -f conftest.er1
85008 cat conftest.err >&5
85009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85010 (exit $ac_status); } &&
85011 { ac_try='test -z "$ac_c_werror_flag"
85012 || test ! -s conftest.err'
85013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85014 (eval $ac_try) 2>&5
85015 ac_status=$?
85016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85017 (exit $ac_status); }; } &&
85018 { ac_try='test -s conftest.$ac_objext'
85019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85020 (eval $ac_try) 2>&5
85021 ac_status=$?
85022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85023 (exit $ac_status); }; }; then
85024 ac_header_compiler=yes
85025 else
85026 echo "$as_me: failed program was:" >&5
85027 sed 's/^/| /' conftest.$ac_ext >&5
85029 ac_header_compiler=no
85031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85033 echo "${ECHO_T}$ac_header_compiler" >&6
85035 # Is the header present?
85036 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85037 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85038 cat >conftest.$ac_ext <<_ACEOF
85039 /* confdefs.h. */
85040 _ACEOF
85041 cat confdefs.h >>conftest.$ac_ext
85042 cat >>conftest.$ac_ext <<_ACEOF
85043 /* end confdefs.h. */
85044 #include <$ac_header>
85045 _ACEOF
85046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85048 ac_status=$?
85049 grep -v '^ *+' conftest.er1 >conftest.err
85050 rm -f conftest.er1
85051 cat conftest.err >&5
85052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85053 (exit $ac_status); } >/dev/null; then
85054 if test -s conftest.err; then
85055 ac_cpp_err=$ac_c_preproc_warn_flag
85056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85057 else
85058 ac_cpp_err=
85060 else
85061 ac_cpp_err=yes
85063 if test -z "$ac_cpp_err"; then
85064 ac_header_preproc=yes
85065 else
85066 echo "$as_me: failed program was:" >&5
85067 sed 's/^/| /' conftest.$ac_ext >&5
85069 ac_header_preproc=no
85071 rm -f conftest.err conftest.$ac_ext
85072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85073 echo "${ECHO_T}$ac_header_preproc" >&6
85075 # So? What about this header?
85076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85077 yes:no: )
85078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85082 ac_header_preproc=yes
85084 no:yes:* )
85085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85098 cat <<\_ASBOX
85099 ## ----------------------------------------- ##
85100 ## Report this to the package-unused lists. ##
85101 ## ----------------------------------------- ##
85102 _ASBOX
85104 sed "s/^/$as_me: WARNING: /" >&2
85106 esac
85107 echo "$as_me:$LINENO: checking for $ac_header" >&5
85108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85110 echo $ECHO_N "(cached) $ECHO_C" >&6
85111 else
85112 eval "$as_ac_Header=\$ac_header_preproc"
85114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85119 cat >>confdefs.h <<_ACEOF
85120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85121 _ACEOF
85125 done
85128 echo "$as_me:$LINENO: checking for writev" >&5
85129 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85130 if test "${glibcxx_cv_WRITEV+set}" = set; then
85131 echo $ECHO_N "(cached) $ECHO_C" >&6
85132 else
85134 if test x$gcc_no_link = xyes; then
85135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85137 { (exit 1); exit 1; }; }
85139 cat >conftest.$ac_ext <<_ACEOF
85140 /* confdefs.h. */
85141 _ACEOF
85142 cat confdefs.h >>conftest.$ac_ext
85143 cat >>conftest.$ac_ext <<_ACEOF
85144 /* end confdefs.h. */
85145 #include <sys/uio.h>
85147 main ()
85149 struct iovec iov[2];
85150 writev(0, iov, 0);
85152 return 0;
85154 _ACEOF
85155 rm -f conftest.$ac_objext conftest$ac_exeext
85156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85157 (eval $ac_link) 2>conftest.er1
85158 ac_status=$?
85159 grep -v '^ *+' conftest.er1 >conftest.err
85160 rm -f conftest.er1
85161 cat conftest.err >&5
85162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85163 (exit $ac_status); } &&
85164 { ac_try='test -z "$ac_c_werror_flag"
85165 || test ! -s conftest.err'
85166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85167 (eval $ac_try) 2>&5
85168 ac_status=$?
85169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85170 (exit $ac_status); }; } &&
85171 { ac_try='test -s conftest$ac_exeext'
85172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85173 (eval $ac_try) 2>&5
85174 ac_status=$?
85175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85176 (exit $ac_status); }; }; then
85177 glibcxx_cv_WRITEV=yes
85178 else
85179 echo "$as_me: failed program was:" >&5
85180 sed 's/^/| /' conftest.$ac_ext >&5
85182 glibcxx_cv_WRITEV=no
85184 rm -f conftest.err conftest.$ac_objext \
85185 conftest$ac_exeext conftest.$ac_ext
85189 if test $glibcxx_cv_WRITEV = yes; then
85191 cat >>confdefs.h <<\_ACEOF
85192 #define HAVE_WRITEV 1
85193 _ACEOF
85196 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85197 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85200 cat >>confdefs.h <<\_ACEOF
85201 #define HAVE_LC_MESSAGES 1
85202 _ACEOF
85205 cat >conftest.$ac_ext <<_ACEOF
85206 /* confdefs.h. */
85207 _ACEOF
85208 cat confdefs.h >>conftest.$ac_ext
85209 cat >>conftest.$ac_ext <<_ACEOF
85210 /* end confdefs.h. */
85211 #include <setjmp.h>
85213 main ()
85215 sigjmp_buf env;
85216 while (! sigsetjmp (env, 1))
85217 siglongjmp (env, 1);
85220 return 0;
85222 _ACEOF
85223 rm -f conftest.$ac_objext
85224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85225 (eval $ac_compile) 2>conftest.er1
85226 ac_status=$?
85227 grep -v '^ *+' conftest.er1 >conftest.err
85228 rm -f conftest.er1
85229 cat conftest.err >&5
85230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85231 (exit $ac_status); } &&
85232 { ac_try='test -z "$ac_c_werror_flag"
85233 || test ! -s conftest.err'
85234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85235 (eval $ac_try) 2>&5
85236 ac_status=$?
85237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85238 (exit $ac_status); }; } &&
85239 { ac_try='test -s conftest.$ac_objext'
85240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85241 (eval $ac_try) 2>&5
85242 ac_status=$?
85243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85244 (exit $ac_status); }; }; then
85246 cat >>confdefs.h <<\_ACEOF
85247 #define HAVE_SIGSETJMP 1
85248 _ACEOF
85250 else
85251 echo "$as_me: failed program was:" >&5
85252 sed 's/^/| /' conftest.$ac_ext >&5
85255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85257 cat >>confdefs.h <<\_ACEOF
85258 #define HAVE_MMAP 1
85259 _ACEOF
85263 *djgpp)
85284 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85285 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85286 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85287 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85291 echo "$as_me:$LINENO: checking for $ac_header" >&5
85292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85294 echo $ECHO_N "(cached) $ECHO_C" >&6
85296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85298 else
85299 # Is the header compilable?
85300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85302 cat >conftest.$ac_ext <<_ACEOF
85303 /* confdefs.h. */
85304 _ACEOF
85305 cat confdefs.h >>conftest.$ac_ext
85306 cat >>conftest.$ac_ext <<_ACEOF
85307 /* end confdefs.h. */
85308 $ac_includes_default
85309 #include <$ac_header>
85310 _ACEOF
85311 rm -f conftest.$ac_objext
85312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85313 (eval $ac_compile) 2>conftest.er1
85314 ac_status=$?
85315 grep -v '^ *+' conftest.er1 >conftest.err
85316 rm -f conftest.er1
85317 cat conftest.err >&5
85318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85319 (exit $ac_status); } &&
85320 { ac_try='test -z "$ac_c_werror_flag"
85321 || test ! -s conftest.err'
85322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85323 (eval $ac_try) 2>&5
85324 ac_status=$?
85325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85326 (exit $ac_status); }; } &&
85327 { ac_try='test -s conftest.$ac_objext'
85328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85329 (eval $ac_try) 2>&5
85330 ac_status=$?
85331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85332 (exit $ac_status); }; }; then
85333 ac_header_compiler=yes
85334 else
85335 echo "$as_me: failed program was:" >&5
85336 sed 's/^/| /' conftest.$ac_ext >&5
85338 ac_header_compiler=no
85340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85342 echo "${ECHO_T}$ac_header_compiler" >&6
85344 # Is the header present?
85345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85347 cat >conftest.$ac_ext <<_ACEOF
85348 /* confdefs.h. */
85349 _ACEOF
85350 cat confdefs.h >>conftest.$ac_ext
85351 cat >>conftest.$ac_ext <<_ACEOF
85352 /* end confdefs.h. */
85353 #include <$ac_header>
85354 _ACEOF
85355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85357 ac_status=$?
85358 grep -v '^ *+' conftest.er1 >conftest.err
85359 rm -f conftest.er1
85360 cat conftest.err >&5
85361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85362 (exit $ac_status); } >/dev/null; then
85363 if test -s conftest.err; then
85364 ac_cpp_err=$ac_c_preproc_warn_flag
85365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85366 else
85367 ac_cpp_err=
85369 else
85370 ac_cpp_err=yes
85372 if test -z "$ac_cpp_err"; then
85373 ac_header_preproc=yes
85374 else
85375 echo "$as_me: failed program was:" >&5
85376 sed 's/^/| /' conftest.$ac_ext >&5
85378 ac_header_preproc=no
85380 rm -f conftest.err conftest.$ac_ext
85381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85382 echo "${ECHO_T}$ac_header_preproc" >&6
85384 # So? What about this header?
85385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85386 yes:no: )
85387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85391 ac_header_preproc=yes
85393 no:yes:* )
85394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85407 cat <<\_ASBOX
85408 ## ----------------------------------------- ##
85409 ## Report this to the package-unused lists. ##
85410 ## ----------------------------------------- ##
85411 _ASBOX
85413 sed "s/^/$as_me: WARNING: /" >&2
85415 esac
85416 echo "$as_me:$LINENO: checking for $ac_header" >&5
85417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85419 echo $ECHO_N "(cached) $ECHO_C" >&6
85420 else
85421 eval "$as_ac_Header=\$ac_header_preproc"
85423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85428 cat >>confdefs.h <<_ACEOF
85429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85430 _ACEOF
85434 done
85436 # GLIBCXX_CHECK_MATH_SUPPORT
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE_LIBM 1
85439 _ACEOF
85441 cat >>confdefs.h <<\_ACEOF
85442 #define HAVE_ISINF 1
85443 _ACEOF
85445 cat >>confdefs.h <<\_ACEOF
85446 #define HAVE_ISNAN 1
85447 _ACEOF
85449 cat >>confdefs.h <<\_ACEOF
85450 #define HAVE_FINITE 1
85451 _ACEOF
85453 cat >>confdefs.h <<\_ACEOF
85454 #define HAVE_COPYSIGN 1
85455 _ACEOF
85457 cat >>confdefs.h <<\_ACEOF
85458 #define HAVE_SINCOS 1
85459 _ACEOF
85461 cat >>confdefs.h <<\_ACEOF
85462 #define HAVE_HYPOT 1
85463 _ACEOF
85465 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85466 cat >>confdefs.h <<\_ACEOF
85467 #define HAVE___BUILTIN_ABS 1
85468 _ACEOF
85470 cat >>confdefs.h <<\_ACEOF
85471 #define HAVE___BUILTIN_FABSF 1
85472 _ACEOF
85474 cat >>confdefs.h <<\_ACEOF
85475 #define HAVE___BUILTIN_FABS 1
85476 _ACEOF
85478 cat >>confdefs.h <<\_ACEOF
85479 #define HAVE___BUILTIN_FABSL 1
85480 _ACEOF
85482 cat >>confdefs.h <<\_ACEOF
85483 #define HAVE___BUILTIN_LABS 1
85484 _ACEOF
85486 cat >>confdefs.h <<\_ACEOF
85487 #define HAVE___BUILTIN_SQRTF 1
85488 _ACEOF
85490 cat >>confdefs.h <<\_ACEOF
85491 #define HAVE___BUILTIN_SQRT 1
85492 _ACEOF
85494 cat >>confdefs.h <<\_ACEOF
85495 #define HAVE___BUILTIN_SQRTL 1
85496 _ACEOF
85498 cat >>confdefs.h <<\_ACEOF
85499 #define HAVE___BUILTIN_SINF 1
85500 _ACEOF
85502 cat >>confdefs.h <<\_ACEOF
85503 #define HAVE___BUILTIN_SIN 1
85504 _ACEOF
85506 cat >>confdefs.h <<\_ACEOF
85507 #define HAVE___BUILTIN_SINL 1
85508 _ACEOF
85510 cat >>confdefs.h <<\_ACEOF
85511 #define HAVE___BUILTIN_COSF 1
85512 _ACEOF
85514 cat >>confdefs.h <<\_ACEOF
85515 #define HAVE___BUILTIN_COS 1
85516 _ACEOF
85518 cat >>confdefs.h <<\_ACEOF
85519 #define HAVE___BUILTIN_COSL 1
85520 _ACEOF
85522 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85523 # GLIBCXX_CHECK_STDLIB_SUPPORT
85524 cat >>confdefs.h <<\_ACEOF
85525 #define HAVE_COPYSIGN 1
85526 _ACEOF
85528 cat >>confdefs.h <<\_ACEOF
85529 #define HAVE_COPYSIGNF 1
85530 _ACEOF
85532 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85533 cat >>confdefs.h <<\_ACEOF
85534 #define HAVE_S_ISREG 1
85535 _ACEOF
85537 cat >>confdefs.h <<\_ACEOF
85538 #define HAVE_S_IFREG 1
85539 _ACEOF
85541 cat >>confdefs.h <<\_ACEOF
85542 #define HAVE_WRITEV 1
85543 _ACEOF
85547 *-freebsd*)
85564 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85565 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85566 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85567 sys/time.h unistd.h
85569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85571 echo "$as_me:$LINENO: checking for $ac_header" >&5
85572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85574 echo $ECHO_N "(cached) $ECHO_C" >&6
85576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85578 else
85579 # Is the header compilable?
85580 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85582 cat >conftest.$ac_ext <<_ACEOF
85583 /* confdefs.h. */
85584 _ACEOF
85585 cat confdefs.h >>conftest.$ac_ext
85586 cat >>conftest.$ac_ext <<_ACEOF
85587 /* end confdefs.h. */
85588 $ac_includes_default
85589 #include <$ac_header>
85590 _ACEOF
85591 rm -f conftest.$ac_objext
85592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85593 (eval $ac_compile) 2>conftest.er1
85594 ac_status=$?
85595 grep -v '^ *+' conftest.er1 >conftest.err
85596 rm -f conftest.er1
85597 cat conftest.err >&5
85598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85599 (exit $ac_status); } &&
85600 { ac_try='test -z "$ac_c_werror_flag"
85601 || test ! -s conftest.err'
85602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85603 (eval $ac_try) 2>&5
85604 ac_status=$?
85605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85606 (exit $ac_status); }; } &&
85607 { ac_try='test -s conftest.$ac_objext'
85608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85609 (eval $ac_try) 2>&5
85610 ac_status=$?
85611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85612 (exit $ac_status); }; }; then
85613 ac_header_compiler=yes
85614 else
85615 echo "$as_me: failed program was:" >&5
85616 sed 's/^/| /' conftest.$ac_ext >&5
85618 ac_header_compiler=no
85620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85622 echo "${ECHO_T}$ac_header_compiler" >&6
85624 # Is the header present?
85625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85627 cat >conftest.$ac_ext <<_ACEOF
85628 /* confdefs.h. */
85629 _ACEOF
85630 cat confdefs.h >>conftest.$ac_ext
85631 cat >>conftest.$ac_ext <<_ACEOF
85632 /* end confdefs.h. */
85633 #include <$ac_header>
85634 _ACEOF
85635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85637 ac_status=$?
85638 grep -v '^ *+' conftest.er1 >conftest.err
85639 rm -f conftest.er1
85640 cat conftest.err >&5
85641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85642 (exit $ac_status); } >/dev/null; then
85643 if test -s conftest.err; then
85644 ac_cpp_err=$ac_c_preproc_warn_flag
85645 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85646 else
85647 ac_cpp_err=
85649 else
85650 ac_cpp_err=yes
85652 if test -z "$ac_cpp_err"; then
85653 ac_header_preproc=yes
85654 else
85655 echo "$as_me: failed program was:" >&5
85656 sed 's/^/| /' conftest.$ac_ext >&5
85658 ac_header_preproc=no
85660 rm -f conftest.err conftest.$ac_ext
85661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85662 echo "${ECHO_T}$ac_header_preproc" >&6
85664 # So? What about this header?
85665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85666 yes:no: )
85667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85671 ac_header_preproc=yes
85673 no:yes:* )
85674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85687 cat <<\_ASBOX
85688 ## ----------------------------------------- ##
85689 ## Report this to the package-unused lists. ##
85690 ## ----------------------------------------- ##
85691 _ASBOX
85693 sed "s/^/$as_me: WARNING: /" >&2
85695 esac
85696 echo "$as_me:$LINENO: checking for $ac_header" >&5
85697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85699 echo $ECHO_N "(cached) $ECHO_C" >&6
85700 else
85701 eval "$as_ac_Header=\$ac_header_preproc"
85703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85708 cat >>confdefs.h <<_ACEOF
85709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85710 _ACEOF
85714 done
85716 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85719 # If we're not using GNU ld, then there's no point in even trying these
85720 # tests. Check for that first. We should have already tested for gld
85721 # by now (in libtool), but require it now just to be safe...
85722 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85723 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85727 # The name set by libtool depends on the version of libtool. Shame on us
85728 # for depending on an impl detail, but c'est la vie. Older versions used
85729 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85730 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85731 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85732 # set (hence we're using an older libtool), then set it.
85733 if test x${with_gnu_ld+set} != xset; then
85734 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85735 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85736 with_gnu_ld=no
85737 else
85738 with_gnu_ld=$ac_cv_prog_gnu_ld
85742 # Start by getting the version number. I think the libtool test already
85743 # does some of this, but throws away the result.
85744 glibcxx_ld_is_gold=no
85745 if test x"$with_gnu_ld" = x"yes"; then
85746 echo "$as_me:$LINENO: checking for ld version" >&5
85747 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85749 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85750 glibcxx_ld_is_gold=yes
85752 ldver=`$LD --version 2>/dev/null | head -1 | \
85753 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85755 glibcxx_gnu_ld_version=`echo $ldver | \
85756 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85757 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85758 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85761 # Set --gc-sections.
85762 glibcxx_have_gc_sections=no
85763 if test "$glibcxx_ld_is_gold" = "yes"; then
85764 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85765 glibcxx_have_gc_sections=yes
85767 else
85768 glibcxx_gcsections_min_ld=21602
85769 if test x"$with_gnu_ld" = x"yes" &&
85770 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85771 glibcxx_have_gc_sections=yes
85774 if test "$glibcxx_have_gc_sections" = "yes"; then
85775 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85776 # NB: This flag only works reliably after 2.16.1. Configure tests
85777 # for this are difficult, so hard wire a value that should work.
85779 ac_test_CFLAGS="${CFLAGS+set}"
85780 ac_save_CFLAGS="$CFLAGS"
85781 CFLAGS='-Wl,--gc-sections'
85783 # Check for -Wl,--gc-sections
85784 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85785 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85786 if test x$gcc_no_link = xyes; then
85787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85789 { (exit 1); exit 1; }; }
85791 cat >conftest.$ac_ext <<_ACEOF
85792 /* confdefs.h. */
85793 _ACEOF
85794 cat confdefs.h >>conftest.$ac_ext
85795 cat >>conftest.$ac_ext <<_ACEOF
85796 /* end confdefs.h. */
85797 int one(void) { return 1; }
85798 int two(void) { return 2; }
85801 main ()
85803 two();
85805 return 0;
85807 _ACEOF
85808 rm -f conftest.$ac_objext conftest$ac_exeext
85809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85810 (eval $ac_link) 2>conftest.er1
85811 ac_status=$?
85812 grep -v '^ *+' conftest.er1 >conftest.err
85813 rm -f conftest.er1
85814 cat conftest.err >&5
85815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85816 (exit $ac_status); } &&
85817 { ac_try='test -z "$ac_c_werror_flag"
85818 || test ! -s conftest.err'
85819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85820 (eval $ac_try) 2>&5
85821 ac_status=$?
85822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85823 (exit $ac_status); }; } &&
85824 { ac_try='test -s conftest$ac_exeext'
85825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85826 (eval $ac_try) 2>&5
85827 ac_status=$?
85828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85829 (exit $ac_status); }; }; then
85830 ac_gcsections=yes
85831 else
85832 echo "$as_me: failed program was:" >&5
85833 sed 's/^/| /' conftest.$ac_ext >&5
85835 ac_gcsections=no
85837 rm -f conftest.err conftest.$ac_objext \
85838 conftest$ac_exeext conftest.$ac_ext
85839 if test "$ac_gcsections" = "yes"; then
85840 rm -f conftest.c
85841 touch conftest.c
85842 if $CC -c conftest.c; then
85843 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85844 grep "Warning: gc-sections option ignored" > /dev/null; then
85845 ac_gcsections=no
85848 rm -f conftest.c conftest.o conftest
85850 if test "$ac_gcsections" = "yes"; then
85851 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85853 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85854 echo "${ECHO_T}$ac_gcsections" >&6
85856 if test "$ac_test_CFLAGS" = set; then
85857 CFLAGS="$ac_save_CFLAGS"
85858 else
85859 # this is the suspicious part
85860 CFLAGS=''
85864 # Set -z,relro.
85865 # Note this is only for shared objects.
85866 ac_ld_relro=no
85867 if test x"$with_gnu_ld" = x"yes"; then
85868 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85869 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85870 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85871 if test -n "$cxx_z_relo"; then
85872 OPT_LDFLAGS="-Wl,-z,relro"
85873 ac_ld_relro=yes
85875 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85876 echo "${ECHO_T}$ac_ld_relro" >&6
85879 # Set linker optimization flags.
85880 if test x"$with_gnu_ld" = x"yes"; then
85881 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85889 echo "$as_me:$LINENO: checking for main in -lm" >&5
85890 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85891 if test "${ac_cv_lib_m_main+set}" = set; then
85892 echo $ECHO_N "(cached) $ECHO_C" >&6
85893 else
85894 ac_check_lib_save_LIBS=$LIBS
85895 LIBS="-lm $LIBS"
85896 if test x$gcc_no_link = xyes; then
85897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85899 { (exit 1); exit 1; }; }
85901 cat >conftest.$ac_ext <<_ACEOF
85902 /* confdefs.h. */
85903 _ACEOF
85904 cat confdefs.h >>conftest.$ac_ext
85905 cat >>conftest.$ac_ext <<_ACEOF
85906 /* end confdefs.h. */
85910 main ()
85912 main ();
85914 return 0;
85916 _ACEOF
85917 rm -f conftest.$ac_objext conftest$ac_exeext
85918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85919 (eval $ac_link) 2>conftest.er1
85920 ac_status=$?
85921 grep -v '^ *+' conftest.er1 >conftest.err
85922 rm -f conftest.er1
85923 cat conftest.err >&5
85924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85925 (exit $ac_status); } &&
85926 { ac_try='test -z "$ac_c_werror_flag"
85927 || test ! -s conftest.err'
85928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85929 (eval $ac_try) 2>&5
85930 ac_status=$?
85931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85932 (exit $ac_status); }; } &&
85933 { ac_try='test -s conftest$ac_exeext'
85934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85935 (eval $ac_try) 2>&5
85936 ac_status=$?
85937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85938 (exit $ac_status); }; }; then
85939 ac_cv_lib_m_main=yes
85940 else
85941 echo "$as_me: failed program was:" >&5
85942 sed 's/^/| /' conftest.$ac_ext >&5
85944 ac_cv_lib_m_main=no
85946 rm -f conftest.err conftest.$ac_objext \
85947 conftest$ac_exeext conftest.$ac_ext
85948 LIBS=$ac_check_lib_save_LIBS
85950 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85951 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85952 if test $ac_cv_lib_m_main = yes; then
85953 cat >>confdefs.h <<_ACEOF
85954 #define HAVE_LIBM 1
85955 _ACEOF
85957 LIBS="-lm $LIBS"
85962 for ac_func in copysignf
85964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85965 echo "$as_me:$LINENO: checking for $ac_func" >&5
85966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85967 if eval "test \"\${$as_ac_var+set}\" = set"; then
85968 echo $ECHO_N "(cached) $ECHO_C" >&6
85969 else
85970 if test x$gcc_no_link = xyes; then
85971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85973 { (exit 1); exit 1; }; }
85975 cat >conftest.$ac_ext <<_ACEOF
85976 /* confdefs.h. */
85977 _ACEOF
85978 cat confdefs.h >>conftest.$ac_ext
85979 cat >>conftest.$ac_ext <<_ACEOF
85980 /* end confdefs.h. */
85981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85983 #define $ac_func innocuous_$ac_func
85985 /* System header to define __stub macros and hopefully few prototypes,
85986 which can conflict with char $ac_func (); below.
85987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85988 <limits.h> exists even on freestanding compilers. */
85990 #ifdef __STDC__
85991 # include <limits.h>
85992 #else
85993 # include <assert.h>
85994 #endif
85996 #undef $ac_func
85998 /* Override any gcc2 internal prototype to avoid an error. */
85999 #ifdef __cplusplus
86000 extern "C"
86002 #endif
86003 /* We use char because int might match the return type of a gcc2
86004 builtin and then its argument prototype would still apply. */
86005 char $ac_func ();
86006 /* The GNU C library defines this for functions which it implements
86007 to always fail with ENOSYS. Some functions are actually named
86008 something starting with __ and the normal name is an alias. */
86009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86010 choke me
86011 #else
86012 char (*f) () = $ac_func;
86013 #endif
86014 #ifdef __cplusplus
86016 #endif
86019 main ()
86021 return f != $ac_func;
86023 return 0;
86025 _ACEOF
86026 rm -f conftest.$ac_objext conftest$ac_exeext
86027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86028 (eval $ac_link) 2>conftest.er1
86029 ac_status=$?
86030 grep -v '^ *+' conftest.er1 >conftest.err
86031 rm -f conftest.er1
86032 cat conftest.err >&5
86033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86034 (exit $ac_status); } &&
86035 { ac_try='test -z "$ac_c_werror_flag"
86036 || test ! -s conftest.err'
86037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86038 (eval $ac_try) 2>&5
86039 ac_status=$?
86040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86041 (exit $ac_status); }; } &&
86042 { ac_try='test -s conftest$ac_exeext'
86043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86044 (eval $ac_try) 2>&5
86045 ac_status=$?
86046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86047 (exit $ac_status); }; }; then
86048 eval "$as_ac_var=yes"
86049 else
86050 echo "$as_me: failed program was:" >&5
86051 sed 's/^/| /' conftest.$ac_ext >&5
86053 eval "$as_ac_var=no"
86055 rm -f conftest.err conftest.$ac_objext \
86056 conftest$ac_exeext conftest.$ac_ext
86058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86060 if test `eval echo '${'$as_ac_var'}'` = yes; then
86061 cat >>confdefs.h <<_ACEOF
86062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86063 _ACEOF
86065 else
86066 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86068 done
86072 for ac_func in __signbit
86074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86075 echo "$as_me:$LINENO: checking for $ac_func" >&5
86076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86077 if eval "test \"\${$as_ac_var+set}\" = set"; then
86078 echo $ECHO_N "(cached) $ECHO_C" >&6
86079 else
86080 if test x$gcc_no_link = xyes; then
86081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86083 { (exit 1); exit 1; }; }
86085 cat >conftest.$ac_ext <<_ACEOF
86086 /* confdefs.h. */
86087 _ACEOF
86088 cat confdefs.h >>conftest.$ac_ext
86089 cat >>conftest.$ac_ext <<_ACEOF
86090 /* end confdefs.h. */
86091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86093 #define $ac_func innocuous_$ac_func
86095 /* System header to define __stub macros and hopefully few prototypes,
86096 which can conflict with char $ac_func (); below.
86097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86098 <limits.h> exists even on freestanding compilers. */
86100 #ifdef __STDC__
86101 # include <limits.h>
86102 #else
86103 # include <assert.h>
86104 #endif
86106 #undef $ac_func
86108 /* Override any gcc2 internal prototype to avoid an error. */
86109 #ifdef __cplusplus
86110 extern "C"
86112 #endif
86113 /* We use char because int might match the return type of a gcc2
86114 builtin and then its argument prototype would still apply. */
86115 char $ac_func ();
86116 /* The GNU C library defines this for functions which it implements
86117 to always fail with ENOSYS. Some functions are actually named
86118 something starting with __ and the normal name is an alias. */
86119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86120 choke me
86121 #else
86122 char (*f) () = $ac_func;
86123 #endif
86124 #ifdef __cplusplus
86126 #endif
86129 main ()
86131 return f != $ac_func;
86133 return 0;
86135 _ACEOF
86136 rm -f conftest.$ac_objext conftest$ac_exeext
86137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86138 (eval $ac_link) 2>conftest.er1
86139 ac_status=$?
86140 grep -v '^ *+' conftest.er1 >conftest.err
86141 rm -f conftest.er1
86142 cat conftest.err >&5
86143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86144 (exit $ac_status); } &&
86145 { ac_try='test -z "$ac_c_werror_flag"
86146 || test ! -s conftest.err'
86147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86148 (eval $ac_try) 2>&5
86149 ac_status=$?
86150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86151 (exit $ac_status); }; } &&
86152 { ac_try='test -s conftest$ac_exeext'
86153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86154 (eval $ac_try) 2>&5
86155 ac_status=$?
86156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86157 (exit $ac_status); }; }; then
86158 eval "$as_ac_var=yes"
86159 else
86160 echo "$as_me: failed program was:" >&5
86161 sed 's/^/| /' conftest.$ac_ext >&5
86163 eval "$as_ac_var=no"
86165 rm -f conftest.err conftest.$ac_objext \
86166 conftest$ac_exeext conftest.$ac_ext
86168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86170 if test `eval echo '${'$as_ac_var'}'` = yes; then
86171 cat >>confdefs.h <<_ACEOF
86172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86173 _ACEOF
86175 else
86176 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86178 done
86182 for ac_func in __signbitf
86184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86185 echo "$as_me:$LINENO: checking for $ac_func" >&5
86186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86187 if eval "test \"\${$as_ac_var+set}\" = set"; then
86188 echo $ECHO_N "(cached) $ECHO_C" >&6
86189 else
86190 if test x$gcc_no_link = xyes; then
86191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86193 { (exit 1); exit 1; }; }
86195 cat >conftest.$ac_ext <<_ACEOF
86196 /* confdefs.h. */
86197 _ACEOF
86198 cat confdefs.h >>conftest.$ac_ext
86199 cat >>conftest.$ac_ext <<_ACEOF
86200 /* end confdefs.h. */
86201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86203 #define $ac_func innocuous_$ac_func
86205 /* System header to define __stub macros and hopefully few prototypes,
86206 which can conflict with char $ac_func (); below.
86207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86208 <limits.h> exists even on freestanding compilers. */
86210 #ifdef __STDC__
86211 # include <limits.h>
86212 #else
86213 # include <assert.h>
86214 #endif
86216 #undef $ac_func
86218 /* Override any gcc2 internal prototype to avoid an error. */
86219 #ifdef __cplusplus
86220 extern "C"
86222 #endif
86223 /* We use char because int might match the return type of a gcc2
86224 builtin and then its argument prototype would still apply. */
86225 char $ac_func ();
86226 /* The GNU C library defines this for functions which it implements
86227 to always fail with ENOSYS. Some functions are actually named
86228 something starting with __ and the normal name is an alias. */
86229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86230 choke me
86231 #else
86232 char (*f) () = $ac_func;
86233 #endif
86234 #ifdef __cplusplus
86236 #endif
86239 main ()
86241 return f != $ac_func;
86243 return 0;
86245 _ACEOF
86246 rm -f conftest.$ac_objext conftest$ac_exeext
86247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86248 (eval $ac_link) 2>conftest.er1
86249 ac_status=$?
86250 grep -v '^ *+' conftest.er1 >conftest.err
86251 rm -f conftest.er1
86252 cat conftest.err >&5
86253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86254 (exit $ac_status); } &&
86255 { ac_try='test -z "$ac_c_werror_flag"
86256 || test ! -s conftest.err'
86257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86258 (eval $ac_try) 2>&5
86259 ac_status=$?
86260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86261 (exit $ac_status); }; } &&
86262 { ac_try='test -s conftest$ac_exeext'
86263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86264 (eval $ac_try) 2>&5
86265 ac_status=$?
86266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86267 (exit $ac_status); }; }; then
86268 eval "$as_ac_var=yes"
86269 else
86270 echo "$as_me: failed program was:" >&5
86271 sed 's/^/| /' conftest.$ac_ext >&5
86273 eval "$as_ac_var=no"
86275 rm -f conftest.err conftest.$ac_objext \
86276 conftest$ac_exeext conftest.$ac_ext
86278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86280 if test `eval echo '${'$as_ac_var'}'` = yes; then
86281 cat >>confdefs.h <<_ACEOF
86282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86283 _ACEOF
86285 else
86286 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86288 done
86291 if test x$ac_cv_func_copysignl = x"yes"; then
86293 for ac_func in __signbitl
86295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86296 echo "$as_me:$LINENO: checking for $ac_func" >&5
86297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86298 if eval "test \"\${$as_ac_var+set}\" = set"; then
86299 echo $ECHO_N "(cached) $ECHO_C" >&6
86300 else
86301 if test x$gcc_no_link = xyes; then
86302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86304 { (exit 1); exit 1; }; }
86306 cat >conftest.$ac_ext <<_ACEOF
86307 /* confdefs.h. */
86308 _ACEOF
86309 cat confdefs.h >>conftest.$ac_ext
86310 cat >>conftest.$ac_ext <<_ACEOF
86311 /* end confdefs.h. */
86312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86314 #define $ac_func innocuous_$ac_func
86316 /* System header to define __stub macros and hopefully few prototypes,
86317 which can conflict with char $ac_func (); below.
86318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86319 <limits.h> exists even on freestanding compilers. */
86321 #ifdef __STDC__
86322 # include <limits.h>
86323 #else
86324 # include <assert.h>
86325 #endif
86327 #undef $ac_func
86329 /* Override any gcc2 internal prototype to avoid an error. */
86330 #ifdef __cplusplus
86331 extern "C"
86333 #endif
86334 /* We use char because int might match the return type of a gcc2
86335 builtin and then its argument prototype would still apply. */
86336 char $ac_func ();
86337 /* The GNU C library defines this for functions which it implements
86338 to always fail with ENOSYS. Some functions are actually named
86339 something starting with __ and the normal name is an alias. */
86340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86341 choke me
86342 #else
86343 char (*f) () = $ac_func;
86344 #endif
86345 #ifdef __cplusplus
86347 #endif
86350 main ()
86352 return f != $ac_func;
86354 return 0;
86356 _ACEOF
86357 rm -f conftest.$ac_objext conftest$ac_exeext
86358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86359 (eval $ac_link) 2>conftest.er1
86360 ac_status=$?
86361 grep -v '^ *+' conftest.er1 >conftest.err
86362 rm -f conftest.er1
86363 cat conftest.err >&5
86364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86365 (exit $ac_status); } &&
86366 { ac_try='test -z "$ac_c_werror_flag"
86367 || test ! -s conftest.err'
86368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86369 (eval $ac_try) 2>&5
86370 ac_status=$?
86371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86372 (exit $ac_status); }; } &&
86373 { ac_try='test -s conftest$ac_exeext'
86374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86375 (eval $ac_try) 2>&5
86376 ac_status=$?
86377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86378 (exit $ac_status); }; }; then
86379 eval "$as_ac_var=yes"
86380 else
86381 echo "$as_me: failed program was:" >&5
86382 sed 's/^/| /' conftest.$ac_ext >&5
86384 eval "$as_ac_var=no"
86386 rm -f conftest.err conftest.$ac_objext \
86387 conftest$ac_exeext conftest.$ac_ext
86389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86391 if test `eval echo '${'$as_ac_var'}'` = yes; then
86392 cat >>confdefs.h <<_ACEOF
86393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86394 _ACEOF
86396 else
86397 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86399 done
86403 # Used in libmath/Makefile.am.
86404 if test -n "$LIBMATHOBJS"; then
86405 need_libmath=yes
86409 cat >>confdefs.h <<\_ACEOF
86410 #define HAVE_LC_MESSAGES 1
86411 _ACEOF
86413 cat >>confdefs.h <<\_ACEOF
86414 #define HAVE_GETPAGESIZE 1
86415 _ACEOF
86417 cat >>confdefs.h <<\_ACEOF
86418 #define HAVE_SETENV 1
86419 _ACEOF
86421 cat >>confdefs.h <<\_ACEOF
86422 #define HAVE_SIGSETJMP 1
86423 _ACEOF
86425 cat >>confdefs.h <<\_ACEOF
86426 #define HAVE_COPYSIGN 1
86427 _ACEOF
86429 cat >>confdefs.h <<\_ACEOF
86430 #define HAVE_COPYSIGNF 1
86431 _ACEOF
86433 cat >>confdefs.h <<\_ACEOF
86434 #define HAVE_FINITEF 1
86435 _ACEOF
86437 cat >>confdefs.h <<\_ACEOF
86438 #define HAVE_FINITE 1
86439 _ACEOF
86441 cat >>confdefs.h <<\_ACEOF
86442 #define HAVE_FREXPF 1
86443 _ACEOF
86445 cat >>confdefs.h <<\_ACEOF
86446 #define HAVE_HYPOT 1
86447 _ACEOF
86449 cat >>confdefs.h <<\_ACEOF
86450 #define HAVE_HYPOTF 1
86451 _ACEOF
86453 cat >>confdefs.h <<\_ACEOF
86454 #define HAVE_ISINF 1
86455 _ACEOF
86457 cat >>confdefs.h <<\_ACEOF
86458 #define HAVE_ISNAN 1
86459 _ACEOF
86461 cat >>confdefs.h <<\_ACEOF
86462 #define HAVE_ISNANF 1
86463 _ACEOF
86466 cat >>confdefs.h <<\_ACEOF
86467 #define HAVE_MMAP 1
86468 _ACEOF
86470 cat >>confdefs.h <<\_ACEOF
86471 #define HAVE_ACOSF 1
86472 _ACEOF
86474 cat >>confdefs.h <<\_ACEOF
86475 #define HAVE_ASINF 1
86476 _ACEOF
86478 cat >>confdefs.h <<\_ACEOF
86479 #define HAVE_ATAN2F 1
86480 _ACEOF
86482 cat >>confdefs.h <<\_ACEOF
86483 #define HAVE_ATANF 1
86484 _ACEOF
86486 cat >>confdefs.h <<\_ACEOF
86487 #define HAVE_CEILF 1
86488 _ACEOF
86490 cat >>confdefs.h <<\_ACEOF
86491 #define HAVE_COPYSIGN 1
86492 _ACEOF
86494 cat >>confdefs.h <<\_ACEOF
86495 #define HAVE_COPYSIGNF 1
86496 _ACEOF
86498 cat >>confdefs.h <<\_ACEOF
86499 #define HAVE_COSF 1
86500 _ACEOF
86502 cat >>confdefs.h <<\_ACEOF
86503 #define HAVE_COSHF 1
86504 _ACEOF
86506 cat >>confdefs.h <<\_ACEOF
86507 #define HAVE_EXPF 1
86508 _ACEOF
86510 cat >>confdefs.h <<\_ACEOF
86511 #define HAVE_FABSF 1
86512 _ACEOF
86514 cat >>confdefs.h <<\_ACEOF
86515 #define HAVE_FLOORF 1
86516 _ACEOF
86518 cat >>confdefs.h <<\_ACEOF
86519 #define HAVE_FMODF 1
86520 _ACEOF
86522 cat >>confdefs.h <<\_ACEOF
86523 #define HAVE_FREXPF 1
86524 _ACEOF
86526 cat >>confdefs.h <<\_ACEOF
86527 #define HAVE_LDEXPF 1
86528 _ACEOF
86530 cat >>confdefs.h <<\_ACEOF
86531 #define HAVE_LOG10F 1
86532 _ACEOF
86534 cat >>confdefs.h <<\_ACEOF
86535 #define HAVE_LOGF 1
86536 _ACEOF
86538 cat >>confdefs.h <<\_ACEOF
86539 #define HAVE_MODFF 1
86540 _ACEOF
86542 cat >>confdefs.h <<\_ACEOF
86543 #define HAVE_POWF 1
86544 _ACEOF
86546 cat >>confdefs.h <<\_ACEOF
86547 #define HAVE_SINF 1
86548 _ACEOF
86550 cat >>confdefs.h <<\_ACEOF
86551 #define HAVE_SINHF 1
86552 _ACEOF
86554 cat >>confdefs.h <<\_ACEOF
86555 #define HAVE_SQRTF 1
86556 _ACEOF
86558 cat >>confdefs.h <<\_ACEOF
86559 #define HAVE_TANF 1
86560 _ACEOF
86562 cat >>confdefs.h <<\_ACEOF
86563 #define HAVE_TANHF 1
86564 _ACEOF
86566 if test x"long_double_math_on_this_cpu" = x"yes"; then
86567 cat >>confdefs.h <<\_ACEOF
86568 #define HAVE_FINITEL 1
86569 _ACEOF
86571 cat >>confdefs.h <<\_ACEOF
86572 #define HAVE_ISINFL 1
86573 _ACEOF
86575 cat >>confdefs.h <<\_ACEOF
86576 #define HAVE_ISNANL 1
86577 _ACEOF
86581 *-hpux*)
86594 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86595 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86596 fp.h locale.h float.h inttypes.h
86598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86600 echo "$as_me:$LINENO: checking for $ac_header" >&5
86601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86603 echo $ECHO_N "(cached) $ECHO_C" >&6
86605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86607 else
86608 # Is the header compilable?
86609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86611 cat >conftest.$ac_ext <<_ACEOF
86612 /* confdefs.h. */
86613 _ACEOF
86614 cat confdefs.h >>conftest.$ac_ext
86615 cat >>conftest.$ac_ext <<_ACEOF
86616 /* end confdefs.h. */
86617 $ac_includes_default
86618 #include <$ac_header>
86619 _ACEOF
86620 rm -f conftest.$ac_objext
86621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86622 (eval $ac_compile) 2>conftest.er1
86623 ac_status=$?
86624 grep -v '^ *+' conftest.er1 >conftest.err
86625 rm -f conftest.er1
86626 cat conftest.err >&5
86627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86628 (exit $ac_status); } &&
86629 { ac_try='test -z "$ac_c_werror_flag"
86630 || test ! -s conftest.err'
86631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86632 (eval $ac_try) 2>&5
86633 ac_status=$?
86634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86635 (exit $ac_status); }; } &&
86636 { ac_try='test -s conftest.$ac_objext'
86637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86638 (eval $ac_try) 2>&5
86639 ac_status=$?
86640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86641 (exit $ac_status); }; }; then
86642 ac_header_compiler=yes
86643 else
86644 echo "$as_me: failed program was:" >&5
86645 sed 's/^/| /' conftest.$ac_ext >&5
86647 ac_header_compiler=no
86649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86651 echo "${ECHO_T}$ac_header_compiler" >&6
86653 # Is the header present?
86654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86656 cat >conftest.$ac_ext <<_ACEOF
86657 /* confdefs.h. */
86658 _ACEOF
86659 cat confdefs.h >>conftest.$ac_ext
86660 cat >>conftest.$ac_ext <<_ACEOF
86661 /* end confdefs.h. */
86662 #include <$ac_header>
86663 _ACEOF
86664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86665 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86666 ac_status=$?
86667 grep -v '^ *+' conftest.er1 >conftest.err
86668 rm -f conftest.er1
86669 cat conftest.err >&5
86670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86671 (exit $ac_status); } >/dev/null; then
86672 if test -s conftest.err; then
86673 ac_cpp_err=$ac_c_preproc_warn_flag
86674 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86675 else
86676 ac_cpp_err=
86678 else
86679 ac_cpp_err=yes
86681 if test -z "$ac_cpp_err"; then
86682 ac_header_preproc=yes
86683 else
86684 echo "$as_me: failed program was:" >&5
86685 sed 's/^/| /' conftest.$ac_ext >&5
86687 ac_header_preproc=no
86689 rm -f conftest.err conftest.$ac_ext
86690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86691 echo "${ECHO_T}$ac_header_preproc" >&6
86693 # So? What about this header?
86694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86695 yes:no: )
86696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86700 ac_header_preproc=yes
86702 no:yes:* )
86703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86716 cat <<\_ASBOX
86717 ## ----------------------------------------- ##
86718 ## Report this to the package-unused lists. ##
86719 ## ----------------------------------------- ##
86720 _ASBOX
86722 sed "s/^/$as_me: WARNING: /" >&2
86724 esac
86725 echo "$as_me:$LINENO: checking for $ac_header" >&5
86726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86728 echo $ECHO_N "(cached) $ECHO_C" >&6
86729 else
86730 eval "$as_ac_Header=\$ac_header_preproc"
86732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86737 cat >>confdefs.h <<_ACEOF
86738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86739 _ACEOF
86743 done
86745 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86748 # If we're not using GNU ld, then there's no point in even trying these
86749 # tests. Check for that first. We should have already tested for gld
86750 # by now (in libtool), but require it now just to be safe...
86751 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86752 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86756 # The name set by libtool depends on the version of libtool. Shame on us
86757 # for depending on an impl detail, but c'est la vie. Older versions used
86758 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86759 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86760 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86761 # set (hence we're using an older libtool), then set it.
86762 if test x${with_gnu_ld+set} != xset; then
86763 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86764 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86765 with_gnu_ld=no
86766 else
86767 with_gnu_ld=$ac_cv_prog_gnu_ld
86771 # Start by getting the version number. I think the libtool test already
86772 # does some of this, but throws away the result.
86773 glibcxx_ld_is_gold=no
86774 if test x"$with_gnu_ld" = x"yes"; then
86775 echo "$as_me:$LINENO: checking for ld version" >&5
86776 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86778 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86779 glibcxx_ld_is_gold=yes
86781 ldver=`$LD --version 2>/dev/null | head -1 | \
86782 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86784 glibcxx_gnu_ld_version=`echo $ldver | \
86785 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86786 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86787 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86790 # Set --gc-sections.
86791 glibcxx_have_gc_sections=no
86792 if test "$glibcxx_ld_is_gold" = "yes"; then
86793 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86794 glibcxx_have_gc_sections=yes
86796 else
86797 glibcxx_gcsections_min_ld=21602
86798 if test x"$with_gnu_ld" = x"yes" &&
86799 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86800 glibcxx_have_gc_sections=yes
86803 if test "$glibcxx_have_gc_sections" = "yes"; then
86804 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86805 # NB: This flag only works reliably after 2.16.1. Configure tests
86806 # for this are difficult, so hard wire a value that should work.
86808 ac_test_CFLAGS="${CFLAGS+set}"
86809 ac_save_CFLAGS="$CFLAGS"
86810 CFLAGS='-Wl,--gc-sections'
86812 # Check for -Wl,--gc-sections
86813 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86814 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86815 if test x$gcc_no_link = xyes; then
86816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86818 { (exit 1); exit 1; }; }
86820 cat >conftest.$ac_ext <<_ACEOF
86821 /* confdefs.h. */
86822 _ACEOF
86823 cat confdefs.h >>conftest.$ac_ext
86824 cat >>conftest.$ac_ext <<_ACEOF
86825 /* end confdefs.h. */
86826 int one(void) { return 1; }
86827 int two(void) { return 2; }
86830 main ()
86832 two();
86834 return 0;
86836 _ACEOF
86837 rm -f conftest.$ac_objext conftest$ac_exeext
86838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86839 (eval $ac_link) 2>conftest.er1
86840 ac_status=$?
86841 grep -v '^ *+' conftest.er1 >conftest.err
86842 rm -f conftest.er1
86843 cat conftest.err >&5
86844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86845 (exit $ac_status); } &&
86846 { ac_try='test -z "$ac_c_werror_flag"
86847 || test ! -s conftest.err'
86848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86849 (eval $ac_try) 2>&5
86850 ac_status=$?
86851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86852 (exit $ac_status); }; } &&
86853 { ac_try='test -s conftest$ac_exeext'
86854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86855 (eval $ac_try) 2>&5
86856 ac_status=$?
86857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86858 (exit $ac_status); }; }; then
86859 ac_gcsections=yes
86860 else
86861 echo "$as_me: failed program was:" >&5
86862 sed 's/^/| /' conftest.$ac_ext >&5
86864 ac_gcsections=no
86866 rm -f conftest.err conftest.$ac_objext \
86867 conftest$ac_exeext conftest.$ac_ext
86868 if test "$ac_gcsections" = "yes"; then
86869 rm -f conftest.c
86870 touch conftest.c
86871 if $CC -c conftest.c; then
86872 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86873 grep "Warning: gc-sections option ignored" > /dev/null; then
86874 ac_gcsections=no
86877 rm -f conftest.c conftest.o conftest
86879 if test "$ac_gcsections" = "yes"; then
86880 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86882 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86883 echo "${ECHO_T}$ac_gcsections" >&6
86885 if test "$ac_test_CFLAGS" = set; then
86886 CFLAGS="$ac_save_CFLAGS"
86887 else
86888 # this is the suspicious part
86889 CFLAGS=''
86893 # Set -z,relro.
86894 # Note this is only for shared objects.
86895 ac_ld_relro=no
86896 if test x"$with_gnu_ld" = x"yes"; then
86897 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86898 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86899 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86900 if test -n "$cxx_z_relo"; then
86901 OPT_LDFLAGS="-Wl,-z,relro"
86902 ac_ld_relro=yes
86904 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86905 echo "${ECHO_T}$ac_ld_relro" >&6
86908 # Set linker optimization flags.
86909 if test x"$with_gnu_ld" = x"yes"; then
86910 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86918 echo "$as_me:$LINENO: checking for main in -lm" >&5
86919 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86920 if test "${ac_cv_lib_m_main+set}" = set; then
86921 echo $ECHO_N "(cached) $ECHO_C" >&6
86922 else
86923 ac_check_lib_save_LIBS=$LIBS
86924 LIBS="-lm $LIBS"
86925 if test x$gcc_no_link = xyes; then
86926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86928 { (exit 1); exit 1; }; }
86930 cat >conftest.$ac_ext <<_ACEOF
86931 /* confdefs.h. */
86932 _ACEOF
86933 cat confdefs.h >>conftest.$ac_ext
86934 cat >>conftest.$ac_ext <<_ACEOF
86935 /* end confdefs.h. */
86939 main ()
86941 main ();
86943 return 0;
86945 _ACEOF
86946 rm -f conftest.$ac_objext conftest$ac_exeext
86947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86948 (eval $ac_link) 2>conftest.er1
86949 ac_status=$?
86950 grep -v '^ *+' conftest.er1 >conftest.err
86951 rm -f conftest.er1
86952 cat conftest.err >&5
86953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86954 (exit $ac_status); } &&
86955 { ac_try='test -z "$ac_c_werror_flag"
86956 || test ! -s conftest.err'
86957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86958 (eval $ac_try) 2>&5
86959 ac_status=$?
86960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86961 (exit $ac_status); }; } &&
86962 { ac_try='test -s conftest$ac_exeext'
86963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86964 (eval $ac_try) 2>&5
86965 ac_status=$?
86966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86967 (exit $ac_status); }; }; then
86968 ac_cv_lib_m_main=yes
86969 else
86970 echo "$as_me: failed program was:" >&5
86971 sed 's/^/| /' conftest.$ac_ext >&5
86973 ac_cv_lib_m_main=no
86975 rm -f conftest.err conftest.$ac_objext \
86976 conftest$ac_exeext conftest.$ac_ext
86977 LIBS=$ac_check_lib_save_LIBS
86979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86980 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86981 if test $ac_cv_lib_m_main = yes; then
86982 cat >>confdefs.h <<_ACEOF
86983 #define HAVE_LIBM 1
86984 _ACEOF
86986 LIBS="-lm $LIBS"
86991 for ac_func in copysignf
86993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86994 echo "$as_me:$LINENO: checking for $ac_func" >&5
86995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86996 if eval "test \"\${$as_ac_var+set}\" = set"; then
86997 echo $ECHO_N "(cached) $ECHO_C" >&6
86998 else
86999 if test x$gcc_no_link = xyes; then
87000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87002 { (exit 1); exit 1; }; }
87004 cat >conftest.$ac_ext <<_ACEOF
87005 /* confdefs.h. */
87006 _ACEOF
87007 cat confdefs.h >>conftest.$ac_ext
87008 cat >>conftest.$ac_ext <<_ACEOF
87009 /* end confdefs.h. */
87010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87012 #define $ac_func innocuous_$ac_func
87014 /* System header to define __stub macros and hopefully few prototypes,
87015 which can conflict with char $ac_func (); below.
87016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87017 <limits.h> exists even on freestanding compilers. */
87019 #ifdef __STDC__
87020 # include <limits.h>
87021 #else
87022 # include <assert.h>
87023 #endif
87025 #undef $ac_func
87027 /* Override any gcc2 internal prototype to avoid an error. */
87028 #ifdef __cplusplus
87029 extern "C"
87031 #endif
87032 /* We use char because int might match the return type of a gcc2
87033 builtin and then its argument prototype would still apply. */
87034 char $ac_func ();
87035 /* The GNU C library defines this for functions which it implements
87036 to always fail with ENOSYS. Some functions are actually named
87037 something starting with __ and the normal name is an alias. */
87038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87039 choke me
87040 #else
87041 char (*f) () = $ac_func;
87042 #endif
87043 #ifdef __cplusplus
87045 #endif
87048 main ()
87050 return f != $ac_func;
87052 return 0;
87054 _ACEOF
87055 rm -f conftest.$ac_objext conftest$ac_exeext
87056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87057 (eval $ac_link) 2>conftest.er1
87058 ac_status=$?
87059 grep -v '^ *+' conftest.er1 >conftest.err
87060 rm -f conftest.er1
87061 cat conftest.err >&5
87062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87063 (exit $ac_status); } &&
87064 { ac_try='test -z "$ac_c_werror_flag"
87065 || test ! -s conftest.err'
87066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87067 (eval $ac_try) 2>&5
87068 ac_status=$?
87069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87070 (exit $ac_status); }; } &&
87071 { ac_try='test -s conftest$ac_exeext'
87072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87073 (eval $ac_try) 2>&5
87074 ac_status=$?
87075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87076 (exit $ac_status); }; }; then
87077 eval "$as_ac_var=yes"
87078 else
87079 echo "$as_me: failed program was:" >&5
87080 sed 's/^/| /' conftest.$ac_ext >&5
87082 eval "$as_ac_var=no"
87084 rm -f conftest.err conftest.$ac_objext \
87085 conftest$ac_exeext conftest.$ac_ext
87087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87089 if test `eval echo '${'$as_ac_var'}'` = yes; then
87090 cat >>confdefs.h <<_ACEOF
87091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87092 _ACEOF
87094 else
87095 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87097 done
87101 for ac_func in __signbit
87103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87104 echo "$as_me:$LINENO: checking for $ac_func" >&5
87105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87106 if eval "test \"\${$as_ac_var+set}\" = set"; then
87107 echo $ECHO_N "(cached) $ECHO_C" >&6
87108 else
87109 if test x$gcc_no_link = xyes; then
87110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87112 { (exit 1); exit 1; }; }
87114 cat >conftest.$ac_ext <<_ACEOF
87115 /* confdefs.h. */
87116 _ACEOF
87117 cat confdefs.h >>conftest.$ac_ext
87118 cat >>conftest.$ac_ext <<_ACEOF
87119 /* end confdefs.h. */
87120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87122 #define $ac_func innocuous_$ac_func
87124 /* System header to define __stub macros and hopefully few prototypes,
87125 which can conflict with char $ac_func (); below.
87126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87127 <limits.h> exists even on freestanding compilers. */
87129 #ifdef __STDC__
87130 # include <limits.h>
87131 #else
87132 # include <assert.h>
87133 #endif
87135 #undef $ac_func
87137 /* Override any gcc2 internal prototype to avoid an error. */
87138 #ifdef __cplusplus
87139 extern "C"
87141 #endif
87142 /* We use char because int might match the return type of a gcc2
87143 builtin and then its argument prototype would still apply. */
87144 char $ac_func ();
87145 /* The GNU C library defines this for functions which it implements
87146 to always fail with ENOSYS. Some functions are actually named
87147 something starting with __ and the normal name is an alias. */
87148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87149 choke me
87150 #else
87151 char (*f) () = $ac_func;
87152 #endif
87153 #ifdef __cplusplus
87155 #endif
87158 main ()
87160 return f != $ac_func;
87162 return 0;
87164 _ACEOF
87165 rm -f conftest.$ac_objext conftest$ac_exeext
87166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87167 (eval $ac_link) 2>conftest.er1
87168 ac_status=$?
87169 grep -v '^ *+' conftest.er1 >conftest.err
87170 rm -f conftest.er1
87171 cat conftest.err >&5
87172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87173 (exit $ac_status); } &&
87174 { ac_try='test -z "$ac_c_werror_flag"
87175 || test ! -s conftest.err'
87176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87177 (eval $ac_try) 2>&5
87178 ac_status=$?
87179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87180 (exit $ac_status); }; } &&
87181 { ac_try='test -s conftest$ac_exeext'
87182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87183 (eval $ac_try) 2>&5
87184 ac_status=$?
87185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87186 (exit $ac_status); }; }; then
87187 eval "$as_ac_var=yes"
87188 else
87189 echo "$as_me: failed program was:" >&5
87190 sed 's/^/| /' conftest.$ac_ext >&5
87192 eval "$as_ac_var=no"
87194 rm -f conftest.err conftest.$ac_objext \
87195 conftest$ac_exeext conftest.$ac_ext
87197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87199 if test `eval echo '${'$as_ac_var'}'` = yes; then
87200 cat >>confdefs.h <<_ACEOF
87201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87202 _ACEOF
87204 else
87205 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87207 done
87211 for ac_func in __signbitf
87213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87214 echo "$as_me:$LINENO: checking for $ac_func" >&5
87215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87216 if eval "test \"\${$as_ac_var+set}\" = set"; then
87217 echo $ECHO_N "(cached) $ECHO_C" >&6
87218 else
87219 if test x$gcc_no_link = xyes; then
87220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87222 { (exit 1); exit 1; }; }
87224 cat >conftest.$ac_ext <<_ACEOF
87225 /* confdefs.h. */
87226 _ACEOF
87227 cat confdefs.h >>conftest.$ac_ext
87228 cat >>conftest.$ac_ext <<_ACEOF
87229 /* end confdefs.h. */
87230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87232 #define $ac_func innocuous_$ac_func
87234 /* System header to define __stub macros and hopefully few prototypes,
87235 which can conflict with char $ac_func (); below.
87236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87237 <limits.h> exists even on freestanding compilers. */
87239 #ifdef __STDC__
87240 # include <limits.h>
87241 #else
87242 # include <assert.h>
87243 #endif
87245 #undef $ac_func
87247 /* Override any gcc2 internal prototype to avoid an error. */
87248 #ifdef __cplusplus
87249 extern "C"
87251 #endif
87252 /* We use char because int might match the return type of a gcc2
87253 builtin and then its argument prototype would still apply. */
87254 char $ac_func ();
87255 /* The GNU C library defines this for functions which it implements
87256 to always fail with ENOSYS. Some functions are actually named
87257 something starting with __ and the normal name is an alias. */
87258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87259 choke me
87260 #else
87261 char (*f) () = $ac_func;
87262 #endif
87263 #ifdef __cplusplus
87265 #endif
87268 main ()
87270 return f != $ac_func;
87272 return 0;
87274 _ACEOF
87275 rm -f conftest.$ac_objext conftest$ac_exeext
87276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87277 (eval $ac_link) 2>conftest.er1
87278 ac_status=$?
87279 grep -v '^ *+' conftest.er1 >conftest.err
87280 rm -f conftest.er1
87281 cat conftest.err >&5
87282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87283 (exit $ac_status); } &&
87284 { ac_try='test -z "$ac_c_werror_flag"
87285 || test ! -s conftest.err'
87286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87287 (eval $ac_try) 2>&5
87288 ac_status=$?
87289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87290 (exit $ac_status); }; } &&
87291 { ac_try='test -s conftest$ac_exeext'
87292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87293 (eval $ac_try) 2>&5
87294 ac_status=$?
87295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87296 (exit $ac_status); }; }; then
87297 eval "$as_ac_var=yes"
87298 else
87299 echo "$as_me: failed program was:" >&5
87300 sed 's/^/| /' conftest.$ac_ext >&5
87302 eval "$as_ac_var=no"
87304 rm -f conftest.err conftest.$ac_objext \
87305 conftest$ac_exeext conftest.$ac_ext
87307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87309 if test `eval echo '${'$as_ac_var'}'` = yes; then
87310 cat >>confdefs.h <<_ACEOF
87311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87312 _ACEOF
87314 else
87315 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87317 done
87320 if test x$ac_cv_func_copysignl = x"yes"; then
87322 for ac_func in __signbitl
87324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87325 echo "$as_me:$LINENO: checking for $ac_func" >&5
87326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87327 if eval "test \"\${$as_ac_var+set}\" = set"; then
87328 echo $ECHO_N "(cached) $ECHO_C" >&6
87329 else
87330 if test x$gcc_no_link = xyes; then
87331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87333 { (exit 1); exit 1; }; }
87335 cat >conftest.$ac_ext <<_ACEOF
87336 /* confdefs.h. */
87337 _ACEOF
87338 cat confdefs.h >>conftest.$ac_ext
87339 cat >>conftest.$ac_ext <<_ACEOF
87340 /* end confdefs.h. */
87341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87343 #define $ac_func innocuous_$ac_func
87345 /* System header to define __stub macros and hopefully few prototypes,
87346 which can conflict with char $ac_func (); below.
87347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87348 <limits.h> exists even on freestanding compilers. */
87350 #ifdef __STDC__
87351 # include <limits.h>
87352 #else
87353 # include <assert.h>
87354 #endif
87356 #undef $ac_func
87358 /* Override any gcc2 internal prototype to avoid an error. */
87359 #ifdef __cplusplus
87360 extern "C"
87362 #endif
87363 /* We use char because int might match the return type of a gcc2
87364 builtin and then its argument prototype would still apply. */
87365 char $ac_func ();
87366 /* The GNU C library defines this for functions which it implements
87367 to always fail with ENOSYS. Some functions are actually named
87368 something starting with __ and the normal name is an alias. */
87369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87370 choke me
87371 #else
87372 char (*f) () = $ac_func;
87373 #endif
87374 #ifdef __cplusplus
87376 #endif
87379 main ()
87381 return f != $ac_func;
87383 return 0;
87385 _ACEOF
87386 rm -f conftest.$ac_objext conftest$ac_exeext
87387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87388 (eval $ac_link) 2>conftest.er1
87389 ac_status=$?
87390 grep -v '^ *+' conftest.er1 >conftest.err
87391 rm -f conftest.er1
87392 cat conftest.err >&5
87393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87394 (exit $ac_status); } &&
87395 { ac_try='test -z "$ac_c_werror_flag"
87396 || test ! -s conftest.err'
87397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87398 (eval $ac_try) 2>&5
87399 ac_status=$?
87400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87401 (exit $ac_status); }; } &&
87402 { ac_try='test -s conftest$ac_exeext'
87403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87404 (eval $ac_try) 2>&5
87405 ac_status=$?
87406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87407 (exit $ac_status); }; }; then
87408 eval "$as_ac_var=yes"
87409 else
87410 echo "$as_me: failed program was:" >&5
87411 sed 's/^/| /' conftest.$ac_ext >&5
87413 eval "$as_ac_var=no"
87415 rm -f conftest.err conftest.$ac_objext \
87416 conftest$ac_exeext conftest.$ac_ext
87418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87420 if test `eval echo '${'$as_ac_var'}'` = yes; then
87421 cat >>confdefs.h <<_ACEOF
87422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87423 _ACEOF
87425 else
87426 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87428 done
87432 # Used in libmath/Makefile.am.
87433 if test -n "$LIBMATHOBJS"; then
87434 need_libmath=yes
87438 cat >>confdefs.h <<\_ACEOF
87439 #define HAVE_COPYSIGN 1
87440 _ACEOF
87442 cat >>confdefs.h <<\_ACEOF
87443 #define HAVE_COPYSIGNF 1
87444 _ACEOF
87446 cat >>confdefs.h <<\_ACEOF
87447 #define HAVE_FREXPF 1
87448 _ACEOF
87450 cat >>confdefs.h <<\_ACEOF
87451 #define HAVE_HYPOT 1
87452 _ACEOF
87454 case "$target" in
87455 *-hpux10*)
87456 cat >>confdefs.h <<\_ACEOF
87457 #define HAVE_FINITE 1
87458 _ACEOF
87460 cat >>confdefs.h <<\_ACEOF
87461 #define HAVE_FINITEF 1
87462 _ACEOF
87464 cat >>confdefs.h <<\_ACEOF
87465 #define HAVE_ISINF 1
87466 _ACEOF
87468 cat >>confdefs.h <<\_ACEOF
87469 #define HAVE_ISINFF 1
87470 _ACEOF
87472 cat >>confdefs.h <<\_ACEOF
87473 #define HAVE_ISNAN 1
87474 _ACEOF
87476 cat >>confdefs.h <<\_ACEOF
87477 #define HAVE_ISNANF 1
87478 _ACEOF
87481 esac
87483 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87502 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87503 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87504 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87505 sys/ipc.h sys/sem.h gconf.h
87507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87509 echo "$as_me:$LINENO: checking for $ac_header" >&5
87510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87512 echo $ECHO_N "(cached) $ECHO_C" >&6
87514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87516 else
87517 # Is the header compilable?
87518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87520 cat >conftest.$ac_ext <<_ACEOF
87521 /* confdefs.h. */
87522 _ACEOF
87523 cat confdefs.h >>conftest.$ac_ext
87524 cat >>conftest.$ac_ext <<_ACEOF
87525 /* end confdefs.h. */
87526 $ac_includes_default
87527 #include <$ac_header>
87528 _ACEOF
87529 rm -f conftest.$ac_objext
87530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87531 (eval $ac_compile) 2>conftest.er1
87532 ac_status=$?
87533 grep -v '^ *+' conftest.er1 >conftest.err
87534 rm -f conftest.er1
87535 cat conftest.err >&5
87536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87537 (exit $ac_status); } &&
87538 { ac_try='test -z "$ac_c_werror_flag"
87539 || test ! -s conftest.err'
87540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87541 (eval $ac_try) 2>&5
87542 ac_status=$?
87543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87544 (exit $ac_status); }; } &&
87545 { ac_try='test -s conftest.$ac_objext'
87546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87547 (eval $ac_try) 2>&5
87548 ac_status=$?
87549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87550 (exit $ac_status); }; }; then
87551 ac_header_compiler=yes
87552 else
87553 echo "$as_me: failed program was:" >&5
87554 sed 's/^/| /' conftest.$ac_ext >&5
87556 ac_header_compiler=no
87558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87560 echo "${ECHO_T}$ac_header_compiler" >&6
87562 # Is the header present?
87563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87565 cat >conftest.$ac_ext <<_ACEOF
87566 /* confdefs.h. */
87567 _ACEOF
87568 cat confdefs.h >>conftest.$ac_ext
87569 cat >>conftest.$ac_ext <<_ACEOF
87570 /* end confdefs.h. */
87571 #include <$ac_header>
87572 _ACEOF
87573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87575 ac_status=$?
87576 grep -v '^ *+' conftest.er1 >conftest.err
87577 rm -f conftest.er1
87578 cat conftest.err >&5
87579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87580 (exit $ac_status); } >/dev/null; then
87581 if test -s conftest.err; then
87582 ac_cpp_err=$ac_c_preproc_warn_flag
87583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87584 else
87585 ac_cpp_err=
87587 else
87588 ac_cpp_err=yes
87590 if test -z "$ac_cpp_err"; then
87591 ac_header_preproc=yes
87592 else
87593 echo "$as_me: failed program was:" >&5
87594 sed 's/^/| /' conftest.$ac_ext >&5
87596 ac_header_preproc=no
87598 rm -f conftest.err conftest.$ac_ext
87599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87600 echo "${ECHO_T}$ac_header_preproc" >&6
87602 # So? What about this header?
87603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87604 yes:no: )
87605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87609 ac_header_preproc=yes
87611 no:yes:* )
87612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87625 cat <<\_ASBOX
87626 ## ----------------------------------------- ##
87627 ## Report this to the package-unused lists. ##
87628 ## ----------------------------------------- ##
87629 _ASBOX
87631 sed "s/^/$as_me: WARNING: /" >&2
87633 esac
87634 echo "$as_me:$LINENO: checking for $ac_header" >&5
87635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87637 echo $ECHO_N "(cached) $ECHO_C" >&6
87638 else
87639 eval "$as_ac_Header=\$ac_header_preproc"
87641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87646 cat >>confdefs.h <<_ACEOF
87647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87648 _ACEOF
87652 done
87654 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87657 # All these tests are for C++; save the language and the compiler flags.
87658 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87659 # found in GLIBCXX_CONFIGURE.
87662 ac_ext=cc
87663 ac_cpp='$CXXCPP $CPPFLAGS'
87664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87669 ac_save_CXXFLAGS="$CXXFLAGS"
87671 # Check for maintainer-mode bits.
87672 if test x"$USE_MAINTAINER_MODE" = xno; then
87673 WERROR=''
87674 else
87675 WERROR='-Werror'
87678 # Check for -ffunction-sections -fdata-sections
87679 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87680 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87681 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87682 cat >conftest.$ac_ext <<_ACEOF
87683 /* confdefs.h. */
87684 _ACEOF
87685 cat confdefs.h >>conftest.$ac_ext
87686 cat >>conftest.$ac_ext <<_ACEOF
87687 /* end confdefs.h. */
87688 int foo; void bar() { };
87690 main ()
87694 return 0;
87696 _ACEOF
87697 rm -f conftest.$ac_objext
87698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87699 (eval $ac_compile) 2>conftest.er1
87700 ac_status=$?
87701 grep -v '^ *+' conftest.er1 >conftest.err
87702 rm -f conftest.er1
87703 cat conftest.err >&5
87704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87705 (exit $ac_status); } &&
87706 { ac_try='test -z "$ac_cxx_werror_flag"
87707 || test ! -s conftest.err'
87708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87709 (eval $ac_try) 2>&5
87710 ac_status=$?
87711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87712 (exit $ac_status); }; } &&
87713 { ac_try='test -s conftest.$ac_objext'
87714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87715 (eval $ac_try) 2>&5
87716 ac_status=$?
87717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87718 (exit $ac_status); }; }; then
87719 ac_fdsections=yes
87720 else
87721 echo "$as_me: failed program was:" >&5
87722 sed 's/^/| /' conftest.$ac_ext >&5
87724 ac_fdsections=no
87726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87727 if test "$ac_test_CXXFLAGS" = set; then
87728 CXXFLAGS="$ac_save_CXXFLAGS"
87729 else
87730 # this is the suspicious part
87731 CXXFLAGS=''
87733 if test x"$ac_fdsections" = x"yes"; then
87734 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87736 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87737 echo "${ECHO_T}$ac_fdsections" >&6
87739 ac_ext=c
87740 ac_cpp='$CPP $CPPFLAGS'
87741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87749 # If we're not using GNU ld, then there's no point in even trying these
87750 # tests. Check for that first. We should have already tested for gld
87751 # by now (in libtool), but require it now just to be safe...
87752 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87753 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87757 # The name set by libtool depends on the version of libtool. Shame on us
87758 # for depending on an impl detail, but c'est la vie. Older versions used
87759 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87760 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87761 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87762 # set (hence we're using an older libtool), then set it.
87763 if test x${with_gnu_ld+set} != xset; then
87764 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87765 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87766 with_gnu_ld=no
87767 else
87768 with_gnu_ld=$ac_cv_prog_gnu_ld
87772 # Start by getting the version number. I think the libtool test already
87773 # does some of this, but throws away the result.
87774 glibcxx_ld_is_gold=no
87775 if test x"$with_gnu_ld" = x"yes"; then
87776 echo "$as_me:$LINENO: checking for ld version" >&5
87777 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87779 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87780 glibcxx_ld_is_gold=yes
87782 ldver=`$LD --version 2>/dev/null | head -1 | \
87783 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87785 glibcxx_gnu_ld_version=`echo $ldver | \
87786 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87787 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87788 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87791 # Set --gc-sections.
87792 glibcxx_have_gc_sections=no
87793 if test "$glibcxx_ld_is_gold" = "yes"; then
87794 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87795 glibcxx_have_gc_sections=yes
87797 else
87798 glibcxx_gcsections_min_ld=21602
87799 if test x"$with_gnu_ld" = x"yes" &&
87800 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87801 glibcxx_have_gc_sections=yes
87804 if test "$glibcxx_have_gc_sections" = "yes"; then
87805 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87806 # NB: This flag only works reliably after 2.16.1. Configure tests
87807 # for this are difficult, so hard wire a value that should work.
87809 ac_test_CFLAGS="${CFLAGS+set}"
87810 ac_save_CFLAGS="$CFLAGS"
87811 CFLAGS='-Wl,--gc-sections'
87813 # Check for -Wl,--gc-sections
87814 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87815 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87816 if test x$gcc_no_link = xyes; then
87817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87819 { (exit 1); exit 1; }; }
87821 cat >conftest.$ac_ext <<_ACEOF
87822 /* confdefs.h. */
87823 _ACEOF
87824 cat confdefs.h >>conftest.$ac_ext
87825 cat >>conftest.$ac_ext <<_ACEOF
87826 /* end confdefs.h. */
87827 int one(void) { return 1; }
87828 int two(void) { return 2; }
87831 main ()
87833 two();
87835 return 0;
87837 _ACEOF
87838 rm -f conftest.$ac_objext conftest$ac_exeext
87839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87840 (eval $ac_link) 2>conftest.er1
87841 ac_status=$?
87842 grep -v '^ *+' conftest.er1 >conftest.err
87843 rm -f conftest.er1
87844 cat conftest.err >&5
87845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87846 (exit $ac_status); } &&
87847 { ac_try='test -z "$ac_c_werror_flag"
87848 || test ! -s conftest.err'
87849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87850 (eval $ac_try) 2>&5
87851 ac_status=$?
87852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87853 (exit $ac_status); }; } &&
87854 { ac_try='test -s conftest$ac_exeext'
87855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87856 (eval $ac_try) 2>&5
87857 ac_status=$?
87858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87859 (exit $ac_status); }; }; then
87860 ac_gcsections=yes
87861 else
87862 echo "$as_me: failed program was:" >&5
87863 sed 's/^/| /' conftest.$ac_ext >&5
87865 ac_gcsections=no
87867 rm -f conftest.err conftest.$ac_objext \
87868 conftest$ac_exeext conftest.$ac_ext
87869 if test "$ac_gcsections" = "yes"; then
87870 rm -f conftest.c
87871 touch conftest.c
87872 if $CC -c conftest.c; then
87873 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87874 grep "Warning: gc-sections option ignored" > /dev/null; then
87875 ac_gcsections=no
87878 rm -f conftest.c conftest.o conftest
87880 if test "$ac_gcsections" = "yes"; then
87881 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87883 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87884 echo "${ECHO_T}$ac_gcsections" >&6
87886 if test "$ac_test_CFLAGS" = set; then
87887 CFLAGS="$ac_save_CFLAGS"
87888 else
87889 # this is the suspicious part
87890 CFLAGS=''
87894 # Set -z,relro.
87895 # Note this is only for shared objects.
87896 ac_ld_relro=no
87897 if test x"$with_gnu_ld" = x"yes"; then
87898 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87899 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87900 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87901 if test -n "$cxx_z_relo"; then
87902 OPT_LDFLAGS="-Wl,-z,relro"
87903 ac_ld_relro=yes
87905 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87906 echo "${ECHO_T}$ac_ld_relro" >&6
87909 # Set linker optimization flags.
87910 if test x"$with_gnu_ld" = x"yes"; then
87911 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87918 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87919 ac_save_CXXFLAGS="$CXXFLAGS"
87920 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87922 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87923 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87924 if test "${ac_cv_lib_m_sin+set}" = set; then
87925 echo $ECHO_N "(cached) $ECHO_C" >&6
87926 else
87927 ac_check_lib_save_LIBS=$LIBS
87928 LIBS="-lm $LIBS"
87929 if test x$gcc_no_link = xyes; then
87930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87932 { (exit 1); exit 1; }; }
87934 cat >conftest.$ac_ext <<_ACEOF
87935 /* confdefs.h. */
87936 _ACEOF
87937 cat confdefs.h >>conftest.$ac_ext
87938 cat >>conftest.$ac_ext <<_ACEOF
87939 /* end confdefs.h. */
87941 /* Override any gcc2 internal prototype to avoid an error. */
87942 #ifdef __cplusplus
87943 extern "C"
87944 #endif
87945 /* We use char because int might match the return type of a gcc2
87946 builtin and then its argument prototype would still apply. */
87947 char sin ();
87949 main ()
87951 sin ();
87953 return 0;
87955 _ACEOF
87956 rm -f conftest.$ac_objext conftest$ac_exeext
87957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87958 (eval $ac_link) 2>conftest.er1
87959 ac_status=$?
87960 grep -v '^ *+' conftest.er1 >conftest.err
87961 rm -f conftest.er1
87962 cat conftest.err >&5
87963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87964 (exit $ac_status); } &&
87965 { ac_try='test -z "$ac_c_werror_flag"
87966 || test ! -s conftest.err'
87967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87968 (eval $ac_try) 2>&5
87969 ac_status=$?
87970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87971 (exit $ac_status); }; } &&
87972 { ac_try='test -s conftest$ac_exeext'
87973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87974 (eval $ac_try) 2>&5
87975 ac_status=$?
87976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87977 (exit $ac_status); }; }; then
87978 ac_cv_lib_m_sin=yes
87979 else
87980 echo "$as_me: failed program was:" >&5
87981 sed 's/^/| /' conftest.$ac_ext >&5
87983 ac_cv_lib_m_sin=no
87985 rm -f conftest.err conftest.$ac_objext \
87986 conftest$ac_exeext conftest.$ac_ext
87987 LIBS=$ac_check_lib_save_LIBS
87989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87990 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87991 if test $ac_cv_lib_m_sin = yes; then
87992 libm="-lm"
87995 ac_save_LIBS="$LIBS"
87996 LIBS="$LIBS $libm"
88000 echo "$as_me:$LINENO: checking for isinf declaration" >&5
88001 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
88002 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
88003 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
88004 echo $ECHO_N "(cached) $ECHO_C" >&6
88005 else
88009 ac_ext=cc
88010 ac_cpp='$CXXCPP $CPPFLAGS'
88011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88015 cat >conftest.$ac_ext <<_ACEOF
88016 /* confdefs.h. */
88017 _ACEOF
88018 cat confdefs.h >>conftest.$ac_ext
88019 cat >>conftest.$ac_ext <<_ACEOF
88020 /* end confdefs.h. */
88021 #include <math.h>
88022 #ifdef HAVE_IEEEFP_H
88023 #include <ieeefp.h>
88024 #endif
88027 main ()
88029 isinf(0);
88031 return 0;
88033 _ACEOF
88034 rm -f conftest.$ac_objext
88035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88036 (eval $ac_compile) 2>conftest.er1
88037 ac_status=$?
88038 grep -v '^ *+' conftest.er1 >conftest.err
88039 rm -f conftest.er1
88040 cat conftest.err >&5
88041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88042 (exit $ac_status); } &&
88043 { ac_try='test -z "$ac_cxx_werror_flag"
88044 || test ! -s conftest.err'
88045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88046 (eval $ac_try) 2>&5
88047 ac_status=$?
88048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88049 (exit $ac_status); }; } &&
88050 { ac_try='test -s conftest.$ac_objext'
88051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88052 (eval $ac_try) 2>&5
88053 ac_status=$?
88054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88055 (exit $ac_status); }; }; then
88056 glibcxx_cv_func_isinf_use=yes
88057 else
88058 echo "$as_me: failed program was:" >&5
88059 sed 's/^/| /' conftest.$ac_ext >&5
88061 glibcxx_cv_func_isinf_use=no
88063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88064 ac_ext=c
88065 ac_cpp='$CPP $CPPFLAGS'
88066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88075 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88077 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88079 for ac_func in isinf
88081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88082 echo "$as_me:$LINENO: checking for $ac_func" >&5
88083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88084 if eval "test \"\${$as_ac_var+set}\" = set"; then
88085 echo $ECHO_N "(cached) $ECHO_C" >&6
88086 else
88087 if test x$gcc_no_link = xyes; then
88088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88090 { (exit 1); exit 1; }; }
88092 cat >conftest.$ac_ext <<_ACEOF
88093 /* confdefs.h. */
88094 _ACEOF
88095 cat confdefs.h >>conftest.$ac_ext
88096 cat >>conftest.$ac_ext <<_ACEOF
88097 /* end confdefs.h. */
88098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88100 #define $ac_func innocuous_$ac_func
88102 /* System header to define __stub macros and hopefully few prototypes,
88103 which can conflict with char $ac_func (); below.
88104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88105 <limits.h> exists even on freestanding compilers. */
88107 #ifdef __STDC__
88108 # include <limits.h>
88109 #else
88110 # include <assert.h>
88111 #endif
88113 #undef $ac_func
88115 /* Override any gcc2 internal prototype to avoid an error. */
88116 #ifdef __cplusplus
88117 extern "C"
88119 #endif
88120 /* We use char because int might match the return type of a gcc2
88121 builtin and then its argument prototype would still apply. */
88122 char $ac_func ();
88123 /* The GNU C library defines this for functions which it implements
88124 to always fail with ENOSYS. Some functions are actually named
88125 something starting with __ and the normal name is an alias. */
88126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88127 choke me
88128 #else
88129 char (*f) () = $ac_func;
88130 #endif
88131 #ifdef __cplusplus
88133 #endif
88136 main ()
88138 return f != $ac_func;
88140 return 0;
88142 _ACEOF
88143 rm -f conftest.$ac_objext conftest$ac_exeext
88144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88145 (eval $ac_link) 2>conftest.er1
88146 ac_status=$?
88147 grep -v '^ *+' conftest.er1 >conftest.err
88148 rm -f conftest.er1
88149 cat conftest.err >&5
88150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88151 (exit $ac_status); } &&
88152 { ac_try='test -z "$ac_c_werror_flag"
88153 || test ! -s conftest.err'
88154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88155 (eval $ac_try) 2>&5
88156 ac_status=$?
88157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88158 (exit $ac_status); }; } &&
88159 { ac_try='test -s conftest$ac_exeext'
88160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88161 (eval $ac_try) 2>&5
88162 ac_status=$?
88163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88164 (exit $ac_status); }; }; then
88165 eval "$as_ac_var=yes"
88166 else
88167 echo "$as_me: failed program was:" >&5
88168 sed 's/^/| /' conftest.$ac_ext >&5
88170 eval "$as_ac_var=no"
88172 rm -f conftest.err conftest.$ac_objext \
88173 conftest$ac_exeext conftest.$ac_ext
88175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88177 if test `eval echo '${'$as_ac_var'}'` = yes; then
88178 cat >>confdefs.h <<_ACEOF
88179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88180 _ACEOF
88183 done
88185 else
88187 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88188 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88189 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88190 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88191 echo $ECHO_N "(cached) $ECHO_C" >&6
88192 else
88196 ac_ext=cc
88197 ac_cpp='$CXXCPP $CPPFLAGS'
88198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88202 cat >conftest.$ac_ext <<_ACEOF
88203 /* confdefs.h. */
88204 _ACEOF
88205 cat confdefs.h >>conftest.$ac_ext
88206 cat >>conftest.$ac_ext <<_ACEOF
88207 /* end confdefs.h. */
88208 #include <math.h>
88209 #ifdef HAVE_IEEEFP_H
88210 #include <ieeefp.h>
88211 #endif
88214 main ()
88216 _isinf(0);
88218 return 0;
88220 _ACEOF
88221 rm -f conftest.$ac_objext
88222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88223 (eval $ac_compile) 2>conftest.er1
88224 ac_status=$?
88225 grep -v '^ *+' conftest.er1 >conftest.err
88226 rm -f conftest.er1
88227 cat conftest.err >&5
88228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88229 (exit $ac_status); } &&
88230 { ac_try='test -z "$ac_cxx_werror_flag"
88231 || test ! -s conftest.err'
88232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88233 (eval $ac_try) 2>&5
88234 ac_status=$?
88235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88236 (exit $ac_status); }; } &&
88237 { ac_try='test -s conftest.$ac_objext'
88238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88239 (eval $ac_try) 2>&5
88240 ac_status=$?
88241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88242 (exit $ac_status); }; }; then
88243 glibcxx_cv_func__isinf_use=yes
88244 else
88245 echo "$as_me: failed program was:" >&5
88246 sed 's/^/| /' conftest.$ac_ext >&5
88248 glibcxx_cv_func__isinf_use=no
88250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88251 ac_ext=c
88252 ac_cpp='$CPP $CPPFLAGS'
88253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88262 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88264 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88266 for ac_func in _isinf
88268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88269 echo "$as_me:$LINENO: checking for $ac_func" >&5
88270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88271 if eval "test \"\${$as_ac_var+set}\" = set"; then
88272 echo $ECHO_N "(cached) $ECHO_C" >&6
88273 else
88274 if test x$gcc_no_link = xyes; then
88275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88277 { (exit 1); exit 1; }; }
88279 cat >conftest.$ac_ext <<_ACEOF
88280 /* confdefs.h. */
88281 _ACEOF
88282 cat confdefs.h >>conftest.$ac_ext
88283 cat >>conftest.$ac_ext <<_ACEOF
88284 /* end confdefs.h. */
88285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88287 #define $ac_func innocuous_$ac_func
88289 /* System header to define __stub macros and hopefully few prototypes,
88290 which can conflict with char $ac_func (); below.
88291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88292 <limits.h> exists even on freestanding compilers. */
88294 #ifdef __STDC__
88295 # include <limits.h>
88296 #else
88297 # include <assert.h>
88298 #endif
88300 #undef $ac_func
88302 /* Override any gcc2 internal prototype to avoid an error. */
88303 #ifdef __cplusplus
88304 extern "C"
88306 #endif
88307 /* We use char because int might match the return type of a gcc2
88308 builtin and then its argument prototype would still apply. */
88309 char $ac_func ();
88310 /* The GNU C library defines this for functions which it implements
88311 to always fail with ENOSYS. Some functions are actually named
88312 something starting with __ and the normal name is an alias. */
88313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88314 choke me
88315 #else
88316 char (*f) () = $ac_func;
88317 #endif
88318 #ifdef __cplusplus
88320 #endif
88323 main ()
88325 return f != $ac_func;
88327 return 0;
88329 _ACEOF
88330 rm -f conftest.$ac_objext conftest$ac_exeext
88331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88332 (eval $ac_link) 2>conftest.er1
88333 ac_status=$?
88334 grep -v '^ *+' conftest.er1 >conftest.err
88335 rm -f conftest.er1
88336 cat conftest.err >&5
88337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88338 (exit $ac_status); } &&
88339 { ac_try='test -z "$ac_c_werror_flag"
88340 || test ! -s conftest.err'
88341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88342 (eval $ac_try) 2>&5
88343 ac_status=$?
88344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88345 (exit $ac_status); }; } &&
88346 { ac_try='test -s conftest$ac_exeext'
88347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88348 (eval $ac_try) 2>&5
88349 ac_status=$?
88350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88351 (exit $ac_status); }; }; then
88352 eval "$as_ac_var=yes"
88353 else
88354 echo "$as_me: failed program was:" >&5
88355 sed 's/^/| /' conftest.$ac_ext >&5
88357 eval "$as_ac_var=no"
88359 rm -f conftest.err conftest.$ac_objext \
88360 conftest$ac_exeext conftest.$ac_ext
88362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88364 if test `eval echo '${'$as_ac_var'}'` = yes; then
88365 cat >>confdefs.h <<_ACEOF
88366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88367 _ACEOF
88370 done
88380 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88381 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88382 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88383 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88384 echo $ECHO_N "(cached) $ECHO_C" >&6
88385 else
88389 ac_ext=cc
88390 ac_cpp='$CXXCPP $CPPFLAGS'
88391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88395 cat >conftest.$ac_ext <<_ACEOF
88396 /* confdefs.h. */
88397 _ACEOF
88398 cat confdefs.h >>conftest.$ac_ext
88399 cat >>conftest.$ac_ext <<_ACEOF
88400 /* end confdefs.h. */
88401 #include <math.h>
88402 #ifdef HAVE_IEEEFP_H
88403 #include <ieeefp.h>
88404 #endif
88407 main ()
88409 isnan(0);
88411 return 0;
88413 _ACEOF
88414 rm -f conftest.$ac_objext
88415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88416 (eval $ac_compile) 2>conftest.er1
88417 ac_status=$?
88418 grep -v '^ *+' conftest.er1 >conftest.err
88419 rm -f conftest.er1
88420 cat conftest.err >&5
88421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88422 (exit $ac_status); } &&
88423 { ac_try='test -z "$ac_cxx_werror_flag"
88424 || test ! -s conftest.err'
88425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88426 (eval $ac_try) 2>&5
88427 ac_status=$?
88428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88429 (exit $ac_status); }; } &&
88430 { ac_try='test -s conftest.$ac_objext'
88431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88432 (eval $ac_try) 2>&5
88433 ac_status=$?
88434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88435 (exit $ac_status); }; }; then
88436 glibcxx_cv_func_isnan_use=yes
88437 else
88438 echo "$as_me: failed program was:" >&5
88439 sed 's/^/| /' conftest.$ac_ext >&5
88441 glibcxx_cv_func_isnan_use=no
88443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88444 ac_ext=c
88445 ac_cpp='$CPP $CPPFLAGS'
88446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88455 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88457 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88459 for ac_func in isnan
88461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88462 echo "$as_me:$LINENO: checking for $ac_func" >&5
88463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88464 if eval "test \"\${$as_ac_var+set}\" = set"; then
88465 echo $ECHO_N "(cached) $ECHO_C" >&6
88466 else
88467 if test x$gcc_no_link = xyes; then
88468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88470 { (exit 1); exit 1; }; }
88472 cat >conftest.$ac_ext <<_ACEOF
88473 /* confdefs.h. */
88474 _ACEOF
88475 cat confdefs.h >>conftest.$ac_ext
88476 cat >>conftest.$ac_ext <<_ACEOF
88477 /* end confdefs.h. */
88478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88480 #define $ac_func innocuous_$ac_func
88482 /* System header to define __stub macros and hopefully few prototypes,
88483 which can conflict with char $ac_func (); below.
88484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88485 <limits.h> exists even on freestanding compilers. */
88487 #ifdef __STDC__
88488 # include <limits.h>
88489 #else
88490 # include <assert.h>
88491 #endif
88493 #undef $ac_func
88495 /* Override any gcc2 internal prototype to avoid an error. */
88496 #ifdef __cplusplus
88497 extern "C"
88499 #endif
88500 /* We use char because int might match the return type of a gcc2
88501 builtin and then its argument prototype would still apply. */
88502 char $ac_func ();
88503 /* The GNU C library defines this for functions which it implements
88504 to always fail with ENOSYS. Some functions are actually named
88505 something starting with __ and the normal name is an alias. */
88506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88507 choke me
88508 #else
88509 char (*f) () = $ac_func;
88510 #endif
88511 #ifdef __cplusplus
88513 #endif
88516 main ()
88518 return f != $ac_func;
88520 return 0;
88522 _ACEOF
88523 rm -f conftest.$ac_objext conftest$ac_exeext
88524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88525 (eval $ac_link) 2>conftest.er1
88526 ac_status=$?
88527 grep -v '^ *+' conftest.er1 >conftest.err
88528 rm -f conftest.er1
88529 cat conftest.err >&5
88530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88531 (exit $ac_status); } &&
88532 { ac_try='test -z "$ac_c_werror_flag"
88533 || test ! -s conftest.err'
88534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88535 (eval $ac_try) 2>&5
88536 ac_status=$?
88537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88538 (exit $ac_status); }; } &&
88539 { ac_try='test -s conftest$ac_exeext'
88540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88541 (eval $ac_try) 2>&5
88542 ac_status=$?
88543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88544 (exit $ac_status); }; }; then
88545 eval "$as_ac_var=yes"
88546 else
88547 echo "$as_me: failed program was:" >&5
88548 sed 's/^/| /' conftest.$ac_ext >&5
88550 eval "$as_ac_var=no"
88552 rm -f conftest.err conftest.$ac_objext \
88553 conftest$ac_exeext conftest.$ac_ext
88555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88557 if test `eval echo '${'$as_ac_var'}'` = yes; then
88558 cat >>confdefs.h <<_ACEOF
88559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88560 _ACEOF
88563 done
88565 else
88567 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88568 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88569 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88570 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88571 echo $ECHO_N "(cached) $ECHO_C" >&6
88572 else
88576 ac_ext=cc
88577 ac_cpp='$CXXCPP $CPPFLAGS'
88578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88582 cat >conftest.$ac_ext <<_ACEOF
88583 /* confdefs.h. */
88584 _ACEOF
88585 cat confdefs.h >>conftest.$ac_ext
88586 cat >>conftest.$ac_ext <<_ACEOF
88587 /* end confdefs.h. */
88588 #include <math.h>
88589 #ifdef HAVE_IEEEFP_H
88590 #include <ieeefp.h>
88591 #endif
88594 main ()
88596 _isnan(0);
88598 return 0;
88600 _ACEOF
88601 rm -f conftest.$ac_objext
88602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88603 (eval $ac_compile) 2>conftest.er1
88604 ac_status=$?
88605 grep -v '^ *+' conftest.er1 >conftest.err
88606 rm -f conftest.er1
88607 cat conftest.err >&5
88608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88609 (exit $ac_status); } &&
88610 { ac_try='test -z "$ac_cxx_werror_flag"
88611 || test ! -s conftest.err'
88612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88613 (eval $ac_try) 2>&5
88614 ac_status=$?
88615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88616 (exit $ac_status); }; } &&
88617 { ac_try='test -s conftest.$ac_objext'
88618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88619 (eval $ac_try) 2>&5
88620 ac_status=$?
88621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88622 (exit $ac_status); }; }; then
88623 glibcxx_cv_func__isnan_use=yes
88624 else
88625 echo "$as_me: failed program was:" >&5
88626 sed 's/^/| /' conftest.$ac_ext >&5
88628 glibcxx_cv_func__isnan_use=no
88630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88631 ac_ext=c
88632 ac_cpp='$CPP $CPPFLAGS'
88633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88642 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88644 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88646 for ac_func in _isnan
88648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88649 echo "$as_me:$LINENO: checking for $ac_func" >&5
88650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88651 if eval "test \"\${$as_ac_var+set}\" = set"; then
88652 echo $ECHO_N "(cached) $ECHO_C" >&6
88653 else
88654 if test x$gcc_no_link = xyes; then
88655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88657 { (exit 1); exit 1; }; }
88659 cat >conftest.$ac_ext <<_ACEOF
88660 /* confdefs.h. */
88661 _ACEOF
88662 cat confdefs.h >>conftest.$ac_ext
88663 cat >>conftest.$ac_ext <<_ACEOF
88664 /* end confdefs.h. */
88665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88667 #define $ac_func innocuous_$ac_func
88669 /* System header to define __stub macros and hopefully few prototypes,
88670 which can conflict with char $ac_func (); below.
88671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88672 <limits.h> exists even on freestanding compilers. */
88674 #ifdef __STDC__
88675 # include <limits.h>
88676 #else
88677 # include <assert.h>
88678 #endif
88680 #undef $ac_func
88682 /* Override any gcc2 internal prototype to avoid an error. */
88683 #ifdef __cplusplus
88684 extern "C"
88686 #endif
88687 /* We use char because int might match the return type of a gcc2
88688 builtin and then its argument prototype would still apply. */
88689 char $ac_func ();
88690 /* The GNU C library defines this for functions which it implements
88691 to always fail with ENOSYS. Some functions are actually named
88692 something starting with __ and the normal name is an alias. */
88693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88694 choke me
88695 #else
88696 char (*f) () = $ac_func;
88697 #endif
88698 #ifdef __cplusplus
88700 #endif
88703 main ()
88705 return f != $ac_func;
88707 return 0;
88709 _ACEOF
88710 rm -f conftest.$ac_objext conftest$ac_exeext
88711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88712 (eval $ac_link) 2>conftest.er1
88713 ac_status=$?
88714 grep -v '^ *+' conftest.er1 >conftest.err
88715 rm -f conftest.er1
88716 cat conftest.err >&5
88717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88718 (exit $ac_status); } &&
88719 { ac_try='test -z "$ac_c_werror_flag"
88720 || test ! -s conftest.err'
88721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88722 (eval $ac_try) 2>&5
88723 ac_status=$?
88724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88725 (exit $ac_status); }; } &&
88726 { ac_try='test -s conftest$ac_exeext'
88727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88728 (eval $ac_try) 2>&5
88729 ac_status=$?
88730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88731 (exit $ac_status); }; }; then
88732 eval "$as_ac_var=yes"
88733 else
88734 echo "$as_me: failed program was:" >&5
88735 sed 's/^/| /' conftest.$ac_ext >&5
88737 eval "$as_ac_var=no"
88739 rm -f conftest.err conftest.$ac_objext \
88740 conftest$ac_exeext conftest.$ac_ext
88742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88744 if test `eval echo '${'$as_ac_var'}'` = yes; then
88745 cat >>confdefs.h <<_ACEOF
88746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88747 _ACEOF
88750 done
88760 echo "$as_me:$LINENO: checking for finite declaration" >&5
88761 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88762 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88763 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88764 echo $ECHO_N "(cached) $ECHO_C" >&6
88765 else
88769 ac_ext=cc
88770 ac_cpp='$CXXCPP $CPPFLAGS'
88771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88775 cat >conftest.$ac_ext <<_ACEOF
88776 /* confdefs.h. */
88777 _ACEOF
88778 cat confdefs.h >>conftest.$ac_ext
88779 cat >>conftest.$ac_ext <<_ACEOF
88780 /* end confdefs.h. */
88781 #include <math.h>
88782 #ifdef HAVE_IEEEFP_H
88783 #include <ieeefp.h>
88784 #endif
88787 main ()
88789 finite(0);
88791 return 0;
88793 _ACEOF
88794 rm -f conftest.$ac_objext
88795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88796 (eval $ac_compile) 2>conftest.er1
88797 ac_status=$?
88798 grep -v '^ *+' conftest.er1 >conftest.err
88799 rm -f conftest.er1
88800 cat conftest.err >&5
88801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88802 (exit $ac_status); } &&
88803 { ac_try='test -z "$ac_cxx_werror_flag"
88804 || test ! -s conftest.err'
88805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88806 (eval $ac_try) 2>&5
88807 ac_status=$?
88808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88809 (exit $ac_status); }; } &&
88810 { ac_try='test -s conftest.$ac_objext'
88811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88812 (eval $ac_try) 2>&5
88813 ac_status=$?
88814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88815 (exit $ac_status); }; }; then
88816 glibcxx_cv_func_finite_use=yes
88817 else
88818 echo "$as_me: failed program was:" >&5
88819 sed 's/^/| /' conftest.$ac_ext >&5
88821 glibcxx_cv_func_finite_use=no
88823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88824 ac_ext=c
88825 ac_cpp='$CPP $CPPFLAGS'
88826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88835 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88837 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88839 for ac_func in finite
88841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88842 echo "$as_me:$LINENO: checking for $ac_func" >&5
88843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88844 if eval "test \"\${$as_ac_var+set}\" = set"; then
88845 echo $ECHO_N "(cached) $ECHO_C" >&6
88846 else
88847 if test x$gcc_no_link = xyes; then
88848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88850 { (exit 1); exit 1; }; }
88852 cat >conftest.$ac_ext <<_ACEOF
88853 /* confdefs.h. */
88854 _ACEOF
88855 cat confdefs.h >>conftest.$ac_ext
88856 cat >>conftest.$ac_ext <<_ACEOF
88857 /* end confdefs.h. */
88858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88860 #define $ac_func innocuous_$ac_func
88862 /* System header to define __stub macros and hopefully few prototypes,
88863 which can conflict with char $ac_func (); below.
88864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88865 <limits.h> exists even on freestanding compilers. */
88867 #ifdef __STDC__
88868 # include <limits.h>
88869 #else
88870 # include <assert.h>
88871 #endif
88873 #undef $ac_func
88875 /* Override any gcc2 internal prototype to avoid an error. */
88876 #ifdef __cplusplus
88877 extern "C"
88879 #endif
88880 /* We use char because int might match the return type of a gcc2
88881 builtin and then its argument prototype would still apply. */
88882 char $ac_func ();
88883 /* The GNU C library defines this for functions which it implements
88884 to always fail with ENOSYS. Some functions are actually named
88885 something starting with __ and the normal name is an alias. */
88886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88887 choke me
88888 #else
88889 char (*f) () = $ac_func;
88890 #endif
88891 #ifdef __cplusplus
88893 #endif
88896 main ()
88898 return f != $ac_func;
88900 return 0;
88902 _ACEOF
88903 rm -f conftest.$ac_objext conftest$ac_exeext
88904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88905 (eval $ac_link) 2>conftest.er1
88906 ac_status=$?
88907 grep -v '^ *+' conftest.er1 >conftest.err
88908 rm -f conftest.er1
88909 cat conftest.err >&5
88910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88911 (exit $ac_status); } &&
88912 { ac_try='test -z "$ac_c_werror_flag"
88913 || test ! -s conftest.err'
88914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88915 (eval $ac_try) 2>&5
88916 ac_status=$?
88917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88918 (exit $ac_status); }; } &&
88919 { ac_try='test -s conftest$ac_exeext'
88920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88921 (eval $ac_try) 2>&5
88922 ac_status=$?
88923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88924 (exit $ac_status); }; }; then
88925 eval "$as_ac_var=yes"
88926 else
88927 echo "$as_me: failed program was:" >&5
88928 sed 's/^/| /' conftest.$ac_ext >&5
88930 eval "$as_ac_var=no"
88932 rm -f conftest.err conftest.$ac_objext \
88933 conftest$ac_exeext conftest.$ac_ext
88935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88937 if test `eval echo '${'$as_ac_var'}'` = yes; then
88938 cat >>confdefs.h <<_ACEOF
88939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88940 _ACEOF
88943 done
88945 else
88947 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88948 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88949 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88950 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88951 echo $ECHO_N "(cached) $ECHO_C" >&6
88952 else
88956 ac_ext=cc
88957 ac_cpp='$CXXCPP $CPPFLAGS'
88958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88962 cat >conftest.$ac_ext <<_ACEOF
88963 /* confdefs.h. */
88964 _ACEOF
88965 cat confdefs.h >>conftest.$ac_ext
88966 cat >>conftest.$ac_ext <<_ACEOF
88967 /* end confdefs.h. */
88968 #include <math.h>
88969 #ifdef HAVE_IEEEFP_H
88970 #include <ieeefp.h>
88971 #endif
88974 main ()
88976 _finite(0);
88978 return 0;
88980 _ACEOF
88981 rm -f conftest.$ac_objext
88982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88983 (eval $ac_compile) 2>conftest.er1
88984 ac_status=$?
88985 grep -v '^ *+' conftest.er1 >conftest.err
88986 rm -f conftest.er1
88987 cat conftest.err >&5
88988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88989 (exit $ac_status); } &&
88990 { ac_try='test -z "$ac_cxx_werror_flag"
88991 || test ! -s conftest.err'
88992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88993 (eval $ac_try) 2>&5
88994 ac_status=$?
88995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88996 (exit $ac_status); }; } &&
88997 { ac_try='test -s conftest.$ac_objext'
88998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88999 (eval $ac_try) 2>&5
89000 ac_status=$?
89001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89002 (exit $ac_status); }; }; then
89003 glibcxx_cv_func__finite_use=yes
89004 else
89005 echo "$as_me: failed program was:" >&5
89006 sed 's/^/| /' conftest.$ac_ext >&5
89008 glibcxx_cv_func__finite_use=no
89010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89011 ac_ext=c
89012 ac_cpp='$CPP $CPPFLAGS'
89013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
89022 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
89024 if test x$glibcxx_cv_func__finite_use = x"yes"; then
89026 for ac_func in _finite
89028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89029 echo "$as_me:$LINENO: checking for $ac_func" >&5
89030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89031 if eval "test \"\${$as_ac_var+set}\" = set"; then
89032 echo $ECHO_N "(cached) $ECHO_C" >&6
89033 else
89034 if test x$gcc_no_link = xyes; then
89035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89037 { (exit 1); exit 1; }; }
89039 cat >conftest.$ac_ext <<_ACEOF
89040 /* confdefs.h. */
89041 _ACEOF
89042 cat confdefs.h >>conftest.$ac_ext
89043 cat >>conftest.$ac_ext <<_ACEOF
89044 /* end confdefs.h. */
89045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89047 #define $ac_func innocuous_$ac_func
89049 /* System header to define __stub macros and hopefully few prototypes,
89050 which can conflict with char $ac_func (); below.
89051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89052 <limits.h> exists even on freestanding compilers. */
89054 #ifdef __STDC__
89055 # include <limits.h>
89056 #else
89057 # include <assert.h>
89058 #endif
89060 #undef $ac_func
89062 /* Override any gcc2 internal prototype to avoid an error. */
89063 #ifdef __cplusplus
89064 extern "C"
89066 #endif
89067 /* We use char because int might match the return type of a gcc2
89068 builtin and then its argument prototype would still apply. */
89069 char $ac_func ();
89070 /* The GNU C library defines this for functions which it implements
89071 to always fail with ENOSYS. Some functions are actually named
89072 something starting with __ and the normal name is an alias. */
89073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89074 choke me
89075 #else
89076 char (*f) () = $ac_func;
89077 #endif
89078 #ifdef __cplusplus
89080 #endif
89083 main ()
89085 return f != $ac_func;
89087 return 0;
89089 _ACEOF
89090 rm -f conftest.$ac_objext conftest$ac_exeext
89091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89092 (eval $ac_link) 2>conftest.er1
89093 ac_status=$?
89094 grep -v '^ *+' conftest.er1 >conftest.err
89095 rm -f conftest.er1
89096 cat conftest.err >&5
89097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89098 (exit $ac_status); } &&
89099 { ac_try='test -z "$ac_c_werror_flag"
89100 || test ! -s conftest.err'
89101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89102 (eval $ac_try) 2>&5
89103 ac_status=$?
89104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89105 (exit $ac_status); }; } &&
89106 { ac_try='test -s conftest$ac_exeext'
89107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89108 (eval $ac_try) 2>&5
89109 ac_status=$?
89110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89111 (exit $ac_status); }; }; then
89112 eval "$as_ac_var=yes"
89113 else
89114 echo "$as_me: failed program was:" >&5
89115 sed 's/^/| /' conftest.$ac_ext >&5
89117 eval "$as_ac_var=no"
89119 rm -f conftest.err conftest.$ac_objext \
89120 conftest$ac_exeext conftest.$ac_ext
89122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89124 if test `eval echo '${'$as_ac_var'}'` = yes; then
89125 cat >>confdefs.h <<_ACEOF
89126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89127 _ACEOF
89130 done
89140 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89141 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89142 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89143 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89144 echo $ECHO_N "(cached) $ECHO_C" >&6
89145 else
89149 ac_ext=cc
89150 ac_cpp='$CXXCPP $CPPFLAGS'
89151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89155 cat >conftest.$ac_ext <<_ACEOF
89156 /* confdefs.h. */
89157 _ACEOF
89158 cat confdefs.h >>conftest.$ac_ext
89159 cat >>conftest.$ac_ext <<_ACEOF
89160 /* end confdefs.h. */
89161 #include <math.h>
89163 main ()
89165 copysign(0, 0);
89167 return 0;
89169 _ACEOF
89170 rm -f conftest.$ac_objext
89171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89172 (eval $ac_compile) 2>conftest.er1
89173 ac_status=$?
89174 grep -v '^ *+' conftest.er1 >conftest.err
89175 rm -f conftest.er1
89176 cat conftest.err >&5
89177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89178 (exit $ac_status); } &&
89179 { ac_try='test -z "$ac_cxx_werror_flag"
89180 || test ! -s conftest.err'
89181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89182 (eval $ac_try) 2>&5
89183 ac_status=$?
89184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89185 (exit $ac_status); }; } &&
89186 { ac_try='test -s conftest.$ac_objext'
89187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89188 (eval $ac_try) 2>&5
89189 ac_status=$?
89190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89191 (exit $ac_status); }; }; then
89192 glibcxx_cv_func_copysign_use=yes
89193 else
89194 echo "$as_me: failed program was:" >&5
89195 sed 's/^/| /' conftest.$ac_ext >&5
89197 glibcxx_cv_func_copysign_use=no
89199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89200 ac_ext=c
89201 ac_cpp='$CPP $CPPFLAGS'
89202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89211 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89213 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89215 for ac_func in copysign
89217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89218 echo "$as_me:$LINENO: checking for $ac_func" >&5
89219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89220 if eval "test \"\${$as_ac_var+set}\" = set"; then
89221 echo $ECHO_N "(cached) $ECHO_C" >&6
89222 else
89223 if test x$gcc_no_link = xyes; then
89224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89226 { (exit 1); exit 1; }; }
89228 cat >conftest.$ac_ext <<_ACEOF
89229 /* confdefs.h. */
89230 _ACEOF
89231 cat confdefs.h >>conftest.$ac_ext
89232 cat >>conftest.$ac_ext <<_ACEOF
89233 /* end confdefs.h. */
89234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89236 #define $ac_func innocuous_$ac_func
89238 /* System header to define __stub macros and hopefully few prototypes,
89239 which can conflict with char $ac_func (); below.
89240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89241 <limits.h> exists even on freestanding compilers. */
89243 #ifdef __STDC__
89244 # include <limits.h>
89245 #else
89246 # include <assert.h>
89247 #endif
89249 #undef $ac_func
89251 /* Override any gcc2 internal prototype to avoid an error. */
89252 #ifdef __cplusplus
89253 extern "C"
89255 #endif
89256 /* We use char because int might match the return type of a gcc2
89257 builtin and then its argument prototype would still apply. */
89258 char $ac_func ();
89259 /* The GNU C library defines this for functions which it implements
89260 to always fail with ENOSYS. Some functions are actually named
89261 something starting with __ and the normal name is an alias. */
89262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89263 choke me
89264 #else
89265 char (*f) () = $ac_func;
89266 #endif
89267 #ifdef __cplusplus
89269 #endif
89272 main ()
89274 return f != $ac_func;
89276 return 0;
89278 _ACEOF
89279 rm -f conftest.$ac_objext conftest$ac_exeext
89280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89281 (eval $ac_link) 2>conftest.er1
89282 ac_status=$?
89283 grep -v '^ *+' conftest.er1 >conftest.err
89284 rm -f conftest.er1
89285 cat conftest.err >&5
89286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89287 (exit $ac_status); } &&
89288 { ac_try='test -z "$ac_c_werror_flag"
89289 || test ! -s conftest.err'
89290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89291 (eval $ac_try) 2>&5
89292 ac_status=$?
89293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89294 (exit $ac_status); }; } &&
89295 { ac_try='test -s conftest$ac_exeext'
89296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89297 (eval $ac_try) 2>&5
89298 ac_status=$?
89299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89300 (exit $ac_status); }; }; then
89301 eval "$as_ac_var=yes"
89302 else
89303 echo "$as_me: failed program was:" >&5
89304 sed 's/^/| /' conftest.$ac_ext >&5
89306 eval "$as_ac_var=no"
89308 rm -f conftest.err conftest.$ac_objext \
89309 conftest$ac_exeext conftest.$ac_ext
89311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89313 if test `eval echo '${'$as_ac_var'}'` = yes; then
89314 cat >>confdefs.h <<_ACEOF
89315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89316 _ACEOF
89319 done
89321 else
89323 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89324 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89325 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89326 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89327 echo $ECHO_N "(cached) $ECHO_C" >&6
89328 else
89332 ac_ext=cc
89333 ac_cpp='$CXXCPP $CPPFLAGS'
89334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89338 cat >conftest.$ac_ext <<_ACEOF
89339 /* confdefs.h. */
89340 _ACEOF
89341 cat confdefs.h >>conftest.$ac_ext
89342 cat >>conftest.$ac_ext <<_ACEOF
89343 /* end confdefs.h. */
89344 #include <math.h>
89346 main ()
89348 _copysign(0, 0);
89350 return 0;
89352 _ACEOF
89353 rm -f conftest.$ac_objext
89354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89355 (eval $ac_compile) 2>conftest.er1
89356 ac_status=$?
89357 grep -v '^ *+' conftest.er1 >conftest.err
89358 rm -f conftest.er1
89359 cat conftest.err >&5
89360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89361 (exit $ac_status); } &&
89362 { ac_try='test -z "$ac_cxx_werror_flag"
89363 || test ! -s conftest.err'
89364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89365 (eval $ac_try) 2>&5
89366 ac_status=$?
89367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89368 (exit $ac_status); }; } &&
89369 { ac_try='test -s conftest.$ac_objext'
89370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89371 (eval $ac_try) 2>&5
89372 ac_status=$?
89373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89374 (exit $ac_status); }; }; then
89375 glibcxx_cv_func__copysign_use=yes
89376 else
89377 echo "$as_me: failed program was:" >&5
89378 sed 's/^/| /' conftest.$ac_ext >&5
89380 glibcxx_cv_func__copysign_use=no
89382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89383 ac_ext=c
89384 ac_cpp='$CPP $CPPFLAGS'
89385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89394 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89396 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89398 for ac_func in _copysign
89400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89401 echo "$as_me:$LINENO: checking for $ac_func" >&5
89402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89403 if eval "test \"\${$as_ac_var+set}\" = set"; then
89404 echo $ECHO_N "(cached) $ECHO_C" >&6
89405 else
89406 if test x$gcc_no_link = xyes; then
89407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89409 { (exit 1); exit 1; }; }
89411 cat >conftest.$ac_ext <<_ACEOF
89412 /* confdefs.h. */
89413 _ACEOF
89414 cat confdefs.h >>conftest.$ac_ext
89415 cat >>conftest.$ac_ext <<_ACEOF
89416 /* end confdefs.h. */
89417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89419 #define $ac_func innocuous_$ac_func
89421 /* System header to define __stub macros and hopefully few prototypes,
89422 which can conflict with char $ac_func (); below.
89423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89424 <limits.h> exists even on freestanding compilers. */
89426 #ifdef __STDC__
89427 # include <limits.h>
89428 #else
89429 # include <assert.h>
89430 #endif
89432 #undef $ac_func
89434 /* Override any gcc2 internal prototype to avoid an error. */
89435 #ifdef __cplusplus
89436 extern "C"
89438 #endif
89439 /* We use char because int might match the return type of a gcc2
89440 builtin and then its argument prototype would still apply. */
89441 char $ac_func ();
89442 /* The GNU C library defines this for functions which it implements
89443 to always fail with ENOSYS. Some functions are actually named
89444 something starting with __ and the normal name is an alias. */
89445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89446 choke me
89447 #else
89448 char (*f) () = $ac_func;
89449 #endif
89450 #ifdef __cplusplus
89452 #endif
89455 main ()
89457 return f != $ac_func;
89459 return 0;
89461 _ACEOF
89462 rm -f conftest.$ac_objext conftest$ac_exeext
89463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89464 (eval $ac_link) 2>conftest.er1
89465 ac_status=$?
89466 grep -v '^ *+' conftest.er1 >conftest.err
89467 rm -f conftest.er1
89468 cat conftest.err >&5
89469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89470 (exit $ac_status); } &&
89471 { ac_try='test -z "$ac_c_werror_flag"
89472 || test ! -s conftest.err'
89473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89474 (eval $ac_try) 2>&5
89475 ac_status=$?
89476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89477 (exit $ac_status); }; } &&
89478 { ac_try='test -s conftest$ac_exeext'
89479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89480 (eval $ac_try) 2>&5
89481 ac_status=$?
89482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89483 (exit $ac_status); }; }; then
89484 eval "$as_ac_var=yes"
89485 else
89486 echo "$as_me: failed program was:" >&5
89487 sed 's/^/| /' conftest.$ac_ext >&5
89489 eval "$as_ac_var=no"
89491 rm -f conftest.err conftest.$ac_objext \
89492 conftest$ac_exeext conftest.$ac_ext
89494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89496 if test `eval echo '${'$as_ac_var'}'` = yes; then
89497 cat >>confdefs.h <<_ACEOF
89498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89499 _ACEOF
89502 done
89512 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89513 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89514 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89515 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89516 echo $ECHO_N "(cached) $ECHO_C" >&6
89517 else
89521 ac_ext=cc
89522 ac_cpp='$CXXCPP $CPPFLAGS'
89523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89527 cat >conftest.$ac_ext <<_ACEOF
89528 /* confdefs.h. */
89529 _ACEOF
89530 cat confdefs.h >>conftest.$ac_ext
89531 cat >>conftest.$ac_ext <<_ACEOF
89532 /* end confdefs.h. */
89533 #include <math.h>
89535 main ()
89537 sincos(0, 0, 0);
89539 return 0;
89541 _ACEOF
89542 rm -f conftest.$ac_objext
89543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89544 (eval $ac_compile) 2>conftest.er1
89545 ac_status=$?
89546 grep -v '^ *+' conftest.er1 >conftest.err
89547 rm -f conftest.er1
89548 cat conftest.err >&5
89549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89550 (exit $ac_status); } &&
89551 { ac_try='test -z "$ac_cxx_werror_flag"
89552 || test ! -s conftest.err'
89553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89554 (eval $ac_try) 2>&5
89555 ac_status=$?
89556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89557 (exit $ac_status); }; } &&
89558 { ac_try='test -s conftest.$ac_objext'
89559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89560 (eval $ac_try) 2>&5
89561 ac_status=$?
89562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89563 (exit $ac_status); }; }; then
89564 glibcxx_cv_func_sincos_use=yes
89565 else
89566 echo "$as_me: failed program was:" >&5
89567 sed 's/^/| /' conftest.$ac_ext >&5
89569 glibcxx_cv_func_sincos_use=no
89571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89572 ac_ext=c
89573 ac_cpp='$CPP $CPPFLAGS'
89574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89583 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89585 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89587 for ac_func in sincos
89589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89590 echo "$as_me:$LINENO: checking for $ac_func" >&5
89591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89592 if eval "test \"\${$as_ac_var+set}\" = set"; then
89593 echo $ECHO_N "(cached) $ECHO_C" >&6
89594 else
89595 if test x$gcc_no_link = xyes; then
89596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89598 { (exit 1); exit 1; }; }
89600 cat >conftest.$ac_ext <<_ACEOF
89601 /* confdefs.h. */
89602 _ACEOF
89603 cat confdefs.h >>conftest.$ac_ext
89604 cat >>conftest.$ac_ext <<_ACEOF
89605 /* end confdefs.h. */
89606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89608 #define $ac_func innocuous_$ac_func
89610 /* System header to define __stub macros and hopefully few prototypes,
89611 which can conflict with char $ac_func (); below.
89612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89613 <limits.h> exists even on freestanding compilers. */
89615 #ifdef __STDC__
89616 # include <limits.h>
89617 #else
89618 # include <assert.h>
89619 #endif
89621 #undef $ac_func
89623 /* Override any gcc2 internal prototype to avoid an error. */
89624 #ifdef __cplusplus
89625 extern "C"
89627 #endif
89628 /* We use char because int might match the return type of a gcc2
89629 builtin and then its argument prototype would still apply. */
89630 char $ac_func ();
89631 /* The GNU C library defines this for functions which it implements
89632 to always fail with ENOSYS. Some functions are actually named
89633 something starting with __ and the normal name is an alias. */
89634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89635 choke me
89636 #else
89637 char (*f) () = $ac_func;
89638 #endif
89639 #ifdef __cplusplus
89641 #endif
89644 main ()
89646 return f != $ac_func;
89648 return 0;
89650 _ACEOF
89651 rm -f conftest.$ac_objext conftest$ac_exeext
89652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89653 (eval $ac_link) 2>conftest.er1
89654 ac_status=$?
89655 grep -v '^ *+' conftest.er1 >conftest.err
89656 rm -f conftest.er1
89657 cat conftest.err >&5
89658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89659 (exit $ac_status); } &&
89660 { ac_try='test -z "$ac_c_werror_flag"
89661 || test ! -s conftest.err'
89662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89663 (eval $ac_try) 2>&5
89664 ac_status=$?
89665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89666 (exit $ac_status); }; } &&
89667 { ac_try='test -s conftest$ac_exeext'
89668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89669 (eval $ac_try) 2>&5
89670 ac_status=$?
89671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89672 (exit $ac_status); }; }; then
89673 eval "$as_ac_var=yes"
89674 else
89675 echo "$as_me: failed program was:" >&5
89676 sed 's/^/| /' conftest.$ac_ext >&5
89678 eval "$as_ac_var=no"
89680 rm -f conftest.err conftest.$ac_objext \
89681 conftest$ac_exeext conftest.$ac_ext
89683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89685 if test `eval echo '${'$as_ac_var'}'` = yes; then
89686 cat >>confdefs.h <<_ACEOF
89687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89688 _ACEOF
89691 done
89693 else
89695 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89696 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89697 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89698 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89699 echo $ECHO_N "(cached) $ECHO_C" >&6
89700 else
89704 ac_ext=cc
89705 ac_cpp='$CXXCPP $CPPFLAGS'
89706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89710 cat >conftest.$ac_ext <<_ACEOF
89711 /* confdefs.h. */
89712 _ACEOF
89713 cat confdefs.h >>conftest.$ac_ext
89714 cat >>conftest.$ac_ext <<_ACEOF
89715 /* end confdefs.h. */
89716 #include <math.h>
89718 main ()
89720 _sincos(0, 0, 0);
89722 return 0;
89724 _ACEOF
89725 rm -f conftest.$ac_objext
89726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89727 (eval $ac_compile) 2>conftest.er1
89728 ac_status=$?
89729 grep -v '^ *+' conftest.er1 >conftest.err
89730 rm -f conftest.er1
89731 cat conftest.err >&5
89732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89733 (exit $ac_status); } &&
89734 { ac_try='test -z "$ac_cxx_werror_flag"
89735 || test ! -s conftest.err'
89736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89737 (eval $ac_try) 2>&5
89738 ac_status=$?
89739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89740 (exit $ac_status); }; } &&
89741 { ac_try='test -s conftest.$ac_objext'
89742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89743 (eval $ac_try) 2>&5
89744 ac_status=$?
89745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89746 (exit $ac_status); }; }; then
89747 glibcxx_cv_func__sincos_use=yes
89748 else
89749 echo "$as_me: failed program was:" >&5
89750 sed 's/^/| /' conftest.$ac_ext >&5
89752 glibcxx_cv_func__sincos_use=no
89754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89755 ac_ext=c
89756 ac_cpp='$CPP $CPPFLAGS'
89757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89766 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89768 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89770 for ac_func in _sincos
89772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89773 echo "$as_me:$LINENO: checking for $ac_func" >&5
89774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89775 if eval "test \"\${$as_ac_var+set}\" = set"; then
89776 echo $ECHO_N "(cached) $ECHO_C" >&6
89777 else
89778 if test x$gcc_no_link = xyes; then
89779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89781 { (exit 1); exit 1; }; }
89783 cat >conftest.$ac_ext <<_ACEOF
89784 /* confdefs.h. */
89785 _ACEOF
89786 cat confdefs.h >>conftest.$ac_ext
89787 cat >>conftest.$ac_ext <<_ACEOF
89788 /* end confdefs.h. */
89789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89791 #define $ac_func innocuous_$ac_func
89793 /* System header to define __stub macros and hopefully few prototypes,
89794 which can conflict with char $ac_func (); below.
89795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89796 <limits.h> exists even on freestanding compilers. */
89798 #ifdef __STDC__
89799 # include <limits.h>
89800 #else
89801 # include <assert.h>
89802 #endif
89804 #undef $ac_func
89806 /* Override any gcc2 internal prototype to avoid an error. */
89807 #ifdef __cplusplus
89808 extern "C"
89810 #endif
89811 /* We use char because int might match the return type of a gcc2
89812 builtin and then its argument prototype would still apply. */
89813 char $ac_func ();
89814 /* The GNU C library defines this for functions which it implements
89815 to always fail with ENOSYS. Some functions are actually named
89816 something starting with __ and the normal name is an alias. */
89817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89818 choke me
89819 #else
89820 char (*f) () = $ac_func;
89821 #endif
89822 #ifdef __cplusplus
89824 #endif
89827 main ()
89829 return f != $ac_func;
89831 return 0;
89833 _ACEOF
89834 rm -f conftest.$ac_objext conftest$ac_exeext
89835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89836 (eval $ac_link) 2>conftest.er1
89837 ac_status=$?
89838 grep -v '^ *+' conftest.er1 >conftest.err
89839 rm -f conftest.er1
89840 cat conftest.err >&5
89841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89842 (exit $ac_status); } &&
89843 { ac_try='test -z "$ac_c_werror_flag"
89844 || test ! -s conftest.err'
89845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89846 (eval $ac_try) 2>&5
89847 ac_status=$?
89848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89849 (exit $ac_status); }; } &&
89850 { ac_try='test -s conftest$ac_exeext'
89851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89852 (eval $ac_try) 2>&5
89853 ac_status=$?
89854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89855 (exit $ac_status); }; }; then
89856 eval "$as_ac_var=yes"
89857 else
89858 echo "$as_me: failed program was:" >&5
89859 sed 's/^/| /' conftest.$ac_ext >&5
89861 eval "$as_ac_var=no"
89863 rm -f conftest.err conftest.$ac_objext \
89864 conftest$ac_exeext conftest.$ac_ext
89866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89868 if test `eval echo '${'$as_ac_var'}'` = yes; then
89869 cat >>confdefs.h <<_ACEOF
89870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89871 _ACEOF
89874 done
89884 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89885 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89886 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89887 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89888 echo $ECHO_N "(cached) $ECHO_C" >&6
89889 else
89893 ac_ext=cc
89894 ac_cpp='$CXXCPP $CPPFLAGS'
89895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89899 cat >conftest.$ac_ext <<_ACEOF
89900 /* confdefs.h. */
89901 _ACEOF
89902 cat confdefs.h >>conftest.$ac_ext
89903 cat >>conftest.$ac_ext <<_ACEOF
89904 /* end confdefs.h. */
89905 #include <math.h>
89906 #ifdef HAVE_IEEEFP_H
89907 #include <ieeefp.h>
89908 #endif
89911 main ()
89913 fpclass(0);
89915 return 0;
89917 _ACEOF
89918 rm -f conftest.$ac_objext
89919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89920 (eval $ac_compile) 2>conftest.er1
89921 ac_status=$?
89922 grep -v '^ *+' conftest.er1 >conftest.err
89923 rm -f conftest.er1
89924 cat conftest.err >&5
89925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89926 (exit $ac_status); } &&
89927 { ac_try='test -z "$ac_cxx_werror_flag"
89928 || test ! -s conftest.err'
89929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89930 (eval $ac_try) 2>&5
89931 ac_status=$?
89932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89933 (exit $ac_status); }; } &&
89934 { ac_try='test -s conftest.$ac_objext'
89935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89936 (eval $ac_try) 2>&5
89937 ac_status=$?
89938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89939 (exit $ac_status); }; }; then
89940 glibcxx_cv_func_fpclass_use=yes
89941 else
89942 echo "$as_me: failed program was:" >&5
89943 sed 's/^/| /' conftest.$ac_ext >&5
89945 glibcxx_cv_func_fpclass_use=no
89947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89948 ac_ext=c
89949 ac_cpp='$CPP $CPPFLAGS'
89950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89958 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89959 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89961 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89963 for ac_func in fpclass
89965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89966 echo "$as_me:$LINENO: checking for $ac_func" >&5
89967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89968 if eval "test \"\${$as_ac_var+set}\" = set"; then
89969 echo $ECHO_N "(cached) $ECHO_C" >&6
89970 else
89971 if test x$gcc_no_link = xyes; then
89972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89974 { (exit 1); exit 1; }; }
89976 cat >conftest.$ac_ext <<_ACEOF
89977 /* confdefs.h. */
89978 _ACEOF
89979 cat confdefs.h >>conftest.$ac_ext
89980 cat >>conftest.$ac_ext <<_ACEOF
89981 /* end confdefs.h. */
89982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89984 #define $ac_func innocuous_$ac_func
89986 /* System header to define __stub macros and hopefully few prototypes,
89987 which can conflict with char $ac_func (); below.
89988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89989 <limits.h> exists even on freestanding compilers. */
89991 #ifdef __STDC__
89992 # include <limits.h>
89993 #else
89994 # include <assert.h>
89995 #endif
89997 #undef $ac_func
89999 /* Override any gcc2 internal prototype to avoid an error. */
90000 #ifdef __cplusplus
90001 extern "C"
90003 #endif
90004 /* We use char because int might match the return type of a gcc2
90005 builtin and then its argument prototype would still apply. */
90006 char $ac_func ();
90007 /* The GNU C library defines this for functions which it implements
90008 to always fail with ENOSYS. Some functions are actually named
90009 something starting with __ and the normal name is an alias. */
90010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90011 choke me
90012 #else
90013 char (*f) () = $ac_func;
90014 #endif
90015 #ifdef __cplusplus
90017 #endif
90020 main ()
90022 return f != $ac_func;
90024 return 0;
90026 _ACEOF
90027 rm -f conftest.$ac_objext conftest$ac_exeext
90028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90029 (eval $ac_link) 2>conftest.er1
90030 ac_status=$?
90031 grep -v '^ *+' conftest.er1 >conftest.err
90032 rm -f conftest.er1
90033 cat conftest.err >&5
90034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90035 (exit $ac_status); } &&
90036 { ac_try='test -z "$ac_c_werror_flag"
90037 || test ! -s conftest.err'
90038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90039 (eval $ac_try) 2>&5
90040 ac_status=$?
90041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90042 (exit $ac_status); }; } &&
90043 { ac_try='test -s conftest$ac_exeext'
90044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90045 (eval $ac_try) 2>&5
90046 ac_status=$?
90047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90048 (exit $ac_status); }; }; then
90049 eval "$as_ac_var=yes"
90050 else
90051 echo "$as_me: failed program was:" >&5
90052 sed 's/^/| /' conftest.$ac_ext >&5
90054 eval "$as_ac_var=no"
90056 rm -f conftest.err conftest.$ac_objext \
90057 conftest$ac_exeext conftest.$ac_ext
90059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90061 if test `eval echo '${'$as_ac_var'}'` = yes; then
90062 cat >>confdefs.h <<_ACEOF
90063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90064 _ACEOF
90067 done
90069 else
90071 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90072 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90073 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90074 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90075 echo $ECHO_N "(cached) $ECHO_C" >&6
90076 else
90080 ac_ext=cc
90081 ac_cpp='$CXXCPP $CPPFLAGS'
90082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90086 cat >conftest.$ac_ext <<_ACEOF
90087 /* confdefs.h. */
90088 _ACEOF
90089 cat confdefs.h >>conftest.$ac_ext
90090 cat >>conftest.$ac_ext <<_ACEOF
90091 /* end confdefs.h. */
90092 #include <math.h>
90093 #ifdef HAVE_IEEEFP_H
90094 #include <ieeefp.h>
90095 #endif
90098 main ()
90100 _fpclass(0);
90102 return 0;
90104 _ACEOF
90105 rm -f conftest.$ac_objext
90106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90107 (eval $ac_compile) 2>conftest.er1
90108 ac_status=$?
90109 grep -v '^ *+' conftest.er1 >conftest.err
90110 rm -f conftest.er1
90111 cat conftest.err >&5
90112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90113 (exit $ac_status); } &&
90114 { ac_try='test -z "$ac_cxx_werror_flag"
90115 || test ! -s conftest.err'
90116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90117 (eval $ac_try) 2>&5
90118 ac_status=$?
90119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90120 (exit $ac_status); }; } &&
90121 { ac_try='test -s conftest.$ac_objext'
90122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90123 (eval $ac_try) 2>&5
90124 ac_status=$?
90125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90126 (exit $ac_status); }; }; then
90127 glibcxx_cv_func__fpclass_use=yes
90128 else
90129 echo "$as_me: failed program was:" >&5
90130 sed 's/^/| /' conftest.$ac_ext >&5
90132 glibcxx_cv_func__fpclass_use=no
90134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90135 ac_ext=c
90136 ac_cpp='$CPP $CPPFLAGS'
90137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90146 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90148 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90150 for ac_func in _fpclass
90152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90153 echo "$as_me:$LINENO: checking for $ac_func" >&5
90154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90155 if eval "test \"\${$as_ac_var+set}\" = set"; then
90156 echo $ECHO_N "(cached) $ECHO_C" >&6
90157 else
90158 if test x$gcc_no_link = xyes; then
90159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90161 { (exit 1); exit 1; }; }
90163 cat >conftest.$ac_ext <<_ACEOF
90164 /* confdefs.h. */
90165 _ACEOF
90166 cat confdefs.h >>conftest.$ac_ext
90167 cat >>conftest.$ac_ext <<_ACEOF
90168 /* end confdefs.h. */
90169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90171 #define $ac_func innocuous_$ac_func
90173 /* System header to define __stub macros and hopefully few prototypes,
90174 which can conflict with char $ac_func (); below.
90175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90176 <limits.h> exists even on freestanding compilers. */
90178 #ifdef __STDC__
90179 # include <limits.h>
90180 #else
90181 # include <assert.h>
90182 #endif
90184 #undef $ac_func
90186 /* Override any gcc2 internal prototype to avoid an error. */
90187 #ifdef __cplusplus
90188 extern "C"
90190 #endif
90191 /* We use char because int might match the return type of a gcc2
90192 builtin and then its argument prototype would still apply. */
90193 char $ac_func ();
90194 /* The GNU C library defines this for functions which it implements
90195 to always fail with ENOSYS. Some functions are actually named
90196 something starting with __ and the normal name is an alias. */
90197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90198 choke me
90199 #else
90200 char (*f) () = $ac_func;
90201 #endif
90202 #ifdef __cplusplus
90204 #endif
90207 main ()
90209 return f != $ac_func;
90211 return 0;
90213 _ACEOF
90214 rm -f conftest.$ac_objext conftest$ac_exeext
90215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90216 (eval $ac_link) 2>conftest.er1
90217 ac_status=$?
90218 grep -v '^ *+' conftest.er1 >conftest.err
90219 rm -f conftest.er1
90220 cat conftest.err >&5
90221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90222 (exit $ac_status); } &&
90223 { ac_try='test -z "$ac_c_werror_flag"
90224 || test ! -s conftest.err'
90225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90226 (eval $ac_try) 2>&5
90227 ac_status=$?
90228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90229 (exit $ac_status); }; } &&
90230 { ac_try='test -s conftest$ac_exeext'
90231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90232 (eval $ac_try) 2>&5
90233 ac_status=$?
90234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90235 (exit $ac_status); }; }; then
90236 eval "$as_ac_var=yes"
90237 else
90238 echo "$as_me: failed program was:" >&5
90239 sed 's/^/| /' conftest.$ac_ext >&5
90241 eval "$as_ac_var=no"
90243 rm -f conftest.err conftest.$ac_objext \
90244 conftest$ac_exeext conftest.$ac_ext
90246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90248 if test `eval echo '${'$as_ac_var'}'` = yes; then
90249 cat >>confdefs.h <<_ACEOF
90250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90251 _ACEOF
90254 done
90264 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90265 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90266 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90267 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90268 echo $ECHO_N "(cached) $ECHO_C" >&6
90269 else
90273 ac_ext=cc
90274 ac_cpp='$CXXCPP $CPPFLAGS'
90275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90279 cat >conftest.$ac_ext <<_ACEOF
90280 /* confdefs.h. */
90281 _ACEOF
90282 cat confdefs.h >>conftest.$ac_ext
90283 cat >>conftest.$ac_ext <<_ACEOF
90284 /* end confdefs.h. */
90285 #include <math.h>
90286 #ifdef HAVE_IEEEFP_H
90287 #include <ieeefp.h>
90288 #endif
90291 main ()
90293 qfpclass(0);
90295 return 0;
90297 _ACEOF
90298 rm -f conftest.$ac_objext
90299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90300 (eval $ac_compile) 2>conftest.er1
90301 ac_status=$?
90302 grep -v '^ *+' conftest.er1 >conftest.err
90303 rm -f conftest.er1
90304 cat conftest.err >&5
90305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90306 (exit $ac_status); } &&
90307 { ac_try='test -z "$ac_cxx_werror_flag"
90308 || test ! -s conftest.err'
90309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90310 (eval $ac_try) 2>&5
90311 ac_status=$?
90312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90313 (exit $ac_status); }; } &&
90314 { ac_try='test -s conftest.$ac_objext'
90315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90316 (eval $ac_try) 2>&5
90317 ac_status=$?
90318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90319 (exit $ac_status); }; }; then
90320 glibcxx_cv_func_qfpclass_use=yes
90321 else
90322 echo "$as_me: failed program was:" >&5
90323 sed 's/^/| /' conftest.$ac_ext >&5
90325 glibcxx_cv_func_qfpclass_use=no
90327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90328 ac_ext=c
90329 ac_cpp='$CPP $CPPFLAGS'
90330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90339 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90341 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90343 for ac_func in qfpclass
90345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90346 echo "$as_me:$LINENO: checking for $ac_func" >&5
90347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90348 if eval "test \"\${$as_ac_var+set}\" = set"; then
90349 echo $ECHO_N "(cached) $ECHO_C" >&6
90350 else
90351 if test x$gcc_no_link = xyes; then
90352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90354 { (exit 1); exit 1; }; }
90356 cat >conftest.$ac_ext <<_ACEOF
90357 /* confdefs.h. */
90358 _ACEOF
90359 cat confdefs.h >>conftest.$ac_ext
90360 cat >>conftest.$ac_ext <<_ACEOF
90361 /* end confdefs.h. */
90362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90364 #define $ac_func innocuous_$ac_func
90366 /* System header to define __stub macros and hopefully few prototypes,
90367 which can conflict with char $ac_func (); below.
90368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90369 <limits.h> exists even on freestanding compilers. */
90371 #ifdef __STDC__
90372 # include <limits.h>
90373 #else
90374 # include <assert.h>
90375 #endif
90377 #undef $ac_func
90379 /* Override any gcc2 internal prototype to avoid an error. */
90380 #ifdef __cplusplus
90381 extern "C"
90383 #endif
90384 /* We use char because int might match the return type of a gcc2
90385 builtin and then its argument prototype would still apply. */
90386 char $ac_func ();
90387 /* The GNU C library defines this for functions which it implements
90388 to always fail with ENOSYS. Some functions are actually named
90389 something starting with __ and the normal name is an alias. */
90390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90391 choke me
90392 #else
90393 char (*f) () = $ac_func;
90394 #endif
90395 #ifdef __cplusplus
90397 #endif
90400 main ()
90402 return f != $ac_func;
90404 return 0;
90406 _ACEOF
90407 rm -f conftest.$ac_objext conftest$ac_exeext
90408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90409 (eval $ac_link) 2>conftest.er1
90410 ac_status=$?
90411 grep -v '^ *+' conftest.er1 >conftest.err
90412 rm -f conftest.er1
90413 cat conftest.err >&5
90414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90415 (exit $ac_status); } &&
90416 { ac_try='test -z "$ac_c_werror_flag"
90417 || test ! -s conftest.err'
90418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90419 (eval $ac_try) 2>&5
90420 ac_status=$?
90421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90422 (exit $ac_status); }; } &&
90423 { ac_try='test -s conftest$ac_exeext'
90424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90425 (eval $ac_try) 2>&5
90426 ac_status=$?
90427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90428 (exit $ac_status); }; }; then
90429 eval "$as_ac_var=yes"
90430 else
90431 echo "$as_me: failed program was:" >&5
90432 sed 's/^/| /' conftest.$ac_ext >&5
90434 eval "$as_ac_var=no"
90436 rm -f conftest.err conftest.$ac_objext \
90437 conftest$ac_exeext conftest.$ac_ext
90439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90441 if test `eval echo '${'$as_ac_var'}'` = yes; then
90442 cat >>confdefs.h <<_ACEOF
90443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90444 _ACEOF
90447 done
90449 else
90451 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90452 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90453 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90454 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90455 echo $ECHO_N "(cached) $ECHO_C" >&6
90456 else
90460 ac_ext=cc
90461 ac_cpp='$CXXCPP $CPPFLAGS'
90462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90466 cat >conftest.$ac_ext <<_ACEOF
90467 /* confdefs.h. */
90468 _ACEOF
90469 cat confdefs.h >>conftest.$ac_ext
90470 cat >>conftest.$ac_ext <<_ACEOF
90471 /* end confdefs.h. */
90472 #include <math.h>
90473 #ifdef HAVE_IEEEFP_H
90474 #include <ieeefp.h>
90475 #endif
90478 main ()
90480 _qfpclass(0);
90482 return 0;
90484 _ACEOF
90485 rm -f conftest.$ac_objext
90486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90487 (eval $ac_compile) 2>conftest.er1
90488 ac_status=$?
90489 grep -v '^ *+' conftest.er1 >conftest.err
90490 rm -f conftest.er1
90491 cat conftest.err >&5
90492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90493 (exit $ac_status); } &&
90494 { ac_try='test -z "$ac_cxx_werror_flag"
90495 || test ! -s conftest.err'
90496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90497 (eval $ac_try) 2>&5
90498 ac_status=$?
90499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90500 (exit $ac_status); }; } &&
90501 { ac_try='test -s conftest.$ac_objext'
90502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90503 (eval $ac_try) 2>&5
90504 ac_status=$?
90505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90506 (exit $ac_status); }; }; then
90507 glibcxx_cv_func__qfpclass_use=yes
90508 else
90509 echo "$as_me: failed program was:" >&5
90510 sed 's/^/| /' conftest.$ac_ext >&5
90512 glibcxx_cv_func__qfpclass_use=no
90514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90515 ac_ext=c
90516 ac_cpp='$CPP $CPPFLAGS'
90517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90526 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90528 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90530 for ac_func in _qfpclass
90532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90533 echo "$as_me:$LINENO: checking for $ac_func" >&5
90534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90535 if eval "test \"\${$as_ac_var+set}\" = set"; then
90536 echo $ECHO_N "(cached) $ECHO_C" >&6
90537 else
90538 if test x$gcc_no_link = xyes; then
90539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90541 { (exit 1); exit 1; }; }
90543 cat >conftest.$ac_ext <<_ACEOF
90544 /* confdefs.h. */
90545 _ACEOF
90546 cat confdefs.h >>conftest.$ac_ext
90547 cat >>conftest.$ac_ext <<_ACEOF
90548 /* end confdefs.h. */
90549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90551 #define $ac_func innocuous_$ac_func
90553 /* System header to define __stub macros and hopefully few prototypes,
90554 which can conflict with char $ac_func (); below.
90555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90556 <limits.h> exists even on freestanding compilers. */
90558 #ifdef __STDC__
90559 # include <limits.h>
90560 #else
90561 # include <assert.h>
90562 #endif
90564 #undef $ac_func
90566 /* Override any gcc2 internal prototype to avoid an error. */
90567 #ifdef __cplusplus
90568 extern "C"
90570 #endif
90571 /* We use char because int might match the return type of a gcc2
90572 builtin and then its argument prototype would still apply. */
90573 char $ac_func ();
90574 /* The GNU C library defines this for functions which it implements
90575 to always fail with ENOSYS. Some functions are actually named
90576 something starting with __ and the normal name is an alias. */
90577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90578 choke me
90579 #else
90580 char (*f) () = $ac_func;
90581 #endif
90582 #ifdef __cplusplus
90584 #endif
90587 main ()
90589 return f != $ac_func;
90591 return 0;
90593 _ACEOF
90594 rm -f conftest.$ac_objext conftest$ac_exeext
90595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90596 (eval $ac_link) 2>conftest.er1
90597 ac_status=$?
90598 grep -v '^ *+' conftest.er1 >conftest.err
90599 rm -f conftest.er1
90600 cat conftest.err >&5
90601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90602 (exit $ac_status); } &&
90603 { ac_try='test -z "$ac_c_werror_flag"
90604 || test ! -s conftest.err'
90605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90606 (eval $ac_try) 2>&5
90607 ac_status=$?
90608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90609 (exit $ac_status); }; } &&
90610 { ac_try='test -s conftest$ac_exeext'
90611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90612 (eval $ac_try) 2>&5
90613 ac_status=$?
90614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90615 (exit $ac_status); }; }; then
90616 eval "$as_ac_var=yes"
90617 else
90618 echo "$as_me: failed program was:" >&5
90619 sed 's/^/| /' conftest.$ac_ext >&5
90621 eval "$as_ac_var=no"
90623 rm -f conftest.err conftest.$ac_objext \
90624 conftest$ac_exeext conftest.$ac_ext
90626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90628 if test `eval echo '${'$as_ac_var'}'` = yes; then
90629 cat >>confdefs.h <<_ACEOF
90630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90631 _ACEOF
90634 done
90644 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90645 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90646 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90647 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90648 echo $ECHO_N "(cached) $ECHO_C" >&6
90649 else
90653 ac_ext=cc
90654 ac_cpp='$CXXCPP $CPPFLAGS'
90655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90659 cat >conftest.$ac_ext <<_ACEOF
90660 /* confdefs.h. */
90661 _ACEOF
90662 cat confdefs.h >>conftest.$ac_ext
90663 cat >>conftest.$ac_ext <<_ACEOF
90664 /* end confdefs.h. */
90665 #include <math.h>
90667 main ()
90669 hypot(0, 0);
90671 return 0;
90673 _ACEOF
90674 rm -f conftest.$ac_objext
90675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90676 (eval $ac_compile) 2>conftest.er1
90677 ac_status=$?
90678 grep -v '^ *+' conftest.er1 >conftest.err
90679 rm -f conftest.er1
90680 cat conftest.err >&5
90681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90682 (exit $ac_status); } &&
90683 { ac_try='test -z "$ac_cxx_werror_flag"
90684 || test ! -s conftest.err'
90685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90686 (eval $ac_try) 2>&5
90687 ac_status=$?
90688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90689 (exit $ac_status); }; } &&
90690 { ac_try='test -s conftest.$ac_objext'
90691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90692 (eval $ac_try) 2>&5
90693 ac_status=$?
90694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90695 (exit $ac_status); }; }; then
90696 glibcxx_cv_func_hypot_use=yes
90697 else
90698 echo "$as_me: failed program was:" >&5
90699 sed 's/^/| /' conftest.$ac_ext >&5
90701 glibcxx_cv_func_hypot_use=no
90703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90704 ac_ext=c
90705 ac_cpp='$CPP $CPPFLAGS'
90706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90715 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90717 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90719 for ac_func in hypot
90721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90722 echo "$as_me:$LINENO: checking for $ac_func" >&5
90723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90724 if eval "test \"\${$as_ac_var+set}\" = set"; then
90725 echo $ECHO_N "(cached) $ECHO_C" >&6
90726 else
90727 if test x$gcc_no_link = xyes; then
90728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90730 { (exit 1); exit 1; }; }
90732 cat >conftest.$ac_ext <<_ACEOF
90733 /* confdefs.h. */
90734 _ACEOF
90735 cat confdefs.h >>conftest.$ac_ext
90736 cat >>conftest.$ac_ext <<_ACEOF
90737 /* end confdefs.h. */
90738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90740 #define $ac_func innocuous_$ac_func
90742 /* System header to define __stub macros and hopefully few prototypes,
90743 which can conflict with char $ac_func (); below.
90744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90745 <limits.h> exists even on freestanding compilers. */
90747 #ifdef __STDC__
90748 # include <limits.h>
90749 #else
90750 # include <assert.h>
90751 #endif
90753 #undef $ac_func
90755 /* Override any gcc2 internal prototype to avoid an error. */
90756 #ifdef __cplusplus
90757 extern "C"
90759 #endif
90760 /* We use char because int might match the return type of a gcc2
90761 builtin and then its argument prototype would still apply. */
90762 char $ac_func ();
90763 /* The GNU C library defines this for functions which it implements
90764 to always fail with ENOSYS. Some functions are actually named
90765 something starting with __ and the normal name is an alias. */
90766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90767 choke me
90768 #else
90769 char (*f) () = $ac_func;
90770 #endif
90771 #ifdef __cplusplus
90773 #endif
90776 main ()
90778 return f != $ac_func;
90780 return 0;
90782 _ACEOF
90783 rm -f conftest.$ac_objext conftest$ac_exeext
90784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90785 (eval $ac_link) 2>conftest.er1
90786 ac_status=$?
90787 grep -v '^ *+' conftest.er1 >conftest.err
90788 rm -f conftest.er1
90789 cat conftest.err >&5
90790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90791 (exit $ac_status); } &&
90792 { ac_try='test -z "$ac_c_werror_flag"
90793 || test ! -s conftest.err'
90794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90795 (eval $ac_try) 2>&5
90796 ac_status=$?
90797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90798 (exit $ac_status); }; } &&
90799 { ac_try='test -s conftest$ac_exeext'
90800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90801 (eval $ac_try) 2>&5
90802 ac_status=$?
90803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90804 (exit $ac_status); }; }; then
90805 eval "$as_ac_var=yes"
90806 else
90807 echo "$as_me: failed program was:" >&5
90808 sed 's/^/| /' conftest.$ac_ext >&5
90810 eval "$as_ac_var=no"
90812 rm -f conftest.err conftest.$ac_objext \
90813 conftest$ac_exeext conftest.$ac_ext
90815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90817 if test `eval echo '${'$as_ac_var'}'` = yes; then
90818 cat >>confdefs.h <<_ACEOF
90819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90820 _ACEOF
90823 done
90825 else
90827 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90828 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90829 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90830 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90831 echo $ECHO_N "(cached) $ECHO_C" >&6
90832 else
90836 ac_ext=cc
90837 ac_cpp='$CXXCPP $CPPFLAGS'
90838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90842 cat >conftest.$ac_ext <<_ACEOF
90843 /* confdefs.h. */
90844 _ACEOF
90845 cat confdefs.h >>conftest.$ac_ext
90846 cat >>conftest.$ac_ext <<_ACEOF
90847 /* end confdefs.h. */
90848 #include <math.h>
90850 main ()
90852 _hypot(0, 0);
90854 return 0;
90856 _ACEOF
90857 rm -f conftest.$ac_objext
90858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90859 (eval $ac_compile) 2>conftest.er1
90860 ac_status=$?
90861 grep -v '^ *+' conftest.er1 >conftest.err
90862 rm -f conftest.er1
90863 cat conftest.err >&5
90864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90865 (exit $ac_status); } &&
90866 { ac_try='test -z "$ac_cxx_werror_flag"
90867 || test ! -s conftest.err'
90868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90869 (eval $ac_try) 2>&5
90870 ac_status=$?
90871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90872 (exit $ac_status); }; } &&
90873 { ac_try='test -s conftest.$ac_objext'
90874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90875 (eval $ac_try) 2>&5
90876 ac_status=$?
90877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90878 (exit $ac_status); }; }; then
90879 glibcxx_cv_func__hypot_use=yes
90880 else
90881 echo "$as_me: failed program was:" >&5
90882 sed 's/^/| /' conftest.$ac_ext >&5
90884 glibcxx_cv_func__hypot_use=no
90886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90887 ac_ext=c
90888 ac_cpp='$CPP $CPPFLAGS'
90889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90898 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90900 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90902 for ac_func in _hypot
90904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90905 echo "$as_me:$LINENO: checking for $ac_func" >&5
90906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90907 if eval "test \"\${$as_ac_var+set}\" = set"; then
90908 echo $ECHO_N "(cached) $ECHO_C" >&6
90909 else
90910 if test x$gcc_no_link = xyes; then
90911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90913 { (exit 1); exit 1; }; }
90915 cat >conftest.$ac_ext <<_ACEOF
90916 /* confdefs.h. */
90917 _ACEOF
90918 cat confdefs.h >>conftest.$ac_ext
90919 cat >>conftest.$ac_ext <<_ACEOF
90920 /* end confdefs.h. */
90921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90923 #define $ac_func innocuous_$ac_func
90925 /* System header to define __stub macros and hopefully few prototypes,
90926 which can conflict with char $ac_func (); below.
90927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90928 <limits.h> exists even on freestanding compilers. */
90930 #ifdef __STDC__
90931 # include <limits.h>
90932 #else
90933 # include <assert.h>
90934 #endif
90936 #undef $ac_func
90938 /* Override any gcc2 internal prototype to avoid an error. */
90939 #ifdef __cplusplus
90940 extern "C"
90942 #endif
90943 /* We use char because int might match the return type of a gcc2
90944 builtin and then its argument prototype would still apply. */
90945 char $ac_func ();
90946 /* The GNU C library defines this for functions which it implements
90947 to always fail with ENOSYS. Some functions are actually named
90948 something starting with __ and the normal name is an alias. */
90949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90950 choke me
90951 #else
90952 char (*f) () = $ac_func;
90953 #endif
90954 #ifdef __cplusplus
90956 #endif
90959 main ()
90961 return f != $ac_func;
90963 return 0;
90965 _ACEOF
90966 rm -f conftest.$ac_objext conftest$ac_exeext
90967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90968 (eval $ac_link) 2>conftest.er1
90969 ac_status=$?
90970 grep -v '^ *+' conftest.er1 >conftest.err
90971 rm -f conftest.er1
90972 cat conftest.err >&5
90973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90974 (exit $ac_status); } &&
90975 { ac_try='test -z "$ac_c_werror_flag"
90976 || test ! -s conftest.err'
90977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90978 (eval $ac_try) 2>&5
90979 ac_status=$?
90980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90981 (exit $ac_status); }; } &&
90982 { ac_try='test -s conftest$ac_exeext'
90983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90984 (eval $ac_try) 2>&5
90985 ac_status=$?
90986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987 (exit $ac_status); }; }; then
90988 eval "$as_ac_var=yes"
90989 else
90990 echo "$as_me: failed program was:" >&5
90991 sed 's/^/| /' conftest.$ac_ext >&5
90993 eval "$as_ac_var=no"
90995 rm -f conftest.err conftest.$ac_objext \
90996 conftest$ac_exeext conftest.$ac_ext
90998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91000 if test `eval echo '${'$as_ac_var'}'` = yes; then
91001 cat >>confdefs.h <<_ACEOF
91002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91003 _ACEOF
91006 done
91016 echo "$as_me:$LINENO: checking for float trig functions" >&5
91017 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
91018 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
91019 echo $ECHO_N "(cached) $ECHO_C" >&6
91020 else
91024 ac_ext=cc
91025 ac_cpp='$CXXCPP $CPPFLAGS'
91026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91030 cat >conftest.$ac_ext <<_ACEOF
91031 /* confdefs.h. */
91032 _ACEOF
91033 cat confdefs.h >>conftest.$ac_ext
91034 cat >>conftest.$ac_ext <<_ACEOF
91035 /* end confdefs.h. */
91036 #include <math.h>
91038 main ()
91040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91042 return 0;
91044 _ACEOF
91045 rm -f conftest.$ac_objext
91046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91047 (eval $ac_compile) 2>conftest.er1
91048 ac_status=$?
91049 grep -v '^ *+' conftest.er1 >conftest.err
91050 rm -f conftest.er1
91051 cat conftest.err >&5
91052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91053 (exit $ac_status); } &&
91054 { ac_try='test -z "$ac_cxx_werror_flag"
91055 || test ! -s conftest.err'
91056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91057 (eval $ac_try) 2>&5
91058 ac_status=$?
91059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91060 (exit $ac_status); }; } &&
91061 { ac_try='test -s conftest.$ac_objext'
91062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91063 (eval $ac_try) 2>&5
91064 ac_status=$?
91065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91066 (exit $ac_status); }; }; then
91067 glibcxx_cv_func_float_trig_use=yes
91068 else
91069 echo "$as_me: failed program was:" >&5
91070 sed 's/^/| /' conftest.$ac_ext >&5
91072 glibcxx_cv_func_float_trig_use=no
91074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91075 ac_ext=c
91076 ac_cpp='$CPP $CPPFLAGS'
91077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91084 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91085 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91095 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91098 echo "$as_me:$LINENO: checking for $ac_func" >&5
91099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91100 if eval "test \"\${$as_ac_var+set}\" = set"; then
91101 echo $ECHO_N "(cached) $ECHO_C" >&6
91102 else
91103 if test x$gcc_no_link = xyes; then
91104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91106 { (exit 1); exit 1; }; }
91108 cat >conftest.$ac_ext <<_ACEOF
91109 /* confdefs.h. */
91110 _ACEOF
91111 cat confdefs.h >>conftest.$ac_ext
91112 cat >>conftest.$ac_ext <<_ACEOF
91113 /* end confdefs.h. */
91114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91116 #define $ac_func innocuous_$ac_func
91118 /* System header to define __stub macros and hopefully few prototypes,
91119 which can conflict with char $ac_func (); below.
91120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91121 <limits.h> exists even on freestanding compilers. */
91123 #ifdef __STDC__
91124 # include <limits.h>
91125 #else
91126 # include <assert.h>
91127 #endif
91129 #undef $ac_func
91131 /* Override any gcc2 internal prototype to avoid an error. */
91132 #ifdef __cplusplus
91133 extern "C"
91135 #endif
91136 /* We use char because int might match the return type of a gcc2
91137 builtin and then its argument prototype would still apply. */
91138 char $ac_func ();
91139 /* The GNU C library defines this for functions which it implements
91140 to always fail with ENOSYS. Some functions are actually named
91141 something starting with __ and the normal name is an alias. */
91142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91143 choke me
91144 #else
91145 char (*f) () = $ac_func;
91146 #endif
91147 #ifdef __cplusplus
91149 #endif
91152 main ()
91154 return f != $ac_func;
91156 return 0;
91158 _ACEOF
91159 rm -f conftest.$ac_objext conftest$ac_exeext
91160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91161 (eval $ac_link) 2>conftest.er1
91162 ac_status=$?
91163 grep -v '^ *+' conftest.er1 >conftest.err
91164 rm -f conftest.er1
91165 cat conftest.err >&5
91166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91167 (exit $ac_status); } &&
91168 { ac_try='test -z "$ac_c_werror_flag"
91169 || test ! -s conftest.err'
91170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91171 (eval $ac_try) 2>&5
91172 ac_status=$?
91173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91174 (exit $ac_status); }; } &&
91175 { ac_try='test -s conftest$ac_exeext'
91176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91177 (eval $ac_try) 2>&5
91178 ac_status=$?
91179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91180 (exit $ac_status); }; }; then
91181 eval "$as_ac_var=yes"
91182 else
91183 echo "$as_me: failed program was:" >&5
91184 sed 's/^/| /' conftest.$ac_ext >&5
91186 eval "$as_ac_var=no"
91188 rm -f conftest.err conftest.$ac_objext \
91189 conftest$ac_exeext conftest.$ac_ext
91191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91193 if test `eval echo '${'$as_ac_var'}'` = yes; then
91194 cat >>confdefs.h <<_ACEOF
91195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91196 _ACEOF
91199 done
91201 else
91202 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91203 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91204 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91205 echo $ECHO_N "(cached) $ECHO_C" >&6
91206 else
91210 ac_ext=cc
91211 ac_cpp='$CXXCPP $CPPFLAGS'
91212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91216 cat >conftest.$ac_ext <<_ACEOF
91217 /* confdefs.h. */
91218 _ACEOF
91219 cat confdefs.h >>conftest.$ac_ext
91220 cat >>conftest.$ac_ext <<_ACEOF
91221 /* end confdefs.h. */
91222 #include <math.h>
91224 main ()
91226 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91228 return 0;
91230 _ACEOF
91231 rm -f conftest.$ac_objext
91232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91233 (eval $ac_compile) 2>conftest.er1
91234 ac_status=$?
91235 grep -v '^ *+' conftest.er1 >conftest.err
91236 rm -f conftest.er1
91237 cat conftest.err >&5
91238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91239 (exit $ac_status); } &&
91240 { ac_try='test -z "$ac_cxx_werror_flag"
91241 || test ! -s conftest.err'
91242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91243 (eval $ac_try) 2>&5
91244 ac_status=$?
91245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91246 (exit $ac_status); }; } &&
91247 { ac_try='test -s conftest.$ac_objext'
91248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91249 (eval $ac_try) 2>&5
91250 ac_status=$?
91251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91252 (exit $ac_status); }; }; then
91253 glibcxx_cv_func__float_trig_use=yes
91254 else
91255 echo "$as_me: failed program was:" >&5
91256 sed 's/^/| /' conftest.$ac_ext >&5
91258 glibcxx_cv_func__float_trig_use=no
91260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91261 ac_ext=c
91262 ac_cpp='$CPP $CPPFLAGS'
91263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91270 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91281 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91284 echo "$as_me:$LINENO: checking for $ac_func" >&5
91285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91286 if eval "test \"\${$as_ac_var+set}\" = set"; then
91287 echo $ECHO_N "(cached) $ECHO_C" >&6
91288 else
91289 if test x$gcc_no_link = xyes; then
91290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91292 { (exit 1); exit 1; }; }
91294 cat >conftest.$ac_ext <<_ACEOF
91295 /* confdefs.h. */
91296 _ACEOF
91297 cat confdefs.h >>conftest.$ac_ext
91298 cat >>conftest.$ac_ext <<_ACEOF
91299 /* end confdefs.h. */
91300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91302 #define $ac_func innocuous_$ac_func
91304 /* System header to define __stub macros and hopefully few prototypes,
91305 which can conflict with char $ac_func (); below.
91306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91307 <limits.h> exists even on freestanding compilers. */
91309 #ifdef __STDC__
91310 # include <limits.h>
91311 #else
91312 # include <assert.h>
91313 #endif
91315 #undef $ac_func
91317 /* Override any gcc2 internal prototype to avoid an error. */
91318 #ifdef __cplusplus
91319 extern "C"
91321 #endif
91322 /* We use char because int might match the return type of a gcc2
91323 builtin and then its argument prototype would still apply. */
91324 char $ac_func ();
91325 /* The GNU C library defines this for functions which it implements
91326 to always fail with ENOSYS. Some functions are actually named
91327 something starting with __ and the normal name is an alias. */
91328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91329 choke me
91330 #else
91331 char (*f) () = $ac_func;
91332 #endif
91333 #ifdef __cplusplus
91335 #endif
91338 main ()
91340 return f != $ac_func;
91342 return 0;
91344 _ACEOF
91345 rm -f conftest.$ac_objext conftest$ac_exeext
91346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91347 (eval $ac_link) 2>conftest.er1
91348 ac_status=$?
91349 grep -v '^ *+' conftest.er1 >conftest.err
91350 rm -f conftest.er1
91351 cat conftest.err >&5
91352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91353 (exit $ac_status); } &&
91354 { ac_try='test -z "$ac_c_werror_flag"
91355 || test ! -s conftest.err'
91356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91357 (eval $ac_try) 2>&5
91358 ac_status=$?
91359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91360 (exit $ac_status); }; } &&
91361 { ac_try='test -s conftest$ac_exeext'
91362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91363 (eval $ac_try) 2>&5
91364 ac_status=$?
91365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91366 (exit $ac_status); }; }; then
91367 eval "$as_ac_var=yes"
91368 else
91369 echo "$as_me: failed program was:" >&5
91370 sed 's/^/| /' conftest.$ac_ext >&5
91372 eval "$as_ac_var=no"
91374 rm -f conftest.err conftest.$ac_objext \
91375 conftest$ac_exeext conftest.$ac_ext
91377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91379 if test `eval echo '${'$as_ac_var'}'` = yes; then
91380 cat >>confdefs.h <<_ACEOF
91381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91382 _ACEOF
91385 done
91403 echo "$as_me:$LINENO: checking for float round functions" >&5
91404 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91405 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91406 echo $ECHO_N "(cached) $ECHO_C" >&6
91407 else
91411 ac_ext=cc
91412 ac_cpp='$CXXCPP $CPPFLAGS'
91413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91417 cat >conftest.$ac_ext <<_ACEOF
91418 /* confdefs.h. */
91419 _ACEOF
91420 cat confdefs.h >>conftest.$ac_ext
91421 cat >>conftest.$ac_ext <<_ACEOF
91422 /* end confdefs.h. */
91423 #include <math.h>
91425 main ()
91427 ceilf (0); floorf (0);
91429 return 0;
91431 _ACEOF
91432 rm -f conftest.$ac_objext
91433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91434 (eval $ac_compile) 2>conftest.er1
91435 ac_status=$?
91436 grep -v '^ *+' conftest.er1 >conftest.err
91437 rm -f conftest.er1
91438 cat conftest.err >&5
91439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91440 (exit $ac_status); } &&
91441 { ac_try='test -z "$ac_cxx_werror_flag"
91442 || test ! -s conftest.err'
91443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91444 (eval $ac_try) 2>&5
91445 ac_status=$?
91446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91447 (exit $ac_status); }; } &&
91448 { ac_try='test -s conftest.$ac_objext'
91449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91450 (eval $ac_try) 2>&5
91451 ac_status=$?
91452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91453 (exit $ac_status); }; }; then
91454 glibcxx_cv_func_float_round_use=yes
91455 else
91456 echo "$as_me: failed program was:" >&5
91457 sed 's/^/| /' conftest.$ac_ext >&5
91459 glibcxx_cv_func_float_round_use=no
91461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91462 ac_ext=c
91463 ac_cpp='$CPP $CPPFLAGS'
91464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91471 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91472 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91475 for ac_func in ceilf floorf
91477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91478 echo "$as_me:$LINENO: checking for $ac_func" >&5
91479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91480 if eval "test \"\${$as_ac_var+set}\" = set"; then
91481 echo $ECHO_N "(cached) $ECHO_C" >&6
91482 else
91483 if test x$gcc_no_link = xyes; then
91484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91486 { (exit 1); exit 1; }; }
91488 cat >conftest.$ac_ext <<_ACEOF
91489 /* confdefs.h. */
91490 _ACEOF
91491 cat confdefs.h >>conftest.$ac_ext
91492 cat >>conftest.$ac_ext <<_ACEOF
91493 /* end confdefs.h. */
91494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91496 #define $ac_func innocuous_$ac_func
91498 /* System header to define __stub macros and hopefully few prototypes,
91499 which can conflict with char $ac_func (); below.
91500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91501 <limits.h> exists even on freestanding compilers. */
91503 #ifdef __STDC__
91504 # include <limits.h>
91505 #else
91506 # include <assert.h>
91507 #endif
91509 #undef $ac_func
91511 /* Override any gcc2 internal prototype to avoid an error. */
91512 #ifdef __cplusplus
91513 extern "C"
91515 #endif
91516 /* We use char because int might match the return type of a gcc2
91517 builtin and then its argument prototype would still apply. */
91518 char $ac_func ();
91519 /* The GNU C library defines this for functions which it implements
91520 to always fail with ENOSYS. Some functions are actually named
91521 something starting with __ and the normal name is an alias. */
91522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91523 choke me
91524 #else
91525 char (*f) () = $ac_func;
91526 #endif
91527 #ifdef __cplusplus
91529 #endif
91532 main ()
91534 return f != $ac_func;
91536 return 0;
91538 _ACEOF
91539 rm -f conftest.$ac_objext conftest$ac_exeext
91540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91541 (eval $ac_link) 2>conftest.er1
91542 ac_status=$?
91543 grep -v '^ *+' conftest.er1 >conftest.err
91544 rm -f conftest.er1
91545 cat conftest.err >&5
91546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91547 (exit $ac_status); } &&
91548 { ac_try='test -z "$ac_c_werror_flag"
91549 || test ! -s conftest.err'
91550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91551 (eval $ac_try) 2>&5
91552 ac_status=$?
91553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91554 (exit $ac_status); }; } &&
91555 { ac_try='test -s conftest$ac_exeext'
91556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91557 (eval $ac_try) 2>&5
91558 ac_status=$?
91559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91560 (exit $ac_status); }; }; then
91561 eval "$as_ac_var=yes"
91562 else
91563 echo "$as_me: failed program was:" >&5
91564 sed 's/^/| /' conftest.$ac_ext >&5
91566 eval "$as_ac_var=no"
91568 rm -f conftest.err conftest.$ac_objext \
91569 conftest$ac_exeext conftest.$ac_ext
91571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91573 if test `eval echo '${'$as_ac_var'}'` = yes; then
91574 cat >>confdefs.h <<_ACEOF
91575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91576 _ACEOF
91579 done
91581 else
91582 echo "$as_me:$LINENO: checking for _float round functions" >&5
91583 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91584 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91585 echo $ECHO_N "(cached) $ECHO_C" >&6
91586 else
91590 ac_ext=cc
91591 ac_cpp='$CXXCPP $CPPFLAGS'
91592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91596 cat >conftest.$ac_ext <<_ACEOF
91597 /* confdefs.h. */
91598 _ACEOF
91599 cat confdefs.h >>conftest.$ac_ext
91600 cat >>conftest.$ac_ext <<_ACEOF
91601 /* end confdefs.h. */
91602 #include <math.h>
91604 main ()
91606 _ceilf (0); _floorf (0);
91608 return 0;
91610 _ACEOF
91611 rm -f conftest.$ac_objext
91612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91613 (eval $ac_compile) 2>conftest.er1
91614 ac_status=$?
91615 grep -v '^ *+' conftest.er1 >conftest.err
91616 rm -f conftest.er1
91617 cat conftest.err >&5
91618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91619 (exit $ac_status); } &&
91620 { ac_try='test -z "$ac_cxx_werror_flag"
91621 || test ! -s conftest.err'
91622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91623 (eval $ac_try) 2>&5
91624 ac_status=$?
91625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91626 (exit $ac_status); }; } &&
91627 { ac_try='test -s conftest.$ac_objext'
91628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91629 (eval $ac_try) 2>&5
91630 ac_status=$?
91631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91632 (exit $ac_status); }; }; then
91633 glibcxx_cv_func__float_round_use=yes
91634 else
91635 echo "$as_me: failed program was:" >&5
91636 sed 's/^/| /' conftest.$ac_ext >&5
91638 glibcxx_cv_func__float_round_use=no
91640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91641 ac_ext=c
91642 ac_cpp='$CPP $CPPFLAGS'
91643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91650 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91651 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91654 for ac_func in _ceilf _floorf
91656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91657 echo "$as_me:$LINENO: checking for $ac_func" >&5
91658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91659 if eval "test \"\${$as_ac_var+set}\" = set"; then
91660 echo $ECHO_N "(cached) $ECHO_C" >&6
91661 else
91662 if test x$gcc_no_link = xyes; then
91663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91665 { (exit 1); exit 1; }; }
91667 cat >conftest.$ac_ext <<_ACEOF
91668 /* confdefs.h. */
91669 _ACEOF
91670 cat confdefs.h >>conftest.$ac_ext
91671 cat >>conftest.$ac_ext <<_ACEOF
91672 /* end confdefs.h. */
91673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91675 #define $ac_func innocuous_$ac_func
91677 /* System header to define __stub macros and hopefully few prototypes,
91678 which can conflict with char $ac_func (); below.
91679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91680 <limits.h> exists even on freestanding compilers. */
91682 #ifdef __STDC__
91683 # include <limits.h>
91684 #else
91685 # include <assert.h>
91686 #endif
91688 #undef $ac_func
91690 /* Override any gcc2 internal prototype to avoid an error. */
91691 #ifdef __cplusplus
91692 extern "C"
91694 #endif
91695 /* We use char because int might match the return type of a gcc2
91696 builtin and then its argument prototype would still apply. */
91697 char $ac_func ();
91698 /* The GNU C library defines this for functions which it implements
91699 to always fail with ENOSYS. Some functions are actually named
91700 something starting with __ and the normal name is an alias. */
91701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91702 choke me
91703 #else
91704 char (*f) () = $ac_func;
91705 #endif
91706 #ifdef __cplusplus
91708 #endif
91711 main ()
91713 return f != $ac_func;
91715 return 0;
91717 _ACEOF
91718 rm -f conftest.$ac_objext conftest$ac_exeext
91719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91720 (eval $ac_link) 2>conftest.er1
91721 ac_status=$?
91722 grep -v '^ *+' conftest.er1 >conftest.err
91723 rm -f conftest.er1
91724 cat conftest.err >&5
91725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91726 (exit $ac_status); } &&
91727 { ac_try='test -z "$ac_c_werror_flag"
91728 || test ! -s conftest.err'
91729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91730 (eval $ac_try) 2>&5
91731 ac_status=$?
91732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91733 (exit $ac_status); }; } &&
91734 { ac_try='test -s conftest$ac_exeext'
91735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91736 (eval $ac_try) 2>&5
91737 ac_status=$?
91738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91739 (exit $ac_status); }; }; then
91740 eval "$as_ac_var=yes"
91741 else
91742 echo "$as_me: failed program was:" >&5
91743 sed 's/^/| /' conftest.$ac_ext >&5
91745 eval "$as_ac_var=no"
91747 rm -f conftest.err conftest.$ac_objext \
91748 conftest$ac_exeext conftest.$ac_ext
91750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91752 if test `eval echo '${'$as_ac_var'}'` = yes; then
91753 cat >>confdefs.h <<_ACEOF
91754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91755 _ACEOF
91758 done
91770 echo "$as_me:$LINENO: checking for expf declaration" >&5
91771 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91772 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91773 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91774 echo $ECHO_N "(cached) $ECHO_C" >&6
91775 else
91779 ac_ext=cc
91780 ac_cpp='$CXXCPP $CPPFLAGS'
91781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91785 cat >conftest.$ac_ext <<_ACEOF
91786 /* confdefs.h. */
91787 _ACEOF
91788 cat confdefs.h >>conftest.$ac_ext
91789 cat >>conftest.$ac_ext <<_ACEOF
91790 /* end confdefs.h. */
91791 #include <math.h>
91792 #ifdef HAVE_IEEEFP_H
91793 #include <ieeefp.h>
91794 #endif
91797 main ()
91799 expf(0);
91801 return 0;
91803 _ACEOF
91804 rm -f conftest.$ac_objext
91805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91806 (eval $ac_compile) 2>conftest.er1
91807 ac_status=$?
91808 grep -v '^ *+' conftest.er1 >conftest.err
91809 rm -f conftest.er1
91810 cat conftest.err >&5
91811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91812 (exit $ac_status); } &&
91813 { ac_try='test -z "$ac_cxx_werror_flag"
91814 || test ! -s conftest.err'
91815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91816 (eval $ac_try) 2>&5
91817 ac_status=$?
91818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91819 (exit $ac_status); }; } &&
91820 { ac_try='test -s conftest.$ac_objext'
91821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91822 (eval $ac_try) 2>&5
91823 ac_status=$?
91824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91825 (exit $ac_status); }; }; then
91826 glibcxx_cv_func_expf_use=yes
91827 else
91828 echo "$as_me: failed program was:" >&5
91829 sed 's/^/| /' conftest.$ac_ext >&5
91831 glibcxx_cv_func_expf_use=no
91833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91834 ac_ext=c
91835 ac_cpp='$CPP $CPPFLAGS'
91836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91845 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91847 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91849 for ac_func in expf
91851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91852 echo "$as_me:$LINENO: checking for $ac_func" >&5
91853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91854 if eval "test \"\${$as_ac_var+set}\" = set"; then
91855 echo $ECHO_N "(cached) $ECHO_C" >&6
91856 else
91857 if test x$gcc_no_link = xyes; then
91858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91860 { (exit 1); exit 1; }; }
91862 cat >conftest.$ac_ext <<_ACEOF
91863 /* confdefs.h. */
91864 _ACEOF
91865 cat confdefs.h >>conftest.$ac_ext
91866 cat >>conftest.$ac_ext <<_ACEOF
91867 /* end confdefs.h. */
91868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91870 #define $ac_func innocuous_$ac_func
91872 /* System header to define __stub macros and hopefully few prototypes,
91873 which can conflict with char $ac_func (); below.
91874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91875 <limits.h> exists even on freestanding compilers. */
91877 #ifdef __STDC__
91878 # include <limits.h>
91879 #else
91880 # include <assert.h>
91881 #endif
91883 #undef $ac_func
91885 /* Override any gcc2 internal prototype to avoid an error. */
91886 #ifdef __cplusplus
91887 extern "C"
91889 #endif
91890 /* We use char because int might match the return type of a gcc2
91891 builtin and then its argument prototype would still apply. */
91892 char $ac_func ();
91893 /* The GNU C library defines this for functions which it implements
91894 to always fail with ENOSYS. Some functions are actually named
91895 something starting with __ and the normal name is an alias. */
91896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91897 choke me
91898 #else
91899 char (*f) () = $ac_func;
91900 #endif
91901 #ifdef __cplusplus
91903 #endif
91906 main ()
91908 return f != $ac_func;
91910 return 0;
91912 _ACEOF
91913 rm -f conftest.$ac_objext conftest$ac_exeext
91914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91915 (eval $ac_link) 2>conftest.er1
91916 ac_status=$?
91917 grep -v '^ *+' conftest.er1 >conftest.err
91918 rm -f conftest.er1
91919 cat conftest.err >&5
91920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91921 (exit $ac_status); } &&
91922 { ac_try='test -z "$ac_c_werror_flag"
91923 || test ! -s conftest.err'
91924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91925 (eval $ac_try) 2>&5
91926 ac_status=$?
91927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91928 (exit $ac_status); }; } &&
91929 { ac_try='test -s conftest$ac_exeext'
91930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91931 (eval $ac_try) 2>&5
91932 ac_status=$?
91933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91934 (exit $ac_status); }; }; then
91935 eval "$as_ac_var=yes"
91936 else
91937 echo "$as_me: failed program was:" >&5
91938 sed 's/^/| /' conftest.$ac_ext >&5
91940 eval "$as_ac_var=no"
91942 rm -f conftest.err conftest.$ac_objext \
91943 conftest$ac_exeext conftest.$ac_ext
91945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91947 if test `eval echo '${'$as_ac_var'}'` = yes; then
91948 cat >>confdefs.h <<_ACEOF
91949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91950 _ACEOF
91953 done
91955 else
91957 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91958 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91959 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91960 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91961 echo $ECHO_N "(cached) $ECHO_C" >&6
91962 else
91966 ac_ext=cc
91967 ac_cpp='$CXXCPP $CPPFLAGS'
91968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91972 cat >conftest.$ac_ext <<_ACEOF
91973 /* confdefs.h. */
91974 _ACEOF
91975 cat confdefs.h >>conftest.$ac_ext
91976 cat >>conftest.$ac_ext <<_ACEOF
91977 /* end confdefs.h. */
91978 #include <math.h>
91979 #ifdef HAVE_IEEEFP_H
91980 #include <ieeefp.h>
91981 #endif
91984 main ()
91986 _expf(0);
91988 return 0;
91990 _ACEOF
91991 rm -f conftest.$ac_objext
91992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91993 (eval $ac_compile) 2>conftest.er1
91994 ac_status=$?
91995 grep -v '^ *+' conftest.er1 >conftest.err
91996 rm -f conftest.er1
91997 cat conftest.err >&5
91998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91999 (exit $ac_status); } &&
92000 { ac_try='test -z "$ac_cxx_werror_flag"
92001 || test ! -s conftest.err'
92002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92003 (eval $ac_try) 2>&5
92004 ac_status=$?
92005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92006 (exit $ac_status); }; } &&
92007 { ac_try='test -s conftest.$ac_objext'
92008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92009 (eval $ac_try) 2>&5
92010 ac_status=$?
92011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92012 (exit $ac_status); }; }; then
92013 glibcxx_cv_func__expf_use=yes
92014 else
92015 echo "$as_me: failed program was:" >&5
92016 sed 's/^/| /' conftest.$ac_ext >&5
92018 glibcxx_cv_func__expf_use=no
92020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92021 ac_ext=c
92022 ac_cpp='$CPP $CPPFLAGS'
92023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
92032 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
92034 if test x$glibcxx_cv_func__expf_use = x"yes"; then
92036 for ac_func in _expf
92038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92039 echo "$as_me:$LINENO: checking for $ac_func" >&5
92040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92041 if eval "test \"\${$as_ac_var+set}\" = set"; then
92042 echo $ECHO_N "(cached) $ECHO_C" >&6
92043 else
92044 if test x$gcc_no_link = xyes; then
92045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92047 { (exit 1); exit 1; }; }
92049 cat >conftest.$ac_ext <<_ACEOF
92050 /* confdefs.h. */
92051 _ACEOF
92052 cat confdefs.h >>conftest.$ac_ext
92053 cat >>conftest.$ac_ext <<_ACEOF
92054 /* end confdefs.h. */
92055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92057 #define $ac_func innocuous_$ac_func
92059 /* System header to define __stub macros and hopefully few prototypes,
92060 which can conflict with char $ac_func (); below.
92061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92062 <limits.h> exists even on freestanding compilers. */
92064 #ifdef __STDC__
92065 # include <limits.h>
92066 #else
92067 # include <assert.h>
92068 #endif
92070 #undef $ac_func
92072 /* Override any gcc2 internal prototype to avoid an error. */
92073 #ifdef __cplusplus
92074 extern "C"
92076 #endif
92077 /* We use char because int might match the return type of a gcc2
92078 builtin and then its argument prototype would still apply. */
92079 char $ac_func ();
92080 /* The GNU C library defines this for functions which it implements
92081 to always fail with ENOSYS. Some functions are actually named
92082 something starting with __ and the normal name is an alias. */
92083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92084 choke me
92085 #else
92086 char (*f) () = $ac_func;
92087 #endif
92088 #ifdef __cplusplus
92090 #endif
92093 main ()
92095 return f != $ac_func;
92097 return 0;
92099 _ACEOF
92100 rm -f conftest.$ac_objext conftest$ac_exeext
92101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92102 (eval $ac_link) 2>conftest.er1
92103 ac_status=$?
92104 grep -v '^ *+' conftest.er1 >conftest.err
92105 rm -f conftest.er1
92106 cat conftest.err >&5
92107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92108 (exit $ac_status); } &&
92109 { ac_try='test -z "$ac_c_werror_flag"
92110 || test ! -s conftest.err'
92111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92112 (eval $ac_try) 2>&5
92113 ac_status=$?
92114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92115 (exit $ac_status); }; } &&
92116 { ac_try='test -s conftest$ac_exeext'
92117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92118 (eval $ac_try) 2>&5
92119 ac_status=$?
92120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92121 (exit $ac_status); }; }; then
92122 eval "$as_ac_var=yes"
92123 else
92124 echo "$as_me: failed program was:" >&5
92125 sed 's/^/| /' conftest.$ac_ext >&5
92127 eval "$as_ac_var=no"
92129 rm -f conftest.err conftest.$ac_objext \
92130 conftest$ac_exeext conftest.$ac_ext
92132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92134 if test `eval echo '${'$as_ac_var'}'` = yes; then
92135 cat >>confdefs.h <<_ACEOF
92136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92137 _ACEOF
92140 done
92150 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92151 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92152 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92153 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92154 echo $ECHO_N "(cached) $ECHO_C" >&6
92155 else
92159 ac_ext=cc
92160 ac_cpp='$CXXCPP $CPPFLAGS'
92161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92165 cat >conftest.$ac_ext <<_ACEOF
92166 /* confdefs.h. */
92167 _ACEOF
92168 cat confdefs.h >>conftest.$ac_ext
92169 cat >>conftest.$ac_ext <<_ACEOF
92170 /* end confdefs.h. */
92171 #include <math.h>
92172 #ifdef HAVE_IEEEFP_H
92173 #include <ieeefp.h>
92174 #endif
92177 main ()
92179 isnanf(0);
92181 return 0;
92183 _ACEOF
92184 rm -f conftest.$ac_objext
92185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92186 (eval $ac_compile) 2>conftest.er1
92187 ac_status=$?
92188 grep -v '^ *+' conftest.er1 >conftest.err
92189 rm -f conftest.er1
92190 cat conftest.err >&5
92191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92192 (exit $ac_status); } &&
92193 { ac_try='test -z "$ac_cxx_werror_flag"
92194 || test ! -s conftest.err'
92195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92196 (eval $ac_try) 2>&5
92197 ac_status=$?
92198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92199 (exit $ac_status); }; } &&
92200 { ac_try='test -s conftest.$ac_objext'
92201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92202 (eval $ac_try) 2>&5
92203 ac_status=$?
92204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92205 (exit $ac_status); }; }; then
92206 glibcxx_cv_func_isnanf_use=yes
92207 else
92208 echo "$as_me: failed program was:" >&5
92209 sed 's/^/| /' conftest.$ac_ext >&5
92211 glibcxx_cv_func_isnanf_use=no
92213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92214 ac_ext=c
92215 ac_cpp='$CPP $CPPFLAGS'
92216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92225 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92227 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92229 for ac_func in isnanf
92231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92232 echo "$as_me:$LINENO: checking for $ac_func" >&5
92233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92234 if eval "test \"\${$as_ac_var+set}\" = set"; then
92235 echo $ECHO_N "(cached) $ECHO_C" >&6
92236 else
92237 if test x$gcc_no_link = xyes; then
92238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92240 { (exit 1); exit 1; }; }
92242 cat >conftest.$ac_ext <<_ACEOF
92243 /* confdefs.h. */
92244 _ACEOF
92245 cat confdefs.h >>conftest.$ac_ext
92246 cat >>conftest.$ac_ext <<_ACEOF
92247 /* end confdefs.h. */
92248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92250 #define $ac_func innocuous_$ac_func
92252 /* System header to define __stub macros and hopefully few prototypes,
92253 which can conflict with char $ac_func (); below.
92254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92255 <limits.h> exists even on freestanding compilers. */
92257 #ifdef __STDC__
92258 # include <limits.h>
92259 #else
92260 # include <assert.h>
92261 #endif
92263 #undef $ac_func
92265 /* Override any gcc2 internal prototype to avoid an error. */
92266 #ifdef __cplusplus
92267 extern "C"
92269 #endif
92270 /* We use char because int might match the return type of a gcc2
92271 builtin and then its argument prototype would still apply. */
92272 char $ac_func ();
92273 /* The GNU C library defines this for functions which it implements
92274 to always fail with ENOSYS. Some functions are actually named
92275 something starting with __ and the normal name is an alias. */
92276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92277 choke me
92278 #else
92279 char (*f) () = $ac_func;
92280 #endif
92281 #ifdef __cplusplus
92283 #endif
92286 main ()
92288 return f != $ac_func;
92290 return 0;
92292 _ACEOF
92293 rm -f conftest.$ac_objext conftest$ac_exeext
92294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92295 (eval $ac_link) 2>conftest.er1
92296 ac_status=$?
92297 grep -v '^ *+' conftest.er1 >conftest.err
92298 rm -f conftest.er1
92299 cat conftest.err >&5
92300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92301 (exit $ac_status); } &&
92302 { ac_try='test -z "$ac_c_werror_flag"
92303 || test ! -s conftest.err'
92304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92305 (eval $ac_try) 2>&5
92306 ac_status=$?
92307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92308 (exit $ac_status); }; } &&
92309 { ac_try='test -s conftest$ac_exeext'
92310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92311 (eval $ac_try) 2>&5
92312 ac_status=$?
92313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92314 (exit $ac_status); }; }; then
92315 eval "$as_ac_var=yes"
92316 else
92317 echo "$as_me: failed program was:" >&5
92318 sed 's/^/| /' conftest.$ac_ext >&5
92320 eval "$as_ac_var=no"
92322 rm -f conftest.err conftest.$ac_objext \
92323 conftest$ac_exeext conftest.$ac_ext
92325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92327 if test `eval echo '${'$as_ac_var'}'` = yes; then
92328 cat >>confdefs.h <<_ACEOF
92329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92330 _ACEOF
92333 done
92335 else
92337 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92338 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92339 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92340 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92341 echo $ECHO_N "(cached) $ECHO_C" >&6
92342 else
92346 ac_ext=cc
92347 ac_cpp='$CXXCPP $CPPFLAGS'
92348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92352 cat >conftest.$ac_ext <<_ACEOF
92353 /* confdefs.h. */
92354 _ACEOF
92355 cat confdefs.h >>conftest.$ac_ext
92356 cat >>conftest.$ac_ext <<_ACEOF
92357 /* end confdefs.h. */
92358 #include <math.h>
92359 #ifdef HAVE_IEEEFP_H
92360 #include <ieeefp.h>
92361 #endif
92364 main ()
92366 _isnanf(0);
92368 return 0;
92370 _ACEOF
92371 rm -f conftest.$ac_objext
92372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92373 (eval $ac_compile) 2>conftest.er1
92374 ac_status=$?
92375 grep -v '^ *+' conftest.er1 >conftest.err
92376 rm -f conftest.er1
92377 cat conftest.err >&5
92378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92379 (exit $ac_status); } &&
92380 { ac_try='test -z "$ac_cxx_werror_flag"
92381 || test ! -s conftest.err'
92382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92383 (eval $ac_try) 2>&5
92384 ac_status=$?
92385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92386 (exit $ac_status); }; } &&
92387 { ac_try='test -s conftest.$ac_objext'
92388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92389 (eval $ac_try) 2>&5
92390 ac_status=$?
92391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92392 (exit $ac_status); }; }; then
92393 glibcxx_cv_func__isnanf_use=yes
92394 else
92395 echo "$as_me: failed program was:" >&5
92396 sed 's/^/| /' conftest.$ac_ext >&5
92398 glibcxx_cv_func__isnanf_use=no
92400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92401 ac_ext=c
92402 ac_cpp='$CPP $CPPFLAGS'
92403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92412 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92414 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92416 for ac_func in _isnanf
92418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92419 echo "$as_me:$LINENO: checking for $ac_func" >&5
92420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92421 if eval "test \"\${$as_ac_var+set}\" = set"; then
92422 echo $ECHO_N "(cached) $ECHO_C" >&6
92423 else
92424 if test x$gcc_no_link = xyes; then
92425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92427 { (exit 1); exit 1; }; }
92429 cat >conftest.$ac_ext <<_ACEOF
92430 /* confdefs.h. */
92431 _ACEOF
92432 cat confdefs.h >>conftest.$ac_ext
92433 cat >>conftest.$ac_ext <<_ACEOF
92434 /* end confdefs.h. */
92435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92437 #define $ac_func innocuous_$ac_func
92439 /* System header to define __stub macros and hopefully few prototypes,
92440 which can conflict with char $ac_func (); below.
92441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92442 <limits.h> exists even on freestanding compilers. */
92444 #ifdef __STDC__
92445 # include <limits.h>
92446 #else
92447 # include <assert.h>
92448 #endif
92450 #undef $ac_func
92452 /* Override any gcc2 internal prototype to avoid an error. */
92453 #ifdef __cplusplus
92454 extern "C"
92456 #endif
92457 /* We use char because int might match the return type of a gcc2
92458 builtin and then its argument prototype would still apply. */
92459 char $ac_func ();
92460 /* The GNU C library defines this for functions which it implements
92461 to always fail with ENOSYS. Some functions are actually named
92462 something starting with __ and the normal name is an alias. */
92463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92464 choke me
92465 #else
92466 char (*f) () = $ac_func;
92467 #endif
92468 #ifdef __cplusplus
92470 #endif
92473 main ()
92475 return f != $ac_func;
92477 return 0;
92479 _ACEOF
92480 rm -f conftest.$ac_objext conftest$ac_exeext
92481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92482 (eval $ac_link) 2>conftest.er1
92483 ac_status=$?
92484 grep -v '^ *+' conftest.er1 >conftest.err
92485 rm -f conftest.er1
92486 cat conftest.err >&5
92487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92488 (exit $ac_status); } &&
92489 { ac_try='test -z "$ac_c_werror_flag"
92490 || test ! -s conftest.err'
92491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92492 (eval $ac_try) 2>&5
92493 ac_status=$?
92494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92495 (exit $ac_status); }; } &&
92496 { ac_try='test -s conftest$ac_exeext'
92497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92498 (eval $ac_try) 2>&5
92499 ac_status=$?
92500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92501 (exit $ac_status); }; }; then
92502 eval "$as_ac_var=yes"
92503 else
92504 echo "$as_me: failed program was:" >&5
92505 sed 's/^/| /' conftest.$ac_ext >&5
92507 eval "$as_ac_var=no"
92509 rm -f conftest.err conftest.$ac_objext \
92510 conftest$ac_exeext conftest.$ac_ext
92512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92514 if test `eval echo '${'$as_ac_var'}'` = yes; then
92515 cat >>confdefs.h <<_ACEOF
92516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92517 _ACEOF
92520 done
92530 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92531 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92532 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92533 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92534 echo $ECHO_N "(cached) $ECHO_C" >&6
92535 else
92539 ac_ext=cc
92540 ac_cpp='$CXXCPP $CPPFLAGS'
92541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92545 cat >conftest.$ac_ext <<_ACEOF
92546 /* confdefs.h. */
92547 _ACEOF
92548 cat confdefs.h >>conftest.$ac_ext
92549 cat >>conftest.$ac_ext <<_ACEOF
92550 /* end confdefs.h. */
92551 #include <math.h>
92552 #ifdef HAVE_IEEEFP_H
92553 #include <ieeefp.h>
92554 #endif
92557 main ()
92559 isinff(0);
92561 return 0;
92563 _ACEOF
92564 rm -f conftest.$ac_objext
92565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92566 (eval $ac_compile) 2>conftest.er1
92567 ac_status=$?
92568 grep -v '^ *+' conftest.er1 >conftest.err
92569 rm -f conftest.er1
92570 cat conftest.err >&5
92571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92572 (exit $ac_status); } &&
92573 { ac_try='test -z "$ac_cxx_werror_flag"
92574 || test ! -s conftest.err'
92575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92576 (eval $ac_try) 2>&5
92577 ac_status=$?
92578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92579 (exit $ac_status); }; } &&
92580 { ac_try='test -s conftest.$ac_objext'
92581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92582 (eval $ac_try) 2>&5
92583 ac_status=$?
92584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92585 (exit $ac_status); }; }; then
92586 glibcxx_cv_func_isinff_use=yes
92587 else
92588 echo "$as_me: failed program was:" >&5
92589 sed 's/^/| /' conftest.$ac_ext >&5
92591 glibcxx_cv_func_isinff_use=no
92593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92594 ac_ext=c
92595 ac_cpp='$CPP $CPPFLAGS'
92596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92605 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92607 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92609 for ac_func in isinff
92611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92612 echo "$as_me:$LINENO: checking for $ac_func" >&5
92613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92614 if eval "test \"\${$as_ac_var+set}\" = set"; then
92615 echo $ECHO_N "(cached) $ECHO_C" >&6
92616 else
92617 if test x$gcc_no_link = xyes; then
92618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92620 { (exit 1); exit 1; }; }
92622 cat >conftest.$ac_ext <<_ACEOF
92623 /* confdefs.h. */
92624 _ACEOF
92625 cat confdefs.h >>conftest.$ac_ext
92626 cat >>conftest.$ac_ext <<_ACEOF
92627 /* end confdefs.h. */
92628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92630 #define $ac_func innocuous_$ac_func
92632 /* System header to define __stub macros and hopefully few prototypes,
92633 which can conflict with char $ac_func (); below.
92634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92635 <limits.h> exists even on freestanding compilers. */
92637 #ifdef __STDC__
92638 # include <limits.h>
92639 #else
92640 # include <assert.h>
92641 #endif
92643 #undef $ac_func
92645 /* Override any gcc2 internal prototype to avoid an error. */
92646 #ifdef __cplusplus
92647 extern "C"
92649 #endif
92650 /* We use char because int might match the return type of a gcc2
92651 builtin and then its argument prototype would still apply. */
92652 char $ac_func ();
92653 /* The GNU C library defines this for functions which it implements
92654 to always fail with ENOSYS. Some functions are actually named
92655 something starting with __ and the normal name is an alias. */
92656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92657 choke me
92658 #else
92659 char (*f) () = $ac_func;
92660 #endif
92661 #ifdef __cplusplus
92663 #endif
92666 main ()
92668 return f != $ac_func;
92670 return 0;
92672 _ACEOF
92673 rm -f conftest.$ac_objext conftest$ac_exeext
92674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92675 (eval $ac_link) 2>conftest.er1
92676 ac_status=$?
92677 grep -v '^ *+' conftest.er1 >conftest.err
92678 rm -f conftest.er1
92679 cat conftest.err >&5
92680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92681 (exit $ac_status); } &&
92682 { ac_try='test -z "$ac_c_werror_flag"
92683 || test ! -s conftest.err'
92684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92685 (eval $ac_try) 2>&5
92686 ac_status=$?
92687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92688 (exit $ac_status); }; } &&
92689 { ac_try='test -s conftest$ac_exeext'
92690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92691 (eval $ac_try) 2>&5
92692 ac_status=$?
92693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92694 (exit $ac_status); }; }; then
92695 eval "$as_ac_var=yes"
92696 else
92697 echo "$as_me: failed program was:" >&5
92698 sed 's/^/| /' conftest.$ac_ext >&5
92700 eval "$as_ac_var=no"
92702 rm -f conftest.err conftest.$ac_objext \
92703 conftest$ac_exeext conftest.$ac_ext
92705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92707 if test `eval echo '${'$as_ac_var'}'` = yes; then
92708 cat >>confdefs.h <<_ACEOF
92709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92710 _ACEOF
92713 done
92715 else
92717 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92718 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92719 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92720 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92721 echo $ECHO_N "(cached) $ECHO_C" >&6
92722 else
92726 ac_ext=cc
92727 ac_cpp='$CXXCPP $CPPFLAGS'
92728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92732 cat >conftest.$ac_ext <<_ACEOF
92733 /* confdefs.h. */
92734 _ACEOF
92735 cat confdefs.h >>conftest.$ac_ext
92736 cat >>conftest.$ac_ext <<_ACEOF
92737 /* end confdefs.h. */
92738 #include <math.h>
92739 #ifdef HAVE_IEEEFP_H
92740 #include <ieeefp.h>
92741 #endif
92744 main ()
92746 _isinff(0);
92748 return 0;
92750 _ACEOF
92751 rm -f conftest.$ac_objext
92752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92753 (eval $ac_compile) 2>conftest.er1
92754 ac_status=$?
92755 grep -v '^ *+' conftest.er1 >conftest.err
92756 rm -f conftest.er1
92757 cat conftest.err >&5
92758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92759 (exit $ac_status); } &&
92760 { ac_try='test -z "$ac_cxx_werror_flag"
92761 || test ! -s conftest.err'
92762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92763 (eval $ac_try) 2>&5
92764 ac_status=$?
92765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92766 (exit $ac_status); }; } &&
92767 { ac_try='test -s conftest.$ac_objext'
92768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92769 (eval $ac_try) 2>&5
92770 ac_status=$?
92771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92772 (exit $ac_status); }; }; then
92773 glibcxx_cv_func__isinff_use=yes
92774 else
92775 echo "$as_me: failed program was:" >&5
92776 sed 's/^/| /' conftest.$ac_ext >&5
92778 glibcxx_cv_func__isinff_use=no
92780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92781 ac_ext=c
92782 ac_cpp='$CPP $CPPFLAGS'
92783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92792 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92794 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92796 for ac_func in _isinff
92798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92799 echo "$as_me:$LINENO: checking for $ac_func" >&5
92800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92801 if eval "test \"\${$as_ac_var+set}\" = set"; then
92802 echo $ECHO_N "(cached) $ECHO_C" >&6
92803 else
92804 if test x$gcc_no_link = xyes; then
92805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92807 { (exit 1); exit 1; }; }
92809 cat >conftest.$ac_ext <<_ACEOF
92810 /* confdefs.h. */
92811 _ACEOF
92812 cat confdefs.h >>conftest.$ac_ext
92813 cat >>conftest.$ac_ext <<_ACEOF
92814 /* end confdefs.h. */
92815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92817 #define $ac_func innocuous_$ac_func
92819 /* System header to define __stub macros and hopefully few prototypes,
92820 which can conflict with char $ac_func (); below.
92821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92822 <limits.h> exists even on freestanding compilers. */
92824 #ifdef __STDC__
92825 # include <limits.h>
92826 #else
92827 # include <assert.h>
92828 #endif
92830 #undef $ac_func
92832 /* Override any gcc2 internal prototype to avoid an error. */
92833 #ifdef __cplusplus
92834 extern "C"
92836 #endif
92837 /* We use char because int might match the return type of a gcc2
92838 builtin and then its argument prototype would still apply. */
92839 char $ac_func ();
92840 /* The GNU C library defines this for functions which it implements
92841 to always fail with ENOSYS. Some functions are actually named
92842 something starting with __ and the normal name is an alias. */
92843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92844 choke me
92845 #else
92846 char (*f) () = $ac_func;
92847 #endif
92848 #ifdef __cplusplus
92850 #endif
92853 main ()
92855 return f != $ac_func;
92857 return 0;
92859 _ACEOF
92860 rm -f conftest.$ac_objext conftest$ac_exeext
92861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92862 (eval $ac_link) 2>conftest.er1
92863 ac_status=$?
92864 grep -v '^ *+' conftest.er1 >conftest.err
92865 rm -f conftest.er1
92866 cat conftest.err >&5
92867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92868 (exit $ac_status); } &&
92869 { ac_try='test -z "$ac_c_werror_flag"
92870 || test ! -s conftest.err'
92871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92872 (eval $ac_try) 2>&5
92873 ac_status=$?
92874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92875 (exit $ac_status); }; } &&
92876 { ac_try='test -s conftest$ac_exeext'
92877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92878 (eval $ac_try) 2>&5
92879 ac_status=$?
92880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92881 (exit $ac_status); }; }; then
92882 eval "$as_ac_var=yes"
92883 else
92884 echo "$as_me: failed program was:" >&5
92885 sed 's/^/| /' conftest.$ac_ext >&5
92887 eval "$as_ac_var=no"
92889 rm -f conftest.err conftest.$ac_objext \
92890 conftest$ac_exeext conftest.$ac_ext
92892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92894 if test `eval echo '${'$as_ac_var'}'` = yes; then
92895 cat >>confdefs.h <<_ACEOF
92896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92897 _ACEOF
92900 done
92910 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92911 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92912 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92913 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92914 echo $ECHO_N "(cached) $ECHO_C" >&6
92915 else
92919 ac_ext=cc
92920 ac_cpp='$CXXCPP $CPPFLAGS'
92921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92925 cat >conftest.$ac_ext <<_ACEOF
92926 /* confdefs.h. */
92927 _ACEOF
92928 cat confdefs.h >>conftest.$ac_ext
92929 cat >>conftest.$ac_ext <<_ACEOF
92930 /* end confdefs.h. */
92931 #include <math.h>
92933 main ()
92935 atan2f(0, 0);
92937 return 0;
92939 _ACEOF
92940 rm -f conftest.$ac_objext
92941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92942 (eval $ac_compile) 2>conftest.er1
92943 ac_status=$?
92944 grep -v '^ *+' conftest.er1 >conftest.err
92945 rm -f conftest.er1
92946 cat conftest.err >&5
92947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92948 (exit $ac_status); } &&
92949 { ac_try='test -z "$ac_cxx_werror_flag"
92950 || test ! -s conftest.err'
92951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92952 (eval $ac_try) 2>&5
92953 ac_status=$?
92954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92955 (exit $ac_status); }; } &&
92956 { ac_try='test -s conftest.$ac_objext'
92957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92958 (eval $ac_try) 2>&5
92959 ac_status=$?
92960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92961 (exit $ac_status); }; }; then
92962 glibcxx_cv_func_atan2f_use=yes
92963 else
92964 echo "$as_me: failed program was:" >&5
92965 sed 's/^/| /' conftest.$ac_ext >&5
92967 glibcxx_cv_func_atan2f_use=no
92969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92970 ac_ext=c
92971 ac_cpp='$CPP $CPPFLAGS'
92972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92981 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92983 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92985 for ac_func in atan2f
92987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92988 echo "$as_me:$LINENO: checking for $ac_func" >&5
92989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92990 if eval "test \"\${$as_ac_var+set}\" = set"; then
92991 echo $ECHO_N "(cached) $ECHO_C" >&6
92992 else
92993 if test x$gcc_no_link = xyes; then
92994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92996 { (exit 1); exit 1; }; }
92998 cat >conftest.$ac_ext <<_ACEOF
92999 /* confdefs.h. */
93000 _ACEOF
93001 cat confdefs.h >>conftest.$ac_ext
93002 cat >>conftest.$ac_ext <<_ACEOF
93003 /* end confdefs.h. */
93004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93006 #define $ac_func innocuous_$ac_func
93008 /* System header to define __stub macros and hopefully few prototypes,
93009 which can conflict with char $ac_func (); below.
93010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93011 <limits.h> exists even on freestanding compilers. */
93013 #ifdef __STDC__
93014 # include <limits.h>
93015 #else
93016 # include <assert.h>
93017 #endif
93019 #undef $ac_func
93021 /* Override any gcc2 internal prototype to avoid an error. */
93022 #ifdef __cplusplus
93023 extern "C"
93025 #endif
93026 /* We use char because int might match the return type of a gcc2
93027 builtin and then its argument prototype would still apply. */
93028 char $ac_func ();
93029 /* The GNU C library defines this for functions which it implements
93030 to always fail with ENOSYS. Some functions are actually named
93031 something starting with __ and the normal name is an alias. */
93032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93033 choke me
93034 #else
93035 char (*f) () = $ac_func;
93036 #endif
93037 #ifdef __cplusplus
93039 #endif
93042 main ()
93044 return f != $ac_func;
93046 return 0;
93048 _ACEOF
93049 rm -f conftest.$ac_objext conftest$ac_exeext
93050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93051 (eval $ac_link) 2>conftest.er1
93052 ac_status=$?
93053 grep -v '^ *+' conftest.er1 >conftest.err
93054 rm -f conftest.er1
93055 cat conftest.err >&5
93056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93057 (exit $ac_status); } &&
93058 { ac_try='test -z "$ac_c_werror_flag"
93059 || test ! -s conftest.err'
93060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93061 (eval $ac_try) 2>&5
93062 ac_status=$?
93063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93064 (exit $ac_status); }; } &&
93065 { ac_try='test -s conftest$ac_exeext'
93066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93067 (eval $ac_try) 2>&5
93068 ac_status=$?
93069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93070 (exit $ac_status); }; }; then
93071 eval "$as_ac_var=yes"
93072 else
93073 echo "$as_me: failed program was:" >&5
93074 sed 's/^/| /' conftest.$ac_ext >&5
93076 eval "$as_ac_var=no"
93078 rm -f conftest.err conftest.$ac_objext \
93079 conftest$ac_exeext conftest.$ac_ext
93081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93083 if test `eval echo '${'$as_ac_var'}'` = yes; then
93084 cat >>confdefs.h <<_ACEOF
93085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93086 _ACEOF
93089 done
93091 else
93093 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93094 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93095 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93096 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93097 echo $ECHO_N "(cached) $ECHO_C" >&6
93098 else
93102 ac_ext=cc
93103 ac_cpp='$CXXCPP $CPPFLAGS'
93104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93108 cat >conftest.$ac_ext <<_ACEOF
93109 /* confdefs.h. */
93110 _ACEOF
93111 cat confdefs.h >>conftest.$ac_ext
93112 cat >>conftest.$ac_ext <<_ACEOF
93113 /* end confdefs.h. */
93114 #include <math.h>
93116 main ()
93118 _atan2f(0, 0);
93120 return 0;
93122 _ACEOF
93123 rm -f conftest.$ac_objext
93124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93125 (eval $ac_compile) 2>conftest.er1
93126 ac_status=$?
93127 grep -v '^ *+' conftest.er1 >conftest.err
93128 rm -f conftest.er1
93129 cat conftest.err >&5
93130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93131 (exit $ac_status); } &&
93132 { ac_try='test -z "$ac_cxx_werror_flag"
93133 || test ! -s conftest.err'
93134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93135 (eval $ac_try) 2>&5
93136 ac_status=$?
93137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93138 (exit $ac_status); }; } &&
93139 { ac_try='test -s conftest.$ac_objext'
93140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93141 (eval $ac_try) 2>&5
93142 ac_status=$?
93143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93144 (exit $ac_status); }; }; then
93145 glibcxx_cv_func__atan2f_use=yes
93146 else
93147 echo "$as_me: failed program was:" >&5
93148 sed 's/^/| /' conftest.$ac_ext >&5
93150 glibcxx_cv_func__atan2f_use=no
93152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93153 ac_ext=c
93154 ac_cpp='$CPP $CPPFLAGS'
93155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93164 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93166 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93168 for ac_func in _atan2f
93170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93171 echo "$as_me:$LINENO: checking for $ac_func" >&5
93172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93173 if eval "test \"\${$as_ac_var+set}\" = set"; then
93174 echo $ECHO_N "(cached) $ECHO_C" >&6
93175 else
93176 if test x$gcc_no_link = xyes; then
93177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93179 { (exit 1); exit 1; }; }
93181 cat >conftest.$ac_ext <<_ACEOF
93182 /* confdefs.h. */
93183 _ACEOF
93184 cat confdefs.h >>conftest.$ac_ext
93185 cat >>conftest.$ac_ext <<_ACEOF
93186 /* end confdefs.h. */
93187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93189 #define $ac_func innocuous_$ac_func
93191 /* System header to define __stub macros and hopefully few prototypes,
93192 which can conflict with char $ac_func (); below.
93193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93194 <limits.h> exists even on freestanding compilers. */
93196 #ifdef __STDC__
93197 # include <limits.h>
93198 #else
93199 # include <assert.h>
93200 #endif
93202 #undef $ac_func
93204 /* Override any gcc2 internal prototype to avoid an error. */
93205 #ifdef __cplusplus
93206 extern "C"
93208 #endif
93209 /* We use char because int might match the return type of a gcc2
93210 builtin and then its argument prototype would still apply. */
93211 char $ac_func ();
93212 /* The GNU C library defines this for functions which it implements
93213 to always fail with ENOSYS. Some functions are actually named
93214 something starting with __ and the normal name is an alias. */
93215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93216 choke me
93217 #else
93218 char (*f) () = $ac_func;
93219 #endif
93220 #ifdef __cplusplus
93222 #endif
93225 main ()
93227 return f != $ac_func;
93229 return 0;
93231 _ACEOF
93232 rm -f conftest.$ac_objext conftest$ac_exeext
93233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93234 (eval $ac_link) 2>conftest.er1
93235 ac_status=$?
93236 grep -v '^ *+' conftest.er1 >conftest.err
93237 rm -f conftest.er1
93238 cat conftest.err >&5
93239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93240 (exit $ac_status); } &&
93241 { ac_try='test -z "$ac_c_werror_flag"
93242 || test ! -s conftest.err'
93243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93244 (eval $ac_try) 2>&5
93245 ac_status=$?
93246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93247 (exit $ac_status); }; } &&
93248 { ac_try='test -s conftest$ac_exeext'
93249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93250 (eval $ac_try) 2>&5
93251 ac_status=$?
93252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93253 (exit $ac_status); }; }; then
93254 eval "$as_ac_var=yes"
93255 else
93256 echo "$as_me: failed program was:" >&5
93257 sed 's/^/| /' conftest.$ac_ext >&5
93259 eval "$as_ac_var=no"
93261 rm -f conftest.err conftest.$ac_objext \
93262 conftest$ac_exeext conftest.$ac_ext
93264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93266 if test `eval echo '${'$as_ac_var'}'` = yes; then
93267 cat >>confdefs.h <<_ACEOF
93268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93269 _ACEOF
93272 done
93282 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93283 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93284 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93285 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93286 echo $ECHO_N "(cached) $ECHO_C" >&6
93287 else
93291 ac_ext=cc
93292 ac_cpp='$CXXCPP $CPPFLAGS'
93293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93297 cat >conftest.$ac_ext <<_ACEOF
93298 /* confdefs.h. */
93299 _ACEOF
93300 cat confdefs.h >>conftest.$ac_ext
93301 cat >>conftest.$ac_ext <<_ACEOF
93302 /* end confdefs.h. */
93303 #include <math.h>
93304 #ifdef HAVE_IEEEFP_H
93305 #include <ieeefp.h>
93306 #endif
93309 main ()
93311 fabsf(0);
93313 return 0;
93315 _ACEOF
93316 rm -f conftest.$ac_objext
93317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93318 (eval $ac_compile) 2>conftest.er1
93319 ac_status=$?
93320 grep -v '^ *+' conftest.er1 >conftest.err
93321 rm -f conftest.er1
93322 cat conftest.err >&5
93323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93324 (exit $ac_status); } &&
93325 { ac_try='test -z "$ac_cxx_werror_flag"
93326 || test ! -s conftest.err'
93327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93328 (eval $ac_try) 2>&5
93329 ac_status=$?
93330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93331 (exit $ac_status); }; } &&
93332 { ac_try='test -s conftest.$ac_objext'
93333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93334 (eval $ac_try) 2>&5
93335 ac_status=$?
93336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93337 (exit $ac_status); }; }; then
93338 glibcxx_cv_func_fabsf_use=yes
93339 else
93340 echo "$as_me: failed program was:" >&5
93341 sed 's/^/| /' conftest.$ac_ext >&5
93343 glibcxx_cv_func_fabsf_use=no
93345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93346 ac_ext=c
93347 ac_cpp='$CPP $CPPFLAGS'
93348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93356 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93357 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93359 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93361 for ac_func in fabsf
93363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93364 echo "$as_me:$LINENO: checking for $ac_func" >&5
93365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93366 if eval "test \"\${$as_ac_var+set}\" = set"; then
93367 echo $ECHO_N "(cached) $ECHO_C" >&6
93368 else
93369 if test x$gcc_no_link = xyes; then
93370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93372 { (exit 1); exit 1; }; }
93374 cat >conftest.$ac_ext <<_ACEOF
93375 /* confdefs.h. */
93376 _ACEOF
93377 cat confdefs.h >>conftest.$ac_ext
93378 cat >>conftest.$ac_ext <<_ACEOF
93379 /* end confdefs.h. */
93380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93382 #define $ac_func innocuous_$ac_func
93384 /* System header to define __stub macros and hopefully few prototypes,
93385 which can conflict with char $ac_func (); below.
93386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93387 <limits.h> exists even on freestanding compilers. */
93389 #ifdef __STDC__
93390 # include <limits.h>
93391 #else
93392 # include <assert.h>
93393 #endif
93395 #undef $ac_func
93397 /* Override any gcc2 internal prototype to avoid an error. */
93398 #ifdef __cplusplus
93399 extern "C"
93401 #endif
93402 /* We use char because int might match the return type of a gcc2
93403 builtin and then its argument prototype would still apply. */
93404 char $ac_func ();
93405 /* The GNU C library defines this for functions which it implements
93406 to always fail with ENOSYS. Some functions are actually named
93407 something starting with __ and the normal name is an alias. */
93408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93409 choke me
93410 #else
93411 char (*f) () = $ac_func;
93412 #endif
93413 #ifdef __cplusplus
93415 #endif
93418 main ()
93420 return f != $ac_func;
93422 return 0;
93424 _ACEOF
93425 rm -f conftest.$ac_objext conftest$ac_exeext
93426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93427 (eval $ac_link) 2>conftest.er1
93428 ac_status=$?
93429 grep -v '^ *+' conftest.er1 >conftest.err
93430 rm -f conftest.er1
93431 cat conftest.err >&5
93432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93433 (exit $ac_status); } &&
93434 { ac_try='test -z "$ac_c_werror_flag"
93435 || test ! -s conftest.err'
93436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93437 (eval $ac_try) 2>&5
93438 ac_status=$?
93439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93440 (exit $ac_status); }; } &&
93441 { ac_try='test -s conftest$ac_exeext'
93442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93443 (eval $ac_try) 2>&5
93444 ac_status=$?
93445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93446 (exit $ac_status); }; }; then
93447 eval "$as_ac_var=yes"
93448 else
93449 echo "$as_me: failed program was:" >&5
93450 sed 's/^/| /' conftest.$ac_ext >&5
93452 eval "$as_ac_var=no"
93454 rm -f conftest.err conftest.$ac_objext \
93455 conftest$ac_exeext conftest.$ac_ext
93457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93459 if test `eval echo '${'$as_ac_var'}'` = yes; then
93460 cat >>confdefs.h <<_ACEOF
93461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93462 _ACEOF
93465 done
93467 else
93469 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93470 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93471 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93472 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93473 echo $ECHO_N "(cached) $ECHO_C" >&6
93474 else
93478 ac_ext=cc
93479 ac_cpp='$CXXCPP $CPPFLAGS'
93480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93484 cat >conftest.$ac_ext <<_ACEOF
93485 /* confdefs.h. */
93486 _ACEOF
93487 cat confdefs.h >>conftest.$ac_ext
93488 cat >>conftest.$ac_ext <<_ACEOF
93489 /* end confdefs.h. */
93490 #include <math.h>
93491 #ifdef HAVE_IEEEFP_H
93492 #include <ieeefp.h>
93493 #endif
93496 main ()
93498 _fabsf(0);
93500 return 0;
93502 _ACEOF
93503 rm -f conftest.$ac_objext
93504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93505 (eval $ac_compile) 2>conftest.er1
93506 ac_status=$?
93507 grep -v '^ *+' conftest.er1 >conftest.err
93508 rm -f conftest.er1
93509 cat conftest.err >&5
93510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93511 (exit $ac_status); } &&
93512 { ac_try='test -z "$ac_cxx_werror_flag"
93513 || test ! -s conftest.err'
93514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93515 (eval $ac_try) 2>&5
93516 ac_status=$?
93517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93518 (exit $ac_status); }; } &&
93519 { ac_try='test -s conftest.$ac_objext'
93520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93521 (eval $ac_try) 2>&5
93522 ac_status=$?
93523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93524 (exit $ac_status); }; }; then
93525 glibcxx_cv_func__fabsf_use=yes
93526 else
93527 echo "$as_me: failed program was:" >&5
93528 sed 's/^/| /' conftest.$ac_ext >&5
93530 glibcxx_cv_func__fabsf_use=no
93532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93533 ac_ext=c
93534 ac_cpp='$CPP $CPPFLAGS'
93535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93543 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93544 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93546 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93548 for ac_func in _fabsf
93550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93551 echo "$as_me:$LINENO: checking for $ac_func" >&5
93552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93553 if eval "test \"\${$as_ac_var+set}\" = set"; then
93554 echo $ECHO_N "(cached) $ECHO_C" >&6
93555 else
93556 if test x$gcc_no_link = xyes; then
93557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93559 { (exit 1); exit 1; }; }
93561 cat >conftest.$ac_ext <<_ACEOF
93562 /* confdefs.h. */
93563 _ACEOF
93564 cat confdefs.h >>conftest.$ac_ext
93565 cat >>conftest.$ac_ext <<_ACEOF
93566 /* end confdefs.h. */
93567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93569 #define $ac_func innocuous_$ac_func
93571 /* System header to define __stub macros and hopefully few prototypes,
93572 which can conflict with char $ac_func (); below.
93573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93574 <limits.h> exists even on freestanding compilers. */
93576 #ifdef __STDC__
93577 # include <limits.h>
93578 #else
93579 # include <assert.h>
93580 #endif
93582 #undef $ac_func
93584 /* Override any gcc2 internal prototype to avoid an error. */
93585 #ifdef __cplusplus
93586 extern "C"
93588 #endif
93589 /* We use char because int might match the return type of a gcc2
93590 builtin and then its argument prototype would still apply. */
93591 char $ac_func ();
93592 /* The GNU C library defines this for functions which it implements
93593 to always fail with ENOSYS. Some functions are actually named
93594 something starting with __ and the normal name is an alias. */
93595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93596 choke me
93597 #else
93598 char (*f) () = $ac_func;
93599 #endif
93600 #ifdef __cplusplus
93602 #endif
93605 main ()
93607 return f != $ac_func;
93609 return 0;
93611 _ACEOF
93612 rm -f conftest.$ac_objext conftest$ac_exeext
93613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93614 (eval $ac_link) 2>conftest.er1
93615 ac_status=$?
93616 grep -v '^ *+' conftest.er1 >conftest.err
93617 rm -f conftest.er1
93618 cat conftest.err >&5
93619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93620 (exit $ac_status); } &&
93621 { ac_try='test -z "$ac_c_werror_flag"
93622 || test ! -s conftest.err'
93623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93624 (eval $ac_try) 2>&5
93625 ac_status=$?
93626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93627 (exit $ac_status); }; } &&
93628 { ac_try='test -s conftest$ac_exeext'
93629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93630 (eval $ac_try) 2>&5
93631 ac_status=$?
93632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93633 (exit $ac_status); }; }; then
93634 eval "$as_ac_var=yes"
93635 else
93636 echo "$as_me: failed program was:" >&5
93637 sed 's/^/| /' conftest.$ac_ext >&5
93639 eval "$as_ac_var=no"
93641 rm -f conftest.err conftest.$ac_objext \
93642 conftest$ac_exeext conftest.$ac_ext
93644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93646 if test `eval echo '${'$as_ac_var'}'` = yes; then
93647 cat >>confdefs.h <<_ACEOF
93648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93649 _ACEOF
93652 done
93662 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93663 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93664 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93665 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93666 echo $ECHO_N "(cached) $ECHO_C" >&6
93667 else
93671 ac_ext=cc
93672 ac_cpp='$CXXCPP $CPPFLAGS'
93673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93677 cat >conftest.$ac_ext <<_ACEOF
93678 /* confdefs.h. */
93679 _ACEOF
93680 cat confdefs.h >>conftest.$ac_ext
93681 cat >>conftest.$ac_ext <<_ACEOF
93682 /* end confdefs.h. */
93683 #include <math.h>
93685 main ()
93687 fmodf(0, 0);
93689 return 0;
93691 _ACEOF
93692 rm -f conftest.$ac_objext
93693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93694 (eval $ac_compile) 2>conftest.er1
93695 ac_status=$?
93696 grep -v '^ *+' conftest.er1 >conftest.err
93697 rm -f conftest.er1
93698 cat conftest.err >&5
93699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93700 (exit $ac_status); } &&
93701 { ac_try='test -z "$ac_cxx_werror_flag"
93702 || test ! -s conftest.err'
93703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93704 (eval $ac_try) 2>&5
93705 ac_status=$?
93706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93707 (exit $ac_status); }; } &&
93708 { ac_try='test -s conftest.$ac_objext'
93709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93710 (eval $ac_try) 2>&5
93711 ac_status=$?
93712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93713 (exit $ac_status); }; }; then
93714 glibcxx_cv_func_fmodf_use=yes
93715 else
93716 echo "$as_me: failed program was:" >&5
93717 sed 's/^/| /' conftest.$ac_ext >&5
93719 glibcxx_cv_func_fmodf_use=no
93721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93722 ac_ext=c
93723 ac_cpp='$CPP $CPPFLAGS'
93724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93733 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93735 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93737 for ac_func in fmodf
93739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93740 echo "$as_me:$LINENO: checking for $ac_func" >&5
93741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93742 if eval "test \"\${$as_ac_var+set}\" = set"; then
93743 echo $ECHO_N "(cached) $ECHO_C" >&6
93744 else
93745 if test x$gcc_no_link = xyes; then
93746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93748 { (exit 1); exit 1; }; }
93750 cat >conftest.$ac_ext <<_ACEOF
93751 /* confdefs.h. */
93752 _ACEOF
93753 cat confdefs.h >>conftest.$ac_ext
93754 cat >>conftest.$ac_ext <<_ACEOF
93755 /* end confdefs.h. */
93756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93758 #define $ac_func innocuous_$ac_func
93760 /* System header to define __stub macros and hopefully few prototypes,
93761 which can conflict with char $ac_func (); below.
93762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93763 <limits.h> exists even on freestanding compilers. */
93765 #ifdef __STDC__
93766 # include <limits.h>
93767 #else
93768 # include <assert.h>
93769 #endif
93771 #undef $ac_func
93773 /* Override any gcc2 internal prototype to avoid an error. */
93774 #ifdef __cplusplus
93775 extern "C"
93777 #endif
93778 /* We use char because int might match the return type of a gcc2
93779 builtin and then its argument prototype would still apply. */
93780 char $ac_func ();
93781 /* The GNU C library defines this for functions which it implements
93782 to always fail with ENOSYS. Some functions are actually named
93783 something starting with __ and the normal name is an alias. */
93784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93785 choke me
93786 #else
93787 char (*f) () = $ac_func;
93788 #endif
93789 #ifdef __cplusplus
93791 #endif
93794 main ()
93796 return f != $ac_func;
93798 return 0;
93800 _ACEOF
93801 rm -f conftest.$ac_objext conftest$ac_exeext
93802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93803 (eval $ac_link) 2>conftest.er1
93804 ac_status=$?
93805 grep -v '^ *+' conftest.er1 >conftest.err
93806 rm -f conftest.er1
93807 cat conftest.err >&5
93808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93809 (exit $ac_status); } &&
93810 { ac_try='test -z "$ac_c_werror_flag"
93811 || test ! -s conftest.err'
93812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93813 (eval $ac_try) 2>&5
93814 ac_status=$?
93815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93816 (exit $ac_status); }; } &&
93817 { ac_try='test -s conftest$ac_exeext'
93818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93819 (eval $ac_try) 2>&5
93820 ac_status=$?
93821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93822 (exit $ac_status); }; }; then
93823 eval "$as_ac_var=yes"
93824 else
93825 echo "$as_me: failed program was:" >&5
93826 sed 's/^/| /' conftest.$ac_ext >&5
93828 eval "$as_ac_var=no"
93830 rm -f conftest.err conftest.$ac_objext \
93831 conftest$ac_exeext conftest.$ac_ext
93833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93835 if test `eval echo '${'$as_ac_var'}'` = yes; then
93836 cat >>confdefs.h <<_ACEOF
93837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93838 _ACEOF
93841 done
93843 else
93845 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93846 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93847 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93848 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93849 echo $ECHO_N "(cached) $ECHO_C" >&6
93850 else
93854 ac_ext=cc
93855 ac_cpp='$CXXCPP $CPPFLAGS'
93856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93860 cat >conftest.$ac_ext <<_ACEOF
93861 /* confdefs.h. */
93862 _ACEOF
93863 cat confdefs.h >>conftest.$ac_ext
93864 cat >>conftest.$ac_ext <<_ACEOF
93865 /* end confdefs.h. */
93866 #include <math.h>
93868 main ()
93870 _fmodf(0, 0);
93872 return 0;
93874 _ACEOF
93875 rm -f conftest.$ac_objext
93876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93877 (eval $ac_compile) 2>conftest.er1
93878 ac_status=$?
93879 grep -v '^ *+' conftest.er1 >conftest.err
93880 rm -f conftest.er1
93881 cat conftest.err >&5
93882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93883 (exit $ac_status); } &&
93884 { ac_try='test -z "$ac_cxx_werror_flag"
93885 || test ! -s conftest.err'
93886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93887 (eval $ac_try) 2>&5
93888 ac_status=$?
93889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93890 (exit $ac_status); }; } &&
93891 { ac_try='test -s conftest.$ac_objext'
93892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93893 (eval $ac_try) 2>&5
93894 ac_status=$?
93895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93896 (exit $ac_status); }; }; then
93897 glibcxx_cv_func__fmodf_use=yes
93898 else
93899 echo "$as_me: failed program was:" >&5
93900 sed 's/^/| /' conftest.$ac_ext >&5
93902 glibcxx_cv_func__fmodf_use=no
93904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93905 ac_ext=c
93906 ac_cpp='$CPP $CPPFLAGS'
93907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93916 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93918 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93920 for ac_func in _fmodf
93922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93923 echo "$as_me:$LINENO: checking for $ac_func" >&5
93924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93925 if eval "test \"\${$as_ac_var+set}\" = set"; then
93926 echo $ECHO_N "(cached) $ECHO_C" >&6
93927 else
93928 if test x$gcc_no_link = xyes; then
93929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93931 { (exit 1); exit 1; }; }
93933 cat >conftest.$ac_ext <<_ACEOF
93934 /* confdefs.h. */
93935 _ACEOF
93936 cat confdefs.h >>conftest.$ac_ext
93937 cat >>conftest.$ac_ext <<_ACEOF
93938 /* end confdefs.h. */
93939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93941 #define $ac_func innocuous_$ac_func
93943 /* System header to define __stub macros and hopefully few prototypes,
93944 which can conflict with char $ac_func (); below.
93945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93946 <limits.h> exists even on freestanding compilers. */
93948 #ifdef __STDC__
93949 # include <limits.h>
93950 #else
93951 # include <assert.h>
93952 #endif
93954 #undef $ac_func
93956 /* Override any gcc2 internal prototype to avoid an error. */
93957 #ifdef __cplusplus
93958 extern "C"
93960 #endif
93961 /* We use char because int might match the return type of a gcc2
93962 builtin and then its argument prototype would still apply. */
93963 char $ac_func ();
93964 /* The GNU C library defines this for functions which it implements
93965 to always fail with ENOSYS. Some functions are actually named
93966 something starting with __ and the normal name is an alias. */
93967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93968 choke me
93969 #else
93970 char (*f) () = $ac_func;
93971 #endif
93972 #ifdef __cplusplus
93974 #endif
93977 main ()
93979 return f != $ac_func;
93981 return 0;
93983 _ACEOF
93984 rm -f conftest.$ac_objext conftest$ac_exeext
93985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93986 (eval $ac_link) 2>conftest.er1
93987 ac_status=$?
93988 grep -v '^ *+' conftest.er1 >conftest.err
93989 rm -f conftest.er1
93990 cat conftest.err >&5
93991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93992 (exit $ac_status); } &&
93993 { ac_try='test -z "$ac_c_werror_flag"
93994 || test ! -s conftest.err'
93995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93996 (eval $ac_try) 2>&5
93997 ac_status=$?
93998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93999 (exit $ac_status); }; } &&
94000 { ac_try='test -s conftest$ac_exeext'
94001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94002 (eval $ac_try) 2>&5
94003 ac_status=$?
94004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94005 (exit $ac_status); }; }; then
94006 eval "$as_ac_var=yes"
94007 else
94008 echo "$as_me: failed program was:" >&5
94009 sed 's/^/| /' conftest.$ac_ext >&5
94011 eval "$as_ac_var=no"
94013 rm -f conftest.err conftest.$ac_objext \
94014 conftest$ac_exeext conftest.$ac_ext
94016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94018 if test `eval echo '${'$as_ac_var'}'` = yes; then
94019 cat >>confdefs.h <<_ACEOF
94020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94021 _ACEOF
94024 done
94034 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
94035 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94036 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94037 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
94038 echo $ECHO_N "(cached) $ECHO_C" >&6
94039 else
94043 ac_ext=cc
94044 ac_cpp='$CXXCPP $CPPFLAGS'
94045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94049 cat >conftest.$ac_ext <<_ACEOF
94050 /* confdefs.h. */
94051 _ACEOF
94052 cat confdefs.h >>conftest.$ac_ext
94053 cat >>conftest.$ac_ext <<_ACEOF
94054 /* end confdefs.h. */
94055 #include <math.h>
94057 main ()
94059 frexpf(0, 0);
94061 return 0;
94063 _ACEOF
94064 rm -f conftest.$ac_objext
94065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94066 (eval $ac_compile) 2>conftest.er1
94067 ac_status=$?
94068 grep -v '^ *+' conftest.er1 >conftest.err
94069 rm -f conftest.er1
94070 cat conftest.err >&5
94071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94072 (exit $ac_status); } &&
94073 { ac_try='test -z "$ac_cxx_werror_flag"
94074 || test ! -s conftest.err'
94075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94076 (eval $ac_try) 2>&5
94077 ac_status=$?
94078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94079 (exit $ac_status); }; } &&
94080 { ac_try='test -s conftest.$ac_objext'
94081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94082 (eval $ac_try) 2>&5
94083 ac_status=$?
94084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94085 (exit $ac_status); }; }; then
94086 glibcxx_cv_func_frexpf_use=yes
94087 else
94088 echo "$as_me: failed program was:" >&5
94089 sed 's/^/| /' conftest.$ac_ext >&5
94091 glibcxx_cv_func_frexpf_use=no
94093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94094 ac_ext=c
94095 ac_cpp='$CPP $CPPFLAGS'
94096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94105 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94107 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94109 for ac_func in frexpf
94111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94112 echo "$as_me:$LINENO: checking for $ac_func" >&5
94113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94114 if eval "test \"\${$as_ac_var+set}\" = set"; then
94115 echo $ECHO_N "(cached) $ECHO_C" >&6
94116 else
94117 if test x$gcc_no_link = xyes; then
94118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94120 { (exit 1); exit 1; }; }
94122 cat >conftest.$ac_ext <<_ACEOF
94123 /* confdefs.h. */
94124 _ACEOF
94125 cat confdefs.h >>conftest.$ac_ext
94126 cat >>conftest.$ac_ext <<_ACEOF
94127 /* end confdefs.h. */
94128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94130 #define $ac_func innocuous_$ac_func
94132 /* System header to define __stub macros and hopefully few prototypes,
94133 which can conflict with char $ac_func (); below.
94134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94135 <limits.h> exists even on freestanding compilers. */
94137 #ifdef __STDC__
94138 # include <limits.h>
94139 #else
94140 # include <assert.h>
94141 #endif
94143 #undef $ac_func
94145 /* Override any gcc2 internal prototype to avoid an error. */
94146 #ifdef __cplusplus
94147 extern "C"
94149 #endif
94150 /* We use char because int might match the return type of a gcc2
94151 builtin and then its argument prototype would still apply. */
94152 char $ac_func ();
94153 /* The GNU C library defines this for functions which it implements
94154 to always fail with ENOSYS. Some functions are actually named
94155 something starting with __ and the normal name is an alias. */
94156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94157 choke me
94158 #else
94159 char (*f) () = $ac_func;
94160 #endif
94161 #ifdef __cplusplus
94163 #endif
94166 main ()
94168 return f != $ac_func;
94170 return 0;
94172 _ACEOF
94173 rm -f conftest.$ac_objext conftest$ac_exeext
94174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94175 (eval $ac_link) 2>conftest.er1
94176 ac_status=$?
94177 grep -v '^ *+' conftest.er1 >conftest.err
94178 rm -f conftest.er1
94179 cat conftest.err >&5
94180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94181 (exit $ac_status); } &&
94182 { ac_try='test -z "$ac_c_werror_flag"
94183 || test ! -s conftest.err'
94184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94185 (eval $ac_try) 2>&5
94186 ac_status=$?
94187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94188 (exit $ac_status); }; } &&
94189 { ac_try='test -s conftest$ac_exeext'
94190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94191 (eval $ac_try) 2>&5
94192 ac_status=$?
94193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94194 (exit $ac_status); }; }; then
94195 eval "$as_ac_var=yes"
94196 else
94197 echo "$as_me: failed program was:" >&5
94198 sed 's/^/| /' conftest.$ac_ext >&5
94200 eval "$as_ac_var=no"
94202 rm -f conftest.err conftest.$ac_objext \
94203 conftest$ac_exeext conftest.$ac_ext
94205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94207 if test `eval echo '${'$as_ac_var'}'` = yes; then
94208 cat >>confdefs.h <<_ACEOF
94209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94210 _ACEOF
94213 done
94215 else
94217 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94218 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94219 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94220 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94221 echo $ECHO_N "(cached) $ECHO_C" >&6
94222 else
94226 ac_ext=cc
94227 ac_cpp='$CXXCPP $CPPFLAGS'
94228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94232 cat >conftest.$ac_ext <<_ACEOF
94233 /* confdefs.h. */
94234 _ACEOF
94235 cat confdefs.h >>conftest.$ac_ext
94236 cat >>conftest.$ac_ext <<_ACEOF
94237 /* end confdefs.h. */
94238 #include <math.h>
94240 main ()
94242 _frexpf(0, 0);
94244 return 0;
94246 _ACEOF
94247 rm -f conftest.$ac_objext
94248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94249 (eval $ac_compile) 2>conftest.er1
94250 ac_status=$?
94251 grep -v '^ *+' conftest.er1 >conftest.err
94252 rm -f conftest.er1
94253 cat conftest.err >&5
94254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94255 (exit $ac_status); } &&
94256 { ac_try='test -z "$ac_cxx_werror_flag"
94257 || test ! -s conftest.err'
94258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94259 (eval $ac_try) 2>&5
94260 ac_status=$?
94261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94262 (exit $ac_status); }; } &&
94263 { ac_try='test -s conftest.$ac_objext'
94264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94265 (eval $ac_try) 2>&5
94266 ac_status=$?
94267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94268 (exit $ac_status); }; }; then
94269 glibcxx_cv_func__frexpf_use=yes
94270 else
94271 echo "$as_me: failed program was:" >&5
94272 sed 's/^/| /' conftest.$ac_ext >&5
94274 glibcxx_cv_func__frexpf_use=no
94276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94277 ac_ext=c
94278 ac_cpp='$CPP $CPPFLAGS'
94279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94287 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94288 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94290 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94292 for ac_func in _frexpf
94294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94295 echo "$as_me:$LINENO: checking for $ac_func" >&5
94296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94297 if eval "test \"\${$as_ac_var+set}\" = set"; then
94298 echo $ECHO_N "(cached) $ECHO_C" >&6
94299 else
94300 if test x$gcc_no_link = xyes; then
94301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94303 { (exit 1); exit 1; }; }
94305 cat >conftest.$ac_ext <<_ACEOF
94306 /* confdefs.h. */
94307 _ACEOF
94308 cat confdefs.h >>conftest.$ac_ext
94309 cat >>conftest.$ac_ext <<_ACEOF
94310 /* end confdefs.h. */
94311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94313 #define $ac_func innocuous_$ac_func
94315 /* System header to define __stub macros and hopefully few prototypes,
94316 which can conflict with char $ac_func (); below.
94317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94318 <limits.h> exists even on freestanding compilers. */
94320 #ifdef __STDC__
94321 # include <limits.h>
94322 #else
94323 # include <assert.h>
94324 #endif
94326 #undef $ac_func
94328 /* Override any gcc2 internal prototype to avoid an error. */
94329 #ifdef __cplusplus
94330 extern "C"
94332 #endif
94333 /* We use char because int might match the return type of a gcc2
94334 builtin and then its argument prototype would still apply. */
94335 char $ac_func ();
94336 /* The GNU C library defines this for functions which it implements
94337 to always fail with ENOSYS. Some functions are actually named
94338 something starting with __ and the normal name is an alias. */
94339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94340 choke me
94341 #else
94342 char (*f) () = $ac_func;
94343 #endif
94344 #ifdef __cplusplus
94346 #endif
94349 main ()
94351 return f != $ac_func;
94353 return 0;
94355 _ACEOF
94356 rm -f conftest.$ac_objext conftest$ac_exeext
94357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94358 (eval $ac_link) 2>conftest.er1
94359 ac_status=$?
94360 grep -v '^ *+' conftest.er1 >conftest.err
94361 rm -f conftest.er1
94362 cat conftest.err >&5
94363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94364 (exit $ac_status); } &&
94365 { ac_try='test -z "$ac_c_werror_flag"
94366 || test ! -s conftest.err'
94367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94368 (eval $ac_try) 2>&5
94369 ac_status=$?
94370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94371 (exit $ac_status); }; } &&
94372 { ac_try='test -s conftest$ac_exeext'
94373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94374 (eval $ac_try) 2>&5
94375 ac_status=$?
94376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94377 (exit $ac_status); }; }; then
94378 eval "$as_ac_var=yes"
94379 else
94380 echo "$as_me: failed program was:" >&5
94381 sed 's/^/| /' conftest.$ac_ext >&5
94383 eval "$as_ac_var=no"
94385 rm -f conftest.err conftest.$ac_objext \
94386 conftest$ac_exeext conftest.$ac_ext
94388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94390 if test `eval echo '${'$as_ac_var'}'` = yes; then
94391 cat >>confdefs.h <<_ACEOF
94392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94393 _ACEOF
94396 done
94406 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94407 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94408 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94409 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94410 echo $ECHO_N "(cached) $ECHO_C" >&6
94411 else
94415 ac_ext=cc
94416 ac_cpp='$CXXCPP $CPPFLAGS'
94417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94421 cat >conftest.$ac_ext <<_ACEOF
94422 /* confdefs.h. */
94423 _ACEOF
94424 cat confdefs.h >>conftest.$ac_ext
94425 cat >>conftest.$ac_ext <<_ACEOF
94426 /* end confdefs.h. */
94427 #include <math.h>
94429 main ()
94431 hypotf(0, 0);
94433 return 0;
94435 _ACEOF
94436 rm -f conftest.$ac_objext
94437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94438 (eval $ac_compile) 2>conftest.er1
94439 ac_status=$?
94440 grep -v '^ *+' conftest.er1 >conftest.err
94441 rm -f conftest.er1
94442 cat conftest.err >&5
94443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94444 (exit $ac_status); } &&
94445 { ac_try='test -z "$ac_cxx_werror_flag"
94446 || test ! -s conftest.err'
94447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94448 (eval $ac_try) 2>&5
94449 ac_status=$?
94450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94451 (exit $ac_status); }; } &&
94452 { ac_try='test -s conftest.$ac_objext'
94453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94454 (eval $ac_try) 2>&5
94455 ac_status=$?
94456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94457 (exit $ac_status); }; }; then
94458 glibcxx_cv_func_hypotf_use=yes
94459 else
94460 echo "$as_me: failed program was:" >&5
94461 sed 's/^/| /' conftest.$ac_ext >&5
94463 glibcxx_cv_func_hypotf_use=no
94465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94466 ac_ext=c
94467 ac_cpp='$CPP $CPPFLAGS'
94468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94477 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94479 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94481 for ac_func in hypotf
94483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94484 echo "$as_me:$LINENO: checking for $ac_func" >&5
94485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94486 if eval "test \"\${$as_ac_var+set}\" = set"; then
94487 echo $ECHO_N "(cached) $ECHO_C" >&6
94488 else
94489 if test x$gcc_no_link = xyes; then
94490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94492 { (exit 1); exit 1; }; }
94494 cat >conftest.$ac_ext <<_ACEOF
94495 /* confdefs.h. */
94496 _ACEOF
94497 cat confdefs.h >>conftest.$ac_ext
94498 cat >>conftest.$ac_ext <<_ACEOF
94499 /* end confdefs.h. */
94500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94502 #define $ac_func innocuous_$ac_func
94504 /* System header to define __stub macros and hopefully few prototypes,
94505 which can conflict with char $ac_func (); below.
94506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94507 <limits.h> exists even on freestanding compilers. */
94509 #ifdef __STDC__
94510 # include <limits.h>
94511 #else
94512 # include <assert.h>
94513 #endif
94515 #undef $ac_func
94517 /* Override any gcc2 internal prototype to avoid an error. */
94518 #ifdef __cplusplus
94519 extern "C"
94521 #endif
94522 /* We use char because int might match the return type of a gcc2
94523 builtin and then its argument prototype would still apply. */
94524 char $ac_func ();
94525 /* The GNU C library defines this for functions which it implements
94526 to always fail with ENOSYS. Some functions are actually named
94527 something starting with __ and the normal name is an alias. */
94528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94529 choke me
94530 #else
94531 char (*f) () = $ac_func;
94532 #endif
94533 #ifdef __cplusplus
94535 #endif
94538 main ()
94540 return f != $ac_func;
94542 return 0;
94544 _ACEOF
94545 rm -f conftest.$ac_objext conftest$ac_exeext
94546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94547 (eval $ac_link) 2>conftest.er1
94548 ac_status=$?
94549 grep -v '^ *+' conftest.er1 >conftest.err
94550 rm -f conftest.er1
94551 cat conftest.err >&5
94552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94553 (exit $ac_status); } &&
94554 { ac_try='test -z "$ac_c_werror_flag"
94555 || test ! -s conftest.err'
94556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94557 (eval $ac_try) 2>&5
94558 ac_status=$?
94559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94560 (exit $ac_status); }; } &&
94561 { ac_try='test -s conftest$ac_exeext'
94562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94563 (eval $ac_try) 2>&5
94564 ac_status=$?
94565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94566 (exit $ac_status); }; }; then
94567 eval "$as_ac_var=yes"
94568 else
94569 echo "$as_me: failed program was:" >&5
94570 sed 's/^/| /' conftest.$ac_ext >&5
94572 eval "$as_ac_var=no"
94574 rm -f conftest.err conftest.$ac_objext \
94575 conftest$ac_exeext conftest.$ac_ext
94577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94579 if test `eval echo '${'$as_ac_var'}'` = yes; then
94580 cat >>confdefs.h <<_ACEOF
94581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94582 _ACEOF
94585 done
94587 else
94589 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94590 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94593 echo $ECHO_N "(cached) $ECHO_C" >&6
94594 else
94598 ac_ext=cc
94599 ac_cpp='$CXXCPP $CPPFLAGS'
94600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94604 cat >conftest.$ac_ext <<_ACEOF
94605 /* confdefs.h. */
94606 _ACEOF
94607 cat confdefs.h >>conftest.$ac_ext
94608 cat >>conftest.$ac_ext <<_ACEOF
94609 /* end confdefs.h. */
94610 #include <math.h>
94612 main ()
94614 _hypotf(0, 0);
94616 return 0;
94618 _ACEOF
94619 rm -f conftest.$ac_objext
94620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94621 (eval $ac_compile) 2>conftest.er1
94622 ac_status=$?
94623 grep -v '^ *+' conftest.er1 >conftest.err
94624 rm -f conftest.er1
94625 cat conftest.err >&5
94626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94627 (exit $ac_status); } &&
94628 { ac_try='test -z "$ac_cxx_werror_flag"
94629 || test ! -s conftest.err'
94630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94631 (eval $ac_try) 2>&5
94632 ac_status=$?
94633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94634 (exit $ac_status); }; } &&
94635 { ac_try='test -s conftest.$ac_objext'
94636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94637 (eval $ac_try) 2>&5
94638 ac_status=$?
94639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94640 (exit $ac_status); }; }; then
94641 glibcxx_cv_func__hypotf_use=yes
94642 else
94643 echo "$as_me: failed program was:" >&5
94644 sed 's/^/| /' conftest.$ac_ext >&5
94646 glibcxx_cv_func__hypotf_use=no
94648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94649 ac_ext=c
94650 ac_cpp='$CPP $CPPFLAGS'
94651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94660 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94662 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94664 for ac_func in _hypotf
94666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94667 echo "$as_me:$LINENO: checking for $ac_func" >&5
94668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94669 if eval "test \"\${$as_ac_var+set}\" = set"; then
94670 echo $ECHO_N "(cached) $ECHO_C" >&6
94671 else
94672 if test x$gcc_no_link = xyes; then
94673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94675 { (exit 1); exit 1; }; }
94677 cat >conftest.$ac_ext <<_ACEOF
94678 /* confdefs.h. */
94679 _ACEOF
94680 cat confdefs.h >>conftest.$ac_ext
94681 cat >>conftest.$ac_ext <<_ACEOF
94682 /* end confdefs.h. */
94683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94685 #define $ac_func innocuous_$ac_func
94687 /* System header to define __stub macros and hopefully few prototypes,
94688 which can conflict with char $ac_func (); below.
94689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94690 <limits.h> exists even on freestanding compilers. */
94692 #ifdef __STDC__
94693 # include <limits.h>
94694 #else
94695 # include <assert.h>
94696 #endif
94698 #undef $ac_func
94700 /* Override any gcc2 internal prototype to avoid an error. */
94701 #ifdef __cplusplus
94702 extern "C"
94704 #endif
94705 /* We use char because int might match the return type of a gcc2
94706 builtin and then its argument prototype would still apply. */
94707 char $ac_func ();
94708 /* The GNU C library defines this for functions which it implements
94709 to always fail with ENOSYS. Some functions are actually named
94710 something starting with __ and the normal name is an alias. */
94711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94712 choke me
94713 #else
94714 char (*f) () = $ac_func;
94715 #endif
94716 #ifdef __cplusplus
94718 #endif
94721 main ()
94723 return f != $ac_func;
94725 return 0;
94727 _ACEOF
94728 rm -f conftest.$ac_objext conftest$ac_exeext
94729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94730 (eval $ac_link) 2>conftest.er1
94731 ac_status=$?
94732 grep -v '^ *+' conftest.er1 >conftest.err
94733 rm -f conftest.er1
94734 cat conftest.err >&5
94735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94736 (exit $ac_status); } &&
94737 { ac_try='test -z "$ac_c_werror_flag"
94738 || test ! -s conftest.err'
94739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94740 (eval $ac_try) 2>&5
94741 ac_status=$?
94742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94743 (exit $ac_status); }; } &&
94744 { ac_try='test -s conftest$ac_exeext'
94745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94746 (eval $ac_try) 2>&5
94747 ac_status=$?
94748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94749 (exit $ac_status); }; }; then
94750 eval "$as_ac_var=yes"
94751 else
94752 echo "$as_me: failed program was:" >&5
94753 sed 's/^/| /' conftest.$ac_ext >&5
94755 eval "$as_ac_var=no"
94757 rm -f conftest.err conftest.$ac_objext \
94758 conftest$ac_exeext conftest.$ac_ext
94760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94762 if test `eval echo '${'$as_ac_var'}'` = yes; then
94763 cat >>confdefs.h <<_ACEOF
94764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94765 _ACEOF
94768 done
94778 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94779 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94780 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94781 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94782 echo $ECHO_N "(cached) $ECHO_C" >&6
94783 else
94787 ac_ext=cc
94788 ac_cpp='$CXXCPP $CPPFLAGS'
94789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94793 cat >conftest.$ac_ext <<_ACEOF
94794 /* confdefs.h. */
94795 _ACEOF
94796 cat confdefs.h >>conftest.$ac_ext
94797 cat >>conftest.$ac_ext <<_ACEOF
94798 /* end confdefs.h. */
94799 #include <math.h>
94801 main ()
94803 ldexpf(0, 0);
94805 return 0;
94807 _ACEOF
94808 rm -f conftest.$ac_objext
94809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94810 (eval $ac_compile) 2>conftest.er1
94811 ac_status=$?
94812 grep -v '^ *+' conftest.er1 >conftest.err
94813 rm -f conftest.er1
94814 cat conftest.err >&5
94815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94816 (exit $ac_status); } &&
94817 { ac_try='test -z "$ac_cxx_werror_flag"
94818 || test ! -s conftest.err'
94819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94820 (eval $ac_try) 2>&5
94821 ac_status=$?
94822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94823 (exit $ac_status); }; } &&
94824 { ac_try='test -s conftest.$ac_objext'
94825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94826 (eval $ac_try) 2>&5
94827 ac_status=$?
94828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94829 (exit $ac_status); }; }; then
94830 glibcxx_cv_func_ldexpf_use=yes
94831 else
94832 echo "$as_me: failed program was:" >&5
94833 sed 's/^/| /' conftest.$ac_ext >&5
94835 glibcxx_cv_func_ldexpf_use=no
94837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94838 ac_ext=c
94839 ac_cpp='$CPP $CPPFLAGS'
94840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94849 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94851 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94853 for ac_func in ldexpf
94855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94856 echo "$as_me:$LINENO: checking for $ac_func" >&5
94857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94858 if eval "test \"\${$as_ac_var+set}\" = set"; then
94859 echo $ECHO_N "(cached) $ECHO_C" >&6
94860 else
94861 if test x$gcc_no_link = xyes; then
94862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94864 { (exit 1); exit 1; }; }
94866 cat >conftest.$ac_ext <<_ACEOF
94867 /* confdefs.h. */
94868 _ACEOF
94869 cat confdefs.h >>conftest.$ac_ext
94870 cat >>conftest.$ac_ext <<_ACEOF
94871 /* end confdefs.h. */
94872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94874 #define $ac_func innocuous_$ac_func
94876 /* System header to define __stub macros and hopefully few prototypes,
94877 which can conflict with char $ac_func (); below.
94878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94879 <limits.h> exists even on freestanding compilers. */
94881 #ifdef __STDC__
94882 # include <limits.h>
94883 #else
94884 # include <assert.h>
94885 #endif
94887 #undef $ac_func
94889 /* Override any gcc2 internal prototype to avoid an error. */
94890 #ifdef __cplusplus
94891 extern "C"
94893 #endif
94894 /* We use char because int might match the return type of a gcc2
94895 builtin and then its argument prototype would still apply. */
94896 char $ac_func ();
94897 /* The GNU C library defines this for functions which it implements
94898 to always fail with ENOSYS. Some functions are actually named
94899 something starting with __ and the normal name is an alias. */
94900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94901 choke me
94902 #else
94903 char (*f) () = $ac_func;
94904 #endif
94905 #ifdef __cplusplus
94907 #endif
94910 main ()
94912 return f != $ac_func;
94914 return 0;
94916 _ACEOF
94917 rm -f conftest.$ac_objext conftest$ac_exeext
94918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94919 (eval $ac_link) 2>conftest.er1
94920 ac_status=$?
94921 grep -v '^ *+' conftest.er1 >conftest.err
94922 rm -f conftest.er1
94923 cat conftest.err >&5
94924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94925 (exit $ac_status); } &&
94926 { ac_try='test -z "$ac_c_werror_flag"
94927 || test ! -s conftest.err'
94928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94929 (eval $ac_try) 2>&5
94930 ac_status=$?
94931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94932 (exit $ac_status); }; } &&
94933 { ac_try='test -s conftest$ac_exeext'
94934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94935 (eval $ac_try) 2>&5
94936 ac_status=$?
94937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94938 (exit $ac_status); }; }; then
94939 eval "$as_ac_var=yes"
94940 else
94941 echo "$as_me: failed program was:" >&5
94942 sed 's/^/| /' conftest.$ac_ext >&5
94944 eval "$as_ac_var=no"
94946 rm -f conftest.err conftest.$ac_objext \
94947 conftest$ac_exeext conftest.$ac_ext
94949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94951 if test `eval echo '${'$as_ac_var'}'` = yes; then
94952 cat >>confdefs.h <<_ACEOF
94953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94954 _ACEOF
94957 done
94959 else
94961 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94962 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94963 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94964 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94965 echo $ECHO_N "(cached) $ECHO_C" >&6
94966 else
94970 ac_ext=cc
94971 ac_cpp='$CXXCPP $CPPFLAGS'
94972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94976 cat >conftest.$ac_ext <<_ACEOF
94977 /* confdefs.h. */
94978 _ACEOF
94979 cat confdefs.h >>conftest.$ac_ext
94980 cat >>conftest.$ac_ext <<_ACEOF
94981 /* end confdefs.h. */
94982 #include <math.h>
94984 main ()
94986 _ldexpf(0, 0);
94988 return 0;
94990 _ACEOF
94991 rm -f conftest.$ac_objext
94992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94993 (eval $ac_compile) 2>conftest.er1
94994 ac_status=$?
94995 grep -v '^ *+' conftest.er1 >conftest.err
94996 rm -f conftest.er1
94997 cat conftest.err >&5
94998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94999 (exit $ac_status); } &&
95000 { ac_try='test -z "$ac_cxx_werror_flag"
95001 || test ! -s conftest.err'
95002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95003 (eval $ac_try) 2>&5
95004 ac_status=$?
95005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95006 (exit $ac_status); }; } &&
95007 { ac_try='test -s conftest.$ac_objext'
95008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95009 (eval $ac_try) 2>&5
95010 ac_status=$?
95011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95012 (exit $ac_status); }; }; then
95013 glibcxx_cv_func__ldexpf_use=yes
95014 else
95015 echo "$as_me: failed program was:" >&5
95016 sed 's/^/| /' conftest.$ac_ext >&5
95018 glibcxx_cv_func__ldexpf_use=no
95020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95021 ac_ext=c
95022 ac_cpp='$CPP $CPPFLAGS'
95023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
95032 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
95034 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95036 for ac_func in _ldexpf
95038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95039 echo "$as_me:$LINENO: checking for $ac_func" >&5
95040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95041 if eval "test \"\${$as_ac_var+set}\" = set"; then
95042 echo $ECHO_N "(cached) $ECHO_C" >&6
95043 else
95044 if test x$gcc_no_link = xyes; then
95045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95047 { (exit 1); exit 1; }; }
95049 cat >conftest.$ac_ext <<_ACEOF
95050 /* confdefs.h. */
95051 _ACEOF
95052 cat confdefs.h >>conftest.$ac_ext
95053 cat >>conftest.$ac_ext <<_ACEOF
95054 /* end confdefs.h. */
95055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95057 #define $ac_func innocuous_$ac_func
95059 /* System header to define __stub macros and hopefully few prototypes,
95060 which can conflict with char $ac_func (); below.
95061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95062 <limits.h> exists even on freestanding compilers. */
95064 #ifdef __STDC__
95065 # include <limits.h>
95066 #else
95067 # include <assert.h>
95068 #endif
95070 #undef $ac_func
95072 /* Override any gcc2 internal prototype to avoid an error. */
95073 #ifdef __cplusplus
95074 extern "C"
95076 #endif
95077 /* We use char because int might match the return type of a gcc2
95078 builtin and then its argument prototype would still apply. */
95079 char $ac_func ();
95080 /* The GNU C library defines this for functions which it implements
95081 to always fail with ENOSYS. Some functions are actually named
95082 something starting with __ and the normal name is an alias. */
95083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95084 choke me
95085 #else
95086 char (*f) () = $ac_func;
95087 #endif
95088 #ifdef __cplusplus
95090 #endif
95093 main ()
95095 return f != $ac_func;
95097 return 0;
95099 _ACEOF
95100 rm -f conftest.$ac_objext conftest$ac_exeext
95101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95102 (eval $ac_link) 2>conftest.er1
95103 ac_status=$?
95104 grep -v '^ *+' conftest.er1 >conftest.err
95105 rm -f conftest.er1
95106 cat conftest.err >&5
95107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95108 (exit $ac_status); } &&
95109 { ac_try='test -z "$ac_c_werror_flag"
95110 || test ! -s conftest.err'
95111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95112 (eval $ac_try) 2>&5
95113 ac_status=$?
95114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95115 (exit $ac_status); }; } &&
95116 { ac_try='test -s conftest$ac_exeext'
95117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95118 (eval $ac_try) 2>&5
95119 ac_status=$?
95120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95121 (exit $ac_status); }; }; then
95122 eval "$as_ac_var=yes"
95123 else
95124 echo "$as_me: failed program was:" >&5
95125 sed 's/^/| /' conftest.$ac_ext >&5
95127 eval "$as_ac_var=no"
95129 rm -f conftest.err conftest.$ac_objext \
95130 conftest$ac_exeext conftest.$ac_ext
95132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95134 if test `eval echo '${'$as_ac_var'}'` = yes; then
95135 cat >>confdefs.h <<_ACEOF
95136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95137 _ACEOF
95140 done
95150 echo "$as_me:$LINENO: checking for logf declaration" >&5
95151 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95152 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95153 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95154 echo $ECHO_N "(cached) $ECHO_C" >&6
95155 else
95159 ac_ext=cc
95160 ac_cpp='$CXXCPP $CPPFLAGS'
95161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95165 cat >conftest.$ac_ext <<_ACEOF
95166 /* confdefs.h. */
95167 _ACEOF
95168 cat confdefs.h >>conftest.$ac_ext
95169 cat >>conftest.$ac_ext <<_ACEOF
95170 /* end confdefs.h. */
95171 #include <math.h>
95172 #ifdef HAVE_IEEEFP_H
95173 #include <ieeefp.h>
95174 #endif
95177 main ()
95179 logf(0);
95181 return 0;
95183 _ACEOF
95184 rm -f conftest.$ac_objext
95185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95186 (eval $ac_compile) 2>conftest.er1
95187 ac_status=$?
95188 grep -v '^ *+' conftest.er1 >conftest.err
95189 rm -f conftest.er1
95190 cat conftest.err >&5
95191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95192 (exit $ac_status); } &&
95193 { ac_try='test -z "$ac_cxx_werror_flag"
95194 || test ! -s conftest.err'
95195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95196 (eval $ac_try) 2>&5
95197 ac_status=$?
95198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95199 (exit $ac_status); }; } &&
95200 { ac_try='test -s conftest.$ac_objext'
95201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95202 (eval $ac_try) 2>&5
95203 ac_status=$?
95204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95205 (exit $ac_status); }; }; then
95206 glibcxx_cv_func_logf_use=yes
95207 else
95208 echo "$as_me: failed program was:" >&5
95209 sed 's/^/| /' conftest.$ac_ext >&5
95211 glibcxx_cv_func_logf_use=no
95213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95214 ac_ext=c
95215 ac_cpp='$CPP $CPPFLAGS'
95216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95225 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95227 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95229 for ac_func in logf
95231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95232 echo "$as_me:$LINENO: checking for $ac_func" >&5
95233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95234 if eval "test \"\${$as_ac_var+set}\" = set"; then
95235 echo $ECHO_N "(cached) $ECHO_C" >&6
95236 else
95237 if test x$gcc_no_link = xyes; then
95238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95240 { (exit 1); exit 1; }; }
95242 cat >conftest.$ac_ext <<_ACEOF
95243 /* confdefs.h. */
95244 _ACEOF
95245 cat confdefs.h >>conftest.$ac_ext
95246 cat >>conftest.$ac_ext <<_ACEOF
95247 /* end confdefs.h. */
95248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95250 #define $ac_func innocuous_$ac_func
95252 /* System header to define __stub macros and hopefully few prototypes,
95253 which can conflict with char $ac_func (); below.
95254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95255 <limits.h> exists even on freestanding compilers. */
95257 #ifdef __STDC__
95258 # include <limits.h>
95259 #else
95260 # include <assert.h>
95261 #endif
95263 #undef $ac_func
95265 /* Override any gcc2 internal prototype to avoid an error. */
95266 #ifdef __cplusplus
95267 extern "C"
95269 #endif
95270 /* We use char because int might match the return type of a gcc2
95271 builtin and then its argument prototype would still apply. */
95272 char $ac_func ();
95273 /* The GNU C library defines this for functions which it implements
95274 to always fail with ENOSYS. Some functions are actually named
95275 something starting with __ and the normal name is an alias. */
95276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95277 choke me
95278 #else
95279 char (*f) () = $ac_func;
95280 #endif
95281 #ifdef __cplusplus
95283 #endif
95286 main ()
95288 return f != $ac_func;
95290 return 0;
95292 _ACEOF
95293 rm -f conftest.$ac_objext conftest$ac_exeext
95294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95295 (eval $ac_link) 2>conftest.er1
95296 ac_status=$?
95297 grep -v '^ *+' conftest.er1 >conftest.err
95298 rm -f conftest.er1
95299 cat conftest.err >&5
95300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95301 (exit $ac_status); } &&
95302 { ac_try='test -z "$ac_c_werror_flag"
95303 || test ! -s conftest.err'
95304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95305 (eval $ac_try) 2>&5
95306 ac_status=$?
95307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95308 (exit $ac_status); }; } &&
95309 { ac_try='test -s conftest$ac_exeext'
95310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95311 (eval $ac_try) 2>&5
95312 ac_status=$?
95313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95314 (exit $ac_status); }; }; then
95315 eval "$as_ac_var=yes"
95316 else
95317 echo "$as_me: failed program was:" >&5
95318 sed 's/^/| /' conftest.$ac_ext >&5
95320 eval "$as_ac_var=no"
95322 rm -f conftest.err conftest.$ac_objext \
95323 conftest$ac_exeext conftest.$ac_ext
95325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95327 if test `eval echo '${'$as_ac_var'}'` = yes; then
95328 cat >>confdefs.h <<_ACEOF
95329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95330 _ACEOF
95333 done
95335 else
95337 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95338 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95339 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95340 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95341 echo $ECHO_N "(cached) $ECHO_C" >&6
95342 else
95346 ac_ext=cc
95347 ac_cpp='$CXXCPP $CPPFLAGS'
95348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95352 cat >conftest.$ac_ext <<_ACEOF
95353 /* confdefs.h. */
95354 _ACEOF
95355 cat confdefs.h >>conftest.$ac_ext
95356 cat >>conftest.$ac_ext <<_ACEOF
95357 /* end confdefs.h. */
95358 #include <math.h>
95359 #ifdef HAVE_IEEEFP_H
95360 #include <ieeefp.h>
95361 #endif
95364 main ()
95366 _logf(0);
95368 return 0;
95370 _ACEOF
95371 rm -f conftest.$ac_objext
95372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95373 (eval $ac_compile) 2>conftest.er1
95374 ac_status=$?
95375 grep -v '^ *+' conftest.er1 >conftest.err
95376 rm -f conftest.er1
95377 cat conftest.err >&5
95378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95379 (exit $ac_status); } &&
95380 { ac_try='test -z "$ac_cxx_werror_flag"
95381 || test ! -s conftest.err'
95382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95383 (eval $ac_try) 2>&5
95384 ac_status=$?
95385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95386 (exit $ac_status); }; } &&
95387 { ac_try='test -s conftest.$ac_objext'
95388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95389 (eval $ac_try) 2>&5
95390 ac_status=$?
95391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95392 (exit $ac_status); }; }; then
95393 glibcxx_cv_func__logf_use=yes
95394 else
95395 echo "$as_me: failed program was:" >&5
95396 sed 's/^/| /' conftest.$ac_ext >&5
95398 glibcxx_cv_func__logf_use=no
95400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95401 ac_ext=c
95402 ac_cpp='$CPP $CPPFLAGS'
95403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95412 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95414 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95416 for ac_func in _logf
95418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95419 echo "$as_me:$LINENO: checking for $ac_func" >&5
95420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95421 if eval "test \"\${$as_ac_var+set}\" = set"; then
95422 echo $ECHO_N "(cached) $ECHO_C" >&6
95423 else
95424 if test x$gcc_no_link = xyes; then
95425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95427 { (exit 1); exit 1; }; }
95429 cat >conftest.$ac_ext <<_ACEOF
95430 /* confdefs.h. */
95431 _ACEOF
95432 cat confdefs.h >>conftest.$ac_ext
95433 cat >>conftest.$ac_ext <<_ACEOF
95434 /* end confdefs.h. */
95435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95437 #define $ac_func innocuous_$ac_func
95439 /* System header to define __stub macros and hopefully few prototypes,
95440 which can conflict with char $ac_func (); below.
95441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95442 <limits.h> exists even on freestanding compilers. */
95444 #ifdef __STDC__
95445 # include <limits.h>
95446 #else
95447 # include <assert.h>
95448 #endif
95450 #undef $ac_func
95452 /* Override any gcc2 internal prototype to avoid an error. */
95453 #ifdef __cplusplus
95454 extern "C"
95456 #endif
95457 /* We use char because int might match the return type of a gcc2
95458 builtin and then its argument prototype would still apply. */
95459 char $ac_func ();
95460 /* The GNU C library defines this for functions which it implements
95461 to always fail with ENOSYS. Some functions are actually named
95462 something starting with __ and the normal name is an alias. */
95463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95464 choke me
95465 #else
95466 char (*f) () = $ac_func;
95467 #endif
95468 #ifdef __cplusplus
95470 #endif
95473 main ()
95475 return f != $ac_func;
95477 return 0;
95479 _ACEOF
95480 rm -f conftest.$ac_objext conftest$ac_exeext
95481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95482 (eval $ac_link) 2>conftest.er1
95483 ac_status=$?
95484 grep -v '^ *+' conftest.er1 >conftest.err
95485 rm -f conftest.er1
95486 cat conftest.err >&5
95487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95488 (exit $ac_status); } &&
95489 { ac_try='test -z "$ac_c_werror_flag"
95490 || test ! -s conftest.err'
95491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95492 (eval $ac_try) 2>&5
95493 ac_status=$?
95494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95495 (exit $ac_status); }; } &&
95496 { ac_try='test -s conftest$ac_exeext'
95497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95498 (eval $ac_try) 2>&5
95499 ac_status=$?
95500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95501 (exit $ac_status); }; }; then
95502 eval "$as_ac_var=yes"
95503 else
95504 echo "$as_me: failed program was:" >&5
95505 sed 's/^/| /' conftest.$ac_ext >&5
95507 eval "$as_ac_var=no"
95509 rm -f conftest.err conftest.$ac_objext \
95510 conftest$ac_exeext conftest.$ac_ext
95512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95514 if test `eval echo '${'$as_ac_var'}'` = yes; then
95515 cat >>confdefs.h <<_ACEOF
95516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95517 _ACEOF
95520 done
95530 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95531 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95532 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95533 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95534 echo $ECHO_N "(cached) $ECHO_C" >&6
95535 else
95539 ac_ext=cc
95540 ac_cpp='$CXXCPP $CPPFLAGS'
95541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95545 cat >conftest.$ac_ext <<_ACEOF
95546 /* confdefs.h. */
95547 _ACEOF
95548 cat confdefs.h >>conftest.$ac_ext
95549 cat >>conftest.$ac_ext <<_ACEOF
95550 /* end confdefs.h. */
95551 #include <math.h>
95552 #ifdef HAVE_IEEEFP_H
95553 #include <ieeefp.h>
95554 #endif
95557 main ()
95559 log10f(0);
95561 return 0;
95563 _ACEOF
95564 rm -f conftest.$ac_objext
95565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95566 (eval $ac_compile) 2>conftest.er1
95567 ac_status=$?
95568 grep -v '^ *+' conftest.er1 >conftest.err
95569 rm -f conftest.er1
95570 cat conftest.err >&5
95571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95572 (exit $ac_status); } &&
95573 { ac_try='test -z "$ac_cxx_werror_flag"
95574 || test ! -s conftest.err'
95575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95576 (eval $ac_try) 2>&5
95577 ac_status=$?
95578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95579 (exit $ac_status); }; } &&
95580 { ac_try='test -s conftest.$ac_objext'
95581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95582 (eval $ac_try) 2>&5
95583 ac_status=$?
95584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95585 (exit $ac_status); }; }; then
95586 glibcxx_cv_func_log10f_use=yes
95587 else
95588 echo "$as_me: failed program was:" >&5
95589 sed 's/^/| /' conftest.$ac_ext >&5
95591 glibcxx_cv_func_log10f_use=no
95593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95594 ac_ext=c
95595 ac_cpp='$CPP $CPPFLAGS'
95596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95605 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95607 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95609 for ac_func in log10f
95611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95612 echo "$as_me:$LINENO: checking for $ac_func" >&5
95613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95614 if eval "test \"\${$as_ac_var+set}\" = set"; then
95615 echo $ECHO_N "(cached) $ECHO_C" >&6
95616 else
95617 if test x$gcc_no_link = xyes; then
95618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95620 { (exit 1); exit 1; }; }
95622 cat >conftest.$ac_ext <<_ACEOF
95623 /* confdefs.h. */
95624 _ACEOF
95625 cat confdefs.h >>conftest.$ac_ext
95626 cat >>conftest.$ac_ext <<_ACEOF
95627 /* end confdefs.h. */
95628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95630 #define $ac_func innocuous_$ac_func
95632 /* System header to define __stub macros and hopefully few prototypes,
95633 which can conflict with char $ac_func (); below.
95634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95635 <limits.h> exists even on freestanding compilers. */
95637 #ifdef __STDC__
95638 # include <limits.h>
95639 #else
95640 # include <assert.h>
95641 #endif
95643 #undef $ac_func
95645 /* Override any gcc2 internal prototype to avoid an error. */
95646 #ifdef __cplusplus
95647 extern "C"
95649 #endif
95650 /* We use char because int might match the return type of a gcc2
95651 builtin and then its argument prototype would still apply. */
95652 char $ac_func ();
95653 /* The GNU C library defines this for functions which it implements
95654 to always fail with ENOSYS. Some functions are actually named
95655 something starting with __ and the normal name is an alias. */
95656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95657 choke me
95658 #else
95659 char (*f) () = $ac_func;
95660 #endif
95661 #ifdef __cplusplus
95663 #endif
95666 main ()
95668 return f != $ac_func;
95670 return 0;
95672 _ACEOF
95673 rm -f conftest.$ac_objext conftest$ac_exeext
95674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95675 (eval $ac_link) 2>conftest.er1
95676 ac_status=$?
95677 grep -v '^ *+' conftest.er1 >conftest.err
95678 rm -f conftest.er1
95679 cat conftest.err >&5
95680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95681 (exit $ac_status); } &&
95682 { ac_try='test -z "$ac_c_werror_flag"
95683 || test ! -s conftest.err'
95684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95685 (eval $ac_try) 2>&5
95686 ac_status=$?
95687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95688 (exit $ac_status); }; } &&
95689 { ac_try='test -s conftest$ac_exeext'
95690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95691 (eval $ac_try) 2>&5
95692 ac_status=$?
95693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95694 (exit $ac_status); }; }; then
95695 eval "$as_ac_var=yes"
95696 else
95697 echo "$as_me: failed program was:" >&5
95698 sed 's/^/| /' conftest.$ac_ext >&5
95700 eval "$as_ac_var=no"
95702 rm -f conftest.err conftest.$ac_objext \
95703 conftest$ac_exeext conftest.$ac_ext
95705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95707 if test `eval echo '${'$as_ac_var'}'` = yes; then
95708 cat >>confdefs.h <<_ACEOF
95709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95710 _ACEOF
95713 done
95715 else
95717 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95718 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95719 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95720 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95721 echo $ECHO_N "(cached) $ECHO_C" >&6
95722 else
95726 ac_ext=cc
95727 ac_cpp='$CXXCPP $CPPFLAGS'
95728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95732 cat >conftest.$ac_ext <<_ACEOF
95733 /* confdefs.h. */
95734 _ACEOF
95735 cat confdefs.h >>conftest.$ac_ext
95736 cat >>conftest.$ac_ext <<_ACEOF
95737 /* end confdefs.h. */
95738 #include <math.h>
95739 #ifdef HAVE_IEEEFP_H
95740 #include <ieeefp.h>
95741 #endif
95744 main ()
95746 _log10f(0);
95748 return 0;
95750 _ACEOF
95751 rm -f conftest.$ac_objext
95752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95753 (eval $ac_compile) 2>conftest.er1
95754 ac_status=$?
95755 grep -v '^ *+' conftest.er1 >conftest.err
95756 rm -f conftest.er1
95757 cat conftest.err >&5
95758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95759 (exit $ac_status); } &&
95760 { ac_try='test -z "$ac_cxx_werror_flag"
95761 || test ! -s conftest.err'
95762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95763 (eval $ac_try) 2>&5
95764 ac_status=$?
95765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95766 (exit $ac_status); }; } &&
95767 { ac_try='test -s conftest.$ac_objext'
95768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95769 (eval $ac_try) 2>&5
95770 ac_status=$?
95771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95772 (exit $ac_status); }; }; then
95773 glibcxx_cv_func__log10f_use=yes
95774 else
95775 echo "$as_me: failed program was:" >&5
95776 sed 's/^/| /' conftest.$ac_ext >&5
95778 glibcxx_cv_func__log10f_use=no
95780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95781 ac_ext=c
95782 ac_cpp='$CPP $CPPFLAGS'
95783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95792 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95794 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95796 for ac_func in _log10f
95798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95799 echo "$as_me:$LINENO: checking for $ac_func" >&5
95800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95801 if eval "test \"\${$as_ac_var+set}\" = set"; then
95802 echo $ECHO_N "(cached) $ECHO_C" >&6
95803 else
95804 if test x$gcc_no_link = xyes; then
95805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95807 { (exit 1); exit 1; }; }
95809 cat >conftest.$ac_ext <<_ACEOF
95810 /* confdefs.h. */
95811 _ACEOF
95812 cat confdefs.h >>conftest.$ac_ext
95813 cat >>conftest.$ac_ext <<_ACEOF
95814 /* end confdefs.h. */
95815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95817 #define $ac_func innocuous_$ac_func
95819 /* System header to define __stub macros and hopefully few prototypes,
95820 which can conflict with char $ac_func (); below.
95821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95822 <limits.h> exists even on freestanding compilers. */
95824 #ifdef __STDC__
95825 # include <limits.h>
95826 #else
95827 # include <assert.h>
95828 #endif
95830 #undef $ac_func
95832 /* Override any gcc2 internal prototype to avoid an error. */
95833 #ifdef __cplusplus
95834 extern "C"
95836 #endif
95837 /* We use char because int might match the return type of a gcc2
95838 builtin and then its argument prototype would still apply. */
95839 char $ac_func ();
95840 /* The GNU C library defines this for functions which it implements
95841 to always fail with ENOSYS. Some functions are actually named
95842 something starting with __ and the normal name is an alias. */
95843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95844 choke me
95845 #else
95846 char (*f) () = $ac_func;
95847 #endif
95848 #ifdef __cplusplus
95850 #endif
95853 main ()
95855 return f != $ac_func;
95857 return 0;
95859 _ACEOF
95860 rm -f conftest.$ac_objext conftest$ac_exeext
95861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95862 (eval $ac_link) 2>conftest.er1
95863 ac_status=$?
95864 grep -v '^ *+' conftest.er1 >conftest.err
95865 rm -f conftest.er1
95866 cat conftest.err >&5
95867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95868 (exit $ac_status); } &&
95869 { ac_try='test -z "$ac_c_werror_flag"
95870 || test ! -s conftest.err'
95871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95872 (eval $ac_try) 2>&5
95873 ac_status=$?
95874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95875 (exit $ac_status); }; } &&
95876 { ac_try='test -s conftest$ac_exeext'
95877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95878 (eval $ac_try) 2>&5
95879 ac_status=$?
95880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95881 (exit $ac_status); }; }; then
95882 eval "$as_ac_var=yes"
95883 else
95884 echo "$as_me: failed program was:" >&5
95885 sed 's/^/| /' conftest.$ac_ext >&5
95887 eval "$as_ac_var=no"
95889 rm -f conftest.err conftest.$ac_objext \
95890 conftest$ac_exeext conftest.$ac_ext
95892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95894 if test `eval echo '${'$as_ac_var'}'` = yes; then
95895 cat >>confdefs.h <<_ACEOF
95896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95897 _ACEOF
95900 done
95910 echo "$as_me:$LINENO: checking for modff declaration" >&5
95911 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95912 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95913 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95914 echo $ECHO_N "(cached) $ECHO_C" >&6
95915 else
95919 ac_ext=cc
95920 ac_cpp='$CXXCPP $CPPFLAGS'
95921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95925 cat >conftest.$ac_ext <<_ACEOF
95926 /* confdefs.h. */
95927 _ACEOF
95928 cat confdefs.h >>conftest.$ac_ext
95929 cat >>conftest.$ac_ext <<_ACEOF
95930 /* end confdefs.h. */
95931 #include <math.h>
95933 main ()
95935 modff(0, 0);
95937 return 0;
95939 _ACEOF
95940 rm -f conftest.$ac_objext
95941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95942 (eval $ac_compile) 2>conftest.er1
95943 ac_status=$?
95944 grep -v '^ *+' conftest.er1 >conftest.err
95945 rm -f conftest.er1
95946 cat conftest.err >&5
95947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95948 (exit $ac_status); } &&
95949 { ac_try='test -z "$ac_cxx_werror_flag"
95950 || test ! -s conftest.err'
95951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95952 (eval $ac_try) 2>&5
95953 ac_status=$?
95954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95955 (exit $ac_status); }; } &&
95956 { ac_try='test -s conftest.$ac_objext'
95957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95958 (eval $ac_try) 2>&5
95959 ac_status=$?
95960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95961 (exit $ac_status); }; }; then
95962 glibcxx_cv_func_modff_use=yes
95963 else
95964 echo "$as_me: failed program was:" >&5
95965 sed 's/^/| /' conftest.$ac_ext >&5
95967 glibcxx_cv_func_modff_use=no
95969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95970 ac_ext=c
95971 ac_cpp='$CPP $CPPFLAGS'
95972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95981 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95983 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95985 for ac_func in modff
95987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95988 echo "$as_me:$LINENO: checking for $ac_func" >&5
95989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95990 if eval "test \"\${$as_ac_var+set}\" = set"; then
95991 echo $ECHO_N "(cached) $ECHO_C" >&6
95992 else
95993 if test x$gcc_no_link = xyes; then
95994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95996 { (exit 1); exit 1; }; }
95998 cat >conftest.$ac_ext <<_ACEOF
95999 /* confdefs.h. */
96000 _ACEOF
96001 cat confdefs.h >>conftest.$ac_ext
96002 cat >>conftest.$ac_ext <<_ACEOF
96003 /* end confdefs.h. */
96004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96006 #define $ac_func innocuous_$ac_func
96008 /* System header to define __stub macros and hopefully few prototypes,
96009 which can conflict with char $ac_func (); below.
96010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96011 <limits.h> exists even on freestanding compilers. */
96013 #ifdef __STDC__
96014 # include <limits.h>
96015 #else
96016 # include <assert.h>
96017 #endif
96019 #undef $ac_func
96021 /* Override any gcc2 internal prototype to avoid an error. */
96022 #ifdef __cplusplus
96023 extern "C"
96025 #endif
96026 /* We use char because int might match the return type of a gcc2
96027 builtin and then its argument prototype would still apply. */
96028 char $ac_func ();
96029 /* The GNU C library defines this for functions which it implements
96030 to always fail with ENOSYS. Some functions are actually named
96031 something starting with __ and the normal name is an alias. */
96032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96033 choke me
96034 #else
96035 char (*f) () = $ac_func;
96036 #endif
96037 #ifdef __cplusplus
96039 #endif
96042 main ()
96044 return f != $ac_func;
96046 return 0;
96048 _ACEOF
96049 rm -f conftest.$ac_objext conftest$ac_exeext
96050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96051 (eval $ac_link) 2>conftest.er1
96052 ac_status=$?
96053 grep -v '^ *+' conftest.er1 >conftest.err
96054 rm -f conftest.er1
96055 cat conftest.err >&5
96056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96057 (exit $ac_status); } &&
96058 { ac_try='test -z "$ac_c_werror_flag"
96059 || test ! -s conftest.err'
96060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96061 (eval $ac_try) 2>&5
96062 ac_status=$?
96063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96064 (exit $ac_status); }; } &&
96065 { ac_try='test -s conftest$ac_exeext'
96066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96067 (eval $ac_try) 2>&5
96068 ac_status=$?
96069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96070 (exit $ac_status); }; }; then
96071 eval "$as_ac_var=yes"
96072 else
96073 echo "$as_me: failed program was:" >&5
96074 sed 's/^/| /' conftest.$ac_ext >&5
96076 eval "$as_ac_var=no"
96078 rm -f conftest.err conftest.$ac_objext \
96079 conftest$ac_exeext conftest.$ac_ext
96081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96083 if test `eval echo '${'$as_ac_var'}'` = yes; then
96084 cat >>confdefs.h <<_ACEOF
96085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96086 _ACEOF
96089 done
96091 else
96093 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96094 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96095 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96096 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96097 echo $ECHO_N "(cached) $ECHO_C" >&6
96098 else
96102 ac_ext=cc
96103 ac_cpp='$CXXCPP $CPPFLAGS'
96104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96108 cat >conftest.$ac_ext <<_ACEOF
96109 /* confdefs.h. */
96110 _ACEOF
96111 cat confdefs.h >>conftest.$ac_ext
96112 cat >>conftest.$ac_ext <<_ACEOF
96113 /* end confdefs.h. */
96114 #include <math.h>
96116 main ()
96118 _modff(0, 0);
96120 return 0;
96122 _ACEOF
96123 rm -f conftest.$ac_objext
96124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96125 (eval $ac_compile) 2>conftest.er1
96126 ac_status=$?
96127 grep -v '^ *+' conftest.er1 >conftest.err
96128 rm -f conftest.er1
96129 cat conftest.err >&5
96130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96131 (exit $ac_status); } &&
96132 { ac_try='test -z "$ac_cxx_werror_flag"
96133 || test ! -s conftest.err'
96134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96135 (eval $ac_try) 2>&5
96136 ac_status=$?
96137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96138 (exit $ac_status); }; } &&
96139 { ac_try='test -s conftest.$ac_objext'
96140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96141 (eval $ac_try) 2>&5
96142 ac_status=$?
96143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96144 (exit $ac_status); }; }; then
96145 glibcxx_cv_func__modff_use=yes
96146 else
96147 echo "$as_me: failed program was:" >&5
96148 sed 's/^/| /' conftest.$ac_ext >&5
96150 glibcxx_cv_func__modff_use=no
96152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96153 ac_ext=c
96154 ac_cpp='$CPP $CPPFLAGS'
96155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96164 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96166 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96168 for ac_func in _modff
96170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96171 echo "$as_me:$LINENO: checking for $ac_func" >&5
96172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96173 if eval "test \"\${$as_ac_var+set}\" = set"; then
96174 echo $ECHO_N "(cached) $ECHO_C" >&6
96175 else
96176 if test x$gcc_no_link = xyes; then
96177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96179 { (exit 1); exit 1; }; }
96181 cat >conftest.$ac_ext <<_ACEOF
96182 /* confdefs.h. */
96183 _ACEOF
96184 cat confdefs.h >>conftest.$ac_ext
96185 cat >>conftest.$ac_ext <<_ACEOF
96186 /* end confdefs.h. */
96187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96189 #define $ac_func innocuous_$ac_func
96191 /* System header to define __stub macros and hopefully few prototypes,
96192 which can conflict with char $ac_func (); below.
96193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96194 <limits.h> exists even on freestanding compilers. */
96196 #ifdef __STDC__
96197 # include <limits.h>
96198 #else
96199 # include <assert.h>
96200 #endif
96202 #undef $ac_func
96204 /* Override any gcc2 internal prototype to avoid an error. */
96205 #ifdef __cplusplus
96206 extern "C"
96208 #endif
96209 /* We use char because int might match the return type of a gcc2
96210 builtin and then its argument prototype would still apply. */
96211 char $ac_func ();
96212 /* The GNU C library defines this for functions which it implements
96213 to always fail with ENOSYS. Some functions are actually named
96214 something starting with __ and the normal name is an alias. */
96215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96216 choke me
96217 #else
96218 char (*f) () = $ac_func;
96219 #endif
96220 #ifdef __cplusplus
96222 #endif
96225 main ()
96227 return f != $ac_func;
96229 return 0;
96231 _ACEOF
96232 rm -f conftest.$ac_objext conftest$ac_exeext
96233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96234 (eval $ac_link) 2>conftest.er1
96235 ac_status=$?
96236 grep -v '^ *+' conftest.er1 >conftest.err
96237 rm -f conftest.er1
96238 cat conftest.err >&5
96239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96240 (exit $ac_status); } &&
96241 { ac_try='test -z "$ac_c_werror_flag"
96242 || test ! -s conftest.err'
96243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96244 (eval $ac_try) 2>&5
96245 ac_status=$?
96246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96247 (exit $ac_status); }; } &&
96248 { ac_try='test -s conftest$ac_exeext'
96249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96250 (eval $ac_try) 2>&5
96251 ac_status=$?
96252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96253 (exit $ac_status); }; }; then
96254 eval "$as_ac_var=yes"
96255 else
96256 echo "$as_me: failed program was:" >&5
96257 sed 's/^/| /' conftest.$ac_ext >&5
96259 eval "$as_ac_var=no"
96261 rm -f conftest.err conftest.$ac_objext \
96262 conftest$ac_exeext conftest.$ac_ext
96264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96266 if test `eval echo '${'$as_ac_var'}'` = yes; then
96267 cat >>confdefs.h <<_ACEOF
96268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96269 _ACEOF
96272 done
96282 echo "$as_me:$LINENO: checking for modf declaration" >&5
96283 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96284 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96285 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96286 echo $ECHO_N "(cached) $ECHO_C" >&6
96287 else
96291 ac_ext=cc
96292 ac_cpp='$CXXCPP $CPPFLAGS'
96293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96297 cat >conftest.$ac_ext <<_ACEOF
96298 /* confdefs.h. */
96299 _ACEOF
96300 cat confdefs.h >>conftest.$ac_ext
96301 cat >>conftest.$ac_ext <<_ACEOF
96302 /* end confdefs.h. */
96303 #include <math.h>
96305 main ()
96307 modf(0, 0);
96309 return 0;
96311 _ACEOF
96312 rm -f conftest.$ac_objext
96313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96314 (eval $ac_compile) 2>conftest.er1
96315 ac_status=$?
96316 grep -v '^ *+' conftest.er1 >conftest.err
96317 rm -f conftest.er1
96318 cat conftest.err >&5
96319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96320 (exit $ac_status); } &&
96321 { ac_try='test -z "$ac_cxx_werror_flag"
96322 || test ! -s conftest.err'
96323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96324 (eval $ac_try) 2>&5
96325 ac_status=$?
96326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96327 (exit $ac_status); }; } &&
96328 { ac_try='test -s conftest.$ac_objext'
96329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96330 (eval $ac_try) 2>&5
96331 ac_status=$?
96332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96333 (exit $ac_status); }; }; then
96334 glibcxx_cv_func_modf_use=yes
96335 else
96336 echo "$as_me: failed program was:" >&5
96337 sed 's/^/| /' conftest.$ac_ext >&5
96339 glibcxx_cv_func_modf_use=no
96341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96342 ac_ext=c
96343 ac_cpp='$CPP $CPPFLAGS'
96344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96353 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96355 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96357 for ac_func in modf
96359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96360 echo "$as_me:$LINENO: checking for $ac_func" >&5
96361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96362 if eval "test \"\${$as_ac_var+set}\" = set"; then
96363 echo $ECHO_N "(cached) $ECHO_C" >&6
96364 else
96365 if test x$gcc_no_link = xyes; then
96366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96368 { (exit 1); exit 1; }; }
96370 cat >conftest.$ac_ext <<_ACEOF
96371 /* confdefs.h. */
96372 _ACEOF
96373 cat confdefs.h >>conftest.$ac_ext
96374 cat >>conftest.$ac_ext <<_ACEOF
96375 /* end confdefs.h. */
96376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96378 #define $ac_func innocuous_$ac_func
96380 /* System header to define __stub macros and hopefully few prototypes,
96381 which can conflict with char $ac_func (); below.
96382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96383 <limits.h> exists even on freestanding compilers. */
96385 #ifdef __STDC__
96386 # include <limits.h>
96387 #else
96388 # include <assert.h>
96389 #endif
96391 #undef $ac_func
96393 /* Override any gcc2 internal prototype to avoid an error. */
96394 #ifdef __cplusplus
96395 extern "C"
96397 #endif
96398 /* We use char because int might match the return type of a gcc2
96399 builtin and then its argument prototype would still apply. */
96400 char $ac_func ();
96401 /* The GNU C library defines this for functions which it implements
96402 to always fail with ENOSYS. Some functions are actually named
96403 something starting with __ and the normal name is an alias. */
96404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96405 choke me
96406 #else
96407 char (*f) () = $ac_func;
96408 #endif
96409 #ifdef __cplusplus
96411 #endif
96414 main ()
96416 return f != $ac_func;
96418 return 0;
96420 _ACEOF
96421 rm -f conftest.$ac_objext conftest$ac_exeext
96422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96423 (eval $ac_link) 2>conftest.er1
96424 ac_status=$?
96425 grep -v '^ *+' conftest.er1 >conftest.err
96426 rm -f conftest.er1
96427 cat conftest.err >&5
96428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96429 (exit $ac_status); } &&
96430 { ac_try='test -z "$ac_c_werror_flag"
96431 || test ! -s conftest.err'
96432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96433 (eval $ac_try) 2>&5
96434 ac_status=$?
96435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96436 (exit $ac_status); }; } &&
96437 { ac_try='test -s conftest$ac_exeext'
96438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96439 (eval $ac_try) 2>&5
96440 ac_status=$?
96441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96442 (exit $ac_status); }; }; then
96443 eval "$as_ac_var=yes"
96444 else
96445 echo "$as_me: failed program was:" >&5
96446 sed 's/^/| /' conftest.$ac_ext >&5
96448 eval "$as_ac_var=no"
96450 rm -f conftest.err conftest.$ac_objext \
96451 conftest$ac_exeext conftest.$ac_ext
96453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96455 if test `eval echo '${'$as_ac_var'}'` = yes; then
96456 cat >>confdefs.h <<_ACEOF
96457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96458 _ACEOF
96461 done
96463 else
96465 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96466 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96467 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96468 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96469 echo $ECHO_N "(cached) $ECHO_C" >&6
96470 else
96474 ac_ext=cc
96475 ac_cpp='$CXXCPP $CPPFLAGS'
96476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96480 cat >conftest.$ac_ext <<_ACEOF
96481 /* confdefs.h. */
96482 _ACEOF
96483 cat confdefs.h >>conftest.$ac_ext
96484 cat >>conftest.$ac_ext <<_ACEOF
96485 /* end confdefs.h. */
96486 #include <math.h>
96488 main ()
96490 _modf(0, 0);
96492 return 0;
96494 _ACEOF
96495 rm -f conftest.$ac_objext
96496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96497 (eval $ac_compile) 2>conftest.er1
96498 ac_status=$?
96499 grep -v '^ *+' conftest.er1 >conftest.err
96500 rm -f conftest.er1
96501 cat conftest.err >&5
96502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96503 (exit $ac_status); } &&
96504 { ac_try='test -z "$ac_cxx_werror_flag"
96505 || test ! -s conftest.err'
96506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96507 (eval $ac_try) 2>&5
96508 ac_status=$?
96509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96510 (exit $ac_status); }; } &&
96511 { ac_try='test -s conftest.$ac_objext'
96512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96513 (eval $ac_try) 2>&5
96514 ac_status=$?
96515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96516 (exit $ac_status); }; }; then
96517 glibcxx_cv_func__modf_use=yes
96518 else
96519 echo "$as_me: failed program was:" >&5
96520 sed 's/^/| /' conftest.$ac_ext >&5
96522 glibcxx_cv_func__modf_use=no
96524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96525 ac_ext=c
96526 ac_cpp='$CPP $CPPFLAGS'
96527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96536 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96538 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96540 for ac_func in _modf
96542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96543 echo "$as_me:$LINENO: checking for $ac_func" >&5
96544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96545 if eval "test \"\${$as_ac_var+set}\" = set"; then
96546 echo $ECHO_N "(cached) $ECHO_C" >&6
96547 else
96548 if test x$gcc_no_link = xyes; then
96549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96551 { (exit 1); exit 1; }; }
96553 cat >conftest.$ac_ext <<_ACEOF
96554 /* confdefs.h. */
96555 _ACEOF
96556 cat confdefs.h >>conftest.$ac_ext
96557 cat >>conftest.$ac_ext <<_ACEOF
96558 /* end confdefs.h. */
96559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96561 #define $ac_func innocuous_$ac_func
96563 /* System header to define __stub macros and hopefully few prototypes,
96564 which can conflict with char $ac_func (); below.
96565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96566 <limits.h> exists even on freestanding compilers. */
96568 #ifdef __STDC__
96569 # include <limits.h>
96570 #else
96571 # include <assert.h>
96572 #endif
96574 #undef $ac_func
96576 /* Override any gcc2 internal prototype to avoid an error. */
96577 #ifdef __cplusplus
96578 extern "C"
96580 #endif
96581 /* We use char because int might match the return type of a gcc2
96582 builtin and then its argument prototype would still apply. */
96583 char $ac_func ();
96584 /* The GNU C library defines this for functions which it implements
96585 to always fail with ENOSYS. Some functions are actually named
96586 something starting with __ and the normal name is an alias. */
96587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96588 choke me
96589 #else
96590 char (*f) () = $ac_func;
96591 #endif
96592 #ifdef __cplusplus
96594 #endif
96597 main ()
96599 return f != $ac_func;
96601 return 0;
96603 _ACEOF
96604 rm -f conftest.$ac_objext conftest$ac_exeext
96605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96606 (eval $ac_link) 2>conftest.er1
96607 ac_status=$?
96608 grep -v '^ *+' conftest.er1 >conftest.err
96609 rm -f conftest.er1
96610 cat conftest.err >&5
96611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96612 (exit $ac_status); } &&
96613 { ac_try='test -z "$ac_c_werror_flag"
96614 || test ! -s conftest.err'
96615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96616 (eval $ac_try) 2>&5
96617 ac_status=$?
96618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96619 (exit $ac_status); }; } &&
96620 { ac_try='test -s conftest$ac_exeext'
96621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96622 (eval $ac_try) 2>&5
96623 ac_status=$?
96624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96625 (exit $ac_status); }; }; then
96626 eval "$as_ac_var=yes"
96627 else
96628 echo "$as_me: failed program was:" >&5
96629 sed 's/^/| /' conftest.$ac_ext >&5
96631 eval "$as_ac_var=no"
96633 rm -f conftest.err conftest.$ac_objext \
96634 conftest$ac_exeext conftest.$ac_ext
96636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96638 if test `eval echo '${'$as_ac_var'}'` = yes; then
96639 cat >>confdefs.h <<_ACEOF
96640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96641 _ACEOF
96644 done
96654 echo "$as_me:$LINENO: checking for powf declaration" >&5
96655 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96656 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96657 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96658 echo $ECHO_N "(cached) $ECHO_C" >&6
96659 else
96663 ac_ext=cc
96664 ac_cpp='$CXXCPP $CPPFLAGS'
96665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96669 cat >conftest.$ac_ext <<_ACEOF
96670 /* confdefs.h. */
96671 _ACEOF
96672 cat confdefs.h >>conftest.$ac_ext
96673 cat >>conftest.$ac_ext <<_ACEOF
96674 /* end confdefs.h. */
96675 #include <math.h>
96677 main ()
96679 powf(0, 0);
96681 return 0;
96683 _ACEOF
96684 rm -f conftest.$ac_objext
96685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96686 (eval $ac_compile) 2>conftest.er1
96687 ac_status=$?
96688 grep -v '^ *+' conftest.er1 >conftest.err
96689 rm -f conftest.er1
96690 cat conftest.err >&5
96691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96692 (exit $ac_status); } &&
96693 { ac_try='test -z "$ac_cxx_werror_flag"
96694 || test ! -s conftest.err'
96695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96696 (eval $ac_try) 2>&5
96697 ac_status=$?
96698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96699 (exit $ac_status); }; } &&
96700 { ac_try='test -s conftest.$ac_objext'
96701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96702 (eval $ac_try) 2>&5
96703 ac_status=$?
96704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96705 (exit $ac_status); }; }; then
96706 glibcxx_cv_func_powf_use=yes
96707 else
96708 echo "$as_me: failed program was:" >&5
96709 sed 's/^/| /' conftest.$ac_ext >&5
96711 glibcxx_cv_func_powf_use=no
96713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96714 ac_ext=c
96715 ac_cpp='$CPP $CPPFLAGS'
96716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96725 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96727 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96729 for ac_func in powf
96731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96732 echo "$as_me:$LINENO: checking for $ac_func" >&5
96733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96734 if eval "test \"\${$as_ac_var+set}\" = set"; then
96735 echo $ECHO_N "(cached) $ECHO_C" >&6
96736 else
96737 if test x$gcc_no_link = xyes; then
96738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96740 { (exit 1); exit 1; }; }
96742 cat >conftest.$ac_ext <<_ACEOF
96743 /* confdefs.h. */
96744 _ACEOF
96745 cat confdefs.h >>conftest.$ac_ext
96746 cat >>conftest.$ac_ext <<_ACEOF
96747 /* end confdefs.h. */
96748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96750 #define $ac_func innocuous_$ac_func
96752 /* System header to define __stub macros and hopefully few prototypes,
96753 which can conflict with char $ac_func (); below.
96754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96755 <limits.h> exists even on freestanding compilers. */
96757 #ifdef __STDC__
96758 # include <limits.h>
96759 #else
96760 # include <assert.h>
96761 #endif
96763 #undef $ac_func
96765 /* Override any gcc2 internal prototype to avoid an error. */
96766 #ifdef __cplusplus
96767 extern "C"
96769 #endif
96770 /* We use char because int might match the return type of a gcc2
96771 builtin and then its argument prototype would still apply. */
96772 char $ac_func ();
96773 /* The GNU C library defines this for functions which it implements
96774 to always fail with ENOSYS. Some functions are actually named
96775 something starting with __ and the normal name is an alias. */
96776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96777 choke me
96778 #else
96779 char (*f) () = $ac_func;
96780 #endif
96781 #ifdef __cplusplus
96783 #endif
96786 main ()
96788 return f != $ac_func;
96790 return 0;
96792 _ACEOF
96793 rm -f conftest.$ac_objext conftest$ac_exeext
96794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96795 (eval $ac_link) 2>conftest.er1
96796 ac_status=$?
96797 grep -v '^ *+' conftest.er1 >conftest.err
96798 rm -f conftest.er1
96799 cat conftest.err >&5
96800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96801 (exit $ac_status); } &&
96802 { ac_try='test -z "$ac_c_werror_flag"
96803 || test ! -s conftest.err'
96804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96805 (eval $ac_try) 2>&5
96806 ac_status=$?
96807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96808 (exit $ac_status); }; } &&
96809 { ac_try='test -s conftest$ac_exeext'
96810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96811 (eval $ac_try) 2>&5
96812 ac_status=$?
96813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96814 (exit $ac_status); }; }; then
96815 eval "$as_ac_var=yes"
96816 else
96817 echo "$as_me: failed program was:" >&5
96818 sed 's/^/| /' conftest.$ac_ext >&5
96820 eval "$as_ac_var=no"
96822 rm -f conftest.err conftest.$ac_objext \
96823 conftest$ac_exeext conftest.$ac_ext
96825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96827 if test `eval echo '${'$as_ac_var'}'` = yes; then
96828 cat >>confdefs.h <<_ACEOF
96829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96830 _ACEOF
96833 done
96835 else
96837 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96838 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96839 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96840 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96841 echo $ECHO_N "(cached) $ECHO_C" >&6
96842 else
96846 ac_ext=cc
96847 ac_cpp='$CXXCPP $CPPFLAGS'
96848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96852 cat >conftest.$ac_ext <<_ACEOF
96853 /* confdefs.h. */
96854 _ACEOF
96855 cat confdefs.h >>conftest.$ac_ext
96856 cat >>conftest.$ac_ext <<_ACEOF
96857 /* end confdefs.h. */
96858 #include <math.h>
96860 main ()
96862 _powf(0, 0);
96864 return 0;
96866 _ACEOF
96867 rm -f conftest.$ac_objext
96868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96869 (eval $ac_compile) 2>conftest.er1
96870 ac_status=$?
96871 grep -v '^ *+' conftest.er1 >conftest.err
96872 rm -f conftest.er1
96873 cat conftest.err >&5
96874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96875 (exit $ac_status); } &&
96876 { ac_try='test -z "$ac_cxx_werror_flag"
96877 || test ! -s conftest.err'
96878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96879 (eval $ac_try) 2>&5
96880 ac_status=$?
96881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96882 (exit $ac_status); }; } &&
96883 { ac_try='test -s conftest.$ac_objext'
96884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96885 (eval $ac_try) 2>&5
96886 ac_status=$?
96887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96888 (exit $ac_status); }; }; then
96889 glibcxx_cv_func__powf_use=yes
96890 else
96891 echo "$as_me: failed program was:" >&5
96892 sed 's/^/| /' conftest.$ac_ext >&5
96894 glibcxx_cv_func__powf_use=no
96896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96897 ac_ext=c
96898 ac_cpp='$CPP $CPPFLAGS'
96899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96908 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96910 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96912 for ac_func in _powf
96914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96915 echo "$as_me:$LINENO: checking for $ac_func" >&5
96916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96917 if eval "test \"\${$as_ac_var+set}\" = set"; then
96918 echo $ECHO_N "(cached) $ECHO_C" >&6
96919 else
96920 if test x$gcc_no_link = xyes; then
96921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96923 { (exit 1); exit 1; }; }
96925 cat >conftest.$ac_ext <<_ACEOF
96926 /* confdefs.h. */
96927 _ACEOF
96928 cat confdefs.h >>conftest.$ac_ext
96929 cat >>conftest.$ac_ext <<_ACEOF
96930 /* end confdefs.h. */
96931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96933 #define $ac_func innocuous_$ac_func
96935 /* System header to define __stub macros and hopefully few prototypes,
96936 which can conflict with char $ac_func (); below.
96937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96938 <limits.h> exists even on freestanding compilers. */
96940 #ifdef __STDC__
96941 # include <limits.h>
96942 #else
96943 # include <assert.h>
96944 #endif
96946 #undef $ac_func
96948 /* Override any gcc2 internal prototype to avoid an error. */
96949 #ifdef __cplusplus
96950 extern "C"
96952 #endif
96953 /* We use char because int might match the return type of a gcc2
96954 builtin and then its argument prototype would still apply. */
96955 char $ac_func ();
96956 /* The GNU C library defines this for functions which it implements
96957 to always fail with ENOSYS. Some functions are actually named
96958 something starting with __ and the normal name is an alias. */
96959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96960 choke me
96961 #else
96962 char (*f) () = $ac_func;
96963 #endif
96964 #ifdef __cplusplus
96966 #endif
96969 main ()
96971 return f != $ac_func;
96973 return 0;
96975 _ACEOF
96976 rm -f conftest.$ac_objext conftest$ac_exeext
96977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96978 (eval $ac_link) 2>conftest.er1
96979 ac_status=$?
96980 grep -v '^ *+' conftest.er1 >conftest.err
96981 rm -f conftest.er1
96982 cat conftest.err >&5
96983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96984 (exit $ac_status); } &&
96985 { ac_try='test -z "$ac_c_werror_flag"
96986 || test ! -s conftest.err'
96987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96988 (eval $ac_try) 2>&5
96989 ac_status=$?
96990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96991 (exit $ac_status); }; } &&
96992 { ac_try='test -s conftest$ac_exeext'
96993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96994 (eval $ac_try) 2>&5
96995 ac_status=$?
96996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96997 (exit $ac_status); }; }; then
96998 eval "$as_ac_var=yes"
96999 else
97000 echo "$as_me: failed program was:" >&5
97001 sed 's/^/| /' conftest.$ac_ext >&5
97003 eval "$as_ac_var=no"
97005 rm -f conftest.err conftest.$ac_objext \
97006 conftest$ac_exeext conftest.$ac_ext
97008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97010 if test `eval echo '${'$as_ac_var'}'` = yes; then
97011 cat >>confdefs.h <<_ACEOF
97012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97013 _ACEOF
97016 done
97026 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
97027 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
97028 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
97029 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
97030 echo $ECHO_N "(cached) $ECHO_C" >&6
97031 else
97035 ac_ext=cc
97036 ac_cpp='$CXXCPP $CPPFLAGS'
97037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97041 cat >conftest.$ac_ext <<_ACEOF
97042 /* confdefs.h. */
97043 _ACEOF
97044 cat confdefs.h >>conftest.$ac_ext
97045 cat >>conftest.$ac_ext <<_ACEOF
97046 /* end confdefs.h. */
97047 #include <math.h>
97048 #ifdef HAVE_IEEEFP_H
97049 #include <ieeefp.h>
97050 #endif
97053 main ()
97055 sqrtf(0);
97057 return 0;
97059 _ACEOF
97060 rm -f conftest.$ac_objext
97061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97062 (eval $ac_compile) 2>conftest.er1
97063 ac_status=$?
97064 grep -v '^ *+' conftest.er1 >conftest.err
97065 rm -f conftest.er1
97066 cat conftest.err >&5
97067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97068 (exit $ac_status); } &&
97069 { ac_try='test -z "$ac_cxx_werror_flag"
97070 || test ! -s conftest.err'
97071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97072 (eval $ac_try) 2>&5
97073 ac_status=$?
97074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97075 (exit $ac_status); }; } &&
97076 { ac_try='test -s conftest.$ac_objext'
97077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97078 (eval $ac_try) 2>&5
97079 ac_status=$?
97080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97081 (exit $ac_status); }; }; then
97082 glibcxx_cv_func_sqrtf_use=yes
97083 else
97084 echo "$as_me: failed program was:" >&5
97085 sed 's/^/| /' conftest.$ac_ext >&5
97087 glibcxx_cv_func_sqrtf_use=no
97089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97090 ac_ext=c
97091 ac_cpp='$CPP $CPPFLAGS'
97092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97101 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97103 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97105 for ac_func in sqrtf
97107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97108 echo "$as_me:$LINENO: checking for $ac_func" >&5
97109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97110 if eval "test \"\${$as_ac_var+set}\" = set"; then
97111 echo $ECHO_N "(cached) $ECHO_C" >&6
97112 else
97113 if test x$gcc_no_link = xyes; then
97114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97116 { (exit 1); exit 1; }; }
97118 cat >conftest.$ac_ext <<_ACEOF
97119 /* confdefs.h. */
97120 _ACEOF
97121 cat confdefs.h >>conftest.$ac_ext
97122 cat >>conftest.$ac_ext <<_ACEOF
97123 /* end confdefs.h. */
97124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97126 #define $ac_func innocuous_$ac_func
97128 /* System header to define __stub macros and hopefully few prototypes,
97129 which can conflict with char $ac_func (); below.
97130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97131 <limits.h> exists even on freestanding compilers. */
97133 #ifdef __STDC__
97134 # include <limits.h>
97135 #else
97136 # include <assert.h>
97137 #endif
97139 #undef $ac_func
97141 /* Override any gcc2 internal prototype to avoid an error. */
97142 #ifdef __cplusplus
97143 extern "C"
97145 #endif
97146 /* We use char because int might match the return type of a gcc2
97147 builtin and then its argument prototype would still apply. */
97148 char $ac_func ();
97149 /* The GNU C library defines this for functions which it implements
97150 to always fail with ENOSYS. Some functions are actually named
97151 something starting with __ and the normal name is an alias. */
97152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97153 choke me
97154 #else
97155 char (*f) () = $ac_func;
97156 #endif
97157 #ifdef __cplusplus
97159 #endif
97162 main ()
97164 return f != $ac_func;
97166 return 0;
97168 _ACEOF
97169 rm -f conftest.$ac_objext conftest$ac_exeext
97170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97171 (eval $ac_link) 2>conftest.er1
97172 ac_status=$?
97173 grep -v '^ *+' conftest.er1 >conftest.err
97174 rm -f conftest.er1
97175 cat conftest.err >&5
97176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97177 (exit $ac_status); } &&
97178 { ac_try='test -z "$ac_c_werror_flag"
97179 || test ! -s conftest.err'
97180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97181 (eval $ac_try) 2>&5
97182 ac_status=$?
97183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97184 (exit $ac_status); }; } &&
97185 { ac_try='test -s conftest$ac_exeext'
97186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97187 (eval $ac_try) 2>&5
97188 ac_status=$?
97189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97190 (exit $ac_status); }; }; then
97191 eval "$as_ac_var=yes"
97192 else
97193 echo "$as_me: failed program was:" >&5
97194 sed 's/^/| /' conftest.$ac_ext >&5
97196 eval "$as_ac_var=no"
97198 rm -f conftest.err conftest.$ac_objext \
97199 conftest$ac_exeext conftest.$ac_ext
97201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97203 if test `eval echo '${'$as_ac_var'}'` = yes; then
97204 cat >>confdefs.h <<_ACEOF
97205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97206 _ACEOF
97209 done
97211 else
97213 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97214 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97217 echo $ECHO_N "(cached) $ECHO_C" >&6
97218 else
97222 ac_ext=cc
97223 ac_cpp='$CXXCPP $CPPFLAGS'
97224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97228 cat >conftest.$ac_ext <<_ACEOF
97229 /* confdefs.h. */
97230 _ACEOF
97231 cat confdefs.h >>conftest.$ac_ext
97232 cat >>conftest.$ac_ext <<_ACEOF
97233 /* end confdefs.h. */
97234 #include <math.h>
97235 #ifdef HAVE_IEEEFP_H
97236 #include <ieeefp.h>
97237 #endif
97240 main ()
97242 _sqrtf(0);
97244 return 0;
97246 _ACEOF
97247 rm -f conftest.$ac_objext
97248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97249 (eval $ac_compile) 2>conftest.er1
97250 ac_status=$?
97251 grep -v '^ *+' conftest.er1 >conftest.err
97252 rm -f conftest.er1
97253 cat conftest.err >&5
97254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97255 (exit $ac_status); } &&
97256 { ac_try='test -z "$ac_cxx_werror_flag"
97257 || test ! -s conftest.err'
97258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97259 (eval $ac_try) 2>&5
97260 ac_status=$?
97261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97262 (exit $ac_status); }; } &&
97263 { ac_try='test -s conftest.$ac_objext'
97264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97265 (eval $ac_try) 2>&5
97266 ac_status=$?
97267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97268 (exit $ac_status); }; }; then
97269 glibcxx_cv_func__sqrtf_use=yes
97270 else
97271 echo "$as_me: failed program was:" >&5
97272 sed 's/^/| /' conftest.$ac_ext >&5
97274 glibcxx_cv_func__sqrtf_use=no
97276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97277 ac_ext=c
97278 ac_cpp='$CPP $CPPFLAGS'
97279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97287 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97288 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97290 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97292 for ac_func in _sqrtf
97294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97295 echo "$as_me:$LINENO: checking for $ac_func" >&5
97296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97297 if eval "test \"\${$as_ac_var+set}\" = set"; then
97298 echo $ECHO_N "(cached) $ECHO_C" >&6
97299 else
97300 if test x$gcc_no_link = xyes; then
97301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97303 { (exit 1); exit 1; }; }
97305 cat >conftest.$ac_ext <<_ACEOF
97306 /* confdefs.h. */
97307 _ACEOF
97308 cat confdefs.h >>conftest.$ac_ext
97309 cat >>conftest.$ac_ext <<_ACEOF
97310 /* end confdefs.h. */
97311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97313 #define $ac_func innocuous_$ac_func
97315 /* System header to define __stub macros and hopefully few prototypes,
97316 which can conflict with char $ac_func (); below.
97317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97318 <limits.h> exists even on freestanding compilers. */
97320 #ifdef __STDC__
97321 # include <limits.h>
97322 #else
97323 # include <assert.h>
97324 #endif
97326 #undef $ac_func
97328 /* Override any gcc2 internal prototype to avoid an error. */
97329 #ifdef __cplusplus
97330 extern "C"
97332 #endif
97333 /* We use char because int might match the return type of a gcc2
97334 builtin and then its argument prototype would still apply. */
97335 char $ac_func ();
97336 /* The GNU C library defines this for functions which it implements
97337 to always fail with ENOSYS. Some functions are actually named
97338 something starting with __ and the normal name is an alias. */
97339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97340 choke me
97341 #else
97342 char (*f) () = $ac_func;
97343 #endif
97344 #ifdef __cplusplus
97346 #endif
97349 main ()
97351 return f != $ac_func;
97353 return 0;
97355 _ACEOF
97356 rm -f conftest.$ac_objext conftest$ac_exeext
97357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97358 (eval $ac_link) 2>conftest.er1
97359 ac_status=$?
97360 grep -v '^ *+' conftest.er1 >conftest.err
97361 rm -f conftest.er1
97362 cat conftest.err >&5
97363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97364 (exit $ac_status); } &&
97365 { ac_try='test -z "$ac_c_werror_flag"
97366 || test ! -s conftest.err'
97367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97368 (eval $ac_try) 2>&5
97369 ac_status=$?
97370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97371 (exit $ac_status); }; } &&
97372 { ac_try='test -s conftest$ac_exeext'
97373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97374 (eval $ac_try) 2>&5
97375 ac_status=$?
97376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97377 (exit $ac_status); }; }; then
97378 eval "$as_ac_var=yes"
97379 else
97380 echo "$as_me: failed program was:" >&5
97381 sed 's/^/| /' conftest.$ac_ext >&5
97383 eval "$as_ac_var=no"
97385 rm -f conftest.err conftest.$ac_objext \
97386 conftest$ac_exeext conftest.$ac_ext
97388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97390 if test `eval echo '${'$as_ac_var'}'` = yes; then
97391 cat >>confdefs.h <<_ACEOF
97392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97393 _ACEOF
97396 done
97406 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97407 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97408 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97409 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97410 echo $ECHO_N "(cached) $ECHO_C" >&6
97411 else
97415 ac_ext=cc
97416 ac_cpp='$CXXCPP $CPPFLAGS'
97417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97421 cat >conftest.$ac_ext <<_ACEOF
97422 /* confdefs.h. */
97423 _ACEOF
97424 cat confdefs.h >>conftest.$ac_ext
97425 cat >>conftest.$ac_ext <<_ACEOF
97426 /* end confdefs.h. */
97427 #include <math.h>
97429 main ()
97431 sincosf(0, 0, 0);
97433 return 0;
97435 _ACEOF
97436 rm -f conftest.$ac_objext
97437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97438 (eval $ac_compile) 2>conftest.er1
97439 ac_status=$?
97440 grep -v '^ *+' conftest.er1 >conftest.err
97441 rm -f conftest.er1
97442 cat conftest.err >&5
97443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97444 (exit $ac_status); } &&
97445 { ac_try='test -z "$ac_cxx_werror_flag"
97446 || test ! -s conftest.err'
97447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97448 (eval $ac_try) 2>&5
97449 ac_status=$?
97450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97451 (exit $ac_status); }; } &&
97452 { ac_try='test -s conftest.$ac_objext'
97453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97454 (eval $ac_try) 2>&5
97455 ac_status=$?
97456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97457 (exit $ac_status); }; }; then
97458 glibcxx_cv_func_sincosf_use=yes
97459 else
97460 echo "$as_me: failed program was:" >&5
97461 sed 's/^/| /' conftest.$ac_ext >&5
97463 glibcxx_cv_func_sincosf_use=no
97465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97466 ac_ext=c
97467 ac_cpp='$CPP $CPPFLAGS'
97468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97477 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97479 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97481 for ac_func in sincosf
97483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97484 echo "$as_me:$LINENO: checking for $ac_func" >&5
97485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97486 if eval "test \"\${$as_ac_var+set}\" = set"; then
97487 echo $ECHO_N "(cached) $ECHO_C" >&6
97488 else
97489 if test x$gcc_no_link = xyes; then
97490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97492 { (exit 1); exit 1; }; }
97494 cat >conftest.$ac_ext <<_ACEOF
97495 /* confdefs.h. */
97496 _ACEOF
97497 cat confdefs.h >>conftest.$ac_ext
97498 cat >>conftest.$ac_ext <<_ACEOF
97499 /* end confdefs.h. */
97500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97502 #define $ac_func innocuous_$ac_func
97504 /* System header to define __stub macros and hopefully few prototypes,
97505 which can conflict with char $ac_func (); below.
97506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97507 <limits.h> exists even on freestanding compilers. */
97509 #ifdef __STDC__
97510 # include <limits.h>
97511 #else
97512 # include <assert.h>
97513 #endif
97515 #undef $ac_func
97517 /* Override any gcc2 internal prototype to avoid an error. */
97518 #ifdef __cplusplus
97519 extern "C"
97521 #endif
97522 /* We use char because int might match the return type of a gcc2
97523 builtin and then its argument prototype would still apply. */
97524 char $ac_func ();
97525 /* The GNU C library defines this for functions which it implements
97526 to always fail with ENOSYS. Some functions are actually named
97527 something starting with __ and the normal name is an alias. */
97528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97529 choke me
97530 #else
97531 char (*f) () = $ac_func;
97532 #endif
97533 #ifdef __cplusplus
97535 #endif
97538 main ()
97540 return f != $ac_func;
97542 return 0;
97544 _ACEOF
97545 rm -f conftest.$ac_objext conftest$ac_exeext
97546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97547 (eval $ac_link) 2>conftest.er1
97548 ac_status=$?
97549 grep -v '^ *+' conftest.er1 >conftest.err
97550 rm -f conftest.er1
97551 cat conftest.err >&5
97552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97553 (exit $ac_status); } &&
97554 { ac_try='test -z "$ac_c_werror_flag"
97555 || test ! -s conftest.err'
97556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97557 (eval $ac_try) 2>&5
97558 ac_status=$?
97559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97560 (exit $ac_status); }; } &&
97561 { ac_try='test -s conftest$ac_exeext'
97562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97563 (eval $ac_try) 2>&5
97564 ac_status=$?
97565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97566 (exit $ac_status); }; }; then
97567 eval "$as_ac_var=yes"
97568 else
97569 echo "$as_me: failed program was:" >&5
97570 sed 's/^/| /' conftest.$ac_ext >&5
97572 eval "$as_ac_var=no"
97574 rm -f conftest.err conftest.$ac_objext \
97575 conftest$ac_exeext conftest.$ac_ext
97577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97579 if test `eval echo '${'$as_ac_var'}'` = yes; then
97580 cat >>confdefs.h <<_ACEOF
97581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97582 _ACEOF
97585 done
97587 else
97589 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97590 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97591 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97592 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97593 echo $ECHO_N "(cached) $ECHO_C" >&6
97594 else
97598 ac_ext=cc
97599 ac_cpp='$CXXCPP $CPPFLAGS'
97600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97604 cat >conftest.$ac_ext <<_ACEOF
97605 /* confdefs.h. */
97606 _ACEOF
97607 cat confdefs.h >>conftest.$ac_ext
97608 cat >>conftest.$ac_ext <<_ACEOF
97609 /* end confdefs.h. */
97610 #include <math.h>
97612 main ()
97614 _sincosf(0, 0, 0);
97616 return 0;
97618 _ACEOF
97619 rm -f conftest.$ac_objext
97620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97621 (eval $ac_compile) 2>conftest.er1
97622 ac_status=$?
97623 grep -v '^ *+' conftest.er1 >conftest.err
97624 rm -f conftest.er1
97625 cat conftest.err >&5
97626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97627 (exit $ac_status); } &&
97628 { ac_try='test -z "$ac_cxx_werror_flag"
97629 || test ! -s conftest.err'
97630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97631 (eval $ac_try) 2>&5
97632 ac_status=$?
97633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97634 (exit $ac_status); }; } &&
97635 { ac_try='test -s conftest.$ac_objext'
97636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97637 (eval $ac_try) 2>&5
97638 ac_status=$?
97639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97640 (exit $ac_status); }; }; then
97641 glibcxx_cv_func__sincosf_use=yes
97642 else
97643 echo "$as_me: failed program was:" >&5
97644 sed 's/^/| /' conftest.$ac_ext >&5
97646 glibcxx_cv_func__sincosf_use=no
97648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97649 ac_ext=c
97650 ac_cpp='$CPP $CPPFLAGS'
97651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97660 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97662 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97664 for ac_func in _sincosf
97666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97667 echo "$as_me:$LINENO: checking for $ac_func" >&5
97668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97669 if eval "test \"\${$as_ac_var+set}\" = set"; then
97670 echo $ECHO_N "(cached) $ECHO_C" >&6
97671 else
97672 if test x$gcc_no_link = xyes; then
97673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97675 { (exit 1); exit 1; }; }
97677 cat >conftest.$ac_ext <<_ACEOF
97678 /* confdefs.h. */
97679 _ACEOF
97680 cat confdefs.h >>conftest.$ac_ext
97681 cat >>conftest.$ac_ext <<_ACEOF
97682 /* end confdefs.h. */
97683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97685 #define $ac_func innocuous_$ac_func
97687 /* System header to define __stub macros and hopefully few prototypes,
97688 which can conflict with char $ac_func (); below.
97689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97690 <limits.h> exists even on freestanding compilers. */
97692 #ifdef __STDC__
97693 # include <limits.h>
97694 #else
97695 # include <assert.h>
97696 #endif
97698 #undef $ac_func
97700 /* Override any gcc2 internal prototype to avoid an error. */
97701 #ifdef __cplusplus
97702 extern "C"
97704 #endif
97705 /* We use char because int might match the return type of a gcc2
97706 builtin and then its argument prototype would still apply. */
97707 char $ac_func ();
97708 /* The GNU C library defines this for functions which it implements
97709 to always fail with ENOSYS. Some functions are actually named
97710 something starting with __ and the normal name is an alias. */
97711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97712 choke me
97713 #else
97714 char (*f) () = $ac_func;
97715 #endif
97716 #ifdef __cplusplus
97718 #endif
97721 main ()
97723 return f != $ac_func;
97725 return 0;
97727 _ACEOF
97728 rm -f conftest.$ac_objext conftest$ac_exeext
97729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97730 (eval $ac_link) 2>conftest.er1
97731 ac_status=$?
97732 grep -v '^ *+' conftest.er1 >conftest.err
97733 rm -f conftest.er1
97734 cat conftest.err >&5
97735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97736 (exit $ac_status); } &&
97737 { ac_try='test -z "$ac_c_werror_flag"
97738 || test ! -s conftest.err'
97739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97740 (eval $ac_try) 2>&5
97741 ac_status=$?
97742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97743 (exit $ac_status); }; } &&
97744 { ac_try='test -s conftest$ac_exeext'
97745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97746 (eval $ac_try) 2>&5
97747 ac_status=$?
97748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97749 (exit $ac_status); }; }; then
97750 eval "$as_ac_var=yes"
97751 else
97752 echo "$as_me: failed program was:" >&5
97753 sed 's/^/| /' conftest.$ac_ext >&5
97755 eval "$as_ac_var=no"
97757 rm -f conftest.err conftest.$ac_objext \
97758 conftest$ac_exeext conftest.$ac_ext
97760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97762 if test `eval echo '${'$as_ac_var'}'` = yes; then
97763 cat >>confdefs.h <<_ACEOF
97764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97765 _ACEOF
97768 done
97778 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97779 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97780 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97781 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97782 echo $ECHO_N "(cached) $ECHO_C" >&6
97783 else
97787 ac_ext=cc
97788 ac_cpp='$CXXCPP $CPPFLAGS'
97789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97793 cat >conftest.$ac_ext <<_ACEOF
97794 /* confdefs.h. */
97795 _ACEOF
97796 cat confdefs.h >>conftest.$ac_ext
97797 cat >>conftest.$ac_ext <<_ACEOF
97798 /* end confdefs.h. */
97799 #include <math.h>
97800 #ifdef HAVE_IEEEFP_H
97801 #include <ieeefp.h>
97802 #endif
97805 main ()
97807 finitef(0);
97809 return 0;
97811 _ACEOF
97812 rm -f conftest.$ac_objext
97813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97814 (eval $ac_compile) 2>conftest.er1
97815 ac_status=$?
97816 grep -v '^ *+' conftest.er1 >conftest.err
97817 rm -f conftest.er1
97818 cat conftest.err >&5
97819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97820 (exit $ac_status); } &&
97821 { ac_try='test -z "$ac_cxx_werror_flag"
97822 || test ! -s conftest.err'
97823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97824 (eval $ac_try) 2>&5
97825 ac_status=$?
97826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97827 (exit $ac_status); }; } &&
97828 { ac_try='test -s conftest.$ac_objext'
97829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97830 (eval $ac_try) 2>&5
97831 ac_status=$?
97832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97833 (exit $ac_status); }; }; then
97834 glibcxx_cv_func_finitef_use=yes
97835 else
97836 echo "$as_me: failed program was:" >&5
97837 sed 's/^/| /' conftest.$ac_ext >&5
97839 glibcxx_cv_func_finitef_use=no
97841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97842 ac_ext=c
97843 ac_cpp='$CPP $CPPFLAGS'
97844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97853 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97855 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97857 for ac_func in finitef
97859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97860 echo "$as_me:$LINENO: checking for $ac_func" >&5
97861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97862 if eval "test \"\${$as_ac_var+set}\" = set"; then
97863 echo $ECHO_N "(cached) $ECHO_C" >&6
97864 else
97865 if test x$gcc_no_link = xyes; then
97866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97868 { (exit 1); exit 1; }; }
97870 cat >conftest.$ac_ext <<_ACEOF
97871 /* confdefs.h. */
97872 _ACEOF
97873 cat confdefs.h >>conftest.$ac_ext
97874 cat >>conftest.$ac_ext <<_ACEOF
97875 /* end confdefs.h. */
97876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97878 #define $ac_func innocuous_$ac_func
97880 /* System header to define __stub macros and hopefully few prototypes,
97881 which can conflict with char $ac_func (); below.
97882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97883 <limits.h> exists even on freestanding compilers. */
97885 #ifdef __STDC__
97886 # include <limits.h>
97887 #else
97888 # include <assert.h>
97889 #endif
97891 #undef $ac_func
97893 /* Override any gcc2 internal prototype to avoid an error. */
97894 #ifdef __cplusplus
97895 extern "C"
97897 #endif
97898 /* We use char because int might match the return type of a gcc2
97899 builtin and then its argument prototype would still apply. */
97900 char $ac_func ();
97901 /* The GNU C library defines this for functions which it implements
97902 to always fail with ENOSYS. Some functions are actually named
97903 something starting with __ and the normal name is an alias. */
97904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97905 choke me
97906 #else
97907 char (*f) () = $ac_func;
97908 #endif
97909 #ifdef __cplusplus
97911 #endif
97914 main ()
97916 return f != $ac_func;
97918 return 0;
97920 _ACEOF
97921 rm -f conftest.$ac_objext conftest$ac_exeext
97922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97923 (eval $ac_link) 2>conftest.er1
97924 ac_status=$?
97925 grep -v '^ *+' conftest.er1 >conftest.err
97926 rm -f conftest.er1
97927 cat conftest.err >&5
97928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97929 (exit $ac_status); } &&
97930 { ac_try='test -z "$ac_c_werror_flag"
97931 || test ! -s conftest.err'
97932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97933 (eval $ac_try) 2>&5
97934 ac_status=$?
97935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97936 (exit $ac_status); }; } &&
97937 { ac_try='test -s conftest$ac_exeext'
97938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97939 (eval $ac_try) 2>&5
97940 ac_status=$?
97941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97942 (exit $ac_status); }; }; then
97943 eval "$as_ac_var=yes"
97944 else
97945 echo "$as_me: failed program was:" >&5
97946 sed 's/^/| /' conftest.$ac_ext >&5
97948 eval "$as_ac_var=no"
97950 rm -f conftest.err conftest.$ac_objext \
97951 conftest$ac_exeext conftest.$ac_ext
97953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97955 if test `eval echo '${'$as_ac_var'}'` = yes; then
97956 cat >>confdefs.h <<_ACEOF
97957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97958 _ACEOF
97961 done
97963 else
97965 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97966 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97967 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97968 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97969 echo $ECHO_N "(cached) $ECHO_C" >&6
97970 else
97974 ac_ext=cc
97975 ac_cpp='$CXXCPP $CPPFLAGS'
97976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97980 cat >conftest.$ac_ext <<_ACEOF
97981 /* confdefs.h. */
97982 _ACEOF
97983 cat confdefs.h >>conftest.$ac_ext
97984 cat >>conftest.$ac_ext <<_ACEOF
97985 /* end confdefs.h. */
97986 #include <math.h>
97987 #ifdef HAVE_IEEEFP_H
97988 #include <ieeefp.h>
97989 #endif
97992 main ()
97994 _finitef(0);
97996 return 0;
97998 _ACEOF
97999 rm -f conftest.$ac_objext
98000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98001 (eval $ac_compile) 2>conftest.er1
98002 ac_status=$?
98003 grep -v '^ *+' conftest.er1 >conftest.err
98004 rm -f conftest.er1
98005 cat conftest.err >&5
98006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98007 (exit $ac_status); } &&
98008 { ac_try='test -z "$ac_cxx_werror_flag"
98009 || test ! -s conftest.err'
98010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98011 (eval $ac_try) 2>&5
98012 ac_status=$?
98013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98014 (exit $ac_status); }; } &&
98015 { ac_try='test -s conftest.$ac_objext'
98016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98017 (eval $ac_try) 2>&5
98018 ac_status=$?
98019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98020 (exit $ac_status); }; }; then
98021 glibcxx_cv_func__finitef_use=yes
98022 else
98023 echo "$as_me: failed program was:" >&5
98024 sed 's/^/| /' conftest.$ac_ext >&5
98026 glibcxx_cv_func__finitef_use=no
98028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98029 ac_ext=c
98030 ac_cpp='$CPP $CPPFLAGS'
98031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98040 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98042 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98044 for ac_func in _finitef
98046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98047 echo "$as_me:$LINENO: checking for $ac_func" >&5
98048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98049 if eval "test \"\${$as_ac_var+set}\" = set"; then
98050 echo $ECHO_N "(cached) $ECHO_C" >&6
98051 else
98052 if test x$gcc_no_link = xyes; then
98053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98055 { (exit 1); exit 1; }; }
98057 cat >conftest.$ac_ext <<_ACEOF
98058 /* confdefs.h. */
98059 _ACEOF
98060 cat confdefs.h >>conftest.$ac_ext
98061 cat >>conftest.$ac_ext <<_ACEOF
98062 /* end confdefs.h. */
98063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98065 #define $ac_func innocuous_$ac_func
98067 /* System header to define __stub macros and hopefully few prototypes,
98068 which can conflict with char $ac_func (); below.
98069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98070 <limits.h> exists even on freestanding compilers. */
98072 #ifdef __STDC__
98073 # include <limits.h>
98074 #else
98075 # include <assert.h>
98076 #endif
98078 #undef $ac_func
98080 /* Override any gcc2 internal prototype to avoid an error. */
98081 #ifdef __cplusplus
98082 extern "C"
98084 #endif
98085 /* We use char because int might match the return type of a gcc2
98086 builtin and then its argument prototype would still apply. */
98087 char $ac_func ();
98088 /* The GNU C library defines this for functions which it implements
98089 to always fail with ENOSYS. Some functions are actually named
98090 something starting with __ and the normal name is an alias. */
98091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98092 choke me
98093 #else
98094 char (*f) () = $ac_func;
98095 #endif
98096 #ifdef __cplusplus
98098 #endif
98101 main ()
98103 return f != $ac_func;
98105 return 0;
98107 _ACEOF
98108 rm -f conftest.$ac_objext conftest$ac_exeext
98109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98110 (eval $ac_link) 2>conftest.er1
98111 ac_status=$?
98112 grep -v '^ *+' conftest.er1 >conftest.err
98113 rm -f conftest.er1
98114 cat conftest.err >&5
98115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98116 (exit $ac_status); } &&
98117 { ac_try='test -z "$ac_c_werror_flag"
98118 || test ! -s conftest.err'
98119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98120 (eval $ac_try) 2>&5
98121 ac_status=$?
98122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98123 (exit $ac_status); }; } &&
98124 { ac_try='test -s conftest$ac_exeext'
98125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98126 (eval $ac_try) 2>&5
98127 ac_status=$?
98128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98129 (exit $ac_status); }; }; then
98130 eval "$as_ac_var=yes"
98131 else
98132 echo "$as_me: failed program was:" >&5
98133 sed 's/^/| /' conftest.$ac_ext >&5
98135 eval "$as_ac_var=no"
98137 rm -f conftest.err conftest.$ac_objext \
98138 conftest$ac_exeext conftest.$ac_ext
98140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98142 if test `eval echo '${'$as_ac_var'}'` = yes; then
98143 cat >>confdefs.h <<_ACEOF
98144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98145 _ACEOF
98148 done
98158 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98159 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98160 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98161 echo $ECHO_N "(cached) $ECHO_C" >&6
98162 else
98166 ac_ext=cc
98167 ac_cpp='$CXXCPP $CPPFLAGS'
98168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98172 cat >conftest.$ac_ext <<_ACEOF
98173 /* confdefs.h. */
98174 _ACEOF
98175 cat confdefs.h >>conftest.$ac_ext
98176 cat >>conftest.$ac_ext <<_ACEOF
98177 /* end confdefs.h. */
98178 #include <math.h>
98180 main ()
98182 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98184 return 0;
98186 _ACEOF
98187 rm -f conftest.$ac_objext
98188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98189 (eval $ac_compile) 2>conftest.er1
98190 ac_status=$?
98191 grep -v '^ *+' conftest.er1 >conftest.err
98192 rm -f conftest.er1
98193 cat conftest.err >&5
98194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98195 (exit $ac_status); } &&
98196 { ac_try='test -z "$ac_cxx_werror_flag"
98197 || test ! -s conftest.err'
98198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98199 (eval $ac_try) 2>&5
98200 ac_status=$?
98201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98202 (exit $ac_status); }; } &&
98203 { ac_try='test -s conftest.$ac_objext'
98204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98205 (eval $ac_try) 2>&5
98206 ac_status=$?
98207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98208 (exit $ac_status); }; }; then
98209 glibcxx_cv_func_long_double_trig_use=yes
98210 else
98211 echo "$as_me: failed program was:" >&5
98212 sed 's/^/| /' conftest.$ac_ext >&5
98214 glibcxx_cv_func_long_double_trig_use=no
98216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98217 ac_ext=c
98218 ac_cpp='$CPP $CPPFLAGS'
98219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98226 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98227 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98237 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98240 echo "$as_me:$LINENO: checking for $ac_func" >&5
98241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98242 if eval "test \"\${$as_ac_var+set}\" = set"; then
98243 echo $ECHO_N "(cached) $ECHO_C" >&6
98244 else
98245 if test x$gcc_no_link = xyes; then
98246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98248 { (exit 1); exit 1; }; }
98250 cat >conftest.$ac_ext <<_ACEOF
98251 /* confdefs.h. */
98252 _ACEOF
98253 cat confdefs.h >>conftest.$ac_ext
98254 cat >>conftest.$ac_ext <<_ACEOF
98255 /* end confdefs.h. */
98256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98258 #define $ac_func innocuous_$ac_func
98260 /* System header to define __stub macros and hopefully few prototypes,
98261 which can conflict with char $ac_func (); below.
98262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98263 <limits.h> exists even on freestanding compilers. */
98265 #ifdef __STDC__
98266 # include <limits.h>
98267 #else
98268 # include <assert.h>
98269 #endif
98271 #undef $ac_func
98273 /* Override any gcc2 internal prototype to avoid an error. */
98274 #ifdef __cplusplus
98275 extern "C"
98277 #endif
98278 /* We use char because int might match the return type of a gcc2
98279 builtin and then its argument prototype would still apply. */
98280 char $ac_func ();
98281 /* The GNU C library defines this for functions which it implements
98282 to always fail with ENOSYS. Some functions are actually named
98283 something starting with __ and the normal name is an alias. */
98284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98285 choke me
98286 #else
98287 char (*f) () = $ac_func;
98288 #endif
98289 #ifdef __cplusplus
98291 #endif
98294 main ()
98296 return f != $ac_func;
98298 return 0;
98300 _ACEOF
98301 rm -f conftest.$ac_objext conftest$ac_exeext
98302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98303 (eval $ac_link) 2>conftest.er1
98304 ac_status=$?
98305 grep -v '^ *+' conftest.er1 >conftest.err
98306 rm -f conftest.er1
98307 cat conftest.err >&5
98308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98309 (exit $ac_status); } &&
98310 { ac_try='test -z "$ac_c_werror_flag"
98311 || test ! -s conftest.err'
98312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98313 (eval $ac_try) 2>&5
98314 ac_status=$?
98315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98316 (exit $ac_status); }; } &&
98317 { ac_try='test -s conftest$ac_exeext'
98318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98319 (eval $ac_try) 2>&5
98320 ac_status=$?
98321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98322 (exit $ac_status); }; }; then
98323 eval "$as_ac_var=yes"
98324 else
98325 echo "$as_me: failed program was:" >&5
98326 sed 's/^/| /' conftest.$ac_ext >&5
98328 eval "$as_ac_var=no"
98330 rm -f conftest.err conftest.$ac_objext \
98331 conftest$ac_exeext conftest.$ac_ext
98333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98335 if test `eval echo '${'$as_ac_var'}'` = yes; then
98336 cat >>confdefs.h <<_ACEOF
98337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98338 _ACEOF
98341 done
98343 else
98344 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98345 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98346 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98347 echo $ECHO_N "(cached) $ECHO_C" >&6
98348 else
98352 ac_ext=cc
98353 ac_cpp='$CXXCPP $CPPFLAGS'
98354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98358 cat >conftest.$ac_ext <<_ACEOF
98359 /* confdefs.h. */
98360 _ACEOF
98361 cat confdefs.h >>conftest.$ac_ext
98362 cat >>conftest.$ac_ext <<_ACEOF
98363 /* end confdefs.h. */
98364 #include <math.h>
98366 main ()
98368 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98370 return 0;
98372 _ACEOF
98373 rm -f conftest.$ac_objext
98374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98375 (eval $ac_compile) 2>conftest.er1
98376 ac_status=$?
98377 grep -v '^ *+' conftest.er1 >conftest.err
98378 rm -f conftest.er1
98379 cat conftest.err >&5
98380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98381 (exit $ac_status); } &&
98382 { ac_try='test -z "$ac_cxx_werror_flag"
98383 || test ! -s conftest.err'
98384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98385 (eval $ac_try) 2>&5
98386 ac_status=$?
98387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98388 (exit $ac_status); }; } &&
98389 { ac_try='test -s conftest.$ac_objext'
98390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98391 (eval $ac_try) 2>&5
98392 ac_status=$?
98393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98394 (exit $ac_status); }; }; then
98395 glibcxx_cv_func__long_double_trig_use=yes
98396 else
98397 echo "$as_me: failed program was:" >&5
98398 sed 's/^/| /' conftest.$ac_ext >&5
98400 glibcxx_cv_func__long_double_trig_use=no
98402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98403 ac_ext=c
98404 ac_cpp='$CPP $CPPFLAGS'
98405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98412 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98413 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98423 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98426 echo "$as_me:$LINENO: checking for $ac_func" >&5
98427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98428 if eval "test \"\${$as_ac_var+set}\" = set"; then
98429 echo $ECHO_N "(cached) $ECHO_C" >&6
98430 else
98431 if test x$gcc_no_link = xyes; then
98432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98434 { (exit 1); exit 1; }; }
98436 cat >conftest.$ac_ext <<_ACEOF
98437 /* confdefs.h. */
98438 _ACEOF
98439 cat confdefs.h >>conftest.$ac_ext
98440 cat >>conftest.$ac_ext <<_ACEOF
98441 /* end confdefs.h. */
98442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98444 #define $ac_func innocuous_$ac_func
98446 /* System header to define __stub macros and hopefully few prototypes,
98447 which can conflict with char $ac_func (); below.
98448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98449 <limits.h> exists even on freestanding compilers. */
98451 #ifdef __STDC__
98452 # include <limits.h>
98453 #else
98454 # include <assert.h>
98455 #endif
98457 #undef $ac_func
98459 /* Override any gcc2 internal prototype to avoid an error. */
98460 #ifdef __cplusplus
98461 extern "C"
98463 #endif
98464 /* We use char because int might match the return type of a gcc2
98465 builtin and then its argument prototype would still apply. */
98466 char $ac_func ();
98467 /* The GNU C library defines this for functions which it implements
98468 to always fail with ENOSYS. Some functions are actually named
98469 something starting with __ and the normal name is an alias. */
98470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98471 choke me
98472 #else
98473 char (*f) () = $ac_func;
98474 #endif
98475 #ifdef __cplusplus
98477 #endif
98480 main ()
98482 return f != $ac_func;
98484 return 0;
98486 _ACEOF
98487 rm -f conftest.$ac_objext conftest$ac_exeext
98488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98489 (eval $ac_link) 2>conftest.er1
98490 ac_status=$?
98491 grep -v '^ *+' conftest.er1 >conftest.err
98492 rm -f conftest.er1
98493 cat conftest.err >&5
98494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98495 (exit $ac_status); } &&
98496 { ac_try='test -z "$ac_c_werror_flag"
98497 || test ! -s conftest.err'
98498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98499 (eval $ac_try) 2>&5
98500 ac_status=$?
98501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98502 (exit $ac_status); }; } &&
98503 { ac_try='test -s conftest$ac_exeext'
98504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98505 (eval $ac_try) 2>&5
98506 ac_status=$?
98507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98508 (exit $ac_status); }; }; then
98509 eval "$as_ac_var=yes"
98510 else
98511 echo "$as_me: failed program was:" >&5
98512 sed 's/^/| /' conftest.$ac_ext >&5
98514 eval "$as_ac_var=no"
98516 rm -f conftest.err conftest.$ac_objext \
98517 conftest$ac_exeext conftest.$ac_ext
98519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98521 if test `eval echo '${'$as_ac_var'}'` = yes; then
98522 cat >>confdefs.h <<_ACEOF
98523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98524 _ACEOF
98527 done
98545 echo "$as_me:$LINENO: checking for long double round functions" >&5
98546 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98547 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98548 echo $ECHO_N "(cached) $ECHO_C" >&6
98549 else
98553 ac_ext=cc
98554 ac_cpp='$CXXCPP $CPPFLAGS'
98555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98559 cat >conftest.$ac_ext <<_ACEOF
98560 /* confdefs.h. */
98561 _ACEOF
98562 cat confdefs.h >>conftest.$ac_ext
98563 cat >>conftest.$ac_ext <<_ACEOF
98564 /* end confdefs.h. */
98565 #include <math.h>
98567 main ()
98569 ceill (0); floorl (0);
98571 return 0;
98573 _ACEOF
98574 rm -f conftest.$ac_objext
98575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98576 (eval $ac_compile) 2>conftest.er1
98577 ac_status=$?
98578 grep -v '^ *+' conftest.er1 >conftest.err
98579 rm -f conftest.er1
98580 cat conftest.err >&5
98581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98582 (exit $ac_status); } &&
98583 { ac_try='test -z "$ac_cxx_werror_flag"
98584 || test ! -s conftest.err'
98585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98586 (eval $ac_try) 2>&5
98587 ac_status=$?
98588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98589 (exit $ac_status); }; } &&
98590 { ac_try='test -s conftest.$ac_objext'
98591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98592 (eval $ac_try) 2>&5
98593 ac_status=$?
98594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98595 (exit $ac_status); }; }; then
98596 glibcxx_cv_func_long_double_round_use=yes
98597 else
98598 echo "$as_me: failed program was:" >&5
98599 sed 's/^/| /' conftest.$ac_ext >&5
98601 glibcxx_cv_func_long_double_round_use=no
98603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98604 ac_ext=c
98605 ac_cpp='$CPP $CPPFLAGS'
98606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98613 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98614 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98617 for ac_func in ceill floorl
98619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98620 echo "$as_me:$LINENO: checking for $ac_func" >&5
98621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98622 if eval "test \"\${$as_ac_var+set}\" = set"; then
98623 echo $ECHO_N "(cached) $ECHO_C" >&6
98624 else
98625 if test x$gcc_no_link = xyes; then
98626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98628 { (exit 1); exit 1; }; }
98630 cat >conftest.$ac_ext <<_ACEOF
98631 /* confdefs.h. */
98632 _ACEOF
98633 cat confdefs.h >>conftest.$ac_ext
98634 cat >>conftest.$ac_ext <<_ACEOF
98635 /* end confdefs.h. */
98636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98638 #define $ac_func innocuous_$ac_func
98640 /* System header to define __stub macros and hopefully few prototypes,
98641 which can conflict with char $ac_func (); below.
98642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98643 <limits.h> exists even on freestanding compilers. */
98645 #ifdef __STDC__
98646 # include <limits.h>
98647 #else
98648 # include <assert.h>
98649 #endif
98651 #undef $ac_func
98653 /* Override any gcc2 internal prototype to avoid an error. */
98654 #ifdef __cplusplus
98655 extern "C"
98657 #endif
98658 /* We use char because int might match the return type of a gcc2
98659 builtin and then its argument prototype would still apply. */
98660 char $ac_func ();
98661 /* The GNU C library defines this for functions which it implements
98662 to always fail with ENOSYS. Some functions are actually named
98663 something starting with __ and the normal name is an alias. */
98664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98665 choke me
98666 #else
98667 char (*f) () = $ac_func;
98668 #endif
98669 #ifdef __cplusplus
98671 #endif
98674 main ()
98676 return f != $ac_func;
98678 return 0;
98680 _ACEOF
98681 rm -f conftest.$ac_objext conftest$ac_exeext
98682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98683 (eval $ac_link) 2>conftest.er1
98684 ac_status=$?
98685 grep -v '^ *+' conftest.er1 >conftest.err
98686 rm -f conftest.er1
98687 cat conftest.err >&5
98688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98689 (exit $ac_status); } &&
98690 { ac_try='test -z "$ac_c_werror_flag"
98691 || test ! -s conftest.err'
98692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98693 (eval $ac_try) 2>&5
98694 ac_status=$?
98695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98696 (exit $ac_status); }; } &&
98697 { ac_try='test -s conftest$ac_exeext'
98698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98699 (eval $ac_try) 2>&5
98700 ac_status=$?
98701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98702 (exit $ac_status); }; }; then
98703 eval "$as_ac_var=yes"
98704 else
98705 echo "$as_me: failed program was:" >&5
98706 sed 's/^/| /' conftest.$ac_ext >&5
98708 eval "$as_ac_var=no"
98710 rm -f conftest.err conftest.$ac_objext \
98711 conftest$ac_exeext conftest.$ac_ext
98713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98715 if test `eval echo '${'$as_ac_var'}'` = yes; then
98716 cat >>confdefs.h <<_ACEOF
98717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98718 _ACEOF
98721 done
98723 else
98724 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98725 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98726 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98727 echo $ECHO_N "(cached) $ECHO_C" >&6
98728 else
98732 ac_ext=cc
98733 ac_cpp='$CXXCPP $CPPFLAGS'
98734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98738 cat >conftest.$ac_ext <<_ACEOF
98739 /* confdefs.h. */
98740 _ACEOF
98741 cat confdefs.h >>conftest.$ac_ext
98742 cat >>conftest.$ac_ext <<_ACEOF
98743 /* end confdefs.h. */
98744 #include <math.h>
98746 main ()
98748 _ceill (0); _floorl (0);
98750 return 0;
98752 _ACEOF
98753 rm -f conftest.$ac_objext
98754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98755 (eval $ac_compile) 2>conftest.er1
98756 ac_status=$?
98757 grep -v '^ *+' conftest.er1 >conftest.err
98758 rm -f conftest.er1
98759 cat conftest.err >&5
98760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98761 (exit $ac_status); } &&
98762 { ac_try='test -z "$ac_cxx_werror_flag"
98763 || test ! -s conftest.err'
98764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98765 (eval $ac_try) 2>&5
98766 ac_status=$?
98767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98768 (exit $ac_status); }; } &&
98769 { ac_try='test -s conftest.$ac_objext'
98770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98771 (eval $ac_try) 2>&5
98772 ac_status=$?
98773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98774 (exit $ac_status); }; }; then
98775 glibcxx_cv_func__long_double_round_use=yes
98776 else
98777 echo "$as_me: failed program was:" >&5
98778 sed 's/^/| /' conftest.$ac_ext >&5
98780 glibcxx_cv_func__long_double_round_use=no
98782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98783 ac_ext=c
98784 ac_cpp='$CPP $CPPFLAGS'
98785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98792 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98793 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98796 for ac_func in _ceill _floorl
98798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98799 echo "$as_me:$LINENO: checking for $ac_func" >&5
98800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98801 if eval "test \"\${$as_ac_var+set}\" = set"; then
98802 echo $ECHO_N "(cached) $ECHO_C" >&6
98803 else
98804 if test x$gcc_no_link = xyes; then
98805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98807 { (exit 1); exit 1; }; }
98809 cat >conftest.$ac_ext <<_ACEOF
98810 /* confdefs.h. */
98811 _ACEOF
98812 cat confdefs.h >>conftest.$ac_ext
98813 cat >>conftest.$ac_ext <<_ACEOF
98814 /* end confdefs.h. */
98815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98817 #define $ac_func innocuous_$ac_func
98819 /* System header to define __stub macros and hopefully few prototypes,
98820 which can conflict with char $ac_func (); below.
98821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98822 <limits.h> exists even on freestanding compilers. */
98824 #ifdef __STDC__
98825 # include <limits.h>
98826 #else
98827 # include <assert.h>
98828 #endif
98830 #undef $ac_func
98832 /* Override any gcc2 internal prototype to avoid an error. */
98833 #ifdef __cplusplus
98834 extern "C"
98836 #endif
98837 /* We use char because int might match the return type of a gcc2
98838 builtin and then its argument prototype would still apply. */
98839 char $ac_func ();
98840 /* The GNU C library defines this for functions which it implements
98841 to always fail with ENOSYS. Some functions are actually named
98842 something starting with __ and the normal name is an alias. */
98843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98844 choke me
98845 #else
98846 char (*f) () = $ac_func;
98847 #endif
98848 #ifdef __cplusplus
98850 #endif
98853 main ()
98855 return f != $ac_func;
98857 return 0;
98859 _ACEOF
98860 rm -f conftest.$ac_objext conftest$ac_exeext
98861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98862 (eval $ac_link) 2>conftest.er1
98863 ac_status=$?
98864 grep -v '^ *+' conftest.er1 >conftest.err
98865 rm -f conftest.er1
98866 cat conftest.err >&5
98867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98868 (exit $ac_status); } &&
98869 { ac_try='test -z "$ac_c_werror_flag"
98870 || test ! -s conftest.err'
98871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98872 (eval $ac_try) 2>&5
98873 ac_status=$?
98874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98875 (exit $ac_status); }; } &&
98876 { ac_try='test -s conftest$ac_exeext'
98877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98878 (eval $ac_try) 2>&5
98879 ac_status=$?
98880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98881 (exit $ac_status); }; }; then
98882 eval "$as_ac_var=yes"
98883 else
98884 echo "$as_me: failed program was:" >&5
98885 sed 's/^/| /' conftest.$ac_ext >&5
98887 eval "$as_ac_var=no"
98889 rm -f conftest.err conftest.$ac_objext \
98890 conftest$ac_exeext conftest.$ac_ext
98892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98894 if test `eval echo '${'$as_ac_var'}'` = yes; then
98895 cat >>confdefs.h <<_ACEOF
98896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98897 _ACEOF
98900 done
98912 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98913 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98914 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98915 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98916 echo $ECHO_N "(cached) $ECHO_C" >&6
98917 else
98921 ac_ext=cc
98922 ac_cpp='$CXXCPP $CPPFLAGS'
98923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98927 cat >conftest.$ac_ext <<_ACEOF
98928 /* confdefs.h. */
98929 _ACEOF
98930 cat confdefs.h >>conftest.$ac_ext
98931 cat >>conftest.$ac_ext <<_ACEOF
98932 /* end confdefs.h. */
98933 #include <math.h>
98934 #ifdef HAVE_IEEEFP_H
98935 #include <ieeefp.h>
98936 #endif
98939 main ()
98941 isnanl(0);
98943 return 0;
98945 _ACEOF
98946 rm -f conftest.$ac_objext
98947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98948 (eval $ac_compile) 2>conftest.er1
98949 ac_status=$?
98950 grep -v '^ *+' conftest.er1 >conftest.err
98951 rm -f conftest.er1
98952 cat conftest.err >&5
98953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98954 (exit $ac_status); } &&
98955 { ac_try='test -z "$ac_cxx_werror_flag"
98956 || test ! -s conftest.err'
98957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98958 (eval $ac_try) 2>&5
98959 ac_status=$?
98960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98961 (exit $ac_status); }; } &&
98962 { ac_try='test -s conftest.$ac_objext'
98963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98964 (eval $ac_try) 2>&5
98965 ac_status=$?
98966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98967 (exit $ac_status); }; }; then
98968 glibcxx_cv_func_isnanl_use=yes
98969 else
98970 echo "$as_me: failed program was:" >&5
98971 sed 's/^/| /' conftest.$ac_ext >&5
98973 glibcxx_cv_func_isnanl_use=no
98975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98976 ac_ext=c
98977 ac_cpp='$CPP $CPPFLAGS'
98978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98987 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98989 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98991 for ac_func in isnanl
98993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98994 echo "$as_me:$LINENO: checking for $ac_func" >&5
98995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98996 if eval "test \"\${$as_ac_var+set}\" = set"; then
98997 echo $ECHO_N "(cached) $ECHO_C" >&6
98998 else
98999 if test x$gcc_no_link = xyes; then
99000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99002 { (exit 1); exit 1; }; }
99004 cat >conftest.$ac_ext <<_ACEOF
99005 /* confdefs.h. */
99006 _ACEOF
99007 cat confdefs.h >>conftest.$ac_ext
99008 cat >>conftest.$ac_ext <<_ACEOF
99009 /* end confdefs.h. */
99010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99012 #define $ac_func innocuous_$ac_func
99014 /* System header to define __stub macros and hopefully few prototypes,
99015 which can conflict with char $ac_func (); below.
99016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99017 <limits.h> exists even on freestanding compilers. */
99019 #ifdef __STDC__
99020 # include <limits.h>
99021 #else
99022 # include <assert.h>
99023 #endif
99025 #undef $ac_func
99027 /* Override any gcc2 internal prototype to avoid an error. */
99028 #ifdef __cplusplus
99029 extern "C"
99031 #endif
99032 /* We use char because int might match the return type of a gcc2
99033 builtin and then its argument prototype would still apply. */
99034 char $ac_func ();
99035 /* The GNU C library defines this for functions which it implements
99036 to always fail with ENOSYS. Some functions are actually named
99037 something starting with __ and the normal name is an alias. */
99038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99039 choke me
99040 #else
99041 char (*f) () = $ac_func;
99042 #endif
99043 #ifdef __cplusplus
99045 #endif
99048 main ()
99050 return f != $ac_func;
99052 return 0;
99054 _ACEOF
99055 rm -f conftest.$ac_objext conftest$ac_exeext
99056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99057 (eval $ac_link) 2>conftest.er1
99058 ac_status=$?
99059 grep -v '^ *+' conftest.er1 >conftest.err
99060 rm -f conftest.er1
99061 cat conftest.err >&5
99062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99063 (exit $ac_status); } &&
99064 { ac_try='test -z "$ac_c_werror_flag"
99065 || test ! -s conftest.err'
99066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99067 (eval $ac_try) 2>&5
99068 ac_status=$?
99069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99070 (exit $ac_status); }; } &&
99071 { ac_try='test -s conftest$ac_exeext'
99072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99073 (eval $ac_try) 2>&5
99074 ac_status=$?
99075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99076 (exit $ac_status); }; }; then
99077 eval "$as_ac_var=yes"
99078 else
99079 echo "$as_me: failed program was:" >&5
99080 sed 's/^/| /' conftest.$ac_ext >&5
99082 eval "$as_ac_var=no"
99084 rm -f conftest.err conftest.$ac_objext \
99085 conftest$ac_exeext conftest.$ac_ext
99087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99089 if test `eval echo '${'$as_ac_var'}'` = yes; then
99090 cat >>confdefs.h <<_ACEOF
99091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99092 _ACEOF
99095 done
99097 else
99099 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99100 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99101 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99102 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99103 echo $ECHO_N "(cached) $ECHO_C" >&6
99104 else
99108 ac_ext=cc
99109 ac_cpp='$CXXCPP $CPPFLAGS'
99110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99114 cat >conftest.$ac_ext <<_ACEOF
99115 /* confdefs.h. */
99116 _ACEOF
99117 cat confdefs.h >>conftest.$ac_ext
99118 cat >>conftest.$ac_ext <<_ACEOF
99119 /* end confdefs.h. */
99120 #include <math.h>
99121 #ifdef HAVE_IEEEFP_H
99122 #include <ieeefp.h>
99123 #endif
99126 main ()
99128 _isnanl(0);
99130 return 0;
99132 _ACEOF
99133 rm -f conftest.$ac_objext
99134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99135 (eval $ac_compile) 2>conftest.er1
99136 ac_status=$?
99137 grep -v '^ *+' conftest.er1 >conftest.err
99138 rm -f conftest.er1
99139 cat conftest.err >&5
99140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99141 (exit $ac_status); } &&
99142 { ac_try='test -z "$ac_cxx_werror_flag"
99143 || test ! -s conftest.err'
99144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99145 (eval $ac_try) 2>&5
99146 ac_status=$?
99147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99148 (exit $ac_status); }; } &&
99149 { ac_try='test -s conftest.$ac_objext'
99150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99151 (eval $ac_try) 2>&5
99152 ac_status=$?
99153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99154 (exit $ac_status); }; }; then
99155 glibcxx_cv_func__isnanl_use=yes
99156 else
99157 echo "$as_me: failed program was:" >&5
99158 sed 's/^/| /' conftest.$ac_ext >&5
99160 glibcxx_cv_func__isnanl_use=no
99162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99163 ac_ext=c
99164 ac_cpp='$CPP $CPPFLAGS'
99165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99174 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99176 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99178 for ac_func in _isnanl
99180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99181 echo "$as_me:$LINENO: checking for $ac_func" >&5
99182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99183 if eval "test \"\${$as_ac_var+set}\" = set"; then
99184 echo $ECHO_N "(cached) $ECHO_C" >&6
99185 else
99186 if test x$gcc_no_link = xyes; then
99187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99189 { (exit 1); exit 1; }; }
99191 cat >conftest.$ac_ext <<_ACEOF
99192 /* confdefs.h. */
99193 _ACEOF
99194 cat confdefs.h >>conftest.$ac_ext
99195 cat >>conftest.$ac_ext <<_ACEOF
99196 /* end confdefs.h. */
99197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99199 #define $ac_func innocuous_$ac_func
99201 /* System header to define __stub macros and hopefully few prototypes,
99202 which can conflict with char $ac_func (); below.
99203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99204 <limits.h> exists even on freestanding compilers. */
99206 #ifdef __STDC__
99207 # include <limits.h>
99208 #else
99209 # include <assert.h>
99210 #endif
99212 #undef $ac_func
99214 /* Override any gcc2 internal prototype to avoid an error. */
99215 #ifdef __cplusplus
99216 extern "C"
99218 #endif
99219 /* We use char because int might match the return type of a gcc2
99220 builtin and then its argument prototype would still apply. */
99221 char $ac_func ();
99222 /* The GNU C library defines this for functions which it implements
99223 to always fail with ENOSYS. Some functions are actually named
99224 something starting with __ and the normal name is an alias. */
99225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99226 choke me
99227 #else
99228 char (*f) () = $ac_func;
99229 #endif
99230 #ifdef __cplusplus
99232 #endif
99235 main ()
99237 return f != $ac_func;
99239 return 0;
99241 _ACEOF
99242 rm -f conftest.$ac_objext conftest$ac_exeext
99243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99244 (eval $ac_link) 2>conftest.er1
99245 ac_status=$?
99246 grep -v '^ *+' conftest.er1 >conftest.err
99247 rm -f conftest.er1
99248 cat conftest.err >&5
99249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99250 (exit $ac_status); } &&
99251 { ac_try='test -z "$ac_c_werror_flag"
99252 || test ! -s conftest.err'
99253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99254 (eval $ac_try) 2>&5
99255 ac_status=$?
99256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99257 (exit $ac_status); }; } &&
99258 { ac_try='test -s conftest$ac_exeext'
99259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99260 (eval $ac_try) 2>&5
99261 ac_status=$?
99262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99263 (exit $ac_status); }; }; then
99264 eval "$as_ac_var=yes"
99265 else
99266 echo "$as_me: failed program was:" >&5
99267 sed 's/^/| /' conftest.$ac_ext >&5
99269 eval "$as_ac_var=no"
99271 rm -f conftest.err conftest.$ac_objext \
99272 conftest$ac_exeext conftest.$ac_ext
99274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99276 if test `eval echo '${'$as_ac_var'}'` = yes; then
99277 cat >>confdefs.h <<_ACEOF
99278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99279 _ACEOF
99282 done
99292 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99293 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99294 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99295 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99296 echo $ECHO_N "(cached) $ECHO_C" >&6
99297 else
99301 ac_ext=cc
99302 ac_cpp='$CXXCPP $CPPFLAGS'
99303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99307 cat >conftest.$ac_ext <<_ACEOF
99308 /* confdefs.h. */
99309 _ACEOF
99310 cat confdefs.h >>conftest.$ac_ext
99311 cat >>conftest.$ac_ext <<_ACEOF
99312 /* end confdefs.h. */
99313 #include <math.h>
99314 #ifdef HAVE_IEEEFP_H
99315 #include <ieeefp.h>
99316 #endif
99319 main ()
99321 isinfl(0);
99323 return 0;
99325 _ACEOF
99326 rm -f conftest.$ac_objext
99327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99328 (eval $ac_compile) 2>conftest.er1
99329 ac_status=$?
99330 grep -v '^ *+' conftest.er1 >conftest.err
99331 rm -f conftest.er1
99332 cat conftest.err >&5
99333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99334 (exit $ac_status); } &&
99335 { ac_try='test -z "$ac_cxx_werror_flag"
99336 || test ! -s conftest.err'
99337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99338 (eval $ac_try) 2>&5
99339 ac_status=$?
99340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99341 (exit $ac_status); }; } &&
99342 { ac_try='test -s conftest.$ac_objext'
99343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99344 (eval $ac_try) 2>&5
99345 ac_status=$?
99346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99347 (exit $ac_status); }; }; then
99348 glibcxx_cv_func_isinfl_use=yes
99349 else
99350 echo "$as_me: failed program was:" >&5
99351 sed 's/^/| /' conftest.$ac_ext >&5
99353 glibcxx_cv_func_isinfl_use=no
99355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99356 ac_ext=c
99357 ac_cpp='$CPP $CPPFLAGS'
99358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99367 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99369 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99371 for ac_func in isinfl
99373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99374 echo "$as_me:$LINENO: checking for $ac_func" >&5
99375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99376 if eval "test \"\${$as_ac_var+set}\" = set"; then
99377 echo $ECHO_N "(cached) $ECHO_C" >&6
99378 else
99379 if test x$gcc_no_link = xyes; then
99380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99382 { (exit 1); exit 1; }; }
99384 cat >conftest.$ac_ext <<_ACEOF
99385 /* confdefs.h. */
99386 _ACEOF
99387 cat confdefs.h >>conftest.$ac_ext
99388 cat >>conftest.$ac_ext <<_ACEOF
99389 /* end confdefs.h. */
99390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99392 #define $ac_func innocuous_$ac_func
99394 /* System header to define __stub macros and hopefully few prototypes,
99395 which can conflict with char $ac_func (); below.
99396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99397 <limits.h> exists even on freestanding compilers. */
99399 #ifdef __STDC__
99400 # include <limits.h>
99401 #else
99402 # include <assert.h>
99403 #endif
99405 #undef $ac_func
99407 /* Override any gcc2 internal prototype to avoid an error. */
99408 #ifdef __cplusplus
99409 extern "C"
99411 #endif
99412 /* We use char because int might match the return type of a gcc2
99413 builtin and then its argument prototype would still apply. */
99414 char $ac_func ();
99415 /* The GNU C library defines this for functions which it implements
99416 to always fail with ENOSYS. Some functions are actually named
99417 something starting with __ and the normal name is an alias. */
99418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99419 choke me
99420 #else
99421 char (*f) () = $ac_func;
99422 #endif
99423 #ifdef __cplusplus
99425 #endif
99428 main ()
99430 return f != $ac_func;
99432 return 0;
99434 _ACEOF
99435 rm -f conftest.$ac_objext conftest$ac_exeext
99436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99437 (eval $ac_link) 2>conftest.er1
99438 ac_status=$?
99439 grep -v '^ *+' conftest.er1 >conftest.err
99440 rm -f conftest.er1
99441 cat conftest.err >&5
99442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99443 (exit $ac_status); } &&
99444 { ac_try='test -z "$ac_c_werror_flag"
99445 || test ! -s conftest.err'
99446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99447 (eval $ac_try) 2>&5
99448 ac_status=$?
99449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99450 (exit $ac_status); }; } &&
99451 { ac_try='test -s conftest$ac_exeext'
99452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99453 (eval $ac_try) 2>&5
99454 ac_status=$?
99455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99456 (exit $ac_status); }; }; then
99457 eval "$as_ac_var=yes"
99458 else
99459 echo "$as_me: failed program was:" >&5
99460 sed 's/^/| /' conftest.$ac_ext >&5
99462 eval "$as_ac_var=no"
99464 rm -f conftest.err conftest.$ac_objext \
99465 conftest$ac_exeext conftest.$ac_ext
99467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99469 if test `eval echo '${'$as_ac_var'}'` = yes; then
99470 cat >>confdefs.h <<_ACEOF
99471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99472 _ACEOF
99475 done
99477 else
99479 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99480 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99481 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99482 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99483 echo $ECHO_N "(cached) $ECHO_C" >&6
99484 else
99488 ac_ext=cc
99489 ac_cpp='$CXXCPP $CPPFLAGS'
99490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99494 cat >conftest.$ac_ext <<_ACEOF
99495 /* confdefs.h. */
99496 _ACEOF
99497 cat confdefs.h >>conftest.$ac_ext
99498 cat >>conftest.$ac_ext <<_ACEOF
99499 /* end confdefs.h. */
99500 #include <math.h>
99501 #ifdef HAVE_IEEEFP_H
99502 #include <ieeefp.h>
99503 #endif
99506 main ()
99508 _isinfl(0);
99510 return 0;
99512 _ACEOF
99513 rm -f conftest.$ac_objext
99514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99515 (eval $ac_compile) 2>conftest.er1
99516 ac_status=$?
99517 grep -v '^ *+' conftest.er1 >conftest.err
99518 rm -f conftest.er1
99519 cat conftest.err >&5
99520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99521 (exit $ac_status); } &&
99522 { ac_try='test -z "$ac_cxx_werror_flag"
99523 || test ! -s conftest.err'
99524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99525 (eval $ac_try) 2>&5
99526 ac_status=$?
99527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99528 (exit $ac_status); }; } &&
99529 { ac_try='test -s conftest.$ac_objext'
99530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99531 (eval $ac_try) 2>&5
99532 ac_status=$?
99533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99534 (exit $ac_status); }; }; then
99535 glibcxx_cv_func__isinfl_use=yes
99536 else
99537 echo "$as_me: failed program was:" >&5
99538 sed 's/^/| /' conftest.$ac_ext >&5
99540 glibcxx_cv_func__isinfl_use=no
99542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99543 ac_ext=c
99544 ac_cpp='$CPP $CPPFLAGS'
99545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99554 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99556 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99558 for ac_func in _isinfl
99560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99561 echo "$as_me:$LINENO: checking for $ac_func" >&5
99562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99563 if eval "test \"\${$as_ac_var+set}\" = set"; then
99564 echo $ECHO_N "(cached) $ECHO_C" >&6
99565 else
99566 if test x$gcc_no_link = xyes; then
99567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99569 { (exit 1); exit 1; }; }
99571 cat >conftest.$ac_ext <<_ACEOF
99572 /* confdefs.h. */
99573 _ACEOF
99574 cat confdefs.h >>conftest.$ac_ext
99575 cat >>conftest.$ac_ext <<_ACEOF
99576 /* end confdefs.h. */
99577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99579 #define $ac_func innocuous_$ac_func
99581 /* System header to define __stub macros and hopefully few prototypes,
99582 which can conflict with char $ac_func (); below.
99583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99584 <limits.h> exists even on freestanding compilers. */
99586 #ifdef __STDC__
99587 # include <limits.h>
99588 #else
99589 # include <assert.h>
99590 #endif
99592 #undef $ac_func
99594 /* Override any gcc2 internal prototype to avoid an error. */
99595 #ifdef __cplusplus
99596 extern "C"
99598 #endif
99599 /* We use char because int might match the return type of a gcc2
99600 builtin and then its argument prototype would still apply. */
99601 char $ac_func ();
99602 /* The GNU C library defines this for functions which it implements
99603 to always fail with ENOSYS. Some functions are actually named
99604 something starting with __ and the normal name is an alias. */
99605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99606 choke me
99607 #else
99608 char (*f) () = $ac_func;
99609 #endif
99610 #ifdef __cplusplus
99612 #endif
99615 main ()
99617 return f != $ac_func;
99619 return 0;
99621 _ACEOF
99622 rm -f conftest.$ac_objext conftest$ac_exeext
99623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99624 (eval $ac_link) 2>conftest.er1
99625 ac_status=$?
99626 grep -v '^ *+' conftest.er1 >conftest.err
99627 rm -f conftest.er1
99628 cat conftest.err >&5
99629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99630 (exit $ac_status); } &&
99631 { ac_try='test -z "$ac_c_werror_flag"
99632 || test ! -s conftest.err'
99633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99634 (eval $ac_try) 2>&5
99635 ac_status=$?
99636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99637 (exit $ac_status); }; } &&
99638 { ac_try='test -s conftest$ac_exeext'
99639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99640 (eval $ac_try) 2>&5
99641 ac_status=$?
99642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99643 (exit $ac_status); }; }; then
99644 eval "$as_ac_var=yes"
99645 else
99646 echo "$as_me: failed program was:" >&5
99647 sed 's/^/| /' conftest.$ac_ext >&5
99649 eval "$as_ac_var=no"
99651 rm -f conftest.err conftest.$ac_objext \
99652 conftest$ac_exeext conftest.$ac_ext
99654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99656 if test `eval echo '${'$as_ac_var'}'` = yes; then
99657 cat >>confdefs.h <<_ACEOF
99658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99659 _ACEOF
99662 done
99672 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99673 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99674 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99675 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99676 echo $ECHO_N "(cached) $ECHO_C" >&6
99677 else
99681 ac_ext=cc
99682 ac_cpp='$CXXCPP $CPPFLAGS'
99683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99687 cat >conftest.$ac_ext <<_ACEOF
99688 /* confdefs.h. */
99689 _ACEOF
99690 cat confdefs.h >>conftest.$ac_ext
99691 cat >>conftest.$ac_ext <<_ACEOF
99692 /* end confdefs.h. */
99693 #include <math.h>
99695 main ()
99697 copysignl(0, 0);
99699 return 0;
99701 _ACEOF
99702 rm -f conftest.$ac_objext
99703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99704 (eval $ac_compile) 2>conftest.er1
99705 ac_status=$?
99706 grep -v '^ *+' conftest.er1 >conftest.err
99707 rm -f conftest.er1
99708 cat conftest.err >&5
99709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99710 (exit $ac_status); } &&
99711 { ac_try='test -z "$ac_cxx_werror_flag"
99712 || test ! -s conftest.err'
99713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99714 (eval $ac_try) 2>&5
99715 ac_status=$?
99716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99717 (exit $ac_status); }; } &&
99718 { ac_try='test -s conftest.$ac_objext'
99719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99720 (eval $ac_try) 2>&5
99721 ac_status=$?
99722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99723 (exit $ac_status); }; }; then
99724 glibcxx_cv_func_copysignl_use=yes
99725 else
99726 echo "$as_me: failed program was:" >&5
99727 sed 's/^/| /' conftest.$ac_ext >&5
99729 glibcxx_cv_func_copysignl_use=no
99731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99732 ac_ext=c
99733 ac_cpp='$CPP $CPPFLAGS'
99734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99743 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99745 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99747 for ac_func in copysignl
99749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99750 echo "$as_me:$LINENO: checking for $ac_func" >&5
99751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99752 if eval "test \"\${$as_ac_var+set}\" = set"; then
99753 echo $ECHO_N "(cached) $ECHO_C" >&6
99754 else
99755 if test x$gcc_no_link = xyes; then
99756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99758 { (exit 1); exit 1; }; }
99760 cat >conftest.$ac_ext <<_ACEOF
99761 /* confdefs.h. */
99762 _ACEOF
99763 cat confdefs.h >>conftest.$ac_ext
99764 cat >>conftest.$ac_ext <<_ACEOF
99765 /* end confdefs.h. */
99766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99768 #define $ac_func innocuous_$ac_func
99770 /* System header to define __stub macros and hopefully few prototypes,
99771 which can conflict with char $ac_func (); below.
99772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99773 <limits.h> exists even on freestanding compilers. */
99775 #ifdef __STDC__
99776 # include <limits.h>
99777 #else
99778 # include <assert.h>
99779 #endif
99781 #undef $ac_func
99783 /* Override any gcc2 internal prototype to avoid an error. */
99784 #ifdef __cplusplus
99785 extern "C"
99787 #endif
99788 /* We use char because int might match the return type of a gcc2
99789 builtin and then its argument prototype would still apply. */
99790 char $ac_func ();
99791 /* The GNU C library defines this for functions which it implements
99792 to always fail with ENOSYS. Some functions are actually named
99793 something starting with __ and the normal name is an alias. */
99794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99795 choke me
99796 #else
99797 char (*f) () = $ac_func;
99798 #endif
99799 #ifdef __cplusplus
99801 #endif
99804 main ()
99806 return f != $ac_func;
99808 return 0;
99810 _ACEOF
99811 rm -f conftest.$ac_objext conftest$ac_exeext
99812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99813 (eval $ac_link) 2>conftest.er1
99814 ac_status=$?
99815 grep -v '^ *+' conftest.er1 >conftest.err
99816 rm -f conftest.er1
99817 cat conftest.err >&5
99818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99819 (exit $ac_status); } &&
99820 { ac_try='test -z "$ac_c_werror_flag"
99821 || test ! -s conftest.err'
99822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99823 (eval $ac_try) 2>&5
99824 ac_status=$?
99825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99826 (exit $ac_status); }; } &&
99827 { ac_try='test -s conftest$ac_exeext'
99828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99829 (eval $ac_try) 2>&5
99830 ac_status=$?
99831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99832 (exit $ac_status); }; }; then
99833 eval "$as_ac_var=yes"
99834 else
99835 echo "$as_me: failed program was:" >&5
99836 sed 's/^/| /' conftest.$ac_ext >&5
99838 eval "$as_ac_var=no"
99840 rm -f conftest.err conftest.$ac_objext \
99841 conftest$ac_exeext conftest.$ac_ext
99843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99845 if test `eval echo '${'$as_ac_var'}'` = yes; then
99846 cat >>confdefs.h <<_ACEOF
99847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99848 _ACEOF
99851 done
99853 else
99855 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99856 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99857 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99858 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99859 echo $ECHO_N "(cached) $ECHO_C" >&6
99860 else
99864 ac_ext=cc
99865 ac_cpp='$CXXCPP $CPPFLAGS'
99866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99870 cat >conftest.$ac_ext <<_ACEOF
99871 /* confdefs.h. */
99872 _ACEOF
99873 cat confdefs.h >>conftest.$ac_ext
99874 cat >>conftest.$ac_ext <<_ACEOF
99875 /* end confdefs.h. */
99876 #include <math.h>
99878 main ()
99880 _copysignl(0, 0);
99882 return 0;
99884 _ACEOF
99885 rm -f conftest.$ac_objext
99886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99887 (eval $ac_compile) 2>conftest.er1
99888 ac_status=$?
99889 grep -v '^ *+' conftest.er1 >conftest.err
99890 rm -f conftest.er1
99891 cat conftest.err >&5
99892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99893 (exit $ac_status); } &&
99894 { ac_try='test -z "$ac_cxx_werror_flag"
99895 || test ! -s conftest.err'
99896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99897 (eval $ac_try) 2>&5
99898 ac_status=$?
99899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99900 (exit $ac_status); }; } &&
99901 { ac_try='test -s conftest.$ac_objext'
99902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99903 (eval $ac_try) 2>&5
99904 ac_status=$?
99905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99906 (exit $ac_status); }; }; then
99907 glibcxx_cv_func__copysignl_use=yes
99908 else
99909 echo "$as_me: failed program was:" >&5
99910 sed 's/^/| /' conftest.$ac_ext >&5
99912 glibcxx_cv_func__copysignl_use=no
99914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99915 ac_ext=c
99916 ac_cpp='$CPP $CPPFLAGS'
99917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99926 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99928 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99930 for ac_func in _copysignl
99932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99933 echo "$as_me:$LINENO: checking for $ac_func" >&5
99934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99935 if eval "test \"\${$as_ac_var+set}\" = set"; then
99936 echo $ECHO_N "(cached) $ECHO_C" >&6
99937 else
99938 if test x$gcc_no_link = xyes; then
99939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99941 { (exit 1); exit 1; }; }
99943 cat >conftest.$ac_ext <<_ACEOF
99944 /* confdefs.h. */
99945 _ACEOF
99946 cat confdefs.h >>conftest.$ac_ext
99947 cat >>conftest.$ac_ext <<_ACEOF
99948 /* end confdefs.h. */
99949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99951 #define $ac_func innocuous_$ac_func
99953 /* System header to define __stub macros and hopefully few prototypes,
99954 which can conflict with char $ac_func (); below.
99955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99956 <limits.h> exists even on freestanding compilers. */
99958 #ifdef __STDC__
99959 # include <limits.h>
99960 #else
99961 # include <assert.h>
99962 #endif
99964 #undef $ac_func
99966 /* Override any gcc2 internal prototype to avoid an error. */
99967 #ifdef __cplusplus
99968 extern "C"
99970 #endif
99971 /* We use char because int might match the return type of a gcc2
99972 builtin and then its argument prototype would still apply. */
99973 char $ac_func ();
99974 /* The GNU C library defines this for functions which it implements
99975 to always fail with ENOSYS. Some functions are actually named
99976 something starting with __ and the normal name is an alias. */
99977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99978 choke me
99979 #else
99980 char (*f) () = $ac_func;
99981 #endif
99982 #ifdef __cplusplus
99984 #endif
99987 main ()
99989 return f != $ac_func;
99991 return 0;
99993 _ACEOF
99994 rm -f conftest.$ac_objext conftest$ac_exeext
99995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99996 (eval $ac_link) 2>conftest.er1
99997 ac_status=$?
99998 grep -v '^ *+' conftest.er1 >conftest.err
99999 rm -f conftest.er1
100000 cat conftest.err >&5
100001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100002 (exit $ac_status); } &&
100003 { ac_try='test -z "$ac_c_werror_flag"
100004 || test ! -s conftest.err'
100005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100006 (eval $ac_try) 2>&5
100007 ac_status=$?
100008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100009 (exit $ac_status); }; } &&
100010 { ac_try='test -s conftest$ac_exeext'
100011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100012 (eval $ac_try) 2>&5
100013 ac_status=$?
100014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100015 (exit $ac_status); }; }; then
100016 eval "$as_ac_var=yes"
100018 echo "$as_me: failed program was:" >&5
100019 sed 's/^/| /' conftest.$ac_ext >&5
100021 eval "$as_ac_var=no"
100023 rm -f conftest.err conftest.$ac_objext \
100024 conftest$ac_exeext conftest.$ac_ext
100026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100028 if test `eval echo '${'$as_ac_var'}'` = yes; then
100029 cat >>confdefs.h <<_ACEOF
100030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100031 _ACEOF
100044 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100045 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100046 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100047 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100048 echo $ECHO_N "(cached) $ECHO_C" >&6
100053 ac_ext=cc
100054 ac_cpp='$CXXCPP $CPPFLAGS'
100055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100059 cat >conftest.$ac_ext <<_ACEOF
100060 /* confdefs.h. */
100061 _ACEOF
100062 cat confdefs.h >>conftest.$ac_ext
100063 cat >>conftest.$ac_ext <<_ACEOF
100064 /* end confdefs.h. */
100065 #include <math.h>
100067 main ()
100069 atan2l(0, 0);
100071 return 0;
100073 _ACEOF
100074 rm -f conftest.$ac_objext
100075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100076 (eval $ac_compile) 2>conftest.er1
100077 ac_status=$?
100078 grep -v '^ *+' conftest.er1 >conftest.err
100079 rm -f conftest.er1
100080 cat conftest.err >&5
100081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100082 (exit $ac_status); } &&
100083 { ac_try='test -z "$ac_cxx_werror_flag"
100084 || test ! -s conftest.err'
100085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100086 (eval $ac_try) 2>&5
100087 ac_status=$?
100088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100089 (exit $ac_status); }; } &&
100090 { ac_try='test -s conftest.$ac_objext'
100091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100092 (eval $ac_try) 2>&5
100093 ac_status=$?
100094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100095 (exit $ac_status); }; }; then
100096 glibcxx_cv_func_atan2l_use=yes
100098 echo "$as_me: failed program was:" >&5
100099 sed 's/^/| /' conftest.$ac_ext >&5
100101 glibcxx_cv_func_atan2l_use=no
100103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100104 ac_ext=c
100105 ac_cpp='$CPP $CPPFLAGS'
100106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100115 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100117 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100119 for ac_func in atan2l
100121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100122 echo "$as_me:$LINENO: checking for $ac_func" >&5
100123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100124 if eval "test \"\${$as_ac_var+set}\" = set"; then
100125 echo $ECHO_N "(cached) $ECHO_C" >&6
100127 if test x$gcc_no_link = xyes; then
100128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100130 { (exit 1); exit 1; }; }
100132 cat >conftest.$ac_ext <<_ACEOF
100133 /* confdefs.h. */
100134 _ACEOF
100135 cat confdefs.h >>conftest.$ac_ext
100136 cat >>conftest.$ac_ext <<_ACEOF
100137 /* end confdefs.h. */
100138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100140 #define $ac_func innocuous_$ac_func
100142 /* System header to define __stub macros and hopefully few prototypes,
100143 which can conflict with char $ac_func (); below.
100144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100145 <limits.h> exists even on freestanding compilers. */
100147 #ifdef __STDC__
100148 # include <limits.h>
100149 #else
100150 # include <assert.h>
100151 #endif
100153 #undef $ac_func
100155 /* Override any gcc2 internal prototype to avoid an error. */
100156 #ifdef __cplusplus
100157 extern "C"
100159 #endif
100160 /* We use char because int might match the return type of a gcc2
100161 builtin and then its argument prototype would still apply. */
100162 char $ac_func ();
100163 /* The GNU C library defines this for functions which it implements
100164 to always fail with ENOSYS. Some functions are actually named
100165 something starting with __ and the normal name is an alias. */
100166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100167 choke me
100168 #else
100169 char (*f) () = $ac_func;
100170 #endif
100171 #ifdef __cplusplus
100173 #endif
100176 main ()
100178 return f != $ac_func;
100180 return 0;
100182 _ACEOF
100183 rm -f conftest.$ac_objext conftest$ac_exeext
100184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100185 (eval $ac_link) 2>conftest.er1
100186 ac_status=$?
100187 grep -v '^ *+' conftest.er1 >conftest.err
100188 rm -f conftest.er1
100189 cat conftest.err >&5
100190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100191 (exit $ac_status); } &&
100192 { ac_try='test -z "$ac_c_werror_flag"
100193 || test ! -s conftest.err'
100194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100195 (eval $ac_try) 2>&5
100196 ac_status=$?
100197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100198 (exit $ac_status); }; } &&
100199 { ac_try='test -s conftest$ac_exeext'
100200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100201 (eval $ac_try) 2>&5
100202 ac_status=$?
100203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100204 (exit $ac_status); }; }; then
100205 eval "$as_ac_var=yes"
100207 echo "$as_me: failed program was:" >&5
100208 sed 's/^/| /' conftest.$ac_ext >&5
100210 eval "$as_ac_var=no"
100212 rm -f conftest.err conftest.$ac_objext \
100213 conftest$ac_exeext conftest.$ac_ext
100215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100217 if test `eval echo '${'$as_ac_var'}'` = yes; then
100218 cat >>confdefs.h <<_ACEOF
100219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100220 _ACEOF
100227 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100228 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100229 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100230 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100231 echo $ECHO_N "(cached) $ECHO_C" >&6
100236 ac_ext=cc
100237 ac_cpp='$CXXCPP $CPPFLAGS'
100238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100242 cat >conftest.$ac_ext <<_ACEOF
100243 /* confdefs.h. */
100244 _ACEOF
100245 cat confdefs.h >>conftest.$ac_ext
100246 cat >>conftest.$ac_ext <<_ACEOF
100247 /* end confdefs.h. */
100248 #include <math.h>
100250 main ()
100252 _atan2l(0, 0);
100254 return 0;
100256 _ACEOF
100257 rm -f conftest.$ac_objext
100258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100259 (eval $ac_compile) 2>conftest.er1
100260 ac_status=$?
100261 grep -v '^ *+' conftest.er1 >conftest.err
100262 rm -f conftest.er1
100263 cat conftest.err >&5
100264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100265 (exit $ac_status); } &&
100266 { ac_try='test -z "$ac_cxx_werror_flag"
100267 || test ! -s conftest.err'
100268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100269 (eval $ac_try) 2>&5
100270 ac_status=$?
100271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100272 (exit $ac_status); }; } &&
100273 { ac_try='test -s conftest.$ac_objext'
100274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100275 (eval $ac_try) 2>&5
100276 ac_status=$?
100277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100278 (exit $ac_status); }; }; then
100279 glibcxx_cv_func__atan2l_use=yes
100281 echo "$as_me: failed program was:" >&5
100282 sed 's/^/| /' conftest.$ac_ext >&5
100284 glibcxx_cv_func__atan2l_use=no
100286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100287 ac_ext=c
100288 ac_cpp='$CPP $CPPFLAGS'
100289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100298 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100300 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100302 for ac_func in _atan2l
100304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100305 echo "$as_me:$LINENO: checking for $ac_func" >&5
100306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100307 if eval "test \"\${$as_ac_var+set}\" = set"; then
100308 echo $ECHO_N "(cached) $ECHO_C" >&6
100310 if test x$gcc_no_link = xyes; then
100311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100313 { (exit 1); exit 1; }; }
100315 cat >conftest.$ac_ext <<_ACEOF
100316 /* confdefs.h. */
100317 _ACEOF
100318 cat confdefs.h >>conftest.$ac_ext
100319 cat >>conftest.$ac_ext <<_ACEOF
100320 /* end confdefs.h. */
100321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100323 #define $ac_func innocuous_$ac_func
100325 /* System header to define __stub macros and hopefully few prototypes,
100326 which can conflict with char $ac_func (); below.
100327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100328 <limits.h> exists even on freestanding compilers. */
100330 #ifdef __STDC__
100331 # include <limits.h>
100332 #else
100333 # include <assert.h>
100334 #endif
100336 #undef $ac_func
100338 /* Override any gcc2 internal prototype to avoid an error. */
100339 #ifdef __cplusplus
100340 extern "C"
100342 #endif
100343 /* We use char because int might match the return type of a gcc2
100344 builtin and then its argument prototype would still apply. */
100345 char $ac_func ();
100346 /* The GNU C library defines this for functions which it implements
100347 to always fail with ENOSYS. Some functions are actually named
100348 something starting with __ and the normal name is an alias. */
100349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100350 choke me
100351 #else
100352 char (*f) () = $ac_func;
100353 #endif
100354 #ifdef __cplusplus
100356 #endif
100359 main ()
100361 return f != $ac_func;
100363 return 0;
100365 _ACEOF
100366 rm -f conftest.$ac_objext conftest$ac_exeext
100367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100368 (eval $ac_link) 2>conftest.er1
100369 ac_status=$?
100370 grep -v '^ *+' conftest.er1 >conftest.err
100371 rm -f conftest.er1
100372 cat conftest.err >&5
100373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100374 (exit $ac_status); } &&
100375 { ac_try='test -z "$ac_c_werror_flag"
100376 || test ! -s conftest.err'
100377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100378 (eval $ac_try) 2>&5
100379 ac_status=$?
100380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100381 (exit $ac_status); }; } &&
100382 { ac_try='test -s conftest$ac_exeext'
100383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100384 (eval $ac_try) 2>&5
100385 ac_status=$?
100386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100387 (exit $ac_status); }; }; then
100388 eval "$as_ac_var=yes"
100390 echo "$as_me: failed program was:" >&5
100391 sed 's/^/| /' conftest.$ac_ext >&5
100393 eval "$as_ac_var=no"
100395 rm -f conftest.err conftest.$ac_objext \
100396 conftest$ac_exeext conftest.$ac_ext
100398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100400 if test `eval echo '${'$as_ac_var'}'` = yes; then
100401 cat >>confdefs.h <<_ACEOF
100402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100403 _ACEOF
100416 echo "$as_me:$LINENO: checking for expl declaration" >&5
100417 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100418 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100419 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100420 echo $ECHO_N "(cached) $ECHO_C" >&6
100425 ac_ext=cc
100426 ac_cpp='$CXXCPP $CPPFLAGS'
100427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100431 cat >conftest.$ac_ext <<_ACEOF
100432 /* confdefs.h. */
100433 _ACEOF
100434 cat confdefs.h >>conftest.$ac_ext
100435 cat >>conftest.$ac_ext <<_ACEOF
100436 /* end confdefs.h. */
100437 #include <math.h>
100438 #ifdef HAVE_IEEEFP_H
100439 #include <ieeefp.h>
100440 #endif
100443 main ()
100445 expl(0);
100447 return 0;
100449 _ACEOF
100450 rm -f conftest.$ac_objext
100451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100452 (eval $ac_compile) 2>conftest.er1
100453 ac_status=$?
100454 grep -v '^ *+' conftest.er1 >conftest.err
100455 rm -f conftest.er1
100456 cat conftest.err >&5
100457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100458 (exit $ac_status); } &&
100459 { ac_try='test -z "$ac_cxx_werror_flag"
100460 || test ! -s conftest.err'
100461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100462 (eval $ac_try) 2>&5
100463 ac_status=$?
100464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100465 (exit $ac_status); }; } &&
100466 { ac_try='test -s conftest.$ac_objext'
100467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100468 (eval $ac_try) 2>&5
100469 ac_status=$?
100470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100471 (exit $ac_status); }; }; then
100472 glibcxx_cv_func_expl_use=yes
100474 echo "$as_me: failed program was:" >&5
100475 sed 's/^/| /' conftest.$ac_ext >&5
100477 glibcxx_cv_func_expl_use=no
100479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100480 ac_ext=c
100481 ac_cpp='$CPP $CPPFLAGS'
100482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100491 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100493 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100495 for ac_func in expl
100497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100498 echo "$as_me:$LINENO: checking for $ac_func" >&5
100499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100500 if eval "test \"\${$as_ac_var+set}\" = set"; then
100501 echo $ECHO_N "(cached) $ECHO_C" >&6
100503 if test x$gcc_no_link = xyes; then
100504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100506 { (exit 1); exit 1; }; }
100508 cat >conftest.$ac_ext <<_ACEOF
100509 /* confdefs.h. */
100510 _ACEOF
100511 cat confdefs.h >>conftest.$ac_ext
100512 cat >>conftest.$ac_ext <<_ACEOF
100513 /* end confdefs.h. */
100514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100516 #define $ac_func innocuous_$ac_func
100518 /* System header to define __stub macros and hopefully few prototypes,
100519 which can conflict with char $ac_func (); below.
100520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100521 <limits.h> exists even on freestanding compilers. */
100523 #ifdef __STDC__
100524 # include <limits.h>
100525 #else
100526 # include <assert.h>
100527 #endif
100529 #undef $ac_func
100531 /* Override any gcc2 internal prototype to avoid an error. */
100532 #ifdef __cplusplus
100533 extern "C"
100535 #endif
100536 /* We use char because int might match the return type of a gcc2
100537 builtin and then its argument prototype would still apply. */
100538 char $ac_func ();
100539 /* The GNU C library defines this for functions which it implements
100540 to always fail with ENOSYS. Some functions are actually named
100541 something starting with __ and the normal name is an alias. */
100542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100543 choke me
100544 #else
100545 char (*f) () = $ac_func;
100546 #endif
100547 #ifdef __cplusplus
100549 #endif
100552 main ()
100554 return f != $ac_func;
100556 return 0;
100558 _ACEOF
100559 rm -f conftest.$ac_objext conftest$ac_exeext
100560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100561 (eval $ac_link) 2>conftest.er1
100562 ac_status=$?
100563 grep -v '^ *+' conftest.er1 >conftest.err
100564 rm -f conftest.er1
100565 cat conftest.err >&5
100566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100567 (exit $ac_status); } &&
100568 { ac_try='test -z "$ac_c_werror_flag"
100569 || test ! -s conftest.err'
100570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100571 (eval $ac_try) 2>&5
100572 ac_status=$?
100573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100574 (exit $ac_status); }; } &&
100575 { ac_try='test -s conftest$ac_exeext'
100576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100577 (eval $ac_try) 2>&5
100578 ac_status=$?
100579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100580 (exit $ac_status); }; }; then
100581 eval "$as_ac_var=yes"
100583 echo "$as_me: failed program was:" >&5
100584 sed 's/^/| /' conftest.$ac_ext >&5
100586 eval "$as_ac_var=no"
100588 rm -f conftest.err conftest.$ac_objext \
100589 conftest$ac_exeext conftest.$ac_ext
100591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100593 if test `eval echo '${'$as_ac_var'}'` = yes; then
100594 cat >>confdefs.h <<_ACEOF
100595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100596 _ACEOF
100603 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100604 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100605 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100606 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100607 echo $ECHO_N "(cached) $ECHO_C" >&6
100612 ac_ext=cc
100613 ac_cpp='$CXXCPP $CPPFLAGS'
100614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100618 cat >conftest.$ac_ext <<_ACEOF
100619 /* confdefs.h. */
100620 _ACEOF
100621 cat confdefs.h >>conftest.$ac_ext
100622 cat >>conftest.$ac_ext <<_ACEOF
100623 /* end confdefs.h. */
100624 #include <math.h>
100625 #ifdef HAVE_IEEEFP_H
100626 #include <ieeefp.h>
100627 #endif
100630 main ()
100632 _expl(0);
100634 return 0;
100636 _ACEOF
100637 rm -f conftest.$ac_objext
100638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100639 (eval $ac_compile) 2>conftest.er1
100640 ac_status=$?
100641 grep -v '^ *+' conftest.er1 >conftest.err
100642 rm -f conftest.er1
100643 cat conftest.err >&5
100644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100645 (exit $ac_status); } &&
100646 { ac_try='test -z "$ac_cxx_werror_flag"
100647 || test ! -s conftest.err'
100648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100649 (eval $ac_try) 2>&5
100650 ac_status=$?
100651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100652 (exit $ac_status); }; } &&
100653 { ac_try='test -s conftest.$ac_objext'
100654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100655 (eval $ac_try) 2>&5
100656 ac_status=$?
100657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100658 (exit $ac_status); }; }; then
100659 glibcxx_cv_func__expl_use=yes
100661 echo "$as_me: failed program was:" >&5
100662 sed 's/^/| /' conftest.$ac_ext >&5
100664 glibcxx_cv_func__expl_use=no
100666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100667 ac_ext=c
100668 ac_cpp='$CPP $CPPFLAGS'
100669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100678 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100680 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100682 for ac_func in _expl
100684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100685 echo "$as_me:$LINENO: checking for $ac_func" >&5
100686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100687 if eval "test \"\${$as_ac_var+set}\" = set"; then
100688 echo $ECHO_N "(cached) $ECHO_C" >&6
100690 if test x$gcc_no_link = xyes; then
100691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100693 { (exit 1); exit 1; }; }
100695 cat >conftest.$ac_ext <<_ACEOF
100696 /* confdefs.h. */
100697 _ACEOF
100698 cat confdefs.h >>conftest.$ac_ext
100699 cat >>conftest.$ac_ext <<_ACEOF
100700 /* end confdefs.h. */
100701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100703 #define $ac_func innocuous_$ac_func
100705 /* System header to define __stub macros and hopefully few prototypes,
100706 which can conflict with char $ac_func (); below.
100707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100708 <limits.h> exists even on freestanding compilers. */
100710 #ifdef __STDC__
100711 # include <limits.h>
100712 #else
100713 # include <assert.h>
100714 #endif
100716 #undef $ac_func
100718 /* Override any gcc2 internal prototype to avoid an error. */
100719 #ifdef __cplusplus
100720 extern "C"
100722 #endif
100723 /* We use char because int might match the return type of a gcc2
100724 builtin and then its argument prototype would still apply. */
100725 char $ac_func ();
100726 /* The GNU C library defines this for functions which it implements
100727 to always fail with ENOSYS. Some functions are actually named
100728 something starting with __ and the normal name is an alias. */
100729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100730 choke me
100731 #else
100732 char (*f) () = $ac_func;
100733 #endif
100734 #ifdef __cplusplus
100736 #endif
100739 main ()
100741 return f != $ac_func;
100743 return 0;
100745 _ACEOF
100746 rm -f conftest.$ac_objext conftest$ac_exeext
100747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100748 (eval $ac_link) 2>conftest.er1
100749 ac_status=$?
100750 grep -v '^ *+' conftest.er1 >conftest.err
100751 rm -f conftest.er1
100752 cat conftest.err >&5
100753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100754 (exit $ac_status); } &&
100755 { ac_try='test -z "$ac_c_werror_flag"
100756 || test ! -s conftest.err'
100757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100758 (eval $ac_try) 2>&5
100759 ac_status=$?
100760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100761 (exit $ac_status); }; } &&
100762 { ac_try='test -s conftest$ac_exeext'
100763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100764 (eval $ac_try) 2>&5
100765 ac_status=$?
100766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100767 (exit $ac_status); }; }; then
100768 eval "$as_ac_var=yes"
100770 echo "$as_me: failed program was:" >&5
100771 sed 's/^/| /' conftest.$ac_ext >&5
100773 eval "$as_ac_var=no"
100775 rm -f conftest.err conftest.$ac_objext \
100776 conftest$ac_exeext conftest.$ac_ext
100778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100780 if test `eval echo '${'$as_ac_var'}'` = yes; then
100781 cat >>confdefs.h <<_ACEOF
100782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100783 _ACEOF
100796 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100797 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100798 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100799 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100800 echo $ECHO_N "(cached) $ECHO_C" >&6
100805 ac_ext=cc
100806 ac_cpp='$CXXCPP $CPPFLAGS'
100807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100811 cat >conftest.$ac_ext <<_ACEOF
100812 /* confdefs.h. */
100813 _ACEOF
100814 cat confdefs.h >>conftest.$ac_ext
100815 cat >>conftest.$ac_ext <<_ACEOF
100816 /* end confdefs.h. */
100817 #include <math.h>
100818 #ifdef HAVE_IEEEFP_H
100819 #include <ieeefp.h>
100820 #endif
100823 main ()
100825 fabsl(0);
100827 return 0;
100829 _ACEOF
100830 rm -f conftest.$ac_objext
100831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100832 (eval $ac_compile) 2>conftest.er1
100833 ac_status=$?
100834 grep -v '^ *+' conftest.er1 >conftest.err
100835 rm -f conftest.er1
100836 cat conftest.err >&5
100837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100838 (exit $ac_status); } &&
100839 { ac_try='test -z "$ac_cxx_werror_flag"
100840 || test ! -s conftest.err'
100841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100842 (eval $ac_try) 2>&5
100843 ac_status=$?
100844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100845 (exit $ac_status); }; } &&
100846 { ac_try='test -s conftest.$ac_objext'
100847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100848 (eval $ac_try) 2>&5
100849 ac_status=$?
100850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100851 (exit $ac_status); }; }; then
100852 glibcxx_cv_func_fabsl_use=yes
100854 echo "$as_me: failed program was:" >&5
100855 sed 's/^/| /' conftest.$ac_ext >&5
100857 glibcxx_cv_func_fabsl_use=no
100859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100860 ac_ext=c
100861 ac_cpp='$CPP $CPPFLAGS'
100862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100871 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100873 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100875 for ac_func in fabsl
100877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100878 echo "$as_me:$LINENO: checking for $ac_func" >&5
100879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100880 if eval "test \"\${$as_ac_var+set}\" = set"; then
100881 echo $ECHO_N "(cached) $ECHO_C" >&6
100883 if test x$gcc_no_link = xyes; then
100884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100886 { (exit 1); exit 1; }; }
100888 cat >conftest.$ac_ext <<_ACEOF
100889 /* confdefs.h. */
100890 _ACEOF
100891 cat confdefs.h >>conftest.$ac_ext
100892 cat >>conftest.$ac_ext <<_ACEOF
100893 /* end confdefs.h. */
100894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100896 #define $ac_func innocuous_$ac_func
100898 /* System header to define __stub macros and hopefully few prototypes,
100899 which can conflict with char $ac_func (); below.
100900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100901 <limits.h> exists even on freestanding compilers. */
100903 #ifdef __STDC__
100904 # include <limits.h>
100905 #else
100906 # include <assert.h>
100907 #endif
100909 #undef $ac_func
100911 /* Override any gcc2 internal prototype to avoid an error. */
100912 #ifdef __cplusplus
100913 extern "C"
100915 #endif
100916 /* We use char because int might match the return type of a gcc2
100917 builtin and then its argument prototype would still apply. */
100918 char $ac_func ();
100919 /* The GNU C library defines this for functions which it implements
100920 to always fail with ENOSYS. Some functions are actually named
100921 something starting with __ and the normal name is an alias. */
100922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100923 choke me
100924 #else
100925 char (*f) () = $ac_func;
100926 #endif
100927 #ifdef __cplusplus
100929 #endif
100932 main ()
100934 return f != $ac_func;
100936 return 0;
100938 _ACEOF
100939 rm -f conftest.$ac_objext conftest$ac_exeext
100940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100941 (eval $ac_link) 2>conftest.er1
100942 ac_status=$?
100943 grep -v '^ *+' conftest.er1 >conftest.err
100944 rm -f conftest.er1
100945 cat conftest.err >&5
100946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100947 (exit $ac_status); } &&
100948 { ac_try='test -z "$ac_c_werror_flag"
100949 || test ! -s conftest.err'
100950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100951 (eval $ac_try) 2>&5
100952 ac_status=$?
100953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100954 (exit $ac_status); }; } &&
100955 { ac_try='test -s conftest$ac_exeext'
100956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100957 (eval $ac_try) 2>&5
100958 ac_status=$?
100959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100960 (exit $ac_status); }; }; then
100961 eval "$as_ac_var=yes"
100963 echo "$as_me: failed program was:" >&5
100964 sed 's/^/| /' conftest.$ac_ext >&5
100966 eval "$as_ac_var=no"
100968 rm -f conftest.err conftest.$ac_objext \
100969 conftest$ac_exeext conftest.$ac_ext
100971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100973 if test `eval echo '${'$as_ac_var'}'` = yes; then
100974 cat >>confdefs.h <<_ACEOF
100975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100976 _ACEOF
100983 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100984 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100985 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100986 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100987 echo $ECHO_N "(cached) $ECHO_C" >&6
100992 ac_ext=cc
100993 ac_cpp='$CXXCPP $CPPFLAGS'
100994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100998 cat >conftest.$ac_ext <<_ACEOF
100999 /* confdefs.h. */
101000 _ACEOF
101001 cat confdefs.h >>conftest.$ac_ext
101002 cat >>conftest.$ac_ext <<_ACEOF
101003 /* end confdefs.h. */
101004 #include <math.h>
101005 #ifdef HAVE_IEEEFP_H
101006 #include <ieeefp.h>
101007 #endif
101010 main ()
101012 _fabsl(0);
101014 return 0;
101016 _ACEOF
101017 rm -f conftest.$ac_objext
101018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101019 (eval $ac_compile) 2>conftest.er1
101020 ac_status=$?
101021 grep -v '^ *+' conftest.er1 >conftest.err
101022 rm -f conftest.er1
101023 cat conftest.err >&5
101024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101025 (exit $ac_status); } &&
101026 { ac_try='test -z "$ac_cxx_werror_flag"
101027 || test ! -s conftest.err'
101028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101029 (eval $ac_try) 2>&5
101030 ac_status=$?
101031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101032 (exit $ac_status); }; } &&
101033 { ac_try='test -s conftest.$ac_objext'
101034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101035 (eval $ac_try) 2>&5
101036 ac_status=$?
101037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101038 (exit $ac_status); }; }; then
101039 glibcxx_cv_func__fabsl_use=yes
101041 echo "$as_me: failed program was:" >&5
101042 sed 's/^/| /' conftest.$ac_ext >&5
101044 glibcxx_cv_func__fabsl_use=no
101046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101047 ac_ext=c
101048 ac_cpp='$CPP $CPPFLAGS'
101049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101058 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101060 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101062 for ac_func in _fabsl
101064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101065 echo "$as_me:$LINENO: checking for $ac_func" >&5
101066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101067 if eval "test \"\${$as_ac_var+set}\" = set"; then
101068 echo $ECHO_N "(cached) $ECHO_C" >&6
101070 if test x$gcc_no_link = xyes; then
101071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101073 { (exit 1); exit 1; }; }
101075 cat >conftest.$ac_ext <<_ACEOF
101076 /* confdefs.h. */
101077 _ACEOF
101078 cat confdefs.h >>conftest.$ac_ext
101079 cat >>conftest.$ac_ext <<_ACEOF
101080 /* end confdefs.h. */
101081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101083 #define $ac_func innocuous_$ac_func
101085 /* System header to define __stub macros and hopefully few prototypes,
101086 which can conflict with char $ac_func (); below.
101087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101088 <limits.h> exists even on freestanding compilers. */
101090 #ifdef __STDC__
101091 # include <limits.h>
101092 #else
101093 # include <assert.h>
101094 #endif
101096 #undef $ac_func
101098 /* Override any gcc2 internal prototype to avoid an error. */
101099 #ifdef __cplusplus
101100 extern "C"
101102 #endif
101103 /* We use char because int might match the return type of a gcc2
101104 builtin and then its argument prototype would still apply. */
101105 char $ac_func ();
101106 /* The GNU C library defines this for functions which it implements
101107 to always fail with ENOSYS. Some functions are actually named
101108 something starting with __ and the normal name is an alias. */
101109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101110 choke me
101111 #else
101112 char (*f) () = $ac_func;
101113 #endif
101114 #ifdef __cplusplus
101116 #endif
101119 main ()
101121 return f != $ac_func;
101123 return 0;
101125 _ACEOF
101126 rm -f conftest.$ac_objext conftest$ac_exeext
101127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101128 (eval $ac_link) 2>conftest.er1
101129 ac_status=$?
101130 grep -v '^ *+' conftest.er1 >conftest.err
101131 rm -f conftest.er1
101132 cat conftest.err >&5
101133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101134 (exit $ac_status); } &&
101135 { ac_try='test -z "$ac_c_werror_flag"
101136 || test ! -s conftest.err'
101137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101138 (eval $ac_try) 2>&5
101139 ac_status=$?
101140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101141 (exit $ac_status); }; } &&
101142 { ac_try='test -s conftest$ac_exeext'
101143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101144 (eval $ac_try) 2>&5
101145 ac_status=$?
101146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101147 (exit $ac_status); }; }; then
101148 eval "$as_ac_var=yes"
101150 echo "$as_me: failed program was:" >&5
101151 sed 's/^/| /' conftest.$ac_ext >&5
101153 eval "$as_ac_var=no"
101155 rm -f conftest.err conftest.$ac_objext \
101156 conftest$ac_exeext conftest.$ac_ext
101158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101160 if test `eval echo '${'$as_ac_var'}'` = yes; then
101161 cat >>confdefs.h <<_ACEOF
101162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101163 _ACEOF
101176 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101177 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101178 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101179 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101180 echo $ECHO_N "(cached) $ECHO_C" >&6
101185 ac_ext=cc
101186 ac_cpp='$CXXCPP $CPPFLAGS'
101187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101191 cat >conftest.$ac_ext <<_ACEOF
101192 /* confdefs.h. */
101193 _ACEOF
101194 cat confdefs.h >>conftest.$ac_ext
101195 cat >>conftest.$ac_ext <<_ACEOF
101196 /* end confdefs.h. */
101197 #include <math.h>
101199 main ()
101201 fmodl(0, 0);
101203 return 0;
101205 _ACEOF
101206 rm -f conftest.$ac_objext
101207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101208 (eval $ac_compile) 2>conftest.er1
101209 ac_status=$?
101210 grep -v '^ *+' conftest.er1 >conftest.err
101211 rm -f conftest.er1
101212 cat conftest.err >&5
101213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101214 (exit $ac_status); } &&
101215 { ac_try='test -z "$ac_cxx_werror_flag"
101216 || test ! -s conftest.err'
101217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101218 (eval $ac_try) 2>&5
101219 ac_status=$?
101220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101221 (exit $ac_status); }; } &&
101222 { ac_try='test -s conftest.$ac_objext'
101223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101224 (eval $ac_try) 2>&5
101225 ac_status=$?
101226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101227 (exit $ac_status); }; }; then
101228 glibcxx_cv_func_fmodl_use=yes
101230 echo "$as_me: failed program was:" >&5
101231 sed 's/^/| /' conftest.$ac_ext >&5
101233 glibcxx_cv_func_fmodl_use=no
101235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101236 ac_ext=c
101237 ac_cpp='$CPP $CPPFLAGS'
101238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101247 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101249 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101251 for ac_func in fmodl
101253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101254 echo "$as_me:$LINENO: checking for $ac_func" >&5
101255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101256 if eval "test \"\${$as_ac_var+set}\" = set"; then
101257 echo $ECHO_N "(cached) $ECHO_C" >&6
101259 if test x$gcc_no_link = xyes; then
101260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101262 { (exit 1); exit 1; }; }
101264 cat >conftest.$ac_ext <<_ACEOF
101265 /* confdefs.h. */
101266 _ACEOF
101267 cat confdefs.h >>conftest.$ac_ext
101268 cat >>conftest.$ac_ext <<_ACEOF
101269 /* end confdefs.h. */
101270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101272 #define $ac_func innocuous_$ac_func
101274 /* System header to define __stub macros and hopefully few prototypes,
101275 which can conflict with char $ac_func (); below.
101276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101277 <limits.h> exists even on freestanding compilers. */
101279 #ifdef __STDC__
101280 # include <limits.h>
101281 #else
101282 # include <assert.h>
101283 #endif
101285 #undef $ac_func
101287 /* Override any gcc2 internal prototype to avoid an error. */
101288 #ifdef __cplusplus
101289 extern "C"
101291 #endif
101292 /* We use char because int might match the return type of a gcc2
101293 builtin and then its argument prototype would still apply. */
101294 char $ac_func ();
101295 /* The GNU C library defines this for functions which it implements
101296 to always fail with ENOSYS. Some functions are actually named
101297 something starting with __ and the normal name is an alias. */
101298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101299 choke me
101300 #else
101301 char (*f) () = $ac_func;
101302 #endif
101303 #ifdef __cplusplus
101305 #endif
101308 main ()
101310 return f != $ac_func;
101312 return 0;
101314 _ACEOF
101315 rm -f conftest.$ac_objext conftest$ac_exeext
101316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101317 (eval $ac_link) 2>conftest.er1
101318 ac_status=$?
101319 grep -v '^ *+' conftest.er1 >conftest.err
101320 rm -f conftest.er1
101321 cat conftest.err >&5
101322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101323 (exit $ac_status); } &&
101324 { ac_try='test -z "$ac_c_werror_flag"
101325 || test ! -s conftest.err'
101326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101327 (eval $ac_try) 2>&5
101328 ac_status=$?
101329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101330 (exit $ac_status); }; } &&
101331 { ac_try='test -s conftest$ac_exeext'
101332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101333 (eval $ac_try) 2>&5
101334 ac_status=$?
101335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101336 (exit $ac_status); }; }; then
101337 eval "$as_ac_var=yes"
101339 echo "$as_me: failed program was:" >&5
101340 sed 's/^/| /' conftest.$ac_ext >&5
101342 eval "$as_ac_var=no"
101344 rm -f conftest.err conftest.$ac_objext \
101345 conftest$ac_exeext conftest.$ac_ext
101347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101349 if test `eval echo '${'$as_ac_var'}'` = yes; then
101350 cat >>confdefs.h <<_ACEOF
101351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101352 _ACEOF
101359 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101360 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101361 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101362 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101363 echo $ECHO_N "(cached) $ECHO_C" >&6
101368 ac_ext=cc
101369 ac_cpp='$CXXCPP $CPPFLAGS'
101370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101374 cat >conftest.$ac_ext <<_ACEOF
101375 /* confdefs.h. */
101376 _ACEOF
101377 cat confdefs.h >>conftest.$ac_ext
101378 cat >>conftest.$ac_ext <<_ACEOF
101379 /* end confdefs.h. */
101380 #include <math.h>
101382 main ()
101384 _fmodl(0, 0);
101386 return 0;
101388 _ACEOF
101389 rm -f conftest.$ac_objext
101390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101391 (eval $ac_compile) 2>conftest.er1
101392 ac_status=$?
101393 grep -v '^ *+' conftest.er1 >conftest.err
101394 rm -f conftest.er1
101395 cat conftest.err >&5
101396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101397 (exit $ac_status); } &&
101398 { ac_try='test -z "$ac_cxx_werror_flag"
101399 || test ! -s conftest.err'
101400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101401 (eval $ac_try) 2>&5
101402 ac_status=$?
101403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101404 (exit $ac_status); }; } &&
101405 { ac_try='test -s conftest.$ac_objext'
101406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101407 (eval $ac_try) 2>&5
101408 ac_status=$?
101409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101410 (exit $ac_status); }; }; then
101411 glibcxx_cv_func__fmodl_use=yes
101413 echo "$as_me: failed program was:" >&5
101414 sed 's/^/| /' conftest.$ac_ext >&5
101416 glibcxx_cv_func__fmodl_use=no
101418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101419 ac_ext=c
101420 ac_cpp='$CPP $CPPFLAGS'
101421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101430 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101432 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101434 for ac_func in _fmodl
101436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101437 echo "$as_me:$LINENO: checking for $ac_func" >&5
101438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101439 if eval "test \"\${$as_ac_var+set}\" = set"; then
101440 echo $ECHO_N "(cached) $ECHO_C" >&6
101442 if test x$gcc_no_link = xyes; then
101443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101445 { (exit 1); exit 1; }; }
101447 cat >conftest.$ac_ext <<_ACEOF
101448 /* confdefs.h. */
101449 _ACEOF
101450 cat confdefs.h >>conftest.$ac_ext
101451 cat >>conftest.$ac_ext <<_ACEOF
101452 /* end confdefs.h. */
101453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101455 #define $ac_func innocuous_$ac_func
101457 /* System header to define __stub macros and hopefully few prototypes,
101458 which can conflict with char $ac_func (); below.
101459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101460 <limits.h> exists even on freestanding compilers. */
101462 #ifdef __STDC__
101463 # include <limits.h>
101464 #else
101465 # include <assert.h>
101466 #endif
101468 #undef $ac_func
101470 /* Override any gcc2 internal prototype to avoid an error. */
101471 #ifdef __cplusplus
101472 extern "C"
101474 #endif
101475 /* We use char because int might match the return type of a gcc2
101476 builtin and then its argument prototype would still apply. */
101477 char $ac_func ();
101478 /* The GNU C library defines this for functions which it implements
101479 to always fail with ENOSYS. Some functions are actually named
101480 something starting with __ and the normal name is an alias. */
101481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101482 choke me
101483 #else
101484 char (*f) () = $ac_func;
101485 #endif
101486 #ifdef __cplusplus
101488 #endif
101491 main ()
101493 return f != $ac_func;
101495 return 0;
101497 _ACEOF
101498 rm -f conftest.$ac_objext conftest$ac_exeext
101499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101500 (eval $ac_link) 2>conftest.er1
101501 ac_status=$?
101502 grep -v '^ *+' conftest.er1 >conftest.err
101503 rm -f conftest.er1
101504 cat conftest.err >&5
101505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101506 (exit $ac_status); } &&
101507 { ac_try='test -z "$ac_c_werror_flag"
101508 || test ! -s conftest.err'
101509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101510 (eval $ac_try) 2>&5
101511 ac_status=$?
101512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101513 (exit $ac_status); }; } &&
101514 { ac_try='test -s conftest$ac_exeext'
101515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101516 (eval $ac_try) 2>&5
101517 ac_status=$?
101518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101519 (exit $ac_status); }; }; then
101520 eval "$as_ac_var=yes"
101522 echo "$as_me: failed program was:" >&5
101523 sed 's/^/| /' conftest.$ac_ext >&5
101525 eval "$as_ac_var=no"
101527 rm -f conftest.err conftest.$ac_objext \
101528 conftest$ac_exeext conftest.$ac_ext
101530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101532 if test `eval echo '${'$as_ac_var'}'` = yes; then
101533 cat >>confdefs.h <<_ACEOF
101534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101535 _ACEOF
101548 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101549 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101550 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101551 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101552 echo $ECHO_N "(cached) $ECHO_C" >&6
101557 ac_ext=cc
101558 ac_cpp='$CXXCPP $CPPFLAGS'
101559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101563 cat >conftest.$ac_ext <<_ACEOF
101564 /* confdefs.h. */
101565 _ACEOF
101566 cat confdefs.h >>conftest.$ac_ext
101567 cat >>conftest.$ac_ext <<_ACEOF
101568 /* end confdefs.h. */
101569 #include <math.h>
101571 main ()
101573 frexpl(0, 0);
101575 return 0;
101577 _ACEOF
101578 rm -f conftest.$ac_objext
101579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101580 (eval $ac_compile) 2>conftest.er1
101581 ac_status=$?
101582 grep -v '^ *+' conftest.er1 >conftest.err
101583 rm -f conftest.er1
101584 cat conftest.err >&5
101585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101586 (exit $ac_status); } &&
101587 { ac_try='test -z "$ac_cxx_werror_flag"
101588 || test ! -s conftest.err'
101589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101590 (eval $ac_try) 2>&5
101591 ac_status=$?
101592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101593 (exit $ac_status); }; } &&
101594 { ac_try='test -s conftest.$ac_objext'
101595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101596 (eval $ac_try) 2>&5
101597 ac_status=$?
101598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101599 (exit $ac_status); }; }; then
101600 glibcxx_cv_func_frexpl_use=yes
101602 echo "$as_me: failed program was:" >&5
101603 sed 's/^/| /' conftest.$ac_ext >&5
101605 glibcxx_cv_func_frexpl_use=no
101607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101608 ac_ext=c
101609 ac_cpp='$CPP $CPPFLAGS'
101610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101619 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101621 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101623 for ac_func in frexpl
101625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101626 echo "$as_me:$LINENO: checking for $ac_func" >&5
101627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101628 if eval "test \"\${$as_ac_var+set}\" = set"; then
101629 echo $ECHO_N "(cached) $ECHO_C" >&6
101631 if test x$gcc_no_link = xyes; then
101632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101634 { (exit 1); exit 1; }; }
101636 cat >conftest.$ac_ext <<_ACEOF
101637 /* confdefs.h. */
101638 _ACEOF
101639 cat confdefs.h >>conftest.$ac_ext
101640 cat >>conftest.$ac_ext <<_ACEOF
101641 /* end confdefs.h. */
101642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101644 #define $ac_func innocuous_$ac_func
101646 /* System header to define __stub macros and hopefully few prototypes,
101647 which can conflict with char $ac_func (); below.
101648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101649 <limits.h> exists even on freestanding compilers. */
101651 #ifdef __STDC__
101652 # include <limits.h>
101653 #else
101654 # include <assert.h>
101655 #endif
101657 #undef $ac_func
101659 /* Override any gcc2 internal prototype to avoid an error. */
101660 #ifdef __cplusplus
101661 extern "C"
101663 #endif
101664 /* We use char because int might match the return type of a gcc2
101665 builtin and then its argument prototype would still apply. */
101666 char $ac_func ();
101667 /* The GNU C library defines this for functions which it implements
101668 to always fail with ENOSYS. Some functions are actually named
101669 something starting with __ and the normal name is an alias. */
101670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101671 choke me
101672 #else
101673 char (*f) () = $ac_func;
101674 #endif
101675 #ifdef __cplusplus
101677 #endif
101680 main ()
101682 return f != $ac_func;
101684 return 0;
101686 _ACEOF
101687 rm -f conftest.$ac_objext conftest$ac_exeext
101688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101689 (eval $ac_link) 2>conftest.er1
101690 ac_status=$?
101691 grep -v '^ *+' conftest.er1 >conftest.err
101692 rm -f conftest.er1
101693 cat conftest.err >&5
101694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101695 (exit $ac_status); } &&
101696 { ac_try='test -z "$ac_c_werror_flag"
101697 || test ! -s conftest.err'
101698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101699 (eval $ac_try) 2>&5
101700 ac_status=$?
101701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101702 (exit $ac_status); }; } &&
101703 { ac_try='test -s conftest$ac_exeext'
101704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101705 (eval $ac_try) 2>&5
101706 ac_status=$?
101707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101708 (exit $ac_status); }; }; then
101709 eval "$as_ac_var=yes"
101711 echo "$as_me: failed program was:" >&5
101712 sed 's/^/| /' conftest.$ac_ext >&5
101714 eval "$as_ac_var=no"
101716 rm -f conftest.err conftest.$ac_objext \
101717 conftest$ac_exeext conftest.$ac_ext
101719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101721 if test `eval echo '${'$as_ac_var'}'` = yes; then
101722 cat >>confdefs.h <<_ACEOF
101723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101724 _ACEOF
101731 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101732 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101733 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101734 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101735 echo $ECHO_N "(cached) $ECHO_C" >&6
101740 ac_ext=cc
101741 ac_cpp='$CXXCPP $CPPFLAGS'
101742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101746 cat >conftest.$ac_ext <<_ACEOF
101747 /* confdefs.h. */
101748 _ACEOF
101749 cat confdefs.h >>conftest.$ac_ext
101750 cat >>conftest.$ac_ext <<_ACEOF
101751 /* end confdefs.h. */
101752 #include <math.h>
101754 main ()
101756 _frexpl(0, 0);
101758 return 0;
101760 _ACEOF
101761 rm -f conftest.$ac_objext
101762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101763 (eval $ac_compile) 2>conftest.er1
101764 ac_status=$?
101765 grep -v '^ *+' conftest.er1 >conftest.err
101766 rm -f conftest.er1
101767 cat conftest.err >&5
101768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101769 (exit $ac_status); } &&
101770 { ac_try='test -z "$ac_cxx_werror_flag"
101771 || test ! -s conftest.err'
101772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101773 (eval $ac_try) 2>&5
101774 ac_status=$?
101775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101776 (exit $ac_status); }; } &&
101777 { ac_try='test -s conftest.$ac_objext'
101778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101779 (eval $ac_try) 2>&5
101780 ac_status=$?
101781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101782 (exit $ac_status); }; }; then
101783 glibcxx_cv_func__frexpl_use=yes
101785 echo "$as_me: failed program was:" >&5
101786 sed 's/^/| /' conftest.$ac_ext >&5
101788 glibcxx_cv_func__frexpl_use=no
101790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101791 ac_ext=c
101792 ac_cpp='$CPP $CPPFLAGS'
101793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101802 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101804 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101806 for ac_func in _frexpl
101808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101809 echo "$as_me:$LINENO: checking for $ac_func" >&5
101810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101811 if eval "test \"\${$as_ac_var+set}\" = set"; then
101812 echo $ECHO_N "(cached) $ECHO_C" >&6
101814 if test x$gcc_no_link = xyes; then
101815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101817 { (exit 1); exit 1; }; }
101819 cat >conftest.$ac_ext <<_ACEOF
101820 /* confdefs.h. */
101821 _ACEOF
101822 cat confdefs.h >>conftest.$ac_ext
101823 cat >>conftest.$ac_ext <<_ACEOF
101824 /* end confdefs.h. */
101825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101827 #define $ac_func innocuous_$ac_func
101829 /* System header to define __stub macros and hopefully few prototypes,
101830 which can conflict with char $ac_func (); below.
101831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101832 <limits.h> exists even on freestanding compilers. */
101834 #ifdef __STDC__
101835 # include <limits.h>
101836 #else
101837 # include <assert.h>
101838 #endif
101840 #undef $ac_func
101842 /* Override any gcc2 internal prototype to avoid an error. */
101843 #ifdef __cplusplus
101844 extern "C"
101846 #endif
101847 /* We use char because int might match the return type of a gcc2
101848 builtin and then its argument prototype would still apply. */
101849 char $ac_func ();
101850 /* The GNU C library defines this for functions which it implements
101851 to always fail with ENOSYS. Some functions are actually named
101852 something starting with __ and the normal name is an alias. */
101853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101854 choke me
101855 #else
101856 char (*f) () = $ac_func;
101857 #endif
101858 #ifdef __cplusplus
101860 #endif
101863 main ()
101865 return f != $ac_func;
101867 return 0;
101869 _ACEOF
101870 rm -f conftest.$ac_objext conftest$ac_exeext
101871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101872 (eval $ac_link) 2>conftest.er1
101873 ac_status=$?
101874 grep -v '^ *+' conftest.er1 >conftest.err
101875 rm -f conftest.er1
101876 cat conftest.err >&5
101877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101878 (exit $ac_status); } &&
101879 { ac_try='test -z "$ac_c_werror_flag"
101880 || test ! -s conftest.err'
101881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101882 (eval $ac_try) 2>&5
101883 ac_status=$?
101884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101885 (exit $ac_status); }; } &&
101886 { ac_try='test -s conftest$ac_exeext'
101887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101888 (eval $ac_try) 2>&5
101889 ac_status=$?
101890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101891 (exit $ac_status); }; }; then
101892 eval "$as_ac_var=yes"
101894 echo "$as_me: failed program was:" >&5
101895 sed 's/^/| /' conftest.$ac_ext >&5
101897 eval "$as_ac_var=no"
101899 rm -f conftest.err conftest.$ac_objext \
101900 conftest$ac_exeext conftest.$ac_ext
101902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101904 if test `eval echo '${'$as_ac_var'}'` = yes; then
101905 cat >>confdefs.h <<_ACEOF
101906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101907 _ACEOF
101920 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101921 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101922 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101923 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101924 echo $ECHO_N "(cached) $ECHO_C" >&6
101929 ac_ext=cc
101930 ac_cpp='$CXXCPP $CPPFLAGS'
101931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101935 cat >conftest.$ac_ext <<_ACEOF
101936 /* confdefs.h. */
101937 _ACEOF
101938 cat confdefs.h >>conftest.$ac_ext
101939 cat >>conftest.$ac_ext <<_ACEOF
101940 /* end confdefs.h. */
101941 #include <math.h>
101943 main ()
101945 hypotl(0, 0);
101947 return 0;
101949 _ACEOF
101950 rm -f conftest.$ac_objext
101951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101952 (eval $ac_compile) 2>conftest.er1
101953 ac_status=$?
101954 grep -v '^ *+' conftest.er1 >conftest.err
101955 rm -f conftest.er1
101956 cat conftest.err >&5
101957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101958 (exit $ac_status); } &&
101959 { ac_try='test -z "$ac_cxx_werror_flag"
101960 || test ! -s conftest.err'
101961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101962 (eval $ac_try) 2>&5
101963 ac_status=$?
101964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101965 (exit $ac_status); }; } &&
101966 { ac_try='test -s conftest.$ac_objext'
101967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101968 (eval $ac_try) 2>&5
101969 ac_status=$?
101970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101971 (exit $ac_status); }; }; then
101972 glibcxx_cv_func_hypotl_use=yes
101974 echo "$as_me: failed program was:" >&5
101975 sed 's/^/| /' conftest.$ac_ext >&5
101977 glibcxx_cv_func_hypotl_use=no
101979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101980 ac_ext=c
101981 ac_cpp='$CPP $CPPFLAGS'
101982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101990 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101991 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101993 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101995 for ac_func in hypotl
101997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101998 echo "$as_me:$LINENO: checking for $ac_func" >&5
101999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102000 if eval "test \"\${$as_ac_var+set}\" = set"; then
102001 echo $ECHO_N "(cached) $ECHO_C" >&6
102003 if test x$gcc_no_link = xyes; then
102004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102006 { (exit 1); exit 1; }; }
102008 cat >conftest.$ac_ext <<_ACEOF
102009 /* confdefs.h. */
102010 _ACEOF
102011 cat confdefs.h >>conftest.$ac_ext
102012 cat >>conftest.$ac_ext <<_ACEOF
102013 /* end confdefs.h. */
102014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102016 #define $ac_func innocuous_$ac_func
102018 /* System header to define __stub macros and hopefully few prototypes,
102019 which can conflict with char $ac_func (); below.
102020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102021 <limits.h> exists even on freestanding compilers. */
102023 #ifdef __STDC__
102024 # include <limits.h>
102025 #else
102026 # include <assert.h>
102027 #endif
102029 #undef $ac_func
102031 /* Override any gcc2 internal prototype to avoid an error. */
102032 #ifdef __cplusplus
102033 extern "C"
102035 #endif
102036 /* We use char because int might match the return type of a gcc2
102037 builtin and then its argument prototype would still apply. */
102038 char $ac_func ();
102039 /* The GNU C library defines this for functions which it implements
102040 to always fail with ENOSYS. Some functions are actually named
102041 something starting with __ and the normal name is an alias. */
102042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102043 choke me
102044 #else
102045 char (*f) () = $ac_func;
102046 #endif
102047 #ifdef __cplusplus
102049 #endif
102052 main ()
102054 return f != $ac_func;
102056 return 0;
102058 _ACEOF
102059 rm -f conftest.$ac_objext conftest$ac_exeext
102060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102061 (eval $ac_link) 2>conftest.er1
102062 ac_status=$?
102063 grep -v '^ *+' conftest.er1 >conftest.err
102064 rm -f conftest.er1
102065 cat conftest.err >&5
102066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102067 (exit $ac_status); } &&
102068 { ac_try='test -z "$ac_c_werror_flag"
102069 || test ! -s conftest.err'
102070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102071 (eval $ac_try) 2>&5
102072 ac_status=$?
102073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102074 (exit $ac_status); }; } &&
102075 { ac_try='test -s conftest$ac_exeext'
102076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102077 (eval $ac_try) 2>&5
102078 ac_status=$?
102079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102080 (exit $ac_status); }; }; then
102081 eval "$as_ac_var=yes"
102083 echo "$as_me: failed program was:" >&5
102084 sed 's/^/| /' conftest.$ac_ext >&5
102086 eval "$as_ac_var=no"
102088 rm -f conftest.err conftest.$ac_objext \
102089 conftest$ac_exeext conftest.$ac_ext
102091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102093 if test `eval echo '${'$as_ac_var'}'` = yes; then
102094 cat >>confdefs.h <<_ACEOF
102095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102096 _ACEOF
102103 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102104 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102105 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102106 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102107 echo $ECHO_N "(cached) $ECHO_C" >&6
102112 ac_ext=cc
102113 ac_cpp='$CXXCPP $CPPFLAGS'
102114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102118 cat >conftest.$ac_ext <<_ACEOF
102119 /* confdefs.h. */
102120 _ACEOF
102121 cat confdefs.h >>conftest.$ac_ext
102122 cat >>conftest.$ac_ext <<_ACEOF
102123 /* end confdefs.h. */
102124 #include <math.h>
102126 main ()
102128 _hypotl(0, 0);
102130 return 0;
102132 _ACEOF
102133 rm -f conftest.$ac_objext
102134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102135 (eval $ac_compile) 2>conftest.er1
102136 ac_status=$?
102137 grep -v '^ *+' conftest.er1 >conftest.err
102138 rm -f conftest.er1
102139 cat conftest.err >&5
102140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102141 (exit $ac_status); } &&
102142 { ac_try='test -z "$ac_cxx_werror_flag"
102143 || test ! -s conftest.err'
102144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102145 (eval $ac_try) 2>&5
102146 ac_status=$?
102147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102148 (exit $ac_status); }; } &&
102149 { ac_try='test -s conftest.$ac_objext'
102150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102151 (eval $ac_try) 2>&5
102152 ac_status=$?
102153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102154 (exit $ac_status); }; }; then
102155 glibcxx_cv_func__hypotl_use=yes
102157 echo "$as_me: failed program was:" >&5
102158 sed 's/^/| /' conftest.$ac_ext >&5
102160 glibcxx_cv_func__hypotl_use=no
102162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102163 ac_ext=c
102164 ac_cpp='$CPP $CPPFLAGS'
102165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102174 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102176 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102178 for ac_func in _hypotl
102180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102181 echo "$as_me:$LINENO: checking for $ac_func" >&5
102182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102183 if eval "test \"\${$as_ac_var+set}\" = set"; then
102184 echo $ECHO_N "(cached) $ECHO_C" >&6
102186 if test x$gcc_no_link = xyes; then
102187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102189 { (exit 1); exit 1; }; }
102191 cat >conftest.$ac_ext <<_ACEOF
102192 /* confdefs.h. */
102193 _ACEOF
102194 cat confdefs.h >>conftest.$ac_ext
102195 cat >>conftest.$ac_ext <<_ACEOF
102196 /* end confdefs.h. */
102197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102199 #define $ac_func innocuous_$ac_func
102201 /* System header to define __stub macros and hopefully few prototypes,
102202 which can conflict with char $ac_func (); below.
102203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102204 <limits.h> exists even on freestanding compilers. */
102206 #ifdef __STDC__
102207 # include <limits.h>
102208 #else
102209 # include <assert.h>
102210 #endif
102212 #undef $ac_func
102214 /* Override any gcc2 internal prototype to avoid an error. */
102215 #ifdef __cplusplus
102216 extern "C"
102218 #endif
102219 /* We use char because int might match the return type of a gcc2
102220 builtin and then its argument prototype would still apply. */
102221 char $ac_func ();
102222 /* The GNU C library defines this for functions which it implements
102223 to always fail with ENOSYS. Some functions are actually named
102224 something starting with __ and the normal name is an alias. */
102225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102226 choke me
102227 #else
102228 char (*f) () = $ac_func;
102229 #endif
102230 #ifdef __cplusplus
102232 #endif
102235 main ()
102237 return f != $ac_func;
102239 return 0;
102241 _ACEOF
102242 rm -f conftest.$ac_objext conftest$ac_exeext
102243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102244 (eval $ac_link) 2>conftest.er1
102245 ac_status=$?
102246 grep -v '^ *+' conftest.er1 >conftest.err
102247 rm -f conftest.er1
102248 cat conftest.err >&5
102249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102250 (exit $ac_status); } &&
102251 { ac_try='test -z "$ac_c_werror_flag"
102252 || test ! -s conftest.err'
102253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102254 (eval $ac_try) 2>&5
102255 ac_status=$?
102256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102257 (exit $ac_status); }; } &&
102258 { ac_try='test -s conftest$ac_exeext'
102259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102260 (eval $ac_try) 2>&5
102261 ac_status=$?
102262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102263 (exit $ac_status); }; }; then
102264 eval "$as_ac_var=yes"
102266 echo "$as_me: failed program was:" >&5
102267 sed 's/^/| /' conftest.$ac_ext >&5
102269 eval "$as_ac_var=no"
102271 rm -f conftest.err conftest.$ac_objext \
102272 conftest$ac_exeext conftest.$ac_ext
102274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102276 if test `eval echo '${'$as_ac_var'}'` = yes; then
102277 cat >>confdefs.h <<_ACEOF
102278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102279 _ACEOF
102292 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102293 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102294 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102295 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102296 echo $ECHO_N "(cached) $ECHO_C" >&6
102301 ac_ext=cc
102302 ac_cpp='$CXXCPP $CPPFLAGS'
102303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102307 cat >conftest.$ac_ext <<_ACEOF
102308 /* confdefs.h. */
102309 _ACEOF
102310 cat confdefs.h >>conftest.$ac_ext
102311 cat >>conftest.$ac_ext <<_ACEOF
102312 /* end confdefs.h. */
102313 #include <math.h>
102315 main ()
102317 ldexpl(0, 0);
102319 return 0;
102321 _ACEOF
102322 rm -f conftest.$ac_objext
102323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102324 (eval $ac_compile) 2>conftest.er1
102325 ac_status=$?
102326 grep -v '^ *+' conftest.er1 >conftest.err
102327 rm -f conftest.er1
102328 cat conftest.err >&5
102329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102330 (exit $ac_status); } &&
102331 { ac_try='test -z "$ac_cxx_werror_flag"
102332 || test ! -s conftest.err'
102333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102334 (eval $ac_try) 2>&5
102335 ac_status=$?
102336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102337 (exit $ac_status); }; } &&
102338 { ac_try='test -s conftest.$ac_objext'
102339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102340 (eval $ac_try) 2>&5
102341 ac_status=$?
102342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102343 (exit $ac_status); }; }; then
102344 glibcxx_cv_func_ldexpl_use=yes
102346 echo "$as_me: failed program was:" >&5
102347 sed 's/^/| /' conftest.$ac_ext >&5
102349 glibcxx_cv_func_ldexpl_use=no
102351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102352 ac_ext=c
102353 ac_cpp='$CPP $CPPFLAGS'
102354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102363 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102365 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102367 for ac_func in ldexpl
102369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102370 echo "$as_me:$LINENO: checking for $ac_func" >&5
102371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102372 if eval "test \"\${$as_ac_var+set}\" = set"; then
102373 echo $ECHO_N "(cached) $ECHO_C" >&6
102375 if test x$gcc_no_link = xyes; then
102376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102378 { (exit 1); exit 1; }; }
102380 cat >conftest.$ac_ext <<_ACEOF
102381 /* confdefs.h. */
102382 _ACEOF
102383 cat confdefs.h >>conftest.$ac_ext
102384 cat >>conftest.$ac_ext <<_ACEOF
102385 /* end confdefs.h. */
102386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102388 #define $ac_func innocuous_$ac_func
102390 /* System header to define __stub macros and hopefully few prototypes,
102391 which can conflict with char $ac_func (); below.
102392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102393 <limits.h> exists even on freestanding compilers. */
102395 #ifdef __STDC__
102396 # include <limits.h>
102397 #else
102398 # include <assert.h>
102399 #endif
102401 #undef $ac_func
102403 /* Override any gcc2 internal prototype to avoid an error. */
102404 #ifdef __cplusplus
102405 extern "C"
102407 #endif
102408 /* We use char because int might match the return type of a gcc2
102409 builtin and then its argument prototype would still apply. */
102410 char $ac_func ();
102411 /* The GNU C library defines this for functions which it implements
102412 to always fail with ENOSYS. Some functions are actually named
102413 something starting with __ and the normal name is an alias. */
102414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102415 choke me
102416 #else
102417 char (*f) () = $ac_func;
102418 #endif
102419 #ifdef __cplusplus
102421 #endif
102424 main ()
102426 return f != $ac_func;
102428 return 0;
102430 _ACEOF
102431 rm -f conftest.$ac_objext conftest$ac_exeext
102432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102433 (eval $ac_link) 2>conftest.er1
102434 ac_status=$?
102435 grep -v '^ *+' conftest.er1 >conftest.err
102436 rm -f conftest.er1
102437 cat conftest.err >&5
102438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102439 (exit $ac_status); } &&
102440 { ac_try='test -z "$ac_c_werror_flag"
102441 || test ! -s conftest.err'
102442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102443 (eval $ac_try) 2>&5
102444 ac_status=$?
102445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102446 (exit $ac_status); }; } &&
102447 { ac_try='test -s conftest$ac_exeext'
102448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102449 (eval $ac_try) 2>&5
102450 ac_status=$?
102451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102452 (exit $ac_status); }; }; then
102453 eval "$as_ac_var=yes"
102455 echo "$as_me: failed program was:" >&5
102456 sed 's/^/| /' conftest.$ac_ext >&5
102458 eval "$as_ac_var=no"
102460 rm -f conftest.err conftest.$ac_objext \
102461 conftest$ac_exeext conftest.$ac_ext
102463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102465 if test `eval echo '${'$as_ac_var'}'` = yes; then
102466 cat >>confdefs.h <<_ACEOF
102467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102468 _ACEOF
102475 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102476 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102477 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102478 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102479 echo $ECHO_N "(cached) $ECHO_C" >&6
102484 ac_ext=cc
102485 ac_cpp='$CXXCPP $CPPFLAGS'
102486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102490 cat >conftest.$ac_ext <<_ACEOF
102491 /* confdefs.h. */
102492 _ACEOF
102493 cat confdefs.h >>conftest.$ac_ext
102494 cat >>conftest.$ac_ext <<_ACEOF
102495 /* end confdefs.h. */
102496 #include <math.h>
102498 main ()
102500 _ldexpl(0, 0);
102502 return 0;
102504 _ACEOF
102505 rm -f conftest.$ac_objext
102506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102507 (eval $ac_compile) 2>conftest.er1
102508 ac_status=$?
102509 grep -v '^ *+' conftest.er1 >conftest.err
102510 rm -f conftest.er1
102511 cat conftest.err >&5
102512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102513 (exit $ac_status); } &&
102514 { ac_try='test -z "$ac_cxx_werror_flag"
102515 || test ! -s conftest.err'
102516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102517 (eval $ac_try) 2>&5
102518 ac_status=$?
102519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102520 (exit $ac_status); }; } &&
102521 { ac_try='test -s conftest.$ac_objext'
102522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102523 (eval $ac_try) 2>&5
102524 ac_status=$?
102525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102526 (exit $ac_status); }; }; then
102527 glibcxx_cv_func__ldexpl_use=yes
102529 echo "$as_me: failed program was:" >&5
102530 sed 's/^/| /' conftest.$ac_ext >&5
102532 glibcxx_cv_func__ldexpl_use=no
102534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102535 ac_ext=c
102536 ac_cpp='$CPP $CPPFLAGS'
102537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102546 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102548 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102550 for ac_func in _ldexpl
102552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102553 echo "$as_me:$LINENO: checking for $ac_func" >&5
102554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102555 if eval "test \"\${$as_ac_var+set}\" = set"; then
102556 echo $ECHO_N "(cached) $ECHO_C" >&6
102558 if test x$gcc_no_link = xyes; then
102559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102561 { (exit 1); exit 1; }; }
102563 cat >conftest.$ac_ext <<_ACEOF
102564 /* confdefs.h. */
102565 _ACEOF
102566 cat confdefs.h >>conftest.$ac_ext
102567 cat >>conftest.$ac_ext <<_ACEOF
102568 /* end confdefs.h. */
102569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102571 #define $ac_func innocuous_$ac_func
102573 /* System header to define __stub macros and hopefully few prototypes,
102574 which can conflict with char $ac_func (); below.
102575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102576 <limits.h> exists even on freestanding compilers. */
102578 #ifdef __STDC__
102579 # include <limits.h>
102580 #else
102581 # include <assert.h>
102582 #endif
102584 #undef $ac_func
102586 /* Override any gcc2 internal prototype to avoid an error. */
102587 #ifdef __cplusplus
102588 extern "C"
102590 #endif
102591 /* We use char because int might match the return type of a gcc2
102592 builtin and then its argument prototype would still apply. */
102593 char $ac_func ();
102594 /* The GNU C library defines this for functions which it implements
102595 to always fail with ENOSYS. Some functions are actually named
102596 something starting with __ and the normal name is an alias. */
102597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102598 choke me
102599 #else
102600 char (*f) () = $ac_func;
102601 #endif
102602 #ifdef __cplusplus
102604 #endif
102607 main ()
102609 return f != $ac_func;
102611 return 0;
102613 _ACEOF
102614 rm -f conftest.$ac_objext conftest$ac_exeext
102615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102616 (eval $ac_link) 2>conftest.er1
102617 ac_status=$?
102618 grep -v '^ *+' conftest.er1 >conftest.err
102619 rm -f conftest.er1
102620 cat conftest.err >&5
102621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102622 (exit $ac_status); } &&
102623 { ac_try='test -z "$ac_c_werror_flag"
102624 || test ! -s conftest.err'
102625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102626 (eval $ac_try) 2>&5
102627 ac_status=$?
102628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102629 (exit $ac_status); }; } &&
102630 { ac_try='test -s conftest$ac_exeext'
102631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102632 (eval $ac_try) 2>&5
102633 ac_status=$?
102634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102635 (exit $ac_status); }; }; then
102636 eval "$as_ac_var=yes"
102638 echo "$as_me: failed program was:" >&5
102639 sed 's/^/| /' conftest.$ac_ext >&5
102641 eval "$as_ac_var=no"
102643 rm -f conftest.err conftest.$ac_objext \
102644 conftest$ac_exeext conftest.$ac_ext
102646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102648 if test `eval echo '${'$as_ac_var'}'` = yes; then
102649 cat >>confdefs.h <<_ACEOF
102650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102651 _ACEOF
102664 echo "$as_me:$LINENO: checking for logl declaration" >&5
102665 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102666 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102667 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102668 echo $ECHO_N "(cached) $ECHO_C" >&6
102673 ac_ext=cc
102674 ac_cpp='$CXXCPP $CPPFLAGS'
102675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102679 cat >conftest.$ac_ext <<_ACEOF
102680 /* confdefs.h. */
102681 _ACEOF
102682 cat confdefs.h >>conftest.$ac_ext
102683 cat >>conftest.$ac_ext <<_ACEOF
102684 /* end confdefs.h. */
102685 #include <math.h>
102686 #ifdef HAVE_IEEEFP_H
102687 #include <ieeefp.h>
102688 #endif
102691 main ()
102693 logl(0);
102695 return 0;
102697 _ACEOF
102698 rm -f conftest.$ac_objext
102699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102700 (eval $ac_compile) 2>conftest.er1
102701 ac_status=$?
102702 grep -v '^ *+' conftest.er1 >conftest.err
102703 rm -f conftest.er1
102704 cat conftest.err >&5
102705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102706 (exit $ac_status); } &&
102707 { ac_try='test -z "$ac_cxx_werror_flag"
102708 || test ! -s conftest.err'
102709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102710 (eval $ac_try) 2>&5
102711 ac_status=$?
102712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102713 (exit $ac_status); }; } &&
102714 { ac_try='test -s conftest.$ac_objext'
102715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102716 (eval $ac_try) 2>&5
102717 ac_status=$?
102718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102719 (exit $ac_status); }; }; then
102720 glibcxx_cv_func_logl_use=yes
102722 echo "$as_me: failed program was:" >&5
102723 sed 's/^/| /' conftest.$ac_ext >&5
102725 glibcxx_cv_func_logl_use=no
102727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102728 ac_ext=c
102729 ac_cpp='$CPP $CPPFLAGS'
102730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102739 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102741 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102743 for ac_func in logl
102745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102746 echo "$as_me:$LINENO: checking for $ac_func" >&5
102747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102748 if eval "test \"\${$as_ac_var+set}\" = set"; then
102749 echo $ECHO_N "(cached) $ECHO_C" >&6
102751 if test x$gcc_no_link = xyes; then
102752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102754 { (exit 1); exit 1; }; }
102756 cat >conftest.$ac_ext <<_ACEOF
102757 /* confdefs.h. */
102758 _ACEOF
102759 cat confdefs.h >>conftest.$ac_ext
102760 cat >>conftest.$ac_ext <<_ACEOF
102761 /* end confdefs.h. */
102762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102764 #define $ac_func innocuous_$ac_func
102766 /* System header to define __stub macros and hopefully few prototypes,
102767 which can conflict with char $ac_func (); below.
102768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102769 <limits.h> exists even on freestanding compilers. */
102771 #ifdef __STDC__
102772 # include <limits.h>
102773 #else
102774 # include <assert.h>
102775 #endif
102777 #undef $ac_func
102779 /* Override any gcc2 internal prototype to avoid an error. */
102780 #ifdef __cplusplus
102781 extern "C"
102783 #endif
102784 /* We use char because int might match the return type of a gcc2
102785 builtin and then its argument prototype would still apply. */
102786 char $ac_func ();
102787 /* The GNU C library defines this for functions which it implements
102788 to always fail with ENOSYS. Some functions are actually named
102789 something starting with __ and the normal name is an alias. */
102790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102791 choke me
102792 #else
102793 char (*f) () = $ac_func;
102794 #endif
102795 #ifdef __cplusplus
102797 #endif
102800 main ()
102802 return f != $ac_func;
102804 return 0;
102806 _ACEOF
102807 rm -f conftest.$ac_objext conftest$ac_exeext
102808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102809 (eval $ac_link) 2>conftest.er1
102810 ac_status=$?
102811 grep -v '^ *+' conftest.er1 >conftest.err
102812 rm -f conftest.er1
102813 cat conftest.err >&5
102814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102815 (exit $ac_status); } &&
102816 { ac_try='test -z "$ac_c_werror_flag"
102817 || test ! -s conftest.err'
102818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102819 (eval $ac_try) 2>&5
102820 ac_status=$?
102821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102822 (exit $ac_status); }; } &&
102823 { ac_try='test -s conftest$ac_exeext'
102824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102825 (eval $ac_try) 2>&5
102826 ac_status=$?
102827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102828 (exit $ac_status); }; }; then
102829 eval "$as_ac_var=yes"
102831 echo "$as_me: failed program was:" >&5
102832 sed 's/^/| /' conftest.$ac_ext >&5
102834 eval "$as_ac_var=no"
102836 rm -f conftest.err conftest.$ac_objext \
102837 conftest$ac_exeext conftest.$ac_ext
102839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102841 if test `eval echo '${'$as_ac_var'}'` = yes; then
102842 cat >>confdefs.h <<_ACEOF
102843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102844 _ACEOF
102851 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102852 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102853 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102854 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102855 echo $ECHO_N "(cached) $ECHO_C" >&6
102860 ac_ext=cc
102861 ac_cpp='$CXXCPP $CPPFLAGS'
102862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102866 cat >conftest.$ac_ext <<_ACEOF
102867 /* confdefs.h. */
102868 _ACEOF
102869 cat confdefs.h >>conftest.$ac_ext
102870 cat >>conftest.$ac_ext <<_ACEOF
102871 /* end confdefs.h. */
102872 #include <math.h>
102873 #ifdef HAVE_IEEEFP_H
102874 #include <ieeefp.h>
102875 #endif
102878 main ()
102880 _logl(0);
102882 return 0;
102884 _ACEOF
102885 rm -f conftest.$ac_objext
102886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102887 (eval $ac_compile) 2>conftest.er1
102888 ac_status=$?
102889 grep -v '^ *+' conftest.er1 >conftest.err
102890 rm -f conftest.er1
102891 cat conftest.err >&5
102892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102893 (exit $ac_status); } &&
102894 { ac_try='test -z "$ac_cxx_werror_flag"
102895 || test ! -s conftest.err'
102896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102897 (eval $ac_try) 2>&5
102898 ac_status=$?
102899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102900 (exit $ac_status); }; } &&
102901 { ac_try='test -s conftest.$ac_objext'
102902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102903 (eval $ac_try) 2>&5
102904 ac_status=$?
102905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102906 (exit $ac_status); }; }; then
102907 glibcxx_cv_func__logl_use=yes
102909 echo "$as_me: failed program was:" >&5
102910 sed 's/^/| /' conftest.$ac_ext >&5
102912 glibcxx_cv_func__logl_use=no
102914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102915 ac_ext=c
102916 ac_cpp='$CPP $CPPFLAGS'
102917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102926 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102928 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102930 for ac_func in _logl
102932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102933 echo "$as_me:$LINENO: checking for $ac_func" >&5
102934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102935 if eval "test \"\${$as_ac_var+set}\" = set"; then
102936 echo $ECHO_N "(cached) $ECHO_C" >&6
102938 if test x$gcc_no_link = xyes; then
102939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102941 { (exit 1); exit 1; }; }
102943 cat >conftest.$ac_ext <<_ACEOF
102944 /* confdefs.h. */
102945 _ACEOF
102946 cat confdefs.h >>conftest.$ac_ext
102947 cat >>conftest.$ac_ext <<_ACEOF
102948 /* end confdefs.h. */
102949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102951 #define $ac_func innocuous_$ac_func
102953 /* System header to define __stub macros and hopefully few prototypes,
102954 which can conflict with char $ac_func (); below.
102955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102956 <limits.h> exists even on freestanding compilers. */
102958 #ifdef __STDC__
102959 # include <limits.h>
102960 #else
102961 # include <assert.h>
102962 #endif
102964 #undef $ac_func
102966 /* Override any gcc2 internal prototype to avoid an error. */
102967 #ifdef __cplusplus
102968 extern "C"
102970 #endif
102971 /* We use char because int might match the return type of a gcc2
102972 builtin and then its argument prototype would still apply. */
102973 char $ac_func ();
102974 /* The GNU C library defines this for functions which it implements
102975 to always fail with ENOSYS. Some functions are actually named
102976 something starting with __ and the normal name is an alias. */
102977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102978 choke me
102979 #else
102980 char (*f) () = $ac_func;
102981 #endif
102982 #ifdef __cplusplus
102984 #endif
102987 main ()
102989 return f != $ac_func;
102991 return 0;
102993 _ACEOF
102994 rm -f conftest.$ac_objext conftest$ac_exeext
102995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102996 (eval $ac_link) 2>conftest.er1
102997 ac_status=$?
102998 grep -v '^ *+' conftest.er1 >conftest.err
102999 rm -f conftest.er1
103000 cat conftest.err >&5
103001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103002 (exit $ac_status); } &&
103003 { ac_try='test -z "$ac_c_werror_flag"
103004 || test ! -s conftest.err'
103005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103006 (eval $ac_try) 2>&5
103007 ac_status=$?
103008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103009 (exit $ac_status); }; } &&
103010 { ac_try='test -s conftest$ac_exeext'
103011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103012 (eval $ac_try) 2>&5
103013 ac_status=$?
103014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103015 (exit $ac_status); }; }; then
103016 eval "$as_ac_var=yes"
103018 echo "$as_me: failed program was:" >&5
103019 sed 's/^/| /' conftest.$ac_ext >&5
103021 eval "$as_ac_var=no"
103023 rm -f conftest.err conftest.$ac_objext \
103024 conftest$ac_exeext conftest.$ac_ext
103026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103028 if test `eval echo '${'$as_ac_var'}'` = yes; then
103029 cat >>confdefs.h <<_ACEOF
103030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103031 _ACEOF
103044 echo "$as_me:$LINENO: checking for log10l declaration" >&5
103045 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103046 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103047 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103048 echo $ECHO_N "(cached) $ECHO_C" >&6
103053 ac_ext=cc
103054 ac_cpp='$CXXCPP $CPPFLAGS'
103055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103059 cat >conftest.$ac_ext <<_ACEOF
103060 /* confdefs.h. */
103061 _ACEOF
103062 cat confdefs.h >>conftest.$ac_ext
103063 cat >>conftest.$ac_ext <<_ACEOF
103064 /* end confdefs.h. */
103065 #include <math.h>
103066 #ifdef HAVE_IEEEFP_H
103067 #include <ieeefp.h>
103068 #endif
103071 main ()
103073 log10l(0);
103075 return 0;
103077 _ACEOF
103078 rm -f conftest.$ac_objext
103079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103080 (eval $ac_compile) 2>conftest.er1
103081 ac_status=$?
103082 grep -v '^ *+' conftest.er1 >conftest.err
103083 rm -f conftest.er1
103084 cat conftest.err >&5
103085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103086 (exit $ac_status); } &&
103087 { ac_try='test -z "$ac_cxx_werror_flag"
103088 || test ! -s conftest.err'
103089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103090 (eval $ac_try) 2>&5
103091 ac_status=$?
103092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103093 (exit $ac_status); }; } &&
103094 { ac_try='test -s conftest.$ac_objext'
103095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103096 (eval $ac_try) 2>&5
103097 ac_status=$?
103098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103099 (exit $ac_status); }; }; then
103100 glibcxx_cv_func_log10l_use=yes
103102 echo "$as_me: failed program was:" >&5
103103 sed 's/^/| /' conftest.$ac_ext >&5
103105 glibcxx_cv_func_log10l_use=no
103107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103108 ac_ext=c
103109 ac_cpp='$CPP $CPPFLAGS'
103110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103119 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103121 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103123 for ac_func in log10l
103125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103126 echo "$as_me:$LINENO: checking for $ac_func" >&5
103127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103128 if eval "test \"\${$as_ac_var+set}\" = set"; then
103129 echo $ECHO_N "(cached) $ECHO_C" >&6
103131 if test x$gcc_no_link = xyes; then
103132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103134 { (exit 1); exit 1; }; }
103136 cat >conftest.$ac_ext <<_ACEOF
103137 /* confdefs.h. */
103138 _ACEOF
103139 cat confdefs.h >>conftest.$ac_ext
103140 cat >>conftest.$ac_ext <<_ACEOF
103141 /* end confdefs.h. */
103142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103144 #define $ac_func innocuous_$ac_func
103146 /* System header to define __stub macros and hopefully few prototypes,
103147 which can conflict with char $ac_func (); below.
103148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103149 <limits.h> exists even on freestanding compilers. */
103151 #ifdef __STDC__
103152 # include <limits.h>
103153 #else
103154 # include <assert.h>
103155 #endif
103157 #undef $ac_func
103159 /* Override any gcc2 internal prototype to avoid an error. */
103160 #ifdef __cplusplus
103161 extern "C"
103163 #endif
103164 /* We use char because int might match the return type of a gcc2
103165 builtin and then its argument prototype would still apply. */
103166 char $ac_func ();
103167 /* The GNU C library defines this for functions which it implements
103168 to always fail with ENOSYS. Some functions are actually named
103169 something starting with __ and the normal name is an alias. */
103170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103171 choke me
103172 #else
103173 char (*f) () = $ac_func;
103174 #endif
103175 #ifdef __cplusplus
103177 #endif
103180 main ()
103182 return f != $ac_func;
103184 return 0;
103186 _ACEOF
103187 rm -f conftest.$ac_objext conftest$ac_exeext
103188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103189 (eval $ac_link) 2>conftest.er1
103190 ac_status=$?
103191 grep -v '^ *+' conftest.er1 >conftest.err
103192 rm -f conftest.er1
103193 cat conftest.err >&5
103194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103195 (exit $ac_status); } &&
103196 { ac_try='test -z "$ac_c_werror_flag"
103197 || test ! -s conftest.err'
103198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103199 (eval $ac_try) 2>&5
103200 ac_status=$?
103201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103202 (exit $ac_status); }; } &&
103203 { ac_try='test -s conftest$ac_exeext'
103204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103205 (eval $ac_try) 2>&5
103206 ac_status=$?
103207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103208 (exit $ac_status); }; }; then
103209 eval "$as_ac_var=yes"
103211 echo "$as_me: failed program was:" >&5
103212 sed 's/^/| /' conftest.$ac_ext >&5
103214 eval "$as_ac_var=no"
103216 rm -f conftest.err conftest.$ac_objext \
103217 conftest$ac_exeext conftest.$ac_ext
103219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103221 if test `eval echo '${'$as_ac_var'}'` = yes; then
103222 cat >>confdefs.h <<_ACEOF
103223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103224 _ACEOF
103231 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103232 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103233 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103234 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103235 echo $ECHO_N "(cached) $ECHO_C" >&6
103240 ac_ext=cc
103241 ac_cpp='$CXXCPP $CPPFLAGS'
103242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103246 cat >conftest.$ac_ext <<_ACEOF
103247 /* confdefs.h. */
103248 _ACEOF
103249 cat confdefs.h >>conftest.$ac_ext
103250 cat >>conftest.$ac_ext <<_ACEOF
103251 /* end confdefs.h. */
103252 #include <math.h>
103253 #ifdef HAVE_IEEEFP_H
103254 #include <ieeefp.h>
103255 #endif
103258 main ()
103260 _log10l(0);
103262 return 0;
103264 _ACEOF
103265 rm -f conftest.$ac_objext
103266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103267 (eval $ac_compile) 2>conftest.er1
103268 ac_status=$?
103269 grep -v '^ *+' conftest.er1 >conftest.err
103270 rm -f conftest.er1
103271 cat conftest.err >&5
103272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103273 (exit $ac_status); } &&
103274 { ac_try='test -z "$ac_cxx_werror_flag"
103275 || test ! -s conftest.err'
103276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103277 (eval $ac_try) 2>&5
103278 ac_status=$?
103279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103280 (exit $ac_status); }; } &&
103281 { ac_try='test -s conftest.$ac_objext'
103282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103283 (eval $ac_try) 2>&5
103284 ac_status=$?
103285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103286 (exit $ac_status); }; }; then
103287 glibcxx_cv_func__log10l_use=yes
103289 echo "$as_me: failed program was:" >&5
103290 sed 's/^/| /' conftest.$ac_ext >&5
103292 glibcxx_cv_func__log10l_use=no
103294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103295 ac_ext=c
103296 ac_cpp='$CPP $CPPFLAGS'
103297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103305 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103306 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103308 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103310 for ac_func in _log10l
103312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103313 echo "$as_me:$LINENO: checking for $ac_func" >&5
103314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103315 if eval "test \"\${$as_ac_var+set}\" = set"; then
103316 echo $ECHO_N "(cached) $ECHO_C" >&6
103318 if test x$gcc_no_link = xyes; then
103319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103321 { (exit 1); exit 1; }; }
103323 cat >conftest.$ac_ext <<_ACEOF
103324 /* confdefs.h. */
103325 _ACEOF
103326 cat confdefs.h >>conftest.$ac_ext
103327 cat >>conftest.$ac_ext <<_ACEOF
103328 /* end confdefs.h. */
103329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103331 #define $ac_func innocuous_$ac_func
103333 /* System header to define __stub macros and hopefully few prototypes,
103334 which can conflict with char $ac_func (); below.
103335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103336 <limits.h> exists even on freestanding compilers. */
103338 #ifdef __STDC__
103339 # include <limits.h>
103340 #else
103341 # include <assert.h>
103342 #endif
103344 #undef $ac_func
103346 /* Override any gcc2 internal prototype to avoid an error. */
103347 #ifdef __cplusplus
103348 extern "C"
103350 #endif
103351 /* We use char because int might match the return type of a gcc2
103352 builtin and then its argument prototype would still apply. */
103353 char $ac_func ();
103354 /* The GNU C library defines this for functions which it implements
103355 to always fail with ENOSYS. Some functions are actually named
103356 something starting with __ and the normal name is an alias. */
103357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103358 choke me
103359 #else
103360 char (*f) () = $ac_func;
103361 #endif
103362 #ifdef __cplusplus
103364 #endif
103367 main ()
103369 return f != $ac_func;
103371 return 0;
103373 _ACEOF
103374 rm -f conftest.$ac_objext conftest$ac_exeext
103375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103376 (eval $ac_link) 2>conftest.er1
103377 ac_status=$?
103378 grep -v '^ *+' conftest.er1 >conftest.err
103379 rm -f conftest.er1
103380 cat conftest.err >&5
103381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103382 (exit $ac_status); } &&
103383 { ac_try='test -z "$ac_c_werror_flag"
103384 || test ! -s conftest.err'
103385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103386 (eval $ac_try) 2>&5
103387 ac_status=$?
103388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103389 (exit $ac_status); }; } &&
103390 { ac_try='test -s conftest$ac_exeext'
103391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103392 (eval $ac_try) 2>&5
103393 ac_status=$?
103394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103395 (exit $ac_status); }; }; then
103396 eval "$as_ac_var=yes"
103398 echo "$as_me: failed program was:" >&5
103399 sed 's/^/| /' conftest.$ac_ext >&5
103401 eval "$as_ac_var=no"
103403 rm -f conftest.err conftest.$ac_objext \
103404 conftest$ac_exeext conftest.$ac_ext
103406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103408 if test `eval echo '${'$as_ac_var'}'` = yes; then
103409 cat >>confdefs.h <<_ACEOF
103410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103411 _ACEOF
103424 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103425 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103426 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103427 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103428 echo $ECHO_N "(cached) $ECHO_C" >&6
103433 ac_ext=cc
103434 ac_cpp='$CXXCPP $CPPFLAGS'
103435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103439 cat >conftest.$ac_ext <<_ACEOF
103440 /* confdefs.h. */
103441 _ACEOF
103442 cat confdefs.h >>conftest.$ac_ext
103443 cat >>conftest.$ac_ext <<_ACEOF
103444 /* end confdefs.h. */
103445 #include <math.h>
103447 main ()
103449 modfl(0, 0);
103451 return 0;
103453 _ACEOF
103454 rm -f conftest.$ac_objext
103455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103456 (eval $ac_compile) 2>conftest.er1
103457 ac_status=$?
103458 grep -v '^ *+' conftest.er1 >conftest.err
103459 rm -f conftest.er1
103460 cat conftest.err >&5
103461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103462 (exit $ac_status); } &&
103463 { ac_try='test -z "$ac_cxx_werror_flag"
103464 || test ! -s conftest.err'
103465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103466 (eval $ac_try) 2>&5
103467 ac_status=$?
103468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103469 (exit $ac_status); }; } &&
103470 { ac_try='test -s conftest.$ac_objext'
103471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103472 (eval $ac_try) 2>&5
103473 ac_status=$?
103474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103475 (exit $ac_status); }; }; then
103476 glibcxx_cv_func_modfl_use=yes
103478 echo "$as_me: failed program was:" >&5
103479 sed 's/^/| /' conftest.$ac_ext >&5
103481 glibcxx_cv_func_modfl_use=no
103483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103484 ac_ext=c
103485 ac_cpp='$CPP $CPPFLAGS'
103486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103495 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103497 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103499 for ac_func in modfl
103501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103502 echo "$as_me:$LINENO: checking for $ac_func" >&5
103503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103504 if eval "test \"\${$as_ac_var+set}\" = set"; then
103505 echo $ECHO_N "(cached) $ECHO_C" >&6
103507 if test x$gcc_no_link = xyes; then
103508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103510 { (exit 1); exit 1; }; }
103512 cat >conftest.$ac_ext <<_ACEOF
103513 /* confdefs.h. */
103514 _ACEOF
103515 cat confdefs.h >>conftest.$ac_ext
103516 cat >>conftest.$ac_ext <<_ACEOF
103517 /* end confdefs.h. */
103518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103520 #define $ac_func innocuous_$ac_func
103522 /* System header to define __stub macros and hopefully few prototypes,
103523 which can conflict with char $ac_func (); below.
103524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103525 <limits.h> exists even on freestanding compilers. */
103527 #ifdef __STDC__
103528 # include <limits.h>
103529 #else
103530 # include <assert.h>
103531 #endif
103533 #undef $ac_func
103535 /* Override any gcc2 internal prototype to avoid an error. */
103536 #ifdef __cplusplus
103537 extern "C"
103539 #endif
103540 /* We use char because int might match the return type of a gcc2
103541 builtin and then its argument prototype would still apply. */
103542 char $ac_func ();
103543 /* The GNU C library defines this for functions which it implements
103544 to always fail with ENOSYS. Some functions are actually named
103545 something starting with __ and the normal name is an alias. */
103546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103547 choke me
103548 #else
103549 char (*f) () = $ac_func;
103550 #endif
103551 #ifdef __cplusplus
103553 #endif
103556 main ()
103558 return f != $ac_func;
103560 return 0;
103562 _ACEOF
103563 rm -f conftest.$ac_objext conftest$ac_exeext
103564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103565 (eval $ac_link) 2>conftest.er1
103566 ac_status=$?
103567 grep -v '^ *+' conftest.er1 >conftest.err
103568 rm -f conftest.er1
103569 cat conftest.err >&5
103570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103571 (exit $ac_status); } &&
103572 { ac_try='test -z "$ac_c_werror_flag"
103573 || test ! -s conftest.err'
103574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103575 (eval $ac_try) 2>&5
103576 ac_status=$?
103577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103578 (exit $ac_status); }; } &&
103579 { ac_try='test -s conftest$ac_exeext'
103580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103581 (eval $ac_try) 2>&5
103582 ac_status=$?
103583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103584 (exit $ac_status); }; }; then
103585 eval "$as_ac_var=yes"
103587 echo "$as_me: failed program was:" >&5
103588 sed 's/^/| /' conftest.$ac_ext >&5
103590 eval "$as_ac_var=no"
103592 rm -f conftest.err conftest.$ac_objext \
103593 conftest$ac_exeext conftest.$ac_ext
103595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103597 if test `eval echo '${'$as_ac_var'}'` = yes; then
103598 cat >>confdefs.h <<_ACEOF
103599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103600 _ACEOF
103607 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103608 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103609 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103610 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103611 echo $ECHO_N "(cached) $ECHO_C" >&6
103616 ac_ext=cc
103617 ac_cpp='$CXXCPP $CPPFLAGS'
103618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103622 cat >conftest.$ac_ext <<_ACEOF
103623 /* confdefs.h. */
103624 _ACEOF
103625 cat confdefs.h >>conftest.$ac_ext
103626 cat >>conftest.$ac_ext <<_ACEOF
103627 /* end confdefs.h. */
103628 #include <math.h>
103630 main ()
103632 _modfl(0, 0);
103634 return 0;
103636 _ACEOF
103637 rm -f conftest.$ac_objext
103638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103639 (eval $ac_compile) 2>conftest.er1
103640 ac_status=$?
103641 grep -v '^ *+' conftest.er1 >conftest.err
103642 rm -f conftest.er1
103643 cat conftest.err >&5
103644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103645 (exit $ac_status); } &&
103646 { ac_try='test -z "$ac_cxx_werror_flag"
103647 || test ! -s conftest.err'
103648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103649 (eval $ac_try) 2>&5
103650 ac_status=$?
103651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103652 (exit $ac_status); }; } &&
103653 { ac_try='test -s conftest.$ac_objext'
103654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103655 (eval $ac_try) 2>&5
103656 ac_status=$?
103657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103658 (exit $ac_status); }; }; then
103659 glibcxx_cv_func__modfl_use=yes
103661 echo "$as_me: failed program was:" >&5
103662 sed 's/^/| /' conftest.$ac_ext >&5
103664 glibcxx_cv_func__modfl_use=no
103666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103667 ac_ext=c
103668 ac_cpp='$CPP $CPPFLAGS'
103669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103678 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103680 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103682 for ac_func in _modfl
103684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103685 echo "$as_me:$LINENO: checking for $ac_func" >&5
103686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103687 if eval "test \"\${$as_ac_var+set}\" = set"; then
103688 echo $ECHO_N "(cached) $ECHO_C" >&6
103690 if test x$gcc_no_link = xyes; then
103691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103693 { (exit 1); exit 1; }; }
103695 cat >conftest.$ac_ext <<_ACEOF
103696 /* confdefs.h. */
103697 _ACEOF
103698 cat confdefs.h >>conftest.$ac_ext
103699 cat >>conftest.$ac_ext <<_ACEOF
103700 /* end confdefs.h. */
103701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103703 #define $ac_func innocuous_$ac_func
103705 /* System header to define __stub macros and hopefully few prototypes,
103706 which can conflict with char $ac_func (); below.
103707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103708 <limits.h> exists even on freestanding compilers. */
103710 #ifdef __STDC__
103711 # include <limits.h>
103712 #else
103713 # include <assert.h>
103714 #endif
103716 #undef $ac_func
103718 /* Override any gcc2 internal prototype to avoid an error. */
103719 #ifdef __cplusplus
103720 extern "C"
103722 #endif
103723 /* We use char because int might match the return type of a gcc2
103724 builtin and then its argument prototype would still apply. */
103725 char $ac_func ();
103726 /* The GNU C library defines this for functions which it implements
103727 to always fail with ENOSYS. Some functions are actually named
103728 something starting with __ and the normal name is an alias. */
103729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103730 choke me
103731 #else
103732 char (*f) () = $ac_func;
103733 #endif
103734 #ifdef __cplusplus
103736 #endif
103739 main ()
103741 return f != $ac_func;
103743 return 0;
103745 _ACEOF
103746 rm -f conftest.$ac_objext conftest$ac_exeext
103747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103748 (eval $ac_link) 2>conftest.er1
103749 ac_status=$?
103750 grep -v '^ *+' conftest.er1 >conftest.err
103751 rm -f conftest.er1
103752 cat conftest.err >&5
103753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103754 (exit $ac_status); } &&
103755 { ac_try='test -z "$ac_c_werror_flag"
103756 || test ! -s conftest.err'
103757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103758 (eval $ac_try) 2>&5
103759 ac_status=$?
103760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103761 (exit $ac_status); }; } &&
103762 { ac_try='test -s conftest$ac_exeext'
103763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103764 (eval $ac_try) 2>&5
103765 ac_status=$?
103766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103767 (exit $ac_status); }; }; then
103768 eval "$as_ac_var=yes"
103770 echo "$as_me: failed program was:" >&5
103771 sed 's/^/| /' conftest.$ac_ext >&5
103773 eval "$as_ac_var=no"
103775 rm -f conftest.err conftest.$ac_objext \
103776 conftest$ac_exeext conftest.$ac_ext
103778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103780 if test `eval echo '${'$as_ac_var'}'` = yes; then
103781 cat >>confdefs.h <<_ACEOF
103782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103783 _ACEOF
103796 echo "$as_me:$LINENO: checking for powl declaration" >&5
103797 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103798 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103799 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103800 echo $ECHO_N "(cached) $ECHO_C" >&6
103805 ac_ext=cc
103806 ac_cpp='$CXXCPP $CPPFLAGS'
103807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103811 cat >conftest.$ac_ext <<_ACEOF
103812 /* confdefs.h. */
103813 _ACEOF
103814 cat confdefs.h >>conftest.$ac_ext
103815 cat >>conftest.$ac_ext <<_ACEOF
103816 /* end confdefs.h. */
103817 #include <math.h>
103819 main ()
103821 powl(0, 0);
103823 return 0;
103825 _ACEOF
103826 rm -f conftest.$ac_objext
103827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103828 (eval $ac_compile) 2>conftest.er1
103829 ac_status=$?
103830 grep -v '^ *+' conftest.er1 >conftest.err
103831 rm -f conftest.er1
103832 cat conftest.err >&5
103833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103834 (exit $ac_status); } &&
103835 { ac_try='test -z "$ac_cxx_werror_flag"
103836 || test ! -s conftest.err'
103837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103838 (eval $ac_try) 2>&5
103839 ac_status=$?
103840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103841 (exit $ac_status); }; } &&
103842 { ac_try='test -s conftest.$ac_objext'
103843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103844 (eval $ac_try) 2>&5
103845 ac_status=$?
103846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103847 (exit $ac_status); }; }; then
103848 glibcxx_cv_func_powl_use=yes
103850 echo "$as_me: failed program was:" >&5
103851 sed 's/^/| /' conftest.$ac_ext >&5
103853 glibcxx_cv_func_powl_use=no
103855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103856 ac_ext=c
103857 ac_cpp='$CPP $CPPFLAGS'
103858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103867 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103869 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103871 for ac_func in powl
103873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103874 echo "$as_me:$LINENO: checking for $ac_func" >&5
103875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103876 if eval "test \"\${$as_ac_var+set}\" = set"; then
103877 echo $ECHO_N "(cached) $ECHO_C" >&6
103879 if test x$gcc_no_link = xyes; then
103880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103882 { (exit 1); exit 1; }; }
103884 cat >conftest.$ac_ext <<_ACEOF
103885 /* confdefs.h. */
103886 _ACEOF
103887 cat confdefs.h >>conftest.$ac_ext
103888 cat >>conftest.$ac_ext <<_ACEOF
103889 /* end confdefs.h. */
103890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103892 #define $ac_func innocuous_$ac_func
103894 /* System header to define __stub macros and hopefully few prototypes,
103895 which can conflict with char $ac_func (); below.
103896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103897 <limits.h> exists even on freestanding compilers. */
103899 #ifdef __STDC__
103900 # include <limits.h>
103901 #else
103902 # include <assert.h>
103903 #endif
103905 #undef $ac_func
103907 /* Override any gcc2 internal prototype to avoid an error. */
103908 #ifdef __cplusplus
103909 extern "C"
103911 #endif
103912 /* We use char because int might match the return type of a gcc2
103913 builtin and then its argument prototype would still apply. */
103914 char $ac_func ();
103915 /* The GNU C library defines this for functions which it implements
103916 to always fail with ENOSYS. Some functions are actually named
103917 something starting with __ and the normal name is an alias. */
103918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103919 choke me
103920 #else
103921 char (*f) () = $ac_func;
103922 #endif
103923 #ifdef __cplusplus
103925 #endif
103928 main ()
103930 return f != $ac_func;
103932 return 0;
103934 _ACEOF
103935 rm -f conftest.$ac_objext conftest$ac_exeext
103936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103937 (eval $ac_link) 2>conftest.er1
103938 ac_status=$?
103939 grep -v '^ *+' conftest.er1 >conftest.err
103940 rm -f conftest.er1
103941 cat conftest.err >&5
103942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103943 (exit $ac_status); } &&
103944 { ac_try='test -z "$ac_c_werror_flag"
103945 || test ! -s conftest.err'
103946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103947 (eval $ac_try) 2>&5
103948 ac_status=$?
103949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103950 (exit $ac_status); }; } &&
103951 { ac_try='test -s conftest$ac_exeext'
103952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103953 (eval $ac_try) 2>&5
103954 ac_status=$?
103955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103956 (exit $ac_status); }; }; then
103957 eval "$as_ac_var=yes"
103959 echo "$as_me: failed program was:" >&5
103960 sed 's/^/| /' conftest.$ac_ext >&5
103962 eval "$as_ac_var=no"
103964 rm -f conftest.err conftest.$ac_objext \
103965 conftest$ac_exeext conftest.$ac_ext
103967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103969 if test `eval echo '${'$as_ac_var'}'` = yes; then
103970 cat >>confdefs.h <<_ACEOF
103971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103972 _ACEOF
103979 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103980 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103981 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103982 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103983 echo $ECHO_N "(cached) $ECHO_C" >&6
103988 ac_ext=cc
103989 ac_cpp='$CXXCPP $CPPFLAGS'
103990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103994 cat >conftest.$ac_ext <<_ACEOF
103995 /* confdefs.h. */
103996 _ACEOF
103997 cat confdefs.h >>conftest.$ac_ext
103998 cat >>conftest.$ac_ext <<_ACEOF
103999 /* end confdefs.h. */
104000 #include <math.h>
104002 main ()
104004 _powl(0, 0);
104006 return 0;
104008 _ACEOF
104009 rm -f conftest.$ac_objext
104010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104011 (eval $ac_compile) 2>conftest.er1
104012 ac_status=$?
104013 grep -v '^ *+' conftest.er1 >conftest.err
104014 rm -f conftest.er1
104015 cat conftest.err >&5
104016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104017 (exit $ac_status); } &&
104018 { ac_try='test -z "$ac_cxx_werror_flag"
104019 || test ! -s conftest.err'
104020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104021 (eval $ac_try) 2>&5
104022 ac_status=$?
104023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104024 (exit $ac_status); }; } &&
104025 { ac_try='test -s conftest.$ac_objext'
104026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104027 (eval $ac_try) 2>&5
104028 ac_status=$?
104029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104030 (exit $ac_status); }; }; then
104031 glibcxx_cv_func__powl_use=yes
104033 echo "$as_me: failed program was:" >&5
104034 sed 's/^/| /' conftest.$ac_ext >&5
104036 glibcxx_cv_func__powl_use=no
104038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104039 ac_ext=c
104040 ac_cpp='$CPP $CPPFLAGS'
104041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104050 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104052 if test x$glibcxx_cv_func__powl_use = x"yes"; then
104054 for ac_func in _powl
104056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104057 echo "$as_me:$LINENO: checking for $ac_func" >&5
104058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104059 if eval "test \"\${$as_ac_var+set}\" = set"; then
104060 echo $ECHO_N "(cached) $ECHO_C" >&6
104062 if test x$gcc_no_link = xyes; then
104063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104065 { (exit 1); exit 1; }; }
104067 cat >conftest.$ac_ext <<_ACEOF
104068 /* confdefs.h. */
104069 _ACEOF
104070 cat confdefs.h >>conftest.$ac_ext
104071 cat >>conftest.$ac_ext <<_ACEOF
104072 /* end confdefs.h. */
104073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104075 #define $ac_func innocuous_$ac_func
104077 /* System header to define __stub macros and hopefully few prototypes,
104078 which can conflict with char $ac_func (); below.
104079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104080 <limits.h> exists even on freestanding compilers. */
104082 #ifdef __STDC__
104083 # include <limits.h>
104084 #else
104085 # include <assert.h>
104086 #endif
104088 #undef $ac_func
104090 /* Override any gcc2 internal prototype to avoid an error. */
104091 #ifdef __cplusplus
104092 extern "C"
104094 #endif
104095 /* We use char because int might match the return type of a gcc2
104096 builtin and then its argument prototype would still apply. */
104097 char $ac_func ();
104098 /* The GNU C library defines this for functions which it implements
104099 to always fail with ENOSYS. Some functions are actually named
104100 something starting with __ and the normal name is an alias. */
104101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104102 choke me
104103 #else
104104 char (*f) () = $ac_func;
104105 #endif
104106 #ifdef __cplusplus
104108 #endif
104111 main ()
104113 return f != $ac_func;
104115 return 0;
104117 _ACEOF
104118 rm -f conftest.$ac_objext conftest$ac_exeext
104119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104120 (eval $ac_link) 2>conftest.er1
104121 ac_status=$?
104122 grep -v '^ *+' conftest.er1 >conftest.err
104123 rm -f conftest.er1
104124 cat conftest.err >&5
104125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104126 (exit $ac_status); } &&
104127 { ac_try='test -z "$ac_c_werror_flag"
104128 || test ! -s conftest.err'
104129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104130 (eval $ac_try) 2>&5
104131 ac_status=$?
104132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104133 (exit $ac_status); }; } &&
104134 { ac_try='test -s conftest$ac_exeext'
104135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104136 (eval $ac_try) 2>&5
104137 ac_status=$?
104138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104139 (exit $ac_status); }; }; then
104140 eval "$as_ac_var=yes"
104142 echo "$as_me: failed program was:" >&5
104143 sed 's/^/| /' conftest.$ac_ext >&5
104145 eval "$as_ac_var=no"
104147 rm -f conftest.err conftest.$ac_objext \
104148 conftest$ac_exeext conftest.$ac_ext
104150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104152 if test `eval echo '${'$as_ac_var'}'` = yes; then
104153 cat >>confdefs.h <<_ACEOF
104154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104155 _ACEOF
104168 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104169 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104170 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104171 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104172 echo $ECHO_N "(cached) $ECHO_C" >&6
104177 ac_ext=cc
104178 ac_cpp='$CXXCPP $CPPFLAGS'
104179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104183 cat >conftest.$ac_ext <<_ACEOF
104184 /* confdefs.h. */
104185 _ACEOF
104186 cat confdefs.h >>conftest.$ac_ext
104187 cat >>conftest.$ac_ext <<_ACEOF
104188 /* end confdefs.h. */
104189 #include <math.h>
104190 #ifdef HAVE_IEEEFP_H
104191 #include <ieeefp.h>
104192 #endif
104195 main ()
104197 sqrtl(0);
104199 return 0;
104201 _ACEOF
104202 rm -f conftest.$ac_objext
104203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104204 (eval $ac_compile) 2>conftest.er1
104205 ac_status=$?
104206 grep -v '^ *+' conftest.er1 >conftest.err
104207 rm -f conftest.er1
104208 cat conftest.err >&5
104209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104210 (exit $ac_status); } &&
104211 { ac_try='test -z "$ac_cxx_werror_flag"
104212 || test ! -s conftest.err'
104213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104214 (eval $ac_try) 2>&5
104215 ac_status=$?
104216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104217 (exit $ac_status); }; } &&
104218 { ac_try='test -s conftest.$ac_objext'
104219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104220 (eval $ac_try) 2>&5
104221 ac_status=$?
104222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104223 (exit $ac_status); }; }; then
104224 glibcxx_cv_func_sqrtl_use=yes
104226 echo "$as_me: failed program was:" >&5
104227 sed 's/^/| /' conftest.$ac_ext >&5
104229 glibcxx_cv_func_sqrtl_use=no
104231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104232 ac_ext=c
104233 ac_cpp='$CPP $CPPFLAGS'
104234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104243 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104245 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104247 for ac_func in sqrtl
104249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104250 echo "$as_me:$LINENO: checking for $ac_func" >&5
104251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104252 if eval "test \"\${$as_ac_var+set}\" = set"; then
104253 echo $ECHO_N "(cached) $ECHO_C" >&6
104255 if test x$gcc_no_link = xyes; then
104256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104258 { (exit 1); exit 1; }; }
104260 cat >conftest.$ac_ext <<_ACEOF
104261 /* confdefs.h. */
104262 _ACEOF
104263 cat confdefs.h >>conftest.$ac_ext
104264 cat >>conftest.$ac_ext <<_ACEOF
104265 /* end confdefs.h. */
104266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104268 #define $ac_func innocuous_$ac_func
104270 /* System header to define __stub macros and hopefully few prototypes,
104271 which can conflict with char $ac_func (); below.
104272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104273 <limits.h> exists even on freestanding compilers. */
104275 #ifdef __STDC__
104276 # include <limits.h>
104277 #else
104278 # include <assert.h>
104279 #endif
104281 #undef $ac_func
104283 /* Override any gcc2 internal prototype to avoid an error. */
104284 #ifdef __cplusplus
104285 extern "C"
104287 #endif
104288 /* We use char because int might match the return type of a gcc2
104289 builtin and then its argument prototype would still apply. */
104290 char $ac_func ();
104291 /* The GNU C library defines this for functions which it implements
104292 to always fail with ENOSYS. Some functions are actually named
104293 something starting with __ and the normal name is an alias. */
104294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104295 choke me
104296 #else
104297 char (*f) () = $ac_func;
104298 #endif
104299 #ifdef __cplusplus
104301 #endif
104304 main ()
104306 return f != $ac_func;
104308 return 0;
104310 _ACEOF
104311 rm -f conftest.$ac_objext conftest$ac_exeext
104312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104313 (eval $ac_link) 2>conftest.er1
104314 ac_status=$?
104315 grep -v '^ *+' conftest.er1 >conftest.err
104316 rm -f conftest.er1
104317 cat conftest.err >&5
104318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104319 (exit $ac_status); } &&
104320 { ac_try='test -z "$ac_c_werror_flag"
104321 || test ! -s conftest.err'
104322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104323 (eval $ac_try) 2>&5
104324 ac_status=$?
104325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104326 (exit $ac_status); }; } &&
104327 { ac_try='test -s conftest$ac_exeext'
104328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104329 (eval $ac_try) 2>&5
104330 ac_status=$?
104331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104332 (exit $ac_status); }; }; then
104333 eval "$as_ac_var=yes"
104335 echo "$as_me: failed program was:" >&5
104336 sed 's/^/| /' conftest.$ac_ext >&5
104338 eval "$as_ac_var=no"
104340 rm -f conftest.err conftest.$ac_objext \
104341 conftest$ac_exeext conftest.$ac_ext
104343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104345 if test `eval echo '${'$as_ac_var'}'` = yes; then
104346 cat >>confdefs.h <<_ACEOF
104347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104348 _ACEOF
104355 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104356 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104357 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104358 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104359 echo $ECHO_N "(cached) $ECHO_C" >&6
104364 ac_ext=cc
104365 ac_cpp='$CXXCPP $CPPFLAGS'
104366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104370 cat >conftest.$ac_ext <<_ACEOF
104371 /* confdefs.h. */
104372 _ACEOF
104373 cat confdefs.h >>conftest.$ac_ext
104374 cat >>conftest.$ac_ext <<_ACEOF
104375 /* end confdefs.h. */
104376 #include <math.h>
104377 #ifdef HAVE_IEEEFP_H
104378 #include <ieeefp.h>
104379 #endif
104382 main ()
104384 _sqrtl(0);
104386 return 0;
104388 _ACEOF
104389 rm -f conftest.$ac_objext
104390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104391 (eval $ac_compile) 2>conftest.er1
104392 ac_status=$?
104393 grep -v '^ *+' conftest.er1 >conftest.err
104394 rm -f conftest.er1
104395 cat conftest.err >&5
104396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104397 (exit $ac_status); } &&
104398 { ac_try='test -z "$ac_cxx_werror_flag"
104399 || test ! -s conftest.err'
104400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104401 (eval $ac_try) 2>&5
104402 ac_status=$?
104403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104404 (exit $ac_status); }; } &&
104405 { ac_try='test -s conftest.$ac_objext'
104406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104407 (eval $ac_try) 2>&5
104408 ac_status=$?
104409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104410 (exit $ac_status); }; }; then
104411 glibcxx_cv_func__sqrtl_use=yes
104413 echo "$as_me: failed program was:" >&5
104414 sed 's/^/| /' conftest.$ac_ext >&5
104416 glibcxx_cv_func__sqrtl_use=no
104418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104419 ac_ext=c
104420 ac_cpp='$CPP $CPPFLAGS'
104421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104430 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104432 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104434 for ac_func in _sqrtl
104436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104437 echo "$as_me:$LINENO: checking for $ac_func" >&5
104438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104439 if eval "test \"\${$as_ac_var+set}\" = set"; then
104440 echo $ECHO_N "(cached) $ECHO_C" >&6
104442 if test x$gcc_no_link = xyes; then
104443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104445 { (exit 1); exit 1; }; }
104447 cat >conftest.$ac_ext <<_ACEOF
104448 /* confdefs.h. */
104449 _ACEOF
104450 cat confdefs.h >>conftest.$ac_ext
104451 cat >>conftest.$ac_ext <<_ACEOF
104452 /* end confdefs.h. */
104453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104455 #define $ac_func innocuous_$ac_func
104457 /* System header to define __stub macros and hopefully few prototypes,
104458 which can conflict with char $ac_func (); below.
104459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104460 <limits.h> exists even on freestanding compilers. */
104462 #ifdef __STDC__
104463 # include <limits.h>
104464 #else
104465 # include <assert.h>
104466 #endif
104468 #undef $ac_func
104470 /* Override any gcc2 internal prototype to avoid an error. */
104471 #ifdef __cplusplus
104472 extern "C"
104474 #endif
104475 /* We use char because int might match the return type of a gcc2
104476 builtin and then its argument prototype would still apply. */
104477 char $ac_func ();
104478 /* The GNU C library defines this for functions which it implements
104479 to always fail with ENOSYS. Some functions are actually named
104480 something starting with __ and the normal name is an alias. */
104481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104482 choke me
104483 #else
104484 char (*f) () = $ac_func;
104485 #endif
104486 #ifdef __cplusplus
104488 #endif
104491 main ()
104493 return f != $ac_func;
104495 return 0;
104497 _ACEOF
104498 rm -f conftest.$ac_objext conftest$ac_exeext
104499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104500 (eval $ac_link) 2>conftest.er1
104501 ac_status=$?
104502 grep -v '^ *+' conftest.er1 >conftest.err
104503 rm -f conftest.er1
104504 cat conftest.err >&5
104505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104506 (exit $ac_status); } &&
104507 { ac_try='test -z "$ac_c_werror_flag"
104508 || test ! -s conftest.err'
104509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104510 (eval $ac_try) 2>&5
104511 ac_status=$?
104512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104513 (exit $ac_status); }; } &&
104514 { ac_try='test -s conftest$ac_exeext'
104515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104516 (eval $ac_try) 2>&5
104517 ac_status=$?
104518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104519 (exit $ac_status); }; }; then
104520 eval "$as_ac_var=yes"
104522 echo "$as_me: failed program was:" >&5
104523 sed 's/^/| /' conftest.$ac_ext >&5
104525 eval "$as_ac_var=no"
104527 rm -f conftest.err conftest.$ac_objext \
104528 conftest$ac_exeext conftest.$ac_ext
104530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104532 if test `eval echo '${'$as_ac_var'}'` = yes; then
104533 cat >>confdefs.h <<_ACEOF
104534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104535 _ACEOF
104548 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104549 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104550 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104551 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104552 echo $ECHO_N "(cached) $ECHO_C" >&6
104557 ac_ext=cc
104558 ac_cpp='$CXXCPP $CPPFLAGS'
104559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104563 cat >conftest.$ac_ext <<_ACEOF
104564 /* confdefs.h. */
104565 _ACEOF
104566 cat confdefs.h >>conftest.$ac_ext
104567 cat >>conftest.$ac_ext <<_ACEOF
104568 /* end confdefs.h. */
104569 #include <math.h>
104571 main ()
104573 sincosl(0, 0, 0);
104575 return 0;
104577 _ACEOF
104578 rm -f conftest.$ac_objext
104579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104580 (eval $ac_compile) 2>conftest.er1
104581 ac_status=$?
104582 grep -v '^ *+' conftest.er1 >conftest.err
104583 rm -f conftest.er1
104584 cat conftest.err >&5
104585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104586 (exit $ac_status); } &&
104587 { ac_try='test -z "$ac_cxx_werror_flag"
104588 || test ! -s conftest.err'
104589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104590 (eval $ac_try) 2>&5
104591 ac_status=$?
104592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104593 (exit $ac_status); }; } &&
104594 { ac_try='test -s conftest.$ac_objext'
104595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104596 (eval $ac_try) 2>&5
104597 ac_status=$?
104598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104599 (exit $ac_status); }; }; then
104600 glibcxx_cv_func_sincosl_use=yes
104602 echo "$as_me: failed program was:" >&5
104603 sed 's/^/| /' conftest.$ac_ext >&5
104605 glibcxx_cv_func_sincosl_use=no
104607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104608 ac_ext=c
104609 ac_cpp='$CPP $CPPFLAGS'
104610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104619 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104621 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104623 for ac_func in sincosl
104625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104626 echo "$as_me:$LINENO: checking for $ac_func" >&5
104627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104628 if eval "test \"\${$as_ac_var+set}\" = set"; then
104629 echo $ECHO_N "(cached) $ECHO_C" >&6
104631 if test x$gcc_no_link = xyes; then
104632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104634 { (exit 1); exit 1; }; }
104636 cat >conftest.$ac_ext <<_ACEOF
104637 /* confdefs.h. */
104638 _ACEOF
104639 cat confdefs.h >>conftest.$ac_ext
104640 cat >>conftest.$ac_ext <<_ACEOF
104641 /* end confdefs.h. */
104642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104644 #define $ac_func innocuous_$ac_func
104646 /* System header to define __stub macros and hopefully few prototypes,
104647 which can conflict with char $ac_func (); below.
104648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104649 <limits.h> exists even on freestanding compilers. */
104651 #ifdef __STDC__
104652 # include <limits.h>
104653 #else
104654 # include <assert.h>
104655 #endif
104657 #undef $ac_func
104659 /* Override any gcc2 internal prototype to avoid an error. */
104660 #ifdef __cplusplus
104661 extern "C"
104663 #endif
104664 /* We use char because int might match the return type of a gcc2
104665 builtin and then its argument prototype would still apply. */
104666 char $ac_func ();
104667 /* The GNU C library defines this for functions which it implements
104668 to always fail with ENOSYS. Some functions are actually named
104669 something starting with __ and the normal name is an alias. */
104670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104671 choke me
104672 #else
104673 char (*f) () = $ac_func;
104674 #endif
104675 #ifdef __cplusplus
104677 #endif
104680 main ()
104682 return f != $ac_func;
104684 return 0;
104686 _ACEOF
104687 rm -f conftest.$ac_objext conftest$ac_exeext
104688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104689 (eval $ac_link) 2>conftest.er1
104690 ac_status=$?
104691 grep -v '^ *+' conftest.er1 >conftest.err
104692 rm -f conftest.er1
104693 cat conftest.err >&5
104694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104695 (exit $ac_status); } &&
104696 { ac_try='test -z "$ac_c_werror_flag"
104697 || test ! -s conftest.err'
104698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104699 (eval $ac_try) 2>&5
104700 ac_status=$?
104701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104702 (exit $ac_status); }; } &&
104703 { ac_try='test -s conftest$ac_exeext'
104704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104705 (eval $ac_try) 2>&5
104706 ac_status=$?
104707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104708 (exit $ac_status); }; }; then
104709 eval "$as_ac_var=yes"
104711 echo "$as_me: failed program was:" >&5
104712 sed 's/^/| /' conftest.$ac_ext >&5
104714 eval "$as_ac_var=no"
104716 rm -f conftest.err conftest.$ac_objext \
104717 conftest$ac_exeext conftest.$ac_ext
104719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104721 if test `eval echo '${'$as_ac_var'}'` = yes; then
104722 cat >>confdefs.h <<_ACEOF
104723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104724 _ACEOF
104731 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104732 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104733 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104734 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104735 echo $ECHO_N "(cached) $ECHO_C" >&6
104740 ac_ext=cc
104741 ac_cpp='$CXXCPP $CPPFLAGS'
104742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104746 cat >conftest.$ac_ext <<_ACEOF
104747 /* confdefs.h. */
104748 _ACEOF
104749 cat confdefs.h >>conftest.$ac_ext
104750 cat >>conftest.$ac_ext <<_ACEOF
104751 /* end confdefs.h. */
104752 #include <math.h>
104754 main ()
104756 _sincosl(0, 0, 0);
104758 return 0;
104760 _ACEOF
104761 rm -f conftest.$ac_objext
104762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104763 (eval $ac_compile) 2>conftest.er1
104764 ac_status=$?
104765 grep -v '^ *+' conftest.er1 >conftest.err
104766 rm -f conftest.er1
104767 cat conftest.err >&5
104768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104769 (exit $ac_status); } &&
104770 { ac_try='test -z "$ac_cxx_werror_flag"
104771 || test ! -s conftest.err'
104772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104773 (eval $ac_try) 2>&5
104774 ac_status=$?
104775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104776 (exit $ac_status); }; } &&
104777 { ac_try='test -s conftest.$ac_objext'
104778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104779 (eval $ac_try) 2>&5
104780 ac_status=$?
104781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104782 (exit $ac_status); }; }; then
104783 glibcxx_cv_func__sincosl_use=yes
104785 echo "$as_me: failed program was:" >&5
104786 sed 's/^/| /' conftest.$ac_ext >&5
104788 glibcxx_cv_func__sincosl_use=no
104790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104791 ac_ext=c
104792 ac_cpp='$CPP $CPPFLAGS'
104793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104802 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104804 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104806 for ac_func in _sincosl
104808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104809 echo "$as_me:$LINENO: checking for $ac_func" >&5
104810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104811 if eval "test \"\${$as_ac_var+set}\" = set"; then
104812 echo $ECHO_N "(cached) $ECHO_C" >&6
104814 if test x$gcc_no_link = xyes; then
104815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104817 { (exit 1); exit 1; }; }
104819 cat >conftest.$ac_ext <<_ACEOF
104820 /* confdefs.h. */
104821 _ACEOF
104822 cat confdefs.h >>conftest.$ac_ext
104823 cat >>conftest.$ac_ext <<_ACEOF
104824 /* end confdefs.h. */
104825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104827 #define $ac_func innocuous_$ac_func
104829 /* System header to define __stub macros and hopefully few prototypes,
104830 which can conflict with char $ac_func (); below.
104831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104832 <limits.h> exists even on freestanding compilers. */
104834 #ifdef __STDC__
104835 # include <limits.h>
104836 #else
104837 # include <assert.h>
104838 #endif
104840 #undef $ac_func
104842 /* Override any gcc2 internal prototype to avoid an error. */
104843 #ifdef __cplusplus
104844 extern "C"
104846 #endif
104847 /* We use char because int might match the return type of a gcc2
104848 builtin and then its argument prototype would still apply. */
104849 char $ac_func ();
104850 /* The GNU C library defines this for functions which it implements
104851 to always fail with ENOSYS. Some functions are actually named
104852 something starting with __ and the normal name is an alias. */
104853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104854 choke me
104855 #else
104856 char (*f) () = $ac_func;
104857 #endif
104858 #ifdef __cplusplus
104860 #endif
104863 main ()
104865 return f != $ac_func;
104867 return 0;
104869 _ACEOF
104870 rm -f conftest.$ac_objext conftest$ac_exeext
104871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104872 (eval $ac_link) 2>conftest.er1
104873 ac_status=$?
104874 grep -v '^ *+' conftest.er1 >conftest.err
104875 rm -f conftest.er1
104876 cat conftest.err >&5
104877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104878 (exit $ac_status); } &&
104879 { ac_try='test -z "$ac_c_werror_flag"
104880 || test ! -s conftest.err'
104881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104882 (eval $ac_try) 2>&5
104883 ac_status=$?
104884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104885 (exit $ac_status); }; } &&
104886 { ac_try='test -s conftest$ac_exeext'
104887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104888 (eval $ac_try) 2>&5
104889 ac_status=$?
104890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104891 (exit $ac_status); }; }; then
104892 eval "$as_ac_var=yes"
104894 echo "$as_me: failed program was:" >&5
104895 sed 's/^/| /' conftest.$ac_ext >&5
104897 eval "$as_ac_var=no"
104899 rm -f conftest.err conftest.$ac_objext \
104900 conftest$ac_exeext conftest.$ac_ext
104902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104904 if test `eval echo '${'$as_ac_var'}'` = yes; then
104905 cat >>confdefs.h <<_ACEOF
104906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104907 _ACEOF
104920 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104921 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104922 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104923 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104924 echo $ECHO_N "(cached) $ECHO_C" >&6
104929 ac_ext=cc
104930 ac_cpp='$CXXCPP $CPPFLAGS'
104931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104935 cat >conftest.$ac_ext <<_ACEOF
104936 /* confdefs.h. */
104937 _ACEOF
104938 cat confdefs.h >>conftest.$ac_ext
104939 cat >>conftest.$ac_ext <<_ACEOF
104940 /* end confdefs.h. */
104941 #include <math.h>
104942 #ifdef HAVE_IEEEFP_H
104943 #include <ieeefp.h>
104944 #endif
104947 main ()
104949 finitel(0);
104951 return 0;
104953 _ACEOF
104954 rm -f conftest.$ac_objext
104955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104956 (eval $ac_compile) 2>conftest.er1
104957 ac_status=$?
104958 grep -v '^ *+' conftest.er1 >conftest.err
104959 rm -f conftest.er1
104960 cat conftest.err >&5
104961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104962 (exit $ac_status); } &&
104963 { ac_try='test -z "$ac_cxx_werror_flag"
104964 || test ! -s conftest.err'
104965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104966 (eval $ac_try) 2>&5
104967 ac_status=$?
104968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104969 (exit $ac_status); }; } &&
104970 { ac_try='test -s conftest.$ac_objext'
104971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104972 (eval $ac_try) 2>&5
104973 ac_status=$?
104974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104975 (exit $ac_status); }; }; then
104976 glibcxx_cv_func_finitel_use=yes
104978 echo "$as_me: failed program was:" >&5
104979 sed 's/^/| /' conftest.$ac_ext >&5
104981 glibcxx_cv_func_finitel_use=no
104983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104984 ac_ext=c
104985 ac_cpp='$CPP $CPPFLAGS'
104986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104995 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104997 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104999 for ac_func in finitel
105001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105002 echo "$as_me:$LINENO: checking for $ac_func" >&5
105003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105004 if eval "test \"\${$as_ac_var+set}\" = set"; then
105005 echo $ECHO_N "(cached) $ECHO_C" >&6
105007 if test x$gcc_no_link = xyes; then
105008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105010 { (exit 1); exit 1; }; }
105012 cat >conftest.$ac_ext <<_ACEOF
105013 /* confdefs.h. */
105014 _ACEOF
105015 cat confdefs.h >>conftest.$ac_ext
105016 cat >>conftest.$ac_ext <<_ACEOF
105017 /* end confdefs.h. */
105018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105020 #define $ac_func innocuous_$ac_func
105022 /* System header to define __stub macros and hopefully few prototypes,
105023 which can conflict with char $ac_func (); below.
105024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105025 <limits.h> exists even on freestanding compilers. */
105027 #ifdef __STDC__
105028 # include <limits.h>
105029 #else
105030 # include <assert.h>
105031 #endif
105033 #undef $ac_func
105035 /* Override any gcc2 internal prototype to avoid an error. */
105036 #ifdef __cplusplus
105037 extern "C"
105039 #endif
105040 /* We use char because int might match the return type of a gcc2
105041 builtin and then its argument prototype would still apply. */
105042 char $ac_func ();
105043 /* The GNU C library defines this for functions which it implements
105044 to always fail with ENOSYS. Some functions are actually named
105045 something starting with __ and the normal name is an alias. */
105046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105047 choke me
105048 #else
105049 char (*f) () = $ac_func;
105050 #endif
105051 #ifdef __cplusplus
105053 #endif
105056 main ()
105058 return f != $ac_func;
105060 return 0;
105062 _ACEOF
105063 rm -f conftest.$ac_objext conftest$ac_exeext
105064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105065 (eval $ac_link) 2>conftest.er1
105066 ac_status=$?
105067 grep -v '^ *+' conftest.er1 >conftest.err
105068 rm -f conftest.er1
105069 cat conftest.err >&5
105070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105071 (exit $ac_status); } &&
105072 { ac_try='test -z "$ac_c_werror_flag"
105073 || test ! -s conftest.err'
105074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105075 (eval $ac_try) 2>&5
105076 ac_status=$?
105077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105078 (exit $ac_status); }; } &&
105079 { ac_try='test -s conftest$ac_exeext'
105080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105081 (eval $ac_try) 2>&5
105082 ac_status=$?
105083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105084 (exit $ac_status); }; }; then
105085 eval "$as_ac_var=yes"
105087 echo "$as_me: failed program was:" >&5
105088 sed 's/^/| /' conftest.$ac_ext >&5
105090 eval "$as_ac_var=no"
105092 rm -f conftest.err conftest.$ac_objext \
105093 conftest$ac_exeext conftest.$ac_ext
105095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105097 if test `eval echo '${'$as_ac_var'}'` = yes; then
105098 cat >>confdefs.h <<_ACEOF
105099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105100 _ACEOF
105107 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105108 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105109 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105110 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105111 echo $ECHO_N "(cached) $ECHO_C" >&6
105116 ac_ext=cc
105117 ac_cpp='$CXXCPP $CPPFLAGS'
105118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105122 cat >conftest.$ac_ext <<_ACEOF
105123 /* confdefs.h. */
105124 _ACEOF
105125 cat confdefs.h >>conftest.$ac_ext
105126 cat >>conftest.$ac_ext <<_ACEOF
105127 /* end confdefs.h. */
105128 #include <math.h>
105129 #ifdef HAVE_IEEEFP_H
105130 #include <ieeefp.h>
105131 #endif
105134 main ()
105136 _finitel(0);
105138 return 0;
105140 _ACEOF
105141 rm -f conftest.$ac_objext
105142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105143 (eval $ac_compile) 2>conftest.er1
105144 ac_status=$?
105145 grep -v '^ *+' conftest.er1 >conftest.err
105146 rm -f conftest.er1
105147 cat conftest.err >&5
105148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105149 (exit $ac_status); } &&
105150 { ac_try='test -z "$ac_cxx_werror_flag"
105151 || test ! -s conftest.err'
105152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105153 (eval $ac_try) 2>&5
105154 ac_status=$?
105155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105156 (exit $ac_status); }; } &&
105157 { ac_try='test -s conftest.$ac_objext'
105158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105159 (eval $ac_try) 2>&5
105160 ac_status=$?
105161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105162 (exit $ac_status); }; }; then
105163 glibcxx_cv_func__finitel_use=yes
105165 echo "$as_me: failed program was:" >&5
105166 sed 's/^/| /' conftest.$ac_ext >&5
105168 glibcxx_cv_func__finitel_use=no
105170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105171 ac_ext=c
105172 ac_cpp='$CPP $CPPFLAGS'
105173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105182 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105184 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105186 for ac_func in _finitel
105188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105189 echo "$as_me:$LINENO: checking for $ac_func" >&5
105190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105191 if eval "test \"\${$as_ac_var+set}\" = set"; then
105192 echo $ECHO_N "(cached) $ECHO_C" >&6
105194 if test x$gcc_no_link = xyes; then
105195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105197 { (exit 1); exit 1; }; }
105199 cat >conftest.$ac_ext <<_ACEOF
105200 /* confdefs.h. */
105201 _ACEOF
105202 cat confdefs.h >>conftest.$ac_ext
105203 cat >>conftest.$ac_ext <<_ACEOF
105204 /* end confdefs.h. */
105205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105207 #define $ac_func innocuous_$ac_func
105209 /* System header to define __stub macros and hopefully few prototypes,
105210 which can conflict with char $ac_func (); below.
105211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105212 <limits.h> exists even on freestanding compilers. */
105214 #ifdef __STDC__
105215 # include <limits.h>
105216 #else
105217 # include <assert.h>
105218 #endif
105220 #undef $ac_func
105222 /* Override any gcc2 internal prototype to avoid an error. */
105223 #ifdef __cplusplus
105224 extern "C"
105226 #endif
105227 /* We use char because int might match the return type of a gcc2
105228 builtin and then its argument prototype would still apply. */
105229 char $ac_func ();
105230 /* The GNU C library defines this for functions which it implements
105231 to always fail with ENOSYS. Some functions are actually named
105232 something starting with __ and the normal name is an alias. */
105233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105234 choke me
105235 #else
105236 char (*f) () = $ac_func;
105237 #endif
105238 #ifdef __cplusplus
105240 #endif
105243 main ()
105245 return f != $ac_func;
105247 return 0;
105249 _ACEOF
105250 rm -f conftest.$ac_objext conftest$ac_exeext
105251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105252 (eval $ac_link) 2>conftest.er1
105253 ac_status=$?
105254 grep -v '^ *+' conftest.er1 >conftest.err
105255 rm -f conftest.er1
105256 cat conftest.err >&5
105257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105258 (exit $ac_status); } &&
105259 { ac_try='test -z "$ac_c_werror_flag"
105260 || test ! -s conftest.err'
105261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105262 (eval $ac_try) 2>&5
105263 ac_status=$?
105264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105265 (exit $ac_status); }; } &&
105266 { ac_try='test -s conftest$ac_exeext'
105267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105268 (eval $ac_try) 2>&5
105269 ac_status=$?
105270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105271 (exit $ac_status); }; }; then
105272 eval "$as_ac_var=yes"
105274 echo "$as_me: failed program was:" >&5
105275 sed 's/^/| /' conftest.$ac_ext >&5
105277 eval "$as_ac_var=no"
105279 rm -f conftest.err conftest.$ac_objext \
105280 conftest$ac_exeext conftest.$ac_ext
105282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105284 if test `eval echo '${'$as_ac_var'}'` = yes; then
105285 cat >>confdefs.h <<_ACEOF
105286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105287 _ACEOF
105299 LIBS="$ac_save_LIBS"
105300 CXXFLAGS="$ac_save_CXXFLAGS"
105304 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105305 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105306 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105307 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105308 echo $ECHO_N "(cached) $ECHO_C" >&6
105313 ac_ext=cc
105314 ac_cpp='$CXXCPP $CPPFLAGS'
105315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105319 cat >conftest.$ac_ext <<_ACEOF
105320 /* confdefs.h. */
105321 _ACEOF
105322 cat confdefs.h >>conftest.$ac_ext
105323 cat >>conftest.$ac_ext <<_ACEOF
105324 /* end confdefs.h. */
105325 #include <math.h>
105327 main ()
105329 __builtin_abs(0);
105331 return 0;
105333 _ACEOF
105334 rm -f conftest.$ac_objext
105335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105336 (eval $ac_compile) 2>conftest.er1
105337 ac_status=$?
105338 grep -v '^ *+' conftest.er1 >conftest.err
105339 rm -f conftest.er1
105340 cat conftest.err >&5
105341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105342 (exit $ac_status); } &&
105343 { ac_try='test -z "$ac_cxx_werror_flag"
105344 || test ! -s conftest.err'
105345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105346 (eval $ac_try) 2>&5
105347 ac_status=$?
105348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105349 (exit $ac_status); }; } &&
105350 { ac_try='test -s conftest.$ac_objext'
105351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105352 (eval $ac_try) 2>&5
105353 ac_status=$?
105354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105355 (exit $ac_status); }; }; then
105356 glibcxx_cv_func___builtin_abs_use=yes
105358 echo "$as_me: failed program was:" >&5
105359 sed 's/^/| /' conftest.$ac_ext >&5
105361 glibcxx_cv_func___builtin_abs_use=no
105363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105364 ac_ext=c
105365 ac_cpp='$CPP $CPPFLAGS'
105366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105375 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105376 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105377 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105378 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105379 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105380 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105381 echo $ECHO_N "(cached) $ECHO_C" >&6
105384 if test x$gcc_no_link = xyes; then
105385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105387 { (exit 1); exit 1; }; }
105389 cat >conftest.$ac_ext <<_ACEOF
105390 /* confdefs.h. */
105391 _ACEOF
105392 cat confdefs.h >>conftest.$ac_ext
105393 cat >>conftest.$ac_ext <<_ACEOF
105394 /* end confdefs.h. */
105395 #include <math.h>
105397 main ()
105399 __builtin_abs(0);
105401 return 0;
105403 _ACEOF
105404 rm -f conftest.$ac_objext conftest$ac_exeext
105405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105406 (eval $ac_link) 2>conftest.er1
105407 ac_status=$?
105408 grep -v '^ *+' conftest.er1 >conftest.err
105409 rm -f conftest.er1
105410 cat conftest.err >&5
105411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105412 (exit $ac_status); } &&
105413 { ac_try='test -z "$ac_c_werror_flag"
105414 || test ! -s conftest.err'
105415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105416 (eval $ac_try) 2>&5
105417 ac_status=$?
105418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105419 (exit $ac_status); }; } &&
105420 { ac_try='test -s conftest$ac_exeext'
105421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105422 (eval $ac_try) 2>&5
105423 ac_status=$?
105424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105425 (exit $ac_status); }; }; then
105426 glibcxx_cv_func___builtin_abs_link=yes
105428 echo "$as_me: failed program was:" >&5
105429 sed 's/^/| /' conftest.$ac_ext >&5
105431 glibcxx_cv_func___builtin_abs_link=no
105433 rm -f conftest.err conftest.$ac_objext \
105434 conftest$ac_exeext conftest.$ac_ext
105439 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105440 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105442 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105444 cat >>confdefs.h <<\_ACEOF
105445 #define HAVE___BUILTIN_ABS 1
105446 _ACEOF
105453 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105454 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105455 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105456 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105457 echo $ECHO_N "(cached) $ECHO_C" >&6
105462 ac_ext=cc
105463 ac_cpp='$CXXCPP $CPPFLAGS'
105464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105468 cat >conftest.$ac_ext <<_ACEOF
105469 /* confdefs.h. */
105470 _ACEOF
105471 cat confdefs.h >>conftest.$ac_ext
105472 cat >>conftest.$ac_ext <<_ACEOF
105473 /* end confdefs.h. */
105474 #include <math.h>
105476 main ()
105478 __builtin_fabsf(0);
105480 return 0;
105482 _ACEOF
105483 rm -f conftest.$ac_objext
105484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105485 (eval $ac_compile) 2>conftest.er1
105486 ac_status=$?
105487 grep -v '^ *+' conftest.er1 >conftest.err
105488 rm -f conftest.er1
105489 cat conftest.err >&5
105490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105491 (exit $ac_status); } &&
105492 { ac_try='test -z "$ac_cxx_werror_flag"
105493 || test ! -s conftest.err'
105494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105495 (eval $ac_try) 2>&5
105496 ac_status=$?
105497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105498 (exit $ac_status); }; } &&
105499 { ac_try='test -s conftest.$ac_objext'
105500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105501 (eval $ac_try) 2>&5
105502 ac_status=$?
105503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105504 (exit $ac_status); }; }; then
105505 glibcxx_cv_func___builtin_fabsf_use=yes
105507 echo "$as_me: failed program was:" >&5
105508 sed 's/^/| /' conftest.$ac_ext >&5
105510 glibcxx_cv_func___builtin_fabsf_use=no
105512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105513 ac_ext=c
105514 ac_cpp='$CPP $CPPFLAGS'
105515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105524 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105525 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105526 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105527 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105528 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105529 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105530 echo $ECHO_N "(cached) $ECHO_C" >&6
105533 if test x$gcc_no_link = xyes; then
105534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105536 { (exit 1); exit 1; }; }
105538 cat >conftest.$ac_ext <<_ACEOF
105539 /* confdefs.h. */
105540 _ACEOF
105541 cat confdefs.h >>conftest.$ac_ext
105542 cat >>conftest.$ac_ext <<_ACEOF
105543 /* end confdefs.h. */
105544 #include <math.h>
105546 main ()
105548 __builtin_fabsf(0);
105550 return 0;
105552 _ACEOF
105553 rm -f conftest.$ac_objext conftest$ac_exeext
105554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105555 (eval $ac_link) 2>conftest.er1
105556 ac_status=$?
105557 grep -v '^ *+' conftest.er1 >conftest.err
105558 rm -f conftest.er1
105559 cat conftest.err >&5
105560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105561 (exit $ac_status); } &&
105562 { ac_try='test -z "$ac_c_werror_flag"
105563 || test ! -s conftest.err'
105564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105565 (eval $ac_try) 2>&5
105566 ac_status=$?
105567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105568 (exit $ac_status); }; } &&
105569 { ac_try='test -s conftest$ac_exeext'
105570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105571 (eval $ac_try) 2>&5
105572 ac_status=$?
105573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105574 (exit $ac_status); }; }; then
105575 glibcxx_cv_func___builtin_fabsf_link=yes
105577 echo "$as_me: failed program was:" >&5
105578 sed 's/^/| /' conftest.$ac_ext >&5
105580 glibcxx_cv_func___builtin_fabsf_link=no
105582 rm -f conftest.err conftest.$ac_objext \
105583 conftest$ac_exeext conftest.$ac_ext
105588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105589 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105591 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105593 cat >>confdefs.h <<\_ACEOF
105594 #define HAVE___BUILTIN_FABSF 1
105595 _ACEOF
105602 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105603 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105604 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105605 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105606 echo $ECHO_N "(cached) $ECHO_C" >&6
105611 ac_ext=cc
105612 ac_cpp='$CXXCPP $CPPFLAGS'
105613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105617 cat >conftest.$ac_ext <<_ACEOF
105618 /* confdefs.h. */
105619 _ACEOF
105620 cat confdefs.h >>conftest.$ac_ext
105621 cat >>conftest.$ac_ext <<_ACEOF
105622 /* end confdefs.h. */
105623 #include <math.h>
105625 main ()
105627 __builtin_fabs(0);
105629 return 0;
105631 _ACEOF
105632 rm -f conftest.$ac_objext
105633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105634 (eval $ac_compile) 2>conftest.er1
105635 ac_status=$?
105636 grep -v '^ *+' conftest.er1 >conftest.err
105637 rm -f conftest.er1
105638 cat conftest.err >&5
105639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105640 (exit $ac_status); } &&
105641 { ac_try='test -z "$ac_cxx_werror_flag"
105642 || test ! -s conftest.err'
105643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105644 (eval $ac_try) 2>&5
105645 ac_status=$?
105646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105647 (exit $ac_status); }; } &&
105648 { ac_try='test -s conftest.$ac_objext'
105649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105650 (eval $ac_try) 2>&5
105651 ac_status=$?
105652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105653 (exit $ac_status); }; }; then
105654 glibcxx_cv_func___builtin_fabs_use=yes
105656 echo "$as_me: failed program was:" >&5
105657 sed 's/^/| /' conftest.$ac_ext >&5
105659 glibcxx_cv_func___builtin_fabs_use=no
105661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105662 ac_ext=c
105663 ac_cpp='$CPP $CPPFLAGS'
105664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105672 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105673 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105674 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105675 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105676 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105677 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105678 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105679 echo $ECHO_N "(cached) $ECHO_C" >&6
105682 if test x$gcc_no_link = xyes; then
105683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105685 { (exit 1); exit 1; }; }
105687 cat >conftest.$ac_ext <<_ACEOF
105688 /* confdefs.h. */
105689 _ACEOF
105690 cat confdefs.h >>conftest.$ac_ext
105691 cat >>conftest.$ac_ext <<_ACEOF
105692 /* end confdefs.h. */
105693 #include <math.h>
105695 main ()
105697 __builtin_fabs(0);
105699 return 0;
105701 _ACEOF
105702 rm -f conftest.$ac_objext conftest$ac_exeext
105703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105704 (eval $ac_link) 2>conftest.er1
105705 ac_status=$?
105706 grep -v '^ *+' conftest.er1 >conftest.err
105707 rm -f conftest.er1
105708 cat conftest.err >&5
105709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105710 (exit $ac_status); } &&
105711 { ac_try='test -z "$ac_c_werror_flag"
105712 || test ! -s conftest.err'
105713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105714 (eval $ac_try) 2>&5
105715 ac_status=$?
105716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105717 (exit $ac_status); }; } &&
105718 { ac_try='test -s conftest$ac_exeext'
105719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105720 (eval $ac_try) 2>&5
105721 ac_status=$?
105722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105723 (exit $ac_status); }; }; then
105724 glibcxx_cv_func___builtin_fabs_link=yes
105726 echo "$as_me: failed program was:" >&5
105727 sed 's/^/| /' conftest.$ac_ext >&5
105729 glibcxx_cv_func___builtin_fabs_link=no
105731 rm -f conftest.err conftest.$ac_objext \
105732 conftest$ac_exeext conftest.$ac_ext
105737 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105738 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105740 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105742 cat >>confdefs.h <<\_ACEOF
105743 #define HAVE___BUILTIN_FABS 1
105744 _ACEOF
105751 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105752 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105753 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105754 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105755 echo $ECHO_N "(cached) $ECHO_C" >&6
105760 ac_ext=cc
105761 ac_cpp='$CXXCPP $CPPFLAGS'
105762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105766 cat >conftest.$ac_ext <<_ACEOF
105767 /* confdefs.h. */
105768 _ACEOF
105769 cat confdefs.h >>conftest.$ac_ext
105770 cat >>conftest.$ac_ext <<_ACEOF
105771 /* end confdefs.h. */
105772 #include <math.h>
105774 main ()
105776 __builtin_fabsl(0);
105778 return 0;
105780 _ACEOF
105781 rm -f conftest.$ac_objext
105782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105783 (eval $ac_compile) 2>conftest.er1
105784 ac_status=$?
105785 grep -v '^ *+' conftest.er1 >conftest.err
105786 rm -f conftest.er1
105787 cat conftest.err >&5
105788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105789 (exit $ac_status); } &&
105790 { ac_try='test -z "$ac_cxx_werror_flag"
105791 || test ! -s conftest.err'
105792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105793 (eval $ac_try) 2>&5
105794 ac_status=$?
105795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105796 (exit $ac_status); }; } &&
105797 { ac_try='test -s conftest.$ac_objext'
105798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105799 (eval $ac_try) 2>&5
105800 ac_status=$?
105801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105802 (exit $ac_status); }; }; then
105803 glibcxx_cv_func___builtin_fabsl_use=yes
105805 echo "$as_me: failed program was:" >&5
105806 sed 's/^/| /' conftest.$ac_ext >&5
105808 glibcxx_cv_func___builtin_fabsl_use=no
105810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105811 ac_ext=c
105812 ac_cpp='$CPP $CPPFLAGS'
105813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105821 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105822 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105823 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105824 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105825 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105826 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105827 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105828 echo $ECHO_N "(cached) $ECHO_C" >&6
105831 if test x$gcc_no_link = xyes; then
105832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105834 { (exit 1); exit 1; }; }
105836 cat >conftest.$ac_ext <<_ACEOF
105837 /* confdefs.h. */
105838 _ACEOF
105839 cat confdefs.h >>conftest.$ac_ext
105840 cat >>conftest.$ac_ext <<_ACEOF
105841 /* end confdefs.h. */
105842 #include <math.h>
105844 main ()
105846 __builtin_fabsl(0);
105848 return 0;
105850 _ACEOF
105851 rm -f conftest.$ac_objext conftest$ac_exeext
105852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105853 (eval $ac_link) 2>conftest.er1
105854 ac_status=$?
105855 grep -v '^ *+' conftest.er1 >conftest.err
105856 rm -f conftest.er1
105857 cat conftest.err >&5
105858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105859 (exit $ac_status); } &&
105860 { ac_try='test -z "$ac_c_werror_flag"
105861 || test ! -s conftest.err'
105862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105863 (eval $ac_try) 2>&5
105864 ac_status=$?
105865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105866 (exit $ac_status); }; } &&
105867 { ac_try='test -s conftest$ac_exeext'
105868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105869 (eval $ac_try) 2>&5
105870 ac_status=$?
105871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105872 (exit $ac_status); }; }; then
105873 glibcxx_cv_func___builtin_fabsl_link=yes
105875 echo "$as_me: failed program was:" >&5
105876 sed 's/^/| /' conftest.$ac_ext >&5
105878 glibcxx_cv_func___builtin_fabsl_link=no
105880 rm -f conftest.err conftest.$ac_objext \
105881 conftest$ac_exeext conftest.$ac_ext
105886 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105887 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105889 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105891 cat >>confdefs.h <<\_ACEOF
105892 #define HAVE___BUILTIN_FABSL 1
105893 _ACEOF
105900 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105901 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105902 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105903 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105904 echo $ECHO_N "(cached) $ECHO_C" >&6
105909 ac_ext=cc
105910 ac_cpp='$CXXCPP $CPPFLAGS'
105911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105915 cat >conftest.$ac_ext <<_ACEOF
105916 /* confdefs.h. */
105917 _ACEOF
105918 cat confdefs.h >>conftest.$ac_ext
105919 cat >>conftest.$ac_ext <<_ACEOF
105920 /* end confdefs.h. */
105921 #include <math.h>
105923 main ()
105925 __builtin_labs(0);
105927 return 0;
105929 _ACEOF
105930 rm -f conftest.$ac_objext
105931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105932 (eval $ac_compile) 2>conftest.er1
105933 ac_status=$?
105934 grep -v '^ *+' conftest.er1 >conftest.err
105935 rm -f conftest.er1
105936 cat conftest.err >&5
105937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105938 (exit $ac_status); } &&
105939 { ac_try='test -z "$ac_cxx_werror_flag"
105940 || test ! -s conftest.err'
105941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105942 (eval $ac_try) 2>&5
105943 ac_status=$?
105944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105945 (exit $ac_status); }; } &&
105946 { ac_try='test -s conftest.$ac_objext'
105947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105948 (eval $ac_try) 2>&5
105949 ac_status=$?
105950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105951 (exit $ac_status); }; }; then
105952 glibcxx_cv_func___builtin_labs_use=yes
105954 echo "$as_me: failed program was:" >&5
105955 sed 's/^/| /' conftest.$ac_ext >&5
105957 glibcxx_cv_func___builtin_labs_use=no
105959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105960 ac_ext=c
105961 ac_cpp='$CPP $CPPFLAGS'
105962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105970 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105971 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105972 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105973 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105974 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105975 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105976 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105977 echo $ECHO_N "(cached) $ECHO_C" >&6
105980 if test x$gcc_no_link = xyes; then
105981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105983 { (exit 1); exit 1; }; }
105985 cat >conftest.$ac_ext <<_ACEOF
105986 /* confdefs.h. */
105987 _ACEOF
105988 cat confdefs.h >>conftest.$ac_ext
105989 cat >>conftest.$ac_ext <<_ACEOF
105990 /* end confdefs.h. */
105991 #include <math.h>
105993 main ()
105995 __builtin_labs(0);
105997 return 0;
105999 _ACEOF
106000 rm -f conftest.$ac_objext conftest$ac_exeext
106001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106002 (eval $ac_link) 2>conftest.er1
106003 ac_status=$?
106004 grep -v '^ *+' conftest.er1 >conftest.err
106005 rm -f conftest.er1
106006 cat conftest.err >&5
106007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106008 (exit $ac_status); } &&
106009 { ac_try='test -z "$ac_c_werror_flag"
106010 || test ! -s conftest.err'
106011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106012 (eval $ac_try) 2>&5
106013 ac_status=$?
106014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106015 (exit $ac_status); }; } &&
106016 { ac_try='test -s conftest$ac_exeext'
106017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106018 (eval $ac_try) 2>&5
106019 ac_status=$?
106020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106021 (exit $ac_status); }; }; then
106022 glibcxx_cv_func___builtin_labs_link=yes
106024 echo "$as_me: failed program was:" >&5
106025 sed 's/^/| /' conftest.$ac_ext >&5
106027 glibcxx_cv_func___builtin_labs_link=no
106029 rm -f conftest.err conftest.$ac_objext \
106030 conftest$ac_exeext conftest.$ac_ext
106035 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106036 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106038 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106040 cat >>confdefs.h <<\_ACEOF
106041 #define HAVE___BUILTIN_LABS 1
106042 _ACEOF
106050 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106051 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106052 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106053 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106054 echo $ECHO_N "(cached) $ECHO_C" >&6
106059 ac_ext=cc
106060 ac_cpp='$CXXCPP $CPPFLAGS'
106061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106065 cat >conftest.$ac_ext <<_ACEOF
106066 /* confdefs.h. */
106067 _ACEOF
106068 cat confdefs.h >>conftest.$ac_ext
106069 cat >>conftest.$ac_ext <<_ACEOF
106070 /* end confdefs.h. */
106071 #include <math.h>
106073 main ()
106075 __builtin_sqrtf(0);
106077 return 0;
106079 _ACEOF
106080 rm -f conftest.$ac_objext
106081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106082 (eval $ac_compile) 2>conftest.er1
106083 ac_status=$?
106084 grep -v '^ *+' conftest.er1 >conftest.err
106085 rm -f conftest.er1
106086 cat conftest.err >&5
106087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106088 (exit $ac_status); } &&
106089 { ac_try='test -z "$ac_cxx_werror_flag"
106090 || test ! -s conftest.err'
106091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106092 (eval $ac_try) 2>&5
106093 ac_status=$?
106094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106095 (exit $ac_status); }; } &&
106096 { ac_try='test -s conftest.$ac_objext'
106097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106098 (eval $ac_try) 2>&5
106099 ac_status=$?
106100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106101 (exit $ac_status); }; }; then
106102 glibcxx_cv_func___builtin_sqrtf_use=yes
106104 echo "$as_me: failed program was:" >&5
106105 sed 's/^/| /' conftest.$ac_ext >&5
106107 glibcxx_cv_func___builtin_sqrtf_use=no
106109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106110 ac_ext=c
106111 ac_cpp='$CPP $CPPFLAGS'
106112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106120 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106121 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106122 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106123 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106124 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106125 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106126 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106127 echo $ECHO_N "(cached) $ECHO_C" >&6
106130 if test x$gcc_no_link = xyes; then
106131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106133 { (exit 1); exit 1; }; }
106135 cat >conftest.$ac_ext <<_ACEOF
106136 /* confdefs.h. */
106137 _ACEOF
106138 cat confdefs.h >>conftest.$ac_ext
106139 cat >>conftest.$ac_ext <<_ACEOF
106140 /* end confdefs.h. */
106141 #include <math.h>
106143 main ()
106145 __builtin_sqrtf(0);
106147 return 0;
106149 _ACEOF
106150 rm -f conftest.$ac_objext conftest$ac_exeext
106151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106152 (eval $ac_link) 2>conftest.er1
106153 ac_status=$?
106154 grep -v '^ *+' conftest.er1 >conftest.err
106155 rm -f conftest.er1
106156 cat conftest.err >&5
106157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106158 (exit $ac_status); } &&
106159 { ac_try='test -z "$ac_c_werror_flag"
106160 || test ! -s conftest.err'
106161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106162 (eval $ac_try) 2>&5
106163 ac_status=$?
106164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106165 (exit $ac_status); }; } &&
106166 { ac_try='test -s conftest$ac_exeext'
106167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106168 (eval $ac_try) 2>&5
106169 ac_status=$?
106170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106171 (exit $ac_status); }; }; then
106172 glibcxx_cv_func___builtin_sqrtf_link=yes
106174 echo "$as_me: failed program was:" >&5
106175 sed 's/^/| /' conftest.$ac_ext >&5
106177 glibcxx_cv_func___builtin_sqrtf_link=no
106179 rm -f conftest.err conftest.$ac_objext \
106180 conftest$ac_exeext conftest.$ac_ext
106185 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106186 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106188 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106190 cat >>confdefs.h <<\_ACEOF
106191 #define HAVE___BUILTIN_SQRTF 1
106192 _ACEOF
106199 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106200 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106201 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106202 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106203 echo $ECHO_N "(cached) $ECHO_C" >&6
106208 ac_ext=cc
106209 ac_cpp='$CXXCPP $CPPFLAGS'
106210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106214 cat >conftest.$ac_ext <<_ACEOF
106215 /* confdefs.h. */
106216 _ACEOF
106217 cat confdefs.h >>conftest.$ac_ext
106218 cat >>conftest.$ac_ext <<_ACEOF
106219 /* end confdefs.h. */
106220 #include <math.h>
106222 main ()
106224 __builtin_sqrt(0);
106226 return 0;
106228 _ACEOF
106229 rm -f conftest.$ac_objext
106230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106231 (eval $ac_compile) 2>conftest.er1
106232 ac_status=$?
106233 grep -v '^ *+' conftest.er1 >conftest.err
106234 rm -f conftest.er1
106235 cat conftest.err >&5
106236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106237 (exit $ac_status); } &&
106238 { ac_try='test -z "$ac_cxx_werror_flag"
106239 || test ! -s conftest.err'
106240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106241 (eval $ac_try) 2>&5
106242 ac_status=$?
106243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106244 (exit $ac_status); }; } &&
106245 { ac_try='test -s conftest.$ac_objext'
106246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106247 (eval $ac_try) 2>&5
106248 ac_status=$?
106249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106250 (exit $ac_status); }; }; then
106251 glibcxx_cv_func___builtin_sqrt_use=yes
106253 echo "$as_me: failed program was:" >&5
106254 sed 's/^/| /' conftest.$ac_ext >&5
106256 glibcxx_cv_func___builtin_sqrt_use=no
106258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106259 ac_ext=c
106260 ac_cpp='$CPP $CPPFLAGS'
106261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106269 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106270 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106271 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106272 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106273 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106274 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106275 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106276 echo $ECHO_N "(cached) $ECHO_C" >&6
106279 if test x$gcc_no_link = xyes; then
106280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106282 { (exit 1); exit 1; }; }
106284 cat >conftest.$ac_ext <<_ACEOF
106285 /* confdefs.h. */
106286 _ACEOF
106287 cat confdefs.h >>conftest.$ac_ext
106288 cat >>conftest.$ac_ext <<_ACEOF
106289 /* end confdefs.h. */
106290 #include <math.h>
106292 main ()
106294 __builtin_sqrt(0);
106296 return 0;
106298 _ACEOF
106299 rm -f conftest.$ac_objext conftest$ac_exeext
106300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106301 (eval $ac_link) 2>conftest.er1
106302 ac_status=$?
106303 grep -v '^ *+' conftest.er1 >conftest.err
106304 rm -f conftest.er1
106305 cat conftest.err >&5
106306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106307 (exit $ac_status); } &&
106308 { ac_try='test -z "$ac_c_werror_flag"
106309 || test ! -s conftest.err'
106310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106311 (eval $ac_try) 2>&5
106312 ac_status=$?
106313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106314 (exit $ac_status); }; } &&
106315 { ac_try='test -s conftest$ac_exeext'
106316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106317 (eval $ac_try) 2>&5
106318 ac_status=$?
106319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106320 (exit $ac_status); }; }; then
106321 glibcxx_cv_func___builtin_sqrt_link=yes
106323 echo "$as_me: failed program was:" >&5
106324 sed 's/^/| /' conftest.$ac_ext >&5
106326 glibcxx_cv_func___builtin_sqrt_link=no
106328 rm -f conftest.err conftest.$ac_objext \
106329 conftest$ac_exeext conftest.$ac_ext
106334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106335 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106337 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106339 cat >>confdefs.h <<\_ACEOF
106340 #define HAVE___BUILTIN_SQRT 1
106341 _ACEOF
106348 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106349 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106350 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106351 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106352 echo $ECHO_N "(cached) $ECHO_C" >&6
106357 ac_ext=cc
106358 ac_cpp='$CXXCPP $CPPFLAGS'
106359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106363 cat >conftest.$ac_ext <<_ACEOF
106364 /* confdefs.h. */
106365 _ACEOF
106366 cat confdefs.h >>conftest.$ac_ext
106367 cat >>conftest.$ac_ext <<_ACEOF
106368 /* end confdefs.h. */
106369 #include <math.h>
106371 main ()
106373 __builtin_sqrtl(0);
106375 return 0;
106377 _ACEOF
106378 rm -f conftest.$ac_objext
106379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106380 (eval $ac_compile) 2>conftest.er1
106381 ac_status=$?
106382 grep -v '^ *+' conftest.er1 >conftest.err
106383 rm -f conftest.er1
106384 cat conftest.err >&5
106385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106386 (exit $ac_status); } &&
106387 { ac_try='test -z "$ac_cxx_werror_flag"
106388 || test ! -s conftest.err'
106389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106390 (eval $ac_try) 2>&5
106391 ac_status=$?
106392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106393 (exit $ac_status); }; } &&
106394 { ac_try='test -s conftest.$ac_objext'
106395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106396 (eval $ac_try) 2>&5
106397 ac_status=$?
106398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106399 (exit $ac_status); }; }; then
106400 glibcxx_cv_func___builtin_sqrtl_use=yes
106402 echo "$as_me: failed program was:" >&5
106403 sed 's/^/| /' conftest.$ac_ext >&5
106405 glibcxx_cv_func___builtin_sqrtl_use=no
106407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106408 ac_ext=c
106409 ac_cpp='$CPP $CPPFLAGS'
106410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106418 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106419 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106420 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106421 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106422 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106423 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106424 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106425 echo $ECHO_N "(cached) $ECHO_C" >&6
106428 if test x$gcc_no_link = xyes; then
106429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106431 { (exit 1); exit 1; }; }
106433 cat >conftest.$ac_ext <<_ACEOF
106434 /* confdefs.h. */
106435 _ACEOF
106436 cat confdefs.h >>conftest.$ac_ext
106437 cat >>conftest.$ac_ext <<_ACEOF
106438 /* end confdefs.h. */
106439 #include <math.h>
106441 main ()
106443 __builtin_sqrtl(0);
106445 return 0;
106447 _ACEOF
106448 rm -f conftest.$ac_objext conftest$ac_exeext
106449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106450 (eval $ac_link) 2>conftest.er1
106451 ac_status=$?
106452 grep -v '^ *+' conftest.er1 >conftest.err
106453 rm -f conftest.er1
106454 cat conftest.err >&5
106455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106456 (exit $ac_status); } &&
106457 { ac_try='test -z "$ac_c_werror_flag"
106458 || test ! -s conftest.err'
106459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106460 (eval $ac_try) 2>&5
106461 ac_status=$?
106462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106463 (exit $ac_status); }; } &&
106464 { ac_try='test -s conftest$ac_exeext'
106465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106466 (eval $ac_try) 2>&5
106467 ac_status=$?
106468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106469 (exit $ac_status); }; }; then
106470 glibcxx_cv_func___builtin_sqrtl_link=yes
106472 echo "$as_me: failed program was:" >&5
106473 sed 's/^/| /' conftest.$ac_ext >&5
106475 glibcxx_cv_func___builtin_sqrtl_link=no
106477 rm -f conftest.err conftest.$ac_objext \
106478 conftest$ac_exeext conftest.$ac_ext
106483 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106484 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106486 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106488 cat >>confdefs.h <<\_ACEOF
106489 #define HAVE___BUILTIN_SQRTL 1
106490 _ACEOF
106498 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106499 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106500 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106501 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106502 echo $ECHO_N "(cached) $ECHO_C" >&6
106507 ac_ext=cc
106508 ac_cpp='$CXXCPP $CPPFLAGS'
106509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106513 cat >conftest.$ac_ext <<_ACEOF
106514 /* confdefs.h. */
106515 _ACEOF
106516 cat confdefs.h >>conftest.$ac_ext
106517 cat >>conftest.$ac_ext <<_ACEOF
106518 /* end confdefs.h. */
106519 #include <math.h>
106521 main ()
106523 __builtin_sinf(0);
106525 return 0;
106527 _ACEOF
106528 rm -f conftest.$ac_objext
106529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106530 (eval $ac_compile) 2>conftest.er1
106531 ac_status=$?
106532 grep -v '^ *+' conftest.er1 >conftest.err
106533 rm -f conftest.er1
106534 cat conftest.err >&5
106535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106536 (exit $ac_status); } &&
106537 { ac_try='test -z "$ac_cxx_werror_flag"
106538 || test ! -s conftest.err'
106539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106540 (eval $ac_try) 2>&5
106541 ac_status=$?
106542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106543 (exit $ac_status); }; } &&
106544 { ac_try='test -s conftest.$ac_objext'
106545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106546 (eval $ac_try) 2>&5
106547 ac_status=$?
106548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106549 (exit $ac_status); }; }; then
106550 glibcxx_cv_func___builtin_sinf_use=yes
106552 echo "$as_me: failed program was:" >&5
106553 sed 's/^/| /' conftest.$ac_ext >&5
106555 glibcxx_cv_func___builtin_sinf_use=no
106557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106558 ac_ext=c
106559 ac_cpp='$CPP $CPPFLAGS'
106560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106568 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106569 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106570 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106571 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106572 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106573 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106574 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106575 echo $ECHO_N "(cached) $ECHO_C" >&6
106578 if test x$gcc_no_link = xyes; then
106579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106581 { (exit 1); exit 1; }; }
106583 cat >conftest.$ac_ext <<_ACEOF
106584 /* confdefs.h. */
106585 _ACEOF
106586 cat confdefs.h >>conftest.$ac_ext
106587 cat >>conftest.$ac_ext <<_ACEOF
106588 /* end confdefs.h. */
106589 #include <math.h>
106591 main ()
106593 __builtin_sinf(0);
106595 return 0;
106597 _ACEOF
106598 rm -f conftest.$ac_objext conftest$ac_exeext
106599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106600 (eval $ac_link) 2>conftest.er1
106601 ac_status=$?
106602 grep -v '^ *+' conftest.er1 >conftest.err
106603 rm -f conftest.er1
106604 cat conftest.err >&5
106605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106606 (exit $ac_status); } &&
106607 { ac_try='test -z "$ac_c_werror_flag"
106608 || test ! -s conftest.err'
106609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106610 (eval $ac_try) 2>&5
106611 ac_status=$?
106612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106613 (exit $ac_status); }; } &&
106614 { ac_try='test -s conftest$ac_exeext'
106615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106616 (eval $ac_try) 2>&5
106617 ac_status=$?
106618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106619 (exit $ac_status); }; }; then
106620 glibcxx_cv_func___builtin_sinf_link=yes
106622 echo "$as_me: failed program was:" >&5
106623 sed 's/^/| /' conftest.$ac_ext >&5
106625 glibcxx_cv_func___builtin_sinf_link=no
106627 rm -f conftest.err conftest.$ac_objext \
106628 conftest$ac_exeext conftest.$ac_ext
106633 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106634 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106636 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106638 cat >>confdefs.h <<\_ACEOF
106639 #define HAVE___BUILTIN_SINF 1
106640 _ACEOF
106647 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106648 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106649 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106650 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106651 echo $ECHO_N "(cached) $ECHO_C" >&6
106656 ac_ext=cc
106657 ac_cpp='$CXXCPP $CPPFLAGS'
106658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106662 cat >conftest.$ac_ext <<_ACEOF
106663 /* confdefs.h. */
106664 _ACEOF
106665 cat confdefs.h >>conftest.$ac_ext
106666 cat >>conftest.$ac_ext <<_ACEOF
106667 /* end confdefs.h. */
106668 #include <math.h>
106670 main ()
106672 __builtin_sin(0);
106674 return 0;
106676 _ACEOF
106677 rm -f conftest.$ac_objext
106678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106679 (eval $ac_compile) 2>conftest.er1
106680 ac_status=$?
106681 grep -v '^ *+' conftest.er1 >conftest.err
106682 rm -f conftest.er1
106683 cat conftest.err >&5
106684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106685 (exit $ac_status); } &&
106686 { ac_try='test -z "$ac_cxx_werror_flag"
106687 || test ! -s conftest.err'
106688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106689 (eval $ac_try) 2>&5
106690 ac_status=$?
106691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106692 (exit $ac_status); }; } &&
106693 { ac_try='test -s conftest.$ac_objext'
106694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106695 (eval $ac_try) 2>&5
106696 ac_status=$?
106697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106698 (exit $ac_status); }; }; then
106699 glibcxx_cv_func___builtin_sin_use=yes
106701 echo "$as_me: failed program was:" >&5
106702 sed 's/^/| /' conftest.$ac_ext >&5
106704 glibcxx_cv_func___builtin_sin_use=no
106706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106707 ac_ext=c
106708 ac_cpp='$CPP $CPPFLAGS'
106709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106717 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106718 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106719 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106720 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106721 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106722 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106723 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106724 echo $ECHO_N "(cached) $ECHO_C" >&6
106727 if test x$gcc_no_link = xyes; then
106728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106730 { (exit 1); exit 1; }; }
106732 cat >conftest.$ac_ext <<_ACEOF
106733 /* confdefs.h. */
106734 _ACEOF
106735 cat confdefs.h >>conftest.$ac_ext
106736 cat >>conftest.$ac_ext <<_ACEOF
106737 /* end confdefs.h. */
106738 #include <math.h>
106740 main ()
106742 __builtin_sin(0);
106744 return 0;
106746 _ACEOF
106747 rm -f conftest.$ac_objext conftest$ac_exeext
106748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106749 (eval $ac_link) 2>conftest.er1
106750 ac_status=$?
106751 grep -v '^ *+' conftest.er1 >conftest.err
106752 rm -f conftest.er1
106753 cat conftest.err >&5
106754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106755 (exit $ac_status); } &&
106756 { ac_try='test -z "$ac_c_werror_flag"
106757 || test ! -s conftest.err'
106758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106759 (eval $ac_try) 2>&5
106760 ac_status=$?
106761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106762 (exit $ac_status); }; } &&
106763 { ac_try='test -s conftest$ac_exeext'
106764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106765 (eval $ac_try) 2>&5
106766 ac_status=$?
106767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106768 (exit $ac_status); }; }; then
106769 glibcxx_cv_func___builtin_sin_link=yes
106771 echo "$as_me: failed program was:" >&5
106772 sed 's/^/| /' conftest.$ac_ext >&5
106774 glibcxx_cv_func___builtin_sin_link=no
106776 rm -f conftest.err conftest.$ac_objext \
106777 conftest$ac_exeext conftest.$ac_ext
106782 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106783 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106785 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106787 cat >>confdefs.h <<\_ACEOF
106788 #define HAVE___BUILTIN_SIN 1
106789 _ACEOF
106796 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106797 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106798 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106799 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106800 echo $ECHO_N "(cached) $ECHO_C" >&6
106805 ac_ext=cc
106806 ac_cpp='$CXXCPP $CPPFLAGS'
106807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106811 cat >conftest.$ac_ext <<_ACEOF
106812 /* confdefs.h. */
106813 _ACEOF
106814 cat confdefs.h >>conftest.$ac_ext
106815 cat >>conftest.$ac_ext <<_ACEOF
106816 /* end confdefs.h. */
106817 #include <math.h>
106819 main ()
106821 __builtin_sinl(0);
106823 return 0;
106825 _ACEOF
106826 rm -f conftest.$ac_objext
106827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106828 (eval $ac_compile) 2>conftest.er1
106829 ac_status=$?
106830 grep -v '^ *+' conftest.er1 >conftest.err
106831 rm -f conftest.er1
106832 cat conftest.err >&5
106833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106834 (exit $ac_status); } &&
106835 { ac_try='test -z "$ac_cxx_werror_flag"
106836 || test ! -s conftest.err'
106837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106838 (eval $ac_try) 2>&5
106839 ac_status=$?
106840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106841 (exit $ac_status); }; } &&
106842 { ac_try='test -s conftest.$ac_objext'
106843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106844 (eval $ac_try) 2>&5
106845 ac_status=$?
106846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106847 (exit $ac_status); }; }; then
106848 glibcxx_cv_func___builtin_sinl_use=yes
106850 echo "$as_me: failed program was:" >&5
106851 sed 's/^/| /' conftest.$ac_ext >&5
106853 glibcxx_cv_func___builtin_sinl_use=no
106855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106856 ac_ext=c
106857 ac_cpp='$CPP $CPPFLAGS'
106858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106866 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106867 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106868 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106869 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106870 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106871 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106872 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106873 echo $ECHO_N "(cached) $ECHO_C" >&6
106876 if test x$gcc_no_link = xyes; then
106877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106879 { (exit 1); exit 1; }; }
106881 cat >conftest.$ac_ext <<_ACEOF
106882 /* confdefs.h. */
106883 _ACEOF
106884 cat confdefs.h >>conftest.$ac_ext
106885 cat >>conftest.$ac_ext <<_ACEOF
106886 /* end confdefs.h. */
106887 #include <math.h>
106889 main ()
106891 __builtin_sinl(0);
106893 return 0;
106895 _ACEOF
106896 rm -f conftest.$ac_objext conftest$ac_exeext
106897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106898 (eval $ac_link) 2>conftest.er1
106899 ac_status=$?
106900 grep -v '^ *+' conftest.er1 >conftest.err
106901 rm -f conftest.er1
106902 cat conftest.err >&5
106903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106904 (exit $ac_status); } &&
106905 { ac_try='test -z "$ac_c_werror_flag"
106906 || test ! -s conftest.err'
106907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106908 (eval $ac_try) 2>&5
106909 ac_status=$?
106910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106911 (exit $ac_status); }; } &&
106912 { ac_try='test -s conftest$ac_exeext'
106913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106914 (eval $ac_try) 2>&5
106915 ac_status=$?
106916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106917 (exit $ac_status); }; }; then
106918 glibcxx_cv_func___builtin_sinl_link=yes
106920 echo "$as_me: failed program was:" >&5
106921 sed 's/^/| /' conftest.$ac_ext >&5
106923 glibcxx_cv_func___builtin_sinl_link=no
106925 rm -f conftest.err conftest.$ac_objext \
106926 conftest$ac_exeext conftest.$ac_ext
106931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106932 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106934 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106936 cat >>confdefs.h <<\_ACEOF
106937 #define HAVE___BUILTIN_SINL 1
106938 _ACEOF
106946 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106947 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106948 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106949 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106950 echo $ECHO_N "(cached) $ECHO_C" >&6
106955 ac_ext=cc
106956 ac_cpp='$CXXCPP $CPPFLAGS'
106957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106961 cat >conftest.$ac_ext <<_ACEOF
106962 /* confdefs.h. */
106963 _ACEOF
106964 cat confdefs.h >>conftest.$ac_ext
106965 cat >>conftest.$ac_ext <<_ACEOF
106966 /* end confdefs.h. */
106967 #include <math.h>
106969 main ()
106971 __builtin_cosf(0);
106973 return 0;
106975 _ACEOF
106976 rm -f conftest.$ac_objext
106977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106978 (eval $ac_compile) 2>conftest.er1
106979 ac_status=$?
106980 grep -v '^ *+' conftest.er1 >conftest.err
106981 rm -f conftest.er1
106982 cat conftest.err >&5
106983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106984 (exit $ac_status); } &&
106985 { ac_try='test -z "$ac_cxx_werror_flag"
106986 || test ! -s conftest.err'
106987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106988 (eval $ac_try) 2>&5
106989 ac_status=$?
106990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106991 (exit $ac_status); }; } &&
106992 { ac_try='test -s conftest.$ac_objext'
106993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106994 (eval $ac_try) 2>&5
106995 ac_status=$?
106996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106997 (exit $ac_status); }; }; then
106998 glibcxx_cv_func___builtin_cosf_use=yes
107000 echo "$as_me: failed program was:" >&5
107001 sed 's/^/| /' conftest.$ac_ext >&5
107003 glibcxx_cv_func___builtin_cosf_use=no
107005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107006 ac_ext=c
107007 ac_cpp='$CPP $CPPFLAGS'
107008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107016 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
107017 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
107018 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
107019 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
107020 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
107021 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
107022 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
107023 echo $ECHO_N "(cached) $ECHO_C" >&6
107026 if test x$gcc_no_link = xyes; then
107027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107029 { (exit 1); exit 1; }; }
107031 cat >conftest.$ac_ext <<_ACEOF
107032 /* confdefs.h. */
107033 _ACEOF
107034 cat confdefs.h >>conftest.$ac_ext
107035 cat >>conftest.$ac_ext <<_ACEOF
107036 /* end confdefs.h. */
107037 #include <math.h>
107039 main ()
107041 __builtin_cosf(0);
107043 return 0;
107045 _ACEOF
107046 rm -f conftest.$ac_objext conftest$ac_exeext
107047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107048 (eval $ac_link) 2>conftest.er1
107049 ac_status=$?
107050 grep -v '^ *+' conftest.er1 >conftest.err
107051 rm -f conftest.er1
107052 cat conftest.err >&5
107053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107054 (exit $ac_status); } &&
107055 { ac_try='test -z "$ac_c_werror_flag"
107056 || test ! -s conftest.err'
107057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107058 (eval $ac_try) 2>&5
107059 ac_status=$?
107060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107061 (exit $ac_status); }; } &&
107062 { ac_try='test -s conftest$ac_exeext'
107063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107064 (eval $ac_try) 2>&5
107065 ac_status=$?
107066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107067 (exit $ac_status); }; }; then
107068 glibcxx_cv_func___builtin_cosf_link=yes
107070 echo "$as_me: failed program was:" >&5
107071 sed 's/^/| /' conftest.$ac_ext >&5
107073 glibcxx_cv_func___builtin_cosf_link=no
107075 rm -f conftest.err conftest.$ac_objext \
107076 conftest$ac_exeext conftest.$ac_ext
107081 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107082 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107084 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107086 cat >>confdefs.h <<\_ACEOF
107087 #define HAVE___BUILTIN_COSF 1
107088 _ACEOF
107095 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107096 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107097 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107098 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107099 echo $ECHO_N "(cached) $ECHO_C" >&6
107104 ac_ext=cc
107105 ac_cpp='$CXXCPP $CPPFLAGS'
107106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107110 cat >conftest.$ac_ext <<_ACEOF
107111 /* confdefs.h. */
107112 _ACEOF
107113 cat confdefs.h >>conftest.$ac_ext
107114 cat >>conftest.$ac_ext <<_ACEOF
107115 /* end confdefs.h. */
107116 #include <math.h>
107118 main ()
107120 __builtin_cos(0);
107122 return 0;
107124 _ACEOF
107125 rm -f conftest.$ac_objext
107126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107127 (eval $ac_compile) 2>conftest.er1
107128 ac_status=$?
107129 grep -v '^ *+' conftest.er1 >conftest.err
107130 rm -f conftest.er1
107131 cat conftest.err >&5
107132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107133 (exit $ac_status); } &&
107134 { ac_try='test -z "$ac_cxx_werror_flag"
107135 || test ! -s conftest.err'
107136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107137 (eval $ac_try) 2>&5
107138 ac_status=$?
107139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107140 (exit $ac_status); }; } &&
107141 { ac_try='test -s conftest.$ac_objext'
107142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107143 (eval $ac_try) 2>&5
107144 ac_status=$?
107145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107146 (exit $ac_status); }; }; then
107147 glibcxx_cv_func___builtin_cos_use=yes
107149 echo "$as_me: failed program was:" >&5
107150 sed 's/^/| /' conftest.$ac_ext >&5
107152 glibcxx_cv_func___builtin_cos_use=no
107154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107155 ac_ext=c
107156 ac_cpp='$CPP $CPPFLAGS'
107157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107166 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107167 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107168 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107169 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107170 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107171 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107172 echo $ECHO_N "(cached) $ECHO_C" >&6
107175 if test x$gcc_no_link = xyes; then
107176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107178 { (exit 1); exit 1; }; }
107180 cat >conftest.$ac_ext <<_ACEOF
107181 /* confdefs.h. */
107182 _ACEOF
107183 cat confdefs.h >>conftest.$ac_ext
107184 cat >>conftest.$ac_ext <<_ACEOF
107185 /* end confdefs.h. */
107186 #include <math.h>
107188 main ()
107190 __builtin_cos(0);
107192 return 0;
107194 _ACEOF
107195 rm -f conftest.$ac_objext conftest$ac_exeext
107196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107197 (eval $ac_link) 2>conftest.er1
107198 ac_status=$?
107199 grep -v '^ *+' conftest.er1 >conftest.err
107200 rm -f conftest.er1
107201 cat conftest.err >&5
107202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107203 (exit $ac_status); } &&
107204 { ac_try='test -z "$ac_c_werror_flag"
107205 || test ! -s conftest.err'
107206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107207 (eval $ac_try) 2>&5
107208 ac_status=$?
107209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107210 (exit $ac_status); }; } &&
107211 { ac_try='test -s conftest$ac_exeext'
107212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107213 (eval $ac_try) 2>&5
107214 ac_status=$?
107215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107216 (exit $ac_status); }; }; then
107217 glibcxx_cv_func___builtin_cos_link=yes
107219 echo "$as_me: failed program was:" >&5
107220 sed 's/^/| /' conftest.$ac_ext >&5
107222 glibcxx_cv_func___builtin_cos_link=no
107224 rm -f conftest.err conftest.$ac_objext \
107225 conftest$ac_exeext conftest.$ac_ext
107230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107231 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107233 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107235 cat >>confdefs.h <<\_ACEOF
107236 #define HAVE___BUILTIN_COS 1
107237 _ACEOF
107244 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107245 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107246 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107247 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107248 echo $ECHO_N "(cached) $ECHO_C" >&6
107253 ac_ext=cc
107254 ac_cpp='$CXXCPP $CPPFLAGS'
107255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107259 cat >conftest.$ac_ext <<_ACEOF
107260 /* confdefs.h. */
107261 _ACEOF
107262 cat confdefs.h >>conftest.$ac_ext
107263 cat >>conftest.$ac_ext <<_ACEOF
107264 /* end confdefs.h. */
107265 #include <math.h>
107267 main ()
107269 __builtin_cosl(0);
107271 return 0;
107273 _ACEOF
107274 rm -f conftest.$ac_objext
107275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107276 (eval $ac_compile) 2>conftest.er1
107277 ac_status=$?
107278 grep -v '^ *+' conftest.er1 >conftest.err
107279 rm -f conftest.er1
107280 cat conftest.err >&5
107281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107282 (exit $ac_status); } &&
107283 { ac_try='test -z "$ac_cxx_werror_flag"
107284 || test ! -s conftest.err'
107285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107286 (eval $ac_try) 2>&5
107287 ac_status=$?
107288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107289 (exit $ac_status); }; } &&
107290 { ac_try='test -s conftest.$ac_objext'
107291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107292 (eval $ac_try) 2>&5
107293 ac_status=$?
107294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107295 (exit $ac_status); }; }; then
107296 glibcxx_cv_func___builtin_cosl_use=yes
107298 echo "$as_me: failed program was:" >&5
107299 sed 's/^/| /' conftest.$ac_ext >&5
107301 glibcxx_cv_func___builtin_cosl_use=no
107303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107304 ac_ext=c
107305 ac_cpp='$CPP $CPPFLAGS'
107306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107314 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107315 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107316 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107317 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107318 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107319 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107320 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107321 echo $ECHO_N "(cached) $ECHO_C" >&6
107324 if test x$gcc_no_link = xyes; then
107325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107327 { (exit 1); exit 1; }; }
107329 cat >conftest.$ac_ext <<_ACEOF
107330 /* confdefs.h. */
107331 _ACEOF
107332 cat confdefs.h >>conftest.$ac_ext
107333 cat >>conftest.$ac_ext <<_ACEOF
107334 /* end confdefs.h. */
107335 #include <math.h>
107337 main ()
107339 __builtin_cosl(0);
107341 return 0;
107343 _ACEOF
107344 rm -f conftest.$ac_objext conftest$ac_exeext
107345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107346 (eval $ac_link) 2>conftest.er1
107347 ac_status=$?
107348 grep -v '^ *+' conftest.er1 >conftest.err
107349 rm -f conftest.er1
107350 cat conftest.err >&5
107351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107352 (exit $ac_status); } &&
107353 { ac_try='test -z "$ac_c_werror_flag"
107354 || test ! -s conftest.err'
107355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107356 (eval $ac_try) 2>&5
107357 ac_status=$?
107358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107359 (exit $ac_status); }; } &&
107360 { ac_try='test -s conftest$ac_exeext'
107361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107362 (eval $ac_try) 2>&5
107363 ac_status=$?
107364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107365 (exit $ac_status); }; }; then
107366 glibcxx_cv_func___builtin_cosl_link=yes
107368 echo "$as_me: failed program was:" >&5
107369 sed 's/^/| /' conftest.$ac_ext >&5
107371 glibcxx_cv_func___builtin_cosl_link=no
107373 rm -f conftest.err conftest.$ac_objext \
107374 conftest$ac_exeext conftest.$ac_ext
107379 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107380 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107382 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107384 cat >>confdefs.h <<\_ACEOF
107385 #define HAVE___BUILTIN_COSL 1
107386 _ACEOF
107395 echo "$as_me:$LINENO: checking for main in -lm" >&5
107396 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107397 if test "${ac_cv_lib_m_main+set}" = set; then
107398 echo $ECHO_N "(cached) $ECHO_C" >&6
107400 ac_check_lib_save_LIBS=$LIBS
107401 LIBS="-lm $LIBS"
107402 if test x$gcc_no_link = xyes; then
107403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107405 { (exit 1); exit 1; }; }
107407 cat >conftest.$ac_ext <<_ACEOF
107408 /* confdefs.h. */
107409 _ACEOF
107410 cat confdefs.h >>conftest.$ac_ext
107411 cat >>conftest.$ac_ext <<_ACEOF
107412 /* end confdefs.h. */
107416 main ()
107418 main ();
107420 return 0;
107422 _ACEOF
107423 rm -f conftest.$ac_objext conftest$ac_exeext
107424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107425 (eval $ac_link) 2>conftest.er1
107426 ac_status=$?
107427 grep -v '^ *+' conftest.er1 >conftest.err
107428 rm -f conftest.er1
107429 cat conftest.err >&5
107430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107431 (exit $ac_status); } &&
107432 { ac_try='test -z "$ac_c_werror_flag"
107433 || test ! -s conftest.err'
107434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107435 (eval $ac_try) 2>&5
107436 ac_status=$?
107437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107438 (exit $ac_status); }; } &&
107439 { ac_try='test -s conftest$ac_exeext'
107440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107441 (eval $ac_try) 2>&5
107442 ac_status=$?
107443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107444 (exit $ac_status); }; }; then
107445 ac_cv_lib_m_main=yes
107447 echo "$as_me: failed program was:" >&5
107448 sed 's/^/| /' conftest.$ac_ext >&5
107450 ac_cv_lib_m_main=no
107452 rm -f conftest.err conftest.$ac_objext \
107453 conftest$ac_exeext conftest.$ac_ext
107454 LIBS=$ac_check_lib_save_LIBS
107456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107457 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107458 if test $ac_cv_lib_m_main = yes; then
107459 cat >>confdefs.h <<_ACEOF
107460 #define HAVE_LIBM 1
107461 _ACEOF
107463 LIBS="-lm $LIBS"
107468 for ac_func in copysignf
107470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107471 echo "$as_me:$LINENO: checking for $ac_func" >&5
107472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107473 if eval "test \"\${$as_ac_var+set}\" = set"; then
107474 echo $ECHO_N "(cached) $ECHO_C" >&6
107476 if test x$gcc_no_link = xyes; then
107477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107479 { (exit 1); exit 1; }; }
107481 cat >conftest.$ac_ext <<_ACEOF
107482 /* confdefs.h. */
107483 _ACEOF
107484 cat confdefs.h >>conftest.$ac_ext
107485 cat >>conftest.$ac_ext <<_ACEOF
107486 /* end confdefs.h. */
107487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107489 #define $ac_func innocuous_$ac_func
107491 /* System header to define __stub macros and hopefully few prototypes,
107492 which can conflict with char $ac_func (); below.
107493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107494 <limits.h> exists even on freestanding compilers. */
107496 #ifdef __STDC__
107497 # include <limits.h>
107498 #else
107499 # include <assert.h>
107500 #endif
107502 #undef $ac_func
107504 /* Override any gcc2 internal prototype to avoid an error. */
107505 #ifdef __cplusplus
107506 extern "C"
107508 #endif
107509 /* We use char because int might match the return type of a gcc2
107510 builtin and then its argument prototype would still apply. */
107511 char $ac_func ();
107512 /* The GNU C library defines this for functions which it implements
107513 to always fail with ENOSYS. Some functions are actually named
107514 something starting with __ and the normal name is an alias. */
107515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107516 choke me
107517 #else
107518 char (*f) () = $ac_func;
107519 #endif
107520 #ifdef __cplusplus
107522 #endif
107525 main ()
107527 return f != $ac_func;
107529 return 0;
107531 _ACEOF
107532 rm -f conftest.$ac_objext conftest$ac_exeext
107533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107534 (eval $ac_link) 2>conftest.er1
107535 ac_status=$?
107536 grep -v '^ *+' conftest.er1 >conftest.err
107537 rm -f conftest.er1
107538 cat conftest.err >&5
107539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107540 (exit $ac_status); } &&
107541 { ac_try='test -z "$ac_c_werror_flag"
107542 || test ! -s conftest.err'
107543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107544 (eval $ac_try) 2>&5
107545 ac_status=$?
107546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107547 (exit $ac_status); }; } &&
107548 { ac_try='test -s conftest$ac_exeext'
107549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107550 (eval $ac_try) 2>&5
107551 ac_status=$?
107552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107553 (exit $ac_status); }; }; then
107554 eval "$as_ac_var=yes"
107556 echo "$as_me: failed program was:" >&5
107557 sed 's/^/| /' conftest.$ac_ext >&5
107559 eval "$as_ac_var=no"
107561 rm -f conftest.err conftest.$ac_objext \
107562 conftest$ac_exeext conftest.$ac_ext
107564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107566 if test `eval echo '${'$as_ac_var'}'` = yes; then
107567 cat >>confdefs.h <<_ACEOF
107568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107569 _ACEOF
107572 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107578 for ac_func in __signbit
107580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107581 echo "$as_me:$LINENO: checking for $ac_func" >&5
107582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107583 if eval "test \"\${$as_ac_var+set}\" = set"; then
107584 echo $ECHO_N "(cached) $ECHO_C" >&6
107586 if test x$gcc_no_link = xyes; then
107587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107589 { (exit 1); exit 1; }; }
107591 cat >conftest.$ac_ext <<_ACEOF
107592 /* confdefs.h. */
107593 _ACEOF
107594 cat confdefs.h >>conftest.$ac_ext
107595 cat >>conftest.$ac_ext <<_ACEOF
107596 /* end confdefs.h. */
107597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107599 #define $ac_func innocuous_$ac_func
107601 /* System header to define __stub macros and hopefully few prototypes,
107602 which can conflict with char $ac_func (); below.
107603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107604 <limits.h> exists even on freestanding compilers. */
107606 #ifdef __STDC__
107607 # include <limits.h>
107608 #else
107609 # include <assert.h>
107610 #endif
107612 #undef $ac_func
107614 /* Override any gcc2 internal prototype to avoid an error. */
107615 #ifdef __cplusplus
107616 extern "C"
107618 #endif
107619 /* We use char because int might match the return type of a gcc2
107620 builtin and then its argument prototype would still apply. */
107621 char $ac_func ();
107622 /* The GNU C library defines this for functions which it implements
107623 to always fail with ENOSYS. Some functions are actually named
107624 something starting with __ and the normal name is an alias. */
107625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107626 choke me
107627 #else
107628 char (*f) () = $ac_func;
107629 #endif
107630 #ifdef __cplusplus
107632 #endif
107635 main ()
107637 return f != $ac_func;
107639 return 0;
107641 _ACEOF
107642 rm -f conftest.$ac_objext conftest$ac_exeext
107643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107644 (eval $ac_link) 2>conftest.er1
107645 ac_status=$?
107646 grep -v '^ *+' conftest.er1 >conftest.err
107647 rm -f conftest.er1
107648 cat conftest.err >&5
107649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107650 (exit $ac_status); } &&
107651 { ac_try='test -z "$ac_c_werror_flag"
107652 || test ! -s conftest.err'
107653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107654 (eval $ac_try) 2>&5
107655 ac_status=$?
107656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107657 (exit $ac_status); }; } &&
107658 { ac_try='test -s conftest$ac_exeext'
107659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107660 (eval $ac_try) 2>&5
107661 ac_status=$?
107662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107663 (exit $ac_status); }; }; then
107664 eval "$as_ac_var=yes"
107666 echo "$as_me: failed program was:" >&5
107667 sed 's/^/| /' conftest.$ac_ext >&5
107669 eval "$as_ac_var=no"
107671 rm -f conftest.err conftest.$ac_objext \
107672 conftest$ac_exeext conftest.$ac_ext
107674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107676 if test `eval echo '${'$as_ac_var'}'` = yes; then
107677 cat >>confdefs.h <<_ACEOF
107678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107679 _ACEOF
107682 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107688 for ac_func in __signbitf
107690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107691 echo "$as_me:$LINENO: checking for $ac_func" >&5
107692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107693 if eval "test \"\${$as_ac_var+set}\" = set"; then
107694 echo $ECHO_N "(cached) $ECHO_C" >&6
107696 if test x$gcc_no_link = xyes; then
107697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107699 { (exit 1); exit 1; }; }
107701 cat >conftest.$ac_ext <<_ACEOF
107702 /* confdefs.h. */
107703 _ACEOF
107704 cat confdefs.h >>conftest.$ac_ext
107705 cat >>conftest.$ac_ext <<_ACEOF
107706 /* end confdefs.h. */
107707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107709 #define $ac_func innocuous_$ac_func
107711 /* System header to define __stub macros and hopefully few prototypes,
107712 which can conflict with char $ac_func (); below.
107713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107714 <limits.h> exists even on freestanding compilers. */
107716 #ifdef __STDC__
107717 # include <limits.h>
107718 #else
107719 # include <assert.h>
107720 #endif
107722 #undef $ac_func
107724 /* Override any gcc2 internal prototype to avoid an error. */
107725 #ifdef __cplusplus
107726 extern "C"
107728 #endif
107729 /* We use char because int might match the return type of a gcc2
107730 builtin and then its argument prototype would still apply. */
107731 char $ac_func ();
107732 /* The GNU C library defines this for functions which it implements
107733 to always fail with ENOSYS. Some functions are actually named
107734 something starting with __ and the normal name is an alias. */
107735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107736 choke me
107737 #else
107738 char (*f) () = $ac_func;
107739 #endif
107740 #ifdef __cplusplus
107742 #endif
107745 main ()
107747 return f != $ac_func;
107749 return 0;
107751 _ACEOF
107752 rm -f conftest.$ac_objext conftest$ac_exeext
107753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107754 (eval $ac_link) 2>conftest.er1
107755 ac_status=$?
107756 grep -v '^ *+' conftest.er1 >conftest.err
107757 rm -f conftest.er1
107758 cat conftest.err >&5
107759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107760 (exit $ac_status); } &&
107761 { ac_try='test -z "$ac_c_werror_flag"
107762 || test ! -s conftest.err'
107763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107764 (eval $ac_try) 2>&5
107765 ac_status=$?
107766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107767 (exit $ac_status); }; } &&
107768 { ac_try='test -s conftest$ac_exeext'
107769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107770 (eval $ac_try) 2>&5
107771 ac_status=$?
107772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107773 (exit $ac_status); }; }; then
107774 eval "$as_ac_var=yes"
107776 echo "$as_me: failed program was:" >&5
107777 sed 's/^/| /' conftest.$ac_ext >&5
107779 eval "$as_ac_var=no"
107781 rm -f conftest.err conftest.$ac_objext \
107782 conftest$ac_exeext conftest.$ac_ext
107784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107786 if test `eval echo '${'$as_ac_var'}'` = yes; then
107787 cat >>confdefs.h <<_ACEOF
107788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107789 _ACEOF
107792 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107797 if test x$ac_cv_func_copysignl = x"yes"; then
107799 for ac_func in __signbitl
107801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107802 echo "$as_me:$LINENO: checking for $ac_func" >&5
107803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107804 if eval "test \"\${$as_ac_var+set}\" = set"; then
107805 echo $ECHO_N "(cached) $ECHO_C" >&6
107807 if test x$gcc_no_link = xyes; then
107808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107810 { (exit 1); exit 1; }; }
107812 cat >conftest.$ac_ext <<_ACEOF
107813 /* confdefs.h. */
107814 _ACEOF
107815 cat confdefs.h >>conftest.$ac_ext
107816 cat >>conftest.$ac_ext <<_ACEOF
107817 /* end confdefs.h. */
107818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107820 #define $ac_func innocuous_$ac_func
107822 /* System header to define __stub macros and hopefully few prototypes,
107823 which can conflict with char $ac_func (); below.
107824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107825 <limits.h> exists even on freestanding compilers. */
107827 #ifdef __STDC__
107828 # include <limits.h>
107829 #else
107830 # include <assert.h>
107831 #endif
107833 #undef $ac_func
107835 /* Override any gcc2 internal prototype to avoid an error. */
107836 #ifdef __cplusplus
107837 extern "C"
107839 #endif
107840 /* We use char because int might match the return type of a gcc2
107841 builtin and then its argument prototype would still apply. */
107842 char $ac_func ();
107843 /* The GNU C library defines this for functions which it implements
107844 to always fail with ENOSYS. Some functions are actually named
107845 something starting with __ and the normal name is an alias. */
107846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107847 choke me
107848 #else
107849 char (*f) () = $ac_func;
107850 #endif
107851 #ifdef __cplusplus
107853 #endif
107856 main ()
107858 return f != $ac_func;
107860 return 0;
107862 _ACEOF
107863 rm -f conftest.$ac_objext conftest$ac_exeext
107864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107865 (eval $ac_link) 2>conftest.er1
107866 ac_status=$?
107867 grep -v '^ *+' conftest.er1 >conftest.err
107868 rm -f conftest.er1
107869 cat conftest.err >&5
107870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107871 (exit $ac_status); } &&
107872 { ac_try='test -z "$ac_c_werror_flag"
107873 || test ! -s conftest.err'
107874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107875 (eval $ac_try) 2>&5
107876 ac_status=$?
107877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107878 (exit $ac_status); }; } &&
107879 { ac_try='test -s conftest$ac_exeext'
107880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107881 (eval $ac_try) 2>&5
107882 ac_status=$?
107883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107884 (exit $ac_status); }; }; then
107885 eval "$as_ac_var=yes"
107887 echo "$as_me: failed program was:" >&5
107888 sed 's/^/| /' conftest.$ac_ext >&5
107890 eval "$as_ac_var=no"
107892 rm -f conftest.err conftest.$ac_objext \
107893 conftest$ac_exeext conftest.$ac_ext
107895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107897 if test `eval echo '${'$as_ac_var'}'` = yes; then
107898 cat >>confdefs.h <<_ACEOF
107899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107900 _ACEOF
107903 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107909 # Used in libmath/Makefile.am.
107910 if test -n "$LIBMATHOBJS"; then
107911 need_libmath=yes
107916 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107917 ac_save_CXXFLAGS="$CXXFLAGS"
107918 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107921 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107922 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107923 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107924 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107925 echo $ECHO_N "(cached) $ECHO_C" >&6
107930 ac_ext=cc
107931 ac_cpp='$CXXCPP $CPPFLAGS'
107932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107936 cat >conftest.$ac_ext <<_ACEOF
107937 /* confdefs.h. */
107938 _ACEOF
107939 cat confdefs.h >>conftest.$ac_ext
107940 cat >>conftest.$ac_ext <<_ACEOF
107941 /* end confdefs.h. */
107942 #include <stdlib.h>
107944 main ()
107946 strtold(0, 0);
107948 return 0;
107950 _ACEOF
107951 rm -f conftest.$ac_objext
107952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107953 (eval $ac_compile) 2>conftest.er1
107954 ac_status=$?
107955 grep -v '^ *+' conftest.er1 >conftest.err
107956 rm -f conftest.er1
107957 cat conftest.err >&5
107958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107959 (exit $ac_status); } &&
107960 { ac_try='test -z "$ac_cxx_werror_flag"
107961 || test ! -s conftest.err'
107962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107963 (eval $ac_try) 2>&5
107964 ac_status=$?
107965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107966 (exit $ac_status); }; } &&
107967 { ac_try='test -s conftest.$ac_objext'
107968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107969 (eval $ac_try) 2>&5
107970 ac_status=$?
107971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107972 (exit $ac_status); }; }; then
107973 glibcxx_cv_func_strtold_use=yes
107975 echo "$as_me: failed program was:" >&5
107976 sed 's/^/| /' conftest.$ac_ext >&5
107978 glibcxx_cv_func_strtold_use=no
107980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107981 ac_ext=c
107982 ac_cpp='$CPP $CPPFLAGS'
107983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107992 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107993 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107995 for ac_func in strtold
107997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107998 echo "$as_me:$LINENO: checking for $ac_func" >&5
107999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108000 if eval "test \"\${$as_ac_var+set}\" = set"; then
108001 echo $ECHO_N "(cached) $ECHO_C" >&6
108003 if test x$gcc_no_link = xyes; then
108004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108006 { (exit 1); exit 1; }; }
108008 cat >conftest.$ac_ext <<_ACEOF
108009 /* confdefs.h. */
108010 _ACEOF
108011 cat confdefs.h >>conftest.$ac_ext
108012 cat >>conftest.$ac_ext <<_ACEOF
108013 /* end confdefs.h. */
108014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108016 #define $ac_func innocuous_$ac_func
108018 /* System header to define __stub macros and hopefully few prototypes,
108019 which can conflict with char $ac_func (); below.
108020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108021 <limits.h> exists even on freestanding compilers. */
108023 #ifdef __STDC__
108024 # include <limits.h>
108025 #else
108026 # include <assert.h>
108027 #endif
108029 #undef $ac_func
108031 /* Override any gcc2 internal prototype to avoid an error. */
108032 #ifdef __cplusplus
108033 extern "C"
108035 #endif
108036 /* We use char because int might match the return type of a gcc2
108037 builtin and then its argument prototype would still apply. */
108038 char $ac_func ();
108039 /* The GNU C library defines this for functions which it implements
108040 to always fail with ENOSYS. Some functions are actually named
108041 something starting with __ and the normal name is an alias. */
108042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108043 choke me
108044 #else
108045 char (*f) () = $ac_func;
108046 #endif
108047 #ifdef __cplusplus
108049 #endif
108052 main ()
108054 return f != $ac_func;
108056 return 0;
108058 _ACEOF
108059 rm -f conftest.$ac_objext conftest$ac_exeext
108060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108061 (eval $ac_link) 2>conftest.er1
108062 ac_status=$?
108063 grep -v '^ *+' conftest.er1 >conftest.err
108064 rm -f conftest.er1
108065 cat conftest.err >&5
108066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108067 (exit $ac_status); } &&
108068 { ac_try='test -z "$ac_c_werror_flag"
108069 || test ! -s conftest.err'
108070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108071 (eval $ac_try) 2>&5
108072 ac_status=$?
108073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108074 (exit $ac_status); }; } &&
108075 { ac_try='test -s conftest$ac_exeext'
108076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108077 (eval $ac_try) 2>&5
108078 ac_status=$?
108079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108080 (exit $ac_status); }; }; then
108081 eval "$as_ac_var=yes"
108083 echo "$as_me: failed program was:" >&5
108084 sed 's/^/| /' conftest.$ac_ext >&5
108086 eval "$as_ac_var=no"
108088 rm -f conftest.err conftest.$ac_objext \
108089 conftest$ac_exeext conftest.$ac_ext
108091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108093 if test `eval echo '${'$as_ac_var'}'` = yes; then
108094 cat >>confdefs.h <<_ACEOF
108095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108096 _ACEOF
108107 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108108 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108109 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108110 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108111 echo $ECHO_N "(cached) $ECHO_C" >&6
108116 ac_ext=cc
108117 ac_cpp='$CXXCPP $CPPFLAGS'
108118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108122 cat >conftest.$ac_ext <<_ACEOF
108123 /* confdefs.h. */
108124 _ACEOF
108125 cat confdefs.h >>conftest.$ac_ext
108126 cat >>conftest.$ac_ext <<_ACEOF
108127 /* end confdefs.h. */
108128 #include <stdlib.h>
108130 main ()
108132 strtof(0, 0);
108134 return 0;
108136 _ACEOF
108137 rm -f conftest.$ac_objext
108138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108139 (eval $ac_compile) 2>conftest.er1
108140 ac_status=$?
108141 grep -v '^ *+' conftest.er1 >conftest.err
108142 rm -f conftest.er1
108143 cat conftest.err >&5
108144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108145 (exit $ac_status); } &&
108146 { ac_try='test -z "$ac_cxx_werror_flag"
108147 || test ! -s conftest.err'
108148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108149 (eval $ac_try) 2>&5
108150 ac_status=$?
108151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108152 (exit $ac_status); }; } &&
108153 { ac_try='test -s conftest.$ac_objext'
108154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108155 (eval $ac_try) 2>&5
108156 ac_status=$?
108157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108158 (exit $ac_status); }; }; then
108159 glibcxx_cv_func_strtof_use=yes
108161 echo "$as_me: failed program was:" >&5
108162 sed 's/^/| /' conftest.$ac_ext >&5
108164 glibcxx_cv_func_strtof_use=no
108166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108167 ac_ext=c
108168 ac_cpp='$CPP $CPPFLAGS'
108169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108177 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108178 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108179 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108181 for ac_func in strtof
108183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108184 echo "$as_me:$LINENO: checking for $ac_func" >&5
108185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108186 if eval "test \"\${$as_ac_var+set}\" = set"; then
108187 echo $ECHO_N "(cached) $ECHO_C" >&6
108189 if test x$gcc_no_link = xyes; then
108190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108192 { (exit 1); exit 1; }; }
108194 cat >conftest.$ac_ext <<_ACEOF
108195 /* confdefs.h. */
108196 _ACEOF
108197 cat confdefs.h >>conftest.$ac_ext
108198 cat >>conftest.$ac_ext <<_ACEOF
108199 /* end confdefs.h. */
108200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108202 #define $ac_func innocuous_$ac_func
108204 /* System header to define __stub macros and hopefully few prototypes,
108205 which can conflict with char $ac_func (); below.
108206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108207 <limits.h> exists even on freestanding compilers. */
108209 #ifdef __STDC__
108210 # include <limits.h>
108211 #else
108212 # include <assert.h>
108213 #endif
108215 #undef $ac_func
108217 /* Override any gcc2 internal prototype to avoid an error. */
108218 #ifdef __cplusplus
108219 extern "C"
108221 #endif
108222 /* We use char because int might match the return type of a gcc2
108223 builtin and then its argument prototype would still apply. */
108224 char $ac_func ();
108225 /* The GNU C library defines this for functions which it implements
108226 to always fail with ENOSYS. Some functions are actually named
108227 something starting with __ and the normal name is an alias. */
108228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108229 choke me
108230 #else
108231 char (*f) () = $ac_func;
108232 #endif
108233 #ifdef __cplusplus
108235 #endif
108238 main ()
108240 return f != $ac_func;
108242 return 0;
108244 _ACEOF
108245 rm -f conftest.$ac_objext conftest$ac_exeext
108246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108247 (eval $ac_link) 2>conftest.er1
108248 ac_status=$?
108249 grep -v '^ *+' conftest.er1 >conftest.err
108250 rm -f conftest.er1
108251 cat conftest.err >&5
108252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108253 (exit $ac_status); } &&
108254 { ac_try='test -z "$ac_c_werror_flag"
108255 || test ! -s conftest.err'
108256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108257 (eval $ac_try) 2>&5
108258 ac_status=$?
108259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108260 (exit $ac_status); }; } &&
108261 { ac_try='test -s conftest$ac_exeext'
108262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108263 (eval $ac_try) 2>&5
108264 ac_status=$?
108265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108266 (exit $ac_status); }; }; then
108267 eval "$as_ac_var=yes"
108269 echo "$as_me: failed program was:" >&5
108270 sed 's/^/| /' conftest.$ac_ext >&5
108272 eval "$as_ac_var=no"
108274 rm -f conftest.err conftest.$ac_objext \
108275 conftest$ac_exeext conftest.$ac_ext
108277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108279 if test `eval echo '${'$as_ac_var'}'` = yes; then
108280 cat >>confdefs.h <<_ACEOF
108281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108282 _ACEOF
108293 CXXFLAGS="$ac_save_CXXFLAGS"
108296 # For LFS.
108297 cat >>confdefs.h <<\_ACEOF
108298 #define HAVE_INT64_T 1
108299 _ACEOF
108304 ac_ext=cc
108305 ac_cpp='$CXXCPP $CPPFLAGS'
108306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108310 ac_save_CXXFLAGS="$CXXFLAGS"
108311 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108312 echo "$as_me:$LINENO: checking for LFS support" >&5
108313 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108314 if test "${glibcxx_cv_LFS+set}" = set; then
108315 echo $ECHO_N "(cached) $ECHO_C" >&6
108318 if test x$gcc_no_link = xyes; then
108319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108321 { (exit 1); exit 1; }; }
108323 cat >conftest.$ac_ext <<_ACEOF
108324 /* confdefs.h. */
108325 _ACEOF
108326 cat confdefs.h >>conftest.$ac_ext
108327 cat >>conftest.$ac_ext <<_ACEOF
108328 /* end confdefs.h. */
108329 #include <unistd.h>
108330 #include <stdio.h>
108331 #include <sys/stat.h>
108334 main ()
108336 FILE* fp;
108337 fopen64("t", "w");
108338 fseeko64(fp, 0, SEEK_CUR);
108339 ftello64(fp);
108340 lseek64(1, 0, SEEK_CUR);
108341 struct stat64 buf;
108342 fstat64(1, &buf);
108344 return 0;
108346 _ACEOF
108347 rm -f conftest.$ac_objext conftest$ac_exeext
108348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108349 (eval $ac_link) 2>conftest.er1
108350 ac_status=$?
108351 grep -v '^ *+' conftest.er1 >conftest.err
108352 rm -f conftest.er1
108353 cat conftest.err >&5
108354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108355 (exit $ac_status); } &&
108356 { ac_try='test -z "$ac_cxx_werror_flag"
108357 || test ! -s conftest.err'
108358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108359 (eval $ac_try) 2>&5
108360 ac_status=$?
108361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108362 (exit $ac_status); }; } &&
108363 { ac_try='test -s conftest$ac_exeext'
108364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108365 (eval $ac_try) 2>&5
108366 ac_status=$?
108367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108368 (exit $ac_status); }; }; then
108369 glibcxx_cv_LFS=yes
108371 echo "$as_me: failed program was:" >&5
108372 sed 's/^/| /' conftest.$ac_ext >&5
108374 glibcxx_cv_LFS=no
108376 rm -f conftest.err conftest.$ac_objext \
108377 conftest$ac_exeext conftest.$ac_ext
108381 if test $glibcxx_cv_LFS = yes; then
108383 cat >>confdefs.h <<\_ACEOF
108384 #define _GLIBCXX_USE_LFS 1
108385 _ACEOF
108388 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108389 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108390 CXXFLAGS="$ac_save_CXXFLAGS"
108391 ac_ext=c
108392 ac_cpp='$CPP $CPPFLAGS'
108393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108399 # For showmanyc_helper().
108402 for ac_header in sys/ioctl.h sys/filio.h
108404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108406 echo "$as_me:$LINENO: checking for $ac_header" >&5
108407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108409 echo $ECHO_N "(cached) $ECHO_C" >&6
108411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108414 # Is the header compilable?
108415 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108417 cat >conftest.$ac_ext <<_ACEOF
108418 /* confdefs.h. */
108419 _ACEOF
108420 cat confdefs.h >>conftest.$ac_ext
108421 cat >>conftest.$ac_ext <<_ACEOF
108422 /* end confdefs.h. */
108423 $ac_includes_default
108424 #include <$ac_header>
108425 _ACEOF
108426 rm -f conftest.$ac_objext
108427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108428 (eval $ac_compile) 2>conftest.er1
108429 ac_status=$?
108430 grep -v '^ *+' conftest.er1 >conftest.err
108431 rm -f conftest.er1
108432 cat conftest.err >&5
108433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108434 (exit $ac_status); } &&
108435 { ac_try='test -z "$ac_c_werror_flag"
108436 || test ! -s conftest.err'
108437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108438 (eval $ac_try) 2>&5
108439 ac_status=$?
108440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108441 (exit $ac_status); }; } &&
108442 { ac_try='test -s conftest.$ac_objext'
108443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108444 (eval $ac_try) 2>&5
108445 ac_status=$?
108446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108447 (exit $ac_status); }; }; then
108448 ac_header_compiler=yes
108450 echo "$as_me: failed program was:" >&5
108451 sed 's/^/| /' conftest.$ac_ext >&5
108453 ac_header_compiler=no
108455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108457 echo "${ECHO_T}$ac_header_compiler" >&6
108459 # Is the header present?
108460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108462 cat >conftest.$ac_ext <<_ACEOF
108463 /* confdefs.h. */
108464 _ACEOF
108465 cat confdefs.h >>conftest.$ac_ext
108466 cat >>conftest.$ac_ext <<_ACEOF
108467 /* end confdefs.h. */
108468 #include <$ac_header>
108469 _ACEOF
108470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108472 ac_status=$?
108473 grep -v '^ *+' conftest.er1 >conftest.err
108474 rm -f conftest.er1
108475 cat conftest.err >&5
108476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108477 (exit $ac_status); } >/dev/null; then
108478 if test -s conftest.err; then
108479 ac_cpp_err=$ac_c_preproc_warn_flag
108480 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108482 ac_cpp_err=
108485 ac_cpp_err=yes
108487 if test -z "$ac_cpp_err"; then
108488 ac_header_preproc=yes
108490 echo "$as_me: failed program was:" >&5
108491 sed 's/^/| /' conftest.$ac_ext >&5
108493 ac_header_preproc=no
108495 rm -f conftest.err conftest.$ac_ext
108496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108497 echo "${ECHO_T}$ac_header_preproc" >&6
108499 # So? What about this header?
108500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108501 yes:no: )
108502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108506 ac_header_preproc=yes
108508 no:yes:* )
108509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108522 cat <<\_ASBOX
108523 ## ----------------------------------------- ##
108524 ## Report this to the package-unused lists. ##
108525 ## ----------------------------------------- ##
108526 _ASBOX
108528 sed "s/^/$as_me: WARNING: /" >&2
108531 echo "$as_me:$LINENO: checking for $ac_header" >&5
108532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108534 echo $ECHO_N "(cached) $ECHO_C" >&6
108536 eval "$as_ac_Header=\$ac_header_preproc"
108538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108543 cat >>confdefs.h <<_ACEOF
108544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108545 _ACEOF
108552 echo "$as_me:$LINENO: checking for poll" >&5
108553 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108554 if test "${glibcxx_cv_POLL+set}" = set; then
108555 echo $ECHO_N "(cached) $ECHO_C" >&6
108558 if test x$gcc_no_link = xyes; then
108559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108561 { (exit 1); exit 1; }; }
108563 cat >conftest.$ac_ext <<_ACEOF
108564 /* confdefs.h. */
108565 _ACEOF
108566 cat confdefs.h >>conftest.$ac_ext
108567 cat >>conftest.$ac_ext <<_ACEOF
108568 /* end confdefs.h. */
108569 #include <poll.h>
108571 main ()
108573 struct pollfd pfd[1];
108574 pfd[0].events = POLLIN;
108575 poll(pfd, 1, 0);
108577 return 0;
108579 _ACEOF
108580 rm -f conftest.$ac_objext conftest$ac_exeext
108581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108582 (eval $ac_link) 2>conftest.er1
108583 ac_status=$?
108584 grep -v '^ *+' conftest.er1 >conftest.err
108585 rm -f conftest.er1
108586 cat conftest.err >&5
108587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108588 (exit $ac_status); } &&
108589 { ac_try='test -z "$ac_c_werror_flag"
108590 || test ! -s conftest.err'
108591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108592 (eval $ac_try) 2>&5
108593 ac_status=$?
108594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108595 (exit $ac_status); }; } &&
108596 { ac_try='test -s conftest$ac_exeext'
108597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108598 (eval $ac_try) 2>&5
108599 ac_status=$?
108600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108601 (exit $ac_status); }; }; then
108602 glibcxx_cv_POLL=yes
108604 echo "$as_me: failed program was:" >&5
108605 sed 's/^/| /' conftest.$ac_ext >&5
108607 glibcxx_cv_POLL=no
108609 rm -f conftest.err conftest.$ac_objext \
108610 conftest$ac_exeext conftest.$ac_ext
108614 if test $glibcxx_cv_POLL = yes; then
108616 cat >>confdefs.h <<\_ACEOF
108617 #define HAVE_POLL 1
108618 _ACEOF
108621 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108622 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108625 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108626 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108627 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108628 echo $ECHO_N "(cached) $ECHO_C" >&6
108631 if test x$gcc_no_link = xyes; then
108632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108634 { (exit 1); exit 1; }; }
108636 cat >conftest.$ac_ext <<_ACEOF
108637 /* confdefs.h. */
108638 _ACEOF
108639 cat confdefs.h >>conftest.$ac_ext
108640 cat >>conftest.$ac_ext <<_ACEOF
108641 /* end confdefs.h. */
108642 #include <sys/stat.h>
108644 main ()
108646 struct stat buffer;
108647 fstat(0, &buffer);
108648 S_ISREG(buffer.st_mode);
108650 return 0;
108652 _ACEOF
108653 rm -f conftest.$ac_objext conftest$ac_exeext
108654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108655 (eval $ac_link) 2>conftest.er1
108656 ac_status=$?
108657 grep -v '^ *+' conftest.er1 >conftest.err
108658 rm -f conftest.er1
108659 cat conftest.err >&5
108660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108661 (exit $ac_status); } &&
108662 { ac_try='test -z "$ac_c_werror_flag"
108663 || test ! -s conftest.err'
108664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108665 (eval $ac_try) 2>&5
108666 ac_status=$?
108667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108668 (exit $ac_status); }; } &&
108669 { ac_try='test -s conftest$ac_exeext'
108670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108671 (eval $ac_try) 2>&5
108672 ac_status=$?
108673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108674 (exit $ac_status); }; }; then
108675 glibcxx_cv_S_ISREG=yes
108677 echo "$as_me: failed program was:" >&5
108678 sed 's/^/| /' conftest.$ac_ext >&5
108680 glibcxx_cv_S_ISREG=no
108682 rm -f conftest.err conftest.$ac_objext \
108683 conftest$ac_exeext conftest.$ac_ext
108687 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108688 echo $ECHO_N "(cached) $ECHO_C" >&6
108691 if test x$gcc_no_link = xyes; then
108692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108694 { (exit 1); exit 1; }; }
108696 cat >conftest.$ac_ext <<_ACEOF
108697 /* confdefs.h. */
108698 _ACEOF
108699 cat confdefs.h >>conftest.$ac_ext
108700 cat >>conftest.$ac_ext <<_ACEOF
108701 /* end confdefs.h. */
108702 #include <sys/stat.h>
108704 main ()
108706 struct stat buffer;
108707 fstat(0, &buffer);
108708 S_IFREG & buffer.st_mode;
108710 return 0;
108712 _ACEOF
108713 rm -f conftest.$ac_objext conftest$ac_exeext
108714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108715 (eval $ac_link) 2>conftest.er1
108716 ac_status=$?
108717 grep -v '^ *+' conftest.er1 >conftest.err
108718 rm -f conftest.er1
108719 cat conftest.err >&5
108720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108721 (exit $ac_status); } &&
108722 { ac_try='test -z "$ac_c_werror_flag"
108723 || test ! -s conftest.err'
108724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108725 (eval $ac_try) 2>&5
108726 ac_status=$?
108727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108728 (exit $ac_status); }; } &&
108729 { ac_try='test -s conftest$ac_exeext'
108730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108731 (eval $ac_try) 2>&5
108732 ac_status=$?
108733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108734 (exit $ac_status); }; }; then
108735 glibcxx_cv_S_IFREG=yes
108737 echo "$as_me: failed program was:" >&5
108738 sed 's/^/| /' conftest.$ac_ext >&5
108740 glibcxx_cv_S_IFREG=no
108742 rm -f conftest.err conftest.$ac_objext \
108743 conftest$ac_exeext conftest.$ac_ext
108747 res=no
108748 if test $glibcxx_cv_S_ISREG = yes; then
108750 cat >>confdefs.h <<\_ACEOF
108751 #define HAVE_S_ISREG 1
108752 _ACEOF
108754 res=S_ISREG
108755 elif test $glibcxx_cv_S_IFREG = yes; then
108757 cat >>confdefs.h <<\_ACEOF
108758 #define HAVE_S_IFREG 1
108759 _ACEOF
108761 res=S_IFREG
108763 echo "$as_me:$LINENO: result: $res" >&5
108764 echo "${ECHO_T}$res" >&6
108767 # For xsputn_2().
108769 for ac_header in sys/uio.h
108771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108773 echo "$as_me:$LINENO: checking for $ac_header" >&5
108774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108776 echo $ECHO_N "(cached) $ECHO_C" >&6
108778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108781 # Is the header compilable?
108782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108784 cat >conftest.$ac_ext <<_ACEOF
108785 /* confdefs.h. */
108786 _ACEOF
108787 cat confdefs.h >>conftest.$ac_ext
108788 cat >>conftest.$ac_ext <<_ACEOF
108789 /* end confdefs.h. */
108790 $ac_includes_default
108791 #include <$ac_header>
108792 _ACEOF
108793 rm -f conftest.$ac_objext
108794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108795 (eval $ac_compile) 2>conftest.er1
108796 ac_status=$?
108797 grep -v '^ *+' conftest.er1 >conftest.err
108798 rm -f conftest.er1
108799 cat conftest.err >&5
108800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108801 (exit $ac_status); } &&
108802 { ac_try='test -z "$ac_c_werror_flag"
108803 || test ! -s conftest.err'
108804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108805 (eval $ac_try) 2>&5
108806 ac_status=$?
108807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108808 (exit $ac_status); }; } &&
108809 { ac_try='test -s conftest.$ac_objext'
108810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108811 (eval $ac_try) 2>&5
108812 ac_status=$?
108813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108814 (exit $ac_status); }; }; then
108815 ac_header_compiler=yes
108817 echo "$as_me: failed program was:" >&5
108818 sed 's/^/| /' conftest.$ac_ext >&5
108820 ac_header_compiler=no
108822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108824 echo "${ECHO_T}$ac_header_compiler" >&6
108826 # Is the header present?
108827 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108829 cat >conftest.$ac_ext <<_ACEOF
108830 /* confdefs.h. */
108831 _ACEOF
108832 cat confdefs.h >>conftest.$ac_ext
108833 cat >>conftest.$ac_ext <<_ACEOF
108834 /* end confdefs.h. */
108835 #include <$ac_header>
108836 _ACEOF
108837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108839 ac_status=$?
108840 grep -v '^ *+' conftest.er1 >conftest.err
108841 rm -f conftest.er1
108842 cat conftest.err >&5
108843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108844 (exit $ac_status); } >/dev/null; then
108845 if test -s conftest.err; then
108846 ac_cpp_err=$ac_c_preproc_warn_flag
108847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108849 ac_cpp_err=
108852 ac_cpp_err=yes
108854 if test -z "$ac_cpp_err"; then
108855 ac_header_preproc=yes
108857 echo "$as_me: failed program was:" >&5
108858 sed 's/^/| /' conftest.$ac_ext >&5
108860 ac_header_preproc=no
108862 rm -f conftest.err conftest.$ac_ext
108863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108864 echo "${ECHO_T}$ac_header_preproc" >&6
108866 # So? What about this header?
108867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108868 yes:no: )
108869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108873 ac_header_preproc=yes
108875 no:yes:* )
108876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108889 cat <<\_ASBOX
108890 ## ----------------------------------------- ##
108891 ## Report this to the package-unused lists. ##
108892 ## ----------------------------------------- ##
108893 _ASBOX
108895 sed "s/^/$as_me: WARNING: /" >&2
108898 echo "$as_me:$LINENO: checking for $ac_header" >&5
108899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108901 echo $ECHO_N "(cached) $ECHO_C" >&6
108903 eval "$as_ac_Header=\$ac_header_preproc"
108905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108910 cat >>confdefs.h <<_ACEOF
108911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108912 _ACEOF
108919 echo "$as_me:$LINENO: checking for writev" >&5
108920 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108921 if test "${glibcxx_cv_WRITEV+set}" = set; then
108922 echo $ECHO_N "(cached) $ECHO_C" >&6
108925 if test x$gcc_no_link = xyes; then
108926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108928 { (exit 1); exit 1; }; }
108930 cat >conftest.$ac_ext <<_ACEOF
108931 /* confdefs.h. */
108932 _ACEOF
108933 cat confdefs.h >>conftest.$ac_ext
108934 cat >>conftest.$ac_ext <<_ACEOF
108935 /* end confdefs.h. */
108936 #include <sys/uio.h>
108938 main ()
108940 struct iovec iov[2];
108941 writev(0, iov, 0);
108943 return 0;
108945 _ACEOF
108946 rm -f conftest.$ac_objext conftest$ac_exeext
108947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108948 (eval $ac_link) 2>conftest.er1
108949 ac_status=$?
108950 grep -v '^ *+' conftest.er1 >conftest.err
108951 rm -f conftest.er1
108952 cat conftest.err >&5
108953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108954 (exit $ac_status); } &&
108955 { ac_try='test -z "$ac_c_werror_flag"
108956 || test ! -s conftest.err'
108957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108958 (eval $ac_try) 2>&5
108959 ac_status=$?
108960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108961 (exit $ac_status); }; } &&
108962 { ac_try='test -s conftest$ac_exeext'
108963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108964 (eval $ac_try) 2>&5
108965 ac_status=$?
108966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108967 (exit $ac_status); }; }; then
108968 glibcxx_cv_WRITEV=yes
108970 echo "$as_me: failed program was:" >&5
108971 sed 's/^/| /' conftest.$ac_ext >&5
108973 glibcxx_cv_WRITEV=no
108975 rm -f conftest.err conftest.$ac_objext \
108976 conftest$ac_exeext conftest.$ac_ext
108980 if test $glibcxx_cv_WRITEV = yes; then
108982 cat >>confdefs.h <<\_ACEOF
108983 #define HAVE_WRITEV 1
108984 _ACEOF
108987 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108988 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108991 # For C99 support to TR1.
108996 ac_ext=cc
108997 ac_cpp='$CXXCPP $CPPFLAGS'
108998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109003 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
109004 # undefined and fake C99 facilities may be spuriously enabled.
109005 ac_save_CXXFLAGS="$CXXFLAGS"
109006 CXXFLAGS="$CXXFLAGS -std=c++98"
109008 # Check for the existence of <complex.h> complex math functions used
109009 # by tr1/complex.
109011 for ac_header in complex.h
109013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109015 echo "$as_me:$LINENO: checking for $ac_header" >&5
109016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109018 echo $ECHO_N "(cached) $ECHO_C" >&6
109020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109023 # Is the header compilable?
109024 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109026 cat >conftest.$ac_ext <<_ACEOF
109027 /* confdefs.h. */
109028 _ACEOF
109029 cat confdefs.h >>conftest.$ac_ext
109030 cat >>conftest.$ac_ext <<_ACEOF
109031 /* end confdefs.h. */
109032 $ac_includes_default
109033 #include <$ac_header>
109034 _ACEOF
109035 rm -f conftest.$ac_objext
109036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109037 (eval $ac_compile) 2>conftest.er1
109038 ac_status=$?
109039 grep -v '^ *+' conftest.er1 >conftest.err
109040 rm -f conftest.er1
109041 cat conftest.err >&5
109042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109043 (exit $ac_status); } &&
109044 { ac_try='test -z "$ac_cxx_werror_flag"
109045 || test ! -s conftest.err'
109046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109047 (eval $ac_try) 2>&5
109048 ac_status=$?
109049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109050 (exit $ac_status); }; } &&
109051 { ac_try='test -s conftest.$ac_objext'
109052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109053 (eval $ac_try) 2>&5
109054 ac_status=$?
109055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109056 (exit $ac_status); }; }; then
109057 ac_header_compiler=yes
109059 echo "$as_me: failed program was:" >&5
109060 sed 's/^/| /' conftest.$ac_ext >&5
109062 ac_header_compiler=no
109064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109066 echo "${ECHO_T}$ac_header_compiler" >&6
109068 # Is the header present?
109069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109071 cat >conftest.$ac_ext <<_ACEOF
109072 /* confdefs.h. */
109073 _ACEOF
109074 cat confdefs.h >>conftest.$ac_ext
109075 cat >>conftest.$ac_ext <<_ACEOF
109076 /* end confdefs.h. */
109077 #include <$ac_header>
109078 _ACEOF
109079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109081 ac_status=$?
109082 grep -v '^ *+' conftest.er1 >conftest.err
109083 rm -f conftest.er1
109084 cat conftest.err >&5
109085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109086 (exit $ac_status); } >/dev/null; then
109087 if test -s conftest.err; then
109088 ac_cpp_err=$ac_cxx_preproc_warn_flag
109089 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109091 ac_cpp_err=
109094 ac_cpp_err=yes
109096 if test -z "$ac_cpp_err"; then
109097 ac_header_preproc=yes
109099 echo "$as_me: failed program was:" >&5
109100 sed 's/^/| /' conftest.$ac_ext >&5
109102 ac_header_preproc=no
109104 rm -f conftest.err conftest.$ac_ext
109105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109106 echo "${ECHO_T}$ac_header_preproc" >&6
109108 # So? What about this header?
109109 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109110 yes:no: )
109111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109115 ac_header_preproc=yes
109117 no:yes:* )
109118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109131 cat <<\_ASBOX
109132 ## ----------------------------------------- ##
109133 ## Report this to the package-unused lists. ##
109134 ## ----------------------------------------- ##
109135 _ASBOX
109137 sed "s/^/$as_me: WARNING: /" >&2
109140 echo "$as_me:$LINENO: checking for $ac_header" >&5
109141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109143 echo $ECHO_N "(cached) $ECHO_C" >&6
109145 eval "$as_ac_Header=\$ac_header_preproc"
109147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109152 cat >>confdefs.h <<_ACEOF
109153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109154 _ACEOF
109155 ac_has_complex_h=yes
109157 ac_has_complex_h=no
109162 ac_c99_complex_tr1=no;
109163 if test x"$ac_has_complex_h" = x"yes"; then
109164 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109165 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109166 cat >conftest.$ac_ext <<_ACEOF
109167 /* confdefs.h. */
109168 _ACEOF
109169 cat confdefs.h >>conftest.$ac_ext
109170 cat >>conftest.$ac_ext <<_ACEOF
109171 /* end confdefs.h. */
109172 #include <complex.h>
109174 main ()
109176 typedef __complex__ float float_type; float_type tmpf;
109177 cacosf(tmpf);
109178 casinf(tmpf);
109179 catanf(tmpf);
109180 cacoshf(tmpf);
109181 casinhf(tmpf);
109182 catanhf(tmpf);
109183 typedef __complex__ double double_type; double_type tmpd;
109184 cacos(tmpd);
109185 casin(tmpd);
109186 catan(tmpd);
109187 cacosh(tmpd);
109188 casinh(tmpd);
109189 catanh(tmpd);
109190 typedef __complex__ long double ld_type; ld_type tmpld;
109191 cacosl(tmpld);
109192 casinl(tmpld);
109193 catanl(tmpld);
109194 cacoshl(tmpld);
109195 casinhl(tmpld);
109196 catanhl(tmpld);
109199 return 0;
109201 _ACEOF
109202 rm -f conftest.$ac_objext
109203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109204 (eval $ac_compile) 2>conftest.er1
109205 ac_status=$?
109206 grep -v '^ *+' conftest.er1 >conftest.err
109207 rm -f conftest.er1
109208 cat conftest.err >&5
109209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109210 (exit $ac_status); } &&
109211 { ac_try='test -z "$ac_cxx_werror_flag"
109212 || test ! -s conftest.err'
109213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109214 (eval $ac_try) 2>&5
109215 ac_status=$?
109216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109217 (exit $ac_status); }; } &&
109218 { ac_try='test -s conftest.$ac_objext'
109219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109220 (eval $ac_try) 2>&5
109221 ac_status=$?
109222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109223 (exit $ac_status); }; }; then
109224 ac_c99_complex_tr1=yes
109226 echo "$as_me: failed program was:" >&5
109227 sed 's/^/| /' conftest.$ac_ext >&5
109229 ac_c99_complex_tr1=no
109231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109233 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109234 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109235 if test x"$ac_c99_complex_tr1" = x"yes"; then
109237 cat >>confdefs.h <<\_ACEOF
109238 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109239 _ACEOF
109243 # Check for the existence of <ctype.h> functions.
109244 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109245 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109246 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109247 echo $ECHO_N "(cached) $ECHO_C" >&6
109250 cat >conftest.$ac_ext <<_ACEOF
109251 /* confdefs.h. */
109252 _ACEOF
109253 cat confdefs.h >>conftest.$ac_ext
109254 cat >>conftest.$ac_ext <<_ACEOF
109255 /* end confdefs.h. */
109256 #include <ctype.h>
109258 main ()
109260 int ch;
109261 int ret;
109262 ret = isblank(ch);
109265 return 0;
109267 _ACEOF
109268 rm -f conftest.$ac_objext
109269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109270 (eval $ac_compile) 2>conftest.er1
109271 ac_status=$?
109272 grep -v '^ *+' conftest.er1 >conftest.err
109273 rm -f conftest.er1
109274 cat conftest.err >&5
109275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109276 (exit $ac_status); } &&
109277 { ac_try='test -z "$ac_cxx_werror_flag"
109278 || test ! -s conftest.err'
109279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109280 (eval $ac_try) 2>&5
109281 ac_status=$?
109282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109283 (exit $ac_status); }; } &&
109284 { ac_try='test -s conftest.$ac_objext'
109285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109286 (eval $ac_try) 2>&5
109287 ac_status=$?
109288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109289 (exit $ac_status); }; }; then
109290 glibcxx_cv_c99_ctype_tr1=yes
109292 echo "$as_me: failed program was:" >&5
109293 sed 's/^/| /' conftest.$ac_ext >&5
109295 glibcxx_cv_c99_ctype_tr1=no
109297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109301 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109302 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109303 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109305 cat >>confdefs.h <<\_ACEOF
109306 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109307 _ACEOF
109311 # Check for the existence of <fenv.h> functions.
109313 for ac_header in fenv.h
109315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109317 echo "$as_me:$LINENO: checking for $ac_header" >&5
109318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109320 echo $ECHO_N "(cached) $ECHO_C" >&6
109322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109325 # Is the header compilable?
109326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109328 cat >conftest.$ac_ext <<_ACEOF
109329 /* confdefs.h. */
109330 _ACEOF
109331 cat confdefs.h >>conftest.$ac_ext
109332 cat >>conftest.$ac_ext <<_ACEOF
109333 /* end confdefs.h. */
109334 $ac_includes_default
109335 #include <$ac_header>
109336 _ACEOF
109337 rm -f conftest.$ac_objext
109338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109339 (eval $ac_compile) 2>conftest.er1
109340 ac_status=$?
109341 grep -v '^ *+' conftest.er1 >conftest.err
109342 rm -f conftest.er1
109343 cat conftest.err >&5
109344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109345 (exit $ac_status); } &&
109346 { ac_try='test -z "$ac_cxx_werror_flag"
109347 || test ! -s conftest.err'
109348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109349 (eval $ac_try) 2>&5
109350 ac_status=$?
109351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109352 (exit $ac_status); }; } &&
109353 { ac_try='test -s conftest.$ac_objext'
109354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109355 (eval $ac_try) 2>&5
109356 ac_status=$?
109357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109358 (exit $ac_status); }; }; then
109359 ac_header_compiler=yes
109361 echo "$as_me: failed program was:" >&5
109362 sed 's/^/| /' conftest.$ac_ext >&5
109364 ac_header_compiler=no
109366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109368 echo "${ECHO_T}$ac_header_compiler" >&6
109370 # Is the header present?
109371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109373 cat >conftest.$ac_ext <<_ACEOF
109374 /* confdefs.h. */
109375 _ACEOF
109376 cat confdefs.h >>conftest.$ac_ext
109377 cat >>conftest.$ac_ext <<_ACEOF
109378 /* end confdefs.h. */
109379 #include <$ac_header>
109380 _ACEOF
109381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109383 ac_status=$?
109384 grep -v '^ *+' conftest.er1 >conftest.err
109385 rm -f conftest.er1
109386 cat conftest.err >&5
109387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109388 (exit $ac_status); } >/dev/null; then
109389 if test -s conftest.err; then
109390 ac_cpp_err=$ac_cxx_preproc_warn_flag
109391 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109393 ac_cpp_err=
109396 ac_cpp_err=yes
109398 if test -z "$ac_cpp_err"; then
109399 ac_header_preproc=yes
109401 echo "$as_me: failed program was:" >&5
109402 sed 's/^/| /' conftest.$ac_ext >&5
109404 ac_header_preproc=no
109406 rm -f conftest.err conftest.$ac_ext
109407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109408 echo "${ECHO_T}$ac_header_preproc" >&6
109410 # So? What about this header?
109411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109412 yes:no: )
109413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109417 ac_header_preproc=yes
109419 no:yes:* )
109420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109433 cat <<\_ASBOX
109434 ## ----------------------------------------- ##
109435 ## Report this to the package-unused lists. ##
109436 ## ----------------------------------------- ##
109437 _ASBOX
109439 sed "s/^/$as_me: WARNING: /" >&2
109442 echo "$as_me:$LINENO: checking for $ac_header" >&5
109443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109445 echo $ECHO_N "(cached) $ECHO_C" >&6
109447 eval "$as_ac_Header=\$ac_header_preproc"
109449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109454 cat >>confdefs.h <<_ACEOF
109455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109456 _ACEOF
109457 ac_has_fenv_h=yes
109459 ac_has_fenv_h=no
109464 ac_c99_fenv_tr1=no;
109465 if test x"$ac_has_fenv_h" = x"yes"; then
109466 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109467 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109468 cat >conftest.$ac_ext <<_ACEOF
109469 /* confdefs.h. */
109470 _ACEOF
109471 cat confdefs.h >>conftest.$ac_ext
109472 cat >>conftest.$ac_ext <<_ACEOF
109473 /* end confdefs.h. */
109474 #include <fenv.h>
109476 main ()
109478 int except, mode;
109479 fexcept_t* pflag;
109480 fenv_t* penv;
109481 int ret;
109482 ret = feclearexcept(except);
109483 ret = fegetexceptflag(pflag, except);
109484 ret = feraiseexcept(except);
109485 ret = fesetexceptflag(pflag, except);
109486 ret = fetestexcept(except);
109487 ret = fegetround();
109488 ret = fesetround(mode);
109489 ret = fegetenv(penv);
109490 ret = feholdexcept(penv);
109491 ret = fesetenv(penv);
109492 ret = feupdateenv(penv);
109495 return 0;
109497 _ACEOF
109498 rm -f conftest.$ac_objext
109499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109500 (eval $ac_compile) 2>conftest.er1
109501 ac_status=$?
109502 grep -v '^ *+' conftest.er1 >conftest.err
109503 rm -f conftest.er1
109504 cat conftest.err >&5
109505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109506 (exit $ac_status); } &&
109507 { ac_try='test -z "$ac_cxx_werror_flag"
109508 || test ! -s conftest.err'
109509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109510 (eval $ac_try) 2>&5
109511 ac_status=$?
109512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109513 (exit $ac_status); }; } &&
109514 { ac_try='test -s conftest.$ac_objext'
109515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109516 (eval $ac_try) 2>&5
109517 ac_status=$?
109518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109519 (exit $ac_status); }; }; then
109520 ac_c99_fenv_tr1=yes
109522 echo "$as_me: failed program was:" >&5
109523 sed 's/^/| /' conftest.$ac_ext >&5
109525 ac_c99_fenv_tr1=no
109527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109529 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109530 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109531 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109533 cat >>confdefs.h <<\_ACEOF
109534 #define _GLIBCXX_USE_C99_FENV_TR1 1
109535 _ACEOF
109539 # Check for the existence of <stdint.h> types.
109540 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109541 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109542 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
109543 echo $ECHO_N "(cached) $ECHO_C" >&6
109546 cat >conftest.$ac_ext <<_ACEOF
109547 /* confdefs.h. */
109548 _ACEOF
109549 cat confdefs.h >>conftest.$ac_ext
109550 cat >>conftest.$ac_ext <<_ACEOF
109551 /* end confdefs.h. */
109552 #include <stdint.h>
109554 main ()
109556 typedef int8_t my_int8_t;
109557 typedef int16_t my_int16_t;
109558 typedef int32_t my_int32_t;
109559 typedef int64_t my_int64_t;
109560 typedef int_fast8_t my_int_fast8_t;
109561 typedef int_fast16_t my_int_fast16_t;
109562 typedef int_fast32_t my_int_fast32_t;
109563 typedef int_fast64_t my_int_fast64_t;
109564 typedef int_least8_t my_int_least8_t;
109565 typedef int_least16_t my_int_least16_t;
109566 typedef int_least32_t my_int_least32_t;
109567 typedef int_least64_t my_int_least64_t;
109568 typedef intmax_t my_intmax_t;
109569 typedef intptr_t my_intptr_t;
109570 typedef uint8_t my_uint8_t;
109571 typedef uint16_t my_uint16_t;
109572 typedef uint32_t my_uint32_t;
109573 typedef uint64_t my_uint64_t;
109574 typedef uint_fast8_t my_uint_fast8_t;
109575 typedef uint_fast16_t my_uint_fast16_t;
109576 typedef uint_fast32_t my_uint_fast32_t;
109577 typedef uint_fast64_t my_uint_fast64_t;
109578 typedef uint_least8_t my_uint_least8_t;
109579 typedef uint_least16_t my_uint_least16_t;
109580 typedef uint_least32_t my_uint_least32_t;
109581 typedef uint_least64_t my_uint_least64_t;
109582 typedef uintmax_t my_uintmax_t;
109583 typedef uintptr_t my_uintptr_t;
109586 return 0;
109588 _ACEOF
109589 rm -f conftest.$ac_objext
109590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109591 (eval $ac_compile) 2>conftest.er1
109592 ac_status=$?
109593 grep -v '^ *+' conftest.er1 >conftest.err
109594 rm -f conftest.er1
109595 cat conftest.err >&5
109596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109597 (exit $ac_status); } &&
109598 { ac_try='test -z "$ac_cxx_werror_flag"
109599 || test ! -s conftest.err'
109600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109601 (eval $ac_try) 2>&5
109602 ac_status=$?
109603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109604 (exit $ac_status); }; } &&
109605 { ac_try='test -s conftest.$ac_objext'
109606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109607 (eval $ac_try) 2>&5
109608 ac_status=$?
109609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109610 (exit $ac_status); }; }; then
109611 glibcxx_cv_c99_stdint_tr1=yes
109613 echo "$as_me: failed program was:" >&5
109614 sed 's/^/| /' conftest.$ac_ext >&5
109616 glibcxx_cv_c99_stdint_tr1=no
109618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109622 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
109623 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
109624 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109626 cat >>confdefs.h <<\_ACEOF
109627 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109628 _ACEOF
109632 # Check for the existence of <math.h> functions.
109633 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109634 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109635 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
109636 echo $ECHO_N "(cached) $ECHO_C" >&6
109639 cat >conftest.$ac_ext <<_ACEOF
109640 /* confdefs.h. */
109641 _ACEOF
109642 cat confdefs.h >>conftest.$ac_ext
109643 cat >>conftest.$ac_ext <<_ACEOF
109644 /* end confdefs.h. */
109645 #include <math.h>
109647 main ()
109649 typedef double_t my_double_t;
109650 typedef float_t my_float_t;
109651 acosh(0.0);
109652 acoshf(0.0f);
109653 acoshl(0.0l);
109654 asinh(0.0);
109655 asinhf(0.0f);
109656 asinhl(0.0l);
109657 atanh(0.0);
109658 atanhf(0.0f);
109659 atanhl(0.0l);
109660 cbrt(0.0);
109661 cbrtf(0.0f);
109662 cbrtl(0.0l);
109663 copysign(0.0, 0.0);
109664 copysignf(0.0f, 0.0f);
109665 copysignl(0.0l, 0.0l);
109666 erf(0.0);
109667 erff(0.0f);
109668 erfl(0.0l);
109669 erfc(0.0);
109670 erfcf(0.0f);
109671 erfcl(0.0l);
109672 exp2(0.0);
109673 exp2f(0.0f);
109674 exp2l(0.0l);
109675 expm1(0.0);
109676 expm1f(0.0f);
109677 expm1l(0.0l);
109678 fdim(0.0, 0.0);
109679 fdimf(0.0f, 0.0f);
109680 fdiml(0.0l, 0.0l);
109681 fma(0.0, 0.0, 0.0);
109682 fmaf(0.0f, 0.0f, 0.0f);
109683 fmal(0.0l, 0.0l, 0.0l);
109684 fmax(0.0, 0.0);
109685 fmaxf(0.0f, 0.0f);
109686 fmaxl(0.0l, 0.0l);
109687 fmin(0.0, 0.0);
109688 fminf(0.0f, 0.0f);
109689 fminl(0.0l, 0.0l);
109690 hypot(0.0, 0.0);
109691 hypotf(0.0f, 0.0f);
109692 hypotl(0.0l, 0.0l);
109693 ilogb(0.0);
109694 ilogbf(0.0f);
109695 ilogbl(0.0l);
109696 lgamma(0.0);
109697 lgammaf(0.0f);
109698 lgammal(0.0l);
109699 llrint(0.0);
109700 llrintf(0.0f);
109701 llrintl(0.0l);
109702 llround(0.0);
109703 llroundf(0.0f);
109704 llroundl(0.0l);
109705 log1p(0.0);
109706 log1pf(0.0f);
109707 log1pl(0.0l);
109708 log2(0.0);
109709 log2f(0.0f);
109710 log2l(0.0l);
109711 logb(0.0);
109712 logbf(0.0f);
109713 logbl(0.0l);
109714 lrint(0.0);
109715 lrintf(0.0f);
109716 lrintl(0.0l);
109717 lround(0.0);
109718 lroundf(0.0f);
109719 lroundl(0.0l);
109720 nan(0);
109721 nanf(0);
109722 nanl(0);
109723 nearbyint(0.0);
109724 nearbyintf(0.0f);
109725 nearbyintl(0.0l);
109726 nextafter(0.0, 0.0);
109727 nextafterf(0.0f, 0.0f);
109728 nextafterl(0.0l, 0.0l);
109729 nexttoward(0.0, 0.0);
109730 nexttowardf(0.0f, 0.0f);
109731 nexttowardl(0.0l, 0.0l);
109732 remainder(0.0, 0.0);
109733 remainderf(0.0f, 0.0f);
109734 remainderl(0.0l, 0.0l);
109735 remquo(0.0, 0.0, 0);
109736 remquo(0.0f, 0.0f, 0);
109737 remquo(0.0l, 0.0l, 0);
109738 rint(0.0);
109739 rintf(0.0f);
109740 rintl(0.0l);
109741 round(0.0);
109742 roundf(0.0f);
109743 roundl(0.0l);
109744 scalbln(0.0, 0l);
109745 scalblnf(0.0f, 0l);
109746 scalblnl(0.0l, 0l);
109747 scalbn(0.0, 0);
109748 scalbnf(0.0f, 0);
109749 scalbnl(0.0l, 0);
109750 tgamma(0.0);
109751 tgammaf(0.0f);
109752 tgammal(0.0l);
109753 trunc(0.0);
109754 truncf(0.0f);
109755 truncl(0.0l);
109758 return 0;
109760 _ACEOF
109761 rm -f conftest.$ac_objext
109762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109763 (eval $ac_compile) 2>conftest.er1
109764 ac_status=$?
109765 grep -v '^ *+' conftest.er1 >conftest.err
109766 rm -f conftest.er1
109767 cat conftest.err >&5
109768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109769 (exit $ac_status); } &&
109770 { ac_try='test -z "$ac_cxx_werror_flag"
109771 || test ! -s conftest.err'
109772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109773 (eval $ac_try) 2>&5
109774 ac_status=$?
109775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109776 (exit $ac_status); }; } &&
109777 { ac_try='test -s conftest.$ac_objext'
109778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109779 (eval $ac_try) 2>&5
109780 ac_status=$?
109781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109782 (exit $ac_status); }; }; then
109783 glibcxx_cv_c99_math_tr1=yes
109785 echo "$as_me: failed program was:" >&5
109786 sed 's/^/| /' conftest.$ac_ext >&5
109788 glibcxx_cv_c99_math_tr1=no
109790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109794 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
109795 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
109796 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
109798 cat >>confdefs.h <<\_ACEOF
109799 #define _GLIBCXX_USE_C99_MATH_TR1 1
109800 _ACEOF
109804 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109805 # sense if the previous check fails, per C99, 7.8/1).
109806 ac_c99_inttypes_tr1=no;
109807 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109808 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109809 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109810 cat >conftest.$ac_ext <<_ACEOF
109811 /* confdefs.h. */
109812 _ACEOF
109813 cat confdefs.h >>conftest.$ac_ext
109814 cat >>conftest.$ac_ext <<_ACEOF
109815 /* end confdefs.h. */
109816 #include <inttypes.h>
109818 main ()
109820 intmax_t i, numer, denom, base;
109821 const char* s;
109822 char** endptr;
109823 intmax_t ret = imaxabs(i);
109824 imaxdiv_t dret = imaxdiv(numer, denom);
109825 ret = strtoimax(s, endptr, base);
109826 uintmax_t uret = strtoumax(s, endptr, base);
109829 return 0;
109831 _ACEOF
109832 rm -f conftest.$ac_objext
109833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109834 (eval $ac_compile) 2>conftest.er1
109835 ac_status=$?
109836 grep -v '^ *+' conftest.er1 >conftest.err
109837 rm -f conftest.er1
109838 cat conftest.err >&5
109839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109840 (exit $ac_status); } &&
109841 { ac_try='test -z "$ac_cxx_werror_flag"
109842 || test ! -s conftest.err'
109843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109844 (eval $ac_try) 2>&5
109845 ac_status=$?
109846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109847 (exit $ac_status); }; } &&
109848 { ac_try='test -s conftest.$ac_objext'
109849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109850 (eval $ac_try) 2>&5
109851 ac_status=$?
109852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109853 (exit $ac_status); }; }; then
109854 ac_c99_inttypes_tr1=yes
109856 echo "$as_me: failed program was:" >&5
109857 sed 's/^/| /' conftest.$ac_ext >&5
109859 ac_c99_inttypes_tr1=no
109861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109863 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109864 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109865 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109867 cat >>confdefs.h <<\_ACEOF
109868 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109869 _ACEOF
109873 # Check for the existence of the <stdbool.h> header.
109875 for ac_header in stdbool.h
109877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109879 echo "$as_me:$LINENO: checking for $ac_header" >&5
109880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109882 echo $ECHO_N "(cached) $ECHO_C" >&6
109884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109887 # Is the header compilable?
109888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109890 cat >conftest.$ac_ext <<_ACEOF
109891 /* confdefs.h. */
109892 _ACEOF
109893 cat confdefs.h >>conftest.$ac_ext
109894 cat >>conftest.$ac_ext <<_ACEOF
109895 /* end confdefs.h. */
109896 $ac_includes_default
109897 #include <$ac_header>
109898 _ACEOF
109899 rm -f conftest.$ac_objext
109900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109901 (eval $ac_compile) 2>conftest.er1
109902 ac_status=$?
109903 grep -v '^ *+' conftest.er1 >conftest.err
109904 rm -f conftest.er1
109905 cat conftest.err >&5
109906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109907 (exit $ac_status); } &&
109908 { ac_try='test -z "$ac_cxx_werror_flag"
109909 || test ! -s conftest.err'
109910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109911 (eval $ac_try) 2>&5
109912 ac_status=$?
109913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109914 (exit $ac_status); }; } &&
109915 { ac_try='test -s conftest.$ac_objext'
109916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109917 (eval $ac_try) 2>&5
109918 ac_status=$?
109919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109920 (exit $ac_status); }; }; then
109921 ac_header_compiler=yes
109923 echo "$as_me: failed program was:" >&5
109924 sed 's/^/| /' conftest.$ac_ext >&5
109926 ac_header_compiler=no
109928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109930 echo "${ECHO_T}$ac_header_compiler" >&6
109932 # Is the header present?
109933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109935 cat >conftest.$ac_ext <<_ACEOF
109936 /* confdefs.h. */
109937 _ACEOF
109938 cat confdefs.h >>conftest.$ac_ext
109939 cat >>conftest.$ac_ext <<_ACEOF
109940 /* end confdefs.h. */
109941 #include <$ac_header>
109942 _ACEOF
109943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109945 ac_status=$?
109946 grep -v '^ *+' conftest.er1 >conftest.err
109947 rm -f conftest.er1
109948 cat conftest.err >&5
109949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109950 (exit $ac_status); } >/dev/null; then
109951 if test -s conftest.err; then
109952 ac_cpp_err=$ac_cxx_preproc_warn_flag
109953 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109955 ac_cpp_err=
109958 ac_cpp_err=yes
109960 if test -z "$ac_cpp_err"; then
109961 ac_header_preproc=yes
109963 echo "$as_me: failed program was:" >&5
109964 sed 's/^/| /' conftest.$ac_ext >&5
109966 ac_header_preproc=no
109968 rm -f conftest.err conftest.$ac_ext
109969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109970 echo "${ECHO_T}$ac_header_preproc" >&6
109972 # So? What about this header?
109973 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109974 yes:no: )
109975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109979 ac_header_preproc=yes
109981 no:yes:* )
109982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109995 cat <<\_ASBOX
109996 ## ----------------------------------------- ##
109997 ## Report this to the package-unused lists. ##
109998 ## ----------------------------------------- ##
109999 _ASBOX
110001 sed "s/^/$as_me: WARNING: /" >&2
110004 echo "$as_me:$LINENO: checking for $ac_header" >&5
110005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110007 echo $ECHO_N "(cached) $ECHO_C" >&6
110009 eval "$as_ac_Header=\$ac_header_preproc"
110011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110016 cat >>confdefs.h <<_ACEOF
110017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110018 _ACEOF
110025 CXXFLAGS="$ac_save_CXXFLAGS"
110026 ac_ext=c
110027 ac_cpp='$CPP $CPPFLAGS'
110028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110034 # Check for sigsetjmp
110035 cat >conftest.$ac_ext <<_ACEOF
110036 /* confdefs.h. */
110037 _ACEOF
110038 cat confdefs.h >>conftest.$ac_ext
110039 cat >>conftest.$ac_ext <<_ACEOF
110040 /* end confdefs.h. */
110041 #include <setjmp.h>
110043 main ()
110045 sigjmp_buf env;
110046 while (! sigsetjmp (env, 1))
110047 siglongjmp (env, 1);
110050 return 0;
110052 _ACEOF
110053 rm -f conftest.$ac_objext
110054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110055 (eval $ac_compile) 2>conftest.er1
110056 ac_status=$?
110057 grep -v '^ *+' conftest.er1 >conftest.err
110058 rm -f conftest.er1
110059 cat conftest.err >&5
110060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110061 (exit $ac_status); } &&
110062 { ac_try='test -z "$ac_c_werror_flag"
110063 || test ! -s conftest.err'
110064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110065 (eval $ac_try) 2>&5
110066 ac_status=$?
110067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110068 (exit $ac_status); }; } &&
110069 { ac_try='test -s conftest.$ac_objext'
110070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110071 (eval $ac_try) 2>&5
110072 ac_status=$?
110073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110074 (exit $ac_status); }; }; then
110076 cat >>confdefs.h <<\_ACEOF
110077 #define HAVE_SIGSETJMP 1
110078 _ACEOF
110081 echo "$as_me: failed program was:" >&5
110082 sed 's/^/| /' conftest.$ac_ext >&5
110085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110087 *-mingw32*)
110091 for ac_header in sys/types.h locale.h float.h
110093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110095 echo "$as_me:$LINENO: checking for $ac_header" >&5
110096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110098 echo $ECHO_N "(cached) $ECHO_C" >&6
110100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110103 # Is the header compilable?
110104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110106 cat >conftest.$ac_ext <<_ACEOF
110107 /* confdefs.h. */
110108 _ACEOF
110109 cat confdefs.h >>conftest.$ac_ext
110110 cat >>conftest.$ac_ext <<_ACEOF
110111 /* end confdefs.h. */
110112 $ac_includes_default
110113 #include <$ac_header>
110114 _ACEOF
110115 rm -f conftest.$ac_objext
110116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110117 (eval $ac_compile) 2>conftest.er1
110118 ac_status=$?
110119 grep -v '^ *+' conftest.er1 >conftest.err
110120 rm -f conftest.er1
110121 cat conftest.err >&5
110122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110123 (exit $ac_status); } &&
110124 { ac_try='test -z "$ac_c_werror_flag"
110125 || test ! -s conftest.err'
110126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110127 (eval $ac_try) 2>&5
110128 ac_status=$?
110129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110130 (exit $ac_status); }; } &&
110131 { ac_try='test -s conftest.$ac_objext'
110132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110133 (eval $ac_try) 2>&5
110134 ac_status=$?
110135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110136 (exit $ac_status); }; }; then
110137 ac_header_compiler=yes
110139 echo "$as_me: failed program was:" >&5
110140 sed 's/^/| /' conftest.$ac_ext >&5
110142 ac_header_compiler=no
110144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110146 echo "${ECHO_T}$ac_header_compiler" >&6
110148 # Is the header present?
110149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110151 cat >conftest.$ac_ext <<_ACEOF
110152 /* confdefs.h. */
110153 _ACEOF
110154 cat confdefs.h >>conftest.$ac_ext
110155 cat >>conftest.$ac_ext <<_ACEOF
110156 /* end confdefs.h. */
110157 #include <$ac_header>
110158 _ACEOF
110159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110161 ac_status=$?
110162 grep -v '^ *+' conftest.er1 >conftest.err
110163 rm -f conftest.er1
110164 cat conftest.err >&5
110165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110166 (exit $ac_status); } >/dev/null; then
110167 if test -s conftest.err; then
110168 ac_cpp_err=$ac_c_preproc_warn_flag
110169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110171 ac_cpp_err=
110174 ac_cpp_err=yes
110176 if test -z "$ac_cpp_err"; then
110177 ac_header_preproc=yes
110179 echo "$as_me: failed program was:" >&5
110180 sed 's/^/| /' conftest.$ac_ext >&5
110182 ac_header_preproc=no
110184 rm -f conftest.err conftest.$ac_ext
110185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110186 echo "${ECHO_T}$ac_header_preproc" >&6
110188 # So? What about this header?
110189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110190 yes:no: )
110191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110195 ac_header_preproc=yes
110197 no:yes:* )
110198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110211 cat <<\_ASBOX
110212 ## ----------------------------------------- ##
110213 ## Report this to the package-unused lists. ##
110214 ## ----------------------------------------- ##
110215 _ASBOX
110217 sed "s/^/$as_me: WARNING: /" >&2
110220 echo "$as_me:$LINENO: checking for $ac_header" >&5
110221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110223 echo $ECHO_N "(cached) $ECHO_C" >&6
110225 eval "$as_ac_Header=\$ac_header_preproc"
110227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110232 cat >>confdefs.h <<_ACEOF
110233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110234 _ACEOF
110240 cat >>confdefs.h <<\_ACEOF
110241 #define HAVE_STRTOF 1
110242 _ACEOF
110244 cat >>confdefs.h <<\_ACEOF
110245 #define HAVE_STRTOLD 1
110246 _ACEOF
110249 # If we're not using GNU ld, then there's no point in even trying these
110250 # tests. Check for that first. We should have already tested for gld
110251 # by now (in libtool), but require it now just to be safe...
110252 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110253 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110257 # The name set by libtool depends on the version of libtool. Shame on us
110258 # for depending on an impl detail, but c'est la vie. Older versions used
110259 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110260 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110261 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110262 # set (hence we're using an older libtool), then set it.
110263 if test x${with_gnu_ld+set} != xset; then
110264 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110265 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110266 with_gnu_ld=no
110268 with_gnu_ld=$ac_cv_prog_gnu_ld
110272 # Start by getting the version number. I think the libtool test already
110273 # does some of this, but throws away the result.
110274 glibcxx_ld_is_gold=no
110275 if test x"$with_gnu_ld" = x"yes"; then
110276 echo "$as_me:$LINENO: checking for ld version" >&5
110277 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110279 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110280 glibcxx_ld_is_gold=yes
110282 ldver=`$LD --version 2>/dev/null | head -1 | \
110283 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110285 glibcxx_gnu_ld_version=`echo $ldver | \
110286 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110287 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110288 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110291 # Set --gc-sections.
110292 glibcxx_have_gc_sections=no
110293 if test "$glibcxx_ld_is_gold" = "yes"; then
110294 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110295 glibcxx_have_gc_sections=yes
110298 glibcxx_gcsections_min_ld=21602
110299 if test x"$with_gnu_ld" = x"yes" &&
110300 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110301 glibcxx_have_gc_sections=yes
110304 if test "$glibcxx_have_gc_sections" = "yes"; then
110305 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110306 # NB: This flag only works reliably after 2.16.1. Configure tests
110307 # for this are difficult, so hard wire a value that should work.
110309 ac_test_CFLAGS="${CFLAGS+set}"
110310 ac_save_CFLAGS="$CFLAGS"
110311 CFLAGS='-Wl,--gc-sections'
110313 # Check for -Wl,--gc-sections
110314 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110315 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110316 if test x$gcc_no_link = xyes; then
110317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110319 { (exit 1); exit 1; }; }
110321 cat >conftest.$ac_ext <<_ACEOF
110322 /* confdefs.h. */
110323 _ACEOF
110324 cat confdefs.h >>conftest.$ac_ext
110325 cat >>conftest.$ac_ext <<_ACEOF
110326 /* end confdefs.h. */
110327 int one(void) { return 1; }
110328 int two(void) { return 2; }
110331 main ()
110333 two();
110335 return 0;
110337 _ACEOF
110338 rm -f conftest.$ac_objext conftest$ac_exeext
110339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110340 (eval $ac_link) 2>conftest.er1
110341 ac_status=$?
110342 grep -v '^ *+' conftest.er1 >conftest.err
110343 rm -f conftest.er1
110344 cat conftest.err >&5
110345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110346 (exit $ac_status); } &&
110347 { ac_try='test -z "$ac_c_werror_flag"
110348 || test ! -s conftest.err'
110349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110350 (eval $ac_try) 2>&5
110351 ac_status=$?
110352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110353 (exit $ac_status); }; } &&
110354 { ac_try='test -s conftest$ac_exeext'
110355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110356 (eval $ac_try) 2>&5
110357 ac_status=$?
110358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110359 (exit $ac_status); }; }; then
110360 ac_gcsections=yes
110362 echo "$as_me: failed program was:" >&5
110363 sed 's/^/| /' conftest.$ac_ext >&5
110365 ac_gcsections=no
110367 rm -f conftest.err conftest.$ac_objext \
110368 conftest$ac_exeext conftest.$ac_ext
110369 if test "$ac_gcsections" = "yes"; then
110370 rm -f conftest.c
110371 touch conftest.c
110372 if $CC -c conftest.c; then
110373 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110374 grep "Warning: gc-sections option ignored" > /dev/null; then
110375 ac_gcsections=no
110378 rm -f conftest.c conftest.o conftest
110380 if test "$ac_gcsections" = "yes"; then
110381 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110383 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110384 echo "${ECHO_T}$ac_gcsections" >&6
110386 if test "$ac_test_CFLAGS" = set; then
110387 CFLAGS="$ac_save_CFLAGS"
110389 # this is the suspicious part
110390 CFLAGS=''
110394 # Set -z,relro.
110395 # Note this is only for shared objects.
110396 ac_ld_relro=no
110397 if test x"$with_gnu_ld" = x"yes"; then
110398 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110399 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110400 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110401 if test -n "$cxx_z_relo"; then
110402 OPT_LDFLAGS="-Wl,-z,relro"
110403 ac_ld_relro=yes
110405 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110406 echo "${ECHO_T}$ac_ld_relro" >&6
110409 # Set linker optimization flags.
110410 if test x"$with_gnu_ld" = x"yes"; then
110411 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110419 echo "$as_me:$LINENO: checking for main in -lm" >&5
110420 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110421 if test "${ac_cv_lib_m_main+set}" = set; then
110422 echo $ECHO_N "(cached) $ECHO_C" >&6
110424 ac_check_lib_save_LIBS=$LIBS
110425 LIBS="-lm $LIBS"
110426 if test x$gcc_no_link = xyes; then
110427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110429 { (exit 1); exit 1; }; }
110431 cat >conftest.$ac_ext <<_ACEOF
110432 /* confdefs.h. */
110433 _ACEOF
110434 cat confdefs.h >>conftest.$ac_ext
110435 cat >>conftest.$ac_ext <<_ACEOF
110436 /* end confdefs.h. */
110440 main ()
110442 main ();
110444 return 0;
110446 _ACEOF
110447 rm -f conftest.$ac_objext conftest$ac_exeext
110448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110449 (eval $ac_link) 2>conftest.er1
110450 ac_status=$?
110451 grep -v '^ *+' conftest.er1 >conftest.err
110452 rm -f conftest.er1
110453 cat conftest.err >&5
110454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110455 (exit $ac_status); } &&
110456 { ac_try='test -z "$ac_c_werror_flag"
110457 || test ! -s conftest.err'
110458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110459 (eval $ac_try) 2>&5
110460 ac_status=$?
110461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110462 (exit $ac_status); }; } &&
110463 { ac_try='test -s conftest$ac_exeext'
110464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110465 (eval $ac_try) 2>&5
110466 ac_status=$?
110467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110468 (exit $ac_status); }; }; then
110469 ac_cv_lib_m_main=yes
110471 echo "$as_me: failed program was:" >&5
110472 sed 's/^/| /' conftest.$ac_ext >&5
110474 ac_cv_lib_m_main=no
110476 rm -f conftest.err conftest.$ac_objext \
110477 conftest$ac_exeext conftest.$ac_ext
110478 LIBS=$ac_check_lib_save_LIBS
110480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110481 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110482 if test $ac_cv_lib_m_main = yes; then
110483 cat >>confdefs.h <<_ACEOF
110484 #define HAVE_LIBM 1
110485 _ACEOF
110487 LIBS="-lm $LIBS"
110492 for ac_func in copysignf
110494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110495 echo "$as_me:$LINENO: checking for $ac_func" >&5
110496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110497 if eval "test \"\${$as_ac_var+set}\" = set"; then
110498 echo $ECHO_N "(cached) $ECHO_C" >&6
110500 if test x$gcc_no_link = xyes; then
110501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110503 { (exit 1); exit 1; }; }
110505 cat >conftest.$ac_ext <<_ACEOF
110506 /* confdefs.h. */
110507 _ACEOF
110508 cat confdefs.h >>conftest.$ac_ext
110509 cat >>conftest.$ac_ext <<_ACEOF
110510 /* end confdefs.h. */
110511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110513 #define $ac_func innocuous_$ac_func
110515 /* System header to define __stub macros and hopefully few prototypes,
110516 which can conflict with char $ac_func (); below.
110517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110518 <limits.h> exists even on freestanding compilers. */
110520 #ifdef __STDC__
110521 # include <limits.h>
110522 #else
110523 # include <assert.h>
110524 #endif
110526 #undef $ac_func
110528 /* Override any gcc2 internal prototype to avoid an error. */
110529 #ifdef __cplusplus
110530 extern "C"
110532 #endif
110533 /* We use char because int might match the return type of a gcc2
110534 builtin and then its argument prototype would still apply. */
110535 char $ac_func ();
110536 /* The GNU C library defines this for functions which it implements
110537 to always fail with ENOSYS. Some functions are actually named
110538 something starting with __ and the normal name is an alias. */
110539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110540 choke me
110541 #else
110542 char (*f) () = $ac_func;
110543 #endif
110544 #ifdef __cplusplus
110546 #endif
110549 main ()
110551 return f != $ac_func;
110553 return 0;
110555 _ACEOF
110556 rm -f conftest.$ac_objext conftest$ac_exeext
110557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110558 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
110580 echo "$as_me: failed program was:" >&5
110581 sed 's/^/| /' conftest.$ac_ext >&5
110583 eval "$as_ac_var=no"
110585 rm -f conftest.err conftest.$ac_objext \
110586 conftest$ac_exeext conftest.$ac_ext
110588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110590 if test `eval echo '${'$as_ac_var'}'` = yes; then
110591 cat >>confdefs.h <<_ACEOF
110592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110593 _ACEOF
110596 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110602 for ac_func in __signbit
110604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110605 echo "$as_me:$LINENO: checking for $ac_func" >&5
110606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110607 if eval "test \"\${$as_ac_var+set}\" = set"; then
110608 echo $ECHO_N "(cached) $ECHO_C" >&6
110610 if test x$gcc_no_link = xyes; then
110611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110613 { (exit 1); exit 1; }; }
110615 cat >conftest.$ac_ext <<_ACEOF
110616 /* confdefs.h. */
110617 _ACEOF
110618 cat confdefs.h >>conftest.$ac_ext
110619 cat >>conftest.$ac_ext <<_ACEOF
110620 /* end confdefs.h. */
110621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110623 #define $ac_func innocuous_$ac_func
110625 /* System header to define __stub macros and hopefully few prototypes,
110626 which can conflict with char $ac_func (); below.
110627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110628 <limits.h> exists even on freestanding compilers. */
110630 #ifdef __STDC__
110631 # include <limits.h>
110632 #else
110633 # include <assert.h>
110634 #endif
110636 #undef $ac_func
110638 /* Override any gcc2 internal prototype to avoid an error. */
110639 #ifdef __cplusplus
110640 extern "C"
110642 #endif
110643 /* We use char because int might match the return type of a gcc2
110644 builtin and then its argument prototype would still apply. */
110645 char $ac_func ();
110646 /* The GNU C library defines this for functions which it implements
110647 to always fail with ENOSYS. Some functions are actually named
110648 something starting with __ and the normal name is an alias. */
110649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110650 choke me
110651 #else
110652 char (*f) () = $ac_func;
110653 #endif
110654 #ifdef __cplusplus
110656 #endif
110659 main ()
110661 return f != $ac_func;
110663 return 0;
110665 _ACEOF
110666 rm -f conftest.$ac_objext conftest$ac_exeext
110667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110668 (eval $ac_link) 2>conftest.er1
110669 ac_status=$?
110670 grep -v '^ *+' conftest.er1 >conftest.err
110671 rm -f conftest.er1
110672 cat conftest.err >&5
110673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110674 (exit $ac_status); } &&
110675 { ac_try='test -z "$ac_c_werror_flag"
110676 || test ! -s conftest.err'
110677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110678 (eval $ac_try) 2>&5
110679 ac_status=$?
110680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110681 (exit $ac_status); }; } &&
110682 { ac_try='test -s conftest$ac_exeext'
110683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110684 (eval $ac_try) 2>&5
110685 ac_status=$?
110686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110687 (exit $ac_status); }; }; then
110688 eval "$as_ac_var=yes"
110690 echo "$as_me: failed program was:" >&5
110691 sed 's/^/| /' conftest.$ac_ext >&5
110693 eval "$as_ac_var=no"
110695 rm -f conftest.err conftest.$ac_objext \
110696 conftest$ac_exeext conftest.$ac_ext
110698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110700 if test `eval echo '${'$as_ac_var'}'` = yes; then
110701 cat >>confdefs.h <<_ACEOF
110702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110703 _ACEOF
110706 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110712 for ac_func in __signbitf
110714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110715 echo "$as_me:$LINENO: checking for $ac_func" >&5
110716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110717 if eval "test \"\${$as_ac_var+set}\" = set"; then
110718 echo $ECHO_N "(cached) $ECHO_C" >&6
110720 if test x$gcc_no_link = xyes; then
110721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110723 { (exit 1); exit 1; }; }
110725 cat >conftest.$ac_ext <<_ACEOF
110726 /* confdefs.h. */
110727 _ACEOF
110728 cat confdefs.h >>conftest.$ac_ext
110729 cat >>conftest.$ac_ext <<_ACEOF
110730 /* end confdefs.h. */
110731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110733 #define $ac_func innocuous_$ac_func
110735 /* System header to define __stub macros and hopefully few prototypes,
110736 which can conflict with char $ac_func (); below.
110737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110738 <limits.h> exists even on freestanding compilers. */
110740 #ifdef __STDC__
110741 # include <limits.h>
110742 #else
110743 # include <assert.h>
110744 #endif
110746 #undef $ac_func
110748 /* Override any gcc2 internal prototype to avoid an error. */
110749 #ifdef __cplusplus
110750 extern "C"
110752 #endif
110753 /* We use char because int might match the return type of a gcc2
110754 builtin and then its argument prototype would still apply. */
110755 char $ac_func ();
110756 /* The GNU C library defines this for functions which it implements
110757 to always fail with ENOSYS. Some functions are actually named
110758 something starting with __ and the normal name is an alias. */
110759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110760 choke me
110761 #else
110762 char (*f) () = $ac_func;
110763 #endif
110764 #ifdef __cplusplus
110766 #endif
110769 main ()
110771 return f != $ac_func;
110773 return 0;
110775 _ACEOF
110776 rm -f conftest.$ac_objext conftest$ac_exeext
110777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110778 (eval $ac_link) 2>conftest.er1
110779 ac_status=$?
110780 grep -v '^ *+' conftest.er1 >conftest.err
110781 rm -f conftest.er1
110782 cat conftest.err >&5
110783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110784 (exit $ac_status); } &&
110785 { ac_try='test -z "$ac_c_werror_flag"
110786 || test ! -s conftest.err'
110787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110788 (eval $ac_try) 2>&5
110789 ac_status=$?
110790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110791 (exit $ac_status); }; } &&
110792 { ac_try='test -s conftest$ac_exeext'
110793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110794 (eval $ac_try) 2>&5
110795 ac_status=$?
110796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110797 (exit $ac_status); }; }; then
110798 eval "$as_ac_var=yes"
110800 echo "$as_me: failed program was:" >&5
110801 sed 's/^/| /' conftest.$ac_ext >&5
110803 eval "$as_ac_var=no"
110805 rm -f conftest.err conftest.$ac_objext \
110806 conftest$ac_exeext conftest.$ac_ext
110808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110810 if test `eval echo '${'$as_ac_var'}'` = yes; then
110811 cat >>confdefs.h <<_ACEOF
110812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110813 _ACEOF
110816 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110821 if test x$ac_cv_func_copysignl = x"yes"; then
110823 for ac_func in __signbitl
110825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110826 echo "$as_me:$LINENO: checking for $ac_func" >&5
110827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110828 if eval "test \"\${$as_ac_var+set}\" = set"; then
110829 echo $ECHO_N "(cached) $ECHO_C" >&6
110831 if test x$gcc_no_link = xyes; then
110832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110834 { (exit 1); exit 1; }; }
110836 cat >conftest.$ac_ext <<_ACEOF
110837 /* confdefs.h. */
110838 _ACEOF
110839 cat confdefs.h >>conftest.$ac_ext
110840 cat >>conftest.$ac_ext <<_ACEOF
110841 /* end confdefs.h. */
110842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110844 #define $ac_func innocuous_$ac_func
110846 /* System header to define __stub macros and hopefully few prototypes,
110847 which can conflict with char $ac_func (); below.
110848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110849 <limits.h> exists even on freestanding compilers. */
110851 #ifdef __STDC__
110852 # include <limits.h>
110853 #else
110854 # include <assert.h>
110855 #endif
110857 #undef $ac_func
110859 /* Override any gcc2 internal prototype to avoid an error. */
110860 #ifdef __cplusplus
110861 extern "C"
110863 #endif
110864 /* We use char because int might match the return type of a gcc2
110865 builtin and then its argument prototype would still apply. */
110866 char $ac_func ();
110867 /* The GNU C library defines this for functions which it implements
110868 to always fail with ENOSYS. Some functions are actually named
110869 something starting with __ and the normal name is an alias. */
110870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110871 choke me
110872 #else
110873 char (*f) () = $ac_func;
110874 #endif
110875 #ifdef __cplusplus
110877 #endif
110880 main ()
110882 return f != $ac_func;
110884 return 0;
110886 _ACEOF
110887 rm -f conftest.$ac_objext conftest$ac_exeext
110888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110889 (eval $ac_link) 2>conftest.er1
110890 ac_status=$?
110891 grep -v '^ *+' conftest.er1 >conftest.err
110892 rm -f conftest.er1
110893 cat conftest.err >&5
110894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110895 (exit $ac_status); } &&
110896 { ac_try='test -z "$ac_c_werror_flag"
110897 || test ! -s conftest.err'
110898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110899 (eval $ac_try) 2>&5
110900 ac_status=$?
110901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110902 (exit $ac_status); }; } &&
110903 { ac_try='test -s conftest$ac_exeext'
110904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110905 (eval $ac_try) 2>&5
110906 ac_status=$?
110907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110908 (exit $ac_status); }; }; then
110909 eval "$as_ac_var=yes"
110911 echo "$as_me: failed program was:" >&5
110912 sed 's/^/| /' conftest.$ac_ext >&5
110914 eval "$as_ac_var=no"
110916 rm -f conftest.err conftest.$ac_objext \
110917 conftest$ac_exeext conftest.$ac_ext
110919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110921 if test `eval echo '${'$as_ac_var'}'` = yes; then
110922 cat >>confdefs.h <<_ACEOF
110923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110924 _ACEOF
110927 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110933 # Used in libmath/Makefile.am.
110934 if test -n "$LIBMATHOBJS"; then
110935 need_libmath=yes
110940 *-netbsd*)
110953 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110954 machine/endian.h machine/param.h sys/machine.h sys/types.h \
110955 fp.h locale.h float.h inttypes.h
110957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110959 echo "$as_me:$LINENO: checking for $ac_header" >&5
110960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110962 echo $ECHO_N "(cached) $ECHO_C" >&6
110964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110967 # Is the header compilable?
110968 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110970 cat >conftest.$ac_ext <<_ACEOF
110971 /* confdefs.h. */
110972 _ACEOF
110973 cat confdefs.h >>conftest.$ac_ext
110974 cat >>conftest.$ac_ext <<_ACEOF
110975 /* end confdefs.h. */
110976 $ac_includes_default
110977 #include <$ac_header>
110978 _ACEOF
110979 rm -f conftest.$ac_objext
110980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110981 (eval $ac_compile) 2>conftest.er1
110982 ac_status=$?
110983 grep -v '^ *+' conftest.er1 >conftest.err
110984 rm -f conftest.er1
110985 cat conftest.err >&5
110986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110987 (exit $ac_status); } &&
110988 { ac_try='test -z "$ac_c_werror_flag"
110989 || test ! -s conftest.err'
110990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110991 (eval $ac_try) 2>&5
110992 ac_status=$?
110993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110994 (exit $ac_status); }; } &&
110995 { ac_try='test -s conftest.$ac_objext'
110996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110997 (eval $ac_try) 2>&5
110998 ac_status=$?
110999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111000 (exit $ac_status); }; }; then
111001 ac_header_compiler=yes
111003 echo "$as_me: failed program was:" >&5
111004 sed 's/^/| /' conftest.$ac_ext >&5
111006 ac_header_compiler=no
111008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111010 echo "${ECHO_T}$ac_header_compiler" >&6
111012 # Is the header present?
111013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111015 cat >conftest.$ac_ext <<_ACEOF
111016 /* confdefs.h. */
111017 _ACEOF
111018 cat confdefs.h >>conftest.$ac_ext
111019 cat >>conftest.$ac_ext <<_ACEOF
111020 /* end confdefs.h. */
111021 #include <$ac_header>
111022 _ACEOF
111023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111025 ac_status=$?
111026 grep -v '^ *+' conftest.er1 >conftest.err
111027 rm -f conftest.er1
111028 cat conftest.err >&5
111029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111030 (exit $ac_status); } >/dev/null; then
111031 if test -s conftest.err; then
111032 ac_cpp_err=$ac_c_preproc_warn_flag
111033 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111035 ac_cpp_err=
111038 ac_cpp_err=yes
111040 if test -z "$ac_cpp_err"; then
111041 ac_header_preproc=yes
111043 echo "$as_me: failed program was:" >&5
111044 sed 's/^/| /' conftest.$ac_ext >&5
111046 ac_header_preproc=no
111048 rm -f conftest.err conftest.$ac_ext
111049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111050 echo "${ECHO_T}$ac_header_preproc" >&6
111052 # So? What about this header?
111053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111054 yes:no: )
111055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111059 ac_header_preproc=yes
111061 no:yes:* )
111062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111075 cat <<\_ASBOX
111076 ## ----------------------------------------- ##
111077 ## Report this to the package-unused lists. ##
111078 ## ----------------------------------------- ##
111079 _ASBOX
111081 sed "s/^/$as_me: WARNING: /" >&2
111084 echo "$as_me:$LINENO: checking for $ac_header" >&5
111085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111087 echo $ECHO_N "(cached) $ECHO_C" >&6
111089 eval "$as_ac_Header=\$ac_header_preproc"
111091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111096 cat >>confdefs.h <<_ACEOF
111097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111098 _ACEOF
111104 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111107 # If we're not using GNU ld, then there's no point in even trying these
111108 # tests. Check for that first. We should have already tested for gld
111109 # by now (in libtool), but require it now just to be safe...
111110 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111111 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111115 # The name set by libtool depends on the version of libtool. Shame on us
111116 # for depending on an impl detail, but c'est la vie. Older versions used
111117 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111118 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111119 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111120 # set (hence we're using an older libtool), then set it.
111121 if test x${with_gnu_ld+set} != xset; then
111122 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111123 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111124 with_gnu_ld=no
111126 with_gnu_ld=$ac_cv_prog_gnu_ld
111130 # Start by getting the version number. I think the libtool test already
111131 # does some of this, but throws away the result.
111132 glibcxx_ld_is_gold=no
111133 if test x"$with_gnu_ld" = x"yes"; then
111134 echo "$as_me:$LINENO: checking for ld version" >&5
111135 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111137 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111138 glibcxx_ld_is_gold=yes
111140 ldver=`$LD --version 2>/dev/null | head -1 | \
111141 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111143 glibcxx_gnu_ld_version=`echo $ldver | \
111144 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111145 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111146 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111149 # Set --gc-sections.
111150 glibcxx_have_gc_sections=no
111151 if test "$glibcxx_ld_is_gold" = "yes"; then
111152 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111153 glibcxx_have_gc_sections=yes
111156 glibcxx_gcsections_min_ld=21602
111157 if test x"$with_gnu_ld" = x"yes" &&
111158 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111159 glibcxx_have_gc_sections=yes
111162 if test "$glibcxx_have_gc_sections" = "yes"; then
111163 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111164 # NB: This flag only works reliably after 2.16.1. Configure tests
111165 # for this are difficult, so hard wire a value that should work.
111167 ac_test_CFLAGS="${CFLAGS+set}"
111168 ac_save_CFLAGS="$CFLAGS"
111169 CFLAGS='-Wl,--gc-sections'
111171 # Check for -Wl,--gc-sections
111172 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111173 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111174 if test x$gcc_no_link = xyes; then
111175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111177 { (exit 1); exit 1; }; }
111179 cat >conftest.$ac_ext <<_ACEOF
111180 /* confdefs.h. */
111181 _ACEOF
111182 cat confdefs.h >>conftest.$ac_ext
111183 cat >>conftest.$ac_ext <<_ACEOF
111184 /* end confdefs.h. */
111185 int one(void) { return 1; }
111186 int two(void) { return 2; }
111189 main ()
111191 two();
111193 return 0;
111195 _ACEOF
111196 rm -f conftest.$ac_objext conftest$ac_exeext
111197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111198 (eval $ac_link) 2>conftest.er1
111199 ac_status=$?
111200 grep -v '^ *+' conftest.er1 >conftest.err
111201 rm -f conftest.er1
111202 cat conftest.err >&5
111203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111204 (exit $ac_status); } &&
111205 { ac_try='test -z "$ac_c_werror_flag"
111206 || test ! -s conftest.err'
111207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111208 (eval $ac_try) 2>&5
111209 ac_status=$?
111210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111211 (exit $ac_status); }; } &&
111212 { ac_try='test -s conftest$ac_exeext'
111213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111214 (eval $ac_try) 2>&5
111215 ac_status=$?
111216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111217 (exit $ac_status); }; }; then
111218 ac_gcsections=yes
111220 echo "$as_me: failed program was:" >&5
111221 sed 's/^/| /' conftest.$ac_ext >&5
111223 ac_gcsections=no
111225 rm -f conftest.err conftest.$ac_objext \
111226 conftest$ac_exeext conftest.$ac_ext
111227 if test "$ac_gcsections" = "yes"; then
111228 rm -f conftest.c
111229 touch conftest.c
111230 if $CC -c conftest.c; then
111231 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111232 grep "Warning: gc-sections option ignored" > /dev/null; then
111233 ac_gcsections=no
111236 rm -f conftest.c conftest.o conftest
111238 if test "$ac_gcsections" = "yes"; then
111239 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111241 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111242 echo "${ECHO_T}$ac_gcsections" >&6
111244 if test "$ac_test_CFLAGS" = set; then
111245 CFLAGS="$ac_save_CFLAGS"
111247 # this is the suspicious part
111248 CFLAGS=''
111252 # Set -z,relro.
111253 # Note this is only for shared objects.
111254 ac_ld_relro=no
111255 if test x"$with_gnu_ld" = x"yes"; then
111256 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111257 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111258 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111259 if test -n "$cxx_z_relo"; then
111260 OPT_LDFLAGS="-Wl,-z,relro"
111261 ac_ld_relro=yes
111263 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111264 echo "${ECHO_T}$ac_ld_relro" >&6
111267 # Set linker optimization flags.
111268 if test x"$with_gnu_ld" = x"yes"; then
111269 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111277 echo "$as_me:$LINENO: checking for main in -lm" >&5
111278 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111279 if test "${ac_cv_lib_m_main+set}" = set; then
111280 echo $ECHO_N "(cached) $ECHO_C" >&6
111282 ac_check_lib_save_LIBS=$LIBS
111283 LIBS="-lm $LIBS"
111284 if test x$gcc_no_link = xyes; then
111285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111287 { (exit 1); exit 1; }; }
111289 cat >conftest.$ac_ext <<_ACEOF
111290 /* confdefs.h. */
111291 _ACEOF
111292 cat confdefs.h >>conftest.$ac_ext
111293 cat >>conftest.$ac_ext <<_ACEOF
111294 /* end confdefs.h. */
111298 main ()
111300 main ();
111302 return 0;
111304 _ACEOF
111305 rm -f conftest.$ac_objext conftest$ac_exeext
111306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111307 (eval $ac_link) 2>conftest.er1
111308 ac_status=$?
111309 grep -v '^ *+' conftest.er1 >conftest.err
111310 rm -f conftest.er1
111311 cat conftest.err >&5
111312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111313 (exit $ac_status); } &&
111314 { ac_try='test -z "$ac_c_werror_flag"
111315 || test ! -s conftest.err'
111316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111317 (eval $ac_try) 2>&5
111318 ac_status=$?
111319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111320 (exit $ac_status); }; } &&
111321 { ac_try='test -s conftest$ac_exeext'
111322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111323 (eval $ac_try) 2>&5
111324 ac_status=$?
111325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111326 (exit $ac_status); }; }; then
111327 ac_cv_lib_m_main=yes
111329 echo "$as_me: failed program was:" >&5
111330 sed 's/^/| /' conftest.$ac_ext >&5
111332 ac_cv_lib_m_main=no
111334 rm -f conftest.err conftest.$ac_objext \
111335 conftest$ac_exeext conftest.$ac_ext
111336 LIBS=$ac_check_lib_save_LIBS
111338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111339 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111340 if test $ac_cv_lib_m_main = yes; then
111341 cat >>confdefs.h <<_ACEOF
111342 #define HAVE_LIBM 1
111343 _ACEOF
111345 LIBS="-lm $LIBS"
111350 for ac_func in copysignf
111352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111353 echo "$as_me:$LINENO: checking for $ac_func" >&5
111354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111355 if eval "test \"\${$as_ac_var+set}\" = set"; then
111356 echo $ECHO_N "(cached) $ECHO_C" >&6
111358 if test x$gcc_no_link = xyes; then
111359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111361 { (exit 1); exit 1; }; }
111363 cat >conftest.$ac_ext <<_ACEOF
111364 /* confdefs.h. */
111365 _ACEOF
111366 cat confdefs.h >>conftest.$ac_ext
111367 cat >>conftest.$ac_ext <<_ACEOF
111368 /* end confdefs.h. */
111369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111371 #define $ac_func innocuous_$ac_func
111373 /* System header to define __stub macros and hopefully few prototypes,
111374 which can conflict with char $ac_func (); below.
111375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111376 <limits.h> exists even on freestanding compilers. */
111378 #ifdef __STDC__
111379 # include <limits.h>
111380 #else
111381 # include <assert.h>
111382 #endif
111384 #undef $ac_func
111386 /* Override any gcc2 internal prototype to avoid an error. */
111387 #ifdef __cplusplus
111388 extern "C"
111390 #endif
111391 /* We use char because int might match the return type of a gcc2
111392 builtin and then its argument prototype would still apply. */
111393 char $ac_func ();
111394 /* The GNU C library defines this for functions which it implements
111395 to always fail with ENOSYS. Some functions are actually named
111396 something starting with __ and the normal name is an alias. */
111397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111398 choke me
111399 #else
111400 char (*f) () = $ac_func;
111401 #endif
111402 #ifdef __cplusplus
111404 #endif
111407 main ()
111409 return f != $ac_func;
111411 return 0;
111413 _ACEOF
111414 rm -f conftest.$ac_objext conftest$ac_exeext
111415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111416 (eval $ac_link) 2>conftest.er1
111417 ac_status=$?
111418 grep -v '^ *+' conftest.er1 >conftest.err
111419 rm -f conftest.er1
111420 cat conftest.err >&5
111421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111422 (exit $ac_status); } &&
111423 { ac_try='test -z "$ac_c_werror_flag"
111424 || test ! -s conftest.err'
111425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111426 (eval $ac_try) 2>&5
111427 ac_status=$?
111428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111429 (exit $ac_status); }; } &&
111430 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
111436 eval "$as_ac_var=yes"
111438 echo "$as_me: failed program was:" >&5
111439 sed 's/^/| /' conftest.$ac_ext >&5
111441 eval "$as_ac_var=no"
111443 rm -f conftest.err conftest.$ac_objext \
111444 conftest$ac_exeext conftest.$ac_ext
111446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111448 if test `eval echo '${'$as_ac_var'}'` = yes; then
111449 cat >>confdefs.h <<_ACEOF
111450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111451 _ACEOF
111454 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111460 for ac_func in __signbit
111462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111463 echo "$as_me:$LINENO: checking for $ac_func" >&5
111464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111465 if eval "test \"\${$as_ac_var+set}\" = set"; then
111466 echo $ECHO_N "(cached) $ECHO_C" >&6
111468 if test x$gcc_no_link = xyes; then
111469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111471 { (exit 1); exit 1; }; }
111473 cat >conftest.$ac_ext <<_ACEOF
111474 /* confdefs.h. */
111475 _ACEOF
111476 cat confdefs.h >>conftest.$ac_ext
111477 cat >>conftest.$ac_ext <<_ACEOF
111478 /* end confdefs.h. */
111479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111481 #define $ac_func innocuous_$ac_func
111483 /* System header to define __stub macros and hopefully few prototypes,
111484 which can conflict with char $ac_func (); below.
111485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111486 <limits.h> exists even on freestanding compilers. */
111488 #ifdef __STDC__
111489 # include <limits.h>
111490 #else
111491 # include <assert.h>
111492 #endif
111494 #undef $ac_func
111496 /* Override any gcc2 internal prototype to avoid an error. */
111497 #ifdef __cplusplus
111498 extern "C"
111500 #endif
111501 /* We use char because int might match the return type of a gcc2
111502 builtin and then its argument prototype would still apply. */
111503 char $ac_func ();
111504 /* The GNU C library defines this for functions which it implements
111505 to always fail with ENOSYS. Some functions are actually named
111506 something starting with __ and the normal name is an alias. */
111507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111508 choke me
111509 #else
111510 char (*f) () = $ac_func;
111511 #endif
111512 #ifdef __cplusplus
111514 #endif
111517 main ()
111519 return f != $ac_func;
111521 return 0;
111523 _ACEOF
111524 rm -f conftest.$ac_objext conftest$ac_exeext
111525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111526 (eval $ac_link) 2>conftest.er1
111527 ac_status=$?
111528 grep -v '^ *+' conftest.er1 >conftest.err
111529 rm -f conftest.er1
111530 cat conftest.err >&5
111531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111532 (exit $ac_status); } &&
111533 { ac_try='test -z "$ac_c_werror_flag"
111534 || test ! -s conftest.err'
111535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111536 (eval $ac_try) 2>&5
111537 ac_status=$?
111538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111539 (exit $ac_status); }; } &&
111540 { ac_try='test -s conftest$ac_exeext'
111541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111542 (eval $ac_try) 2>&5
111543 ac_status=$?
111544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111545 (exit $ac_status); }; }; then
111546 eval "$as_ac_var=yes"
111548 echo "$as_me: failed program was:" >&5
111549 sed 's/^/| /' conftest.$ac_ext >&5
111551 eval "$as_ac_var=no"
111553 rm -f conftest.err conftest.$ac_objext \
111554 conftest$ac_exeext conftest.$ac_ext
111556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111558 if test `eval echo '${'$as_ac_var'}'` = yes; then
111559 cat >>confdefs.h <<_ACEOF
111560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111561 _ACEOF
111564 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111570 for ac_func in __signbitf
111572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111573 echo "$as_me:$LINENO: checking for $ac_func" >&5
111574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111575 if eval "test \"\${$as_ac_var+set}\" = set"; then
111576 echo $ECHO_N "(cached) $ECHO_C" >&6
111578 if test x$gcc_no_link = xyes; then
111579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111581 { (exit 1); exit 1; }; }
111583 cat >conftest.$ac_ext <<_ACEOF
111584 /* confdefs.h. */
111585 _ACEOF
111586 cat confdefs.h >>conftest.$ac_ext
111587 cat >>conftest.$ac_ext <<_ACEOF
111588 /* end confdefs.h. */
111589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111591 #define $ac_func innocuous_$ac_func
111593 /* System header to define __stub macros and hopefully few prototypes,
111594 which can conflict with char $ac_func (); below.
111595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111596 <limits.h> exists even on freestanding compilers. */
111598 #ifdef __STDC__
111599 # include <limits.h>
111600 #else
111601 # include <assert.h>
111602 #endif
111604 #undef $ac_func
111606 /* Override any gcc2 internal prototype to avoid an error. */
111607 #ifdef __cplusplus
111608 extern "C"
111610 #endif
111611 /* We use char because int might match the return type of a gcc2
111612 builtin and then its argument prototype would still apply. */
111613 char $ac_func ();
111614 /* The GNU C library defines this for functions which it implements
111615 to always fail with ENOSYS. Some functions are actually named
111616 something starting with __ and the normal name is an alias. */
111617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111618 choke me
111619 #else
111620 char (*f) () = $ac_func;
111621 #endif
111622 #ifdef __cplusplus
111624 #endif
111627 main ()
111629 return f != $ac_func;
111631 return 0;
111633 _ACEOF
111634 rm -f conftest.$ac_objext conftest$ac_exeext
111635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111636 (eval $ac_link) 2>conftest.er1
111637 ac_status=$?
111638 grep -v '^ *+' conftest.er1 >conftest.err
111639 rm -f conftest.er1
111640 cat conftest.err >&5
111641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111642 (exit $ac_status); } &&
111643 { ac_try='test -z "$ac_c_werror_flag"
111644 || test ! -s conftest.err'
111645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111646 (eval $ac_try) 2>&5
111647 ac_status=$?
111648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111649 (exit $ac_status); }; } &&
111650 { ac_try='test -s conftest$ac_exeext'
111651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111652 (eval $ac_try) 2>&5
111653 ac_status=$?
111654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111655 (exit $ac_status); }; }; then
111656 eval "$as_ac_var=yes"
111658 echo "$as_me: failed program was:" >&5
111659 sed 's/^/| /' conftest.$ac_ext >&5
111661 eval "$as_ac_var=no"
111663 rm -f conftest.err conftest.$ac_objext \
111664 conftest$ac_exeext conftest.$ac_ext
111666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111668 if test `eval echo '${'$as_ac_var'}'` = yes; then
111669 cat >>confdefs.h <<_ACEOF
111670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111671 _ACEOF
111674 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111679 if test x$ac_cv_func_copysignl = x"yes"; then
111681 for ac_func in __signbitl
111683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111684 echo "$as_me:$LINENO: checking for $ac_func" >&5
111685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111686 if eval "test \"\${$as_ac_var+set}\" = set"; then
111687 echo $ECHO_N "(cached) $ECHO_C" >&6
111689 if test x$gcc_no_link = xyes; then
111690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111692 { (exit 1); exit 1; }; }
111694 cat >conftest.$ac_ext <<_ACEOF
111695 /* confdefs.h. */
111696 _ACEOF
111697 cat confdefs.h >>conftest.$ac_ext
111698 cat >>conftest.$ac_ext <<_ACEOF
111699 /* end confdefs.h. */
111700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111702 #define $ac_func innocuous_$ac_func
111704 /* System header to define __stub macros and hopefully few prototypes,
111705 which can conflict with char $ac_func (); below.
111706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111707 <limits.h> exists even on freestanding compilers. */
111709 #ifdef __STDC__
111710 # include <limits.h>
111711 #else
111712 # include <assert.h>
111713 #endif
111715 #undef $ac_func
111717 /* Override any gcc2 internal prototype to avoid an error. */
111718 #ifdef __cplusplus
111719 extern "C"
111721 #endif
111722 /* We use char because int might match the return type of a gcc2
111723 builtin and then its argument prototype would still apply. */
111724 char $ac_func ();
111725 /* The GNU C library defines this for functions which it implements
111726 to always fail with ENOSYS. Some functions are actually named
111727 something starting with __ and the normal name is an alias. */
111728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111729 choke me
111730 #else
111731 char (*f) () = $ac_func;
111732 #endif
111733 #ifdef __cplusplus
111735 #endif
111738 main ()
111740 return f != $ac_func;
111742 return 0;
111744 _ACEOF
111745 rm -f conftest.$ac_objext conftest$ac_exeext
111746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111747 (eval $ac_link) 2>conftest.er1
111748 ac_status=$?
111749 grep -v '^ *+' conftest.er1 >conftest.err
111750 rm -f conftest.er1
111751 cat conftest.err >&5
111752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111753 (exit $ac_status); } &&
111754 { ac_try='test -z "$ac_c_werror_flag"
111755 || test ! -s conftest.err'
111756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111757 (eval $ac_try) 2>&5
111758 ac_status=$?
111759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111760 (exit $ac_status); }; } &&
111761 { ac_try='test -s conftest$ac_exeext'
111762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111763 (eval $ac_try) 2>&5
111764 ac_status=$?
111765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111766 (exit $ac_status); }; }; then
111767 eval "$as_ac_var=yes"
111769 echo "$as_me: failed program was:" >&5
111770 sed 's/^/| /' conftest.$ac_ext >&5
111772 eval "$as_ac_var=no"
111774 rm -f conftest.err conftest.$ac_objext \
111775 conftest$ac_exeext conftest.$ac_ext
111777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111779 if test `eval echo '${'$as_ac_var'}'` = yes; then
111780 cat >>confdefs.h <<_ACEOF
111781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111782 _ACEOF
111785 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111791 # Used in libmath/Makefile.am.
111792 if test -n "$LIBMATHOBJS"; then
111793 need_libmath=yes
111797 cat >>confdefs.h <<\_ACEOF
111798 #define HAVE_COPYSIGN 1
111799 _ACEOF
111801 cat >>confdefs.h <<\_ACEOF
111802 #define HAVE_COPYSIGNF 1
111803 _ACEOF
111805 cat >>confdefs.h <<\_ACEOF
111806 #define HAVE_FINITEF 1
111807 _ACEOF
111809 cat >>confdefs.h <<\_ACEOF
111810 #define HAVE_FINITE 1
111811 _ACEOF
111813 cat >>confdefs.h <<\_ACEOF
111814 #define HAVE_FREXPF 1
111815 _ACEOF
111817 cat >>confdefs.h <<\_ACEOF
111818 #define HAVE_HYPOTF 1
111819 _ACEOF
111821 cat >>confdefs.h <<\_ACEOF
111822 #define HAVE_ISINF 1
111823 _ACEOF
111825 cat >>confdefs.h <<\_ACEOF
111826 #define HAVE_ISINFF 1
111827 _ACEOF
111829 cat >>confdefs.h <<\_ACEOF
111830 #define HAVE_ISNAN 1
111831 _ACEOF
111833 cat >>confdefs.h <<\_ACEOF
111834 #define HAVE_ISNANF 1
111835 _ACEOF
111837 if test x"long_double_math_on_this_cpu" = x"yes"; then
111838 cat >>confdefs.h <<\_ACEOF
111839 #define HAVE_FINITEL 1
111840 _ACEOF
111842 cat >>confdefs.h <<\_ACEOF
111843 #define HAVE_ISINFL 1
111844 _ACEOF
111846 cat >>confdefs.h <<\_ACEOF
111847 #define HAVE_ISNANL 1
111848 _ACEOF
111852 *-netware)
111861 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111862 sys/types.h locale.h float.h inttypes.h
111864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111866 echo "$as_me:$LINENO: checking for $ac_header" >&5
111867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111869 echo $ECHO_N "(cached) $ECHO_C" >&6
111871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111874 # Is the header compilable?
111875 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111877 cat >conftest.$ac_ext <<_ACEOF
111878 /* confdefs.h. */
111879 _ACEOF
111880 cat confdefs.h >>conftest.$ac_ext
111881 cat >>conftest.$ac_ext <<_ACEOF
111882 /* end confdefs.h. */
111883 $ac_includes_default
111884 #include <$ac_header>
111885 _ACEOF
111886 rm -f conftest.$ac_objext
111887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111888 (eval $ac_compile) 2>conftest.er1
111889 ac_status=$?
111890 grep -v '^ *+' conftest.er1 >conftest.err
111891 rm -f conftest.er1
111892 cat conftest.err >&5
111893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111894 (exit $ac_status); } &&
111895 { ac_try='test -z "$ac_c_werror_flag"
111896 || test ! -s conftest.err'
111897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111898 (eval $ac_try) 2>&5
111899 ac_status=$?
111900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111901 (exit $ac_status); }; } &&
111902 { ac_try='test -s conftest.$ac_objext'
111903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111904 (eval $ac_try) 2>&5
111905 ac_status=$?
111906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111907 (exit $ac_status); }; }; then
111908 ac_header_compiler=yes
111910 echo "$as_me: failed program was:" >&5
111911 sed 's/^/| /' conftest.$ac_ext >&5
111913 ac_header_compiler=no
111915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111917 echo "${ECHO_T}$ac_header_compiler" >&6
111919 # Is the header present?
111920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111922 cat >conftest.$ac_ext <<_ACEOF
111923 /* confdefs.h. */
111924 _ACEOF
111925 cat confdefs.h >>conftest.$ac_ext
111926 cat >>conftest.$ac_ext <<_ACEOF
111927 /* end confdefs.h. */
111928 #include <$ac_header>
111929 _ACEOF
111930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111932 ac_status=$?
111933 grep -v '^ *+' conftest.er1 >conftest.err
111934 rm -f conftest.er1
111935 cat conftest.err >&5
111936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111937 (exit $ac_status); } >/dev/null; then
111938 if test -s conftest.err; then
111939 ac_cpp_err=$ac_c_preproc_warn_flag
111940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111942 ac_cpp_err=
111945 ac_cpp_err=yes
111947 if test -z "$ac_cpp_err"; then
111948 ac_header_preproc=yes
111950 echo "$as_me: failed program was:" >&5
111951 sed 's/^/| /' conftest.$ac_ext >&5
111953 ac_header_preproc=no
111955 rm -f conftest.err conftest.$ac_ext
111956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111957 echo "${ECHO_T}$ac_header_preproc" >&6
111959 # So? What about this header?
111960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111961 yes:no: )
111962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111966 ac_header_preproc=yes
111968 no:yes:* )
111969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111982 cat <<\_ASBOX
111983 ## ----------------------------------------- ##
111984 ## Report this to the package-unused lists. ##
111985 ## ----------------------------------------- ##
111986 _ASBOX
111988 sed "s/^/$as_me: WARNING: /" >&2
111991 echo "$as_me:$LINENO: checking for $ac_header" >&5
111992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111994 echo $ECHO_N "(cached) $ECHO_C" >&6
111996 eval "$as_ac_Header=\$ac_header_preproc"
111998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112003 cat >>confdefs.h <<_ACEOF
112004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112005 _ACEOF
112011 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112014 # If we're not using GNU ld, then there's no point in even trying these
112015 # tests. Check for that first. We should have already tested for gld
112016 # by now (in libtool), but require it now just to be safe...
112017 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112018 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112022 # The name set by libtool depends on the version of libtool. Shame on us
112023 # for depending on an impl detail, but c'est la vie. Older versions used
112024 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112025 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112026 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112027 # set (hence we're using an older libtool), then set it.
112028 if test x${with_gnu_ld+set} != xset; then
112029 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112030 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112031 with_gnu_ld=no
112033 with_gnu_ld=$ac_cv_prog_gnu_ld
112037 # Start by getting the version number. I think the libtool test already
112038 # does some of this, but throws away the result.
112039 glibcxx_ld_is_gold=no
112040 if test x"$with_gnu_ld" = x"yes"; then
112041 echo "$as_me:$LINENO: checking for ld version" >&5
112042 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112044 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112045 glibcxx_ld_is_gold=yes
112047 ldver=`$LD --version 2>/dev/null | head -1 | \
112048 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112050 glibcxx_gnu_ld_version=`echo $ldver | \
112051 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112052 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112053 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112056 # Set --gc-sections.
112057 glibcxx_have_gc_sections=no
112058 if test "$glibcxx_ld_is_gold" = "yes"; then
112059 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112060 glibcxx_have_gc_sections=yes
112063 glibcxx_gcsections_min_ld=21602
112064 if test x"$with_gnu_ld" = x"yes" &&
112065 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112066 glibcxx_have_gc_sections=yes
112069 if test "$glibcxx_have_gc_sections" = "yes"; then
112070 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112071 # NB: This flag only works reliably after 2.16.1. Configure tests
112072 # for this are difficult, so hard wire a value that should work.
112074 ac_test_CFLAGS="${CFLAGS+set}"
112075 ac_save_CFLAGS="$CFLAGS"
112076 CFLAGS='-Wl,--gc-sections'
112078 # Check for -Wl,--gc-sections
112079 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112080 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112081 if test x$gcc_no_link = xyes; then
112082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112084 { (exit 1); exit 1; }; }
112086 cat >conftest.$ac_ext <<_ACEOF
112087 /* confdefs.h. */
112088 _ACEOF
112089 cat confdefs.h >>conftest.$ac_ext
112090 cat >>conftest.$ac_ext <<_ACEOF
112091 /* end confdefs.h. */
112092 int one(void) { return 1; }
112093 int two(void) { return 2; }
112096 main ()
112098 two();
112100 return 0;
112102 _ACEOF
112103 rm -f conftest.$ac_objext conftest$ac_exeext
112104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112105 (eval $ac_link) 2>conftest.er1
112106 ac_status=$?
112107 grep -v '^ *+' conftest.er1 >conftest.err
112108 rm -f conftest.er1
112109 cat conftest.err >&5
112110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112111 (exit $ac_status); } &&
112112 { ac_try='test -z "$ac_c_werror_flag"
112113 || test ! -s conftest.err'
112114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112115 (eval $ac_try) 2>&5
112116 ac_status=$?
112117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112118 (exit $ac_status); }; } &&
112119 { ac_try='test -s conftest$ac_exeext'
112120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112121 (eval $ac_try) 2>&5
112122 ac_status=$?
112123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112124 (exit $ac_status); }; }; then
112125 ac_gcsections=yes
112127 echo "$as_me: failed program was:" >&5
112128 sed 's/^/| /' conftest.$ac_ext >&5
112130 ac_gcsections=no
112132 rm -f conftest.err conftest.$ac_objext \
112133 conftest$ac_exeext conftest.$ac_ext
112134 if test "$ac_gcsections" = "yes"; then
112135 rm -f conftest.c
112136 touch conftest.c
112137 if $CC -c conftest.c; then
112138 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112139 grep "Warning: gc-sections option ignored" > /dev/null; then
112140 ac_gcsections=no
112143 rm -f conftest.c conftest.o conftest
112145 if test "$ac_gcsections" = "yes"; then
112146 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112148 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112149 echo "${ECHO_T}$ac_gcsections" >&6
112151 if test "$ac_test_CFLAGS" = set; then
112152 CFLAGS="$ac_save_CFLAGS"
112154 # this is the suspicious part
112155 CFLAGS=''
112159 # Set -z,relro.
112160 # Note this is only for shared objects.
112161 ac_ld_relro=no
112162 if test x"$with_gnu_ld" = x"yes"; then
112163 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112164 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112165 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112166 if test -n "$cxx_z_relo"; then
112167 OPT_LDFLAGS="-Wl,-z,relro"
112168 ac_ld_relro=yes
112170 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112171 echo "${ECHO_T}$ac_ld_relro" >&6
112174 # Set linker optimization flags.
112175 if test x"$with_gnu_ld" = x"yes"; then
112176 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112184 echo "$as_me:$LINENO: checking for main in -lm" >&5
112185 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112186 if test "${ac_cv_lib_m_main+set}" = set; then
112187 echo $ECHO_N "(cached) $ECHO_C" >&6
112189 ac_check_lib_save_LIBS=$LIBS
112190 LIBS="-lm $LIBS"
112191 if test x$gcc_no_link = xyes; then
112192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112194 { (exit 1); exit 1; }; }
112196 cat >conftest.$ac_ext <<_ACEOF
112197 /* confdefs.h. */
112198 _ACEOF
112199 cat confdefs.h >>conftest.$ac_ext
112200 cat >>conftest.$ac_ext <<_ACEOF
112201 /* end confdefs.h. */
112205 main ()
112207 main ();
112209 return 0;
112211 _ACEOF
112212 rm -f conftest.$ac_objext conftest$ac_exeext
112213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112214 (eval $ac_link) 2>conftest.er1
112215 ac_status=$?
112216 grep -v '^ *+' conftest.er1 >conftest.err
112217 rm -f conftest.er1
112218 cat conftest.err >&5
112219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112220 (exit $ac_status); } &&
112221 { ac_try='test -z "$ac_c_werror_flag"
112222 || test ! -s conftest.err'
112223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112224 (eval $ac_try) 2>&5
112225 ac_status=$?
112226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112227 (exit $ac_status); }; } &&
112228 { ac_try='test -s conftest$ac_exeext'
112229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112230 (eval $ac_try) 2>&5
112231 ac_status=$?
112232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112233 (exit $ac_status); }; }; then
112234 ac_cv_lib_m_main=yes
112236 echo "$as_me: failed program was:" >&5
112237 sed 's/^/| /' conftest.$ac_ext >&5
112239 ac_cv_lib_m_main=no
112241 rm -f conftest.err conftest.$ac_objext \
112242 conftest$ac_exeext conftest.$ac_ext
112243 LIBS=$ac_check_lib_save_LIBS
112245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112246 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112247 if test $ac_cv_lib_m_main = yes; then
112248 cat >>confdefs.h <<_ACEOF
112249 #define HAVE_LIBM 1
112250 _ACEOF
112252 LIBS="-lm $LIBS"
112257 for ac_func in copysignf
112259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112260 echo "$as_me:$LINENO: checking for $ac_func" >&5
112261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112262 if eval "test \"\${$as_ac_var+set}\" = set"; then
112263 echo $ECHO_N "(cached) $ECHO_C" >&6
112265 if test x$gcc_no_link = xyes; then
112266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112268 { (exit 1); exit 1; }; }
112270 cat >conftest.$ac_ext <<_ACEOF
112271 /* confdefs.h. */
112272 _ACEOF
112273 cat confdefs.h >>conftest.$ac_ext
112274 cat >>conftest.$ac_ext <<_ACEOF
112275 /* end confdefs.h. */
112276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112278 #define $ac_func innocuous_$ac_func
112280 /* System header to define __stub macros and hopefully few prototypes,
112281 which can conflict with char $ac_func (); below.
112282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112283 <limits.h> exists even on freestanding compilers. */
112285 #ifdef __STDC__
112286 # include <limits.h>
112287 #else
112288 # include <assert.h>
112289 #endif
112291 #undef $ac_func
112293 /* Override any gcc2 internal prototype to avoid an error. */
112294 #ifdef __cplusplus
112295 extern "C"
112297 #endif
112298 /* We use char because int might match the return type of a gcc2
112299 builtin and then its argument prototype would still apply. */
112300 char $ac_func ();
112301 /* The GNU C library defines this for functions which it implements
112302 to always fail with ENOSYS. Some functions are actually named
112303 something starting with __ and the normal name is an alias. */
112304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112305 choke me
112306 #else
112307 char (*f) () = $ac_func;
112308 #endif
112309 #ifdef __cplusplus
112311 #endif
112314 main ()
112316 return f != $ac_func;
112318 return 0;
112320 _ACEOF
112321 rm -f conftest.$ac_objext conftest$ac_exeext
112322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112323 (eval $ac_link) 2>conftest.er1
112324 ac_status=$?
112325 grep -v '^ *+' conftest.er1 >conftest.err
112326 rm -f conftest.er1
112327 cat conftest.err >&5
112328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112329 (exit $ac_status); } &&
112330 { ac_try='test -z "$ac_c_werror_flag"
112331 || test ! -s conftest.err'
112332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112333 (eval $ac_try) 2>&5
112334 ac_status=$?
112335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112336 (exit $ac_status); }; } &&
112337 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
112343 eval "$as_ac_var=yes"
112345 echo "$as_me: failed program was:" >&5
112346 sed 's/^/| /' conftest.$ac_ext >&5
112348 eval "$as_ac_var=no"
112350 rm -f conftest.err conftest.$ac_objext \
112351 conftest$ac_exeext conftest.$ac_ext
112353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112355 if test `eval echo '${'$as_ac_var'}'` = yes; then
112356 cat >>confdefs.h <<_ACEOF
112357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112358 _ACEOF
112361 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112367 for ac_func in __signbit
112369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112370 echo "$as_me:$LINENO: checking for $ac_func" >&5
112371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112372 if eval "test \"\${$as_ac_var+set}\" = set"; then
112373 echo $ECHO_N "(cached) $ECHO_C" >&6
112375 if test x$gcc_no_link = xyes; then
112376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112378 { (exit 1); exit 1; }; }
112380 cat >conftest.$ac_ext <<_ACEOF
112381 /* confdefs.h. */
112382 _ACEOF
112383 cat confdefs.h >>conftest.$ac_ext
112384 cat >>conftest.$ac_ext <<_ACEOF
112385 /* end confdefs.h. */
112386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112388 #define $ac_func innocuous_$ac_func
112390 /* System header to define __stub macros and hopefully few prototypes,
112391 which can conflict with char $ac_func (); below.
112392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112393 <limits.h> exists even on freestanding compilers. */
112395 #ifdef __STDC__
112396 # include <limits.h>
112397 #else
112398 # include <assert.h>
112399 #endif
112401 #undef $ac_func
112403 /* Override any gcc2 internal prototype to avoid an error. */
112404 #ifdef __cplusplus
112405 extern "C"
112407 #endif
112408 /* We use char because int might match the return type of a gcc2
112409 builtin and then its argument prototype would still apply. */
112410 char $ac_func ();
112411 /* The GNU C library defines this for functions which it implements
112412 to always fail with ENOSYS. Some functions are actually named
112413 something starting with __ and the normal name is an alias. */
112414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112415 choke me
112416 #else
112417 char (*f) () = $ac_func;
112418 #endif
112419 #ifdef __cplusplus
112421 #endif
112424 main ()
112426 return f != $ac_func;
112428 return 0;
112430 _ACEOF
112431 rm -f conftest.$ac_objext conftest$ac_exeext
112432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112433 (eval $ac_link) 2>conftest.er1
112434 ac_status=$?
112435 grep -v '^ *+' conftest.er1 >conftest.err
112436 rm -f conftest.er1
112437 cat conftest.err >&5
112438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112439 (exit $ac_status); } &&
112440 { ac_try='test -z "$ac_c_werror_flag"
112441 || test ! -s conftest.err'
112442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112443 (eval $ac_try) 2>&5
112444 ac_status=$?
112445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112446 (exit $ac_status); }; } &&
112447 { ac_try='test -s conftest$ac_exeext'
112448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112449 (eval $ac_try) 2>&5
112450 ac_status=$?
112451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112452 (exit $ac_status); }; }; then
112453 eval "$as_ac_var=yes"
112455 echo "$as_me: failed program was:" >&5
112456 sed 's/^/| /' conftest.$ac_ext >&5
112458 eval "$as_ac_var=no"
112460 rm -f conftest.err conftest.$ac_objext \
112461 conftest$ac_exeext conftest.$ac_ext
112463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112465 if test `eval echo '${'$as_ac_var'}'` = yes; then
112466 cat >>confdefs.h <<_ACEOF
112467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112468 _ACEOF
112471 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112477 for ac_func in __signbitf
112479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112480 echo "$as_me:$LINENO: checking for $ac_func" >&5
112481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112482 if eval "test \"\${$as_ac_var+set}\" = set"; then
112483 echo $ECHO_N "(cached) $ECHO_C" >&6
112485 if test x$gcc_no_link = xyes; then
112486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112488 { (exit 1); exit 1; }; }
112490 cat >conftest.$ac_ext <<_ACEOF
112491 /* confdefs.h. */
112492 _ACEOF
112493 cat confdefs.h >>conftest.$ac_ext
112494 cat >>conftest.$ac_ext <<_ACEOF
112495 /* end confdefs.h. */
112496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112498 #define $ac_func innocuous_$ac_func
112500 /* System header to define __stub macros and hopefully few prototypes,
112501 which can conflict with char $ac_func (); below.
112502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112503 <limits.h> exists even on freestanding compilers. */
112505 #ifdef __STDC__
112506 # include <limits.h>
112507 #else
112508 # include <assert.h>
112509 #endif
112511 #undef $ac_func
112513 /* Override any gcc2 internal prototype to avoid an error. */
112514 #ifdef __cplusplus
112515 extern "C"
112517 #endif
112518 /* We use char because int might match the return type of a gcc2
112519 builtin and then its argument prototype would still apply. */
112520 char $ac_func ();
112521 /* The GNU C library defines this for functions which it implements
112522 to always fail with ENOSYS. Some functions are actually named
112523 something starting with __ and the normal name is an alias. */
112524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112525 choke me
112526 #else
112527 char (*f) () = $ac_func;
112528 #endif
112529 #ifdef __cplusplus
112531 #endif
112534 main ()
112536 return f != $ac_func;
112538 return 0;
112540 _ACEOF
112541 rm -f conftest.$ac_objext conftest$ac_exeext
112542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112543 (eval $ac_link) 2>conftest.er1
112544 ac_status=$?
112545 grep -v '^ *+' conftest.er1 >conftest.err
112546 rm -f conftest.er1
112547 cat conftest.err >&5
112548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112549 (exit $ac_status); } &&
112550 { ac_try='test -z "$ac_c_werror_flag"
112551 || test ! -s conftest.err'
112552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112553 (eval $ac_try) 2>&5
112554 ac_status=$?
112555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112556 (exit $ac_status); }; } &&
112557 { ac_try='test -s conftest$ac_exeext'
112558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112559 (eval $ac_try) 2>&5
112560 ac_status=$?
112561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112562 (exit $ac_status); }; }; then
112563 eval "$as_ac_var=yes"
112565 echo "$as_me: failed program was:" >&5
112566 sed 's/^/| /' conftest.$ac_ext >&5
112568 eval "$as_ac_var=no"
112570 rm -f conftest.err conftest.$ac_objext \
112571 conftest$ac_exeext conftest.$ac_ext
112573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112575 if test `eval echo '${'$as_ac_var'}'` = yes; then
112576 cat >>confdefs.h <<_ACEOF
112577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112578 _ACEOF
112581 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112586 if test x$ac_cv_func_copysignl = x"yes"; then
112588 for ac_func in __signbitl
112590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112591 echo "$as_me:$LINENO: checking for $ac_func" >&5
112592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112593 if eval "test \"\${$as_ac_var+set}\" = set"; then
112594 echo $ECHO_N "(cached) $ECHO_C" >&6
112596 if test x$gcc_no_link = xyes; then
112597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112599 { (exit 1); exit 1; }; }
112601 cat >conftest.$ac_ext <<_ACEOF
112602 /* confdefs.h. */
112603 _ACEOF
112604 cat confdefs.h >>conftest.$ac_ext
112605 cat >>conftest.$ac_ext <<_ACEOF
112606 /* end confdefs.h. */
112607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112609 #define $ac_func innocuous_$ac_func
112611 /* System header to define __stub macros and hopefully few prototypes,
112612 which can conflict with char $ac_func (); below.
112613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112614 <limits.h> exists even on freestanding compilers. */
112616 #ifdef __STDC__
112617 # include <limits.h>
112618 #else
112619 # include <assert.h>
112620 #endif
112622 #undef $ac_func
112624 /* Override any gcc2 internal prototype to avoid an error. */
112625 #ifdef __cplusplus
112626 extern "C"
112628 #endif
112629 /* We use char because int might match the return type of a gcc2
112630 builtin and then its argument prototype would still apply. */
112631 char $ac_func ();
112632 /* The GNU C library defines this for functions which it implements
112633 to always fail with ENOSYS. Some functions are actually named
112634 something starting with __ and the normal name is an alias. */
112635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112636 choke me
112637 #else
112638 char (*f) () = $ac_func;
112639 #endif
112640 #ifdef __cplusplus
112642 #endif
112645 main ()
112647 return f != $ac_func;
112649 return 0;
112651 _ACEOF
112652 rm -f conftest.$ac_objext conftest$ac_exeext
112653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112654 (eval $ac_link) 2>conftest.er1
112655 ac_status=$?
112656 grep -v '^ *+' conftest.er1 >conftest.err
112657 rm -f conftest.er1
112658 cat conftest.err >&5
112659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112660 (exit $ac_status); } &&
112661 { ac_try='test -z "$ac_c_werror_flag"
112662 || test ! -s conftest.err'
112663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112664 (eval $ac_try) 2>&5
112665 ac_status=$?
112666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112667 (exit $ac_status); }; } &&
112668 { ac_try='test -s conftest$ac_exeext'
112669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112670 (eval $ac_try) 2>&5
112671 ac_status=$?
112672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112673 (exit $ac_status); }; }; then
112674 eval "$as_ac_var=yes"
112676 echo "$as_me: failed program was:" >&5
112677 sed 's/^/| /' conftest.$ac_ext >&5
112679 eval "$as_ac_var=no"
112681 rm -f conftest.err conftest.$ac_objext \
112682 conftest$ac_exeext conftest.$ac_ext
112684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112686 if test `eval echo '${'$as_ac_var'}'` = yes; then
112687 cat >>confdefs.h <<_ACEOF
112688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112689 _ACEOF
112692 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112698 # Used in libmath/Makefile.am.
112699 if test -n "$LIBMATHOBJS"; then
112700 need_libmath=yes
112704 cat >>confdefs.h <<\_ACEOF
112705 #define HAVE_HYPOT 1
112706 _ACEOF
112708 cat >>confdefs.h <<\_ACEOF
112709 #define HAVE_ISINF 1
112710 _ACEOF
112712 cat >>confdefs.h <<\_ACEOF
112713 #define HAVE_ISNAN 1
112714 _ACEOF
112717 # For showmanyc_helper().
112720 for ac_header in sys/ioctl.h sys/filio.h
112722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112724 echo "$as_me:$LINENO: checking for $ac_header" >&5
112725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112727 echo $ECHO_N "(cached) $ECHO_C" >&6
112729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112732 # Is the header compilable?
112733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112735 cat >conftest.$ac_ext <<_ACEOF
112736 /* confdefs.h. */
112737 _ACEOF
112738 cat confdefs.h >>conftest.$ac_ext
112739 cat >>conftest.$ac_ext <<_ACEOF
112740 /* end confdefs.h. */
112741 $ac_includes_default
112742 #include <$ac_header>
112743 _ACEOF
112744 rm -f conftest.$ac_objext
112745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112746 (eval $ac_compile) 2>conftest.er1
112747 ac_status=$?
112748 grep -v '^ *+' conftest.er1 >conftest.err
112749 rm -f conftest.er1
112750 cat conftest.err >&5
112751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112752 (exit $ac_status); } &&
112753 { ac_try='test -z "$ac_c_werror_flag"
112754 || test ! -s conftest.err'
112755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112756 (eval $ac_try) 2>&5
112757 ac_status=$?
112758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112759 (exit $ac_status); }; } &&
112760 { ac_try='test -s conftest.$ac_objext'
112761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112762 (eval $ac_try) 2>&5
112763 ac_status=$?
112764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112765 (exit $ac_status); }; }; then
112766 ac_header_compiler=yes
112768 echo "$as_me: failed program was:" >&5
112769 sed 's/^/| /' conftest.$ac_ext >&5
112771 ac_header_compiler=no
112773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112775 echo "${ECHO_T}$ac_header_compiler" >&6
112777 # Is the header present?
112778 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112779 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112780 cat >conftest.$ac_ext <<_ACEOF
112781 /* confdefs.h. */
112782 _ACEOF
112783 cat confdefs.h >>conftest.$ac_ext
112784 cat >>conftest.$ac_ext <<_ACEOF
112785 /* end confdefs.h. */
112786 #include <$ac_header>
112787 _ACEOF
112788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112790 ac_status=$?
112791 grep -v '^ *+' conftest.er1 >conftest.err
112792 rm -f conftest.er1
112793 cat conftest.err >&5
112794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112795 (exit $ac_status); } >/dev/null; then
112796 if test -s conftest.err; then
112797 ac_cpp_err=$ac_c_preproc_warn_flag
112798 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112800 ac_cpp_err=
112803 ac_cpp_err=yes
112805 if test -z "$ac_cpp_err"; then
112806 ac_header_preproc=yes
112808 echo "$as_me: failed program was:" >&5
112809 sed 's/^/| /' conftest.$ac_ext >&5
112811 ac_header_preproc=no
112813 rm -f conftest.err conftest.$ac_ext
112814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112815 echo "${ECHO_T}$ac_header_preproc" >&6
112817 # So? What about this header?
112818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112819 yes:no: )
112820 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112821 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112823 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112824 ac_header_preproc=yes
112826 no:yes:* )
112827 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112828 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112829 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112830 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112831 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112832 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112833 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112834 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112837 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112838 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112840 cat <<\_ASBOX
112841 ## ----------------------------------------- ##
112842 ## Report this to the package-unused lists. ##
112843 ## ----------------------------------------- ##
112844 _ASBOX
112846 sed "s/^/$as_me: WARNING: /" >&2
112849 echo "$as_me:$LINENO: checking for $ac_header" >&5
112850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112852 echo $ECHO_N "(cached) $ECHO_C" >&6
112854 eval "$as_ac_Header=\$ac_header_preproc"
112856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112861 cat >>confdefs.h <<_ACEOF
112862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112863 _ACEOF
112870 echo "$as_me:$LINENO: checking for poll" >&5
112871 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112872 if test "${glibcxx_cv_POLL+set}" = set; then
112873 echo $ECHO_N "(cached) $ECHO_C" >&6
112876 if test x$gcc_no_link = xyes; then
112877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112879 { (exit 1); exit 1; }; }
112881 cat >conftest.$ac_ext <<_ACEOF
112882 /* confdefs.h. */
112883 _ACEOF
112884 cat confdefs.h >>conftest.$ac_ext
112885 cat >>conftest.$ac_ext <<_ACEOF
112886 /* end confdefs.h. */
112887 #include <poll.h>
112889 main ()
112891 struct pollfd pfd[1];
112892 pfd[0].events = POLLIN;
112893 poll(pfd, 1, 0);
112895 return 0;
112897 _ACEOF
112898 rm -f conftest.$ac_objext conftest$ac_exeext
112899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112900 (eval $ac_link) 2>conftest.er1
112901 ac_status=$?
112902 grep -v '^ *+' conftest.er1 >conftest.err
112903 rm -f conftest.er1
112904 cat conftest.err >&5
112905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112906 (exit $ac_status); } &&
112907 { ac_try='test -z "$ac_c_werror_flag"
112908 || test ! -s conftest.err'
112909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112910 (eval $ac_try) 2>&5
112911 ac_status=$?
112912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112913 (exit $ac_status); }; } &&
112914 { ac_try='test -s conftest$ac_exeext'
112915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112916 (eval $ac_try) 2>&5
112917 ac_status=$?
112918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112919 (exit $ac_status); }; }; then
112920 glibcxx_cv_POLL=yes
112922 echo "$as_me: failed program was:" >&5
112923 sed 's/^/| /' conftest.$ac_ext >&5
112925 glibcxx_cv_POLL=no
112927 rm -f conftest.err conftest.$ac_objext \
112928 conftest$ac_exeext conftest.$ac_ext
112932 if test $glibcxx_cv_POLL = yes; then
112934 cat >>confdefs.h <<\_ACEOF
112935 #define HAVE_POLL 1
112936 _ACEOF
112939 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112940 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112943 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112944 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112945 if test "${glibcxx_cv_S_ISREG+set}" = set; then
112946 echo $ECHO_N "(cached) $ECHO_C" >&6
112949 if test x$gcc_no_link = xyes; then
112950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112952 { (exit 1); exit 1; }; }
112954 cat >conftest.$ac_ext <<_ACEOF
112955 /* confdefs.h. */
112956 _ACEOF
112957 cat confdefs.h >>conftest.$ac_ext
112958 cat >>conftest.$ac_ext <<_ACEOF
112959 /* end confdefs.h. */
112960 #include <sys/stat.h>
112962 main ()
112964 struct stat buffer;
112965 fstat(0, &buffer);
112966 S_ISREG(buffer.st_mode);
112968 return 0;
112970 _ACEOF
112971 rm -f conftest.$ac_objext conftest$ac_exeext
112972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112973 (eval $ac_link) 2>conftest.er1
112974 ac_status=$?
112975 grep -v '^ *+' conftest.er1 >conftest.err
112976 rm -f conftest.er1
112977 cat conftest.err >&5
112978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112979 (exit $ac_status); } &&
112980 { ac_try='test -z "$ac_c_werror_flag"
112981 || test ! -s conftest.err'
112982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112983 (eval $ac_try) 2>&5
112984 ac_status=$?
112985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112986 (exit $ac_status); }; } &&
112987 { ac_try='test -s conftest$ac_exeext'
112988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112989 (eval $ac_try) 2>&5
112990 ac_status=$?
112991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112992 (exit $ac_status); }; }; then
112993 glibcxx_cv_S_ISREG=yes
112995 echo "$as_me: failed program was:" >&5
112996 sed 's/^/| /' conftest.$ac_ext >&5
112998 glibcxx_cv_S_ISREG=no
113000 rm -f conftest.err conftest.$ac_objext \
113001 conftest$ac_exeext conftest.$ac_ext
113005 if test "${glibcxx_cv_S_IFREG+set}" = set; then
113006 echo $ECHO_N "(cached) $ECHO_C" >&6
113009 if test x$gcc_no_link = xyes; then
113010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113012 { (exit 1); exit 1; }; }
113014 cat >conftest.$ac_ext <<_ACEOF
113015 /* confdefs.h. */
113016 _ACEOF
113017 cat confdefs.h >>conftest.$ac_ext
113018 cat >>conftest.$ac_ext <<_ACEOF
113019 /* end confdefs.h. */
113020 #include <sys/stat.h>
113022 main ()
113024 struct stat buffer;
113025 fstat(0, &buffer);
113026 S_IFREG & buffer.st_mode;
113028 return 0;
113030 _ACEOF
113031 rm -f conftest.$ac_objext conftest$ac_exeext
113032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113033 (eval $ac_link) 2>conftest.er1
113034 ac_status=$?
113035 grep -v '^ *+' conftest.er1 >conftest.err
113036 rm -f conftest.er1
113037 cat conftest.err >&5
113038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113039 (exit $ac_status); } &&
113040 { ac_try='test -z "$ac_c_werror_flag"
113041 || test ! -s conftest.err'
113042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113043 (eval $ac_try) 2>&5
113044 ac_status=$?
113045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113046 (exit $ac_status); }; } &&
113047 { ac_try='test -s conftest$ac_exeext'
113048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113049 (eval $ac_try) 2>&5
113050 ac_status=$?
113051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113052 (exit $ac_status); }; }; then
113053 glibcxx_cv_S_IFREG=yes
113055 echo "$as_me: failed program was:" >&5
113056 sed 's/^/| /' conftest.$ac_ext >&5
113058 glibcxx_cv_S_IFREG=no
113060 rm -f conftest.err conftest.$ac_objext \
113061 conftest$ac_exeext conftest.$ac_ext
113065 res=no
113066 if test $glibcxx_cv_S_ISREG = yes; then
113068 cat >>confdefs.h <<\_ACEOF
113069 #define HAVE_S_ISREG 1
113070 _ACEOF
113072 res=S_ISREG
113073 elif test $glibcxx_cv_S_IFREG = yes; then
113075 cat >>confdefs.h <<\_ACEOF
113076 #define HAVE_S_IFREG 1
113077 _ACEOF
113079 res=S_IFREG
113081 echo "$as_me:$LINENO: result: $res" >&5
113082 echo "${ECHO_T}$res" >&6
113085 # For xsputn_2().
113087 for ac_header in sys/uio.h
113089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113091 echo "$as_me:$LINENO: checking for $ac_header" >&5
113092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113094 echo $ECHO_N "(cached) $ECHO_C" >&6
113096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113099 # Is the header compilable?
113100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113102 cat >conftest.$ac_ext <<_ACEOF
113103 /* confdefs.h. */
113104 _ACEOF
113105 cat confdefs.h >>conftest.$ac_ext
113106 cat >>conftest.$ac_ext <<_ACEOF
113107 /* end confdefs.h. */
113108 $ac_includes_default
113109 #include <$ac_header>
113110 _ACEOF
113111 rm -f conftest.$ac_objext
113112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113113 (eval $ac_compile) 2>conftest.er1
113114 ac_status=$?
113115 grep -v '^ *+' conftest.er1 >conftest.err
113116 rm -f conftest.er1
113117 cat conftest.err >&5
113118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113119 (exit $ac_status); } &&
113120 { ac_try='test -z "$ac_c_werror_flag"
113121 || test ! -s conftest.err'
113122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113123 (eval $ac_try) 2>&5
113124 ac_status=$?
113125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113126 (exit $ac_status); }; } &&
113127 { ac_try='test -s conftest.$ac_objext'
113128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113129 (eval $ac_try) 2>&5
113130 ac_status=$?
113131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113132 (exit $ac_status); }; }; then
113133 ac_header_compiler=yes
113135 echo "$as_me: failed program was:" >&5
113136 sed 's/^/| /' conftest.$ac_ext >&5
113138 ac_header_compiler=no
113140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113142 echo "${ECHO_T}$ac_header_compiler" >&6
113144 # Is the header present?
113145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113147 cat >conftest.$ac_ext <<_ACEOF
113148 /* confdefs.h. */
113149 _ACEOF
113150 cat confdefs.h >>conftest.$ac_ext
113151 cat >>conftest.$ac_ext <<_ACEOF
113152 /* end confdefs.h. */
113153 #include <$ac_header>
113154 _ACEOF
113155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113157 ac_status=$?
113158 grep -v '^ *+' conftest.er1 >conftest.err
113159 rm -f conftest.er1
113160 cat conftest.err >&5
113161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113162 (exit $ac_status); } >/dev/null; then
113163 if test -s conftest.err; then
113164 ac_cpp_err=$ac_c_preproc_warn_flag
113165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113167 ac_cpp_err=
113170 ac_cpp_err=yes
113172 if test -z "$ac_cpp_err"; then
113173 ac_header_preproc=yes
113175 echo "$as_me: failed program was:" >&5
113176 sed 's/^/| /' conftest.$ac_ext >&5
113178 ac_header_preproc=no
113180 rm -f conftest.err conftest.$ac_ext
113181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113182 echo "${ECHO_T}$ac_header_preproc" >&6
113184 # So? What about this header?
113185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113186 yes:no: )
113187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113191 ac_header_preproc=yes
113193 no:yes:* )
113194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113207 cat <<\_ASBOX
113208 ## ----------------------------------------- ##
113209 ## Report this to the package-unused lists. ##
113210 ## ----------------------------------------- ##
113211 _ASBOX
113213 sed "s/^/$as_me: WARNING: /" >&2
113216 echo "$as_me:$LINENO: checking for $ac_header" >&5
113217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113219 echo $ECHO_N "(cached) $ECHO_C" >&6
113221 eval "$as_ac_Header=\$ac_header_preproc"
113223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113228 cat >>confdefs.h <<_ACEOF
113229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113230 _ACEOF
113237 echo "$as_me:$LINENO: checking for writev" >&5
113238 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113239 if test "${glibcxx_cv_WRITEV+set}" = set; then
113240 echo $ECHO_N "(cached) $ECHO_C" >&6
113243 if test x$gcc_no_link = xyes; then
113244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113246 { (exit 1); exit 1; }; }
113248 cat >conftest.$ac_ext <<_ACEOF
113249 /* confdefs.h. */
113250 _ACEOF
113251 cat confdefs.h >>conftest.$ac_ext
113252 cat >>conftest.$ac_ext <<_ACEOF
113253 /* end confdefs.h. */
113254 #include <sys/uio.h>
113256 main ()
113258 struct iovec iov[2];
113259 writev(0, iov, 0);
113261 return 0;
113263 _ACEOF
113264 rm -f conftest.$ac_objext conftest$ac_exeext
113265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113266 (eval $ac_link) 2>conftest.er1
113267 ac_status=$?
113268 grep -v '^ *+' conftest.er1 >conftest.err
113269 rm -f conftest.er1
113270 cat conftest.err >&5
113271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113272 (exit $ac_status); } &&
113273 { ac_try='test -z "$ac_c_werror_flag"
113274 || test ! -s conftest.err'
113275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113276 (eval $ac_try) 2>&5
113277 ac_status=$?
113278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113279 (exit $ac_status); }; } &&
113280 { ac_try='test -s conftest$ac_exeext'
113281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113282 (eval $ac_try) 2>&5
113283 ac_status=$?
113284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113285 (exit $ac_status); }; }; then
113286 glibcxx_cv_WRITEV=yes
113288 echo "$as_me: failed program was:" >&5
113289 sed 's/^/| /' conftest.$ac_ext >&5
113291 glibcxx_cv_WRITEV=no
113293 rm -f conftest.err conftest.$ac_objext \
113294 conftest$ac_exeext conftest.$ac_ext
113298 if test $glibcxx_cv_WRITEV = yes; then
113300 cat >>confdefs.h <<\_ACEOF
113301 #define HAVE_WRITEV 1
113302 _ACEOF
113305 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113306 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113309 *-qnx6.1* | *-qnx6.2*)
113310 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113313 # If we're not using GNU ld, then there's no point in even trying these
113314 # tests. Check for that first. We should have already tested for gld
113315 # by now (in libtool), but require it now just to be safe...
113316 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113317 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113321 # The name set by libtool depends on the version of libtool. Shame on us
113322 # for depending on an impl detail, but c'est la vie. Older versions used
113323 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113324 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113325 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113326 # set (hence we're using an older libtool), then set it.
113327 if test x${with_gnu_ld+set} != xset; then
113328 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113329 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113330 with_gnu_ld=no
113332 with_gnu_ld=$ac_cv_prog_gnu_ld
113336 # Start by getting the version number. I think the libtool test already
113337 # does some of this, but throws away the result.
113338 glibcxx_ld_is_gold=no
113339 if test x"$with_gnu_ld" = x"yes"; then
113340 echo "$as_me:$LINENO: checking for ld version" >&5
113341 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113343 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113344 glibcxx_ld_is_gold=yes
113346 ldver=`$LD --version 2>/dev/null | head -1 | \
113347 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113349 glibcxx_gnu_ld_version=`echo $ldver | \
113350 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113351 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113352 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113355 # Set --gc-sections.
113356 glibcxx_have_gc_sections=no
113357 if test "$glibcxx_ld_is_gold" = "yes"; then
113358 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113359 glibcxx_have_gc_sections=yes
113362 glibcxx_gcsections_min_ld=21602
113363 if test x"$with_gnu_ld" = x"yes" &&
113364 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113365 glibcxx_have_gc_sections=yes
113368 if test "$glibcxx_have_gc_sections" = "yes"; then
113369 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113370 # NB: This flag only works reliably after 2.16.1. Configure tests
113371 # for this are difficult, so hard wire a value that should work.
113373 ac_test_CFLAGS="${CFLAGS+set}"
113374 ac_save_CFLAGS="$CFLAGS"
113375 CFLAGS='-Wl,--gc-sections'
113377 # Check for -Wl,--gc-sections
113378 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113379 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113380 if test x$gcc_no_link = xyes; then
113381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113383 { (exit 1); exit 1; }; }
113385 cat >conftest.$ac_ext <<_ACEOF
113386 /* confdefs.h. */
113387 _ACEOF
113388 cat confdefs.h >>conftest.$ac_ext
113389 cat >>conftest.$ac_ext <<_ACEOF
113390 /* end confdefs.h. */
113391 int one(void) { return 1; }
113392 int two(void) { return 2; }
113395 main ()
113397 two();
113399 return 0;
113401 _ACEOF
113402 rm -f conftest.$ac_objext conftest$ac_exeext
113403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113404 (eval $ac_link) 2>conftest.er1
113405 ac_status=$?
113406 grep -v '^ *+' conftest.er1 >conftest.err
113407 rm -f conftest.er1
113408 cat conftest.err >&5
113409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113410 (exit $ac_status); } &&
113411 { ac_try='test -z "$ac_c_werror_flag"
113412 || test ! -s conftest.err'
113413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113414 (eval $ac_try) 2>&5
113415 ac_status=$?
113416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113417 (exit $ac_status); }; } &&
113418 { ac_try='test -s conftest$ac_exeext'
113419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113420 (eval $ac_try) 2>&5
113421 ac_status=$?
113422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113423 (exit $ac_status); }; }; then
113424 ac_gcsections=yes
113426 echo "$as_me: failed program was:" >&5
113427 sed 's/^/| /' conftest.$ac_ext >&5
113429 ac_gcsections=no
113431 rm -f conftest.err conftest.$ac_objext \
113432 conftest$ac_exeext conftest.$ac_ext
113433 if test "$ac_gcsections" = "yes"; then
113434 rm -f conftest.c
113435 touch conftest.c
113436 if $CC -c conftest.c; then
113437 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113438 grep "Warning: gc-sections option ignored" > /dev/null; then
113439 ac_gcsections=no
113442 rm -f conftest.c conftest.o conftest
113444 if test "$ac_gcsections" = "yes"; then
113445 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113447 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113448 echo "${ECHO_T}$ac_gcsections" >&6
113450 if test "$ac_test_CFLAGS" = set; then
113451 CFLAGS="$ac_save_CFLAGS"
113453 # this is the suspicious part
113454 CFLAGS=''
113458 # Set -z,relro.
113459 # Note this is only for shared objects.
113460 ac_ld_relro=no
113461 if test x"$with_gnu_ld" = x"yes"; then
113462 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113463 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113464 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113465 if test -n "$cxx_z_relo"; then
113466 OPT_LDFLAGS="-Wl,-z,relro"
113467 ac_ld_relro=yes
113469 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113470 echo "${ECHO_T}$ac_ld_relro" >&6
113473 # Set linker optimization flags.
113474 if test x"$with_gnu_ld" = x"yes"; then
113475 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113483 echo "$as_me:$LINENO: checking for main in -lm" >&5
113484 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113485 if test "${ac_cv_lib_m_main+set}" = set; then
113486 echo $ECHO_N "(cached) $ECHO_C" >&6
113488 ac_check_lib_save_LIBS=$LIBS
113489 LIBS="-lm $LIBS"
113490 if test x$gcc_no_link = xyes; then
113491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113493 { (exit 1); exit 1; }; }
113495 cat >conftest.$ac_ext <<_ACEOF
113496 /* confdefs.h. */
113497 _ACEOF
113498 cat confdefs.h >>conftest.$ac_ext
113499 cat >>conftest.$ac_ext <<_ACEOF
113500 /* end confdefs.h. */
113504 main ()
113506 main ();
113508 return 0;
113510 _ACEOF
113511 rm -f conftest.$ac_objext conftest$ac_exeext
113512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113513 (eval $ac_link) 2>conftest.er1
113514 ac_status=$?
113515 grep -v '^ *+' conftest.er1 >conftest.err
113516 rm -f conftest.er1
113517 cat conftest.err >&5
113518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113519 (exit $ac_status); } &&
113520 { ac_try='test -z "$ac_c_werror_flag"
113521 || test ! -s conftest.err'
113522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113523 (eval $ac_try) 2>&5
113524 ac_status=$?
113525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113526 (exit $ac_status); }; } &&
113527 { ac_try='test -s conftest$ac_exeext'
113528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113529 (eval $ac_try) 2>&5
113530 ac_status=$?
113531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113532 (exit $ac_status); }; }; then
113533 ac_cv_lib_m_main=yes
113535 echo "$as_me: failed program was:" >&5
113536 sed 's/^/| /' conftest.$ac_ext >&5
113538 ac_cv_lib_m_main=no
113540 rm -f conftest.err conftest.$ac_objext \
113541 conftest$ac_exeext conftest.$ac_ext
113542 LIBS=$ac_check_lib_save_LIBS
113544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113545 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113546 if test $ac_cv_lib_m_main = yes; then
113547 cat >>confdefs.h <<_ACEOF
113548 #define HAVE_LIBM 1
113549 _ACEOF
113551 LIBS="-lm $LIBS"
113556 for ac_func in copysignf
113558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113559 echo "$as_me:$LINENO: checking for $ac_func" >&5
113560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113561 if eval "test \"\${$as_ac_var+set}\" = set"; then
113562 echo $ECHO_N "(cached) $ECHO_C" >&6
113564 if test x$gcc_no_link = xyes; then
113565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113567 { (exit 1); exit 1; }; }
113569 cat >conftest.$ac_ext <<_ACEOF
113570 /* confdefs.h. */
113571 _ACEOF
113572 cat confdefs.h >>conftest.$ac_ext
113573 cat >>conftest.$ac_ext <<_ACEOF
113574 /* end confdefs.h. */
113575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113577 #define $ac_func innocuous_$ac_func
113579 /* System header to define __stub macros and hopefully few prototypes,
113580 which can conflict with char $ac_func (); below.
113581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113582 <limits.h> exists even on freestanding compilers. */
113584 #ifdef __STDC__
113585 # include <limits.h>
113586 #else
113587 # include <assert.h>
113588 #endif
113590 #undef $ac_func
113592 /* Override any gcc2 internal prototype to avoid an error. */
113593 #ifdef __cplusplus
113594 extern "C"
113596 #endif
113597 /* We use char because int might match the return type of a gcc2
113598 builtin and then its argument prototype would still apply. */
113599 char $ac_func ();
113600 /* The GNU C library defines this for functions which it implements
113601 to always fail with ENOSYS. Some functions are actually named
113602 something starting with __ and the normal name is an alias. */
113603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113604 choke me
113605 #else
113606 char (*f) () = $ac_func;
113607 #endif
113608 #ifdef __cplusplus
113610 #endif
113613 main ()
113615 return f != $ac_func;
113617 return 0;
113619 _ACEOF
113620 rm -f conftest.$ac_objext conftest$ac_exeext
113621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113622 (eval $ac_link) 2>conftest.er1
113623 ac_status=$?
113624 grep -v '^ *+' conftest.er1 >conftest.err
113625 rm -f conftest.er1
113626 cat conftest.err >&5
113627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113628 (exit $ac_status); } &&
113629 { ac_try='test -z "$ac_c_werror_flag"
113630 || test ! -s conftest.err'
113631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113632 (eval $ac_try) 2>&5
113633 ac_status=$?
113634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113635 (exit $ac_status); }; } &&
113636 { ac_try='test -s conftest$ac_exeext'
113637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113638 (eval $ac_try) 2>&5
113639 ac_status=$?
113640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113641 (exit $ac_status); }; }; then
113642 eval "$as_ac_var=yes"
113644 echo "$as_me: failed program was:" >&5
113645 sed 's/^/| /' conftest.$ac_ext >&5
113647 eval "$as_ac_var=no"
113649 rm -f conftest.err conftest.$ac_objext \
113650 conftest$ac_exeext conftest.$ac_ext
113652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113654 if test `eval echo '${'$as_ac_var'}'` = yes; then
113655 cat >>confdefs.h <<_ACEOF
113656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113657 _ACEOF
113660 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113666 for ac_func in __signbit
113668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113669 echo "$as_me:$LINENO: checking for $ac_func" >&5
113670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113671 if eval "test \"\${$as_ac_var+set}\" = set"; then
113672 echo $ECHO_N "(cached) $ECHO_C" >&6
113674 if test x$gcc_no_link = xyes; then
113675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113677 { (exit 1); exit 1; }; }
113679 cat >conftest.$ac_ext <<_ACEOF
113680 /* confdefs.h. */
113681 _ACEOF
113682 cat confdefs.h >>conftest.$ac_ext
113683 cat >>conftest.$ac_ext <<_ACEOF
113684 /* end confdefs.h. */
113685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113687 #define $ac_func innocuous_$ac_func
113689 /* System header to define __stub macros and hopefully few prototypes,
113690 which can conflict with char $ac_func (); below.
113691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113692 <limits.h> exists even on freestanding compilers. */
113694 #ifdef __STDC__
113695 # include <limits.h>
113696 #else
113697 # include <assert.h>
113698 #endif
113700 #undef $ac_func
113702 /* Override any gcc2 internal prototype to avoid an error. */
113703 #ifdef __cplusplus
113704 extern "C"
113706 #endif
113707 /* We use char because int might match the return type of a gcc2
113708 builtin and then its argument prototype would still apply. */
113709 char $ac_func ();
113710 /* The GNU C library defines this for functions which it implements
113711 to always fail with ENOSYS. Some functions are actually named
113712 something starting with __ and the normal name is an alias. */
113713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113714 choke me
113715 #else
113716 char (*f) () = $ac_func;
113717 #endif
113718 #ifdef __cplusplus
113720 #endif
113723 main ()
113725 return f != $ac_func;
113727 return 0;
113729 _ACEOF
113730 rm -f conftest.$ac_objext conftest$ac_exeext
113731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113732 (eval $ac_link) 2>conftest.er1
113733 ac_status=$?
113734 grep -v '^ *+' conftest.er1 >conftest.err
113735 rm -f conftest.er1
113736 cat conftest.err >&5
113737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113738 (exit $ac_status); } &&
113739 { ac_try='test -z "$ac_c_werror_flag"
113740 || test ! -s conftest.err'
113741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113742 (eval $ac_try) 2>&5
113743 ac_status=$?
113744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113745 (exit $ac_status); }; } &&
113746 { ac_try='test -s conftest$ac_exeext'
113747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113748 (eval $ac_try) 2>&5
113749 ac_status=$?
113750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113751 (exit $ac_status); }; }; then
113752 eval "$as_ac_var=yes"
113754 echo "$as_me: failed program was:" >&5
113755 sed 's/^/| /' conftest.$ac_ext >&5
113757 eval "$as_ac_var=no"
113759 rm -f conftest.err conftest.$ac_objext \
113760 conftest$ac_exeext conftest.$ac_ext
113762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113764 if test `eval echo '${'$as_ac_var'}'` = yes; then
113765 cat >>confdefs.h <<_ACEOF
113766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113767 _ACEOF
113770 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113776 for ac_func in __signbitf
113778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113779 echo "$as_me:$LINENO: checking for $ac_func" >&5
113780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113781 if eval "test \"\${$as_ac_var+set}\" = set"; then
113782 echo $ECHO_N "(cached) $ECHO_C" >&6
113784 if test x$gcc_no_link = xyes; then
113785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113787 { (exit 1); exit 1; }; }
113789 cat >conftest.$ac_ext <<_ACEOF
113790 /* confdefs.h. */
113791 _ACEOF
113792 cat confdefs.h >>conftest.$ac_ext
113793 cat >>conftest.$ac_ext <<_ACEOF
113794 /* end confdefs.h. */
113795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113797 #define $ac_func innocuous_$ac_func
113799 /* System header to define __stub macros and hopefully few prototypes,
113800 which can conflict with char $ac_func (); below.
113801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113802 <limits.h> exists even on freestanding compilers. */
113804 #ifdef __STDC__
113805 # include <limits.h>
113806 #else
113807 # include <assert.h>
113808 #endif
113810 #undef $ac_func
113812 /* Override any gcc2 internal prototype to avoid an error. */
113813 #ifdef __cplusplus
113814 extern "C"
113816 #endif
113817 /* We use char because int might match the return type of a gcc2
113818 builtin and then its argument prototype would still apply. */
113819 char $ac_func ();
113820 /* The GNU C library defines this for functions which it implements
113821 to always fail with ENOSYS. Some functions are actually named
113822 something starting with __ and the normal name is an alias. */
113823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113824 choke me
113825 #else
113826 char (*f) () = $ac_func;
113827 #endif
113828 #ifdef __cplusplus
113830 #endif
113833 main ()
113835 return f != $ac_func;
113837 return 0;
113839 _ACEOF
113840 rm -f conftest.$ac_objext conftest$ac_exeext
113841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113842 (eval $ac_link) 2>conftest.er1
113843 ac_status=$?
113844 grep -v '^ *+' conftest.er1 >conftest.err
113845 rm -f conftest.er1
113846 cat conftest.err >&5
113847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113848 (exit $ac_status); } &&
113849 { ac_try='test -z "$ac_c_werror_flag"
113850 || test ! -s conftest.err'
113851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113852 (eval $ac_try) 2>&5
113853 ac_status=$?
113854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113855 (exit $ac_status); }; } &&
113856 { ac_try='test -s conftest$ac_exeext'
113857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113858 (eval $ac_try) 2>&5
113859 ac_status=$?
113860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113861 (exit $ac_status); }; }; then
113862 eval "$as_ac_var=yes"
113864 echo "$as_me: failed program was:" >&5
113865 sed 's/^/| /' conftest.$ac_ext >&5
113867 eval "$as_ac_var=no"
113869 rm -f conftest.err conftest.$ac_objext \
113870 conftest$ac_exeext conftest.$ac_ext
113872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113874 if test `eval echo '${'$as_ac_var'}'` = yes; then
113875 cat >>confdefs.h <<_ACEOF
113876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113877 _ACEOF
113880 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113885 if test x$ac_cv_func_copysignl = x"yes"; then
113887 for ac_func in __signbitl
113889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113890 echo "$as_me:$LINENO: checking for $ac_func" >&5
113891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113892 if eval "test \"\${$as_ac_var+set}\" = set"; then
113893 echo $ECHO_N "(cached) $ECHO_C" >&6
113895 if test x$gcc_no_link = xyes; then
113896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113898 { (exit 1); exit 1; }; }
113900 cat >conftest.$ac_ext <<_ACEOF
113901 /* confdefs.h. */
113902 _ACEOF
113903 cat confdefs.h >>conftest.$ac_ext
113904 cat >>conftest.$ac_ext <<_ACEOF
113905 /* end confdefs.h. */
113906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113908 #define $ac_func innocuous_$ac_func
113910 /* System header to define __stub macros and hopefully few prototypes,
113911 which can conflict with char $ac_func (); below.
113912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113913 <limits.h> exists even on freestanding compilers. */
113915 #ifdef __STDC__
113916 # include <limits.h>
113917 #else
113918 # include <assert.h>
113919 #endif
113921 #undef $ac_func
113923 /* Override any gcc2 internal prototype to avoid an error. */
113924 #ifdef __cplusplus
113925 extern "C"
113927 #endif
113928 /* We use char because int might match the return type of a gcc2
113929 builtin and then its argument prototype would still apply. */
113930 char $ac_func ();
113931 /* The GNU C library defines this for functions which it implements
113932 to always fail with ENOSYS. Some functions are actually named
113933 something starting with __ and the normal name is an alias. */
113934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113935 choke me
113936 #else
113937 char (*f) () = $ac_func;
113938 #endif
113939 #ifdef __cplusplus
113941 #endif
113944 main ()
113946 return f != $ac_func;
113948 return 0;
113950 _ACEOF
113951 rm -f conftest.$ac_objext conftest$ac_exeext
113952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113953 (eval $ac_link) 2>conftest.er1
113954 ac_status=$?
113955 grep -v '^ *+' conftest.er1 >conftest.err
113956 rm -f conftest.er1
113957 cat conftest.err >&5
113958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113959 (exit $ac_status); } &&
113960 { ac_try='test -z "$ac_c_werror_flag"
113961 || test ! -s conftest.err'
113962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113963 (eval $ac_try) 2>&5
113964 ac_status=$?
113965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113966 (exit $ac_status); }; } &&
113967 { ac_try='test -s conftest$ac_exeext'
113968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113969 (eval $ac_try) 2>&5
113970 ac_status=$?
113971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113972 (exit $ac_status); }; }; then
113973 eval "$as_ac_var=yes"
113975 echo "$as_me: failed program was:" >&5
113976 sed 's/^/| /' conftest.$ac_ext >&5
113978 eval "$as_ac_var=no"
113980 rm -f conftest.err conftest.$ac_objext \
113981 conftest$ac_exeext conftest.$ac_ext
113983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113985 if test `eval echo '${'$as_ac_var'}'` = yes; then
113986 cat >>confdefs.h <<_ACEOF
113987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113988 _ACEOF
113991 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113997 # Used in libmath/Makefile.am.
113998 if test -n "$LIBMATHOBJS"; then
113999 need_libmath=yes
114003 cat >>confdefs.h <<\_ACEOF
114004 #define HAVE_COSF 1
114005 _ACEOF
114007 cat >>confdefs.h <<\_ACEOF
114008 #define HAVE_COSL 1
114009 _ACEOF
114011 cat >>confdefs.h <<\_ACEOF
114012 #define HAVE_COSHF 1
114013 _ACEOF
114015 cat >>confdefs.h <<\_ACEOF
114016 #define HAVE_COSHL 1
114017 _ACEOF
114019 cat >>confdefs.h <<\_ACEOF
114020 #define HAVE_LOGF 1
114021 _ACEOF
114023 cat >>confdefs.h <<\_ACEOF
114024 #define HAVE_LOGL 1
114025 _ACEOF
114027 cat >>confdefs.h <<\_ACEOF
114028 #define HAVE_LOG10F 1
114029 _ACEOF
114031 cat >>confdefs.h <<\_ACEOF
114032 #define HAVE_LOG10L 1
114033 _ACEOF
114035 cat >>confdefs.h <<\_ACEOF
114036 #define HAVE_SINF 1
114037 _ACEOF
114039 cat >>confdefs.h <<\_ACEOF
114040 #define HAVE_SINL 1
114041 _ACEOF
114043 cat >>confdefs.h <<\_ACEOF
114044 #define HAVE_SINHF 1
114045 _ACEOF
114047 cat >>confdefs.h <<\_ACEOF
114048 #define HAVE_SINHL 1
114049 _ACEOF
114052 *-solaris*)
114053 case "$target" in
114054 # *-solaris2.5)
114055 # os_include_dir="os/solaris/solaris2.5"
114057 # *-solaris2.6)
114058 # os_include_dir="os/solaris/solaris2.6"
114060 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114062 # If we're not using GNU ld, then there's no point in even trying these
114063 # tests. Check for that first. We should have already tested for gld
114064 # by now (in libtool), but require it now just to be safe...
114065 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114066 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114070 # The name set by libtool depends on the version of libtool. Shame on us
114071 # for depending on an impl detail, but c'est la vie. Older versions used
114072 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114073 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114074 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114075 # set (hence we're using an older libtool), then set it.
114076 if test x${with_gnu_ld+set} != xset; then
114077 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114078 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114079 with_gnu_ld=no
114081 with_gnu_ld=$ac_cv_prog_gnu_ld
114085 # Start by getting the version number. I think the libtool test already
114086 # does some of this, but throws away the result.
114087 glibcxx_ld_is_gold=no
114088 if test x"$with_gnu_ld" = x"yes"; then
114089 echo "$as_me:$LINENO: checking for ld version" >&5
114090 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114092 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114093 glibcxx_ld_is_gold=yes
114095 ldver=`$LD --version 2>/dev/null | head -1 | \
114096 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114098 glibcxx_gnu_ld_version=`echo $ldver | \
114099 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114100 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114101 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114104 # Set --gc-sections.
114105 glibcxx_have_gc_sections=no
114106 if test "$glibcxx_ld_is_gold" = "yes"; then
114107 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114108 glibcxx_have_gc_sections=yes
114111 glibcxx_gcsections_min_ld=21602
114112 if test x"$with_gnu_ld" = x"yes" &&
114113 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114114 glibcxx_have_gc_sections=yes
114117 if test "$glibcxx_have_gc_sections" = "yes"; then
114118 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114119 # NB: This flag only works reliably after 2.16.1. Configure tests
114120 # for this are difficult, so hard wire a value that should work.
114122 ac_test_CFLAGS="${CFLAGS+set}"
114123 ac_save_CFLAGS="$CFLAGS"
114124 CFLAGS='-Wl,--gc-sections'
114126 # Check for -Wl,--gc-sections
114127 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114128 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114129 if test x$gcc_no_link = xyes; then
114130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114132 { (exit 1); exit 1; }; }
114134 cat >conftest.$ac_ext <<_ACEOF
114135 /* confdefs.h. */
114136 _ACEOF
114137 cat confdefs.h >>conftest.$ac_ext
114138 cat >>conftest.$ac_ext <<_ACEOF
114139 /* end confdefs.h. */
114140 int one(void) { return 1; }
114141 int two(void) { return 2; }
114144 main ()
114146 two();
114148 return 0;
114150 _ACEOF
114151 rm -f conftest.$ac_objext conftest$ac_exeext
114152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114153 (eval $ac_link) 2>conftest.er1
114154 ac_status=$?
114155 grep -v '^ *+' conftest.er1 >conftest.err
114156 rm -f conftest.er1
114157 cat conftest.err >&5
114158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114159 (exit $ac_status); } &&
114160 { ac_try='test -z "$ac_c_werror_flag"
114161 || test ! -s conftest.err'
114162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114163 (eval $ac_try) 2>&5
114164 ac_status=$?
114165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114166 (exit $ac_status); }; } &&
114167 { ac_try='test -s conftest$ac_exeext'
114168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114169 (eval $ac_try) 2>&5
114170 ac_status=$?
114171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114172 (exit $ac_status); }; }; then
114173 ac_gcsections=yes
114175 echo "$as_me: failed program was:" >&5
114176 sed 's/^/| /' conftest.$ac_ext >&5
114178 ac_gcsections=no
114180 rm -f conftest.err conftest.$ac_objext \
114181 conftest$ac_exeext conftest.$ac_ext
114182 if test "$ac_gcsections" = "yes"; then
114183 rm -f conftest.c
114184 touch conftest.c
114185 if $CC -c conftest.c; then
114186 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114187 grep "Warning: gc-sections option ignored" > /dev/null; then
114188 ac_gcsections=no
114191 rm -f conftest.c conftest.o conftest
114193 if test "$ac_gcsections" = "yes"; then
114194 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114196 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114197 echo "${ECHO_T}$ac_gcsections" >&6
114199 if test "$ac_test_CFLAGS" = set; then
114200 CFLAGS="$ac_save_CFLAGS"
114202 # this is the suspicious part
114203 CFLAGS=''
114207 # Set -z,relro.
114208 # Note this is only for shared objects.
114209 ac_ld_relro=no
114210 if test x"$with_gnu_ld" = x"yes"; then
114211 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114212 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114213 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114214 if test -n "$cxx_z_relo"; then
114215 OPT_LDFLAGS="-Wl,-z,relro"
114216 ac_ld_relro=yes
114218 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114219 echo "${ECHO_T}$ac_ld_relro" >&6
114222 # Set linker optimization flags.
114223 if test x"$with_gnu_ld" = x"yes"; then
114224 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114230 cat >>confdefs.h <<\_ACEOF
114231 #define HAVE_GETPAGESIZE 1
114232 _ACEOF
114234 cat >>confdefs.h <<\_ACEOF
114235 #define HAVE_SIGSETJMP 1
114236 _ACEOF
114238 cat >>confdefs.h <<\_ACEOF
114239 #define HAVE_MBSTATE_T 1
114240 _ACEOF
114242 cat >>confdefs.h <<\_ACEOF
114243 #define HAVE_POLL 1
114244 _ACEOF
114246 cat >>confdefs.h <<\_ACEOF
114247 #define HAVE_S_ISREG 1
114248 _ACEOF
114250 cat >>confdefs.h <<\_ACEOF
114251 #define HAVE_LC_MESSAGES 1
114252 _ACEOF
114254 cat >>confdefs.h <<\_ACEOF
114255 #define HAVE_FINITE 1
114256 _ACEOF
114258 cat >>confdefs.h <<\_ACEOF
114259 #define HAVE_FPCLASS 1
114260 _ACEOF
114262 cat >>confdefs.h <<\_ACEOF
114263 #define HAVE_GETPAGESIZE 1
114264 _ACEOF
114266 # All of the dependencies for wide character support are here, so
114267 # turn it on.
114268 cat >>confdefs.h <<\_ACEOF
114269 #define _GLIBCXX_USE_WCHAR_T 1
114270 _ACEOF
114272 # Are these tested for even when cross?
114273 cat >>confdefs.h <<\_ACEOF
114274 #define HAVE_FLOAT_H 1
114275 _ACEOF
114277 cat >>confdefs.h <<\_ACEOF
114278 #define HAVE_IEEEFP_H 1
114279 _ACEOF
114281 cat >>confdefs.h <<\_ACEOF
114282 #define HAVE_INTTYPES_H 1
114283 _ACEOF
114285 cat >>confdefs.h <<\_ACEOF
114286 #define HAVE_LOCALE_H 1
114287 _ACEOF
114289 cat >>confdefs.h <<\_ACEOF
114290 #define HAVE_NAN_H 1
114291 _ACEOF
114293 cat >>confdefs.h <<\_ACEOF
114294 #define HAVE_SYS_FILIO_H 1
114295 _ACEOF
114297 cat >>confdefs.h <<\_ACEOF
114298 #define HAVE_SYS_IOCTL_H 1
114299 _ACEOF
114301 cat >>confdefs.h <<\_ACEOF
114302 #define HAVE_SYS_ISA_DEFS_H 1
114303 _ACEOF
114305 cat >>confdefs.h <<\_ACEOF
114306 #define HAVE_SYS_RESOURCE_H 1
114307 _ACEOF
114309 cat >>confdefs.h <<\_ACEOF
114310 #define HAVE_SYS_TIME_H 1
114311 _ACEOF
114313 cat >>confdefs.h <<\_ACEOF
114314 #define HAVE_SYS_TYPES_H 1
114315 _ACEOF
114317 cat >>confdefs.h <<\_ACEOF
114318 #define HAVE_UNISTD_H 1
114319 _ACEOF
114321 cat >>confdefs.h <<\_ACEOF
114322 #define HAVE_WCHAR_H 1
114323 _ACEOF
114325 cat >>confdefs.h <<\_ACEOF
114326 #define HAVE_WCTYPE_H 1
114327 _ACEOF
114329 cat >>confdefs.h <<\_ACEOF
114330 #define HAVE_LIBM 1
114331 _ACEOF
114335 case "$target" in
114336 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114337 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114338 cat >>confdefs.h <<\_ACEOF
114339 #define HAVE___BUILTIN_ABS 1
114340 _ACEOF
114342 cat >>confdefs.h <<\_ACEOF
114343 #define HAVE___BUILTIN_LABS 1
114344 _ACEOF
114346 cat >>confdefs.h <<\_ACEOF
114347 #define HAVE___BUILTIN_FABS 1
114348 _ACEOF
114350 cat >>confdefs.h <<\_ACEOF
114351 #define HAVE___BUILTIN_FABSF 1
114352 _ACEOF
114354 cat >>confdefs.h <<\_ACEOF
114355 #define HAVE___BUILTIN_FABSL 1
114356 _ACEOF
114358 cat >>confdefs.h <<\_ACEOF
114359 #define HAVE___BUILTIN_COS 1
114360 _ACEOF
114362 cat >>confdefs.h <<\_ACEOF
114363 #define HAVE___BUILTIN_COSF 1
114364 _ACEOF
114366 cat >>confdefs.h <<\_ACEOF
114367 #define HAVE___BUILTIN_SIN 1
114368 _ACEOF
114370 cat >>confdefs.h <<\_ACEOF
114371 #define HAVE___BUILTIN_SINF 1
114372 _ACEOF
114376 case "$target" in
114377 *-*-solaris2.10)
114378 # These two C99 functions are present only in Solaris >= 10
114379 cat >>confdefs.h <<\_ACEOF
114380 #define HAVE_STRTOF 1
114381 _ACEOF
114383 cat >>confdefs.h <<\_ACEOF
114384 #define HAVE_STRTOLD 1
114385 _ACEOF
114389 cat >>confdefs.h <<\_ACEOF
114390 #define HAVE_MMAP 1
114391 _ACEOF
114393 cat >>confdefs.h <<\_ACEOF
114394 #define HAVE_COPYSIGN 1
114395 _ACEOF
114397 cat >>confdefs.h <<\_ACEOF
114398 #define HAVE_ISNAN 1
114399 _ACEOF
114401 cat >>confdefs.h <<\_ACEOF
114402 #define HAVE_ISNANF 1
114403 _ACEOF
114405 cat >>confdefs.h <<\_ACEOF
114406 #define HAVE_MODFF 1
114407 _ACEOF
114409 cat >>confdefs.h <<\_ACEOF
114410 #define HAVE_HYPOT 1
114411 _ACEOF
114414 *-tpf)
114423 for ac_header in nan.h endian.h machine/endian.h \
114424 sys/param.h sys/types.h locale.h float.h inttypes.h
114426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114428 echo "$as_me:$LINENO: checking for $ac_header" >&5
114429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114431 echo $ECHO_N "(cached) $ECHO_C" >&6
114433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114436 # Is the header compilable?
114437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114439 cat >conftest.$ac_ext <<_ACEOF
114440 /* confdefs.h. */
114441 _ACEOF
114442 cat confdefs.h >>conftest.$ac_ext
114443 cat >>conftest.$ac_ext <<_ACEOF
114444 /* end confdefs.h. */
114445 $ac_includes_default
114446 #include <$ac_header>
114447 _ACEOF
114448 rm -f conftest.$ac_objext
114449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114450 (eval $ac_compile) 2>conftest.er1
114451 ac_status=$?
114452 grep -v '^ *+' conftest.er1 >conftest.err
114453 rm -f conftest.er1
114454 cat conftest.err >&5
114455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114456 (exit $ac_status); } &&
114457 { ac_try='test -z "$ac_c_werror_flag"
114458 || test ! -s conftest.err'
114459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114460 (eval $ac_try) 2>&5
114461 ac_status=$?
114462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114463 (exit $ac_status); }; } &&
114464 { ac_try='test -s conftest.$ac_objext'
114465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114466 (eval $ac_try) 2>&5
114467 ac_status=$?
114468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114469 (exit $ac_status); }; }; then
114470 ac_header_compiler=yes
114472 echo "$as_me: failed program was:" >&5
114473 sed 's/^/| /' conftest.$ac_ext >&5
114475 ac_header_compiler=no
114477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114479 echo "${ECHO_T}$ac_header_compiler" >&6
114481 # Is the header present?
114482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114484 cat >conftest.$ac_ext <<_ACEOF
114485 /* confdefs.h. */
114486 _ACEOF
114487 cat confdefs.h >>conftest.$ac_ext
114488 cat >>conftest.$ac_ext <<_ACEOF
114489 /* end confdefs.h. */
114490 #include <$ac_header>
114491 _ACEOF
114492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114494 ac_status=$?
114495 grep -v '^ *+' conftest.er1 >conftest.err
114496 rm -f conftest.er1
114497 cat conftest.err >&5
114498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114499 (exit $ac_status); } >/dev/null; then
114500 if test -s conftest.err; then
114501 ac_cpp_err=$ac_c_preproc_warn_flag
114502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114504 ac_cpp_err=
114507 ac_cpp_err=yes
114509 if test -z "$ac_cpp_err"; then
114510 ac_header_preproc=yes
114512 echo "$as_me: failed program was:" >&5
114513 sed 's/^/| /' conftest.$ac_ext >&5
114515 ac_header_preproc=no
114517 rm -f conftest.err conftest.$ac_ext
114518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114519 echo "${ECHO_T}$ac_header_preproc" >&6
114521 # So? What about this header?
114522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114523 yes:no: )
114524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114528 ac_header_preproc=yes
114530 no:yes:* )
114531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114544 cat <<\_ASBOX
114545 ## ----------------------------------------- ##
114546 ## Report this to the package-unused lists. ##
114547 ## ----------------------------------------- ##
114548 _ASBOX
114550 sed "s/^/$as_me: WARNING: /" >&2
114553 echo "$as_me:$LINENO: checking for $ac_header" >&5
114554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114556 echo $ECHO_N "(cached) $ECHO_C" >&6
114558 eval "$as_ac_Header=\$ac_header_preproc"
114560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114565 cat >>confdefs.h <<_ACEOF
114566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114567 _ACEOF
114573 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114576 # If we're not using GNU ld, then there's no point in even trying these
114577 # tests. Check for that first. We should have already tested for gld
114578 # by now (in libtool), but require it now just to be safe...
114579 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114580 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114584 # The name set by libtool depends on the version of libtool. Shame on us
114585 # for depending on an impl detail, but c'est la vie. Older versions used
114586 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114587 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114588 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114589 # set (hence we're using an older libtool), then set it.
114590 if test x${with_gnu_ld+set} != xset; then
114591 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114592 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114593 with_gnu_ld=no
114595 with_gnu_ld=$ac_cv_prog_gnu_ld
114599 # Start by getting the version number. I think the libtool test already
114600 # does some of this, but throws away the result.
114601 glibcxx_ld_is_gold=no
114602 if test x"$with_gnu_ld" = x"yes"; then
114603 echo "$as_me:$LINENO: checking for ld version" >&5
114604 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114606 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114607 glibcxx_ld_is_gold=yes
114609 ldver=`$LD --version 2>/dev/null | head -1 | \
114610 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114612 glibcxx_gnu_ld_version=`echo $ldver | \
114613 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114614 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114615 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114618 # Set --gc-sections.
114619 glibcxx_have_gc_sections=no
114620 if test "$glibcxx_ld_is_gold" = "yes"; then
114621 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114622 glibcxx_have_gc_sections=yes
114625 glibcxx_gcsections_min_ld=21602
114626 if test x"$with_gnu_ld" = x"yes" &&
114627 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114628 glibcxx_have_gc_sections=yes
114631 if test "$glibcxx_have_gc_sections" = "yes"; then
114632 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114633 # NB: This flag only works reliably after 2.16.1. Configure tests
114634 # for this are difficult, so hard wire a value that should work.
114636 ac_test_CFLAGS="${CFLAGS+set}"
114637 ac_save_CFLAGS="$CFLAGS"
114638 CFLAGS='-Wl,--gc-sections'
114640 # Check for -Wl,--gc-sections
114641 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114642 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114643 if test x$gcc_no_link = xyes; then
114644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114646 { (exit 1); exit 1; }; }
114648 cat >conftest.$ac_ext <<_ACEOF
114649 /* confdefs.h. */
114650 _ACEOF
114651 cat confdefs.h >>conftest.$ac_ext
114652 cat >>conftest.$ac_ext <<_ACEOF
114653 /* end confdefs.h. */
114654 int one(void) { return 1; }
114655 int two(void) { return 2; }
114658 main ()
114660 two();
114662 return 0;
114664 _ACEOF
114665 rm -f conftest.$ac_objext conftest$ac_exeext
114666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114667 (eval $ac_link) 2>conftest.er1
114668 ac_status=$?
114669 grep -v '^ *+' conftest.er1 >conftest.err
114670 rm -f conftest.er1
114671 cat conftest.err >&5
114672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114673 (exit $ac_status); } &&
114674 { ac_try='test -z "$ac_c_werror_flag"
114675 || test ! -s conftest.err'
114676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114677 (eval $ac_try) 2>&5
114678 ac_status=$?
114679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114680 (exit $ac_status); }; } &&
114681 { ac_try='test -s conftest$ac_exeext'
114682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114683 (eval $ac_try) 2>&5
114684 ac_status=$?
114685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114686 (exit $ac_status); }; }; then
114687 ac_gcsections=yes
114689 echo "$as_me: failed program was:" >&5
114690 sed 's/^/| /' conftest.$ac_ext >&5
114692 ac_gcsections=no
114694 rm -f conftest.err conftest.$ac_objext \
114695 conftest$ac_exeext conftest.$ac_ext
114696 if test "$ac_gcsections" = "yes"; then
114697 rm -f conftest.c
114698 touch conftest.c
114699 if $CC -c conftest.c; then
114700 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114701 grep "Warning: gc-sections option ignored" > /dev/null; then
114702 ac_gcsections=no
114705 rm -f conftest.c conftest.o conftest
114707 if test "$ac_gcsections" = "yes"; then
114708 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114710 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114711 echo "${ECHO_T}$ac_gcsections" >&6
114713 if test "$ac_test_CFLAGS" = set; then
114714 CFLAGS="$ac_save_CFLAGS"
114716 # this is the suspicious part
114717 CFLAGS=''
114721 # Set -z,relro.
114722 # Note this is only for shared objects.
114723 ac_ld_relro=no
114724 if test x"$with_gnu_ld" = x"yes"; then
114725 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114726 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114727 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114728 if test -n "$cxx_z_relo"; then
114729 OPT_LDFLAGS="-Wl,-z,relro"
114730 ac_ld_relro=yes
114732 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114733 echo "${ECHO_T}$ac_ld_relro" >&6
114736 # Set linker optimization flags.
114737 if test x"$with_gnu_ld" = x"yes"; then
114738 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114746 echo "$as_me:$LINENO: checking for main in -lm" >&5
114747 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114748 if test "${ac_cv_lib_m_main+set}" = set; then
114749 echo $ECHO_N "(cached) $ECHO_C" >&6
114751 ac_check_lib_save_LIBS=$LIBS
114752 LIBS="-lm $LIBS"
114753 if test x$gcc_no_link = xyes; then
114754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114756 { (exit 1); exit 1; }; }
114758 cat >conftest.$ac_ext <<_ACEOF
114759 /* confdefs.h. */
114760 _ACEOF
114761 cat confdefs.h >>conftest.$ac_ext
114762 cat >>conftest.$ac_ext <<_ACEOF
114763 /* end confdefs.h. */
114767 main ()
114769 main ();
114771 return 0;
114773 _ACEOF
114774 rm -f conftest.$ac_objext conftest$ac_exeext
114775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114776 (eval $ac_link) 2>conftest.er1
114777 ac_status=$?
114778 grep -v '^ *+' conftest.er1 >conftest.err
114779 rm -f conftest.er1
114780 cat conftest.err >&5
114781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114782 (exit $ac_status); } &&
114783 { ac_try='test -z "$ac_c_werror_flag"
114784 || test ! -s conftest.err'
114785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114786 (eval $ac_try) 2>&5
114787 ac_status=$?
114788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114789 (exit $ac_status); }; } &&
114790 { ac_try='test -s conftest$ac_exeext'
114791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114792 (eval $ac_try) 2>&5
114793 ac_status=$?
114794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114795 (exit $ac_status); }; }; then
114796 ac_cv_lib_m_main=yes
114798 echo "$as_me: failed program was:" >&5
114799 sed 's/^/| /' conftest.$ac_ext >&5
114801 ac_cv_lib_m_main=no
114803 rm -f conftest.err conftest.$ac_objext \
114804 conftest$ac_exeext conftest.$ac_ext
114805 LIBS=$ac_check_lib_save_LIBS
114807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114808 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114809 if test $ac_cv_lib_m_main = yes; then
114810 cat >>confdefs.h <<_ACEOF
114811 #define HAVE_LIBM 1
114812 _ACEOF
114814 LIBS="-lm $LIBS"
114819 for ac_func in copysignf
114821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114822 echo "$as_me:$LINENO: checking for $ac_func" >&5
114823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114824 if eval "test \"\${$as_ac_var+set}\" = set"; then
114825 echo $ECHO_N "(cached) $ECHO_C" >&6
114827 if test x$gcc_no_link = xyes; then
114828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114830 { (exit 1); exit 1; }; }
114832 cat >conftest.$ac_ext <<_ACEOF
114833 /* confdefs.h. */
114834 _ACEOF
114835 cat confdefs.h >>conftest.$ac_ext
114836 cat >>conftest.$ac_ext <<_ACEOF
114837 /* end confdefs.h. */
114838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114840 #define $ac_func innocuous_$ac_func
114842 /* System header to define __stub macros and hopefully few prototypes,
114843 which can conflict with char $ac_func (); below.
114844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114845 <limits.h> exists even on freestanding compilers. */
114847 #ifdef __STDC__
114848 # include <limits.h>
114849 #else
114850 # include <assert.h>
114851 #endif
114853 #undef $ac_func
114855 /* Override any gcc2 internal prototype to avoid an error. */
114856 #ifdef __cplusplus
114857 extern "C"
114859 #endif
114860 /* We use char because int might match the return type of a gcc2
114861 builtin and then its argument prototype would still apply. */
114862 char $ac_func ();
114863 /* The GNU C library defines this for functions which it implements
114864 to always fail with ENOSYS. Some functions are actually named
114865 something starting with __ and the normal name is an alias. */
114866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114867 choke me
114868 #else
114869 char (*f) () = $ac_func;
114870 #endif
114871 #ifdef __cplusplus
114873 #endif
114876 main ()
114878 return f != $ac_func;
114880 return 0;
114882 _ACEOF
114883 rm -f conftest.$ac_objext conftest$ac_exeext
114884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114885 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
114907 echo "$as_me: failed program was:" >&5
114908 sed 's/^/| /' conftest.$ac_ext >&5
114910 eval "$as_ac_var=no"
114912 rm -f conftest.err conftest.$ac_objext \
114913 conftest$ac_exeext conftest.$ac_ext
114915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114917 if test `eval echo '${'$as_ac_var'}'` = yes; then
114918 cat >>confdefs.h <<_ACEOF
114919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114920 _ACEOF
114923 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114929 for ac_func in __signbit
114931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114932 echo "$as_me:$LINENO: checking for $ac_func" >&5
114933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114934 if eval "test \"\${$as_ac_var+set}\" = set"; then
114935 echo $ECHO_N "(cached) $ECHO_C" >&6
114937 if test x$gcc_no_link = xyes; then
114938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114940 { (exit 1); exit 1; }; }
114942 cat >conftest.$ac_ext <<_ACEOF
114943 /* confdefs.h. */
114944 _ACEOF
114945 cat confdefs.h >>conftest.$ac_ext
114946 cat >>conftest.$ac_ext <<_ACEOF
114947 /* end confdefs.h. */
114948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114950 #define $ac_func innocuous_$ac_func
114952 /* System header to define __stub macros and hopefully few prototypes,
114953 which can conflict with char $ac_func (); below.
114954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114955 <limits.h> exists even on freestanding compilers. */
114957 #ifdef __STDC__
114958 # include <limits.h>
114959 #else
114960 # include <assert.h>
114961 #endif
114963 #undef $ac_func
114965 /* Override any gcc2 internal prototype to avoid an error. */
114966 #ifdef __cplusplus
114967 extern "C"
114969 #endif
114970 /* We use char because int might match the return type of a gcc2
114971 builtin and then its argument prototype would still apply. */
114972 char $ac_func ();
114973 /* The GNU C library defines this for functions which it implements
114974 to always fail with ENOSYS. Some functions are actually named
114975 something starting with __ and the normal name is an alias. */
114976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114977 choke me
114978 #else
114979 char (*f) () = $ac_func;
114980 #endif
114981 #ifdef __cplusplus
114983 #endif
114986 main ()
114988 return f != $ac_func;
114990 return 0;
114992 _ACEOF
114993 rm -f conftest.$ac_objext conftest$ac_exeext
114994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114995 (eval $ac_link) 2>conftest.er1
114996 ac_status=$?
114997 grep -v '^ *+' conftest.er1 >conftest.err
114998 rm -f conftest.er1
114999 cat conftest.err >&5
115000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115001 (exit $ac_status); } &&
115002 { ac_try='test -z "$ac_c_werror_flag"
115003 || test ! -s conftest.err'
115004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115005 (eval $ac_try) 2>&5
115006 ac_status=$?
115007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115008 (exit $ac_status); }; } &&
115009 { ac_try='test -s conftest$ac_exeext'
115010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115011 (eval $ac_try) 2>&5
115012 ac_status=$?
115013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115014 (exit $ac_status); }; }; then
115015 eval "$as_ac_var=yes"
115017 echo "$as_me: failed program was:" >&5
115018 sed 's/^/| /' conftest.$ac_ext >&5
115020 eval "$as_ac_var=no"
115022 rm -f conftest.err conftest.$ac_objext \
115023 conftest$ac_exeext conftest.$ac_ext
115025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115027 if test `eval echo '${'$as_ac_var'}'` = yes; then
115028 cat >>confdefs.h <<_ACEOF
115029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115030 _ACEOF
115033 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
115039 for ac_func in __signbitf
115041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115042 echo "$as_me:$LINENO: checking for $ac_func" >&5
115043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115044 if eval "test \"\${$as_ac_var+set}\" = set"; then
115045 echo $ECHO_N "(cached) $ECHO_C" >&6
115047 if test x$gcc_no_link = xyes; then
115048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115050 { (exit 1); exit 1; }; }
115052 cat >conftest.$ac_ext <<_ACEOF
115053 /* confdefs.h. */
115054 _ACEOF
115055 cat confdefs.h >>conftest.$ac_ext
115056 cat >>conftest.$ac_ext <<_ACEOF
115057 /* end confdefs.h. */
115058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115060 #define $ac_func innocuous_$ac_func
115062 /* System header to define __stub macros and hopefully few prototypes,
115063 which can conflict with char $ac_func (); below.
115064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115065 <limits.h> exists even on freestanding compilers. */
115067 #ifdef __STDC__
115068 # include <limits.h>
115069 #else
115070 # include <assert.h>
115071 #endif
115073 #undef $ac_func
115075 /* Override any gcc2 internal prototype to avoid an error. */
115076 #ifdef __cplusplus
115077 extern "C"
115079 #endif
115080 /* We use char because int might match the return type of a gcc2
115081 builtin and then its argument prototype would still apply. */
115082 char $ac_func ();
115083 /* The GNU C library defines this for functions which it implements
115084 to always fail with ENOSYS. Some functions are actually named
115085 something starting with __ and the normal name is an alias. */
115086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115087 choke me
115088 #else
115089 char (*f) () = $ac_func;
115090 #endif
115091 #ifdef __cplusplus
115093 #endif
115096 main ()
115098 return f != $ac_func;
115100 return 0;
115102 _ACEOF
115103 rm -f conftest.$ac_objext conftest$ac_exeext
115104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115105 (eval $ac_link) 2>conftest.er1
115106 ac_status=$?
115107 grep -v '^ *+' conftest.er1 >conftest.err
115108 rm -f conftest.er1
115109 cat conftest.err >&5
115110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115111 (exit $ac_status); } &&
115112 { ac_try='test -z "$ac_c_werror_flag"
115113 || test ! -s conftest.err'
115114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115115 (eval $ac_try) 2>&5
115116 ac_status=$?
115117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115118 (exit $ac_status); }; } &&
115119 { ac_try='test -s conftest$ac_exeext'
115120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115121 (eval $ac_try) 2>&5
115122 ac_status=$?
115123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115124 (exit $ac_status); }; }; then
115125 eval "$as_ac_var=yes"
115127 echo "$as_me: failed program was:" >&5
115128 sed 's/^/| /' conftest.$ac_ext >&5
115130 eval "$as_ac_var=no"
115132 rm -f conftest.err conftest.$ac_objext \
115133 conftest$ac_exeext conftest.$ac_ext
115135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115137 if test `eval echo '${'$as_ac_var'}'` = yes; then
115138 cat >>confdefs.h <<_ACEOF
115139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115140 _ACEOF
115143 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115148 if test x$ac_cv_func_copysignl = x"yes"; then
115150 for ac_func in __signbitl
115152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115153 echo "$as_me:$LINENO: checking for $ac_func" >&5
115154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115155 if eval "test \"\${$as_ac_var+set}\" = set"; then
115156 echo $ECHO_N "(cached) $ECHO_C" >&6
115158 if test x$gcc_no_link = xyes; then
115159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115161 { (exit 1); exit 1; }; }
115163 cat >conftest.$ac_ext <<_ACEOF
115164 /* confdefs.h. */
115165 _ACEOF
115166 cat confdefs.h >>conftest.$ac_ext
115167 cat >>conftest.$ac_ext <<_ACEOF
115168 /* end confdefs.h. */
115169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115171 #define $ac_func innocuous_$ac_func
115173 /* System header to define __stub macros and hopefully few prototypes,
115174 which can conflict with char $ac_func (); below.
115175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115176 <limits.h> exists even on freestanding compilers. */
115178 #ifdef __STDC__
115179 # include <limits.h>
115180 #else
115181 # include <assert.h>
115182 #endif
115184 #undef $ac_func
115186 /* Override any gcc2 internal prototype to avoid an error. */
115187 #ifdef __cplusplus
115188 extern "C"
115190 #endif
115191 /* We use char because int might match the return type of a gcc2
115192 builtin and then its argument prototype would still apply. */
115193 char $ac_func ();
115194 /* The GNU C library defines this for functions which it implements
115195 to always fail with ENOSYS. Some functions are actually named
115196 something starting with __ and the normal name is an alias. */
115197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115198 choke me
115199 #else
115200 char (*f) () = $ac_func;
115201 #endif
115202 #ifdef __cplusplus
115204 #endif
115207 main ()
115209 return f != $ac_func;
115211 return 0;
115213 _ACEOF
115214 rm -f conftest.$ac_objext conftest$ac_exeext
115215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115216 (eval $ac_link) 2>conftest.er1
115217 ac_status=$?
115218 grep -v '^ *+' conftest.er1 >conftest.err
115219 rm -f conftest.er1
115220 cat conftest.err >&5
115221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115222 (exit $ac_status); } &&
115223 { ac_try='test -z "$ac_c_werror_flag"
115224 || test ! -s conftest.err'
115225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115226 (eval $ac_try) 2>&5
115227 ac_status=$?
115228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115229 (exit $ac_status); }; } &&
115230 { ac_try='test -s conftest$ac_exeext'
115231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115232 (eval $ac_try) 2>&5
115233 ac_status=$?
115234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115235 (exit $ac_status); }; }; then
115236 eval "$as_ac_var=yes"
115238 echo "$as_me: failed program was:" >&5
115239 sed 's/^/| /' conftest.$ac_ext >&5
115241 eval "$as_ac_var=no"
115243 rm -f conftest.err conftest.$ac_objext \
115244 conftest$ac_exeext conftest.$ac_ext
115246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115248 if test `eval echo '${'$as_ac_var'}'` = yes; then
115249 cat >>confdefs.h <<_ACEOF
115250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115251 _ACEOF
115254 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115260 # Used in libmath/Makefile.am.
115261 if test -n "$LIBMATHOBJS"; then
115262 need_libmath=yes
115266 cat >>confdefs.h <<\_ACEOF
115267 #define HAVE_COPYSIGN 1
115268 _ACEOF
115270 cat >>confdefs.h <<\_ACEOF
115271 #define HAVE_COPYSIGNF 1
115272 _ACEOF
115274 cat >>confdefs.h <<\_ACEOF
115275 #define HAVE_FINITE 1
115276 _ACEOF
115278 cat >>confdefs.h <<\_ACEOF
115279 #define HAVE_FINITEF 1
115280 _ACEOF
115282 cat >>confdefs.h <<\_ACEOF
115283 #define HAVE_FREXPF 1
115284 _ACEOF
115286 cat >>confdefs.h <<\_ACEOF
115287 #define HAVE_HYPOTF 1
115288 _ACEOF
115290 cat >>confdefs.h <<\_ACEOF
115291 #define HAVE_ISINF 1
115292 _ACEOF
115294 cat >>confdefs.h <<\_ACEOF
115295 #define HAVE_ISINFF 1
115296 _ACEOF
115298 cat >>confdefs.h <<\_ACEOF
115299 #define HAVE_ISNAN 1
115300 _ACEOF
115302 cat >>confdefs.h <<\_ACEOF
115303 #define HAVE_ISNANF 1
115304 _ACEOF
115306 cat >>confdefs.h <<\_ACEOF
115307 #define HAVE_SINCOS 1
115308 _ACEOF
115310 cat >>confdefs.h <<\_ACEOF
115311 #define HAVE_SINCOSF 1
115312 _ACEOF
115314 if test x"long_double_math_on_this_cpu" = x"yes"; then
115315 cat >>confdefs.h <<\_ACEOF
115316 #define HAVE_FINITEL 1
115317 _ACEOF
115319 cat >>confdefs.h <<\_ACEOF
115320 #define HAVE_HYPOTL 1
115321 _ACEOF
115323 cat >>confdefs.h <<\_ACEOF
115324 #define HAVE_ISINFL 1
115325 _ACEOF
115327 cat >>confdefs.h <<\_ACEOF
115328 #define HAVE_ISNANL 1
115329 _ACEOF
115333 *-vxworks)
115334 cat >>confdefs.h <<\_ACEOF
115335 #define HAVE_MMAP 1
115336 _ACEOF
115338 cat >>confdefs.h <<\_ACEOF
115339 #define HAVE_ACOSF 1
115340 _ACEOF
115342 cat >>confdefs.h <<\_ACEOF
115343 #define HAVE_ASINF 1
115344 _ACEOF
115346 cat >>confdefs.h <<\_ACEOF
115347 #define HAVE_ATAN2F 1
115348 _ACEOF
115350 cat >>confdefs.h <<\_ACEOF
115351 #define HAVE_ATANF 1
115352 _ACEOF
115354 cat >>confdefs.h <<\_ACEOF
115355 #define HAVE_CEILF 1
115356 _ACEOF
115358 cat >>confdefs.h <<\_ACEOF
115359 #define HAVE_COSF 1
115360 _ACEOF
115362 cat >>confdefs.h <<\_ACEOF
115363 #define HAVE_COSHF 1
115364 _ACEOF
115366 cat >>confdefs.h <<\_ACEOF
115367 #define HAVE_EXPF 1
115368 _ACEOF
115370 cat >>confdefs.h <<\_ACEOF
115371 #define HAVE_FABSF 1
115372 _ACEOF
115374 cat >>confdefs.h <<\_ACEOF
115375 #define HAVE_FLOORF 1
115376 _ACEOF
115378 cat >>confdefs.h <<\_ACEOF
115379 #define HAVE_FMODF 1
115380 _ACEOF
115382 cat >>confdefs.h <<\_ACEOF
115383 #define HAVE_HYPOT 1
115384 _ACEOF
115386 cat >>confdefs.h <<\_ACEOF
115387 #define HAVE_LOG10F 1
115388 _ACEOF
115390 cat >>confdefs.h <<\_ACEOF
115391 #define HAVE_LOGF 1
115392 _ACEOF
115394 cat >>confdefs.h <<\_ACEOF
115395 #define HAVE_POWF 1
115396 _ACEOF
115398 cat >>confdefs.h <<\_ACEOF
115399 #define HAVE_SINF 1
115400 _ACEOF
115402 cat >>confdefs.h <<\_ACEOF
115403 #define HAVE_SINHF 1
115404 _ACEOF
115406 cat >>confdefs.h <<\_ACEOF
115407 #define HAVE_SQRTF 1
115408 _ACEOF
115410 cat >>confdefs.h <<\_ACEOF
115411 #define HAVE_TANF 1
115412 _ACEOF
115414 cat >>confdefs.h <<\_ACEOF
115415 #define HAVE_TANHF 1
115416 _ACEOF
115419 *-windiss*)
115420 cat >>confdefs.h <<\_ACEOF
115421 #define HAVE_ACOSF 1
115422 _ACEOF
115424 cat >>confdefs.h <<\_ACEOF
115425 #define HAVE_ACOSL 1
115426 _ACEOF
115428 cat >>confdefs.h <<\_ACEOF
115429 #define HAVE_ASINF 1
115430 _ACEOF
115432 cat >>confdefs.h <<\_ACEOF
115433 #define HAVE_ASINL 1
115434 _ACEOF
115436 cat >>confdefs.h <<\_ACEOF
115437 #define HAVE_ATAN2F 1
115438 _ACEOF
115440 cat >>confdefs.h <<\_ACEOF
115441 #define HAVE_ATAN2L 1
115442 _ACEOF
115444 cat >>confdefs.h <<\_ACEOF
115445 #define HAVE_ATANF 1
115446 _ACEOF
115448 cat >>confdefs.h <<\_ACEOF
115449 #define HAVE_ATANL 1
115450 _ACEOF
115452 cat >>confdefs.h <<\_ACEOF
115453 #define HAVE_CEILF 1
115454 _ACEOF
115456 cat >>confdefs.h <<\_ACEOF
115457 #define HAVE_CEILL 1
115458 _ACEOF
115460 cat >>confdefs.h <<\_ACEOF
115461 #define HAVE_COPYSIGN 1
115462 _ACEOF
115464 cat >>confdefs.h <<\_ACEOF
115465 #define HAVE_COPYSIGNF 1
115466 _ACEOF
115468 cat >>confdefs.h <<\_ACEOF
115469 #define HAVE_COSF 1
115470 _ACEOF
115472 cat >>confdefs.h <<\_ACEOF
115473 #define HAVE_COSL 1
115474 _ACEOF
115476 cat >>confdefs.h <<\_ACEOF
115477 #define HAVE_COSHF 1
115478 _ACEOF
115480 cat >>confdefs.h <<\_ACEOF
115481 #define HAVE_COSHL 1
115482 _ACEOF
115484 cat >>confdefs.h <<\_ACEOF
115485 #define HAVE_EXPF 1
115486 _ACEOF
115488 cat >>confdefs.h <<\_ACEOF
115489 #define HAVE_EXPL 1
115490 _ACEOF
115492 cat >>confdefs.h <<\_ACEOF
115493 #define HAVE_FABSF 1
115494 _ACEOF
115496 cat >>confdefs.h <<\_ACEOF
115497 #define HAVE_FABSL 1
115498 _ACEOF
115500 cat >>confdefs.h <<\_ACEOF
115501 #define HAVE_FLOORF 1
115502 _ACEOF
115504 cat >>confdefs.h <<\_ACEOF
115505 #define HAVE_FLOORL 1
115506 _ACEOF
115508 cat >>confdefs.h <<\_ACEOF
115509 #define HAVE_FMODF 1
115510 _ACEOF
115512 cat >>confdefs.h <<\_ACEOF
115513 #define HAVE_FMODL 1
115514 _ACEOF
115516 cat >>confdefs.h <<\_ACEOF
115517 #define HAVE_FREXPF 1
115518 _ACEOF
115520 cat >>confdefs.h <<\_ACEOF
115521 #define HAVE_FREXPL 1
115522 _ACEOF
115524 cat >>confdefs.h <<\_ACEOF
115525 #define HAVE_LDEXPF 1
115526 _ACEOF
115528 cat >>confdefs.h <<\_ACEOF
115529 #define HAVE_LDEXPL 1
115530 _ACEOF
115532 cat >>confdefs.h <<\_ACEOF
115533 #define HAVE_LOG10F 1
115534 _ACEOF
115536 cat >>confdefs.h <<\_ACEOF
115537 #define HAVE_LOG10L 1
115538 _ACEOF
115540 cat >>confdefs.h <<\_ACEOF
115541 #define HAVE_LOGF 1
115542 _ACEOF
115544 cat >>confdefs.h <<\_ACEOF
115545 #define HAVE_MODFF 1
115546 _ACEOF
115548 cat >>confdefs.h <<\_ACEOF
115549 #define HAVE_MODFL 1
115550 _ACEOF
115552 cat >>confdefs.h <<\_ACEOF
115553 #define HAVE_POWF 1
115554 _ACEOF
115556 cat >>confdefs.h <<\_ACEOF
115557 #define HAVE_POWL 1
115558 _ACEOF
115560 cat >>confdefs.h <<\_ACEOF
115561 #define HAVE_SINF 1
115562 _ACEOF
115564 cat >>confdefs.h <<\_ACEOF
115565 #define HAVE_SINL 1
115566 _ACEOF
115568 cat >>confdefs.h <<\_ACEOF
115569 #define HAVE_SINHF 1
115570 _ACEOF
115572 cat >>confdefs.h <<\_ACEOF
115573 #define HAVE_SINHL 1
115574 _ACEOF
115576 cat >>confdefs.h <<\_ACEOF
115577 #define HAVE_SQRTF 1
115578 _ACEOF
115580 cat >>confdefs.h <<\_ACEOF
115581 #define HAVE_SQRTL 1
115582 _ACEOF
115584 cat >>confdefs.h <<\_ACEOF
115585 #define HAVE_TANF 1
115586 _ACEOF
115588 cat >>confdefs.h <<\_ACEOF
115589 #define HAVE_TANL 1
115590 _ACEOF
115592 cat >>confdefs.h <<\_ACEOF
115593 #define HAVE_TANHF 1
115594 _ACEOF
115596 cat >>confdefs.h <<\_ACEOF
115597 #define HAVE_TANHL 1
115598 _ACEOF
115602 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115603 echo "$as_me: error: No support for this host/target combination." >&2;}
115604 { (exit 1); exit 1; }; }
115610 # At some point, we should differentiate between architectures
115611 # like x86, which have long double versions, and alpha/powerpc/etc.,
115612 # which don't. For the time being, punt.
115613 if test x"long_double_math_on_this_cpu" = x"yes"; then
115614 cat >>confdefs.h <<\_ACEOF
115615 #define HAVE_ACOSL 1
115616 _ACEOF
115618 cat >>confdefs.h <<\_ACEOF
115619 #define HAVE_ASINL 1
115620 _ACEOF
115622 cat >>confdefs.h <<\_ACEOF
115623 #define HAVE_ATAN2L 1
115624 _ACEOF
115626 cat >>confdefs.h <<\_ACEOF
115627 #define HAVE_ATANL 1
115628 _ACEOF
115630 cat >>confdefs.h <<\_ACEOF
115631 #define HAVE_CEILL 1
115632 _ACEOF
115634 cat >>confdefs.h <<\_ACEOF
115635 #define HAVE_COPYSIGNL 1
115636 _ACEOF
115638 cat >>confdefs.h <<\_ACEOF
115639 #define HAVE_COSL 1
115640 _ACEOF
115642 cat >>confdefs.h <<\_ACEOF
115643 #define HAVE_COSHL 1
115644 _ACEOF
115646 cat >>confdefs.h <<\_ACEOF
115647 #define HAVE_EXPL 1
115648 _ACEOF
115650 cat >>confdefs.h <<\_ACEOF
115651 #define HAVE_FABSL 1
115652 _ACEOF
115654 cat >>confdefs.h <<\_ACEOF
115655 #define HAVE_FLOORL 1
115656 _ACEOF
115658 cat >>confdefs.h <<\_ACEOF
115659 #define HAVE_FMODL 1
115660 _ACEOF
115662 cat >>confdefs.h <<\_ACEOF
115663 #define HAVE_FREXPL 1
115664 _ACEOF
115666 cat >>confdefs.h <<\_ACEOF
115667 #define HAVE_LDEXPL 1
115668 _ACEOF
115670 cat >>confdefs.h <<\_ACEOF
115671 #define HAVE_LOG10L 1
115672 _ACEOF
115674 cat >>confdefs.h <<\_ACEOF
115675 #define HAVE_LOGL 1
115676 _ACEOF
115678 cat >>confdefs.h <<\_ACEOF
115679 #define HAVE_MODFL 1
115680 _ACEOF
115682 cat >>confdefs.h <<\_ACEOF
115683 #define HAVE_POWL 1
115684 _ACEOF
115686 cat >>confdefs.h <<\_ACEOF
115687 #define HAVE_SINCOSL 1
115688 _ACEOF
115690 cat >>confdefs.h <<\_ACEOF
115691 #define HAVE_SINL 1
115692 _ACEOF
115694 cat >>confdefs.h <<\_ACEOF
115695 #define HAVE_SINHL 1
115696 _ACEOF
115698 cat >>confdefs.h <<\_ACEOF
115699 #define HAVE_SQRTL 1
115700 _ACEOF
115702 cat >>confdefs.h <<\_ACEOF
115703 #define HAVE_TANL 1
115704 _ACEOF
115706 cat >>confdefs.h <<\_ACEOF
115707 #define HAVE_TANHL 1
115708 _ACEOF
115712 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115713 cat >>confdefs.h <<\_ACEOF
115714 #define HAVE_GETIPINFO 1
115715 _ACEOF
115719 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115720 if test "${enable_linux_futex+set}" = set; then
115721 enableval="$enable_linux_futex"
115723 case "$enableval" in
115724 yes|no|default) ;;
115725 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115726 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115727 { (exit 1); exit 1; }; } ;;
115731 enable_linux_futex=default
115734 case "$target" in
115735 *-linux*)
115736 case "$enable_linux_futex" in
115737 default)
115738 # If headers don't have gettid/futex syscalls definition, then
115739 # default to no, otherwise there will be compile time failures.
115740 # Otherwise, default to yes. If we don't detect we are
115741 # compiled/linked against NPTL and not cross-compiling, check
115742 # if programs are run by default against NPTL and if not, issue
115743 # a warning.
115744 enable_linux_futex=no
115745 if test x$gcc_no_link = xyes; then
115746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115748 { (exit 1); exit 1; }; }
115750 cat >conftest.$ac_ext <<_ACEOF
115751 /* confdefs.h. */
115752 _ACEOF
115753 cat confdefs.h >>conftest.$ac_ext
115754 cat >>conftest.$ac_ext <<_ACEOF
115755 /* end confdefs.h. */
115756 #include <sys/syscall.h>
115757 int lk;
115759 main ()
115761 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115763 return 0;
115765 _ACEOF
115766 rm -f conftest.$ac_objext conftest$ac_exeext
115767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115768 (eval $ac_link) 2>conftest.er1
115769 ac_status=$?
115770 grep -v '^ *+' conftest.er1 >conftest.err
115771 rm -f conftest.er1
115772 cat conftest.err >&5
115773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115774 (exit $ac_status); } &&
115775 { ac_try='test -z "$ac_c_werror_flag"
115776 || test ! -s conftest.err'
115777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115778 (eval $ac_try) 2>&5
115779 ac_status=$?
115780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115781 (exit $ac_status); }; } &&
115782 { ac_try='test -s conftest$ac_exeext'
115783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115784 (eval $ac_try) 2>&5
115785 ac_status=$?
115786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115787 (exit $ac_status); }; }; then
115788 save_LIBS="$LIBS"
115789 LIBS="-lpthread $LIBS"
115790 if test x$gcc_no_link = xyes; then
115791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115793 { (exit 1); exit 1; }; }
115795 cat >conftest.$ac_ext <<_ACEOF
115796 /* confdefs.h. */
115797 _ACEOF
115798 cat confdefs.h >>conftest.$ac_ext
115799 cat >>conftest.$ac_ext <<_ACEOF
115800 /* end confdefs.h. */
115801 #ifndef _GNU_SOURCE
115802 #define _GNU_SOURCE 1
115803 #endif
115804 #include <pthread.h>
115805 pthread_t th; void *status;
115807 main ()
115809 pthread_tryjoin_np (th, &status);
115811 return 0;
115813 _ACEOF
115814 rm -f conftest.$ac_objext conftest$ac_exeext
115815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115816 (eval $ac_link) 2>conftest.er1
115817 ac_status=$?
115818 grep -v '^ *+' conftest.er1 >conftest.err
115819 rm -f conftest.er1
115820 cat conftest.err >&5
115821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115822 (exit $ac_status); } &&
115823 { ac_try='test -z "$ac_c_werror_flag"
115824 || test ! -s conftest.err'
115825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115826 (eval $ac_try) 2>&5
115827 ac_status=$?
115828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115829 (exit $ac_status); }; } &&
115830 { ac_try='test -s conftest$ac_exeext'
115831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115832 (eval $ac_try) 2>&5
115833 ac_status=$?
115834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115835 (exit $ac_status); }; }; then
115836 enable_linux_futex=yes
115838 echo "$as_me: failed program was:" >&5
115839 sed 's/^/| /' conftest.$ac_ext >&5
115841 if test x$cross_compiling = xno; then
115842 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115843 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115844 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115845 If so, please configure with --disable-linux-futex" >&5
115846 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115847 If so, please configure with --disable-linux-futex" >&2;}
115850 enable_linux_futex=yes
115852 rm -f conftest.err conftest.$ac_objext \
115853 conftest$ac_exeext conftest.$ac_ext
115854 LIBS="$save_LIBS"
115856 echo "$as_me: failed program was:" >&5
115857 sed 's/^/| /' conftest.$ac_ext >&5
115860 rm -f conftest.err conftest.$ac_objext \
115861 conftest$ac_exeext conftest.$ac_ext
115864 if test x$gcc_no_link = xyes; then
115865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115867 { (exit 1); exit 1; }; }
115869 cat >conftest.$ac_ext <<_ACEOF
115870 /* confdefs.h. */
115871 _ACEOF
115872 cat confdefs.h >>conftest.$ac_ext
115873 cat >>conftest.$ac_ext <<_ACEOF
115874 /* end confdefs.h. */
115875 #include <sys/syscall.h>
115876 int lk;
115878 main ()
115880 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115882 return 0;
115884 _ACEOF
115885 rm -f conftest.$ac_objext conftest$ac_exeext
115886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115887 (eval $ac_link) 2>conftest.er1
115888 ac_status=$?
115889 grep -v '^ *+' conftest.er1 >conftest.err
115890 rm -f conftest.er1
115891 cat conftest.err >&5
115892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115893 (exit $ac_status); } &&
115894 { ac_try='test -z "$ac_c_werror_flag"
115895 || test ! -s conftest.err'
115896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115897 (eval $ac_try) 2>&5
115898 ac_status=$?
115899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115900 (exit $ac_status); }; } &&
115901 { ac_try='test -s conftest$ac_exeext'
115902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115903 (eval $ac_try) 2>&5
115904 ac_status=$?
115905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115906 (exit $ac_status); }; }; then
115909 echo "$as_me: failed program was:" >&5
115910 sed 's/^/| /' conftest.$ac_ext >&5
115912 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115913 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115914 { (exit 1); exit 1; }; }
115916 rm -f conftest.err conftest.$ac_objext \
115917 conftest$ac_exeext conftest.$ac_ext
115922 enable_linux_futex=no
115925 if test x$enable_linux_futex = xyes; then
115927 cat >>confdefs.h <<\_ACEOF
115928 #define HAVE_LINUX_FUTEX 1
115929 _ACEOF
115936 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
115938 acx_cv_header_stdint=stddef.h
115939 acx_cv_header_stdint_kind="(already complete)"
115940 for i in stdint.h $inttype_headers; do
115941 unset ac_cv_type_uintptr_t
115942 unset ac_cv_type_uintmax_t
115943 unset ac_cv_type_int_least32_t
115944 unset ac_cv_type_int_fast32_t
115945 unset ac_cv_type_uint64_t
115946 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
115947 echo "$as_me:$LINENO: checking for uintmax_t" >&5
115948 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
115949 if test "${ac_cv_type_uintmax_t+set}" = set; then
115950 echo $ECHO_N "(cached) $ECHO_C" >&6
115952 cat >conftest.$ac_ext <<_ACEOF
115953 /* confdefs.h. */
115954 _ACEOF
115955 cat confdefs.h >>conftest.$ac_ext
115956 cat >>conftest.$ac_ext <<_ACEOF
115957 /* end confdefs.h. */
115958 #include <sys/types.h>
115959 #include <$i>
115962 main ()
115964 if ((uintmax_t *) 0)
115965 return 0;
115966 if (sizeof (uintmax_t))
115967 return 0;
115969 return 0;
115971 _ACEOF
115972 rm -f conftest.$ac_objext
115973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115974 (eval $ac_compile) 2>conftest.er1
115975 ac_status=$?
115976 grep -v '^ *+' conftest.er1 >conftest.err
115977 rm -f conftest.er1
115978 cat conftest.err >&5
115979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115980 (exit $ac_status); } &&
115981 { ac_try='test -z "$ac_c_werror_flag"
115982 || test ! -s conftest.err'
115983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115984 (eval $ac_try) 2>&5
115985 ac_status=$?
115986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115987 (exit $ac_status); }; } &&
115988 { ac_try='test -s conftest.$ac_objext'
115989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115990 (eval $ac_try) 2>&5
115991 ac_status=$?
115992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115993 (exit $ac_status); }; }; then
115994 ac_cv_type_uintmax_t=yes
115996 echo "$as_me: failed program was:" >&5
115997 sed 's/^/| /' conftest.$ac_ext >&5
115999 ac_cv_type_uintmax_t=no
116001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116003 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
116004 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
116005 if test $ac_cv_type_uintmax_t = yes; then
116006 acx_cv_header_stdint=$i
116008 continue
116011 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116012 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116013 if test "${ac_cv_type_uintptr_t+set}" = set; then
116014 echo $ECHO_N "(cached) $ECHO_C" >&6
116016 cat >conftest.$ac_ext <<_ACEOF
116017 /* confdefs.h. */
116018 _ACEOF
116019 cat confdefs.h >>conftest.$ac_ext
116020 cat >>conftest.$ac_ext <<_ACEOF
116021 /* end confdefs.h. */
116022 #include <sys/types.h>
116023 #include <$i>
116026 main ()
116028 if ((uintptr_t *) 0)
116029 return 0;
116030 if (sizeof (uintptr_t))
116031 return 0;
116033 return 0;
116035 _ACEOF
116036 rm -f conftest.$ac_objext
116037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116038 (eval $ac_compile) 2>conftest.er1
116039 ac_status=$?
116040 grep -v '^ *+' conftest.er1 >conftest.err
116041 rm -f conftest.er1
116042 cat conftest.err >&5
116043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116044 (exit $ac_status); } &&
116045 { ac_try='test -z "$ac_c_werror_flag"
116046 || test ! -s conftest.err'
116047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116048 (eval $ac_try) 2>&5
116049 ac_status=$?
116050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116051 (exit $ac_status); }; } &&
116052 { ac_try='test -s conftest.$ac_objext'
116053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116054 (eval $ac_try) 2>&5
116055 ac_status=$?
116056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116057 (exit $ac_status); }; }; then
116058 ac_cv_type_uintptr_t=yes
116060 echo "$as_me: failed program was:" >&5
116061 sed 's/^/| /' conftest.$ac_ext >&5
116063 ac_cv_type_uintptr_t=no
116065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116067 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116068 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116069 if test $ac_cv_type_uintptr_t = yes; then
116072 acx_cv_header_stdint_kind="(mostly complete)"
116075 echo "$as_me:$LINENO: checking for int_least32_t" >&5
116076 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116077 if test "${ac_cv_type_int_least32_t+set}" = set; then
116078 echo $ECHO_N "(cached) $ECHO_C" >&6
116080 cat >conftest.$ac_ext <<_ACEOF
116081 /* confdefs.h. */
116082 _ACEOF
116083 cat confdefs.h >>conftest.$ac_ext
116084 cat >>conftest.$ac_ext <<_ACEOF
116085 /* end confdefs.h. */
116086 #include <sys/types.h>
116087 #include <$i>
116090 main ()
116092 if ((int_least32_t *) 0)
116093 return 0;
116094 if (sizeof (int_least32_t))
116095 return 0;
116097 return 0;
116099 _ACEOF
116100 rm -f conftest.$ac_objext
116101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116102 (eval $ac_compile) 2>conftest.er1
116103 ac_status=$?
116104 grep -v '^ *+' conftest.er1 >conftest.err
116105 rm -f conftest.er1
116106 cat conftest.err >&5
116107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116108 (exit $ac_status); } &&
116109 { ac_try='test -z "$ac_c_werror_flag"
116110 || test ! -s conftest.err'
116111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116112 (eval $ac_try) 2>&5
116113 ac_status=$?
116114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116115 (exit $ac_status); }; } &&
116116 { ac_try='test -s conftest.$ac_objext'
116117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116118 (eval $ac_try) 2>&5
116119 ac_status=$?
116120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116121 (exit $ac_status); }; }; then
116122 ac_cv_type_int_least32_t=yes
116124 echo "$as_me: failed program was:" >&5
116125 sed 's/^/| /' conftest.$ac_ext >&5
116127 ac_cv_type_int_least32_t=no
116129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116131 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116132 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116133 if test $ac_cv_type_int_least32_t = yes; then
116136 acx_cv_header_stdint_kind="(mostly complete)"
116139 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116140 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116141 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116142 echo $ECHO_N "(cached) $ECHO_C" >&6
116144 cat >conftest.$ac_ext <<_ACEOF
116145 /* confdefs.h. */
116146 _ACEOF
116147 cat confdefs.h >>conftest.$ac_ext
116148 cat >>conftest.$ac_ext <<_ACEOF
116149 /* end confdefs.h. */
116150 #include <sys/types.h>
116151 #include <$i>
116154 main ()
116156 if ((int_fast32_t *) 0)
116157 return 0;
116158 if (sizeof (int_fast32_t))
116159 return 0;
116161 return 0;
116163 _ACEOF
116164 rm -f conftest.$ac_objext
116165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116166 (eval $ac_compile) 2>conftest.er1
116167 ac_status=$?
116168 grep -v '^ *+' conftest.er1 >conftest.err
116169 rm -f conftest.er1
116170 cat conftest.err >&5
116171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116172 (exit $ac_status); } &&
116173 { ac_try='test -z "$ac_c_werror_flag"
116174 || test ! -s conftest.err'
116175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116176 (eval $ac_try) 2>&5
116177 ac_status=$?
116178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116179 (exit $ac_status); }; } &&
116180 { ac_try='test -s conftest.$ac_objext'
116181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116182 (eval $ac_try) 2>&5
116183 ac_status=$?
116184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116185 (exit $ac_status); }; }; then
116186 ac_cv_type_int_fast32_t=yes
116188 echo "$as_me: failed program was:" >&5
116189 sed 's/^/| /' conftest.$ac_ext >&5
116191 ac_cv_type_int_fast32_t=no
116193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116195 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
116196 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
116197 if test $ac_cv_type_int_fast32_t = yes; then
116200 acx_cv_header_stdint_kind="(mostly complete)"
116203 echo "$as_me:$LINENO: checking for uint64_t" >&5
116204 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116205 if test "${ac_cv_type_uint64_t+set}" = set; then
116206 echo $ECHO_N "(cached) $ECHO_C" >&6
116208 cat >conftest.$ac_ext <<_ACEOF
116209 /* confdefs.h. */
116210 _ACEOF
116211 cat confdefs.h >>conftest.$ac_ext
116212 cat >>conftest.$ac_ext <<_ACEOF
116213 /* end confdefs.h. */
116214 #include <sys/types.h>
116215 #include <$i>
116218 main ()
116220 if ((uint64_t *) 0)
116221 return 0;
116222 if (sizeof (uint64_t))
116223 return 0;
116225 return 0;
116227 _ACEOF
116228 rm -f conftest.$ac_objext
116229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116230 (eval $ac_compile) 2>conftest.er1
116231 ac_status=$?
116232 grep -v '^ *+' conftest.er1 >conftest.err
116233 rm -f conftest.er1
116234 cat conftest.err >&5
116235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116236 (exit $ac_status); } &&
116237 { ac_try='test -z "$ac_c_werror_flag"
116238 || test ! -s conftest.err'
116239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116240 (eval $ac_try) 2>&5
116241 ac_status=$?
116242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116243 (exit $ac_status); }; } &&
116244 { ac_try='test -s conftest.$ac_objext'
116245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116246 (eval $ac_try) 2>&5
116247 ac_status=$?
116248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116249 (exit $ac_status); }; }; then
116250 ac_cv_type_uint64_t=yes
116252 echo "$as_me: failed program was:" >&5
116253 sed 's/^/| /' conftest.$ac_ext >&5
116255 ac_cv_type_uint64_t=no
116257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116259 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116260 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116261 if test $ac_cv_type_uint64_t = yes; then
116264 acx_cv_header_stdint_kind="(lacks uint64_t)"
116267 break
116269 if test "$acx_cv_header_stdint" = stddef.h; then
116270 acx_cv_header_stdint_kind="(lacks uintmax_t)"
116271 for i in stdint.h $inttype_headers; do
116272 unset ac_cv_type_uintptr_t
116273 unset ac_cv_type_uint32_t
116274 unset ac_cv_type_uint64_t
116275 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
116276 echo "$as_me:$LINENO: checking for uint32_t" >&5
116277 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
116278 if test "${ac_cv_type_uint32_t+set}" = set; then
116279 echo $ECHO_N "(cached) $ECHO_C" >&6
116281 cat >conftest.$ac_ext <<_ACEOF
116282 /* confdefs.h. */
116283 _ACEOF
116284 cat confdefs.h >>conftest.$ac_ext
116285 cat >>conftest.$ac_ext <<_ACEOF
116286 /* end confdefs.h. */
116287 #include <sys/types.h>
116288 #include <$i>
116291 main ()
116293 if ((uint32_t *) 0)
116294 return 0;
116295 if (sizeof (uint32_t))
116296 return 0;
116298 return 0;
116300 _ACEOF
116301 rm -f conftest.$ac_objext
116302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116303 (eval $ac_compile) 2>conftest.er1
116304 ac_status=$?
116305 grep -v '^ *+' conftest.er1 >conftest.err
116306 rm -f conftest.er1
116307 cat conftest.err >&5
116308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116309 (exit $ac_status); } &&
116310 { ac_try='test -z "$ac_c_werror_flag"
116311 || test ! -s conftest.err'
116312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116313 (eval $ac_try) 2>&5
116314 ac_status=$?
116315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116316 (exit $ac_status); }; } &&
116317 { ac_try='test -s conftest.$ac_objext'
116318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116319 (eval $ac_try) 2>&5
116320 ac_status=$?
116321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116322 (exit $ac_status); }; }; then
116323 ac_cv_type_uint32_t=yes
116325 echo "$as_me: failed program was:" >&5
116326 sed 's/^/| /' conftest.$ac_ext >&5
116328 ac_cv_type_uint32_t=no
116330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116332 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
116333 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
116334 if test $ac_cv_type_uint32_t = yes; then
116335 acx_cv_header_stdint=$i
116337 continue
116340 echo "$as_me:$LINENO: checking for uint64_t" >&5
116341 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116342 if test "${ac_cv_type_uint64_t+set}" = set; then
116343 echo $ECHO_N "(cached) $ECHO_C" >&6
116345 cat >conftest.$ac_ext <<_ACEOF
116346 /* confdefs.h. */
116347 _ACEOF
116348 cat confdefs.h >>conftest.$ac_ext
116349 cat >>conftest.$ac_ext <<_ACEOF
116350 /* end confdefs.h. */
116351 #include <sys/types.h>
116352 #include <$i>
116355 main ()
116357 if ((uint64_t *) 0)
116358 return 0;
116359 if (sizeof (uint64_t))
116360 return 0;
116362 return 0;
116364 _ACEOF
116365 rm -f conftest.$ac_objext
116366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116367 (eval $ac_compile) 2>conftest.er1
116368 ac_status=$?
116369 grep -v '^ *+' conftest.er1 >conftest.err
116370 rm -f conftest.er1
116371 cat conftest.err >&5
116372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116373 (exit $ac_status); } &&
116374 { ac_try='test -z "$ac_c_werror_flag"
116375 || test ! -s conftest.err'
116376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116377 (eval $ac_try) 2>&5
116378 ac_status=$?
116379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116380 (exit $ac_status); }; } &&
116381 { ac_try='test -s conftest.$ac_objext'
116382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116383 (eval $ac_try) 2>&5
116384 ac_status=$?
116385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116386 (exit $ac_status); }; }; then
116387 ac_cv_type_uint64_t=yes
116389 echo "$as_me: failed program was:" >&5
116390 sed 's/^/| /' conftest.$ac_ext >&5
116392 ac_cv_type_uint64_t=no
116394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116396 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116397 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116399 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116400 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116401 if test "${ac_cv_type_uintptr_t+set}" = set; then
116402 echo $ECHO_N "(cached) $ECHO_C" >&6
116404 cat >conftest.$ac_ext <<_ACEOF
116405 /* confdefs.h. */
116406 _ACEOF
116407 cat confdefs.h >>conftest.$ac_ext
116408 cat >>conftest.$ac_ext <<_ACEOF
116409 /* end confdefs.h. */
116410 #include <sys/types.h>
116411 #include <$i>
116414 main ()
116416 if ((uintptr_t *) 0)
116417 return 0;
116418 if (sizeof (uintptr_t))
116419 return 0;
116421 return 0;
116423 _ACEOF
116424 rm -f conftest.$ac_objext
116425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116426 (eval $ac_compile) 2>conftest.er1
116427 ac_status=$?
116428 grep -v '^ *+' conftest.er1 >conftest.err
116429 rm -f conftest.er1
116430 cat conftest.err >&5
116431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116432 (exit $ac_status); } &&
116433 { ac_try='test -z "$ac_c_werror_flag"
116434 || test ! -s conftest.err'
116435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116436 (eval $ac_try) 2>&5
116437 ac_status=$?
116438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116439 (exit $ac_status); }; } &&
116440 { ac_try='test -s conftest.$ac_objext'
116441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116442 (eval $ac_try) 2>&5
116443 ac_status=$?
116444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116445 (exit $ac_status); }; }; then
116446 ac_cv_type_uintptr_t=yes
116448 echo "$as_me: failed program was:" >&5
116449 sed 's/^/| /' conftest.$ac_ext >&5
116451 ac_cv_type_uintptr_t=no
116453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116455 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116456 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116458 break
116461 if test "$acx_cv_header_stdint" = stddef.h; then
116462 acx_cv_header_stdint_kind="(u_intXX_t style)"
116463 for i in sys/types.h $inttype_headers; do
116464 unset ac_cv_type_u_int32_t
116465 unset ac_cv_type_u_int64_t
116466 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
116467 echo "$as_me:$LINENO: checking for u_int32_t" >&5
116468 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
116469 if test "${ac_cv_type_u_int32_t+set}" = set; then
116470 echo $ECHO_N "(cached) $ECHO_C" >&6
116472 cat >conftest.$ac_ext <<_ACEOF
116473 /* confdefs.h. */
116474 _ACEOF
116475 cat confdefs.h >>conftest.$ac_ext
116476 cat >>conftest.$ac_ext <<_ACEOF
116477 /* end confdefs.h. */
116478 #include <sys/types.h>
116479 #include <$i>
116482 main ()
116484 if ((u_int32_t *) 0)
116485 return 0;
116486 if (sizeof (u_int32_t))
116487 return 0;
116489 return 0;
116491 _ACEOF
116492 rm -f conftest.$ac_objext
116493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116494 (eval $ac_compile) 2>conftest.er1
116495 ac_status=$?
116496 grep -v '^ *+' conftest.er1 >conftest.err
116497 rm -f conftest.er1
116498 cat conftest.err >&5
116499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116500 (exit $ac_status); } &&
116501 { ac_try='test -z "$ac_c_werror_flag"
116502 || test ! -s conftest.err'
116503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116504 (eval $ac_try) 2>&5
116505 ac_status=$?
116506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116507 (exit $ac_status); }; } &&
116508 { ac_try='test -s conftest.$ac_objext'
116509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116510 (eval $ac_try) 2>&5
116511 ac_status=$?
116512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116513 (exit $ac_status); }; }; then
116514 ac_cv_type_u_int32_t=yes
116516 echo "$as_me: failed program was:" >&5
116517 sed 's/^/| /' conftest.$ac_ext >&5
116519 ac_cv_type_u_int32_t=no
116521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116523 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116524 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116525 if test $ac_cv_type_u_int32_t = yes; then
116526 acx_cv_header_stdint=$i
116528 continue
116531 echo "$as_me:$LINENO: checking for u_int64_t" >&5
116532 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116533 if test "${ac_cv_type_u_int64_t+set}" = set; then
116534 echo $ECHO_N "(cached) $ECHO_C" >&6
116536 cat >conftest.$ac_ext <<_ACEOF
116537 /* confdefs.h. */
116538 _ACEOF
116539 cat confdefs.h >>conftest.$ac_ext
116540 cat >>conftest.$ac_ext <<_ACEOF
116541 /* end confdefs.h. */
116542 #include <sys/types.h>
116543 #include <$i>
116546 main ()
116548 if ((u_int64_t *) 0)
116549 return 0;
116550 if (sizeof (u_int64_t))
116551 return 0;
116553 return 0;
116555 _ACEOF
116556 rm -f conftest.$ac_objext
116557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116558 (eval $ac_compile) 2>conftest.er1
116559 ac_status=$?
116560 grep -v '^ *+' conftest.er1 >conftest.err
116561 rm -f conftest.er1
116562 cat conftest.err >&5
116563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116564 (exit $ac_status); } &&
116565 { ac_try='test -z "$ac_c_werror_flag"
116566 || test ! -s conftest.err'
116567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116568 (eval $ac_try) 2>&5
116569 ac_status=$?
116570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116571 (exit $ac_status); }; } &&
116572 { ac_try='test -s conftest.$ac_objext'
116573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116574 (eval $ac_try) 2>&5
116575 ac_status=$?
116576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116577 (exit $ac_status); }; }; then
116578 ac_cv_type_u_int64_t=yes
116580 echo "$as_me: failed program was:" >&5
116581 sed 's/^/| /' conftest.$ac_ext >&5
116583 ac_cv_type_u_int64_t=no
116585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116587 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
116588 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
116590 break
116593 if test "$acx_cv_header_stdint" = stddef.h; then
116594 acx_cv_header_stdint_kind="(using manual detection)"
116597 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
116598 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
116599 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
116600 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
116601 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
116603 # ----------------- Summarize what we found so far
116605 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
116606 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
116608 case `$as_basename include/gstdint.h ||
116609 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
116610 Xinclude/gstdint.h : 'X\(//\)$' \| \
116611 Xinclude/gstdint.h : 'X\(/\)$' \| \
116612 . : '\(.\)' 2>/dev/null ||
116613 echo X/include/gstdint.h |
116614 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116615 /^X\/\(\/\/\)$/{ s//\1/; q; }
116616 /^X\/\(\/\).*/{ s//\1/; q; }
116617 s/.*/./; q'` in
116618 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116619 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116620 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116621 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116622 *) ;;
116625 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
116626 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
116628 # ----------------- done included file, check C basic types --------
116630 # Lacking an uintptr_t? Test size of void *
116631 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
116632 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
116633 echo $ECHO_N "checking for void *... $ECHO_C" >&6
116634 if test "${ac_cv_type_void_p+set}" = set; then
116635 echo $ECHO_N "(cached) $ECHO_C" >&6
116637 cat >conftest.$ac_ext <<_ACEOF
116638 /* confdefs.h. */
116639 _ACEOF
116640 cat confdefs.h >>conftest.$ac_ext
116641 cat >>conftest.$ac_ext <<_ACEOF
116642 /* end confdefs.h. */
116643 $ac_includes_default
116645 main ()
116647 if ((void * *) 0)
116648 return 0;
116649 if (sizeof (void *))
116650 return 0;
116652 return 0;
116654 _ACEOF
116655 rm -f conftest.$ac_objext
116656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116657 (eval $ac_compile) 2>conftest.er1
116658 ac_status=$?
116659 grep -v '^ *+' conftest.er1 >conftest.err
116660 rm -f conftest.er1
116661 cat conftest.err >&5
116662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116663 (exit $ac_status); } &&
116664 { ac_try='test -z "$ac_c_werror_flag"
116665 || test ! -s conftest.err'
116666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116667 (eval $ac_try) 2>&5
116668 ac_status=$?
116669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116670 (exit $ac_status); }; } &&
116671 { ac_try='test -s conftest.$ac_objext'
116672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116673 (eval $ac_try) 2>&5
116674 ac_status=$?
116675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116676 (exit $ac_status); }; }; then
116677 ac_cv_type_void_p=yes
116679 echo "$as_me: failed program was:" >&5
116680 sed 's/^/| /' conftest.$ac_ext >&5
116682 ac_cv_type_void_p=no
116684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116686 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
116687 echo "${ECHO_T}$ac_cv_type_void_p" >&6
116689 echo "$as_me:$LINENO: checking size of void *" >&5
116690 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
116691 if test "${ac_cv_sizeof_void_p+set}" = set; then
116692 echo $ECHO_N "(cached) $ECHO_C" >&6
116694 if test "$ac_cv_type_void_p" = yes; then
116695 # The cast to unsigned long works around a bug in the HP C Compiler
116696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116698 # This bug is HP SR number 8606223364.
116699 if test "$cross_compiling" = yes; then
116700 # Depending upon the size, compute the lo and hi bounds.
116701 cat >conftest.$ac_ext <<_ACEOF
116702 /* confdefs.h. */
116703 _ACEOF
116704 cat confdefs.h >>conftest.$ac_ext
116705 cat >>conftest.$ac_ext <<_ACEOF
116706 /* end confdefs.h. */
116707 $ac_includes_default
116709 main ()
116711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
116712 test_array [0] = 0
116715 return 0;
116717 _ACEOF
116718 rm -f conftest.$ac_objext
116719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116720 (eval $ac_compile) 2>conftest.er1
116721 ac_status=$?
116722 grep -v '^ *+' conftest.er1 >conftest.err
116723 rm -f conftest.er1
116724 cat conftest.err >&5
116725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116726 (exit $ac_status); } &&
116727 { ac_try='test -z "$ac_c_werror_flag"
116728 || test ! -s conftest.err'
116729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116730 (eval $ac_try) 2>&5
116731 ac_status=$?
116732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116733 (exit $ac_status); }; } &&
116734 { ac_try='test -s conftest.$ac_objext'
116735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116736 (eval $ac_try) 2>&5
116737 ac_status=$?
116738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116739 (exit $ac_status); }; }; then
116740 ac_lo=0 ac_mid=0
116741 while :; do
116742 cat >conftest.$ac_ext <<_ACEOF
116743 /* confdefs.h. */
116744 _ACEOF
116745 cat confdefs.h >>conftest.$ac_ext
116746 cat >>conftest.$ac_ext <<_ACEOF
116747 /* end confdefs.h. */
116748 $ac_includes_default
116750 main ()
116752 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116753 test_array [0] = 0
116756 return 0;
116758 _ACEOF
116759 rm -f conftest.$ac_objext
116760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116761 (eval $ac_compile) 2>conftest.er1
116762 ac_status=$?
116763 grep -v '^ *+' conftest.er1 >conftest.err
116764 rm -f conftest.er1
116765 cat conftest.err >&5
116766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116767 (exit $ac_status); } &&
116768 { ac_try='test -z "$ac_c_werror_flag"
116769 || test ! -s conftest.err'
116770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116771 (eval $ac_try) 2>&5
116772 ac_status=$?
116773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116774 (exit $ac_status); }; } &&
116775 { ac_try='test -s conftest.$ac_objext'
116776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116777 (eval $ac_try) 2>&5
116778 ac_status=$?
116779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116780 (exit $ac_status); }; }; then
116781 ac_hi=$ac_mid; break
116783 echo "$as_me: failed program was:" >&5
116784 sed 's/^/| /' conftest.$ac_ext >&5
116786 ac_lo=`expr $ac_mid + 1`
116787 if test $ac_lo -le $ac_mid; then
116788 ac_lo= ac_hi=
116789 break
116791 ac_mid=`expr 2 '*' $ac_mid + 1`
116793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116796 echo "$as_me: failed program was:" >&5
116797 sed 's/^/| /' conftest.$ac_ext >&5
116799 cat >conftest.$ac_ext <<_ACEOF
116800 /* confdefs.h. */
116801 _ACEOF
116802 cat confdefs.h >>conftest.$ac_ext
116803 cat >>conftest.$ac_ext <<_ACEOF
116804 /* end confdefs.h. */
116805 $ac_includes_default
116807 main ()
116809 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
116810 test_array [0] = 0
116813 return 0;
116815 _ACEOF
116816 rm -f conftest.$ac_objext
116817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116818 (eval $ac_compile) 2>conftest.er1
116819 ac_status=$?
116820 grep -v '^ *+' conftest.er1 >conftest.err
116821 rm -f conftest.er1
116822 cat conftest.err >&5
116823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116824 (exit $ac_status); } &&
116825 { ac_try='test -z "$ac_c_werror_flag"
116826 || test ! -s conftest.err'
116827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116828 (eval $ac_try) 2>&5
116829 ac_status=$?
116830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116831 (exit $ac_status); }; } &&
116832 { ac_try='test -s conftest.$ac_objext'
116833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116834 (eval $ac_try) 2>&5
116835 ac_status=$?
116836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116837 (exit $ac_status); }; }; then
116838 ac_hi=-1 ac_mid=-1
116839 while :; do
116840 cat >conftest.$ac_ext <<_ACEOF
116841 /* confdefs.h. */
116842 _ACEOF
116843 cat confdefs.h >>conftest.$ac_ext
116844 cat >>conftest.$ac_ext <<_ACEOF
116845 /* end confdefs.h. */
116846 $ac_includes_default
116848 main ()
116850 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
116851 test_array [0] = 0
116854 return 0;
116856 _ACEOF
116857 rm -f conftest.$ac_objext
116858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116859 (eval $ac_compile) 2>conftest.er1
116860 ac_status=$?
116861 grep -v '^ *+' conftest.er1 >conftest.err
116862 rm -f conftest.er1
116863 cat conftest.err >&5
116864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116865 (exit $ac_status); } &&
116866 { ac_try='test -z "$ac_c_werror_flag"
116867 || test ! -s conftest.err'
116868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116869 (eval $ac_try) 2>&5
116870 ac_status=$?
116871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116872 (exit $ac_status); }; } &&
116873 { ac_try='test -s conftest.$ac_objext'
116874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116875 (eval $ac_try) 2>&5
116876 ac_status=$?
116877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116878 (exit $ac_status); }; }; then
116879 ac_lo=$ac_mid; break
116881 echo "$as_me: failed program was:" >&5
116882 sed 's/^/| /' conftest.$ac_ext >&5
116884 ac_hi=`expr '(' $ac_mid ')' - 1`
116885 if test $ac_mid -le $ac_hi; then
116886 ac_lo= ac_hi=
116887 break
116889 ac_mid=`expr 2 '*' $ac_mid`
116891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116894 echo "$as_me: failed program was:" >&5
116895 sed 's/^/| /' conftest.$ac_ext >&5
116897 ac_lo= ac_hi=
116899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116902 # Binary search between lo and hi bounds.
116903 while test "x$ac_lo" != "x$ac_hi"; do
116904 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116905 cat >conftest.$ac_ext <<_ACEOF
116906 /* confdefs.h. */
116907 _ACEOF
116908 cat confdefs.h >>conftest.$ac_ext
116909 cat >>conftest.$ac_ext <<_ACEOF
116910 /* end confdefs.h. */
116911 $ac_includes_default
116913 main ()
116915 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116916 test_array [0] = 0
116919 return 0;
116921 _ACEOF
116922 rm -f conftest.$ac_objext
116923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116924 (eval $ac_compile) 2>conftest.er1
116925 ac_status=$?
116926 grep -v '^ *+' conftest.er1 >conftest.err
116927 rm -f conftest.er1
116928 cat conftest.err >&5
116929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116930 (exit $ac_status); } &&
116931 { ac_try='test -z "$ac_c_werror_flag"
116932 || test ! -s conftest.err'
116933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116934 (eval $ac_try) 2>&5
116935 ac_status=$?
116936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116937 (exit $ac_status); }; } &&
116938 { ac_try='test -s conftest.$ac_objext'
116939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116940 (eval $ac_try) 2>&5
116941 ac_status=$?
116942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116943 (exit $ac_status); }; }; then
116944 ac_hi=$ac_mid
116946 echo "$as_me: failed program was:" >&5
116947 sed 's/^/| /' conftest.$ac_ext >&5
116949 ac_lo=`expr '(' $ac_mid ')' + 1`
116951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116953 case $ac_lo in
116954 ?*) ac_cv_sizeof_void_p=$ac_lo;;
116955 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116956 See \`config.log' for more details." >&5
116957 echo "$as_me: error: cannot compute sizeof (void *), 77
116958 See \`config.log' for more details." >&2;}
116959 { (exit 1); exit 1; }; } ;;
116962 if test "$cross_compiling" = yes; then
116963 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116964 See \`config.log' for more details." >&5
116965 echo "$as_me: error: cannot run test program while cross compiling
116966 See \`config.log' for more details." >&2;}
116967 { (exit 1); exit 1; }; }
116969 cat >conftest.$ac_ext <<_ACEOF
116970 /* confdefs.h. */
116971 _ACEOF
116972 cat confdefs.h >>conftest.$ac_ext
116973 cat >>conftest.$ac_ext <<_ACEOF
116974 /* end confdefs.h. */
116975 $ac_includes_default
116976 long longval () { return (long) (sizeof (void *)); }
116977 unsigned long ulongval () { return (long) (sizeof (void *)); }
116978 #include <stdio.h>
116979 #include <stdlib.h>
116981 main ()
116984 FILE *f = fopen ("conftest.val", "w");
116985 if (! f)
116986 exit (1);
116987 if (((long) (sizeof (void *))) < 0)
116989 long i = longval ();
116990 if (i != ((long) (sizeof (void *))))
116991 exit (1);
116992 fprintf (f, "%ld\n", i);
116996 unsigned long i = ulongval ();
116997 if (i != ((long) (sizeof (void *))))
116998 exit (1);
116999 fprintf (f, "%lu\n", i);
117001 exit (ferror (f) || fclose (f) != 0);
117004 return 0;
117006 _ACEOF
117007 rm -f conftest$ac_exeext
117008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117009 (eval $ac_link) 2>&5
117010 ac_status=$?
117011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117014 (eval $ac_try) 2>&5
117015 ac_status=$?
117016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117017 (exit $ac_status); }; }; then
117018 ac_cv_sizeof_void_p=`cat conftest.val`
117020 echo "$as_me: program exited with status $ac_status" >&5
117021 echo "$as_me: failed program was:" >&5
117022 sed 's/^/| /' conftest.$ac_ext >&5
117024 ( exit $ac_status )
117025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117026 See \`config.log' for more details." >&5
117027 echo "$as_me: error: cannot compute sizeof (void *), 77
117028 See \`config.log' for more details." >&2;}
117029 { (exit 1); exit 1; }; }
117031 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117034 rm -f conftest.val
117036 ac_cv_sizeof_void_p=0
117039 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
117040 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117041 cat >>confdefs.h <<_ACEOF
117042 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117043 _ACEOF
117048 # Lacking an uint64_t? Test size of long
117049 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117050 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117051 echo $ECHO_N "checking for long... $ECHO_C" >&6
117052 if test "${ac_cv_type_long+set}" = set; then
117053 echo $ECHO_N "(cached) $ECHO_C" >&6
117055 cat >conftest.$ac_ext <<_ACEOF
117056 /* confdefs.h. */
117057 _ACEOF
117058 cat confdefs.h >>conftest.$ac_ext
117059 cat >>conftest.$ac_ext <<_ACEOF
117060 /* end confdefs.h. */
117061 $ac_includes_default
117063 main ()
117065 if ((long *) 0)
117066 return 0;
117067 if (sizeof (long))
117068 return 0;
117070 return 0;
117072 _ACEOF
117073 rm -f conftest.$ac_objext
117074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117075 (eval $ac_compile) 2>conftest.er1
117076 ac_status=$?
117077 grep -v '^ *+' conftest.er1 >conftest.err
117078 rm -f conftest.er1
117079 cat conftest.err >&5
117080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117081 (exit $ac_status); } &&
117082 { ac_try='test -z "$ac_c_werror_flag"
117083 || test ! -s conftest.err'
117084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117085 (eval $ac_try) 2>&5
117086 ac_status=$?
117087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117088 (exit $ac_status); }; } &&
117089 { ac_try='test -s conftest.$ac_objext'
117090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117091 (eval $ac_try) 2>&5
117092 ac_status=$?
117093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117094 (exit $ac_status); }; }; then
117095 ac_cv_type_long=yes
117097 echo "$as_me: failed program was:" >&5
117098 sed 's/^/| /' conftest.$ac_ext >&5
117100 ac_cv_type_long=no
117102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117104 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117105 echo "${ECHO_T}$ac_cv_type_long" >&6
117107 echo "$as_me:$LINENO: checking size of long" >&5
117108 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117109 if test "${ac_cv_sizeof_long+set}" = set; then
117110 echo $ECHO_N "(cached) $ECHO_C" >&6
117112 if test "$ac_cv_type_long" = yes; then
117113 # The cast to unsigned long works around a bug in the HP C Compiler
117114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117116 # This bug is HP SR number 8606223364.
117117 if test "$cross_compiling" = yes; then
117118 # Depending upon the size, compute the lo and hi bounds.
117119 cat >conftest.$ac_ext <<_ACEOF
117120 /* confdefs.h. */
117121 _ACEOF
117122 cat confdefs.h >>conftest.$ac_ext
117123 cat >>conftest.$ac_ext <<_ACEOF
117124 /* end confdefs.h. */
117125 $ac_includes_default
117127 main ()
117129 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117130 test_array [0] = 0
117133 return 0;
117135 _ACEOF
117136 rm -f conftest.$ac_objext
117137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117138 (eval $ac_compile) 2>conftest.er1
117139 ac_status=$?
117140 grep -v '^ *+' conftest.er1 >conftest.err
117141 rm -f conftest.er1
117142 cat conftest.err >&5
117143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117144 (exit $ac_status); } &&
117145 { ac_try='test -z "$ac_c_werror_flag"
117146 || test ! -s conftest.err'
117147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117148 (eval $ac_try) 2>&5
117149 ac_status=$?
117150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117151 (exit $ac_status); }; } &&
117152 { ac_try='test -s conftest.$ac_objext'
117153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117154 (eval $ac_try) 2>&5
117155 ac_status=$?
117156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117157 (exit $ac_status); }; }; then
117158 ac_lo=0 ac_mid=0
117159 while :; do
117160 cat >conftest.$ac_ext <<_ACEOF
117161 /* confdefs.h. */
117162 _ACEOF
117163 cat confdefs.h >>conftest.$ac_ext
117164 cat >>conftest.$ac_ext <<_ACEOF
117165 /* end confdefs.h. */
117166 $ac_includes_default
117168 main ()
117170 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117171 test_array [0] = 0
117174 return 0;
117176 _ACEOF
117177 rm -f conftest.$ac_objext
117178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117179 (eval $ac_compile) 2>conftest.er1
117180 ac_status=$?
117181 grep -v '^ *+' conftest.er1 >conftest.err
117182 rm -f conftest.er1
117183 cat conftest.err >&5
117184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117185 (exit $ac_status); } &&
117186 { ac_try='test -z "$ac_c_werror_flag"
117187 || test ! -s conftest.err'
117188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117189 (eval $ac_try) 2>&5
117190 ac_status=$?
117191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117192 (exit $ac_status); }; } &&
117193 { ac_try='test -s conftest.$ac_objext'
117194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117195 (eval $ac_try) 2>&5
117196 ac_status=$?
117197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117198 (exit $ac_status); }; }; then
117199 ac_hi=$ac_mid; break
117201 echo "$as_me: failed program was:" >&5
117202 sed 's/^/| /' conftest.$ac_ext >&5
117204 ac_lo=`expr $ac_mid + 1`
117205 if test $ac_lo -le $ac_mid; then
117206 ac_lo= ac_hi=
117207 break
117209 ac_mid=`expr 2 '*' $ac_mid + 1`
117211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117214 echo "$as_me: failed program was:" >&5
117215 sed 's/^/| /' conftest.$ac_ext >&5
117217 cat >conftest.$ac_ext <<_ACEOF
117218 /* confdefs.h. */
117219 _ACEOF
117220 cat confdefs.h >>conftest.$ac_ext
117221 cat >>conftest.$ac_ext <<_ACEOF
117222 /* end confdefs.h. */
117223 $ac_includes_default
117225 main ()
117227 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
117228 test_array [0] = 0
117231 return 0;
117233 _ACEOF
117234 rm -f conftest.$ac_objext
117235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117236 (eval $ac_compile) 2>conftest.er1
117237 ac_status=$?
117238 grep -v '^ *+' conftest.er1 >conftest.err
117239 rm -f conftest.er1
117240 cat conftest.err >&5
117241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117242 (exit $ac_status); } &&
117243 { ac_try='test -z "$ac_c_werror_flag"
117244 || test ! -s conftest.err'
117245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117246 (eval $ac_try) 2>&5
117247 ac_status=$?
117248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117249 (exit $ac_status); }; } &&
117250 { ac_try='test -s conftest.$ac_objext'
117251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117252 (eval $ac_try) 2>&5
117253 ac_status=$?
117254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117255 (exit $ac_status); }; }; then
117256 ac_hi=-1 ac_mid=-1
117257 while :; do
117258 cat >conftest.$ac_ext <<_ACEOF
117259 /* confdefs.h. */
117260 _ACEOF
117261 cat confdefs.h >>conftest.$ac_ext
117262 cat >>conftest.$ac_ext <<_ACEOF
117263 /* end confdefs.h. */
117264 $ac_includes_default
117266 main ()
117268 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
117269 test_array [0] = 0
117272 return 0;
117274 _ACEOF
117275 rm -f conftest.$ac_objext
117276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117277 (eval $ac_compile) 2>conftest.er1
117278 ac_status=$?
117279 grep -v '^ *+' conftest.er1 >conftest.err
117280 rm -f conftest.er1
117281 cat conftest.err >&5
117282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117283 (exit $ac_status); } &&
117284 { ac_try='test -z "$ac_c_werror_flag"
117285 || test ! -s conftest.err'
117286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117287 (eval $ac_try) 2>&5
117288 ac_status=$?
117289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117290 (exit $ac_status); }; } &&
117291 { ac_try='test -s conftest.$ac_objext'
117292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117293 (eval $ac_try) 2>&5
117294 ac_status=$?
117295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117296 (exit $ac_status); }; }; then
117297 ac_lo=$ac_mid; break
117299 echo "$as_me: failed program was:" >&5
117300 sed 's/^/| /' conftest.$ac_ext >&5
117302 ac_hi=`expr '(' $ac_mid ')' - 1`
117303 if test $ac_mid -le $ac_hi; then
117304 ac_lo= ac_hi=
117305 break
117307 ac_mid=`expr 2 '*' $ac_mid`
117309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117312 echo "$as_me: failed program was:" >&5
117313 sed 's/^/| /' conftest.$ac_ext >&5
117315 ac_lo= ac_hi=
117317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117320 # Binary search between lo and hi bounds.
117321 while test "x$ac_lo" != "x$ac_hi"; do
117322 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117323 cat >conftest.$ac_ext <<_ACEOF
117324 /* confdefs.h. */
117325 _ACEOF
117326 cat confdefs.h >>conftest.$ac_ext
117327 cat >>conftest.$ac_ext <<_ACEOF
117328 /* end confdefs.h. */
117329 $ac_includes_default
117331 main ()
117333 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117334 test_array [0] = 0
117337 return 0;
117339 _ACEOF
117340 rm -f conftest.$ac_objext
117341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117342 (eval $ac_compile) 2>conftest.er1
117343 ac_status=$?
117344 grep -v '^ *+' conftest.er1 >conftest.err
117345 rm -f conftest.er1
117346 cat conftest.err >&5
117347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117348 (exit $ac_status); } &&
117349 { ac_try='test -z "$ac_c_werror_flag"
117350 || test ! -s conftest.err'
117351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117352 (eval $ac_try) 2>&5
117353 ac_status=$?
117354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117355 (exit $ac_status); }; } &&
117356 { ac_try='test -s conftest.$ac_objext'
117357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117358 (eval $ac_try) 2>&5
117359 ac_status=$?
117360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117361 (exit $ac_status); }; }; then
117362 ac_hi=$ac_mid
117364 echo "$as_me: failed program was:" >&5
117365 sed 's/^/| /' conftest.$ac_ext >&5
117367 ac_lo=`expr '(' $ac_mid ')' + 1`
117369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117371 case $ac_lo in
117372 ?*) ac_cv_sizeof_long=$ac_lo;;
117373 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117374 See \`config.log' for more details." >&5
117375 echo "$as_me: error: cannot compute sizeof (long), 77
117376 See \`config.log' for more details." >&2;}
117377 { (exit 1); exit 1; }; } ;;
117380 if test "$cross_compiling" = yes; then
117381 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117382 See \`config.log' for more details." >&5
117383 echo "$as_me: error: cannot run test program while cross compiling
117384 See \`config.log' for more details." >&2;}
117385 { (exit 1); exit 1; }; }
117387 cat >conftest.$ac_ext <<_ACEOF
117388 /* confdefs.h. */
117389 _ACEOF
117390 cat confdefs.h >>conftest.$ac_ext
117391 cat >>conftest.$ac_ext <<_ACEOF
117392 /* end confdefs.h. */
117393 $ac_includes_default
117394 long longval () { return (long) (sizeof (long)); }
117395 unsigned long ulongval () { return (long) (sizeof (long)); }
117396 #include <stdio.h>
117397 #include <stdlib.h>
117399 main ()
117402 FILE *f = fopen ("conftest.val", "w");
117403 if (! f)
117404 exit (1);
117405 if (((long) (sizeof (long))) < 0)
117407 long i = longval ();
117408 if (i != ((long) (sizeof (long))))
117409 exit (1);
117410 fprintf (f, "%ld\n", i);
117414 unsigned long i = ulongval ();
117415 if (i != ((long) (sizeof (long))))
117416 exit (1);
117417 fprintf (f, "%lu\n", i);
117419 exit (ferror (f) || fclose (f) != 0);
117422 return 0;
117424 _ACEOF
117425 rm -f conftest$ac_exeext
117426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117427 (eval $ac_link) 2>&5
117428 ac_status=$?
117429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117432 (eval $ac_try) 2>&5
117433 ac_status=$?
117434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117435 (exit $ac_status); }; }; then
117436 ac_cv_sizeof_long=`cat conftest.val`
117438 echo "$as_me: program exited with status $ac_status" >&5
117439 echo "$as_me: failed program was:" >&5
117440 sed 's/^/| /' conftest.$ac_ext >&5
117442 ( exit $ac_status )
117443 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117444 See \`config.log' for more details." >&5
117445 echo "$as_me: error: cannot compute sizeof (long), 77
117446 See \`config.log' for more details." >&2;}
117447 { (exit 1); exit 1; }; }
117449 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117452 rm -f conftest.val
117454 ac_cv_sizeof_long=0
117457 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
117458 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
117459 cat >>confdefs.h <<_ACEOF
117460 #define SIZEOF_LONG $ac_cv_sizeof_long
117461 _ACEOF
117466 if test $acx_cv_header_stdint = stddef.h; then
117467 # Lacking a good header? Test size of everything and deduce all types.
117468 echo "$as_me:$LINENO: checking for int" >&5
117469 echo $ECHO_N "checking for int... $ECHO_C" >&6
117470 if test "${ac_cv_type_int+set}" = set; then
117471 echo $ECHO_N "(cached) $ECHO_C" >&6
117473 cat >conftest.$ac_ext <<_ACEOF
117474 /* confdefs.h. */
117475 _ACEOF
117476 cat confdefs.h >>conftest.$ac_ext
117477 cat >>conftest.$ac_ext <<_ACEOF
117478 /* end confdefs.h. */
117479 $ac_includes_default
117481 main ()
117483 if ((int *) 0)
117484 return 0;
117485 if (sizeof (int))
117486 return 0;
117488 return 0;
117490 _ACEOF
117491 rm -f conftest.$ac_objext
117492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117493 (eval $ac_compile) 2>conftest.er1
117494 ac_status=$?
117495 grep -v '^ *+' conftest.er1 >conftest.err
117496 rm -f conftest.er1
117497 cat conftest.err >&5
117498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117499 (exit $ac_status); } &&
117500 { ac_try='test -z "$ac_c_werror_flag"
117501 || test ! -s conftest.err'
117502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117503 (eval $ac_try) 2>&5
117504 ac_status=$?
117505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117506 (exit $ac_status); }; } &&
117507 { ac_try='test -s conftest.$ac_objext'
117508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117509 (eval $ac_try) 2>&5
117510 ac_status=$?
117511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117512 (exit $ac_status); }; }; then
117513 ac_cv_type_int=yes
117515 echo "$as_me: failed program was:" >&5
117516 sed 's/^/| /' conftest.$ac_ext >&5
117518 ac_cv_type_int=no
117520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117522 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117523 echo "${ECHO_T}$ac_cv_type_int" >&6
117525 echo "$as_me:$LINENO: checking size of int" >&5
117526 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117527 if test "${ac_cv_sizeof_int+set}" = set; then
117528 echo $ECHO_N "(cached) $ECHO_C" >&6
117530 if test "$ac_cv_type_int" = yes; then
117531 # The cast to unsigned long works around a bug in the HP C Compiler
117532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117534 # This bug is HP SR number 8606223364.
117535 if test "$cross_compiling" = yes; then
117536 # Depending upon the size, compute the lo and hi bounds.
117537 cat >conftest.$ac_ext <<_ACEOF
117538 /* confdefs.h. */
117539 _ACEOF
117540 cat confdefs.h >>conftest.$ac_ext
117541 cat >>conftest.$ac_ext <<_ACEOF
117542 /* end confdefs.h. */
117543 $ac_includes_default
117545 main ()
117547 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117548 test_array [0] = 0
117551 return 0;
117553 _ACEOF
117554 rm -f conftest.$ac_objext
117555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117556 (eval $ac_compile) 2>conftest.er1
117557 ac_status=$?
117558 grep -v '^ *+' conftest.er1 >conftest.err
117559 rm -f conftest.er1
117560 cat conftest.err >&5
117561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117562 (exit $ac_status); } &&
117563 { ac_try='test -z "$ac_c_werror_flag"
117564 || test ! -s conftest.err'
117565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117566 (eval $ac_try) 2>&5
117567 ac_status=$?
117568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117569 (exit $ac_status); }; } &&
117570 { ac_try='test -s conftest.$ac_objext'
117571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117572 (eval $ac_try) 2>&5
117573 ac_status=$?
117574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117575 (exit $ac_status); }; }; then
117576 ac_lo=0 ac_mid=0
117577 while :; do
117578 cat >conftest.$ac_ext <<_ACEOF
117579 /* confdefs.h. */
117580 _ACEOF
117581 cat confdefs.h >>conftest.$ac_ext
117582 cat >>conftest.$ac_ext <<_ACEOF
117583 /* end confdefs.h. */
117584 $ac_includes_default
117586 main ()
117588 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117589 test_array [0] = 0
117592 return 0;
117594 _ACEOF
117595 rm -f conftest.$ac_objext
117596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117597 (eval $ac_compile) 2>conftest.er1
117598 ac_status=$?
117599 grep -v '^ *+' conftest.er1 >conftest.err
117600 rm -f conftest.er1
117601 cat conftest.err >&5
117602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117603 (exit $ac_status); } &&
117604 { ac_try='test -z "$ac_c_werror_flag"
117605 || test ! -s conftest.err'
117606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117607 (eval $ac_try) 2>&5
117608 ac_status=$?
117609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117610 (exit $ac_status); }; } &&
117611 { ac_try='test -s conftest.$ac_objext'
117612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117613 (eval $ac_try) 2>&5
117614 ac_status=$?
117615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117616 (exit $ac_status); }; }; then
117617 ac_hi=$ac_mid; break
117619 echo "$as_me: failed program was:" >&5
117620 sed 's/^/| /' conftest.$ac_ext >&5
117622 ac_lo=`expr $ac_mid + 1`
117623 if test $ac_lo -le $ac_mid; then
117624 ac_lo= ac_hi=
117625 break
117627 ac_mid=`expr 2 '*' $ac_mid + 1`
117629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117632 echo "$as_me: failed program was:" >&5
117633 sed 's/^/| /' conftest.$ac_ext >&5
117635 cat >conftest.$ac_ext <<_ACEOF
117636 /* confdefs.h. */
117637 _ACEOF
117638 cat confdefs.h >>conftest.$ac_ext
117639 cat >>conftest.$ac_ext <<_ACEOF
117640 /* end confdefs.h. */
117641 $ac_includes_default
117643 main ()
117645 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
117646 test_array [0] = 0
117649 return 0;
117651 _ACEOF
117652 rm -f conftest.$ac_objext
117653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117654 (eval $ac_compile) 2>conftest.er1
117655 ac_status=$?
117656 grep -v '^ *+' conftest.er1 >conftest.err
117657 rm -f conftest.er1
117658 cat conftest.err >&5
117659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117660 (exit $ac_status); } &&
117661 { ac_try='test -z "$ac_c_werror_flag"
117662 || test ! -s conftest.err'
117663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117664 (eval $ac_try) 2>&5
117665 ac_status=$?
117666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117667 (exit $ac_status); }; } &&
117668 { ac_try='test -s conftest.$ac_objext'
117669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117670 (eval $ac_try) 2>&5
117671 ac_status=$?
117672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117673 (exit $ac_status); }; }; then
117674 ac_hi=-1 ac_mid=-1
117675 while :; do
117676 cat >conftest.$ac_ext <<_ACEOF
117677 /* confdefs.h. */
117678 _ACEOF
117679 cat confdefs.h >>conftest.$ac_ext
117680 cat >>conftest.$ac_ext <<_ACEOF
117681 /* end confdefs.h. */
117682 $ac_includes_default
117684 main ()
117686 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
117687 test_array [0] = 0
117690 return 0;
117692 _ACEOF
117693 rm -f conftest.$ac_objext
117694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117695 (eval $ac_compile) 2>conftest.er1
117696 ac_status=$?
117697 grep -v '^ *+' conftest.er1 >conftest.err
117698 rm -f conftest.er1
117699 cat conftest.err >&5
117700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117701 (exit $ac_status); } &&
117702 { ac_try='test -z "$ac_c_werror_flag"
117703 || test ! -s conftest.err'
117704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117705 (eval $ac_try) 2>&5
117706 ac_status=$?
117707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117708 (exit $ac_status); }; } &&
117709 { ac_try='test -s conftest.$ac_objext'
117710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117711 (eval $ac_try) 2>&5
117712 ac_status=$?
117713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117714 (exit $ac_status); }; }; then
117715 ac_lo=$ac_mid; break
117717 echo "$as_me: failed program was:" >&5
117718 sed 's/^/| /' conftest.$ac_ext >&5
117720 ac_hi=`expr '(' $ac_mid ')' - 1`
117721 if test $ac_mid -le $ac_hi; then
117722 ac_lo= ac_hi=
117723 break
117725 ac_mid=`expr 2 '*' $ac_mid`
117727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117730 echo "$as_me: failed program was:" >&5
117731 sed 's/^/| /' conftest.$ac_ext >&5
117733 ac_lo= ac_hi=
117735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117738 # Binary search between lo and hi bounds.
117739 while test "x$ac_lo" != "x$ac_hi"; do
117740 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117741 cat >conftest.$ac_ext <<_ACEOF
117742 /* confdefs.h. */
117743 _ACEOF
117744 cat confdefs.h >>conftest.$ac_ext
117745 cat >>conftest.$ac_ext <<_ACEOF
117746 /* end confdefs.h. */
117747 $ac_includes_default
117749 main ()
117751 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117752 test_array [0] = 0
117755 return 0;
117757 _ACEOF
117758 rm -f conftest.$ac_objext
117759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117760 (eval $ac_compile) 2>conftest.er1
117761 ac_status=$?
117762 grep -v '^ *+' conftest.er1 >conftest.err
117763 rm -f conftest.er1
117764 cat conftest.err >&5
117765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117766 (exit $ac_status); } &&
117767 { ac_try='test -z "$ac_c_werror_flag"
117768 || test ! -s conftest.err'
117769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117770 (eval $ac_try) 2>&5
117771 ac_status=$?
117772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117773 (exit $ac_status); }; } &&
117774 { ac_try='test -s conftest.$ac_objext'
117775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117776 (eval $ac_try) 2>&5
117777 ac_status=$?
117778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117779 (exit $ac_status); }; }; then
117780 ac_hi=$ac_mid
117782 echo "$as_me: failed program was:" >&5
117783 sed 's/^/| /' conftest.$ac_ext >&5
117785 ac_lo=`expr '(' $ac_mid ')' + 1`
117787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117789 case $ac_lo in
117790 ?*) ac_cv_sizeof_int=$ac_lo;;
117791 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117792 See \`config.log' for more details." >&5
117793 echo "$as_me: error: cannot compute sizeof (int), 77
117794 See \`config.log' for more details." >&2;}
117795 { (exit 1); exit 1; }; } ;;
117798 if test "$cross_compiling" = yes; then
117799 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117800 See \`config.log' for more details." >&5
117801 echo "$as_me: error: cannot run test program while cross compiling
117802 See \`config.log' for more details." >&2;}
117803 { (exit 1); exit 1; }; }
117805 cat >conftest.$ac_ext <<_ACEOF
117806 /* confdefs.h. */
117807 _ACEOF
117808 cat confdefs.h >>conftest.$ac_ext
117809 cat >>conftest.$ac_ext <<_ACEOF
117810 /* end confdefs.h. */
117811 $ac_includes_default
117812 long longval () { return (long) (sizeof (int)); }
117813 unsigned long ulongval () { return (long) (sizeof (int)); }
117814 #include <stdio.h>
117815 #include <stdlib.h>
117817 main ()
117820 FILE *f = fopen ("conftest.val", "w");
117821 if (! f)
117822 exit (1);
117823 if (((long) (sizeof (int))) < 0)
117825 long i = longval ();
117826 if (i != ((long) (sizeof (int))))
117827 exit (1);
117828 fprintf (f, "%ld\n", i);
117832 unsigned long i = ulongval ();
117833 if (i != ((long) (sizeof (int))))
117834 exit (1);
117835 fprintf (f, "%lu\n", i);
117837 exit (ferror (f) || fclose (f) != 0);
117840 return 0;
117842 _ACEOF
117843 rm -f conftest$ac_exeext
117844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117845 (eval $ac_link) 2>&5
117846 ac_status=$?
117847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117850 (eval $ac_try) 2>&5
117851 ac_status=$?
117852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117853 (exit $ac_status); }; }; then
117854 ac_cv_sizeof_int=`cat conftest.val`
117856 echo "$as_me: program exited with status $ac_status" >&5
117857 echo "$as_me: failed program was:" >&5
117858 sed 's/^/| /' conftest.$ac_ext >&5
117860 ( exit $ac_status )
117861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117862 See \`config.log' for more details." >&5
117863 echo "$as_me: error: cannot compute sizeof (int), 77
117864 See \`config.log' for more details." >&2;}
117865 { (exit 1); exit 1; }; }
117867 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117870 rm -f conftest.val
117872 ac_cv_sizeof_int=0
117875 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
117876 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
117877 cat >>confdefs.h <<_ACEOF
117878 #define SIZEOF_INT $ac_cv_sizeof_int
117879 _ACEOF
117882 echo "$as_me:$LINENO: checking for short" >&5
117883 echo $ECHO_N "checking for short... $ECHO_C" >&6
117884 if test "${ac_cv_type_short+set}" = set; then
117885 echo $ECHO_N "(cached) $ECHO_C" >&6
117887 cat >conftest.$ac_ext <<_ACEOF
117888 /* confdefs.h. */
117889 _ACEOF
117890 cat confdefs.h >>conftest.$ac_ext
117891 cat >>conftest.$ac_ext <<_ACEOF
117892 /* end confdefs.h. */
117893 $ac_includes_default
117895 main ()
117897 if ((short *) 0)
117898 return 0;
117899 if (sizeof (short))
117900 return 0;
117902 return 0;
117904 _ACEOF
117905 rm -f conftest.$ac_objext
117906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117907 (eval $ac_compile) 2>conftest.er1
117908 ac_status=$?
117909 grep -v '^ *+' conftest.er1 >conftest.err
117910 rm -f conftest.er1
117911 cat conftest.err >&5
117912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117913 (exit $ac_status); } &&
117914 { ac_try='test -z "$ac_c_werror_flag"
117915 || test ! -s conftest.err'
117916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117917 (eval $ac_try) 2>&5
117918 ac_status=$?
117919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117920 (exit $ac_status); }; } &&
117921 { ac_try='test -s conftest.$ac_objext'
117922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117923 (eval $ac_try) 2>&5
117924 ac_status=$?
117925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117926 (exit $ac_status); }; }; then
117927 ac_cv_type_short=yes
117929 echo "$as_me: failed program was:" >&5
117930 sed 's/^/| /' conftest.$ac_ext >&5
117932 ac_cv_type_short=no
117934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117936 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
117937 echo "${ECHO_T}$ac_cv_type_short" >&6
117939 echo "$as_me:$LINENO: checking size of short" >&5
117940 echo $ECHO_N "checking size of short... $ECHO_C" >&6
117941 if test "${ac_cv_sizeof_short+set}" = set; then
117942 echo $ECHO_N "(cached) $ECHO_C" >&6
117944 if test "$ac_cv_type_short" = yes; then
117945 # The cast to unsigned long works around a bug in the HP C Compiler
117946 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117947 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117948 # This bug is HP SR number 8606223364.
117949 if test "$cross_compiling" = yes; then
117950 # Depending upon the size, compute the lo and hi bounds.
117951 cat >conftest.$ac_ext <<_ACEOF
117952 /* confdefs.h. */
117953 _ACEOF
117954 cat confdefs.h >>conftest.$ac_ext
117955 cat >>conftest.$ac_ext <<_ACEOF
117956 /* end confdefs.h. */
117957 $ac_includes_default
117959 main ()
117961 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
117962 test_array [0] = 0
117965 return 0;
117967 _ACEOF
117968 rm -f conftest.$ac_objext
117969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117970 (eval $ac_compile) 2>conftest.er1
117971 ac_status=$?
117972 grep -v '^ *+' conftest.er1 >conftest.err
117973 rm -f conftest.er1
117974 cat conftest.err >&5
117975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117976 (exit $ac_status); } &&
117977 { ac_try='test -z "$ac_c_werror_flag"
117978 || test ! -s conftest.err'
117979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117980 (eval $ac_try) 2>&5
117981 ac_status=$?
117982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117983 (exit $ac_status); }; } &&
117984 { ac_try='test -s conftest.$ac_objext'
117985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117986 (eval $ac_try) 2>&5
117987 ac_status=$?
117988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117989 (exit $ac_status); }; }; then
117990 ac_lo=0 ac_mid=0
117991 while :; do
117992 cat >conftest.$ac_ext <<_ACEOF
117993 /* confdefs.h. */
117994 _ACEOF
117995 cat confdefs.h >>conftest.$ac_ext
117996 cat >>conftest.$ac_ext <<_ACEOF
117997 /* end confdefs.h. */
117998 $ac_includes_default
118000 main ()
118002 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118003 test_array [0] = 0
118006 return 0;
118008 _ACEOF
118009 rm -f conftest.$ac_objext
118010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118011 (eval $ac_compile) 2>conftest.er1
118012 ac_status=$?
118013 grep -v '^ *+' conftest.er1 >conftest.err
118014 rm -f conftest.er1
118015 cat conftest.err >&5
118016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118017 (exit $ac_status); } &&
118018 { ac_try='test -z "$ac_c_werror_flag"
118019 || test ! -s conftest.err'
118020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118021 (eval $ac_try) 2>&5
118022 ac_status=$?
118023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118024 (exit $ac_status); }; } &&
118025 { ac_try='test -s conftest.$ac_objext'
118026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118027 (eval $ac_try) 2>&5
118028 ac_status=$?
118029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118030 (exit $ac_status); }; }; then
118031 ac_hi=$ac_mid; break
118033 echo "$as_me: failed program was:" >&5
118034 sed 's/^/| /' conftest.$ac_ext >&5
118036 ac_lo=`expr $ac_mid + 1`
118037 if test $ac_lo -le $ac_mid; then
118038 ac_lo= ac_hi=
118039 break
118041 ac_mid=`expr 2 '*' $ac_mid + 1`
118043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118046 echo "$as_me: failed program was:" >&5
118047 sed 's/^/| /' conftest.$ac_ext >&5
118049 cat >conftest.$ac_ext <<_ACEOF
118050 /* confdefs.h. */
118051 _ACEOF
118052 cat confdefs.h >>conftest.$ac_ext
118053 cat >>conftest.$ac_ext <<_ACEOF
118054 /* end confdefs.h. */
118055 $ac_includes_default
118057 main ()
118059 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118060 test_array [0] = 0
118063 return 0;
118065 _ACEOF
118066 rm -f conftest.$ac_objext
118067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118068 (eval $ac_compile) 2>conftest.er1
118069 ac_status=$?
118070 grep -v '^ *+' conftest.er1 >conftest.err
118071 rm -f conftest.er1
118072 cat conftest.err >&5
118073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118074 (exit $ac_status); } &&
118075 { ac_try='test -z "$ac_c_werror_flag"
118076 || test ! -s conftest.err'
118077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118078 (eval $ac_try) 2>&5
118079 ac_status=$?
118080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118081 (exit $ac_status); }; } &&
118082 { ac_try='test -s conftest.$ac_objext'
118083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118084 (eval $ac_try) 2>&5
118085 ac_status=$?
118086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118087 (exit $ac_status); }; }; then
118088 ac_hi=-1 ac_mid=-1
118089 while :; do
118090 cat >conftest.$ac_ext <<_ACEOF
118091 /* confdefs.h. */
118092 _ACEOF
118093 cat confdefs.h >>conftest.$ac_ext
118094 cat >>conftest.$ac_ext <<_ACEOF
118095 /* end confdefs.h. */
118096 $ac_includes_default
118098 main ()
118100 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118101 test_array [0] = 0
118104 return 0;
118106 _ACEOF
118107 rm -f conftest.$ac_objext
118108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118109 (eval $ac_compile) 2>conftest.er1
118110 ac_status=$?
118111 grep -v '^ *+' conftest.er1 >conftest.err
118112 rm -f conftest.er1
118113 cat conftest.err >&5
118114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118115 (exit $ac_status); } &&
118116 { ac_try='test -z "$ac_c_werror_flag"
118117 || test ! -s conftest.err'
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); }; } &&
118123 { ac_try='test -s conftest.$ac_objext'
118124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118125 (eval $ac_try) 2>&5
118126 ac_status=$?
118127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118128 (exit $ac_status); }; }; then
118129 ac_lo=$ac_mid; break
118131 echo "$as_me: failed program was:" >&5
118132 sed 's/^/| /' conftest.$ac_ext >&5
118134 ac_hi=`expr '(' $ac_mid ')' - 1`
118135 if test $ac_mid -le $ac_hi; then
118136 ac_lo= ac_hi=
118137 break
118139 ac_mid=`expr 2 '*' $ac_mid`
118141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118144 echo "$as_me: failed program was:" >&5
118145 sed 's/^/| /' conftest.$ac_ext >&5
118147 ac_lo= ac_hi=
118149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118152 # Binary search between lo and hi bounds.
118153 while test "x$ac_lo" != "x$ac_hi"; do
118154 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118155 cat >conftest.$ac_ext <<_ACEOF
118156 /* confdefs.h. */
118157 _ACEOF
118158 cat confdefs.h >>conftest.$ac_ext
118159 cat >>conftest.$ac_ext <<_ACEOF
118160 /* end confdefs.h. */
118161 $ac_includes_default
118163 main ()
118165 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118166 test_array [0] = 0
118169 return 0;
118171 _ACEOF
118172 rm -f conftest.$ac_objext
118173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118174 (eval $ac_compile) 2>conftest.er1
118175 ac_status=$?
118176 grep -v '^ *+' conftest.er1 >conftest.err
118177 rm -f conftest.er1
118178 cat conftest.err >&5
118179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118180 (exit $ac_status); } &&
118181 { ac_try='test -z "$ac_c_werror_flag"
118182 || test ! -s conftest.err'
118183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118184 (eval $ac_try) 2>&5
118185 ac_status=$?
118186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118187 (exit $ac_status); }; } &&
118188 { ac_try='test -s conftest.$ac_objext'
118189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118190 (eval $ac_try) 2>&5
118191 ac_status=$?
118192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118193 (exit $ac_status); }; }; then
118194 ac_hi=$ac_mid
118196 echo "$as_me: failed program was:" >&5
118197 sed 's/^/| /' conftest.$ac_ext >&5
118199 ac_lo=`expr '(' $ac_mid ')' + 1`
118201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118203 case $ac_lo in
118204 ?*) ac_cv_sizeof_short=$ac_lo;;
118205 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118206 See \`config.log' for more details." >&5
118207 echo "$as_me: error: cannot compute sizeof (short), 77
118208 See \`config.log' for more details." >&2;}
118209 { (exit 1); exit 1; }; } ;;
118212 if test "$cross_compiling" = yes; then
118213 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118214 See \`config.log' for more details." >&5
118215 echo "$as_me: error: cannot run test program while cross compiling
118216 See \`config.log' for more details." >&2;}
118217 { (exit 1); exit 1; }; }
118219 cat >conftest.$ac_ext <<_ACEOF
118220 /* confdefs.h. */
118221 _ACEOF
118222 cat confdefs.h >>conftest.$ac_ext
118223 cat >>conftest.$ac_ext <<_ACEOF
118224 /* end confdefs.h. */
118225 $ac_includes_default
118226 long longval () { return (long) (sizeof (short)); }
118227 unsigned long ulongval () { return (long) (sizeof (short)); }
118228 #include <stdio.h>
118229 #include <stdlib.h>
118231 main ()
118234 FILE *f = fopen ("conftest.val", "w");
118235 if (! f)
118236 exit (1);
118237 if (((long) (sizeof (short))) < 0)
118239 long i = longval ();
118240 if (i != ((long) (sizeof (short))))
118241 exit (1);
118242 fprintf (f, "%ld\n", i);
118246 unsigned long i = ulongval ();
118247 if (i != ((long) (sizeof (short))))
118248 exit (1);
118249 fprintf (f, "%lu\n", i);
118251 exit (ferror (f) || fclose (f) != 0);
118254 return 0;
118256 _ACEOF
118257 rm -f conftest$ac_exeext
118258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118259 (eval $ac_link) 2>&5
118260 ac_status=$?
118261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118264 (eval $ac_try) 2>&5
118265 ac_status=$?
118266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118267 (exit $ac_status); }; }; then
118268 ac_cv_sizeof_short=`cat conftest.val`
118270 echo "$as_me: program exited with status $ac_status" >&5
118271 echo "$as_me: failed program was:" >&5
118272 sed 's/^/| /' conftest.$ac_ext >&5
118274 ( exit $ac_status )
118275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118276 See \`config.log' for more details." >&5
118277 echo "$as_me: error: cannot compute sizeof (short), 77
118278 See \`config.log' for more details." >&2;}
118279 { (exit 1); exit 1; }; }
118281 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118284 rm -f conftest.val
118286 ac_cv_sizeof_short=0
118289 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
118290 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
118291 cat >>confdefs.h <<_ACEOF
118292 #define SIZEOF_SHORT $ac_cv_sizeof_short
118293 _ACEOF
118296 echo "$as_me:$LINENO: checking for char" >&5
118297 echo $ECHO_N "checking for char... $ECHO_C" >&6
118298 if test "${ac_cv_type_char+set}" = set; then
118299 echo $ECHO_N "(cached) $ECHO_C" >&6
118301 cat >conftest.$ac_ext <<_ACEOF
118302 /* confdefs.h. */
118303 _ACEOF
118304 cat confdefs.h >>conftest.$ac_ext
118305 cat >>conftest.$ac_ext <<_ACEOF
118306 /* end confdefs.h. */
118307 $ac_includes_default
118309 main ()
118311 if ((char *) 0)
118312 return 0;
118313 if (sizeof (char))
118314 return 0;
118316 return 0;
118318 _ACEOF
118319 rm -f conftest.$ac_objext
118320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118321 (eval $ac_compile) 2>conftest.er1
118322 ac_status=$?
118323 grep -v '^ *+' conftest.er1 >conftest.err
118324 rm -f conftest.er1
118325 cat conftest.err >&5
118326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118327 (exit $ac_status); } &&
118328 { ac_try='test -z "$ac_c_werror_flag"
118329 || test ! -s conftest.err'
118330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118331 (eval $ac_try) 2>&5
118332 ac_status=$?
118333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118334 (exit $ac_status); }; } &&
118335 { ac_try='test -s conftest.$ac_objext'
118336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118337 (eval $ac_try) 2>&5
118338 ac_status=$?
118339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118340 (exit $ac_status); }; }; then
118341 ac_cv_type_char=yes
118343 echo "$as_me: failed program was:" >&5
118344 sed 's/^/| /' conftest.$ac_ext >&5
118346 ac_cv_type_char=no
118348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118350 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
118351 echo "${ECHO_T}$ac_cv_type_char" >&6
118353 echo "$as_me:$LINENO: checking size of char" >&5
118354 echo $ECHO_N "checking size of char... $ECHO_C" >&6
118355 if test "${ac_cv_sizeof_char+set}" = set; then
118356 echo $ECHO_N "(cached) $ECHO_C" >&6
118358 if test "$ac_cv_type_char" = yes; then
118359 # The cast to unsigned long works around a bug in the HP C Compiler
118360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118362 # This bug is HP SR number 8606223364.
118363 if test "$cross_compiling" = yes; then
118364 # Depending upon the size, compute the lo and hi bounds.
118365 cat >conftest.$ac_ext <<_ACEOF
118366 /* confdefs.h. */
118367 _ACEOF
118368 cat confdefs.h >>conftest.$ac_ext
118369 cat >>conftest.$ac_ext <<_ACEOF
118370 /* end confdefs.h. */
118371 $ac_includes_default
118373 main ()
118375 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
118376 test_array [0] = 0
118379 return 0;
118381 _ACEOF
118382 rm -f conftest.$ac_objext
118383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118384 (eval $ac_compile) 2>conftest.er1
118385 ac_status=$?
118386 grep -v '^ *+' conftest.er1 >conftest.err
118387 rm -f conftest.er1
118388 cat conftest.err >&5
118389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118390 (exit $ac_status); } &&
118391 { ac_try='test -z "$ac_c_werror_flag"
118392 || test ! -s conftest.err'
118393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118394 (eval $ac_try) 2>&5
118395 ac_status=$?
118396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118397 (exit $ac_status); }; } &&
118398 { ac_try='test -s conftest.$ac_objext'
118399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118400 (eval $ac_try) 2>&5
118401 ac_status=$?
118402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118403 (exit $ac_status); }; }; then
118404 ac_lo=0 ac_mid=0
118405 while :; do
118406 cat >conftest.$ac_ext <<_ACEOF
118407 /* confdefs.h. */
118408 _ACEOF
118409 cat confdefs.h >>conftest.$ac_ext
118410 cat >>conftest.$ac_ext <<_ACEOF
118411 /* end confdefs.h. */
118412 $ac_includes_default
118414 main ()
118416 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118417 test_array [0] = 0
118420 return 0;
118422 _ACEOF
118423 rm -f conftest.$ac_objext
118424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118425 (eval $ac_compile) 2>conftest.er1
118426 ac_status=$?
118427 grep -v '^ *+' conftest.er1 >conftest.err
118428 rm -f conftest.er1
118429 cat conftest.err >&5
118430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118431 (exit $ac_status); } &&
118432 { ac_try='test -z "$ac_c_werror_flag"
118433 || test ! -s conftest.err'
118434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118435 (eval $ac_try) 2>&5
118436 ac_status=$?
118437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118438 (exit $ac_status); }; } &&
118439 { ac_try='test -s conftest.$ac_objext'
118440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118441 (eval $ac_try) 2>&5
118442 ac_status=$?
118443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118444 (exit $ac_status); }; }; then
118445 ac_hi=$ac_mid; break
118447 echo "$as_me: failed program was:" >&5
118448 sed 's/^/| /' conftest.$ac_ext >&5
118450 ac_lo=`expr $ac_mid + 1`
118451 if test $ac_lo -le $ac_mid; then
118452 ac_lo= ac_hi=
118453 break
118455 ac_mid=`expr 2 '*' $ac_mid + 1`
118457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118460 echo "$as_me: failed program was:" >&5
118461 sed 's/^/| /' conftest.$ac_ext >&5
118463 cat >conftest.$ac_ext <<_ACEOF
118464 /* confdefs.h. */
118465 _ACEOF
118466 cat confdefs.h >>conftest.$ac_ext
118467 cat >>conftest.$ac_ext <<_ACEOF
118468 /* end confdefs.h. */
118469 $ac_includes_default
118471 main ()
118473 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
118474 test_array [0] = 0
118477 return 0;
118479 _ACEOF
118480 rm -f conftest.$ac_objext
118481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118482 (eval $ac_compile) 2>conftest.er1
118483 ac_status=$?
118484 grep -v '^ *+' conftest.er1 >conftest.err
118485 rm -f conftest.er1
118486 cat conftest.err >&5
118487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118488 (exit $ac_status); } &&
118489 { ac_try='test -z "$ac_c_werror_flag"
118490 || test ! -s conftest.err'
118491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118492 (eval $ac_try) 2>&5
118493 ac_status=$?
118494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118495 (exit $ac_status); }; } &&
118496 { ac_try='test -s conftest.$ac_objext'
118497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118498 (eval $ac_try) 2>&5
118499 ac_status=$?
118500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118501 (exit $ac_status); }; }; then
118502 ac_hi=-1 ac_mid=-1
118503 while :; do
118504 cat >conftest.$ac_ext <<_ACEOF
118505 /* confdefs.h. */
118506 _ACEOF
118507 cat confdefs.h >>conftest.$ac_ext
118508 cat >>conftest.$ac_ext <<_ACEOF
118509 /* end confdefs.h. */
118510 $ac_includes_default
118512 main ()
118514 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118515 test_array [0] = 0
118518 return 0;
118520 _ACEOF
118521 rm -f conftest.$ac_objext
118522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118523 (eval $ac_compile) 2>conftest.er1
118524 ac_status=$?
118525 grep -v '^ *+' conftest.er1 >conftest.err
118526 rm -f conftest.er1
118527 cat conftest.err >&5
118528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118529 (exit $ac_status); } &&
118530 { ac_try='test -z "$ac_c_werror_flag"
118531 || test ! -s conftest.err'
118532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118533 (eval $ac_try) 2>&5
118534 ac_status=$?
118535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118536 (exit $ac_status); }; } &&
118537 { ac_try='test -s conftest.$ac_objext'
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_lo=$ac_mid; break
118545 echo "$as_me: failed program was:" >&5
118546 sed 's/^/| /' conftest.$ac_ext >&5
118548 ac_hi=`expr '(' $ac_mid ')' - 1`
118549 if test $ac_mid -le $ac_hi; then
118550 ac_lo= ac_hi=
118551 break
118553 ac_mid=`expr 2 '*' $ac_mid`
118555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118558 echo "$as_me: failed program was:" >&5
118559 sed 's/^/| /' conftest.$ac_ext >&5
118561 ac_lo= ac_hi=
118563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118566 # Binary search between lo and hi bounds.
118567 while test "x$ac_lo" != "x$ac_hi"; do
118568 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118569 cat >conftest.$ac_ext <<_ACEOF
118570 /* confdefs.h. */
118571 _ACEOF
118572 cat confdefs.h >>conftest.$ac_ext
118573 cat >>conftest.$ac_ext <<_ACEOF
118574 /* end confdefs.h. */
118575 $ac_includes_default
118577 main ()
118579 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118580 test_array [0] = 0
118583 return 0;
118585 _ACEOF
118586 rm -f conftest.$ac_objext
118587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118588 (eval $ac_compile) 2>conftest.er1
118589 ac_status=$?
118590 grep -v '^ *+' conftest.er1 >conftest.err
118591 rm -f conftest.er1
118592 cat conftest.err >&5
118593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118594 (exit $ac_status); } &&
118595 { ac_try='test -z "$ac_c_werror_flag"
118596 || test ! -s conftest.err'
118597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118598 (eval $ac_try) 2>&5
118599 ac_status=$?
118600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118601 (exit $ac_status); }; } &&
118602 { ac_try='test -s conftest.$ac_objext'
118603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118604 (eval $ac_try) 2>&5
118605 ac_status=$?
118606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118607 (exit $ac_status); }; }; then
118608 ac_hi=$ac_mid
118610 echo "$as_me: failed program was:" >&5
118611 sed 's/^/| /' conftest.$ac_ext >&5
118613 ac_lo=`expr '(' $ac_mid ')' + 1`
118615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118617 case $ac_lo in
118618 ?*) ac_cv_sizeof_char=$ac_lo;;
118619 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118620 See \`config.log' for more details." >&5
118621 echo "$as_me: error: cannot compute sizeof (char), 77
118622 See \`config.log' for more details." >&2;}
118623 { (exit 1); exit 1; }; } ;;
118626 if test "$cross_compiling" = yes; then
118627 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118628 See \`config.log' for more details." >&5
118629 echo "$as_me: error: cannot run test program while cross compiling
118630 See \`config.log' for more details." >&2;}
118631 { (exit 1); exit 1; }; }
118633 cat >conftest.$ac_ext <<_ACEOF
118634 /* confdefs.h. */
118635 _ACEOF
118636 cat confdefs.h >>conftest.$ac_ext
118637 cat >>conftest.$ac_ext <<_ACEOF
118638 /* end confdefs.h. */
118639 $ac_includes_default
118640 long longval () { return (long) (sizeof (char)); }
118641 unsigned long ulongval () { return (long) (sizeof (char)); }
118642 #include <stdio.h>
118643 #include <stdlib.h>
118645 main ()
118648 FILE *f = fopen ("conftest.val", "w");
118649 if (! f)
118650 exit (1);
118651 if (((long) (sizeof (char))) < 0)
118653 long i = longval ();
118654 if (i != ((long) (sizeof (char))))
118655 exit (1);
118656 fprintf (f, "%ld\n", i);
118660 unsigned long i = ulongval ();
118661 if (i != ((long) (sizeof (char))))
118662 exit (1);
118663 fprintf (f, "%lu\n", i);
118665 exit (ferror (f) || fclose (f) != 0);
118668 return 0;
118670 _ACEOF
118671 rm -f conftest$ac_exeext
118672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118673 (eval $ac_link) 2>&5
118674 ac_status=$?
118675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118678 (eval $ac_try) 2>&5
118679 ac_status=$?
118680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118681 (exit $ac_status); }; }; then
118682 ac_cv_sizeof_char=`cat conftest.val`
118684 echo "$as_me: program exited with status $ac_status" >&5
118685 echo "$as_me: failed program was:" >&5
118686 sed 's/^/| /' conftest.$ac_ext >&5
118688 ( exit $ac_status )
118689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118690 See \`config.log' for more details." >&5
118691 echo "$as_me: error: cannot compute sizeof (char), 77
118692 See \`config.log' for more details." >&2;}
118693 { (exit 1); exit 1; }; }
118695 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118698 rm -f conftest.val
118700 ac_cv_sizeof_char=0
118703 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
118704 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
118705 cat >>confdefs.h <<_ACEOF
118706 #define SIZEOF_CHAR $ac_cv_sizeof_char
118707 _ACEOF
118711 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
118712 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
118713 case "$ac_cv_sizeof_char" in
118714 1) acx_cv_type_int8_t=char ;;
118715 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
118716 echo "$as_me: error: no 8-bit type" >&2;}
118717 { (exit please report a bug); exit please report a bug; }; }
118719 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
118720 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
118722 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
118723 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
118724 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
118725 2:*) acx_cv_type_int16_t=int ;;
118726 *:2) acx_cv_type_int16_t=short ;;
118727 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
118728 echo "$as_me: error: no 16-bit type" >&2;}
118729 { (exit please report a bug); exit please report a bug; }; }
118731 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
118732 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
118734 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
118735 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
118736 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
118737 4:*) acx_cv_type_int32_t=int ;;
118738 *:4) acx_cv_type_int32_t=long ;;
118739 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
118740 echo "$as_me: error: no 32-bit type" >&2;}
118741 { (exit please report a bug); exit please report a bug; }; }
118743 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
118744 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
118747 # These tests are here to make the output prettier
118749 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
118750 case "$ac_cv_sizeof_long" in
118751 8) acx_cv_type_int64_t=long ;;
118753 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
118754 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
118755 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
118756 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
118759 # Now we can use the above types
118761 if test "$ac_cv_type_uintptr_t" != yes; then
118762 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
118763 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
118764 case $ac_cv_sizeof_void_p in
118765 2) acx_cv_type_intptr_t=int16_t ;;
118766 4) acx_cv_type_intptr_t=int32_t ;;
118767 8) acx_cv_type_intptr_t=int64_t ;;
118768 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
118769 echo "$as_me: error: no equivalent for intptr_t" >&2;}
118770 { (exit please report a bug); exit please report a bug; }; }
118772 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
118773 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
118776 # ----------------- done all checks, emit header -------------
118777 ac_config_commands="$ac_config_commands include/gstdint.h"
118782 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
118785 # Check whether --enable-symvers or --disable-symvers was given.
118786 if test "${enable_symvers+set}" = set; then
118787 enableval="$enable_symvers"
118789 case "$enableval" in
118790 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
118791 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
118792 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
118793 { (exit 1); exit 1; }; } ;;
118797 enable_symvers=yes
118801 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
118802 # don't know enough about $LD to do tricks...
118805 # Turn a 'yes' into a suitable default.
118806 if test x$enable_symvers = xyes ; then
118807 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
118808 enable_symvers=no
118810 if test $with_gnu_ld = yes ; then
118811 enable_symvers=gnu
118813 case ${target_os} in
118814 darwin*)
118815 enable_symvers=darwin ;;
118817 enable_symvers=no ;;
118823 # Check to see if 'darwin' or 'darwin-export' can win.
118824 if test x$enable_symvers = xdarwin-export ; then
118825 enable_symvers=darwin
118828 # Check to see if 'gnu' can win.
118829 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
118830 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
118831 echo "$as_me:$LINENO: checking for shared libgcc" >&5
118832 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
118833 ac_save_CFLAGS="$CFLAGS"
118834 CFLAGS=' -lgcc_s'
118835 if test x$gcc_no_link = xyes; then
118836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118838 { (exit 1); exit 1; }; }
118840 cat >conftest.$ac_ext <<_ACEOF
118841 /* confdefs.h. */
118842 _ACEOF
118843 cat confdefs.h >>conftest.$ac_ext
118844 cat >>conftest.$ac_ext <<_ACEOF
118845 /* end confdefs.h. */
118848 main ()
118850 return 0;
118852 return 0;
118854 _ACEOF
118855 rm -f conftest.$ac_objext conftest$ac_exeext
118856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118857 (eval $ac_link) 2>conftest.er1
118858 ac_status=$?
118859 grep -v '^ *+' conftest.er1 >conftest.err
118860 rm -f conftest.er1
118861 cat conftest.err >&5
118862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118863 (exit $ac_status); } &&
118864 { ac_try='test -z "$ac_c_werror_flag"
118865 || test ! -s conftest.err'
118866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118867 (eval $ac_try) 2>&5
118868 ac_status=$?
118869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118870 (exit $ac_status); }; } &&
118871 { ac_try='test -s conftest$ac_exeext'
118872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118873 (eval $ac_try) 2>&5
118874 ac_status=$?
118875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118876 (exit $ac_status); }; }; then
118877 glibcxx_shared_libgcc=yes
118879 echo "$as_me: failed program was:" >&5
118880 sed 's/^/| /' conftest.$ac_ext >&5
118882 glibcxx_shared_libgcc=no
118884 rm -f conftest.err conftest.$ac_objext \
118885 conftest$ac_exeext conftest.$ac_ext
118886 CFLAGS="$ac_save_CFLAGS"
118887 if test $glibcxx_shared_libgcc = no; then
118888 cat > conftest.c <<EOF
118889 int main (void) { return 0; }
118891 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
118892 -shared -shared-libgcc -o conftest.so \
118893 conftest.c -v 2>&1 >/dev/null \
118894 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
118895 rm -f conftest.c conftest.so
118896 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
118897 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
118898 if test x$gcc_no_link = xyes; then
118899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118901 { (exit 1); exit 1; }; }
118903 cat >conftest.$ac_ext <<_ACEOF
118904 /* confdefs.h. */
118905 _ACEOF
118906 cat confdefs.h >>conftest.$ac_ext
118907 cat >>conftest.$ac_ext <<_ACEOF
118908 /* end confdefs.h. */
118911 main ()
118913 return 0;
118915 return 0;
118917 _ACEOF
118918 rm -f conftest.$ac_objext conftest$ac_exeext
118919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118920 (eval $ac_link) 2>conftest.er1
118921 ac_status=$?
118922 grep -v '^ *+' conftest.er1 >conftest.err
118923 rm -f conftest.er1
118924 cat conftest.err >&5
118925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118926 (exit $ac_status); } &&
118927 { ac_try='test -z "$ac_c_werror_flag"
118928 || test ! -s conftest.err'
118929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118930 (eval $ac_try) 2>&5
118931 ac_status=$?
118932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118933 (exit $ac_status); }; } &&
118934 { ac_try='test -s conftest$ac_exeext'
118935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118936 (eval $ac_try) 2>&5
118937 ac_status=$?
118938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118939 (exit $ac_status); }; }; then
118940 glibcxx_shared_libgcc=yes
118942 echo "$as_me: failed program was:" >&5
118943 sed 's/^/| /' conftest.$ac_ext >&5
118946 rm -f conftest.err conftest.$ac_objext \
118947 conftest$ac_exeext conftest.$ac_ext
118948 CFLAGS="$ac_save_CFLAGS"
118951 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
118952 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
118954 # For GNU ld, we need at least this version. The format is described in
118955 # GLIBCXX_CHECK_LINKER_FEATURES above.
118956 glibcxx_min_gnu_ld_version=21400
118958 # If no shared libgcc, can't win.
118959 if test $glibcxx_shared_libgcc != yes; then
118960 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118961 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118962 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
118963 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
118964 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118965 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118966 enable_symvers=no
118967 elif test $with_gnu_ld != yes ; then
118968 # just fail for now
118969 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118970 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118971 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
118972 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
118973 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118974 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118975 enable_symvers=no
118976 elif test $glibcxx_ld_is_gold = yes ; then
118977 : All versions of gold support symbol versioning.
118978 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
118979 # The right tools, the right setup, but too old. Fallbacks?
118980 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
118981 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
118982 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
118983 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
118984 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
118985 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
118986 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
118987 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
118988 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118989 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118990 enable_symvers=no
118994 # Everything parsed; figure out what file to use.
118995 case $enable_symvers in
118997 SYMVER_FILE=config/abi/pre/none.ver
119000 SYMVER_FILE=config/abi/pre/gnu.ver
119002 cat >>confdefs.h <<\_ACEOF
119003 #define _GLIBCXX_SYMVER_GNU 1
119004 _ACEOF
119007 gnu-versioned-namespace)
119008 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
119010 cat >>confdefs.h <<\_ACEOF
119011 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
119012 _ACEOF
119015 darwin)
119016 SYMVER_FILE=config/abi/pre/gnu.ver
119018 cat >>confdefs.h <<\_ACEOF
119019 #define _GLIBCXX_SYMVER_DARWIN 1
119020 _ACEOF
119025 if test x$enable_symvers != xno ; then
119027 cat >>confdefs.h <<\_ACEOF
119028 #define _GLIBCXX_SYMVER 1
119029 _ACEOF
119039 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
119040 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119042 # Now, set up compatibility support, if any.
119043 # In addition, need this to deal with std::size_t mangling in
119044 # src/compatibility.cc. In a perfect world, could use
119045 # typeid(std::size_t).name()[0] to do direct substitution.
119046 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119047 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119048 ac_save_CFLAGS="$CFLAGS"
119049 CFLAGS="-Werror"
119050 cat >conftest.$ac_ext <<_ACEOF
119051 /* confdefs.h. */
119052 _ACEOF
119053 cat confdefs.h >>conftest.$ac_ext
119054 cat >>conftest.$ac_ext <<_ACEOF
119055 /* end confdefs.h. */
119058 main ()
119060 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119062 return 0;
119064 _ACEOF
119065 rm -f conftest.$ac_objext
119066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119067 (eval $ac_compile) 2>conftest.er1
119068 ac_status=$?
119069 grep -v '^ *+' conftest.er1 >conftest.err
119070 rm -f conftest.er1
119071 cat conftest.err >&5
119072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119073 (exit $ac_status); } &&
119074 { ac_try='test -z "$ac_c_werror_flag"
119075 || test ! -s conftest.err'
119076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119077 (eval $ac_try) 2>&5
119078 ac_status=$?
119079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119080 (exit $ac_status); }; } &&
119081 { ac_try='test -s conftest.$ac_objext'
119082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119083 (eval $ac_try) 2>&5
119084 ac_status=$?
119085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119086 (exit $ac_status); }; }; then
119087 glibcxx_size_t_is_i=yes
119089 echo "$as_me: failed program was:" >&5
119090 sed 's/^/| /' conftest.$ac_ext >&5
119092 glibcxx_size_t_is_i=no
119094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119095 CFLAGS=$ac_save_CFLAGS
119096 if test "$glibcxx_size_t_is_i" = yes; then
119098 cat >>confdefs.h <<\_ACEOF
119099 #define _GLIBCXX_SIZE_T_IS_UINT 1
119100 _ACEOF
119103 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119104 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119106 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119107 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119108 ac_save_CFLAGS="$CFLAGS"
119109 CFLAGS="-Werror"
119110 cat >conftest.$ac_ext <<_ACEOF
119111 /* confdefs.h. */
119112 _ACEOF
119113 cat confdefs.h >>conftest.$ac_ext
119114 cat >>conftest.$ac_ext <<_ACEOF
119115 /* end confdefs.h. */
119118 main ()
119120 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119122 return 0;
119124 _ACEOF
119125 rm -f conftest.$ac_objext
119126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119127 (eval $ac_compile) 2>conftest.er1
119128 ac_status=$?
119129 grep -v '^ *+' conftest.er1 >conftest.err
119130 rm -f conftest.er1
119131 cat conftest.err >&5
119132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119133 (exit $ac_status); } &&
119134 { ac_try='test -z "$ac_c_werror_flag"
119135 || test ! -s conftest.err'
119136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119137 (eval $ac_try) 2>&5
119138 ac_status=$?
119139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119140 (exit $ac_status); }; } &&
119141 { ac_try='test -s conftest.$ac_objext'
119142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119143 (eval $ac_try) 2>&5
119144 ac_status=$?
119145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119146 (exit $ac_status); }; }; then
119147 glibcxx_ptrdiff_t_is_i=yes
119149 echo "$as_me: failed program was:" >&5
119150 sed 's/^/| /' conftest.$ac_ext >&5
119152 glibcxx_ptrdiff_t_is_i=no
119154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119155 CFLAGS=$ac_save_CFLAGS
119156 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
119158 cat >>confdefs.h <<\_ACEOF
119159 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
119160 _ACEOF
119163 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
119164 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
119167 # Check whether --enable-visibility or --disable-visibility was given.
119168 if test "${enable_visibility+set}" = set; then
119169 enableval="$enable_visibility"
119171 case "$enableval" in
119172 yes|no) ;;
119173 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
119174 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
119175 { (exit 1); exit 1; }; } ;;
119179 enable_visibility=yes
119183 if test x$enable_visibility = xyes ; then
119184 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
119185 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
119186 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
119187 echo $ECHO_N "(cached) $ECHO_C" >&6
119190 save_CFLAGS="$CFLAGS"
119191 CFLAGS="$CFLAGS -Werror"
119192 cat >conftest.$ac_ext <<_ACEOF
119193 /* confdefs.h. */
119194 _ACEOF
119195 cat confdefs.h >>conftest.$ac_ext
119196 cat >>conftest.$ac_ext <<_ACEOF
119197 /* end confdefs.h. */
119198 void __attribute__((visibility("hidden"))) foo(void) { }
119200 main ()
119204 return 0;
119206 _ACEOF
119207 rm -f conftest.$ac_objext
119208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119209 (eval $ac_compile) 2>conftest.er1
119210 ac_status=$?
119211 grep -v '^ *+' conftest.er1 >conftest.err
119212 rm -f conftest.er1
119213 cat conftest.err >&5
119214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119215 (exit $ac_status); } &&
119216 { ac_try='test -z "$ac_c_werror_flag"
119217 || test ! -s conftest.err'
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); }; } &&
119223 { ac_try='test -s conftest.$ac_objext'
119224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119225 (eval $ac_try) 2>&5
119226 ac_status=$?
119227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119228 (exit $ac_status); }; }; then
119229 glibcxx_cv_have_attribute_visibility=yes
119231 echo "$as_me: failed program was:" >&5
119232 sed 's/^/| /' conftest.$ac_ext >&5
119234 glibcxx_cv_have_attribute_visibility=no
119236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119237 CFLAGS="$save_CFLAGS"
119239 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
119240 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
119241 if test $glibcxx_cv_have_attribute_visibility = no; then
119242 enable_visibility=no
119247 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
119248 echo "$as_me: visibility supported: $enable_visibility" >&6;}
119251 ac_ldbl_compat=no
119252 case "$target" in
119253 powerpc*-*-linux* | \
119254 powerpc*-*-gnu* | \
119255 sparc*-*-linux* | \
119256 s390*-*-linux* | \
119257 alpha*-*-linux*)
119258 cat >conftest.$ac_ext <<_ACEOF
119259 /* confdefs.h. */
119260 _ACEOF
119261 cat confdefs.h >>conftest.$ac_ext
119262 cat >>conftest.$ac_ext <<_ACEOF
119263 /* end confdefs.h. */
119266 main ()
119269 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
119270 #error no need for long double compatibility
119271 #endif
119274 return 0;
119276 _ACEOF
119277 rm -f conftest.$ac_objext
119278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119279 (eval $ac_compile) 2>conftest.er1
119280 ac_status=$?
119281 grep -v '^ *+' conftest.er1 >conftest.err
119282 rm -f conftest.er1
119283 cat conftest.err >&5
119284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119285 (exit $ac_status); } &&
119286 { ac_try='test -z "$ac_c_werror_flag"
119287 || test ! -s conftest.err'
119288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119289 (eval $ac_try) 2>&5
119290 ac_status=$?
119291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119292 (exit $ac_status); }; } &&
119293 { ac_try='test -s conftest.$ac_objext'
119294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119295 (eval $ac_try) 2>&5
119296 ac_status=$?
119297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119298 (exit $ac_status); }; }; then
119299 ac_ldbl_compat=yes
119301 echo "$as_me: failed program was:" >&5
119302 sed 's/^/| /' conftest.$ac_ext >&5
119304 ac_ldbl_compat=no
119306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119307 if test "$ac_ldbl_compat" = yes; then
119309 cat >>confdefs.h <<\_ACEOF
119310 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
119311 _ACEOF
119313 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
119318 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
119320 if $GLIBCXX_IS_NATIVE ; then
119321 # Do checks for resource limit functions.
119323 setrlimit_have_headers=yes
119327 for ac_header in unistd.h sys/time.h sys/resource.h
119329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
119330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119331 echo "$as_me:$LINENO: checking for $ac_header" >&5
119332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119334 echo $ECHO_N "(cached) $ECHO_C" >&6
119336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119339 # Is the header compilable?
119340 echo "$as_me:$LINENO: checking $ac_header usability" >&5
119341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
119342 cat >conftest.$ac_ext <<_ACEOF
119343 /* confdefs.h. */
119344 _ACEOF
119345 cat confdefs.h >>conftest.$ac_ext
119346 cat >>conftest.$ac_ext <<_ACEOF
119347 /* end confdefs.h. */
119348 $ac_includes_default
119349 #include <$ac_header>
119350 _ACEOF
119351 rm -f conftest.$ac_objext
119352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119353 (eval $ac_compile) 2>conftest.er1
119354 ac_status=$?
119355 grep -v '^ *+' conftest.er1 >conftest.err
119356 rm -f conftest.er1
119357 cat conftest.err >&5
119358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119359 (exit $ac_status); } &&
119360 { ac_try='test -z "$ac_c_werror_flag"
119361 || test ! -s conftest.err'
119362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119363 (eval $ac_try) 2>&5
119364 ac_status=$?
119365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119366 (exit $ac_status); }; } &&
119367 { ac_try='test -s conftest.$ac_objext'
119368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119369 (eval $ac_try) 2>&5
119370 ac_status=$?
119371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119372 (exit $ac_status); }; }; then
119373 ac_header_compiler=yes
119375 echo "$as_me: failed program was:" >&5
119376 sed 's/^/| /' conftest.$ac_ext >&5
119378 ac_header_compiler=no
119380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
119382 echo "${ECHO_T}$ac_header_compiler" >&6
119384 # Is the header present?
119385 echo "$as_me:$LINENO: checking $ac_header presence" >&5
119386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
119387 cat >conftest.$ac_ext <<_ACEOF
119388 /* confdefs.h. */
119389 _ACEOF
119390 cat confdefs.h >>conftest.$ac_ext
119391 cat >>conftest.$ac_ext <<_ACEOF
119392 /* end confdefs.h. */
119393 #include <$ac_header>
119394 _ACEOF
119395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
119396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
119397 ac_status=$?
119398 grep -v '^ *+' conftest.er1 >conftest.err
119399 rm -f conftest.er1
119400 cat conftest.err >&5
119401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119402 (exit $ac_status); } >/dev/null; then
119403 if test -s conftest.err; then
119404 ac_cpp_err=$ac_c_preproc_warn_flag
119405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
119407 ac_cpp_err=
119410 ac_cpp_err=yes
119412 if test -z "$ac_cpp_err"; then
119413 ac_header_preproc=yes
119415 echo "$as_me: failed program was:" >&5
119416 sed 's/^/| /' conftest.$ac_ext >&5
119418 ac_header_preproc=no
119420 rm -f conftest.err conftest.$ac_ext
119421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
119422 echo "${ECHO_T}$ac_header_preproc" >&6
119424 # So? What about this header?
119425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
119426 yes:no: )
119427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
119428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
119429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
119430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
119431 ac_header_preproc=yes
119433 no:yes:* )
119434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
119435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
119436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
119437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
119438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
119439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
119440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
119441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
119442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
119443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
119444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
119445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
119447 cat <<\_ASBOX
119448 ## ----------------------------------------- ##
119449 ## Report this to the package-unused lists. ##
119450 ## ----------------------------------------- ##
119451 _ASBOX
119453 sed "s/^/$as_me: WARNING: /" >&2
119456 echo "$as_me:$LINENO: checking for $ac_header" >&5
119457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119459 echo $ECHO_N "(cached) $ECHO_C" >&6
119461 eval "$as_ac_Header=\$ac_header_preproc"
119463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
119468 cat >>confdefs.h <<_ACEOF
119469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
119470 _ACEOF
119473 setrlimit_have_headers=no
119478 # If don't have the headers, then we can't run the tests now, and we
119479 # won't be seeing any of these during testsuite compilation.
119480 if test $setrlimit_have_headers = yes; then
119481 # Can't do these in a loop, else the resulting syntax is wrong.
119483 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
119484 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119485 cat >conftest.$ac_ext <<_ACEOF
119486 /* confdefs.h. */
119487 _ACEOF
119488 cat confdefs.h >>conftest.$ac_ext
119489 cat >>conftest.$ac_ext <<_ACEOF
119490 /* end confdefs.h. */
119491 #include <unistd.h>
119492 #include <sys/time.h>
119493 #include <sys/resource.h>
119496 main ()
119498 int f = RLIMIT_DATA ;
119500 return 0;
119502 _ACEOF
119503 rm -f conftest.$ac_objext
119504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119505 (eval $ac_compile) 2>conftest.er1
119506 ac_status=$?
119507 grep -v '^ *+' conftest.er1 >conftest.err
119508 rm -f conftest.er1
119509 cat conftest.err >&5
119510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119511 (exit $ac_status); } &&
119512 { ac_try='test -z "$ac_c_werror_flag"
119513 || test ! -s conftest.err'
119514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119515 (eval $ac_try) 2>&5
119516 ac_status=$?
119517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119518 (exit $ac_status); }; } &&
119519 { ac_try='test -s conftest.$ac_objext'
119520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119521 (eval $ac_try) 2>&5
119522 ac_status=$?
119523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119524 (exit $ac_status); }; }; then
119525 glibcxx_mresult=1
119527 echo "$as_me: failed program was:" >&5
119528 sed 's/^/| /' conftest.$ac_ext >&5
119530 glibcxx_mresult=0
119532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119534 cat >>confdefs.h <<_ACEOF
119535 #define HAVE_LIMIT_DATA $glibcxx_mresult
119536 _ACEOF
119538 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119539 echo "$as_me:$LINENO: result: $res" >&5
119540 echo "${ECHO_T}$res" >&6
119543 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119544 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119545 cat >conftest.$ac_ext <<_ACEOF
119546 /* confdefs.h. */
119547 _ACEOF
119548 cat confdefs.h >>conftest.$ac_ext
119549 cat >>conftest.$ac_ext <<_ACEOF
119550 /* end confdefs.h. */
119551 #include <unistd.h>
119552 #include <sys/time.h>
119553 #include <sys/resource.h>
119556 main ()
119558 int f = RLIMIT_RSS ;
119560 return 0;
119562 _ACEOF
119563 rm -f conftest.$ac_objext
119564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119565 (eval $ac_compile) 2>conftest.er1
119566 ac_status=$?
119567 grep -v '^ *+' conftest.er1 >conftest.err
119568 rm -f conftest.er1
119569 cat conftest.err >&5
119570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119571 (exit $ac_status); } &&
119572 { ac_try='test -z "$ac_c_werror_flag"
119573 || test ! -s conftest.err'
119574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119575 (eval $ac_try) 2>&5
119576 ac_status=$?
119577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119578 (exit $ac_status); }; } &&
119579 { ac_try='test -s conftest.$ac_objext'
119580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119581 (eval $ac_try) 2>&5
119582 ac_status=$?
119583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119584 (exit $ac_status); }; }; then
119585 glibcxx_mresult=1
119587 echo "$as_me: failed program was:" >&5
119588 sed 's/^/| /' conftest.$ac_ext >&5
119590 glibcxx_mresult=0
119592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119594 cat >>confdefs.h <<_ACEOF
119595 #define HAVE_LIMIT_RSS $glibcxx_mresult
119596 _ACEOF
119598 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119599 echo "$as_me:$LINENO: result: $res" >&5
119600 echo "${ECHO_T}$res" >&6
119603 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
119604 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
119605 cat >conftest.$ac_ext <<_ACEOF
119606 /* confdefs.h. */
119607 _ACEOF
119608 cat confdefs.h >>conftest.$ac_ext
119609 cat >>conftest.$ac_ext <<_ACEOF
119610 /* end confdefs.h. */
119611 #include <unistd.h>
119612 #include <sys/time.h>
119613 #include <sys/resource.h>
119616 main ()
119618 int f = RLIMIT_VMEM ;
119620 return 0;
119622 _ACEOF
119623 rm -f conftest.$ac_objext
119624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119625 (eval $ac_compile) 2>conftest.er1
119626 ac_status=$?
119627 grep -v '^ *+' conftest.er1 >conftest.err
119628 rm -f conftest.er1
119629 cat conftest.err >&5
119630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119631 (exit $ac_status); } &&
119632 { ac_try='test -z "$ac_c_werror_flag"
119633 || test ! -s conftest.err'
119634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119635 (eval $ac_try) 2>&5
119636 ac_status=$?
119637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119638 (exit $ac_status); }; } &&
119639 { ac_try='test -s conftest.$ac_objext'
119640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119641 (eval $ac_try) 2>&5
119642 ac_status=$?
119643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119644 (exit $ac_status); }; }; then
119645 glibcxx_mresult=1
119647 echo "$as_me: failed program was:" >&5
119648 sed 's/^/| /' conftest.$ac_ext >&5
119650 glibcxx_mresult=0
119652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119654 cat >>confdefs.h <<_ACEOF
119655 #define HAVE_LIMIT_VMEM $glibcxx_mresult
119656 _ACEOF
119658 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119659 echo "$as_me:$LINENO: result: $res" >&5
119660 echo "${ECHO_T}$res" >&6
119663 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
119664 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
119665 cat >conftest.$ac_ext <<_ACEOF
119666 /* confdefs.h. */
119667 _ACEOF
119668 cat confdefs.h >>conftest.$ac_ext
119669 cat >>conftest.$ac_ext <<_ACEOF
119670 /* end confdefs.h. */
119671 #include <unistd.h>
119672 #include <sys/time.h>
119673 #include <sys/resource.h>
119676 main ()
119678 int f = RLIMIT_AS ;
119680 return 0;
119682 _ACEOF
119683 rm -f conftest.$ac_objext
119684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119685 (eval $ac_compile) 2>conftest.er1
119686 ac_status=$?
119687 grep -v '^ *+' conftest.er1 >conftest.err
119688 rm -f conftest.er1
119689 cat conftest.err >&5
119690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119691 (exit $ac_status); } &&
119692 { ac_try='test -z "$ac_c_werror_flag"
119693 || test ! -s conftest.err'
119694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119695 (eval $ac_try) 2>&5
119696 ac_status=$?
119697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119698 (exit $ac_status); }; } &&
119699 { ac_try='test -s conftest.$ac_objext'
119700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119701 (eval $ac_try) 2>&5
119702 ac_status=$?
119703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119704 (exit $ac_status); }; }; then
119705 glibcxx_mresult=1
119707 echo "$as_me: failed program was:" >&5
119708 sed 's/^/| /' conftest.$ac_ext >&5
119710 glibcxx_mresult=0
119712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119714 cat >>confdefs.h <<_ACEOF
119715 #define HAVE_LIMIT_AS $glibcxx_mresult
119716 _ACEOF
119718 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119719 echo "$as_me:$LINENO: result: $res" >&5
119720 echo "${ECHO_T}$res" >&6
119723 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
119724 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
119725 cat >conftest.$ac_ext <<_ACEOF
119726 /* confdefs.h. */
119727 _ACEOF
119728 cat confdefs.h >>conftest.$ac_ext
119729 cat >>conftest.$ac_ext <<_ACEOF
119730 /* end confdefs.h. */
119731 #include <unistd.h>
119732 #include <sys/time.h>
119733 #include <sys/resource.h>
119736 main ()
119738 int f = RLIMIT_FSIZE ;
119740 return 0;
119742 _ACEOF
119743 rm -f conftest.$ac_objext
119744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119745 (eval $ac_compile) 2>conftest.er1
119746 ac_status=$?
119747 grep -v '^ *+' conftest.er1 >conftest.err
119748 rm -f conftest.er1
119749 cat conftest.err >&5
119750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119751 (exit $ac_status); } &&
119752 { ac_try='test -z "$ac_c_werror_flag"
119753 || test ! -s conftest.err'
119754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119755 (eval $ac_try) 2>&5
119756 ac_status=$?
119757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119758 (exit $ac_status); }; } &&
119759 { ac_try='test -s conftest.$ac_objext'
119760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119761 (eval $ac_try) 2>&5
119762 ac_status=$?
119763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119764 (exit $ac_status); }; }; then
119765 glibcxx_mresult=1
119767 echo "$as_me: failed program was:" >&5
119768 sed 's/^/| /' conftest.$ac_ext >&5
119770 glibcxx_mresult=0
119772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119774 cat >>confdefs.h <<_ACEOF
119775 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
119776 _ACEOF
119778 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119779 echo "$as_me:$LINENO: result: $res" >&5
119780 echo "${ECHO_T}$res" >&6
119783 # Check for rlimit, setrlimit.
119784 if test "${glibcxx_cv_setrlimit+set}" = set; then
119785 echo $ECHO_N "(cached) $ECHO_C" >&6
119788 cat >conftest.$ac_ext <<_ACEOF
119789 /* confdefs.h. */
119790 _ACEOF
119791 cat confdefs.h >>conftest.$ac_ext
119792 cat >>conftest.$ac_ext <<_ACEOF
119793 /* end confdefs.h. */
119794 #include <unistd.h>
119795 #include <sys/time.h>
119796 #include <sys/resource.h>
119799 main ()
119801 struct rlimit r;
119802 setrlimit(0, &r);
119804 return 0;
119806 _ACEOF
119807 rm -f conftest.$ac_objext
119808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119809 (eval $ac_compile) 2>conftest.er1
119810 ac_status=$?
119811 grep -v '^ *+' conftest.er1 >conftest.err
119812 rm -f conftest.er1
119813 cat conftest.err >&5
119814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119815 (exit $ac_status); } &&
119816 { ac_try='test -z "$ac_c_werror_flag"
119817 || test ! -s conftest.err'
119818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119819 (eval $ac_try) 2>&5
119820 ac_status=$?
119821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119822 (exit $ac_status); }; } &&
119823 { ac_try='test -s conftest.$ac_objext'
119824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119825 (eval $ac_try) 2>&5
119826 ac_status=$?
119827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119828 (exit $ac_status); }; }; then
119829 glibcxx_cv_setrlimit=yes
119831 echo "$as_me: failed program was:" >&5
119832 sed 's/^/| /' conftest.$ac_ext >&5
119834 glibcxx_cv_setrlimit=no
119836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119842 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
119843 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
119844 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
119845 ac_res_limits=yes
119847 cat >>confdefs.h <<\_ACEOF
119848 #define _GLIBCXX_RES_LIMITS 1
119849 _ACEOF
119852 ac_res_limits=no
119854 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
119855 echo "${ECHO_T}$ac_res_limits" >&6
119858 # Look for setenv, so that extended locale tests can be performed.
119860 echo "$as_me:$LINENO: checking for setenv declaration" >&5
119861 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
119862 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
119863 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
119864 echo $ECHO_N "(cached) $ECHO_C" >&6
119869 ac_ext=cc
119870 ac_cpp='$CXXCPP $CPPFLAGS'
119871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119875 cat >conftest.$ac_ext <<_ACEOF
119876 /* confdefs.h. */
119877 _ACEOF
119878 cat confdefs.h >>conftest.$ac_ext
119879 cat >>conftest.$ac_ext <<_ACEOF
119880 /* end confdefs.h. */
119881 #include <stdlib.h>
119883 main ()
119885 setenv(0, 0, 0);
119887 return 0;
119889 _ACEOF
119890 rm -f conftest.$ac_objext
119891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119892 (eval $ac_compile) 2>conftest.er1
119893 ac_status=$?
119894 grep -v '^ *+' conftest.er1 >conftest.err
119895 rm -f conftest.er1
119896 cat conftest.err >&5
119897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119898 (exit $ac_status); } &&
119899 { ac_try='test -z "$ac_cxx_werror_flag"
119900 || test ! -s conftest.err'
119901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119902 (eval $ac_try) 2>&5
119903 ac_status=$?
119904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119905 (exit $ac_status); }; } &&
119906 { ac_try='test -s conftest.$ac_objext'
119907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119908 (eval $ac_try) 2>&5
119909 ac_status=$?
119910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119911 (exit $ac_status); }; }; then
119912 glibcxx_cv_func_setenv_use=yes
119914 echo "$as_me: failed program was:" >&5
119915 sed 's/^/| /' conftest.$ac_ext >&5
119917 glibcxx_cv_func_setenv_use=no
119919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119920 ac_ext=c
119921 ac_cpp='$CPP $CPPFLAGS'
119922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
119931 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
119932 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
119934 for ac_func in setenv
119936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119937 echo "$as_me:$LINENO: checking for $ac_func" >&5
119938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119939 if eval "test \"\${$as_ac_var+set}\" = set"; then
119940 echo $ECHO_N "(cached) $ECHO_C" >&6
119942 if test x$gcc_no_link = xyes; then
119943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119945 { (exit 1); exit 1; }; }
119947 cat >conftest.$ac_ext <<_ACEOF
119948 /* confdefs.h. */
119949 _ACEOF
119950 cat confdefs.h >>conftest.$ac_ext
119951 cat >>conftest.$ac_ext <<_ACEOF
119952 /* end confdefs.h. */
119953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119955 #define $ac_func innocuous_$ac_func
119957 /* System header to define __stub macros and hopefully few prototypes,
119958 which can conflict with char $ac_func (); below.
119959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119960 <limits.h> exists even on freestanding compilers. */
119962 #ifdef __STDC__
119963 # include <limits.h>
119964 #else
119965 # include <assert.h>
119966 #endif
119968 #undef $ac_func
119970 /* Override any gcc2 internal prototype to avoid an error. */
119971 #ifdef __cplusplus
119972 extern "C"
119974 #endif
119975 /* We use char because int might match the return type of a gcc2
119976 builtin and then its argument prototype would still apply. */
119977 char $ac_func ();
119978 /* The GNU C library defines this for functions which it implements
119979 to always fail with ENOSYS. Some functions are actually named
119980 something starting with __ and the normal name is an alias. */
119981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119982 choke me
119983 #else
119984 char (*f) () = $ac_func;
119985 #endif
119986 #ifdef __cplusplus
119988 #endif
119991 main ()
119993 return f != $ac_func;
119995 return 0;
119997 _ACEOF
119998 rm -f conftest.$ac_objext conftest$ac_exeext
119999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120000 (eval $ac_link) 2>conftest.er1
120001 ac_status=$?
120002 grep -v '^ *+' conftest.er1 >conftest.err
120003 rm -f conftest.er1
120004 cat conftest.err >&5
120005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120006 (exit $ac_status); } &&
120007 { ac_try='test -z "$ac_c_werror_flag"
120008 || test ! -s conftest.err'
120009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120010 (eval $ac_try) 2>&5
120011 ac_status=$?
120012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120013 (exit $ac_status); }; } &&
120014 { ac_try='test -s conftest$ac_exeext'
120015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120016 (eval $ac_try) 2>&5
120017 ac_status=$?
120018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120019 (exit $ac_status); }; }; then
120020 eval "$as_ac_var=yes"
120022 echo "$as_me: failed program was:" >&5
120023 sed 's/^/| /' conftest.$ac_ext >&5
120025 eval "$as_ac_var=no"
120027 rm -f conftest.err conftest.$ac_objext \
120028 conftest$ac_exeext conftest.$ac_ext
120030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120032 if test `eval echo '${'$as_ac_var'}'` = yes; then
120033 cat >>confdefs.h <<_ACEOF
120034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120035 _ACEOF
120044 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120045 test $enable_symvers != no; then
120046 case "$host" in
120047 *-*-cygwin*)
120048 enable_abi_check=no ;;
120050 enable_abi_check=yes ;;
120053 # Only build this as native, since automake does not understand
120054 # CXX_FOR_BUILD.
120055 enable_abi_check=no
120058 # Export file names for ABI checking.
120059 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120063 # Propagate the target-specific source directories through the build chain.
120064 ATOMICITY_SRCDIR=config/${atomicity_dir}
120065 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120066 ATOMIC_FLAGS=${atomic_flags}
120067 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120068 OS_INC_SRCDIR=config/${os_include_dir}
120069 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120070 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120080 # Determine cross-compile flags and AM_CONDITIONALs.
120081 #AC_SUBST(GLIBCXX_IS_NATIVE)
120082 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120083 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120084 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
120087 if test $is_hosted = yes; then
120088 GLIBCXX_HOSTED_TRUE=
120089 GLIBCXX_HOSTED_FALSE='#'
120091 GLIBCXX_HOSTED_TRUE='#'
120092 GLIBCXX_HOSTED_FALSE=
120098 if test $enable_libstdcxx_pch = yes; then
120099 GLIBCXX_BUILD_PCH_TRUE=
120100 GLIBCXX_BUILD_PCH_FALSE='#'
120102 GLIBCXX_BUILD_PCH_TRUE='#'
120103 GLIBCXX_BUILD_PCH_FALSE=
120109 if test $enable_cheaders = c; then
120110 GLIBCXX_C_HEADERS_C_TRUE=
120111 GLIBCXX_C_HEADERS_C_FALSE='#'
120113 GLIBCXX_C_HEADERS_C_TRUE='#'
120114 GLIBCXX_C_HEADERS_C_FALSE=
120120 if test $enable_cheaders = c_std; then
120121 GLIBCXX_C_HEADERS_C_STD_TRUE=
120122 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120124 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120125 GLIBCXX_C_HEADERS_C_STD_FALSE=
120131 if test $enable_cheaders = c_global; then
120132 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120133 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120135 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120136 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120142 if test $c_compatibility = yes; then
120143 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120144 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120146 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120147 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120153 if test $c_extra = yes; then
120154 GLIBCXX_C_HEADERS_EXTRA_TRUE=
120155 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
120157 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
120158 GLIBCXX_C_HEADERS_EXTRA_FALSE=
120164 if test $enable_libstdcxx_debug = yes; then
120165 GLIBCXX_BUILD_DEBUG_TRUE=
120166 GLIBCXX_BUILD_DEBUG_FALSE='#'
120168 GLIBCXX_BUILD_DEBUG_TRUE='#'
120169 GLIBCXX_BUILD_DEBUG_FALSE=
120175 if test $enable_parallel = yes; then
120176 ENABLE_PARALLEL_TRUE=
120177 ENABLE_PARALLEL_FALSE='#'
120179 ENABLE_PARALLEL_TRUE='#'
120180 ENABLE_PARALLEL_FALSE=
120186 if test $enable_symvers != no; then
120187 ENABLE_SYMVERS_TRUE=
120188 ENABLE_SYMVERS_FALSE='#'
120190 ENABLE_SYMVERS_TRUE='#'
120191 ENABLE_SYMVERS_FALSE=
120197 if test $enable_symvers = gnu; then
120198 ENABLE_SYMVERS_GNU_TRUE=
120199 ENABLE_SYMVERS_GNU_FALSE='#'
120201 ENABLE_SYMVERS_GNU_TRUE='#'
120202 ENABLE_SYMVERS_GNU_FALSE=
120208 if test $enable_symvers = gnu-versioned-namespace; then
120209 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
120210 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
120212 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
120213 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
120219 if test $enable_symvers = darwin; then
120220 ENABLE_SYMVERS_DARWIN_TRUE=
120221 ENABLE_SYMVERS_DARWIN_FALSE='#'
120223 ENABLE_SYMVERS_DARWIN_TRUE='#'
120224 ENABLE_SYMVERS_DARWIN_FALSE=
120230 if test $enable_visibility = yes; then
120231 ENABLE_VISIBILITY_TRUE=
120232 ENABLE_VISIBILITY_FALSE='#'
120234 ENABLE_VISIBILITY_TRUE='#'
120235 ENABLE_VISIBILITY_FALSE=
120241 if test $ac_ldbl_compat = yes; then
120242 GLIBCXX_LDBL_COMPAT_TRUE=
120243 GLIBCXX_LDBL_COMPAT_FALSE='#'
120245 GLIBCXX_LDBL_COMPAT_TRUE='#'
120246 GLIBCXX_LDBL_COMPAT_FALSE=
120252 cat >confcache <<\_ACEOF
120253 # This file is a shell script that caches the results of configure
120254 # tests run on this system so they can be shared between configure
120255 # scripts and configure runs, see configure's option --config-cache.
120256 # It is not useful on other systems. If it contains results you don't
120257 # want to keep, you may remove or edit it.
120259 # config.status only pays attention to the cache file if you give it
120260 # the --recheck option to rerun configure.
120262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120264 # following values.
120266 _ACEOF
120268 # The following way of writing the cache mishandles newlines in values,
120269 # but we know of no workaround that is simple, portable, and efficient.
120270 # So, don't put newlines in cache variables' values.
120271 # Ultrix sh set writes to stderr and can't be redirected directly,
120272 # and sets the high bit in the cache file unless we assign to the vars.
120274 (set) 2>&1 |
120275 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120276 *ac_space=\ *)
120277 # `set' does not quote correctly, so add quotes (double-quote
120278 # substitution turns \\\\ into \\, and sed turns \\ into \).
120279 sed -n \
120280 "s/'/'\\\\''/g;
120281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120284 # `set' quotes correctly as required by POSIX, so do not add quotes.
120285 sed -n \
120286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120288 esac;
120290 sed '
120291 t clear
120292 : clear
120293 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120294 t end
120295 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120296 : end' >>confcache
120297 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120298 if test -w $cache_file; then
120299 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120300 cat confcache >$cache_file
120302 echo "not updating unwritable cache $cache_file"
120305 rm -f confcache
120307 if test ${multilib} = yes; then
120308 multilib_arg="--enable-multilib"
120310 multilib_arg=
120313 # Export all the install information.
120315 glibcxx_toolexecdir=no
120316 glibcxx_toolexeclibdir=no
120317 glibcxx_prefixdir=$prefix
120319 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
120320 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
120322 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
120323 if test "${with_gxx_include_dir+set}" = set; then
120324 withval="$with_gxx_include_dir"
120325 case "$withval" in
120326 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
120327 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
120328 { (exit 1); exit 1; }; } ;;
120329 no) gxx_include_dir=no ;;
120330 *) gxx_include_dir=$withval ;;
120333 gxx_include_dir=no
120335 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120336 echo "${ECHO_T}$gxx_include_dir" >&6
120338 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
120339 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
120340 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
120341 if test "${enable_version_specific_runtime_libs+set}" = set; then
120342 enableval="$enable_version_specific_runtime_libs"
120343 case "$enableval" in
120344 yes) version_specific_libs=yes ;;
120345 no) version_specific_libs=no ;;
120346 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
120347 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
120348 { (exit 1); exit 1; }; };;
120351 version_specific_libs=no
120353 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
120354 echo "${ECHO_T}$version_specific_libs" >&6
120356 # Default case for install directory for include files.
120357 if test $version_specific_libs = no && test $gxx_include_dir = no; then
120358 gxx_include_dir='include/c++/${gcc_version}'
120359 if test -n "$with_cross_host" &&
120360 test x"$with_cross_host" != x"no"; then
120361 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
120363 gxx_include_dir='${prefix}/'"$gxx_include_dir"
120367 # Version-specific runtime libs processing.
120368 if test $version_specific_libs = yes; then
120369 # Need the gcc compiler version to know where to install libraries
120370 # and header files if --enable-version-specific-runtime-libs option
120371 # is selected. FIXME: these variables are misnamed, there are
120372 # no executables installed in _toolexecdir or _toolexeclibdir.
120373 if test x"$gxx_include_dir" = x"no"; then
120374 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
120376 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120377 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
120380 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
120381 # Install a library built with a cross compiler in tooldir, not libdir.
120382 if test x"$glibcxx_toolexecdir" = x"no"; then
120383 if test -n "$with_cross_host" &&
120384 test x"$with_cross_host" != x"no"; then
120385 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
120386 glibcxx_toolexeclibdir='${toolexecdir}/lib'
120388 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120389 glibcxx_toolexeclibdir='${libdir}'
120391 multi_os_directory=`$CXX -print-multi-os-directory`
120392 case $multi_os_directory in
120393 .) ;; # Avoid trailing /.
120394 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
120398 echo "$as_me:$LINENO: checking for install location" >&5
120399 echo $ECHO_N "checking for install location... $ECHO_C" >&6
120400 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120401 echo "${ECHO_T}$gxx_include_dir" >&6
120409 # Export all the include and flag information to Makefiles.
120411 # Used for every C++ compile we perform.
120412 GLIBCXX_INCLUDES="\
120413 -I$glibcxx_builddir/include/$host_alias \
120414 -I$glibcxx_builddir/include \
120415 -I$glibcxx_srcdir/libsupc++"
120417 # For Canadian crosses, pick this up too.
120418 if test $CANADIAN = yes; then
120419 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
120422 # Stuff in the actual top level. Currently only used by libsupc++ to
120423 # get unwind* headers from the gcc dir.
120424 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
120425 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
120427 # Now, export this to all the little Makefiles....
120432 # Optimization flags that are probably a good idea for thrill-seekers. Just
120433 # uncomment the lines below and make, everything else is ready to go...
120434 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
120435 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
120438 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
120442 if test "$enable_shared" = yes; then
120443 LIBSUPCXX_PICFLAGS="-prefer-pic"
120445 LIBSUPCXX_PICFLAGS=
120449 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
120451 ac_config_files="$ac_config_files scripts/testsuite_flags"
120454 ac_config_commands="$ac_config_commands default"
120457 cat >confcache <<\_ACEOF
120458 # This file is a shell script that caches the results of configure
120459 # tests run on this system so they can be shared between configure
120460 # scripts and configure runs, see configure's option --config-cache.
120461 # It is not useful on other systems. If it contains results you don't
120462 # want to keep, you may remove or edit it.
120464 # config.status only pays attention to the cache file if you give it
120465 # the --recheck option to rerun configure.
120467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120469 # following values.
120471 _ACEOF
120473 # The following way of writing the cache mishandles newlines in values,
120474 # but we know of no workaround that is simple, portable, and efficient.
120475 # So, don't put newlines in cache variables' values.
120476 # Ultrix sh set writes to stderr and can't be redirected directly,
120477 # and sets the high bit in the cache file unless we assign to the vars.
120479 (set) 2>&1 |
120480 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120481 *ac_space=\ *)
120482 # `set' does not quote correctly, so add quotes (double-quote
120483 # substitution turns \\\\ into \\, and sed turns \\ into \).
120484 sed -n \
120485 "s/'/'\\\\''/g;
120486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120489 # `set' quotes correctly as required by POSIX, so do not add quotes.
120490 sed -n \
120491 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120493 esac;
120495 sed '
120496 t clear
120497 : clear
120498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120499 t end
120500 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120501 : end' >>confcache
120502 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120503 if test -w $cache_file; then
120504 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120505 cat confcache >$cache_file
120507 echo "not updating unwritable cache $cache_file"
120510 rm -f confcache
120512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120513 # Let make expand exec_prefix.
120514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120516 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120517 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120518 # trailing colons and then remove the whole line if VPATH becomes empty
120519 # (actually we leave an empty line to preserve line numbers).
120520 if test "x$srcdir" = x.; then
120521 ac_vpsub='/^[ ]*VPATH[ ]*=/{
120522 s/:*\$(srcdir):*/:/;
120523 s/:*\${srcdir}:*/:/;
120524 s/:*@srcdir@:*/:/;
120525 s/^\([^=]*=[ ]*\):*/\1/;
120526 s/:*$//;
120527 s/^[^=]*=[ ]*$//;
120531 DEFS=-DHAVE_CONFIG_H
120533 ac_libobjs=
120534 ac_ltlibobjs=
120535 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120536 # 1. Remove the extension, and $U if already installed.
120537 ac_i=`echo "$ac_i" |
120538 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120539 # 2. Add them.
120540 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120541 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120543 LIBOBJS=$ac_libobjs
120545 LTLIBOBJS=$ac_ltlibobjs
120548 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120549 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120550 Usually this means the macro was only invoked conditionally." >&5
120551 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120552 Usually this means the macro was only invoked conditionally." >&2;}
120553 { (exit 1); exit 1; }; }
120555 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120556 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120557 Usually this means the macro was only invoked conditionally." >&5
120558 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120559 Usually this means the macro was only invoked conditionally." >&2;}
120560 { (exit 1); exit 1; }; }
120562 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120563 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120564 Usually this means the macro was only invoked conditionally." >&5
120565 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120566 Usually this means the macro was only invoked conditionally." >&2;}
120567 { (exit 1); exit 1; }; }
120569 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120570 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120571 Usually this means the macro was only invoked conditionally." >&5
120572 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120573 Usually this means the macro was only invoked conditionally." >&2;}
120574 { (exit 1); exit 1; }; }
120576 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120577 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120578 Usually this means the macro was only invoked conditionally." >&5
120579 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120580 Usually this means the macro was only invoked conditionally." >&2;}
120581 { (exit 1); exit 1; }; }
120583 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
120584 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120585 Usually this means the macro was only invoked conditionally." >&5
120586 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120587 Usually this means the macro was only invoked conditionally." >&2;}
120588 { (exit 1); exit 1; }; }
120590 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
120591 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120592 Usually this means the macro was only invoked conditionally." >&5
120593 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120594 Usually this means the macro was only invoked conditionally." >&2;}
120595 { (exit 1); exit 1; }; }
120597 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
120598 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120599 Usually this means the macro was only invoked conditionally." >&5
120600 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120601 Usually this means the macro was only invoked conditionally." >&2;}
120602 { (exit 1); exit 1; }; }
120604 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
120605 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120606 Usually this means the macro was only invoked conditionally." >&5
120607 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120608 Usually this means the macro was only invoked conditionally." >&2;}
120609 { (exit 1); exit 1; }; }
120611 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
120612 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
120613 Usually this means the macro was only invoked conditionally." >&5
120614 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
120615 Usually this means the macro was only invoked conditionally." >&2;}
120616 { (exit 1); exit 1; }; }
120618 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
120619 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
120620 Usually this means the macro was only invoked conditionally." >&5
120621 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
120622 Usually this means the macro was only invoked conditionally." >&2;}
120623 { (exit 1); exit 1; }; }
120625 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
120626 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120627 Usually this means the macro was only invoked conditionally." >&5
120628 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120629 Usually this means the macro was only invoked conditionally." >&2;}
120630 { (exit 1); exit 1; }; }
120632 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
120633 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120634 Usually this means the macro was only invoked conditionally." >&5
120635 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120636 Usually this means the macro was only invoked conditionally." >&2;}
120637 { (exit 1); exit 1; }; }
120639 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
120640 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120641 Usually this means the macro was only invoked conditionally." >&5
120642 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120643 Usually this means the macro was only invoked conditionally." >&2;}
120644 { (exit 1); exit 1; }; }
120646 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
120647 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120648 Usually this means the macro was only invoked conditionally." >&5
120649 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120650 Usually this means the macro was only invoked conditionally." >&2;}
120651 { (exit 1); exit 1; }; }
120653 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
120654 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120655 Usually this means the macro was only invoked conditionally." >&5
120656 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120657 Usually this means the macro was only invoked conditionally." >&2;}
120658 { (exit 1); exit 1; }; }
120661 : ${CONFIG_STATUS=./config.status}
120662 ac_clean_files_save=$ac_clean_files
120663 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
120664 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
120665 echo "$as_me: creating $CONFIG_STATUS" >&6;}
120666 cat >$CONFIG_STATUS <<_ACEOF
120667 #! $SHELL
120668 # Generated by $as_me.
120669 # Run this file to recreate the current configuration.
120670 # Compiler output produced by configure, useful for debugging
120671 # configure, is in config.log if it exists.
120673 debug=false
120674 ac_cs_recheck=false
120675 ac_cs_silent=false
120676 SHELL=\${CONFIG_SHELL-$SHELL}
120677 _ACEOF
120679 cat >>$CONFIG_STATUS <<\_ACEOF
120680 ## --------------------- ##
120681 ## M4sh Initialization. ##
120682 ## --------------------- ##
120684 # Be Bourne compatible
120685 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
120686 emulate sh
120687 NULLCMD=:
120688 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
120689 # is contrary to our usage. Disable this feature.
120690 alias -g '${1+"$@"}'='"$@"'
120691 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
120692 set -o posix
120694 DUALCASE=1; export DUALCASE # for MKS sh
120696 # Support unset when possible.
120697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
120698 as_unset=unset
120700 as_unset=false
120704 # Work around bugs in pre-3.0 UWIN ksh.
120705 $as_unset ENV MAIL MAILPATH
120706 PS1='$ '
120707 PS2='> '
120708 PS4='+ '
120710 # NLS nuisances.
120711 for as_var in \
120712 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
120713 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120714 LC_TELEPHONE LC_TIME
120716 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
120717 eval $as_var=C; export $as_var
120719 $as_unset $as_var
120723 # Required to use basename.
120724 if expr a : '\(a\)' >/dev/null 2>&1; then
120725 as_expr=expr
120727 as_expr=false
120730 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
120731 as_basename=basename
120733 as_basename=false
120737 # Name of the executable.
120738 as_me=`$as_basename "$0" ||
120739 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120740 X"$0" : 'X\(//\)$' \| \
120741 X"$0" : 'X\(/\)$' \| \
120742 . : '\(.\)' 2>/dev/null ||
120743 echo X/"$0" |
120744 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
120745 /^X\/\(\/\/\)$/{ s//\1/; q; }
120746 /^X\/\(\/\).*/{ s//\1/; q; }
120747 s/.*/./; q'`
120750 # PATH needs CR, and LINENO needs CR and PATH.
120751 # Avoid depending upon Character Ranges.
120752 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
120753 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
120754 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
120755 as_cr_digits='0123456789'
120756 as_cr_alnum=$as_cr_Letters$as_cr_digits
120758 # The user is always right.
120759 if test "${PATH_SEPARATOR+set}" != set; then
120760 echo "#! /bin/sh" >conf$$.sh
120761 echo "exit 0" >>conf$$.sh
120762 chmod +x conf$$.sh
120763 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
120764 PATH_SEPARATOR=';'
120766 PATH_SEPARATOR=:
120768 rm -f conf$$.sh
120772 as_lineno_1=$LINENO
120773 as_lineno_2=$LINENO
120774 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120775 test "x$as_lineno_1" != "x$as_lineno_2" &&
120776 test "x$as_lineno_3" = "x$as_lineno_2" || {
120777 # Find who we are. Look in the path if we contain no path at all
120778 # relative or not.
120779 case $0 in
120780 *[\\/]* ) as_myself=$0 ;;
120781 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120782 for as_dir in $PATH
120784 IFS=$as_save_IFS
120785 test -z "$as_dir" && as_dir=.
120786 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120791 # We did not find ourselves, most probably we were run as `sh COMMAND'
120792 # in which case we are not to be found in the path.
120793 if test "x$as_myself" = x; then
120794 as_myself=$0
120796 if test ! -f "$as_myself"; then
120797 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
120798 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
120799 { (exit 1); exit 1; }; }
120801 case $CONFIG_SHELL in
120803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120804 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
120806 IFS=$as_save_IFS
120807 test -z "$as_dir" && as_dir=.
120808 for as_base in sh bash ksh sh5; do
120809 case $as_dir in
120811 if ("$as_dir/$as_base" -c '
120812 as_lineno_1=$LINENO
120813 as_lineno_2=$LINENO
120814 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120815 test "x$as_lineno_1" != "x$as_lineno_2" &&
120816 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
120817 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
120818 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
120819 CONFIG_SHELL=$as_dir/$as_base
120820 export CONFIG_SHELL
120821 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
120829 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
120830 # uniformly replaced by the line number. The first 'sed' inserts a
120831 # line-number line before each line; the second 'sed' does the real
120832 # work. The second script uses 'N' to pair each line-number line
120833 # with the numbered line, and appends trailing '-' during
120834 # substitution so that $LINENO is not a special case at line end.
120835 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
120836 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
120837 sed '=' <$as_myself |
120838 sed '
120840 s,$,-,
120841 : loop
120842 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
120843 t loop
120844 s,-$,,
120845 s,^['$as_cr_digits']*\n,,
120846 ' >$as_me.lineno &&
120847 chmod +x $as_me.lineno ||
120848 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
120849 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
120850 { (exit 1); exit 1; }; }
120852 # Don't try to exec as it changes $[0], causing all sort of problems
120853 # (the dirname of $[0] is not the place where we might find the
120854 # original and so on. Autoconf is especially sensible to this).
120855 . ./$as_me.lineno
120856 # Exit status is that of the last command.
120861 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
120862 *c*,-n*) ECHO_N= ECHO_C='
120863 ' ECHO_T=' ' ;;
120864 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
120865 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
120868 if expr a : '\(a\)' >/dev/null 2>&1; then
120869 as_expr=expr
120871 as_expr=false
120874 rm -f conf$$ conf$$.exe conf$$.file
120875 echo >conf$$.file
120876 if ln -s conf$$.file conf$$ 2>/dev/null; then
120877 # We could just check for DJGPP; but this test a) works b) is more generic
120878 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
120879 if test -f conf$$.exe; then
120880 # Don't use ln at all; we don't have any links
120881 as_ln_s='cp -p'
120883 as_ln_s='ln -s'
120885 elif ln conf$$.file conf$$ 2>/dev/null; then
120886 as_ln_s=ln
120888 as_ln_s='cp -p'
120890 rm -f conf$$ conf$$.exe conf$$.file
120892 if mkdir -p . 2>/dev/null; then
120893 as_mkdir_p=:
120895 test -d ./-p && rmdir ./-p
120896 as_mkdir_p=false
120899 as_executable_p="test -f"
120901 # Sed expression to map a string onto a valid CPP name.
120902 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
120904 # Sed expression to map a string onto a valid variable name.
120905 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
120908 # IFS
120909 # We need space, tab and new line, in precisely that order.
120910 as_nl='
120912 IFS=" $as_nl"
120914 # CDPATH.
120915 $as_unset CDPATH
120917 exec 6>&1
120919 # Open the log real soon, to keep \$[0] and so on meaningful, and to
120920 # report actual input values of CONFIG_FILES etc. instead of their
120921 # values after options handling. Logging --version etc. is OK.
120922 exec 5>>config.log
120925 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
120926 ## Running $as_me. ##
120927 _ASBOX
120928 } >&5
120929 cat >&5 <<_CSEOF
120931 This file was extended by package-unused $as_me version-unused, which was
120932 generated by GNU Autoconf 2.59. Invocation command line was
120934 CONFIG_FILES = $CONFIG_FILES
120935 CONFIG_HEADERS = $CONFIG_HEADERS
120936 CONFIG_LINKS = $CONFIG_LINKS
120937 CONFIG_COMMANDS = $CONFIG_COMMANDS
120938 $ $0 $@
120940 _CSEOF
120941 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
120942 echo >&5
120943 _ACEOF
120945 # Files that config.status was made for.
120946 if test -n "$ac_config_files"; then
120947 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
120950 if test -n "$ac_config_headers"; then
120951 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
120954 if test -n "$ac_config_links"; then
120955 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
120958 if test -n "$ac_config_commands"; then
120959 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
120962 cat >>$CONFIG_STATUS <<\_ACEOF
120964 ac_cs_usage="\
120965 \`$as_me' instantiates files from templates according to the
120966 current configuration.
120968 Usage: $0 [OPTIONS] [FILE]...
120970 -h, --help print this help, then exit
120971 -V, --version print version number, then exit
120972 -q, --quiet do not print progress messages
120973 -d, --debug don't remove temporary files
120974 --recheck update $as_me by reconfiguring in the same conditions
120975 --file=FILE[:TEMPLATE]
120976 instantiate the configuration file FILE
120977 --header=FILE[:TEMPLATE]
120978 instantiate the configuration header FILE
120980 Configuration files:
120981 $config_files
120983 Configuration headers:
120984 $config_headers
120986 Configuration commands:
120987 $config_commands
120989 Report bugs to <bug-autoconf@gnu.org>."
120990 _ACEOF
120992 cat >>$CONFIG_STATUS <<_ACEOF
120993 ac_cs_version="\\
120994 package-unused config.status version-unused
120995 configured by $0, generated by GNU Autoconf 2.59,
120996 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
120998 Copyright (C) 2003 Free Software Foundation, Inc.
120999 This config.status script is free software; the Free Software Foundation
121000 gives unlimited permission to copy, distribute and modify it."
121001 srcdir=$srcdir
121002 INSTALL="$INSTALL"
121003 _ACEOF
121005 cat >>$CONFIG_STATUS <<\_ACEOF
121006 # If no file are specified by the user, then we need to provide default
121007 # value. By we need to know if files were specified by the user.
121008 ac_need_defaults=:
121009 while test $# != 0
121011 case $1 in
121012 --*=*)
121013 ac_option=`expr "x$1" : 'x\([^=]*\)='`
121014 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
121015 ac_shift=:
121018 ac_option=$1
121019 ac_optarg=$2
121020 ac_shift=shift
121022 *) # This is not an option, so the user has probably given explicit
121023 # arguments.
121024 ac_option=$1
121025 ac_need_defaults=false;;
121028 case $ac_option in
121029 # Handling of the options.
121030 _ACEOF
121031 cat >>$CONFIG_STATUS <<\_ACEOF
121032 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
121033 ac_cs_recheck=: ;;
121034 --version | --vers* | -V )
121035 echo "$ac_cs_version"; exit 0 ;;
121036 --he | --h)
121037 # Conflict between --help and --header
121038 { { echo "$as_me:$LINENO: error: ambiguous option: $1
121039 Try \`$0 --help' for more information." >&5
121040 echo "$as_me: error: ambiguous option: $1
121041 Try \`$0 --help' for more information." >&2;}
121042 { (exit 1); exit 1; }; };;
121043 --help | --hel | -h )
121044 echo "$ac_cs_usage"; exit 0 ;;
121045 --debug | --d* | -d )
121046 debug=: ;;
121047 --file | --fil | --fi | --f )
121048 $ac_shift
121049 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121050 ac_need_defaults=false;;
121051 --header | --heade | --head | --hea )
121052 $ac_shift
121053 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121054 ac_need_defaults=false;;
121055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121056 | -silent | --silent | --silen | --sile | --sil | --si | --s)
121057 ac_cs_silent=: ;;
121059 # This is an error.
121060 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121061 Try \`$0 --help' for more information." >&5
121062 echo "$as_me: error: unrecognized option: $1
121063 Try \`$0 --help' for more information." >&2;}
121064 { (exit 1); exit 1; }; } ;;
121066 *) ac_config_targets="$ac_config_targets $1" ;;
121069 shift
121072 ac_configure_extra_args=
121074 if $ac_cs_silent; then
121075 exec 6>/dev/null
121076 ac_configure_extra_args="$ac_configure_extra_args --silent"
121079 _ACEOF
121080 cat >>$CONFIG_STATUS <<_ACEOF
121081 if \$ac_cs_recheck; then
121082 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121083 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121086 _ACEOF
121088 cat >>$CONFIG_STATUS <<_ACEOF
121090 # INIT-COMMANDS section.
121094 srcdir="$srcdir"
121095 host="$host"
121096 target="$target"
121097 with_multisubdir="$with_multisubdir"
121098 with_multisrctop="$with_multisrctop"
121099 with_target_subdir="$with_target_subdir"
121100 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121101 multi_basedir="$multi_basedir"
121102 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121103 CC="$CC"
121106 # The HP-UX ksh and POSIX shell print the target directory to stdout
121107 # if CDPATH is set.
121108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121110 sed_quote_subst='$sed_quote_subst'
121111 double_quote_subst='$double_quote_subst'
121112 delay_variable_subst='$delay_variable_subst'
121113 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121114 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121115 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121116 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121117 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121118 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121119 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121120 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121121 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121122 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121123 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121124 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121125 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121126 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121127 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121128 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121129 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121130 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121131 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121132 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121133 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121134 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121135 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121136 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121137 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121138 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121139 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121140 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121141 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121142 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121143 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121144 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121145 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121146 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121147 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121148 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121149 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121150 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121151 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121152 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
121153 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
121154 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
121155 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
121156 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"`'
121157 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
121158 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
121159 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
121160 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
121161 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
121162 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
121163 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
121164 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
121165 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
121166 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
121167 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
121168 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121169 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121170 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
121171 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
121172 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121173 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121174 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
121175 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121176 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121177 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121178 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121179 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121180 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121181 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
121182 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121183 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121184 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121185 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
121186 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
121187 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
121188 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
121189 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
121190 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121191 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
121192 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
121193 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
121194 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
121195 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
121196 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121197 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121198 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121199 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121200 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
121201 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
121202 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
121203 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
121204 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
121205 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121206 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121207 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
121208 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121209 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
121210 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121211 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121212 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121213 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121214 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
121215 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
121216 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121217 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121218 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
121219 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
121220 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
121221 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
121222 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
121223 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
121224 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121225 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121226 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
121227 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
121228 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
121229 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121230 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121231 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121232 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121233 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121234 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121235 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121236 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121237 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121238 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121239 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121240 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121241 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121242 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121243 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121244 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121245 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121246 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121247 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121248 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121249 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121250 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121251 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121252 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121253 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121254 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121255 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121256 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121257 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121258 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121259 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121260 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121261 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121262 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121263 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121264 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121265 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121266 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121267 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121268 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121269 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121270 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121271 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121272 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121273 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121274 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121276 LTCC='$LTCC'
121277 LTCFLAGS='$LTCFLAGS'
121278 compiler='$compiler_DEFAULT'
121280 # Quote evaled strings.
121281 for var in SED \
121282 GREP \
121283 EGREP \
121284 FGREP \
121287 LN_S \
121288 lt_SP2NL \
121289 lt_NL2SP \
121290 reload_flag \
121291 deplibs_check_method \
121292 file_magic_cmd \
121294 AR_FLAGS \
121295 STRIP \
121296 RANLIB \
121298 CFLAGS \
121299 compiler \
121300 lt_cv_sys_global_symbol_pipe \
121301 lt_cv_sys_global_symbol_to_cdecl \
121302 lt_cv_sys_global_symbol_to_c_name_address \
121303 SHELL \
121304 ECHO \
121305 lt_prog_compiler_no_builtin_flag \
121306 lt_prog_compiler_wl \
121307 lt_prog_compiler_pic \
121308 lt_prog_compiler_static \
121309 lt_cv_prog_compiler_c_o \
121310 need_locks \
121311 shrext_cmds \
121312 export_dynamic_flag_spec \
121313 whole_archive_flag_spec \
121314 compiler_needs_object \
121315 with_gnu_ld \
121316 allow_undefined_flag \
121317 no_undefined_flag \
121318 hardcode_libdir_flag_spec \
121319 hardcode_libdir_flag_spec_ld \
121320 hardcode_libdir_separator \
121321 fix_srcfile_path \
121322 exclude_expsyms \
121323 include_expsyms \
121324 file_list_spec \
121325 variables_saved_for_relink \
121326 libname_spec \
121327 library_names_spec \
121328 soname_spec \
121329 finish_eval \
121330 old_striplib \
121331 striplib \
121332 predep_objects \
121333 postdep_objects \
121334 predeps \
121335 postdeps \
121336 compiler_lib_search_path \
121337 LD_CXX \
121338 compiler_CXX \
121339 lt_prog_compiler_no_builtin_flag_CXX \
121340 lt_prog_compiler_wl_CXX \
121341 lt_prog_compiler_pic_CXX \
121342 lt_prog_compiler_static_CXX \
121343 lt_cv_prog_compiler_c_o_CXX \
121344 export_dynamic_flag_spec_CXX \
121345 whole_archive_flag_spec_CXX \
121346 compiler_needs_object_CXX \
121347 with_gnu_ld_CXX \
121348 allow_undefined_flag_CXX \
121349 no_undefined_flag_CXX \
121350 hardcode_libdir_flag_spec_CXX \
121351 hardcode_libdir_flag_spec_ld_CXX \
121352 hardcode_libdir_separator_CXX \
121353 fix_srcfile_path_CXX \
121354 exclude_expsyms_CXX \
121355 include_expsyms_CXX \
121356 file_list_spec_CXX \
121357 predep_objects_CXX \
121358 postdep_objects_CXX \
121359 predeps_CXX \
121360 postdeps_CXX \
121361 compiler_lib_search_path_CXX; do
121362 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121363 *[\\\\\\\`\\"\\\$]*)
121364 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
121367 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121372 # Double-quote double-evaled strings.
121373 for var in reload_cmds \
121374 old_postinstall_cmds \
121375 old_postuninstall_cmds \
121376 old_archive_cmds \
121377 extract_expsyms_cmds \
121378 old_archive_from_new_cmds \
121379 old_archive_from_expsyms_cmds \
121380 archive_cmds \
121381 archive_expsym_cmds \
121382 module_cmds \
121383 module_expsym_cmds \
121384 export_symbols_cmds \
121385 prelink_cmds \
121386 postinstall_cmds \
121387 postuninstall_cmds \
121388 finish_cmds \
121389 sys_lib_search_path_spec \
121390 sys_lib_dlsearch_path_spec \
121391 old_archive_cmds_CXX \
121392 old_archive_from_new_cmds_CXX \
121393 old_archive_from_expsyms_cmds_CXX \
121394 archive_cmds_CXX \
121395 archive_expsym_cmds_CXX \
121396 module_cmds_CXX \
121397 module_expsym_cmds_CXX \
121398 export_symbols_cmds_CXX \
121399 prelink_cmds_CXX; do
121400 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121401 *[\\\\\\\`\\"\\\$]*)
121402 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
121405 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121410 # Fix-up fallback echo if it was mangled by the above quoting rules.
121411 case \$lt_ECHO in
121412 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
121416 ac_aux_dir='$ac_aux_dir'
121417 xsi_shell='$xsi_shell'
121418 lt_shell_append='$lt_shell_append'
121420 # See if we are running on zsh, and set the options which allow our
121421 # commands through without removal of \ escapes INIT.
121422 if test -n "\${ZSH_VERSION+set}" ; then
121423 setopt NO_GLOB_SUBST
121427 PACKAGE='$PACKAGE'
121428 VERSION='$VERSION'
121429 TIMESTAMP='$TIMESTAMP'
121430 RM='$RM'
121431 ofile='$ofile'
121438 GCC="$GCC"
121439 CC="$CC"
121440 acx_cv_header_stdint="$acx_cv_header_stdint"
121441 acx_cv_type_int8_t="$acx_cv_type_int8_t"
121442 acx_cv_type_int16_t="$acx_cv_type_int16_t"
121443 acx_cv_type_int32_t="$acx_cv_type_int32_t"
121444 acx_cv_type_int64_t="$acx_cv_type_int64_t"
121445 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
121446 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
121447 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
121448 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
121449 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
121450 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
121451 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
121452 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
121453 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
121456 # Variables needed in config.status (file generation) which aren't already
121457 # passed by autoconf.
121458 SUBDIRS="$SUBDIRS"
121461 _ACEOF
121465 cat >>$CONFIG_STATUS <<\_ACEOF
121466 for ac_config_target in $ac_config_targets
121468 case "$ac_config_target" in
121469 # Handling of arguments.
121470 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
121471 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
121472 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
121473 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
121474 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
121475 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
121476 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
121477 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
121478 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
121479 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
121480 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
121481 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
121482 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
121483 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
121484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121485 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121486 { (exit 1); exit 1; }; };;
121490 # If the user did not use the arguments to specify the items to instantiate,
121491 # then the envvar interface is used. Set only those that are not.
121492 # We use the long form for the default assignment because of an extremely
121493 # bizarre bug on SunOS 4.1.3.
121494 if $ac_need_defaults; then
121495 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121496 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121497 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121500 # Have a temporary directory for convenience. Make it in the build tree
121501 # simply because there is no reason to put it here, and in addition,
121502 # creating and moving files from /tmp can sometimes cause problems.
121503 # Create a temporary directory, and hook for its removal unless debugging.
121504 $debug ||
121506 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121507 trap '{ (exit 1); exit 1; }' 1 2 13 15
121510 # Create a (secure) tmp directory for tmp files.
121513 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121514 test -n "$tmp" && test -d "$tmp"
121517 tmp=./confstat$$-$RANDOM
121518 (umask 077 && mkdir $tmp)
121521 echo "$me: cannot create a temporary directory in ." >&2
121522 { (exit 1); exit 1; }
121525 _ACEOF
121527 cat >>$CONFIG_STATUS <<_ACEOF
121530 # CONFIG_FILES section.
121533 # No need to generate the scripts if there are no CONFIG_FILES.
121534 # This happens for instance when ./config.status config.h
121535 if test -n "\$CONFIG_FILES"; then
121536 # Protect against being on the right side of a sed subst in config.status.
121537 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121538 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121539 s,@SHELL@,$SHELL,;t t
121540 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121541 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121542 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121543 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121544 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121545 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121546 s,@exec_prefix@,$exec_prefix,;t t
121547 s,@prefix@,$prefix,;t t
121548 s,@program_transform_name@,$program_transform_name,;t t
121549 s,@bindir@,$bindir,;t t
121550 s,@sbindir@,$sbindir,;t t
121551 s,@libexecdir@,$libexecdir,;t t
121552 s,@datadir@,$datadir,;t t
121553 s,@sysconfdir@,$sysconfdir,;t t
121554 s,@sharedstatedir@,$sharedstatedir,;t t
121555 s,@localstatedir@,$localstatedir,;t t
121556 s,@libdir@,$libdir,;t t
121557 s,@includedir@,$includedir,;t t
121558 s,@oldincludedir@,$oldincludedir,;t t
121559 s,@infodir@,$infodir,;t t
121560 s,@mandir@,$mandir,;t t
121561 s,@build_alias@,$build_alias,;t t
121562 s,@host_alias@,$host_alias,;t t
121563 s,@target_alias@,$target_alias,;t t
121564 s,@DEFS@,$DEFS,;t t
121565 s,@ECHO_C@,$ECHO_C,;t t
121566 s,@ECHO_N@,$ECHO_N,;t t
121567 s,@ECHO_T@,$ECHO_T,;t t
121568 s,@LIBS@,$LIBS,;t t
121569 s,@libtool_VERSION@,$libtool_VERSION,;t t
121570 s,@multi_basedir@,$multi_basedir,;t t
121571 s,@build@,$build,;t t
121572 s,@build_cpu@,$build_cpu,;t t
121573 s,@build_vendor@,$build_vendor,;t t
121574 s,@build_os@,$build_os,;t t
121575 s,@host@,$host,;t t
121576 s,@host_cpu@,$host_cpu,;t t
121577 s,@host_vendor@,$host_vendor,;t t
121578 s,@host_os@,$host_os,;t t
121579 s,@target@,$target,;t t
121580 s,@target_cpu@,$target_cpu,;t t
121581 s,@target_vendor@,$target_vendor,;t t
121582 s,@target_os@,$target_os,;t t
121583 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
121584 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
121585 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
121586 s,@CYGPATH_W@,$CYGPATH_W,;t t
121587 s,@PACKAGE@,$PACKAGE,;t t
121588 s,@VERSION@,$VERSION,;t t
121589 s,@ACLOCAL@,$ACLOCAL,;t t
121590 s,@AUTOCONF@,$AUTOCONF,;t t
121591 s,@AUTOMAKE@,$AUTOMAKE,;t t
121592 s,@AUTOHEADER@,$AUTOHEADER,;t t
121593 s,@MAKEINFO@,$MAKEINFO,;t t
121594 s,@install_sh@,$install_sh,;t t
121595 s,@STRIP@,$STRIP,;t t
121596 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
121597 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
121598 s,@mkdir_p@,$mkdir_p,;t t
121599 s,@AWK@,$AWK,;t t
121600 s,@SET_MAKE@,$SET_MAKE,;t t
121601 s,@am__leading_dot@,$am__leading_dot,;t t
121602 s,@AMTAR@,$AMTAR,;t t
121603 s,@am__tar@,$am__tar,;t t
121604 s,@am__untar@,$am__untar,;t t
121605 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
121606 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
121607 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
121608 s,@CC@,$CC,;t t
121609 s,@ac_ct_CC@,$ac_ct_CC,;t t
121610 s,@EXEEXT@,$EXEEXT,;t t
121611 s,@OBJEXT@,$OBJEXT,;t t
121612 s,@CXX@,$CXX,;t t
121613 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
121614 s,@CFLAGS@,$CFLAGS,;t t
121615 s,@CXXFLAGS@,$CXXFLAGS,;t t
121616 s,@LN_S@,$LN_S,;t t
121617 s,@AS@,$AS,;t t
121618 s,@ac_ct_AS@,$ac_ct_AS,;t t
121619 s,@AR@,$AR,;t t
121620 s,@ac_ct_AR@,$ac_ct_AR,;t t
121621 s,@RANLIB@,$RANLIB,;t t
121622 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
121623 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
121624 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
121625 s,@MAINT@,$MAINT,;t t
121626 s,@CPP@,$CPP,;t t
121627 s,@CPPFLAGS@,$CPPFLAGS,;t t
121628 s,@EGREP@,$EGREP,;t t
121629 s,@LIBTOOL@,$LIBTOOL,;t t
121630 s,@SED@,$SED,;t t
121631 s,@FGREP@,$FGREP,;t t
121632 s,@GREP@,$GREP,;t t
121633 s,@LD@,$LD,;t t
121634 s,@DUMPBIN@,$DUMPBIN,;t t
121635 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
121636 s,@NM@,$NM,;t t
121637 s,@lt_ECHO@,$lt_ECHO,;t t
121638 s,@LDFLAGS@,$LDFLAGS,;t t
121639 s,@CXXCPP@,$CXXCPP,;t t
121640 s,@enable_shared@,$enable_shared,;t t
121641 s,@enable_static@,$enable_static,;t t
121642 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
121643 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
121644 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
121645 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
121646 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
121647 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
121648 s,@WERROR@,$WERROR,;t t
121649 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
121650 s,@CSTDIO_H@,$CSTDIO_H,;t t
121651 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
121652 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
121653 s,@check_msgfmt@,$check_msgfmt,;t t
121654 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
121655 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
121656 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
121657 s,@USE_NLS@,$USE_NLS,;t t
121658 s,@CLOCALE_H@,$CLOCALE_H,;t t
121659 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
121660 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
121661 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
121662 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
121663 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
121664 s,@CMONEY_CC@,$CMONEY_CC,;t t
121665 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
121666 s,@CTIME_H@,$CTIME_H,;t t
121667 s,@CTIME_CC@,$CTIME_CC,;t t
121668 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
121669 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
121670 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
121671 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
121672 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
121673 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
121674 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
121675 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
121676 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
121677 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
121678 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
121679 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
121680 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
121681 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
121682 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
121683 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
121684 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
121685 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
121686 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
121687 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
121688 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
121689 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
121690 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
121691 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
121692 s,@LIBICONV@,$LIBICONV,;t t
121693 s,@LTLIBICONV@,$LTLIBICONV,;t t
121694 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
121695 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
121696 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
121697 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
121698 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
121699 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
121700 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
121701 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
121702 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
121703 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
121704 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
121705 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
121706 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
121707 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
121708 s,@baseline_dir@,$baseline_dir,;t t
121709 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
121710 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
121711 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
121712 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
121713 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
121714 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
121715 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
121716 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
121717 s,@gxx_include_dir@,$gxx_include_dir,;t t
121718 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
121719 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
121720 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
121721 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
121722 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
121723 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
121724 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
121725 s,@LIBOBJS@,$LIBOBJS,;t t
121726 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
121729 _ACEOF
121731 cat >>$CONFIG_STATUS <<\_ACEOF
121732 # Split the substitutions into bite-sized pieces for seds with
121733 # small command number limits, like on Digital OSF/1 and HP-UX.
121734 ac_max_sed_lines=48
121735 ac_sed_frag=1 # Number of current file.
121736 ac_beg=1 # First line for current file.
121737 ac_end=$ac_max_sed_lines # Line after last line for current file.
121738 ac_more_lines=:
121739 ac_sed_cmds=
121740 while $ac_more_lines; do
121741 if test $ac_beg -gt 1; then
121742 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121744 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121746 if test ! -s $tmp/subs.frag; then
121747 ac_more_lines=false
121749 # The purpose of the label and of the branching condition is to
121750 # speed up the sed processing (if there are no `@' at all, there
121751 # is no need to browse any of the substitutions).
121752 # These are the two extra sed commands mentioned above.
121753 (echo ':t
121754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
121755 if test -z "$ac_sed_cmds"; then
121756 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
121758 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
121760 ac_sed_frag=`expr $ac_sed_frag + 1`
121761 ac_beg=$ac_end
121762 ac_end=`expr $ac_end + $ac_max_sed_lines`
121765 if test -z "$ac_sed_cmds"; then
121766 ac_sed_cmds=cat
121768 fi # test -n "$CONFIG_FILES"
121770 _ACEOF
121771 cat >>$CONFIG_STATUS <<\_ACEOF
121772 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
121773 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121774 case $ac_file in
121775 - | *:- | *:-:* ) # input from stdin
121776 cat >$tmp/stdin
121777 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121778 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121779 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121780 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121781 * ) ac_file_in=$ac_file.in ;;
121784 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
121785 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
121786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121787 X"$ac_file" : 'X\(//\)[^/]' \| \
121788 X"$ac_file" : 'X\(//\)$' \| \
121789 X"$ac_file" : 'X\(/\)' \| \
121790 . : '\(.\)' 2>/dev/null ||
121791 echo X"$ac_file" |
121792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121794 /^X\(\/\/\)$/{ s//\1/; q; }
121795 /^X\(\/\).*/{ s//\1/; q; }
121796 s/.*/./; q'`
121797 { if $as_mkdir_p; then
121798 mkdir -p "$ac_dir"
121800 as_dir="$ac_dir"
121801 as_dirs=
121802 while test ! -d "$as_dir"; do
121803 as_dirs="$as_dir $as_dirs"
121804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
121805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121806 X"$as_dir" : 'X\(//\)[^/]' \| \
121807 X"$as_dir" : 'X\(//\)$' \| \
121808 X"$as_dir" : 'X\(/\)' \| \
121809 . : '\(.\)' 2>/dev/null ||
121810 echo X"$as_dir" |
121811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121813 /^X\(\/\/\)$/{ s//\1/; q; }
121814 /^X\(\/\).*/{ s//\1/; q; }
121815 s/.*/./; q'`
121817 test ! -n "$as_dirs" || mkdir $as_dirs
121818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
121819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
121820 { (exit 1); exit 1; }; }; }
121822 ac_builddir=.
121824 if test "$ac_dir" != .; then
121825 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
121826 # A "../" for each directory in $ac_dir_suffix.
121827 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
121829 ac_dir_suffix= ac_top_builddir=
121832 case $srcdir in
121833 .) # No --srcdir option. We are building in place.
121834 ac_srcdir=.
121835 if test -z "$ac_top_builddir"; then
121836 ac_top_srcdir=.
121838 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
121839 fi ;;
121840 [\\/]* | ?:[\\/]* ) # Absolute path.
121841 ac_srcdir=$srcdir$ac_dir_suffix;
121842 ac_top_srcdir=$srcdir ;;
121843 *) # Relative path.
121844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
121845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
121848 # Do not use `cd foo && pwd` to compute absolute paths, because
121849 # the directories may not exist.
121850 case `pwd` in
121851 .) ac_abs_builddir="$ac_dir";;
121853 case "$ac_dir" in
121854 .) ac_abs_builddir=`pwd`;;
121855 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
121856 *) ac_abs_builddir=`pwd`/"$ac_dir";;
121857 esac;;
121859 case $ac_abs_builddir in
121860 .) ac_abs_top_builddir=${ac_top_builddir}.;;
121862 case ${ac_top_builddir}. in
121863 .) ac_abs_top_builddir=$ac_abs_builddir;;
121864 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
121865 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
121866 esac;;
121868 case $ac_abs_builddir in
121869 .) ac_abs_srcdir=$ac_srcdir;;
121871 case $ac_srcdir in
121872 .) ac_abs_srcdir=$ac_abs_builddir;;
121873 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
121874 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
121875 esac;;
121877 case $ac_abs_builddir in
121878 .) ac_abs_top_srcdir=$ac_top_srcdir;;
121880 case $ac_top_srcdir in
121881 .) ac_abs_top_srcdir=$ac_abs_builddir;;
121882 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
121883 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
121884 esac;;
121888 case $INSTALL in
121889 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
121890 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
121893 if test x"$ac_file" != x-; then
121894 { echo "$as_me:$LINENO: creating $ac_file" >&5
121895 echo "$as_me: creating $ac_file" >&6;}
121896 rm -f "$ac_file"
121898 # Let's still pretend it is `configure' which instantiates (i.e., don't
121899 # use $as_me), people would be surprised to read:
121900 # /* config.h. Generated by config.status. */
121901 if test x"$ac_file" = x-; then
121902 configure_input=
121904 configure_input="$ac_file. "
121906 configure_input=$configure_input"Generated from `echo $ac_file_in |
121907 sed 's,.*/,,'` by configure."
121909 # First look for the input files in the build tree, otherwise in the
121910 # src tree.
121911 ac_file_inputs=`IFS=:
121912 for f in $ac_file_in; do
121913 case $f in
121914 -) echo $tmp/stdin ;;
121915 [\\/$]*)
121916 # Absolute (can't be DOS-style, as IFS=:)
121917 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121918 echo "$as_me: error: cannot find input file: $f" >&2;}
121919 { (exit 1); exit 1; }; }
121920 echo "$f";;
121921 *) # Relative
121922 if test -f "$f"; then
121923 # Build tree
121924 echo "$f"
121925 elif test -f "$srcdir/$f"; then
121926 # Source tree
121927 echo "$srcdir/$f"
121929 # /dev/null tree
121930 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121931 echo "$as_me: error: cannot find input file: $f" >&2;}
121932 { (exit 1); exit 1; }; }
121935 done` || { (exit 1); exit 1; }
121936 _ACEOF
121937 cat >>$CONFIG_STATUS <<_ACEOF
121938 sed "$ac_vpsub
121939 $extrasub
121940 _ACEOF
121941 cat >>$CONFIG_STATUS <<\_ACEOF
121943 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
121944 s,@configure_input@,$configure_input,;t t
121945 s,@srcdir@,$ac_srcdir,;t t
121946 s,@abs_srcdir@,$ac_abs_srcdir,;t t
121947 s,@top_srcdir@,$ac_top_srcdir,;t t
121948 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
121949 s,@builddir@,$ac_builddir,;t t
121950 s,@abs_builddir@,$ac_abs_builddir,;t t
121951 s,@top_builddir@,$ac_top_builddir,;t t
121952 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
121953 s,@INSTALL@,$ac_INSTALL,;t t
121954 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
121955 rm -f $tmp/stdin
121956 if test x"$ac_file" != x-; then
121957 mv $tmp/out $ac_file
121959 cat $tmp/out
121960 rm -f $tmp/out
121963 # Run the commands associated with the file.
121964 case $ac_file in
121965 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
121968 _ACEOF
121969 cat >>$CONFIG_STATUS <<\_ACEOF
121972 # CONFIG_HEADER section.
121975 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
121976 # NAME is the cpp macro being defined and VALUE is the value it is being given.
121978 # ac_d sets the value in "#define NAME VALUE" lines.
121979 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
121980 ac_dB='[ ].*$,\1#\2'
121981 ac_dC=' '
121982 ac_dD=',;t'
121983 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
121984 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
121985 ac_uB='$,\1#\2define\3'
121986 ac_uC=' '
121987 ac_uD=',;t'
121989 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
121990 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121991 case $ac_file in
121992 - | *:- | *:-:* ) # input from stdin
121993 cat >$tmp/stdin
121994 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121995 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121996 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121997 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121998 * ) ac_file_in=$ac_file.in ;;
122001 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
122002 echo "$as_me: creating $ac_file" >&6;}
122004 # First look for the input files in the build tree, otherwise in the
122005 # src tree.
122006 ac_file_inputs=`IFS=:
122007 for f in $ac_file_in; do
122008 case $f in
122009 -) echo $tmp/stdin ;;
122010 [\\/$]*)
122011 # Absolute (can't be DOS-style, as IFS=:)
122012 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122013 echo "$as_me: error: cannot find input file: $f" >&2;}
122014 { (exit 1); exit 1; }; }
122015 # Do quote $f, to prevent DOS paths from being IFS'd.
122016 echo "$f";;
122017 *) # Relative
122018 if test -f "$f"; then
122019 # Build tree
122020 echo "$f"
122021 elif test -f "$srcdir/$f"; then
122022 # Source tree
122023 echo "$srcdir/$f"
122025 # /dev/null tree
122026 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122027 echo "$as_me: error: cannot find input file: $f" >&2;}
122028 { (exit 1); exit 1; }; }
122031 done` || { (exit 1); exit 1; }
122032 # Remove the trailing spaces.
122033 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
122035 _ACEOF
122037 # Transform confdefs.h into two sed scripts, `conftest.defines' and
122038 # `conftest.undefs', that substitutes the proper values into
122039 # config.h.in to produce config.h. The first handles `#define'
122040 # templates, and the second `#undef' templates.
122041 # And first: Protect against being on the right side of a sed subst in
122042 # config.status. Protect against being in an unquoted here document
122043 # in config.status.
122044 rm -f conftest.defines conftest.undefs
122045 # Using a here document instead of a string reduces the quoting nightmare.
122046 # Putting comments in sed scripts is not portable.
122048 # `end' is used to avoid that the second main sed command (meant for
122049 # 0-ary CPP macros) applies to n-ary macro definitions.
122050 # See the Autoconf documentation for `clear'.
122051 cat >confdef2sed.sed <<\_ACEOF
122052 s/[\\&,]/\\&/g
122053 s,[\\$`],\\&,g
122054 t clear
122055 : clear
122056 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122057 t end
122058 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122059 : end
122060 _ACEOF
122061 # If some macros were called several times there might be several times
122062 # the same #defines, which is useless. Nevertheless, we may not want to
122063 # sort them, since we want the *last* AC-DEFINE to be honored.
122064 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122065 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122066 rm -f confdef2sed.sed
122068 # This sed command replaces #undef with comments. This is necessary, for
122069 # example, in the case of _POSIX_SOURCE, which is predefined and required
122070 # on some systems where configure will not decide to define it.
122071 cat >>conftest.undefs <<\_ACEOF
122072 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122073 _ACEOF
122075 # Break up conftest.defines because some shells have a limit on the size
122076 # of here documents, and old seds have small limits too (100 cmds).
122077 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122078 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122079 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122080 echo ' :' >>$CONFIG_STATUS
122081 rm -f conftest.tail
122082 while grep . conftest.defines >/dev/null
122084 # Write a limited-size here document to $tmp/defines.sed.
122085 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122086 # Speed up: don't consider the non `#define' lines.
122087 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
122088 # Work around the forget-to-reset-the-flag bug.
122089 echo 't clr' >>$CONFIG_STATUS
122090 echo ': clr' >>$CONFIG_STATUS
122091 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122092 echo 'CEOF
122093 sed -f $tmp/defines.sed $tmp/in >$tmp/out
122094 rm -f $tmp/in
122095 mv $tmp/out $tmp/in
122096 ' >>$CONFIG_STATUS
122097 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122098 rm -f conftest.defines
122099 mv conftest.tail conftest.defines
122101 rm -f conftest.defines
122102 echo ' fi # grep' >>$CONFIG_STATUS
122103 echo >>$CONFIG_STATUS
122105 # Break up conftest.undefs because some shells have a limit on the size
122106 # of here documents, and old seds have small limits too (100 cmds).
122107 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
122108 rm -f conftest.tail
122109 while grep . conftest.undefs >/dev/null
122111 # Write a limited-size here document to $tmp/undefs.sed.
122112 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122113 # Speed up: don't consider the non `#undef'
122114 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
122115 # Work around the forget-to-reset-the-flag bug.
122116 echo 't clr' >>$CONFIG_STATUS
122117 echo ': clr' >>$CONFIG_STATUS
122118 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122119 echo 'CEOF
122120 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122121 rm -f $tmp/in
122122 mv $tmp/out $tmp/in
122123 ' >>$CONFIG_STATUS
122124 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122125 rm -f conftest.undefs
122126 mv conftest.tail conftest.undefs
122128 rm -f conftest.undefs
122130 cat >>$CONFIG_STATUS <<\_ACEOF
122131 # Let's still pretend it is `configure' which instantiates (i.e., don't
122132 # use $as_me), people would be surprised to read:
122133 # /* config.h. Generated by config.status. */
122134 if test x"$ac_file" = x-; then
122135 echo "/* Generated by configure. */" >$tmp/config.h
122137 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
122139 cat $tmp/in >>$tmp/config.h
122140 rm -f $tmp/in
122141 if test x"$ac_file" != x-; then
122142 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122143 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122144 echo "$as_me: $ac_file is unchanged" >&6;}
122146 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122147 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122148 X"$ac_file" : 'X\(//\)[^/]' \| \
122149 X"$ac_file" : 'X\(//\)$' \| \
122150 X"$ac_file" : 'X\(/\)' \| \
122151 . : '\(.\)' 2>/dev/null ||
122152 echo X"$ac_file" |
122153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122155 /^X\(\/\/\)$/{ s//\1/; q; }
122156 /^X\(\/\).*/{ s//\1/; q; }
122157 s/.*/./; q'`
122158 { if $as_mkdir_p; then
122159 mkdir -p "$ac_dir"
122161 as_dir="$ac_dir"
122162 as_dirs=
122163 while test ! -d "$as_dir"; do
122164 as_dirs="$as_dir $as_dirs"
122165 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122167 X"$as_dir" : 'X\(//\)[^/]' \| \
122168 X"$as_dir" : 'X\(//\)$' \| \
122169 X"$as_dir" : 'X\(/\)' \| \
122170 . : '\(.\)' 2>/dev/null ||
122171 echo X"$as_dir" |
122172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122174 /^X\(\/\/\)$/{ s//\1/; q; }
122175 /^X\(\/\).*/{ s//\1/; q; }
122176 s/.*/./; q'`
122178 test ! -n "$as_dirs" || mkdir $as_dirs
122179 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122180 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122181 { (exit 1); exit 1; }; }; }
122183 rm -f $ac_file
122184 mv $tmp/config.h $ac_file
122187 cat $tmp/config.h
122188 rm -f $tmp/config.h
122190 # Compute $ac_file's index in $config_headers.
122191 _am_stamp_count=1
122192 for _am_header in $config_headers :; do
122193 case $_am_header in
122194 $ac_file | $ac_file:* )
122195 break ;;
122197 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
122200 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
122201 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122202 X$ac_file : 'X\(//\)[^/]' \| \
122203 X$ac_file : 'X\(//\)$' \| \
122204 X$ac_file : 'X\(/\)' \| \
122205 . : '\(.\)' 2>/dev/null ||
122206 echo X$ac_file |
122207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122209 /^X\(\/\/\)$/{ s//\1/; q; }
122210 /^X\(\/\).*/{ s//\1/; q; }
122211 s/.*/./; q'`/stamp-h$_am_stamp_count
122213 _ACEOF
122214 cat >>$CONFIG_STATUS <<\_ACEOF
122217 # CONFIG_COMMANDS section.
122219 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
122220 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
122221 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
122222 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
122223 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122224 X"$ac_dest" : 'X\(//\)[^/]' \| \
122225 X"$ac_dest" : 'X\(//\)$' \| \
122226 X"$ac_dest" : 'X\(/\)' \| \
122227 . : '\(.\)' 2>/dev/null ||
122228 echo X"$ac_dest" |
122229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122231 /^X\(\/\/\)$/{ s//\1/; q; }
122232 /^X\(\/\).*/{ s//\1/; q; }
122233 s/.*/./; q'`
122234 { if $as_mkdir_p; then
122235 mkdir -p "$ac_dir"
122237 as_dir="$ac_dir"
122238 as_dirs=
122239 while test ! -d "$as_dir"; do
122240 as_dirs="$as_dir $as_dirs"
122241 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122242 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122243 X"$as_dir" : 'X\(//\)[^/]' \| \
122244 X"$as_dir" : 'X\(//\)$' \| \
122245 X"$as_dir" : 'X\(/\)' \| \
122246 . : '\(.\)' 2>/dev/null ||
122247 echo X"$as_dir" |
122248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122250 /^X\(\/\/\)$/{ s//\1/; q; }
122251 /^X\(\/\).*/{ s//\1/; q; }
122252 s/.*/./; q'`
122254 test ! -n "$as_dirs" || mkdir $as_dirs
122255 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122256 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122257 { (exit 1); exit 1; }; }; }
122259 ac_builddir=.
122261 if test "$ac_dir" != .; then
122262 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122263 # A "../" for each directory in $ac_dir_suffix.
122264 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122266 ac_dir_suffix= ac_top_builddir=
122269 case $srcdir in
122270 .) # No --srcdir option. We are building in place.
122271 ac_srcdir=.
122272 if test -z "$ac_top_builddir"; then
122273 ac_top_srcdir=.
122275 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122276 fi ;;
122277 [\\/]* | ?:[\\/]* ) # Absolute path.
122278 ac_srcdir=$srcdir$ac_dir_suffix;
122279 ac_top_srcdir=$srcdir ;;
122280 *) # Relative path.
122281 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122282 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122285 # Do not use `cd foo && pwd` to compute absolute paths, because
122286 # the directories may not exist.
122287 case `pwd` in
122288 .) ac_abs_builddir="$ac_dir";;
122290 case "$ac_dir" in
122291 .) ac_abs_builddir=`pwd`;;
122292 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122293 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122294 esac;;
122296 case $ac_abs_builddir in
122297 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122299 case ${ac_top_builddir}. in
122300 .) ac_abs_top_builddir=$ac_abs_builddir;;
122301 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122302 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122303 esac;;
122305 case $ac_abs_builddir in
122306 .) ac_abs_srcdir=$ac_srcdir;;
122308 case $ac_srcdir in
122309 .) ac_abs_srcdir=$ac_abs_builddir;;
122310 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122311 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122312 esac;;
122314 case $ac_abs_builddir in
122315 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122317 case $ac_top_srcdir in
122318 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122319 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122320 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122321 esac;;
122325 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
122326 echo "$as_me: executing $ac_dest commands" >&6;}
122327 case $ac_dest in
122328 default-1 )
122329 # Only add multilib support code if we just rebuilt the top-level
122330 # Makefile.
122331 case " $CONFIG_FILES " in
122332 *" Makefile "*)
122333 ac_file=Makefile . ${multi_basedir}/config-ml.in
122335 esac ;;
122336 libtool )
122338 # See if we are running on zsh, and set the options which allow our
122339 # commands through without removal of \ escapes.
122340 if test -n "${ZSH_VERSION+set}" ; then
122341 setopt NO_GLOB_SUBST
122344 cfgfile="${ofile}T"
122345 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
122346 $RM "$cfgfile"
122348 cat <<_LT_EOF >> "$cfgfile"
122349 #! $SHELL
122351 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
122352 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
122353 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
122354 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
122356 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
122357 # 2006, 2007 Free Software Foundation, Inc.
122359 # This file is part of GNU Libtool:
122360 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
122362 # This program is free software; you can redistribute it and/or modify
122363 # it under the terms of the GNU General Public License as published by
122364 # the Free Software Foundation; either version 2 of the License, or
122365 # (at your option) any later version.
122367 # This program is distributed in the hope that it will be useful, but
122368 # WITHOUT ANY WARRANTY; without even the implied warranty of
122369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
122370 # General Public License for more details.
122372 # You should have received a copy of the GNU General Public License
122373 # along with this program; if not, a copy can be downloaded from
122374 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
122375 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
122376 # MA 02110-1301, USA.
122378 # As a special exception to the GNU General Public License, if you
122379 # distribute this file as part of a program that contains a
122380 # configuration script generated by Autoconf, you may include it under
122381 # the same distribution terms that you use for the rest of that program.
122384 # The names of the tagged configurations supported by this script.
122385 available_tags="CXX "
122387 # ### BEGIN LIBTOOL CONFIG
122389 # Which release of libtool.m4 was used?
122390 macro_version=$macro_version
122391 macro_revision=$macro_revision
122393 # Whether or not to build shared libraries.
122394 build_libtool_libs=$enable_shared
122396 # Whether or not to build static libraries.
122397 build_old_libs=$enable_static
122399 # What type of objects to build.
122400 pic_mode=$pic_mode
122402 # Whether or not to optimize for fast installation.
122403 fast_install=$enable_fast_install
122405 # The host system.
122406 host_alias=$host_alias
122407 host=$host
122408 host_os=$host_os
122410 # The build system.
122411 build_alias=$build_alias
122412 build=$build
122413 build_os=$build_os
122415 # A sed program that does not truncate output.
122416 SED=$lt_SED
122418 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
122419 Xsed="\$SED -e 1s/^X//"
122421 # A grep program that handles long lines.
122422 GREP=$lt_GREP
122424 # An ERE matcher.
122425 EGREP=$lt_EGREP
122427 # A literal string matcher.
122428 FGREP=$lt_FGREP
122430 # A BSD- or MS-compatible name lister.
122431 NM=$lt_NM
122433 # Whether we need soft or hard links.
122434 LN_S=$lt_LN_S
122436 # What is the maximum length of a command?
122437 max_cmd_len=$max_cmd_len
122439 # Object file suffix (normally "o").
122440 objext=$ac_objext
122442 # Executable file suffix (normally "").
122443 exeext=$exeext
122445 # whether the shell understands "unset".
122446 lt_unset=$lt_unset
122448 # turn spaces into newlines.
122449 SP2NL=$lt_lt_SP2NL
122451 # turn newlines into spaces.
122452 NL2SP=$lt_lt_NL2SP
122454 # How to create reloadable object files.
122455 reload_flag=$lt_reload_flag
122456 reload_cmds=$lt_reload_cmds
122458 # Method to check whether dependent libraries are shared objects.
122459 deplibs_check_method=$lt_deplibs_check_method
122461 # Command to use when deplibs_check_method == "file_magic".
122462 file_magic_cmd=$lt_file_magic_cmd
122464 # The archiver.
122465 AR=$lt_AR
122466 AR_FLAGS=$lt_AR_FLAGS
122468 # A symbol stripping program.
122469 STRIP=$lt_STRIP
122471 # Commands used to install an old-style archive.
122472 RANLIB=$lt_RANLIB
122473 old_postinstall_cmds=$lt_old_postinstall_cmds
122474 old_postuninstall_cmds=$lt_old_postuninstall_cmds
122476 # A C compiler.
122477 LTCC=$lt_CC
122479 # LTCC compiler flags.
122480 LTCFLAGS=$lt_CFLAGS
122482 # Take the output of nm and produce a listing of raw symbols and C names.
122483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122485 # Transform the output of nm in a proper C declaration.
122486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122488 # Transform the output of nm in a C name address pair.
122489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122491 # The name of the directory that contains temporary libtool files.
122492 objdir=$objdir
122494 # Shell to use when invoking shell scripts.
122495 SHELL=$lt_SHELL
122497 # An echo program that does not interpret backslashes.
122498 ECHO=$lt_ECHO
122500 # Used to examine libraries when file_magic_cmd begins with "file".
122501 MAGIC_CMD=$MAGIC_CMD
122503 # Must we lock files when doing compilation?
122504 need_locks=$lt_need_locks
122506 # Old archive suffix (normally "a").
122507 libext=$libext
122509 # Shared library suffix (normally ".so").
122510 shrext_cmds=$lt_shrext_cmds
122512 # The commands to extract the exported symbol list from a shared archive.
122513 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122515 # Variables whose values should be saved in libtool wrapper scripts and
122516 # restored at link time.
122517 variables_saved_for_relink=$lt_variables_saved_for_relink
122519 # Do we need the "lib" prefix for modules?
122520 need_lib_prefix=$need_lib_prefix
122522 # Do we need a version for libraries?
122523 need_version=$need_version
122525 # Library versioning type.
122526 version_type=$version_type
122528 # Shared library runtime path variable.
122529 runpath_var=$runpath_var
122531 # Shared library path variable.
122532 shlibpath_var=$shlibpath_var
122534 # Is shlibpath searched before the hard-coded library search path?
122535 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122537 # Format of library name prefix.
122538 libname_spec=$lt_libname_spec
122540 # List of archive names. First name is the real one, the rest are links.
122541 # The last name is the one that the linker finds with -lNAME
122542 library_names_spec=$lt_library_names_spec
122544 # The coded name of the library, if different from the real name.
122545 soname_spec=$lt_soname_spec
122547 # Command to use after installation of a shared archive.
122548 postinstall_cmds=$lt_postinstall_cmds
122550 # Command to use after uninstallation of a shared archive.
122551 postuninstall_cmds=$lt_postuninstall_cmds
122553 # Commands used to finish a libtool library installation in a directory.
122554 finish_cmds=$lt_finish_cmds
122556 # As "finish_cmds", except a single script fragment to be evaled but
122557 # not shown.
122558 finish_eval=$lt_finish_eval
122560 # Whether we should hardcode library paths into libraries.
122561 hardcode_into_libs=$hardcode_into_libs
122563 # Compile-time system search path for libraries.
122564 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122566 # Run-time system search path for libraries.
122567 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122569 # Whether dlopen is supported.
122570 dlopen_support=$enable_dlopen
122572 # Whether dlopen of programs is supported.
122573 dlopen_self=$enable_dlopen_self
122575 # Whether dlopen of statically linked programs is supported.
122576 dlopen_self_static=$enable_dlopen_self_static
122578 # Commands to strip libraries.
122579 old_striplib=$lt_old_striplib
122580 striplib=$lt_striplib
122583 # The linker used to build libraries.
122584 LD=$lt_LD
122586 # Commands used to build an old-style archive.
122587 old_archive_cmds=$lt_old_archive_cmds
122589 # A language specific compiler.
122590 CC=$lt_compiler
122592 # Is the compiler the GNU compiler?
122593 with_gcc=$GCC
122595 # Compiler flag to turn off builtin functions.
122596 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
122598 # How to pass a linker flag through the compiler.
122599 wl=$lt_lt_prog_compiler_wl
122601 # Additional compiler flags for building library objects.
122602 pic_flag=$lt_lt_prog_compiler_pic
122604 # Compiler flag to prevent dynamic linking.
122605 link_static_flag=$lt_lt_prog_compiler_static
122607 # Does compiler simultaneously support -c and -o options?
122608 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
122610 # Whether or not to add -lc for building shared libraries.
122611 build_libtool_need_lc=$archive_cmds_need_lc
122613 # Whether or not to disallow shared libs when runtime libs are static.
122614 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
122616 # Compiler flag to allow reflexive dlopens.
122617 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
122619 # Compiler flag to generate shared objects directly from archives.
122620 whole_archive_flag_spec=$lt_whole_archive_flag_spec
122622 # Whether the compiler copes with passing no objects directly.
122623 compiler_needs_object=$lt_compiler_needs_object
122625 # Create an old-style archive from a shared archive.
122626 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
122628 # Create a temporary old-style archive to link instead of a shared archive.
122629 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
122631 # Commands used to build a shared archive.
122632 archive_cmds=$lt_archive_cmds
122633 archive_expsym_cmds=$lt_archive_expsym_cmds
122635 # Commands used to build a loadable module if different from building
122636 # a shared archive.
122637 module_cmds=$lt_module_cmds
122638 module_expsym_cmds=$lt_module_expsym_cmds
122640 # Whether we are building with GNU ld or not.
122641 with_gnu_ld=$lt_with_gnu_ld
122643 # Flag that allows shared libraries with undefined symbols to be built.
122644 allow_undefined_flag=$lt_allow_undefined_flag
122646 # Flag that enforces no undefined symbols.
122647 no_undefined_flag=$lt_no_undefined_flag
122649 # Flag to hardcode \$libdir into a binary during linking.
122650 # This must work even if \$libdir does not exist
122651 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
122653 # If ld is used when linking, flag to hardcode \$libdir into a binary
122654 # during linking. This must work even if \$libdir does not exist.
122655 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
122657 # Whether we need a single "-rpath" flag with a separated argument.
122658 hardcode_libdir_separator=$lt_hardcode_libdir_separator
122660 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122661 # DIR into the resulting binary.
122662 hardcode_direct=$hardcode_direct
122664 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122665 # DIR into the resulting binary and the resulting library dependency is
122666 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122667 # library is relocated.
122668 hardcode_direct_absolute=$hardcode_direct_absolute
122670 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122671 # into the resulting binary.
122672 hardcode_minus_L=$hardcode_minus_L
122674 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122675 # into the resulting binary.
122676 hardcode_shlibpath_var=$hardcode_shlibpath_var
122678 # Set to "yes" if building a shared library automatically hardcodes DIR
122679 # into the library and all subsequent libraries and executables linked
122680 # against it.
122681 hardcode_automatic=$hardcode_automatic
122683 # Set to yes if linker adds runtime paths of dependent libraries
122684 # to runtime path list.
122685 inherit_rpath=$inherit_rpath
122687 # Whether libtool must link a program against all its dependency libraries.
122688 link_all_deplibs=$link_all_deplibs
122690 # Fix the shell variable \$srcfile for the compiler.
122691 fix_srcfile_path=$lt_fix_srcfile_path
122693 # Set to "yes" if exported symbols are required.
122694 always_export_symbols=$always_export_symbols
122696 # The commands to list exported symbols.
122697 export_symbols_cmds=$lt_export_symbols_cmds
122699 # Symbols that should not be listed in the preloaded symbols.
122700 exclude_expsyms=$lt_exclude_expsyms
122702 # Symbols that must always be exported.
122703 include_expsyms=$lt_include_expsyms
122705 # Commands necessary for linking programs (against libraries) with templates.
122706 prelink_cmds=$lt_prelink_cmds
122708 # Specify filename containing input files.
122709 file_list_spec=$lt_file_list_spec
122711 # How to hardcode a shared library path into an executable.
122712 hardcode_action=$hardcode_action
122714 # Dependencies to place before and after the objects being linked to
122715 # create a shared library.
122716 predep_objects=$lt_predep_objects
122717 postdep_objects=$lt_postdep_objects
122718 predeps=$lt_predeps
122719 postdeps=$lt_postdeps
122721 # The library search path used internally by the compiler when linking
122722 # a shared library.
122723 compiler_lib_search_path=$lt_compiler_lib_search_path
122725 # ### END LIBTOOL CONFIG
122727 _LT_EOF
122729 case $host_os in
122730 aix3*)
122731 cat <<\_LT_EOF >> "$cfgfile"
122732 # AIX sometimes has problems with the GCC collect2 program. For some
122733 # reason, if we set the COLLECT_NAMES environment variable, the problems
122734 # vanish in a puff of smoke.
122735 if test "X${COLLECT_NAMES+set}" != Xset; then
122736 COLLECT_NAMES=
122737 export COLLECT_NAMES
122739 _LT_EOF
122744 ltmain="$ac_aux_dir/ltmain.sh"
122747 # We use sed instead of cat because bash on DJGPP gets confused if
122748 # if finds mixed CR/LF and LF-only lines. Since sed operates in
122749 # text mode, it properly converts lines to CR/LF. This bash problem
122750 # is reportedly fixed, but why not run on old versions too?
122751 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
122752 || (rm -f "$cfgfile"; exit 1)
122754 case $xsi_shell in
122756 cat << \_LT_EOF >> "$cfgfile"
122757 # func_dirname file append nondir_replacement
122758 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122759 # otherwise set result to NONDIR_REPLACEMENT.
122760 func_dirname ()
122762 case ${1} in
122763 */*) func_dirname_result="${1%/*}${2}" ;;
122764 * ) func_dirname_result="${3}" ;;
122768 # func_basename file
122769 func_basename ()
122771 func_basename_result="${1##*/}"
122774 # func_stripname prefix suffix name
122775 # strip PREFIX and SUFFIX off of NAME.
122776 # PREFIX and SUFFIX must not contain globbing or regex special
122777 # characters, hashes, percent signs, but SUFFIX may contain a leading
122778 # dot (in which case that matches only a dot).
122779 func_stripname ()
122781 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
122782 # positional parameters, so assign one to ordinary parameter first.
122783 func_stripname_result=${3}
122784 func_stripname_result=${func_stripname_result#"${1}"}
122785 func_stripname_result=${func_stripname_result%"${2}"}
122788 # func_opt_split
122789 func_opt_split ()
122791 func_opt_split_opt=${1%%=*}
122792 func_opt_split_arg=${1#*=}
122795 # func_lo2o object
122796 func_lo2o ()
122798 case ${1} in
122799 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
122800 *) func_lo2o_result=${1} ;;
122803 _LT_EOF
122805 *) # Bourne compatible functions.
122806 cat << \_LT_EOF >> "$cfgfile"
122807 # func_dirname file append nondir_replacement
122808 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122809 # otherwise set result to NONDIR_REPLACEMENT.
122810 func_dirname ()
122812 # Extract subdirectory from the argument.
122813 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
122814 if test "X$func_dirname_result" = "X${1}"; then
122815 func_dirname_result="${3}"
122817 func_dirname_result="$func_dirname_result${2}"
122821 # func_basename file
122822 func_basename ()
122824 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
122827 # func_stripname prefix suffix name
122828 # strip PREFIX and SUFFIX off of NAME.
122829 # PREFIX and SUFFIX must not contain globbing or regex special
122830 # characters, hashes, percent signs, but SUFFIX may contain a leading
122831 # dot (in which case that matches only a dot).
122832 # func_strip_suffix prefix name
122833 func_stripname ()
122835 case ${2} in
122836 .*) func_stripname_result=`$ECHO "X${3}" \
122837 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
122838 *) func_stripname_result=`$ECHO "X${3}" \
122839 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
122843 # sed scripts:
122844 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
122845 my_sed_long_arg='1s/^-[^=]*=//'
122847 # func_opt_split
122848 func_opt_split ()
122850 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
122851 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
122854 # func_lo2o object
122855 func_lo2o ()
122857 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
122859 _LT_EOF
122862 case $lt_shell_append in
122864 cat << \_LT_EOF >> "$cfgfile"
122866 # func_append var value
122867 # Append VALUE to the end of shell variable VAR.
122868 func_append ()
122870 eval "$1+=\$2"
122872 _LT_EOF
122875 cat << \_LT_EOF >> "$cfgfile"
122877 # func_append var value
122878 # Append VALUE to the end of shell variable VAR.
122879 func_append ()
122881 eval "$1=\$$1\$2"
122883 _LT_EOF
122888 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
122889 || (rm -f "$cfgfile"; exit 1)
122891 mv -f "$cfgfile" "$ofile" ||
122892 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
122893 chmod +x "$ofile"
122896 cat <<_LT_EOF >> "$ofile"
122898 # ### BEGIN LIBTOOL TAG CONFIG: CXX
122900 # The linker used to build libraries.
122901 LD=$lt_LD_CXX
122903 # Commands used to build an old-style archive.
122904 old_archive_cmds=$lt_old_archive_cmds_CXX
122906 # A language specific compiler.
122907 CC=$lt_compiler_CXX
122909 # Is the compiler the GNU compiler?
122910 with_gcc=$GCC_CXX
122912 # Compiler flag to turn off builtin functions.
122913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
122915 # How to pass a linker flag through the compiler.
122916 wl=$lt_lt_prog_compiler_wl_CXX
122918 # Additional compiler flags for building library objects.
122919 pic_flag=$lt_lt_prog_compiler_pic_CXX
122921 # Compiler flag to prevent dynamic linking.
122922 link_static_flag=$lt_lt_prog_compiler_static_CXX
122924 # Does compiler simultaneously support -c and -o options?
122925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
122927 # Whether or not to add -lc for building shared libraries.
122928 build_libtool_need_lc=$archive_cmds_need_lc_CXX
122930 # Whether or not to disallow shared libs when runtime libs are static.
122931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
122933 # Compiler flag to allow reflexive dlopens.
122934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
122936 # Compiler flag to generate shared objects directly from archives.
122937 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
122939 # Whether the compiler copes with passing no objects directly.
122940 compiler_needs_object=$lt_compiler_needs_object_CXX
122942 # Create an old-style archive from a shared archive.
122943 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
122945 # Create a temporary old-style archive to link instead of a shared archive.
122946 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
122948 # Commands used to build a shared archive.
122949 archive_cmds=$lt_archive_cmds_CXX
122950 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
122952 # Commands used to build a loadable module if different from building
122953 # a shared archive.
122954 module_cmds=$lt_module_cmds_CXX
122955 module_expsym_cmds=$lt_module_expsym_cmds_CXX
122957 # Whether we are building with GNU ld or not.
122958 with_gnu_ld=$lt_with_gnu_ld_CXX
122960 # Flag that allows shared libraries with undefined symbols to be built.
122961 allow_undefined_flag=$lt_allow_undefined_flag_CXX
122963 # Flag that enforces no undefined symbols.
122964 no_undefined_flag=$lt_no_undefined_flag_CXX
122966 # Flag to hardcode \$libdir into a binary during linking.
122967 # This must work even if \$libdir does not exist
122968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
122970 # If ld is used when linking, flag to hardcode \$libdir into a binary
122971 # during linking. This must work even if \$libdir does not exist.
122972 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
122974 # Whether we need a single "-rpath" flag with a separated argument.
122975 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
122977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122978 # DIR into the resulting binary.
122979 hardcode_direct=$hardcode_direct_CXX
122981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122982 # DIR into the resulting binary and the resulting library dependency is
122983 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122984 # library is relocated.
122985 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
122987 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122988 # into the resulting binary.
122989 hardcode_minus_L=$hardcode_minus_L_CXX
122991 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122992 # into the resulting binary.
122993 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
122995 # Set to "yes" if building a shared library automatically hardcodes DIR
122996 # into the library and all subsequent libraries and executables linked
122997 # against it.
122998 hardcode_automatic=$hardcode_automatic_CXX
123000 # Set to yes if linker adds runtime paths of dependent libraries
123001 # to runtime path list.
123002 inherit_rpath=$inherit_rpath_CXX
123004 # Whether libtool must link a program against all its dependency libraries.
123005 link_all_deplibs=$link_all_deplibs_CXX
123007 # Fix the shell variable \$srcfile for the compiler.
123008 fix_srcfile_path=$lt_fix_srcfile_path_CXX
123010 # Set to "yes" if exported symbols are required.
123011 always_export_symbols=$always_export_symbols_CXX
123013 # The commands to list exported symbols.
123014 export_symbols_cmds=$lt_export_symbols_cmds_CXX
123016 # Symbols that should not be listed in the preloaded symbols.
123017 exclude_expsyms=$lt_exclude_expsyms_CXX
123019 # Symbols that must always be exported.
123020 include_expsyms=$lt_include_expsyms_CXX
123022 # Commands necessary for linking programs (against libraries) with templates.
123023 prelink_cmds=$lt_prelink_cmds_CXX
123025 # Specify filename containing input files.
123026 file_list_spec=$lt_file_list_spec_CXX
123028 # How to hardcode a shared library path into an executable.
123029 hardcode_action=$hardcode_action_CXX
123031 # Dependencies to place before and after the objects being linked to
123032 # create a shared library.
123033 predep_objects=$lt_predep_objects_CXX
123034 postdep_objects=$lt_postdep_objects_CXX
123035 predeps=$lt_predeps_CXX
123036 postdeps=$lt_postdeps_CXX
123038 # The library search path used internally by the compiler when linking
123039 # a shared library.
123040 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123042 # ### END LIBTOOL TAG CONFIG: CXX
123043 _LT_EOF
123046 include/gstdint.h )
123047 if test "$GCC" = yes; then
123048 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123050 echo "/* generated for $CC */" > tmp-stdint.h
123053 sed 's/^ *//' >> tmp-stdint.h <<EOF
123055 #ifndef GCC_GENERATED_STDINT_H
123056 #define GCC_GENERATED_STDINT_H 1
123058 #include <sys/types.h>
123061 if test "$acx_cv_header_stdint" != stdint.h; then
123062 echo "#include <stddef.h>" >> tmp-stdint.h
123064 if test "$acx_cv_header_stdint" != stddef.h; then
123065 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123068 sed 's/^ *//' >> tmp-stdint.h <<EOF
123069 /* glibc uses these symbols as guards to prevent redefinitions. */
123070 #ifdef __int8_t_defined
123071 #define _INT8_T
123072 #define _INT16_T
123073 #define _INT32_T
123074 #endif
123075 #ifdef __uint32_t_defined
123076 #define _UINT32_T
123077 #endif
123081 # ----------------- done header, emit basic int types -------------
123082 if test "$acx_cv_header_stdint" = stddef.h; then
123083 sed 's/^ *//' >> tmp-stdint.h <<EOF
123085 #ifndef _UINT8_T
123086 #define _UINT8_T
123087 #ifndef __uint8_t_defined
123088 #define __uint8_t_defined
123089 typedef unsigned $acx_cv_type_int8_t uint8_t;
123090 #endif
123091 #endif
123093 #ifndef _UINT16_T
123094 #define _UINT16_T
123095 #ifndef __uint16_t_defined
123096 #define __uint16_t_defined
123097 typedef unsigned $acx_cv_type_int16_t uint16_t;
123098 #endif
123099 #endif
123101 #ifndef _UINT32_T
123102 #define _UINT32_T
123103 #ifndef __uint32_t_defined
123104 #define __uint32_t_defined
123105 typedef unsigned $acx_cv_type_int32_t uint32_t;
123106 #endif
123107 #endif
123109 #ifndef _INT8_T
123110 #define _INT8_T
123111 #ifndef __int8_t_defined
123112 #define __int8_t_defined
123113 typedef $acx_cv_type_int8_t int8_t;
123114 #endif
123115 #endif
123117 #ifndef _INT16_T
123118 #define _INT16_T
123119 #ifndef __int16_t_defined
123120 #define __int16_t_defined
123121 typedef $acx_cv_type_int16_t int16_t;
123122 #endif
123123 #endif
123125 #ifndef _INT32_T
123126 #define _INT32_T
123127 #ifndef __int32_t_defined
123128 #define __int32_t_defined
123129 typedef $acx_cv_type_int32_t int32_t;
123130 #endif
123131 #endif
123133 elif test "$ac_cv_type_u_int32_t" = yes; then
123134 sed 's/^ *//' >> tmp-stdint.h <<EOF
123136 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123137 #ifndef _INT8_T
123138 #define _INT8_T
123139 #endif
123140 #ifndef _INT16_T
123141 #define _INT16_T
123142 #endif
123143 #ifndef _INT32_T
123144 #define _INT32_T
123145 #endif
123147 #ifndef _UINT8_T
123148 #define _UINT8_T
123149 #ifndef __uint8_t_defined
123150 #define __uint8_t_defined
123151 typedef u_int8_t uint8_t;
123152 #endif
123153 #endif
123155 #ifndef _UINT16_T
123156 #define _UINT16_T
123157 #ifndef __uint16_t_defined
123158 #define __uint16_t_defined
123159 typedef u_int16_t uint16_t;
123160 #endif
123161 #endif
123163 #ifndef _UINT32_T
123164 #define _UINT32_T
123165 #ifndef __uint32_t_defined
123166 #define __uint32_t_defined
123167 typedef u_int32_t uint32_t;
123168 #endif
123169 #endif
123172 sed 's/^ *//' >> tmp-stdint.h <<EOF
123174 /* Some systems have guard macros to prevent redefinitions, define them. */
123175 #ifndef _INT8_T
123176 #define _INT8_T
123177 #endif
123178 #ifndef _INT16_T
123179 #define _INT16_T
123180 #endif
123181 #ifndef _INT32_T
123182 #define _INT32_T
123183 #endif
123184 #ifndef _UINT8_T
123185 #define _UINT8_T
123186 #endif
123187 #ifndef _UINT16_T
123188 #define _UINT16_T
123189 #endif
123190 #ifndef _UINT32_T
123191 #define _UINT32_T
123192 #endif
123196 # ------------- done basic int types, emit int64_t types ------------
123197 if test "$ac_cv_type_uint64_t" = yes; then
123198 sed 's/^ *//' >> tmp-stdint.h <<EOF
123200 /* system headers have good uint64_t and int64_t */
123201 #ifndef _INT64_T
123202 #define _INT64_T
123203 #endif
123204 #ifndef _UINT64_T
123205 #define _UINT64_T
123206 #endif
123208 elif test "$ac_cv_type_u_int64_t" = yes; then
123209 sed 's/^ *//' >> tmp-stdint.h <<EOF
123211 /* system headers have an u_int64_t (and int64_t) */
123212 #ifndef _INT64_T
123213 #define _INT64_T
123214 #endif
123215 #ifndef _UINT64_T
123216 #define _UINT64_T
123217 #ifndef __uint64_t_defined
123218 #define __uint64_t_defined
123219 typedef u_int64_t uint64_t;
123220 #endif
123221 #endif
123223 elif test -n "$acx_cv_type_int64_t"; then
123224 sed 's/^ *//' >> tmp-stdint.h <<EOF
123226 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
123227 #ifndef _INT64_T
123228 #define _INT64_T
123229 typedef $acx_cv_type_int64_t int64_t;
123230 #endif
123231 #ifndef _UINT64_T
123232 #define _UINT64_T
123233 #ifndef __uint64_t_defined
123234 #define __uint64_t_defined
123235 typedef unsigned $acx_cv_type_int64_t uint64_t;
123236 #endif
123237 #endif
123240 sed 's/^ *//' >> tmp-stdint.h <<EOF
123242 /* some common heuristics for int64_t, using compiler-specific tests */
123243 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
123244 #ifndef _INT64_T
123245 #define _INT64_T
123246 #ifndef __int64_t_defined
123247 typedef long long int64_t;
123248 #endif
123249 #endif
123250 #ifndef _UINT64_T
123251 #define _UINT64_T
123252 typedef unsigned long long uint64_t;
123253 #endif
123255 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
123256 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
123257 does not implement __extension__. But that compiler doesn't define
123258 __GNUC_MINOR__. */
123259 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
123260 # define __extension__
123261 # endif
123263 # ifndef _INT64_T
123264 # define _INT64_T
123265 __extension__ typedef long long int64_t;
123266 # endif
123267 # ifndef _UINT64_T
123268 # define _UINT64_T
123269 __extension__ typedef unsigned long long uint64_t;
123270 # endif
123272 #elif !defined __STRICT_ANSI__
123273 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
123275 # ifndef _INT64_T
123276 # define _INT64_T
123277 typedef __int64 int64_t;
123278 # endif
123279 # ifndef _UINT64_T
123280 # define _UINT64_T
123281 typedef unsigned __int64 uint64_t;
123282 # endif
123283 # endif /* compiler */
123285 #endif /* ANSI version */
123289 # ------------- done int64_t types, emit intptr types ------------
123290 if test "$ac_cv_type_uintptr_t" != yes; then
123291 sed 's/^ *//' >> tmp-stdint.h <<EOF
123293 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
123294 #ifndef __uintptr_t_defined
123295 typedef u$acx_cv_type_intptr_t uintptr_t;
123296 #endif
123297 #ifndef __intptr_t_defined
123298 typedef $acx_cv_type_intptr_t intptr_t;
123299 #endif
123303 # ------------- done intptr types, emit int_least types ------------
123304 if test "$ac_cv_type_int_least32_t" != yes; then
123305 sed 's/^ *//' >> tmp-stdint.h <<EOF
123307 /* Define int_least types */
123308 typedef int8_t int_least8_t;
123309 typedef int16_t int_least16_t;
123310 typedef int32_t int_least32_t;
123311 #ifdef _INT64_T
123312 typedef int64_t int_least64_t;
123313 #endif
123315 typedef uint8_t uint_least8_t;
123316 typedef uint16_t uint_least16_t;
123317 typedef uint32_t uint_least32_t;
123318 #ifdef _UINT64_T
123319 typedef uint64_t uint_least64_t;
123320 #endif
123324 # ------------- done intptr types, emit int_fast types ------------
123325 if test "$ac_cv_type_int_fast32_t" != yes; then
123326 sed 's/^ *//' >> tmp-stdint.h <<EOF
123328 /* Define int_fast types. short is often slow */
123329 typedef int8_t int_fast8_t;
123330 typedef int int_fast16_t;
123331 typedef int32_t int_fast32_t;
123332 #ifdef _INT64_T
123333 typedef int64_t int_fast64_t;
123334 #endif
123336 typedef uint8_t uint_fast8_t;
123337 typedef unsigned int uint_fast16_t;
123338 typedef uint32_t uint_fast32_t;
123339 #ifdef _UINT64_T
123340 typedef uint64_t uint_fast64_t;
123341 #endif
123345 if test "$ac_cv_type_uintmax_t" != yes; then
123346 sed 's/^ *//' >> tmp-stdint.h <<EOF
123348 /* Define intmax based on what we found */
123349 #ifdef _INT64_T
123350 typedef int64_t intmax_t;
123351 #else
123352 typedef long intmax_t;
123353 #endif
123354 #ifdef _UINT64_T
123355 typedef uint64_t uintmax_t;
123356 #else
123357 typedef unsigned long uintmax_t;
123358 #endif
123362 sed 's/^ *//' >> tmp-stdint.h <<EOF
123364 #endif /* GCC_GENERATED_STDINT_H */
123367 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
123368 rm -f tmp-stdint.h
123370 mv -f tmp-stdint.h include/gstdint.h
123374 default ) if test -n "$CONFIG_FILES"; then
123375 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
123376 # that multilib installs will end up installed in the correct place.
123377 # The testsuite needs it for multilib-aware ABI baseline files.
123378 # To work around this not being passed down from config-ml.in ->
123379 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
123380 # append it here. Only modify Makefiles that have just been created.
123382 # Also, get rid of this simulated-VPATH thing that automake does.
123383 cat > vpsed << \_EOF
123384 s!`test -f '$<' || echo '$(srcdir)/'`!!
123386 for i in $SUBDIRS; do
123387 case $CONFIG_FILES in
123388 *${i}/Makefile*)
123389 #echo "Adding MULTISUBDIR to $i/Makefile"
123390 sed -f vpsed $i/Makefile > tmp
123391 grep '^MULTISUBDIR =' Makefile >> tmp
123392 mv tmp $i/Makefile
123396 rm vpsed
123398 (cd include && ${MAKE-make})
123402 _ACEOF
123404 cat >>$CONFIG_STATUS <<\_ACEOF
123406 { (exit 0); exit 0; }
123407 _ACEOF
123408 chmod +x $CONFIG_STATUS
123409 ac_clean_files=$ac_clean_files_save
123412 # configure is writing to config.log, and then calls config.status.
123413 # config.status does its own redirection, appending to config.log.
123414 # Unfortunately, on DOS this fails, as config.log is still kept open
123415 # by configure, so config.status won't be able to write to it; its
123416 # output is simply discarded. So we exec the FD to /dev/null,
123417 # effectively closing config.log, so it can be properly (re)opened and
123418 # appended to by config.status. When coming back to configure, we
123419 # need to make the FD available again.
123420 if test "$no_create" != yes; then
123421 ac_cs_success=:
123422 ac_config_status_args=
123423 test "$silent" = yes &&
123424 ac_config_status_args="$ac_config_status_args --quiet"
123425 exec 5>/dev/null
123426 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123427 exec 5>>config.log
123428 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123429 # would make configure fail if this is the last instruction.
123430 $ac_cs_success || { (exit 1); exit 1; }