Update concepts branch to revision 131834
[official-gcc.git] / libstdc++-v3 / configure
blob11274ef533186d6fcdf4bef160b316356ed9a150
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 tmpf = cprojf(tmpf);
16402 d = cabs(tmpd);
16403 d = carg(tmpd);
16404 tmpd = ccos(tmpd);
16405 tmpd = ccosh(tmpd);
16406 tmpd = cexp(tmpd);
16407 tmpd = clog(tmpd);
16408 tmpd = csin(tmpd);
16409 tmpd = csinh(tmpd);
16410 tmpd = csqrt(tmpd);
16411 tmpd = ctan(tmpd);
16412 tmpd = ctanh(tmpd);
16413 tmpd = cpow(tmpd, tmpd);
16414 tmpd = cproj(tmpd);
16415 ld = cabsl(tmpld);
16416 ld = cargl(tmpld);
16417 tmpld = ccosl(tmpld);
16418 tmpld = ccoshl(tmpld);
16419 tmpld = cexpl(tmpld);
16420 tmpld = clogl(tmpld);
16421 tmpld = csinl(tmpld);
16422 tmpld = csinhl(tmpld);
16423 tmpld = csqrtl(tmpld);
16424 tmpld = ctanl(tmpld);
16425 tmpld = ctanhl(tmpld);
16426 tmpld = cpowl(tmpld, tmpld);
16427 tmpld = cprojl(tmpld);
16430 return 0;
16432 _ACEOF
16433 rm -f conftest.$ac_objext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435 (eval $ac_compile) 2>conftest.er1
16436 ac_status=$?
16437 grep -v '^ *+' conftest.er1 >conftest.err
16438 rm -f conftest.er1
16439 cat conftest.err >&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } &&
16442 { ac_try='test -z "$ac_cxx_werror_flag"
16443 || test ! -s conftest.err'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16446 ac_status=$?
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; } &&
16449 { ac_try='test -s conftest.$ac_objext'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16452 ac_status=$?
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; }; then
16455 glibcxx_cv_c99_complex=yes
16456 else
16457 echo "$as_me: failed program was:" >&5
16458 sed 's/^/| /' conftest.$ac_ext >&5
16460 glibcxx_cv_c99_complex=no
16462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16463 else
16464 if test x$gcc_no_link = xyes; then
16465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16467 { (exit 1); exit 1; }; }
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <complex.h>
16476 typedef __complex__ float float_type;
16477 typedef __complex__ double double_type;
16478 typedef __complex__ long double ld_type;
16479 volatile float_type tmpf;
16480 volatile double_type tmpd;
16481 volatile ld_type tmpld;
16482 volatile float f;
16483 volatile double d;
16484 volatile long double ld;
16486 main ()
16488 f = cabsf(tmpf);
16489 f = cargf(tmpf);
16490 tmpf = ccosf(tmpf);
16491 tmpf = ccoshf(tmpf);
16492 tmpf = cexpf(tmpf);
16493 tmpf = clogf(tmpf);
16494 tmpf = csinf(tmpf);
16495 tmpf = csinhf(tmpf);
16496 tmpf = csqrtf(tmpf);
16497 tmpf = ctanf(tmpf);
16498 tmpf = ctanhf(tmpf);
16499 tmpf = cpowf(tmpf, tmpf);
16500 tmpf = cprojf(tmpf);
16501 d = cabs(tmpd);
16502 d = carg(tmpd);
16503 tmpd = ccos(tmpd);
16504 tmpd = ccosh(tmpd);
16505 tmpd = cexp(tmpd);
16506 tmpd = clog(tmpd);
16507 tmpd = csin(tmpd);
16508 tmpd = csinh(tmpd);
16509 tmpd = csqrt(tmpd);
16510 tmpd = ctan(tmpd);
16511 tmpd = ctanh(tmpd);
16512 tmpd = cpow(tmpd, tmpd);
16513 tmpd = cproj(tmpd);
16514 ld = cabsl(tmpld);
16515 ld = cargl(tmpld);
16516 tmpld = ccosl(tmpld);
16517 tmpld = ccoshl(tmpld);
16518 tmpld = cexpl(tmpld);
16519 tmpld = clogl(tmpld);
16520 tmpld = csinl(tmpld);
16521 tmpld = csinhl(tmpld);
16522 tmpld = csqrtl(tmpld);
16523 tmpld = ctanl(tmpld);
16524 tmpld = ctanhl(tmpld);
16525 tmpld = cpowl(tmpld, tmpld);
16526 tmpld = cprojl(tmpld);
16529 return 0;
16531 _ACEOF
16532 rm -f conftest.$ac_objext conftest$ac_exeext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16534 (eval $ac_link) 2>conftest.er1
16535 ac_status=$?
16536 grep -v '^ *+' conftest.er1 >conftest.err
16537 rm -f conftest.er1
16538 cat conftest.err >&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try='test -z "$ac_cxx_werror_flag"
16542 || test ! -s conftest.err'
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); }; } &&
16548 { ac_try='test -s conftest$ac_exeext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 glibcxx_cv_c99_complex=yes
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16559 glibcxx_cv_c99_complex=no
16561 rm -f conftest.err conftest.$ac_objext \
16562 conftest$ac_exeext conftest.$ac_ext
16565 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16566 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16567 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16569 cat >>confdefs.h <<\_ACEOF
16570 #define _GLIBCXX_USE_C99_COMPLEX 1
16571 _ACEOF
16575 # Check for the existence in <stdio.h> of vscanf, et. al.
16576 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16577 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16578 if test "${glibcxx_cv_c99_stdio+set}" = set; then
16579 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 else
16582 if test x$gcc_no_link = xyes; then
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <stdio.h>
16590 #include <stdarg.h>
16591 void foo(char* fmt, ...)
16593 va_list args; va_start(args, fmt);
16594 vfscanf(stderr, "%i", args);
16595 vscanf("%i", args);
16596 vsnprintf(fmt, 0, "%i", args);
16597 vsscanf(fmt, "%i", args);
16600 main ()
16602 snprintf("12", 0, "%i");
16604 return 0;
16606 _ACEOF
16607 rm -f conftest.$ac_objext
16608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16609 (eval $ac_compile) 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } &&
16616 { ac_try='test -z "$ac_cxx_werror_flag"
16617 || test ! -s conftest.err'
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); }; } &&
16623 { ac_try='test -s conftest.$ac_objext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 glibcxx_cv_c99_stdio=yes
16630 else
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16634 glibcxx_cv_c99_stdio=no
16636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16637 else
16638 if test x$gcc_no_link = xyes; then
16639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16641 { (exit 1); exit 1; }; }
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 #include <stdio.h>
16650 #include <stdarg.h>
16651 void foo(char* fmt, ...)
16653 va_list args; va_start(args, fmt);
16654 vfscanf(stderr, "%i", args);
16655 vscanf("%i", args);
16656 vsnprintf(fmt, 0, "%i", args);
16657 vsscanf(fmt, "%i", args);
16660 main ()
16662 snprintf("12", 0, "%i");
16664 return 0;
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16669 (eval $ac_link) 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try='test -z "$ac_cxx_werror_flag"
16677 || test ! -s conftest.err'
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); }; } &&
16683 { ac_try='test -s conftest$ac_exeext'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16686 ac_status=$?
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; }; then
16689 glibcxx_cv_c99_stdio=yes
16690 else
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16694 glibcxx_cv_c99_stdio=no
16696 rm -f conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16702 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16703 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16705 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16706 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16707 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16708 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16712 if test x$gcc_no_link = xyes; then
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #include <stdlib.h>
16720 volatile float f;
16721 volatile long double ld;
16722 volatile unsigned long long ll;
16723 lldiv_t mydivt;
16725 main ()
16727 char* tmp;
16728 f = strtof("gnu", &tmp);
16729 ld = strtold("gnu", &tmp);
16730 ll = strtoll("gnu", &tmp, 10);
16731 ll = strtoull("gnu", &tmp, 10);
16732 ll = llabs(10);
16733 mydivt = lldiv(10,1);
16734 ll = mydivt.quot;
16735 ll = mydivt.rem;
16736 ll = atoll("10");
16737 _Exit(0);
16740 return 0;
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_cxx_werror_flag"
16753 || test ! -s conftest.err'
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); }; } &&
16759 { ac_try='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 glibcxx_cv_c99_stdlib=yes
16766 else
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16770 glibcxx_cv_c99_stdlib=no
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 else
16774 if test x$gcc_no_link = xyes; then
16775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16777 { (exit 1); exit 1; }; }
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 #include <stdlib.h>
16786 volatile float f;
16787 volatile long double ld;
16788 volatile unsigned long long ll;
16789 lldiv_t mydivt;
16791 main ()
16793 char* tmp;
16794 f = strtof("gnu", &tmp);
16795 ld = strtold("gnu", &tmp);
16796 ll = strtoll("gnu", &tmp, 10);
16797 ll = strtoull("gnu", &tmp, 10);
16798 ll = llabs(10);
16799 mydivt = lldiv(10,1);
16800 ll = mydivt.quot;
16801 ll = mydivt.rem;
16802 ll = atoll("10");
16803 _Exit(0);
16806 return 0;
16808 _ACEOF
16809 rm -f conftest.$ac_objext conftest$ac_exeext
16810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16811 (eval $ac_link) 2>conftest.er1
16812 ac_status=$?
16813 grep -v '^ *+' conftest.er1 >conftest.err
16814 rm -f conftest.er1
16815 cat conftest.err >&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } &&
16818 { ac_try='test -z "$ac_cxx_werror_flag"
16819 || test ! -s conftest.err'
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); }; } &&
16825 { ac_try='test -s conftest$ac_exeext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 glibcxx_cv_c99_stdlib=yes
16832 else
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 glibcxx_cv_c99_stdlib=no
16838 rm -f conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16844 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16845 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16847 # Check for the existence in <wchar.h> of wcstold, etc.
16848 glibcxx_cv_c99_wchar=no;
16849 if test x"$ac_has_wchar_h" = xyes &&
16850 test x"$ac_has_wctype_h" = xyes; then
16851 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16852 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16853 cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #include <wchar.h>
16860 namespace test
16862 using ::wcstold;
16863 using ::wcstoll;
16864 using ::wcstoull;
16868 main ()
16872 return 0;
16874 _ACEOF
16875 rm -f conftest.$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877 (eval $ac_compile) 2>conftest.er1
16878 ac_status=$?
16879 grep -v '^ *+' conftest.er1 >conftest.err
16880 rm -f conftest.er1
16881 cat conftest.err >&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try='test -z "$ac_cxx_werror_flag"
16885 || test ! -s conftest.err'
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); }; } &&
16891 { ac_try='test -s conftest.$ac_objext'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 glibcxx_cv_c99_wchar=yes
16898 else
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.$ac_ext >&5
16902 glibcxx_cv_c99_wchar=no
16904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16906 # Checks for wide character functions that may not be present.
16907 # Injection of these is wrapped with guard macros.
16908 # NB: only put functions here, instead of immediately above, if
16909 # absolutely necessary.
16910 cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h. */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 #include <wchar.h>
16917 namespace test { using ::vfwscanf; }
16919 main ()
16923 return 0;
16925 _ACEOF
16926 rm -f conftest.$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try='test -z "$ac_cxx_werror_flag"
16936 || test ! -s conftest.err'
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); }; } &&
16942 { ac_try='test -s conftest.$ac_objext'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; }; then
16949 cat >>confdefs.h <<\_ACEOF
16950 #define HAVE_VFWSCANF 1
16951 _ACEOF
16953 else
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16960 cat >conftest.$ac_ext <<_ACEOF
16961 /* confdefs.h. */
16962 _ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 #include <wchar.h>
16967 namespace test { using ::vswscanf; }
16969 main ()
16973 return 0;
16975 _ACEOF
16976 rm -f conftest.$ac_objext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16978 (eval $ac_compile) 2>conftest.er1
16979 ac_status=$?
16980 grep -v '^ *+' conftest.er1 >conftest.err
16981 rm -f conftest.er1
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -z "$ac_cxx_werror_flag"
16986 || test ! -s conftest.err'
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); }; } &&
16992 { ac_try='test -s conftest.$ac_objext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16995 ac_status=$?
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16999 cat >>confdefs.h <<\_ACEOF
17000 #define HAVE_VSWSCANF 1
17001 _ACEOF
17003 else
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17010 cat >conftest.$ac_ext <<_ACEOF
17011 /* confdefs.h. */
17012 _ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 #include <wchar.h>
17017 namespace test { using ::vwscanf; }
17019 main ()
17023 return 0;
17025 _ACEOF
17026 rm -f conftest.$ac_objext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17028 (eval $ac_compile) 2>conftest.er1
17029 ac_status=$?
17030 grep -v '^ *+' conftest.er1 >conftest.err
17031 rm -f conftest.er1
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } &&
17035 { ac_try='test -z "$ac_cxx_werror_flag"
17036 || test ! -s conftest.err'
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); }; } &&
17042 { ac_try='test -s conftest.$ac_objext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17045 ac_status=$?
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17049 cat >>confdefs.h <<\_ACEOF
17050 #define HAVE_VWSCANF 1
17051 _ACEOF
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17060 cat >conftest.$ac_ext <<_ACEOF
17061 /* confdefs.h. */
17062 _ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17066 #include <wchar.h>
17067 namespace test { using ::wcstof; }
17069 main ()
17073 return 0;
17075 _ACEOF
17076 rm -f conftest.$ac_objext
17077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17078 (eval $ac_compile) 2>conftest.er1
17079 ac_status=$?
17080 grep -v '^ *+' conftest.er1 >conftest.err
17081 rm -f conftest.er1
17082 cat conftest.err >&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } &&
17085 { ac_try='test -z "$ac_cxx_werror_flag"
17086 || test ! -s conftest.err'
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); }; } &&
17092 { ac_try='test -s conftest.$ac_objext'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17095 ac_status=$?
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; }; then
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_WCSTOF 1
17101 _ACEOF
17103 else
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17110 cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h. */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 #include <wctype.h>
17118 main ()
17120 wint_t t; int i = iswblank(t);
17122 return 0;
17124 _ACEOF
17125 rm -f conftest.$ac_objext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17127 (eval $ac_compile) 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } &&
17134 { ac_try='test -z "$ac_cxx_werror_flag"
17135 || test ! -s conftest.err'
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); }; } &&
17141 { ac_try='test -s conftest.$ac_objext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17148 cat >>confdefs.h <<\_ACEOF
17149 #define HAVE_ISWBLANK 1
17150 _ACEOF
17152 else
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17159 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17160 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17163 # Option parsed, now set things appropriately.
17164 if test x"$glibcxx_cv_c99_math" = x"no" ||
17165 test x"$glibcxx_cv_c99_complex" = x"no" ||
17166 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17167 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17168 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17169 enable_c99=no;
17170 else
17172 cat >>confdefs.h <<\_ACEOF
17173 #define _GLIBCXX_USE_C99 1
17174 _ACEOF
17178 gcc_no_link="$ac_save_gcc_no_link"
17179 LIBS="$ac_save_LIBS"
17180 CXXFLAGS="$ac_save_CXXFLAGS"
17181 ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17189 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17190 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17191 echo "$as_me:$LINENO: result: $enable_c99" >&5
17192 echo "${ECHO_T}$enable_c99" >&6
17195 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17196 if test "${enable_concept_checks+set}" = set; then
17197 enableval="$enable_concept_checks"
17199 case "$enableval" in
17200 yes|no) ;;
17201 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17202 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17203 { (exit 1); exit 1; }; } ;;
17204 esac
17206 else
17207 enable_concept_checks=no
17210 if test $enable_concept_checks = yes; then
17212 cat >>confdefs.h <<\_ACEOF
17213 #define _GLIBCXX_CONCEPT_CHECKS 1
17214 _ACEOF
17219 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17220 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17221 enableval="$enable_libstdcxx_debug_flags"
17222 case "x$enable_libstdcxx_debug_flags" in
17223 xno | x) enable_libstdcxx_debug_flags= ;;
17224 x-*) ;;
17225 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17226 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17227 { (exit 1); exit 1; }; } ;;
17228 esac
17229 else
17230 enable_libstdcxx_debug_flags="-g3 -O0"
17234 # Option parsed, now set things appropriately
17235 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17238 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17239 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17242 echo "$as_me:$LINENO: checking for additional debug build" >&5
17243 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17244 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17245 if test "${enable_libstdcxx_debug+set}" = set; then
17246 enableval="$enable_libstdcxx_debug"
17248 case "$enableval" in
17249 yes|no) ;;
17250 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17251 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17252 { (exit 1); exit 1; }; } ;;
17253 esac
17255 else
17256 enable_libstdcxx_debug=no
17259 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17260 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17265 enable_parallel=no;
17267 # See if configured libgomp/omp.h exists. (libgomp may be in
17268 # noconfigdirs but not explicitly disabled.)
17269 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17270 enable_parallel=yes;
17271 else
17272 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17273 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17276 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17277 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17278 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17279 echo "${ECHO_T}$enable_parallel" >&6
17282 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17283 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17284 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17285 if test "${enable_cxx_flags+set}" = set; then
17286 enableval="$enable_cxx_flags"
17287 case "x$enable_cxx_flags" in
17288 xno | x) enable_cxx_flags= ;;
17289 x-*) ;;
17290 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17291 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17292 { (exit 1); exit 1; }; } ;;
17293 esac
17294 else
17295 enable_cxx_flags=
17299 # Run through flags (either default or command-line) and set anything
17300 # extra (e.g., #defines) that must accompany particular g++ options.
17301 if test -n "$enable_cxx_flags"; then
17302 for f in $enable_cxx_flags; do
17303 case "$f" in
17304 -fhonor-std) ;;
17305 -*) ;;
17306 *) # and we're trying to pass /what/ exactly?
17307 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17308 echo "$as_me: error: compiler flags start with a -" >&2;}
17309 { (exit 1); exit 1; }; } ;;
17310 esac
17311 done
17314 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17315 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17316 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17320 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17321 if test "${enable_fully_dynamic_string+set}" = set; then
17322 enableval="$enable_fully_dynamic_string"
17324 case "$enableval" in
17325 yes|no) ;;
17326 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17327 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17328 { (exit 1); exit 1; }; } ;;
17329 esac
17331 else
17332 enable_fully_dynamic_string=no
17335 if test $enable_fully_dynamic_string = yes; then
17337 cat >>confdefs.h <<\_ACEOF
17338 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17339 _ACEOF
17344 # Checks for operating systems support that don't require linking.
17347 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17348 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17349 if test "${glibcxx_cv_system_error1+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17353 cat >conftest.$ac_ext <<_ACEOF
17354 /* confdefs.h. */
17355 _ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 #include <errno.h>
17361 main ()
17363 int i = EOWNERDEAD;
17365 return 0;
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370 (eval $ac_compile) 2>conftest.er1
17371 ac_status=$?
17372 grep -v '^ *+' conftest.er1 >conftest.err
17373 rm -f conftest.er1
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try='test -z "$ac_c_werror_flag"
17378 || test ! -s conftest.err'
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); }; } &&
17384 { ac_try='test -s conftest.$ac_objext'
17385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386 (eval $ac_try) 2>&5
17387 ac_status=$?
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; }; then
17390 glibcxx_cv_system_error1=yes
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17395 glibcxx_cv_system_error1=no
17397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17401 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17402 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17403 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17405 cat >>confdefs.h <<\_ACEOF
17406 #define HAVE_EOWNERDEAD 1
17407 _ACEOF
17410 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17411 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17412 if test "${glibcxx_cv_system_error2+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422 #include <errno.h>
17424 main ()
17426 int i = ENOTRECOVERABLE;
17428 return 0;
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_c_werror_flag"
17441 || test ! -s conftest.err'
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); }; } &&
17447 { ac_try='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 glibcxx_cv_system_error2=yes
17454 else
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17458 glibcxx_cv_system_error2=no
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17464 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17465 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17466 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17468 cat >>confdefs.h <<\_ACEOF
17469 #define HAVE_ENOTRECOVERABLE 1
17470 _ACEOF
17473 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17474 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17475 if test "${glibcxx_cv_system_error3+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17479 cat >conftest.$ac_ext <<_ACEOF
17480 /* confdefs.h. */
17481 _ACEOF
17482 cat confdefs.h >>conftest.$ac_ext
17483 cat >>conftest.$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17485 #include <errno.h>
17487 main ()
17489 int i = ENOLINK;
17491 return 0;
17493 _ACEOF
17494 rm -f conftest.$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_c_werror_flag"
17504 || test ! -s conftest.err'
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); }; } &&
17510 { ac_try='test -s conftest.$ac_objext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17513 ac_status=$?
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 glibcxx_cv_system_error3=yes
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17521 glibcxx_cv_system_error3=no
17523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17527 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17528 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17531 cat >>confdefs.h <<\_ACEOF
17532 #define HAVE_ENOLINK 1
17533 _ACEOF
17536 echo "$as_me:$LINENO: checking for EPROTO" >&5
17537 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17538 if test "${glibcxx_cv_system_error4+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 else
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <errno.h>
17550 main ()
17552 int i = EPROTO;
17554 return 0;
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag"
17567 || test ! -s conftest.err'
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); }; } &&
17573 { ac_try='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 glibcxx_cv_system_error4=yes
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17584 glibcxx_cv_system_error4=no
17586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17590 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17591 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17592 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17594 cat >>confdefs.h <<\_ACEOF
17595 #define HAVE_EPROTO 1
17596 _ACEOF
17599 echo "$as_me:$LINENO: checking for ENODATA" >&5
17600 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17601 if test "${glibcxx_cv_system_error5+set}" = set; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 else
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h. */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <errno.h>
17613 main ()
17615 int i = ENODATA;
17617 return 0;
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17623 ac_status=$?
17624 grep -v '^ *+' conftest.er1 >conftest.err
17625 rm -f conftest.er1
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_c_werror_flag"
17630 || test ! -s conftest.err'
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); }; } &&
17636 { ac_try='test -s conftest.$ac_objext'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17639 ac_status=$?
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; }; then
17642 glibcxx_cv_system_error5=yes
17643 else
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17647 glibcxx_cv_system_error5=no
17649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17653 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17654 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17655 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17657 cat >>confdefs.h <<\_ACEOF
17658 #define HAVE_ENODATA 1
17659 _ACEOF
17662 echo "$as_me:$LINENO: checking for ENOSR" >&5
17663 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17664 if test "${glibcxx_cv_system_error6+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17666 else
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674 #include <errno.h>
17676 main ()
17678 int i = ENOSR;
17680 return 0;
17682 _ACEOF
17683 rm -f conftest.$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>conftest.er1
17686 ac_status=$?
17687 grep -v '^ *+' conftest.er1 >conftest.err
17688 rm -f conftest.er1
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } &&
17692 { ac_try='test -z "$ac_c_werror_flag"
17693 || test ! -s conftest.err'
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); }; } &&
17699 { ac_try='test -s conftest.$ac_objext'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 glibcxx_cv_system_error6=yes
17706 else
17707 echo "$as_me: failed program was:" >&5
17708 sed 's/^/| /' conftest.$ac_ext >&5
17710 glibcxx_cv_system_error6=no
17712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17717 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17718 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17720 cat >>confdefs.h <<\_ACEOF
17721 #define HAVE_ENOSR 1
17722 _ACEOF
17725 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17726 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17727 if test "${glibcxx_cv_system_error7+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 #include <errno.h>
17739 main ()
17741 int i = ENOSTR;
17743 return 0;
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748 (eval $ac_compile) 2>conftest.er1
17749 ac_status=$?
17750 grep -v '^ *+' conftest.er1 >conftest.err
17751 rm -f conftest.er1
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try='test -z "$ac_c_werror_flag"
17756 || test ! -s conftest.err'
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); }; } &&
17762 { ac_try='test -s conftest.$ac_objext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 glibcxx_cv_system_error7=yes
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17773 glibcxx_cv_system_error7=no
17775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17780 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17781 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17783 cat >>confdefs.h <<\_ACEOF
17784 #define HAVE_ENOSTR 1
17785 _ACEOF
17788 echo "$as_me:$LINENO: checking for ETIME" >&5
17789 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17790 if test "${glibcxx_cv_system_error8+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 #include <errno.h>
17802 main ()
17804 int i = ETIME;
17806 return 0;
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811 (eval $ac_compile) 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_c_werror_flag"
17819 || test ! -s conftest.err'
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); }; } &&
17825 { ac_try='test -s conftest.$ac_objext'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17828 ac_status=$?
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; }; then
17831 glibcxx_cv_system_error8=yes
17832 else
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17836 glibcxx_cv_system_error8=no
17838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17842 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17843 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17844 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17846 cat >>confdefs.h <<\_ACEOF
17847 #define HAVE_ETIME 1
17848 _ACEOF
17851 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17852 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17853 if test "${glibcxx_cv_system_error9+set}" = set; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h. */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863 #include <errno.h>
17865 main ()
17867 int i = EBADMSG;
17869 return 0;
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17874 (eval $ac_compile) 2>conftest.er1
17875 ac_status=$?
17876 grep -v '^ *+' conftest.er1 >conftest.err
17877 rm -f conftest.er1
17878 cat conftest.err >&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } &&
17881 { ac_try='test -z "$ac_c_werror_flag"
17882 || test ! -s conftest.err'
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); }; } &&
17888 { ac_try='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17891 ac_status=$?
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17894 glibcxx_cv_system_error9=yes
17895 else
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.$ac_ext >&5
17899 glibcxx_cv_system_error9=no
17901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17905 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17906 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17907 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17909 cat >>confdefs.h <<\_ACEOF
17910 #define HAVE_EBADMSG 1
17911 _ACEOF
17914 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17915 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17916 if test "${glibcxx_cv_system_error10+set}" = set; then
17917 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 else
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 #include <errno.h>
17928 main ()
17930 int i = ECANCELED;
17932 return 0;
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -z "$ac_c_werror_flag"
17945 || test ! -s conftest.err'
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); }; } &&
17951 { ac_try='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 glibcxx_cv_system_error10=yes
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17962 glibcxx_cv_system_error10=no
17964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17968 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17969 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17970 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17972 cat >>confdefs.h <<\_ACEOF
17973 #define HAVE_ECANCELED 1
17974 _ACEOF
17977 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17978 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17979 if test "${glibcxx_cv_system_error11+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 else
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 #include <errno.h>
17991 main ()
17993 int i = EOVERFLOW;
17995 return 0;
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000 (eval $ac_compile) 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -z "$ac_c_werror_flag"
18008 || test ! -s conftest.err'
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); }; } &&
18014 { ac_try='test -s conftest.$ac_objext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 glibcxx_cv_system_error11=yes
18021 else
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18025 glibcxx_cv_system_error11=no
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18031 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18032 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18033 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18035 cat >>confdefs.h <<\_ACEOF
18036 #define HAVE_EOVERFLOW 1
18037 _ACEOF
18040 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18041 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18042 if test "${glibcxx_cv_system_error12+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 #include <errno.h>
18054 main ()
18056 int i = ENOTSUP;
18058 return 0;
18060 _ACEOF
18061 rm -f conftest.$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18064 ac_status=$?
18065 grep -v '^ *+' conftest.er1 >conftest.err
18066 rm -f conftest.er1
18067 cat conftest.err >&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try='test -z "$ac_c_werror_flag"
18071 || test ! -s conftest.err'
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); }; } &&
18077 { ac_try='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 glibcxx_cv_system_error12=yes
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18088 glibcxx_cv_system_error12=no
18090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18094 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18095 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18096 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18098 cat >>confdefs.h <<\_ACEOF
18099 #define HAVE_ENOTSUP 1
18100 _ACEOF
18103 echo "$as_me:$LINENO: checking for EIDRM" >&5
18104 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18105 if test "${glibcxx_cv_system_error13+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 else
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 #include <errno.h>
18117 main ()
18119 int i = EIDRM;
18121 return 0;
18123 _ACEOF
18124 rm -f conftest.$ac_objext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18126 (eval $ac_compile) 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -z "$ac_c_werror_flag"
18134 || test ! -s conftest.err'
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); }; } &&
18140 { ac_try='test -s conftest.$ac_objext'
18141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 (eval $ac_try) 2>&5
18143 ac_status=$?
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; }; then
18146 glibcxx_cv_system_error13=yes
18147 else
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 glibcxx_cv_system_error13=no
18153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18157 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18158 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18159 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18161 cat >>confdefs.h <<\_ACEOF
18162 #define HAVE_EIDRM 1
18163 _ACEOF
18166 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18167 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18168 if test "${glibcxx_cv_system_error14+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <errno.h>
18180 main ()
18182 int i = ETXTBSY;
18184 return 0;
18186 _ACEOF
18187 rm -f conftest.$ac_objext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18189 (eval $ac_compile) 2>conftest.er1
18190 ac_status=$?
18191 grep -v '^ *+' conftest.er1 >conftest.err
18192 rm -f conftest.er1
18193 cat conftest.err >&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } &&
18196 { ac_try='test -z "$ac_c_werror_flag"
18197 || test ! -s conftest.err'
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); }; } &&
18203 { ac_try='test -s conftest.$ac_objext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 glibcxx_cv_system_error14=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 glibcxx_cv_system_error14=no
18216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18220 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18221 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18222 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18224 cat >>confdefs.h <<\_ACEOF
18225 #define HAVE_ETXTBSY 1
18226 _ACEOF
18233 # Only do link tests if native. Else, hardcode.
18234 if $GLIBCXX_IS_NATIVE; then
18236 # We can do more elaborate tests that assume a working linker.
18237 CANADIAN=no
18239 # Check for available headers.
18254 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18255 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
18256 sys/types.h sys/ipc.h sys/sem.h
18258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18260 echo "$as_me:$LINENO: checking for $ac_header" >&5
18261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18267 else
18268 # Is the header compilable?
18269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18271 cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h. */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 $ac_includes_default
18278 #include <$ac_header>
18279 _ACEOF
18280 rm -f conftest.$ac_objext
18281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18282 (eval $ac_compile) 2>conftest.er1
18283 ac_status=$?
18284 grep -v '^ *+' conftest.er1 >conftest.err
18285 rm -f conftest.er1
18286 cat conftest.err >&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try='test -z "$ac_c_werror_flag"
18290 || test ! -s conftest.err'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18293 ac_status=$?
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; } &&
18296 { ac_try='test -s conftest.$ac_objext'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18299 ac_status=$?
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; }; then
18302 ac_header_compiler=yes
18303 else
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 ac_header_compiler=no
18309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18311 echo "${ECHO_T}$ac_header_compiler" >&6
18313 # Is the header present?
18314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18316 cat >conftest.$ac_ext <<_ACEOF
18317 /* confdefs.h. */
18318 _ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 #include <$ac_header>
18323 _ACEOF
18324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18326 ac_status=$?
18327 grep -v '^ *+' conftest.er1 >conftest.err
18328 rm -f conftest.er1
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } >/dev/null; then
18332 if test -s conftest.err; then
18333 ac_cpp_err=$ac_c_preproc_warn_flag
18334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18335 else
18336 ac_cpp_err=
18338 else
18339 ac_cpp_err=yes
18341 if test -z "$ac_cpp_err"; then
18342 ac_header_preproc=yes
18343 else
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18347 ac_header_preproc=no
18349 rm -f conftest.err conftest.$ac_ext
18350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18351 echo "${ECHO_T}$ac_header_preproc" >&6
18353 # So? What about this header?
18354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18355 yes:no: )
18356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18360 ac_header_preproc=yes
18362 no:yes:* )
18363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18376 cat <<\_ASBOX
18377 ## ----------------------------------------- ##
18378 ## Report this to the package-unused lists. ##
18379 ## ----------------------------------------- ##
18380 _ASBOX
18382 sed "s/^/$as_me: WARNING: /" >&2
18384 esac
18385 echo "$as_me:$LINENO: checking for $ac_header" >&5
18386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else
18390 eval "$as_ac_Header=\$ac_header_preproc"
18392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18397 cat >>confdefs.h <<_ACEOF
18398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18399 _ACEOF
18403 done
18408 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18409 if test "${with_gnu_ld+set}" = set; then
18410 withval="$with_gnu_ld"
18411 test "$withval" = no || with_gnu_ld=yes
18412 else
18413 with_gnu_ld=no
18415 ac_prog=ld
18416 if test "$GCC" = yes; then
18417 # Check if gcc -print-prog-name=ld gives a path.
18418 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18419 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18420 case $host in
18421 *-*-mingw*)
18422 # gcc leaves a trailing carriage return which upsets mingw
18423 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18425 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18426 esac
18427 case $ac_prog in
18428 # Accept absolute paths.
18429 [\\/]* | ?:[\\/]*)
18430 re_direlt='/[^/][^/]*/\.\./'
18431 # Canonicalize the pathname of ld
18432 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18433 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18434 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18435 done
18436 test -z "$LD" && LD="$ac_prog"
18439 # If it fails, then pretend we aren't using GCC.
18440 ac_prog=ld
18443 # If it is relative, then search for the first ld in PATH.
18444 with_gnu_ld=unknown
18446 esac
18447 elif test "$with_gnu_ld" = yes; then
18448 echo "$as_me:$LINENO: checking for GNU ld" >&5
18449 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18450 else
18451 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18452 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18454 if test "${lt_cv_path_LD+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18456 else
18457 if test -z "$LD"; then
18458 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18459 for ac_dir in $PATH; do
18460 IFS="$lt_save_ifs"
18461 test -z "$ac_dir" && ac_dir=.
18462 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18463 lt_cv_path_LD="$ac_dir/$ac_prog"
18464 # Check to see if the program is GNU ld. I'd rather use --version,
18465 # but apparently some variants of GNU ld only accept -v.
18466 # Break only if it was the GNU/non-GNU ld that we prefer.
18467 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18468 *GNU* | *'with BFD'*)
18469 test "$with_gnu_ld" != no && break
18472 test "$with_gnu_ld" != yes && break
18474 esac
18476 done
18477 IFS="$lt_save_ifs"
18478 else
18479 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18483 LD="$lt_cv_path_LD"
18484 if test -n "$LD"; then
18485 echo "$as_me:$LINENO: result: $LD" >&5
18486 echo "${ECHO_T}$LD" >&6
18487 else
18488 echo "$as_me:$LINENO: result: no" >&5
18489 echo "${ECHO_T}no" >&6
18491 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18492 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18493 { (exit 1); exit 1; }; }
18494 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18495 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18496 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18500 case `$LD -v 2>&1 </dev/null` in
18501 *GNU* | *'with BFD'*)
18502 lt_cv_prog_gnu_ld=yes
18505 lt_cv_prog_gnu_ld=no
18507 esac
18509 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18510 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18511 with_gnu_ld=$lt_cv_prog_gnu_ld
18519 # If we're not using GNU ld, then there's no point in even trying these
18520 # tests. Check for that first. We should have already tested for gld
18521 # by now (in libtool), but require it now just to be safe...
18522 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18523 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18527 # The name set by libtool depends on the version of libtool. Shame on us
18528 # for depending on an impl detail, but c'est la vie. Older versions used
18529 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18530 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18531 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18532 # set (hence we're using an older libtool), then set it.
18533 if test x${with_gnu_ld+set} != xset; then
18534 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18535 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18536 with_gnu_ld=no
18537 else
18538 with_gnu_ld=$ac_cv_prog_gnu_ld
18542 # Start by getting the version number. I think the libtool test already
18543 # does some of this, but throws away the result.
18544 glibcxx_ld_is_gold=no
18545 if test x"$with_gnu_ld" = x"yes"; then
18546 echo "$as_me:$LINENO: checking for ld version" >&5
18547 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18549 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18550 glibcxx_ld_is_gold=yes
18552 ldver=`$LD --version 2>/dev/null | head -1 | \
18553 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18555 glibcxx_gnu_ld_version=`echo $ldver | \
18556 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18557 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18558 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18561 # Set --gc-sections.
18562 glibcxx_have_gc_sections=no
18563 if test "$glibcxx_ld_is_gold" = "yes"; then
18564 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18565 glibcxx_have_gc_sections=yes
18567 else
18568 glibcxx_gcsections_min_ld=21602
18569 if test x"$with_gnu_ld" = x"yes" &&
18570 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18571 glibcxx_have_gc_sections=yes
18574 if test "$glibcxx_have_gc_sections" = "yes"; then
18575 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18576 # NB: This flag only works reliably after 2.16.1. Configure tests
18577 # for this are difficult, so hard wire a value that should work.
18579 ac_test_CFLAGS="${CFLAGS+set}"
18580 ac_save_CFLAGS="$CFLAGS"
18581 CFLAGS='-Wl,--gc-sections'
18583 # Check for -Wl,--gc-sections
18584 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18585 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18586 if test x$gcc_no_link = xyes; then
18587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18589 { (exit 1); exit 1; }; }
18591 cat >conftest.$ac_ext <<_ACEOF
18592 /* confdefs.h. */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 int one(void) { return 1; }
18598 int two(void) { return 2; }
18601 main ()
18603 two();
18605 return 0;
18607 _ACEOF
18608 rm -f conftest.$ac_objext conftest$ac_exeext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18610 (eval $ac_link) 2>conftest.er1
18611 ac_status=$?
18612 grep -v '^ *+' conftest.er1 >conftest.err
18613 rm -f conftest.er1
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try='test -z "$ac_c_werror_flag"
18618 || test ! -s conftest.err'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try='test -s conftest$ac_exeext'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; }; then
18630 ac_gcsections=yes
18631 else
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18635 ac_gcsections=no
18637 rm -f conftest.err conftest.$ac_objext \
18638 conftest$ac_exeext conftest.$ac_ext
18639 if test "$ac_gcsections" = "yes"; then
18640 rm -f conftest.c
18641 touch conftest.c
18642 if $CC -c conftest.c; then
18643 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18644 grep "Warning: gc-sections option ignored" > /dev/null; then
18645 ac_gcsections=no
18648 rm -f conftest.c conftest.o conftest
18650 if test "$ac_gcsections" = "yes"; then
18651 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18653 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18654 echo "${ECHO_T}$ac_gcsections" >&6
18656 if test "$ac_test_CFLAGS" = set; then
18657 CFLAGS="$ac_save_CFLAGS"
18658 else
18659 # this is the suspicious part
18660 CFLAGS=''
18664 # Set -z,relro.
18665 # Note this is only for shared objects.
18666 ac_ld_relro=no
18667 if test x"$with_gnu_ld" = x"yes"; then
18668 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18669 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18670 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18671 if test -n "$cxx_z_relo"; then
18672 OPT_LDFLAGS="-Wl,-z,relro"
18673 ac_ld_relro=yes
18675 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18676 echo "${ECHO_T}$ac_ld_relro" >&6
18679 # Set linker optimization flags.
18680 if test x"$with_gnu_ld" = x"yes"; then
18681 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18688 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18689 ac_save_CXXFLAGS="$CXXFLAGS"
18690 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18692 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18693 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18694 if test "${ac_cv_lib_m_sin+set}" = set; then
18695 echo $ECHO_N "(cached) $ECHO_C" >&6
18696 else
18697 ac_check_lib_save_LIBS=$LIBS
18698 LIBS="-lm $LIBS"
18699 if test x$gcc_no_link = xyes; then
18700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18702 { (exit 1); exit 1; }; }
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h. */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18711 /* Override any gcc2 internal prototype to avoid an error. */
18712 #ifdef __cplusplus
18713 extern "C"
18714 #endif
18715 /* We use char because int might match the return type of a gcc2
18716 builtin and then its argument prototype would still apply. */
18717 char sin ();
18719 main ()
18721 sin ();
18723 return 0;
18725 _ACEOF
18726 rm -f conftest.$ac_objext conftest$ac_exeext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18728 (eval $ac_link) 2>conftest.er1
18729 ac_status=$?
18730 grep -v '^ *+' conftest.er1 >conftest.err
18731 rm -f conftest.er1
18732 cat conftest.err >&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } &&
18735 { ac_try='test -z "$ac_c_werror_flag"
18736 || test ! -s conftest.err'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18739 ac_status=$?
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; } &&
18742 { ac_try='test -s conftest$ac_exeext'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18745 ac_status=$?
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; }; then
18748 ac_cv_lib_m_sin=yes
18749 else
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18753 ac_cv_lib_m_sin=no
18755 rm -f conftest.err conftest.$ac_objext \
18756 conftest$ac_exeext conftest.$ac_ext
18757 LIBS=$ac_check_lib_save_LIBS
18759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18760 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18761 if test $ac_cv_lib_m_sin = yes; then
18762 libm="-lm"
18765 ac_save_LIBS="$LIBS"
18766 LIBS="$LIBS $libm"
18770 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18771 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18772 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18773 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18774 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 else
18779 ac_ext=cc
18780 ac_cpp='$CXXCPP $CPPFLAGS'
18781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18785 cat >conftest.$ac_ext <<_ACEOF
18786 /* confdefs.h. */
18787 _ACEOF
18788 cat confdefs.h >>conftest.$ac_ext
18789 cat >>conftest.$ac_ext <<_ACEOF
18790 /* end confdefs.h. */
18791 #include <math.h>
18792 #ifdef HAVE_IEEEFP_H
18793 #include <ieeefp.h>
18794 #endif
18797 main ()
18799 isinf(0);
18801 return 0;
18803 _ACEOF
18804 rm -f conftest.$ac_objext
18805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18806 (eval $ac_compile) 2>conftest.er1
18807 ac_status=$?
18808 grep -v '^ *+' conftest.er1 >conftest.err
18809 rm -f conftest.er1
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } &&
18813 { ac_try='test -z "$ac_cxx_werror_flag"
18814 || test ! -s conftest.err'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18817 ac_status=$?
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; } &&
18820 { ac_try='test -s conftest.$ac_objext'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; }; then
18826 glibcxx_cv_func_isinf_use=yes
18827 else
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18831 glibcxx_cv_func_isinf_use=no
18833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18834 ac_ext=c
18835 ac_cpp='$CPP $CPPFLAGS'
18836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18845 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18847 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18849 for ac_func in isinf
18851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18852 echo "$as_me:$LINENO: checking for $ac_func" >&5
18853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18854 if eval "test \"\${$as_ac_var+set}\" = set"; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 else
18857 if test x$gcc_no_link = xyes; then
18858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18860 { (exit 1); exit 1; }; }
18862 cat >conftest.$ac_ext <<_ACEOF
18863 /* confdefs.h. */
18864 _ACEOF
18865 cat confdefs.h >>conftest.$ac_ext
18866 cat >>conftest.$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18870 #define $ac_func innocuous_$ac_func
18872 /* System header to define __stub macros and hopefully few prototypes,
18873 which can conflict with char $ac_func (); below.
18874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18875 <limits.h> exists even on freestanding compilers. */
18877 #ifdef __STDC__
18878 # include <limits.h>
18879 #else
18880 # include <assert.h>
18881 #endif
18883 #undef $ac_func
18885 /* Override any gcc2 internal prototype to avoid an error. */
18886 #ifdef __cplusplus
18887 extern "C"
18889 #endif
18890 /* We use char because int might match the return type of a gcc2
18891 builtin and then its argument prototype would still apply. */
18892 char $ac_func ();
18893 /* The GNU C library defines this for functions which it implements
18894 to always fail with ENOSYS. Some functions are actually named
18895 something starting with __ and the normal name is an alias. */
18896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18897 choke me
18898 #else
18899 char (*f) () = $ac_func;
18900 #endif
18901 #ifdef __cplusplus
18903 #endif
18906 main ()
18908 return f != $ac_func;
18910 return 0;
18912 _ACEOF
18913 rm -f conftest.$ac_objext conftest$ac_exeext
18914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18915 (eval $ac_link) 2>conftest.er1
18916 ac_status=$?
18917 grep -v '^ *+' conftest.er1 >conftest.err
18918 rm -f conftest.er1
18919 cat conftest.err >&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try='test -z "$ac_c_werror_flag"
18923 || test ! -s conftest.err'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18926 ac_status=$?
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; } &&
18929 { ac_try='test -s conftest$ac_exeext'
18930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931 (eval $ac_try) 2>&5
18932 ac_status=$?
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; }; then
18935 eval "$as_ac_var=yes"
18936 else
18937 echo "$as_me: failed program was:" >&5
18938 sed 's/^/| /' conftest.$ac_ext >&5
18940 eval "$as_ac_var=no"
18942 rm -f conftest.err conftest.$ac_objext \
18943 conftest$ac_exeext conftest.$ac_ext
18945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18947 if test `eval echo '${'$as_ac_var'}'` = yes; then
18948 cat >>confdefs.h <<_ACEOF
18949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18950 _ACEOF
18953 done
18955 else
18957 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18958 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18959 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18960 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 else
18966 ac_ext=cc
18967 ac_cpp='$CXXCPP $CPPFLAGS'
18968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18972 cat >conftest.$ac_ext <<_ACEOF
18973 /* confdefs.h. */
18974 _ACEOF
18975 cat confdefs.h >>conftest.$ac_ext
18976 cat >>conftest.$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 #include <math.h>
18979 #ifdef HAVE_IEEEFP_H
18980 #include <ieeefp.h>
18981 #endif
18984 main ()
18986 _isinf(0);
18988 return 0;
18990 _ACEOF
18991 rm -f conftest.$ac_objext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18993 (eval $ac_compile) 2>conftest.er1
18994 ac_status=$?
18995 grep -v '^ *+' conftest.er1 >conftest.err
18996 rm -f conftest.er1
18997 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } &&
19000 { ac_try='test -z "$ac_cxx_werror_flag"
19001 || test ! -s conftest.err'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; } &&
19007 { ac_try='test -s conftest.$ac_objext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 glibcxx_cv_func__isinf_use=yes
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19018 glibcxx_cv_func__isinf_use=no
19020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19021 ac_ext=c
19022 ac_cpp='$CPP $CPPFLAGS'
19023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19032 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19034 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19036 for ac_func in _isinf
19038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19039 echo "$as_me:$LINENO: checking for $ac_func" >&5
19040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19041 if eval "test \"\${$as_ac_var+set}\" = set"; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 else
19044 if test x$gcc_no_link = xyes; then
19045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19047 { (exit 1); exit 1; }; }
19049 cat >conftest.$ac_ext <<_ACEOF
19050 /* confdefs.h. */
19051 _ACEOF
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h. */
19055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19057 #define $ac_func innocuous_$ac_func
19059 /* System header to define __stub macros and hopefully few prototypes,
19060 which can conflict with char $ac_func (); below.
19061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19062 <limits.h> exists even on freestanding compilers. */
19064 #ifdef __STDC__
19065 # include <limits.h>
19066 #else
19067 # include <assert.h>
19068 #endif
19070 #undef $ac_func
19072 /* Override any gcc2 internal prototype to avoid an error. */
19073 #ifdef __cplusplus
19074 extern "C"
19076 #endif
19077 /* We use char because int might match the return type of a gcc2
19078 builtin and then its argument prototype would still apply. */
19079 char $ac_func ();
19080 /* The GNU C library defines this for functions which it implements
19081 to always fail with ENOSYS. Some functions are actually named
19082 something starting with __ and the normal name is an alias. */
19083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19084 choke me
19085 #else
19086 char (*f) () = $ac_func;
19087 #endif
19088 #ifdef __cplusplus
19090 #endif
19093 main ()
19095 return f != $ac_func;
19097 return 0;
19099 _ACEOF
19100 rm -f conftest.$ac_objext conftest$ac_exeext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19102 (eval $ac_link) 2>conftest.er1
19103 ac_status=$?
19104 grep -v '^ *+' conftest.er1 >conftest.err
19105 rm -f conftest.er1
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try='test -z "$ac_c_werror_flag"
19110 || test ! -s conftest.err'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try='test -s conftest$ac_exeext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19119 ac_status=$?
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 eval "$as_ac_var=yes"
19123 else
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 eval "$as_ac_var=no"
19129 rm -f conftest.err conftest.$ac_objext \
19130 conftest$ac_exeext conftest.$ac_ext
19132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19134 if test `eval echo '${'$as_ac_var'}'` = yes; then
19135 cat >>confdefs.h <<_ACEOF
19136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19137 _ACEOF
19140 done
19150 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19151 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19152 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19153 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19159 ac_ext=cc
19160 ac_cpp='$CXXCPP $CPPFLAGS'
19161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 #include <math.h>
19172 #ifdef HAVE_IEEEFP_H
19173 #include <ieeefp.h>
19174 #endif
19177 main ()
19179 isnan(0);
19181 return 0;
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19186 (eval $ac_compile) 2>conftest.er1
19187 ac_status=$?
19188 grep -v '^ *+' conftest.er1 >conftest.err
19189 rm -f conftest.er1
19190 cat conftest.err >&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); } &&
19193 { ac_try='test -z "$ac_cxx_werror_flag"
19194 || test ! -s conftest.err'
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196 (eval $ac_try) 2>&5
19197 ac_status=$?
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; } &&
19200 { ac_try='test -s conftest.$ac_objext'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19203 ac_status=$?
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; }; then
19206 glibcxx_cv_func_isnan_use=yes
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19211 glibcxx_cv_func_isnan_use=no
19213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19214 ac_ext=c
19215 ac_cpp='$CPP $CPPFLAGS'
19216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19225 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19227 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19229 for ac_func in isnan
19231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19232 echo "$as_me:$LINENO: checking for $ac_func" >&5
19233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19234 if eval "test \"\${$as_ac_var+set}\" = set"; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237 if test x$gcc_no_link = xyes; then
19238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19240 { (exit 1); exit 1; }; }
19242 cat >conftest.$ac_ext <<_ACEOF
19243 /* confdefs.h. */
19244 _ACEOF
19245 cat confdefs.h >>conftest.$ac_ext
19246 cat >>conftest.$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19250 #define $ac_func innocuous_$ac_func
19252 /* System header to define __stub macros and hopefully few prototypes,
19253 which can conflict with char $ac_func (); below.
19254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19255 <limits.h> exists even on freestanding compilers. */
19257 #ifdef __STDC__
19258 # include <limits.h>
19259 #else
19260 # include <assert.h>
19261 #endif
19263 #undef $ac_func
19265 /* Override any gcc2 internal prototype to avoid an error. */
19266 #ifdef __cplusplus
19267 extern "C"
19269 #endif
19270 /* We use char because int might match the return type of a gcc2
19271 builtin and then its argument prototype would still apply. */
19272 char $ac_func ();
19273 /* The GNU C library defines this for functions which it implements
19274 to always fail with ENOSYS. Some functions are actually named
19275 something starting with __ and the normal name is an alias. */
19276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19277 choke me
19278 #else
19279 char (*f) () = $ac_func;
19280 #endif
19281 #ifdef __cplusplus
19283 #endif
19286 main ()
19288 return f != $ac_func;
19290 return 0;
19292 _ACEOF
19293 rm -f conftest.$ac_objext conftest$ac_exeext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295 (eval $ac_link) 2>conftest.er1
19296 ac_status=$?
19297 grep -v '^ *+' conftest.er1 >conftest.err
19298 rm -f conftest.er1
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try='test -z "$ac_c_werror_flag"
19303 || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19306 ac_status=$?
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try='test -s conftest$ac_exeext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 eval "$as_ac_var=yes"
19316 else
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19320 eval "$as_ac_var=no"
19322 rm -f conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19327 if test `eval echo '${'$as_ac_var'}'` = yes; then
19328 cat >>confdefs.h <<_ACEOF
19329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19330 _ACEOF
19333 done
19335 else
19337 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19338 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19339 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19340 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19341 echo $ECHO_N "(cached) $ECHO_C" >&6
19342 else
19346 ac_ext=cc
19347 ac_cpp='$CXXCPP $CPPFLAGS'
19348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19352 cat >conftest.$ac_ext <<_ACEOF
19353 /* confdefs.h. */
19354 _ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <math.h>
19359 #ifdef HAVE_IEEEFP_H
19360 #include <ieeefp.h>
19361 #endif
19364 main ()
19366 _isnan(0);
19368 return 0;
19370 _ACEOF
19371 rm -f conftest.$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_cxx_werror_flag"
19381 || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19390 ac_status=$?
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 glibcxx_cv_func__isnan_use=yes
19394 else
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 glibcxx_cv_func__isnan_use=no
19400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19401 ac_ext=c
19402 ac_cpp='$CPP $CPPFLAGS'
19403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19412 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19414 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19416 for ac_func in _isnan
19418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19419 echo "$as_me:$LINENO: checking for $ac_func" >&5
19420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19421 if eval "test \"\${$as_ac_var+set}\" = set"; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424 if test x$gcc_no_link = xyes; then
19425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19427 { (exit 1); exit 1; }; }
19429 cat >conftest.$ac_ext <<_ACEOF
19430 /* confdefs.h. */
19431 _ACEOF
19432 cat confdefs.h >>conftest.$ac_ext
19433 cat >>conftest.$ac_ext <<_ACEOF
19434 /* end confdefs.h. */
19435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19437 #define $ac_func innocuous_$ac_func
19439 /* System header to define __stub macros and hopefully few prototypes,
19440 which can conflict with char $ac_func (); below.
19441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19442 <limits.h> exists even on freestanding compilers. */
19444 #ifdef __STDC__
19445 # include <limits.h>
19446 #else
19447 # include <assert.h>
19448 #endif
19450 #undef $ac_func
19452 /* Override any gcc2 internal prototype to avoid an error. */
19453 #ifdef __cplusplus
19454 extern "C"
19456 #endif
19457 /* We use char because int might match the return type of a gcc2
19458 builtin and then its argument prototype would still apply. */
19459 char $ac_func ();
19460 /* The GNU C library defines this for functions which it implements
19461 to always fail with ENOSYS. Some functions are actually named
19462 something starting with __ and the normal name is an alias. */
19463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19464 choke me
19465 #else
19466 char (*f) () = $ac_func;
19467 #endif
19468 #ifdef __cplusplus
19470 #endif
19473 main ()
19475 return f != $ac_func;
19477 return 0;
19479 _ACEOF
19480 rm -f conftest.$ac_objext conftest$ac_exeext
19481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19482 (eval $ac_link) 2>conftest.er1
19483 ac_status=$?
19484 grep -v '^ *+' conftest.er1 >conftest.err
19485 rm -f conftest.er1
19486 cat conftest.err >&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); } &&
19489 { ac_try='test -z "$ac_c_werror_flag"
19490 || test ! -s conftest.err'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19493 ac_status=$?
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; } &&
19496 { ac_try='test -s conftest$ac_exeext'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19499 ac_status=$?
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; }; then
19502 eval "$as_ac_var=yes"
19503 else
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19507 eval "$as_ac_var=no"
19509 rm -f conftest.err conftest.$ac_objext \
19510 conftest$ac_exeext conftest.$ac_ext
19512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19514 if test `eval echo '${'$as_ac_var'}'` = yes; then
19515 cat >>confdefs.h <<_ACEOF
19516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19517 _ACEOF
19520 done
19530 echo "$as_me:$LINENO: checking for finite declaration" >&5
19531 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19532 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19533 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19534 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 else
19539 ac_ext=cc
19540 ac_cpp='$CXXCPP $CPPFLAGS'
19541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19545 cat >conftest.$ac_ext <<_ACEOF
19546 /* confdefs.h. */
19547 _ACEOF
19548 cat confdefs.h >>conftest.$ac_ext
19549 cat >>conftest.$ac_ext <<_ACEOF
19550 /* end confdefs.h. */
19551 #include <math.h>
19552 #ifdef HAVE_IEEEFP_H
19553 #include <ieeefp.h>
19554 #endif
19557 main ()
19559 finite(0);
19561 return 0;
19563 _ACEOF
19564 rm -f conftest.$ac_objext
19565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19566 (eval $ac_compile) 2>conftest.er1
19567 ac_status=$?
19568 grep -v '^ *+' conftest.er1 >conftest.err
19569 rm -f conftest.er1
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } &&
19573 { ac_try='test -z "$ac_cxx_werror_flag"
19574 || test ! -s conftest.err'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19577 ac_status=$?
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; } &&
19580 { ac_try='test -s conftest.$ac_objext'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 glibcxx_cv_func_finite_use=yes
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19591 glibcxx_cv_func_finite_use=no
19593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19594 ac_ext=c
19595 ac_cpp='$CPP $CPPFLAGS'
19596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19605 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19607 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19609 for ac_func in finite
19611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19612 echo "$as_me:$LINENO: checking for $ac_func" >&5
19613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19614 if eval "test \"\${$as_ac_var+set}\" = set"; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 else
19617 if test x$gcc_no_link = xyes; then
19618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19620 { (exit 1); exit 1; }; }
19622 cat >conftest.$ac_ext <<_ACEOF
19623 /* confdefs.h. */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19630 #define $ac_func innocuous_$ac_func
19632 /* System header to define __stub macros and hopefully few prototypes,
19633 which can conflict with char $ac_func (); below.
19634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19635 <limits.h> exists even on freestanding compilers. */
19637 #ifdef __STDC__
19638 # include <limits.h>
19639 #else
19640 # include <assert.h>
19641 #endif
19643 #undef $ac_func
19645 /* Override any gcc2 internal prototype to avoid an error. */
19646 #ifdef __cplusplus
19647 extern "C"
19649 #endif
19650 /* We use char because int might match the return type of a gcc2
19651 builtin and then its argument prototype would still apply. */
19652 char $ac_func ();
19653 /* The GNU C library defines this for functions which it implements
19654 to always fail with ENOSYS. Some functions are actually named
19655 something starting with __ and the normal name is an alias. */
19656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19657 choke me
19658 #else
19659 char (*f) () = $ac_func;
19660 #endif
19661 #ifdef __cplusplus
19663 #endif
19666 main ()
19668 return f != $ac_func;
19670 return 0;
19672 _ACEOF
19673 rm -f conftest.$ac_objext conftest$ac_exeext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19675 (eval $ac_link) 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_c_werror_flag"
19683 || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19686 ac_status=$?
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try='test -s conftest$ac_exeext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695 eval "$as_ac_var=yes"
19696 else
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19700 eval "$as_ac_var=no"
19702 rm -f conftest.err conftest.$ac_objext \
19703 conftest$ac_exeext conftest.$ac_ext
19705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19707 if test `eval echo '${'$as_ac_var'}'` = yes; then
19708 cat >>confdefs.h <<_ACEOF
19709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19710 _ACEOF
19713 done
19715 else
19717 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19718 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19719 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19720 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 else
19726 ac_ext=cc
19727 ac_cpp='$CXXCPP $CPPFLAGS'
19728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19732 cat >conftest.$ac_ext <<_ACEOF
19733 /* confdefs.h. */
19734 _ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738 #include <math.h>
19739 #ifdef HAVE_IEEEFP_H
19740 #include <ieeefp.h>
19741 #endif
19744 main ()
19746 _finite(0);
19748 return 0;
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19753 (eval $ac_compile) 2>conftest.er1
19754 ac_status=$?
19755 grep -v '^ *+' conftest.er1 >conftest.err
19756 rm -f conftest.er1
19757 cat conftest.err >&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); } &&
19760 { ac_try='test -z "$ac_cxx_werror_flag"
19761 || test ! -s conftest.err'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; } &&
19767 { ac_try='test -s conftest.$ac_objext'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; }; then
19773 glibcxx_cv_func__finite_use=yes
19774 else
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.$ac_ext >&5
19778 glibcxx_cv_func__finite_use=no
19780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19781 ac_ext=c
19782 ac_cpp='$CPP $CPPFLAGS'
19783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19792 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19794 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19796 for ac_func in _finite
19798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19799 echo "$as_me:$LINENO: checking for $ac_func" >&5
19800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19801 if eval "test \"\${$as_ac_var+set}\" = set"; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804 if test x$gcc_no_link = xyes; then
19805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19807 { (exit 1); exit 1; }; }
19809 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h. */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19817 #define $ac_func innocuous_$ac_func
19819 /* System header to define __stub macros and hopefully few prototypes,
19820 which can conflict with char $ac_func (); below.
19821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19822 <limits.h> exists even on freestanding compilers. */
19824 #ifdef __STDC__
19825 # include <limits.h>
19826 #else
19827 # include <assert.h>
19828 #endif
19830 #undef $ac_func
19832 /* Override any gcc2 internal prototype to avoid an error. */
19833 #ifdef __cplusplus
19834 extern "C"
19836 #endif
19837 /* We use char because int might match the return type of a gcc2
19838 builtin and then its argument prototype would still apply. */
19839 char $ac_func ();
19840 /* The GNU C library defines this for functions which it implements
19841 to always fail with ENOSYS. Some functions are actually named
19842 something starting with __ and the normal name is an alias. */
19843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19844 choke me
19845 #else
19846 char (*f) () = $ac_func;
19847 #endif
19848 #ifdef __cplusplus
19850 #endif
19853 main ()
19855 return f != $ac_func;
19857 return 0;
19859 _ACEOF
19860 rm -f conftest.$ac_objext conftest$ac_exeext
19861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19862 (eval $ac_link) 2>conftest.er1
19863 ac_status=$?
19864 grep -v '^ *+' conftest.er1 >conftest.err
19865 rm -f conftest.er1
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } &&
19869 { ac_try='test -z "$ac_c_werror_flag"
19870 || test ! -s conftest.err'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19873 ac_status=$?
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try='test -s conftest$ac_exeext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19879 ac_status=$?
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 eval "$as_ac_var=yes"
19883 else
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19887 eval "$as_ac_var=no"
19889 rm -f conftest.err conftest.$ac_objext \
19890 conftest$ac_exeext conftest.$ac_ext
19892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19894 if test `eval echo '${'$as_ac_var'}'` = yes; then
19895 cat >>confdefs.h <<_ACEOF
19896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19897 _ACEOF
19900 done
19910 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19911 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19912 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19913 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19914 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 else
19919 ac_ext=cc
19920 ac_cpp='$CXXCPP $CPPFLAGS'
19921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 #include <math.h>
19933 main ()
19935 copysign(0, 0);
19937 return 0;
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19942 (eval $ac_compile) 2>conftest.er1
19943 ac_status=$?
19944 grep -v '^ *+' conftest.er1 >conftest.err
19945 rm -f conftest.er1
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } &&
19949 { ac_try='test -z "$ac_cxx_werror_flag"
19950 || test ! -s conftest.err'
19951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19952 (eval $ac_try) 2>&5
19953 ac_status=$?
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); }; } &&
19956 { ac_try='test -s conftest.$ac_objext'
19957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958 (eval $ac_try) 2>&5
19959 ac_status=$?
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); }; }; then
19962 glibcxx_cv_func_copysign_use=yes
19963 else
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19967 glibcxx_cv_func_copysign_use=no
19969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19970 ac_ext=c
19971 ac_cpp='$CPP $CPPFLAGS'
19972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19981 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19983 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19985 for ac_func in copysign
19987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19988 echo "$as_me:$LINENO: checking for $ac_func" >&5
19989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19990 if eval "test \"\${$as_ac_var+set}\" = set"; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19992 else
19993 if test x$gcc_no_link = xyes; then
19994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19996 { (exit 1); exit 1; }; }
19998 cat >conftest.$ac_ext <<_ACEOF
19999 /* confdefs.h. */
20000 _ACEOF
20001 cat confdefs.h >>conftest.$ac_ext
20002 cat >>conftest.$ac_ext <<_ACEOF
20003 /* end confdefs.h. */
20004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20006 #define $ac_func innocuous_$ac_func
20008 /* System header to define __stub macros and hopefully few prototypes,
20009 which can conflict with char $ac_func (); below.
20010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20011 <limits.h> exists even on freestanding compilers. */
20013 #ifdef __STDC__
20014 # include <limits.h>
20015 #else
20016 # include <assert.h>
20017 #endif
20019 #undef $ac_func
20021 /* Override any gcc2 internal prototype to avoid an error. */
20022 #ifdef __cplusplus
20023 extern "C"
20025 #endif
20026 /* We use char because int might match the return type of a gcc2
20027 builtin and then its argument prototype would still apply. */
20028 char $ac_func ();
20029 /* The GNU C library defines this for functions which it implements
20030 to always fail with ENOSYS. Some functions are actually named
20031 something starting with __ and the normal name is an alias. */
20032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20033 choke me
20034 #else
20035 char (*f) () = $ac_func;
20036 #endif
20037 #ifdef __cplusplus
20039 #endif
20042 main ()
20044 return f != $ac_func;
20046 return 0;
20048 _ACEOF
20049 rm -f conftest.$ac_objext conftest$ac_exeext
20050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20051 (eval $ac_link) 2>conftest.er1
20052 ac_status=$?
20053 grep -v '^ *+' conftest.er1 >conftest.err
20054 rm -f conftest.er1
20055 cat conftest.err >&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); } &&
20058 { ac_try='test -z "$ac_c_werror_flag"
20059 || test ! -s conftest.err'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20062 ac_status=$?
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; } &&
20065 { ac_try='test -s conftest$ac_exeext'
20066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20067 (eval $ac_try) 2>&5
20068 ac_status=$?
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; }; then
20071 eval "$as_ac_var=yes"
20072 else
20073 echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.$ac_ext >&5
20076 eval "$as_ac_var=no"
20078 rm -f conftest.err conftest.$ac_objext \
20079 conftest$ac_exeext conftest.$ac_ext
20081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20083 if test `eval echo '${'$as_ac_var'}'` = yes; then
20084 cat >>confdefs.h <<_ACEOF
20085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20086 _ACEOF
20089 done
20091 else
20093 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20094 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20095 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20096 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20097 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 else
20102 ac_ext=cc
20103 ac_cpp='$CXXCPP $CPPFLAGS'
20104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20108 cat >conftest.$ac_ext <<_ACEOF
20109 /* confdefs.h. */
20110 _ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 #include <math.h>
20116 main ()
20118 _copysign(0, 0);
20120 return 0;
20122 _ACEOF
20123 rm -f conftest.$ac_objext
20124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20125 (eval $ac_compile) 2>conftest.er1
20126 ac_status=$?
20127 grep -v '^ *+' conftest.er1 >conftest.err
20128 rm -f conftest.er1
20129 cat conftest.err >&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } &&
20132 { ac_try='test -z "$ac_cxx_werror_flag"
20133 || test ! -s conftest.err'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20136 ac_status=$?
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; } &&
20139 { ac_try='test -s conftest.$ac_objext'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20142 ac_status=$?
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 glibcxx_cv_func__copysign_use=yes
20146 else
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 glibcxx_cv_func__copysign_use=no
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153 ac_ext=c
20154 ac_cpp='$CPP $CPPFLAGS'
20155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20164 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20166 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20168 for ac_func in _copysign
20170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20171 echo "$as_me:$LINENO: checking for $ac_func" >&5
20172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20173 if eval "test \"\${$as_ac_var+set}\" = set"; then
20174 echo $ECHO_N "(cached) $ECHO_C" >&6
20175 else
20176 if test x$gcc_no_link = xyes; then
20177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20179 { (exit 1); exit 1; }; }
20181 cat >conftest.$ac_ext <<_ACEOF
20182 /* confdefs.h. */
20183 _ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20189 #define $ac_func innocuous_$ac_func
20191 /* System header to define __stub macros and hopefully few prototypes,
20192 which can conflict with char $ac_func (); below.
20193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20194 <limits.h> exists even on freestanding compilers. */
20196 #ifdef __STDC__
20197 # include <limits.h>
20198 #else
20199 # include <assert.h>
20200 #endif
20202 #undef $ac_func
20204 /* Override any gcc2 internal prototype to avoid an error. */
20205 #ifdef __cplusplus
20206 extern "C"
20208 #endif
20209 /* We use char because int might match the return type of a gcc2
20210 builtin and then its argument prototype would still apply. */
20211 char $ac_func ();
20212 /* The GNU C library defines this for functions which it implements
20213 to always fail with ENOSYS. Some functions are actually named
20214 something starting with __ and the normal name is an alias. */
20215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20216 choke me
20217 #else
20218 char (*f) () = $ac_func;
20219 #endif
20220 #ifdef __cplusplus
20222 #endif
20225 main ()
20227 return f != $ac_func;
20229 return 0;
20231 _ACEOF
20232 rm -f conftest.$ac_objext conftest$ac_exeext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20234 (eval $ac_link) 2>conftest.er1
20235 ac_status=$?
20236 grep -v '^ *+' conftest.er1 >conftest.err
20237 rm -f conftest.er1
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try='test -z "$ac_c_werror_flag"
20242 || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 eval "$as_ac_var=yes"
20255 else
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20259 eval "$as_ac_var=no"
20261 rm -f conftest.err conftest.$ac_objext \
20262 conftest$ac_exeext conftest.$ac_ext
20264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20266 if test `eval echo '${'$as_ac_var'}'` = yes; then
20267 cat >>confdefs.h <<_ACEOF
20268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20269 _ACEOF
20272 done
20282 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20283 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20284 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20285 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 else
20291 ac_ext=cc
20292 ac_cpp='$CXXCPP $CPPFLAGS'
20293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 #include <math.h>
20305 main ()
20307 sincos(0, 0, 0);
20309 return 0;
20311 _ACEOF
20312 rm -f conftest.$ac_objext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20314 (eval $ac_compile) 2>conftest.er1
20315 ac_status=$?
20316 grep -v '^ *+' conftest.er1 >conftest.err
20317 rm -f conftest.er1
20318 cat conftest.err >&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } &&
20321 { ac_try='test -z "$ac_cxx_werror_flag"
20322 || test ! -s conftest.err'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20325 ac_status=$?
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; } &&
20328 { ac_try='test -s conftest.$ac_objext'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20331 ac_status=$?
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 glibcxx_cv_func_sincos_use=yes
20335 else
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20339 glibcxx_cv_func_sincos_use=no
20341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342 ac_ext=c
20343 ac_cpp='$CPP $CPPFLAGS'
20344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20353 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20355 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20357 for ac_func in sincos
20359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20360 echo "$as_me:$LINENO: checking for $ac_func" >&5
20361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20362 if eval "test \"\${$as_ac_var+set}\" = set"; then
20363 echo $ECHO_N "(cached) $ECHO_C" >&6
20364 else
20365 if test x$gcc_no_link = xyes; then
20366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20368 { (exit 1); exit 1; }; }
20370 cat >conftest.$ac_ext <<_ACEOF
20371 /* confdefs.h. */
20372 _ACEOF
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20378 #define $ac_func innocuous_$ac_func
20380 /* System header to define __stub macros and hopefully few prototypes,
20381 which can conflict with char $ac_func (); below.
20382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20383 <limits.h> exists even on freestanding compilers. */
20385 #ifdef __STDC__
20386 # include <limits.h>
20387 #else
20388 # include <assert.h>
20389 #endif
20391 #undef $ac_func
20393 /* Override any gcc2 internal prototype to avoid an error. */
20394 #ifdef __cplusplus
20395 extern "C"
20397 #endif
20398 /* We use char because int might match the return type of a gcc2
20399 builtin and then its argument prototype would still apply. */
20400 char $ac_func ();
20401 /* The GNU C library defines this for functions which it implements
20402 to always fail with ENOSYS. Some functions are actually named
20403 something starting with __ and the normal name is an alias. */
20404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20405 choke me
20406 #else
20407 char (*f) () = $ac_func;
20408 #endif
20409 #ifdef __cplusplus
20411 #endif
20414 main ()
20416 return f != $ac_func;
20418 return 0;
20420 _ACEOF
20421 rm -f conftest.$ac_objext conftest$ac_exeext
20422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20423 (eval $ac_link) 2>conftest.er1
20424 ac_status=$?
20425 grep -v '^ *+' conftest.er1 >conftest.err
20426 rm -f conftest.er1
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } &&
20430 { ac_try='test -z "$ac_c_werror_flag"
20431 || test ! -s conftest.err'
20432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20433 (eval $ac_try) 2>&5
20434 ac_status=$?
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; } &&
20437 { ac_try='test -s conftest$ac_exeext'
20438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439 (eval $ac_try) 2>&5
20440 ac_status=$?
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); }; }; then
20443 eval "$as_ac_var=yes"
20444 else
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.$ac_ext >&5
20448 eval "$as_ac_var=no"
20450 rm -f conftest.err conftest.$ac_objext \
20451 conftest$ac_exeext conftest.$ac_ext
20453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20455 if test `eval echo '${'$as_ac_var'}'` = yes; then
20456 cat >>confdefs.h <<_ACEOF
20457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20458 _ACEOF
20461 done
20463 else
20465 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20466 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20467 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20468 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20469 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 else
20474 ac_ext=cc
20475 ac_cpp='$CXXCPP $CPPFLAGS'
20476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 #include <math.h>
20488 main ()
20490 _sincos(0, 0, 0);
20492 return 0;
20494 _ACEOF
20495 rm -f conftest.$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -z "$ac_cxx_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 glibcxx_cv_func__sincos_use=yes
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20522 glibcxx_cv_func__sincos_use=no
20524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525 ac_ext=c
20526 ac_cpp='$CPP $CPPFLAGS'
20527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20536 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20538 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20540 for ac_func in _sincos
20542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20543 echo "$as_me:$LINENO: checking for $ac_func" >&5
20544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20545 if eval "test \"\${$as_ac_var+set}\" = set"; then
20546 echo $ECHO_N "(cached) $ECHO_C" >&6
20547 else
20548 if test x$gcc_no_link = xyes; then
20549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20551 { (exit 1); exit 1; }; }
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h. */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20561 #define $ac_func innocuous_$ac_func
20563 /* System header to define __stub macros and hopefully few prototypes,
20564 which can conflict with char $ac_func (); below.
20565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20566 <limits.h> exists even on freestanding compilers. */
20568 #ifdef __STDC__
20569 # include <limits.h>
20570 #else
20571 # include <assert.h>
20572 #endif
20574 #undef $ac_func
20576 /* Override any gcc2 internal prototype to avoid an error. */
20577 #ifdef __cplusplus
20578 extern "C"
20580 #endif
20581 /* We use char because int might match the return type of a gcc2
20582 builtin and then its argument prototype would still apply. */
20583 char $ac_func ();
20584 /* The GNU C library defines this for functions which it implements
20585 to always fail with ENOSYS. Some functions are actually named
20586 something starting with __ and the normal name is an alias. */
20587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20588 choke me
20589 #else
20590 char (*f) () = $ac_func;
20591 #endif
20592 #ifdef __cplusplus
20594 #endif
20597 main ()
20599 return f != $ac_func;
20601 return 0;
20603 _ACEOF
20604 rm -f conftest.$ac_objext conftest$ac_exeext
20605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20606 (eval $ac_link) 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } &&
20613 { ac_try='test -z "$ac_c_werror_flag"
20614 || test ! -s conftest.err'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20617 ac_status=$?
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; } &&
20620 { ac_try='test -s conftest$ac_exeext'
20621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622 (eval $ac_try) 2>&5
20623 ac_status=$?
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); }; }; then
20626 eval "$as_ac_var=yes"
20627 else
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20631 eval "$as_ac_var=no"
20633 rm -f conftest.err conftest.$ac_objext \
20634 conftest$ac_exeext conftest.$ac_ext
20636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20638 if test `eval echo '${'$as_ac_var'}'` = yes; then
20639 cat >>confdefs.h <<_ACEOF
20640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20641 _ACEOF
20644 done
20654 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20655 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20656 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20657 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20663 ac_ext=cc
20664 ac_cpp='$CXXCPP $CPPFLAGS'
20665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20669 cat >conftest.$ac_ext <<_ACEOF
20670 /* confdefs.h. */
20671 _ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 #include <math.h>
20676 #ifdef HAVE_IEEEFP_H
20677 #include <ieeefp.h>
20678 #endif
20681 main ()
20683 fpclass(0);
20685 return 0;
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_cxx_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20707 ac_status=$?
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 glibcxx_cv_func_fpclass_use=yes
20711 else
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20715 glibcxx_cv_func_fpclass_use=no
20717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20718 ac_ext=c
20719 ac_cpp='$CPP $CPPFLAGS'
20720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20729 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20731 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20733 for ac_func in fpclass
20735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20736 echo "$as_me:$LINENO: checking for $ac_func" >&5
20737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20738 if eval "test \"\${$as_ac_var+set}\" = set"; then
20739 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 else
20741 if test x$gcc_no_link = xyes; then
20742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20744 { (exit 1); exit 1; }; }
20746 cat >conftest.$ac_ext <<_ACEOF
20747 /* confdefs.h. */
20748 _ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20754 #define $ac_func innocuous_$ac_func
20756 /* System header to define __stub macros and hopefully few prototypes,
20757 which can conflict with char $ac_func (); below.
20758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20759 <limits.h> exists even on freestanding compilers. */
20761 #ifdef __STDC__
20762 # include <limits.h>
20763 #else
20764 # include <assert.h>
20765 #endif
20767 #undef $ac_func
20769 /* Override any gcc2 internal prototype to avoid an error. */
20770 #ifdef __cplusplus
20771 extern "C"
20773 #endif
20774 /* We use char because int might match the return type of a gcc2
20775 builtin and then its argument prototype would still apply. */
20776 char $ac_func ();
20777 /* The GNU C library defines this for functions which it implements
20778 to always fail with ENOSYS. Some functions are actually named
20779 something starting with __ and the normal name is an alias. */
20780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20781 choke me
20782 #else
20783 char (*f) () = $ac_func;
20784 #endif
20785 #ifdef __cplusplus
20787 #endif
20790 main ()
20792 return f != $ac_func;
20794 return 0;
20796 _ACEOF
20797 rm -f conftest.$ac_objext conftest$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799 (eval $ac_link) 2>conftest.er1
20800 ac_status=$?
20801 grep -v '^ *+' conftest.er1 >conftest.err
20802 rm -f conftest.er1
20803 cat conftest.err >&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } &&
20806 { ac_try='test -z "$ac_c_werror_flag"
20807 || test ! -s conftest.err'
20808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20809 (eval $ac_try) 2>&5
20810 ac_status=$?
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); }; } &&
20813 { ac_try='test -s conftest$ac_exeext'
20814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815 (eval $ac_try) 2>&5
20816 ac_status=$?
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; }; then
20819 eval "$as_ac_var=yes"
20820 else
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20824 eval "$as_ac_var=no"
20826 rm -f conftest.err conftest.$ac_objext \
20827 conftest$ac_exeext conftest.$ac_ext
20829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20831 if test `eval echo '${'$as_ac_var'}'` = yes; then
20832 cat >>confdefs.h <<_ACEOF
20833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20834 _ACEOF
20837 done
20839 else
20841 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20842 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20843 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20844 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20845 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 else
20850 ac_ext=cc
20851 ac_cpp='$CXXCPP $CPPFLAGS'
20852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20856 cat >conftest.$ac_ext <<_ACEOF
20857 /* confdefs.h. */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862 #include <math.h>
20863 #ifdef HAVE_IEEEFP_H
20864 #include <ieeefp.h>
20865 #endif
20868 main ()
20870 _fpclass(0);
20872 return 0;
20874 _ACEOF
20875 rm -f conftest.$ac_objext
20876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20877 (eval $ac_compile) 2>conftest.er1
20878 ac_status=$?
20879 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } &&
20884 { ac_try='test -z "$ac_cxx_werror_flag"
20885 || test ! -s conftest.err'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try='test -s conftest.$ac_objext'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 glibcxx_cv_func__fpclass_use=yes
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20902 glibcxx_cv_func__fpclass_use=no
20904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20905 ac_ext=c
20906 ac_cpp='$CPP $CPPFLAGS'
20907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20916 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20918 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20920 for ac_func in _fpclass
20922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20923 echo "$as_me:$LINENO: checking for $ac_func" >&5
20924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20925 if eval "test \"\${$as_ac_var+set}\" = set"; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 else
20928 if test x$gcc_no_link = xyes; then
20929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20931 { (exit 1); exit 1; }; }
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20941 #define $ac_func innocuous_$ac_func
20943 /* System header to define __stub macros and hopefully few prototypes,
20944 which can conflict with char $ac_func (); below.
20945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20946 <limits.h> exists even on freestanding compilers. */
20948 #ifdef __STDC__
20949 # include <limits.h>
20950 #else
20951 # include <assert.h>
20952 #endif
20954 #undef $ac_func
20956 /* Override any gcc2 internal prototype to avoid an error. */
20957 #ifdef __cplusplus
20958 extern "C"
20960 #endif
20961 /* We use char because int might match the return type of a gcc2
20962 builtin and then its argument prototype would still apply. */
20963 char $ac_func ();
20964 /* The GNU C library defines this for functions which it implements
20965 to always fail with ENOSYS. Some functions are actually named
20966 something starting with __ and the normal name is an alias. */
20967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20968 choke me
20969 #else
20970 char (*f) () = $ac_func;
20971 #endif
20972 #ifdef __cplusplus
20974 #endif
20977 main ()
20979 return f != $ac_func;
20981 return 0;
20983 _ACEOF
20984 rm -f conftest.$ac_objext conftest$ac_exeext
20985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20986 (eval $ac_link) 2>conftest.er1
20987 ac_status=$?
20988 grep -v '^ *+' conftest.er1 >conftest.err
20989 rm -f conftest.er1
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } &&
20993 { ac_try='test -z "$ac_c_werror_flag"
20994 || test ! -s conftest.err'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20997 ac_status=$?
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; } &&
21000 { ac_try='test -s conftest$ac_exeext'
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21002 (eval $ac_try) 2>&5
21003 ac_status=$?
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); }; }; then
21006 eval "$as_ac_var=yes"
21007 else
21008 echo "$as_me: failed program was:" >&5
21009 sed 's/^/| /' conftest.$ac_ext >&5
21011 eval "$as_ac_var=no"
21013 rm -f conftest.err conftest.$ac_objext \
21014 conftest$ac_exeext conftest.$ac_ext
21016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21018 if test `eval echo '${'$as_ac_var'}'` = yes; then
21019 cat >>confdefs.h <<_ACEOF
21020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21021 _ACEOF
21024 done
21034 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21035 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21036 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21037 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21043 ac_ext=cc
21044 ac_cpp='$CXXCPP $CPPFLAGS'
21045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 #include <math.h>
21056 #ifdef HAVE_IEEEFP_H
21057 #include <ieeefp.h>
21058 #endif
21061 main ()
21063 qfpclass(0);
21065 return 0;
21067 _ACEOF
21068 rm -f conftest.$ac_objext
21069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21070 (eval $ac_compile) 2>conftest.er1
21071 ac_status=$?
21072 grep -v '^ *+' conftest.er1 >conftest.err
21073 rm -f conftest.er1
21074 cat conftest.err >&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); } &&
21077 { ac_try='test -z "$ac_cxx_werror_flag"
21078 || test ! -s conftest.err'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; } &&
21084 { ac_try='test -s conftest.$ac_objext'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21087 ac_status=$?
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; }; then
21090 glibcxx_cv_func_qfpclass_use=yes
21091 else
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21095 glibcxx_cv_func_qfpclass_use=no
21097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21098 ac_ext=c
21099 ac_cpp='$CPP $CPPFLAGS'
21100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21108 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21109 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21111 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21113 for ac_func in qfpclass
21115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21116 echo "$as_me:$LINENO: checking for $ac_func" >&5
21117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21118 if eval "test \"\${$as_ac_var+set}\" = set"; then
21119 echo $ECHO_N "(cached) $ECHO_C" >&6
21120 else
21121 if test x$gcc_no_link = xyes; then
21122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21124 { (exit 1); exit 1; }; }
21126 cat >conftest.$ac_ext <<_ACEOF
21127 /* confdefs.h. */
21128 _ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21134 #define $ac_func innocuous_$ac_func
21136 /* System header to define __stub macros and hopefully few prototypes,
21137 which can conflict with char $ac_func (); below.
21138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21139 <limits.h> exists even on freestanding compilers. */
21141 #ifdef __STDC__
21142 # include <limits.h>
21143 #else
21144 # include <assert.h>
21145 #endif
21147 #undef $ac_func
21149 /* Override any gcc2 internal prototype to avoid an error. */
21150 #ifdef __cplusplus
21151 extern "C"
21153 #endif
21154 /* We use char because int might match the return type of a gcc2
21155 builtin and then its argument prototype would still apply. */
21156 char $ac_func ();
21157 /* The GNU C library defines this for functions which it implements
21158 to always fail with ENOSYS. Some functions are actually named
21159 something starting with __ and the normal name is an alias. */
21160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21161 choke me
21162 #else
21163 char (*f) () = $ac_func;
21164 #endif
21165 #ifdef __cplusplus
21167 #endif
21170 main ()
21172 return f != $ac_func;
21174 return 0;
21176 _ACEOF
21177 rm -f conftest.$ac_objext conftest$ac_exeext
21178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21179 (eval $ac_link) 2>conftest.er1
21180 ac_status=$?
21181 grep -v '^ *+' conftest.er1 >conftest.err
21182 rm -f conftest.er1
21183 cat conftest.err >&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } &&
21186 { ac_try='test -z "$ac_c_werror_flag"
21187 || test ! -s conftest.err'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21190 ac_status=$?
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; } &&
21193 { ac_try='test -s conftest$ac_exeext'
21194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21195 (eval $ac_try) 2>&5
21196 ac_status=$?
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); }; }; then
21199 eval "$as_ac_var=yes"
21200 else
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21204 eval "$as_ac_var=no"
21206 rm -f conftest.err conftest.$ac_objext \
21207 conftest$ac_exeext conftest.$ac_ext
21209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21211 if test `eval echo '${'$as_ac_var'}'` = yes; then
21212 cat >>confdefs.h <<_ACEOF
21213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21214 _ACEOF
21217 done
21219 else
21221 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21222 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21223 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21224 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21225 echo $ECHO_N "(cached) $ECHO_C" >&6
21226 else
21230 ac_ext=cc
21231 ac_cpp='$CXXCPP $CPPFLAGS'
21232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21236 cat >conftest.$ac_ext <<_ACEOF
21237 /* confdefs.h. */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 #include <math.h>
21243 #ifdef HAVE_IEEEFP_H
21244 #include <ieeefp.h>
21245 #endif
21248 main ()
21250 _qfpclass(0);
21252 return 0;
21254 _ACEOF
21255 rm -f conftest.$ac_objext
21256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21257 (eval $ac_compile) 2>conftest.er1
21258 ac_status=$?
21259 grep -v '^ *+' conftest.er1 >conftest.err
21260 rm -f conftest.er1
21261 cat conftest.err >&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } &&
21264 { ac_try='test -z "$ac_cxx_werror_flag"
21265 || test ! -s conftest.err'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; } &&
21271 { ac_try='test -s conftest.$ac_objext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 glibcxx_cv_func__qfpclass_use=yes
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21282 glibcxx_cv_func__qfpclass_use=no
21284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21285 ac_ext=c
21286 ac_cpp='$CPP $CPPFLAGS'
21287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21296 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21298 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21300 for ac_func in _qfpclass
21302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21303 echo "$as_me:$LINENO: checking for $ac_func" >&5
21304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21305 if eval "test \"\${$as_ac_var+set}\" = set"; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21307 else
21308 if test x$gcc_no_link = xyes; then
21309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21311 { (exit 1); exit 1; }; }
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h. */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21321 #define $ac_func innocuous_$ac_func
21323 /* System header to define __stub macros and hopefully few prototypes,
21324 which can conflict with char $ac_func (); below.
21325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21326 <limits.h> exists even on freestanding compilers. */
21328 #ifdef __STDC__
21329 # include <limits.h>
21330 #else
21331 # include <assert.h>
21332 #endif
21334 #undef $ac_func
21336 /* Override any gcc2 internal prototype to avoid an error. */
21337 #ifdef __cplusplus
21338 extern "C"
21340 #endif
21341 /* We use char because int might match the return type of a gcc2
21342 builtin and then its argument prototype would still apply. */
21343 char $ac_func ();
21344 /* The GNU C library defines this for functions which it implements
21345 to always fail with ENOSYS. Some functions are actually named
21346 something starting with __ and the normal name is an alias. */
21347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21348 choke me
21349 #else
21350 char (*f) () = $ac_func;
21351 #endif
21352 #ifdef __cplusplus
21354 #endif
21357 main ()
21359 return f != $ac_func;
21361 return 0;
21363 _ACEOF
21364 rm -f conftest.$ac_objext conftest$ac_exeext
21365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21366 (eval $ac_link) 2>conftest.er1
21367 ac_status=$?
21368 grep -v '^ *+' conftest.er1 >conftest.err
21369 rm -f conftest.er1
21370 cat conftest.err >&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } &&
21373 { ac_try='test -z "$ac_c_werror_flag"
21374 || test ! -s conftest.err'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; } &&
21380 { ac_try='test -s conftest$ac_exeext'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21383 ac_status=$?
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; }; then
21386 eval "$as_ac_var=yes"
21387 else
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21391 eval "$as_ac_var=no"
21393 rm -f conftest.err conftest.$ac_objext \
21394 conftest$ac_exeext conftest.$ac_ext
21396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21398 if test `eval echo '${'$as_ac_var'}'` = yes; then
21399 cat >>confdefs.h <<_ACEOF
21400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21401 _ACEOF
21404 done
21414 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21415 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21416 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21417 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21418 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 else
21423 ac_ext=cc
21424 ac_cpp='$CXXCPP $CPPFLAGS'
21425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 #include <math.h>
21437 main ()
21439 hypot(0, 0);
21441 return 0;
21443 _ACEOF
21444 rm -f conftest.$ac_objext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21446 (eval $ac_compile) 2>conftest.er1
21447 ac_status=$?
21448 grep -v '^ *+' conftest.er1 >conftest.err
21449 rm -f conftest.er1
21450 cat conftest.err >&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } &&
21453 { ac_try='test -z "$ac_cxx_werror_flag"
21454 || test ! -s conftest.err'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21457 ac_status=$?
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; } &&
21460 { ac_try='test -s conftest.$ac_objext'
21461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462 (eval $ac_try) 2>&5
21463 ac_status=$?
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); }; }; then
21466 glibcxx_cv_func_hypot_use=yes
21467 else
21468 echo "$as_me: failed program was:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21471 glibcxx_cv_func_hypot_use=no
21473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21474 ac_ext=c
21475 ac_cpp='$CPP $CPPFLAGS'
21476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21485 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21487 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21489 for ac_func in hypot
21491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21492 echo "$as_me:$LINENO: checking for $ac_func" >&5
21493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21494 if eval "test \"\${$as_ac_var+set}\" = set"; then
21495 echo $ECHO_N "(cached) $ECHO_C" >&6
21496 else
21497 if test x$gcc_no_link = xyes; then
21498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21500 { (exit 1); exit 1; }; }
21502 cat >conftest.$ac_ext <<_ACEOF
21503 /* confdefs.h. */
21504 _ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21510 #define $ac_func innocuous_$ac_func
21512 /* System header to define __stub macros and hopefully few prototypes,
21513 which can conflict with char $ac_func (); below.
21514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21515 <limits.h> exists even on freestanding compilers. */
21517 #ifdef __STDC__
21518 # include <limits.h>
21519 #else
21520 # include <assert.h>
21521 #endif
21523 #undef $ac_func
21525 /* Override any gcc2 internal prototype to avoid an error. */
21526 #ifdef __cplusplus
21527 extern "C"
21529 #endif
21530 /* We use char because int might match the return type of a gcc2
21531 builtin and then its argument prototype would still apply. */
21532 char $ac_func ();
21533 /* The GNU C library defines this for functions which it implements
21534 to always fail with ENOSYS. Some functions are actually named
21535 something starting with __ and the normal name is an alias. */
21536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21537 choke me
21538 #else
21539 char (*f) () = $ac_func;
21540 #endif
21541 #ifdef __cplusplus
21543 #endif
21546 main ()
21548 return f != $ac_func;
21550 return 0;
21552 _ACEOF
21553 rm -f conftest.$ac_objext conftest$ac_exeext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21555 (eval $ac_link) 2>conftest.er1
21556 ac_status=$?
21557 grep -v '^ *+' conftest.er1 >conftest.err
21558 rm -f conftest.er1
21559 cat conftest.err >&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); } &&
21562 { ac_try='test -z "$ac_c_werror_flag"
21563 || test ! -s conftest.err'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21566 ac_status=$?
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; } &&
21569 { ac_try='test -s conftest$ac_exeext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 eval "$as_ac_var=yes"
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21580 eval "$as_ac_var=no"
21582 rm -f conftest.err conftest.$ac_objext \
21583 conftest$ac_exeext conftest.$ac_ext
21585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21587 if test `eval echo '${'$as_ac_var'}'` = yes; then
21588 cat >>confdefs.h <<_ACEOF
21589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21590 _ACEOF
21593 done
21595 else
21597 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21598 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21599 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21600 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21601 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 else
21606 ac_ext=cc
21607 ac_cpp='$CXXCPP $CPPFLAGS'
21608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 #include <math.h>
21620 main ()
21622 _hypot(0, 0);
21624 return 0;
21626 _ACEOF
21627 rm -f conftest.$ac_objext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21629 (eval $ac_compile) 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } &&
21636 { ac_try='test -z "$ac_cxx_werror_flag"
21637 || test ! -s conftest.err'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21640 ac_status=$?
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; } &&
21643 { ac_try='test -s conftest.$ac_objext'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21646 ac_status=$?
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; }; then
21649 glibcxx_cv_func__hypot_use=yes
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21654 glibcxx_cv_func__hypot_use=no
21656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21667 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21668 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21670 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21672 for ac_func in _hypot
21674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21675 echo "$as_me:$LINENO: checking for $ac_func" >&5
21676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21677 if eval "test \"\${$as_ac_var+set}\" = set"; then
21678 echo $ECHO_N "(cached) $ECHO_C" >&6
21679 else
21680 if test x$gcc_no_link = xyes; then
21681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21683 { (exit 1); exit 1; }; }
21685 cat >conftest.$ac_ext <<_ACEOF
21686 /* confdefs.h. */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21693 #define $ac_func innocuous_$ac_func
21695 /* System header to define __stub macros and hopefully few prototypes,
21696 which can conflict with char $ac_func (); below.
21697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21698 <limits.h> exists even on freestanding compilers. */
21700 #ifdef __STDC__
21701 # include <limits.h>
21702 #else
21703 # include <assert.h>
21704 #endif
21706 #undef $ac_func
21708 /* Override any gcc2 internal prototype to avoid an error. */
21709 #ifdef __cplusplus
21710 extern "C"
21712 #endif
21713 /* We use char because int might match the return type of a gcc2
21714 builtin and then its argument prototype would still apply. */
21715 char $ac_func ();
21716 /* The GNU C library defines this for functions which it implements
21717 to always fail with ENOSYS. Some functions are actually named
21718 something starting with __ and the normal name is an alias. */
21719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21720 choke me
21721 #else
21722 char (*f) () = $ac_func;
21723 #endif
21724 #ifdef __cplusplus
21726 #endif
21729 main ()
21731 return f != $ac_func;
21733 return 0;
21735 _ACEOF
21736 rm -f conftest.$ac_objext conftest$ac_exeext
21737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21738 (eval $ac_link) 2>conftest.er1
21739 ac_status=$?
21740 grep -v '^ *+' conftest.er1 >conftest.err
21741 rm -f conftest.er1
21742 cat conftest.err >&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try='test -z "$ac_c_werror_flag"
21746 || test ! -s conftest.err'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21749 ac_status=$?
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; } &&
21752 { ac_try='test -s conftest$ac_exeext'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21755 ac_status=$?
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 eval "$as_ac_var=yes"
21759 else
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21763 eval "$as_ac_var=no"
21765 rm -f conftest.err conftest.$ac_objext \
21766 conftest$ac_exeext conftest.$ac_ext
21768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21770 if test `eval echo '${'$as_ac_var'}'` = yes; then
21771 cat >>confdefs.h <<_ACEOF
21772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21773 _ACEOF
21776 done
21786 echo "$as_me:$LINENO: checking for float trig functions" >&5
21787 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21788 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 else
21794 ac_ext=cc
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 #include <math.h>
21808 main ()
21810 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21812 return 0;
21814 _ACEOF
21815 rm -f conftest.$ac_objext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21817 (eval $ac_compile) 2>conftest.er1
21818 ac_status=$?
21819 grep -v '^ *+' conftest.er1 >conftest.err
21820 rm -f conftest.er1
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try='test -z "$ac_cxx_werror_flag"
21825 || test ! -s conftest.err'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try='test -s conftest.$ac_objext'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21834 ac_status=$?
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; }; then
21837 glibcxx_cv_func_float_trig_use=yes
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21842 glibcxx_cv_func_float_trig_use=no
21844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21845 ac_ext=c
21846 ac_cpp='$CPP $CPPFLAGS'
21847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21854 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21855 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21865 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21868 echo "$as_me:$LINENO: checking for $ac_func" >&5
21869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21870 if eval "test \"\${$as_ac_var+set}\" = set"; then
21871 echo $ECHO_N "(cached) $ECHO_C" >&6
21872 else
21873 if test x$gcc_no_link = xyes; then
21874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21876 { (exit 1); exit 1; }; }
21878 cat >conftest.$ac_ext <<_ACEOF
21879 /* confdefs.h. */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21886 #define $ac_func innocuous_$ac_func
21888 /* System header to define __stub macros and hopefully few prototypes,
21889 which can conflict with char $ac_func (); below.
21890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21891 <limits.h> exists even on freestanding compilers. */
21893 #ifdef __STDC__
21894 # include <limits.h>
21895 #else
21896 # include <assert.h>
21897 #endif
21899 #undef $ac_func
21901 /* Override any gcc2 internal prototype to avoid an error. */
21902 #ifdef __cplusplus
21903 extern "C"
21905 #endif
21906 /* We use char because int might match the return type of a gcc2
21907 builtin and then its argument prototype would still apply. */
21908 char $ac_func ();
21909 /* The GNU C library defines this for functions which it implements
21910 to always fail with ENOSYS. Some functions are actually named
21911 something starting with __ and the normal name is an alias. */
21912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21913 choke me
21914 #else
21915 char (*f) () = $ac_func;
21916 #endif
21917 #ifdef __cplusplus
21919 #endif
21922 main ()
21924 return f != $ac_func;
21926 return 0;
21928 _ACEOF
21929 rm -f conftest.$ac_objext conftest$ac_exeext
21930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21931 (eval $ac_link) 2>conftest.er1
21932 ac_status=$?
21933 grep -v '^ *+' conftest.er1 >conftest.err
21934 rm -f conftest.er1
21935 cat conftest.err >&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); } &&
21938 { ac_try='test -z "$ac_c_werror_flag"
21939 || test ! -s conftest.err'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21942 ac_status=$?
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; } &&
21945 { ac_try='test -s conftest$ac_exeext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 eval "$as_ac_var=yes"
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21956 eval "$as_ac_var=no"
21958 rm -f conftest.err conftest.$ac_objext \
21959 conftest$ac_exeext conftest.$ac_ext
21961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21963 if test `eval echo '${'$as_ac_var'}'` = yes; then
21964 cat >>confdefs.h <<_ACEOF
21965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21966 _ACEOF
21969 done
21971 else
21972 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21973 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21974 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 else
21980 ac_ext=cc
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 #include <math.h>
21994 main ()
21996 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21998 return 0;
22000 _ACEOF
22001 rm -f conftest.$ac_objext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22003 (eval $ac_compile) 2>conftest.er1
22004 ac_status=$?
22005 grep -v '^ *+' conftest.er1 >conftest.err
22006 rm -f conftest.er1
22007 cat conftest.err >&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try='test -z "$ac_cxx_werror_flag"
22011 || test ! -s conftest.err'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; } &&
22017 { ac_try='test -s conftest.$ac_objext'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 glibcxx_cv_func__float_trig_use=yes
22024 else
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.$ac_ext >&5
22028 glibcxx_cv_func__float_trig_use=no
22030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22031 ac_ext=c
22032 ac_cpp='$CPP $CPPFLAGS'
22033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22040 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22041 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22051 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22054 echo "$as_me:$LINENO: checking for $ac_func" >&5
22055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22056 if eval "test \"\${$as_ac_var+set}\" = set"; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059 if test x$gcc_no_link = xyes; then
22060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22062 { (exit 1); exit 1; }; }
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22072 #define $ac_func innocuous_$ac_func
22074 /* System header to define __stub macros and hopefully few prototypes,
22075 which can conflict with char $ac_func (); below.
22076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22077 <limits.h> exists even on freestanding compilers. */
22079 #ifdef __STDC__
22080 # include <limits.h>
22081 #else
22082 # include <assert.h>
22083 #endif
22085 #undef $ac_func
22087 /* Override any gcc2 internal prototype to avoid an error. */
22088 #ifdef __cplusplus
22089 extern "C"
22091 #endif
22092 /* We use char because int might match the return type of a gcc2
22093 builtin and then its argument prototype would still apply. */
22094 char $ac_func ();
22095 /* The GNU C library defines this for functions which it implements
22096 to always fail with ENOSYS. Some functions are actually named
22097 something starting with __ and the normal name is an alias. */
22098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22099 choke me
22100 #else
22101 char (*f) () = $ac_func;
22102 #endif
22103 #ifdef __cplusplus
22105 #endif
22108 main ()
22110 return f != $ac_func;
22112 return 0;
22114 _ACEOF
22115 rm -f conftest.$ac_objext conftest$ac_exeext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117 (eval $ac_link) 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -z "$ac_c_werror_flag"
22125 || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try='test -s conftest$ac_exeext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 eval "$as_ac_var=yes"
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22142 eval "$as_ac_var=no"
22144 rm -f conftest.err conftest.$ac_objext \
22145 conftest$ac_exeext conftest.$ac_ext
22147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22149 if test `eval echo '${'$as_ac_var'}'` = yes; then
22150 cat >>confdefs.h <<_ACEOF
22151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22152 _ACEOF
22155 done
22173 echo "$as_me:$LINENO: checking for float round functions" >&5
22174 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22175 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22176 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 else
22181 ac_ext=cc
22182 ac_cpp='$CXXCPP $CPPFLAGS'
22183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22187 cat >conftest.$ac_ext <<_ACEOF
22188 /* confdefs.h. */
22189 _ACEOF
22190 cat confdefs.h >>conftest.$ac_ext
22191 cat >>conftest.$ac_ext <<_ACEOF
22192 /* end confdefs.h. */
22193 #include <math.h>
22195 main ()
22197 ceilf (0); floorf (0);
22199 return 0;
22201 _ACEOF
22202 rm -f conftest.$ac_objext
22203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22204 (eval $ac_compile) 2>conftest.er1
22205 ac_status=$?
22206 grep -v '^ *+' conftest.er1 >conftest.err
22207 rm -f conftest.er1
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } &&
22211 { ac_try='test -z "$ac_cxx_werror_flag"
22212 || test ! -s conftest.err'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; } &&
22218 { ac_try='test -s conftest.$ac_objext'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22221 ac_status=$?
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; }; then
22224 glibcxx_cv_func_float_round_use=yes
22225 else
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22229 glibcxx_cv_func_float_round_use=no
22231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22232 ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22241 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22242 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22245 for ac_func in ceilf floorf
22247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22248 echo "$as_me:$LINENO: checking for $ac_func" >&5
22249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_var+set}\" = set"; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22252 else
22253 if test x$gcc_no_link = xyes; then
22254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22256 { (exit 1); exit 1; }; }
22258 cat >conftest.$ac_ext <<_ACEOF
22259 /* confdefs.h. */
22260 _ACEOF
22261 cat confdefs.h >>conftest.$ac_ext
22262 cat >>conftest.$ac_ext <<_ACEOF
22263 /* end confdefs.h. */
22264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22266 #define $ac_func innocuous_$ac_func
22268 /* System header to define __stub macros and hopefully few prototypes,
22269 which can conflict with char $ac_func (); below.
22270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22271 <limits.h> exists even on freestanding compilers. */
22273 #ifdef __STDC__
22274 # include <limits.h>
22275 #else
22276 # include <assert.h>
22277 #endif
22279 #undef $ac_func
22281 /* Override any gcc2 internal prototype to avoid an error. */
22282 #ifdef __cplusplus
22283 extern "C"
22285 #endif
22286 /* We use char because int might match the return type of a gcc2
22287 builtin and then its argument prototype would still apply. */
22288 char $ac_func ();
22289 /* The GNU C library defines this for functions which it implements
22290 to always fail with ENOSYS. Some functions are actually named
22291 something starting with __ and the normal name is an alias. */
22292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22293 choke me
22294 #else
22295 char (*f) () = $ac_func;
22296 #endif
22297 #ifdef __cplusplus
22299 #endif
22302 main ()
22304 return f != $ac_func;
22306 return 0;
22308 _ACEOF
22309 rm -f conftest.$ac_objext conftest$ac_exeext
22310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22311 (eval $ac_link) 2>conftest.er1
22312 ac_status=$?
22313 grep -v '^ *+' conftest.er1 >conftest.err
22314 rm -f conftest.er1
22315 cat conftest.err >&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } &&
22318 { ac_try='test -z "$ac_c_werror_flag"
22319 || test ! -s conftest.err'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; } &&
22325 { ac_try='test -s conftest$ac_exeext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22328 ac_status=$?
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 eval "$as_ac_var=yes"
22332 else
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22336 eval "$as_ac_var=no"
22338 rm -f conftest.err conftest.$ac_objext \
22339 conftest$ac_exeext conftest.$ac_ext
22341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22343 if test `eval echo '${'$as_ac_var'}'` = yes; then
22344 cat >>confdefs.h <<_ACEOF
22345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22346 _ACEOF
22349 done
22351 else
22352 echo "$as_me:$LINENO: checking for _float round functions" >&5
22353 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22354 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22356 else
22360 ac_ext=cc
22361 ac_cpp='$CXXCPP $CPPFLAGS'
22362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22366 cat >conftest.$ac_ext <<_ACEOF
22367 /* confdefs.h. */
22368 _ACEOF
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 #include <math.h>
22374 main ()
22376 _ceilf (0); _floorf (0);
22378 return 0;
22380 _ACEOF
22381 rm -f conftest.$ac_objext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22383 (eval $ac_compile) 2>conftest.er1
22384 ac_status=$?
22385 grep -v '^ *+' conftest.er1 >conftest.err
22386 rm -f conftest.er1
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } &&
22390 { ac_try='test -z "$ac_cxx_werror_flag"
22391 || test ! -s conftest.err'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; } &&
22397 { ac_try='test -s conftest.$ac_objext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 glibcxx_cv_func__float_round_use=yes
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22408 glibcxx_cv_func__float_round_use=no
22410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22411 ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22419 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22420 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22421 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22424 for ac_func in _ceilf _floorf
22426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22427 echo "$as_me:$LINENO: checking for $ac_func" >&5
22428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22429 if eval "test \"\${$as_ac_var+set}\" = set"; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 else
22432 if test x$gcc_no_link = xyes; then
22433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22435 { (exit 1); exit 1; }; }
22437 cat >conftest.$ac_ext <<_ACEOF
22438 /* confdefs.h. */
22439 _ACEOF
22440 cat confdefs.h >>conftest.$ac_ext
22441 cat >>conftest.$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22445 #define $ac_func innocuous_$ac_func
22447 /* System header to define __stub macros and hopefully few prototypes,
22448 which can conflict with char $ac_func (); below.
22449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22450 <limits.h> exists even on freestanding compilers. */
22452 #ifdef __STDC__
22453 # include <limits.h>
22454 #else
22455 # include <assert.h>
22456 #endif
22458 #undef $ac_func
22460 /* Override any gcc2 internal prototype to avoid an error. */
22461 #ifdef __cplusplus
22462 extern "C"
22464 #endif
22465 /* We use char because int might match the return type of a gcc2
22466 builtin and then its argument prototype would still apply. */
22467 char $ac_func ();
22468 /* The GNU C library defines this for functions which it implements
22469 to always fail with ENOSYS. Some functions are actually named
22470 something starting with __ and the normal name is an alias. */
22471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22472 choke me
22473 #else
22474 char (*f) () = $ac_func;
22475 #endif
22476 #ifdef __cplusplus
22478 #endif
22481 main ()
22483 return f != $ac_func;
22485 return 0;
22487 _ACEOF
22488 rm -f conftest.$ac_objext conftest$ac_exeext
22489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22490 (eval $ac_link) 2>conftest.er1
22491 ac_status=$?
22492 grep -v '^ *+' conftest.er1 >conftest.err
22493 rm -f conftest.er1
22494 cat conftest.err >&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); } &&
22497 { ac_try='test -z "$ac_c_werror_flag"
22498 || test ! -s conftest.err'
22499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22500 (eval $ac_try) 2>&5
22501 ac_status=$?
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); }; } &&
22504 { ac_try='test -s conftest$ac_exeext'
22505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22506 (eval $ac_try) 2>&5
22507 ac_status=$?
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); }; }; then
22510 eval "$as_ac_var=yes"
22511 else
22512 echo "$as_me: failed program was:" >&5
22513 sed 's/^/| /' conftest.$ac_ext >&5
22515 eval "$as_ac_var=no"
22517 rm -f conftest.err conftest.$ac_objext \
22518 conftest$ac_exeext conftest.$ac_ext
22520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22522 if test `eval echo '${'$as_ac_var'}'` = yes; then
22523 cat >>confdefs.h <<_ACEOF
22524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22525 _ACEOF
22528 done
22540 echo "$as_me:$LINENO: checking for expf declaration" >&5
22541 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22542 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22543 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 else
22549 ac_ext=cc
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22555 cat >conftest.$ac_ext <<_ACEOF
22556 /* confdefs.h. */
22557 _ACEOF
22558 cat confdefs.h >>conftest.$ac_ext
22559 cat >>conftest.$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22561 #include <math.h>
22562 #ifdef HAVE_IEEEFP_H
22563 #include <ieeefp.h>
22564 #endif
22567 main ()
22569 expf(0);
22571 return 0;
22573 _ACEOF
22574 rm -f conftest.$ac_objext
22575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22576 (eval $ac_compile) 2>conftest.er1
22577 ac_status=$?
22578 grep -v '^ *+' conftest.er1 >conftest.err
22579 rm -f conftest.er1
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try='test -z "$ac_cxx_werror_flag"
22584 || test ! -s conftest.err'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; } &&
22590 { ac_try='test -s conftest.$ac_objext'
22591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592 (eval $ac_try) 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 glibcxx_cv_func_expf_use=yes
22597 else
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22601 glibcxx_cv_func_expf_use=no
22603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22604 ac_ext=c
22605 ac_cpp='$CPP $CPPFLAGS'
22606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22615 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22617 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22619 for ac_func in expf
22621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22622 echo "$as_me:$LINENO: checking for $ac_func" >&5
22623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22624 if eval "test \"\${$as_ac_var+set}\" = set"; then
22625 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 else
22627 if test x$gcc_no_link = xyes; then
22628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22630 { (exit 1); exit 1; }; }
22632 cat >conftest.$ac_ext <<_ACEOF
22633 /* confdefs.h. */
22634 _ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22640 #define $ac_func innocuous_$ac_func
22642 /* System header to define __stub macros and hopefully few prototypes,
22643 which can conflict with char $ac_func (); below.
22644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22645 <limits.h> exists even on freestanding compilers. */
22647 #ifdef __STDC__
22648 # include <limits.h>
22649 #else
22650 # include <assert.h>
22651 #endif
22653 #undef $ac_func
22655 /* Override any gcc2 internal prototype to avoid an error. */
22656 #ifdef __cplusplus
22657 extern "C"
22659 #endif
22660 /* We use char because int might match the return type of a gcc2
22661 builtin and then its argument prototype would still apply. */
22662 char $ac_func ();
22663 /* The GNU C library defines this for functions which it implements
22664 to always fail with ENOSYS. Some functions are actually named
22665 something starting with __ and the normal name is an alias. */
22666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22667 choke me
22668 #else
22669 char (*f) () = $ac_func;
22670 #endif
22671 #ifdef __cplusplus
22673 #endif
22676 main ()
22678 return f != $ac_func;
22680 return 0;
22682 _ACEOF
22683 rm -f conftest.$ac_objext conftest$ac_exeext
22684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22685 (eval $ac_link) 2>conftest.er1
22686 ac_status=$?
22687 grep -v '^ *+' conftest.er1 >conftest.err
22688 rm -f conftest.er1
22689 cat conftest.err >&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } &&
22692 { ac_try='test -z "$ac_c_werror_flag"
22693 || test ! -s conftest.err'
22694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22695 (eval $ac_try) 2>&5
22696 ac_status=$?
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; } &&
22699 { ac_try='test -s conftest$ac_exeext'
22700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22701 (eval $ac_try) 2>&5
22702 ac_status=$?
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); }; }; then
22705 eval "$as_ac_var=yes"
22706 else
22707 echo "$as_me: failed program was:" >&5
22708 sed 's/^/| /' conftest.$ac_ext >&5
22710 eval "$as_ac_var=no"
22712 rm -f conftest.err conftest.$ac_objext \
22713 conftest$ac_exeext conftest.$ac_ext
22715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22717 if test `eval echo '${'$as_ac_var'}'` = yes; then
22718 cat >>confdefs.h <<_ACEOF
22719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22720 _ACEOF
22723 done
22725 else
22727 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22728 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22729 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22730 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22731 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 else
22736 ac_ext=cc
22737 ac_cpp='$CXXCPP $CPPFLAGS'
22738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22742 cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h. */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 #include <math.h>
22749 #ifdef HAVE_IEEEFP_H
22750 #include <ieeefp.h>
22751 #endif
22754 main ()
22756 _expf(0);
22758 return 0;
22760 _ACEOF
22761 rm -f conftest.$ac_objext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22763 (eval $ac_compile) 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } &&
22770 { ac_try='test -z "$ac_cxx_werror_flag"
22771 || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 glibcxx_cv_func__expf_use=yes
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22788 glibcxx_cv_func__expf_use=no
22790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22791 ac_ext=c
22792 ac_cpp='$CPP $CPPFLAGS'
22793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22802 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22804 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22806 for ac_func in _expf
22808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22809 echo "$as_me:$LINENO: checking for $ac_func" >&5
22810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22811 if eval "test \"\${$as_ac_var+set}\" = set"; then
22812 echo $ECHO_N "(cached) $ECHO_C" >&6
22813 else
22814 if test x$gcc_no_link = xyes; then
22815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22817 { (exit 1); exit 1; }; }
22819 cat >conftest.$ac_ext <<_ACEOF
22820 /* confdefs.h. */
22821 _ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22827 #define $ac_func innocuous_$ac_func
22829 /* System header to define __stub macros and hopefully few prototypes,
22830 which can conflict with char $ac_func (); below.
22831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22832 <limits.h> exists even on freestanding compilers. */
22834 #ifdef __STDC__
22835 # include <limits.h>
22836 #else
22837 # include <assert.h>
22838 #endif
22840 #undef $ac_func
22842 /* Override any gcc2 internal prototype to avoid an error. */
22843 #ifdef __cplusplus
22844 extern "C"
22846 #endif
22847 /* We use char because int might match the return type of a gcc2
22848 builtin and then its argument prototype would still apply. */
22849 char $ac_func ();
22850 /* The GNU C library defines this for functions which it implements
22851 to always fail with ENOSYS. Some functions are actually named
22852 something starting with __ and the normal name is an alias. */
22853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22854 choke me
22855 #else
22856 char (*f) () = $ac_func;
22857 #endif
22858 #ifdef __cplusplus
22860 #endif
22863 main ()
22865 return f != $ac_func;
22867 return 0;
22869 _ACEOF
22870 rm -f conftest.$ac_objext conftest$ac_exeext
22871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22872 (eval $ac_link) 2>conftest.er1
22873 ac_status=$?
22874 grep -v '^ *+' conftest.er1 >conftest.err
22875 rm -f conftest.er1
22876 cat conftest.err >&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } &&
22879 { ac_try='test -z "$ac_c_werror_flag"
22880 || test ! -s conftest.err'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22883 ac_status=$?
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; } &&
22886 { ac_try='test -s conftest$ac_exeext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 eval "$as_ac_var=yes"
22893 else
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22897 eval "$as_ac_var=no"
22899 rm -f conftest.err conftest.$ac_objext \
22900 conftest$ac_exeext conftest.$ac_ext
22902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22904 if test `eval echo '${'$as_ac_var'}'` = yes; then
22905 cat >>confdefs.h <<_ACEOF
22906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22907 _ACEOF
22910 done
22920 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22921 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22922 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22923 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22924 echo $ECHO_N "(cached) $ECHO_C" >&6
22925 else
22929 ac_ext=cc
22930 ac_cpp='$CXXCPP $CPPFLAGS'
22931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22935 cat >conftest.$ac_ext <<_ACEOF
22936 /* confdefs.h. */
22937 _ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22941 #include <math.h>
22942 #ifdef HAVE_IEEEFP_H
22943 #include <ieeefp.h>
22944 #endif
22947 main ()
22949 isnanf(0);
22951 return 0;
22953 _ACEOF
22954 rm -f conftest.$ac_objext
22955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22956 (eval $ac_compile) 2>conftest.er1
22957 ac_status=$?
22958 grep -v '^ *+' conftest.er1 >conftest.err
22959 rm -f conftest.er1
22960 cat conftest.err >&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } &&
22963 { ac_try='test -z "$ac_cxx_werror_flag"
22964 || test ! -s conftest.err'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22967 ac_status=$?
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; } &&
22970 { ac_try='test -s conftest.$ac_objext'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22973 ac_status=$?
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; }; then
22976 glibcxx_cv_func_isnanf_use=yes
22977 else
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.$ac_ext >&5
22981 glibcxx_cv_func_isnanf_use=no
22983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22995 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22997 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22999 for ac_func in isnanf
23001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23002 echo "$as_me:$LINENO: checking for $ac_func" >&5
23003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23004 if eval "test \"\${$as_ac_var+set}\" = set"; then
23005 echo $ECHO_N "(cached) $ECHO_C" >&6
23006 else
23007 if test x$gcc_no_link = xyes; then
23008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23010 { (exit 1); exit 1; }; }
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23020 #define $ac_func innocuous_$ac_func
23022 /* System header to define __stub macros and hopefully few prototypes,
23023 which can conflict with char $ac_func (); below.
23024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23025 <limits.h> exists even on freestanding compilers. */
23027 #ifdef __STDC__
23028 # include <limits.h>
23029 #else
23030 # include <assert.h>
23031 #endif
23033 #undef $ac_func
23035 /* Override any gcc2 internal prototype to avoid an error. */
23036 #ifdef __cplusplus
23037 extern "C"
23039 #endif
23040 /* We use char because int might match the return type of a gcc2
23041 builtin and then its argument prototype would still apply. */
23042 char $ac_func ();
23043 /* The GNU C library defines this for functions which it implements
23044 to always fail with ENOSYS. Some functions are actually named
23045 something starting with __ and the normal name is an alias. */
23046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23047 choke me
23048 #else
23049 char (*f) () = $ac_func;
23050 #endif
23051 #ifdef __cplusplus
23053 #endif
23056 main ()
23058 return f != $ac_func;
23060 return 0;
23062 _ACEOF
23063 rm -f conftest.$ac_objext conftest$ac_exeext
23064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23065 (eval $ac_link) 2>conftest.er1
23066 ac_status=$?
23067 grep -v '^ *+' conftest.er1 >conftest.err
23068 rm -f conftest.er1
23069 cat conftest.err >&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); } &&
23072 { ac_try='test -z "$ac_c_werror_flag"
23073 || test ! -s conftest.err'
23074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075 (eval $ac_try) 2>&5
23076 ac_status=$?
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); }; } &&
23079 { ac_try='test -s conftest$ac_exeext'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; }; then
23085 eval "$as_ac_var=yes"
23086 else
23087 echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.$ac_ext >&5
23090 eval "$as_ac_var=no"
23092 rm -f conftest.err conftest.$ac_objext \
23093 conftest$ac_exeext conftest.$ac_ext
23095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23097 if test `eval echo '${'$as_ac_var'}'` = yes; then
23098 cat >>confdefs.h <<_ACEOF
23099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23100 _ACEOF
23103 done
23105 else
23107 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23108 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23109 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23110 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23112 else
23116 ac_ext=cc
23117 ac_cpp='$CXXCPP $CPPFLAGS'
23118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23122 cat >conftest.$ac_ext <<_ACEOF
23123 /* confdefs.h. */
23124 _ACEOF
23125 cat confdefs.h >>conftest.$ac_ext
23126 cat >>conftest.$ac_ext <<_ACEOF
23127 /* end confdefs.h. */
23128 #include <math.h>
23129 #ifdef HAVE_IEEEFP_H
23130 #include <ieeefp.h>
23131 #endif
23134 main ()
23136 _isnanf(0);
23138 return 0;
23140 _ACEOF
23141 rm -f conftest.$ac_objext
23142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23143 (eval $ac_compile) 2>conftest.er1
23144 ac_status=$?
23145 grep -v '^ *+' conftest.er1 >conftest.err
23146 rm -f conftest.er1
23147 cat conftest.err >&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); } &&
23150 { ac_try='test -z "$ac_cxx_werror_flag"
23151 || test ! -s conftest.err'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; } &&
23157 { ac_try='test -s conftest.$ac_objext'
23158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159 (eval $ac_try) 2>&5
23160 ac_status=$?
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; }; then
23163 glibcxx_cv_func__isnanf_use=yes
23164 else
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23168 glibcxx_cv_func__isnanf_use=no
23170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23171 ac_ext=c
23172 ac_cpp='$CPP $CPPFLAGS'
23173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23182 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23184 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23186 for ac_func in _isnanf
23188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23189 echo "$as_me:$LINENO: checking for $ac_func" >&5
23190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23191 if eval "test \"\${$as_ac_var+set}\" = set"; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 else
23194 if test x$gcc_no_link = xyes; then
23195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23197 { (exit 1); exit 1; }; }
23199 cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h. */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23207 #define $ac_func innocuous_$ac_func
23209 /* System header to define __stub macros and hopefully few prototypes,
23210 which can conflict with char $ac_func (); below.
23211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23212 <limits.h> exists even on freestanding compilers. */
23214 #ifdef __STDC__
23215 # include <limits.h>
23216 #else
23217 # include <assert.h>
23218 #endif
23220 #undef $ac_func
23222 /* Override any gcc2 internal prototype to avoid an error. */
23223 #ifdef __cplusplus
23224 extern "C"
23226 #endif
23227 /* We use char because int might match the return type of a gcc2
23228 builtin and then its argument prototype would still apply. */
23229 char $ac_func ();
23230 /* The GNU C library defines this for functions which it implements
23231 to always fail with ENOSYS. Some functions are actually named
23232 something starting with __ and the normal name is an alias. */
23233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23234 choke me
23235 #else
23236 char (*f) () = $ac_func;
23237 #endif
23238 #ifdef __cplusplus
23240 #endif
23243 main ()
23245 return f != $ac_func;
23247 return 0;
23249 _ACEOF
23250 rm -f conftest.$ac_objext conftest$ac_exeext
23251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23252 (eval $ac_link) 2>conftest.er1
23253 ac_status=$?
23254 grep -v '^ *+' conftest.er1 >conftest.err
23255 rm -f conftest.er1
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } &&
23259 { ac_try='test -z "$ac_c_werror_flag"
23260 || test ! -s conftest.err'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23263 ac_status=$?
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; } &&
23266 { ac_try='test -s conftest$ac_exeext'
23267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268 (eval $ac_try) 2>&5
23269 ac_status=$?
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }; }; then
23272 eval "$as_ac_var=yes"
23273 else
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23277 eval "$as_ac_var=no"
23279 rm -f conftest.err conftest.$ac_objext \
23280 conftest$ac_exeext conftest.$ac_ext
23282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23284 if test `eval echo '${'$as_ac_var'}'` = yes; then
23285 cat >>confdefs.h <<_ACEOF
23286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23287 _ACEOF
23290 done
23300 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23301 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23302 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23303 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23305 else
23309 ac_ext=cc
23310 ac_cpp='$CXXCPP $CPPFLAGS'
23311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h. */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23321 #include <math.h>
23322 #ifdef HAVE_IEEEFP_H
23323 #include <ieeefp.h>
23324 #endif
23327 main ()
23329 isinff(0);
23331 return 0;
23333 _ACEOF
23334 rm -f conftest.$ac_objext
23335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23336 (eval $ac_compile) 2>conftest.er1
23337 ac_status=$?
23338 grep -v '^ *+' conftest.er1 >conftest.err
23339 rm -f conftest.er1
23340 cat conftest.err >&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); } &&
23343 { ac_try='test -z "$ac_cxx_werror_flag"
23344 || test ! -s conftest.err'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; } &&
23350 { ac_try='test -s conftest.$ac_objext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 glibcxx_cv_func_isinff_use=yes
23357 else
23358 echo "$as_me: failed program was:" >&5
23359 sed 's/^/| /' conftest.$ac_ext >&5
23361 glibcxx_cv_func_isinff_use=no
23363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23364 ac_ext=c
23365 ac_cpp='$CPP $CPPFLAGS'
23366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23375 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23377 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23379 for ac_func in isinff
23381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23382 echo "$as_me:$LINENO: checking for $ac_func" >&5
23383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23384 if eval "test \"\${$as_ac_var+set}\" = set"; then
23385 echo $ECHO_N "(cached) $ECHO_C" >&6
23386 else
23387 if test x$gcc_no_link = xyes; then
23388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23390 { (exit 1); exit 1; }; }
23392 cat >conftest.$ac_ext <<_ACEOF
23393 /* confdefs.h. */
23394 _ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23400 #define $ac_func innocuous_$ac_func
23402 /* System header to define __stub macros and hopefully few prototypes,
23403 which can conflict with char $ac_func (); below.
23404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23405 <limits.h> exists even on freestanding compilers. */
23407 #ifdef __STDC__
23408 # include <limits.h>
23409 #else
23410 # include <assert.h>
23411 #endif
23413 #undef $ac_func
23415 /* Override any gcc2 internal prototype to avoid an error. */
23416 #ifdef __cplusplus
23417 extern "C"
23419 #endif
23420 /* We use char because int might match the return type of a gcc2
23421 builtin and then its argument prototype would still apply. */
23422 char $ac_func ();
23423 /* The GNU C library defines this for functions which it implements
23424 to always fail with ENOSYS. Some functions are actually named
23425 something starting with __ and the normal name is an alias. */
23426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23427 choke me
23428 #else
23429 char (*f) () = $ac_func;
23430 #endif
23431 #ifdef __cplusplus
23433 #endif
23436 main ()
23438 return f != $ac_func;
23440 return 0;
23442 _ACEOF
23443 rm -f conftest.$ac_objext conftest$ac_exeext
23444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23445 (eval $ac_link) 2>conftest.er1
23446 ac_status=$?
23447 grep -v '^ *+' conftest.er1 >conftest.err
23448 rm -f conftest.er1
23449 cat conftest.err >&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } &&
23452 { ac_try='test -z "$ac_c_werror_flag"
23453 || test ! -s conftest.err'
23454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23455 (eval $ac_try) 2>&5
23456 ac_status=$?
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; } &&
23459 { ac_try='test -s conftest$ac_exeext'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; }; then
23465 eval "$as_ac_var=yes"
23466 else
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.$ac_ext >&5
23470 eval "$as_ac_var=no"
23472 rm -f conftest.err conftest.$ac_objext \
23473 conftest$ac_exeext conftest.$ac_ext
23475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23477 if test `eval echo '${'$as_ac_var'}'` = yes; then
23478 cat >>confdefs.h <<_ACEOF
23479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23480 _ACEOF
23483 done
23485 else
23487 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23488 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23489 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23490 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23491 echo $ECHO_N "(cached) $ECHO_C" >&6
23492 else
23496 ac_ext=cc
23497 ac_cpp='$CXXCPP $CPPFLAGS'
23498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23502 cat >conftest.$ac_ext <<_ACEOF
23503 /* confdefs.h. */
23504 _ACEOF
23505 cat confdefs.h >>conftest.$ac_ext
23506 cat >>conftest.$ac_ext <<_ACEOF
23507 /* end confdefs.h. */
23508 #include <math.h>
23509 #ifdef HAVE_IEEEFP_H
23510 #include <ieeefp.h>
23511 #endif
23514 main ()
23516 _isinff(0);
23518 return 0;
23520 _ACEOF
23521 rm -f conftest.$ac_objext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23523 (eval $ac_compile) 2>conftest.er1
23524 ac_status=$?
23525 grep -v '^ *+' conftest.er1 >conftest.err
23526 rm -f conftest.er1
23527 cat conftest.err >&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } &&
23530 { ac_try='test -z "$ac_cxx_werror_flag"
23531 || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try='test -s conftest.$ac_objext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23540 ac_status=$?
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 glibcxx_cv_func__isinff_use=yes
23544 else
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.$ac_ext >&5
23548 glibcxx_cv_func__isinff_use=no
23550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23551 ac_ext=c
23552 ac_cpp='$CPP $CPPFLAGS'
23553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23562 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23564 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23566 for ac_func in _isinff
23568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23569 echo "$as_me:$LINENO: checking for $ac_func" >&5
23570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23571 if eval "test \"\${$as_ac_var+set}\" = set"; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 else
23574 if test x$gcc_no_link = xyes; then
23575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23577 { (exit 1); exit 1; }; }
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h. */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23587 #define $ac_func innocuous_$ac_func
23589 /* System header to define __stub macros and hopefully few prototypes,
23590 which can conflict with char $ac_func (); below.
23591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23592 <limits.h> exists even on freestanding compilers. */
23594 #ifdef __STDC__
23595 # include <limits.h>
23596 #else
23597 # include <assert.h>
23598 #endif
23600 #undef $ac_func
23602 /* Override any gcc2 internal prototype to avoid an error. */
23603 #ifdef __cplusplus
23604 extern "C"
23606 #endif
23607 /* We use char because int might match the return type of a gcc2
23608 builtin and then its argument prototype would still apply. */
23609 char $ac_func ();
23610 /* The GNU C library defines this for functions which it implements
23611 to always fail with ENOSYS. Some functions are actually named
23612 something starting with __ and the normal name is an alias. */
23613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23614 choke me
23615 #else
23616 char (*f) () = $ac_func;
23617 #endif
23618 #ifdef __cplusplus
23620 #endif
23623 main ()
23625 return f != $ac_func;
23627 return 0;
23629 _ACEOF
23630 rm -f conftest.$ac_objext conftest$ac_exeext
23631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23632 (eval $ac_link) 2>conftest.er1
23633 ac_status=$?
23634 grep -v '^ *+' conftest.er1 >conftest.err
23635 rm -f conftest.er1
23636 cat conftest.err >&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } &&
23639 { ac_try='test -z "$ac_c_werror_flag"
23640 || test ! -s conftest.err'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23643 ac_status=$?
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; } &&
23646 { ac_try='test -s conftest$ac_exeext'
23647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648 (eval $ac_try) 2>&5
23649 ac_status=$?
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; }; then
23652 eval "$as_ac_var=yes"
23653 else
23654 echo "$as_me: failed program was:" >&5
23655 sed 's/^/| /' conftest.$ac_ext >&5
23657 eval "$as_ac_var=no"
23659 rm -f conftest.err conftest.$ac_objext \
23660 conftest$ac_exeext conftest.$ac_ext
23662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23664 if test `eval echo '${'$as_ac_var'}'` = yes; then
23665 cat >>confdefs.h <<_ACEOF
23666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23667 _ACEOF
23670 done
23680 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23681 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23682 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23683 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23689 ac_ext=cc
23690 ac_cpp='$CXXCPP $CPPFLAGS'
23691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23695 cat >conftest.$ac_ext <<_ACEOF
23696 /* confdefs.h. */
23697 _ACEOF
23698 cat confdefs.h >>conftest.$ac_ext
23699 cat >>conftest.$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23701 #include <math.h>
23703 main ()
23705 atan2f(0, 0);
23707 return 0;
23709 _ACEOF
23710 rm -f conftest.$ac_objext
23711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23712 (eval $ac_compile) 2>conftest.er1
23713 ac_status=$?
23714 grep -v '^ *+' conftest.er1 >conftest.err
23715 rm -f conftest.er1
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } &&
23719 { ac_try='test -z "$ac_cxx_werror_flag"
23720 || test ! -s conftest.err'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23723 ac_status=$?
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; } &&
23726 { ac_try='test -s conftest.$ac_objext'
23727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728 (eval $ac_try) 2>&5
23729 ac_status=$?
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; }; then
23732 glibcxx_cv_func_atan2f_use=yes
23733 else
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.$ac_ext >&5
23737 glibcxx_cv_func_atan2f_use=no
23739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23751 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23753 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23755 for ac_func in atan2f
23757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23758 echo "$as_me:$LINENO: checking for $ac_func" >&5
23759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23760 if eval "test \"\${$as_ac_var+set}\" = set"; then
23761 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 else
23763 if test x$gcc_no_link = xyes; then
23764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23766 { (exit 1); exit 1; }; }
23768 cat >conftest.$ac_ext <<_ACEOF
23769 /* confdefs.h. */
23770 _ACEOF
23771 cat confdefs.h >>conftest.$ac_ext
23772 cat >>conftest.$ac_ext <<_ACEOF
23773 /* end confdefs.h. */
23774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23776 #define $ac_func innocuous_$ac_func
23778 /* System header to define __stub macros and hopefully few prototypes,
23779 which can conflict with char $ac_func (); below.
23780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23781 <limits.h> exists even on freestanding compilers. */
23783 #ifdef __STDC__
23784 # include <limits.h>
23785 #else
23786 # include <assert.h>
23787 #endif
23789 #undef $ac_func
23791 /* Override any gcc2 internal prototype to avoid an error. */
23792 #ifdef __cplusplus
23793 extern "C"
23795 #endif
23796 /* We use char because int might match the return type of a gcc2
23797 builtin and then its argument prototype would still apply. */
23798 char $ac_func ();
23799 /* The GNU C library defines this for functions which it implements
23800 to always fail with ENOSYS. Some functions are actually named
23801 something starting with __ and the normal name is an alias. */
23802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23803 choke me
23804 #else
23805 char (*f) () = $ac_func;
23806 #endif
23807 #ifdef __cplusplus
23809 #endif
23812 main ()
23814 return f != $ac_func;
23816 return 0;
23818 _ACEOF
23819 rm -f conftest.$ac_objext conftest$ac_exeext
23820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23821 (eval $ac_link) 2>conftest.er1
23822 ac_status=$?
23823 grep -v '^ *+' conftest.er1 >conftest.err
23824 rm -f conftest.er1
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } &&
23828 { ac_try='test -z "$ac_c_werror_flag"
23829 || test ! -s conftest.err'
23830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23831 (eval $ac_try) 2>&5
23832 ac_status=$?
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); }; } &&
23835 { ac_try='test -s conftest$ac_exeext'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; }; then
23841 eval "$as_ac_var=yes"
23842 else
23843 echo "$as_me: failed program was:" >&5
23844 sed 's/^/| /' conftest.$ac_ext >&5
23846 eval "$as_ac_var=no"
23848 rm -f conftest.err conftest.$ac_objext \
23849 conftest$ac_exeext conftest.$ac_ext
23851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23853 if test `eval echo '${'$as_ac_var'}'` = yes; then
23854 cat >>confdefs.h <<_ACEOF
23855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23856 _ACEOF
23859 done
23861 else
23863 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23864 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23865 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23866 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23867 echo $ECHO_N "(cached) $ECHO_C" >&6
23868 else
23872 ac_ext=cc
23873 ac_cpp='$CXXCPP $CPPFLAGS'
23874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23878 cat >conftest.$ac_ext <<_ACEOF
23879 /* confdefs.h. */
23880 _ACEOF
23881 cat confdefs.h >>conftest.$ac_ext
23882 cat >>conftest.$ac_ext <<_ACEOF
23883 /* end confdefs.h. */
23884 #include <math.h>
23886 main ()
23888 _atan2f(0, 0);
23890 return 0;
23892 _ACEOF
23893 rm -f conftest.$ac_objext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23895 (eval $ac_compile) 2>conftest.er1
23896 ac_status=$?
23897 grep -v '^ *+' conftest.er1 >conftest.err
23898 rm -f conftest.er1
23899 cat conftest.err >&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -z "$ac_cxx_werror_flag"
23903 || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 glibcxx_cv_func__atan2f_use=yes
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23920 glibcxx_cv_func__atan2f_use=no
23922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23923 ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23933 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23934 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23936 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23938 for ac_func in _atan2f
23940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23941 echo "$as_me:$LINENO: checking for $ac_func" >&5
23942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23943 if eval "test \"\${$as_ac_var+set}\" = set"; then
23944 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 else
23946 if test x$gcc_no_link = xyes; then
23947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23949 { (exit 1); exit 1; }; }
23951 cat >conftest.$ac_ext <<_ACEOF
23952 /* confdefs.h. */
23953 _ACEOF
23954 cat confdefs.h >>conftest.$ac_ext
23955 cat >>conftest.$ac_ext <<_ACEOF
23956 /* end confdefs.h. */
23957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23959 #define $ac_func innocuous_$ac_func
23961 /* System header to define __stub macros and hopefully few prototypes,
23962 which can conflict with char $ac_func (); below.
23963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23964 <limits.h> exists even on freestanding compilers. */
23966 #ifdef __STDC__
23967 # include <limits.h>
23968 #else
23969 # include <assert.h>
23970 #endif
23972 #undef $ac_func
23974 /* Override any gcc2 internal prototype to avoid an error. */
23975 #ifdef __cplusplus
23976 extern "C"
23978 #endif
23979 /* We use char because int might match the return type of a gcc2
23980 builtin and then its argument prototype would still apply. */
23981 char $ac_func ();
23982 /* The GNU C library defines this for functions which it implements
23983 to always fail with ENOSYS. Some functions are actually named
23984 something starting with __ and the normal name is an alias. */
23985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23986 choke me
23987 #else
23988 char (*f) () = $ac_func;
23989 #endif
23990 #ifdef __cplusplus
23992 #endif
23995 main ()
23997 return f != $ac_func;
23999 return 0;
24001 _ACEOF
24002 rm -f conftest.$ac_objext conftest$ac_exeext
24003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24004 (eval $ac_link) 2>conftest.er1
24005 ac_status=$?
24006 grep -v '^ *+' conftest.er1 >conftest.err
24007 rm -f conftest.er1
24008 cat conftest.err >&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } &&
24011 { ac_try='test -z "$ac_c_werror_flag"
24012 || test ! -s conftest.err'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24015 ac_status=$?
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; } &&
24018 { ac_try='test -s conftest$ac_exeext'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24021 ac_status=$?
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; }; then
24024 eval "$as_ac_var=yes"
24025 else
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.$ac_ext >&5
24029 eval "$as_ac_var=no"
24031 rm -f conftest.err conftest.$ac_objext \
24032 conftest$ac_exeext conftest.$ac_ext
24034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24036 if test `eval echo '${'$as_ac_var'}'` = yes; then
24037 cat >>confdefs.h <<_ACEOF
24038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24039 _ACEOF
24042 done
24052 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24053 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24054 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24055 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24057 else
24061 ac_ext=cc
24062 ac_cpp='$CXXCPP $CPPFLAGS'
24063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24067 cat >conftest.$ac_ext <<_ACEOF
24068 /* confdefs.h. */
24069 _ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073 #include <math.h>
24074 #ifdef HAVE_IEEEFP_H
24075 #include <ieeefp.h>
24076 #endif
24079 main ()
24081 fabsf(0);
24083 return 0;
24085 _ACEOF
24086 rm -f conftest.$ac_objext
24087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24088 (eval $ac_compile) 2>conftest.er1
24089 ac_status=$?
24090 grep -v '^ *+' conftest.er1 >conftest.err
24091 rm -f conftest.er1
24092 cat conftest.err >&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } &&
24095 { ac_try='test -z "$ac_cxx_werror_flag"
24096 || test ! -s conftest.err'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24099 ac_status=$?
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; } &&
24102 { ac_try='test -s conftest.$ac_objext'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; }; then
24108 glibcxx_cv_func_fabsf_use=yes
24109 else
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24113 glibcxx_cv_func_fabsf_use=no
24115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24116 ac_ext=c
24117 ac_cpp='$CPP $CPPFLAGS'
24118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24127 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24129 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24131 for ac_func in fabsf
24133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24134 echo "$as_me:$LINENO: checking for $ac_func" >&5
24135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24136 if eval "test \"\${$as_ac_var+set}\" = set"; then
24137 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 else
24139 if test x$gcc_no_link = xyes; then
24140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24142 { (exit 1); exit 1; }; }
24144 cat >conftest.$ac_ext <<_ACEOF
24145 /* confdefs.h. */
24146 _ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24152 #define $ac_func innocuous_$ac_func
24154 /* System header to define __stub macros and hopefully few prototypes,
24155 which can conflict with char $ac_func (); below.
24156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24157 <limits.h> exists even on freestanding compilers. */
24159 #ifdef __STDC__
24160 # include <limits.h>
24161 #else
24162 # include <assert.h>
24163 #endif
24165 #undef $ac_func
24167 /* Override any gcc2 internal prototype to avoid an error. */
24168 #ifdef __cplusplus
24169 extern "C"
24171 #endif
24172 /* We use char because int might match the return type of a gcc2
24173 builtin and then its argument prototype would still apply. */
24174 char $ac_func ();
24175 /* The GNU C library defines this for functions which it implements
24176 to always fail with ENOSYS. Some functions are actually named
24177 something starting with __ and the normal name is an alias. */
24178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24179 choke me
24180 #else
24181 char (*f) () = $ac_func;
24182 #endif
24183 #ifdef __cplusplus
24185 #endif
24188 main ()
24190 return f != $ac_func;
24192 return 0;
24194 _ACEOF
24195 rm -f conftest.$ac_objext conftest$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197 (eval $ac_link) 2>conftest.er1
24198 ac_status=$?
24199 grep -v '^ *+' conftest.er1 >conftest.err
24200 rm -f conftest.er1
24201 cat conftest.err >&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } &&
24204 { ac_try='test -z "$ac_c_werror_flag"
24205 || test ! -s conftest.err'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try='test -s conftest$ac_exeext'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24214 ac_status=$?
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; }; then
24217 eval "$as_ac_var=yes"
24218 else
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24222 eval "$as_ac_var=no"
24224 rm -f conftest.err conftest.$ac_objext \
24225 conftest$ac_exeext conftest.$ac_ext
24227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24229 if test `eval echo '${'$as_ac_var'}'` = yes; then
24230 cat >>confdefs.h <<_ACEOF
24231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24232 _ACEOF
24235 done
24237 else
24239 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24240 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24241 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24242 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24244 else
24248 ac_ext=cc
24249 ac_cpp='$CXXCPP $CPPFLAGS'
24250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24254 cat >conftest.$ac_ext <<_ACEOF
24255 /* confdefs.h. */
24256 _ACEOF
24257 cat confdefs.h >>conftest.$ac_ext
24258 cat >>conftest.$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260 #include <math.h>
24261 #ifdef HAVE_IEEEFP_H
24262 #include <ieeefp.h>
24263 #endif
24266 main ()
24268 _fabsf(0);
24270 return 0;
24272 _ACEOF
24273 rm -f conftest.$ac_objext
24274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24275 (eval $ac_compile) 2>conftest.er1
24276 ac_status=$?
24277 grep -v '^ *+' conftest.er1 >conftest.err
24278 rm -f conftest.er1
24279 cat conftest.err >&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } &&
24282 { ac_try='test -z "$ac_cxx_werror_flag"
24283 || test ! -s conftest.err'
24284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24285 (eval $ac_try) 2>&5
24286 ac_status=$?
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); }; } &&
24289 { ac_try='test -s conftest.$ac_objext'
24290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24291 (eval $ac_try) 2>&5
24292 ac_status=$?
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); }; }; then
24295 glibcxx_cv_func__fabsf_use=yes
24296 else
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24300 glibcxx_cv_func__fabsf_use=no
24302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24303 ac_ext=c
24304 ac_cpp='$CPP $CPPFLAGS'
24305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24314 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24316 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24318 for ac_func in _fabsf
24320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24321 echo "$as_me:$LINENO: checking for $ac_func" >&5
24322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24323 if eval "test \"\${$as_ac_var+set}\" = set"; then
24324 echo $ECHO_N "(cached) $ECHO_C" >&6
24325 else
24326 if test x$gcc_no_link = xyes; then
24327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24329 { (exit 1); exit 1; }; }
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24339 #define $ac_func innocuous_$ac_func
24341 /* System header to define __stub macros and hopefully few prototypes,
24342 which can conflict with char $ac_func (); below.
24343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24344 <limits.h> exists even on freestanding compilers. */
24346 #ifdef __STDC__
24347 # include <limits.h>
24348 #else
24349 # include <assert.h>
24350 #endif
24352 #undef $ac_func
24354 /* Override any gcc2 internal prototype to avoid an error. */
24355 #ifdef __cplusplus
24356 extern "C"
24358 #endif
24359 /* We use char because int might match the return type of a gcc2
24360 builtin and then its argument prototype would still apply. */
24361 char $ac_func ();
24362 /* The GNU C library defines this for functions which it implements
24363 to always fail with ENOSYS. Some functions are actually named
24364 something starting with __ and the normal name is an alias. */
24365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24366 choke me
24367 #else
24368 char (*f) () = $ac_func;
24369 #endif
24370 #ifdef __cplusplus
24372 #endif
24375 main ()
24377 return f != $ac_func;
24379 return 0;
24381 _ACEOF
24382 rm -f conftest.$ac_objext conftest$ac_exeext
24383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24384 (eval $ac_link) 2>conftest.er1
24385 ac_status=$?
24386 grep -v '^ *+' conftest.er1 >conftest.err
24387 rm -f conftest.er1
24388 cat conftest.err >&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); } &&
24391 { ac_try='test -z "$ac_c_werror_flag"
24392 || test ! -s conftest.err'
24393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24394 (eval $ac_try) 2>&5
24395 ac_status=$?
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); }; } &&
24398 { ac_try='test -s conftest$ac_exeext'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24401 ac_status=$?
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; }; then
24404 eval "$as_ac_var=yes"
24405 else
24406 echo "$as_me: failed program was:" >&5
24407 sed 's/^/| /' conftest.$ac_ext >&5
24409 eval "$as_ac_var=no"
24411 rm -f conftest.err conftest.$ac_objext \
24412 conftest$ac_exeext conftest.$ac_ext
24414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24416 if test `eval echo '${'$as_ac_var'}'` = yes; then
24417 cat >>confdefs.h <<_ACEOF
24418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24419 _ACEOF
24422 done
24432 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24433 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24434 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24435 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 else
24441 ac_ext=cc
24442 ac_cpp='$CXXCPP $CPPFLAGS'
24443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24447 cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h. */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 #include <math.h>
24455 main ()
24457 fmodf(0, 0);
24459 return 0;
24461 _ACEOF
24462 rm -f conftest.$ac_objext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24464 (eval $ac_compile) 2>conftest.er1
24465 ac_status=$?
24466 grep -v '^ *+' conftest.er1 >conftest.err
24467 rm -f conftest.er1
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try='test -z "$ac_cxx_werror_flag"
24472 || test ! -s conftest.err'
24473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24474 (eval $ac_try) 2>&5
24475 ac_status=$?
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; } &&
24478 { ac_try='test -s conftest.$ac_objext'
24479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480 (eval $ac_try) 2>&5
24481 ac_status=$?
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); }; }; then
24484 glibcxx_cv_func_fmodf_use=yes
24485 else
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24489 glibcxx_cv_func_fmodf_use=no
24491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24492 ac_ext=c
24493 ac_cpp='$CPP $CPPFLAGS'
24494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24503 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24505 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24507 for ac_func in fmodf
24509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24510 echo "$as_me:$LINENO: checking for $ac_func" >&5
24511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24512 if eval "test \"\${$as_ac_var+set}\" = set"; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 else
24515 if test x$gcc_no_link = xyes; then
24516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24518 { (exit 1); exit 1; }; }
24520 cat >conftest.$ac_ext <<_ACEOF
24521 /* confdefs.h. */
24522 _ACEOF
24523 cat confdefs.h >>conftest.$ac_ext
24524 cat >>conftest.$ac_ext <<_ACEOF
24525 /* end confdefs.h. */
24526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24528 #define $ac_func innocuous_$ac_func
24530 /* System header to define __stub macros and hopefully few prototypes,
24531 which can conflict with char $ac_func (); below.
24532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24533 <limits.h> exists even on freestanding compilers. */
24535 #ifdef __STDC__
24536 # include <limits.h>
24537 #else
24538 # include <assert.h>
24539 #endif
24541 #undef $ac_func
24543 /* Override any gcc2 internal prototype to avoid an error. */
24544 #ifdef __cplusplus
24545 extern "C"
24547 #endif
24548 /* We use char because int might match the return type of a gcc2
24549 builtin and then its argument prototype would still apply. */
24550 char $ac_func ();
24551 /* The GNU C library defines this for functions which it implements
24552 to always fail with ENOSYS. Some functions are actually named
24553 something starting with __ and the normal name is an alias. */
24554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24555 choke me
24556 #else
24557 char (*f) () = $ac_func;
24558 #endif
24559 #ifdef __cplusplus
24561 #endif
24564 main ()
24566 return f != $ac_func;
24568 return 0;
24570 _ACEOF
24571 rm -f conftest.$ac_objext conftest$ac_exeext
24572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24573 (eval $ac_link) 2>conftest.er1
24574 ac_status=$?
24575 grep -v '^ *+' conftest.er1 >conftest.err
24576 rm -f conftest.er1
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } &&
24580 { ac_try='test -z "$ac_c_werror_flag"
24581 || test ! -s conftest.err'
24582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24583 (eval $ac_try) 2>&5
24584 ac_status=$?
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); }; } &&
24587 { ac_try='test -s conftest$ac_exeext'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24590 ac_status=$?
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; }; then
24593 eval "$as_ac_var=yes"
24594 else
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24598 eval "$as_ac_var=no"
24600 rm -f conftest.err conftest.$ac_objext \
24601 conftest$ac_exeext conftest.$ac_ext
24603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24605 if test `eval echo '${'$as_ac_var'}'` = yes; then
24606 cat >>confdefs.h <<_ACEOF
24607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24608 _ACEOF
24611 done
24613 else
24615 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24616 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24617 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24618 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24620 else
24624 ac_ext=cc
24625 ac_cpp='$CXXCPP $CPPFLAGS'
24626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24630 cat >conftest.$ac_ext <<_ACEOF
24631 /* confdefs.h. */
24632 _ACEOF
24633 cat confdefs.h >>conftest.$ac_ext
24634 cat >>conftest.$ac_ext <<_ACEOF
24635 /* end confdefs.h. */
24636 #include <math.h>
24638 main ()
24640 _fmodf(0, 0);
24642 return 0;
24644 _ACEOF
24645 rm -f conftest.$ac_objext
24646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24647 (eval $ac_compile) 2>conftest.er1
24648 ac_status=$?
24649 grep -v '^ *+' conftest.er1 >conftest.err
24650 rm -f conftest.er1
24651 cat conftest.err >&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } &&
24654 { ac_try='test -z "$ac_cxx_werror_flag"
24655 || test ! -s conftest.err'
24656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657 (eval $ac_try) 2>&5
24658 ac_status=$?
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; } &&
24661 { ac_try='test -s conftest.$ac_objext'
24662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 (eval $ac_try) 2>&5
24664 ac_status=$?
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); }; }; then
24667 glibcxx_cv_func__fmodf_use=yes
24668 else
24669 echo "$as_me: failed program was:" >&5
24670 sed 's/^/| /' conftest.$ac_ext >&5
24672 glibcxx_cv_func__fmodf_use=no
24674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24675 ac_ext=c
24676 ac_cpp='$CPP $CPPFLAGS'
24677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24686 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24688 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24690 for ac_func in _fmodf
24692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24693 echo "$as_me:$LINENO: checking for $ac_func" >&5
24694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24695 if eval "test \"\${$as_ac_var+set}\" = set"; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 else
24698 if test x$gcc_no_link = xyes; then
24699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24701 { (exit 1); exit 1; }; }
24703 cat >conftest.$ac_ext <<_ACEOF
24704 /* confdefs.h. */
24705 _ACEOF
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24711 #define $ac_func innocuous_$ac_func
24713 /* System header to define __stub macros and hopefully few prototypes,
24714 which can conflict with char $ac_func (); below.
24715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24716 <limits.h> exists even on freestanding compilers. */
24718 #ifdef __STDC__
24719 # include <limits.h>
24720 #else
24721 # include <assert.h>
24722 #endif
24724 #undef $ac_func
24726 /* Override any gcc2 internal prototype to avoid an error. */
24727 #ifdef __cplusplus
24728 extern "C"
24730 #endif
24731 /* We use char because int might match the return type of a gcc2
24732 builtin and then its argument prototype would still apply. */
24733 char $ac_func ();
24734 /* The GNU C library defines this for functions which it implements
24735 to always fail with ENOSYS. Some functions are actually named
24736 something starting with __ and the normal name is an alias. */
24737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24738 choke me
24739 #else
24740 char (*f) () = $ac_func;
24741 #endif
24742 #ifdef __cplusplus
24744 #endif
24747 main ()
24749 return f != $ac_func;
24751 return 0;
24753 _ACEOF
24754 rm -f conftest.$ac_objext conftest$ac_exeext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24756 (eval $ac_link) 2>conftest.er1
24757 ac_status=$?
24758 grep -v '^ *+' conftest.er1 >conftest.err
24759 rm -f conftest.er1
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } &&
24763 { ac_try='test -z "$ac_c_werror_flag"
24764 || test ! -s conftest.err'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24767 ac_status=$?
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; } &&
24770 { ac_try='test -s conftest$ac_exeext'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; }; then
24776 eval "$as_ac_var=yes"
24777 else
24778 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5
24781 eval "$as_ac_var=no"
24783 rm -f conftest.err conftest.$ac_objext \
24784 conftest$ac_exeext conftest.$ac_ext
24786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24788 if test `eval echo '${'$as_ac_var'}'` = yes; then
24789 cat >>confdefs.h <<_ACEOF
24790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24791 _ACEOF
24794 done
24804 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24805 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24806 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24807 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24808 echo $ECHO_N "(cached) $ECHO_C" >&6
24809 else
24813 ac_ext=cc
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24819 cat >conftest.$ac_ext <<_ACEOF
24820 /* confdefs.h. */
24821 _ACEOF
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825 #include <math.h>
24827 main ()
24829 frexpf(0, 0);
24831 return 0;
24833 _ACEOF
24834 rm -f conftest.$ac_objext
24835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24836 (eval $ac_compile) 2>conftest.er1
24837 ac_status=$?
24838 grep -v '^ *+' conftest.er1 >conftest.err
24839 rm -f conftest.er1
24840 cat conftest.err >&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } &&
24843 { ac_try='test -z "$ac_cxx_werror_flag"
24844 || test ! -s conftest.err'
24845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24846 (eval $ac_try) 2>&5
24847 ac_status=$?
24848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849 (exit $ac_status); }; } &&
24850 { ac_try='test -s conftest.$ac_objext'
24851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24852 (eval $ac_try) 2>&5
24853 ac_status=$?
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); }; }; then
24856 glibcxx_cv_func_frexpf_use=yes
24857 else
24858 echo "$as_me: failed program was:" >&5
24859 sed 's/^/| /' conftest.$ac_ext >&5
24861 glibcxx_cv_func_frexpf_use=no
24863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24864 ac_ext=c
24865 ac_cpp='$CPP $CPPFLAGS'
24866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24875 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24877 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24879 for ac_func in frexpf
24881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24882 echo "$as_me:$LINENO: checking for $ac_func" >&5
24883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24884 if eval "test \"\${$as_ac_var+set}\" = set"; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887 if test x$gcc_no_link = xyes; then
24888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24890 { (exit 1); exit 1; }; }
24892 cat >conftest.$ac_ext <<_ACEOF
24893 /* confdefs.h. */
24894 _ACEOF
24895 cat confdefs.h >>conftest.$ac_ext
24896 cat >>conftest.$ac_ext <<_ACEOF
24897 /* end confdefs.h. */
24898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24900 #define $ac_func innocuous_$ac_func
24902 /* System header to define __stub macros and hopefully few prototypes,
24903 which can conflict with char $ac_func (); below.
24904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24905 <limits.h> exists even on freestanding compilers. */
24907 #ifdef __STDC__
24908 # include <limits.h>
24909 #else
24910 # include <assert.h>
24911 #endif
24913 #undef $ac_func
24915 /* Override any gcc2 internal prototype to avoid an error. */
24916 #ifdef __cplusplus
24917 extern "C"
24919 #endif
24920 /* We use char because int might match the return type of a gcc2
24921 builtin and then its argument prototype would still apply. */
24922 char $ac_func ();
24923 /* The GNU C library defines this for functions which it implements
24924 to always fail with ENOSYS. Some functions are actually named
24925 something starting with __ and the normal name is an alias. */
24926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24927 choke me
24928 #else
24929 char (*f) () = $ac_func;
24930 #endif
24931 #ifdef __cplusplus
24933 #endif
24936 main ()
24938 return f != $ac_func;
24940 return 0;
24942 _ACEOF
24943 rm -f conftest.$ac_objext conftest$ac_exeext
24944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24945 (eval $ac_link) 2>conftest.er1
24946 ac_status=$?
24947 grep -v '^ *+' conftest.er1 >conftest.err
24948 rm -f conftest.er1
24949 cat conftest.err >&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); } &&
24952 { ac_try='test -z "$ac_c_werror_flag"
24953 || test ! -s conftest.err'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24956 ac_status=$?
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; } &&
24959 { ac_try='test -s conftest$ac_exeext'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; }; then
24965 eval "$as_ac_var=yes"
24966 else
24967 echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24970 eval "$as_ac_var=no"
24972 rm -f conftest.err conftest.$ac_objext \
24973 conftest$ac_exeext conftest.$ac_ext
24975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24977 if test `eval echo '${'$as_ac_var'}'` = yes; then
24978 cat >>confdefs.h <<_ACEOF
24979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24980 _ACEOF
24983 done
24985 else
24987 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24988 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24989 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24990 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 else
24996 ac_ext=cc
24997 ac_cpp='$CXXCPP $CPPFLAGS'
24998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25002 cat >conftest.$ac_ext <<_ACEOF
25003 /* confdefs.h. */
25004 _ACEOF
25005 cat confdefs.h >>conftest.$ac_ext
25006 cat >>conftest.$ac_ext <<_ACEOF
25007 /* end confdefs.h. */
25008 #include <math.h>
25010 main ()
25012 _frexpf(0, 0);
25014 return 0;
25016 _ACEOF
25017 rm -f conftest.$ac_objext
25018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25019 (eval $ac_compile) 2>conftest.er1
25020 ac_status=$?
25021 grep -v '^ *+' conftest.er1 >conftest.err
25022 rm -f conftest.er1
25023 cat conftest.err >&5
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); } &&
25026 { ac_try='test -z "$ac_cxx_werror_flag"
25027 || test ! -s conftest.err'
25028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029 (eval $ac_try) 2>&5
25030 ac_status=$?
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); }; } &&
25033 { ac_try='test -s conftest.$ac_objext'
25034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25035 (eval $ac_try) 2>&5
25036 ac_status=$?
25037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038 (exit $ac_status); }; }; then
25039 glibcxx_cv_func__frexpf_use=yes
25040 else
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25044 glibcxx_cv_func__frexpf_use=no
25046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25047 ac_ext=c
25048 ac_cpp='$CPP $CPPFLAGS'
25049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25058 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25060 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25062 for ac_func in _frexpf
25064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25065 echo "$as_me:$LINENO: checking for $ac_func" >&5
25066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25067 if eval "test \"\${$as_ac_var+set}\" = set"; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 else
25070 if test x$gcc_no_link = xyes; then
25071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25073 { (exit 1); exit 1; }; }
25075 cat >conftest.$ac_ext <<_ACEOF
25076 /* confdefs.h. */
25077 _ACEOF
25078 cat confdefs.h >>conftest.$ac_ext
25079 cat >>conftest.$ac_ext <<_ACEOF
25080 /* end confdefs.h. */
25081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25083 #define $ac_func innocuous_$ac_func
25085 /* System header to define __stub macros and hopefully few prototypes,
25086 which can conflict with char $ac_func (); below.
25087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25088 <limits.h> exists even on freestanding compilers. */
25090 #ifdef __STDC__
25091 # include <limits.h>
25092 #else
25093 # include <assert.h>
25094 #endif
25096 #undef $ac_func
25098 /* Override any gcc2 internal prototype to avoid an error. */
25099 #ifdef __cplusplus
25100 extern "C"
25102 #endif
25103 /* We use char because int might match the return type of a gcc2
25104 builtin and then its argument prototype would still apply. */
25105 char $ac_func ();
25106 /* The GNU C library defines this for functions which it implements
25107 to always fail with ENOSYS. Some functions are actually named
25108 something starting with __ and the normal name is an alias. */
25109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25110 choke me
25111 #else
25112 char (*f) () = $ac_func;
25113 #endif
25114 #ifdef __cplusplus
25116 #endif
25119 main ()
25121 return f != $ac_func;
25123 return 0;
25125 _ACEOF
25126 rm -f conftest.$ac_objext conftest$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>conftest.er1
25129 ac_status=$?
25130 grep -v '^ *+' conftest.er1 >conftest.err
25131 rm -f conftest.er1
25132 cat conftest.err >&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } &&
25135 { ac_try='test -z "$ac_c_werror_flag"
25136 || test ! -s conftest.err'
25137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25138 (eval $ac_try) 2>&5
25139 ac_status=$?
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); }; } &&
25142 { ac_try='test -s conftest$ac_exeext'
25143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144 (eval $ac_try) 2>&5
25145 ac_status=$?
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); }; }; then
25148 eval "$as_ac_var=yes"
25149 else
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25153 eval "$as_ac_var=no"
25155 rm -f conftest.err conftest.$ac_objext \
25156 conftest$ac_exeext conftest.$ac_ext
25158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25160 if test `eval echo '${'$as_ac_var'}'` = yes; then
25161 cat >>confdefs.h <<_ACEOF
25162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25163 _ACEOF
25166 done
25176 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25177 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25178 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25179 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25185 ac_ext=cc
25186 ac_cpp='$CXXCPP $CPPFLAGS'
25187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191 cat >conftest.$ac_ext <<_ACEOF
25192 /* confdefs.h. */
25193 _ACEOF
25194 cat confdefs.h >>conftest.$ac_ext
25195 cat >>conftest.$ac_ext <<_ACEOF
25196 /* end confdefs.h. */
25197 #include <math.h>
25199 main ()
25201 hypotf(0, 0);
25203 return 0;
25205 _ACEOF
25206 rm -f conftest.$ac_objext
25207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25208 (eval $ac_compile) 2>conftest.er1
25209 ac_status=$?
25210 grep -v '^ *+' conftest.er1 >conftest.err
25211 rm -f conftest.er1
25212 cat conftest.err >&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } &&
25215 { ac_try='test -z "$ac_cxx_werror_flag"
25216 || test ! -s conftest.err'
25217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218 (eval $ac_try) 2>&5
25219 ac_status=$?
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); }; } &&
25222 { ac_try='test -s conftest.$ac_objext'
25223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25224 (eval $ac_try) 2>&5
25225 ac_status=$?
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); }; }; then
25228 glibcxx_cv_func_hypotf_use=yes
25229 else
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25233 glibcxx_cv_func_hypotf_use=no
25235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25236 ac_ext=c
25237 ac_cpp='$CPP $CPPFLAGS'
25238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25247 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25249 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25251 for ac_func in hypotf
25253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25254 echo "$as_me:$LINENO: checking for $ac_func" >&5
25255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25256 if eval "test \"\${$as_ac_var+set}\" = set"; then
25257 echo $ECHO_N "(cached) $ECHO_C" >&6
25258 else
25259 if test x$gcc_no_link = xyes; then
25260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25262 { (exit 1); exit 1; }; }
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h. */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25272 #define $ac_func innocuous_$ac_func
25274 /* System header to define __stub macros and hopefully few prototypes,
25275 which can conflict with char $ac_func (); below.
25276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25277 <limits.h> exists even on freestanding compilers. */
25279 #ifdef __STDC__
25280 # include <limits.h>
25281 #else
25282 # include <assert.h>
25283 #endif
25285 #undef $ac_func
25287 /* Override any gcc2 internal prototype to avoid an error. */
25288 #ifdef __cplusplus
25289 extern "C"
25291 #endif
25292 /* We use char because int might match the return type of a gcc2
25293 builtin and then its argument prototype would still apply. */
25294 char $ac_func ();
25295 /* The GNU C library defines this for functions which it implements
25296 to always fail with ENOSYS. Some functions are actually named
25297 something starting with __ and the normal name is an alias. */
25298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25299 choke me
25300 #else
25301 char (*f) () = $ac_func;
25302 #endif
25303 #ifdef __cplusplus
25305 #endif
25308 main ()
25310 return f != $ac_func;
25312 return 0;
25314 _ACEOF
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25317 (eval $ac_link) 2>conftest.er1
25318 ac_status=$?
25319 grep -v '^ *+' conftest.er1 >conftest.err
25320 rm -f conftest.er1
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } &&
25324 { ac_try='test -z "$ac_c_werror_flag"
25325 || test ! -s conftest.err'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25328 ac_status=$?
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; } &&
25331 { ac_try='test -s conftest$ac_exeext'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25334 ac_status=$?
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; }; then
25337 eval "$as_ac_var=yes"
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25342 eval "$as_ac_var=no"
25344 rm -f conftest.err conftest.$ac_objext \
25345 conftest$ac_exeext conftest.$ac_ext
25347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25349 if test `eval echo '${'$as_ac_var'}'` = yes; then
25350 cat >>confdefs.h <<_ACEOF
25351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25352 _ACEOF
25355 done
25357 else
25359 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25360 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25361 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25362 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 else
25368 ac_ext=cc
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374 cat >conftest.$ac_ext <<_ACEOF
25375 /* confdefs.h. */
25376 _ACEOF
25377 cat confdefs.h >>conftest.$ac_ext
25378 cat >>conftest.$ac_ext <<_ACEOF
25379 /* end confdefs.h. */
25380 #include <math.h>
25382 main ()
25384 _hypotf(0, 0);
25386 return 0;
25388 _ACEOF
25389 rm -f conftest.$ac_objext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25391 (eval $ac_compile) 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try='test -z "$ac_cxx_werror_flag"
25399 || test ! -s conftest.err'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25402 ac_status=$?
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; } &&
25405 { ac_try='test -s conftest.$ac_objext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25408 ac_status=$?
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 glibcxx_cv_func__hypotf_use=yes
25412 else
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.$ac_ext >&5
25416 glibcxx_cv_func__hypotf_use=no
25418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25419 ac_ext=c
25420 ac_cpp='$CPP $CPPFLAGS'
25421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25430 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25432 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25434 for ac_func in _hypotf
25436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25437 echo "$as_me:$LINENO: checking for $ac_func" >&5
25438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25439 if eval "test \"\${$as_ac_var+set}\" = set"; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 else
25442 if test x$gcc_no_link = xyes; then
25443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25445 { (exit 1); exit 1; }; }
25447 cat >conftest.$ac_ext <<_ACEOF
25448 /* confdefs.h. */
25449 _ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25455 #define $ac_func innocuous_$ac_func
25457 /* System header to define __stub macros and hopefully few prototypes,
25458 which can conflict with char $ac_func (); below.
25459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25460 <limits.h> exists even on freestanding compilers. */
25462 #ifdef __STDC__
25463 # include <limits.h>
25464 #else
25465 # include <assert.h>
25466 #endif
25468 #undef $ac_func
25470 /* Override any gcc2 internal prototype to avoid an error. */
25471 #ifdef __cplusplus
25472 extern "C"
25474 #endif
25475 /* We use char because int might match the return type of a gcc2
25476 builtin and then its argument prototype would still apply. */
25477 char $ac_func ();
25478 /* The GNU C library defines this for functions which it implements
25479 to always fail with ENOSYS. Some functions are actually named
25480 something starting with __ and the normal name is an alias. */
25481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25482 choke me
25483 #else
25484 char (*f) () = $ac_func;
25485 #endif
25486 #ifdef __cplusplus
25488 #endif
25491 main ()
25493 return f != $ac_func;
25495 return 0;
25497 _ACEOF
25498 rm -f conftest.$ac_objext conftest$ac_exeext
25499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25500 (eval $ac_link) 2>conftest.er1
25501 ac_status=$?
25502 grep -v '^ *+' conftest.er1 >conftest.err
25503 rm -f conftest.er1
25504 cat conftest.err >&5
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); } &&
25507 { ac_try='test -z "$ac_c_werror_flag"
25508 || test ! -s conftest.err'
25509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510 (eval $ac_try) 2>&5
25511 ac_status=$?
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); }; } &&
25514 { ac_try='test -s conftest$ac_exeext'
25515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516 (eval $ac_try) 2>&5
25517 ac_status=$?
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); }; }; then
25520 eval "$as_ac_var=yes"
25521 else
25522 echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25525 eval "$as_ac_var=no"
25527 rm -f conftest.err conftest.$ac_objext \
25528 conftest$ac_exeext conftest.$ac_ext
25530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25532 if test `eval echo '${'$as_ac_var'}'` = yes; then
25533 cat >>confdefs.h <<_ACEOF
25534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25535 _ACEOF
25538 done
25548 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25549 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25550 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25551 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25553 else
25557 ac_ext=cc
25558 ac_cpp='$CXXCPP $CPPFLAGS'
25559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25563 cat >conftest.$ac_ext <<_ACEOF
25564 /* confdefs.h. */
25565 _ACEOF
25566 cat confdefs.h >>conftest.$ac_ext
25567 cat >>conftest.$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25569 #include <math.h>
25571 main ()
25573 ldexpf(0, 0);
25575 return 0;
25577 _ACEOF
25578 rm -f conftest.$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>conftest.er1
25581 ac_status=$?
25582 grep -v '^ *+' conftest.er1 >conftest.err
25583 rm -f conftest.er1
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } &&
25587 { ac_try='test -z "$ac_cxx_werror_flag"
25588 || test ! -s conftest.err'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25591 ac_status=$?
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; } &&
25594 { ac_try='test -s conftest.$ac_objext'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25597 ac_status=$?
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; }; then
25600 glibcxx_cv_func_ldexpf_use=yes
25601 else
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.$ac_ext >&5
25605 glibcxx_cv_func_ldexpf_use=no
25607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25608 ac_ext=c
25609 ac_cpp='$CPP $CPPFLAGS'
25610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25619 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25621 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25623 for ac_func in ldexpf
25625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25626 echo "$as_me:$LINENO: checking for $ac_func" >&5
25627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25628 if eval "test \"\${$as_ac_var+set}\" = set"; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 else
25631 if test x$gcc_no_link = xyes; then
25632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25634 { (exit 1); exit 1; }; }
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25644 #define $ac_func innocuous_$ac_func
25646 /* System header to define __stub macros and hopefully few prototypes,
25647 which can conflict with char $ac_func (); below.
25648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25649 <limits.h> exists even on freestanding compilers. */
25651 #ifdef __STDC__
25652 # include <limits.h>
25653 #else
25654 # include <assert.h>
25655 #endif
25657 #undef $ac_func
25659 /* Override any gcc2 internal prototype to avoid an error. */
25660 #ifdef __cplusplus
25661 extern "C"
25663 #endif
25664 /* We use char because int might match the return type of a gcc2
25665 builtin and then its argument prototype would still apply. */
25666 char $ac_func ();
25667 /* The GNU C library defines this for functions which it implements
25668 to always fail with ENOSYS. Some functions are actually named
25669 something starting with __ and the normal name is an alias. */
25670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25671 choke me
25672 #else
25673 char (*f) () = $ac_func;
25674 #endif
25675 #ifdef __cplusplus
25677 #endif
25680 main ()
25682 return f != $ac_func;
25684 return 0;
25686 _ACEOF
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25689 (eval $ac_link) 2>conftest.er1
25690 ac_status=$?
25691 grep -v '^ *+' conftest.er1 >conftest.err
25692 rm -f conftest.er1
25693 cat conftest.err >&5
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); } &&
25696 { ac_try='test -z "$ac_c_werror_flag"
25697 || test ! -s conftest.err'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; } &&
25703 { ac_try='test -s conftest$ac_exeext'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; }; then
25709 eval "$as_ac_var=yes"
25710 else
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.$ac_ext >&5
25714 eval "$as_ac_var=no"
25716 rm -f conftest.err conftest.$ac_objext \
25717 conftest$ac_exeext conftest.$ac_ext
25719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25721 if test `eval echo '${'$as_ac_var'}'` = yes; then
25722 cat >>confdefs.h <<_ACEOF
25723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25724 _ACEOF
25727 done
25729 else
25731 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25732 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25733 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25734 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25740 ac_ext=cc
25741 ac_cpp='$CXXCPP $CPPFLAGS'
25742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25746 cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h. */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 #include <math.h>
25754 main ()
25756 _ldexpf(0, 0);
25758 return 0;
25760 _ACEOF
25761 rm -f conftest.$ac_objext
25762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25763 (eval $ac_compile) 2>conftest.er1
25764 ac_status=$?
25765 grep -v '^ *+' conftest.er1 >conftest.err
25766 rm -f conftest.er1
25767 cat conftest.err >&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); } &&
25770 { ac_try='test -z "$ac_cxx_werror_flag"
25771 || test ! -s conftest.err'
25772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773 (eval $ac_try) 2>&5
25774 ac_status=$?
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); }; } &&
25777 { ac_try='test -s conftest.$ac_objext'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; }; then
25783 glibcxx_cv_func__ldexpf_use=yes
25784 else
25785 echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25788 glibcxx_cv_func__ldexpf_use=no
25790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25791 ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25802 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25804 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25806 for ac_func in _ldexpf
25808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25809 echo "$as_me:$LINENO: checking for $ac_func" >&5
25810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25811 if eval "test \"\${$as_ac_var+set}\" = set"; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814 if test x$gcc_no_link = xyes; then
25815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25817 { (exit 1); exit 1; }; }
25819 cat >conftest.$ac_ext <<_ACEOF
25820 /* confdefs.h. */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25827 #define $ac_func innocuous_$ac_func
25829 /* System header to define __stub macros and hopefully few prototypes,
25830 which can conflict with char $ac_func (); below.
25831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25832 <limits.h> exists even on freestanding compilers. */
25834 #ifdef __STDC__
25835 # include <limits.h>
25836 #else
25837 # include <assert.h>
25838 #endif
25840 #undef $ac_func
25842 /* Override any gcc2 internal prototype to avoid an error. */
25843 #ifdef __cplusplus
25844 extern "C"
25846 #endif
25847 /* We use char because int might match the return type of a gcc2
25848 builtin and then its argument prototype would still apply. */
25849 char $ac_func ();
25850 /* The GNU C library defines this for functions which it implements
25851 to always fail with ENOSYS. Some functions are actually named
25852 something starting with __ and the normal name is an alias. */
25853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25854 choke me
25855 #else
25856 char (*f) () = $ac_func;
25857 #endif
25858 #ifdef __cplusplus
25860 #endif
25863 main ()
25865 return f != $ac_func;
25867 return 0;
25869 _ACEOF
25870 rm -f conftest.$ac_objext conftest$ac_exeext
25871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25872 (eval $ac_link) 2>conftest.er1
25873 ac_status=$?
25874 grep -v '^ *+' conftest.er1 >conftest.err
25875 rm -f conftest.er1
25876 cat conftest.err >&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); } &&
25879 { ac_try='test -z "$ac_c_werror_flag"
25880 || test ! -s conftest.err'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25883 ac_status=$?
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; } &&
25886 { ac_try='test -s conftest$ac_exeext'
25887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888 (eval $ac_try) 2>&5
25889 ac_status=$?
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); }; }; then
25892 eval "$as_ac_var=yes"
25893 else
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25897 eval "$as_ac_var=no"
25899 rm -f conftest.err conftest.$ac_objext \
25900 conftest$ac_exeext conftest.$ac_ext
25902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25904 if test `eval echo '${'$as_ac_var'}'` = yes; then
25905 cat >>confdefs.h <<_ACEOF
25906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25907 _ACEOF
25910 done
25920 echo "$as_me:$LINENO: checking for logf declaration" >&5
25921 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25922 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25923 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25925 else
25929 ac_ext=cc
25930 ac_cpp='$CXXCPP $CPPFLAGS'
25931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25935 cat >conftest.$ac_ext <<_ACEOF
25936 /* confdefs.h. */
25937 _ACEOF
25938 cat confdefs.h >>conftest.$ac_ext
25939 cat >>conftest.$ac_ext <<_ACEOF
25940 /* end confdefs.h. */
25941 #include <math.h>
25942 #ifdef HAVE_IEEEFP_H
25943 #include <ieeefp.h>
25944 #endif
25947 main ()
25949 logf(0);
25951 return 0;
25953 _ACEOF
25954 rm -f conftest.$ac_objext
25955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25956 (eval $ac_compile) 2>conftest.er1
25957 ac_status=$?
25958 grep -v '^ *+' conftest.er1 >conftest.err
25959 rm -f conftest.er1
25960 cat conftest.err >&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } &&
25963 { ac_try='test -z "$ac_cxx_werror_flag"
25964 || test ! -s conftest.err'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25967 ac_status=$?
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; } &&
25970 { ac_try='test -s conftest.$ac_objext'
25971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25972 (eval $ac_try) 2>&5
25973 ac_status=$?
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); }; }; then
25976 glibcxx_cv_func_logf_use=yes
25977 else
25978 echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.$ac_ext >&5
25981 glibcxx_cv_func_logf_use=no
25983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25984 ac_ext=c
25985 ac_cpp='$CPP $CPPFLAGS'
25986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25995 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25997 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25999 for ac_func in logf
26001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26002 echo "$as_me:$LINENO: checking for $ac_func" >&5
26003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26004 if eval "test \"\${$as_ac_var+set}\" = set"; then
26005 echo $ECHO_N "(cached) $ECHO_C" >&6
26006 else
26007 if test x$gcc_no_link = xyes; then
26008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26010 { (exit 1); exit 1; }; }
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26020 #define $ac_func innocuous_$ac_func
26022 /* System header to define __stub macros and hopefully few prototypes,
26023 which can conflict with char $ac_func (); below.
26024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26025 <limits.h> exists even on freestanding compilers. */
26027 #ifdef __STDC__
26028 # include <limits.h>
26029 #else
26030 # include <assert.h>
26031 #endif
26033 #undef $ac_func
26035 /* Override any gcc2 internal prototype to avoid an error. */
26036 #ifdef __cplusplus
26037 extern "C"
26039 #endif
26040 /* We use char because int might match the return type of a gcc2
26041 builtin and then its argument prototype would still apply. */
26042 char $ac_func ();
26043 /* The GNU C library defines this for functions which it implements
26044 to always fail with ENOSYS. Some functions are actually named
26045 something starting with __ and the normal name is an alias. */
26046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26047 choke me
26048 #else
26049 char (*f) () = $ac_func;
26050 #endif
26051 #ifdef __cplusplus
26053 #endif
26056 main ()
26058 return f != $ac_func;
26060 return 0;
26062 _ACEOF
26063 rm -f conftest.$ac_objext conftest$ac_exeext
26064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26065 (eval $ac_link) 2>conftest.er1
26066 ac_status=$?
26067 grep -v '^ *+' conftest.er1 >conftest.err
26068 rm -f conftest.er1
26069 cat conftest.err >&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } &&
26072 { ac_try='test -z "$ac_c_werror_flag"
26073 || test ! -s conftest.err'
26074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075 (eval $ac_try) 2>&5
26076 ac_status=$?
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); }; } &&
26079 { ac_try='test -s conftest$ac_exeext'
26080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26081 (eval $ac_try) 2>&5
26082 ac_status=$?
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); }; }; then
26085 eval "$as_ac_var=yes"
26086 else
26087 echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.$ac_ext >&5
26090 eval "$as_ac_var=no"
26092 rm -f conftest.err conftest.$ac_objext \
26093 conftest$ac_exeext conftest.$ac_ext
26095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26097 if test `eval echo '${'$as_ac_var'}'` = yes; then
26098 cat >>confdefs.h <<_ACEOF
26099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26100 _ACEOF
26103 done
26105 else
26107 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26108 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26109 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26110 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26111 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 else
26116 ac_ext=cc
26117 ac_cpp='$CXXCPP $CPPFLAGS'
26118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26122 cat >conftest.$ac_ext <<_ACEOF
26123 /* confdefs.h. */
26124 _ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26128 #include <math.h>
26129 #ifdef HAVE_IEEEFP_H
26130 #include <ieeefp.h>
26131 #endif
26134 main ()
26136 _logf(0);
26138 return 0;
26140 _ACEOF
26141 rm -f conftest.$ac_objext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26143 (eval $ac_compile) 2>conftest.er1
26144 ac_status=$?
26145 grep -v '^ *+' conftest.er1 >conftest.err
26146 rm -f conftest.er1
26147 cat conftest.err >&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } &&
26150 { ac_try='test -z "$ac_cxx_werror_flag"
26151 || test ! -s conftest.err'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26154 ac_status=$?
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; } &&
26157 { ac_try='test -s conftest.$ac_objext'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26160 ac_status=$?
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; }; then
26163 glibcxx_cv_func__logf_use=yes
26164 else
26165 echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26168 glibcxx_cv_func__logf_use=no
26170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26171 ac_ext=c
26172 ac_cpp='$CPP $CPPFLAGS'
26173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26182 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26184 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26186 for ac_func in _logf
26188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26189 echo "$as_me:$LINENO: checking for $ac_func" >&5
26190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26191 if eval "test \"\${$as_ac_var+set}\" = set"; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194 if test x$gcc_no_link = xyes; then
26195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26197 { (exit 1); exit 1; }; }
26199 cat >conftest.$ac_ext <<_ACEOF
26200 /* confdefs.h. */
26201 _ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26207 #define $ac_func innocuous_$ac_func
26209 /* System header to define __stub macros and hopefully few prototypes,
26210 which can conflict with char $ac_func (); below.
26211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26212 <limits.h> exists even on freestanding compilers. */
26214 #ifdef __STDC__
26215 # include <limits.h>
26216 #else
26217 # include <assert.h>
26218 #endif
26220 #undef $ac_func
26222 /* Override any gcc2 internal prototype to avoid an error. */
26223 #ifdef __cplusplus
26224 extern "C"
26226 #endif
26227 /* We use char because int might match the return type of a gcc2
26228 builtin and then its argument prototype would still apply. */
26229 char $ac_func ();
26230 /* The GNU C library defines this for functions which it implements
26231 to always fail with ENOSYS. Some functions are actually named
26232 something starting with __ and the normal name is an alias. */
26233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26234 choke me
26235 #else
26236 char (*f) () = $ac_func;
26237 #endif
26238 #ifdef __cplusplus
26240 #endif
26243 main ()
26245 return f != $ac_func;
26247 return 0;
26249 _ACEOF
26250 rm -f conftest.$ac_objext conftest$ac_exeext
26251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26252 (eval $ac_link) 2>conftest.er1
26253 ac_status=$?
26254 grep -v '^ *+' conftest.er1 >conftest.err
26255 rm -f conftest.er1
26256 cat conftest.err >&5
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); } &&
26259 { ac_try='test -z "$ac_c_werror_flag"
26260 || test ! -s conftest.err'
26261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262 (eval $ac_try) 2>&5
26263 ac_status=$?
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); }; } &&
26266 { ac_try='test -s conftest$ac_exeext'
26267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26268 (eval $ac_try) 2>&5
26269 ac_status=$?
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); }; }; then
26272 eval "$as_ac_var=yes"
26273 else
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26277 eval "$as_ac_var=no"
26279 rm -f conftest.err conftest.$ac_objext \
26280 conftest$ac_exeext conftest.$ac_ext
26282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26284 if test `eval echo '${'$as_ac_var'}'` = yes; then
26285 cat >>confdefs.h <<_ACEOF
26286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26287 _ACEOF
26290 done
26300 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26301 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26302 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26303 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26304 echo $ECHO_N "(cached) $ECHO_C" >&6
26305 else
26309 ac_ext=cc
26310 ac_cpp='$CXXCPP $CPPFLAGS'
26311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26315 cat >conftest.$ac_ext <<_ACEOF
26316 /* confdefs.h. */
26317 _ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321 #include <math.h>
26322 #ifdef HAVE_IEEEFP_H
26323 #include <ieeefp.h>
26324 #endif
26327 main ()
26329 log10f(0);
26331 return 0;
26333 _ACEOF
26334 rm -f conftest.$ac_objext
26335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26336 (eval $ac_compile) 2>conftest.er1
26337 ac_status=$?
26338 grep -v '^ *+' conftest.er1 >conftest.err
26339 rm -f conftest.er1
26340 cat conftest.err >&5
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); } &&
26343 { ac_try='test -z "$ac_cxx_werror_flag"
26344 || test ! -s conftest.err'
26345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346 (eval $ac_try) 2>&5
26347 ac_status=$?
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); }; } &&
26350 { ac_try='test -s conftest.$ac_objext'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; }; then
26356 glibcxx_cv_func_log10f_use=yes
26357 else
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26361 glibcxx_cv_func_log10f_use=no
26363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26364 ac_ext=c
26365 ac_cpp='$CPP $CPPFLAGS'
26366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26375 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26377 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26379 for ac_func in log10f
26381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26382 echo "$as_me:$LINENO: checking for $ac_func" >&5
26383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26384 if eval "test \"\${$as_ac_var+set}\" = set"; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387 if test x$gcc_no_link = xyes; then
26388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26390 { (exit 1); exit 1; }; }
26392 cat >conftest.$ac_ext <<_ACEOF
26393 /* confdefs.h. */
26394 _ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26400 #define $ac_func innocuous_$ac_func
26402 /* System header to define __stub macros and hopefully few prototypes,
26403 which can conflict with char $ac_func (); below.
26404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26405 <limits.h> exists even on freestanding compilers. */
26407 #ifdef __STDC__
26408 # include <limits.h>
26409 #else
26410 # include <assert.h>
26411 #endif
26413 #undef $ac_func
26415 /* Override any gcc2 internal prototype to avoid an error. */
26416 #ifdef __cplusplus
26417 extern "C"
26419 #endif
26420 /* We use char because int might match the return type of a gcc2
26421 builtin and then its argument prototype would still apply. */
26422 char $ac_func ();
26423 /* The GNU C library defines this for functions which it implements
26424 to always fail with ENOSYS. Some functions are actually named
26425 something starting with __ and the normal name is an alias. */
26426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26427 choke me
26428 #else
26429 char (*f) () = $ac_func;
26430 #endif
26431 #ifdef __cplusplus
26433 #endif
26436 main ()
26438 return f != $ac_func;
26440 return 0;
26442 _ACEOF
26443 rm -f conftest.$ac_objext conftest$ac_exeext
26444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26445 (eval $ac_link) 2>conftest.er1
26446 ac_status=$?
26447 grep -v '^ *+' conftest.er1 >conftest.err
26448 rm -f conftest.er1
26449 cat conftest.err >&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); } &&
26452 { ac_try='test -z "$ac_c_werror_flag"
26453 || test ! -s conftest.err'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26456 ac_status=$?
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; } &&
26459 { ac_try='test -s conftest$ac_exeext'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26462 ac_status=$?
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; }; then
26465 eval "$as_ac_var=yes"
26466 else
26467 echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.$ac_ext >&5
26470 eval "$as_ac_var=no"
26472 rm -f conftest.err conftest.$ac_objext \
26473 conftest$ac_exeext conftest.$ac_ext
26475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26477 if test `eval echo '${'$as_ac_var'}'` = yes; then
26478 cat >>confdefs.h <<_ACEOF
26479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26480 _ACEOF
26483 done
26485 else
26487 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26488 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26489 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26490 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 else
26496 ac_ext=cc
26497 ac_cpp='$CXXCPP $CPPFLAGS'
26498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26502 cat >conftest.$ac_ext <<_ACEOF
26503 /* confdefs.h. */
26504 _ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26508 #include <math.h>
26509 #ifdef HAVE_IEEEFP_H
26510 #include <ieeefp.h>
26511 #endif
26514 main ()
26516 _log10f(0);
26518 return 0;
26520 _ACEOF
26521 rm -f conftest.$ac_objext
26522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26523 (eval $ac_compile) 2>conftest.er1
26524 ac_status=$?
26525 grep -v '^ *+' conftest.er1 >conftest.err
26526 rm -f conftest.er1
26527 cat conftest.err >&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); } &&
26530 { ac_try='test -z "$ac_cxx_werror_flag"
26531 || test ! -s conftest.err'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26534 ac_status=$?
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; } &&
26537 { ac_try='test -s conftest.$ac_objext'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26540 ac_status=$?
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; }; then
26543 glibcxx_cv_func__log10f_use=yes
26544 else
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26548 glibcxx_cv_func__log10f_use=no
26550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26551 ac_ext=c
26552 ac_cpp='$CPP $CPPFLAGS'
26553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26562 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26564 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26566 for ac_func in _log10f
26568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26569 echo "$as_me:$LINENO: checking for $ac_func" >&5
26570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26571 if eval "test \"\${$as_ac_var+set}\" = set"; then
26572 echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26574 if test x$gcc_no_link = xyes; then
26575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26577 { (exit 1); exit 1; }; }
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26587 #define $ac_func innocuous_$ac_func
26589 /* System header to define __stub macros and hopefully few prototypes,
26590 which can conflict with char $ac_func (); below.
26591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26592 <limits.h> exists even on freestanding compilers. */
26594 #ifdef __STDC__
26595 # include <limits.h>
26596 #else
26597 # include <assert.h>
26598 #endif
26600 #undef $ac_func
26602 /* Override any gcc2 internal prototype to avoid an error. */
26603 #ifdef __cplusplus
26604 extern "C"
26606 #endif
26607 /* We use char because int might match the return type of a gcc2
26608 builtin and then its argument prototype would still apply. */
26609 char $ac_func ();
26610 /* The GNU C library defines this for functions which it implements
26611 to always fail with ENOSYS. Some functions are actually named
26612 something starting with __ and the normal name is an alias. */
26613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26614 choke me
26615 #else
26616 char (*f) () = $ac_func;
26617 #endif
26618 #ifdef __cplusplus
26620 #endif
26623 main ()
26625 return f != $ac_func;
26627 return 0;
26629 _ACEOF
26630 rm -f conftest.$ac_objext conftest$ac_exeext
26631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26632 (eval $ac_link) 2>conftest.er1
26633 ac_status=$?
26634 grep -v '^ *+' conftest.er1 >conftest.err
26635 rm -f conftest.er1
26636 cat conftest.err >&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); } &&
26639 { ac_try='test -z "$ac_c_werror_flag"
26640 || test ! -s conftest.err'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; } &&
26646 { ac_try='test -s conftest$ac_exeext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652 eval "$as_ac_var=yes"
26653 else
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26657 eval "$as_ac_var=no"
26659 rm -f conftest.err conftest.$ac_objext \
26660 conftest$ac_exeext conftest.$ac_ext
26662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26664 if test `eval echo '${'$as_ac_var'}'` = yes; then
26665 cat >>confdefs.h <<_ACEOF
26666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26667 _ACEOF
26670 done
26680 echo "$as_me:$LINENO: checking for modff declaration" >&5
26681 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26682 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26683 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 else
26689 ac_ext=cc
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26695 cat >conftest.$ac_ext <<_ACEOF
26696 /* confdefs.h. */
26697 _ACEOF
26698 cat confdefs.h >>conftest.$ac_ext
26699 cat >>conftest.$ac_ext <<_ACEOF
26700 /* end confdefs.h. */
26701 #include <math.h>
26703 main ()
26705 modff(0, 0);
26707 return 0;
26709 _ACEOF
26710 rm -f conftest.$ac_objext
26711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26712 (eval $ac_compile) 2>conftest.er1
26713 ac_status=$?
26714 grep -v '^ *+' conftest.er1 >conftest.err
26715 rm -f conftest.er1
26716 cat conftest.err >&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } &&
26719 { ac_try='test -z "$ac_cxx_werror_flag"
26720 || test ! -s conftest.err'
26721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722 (eval $ac_try) 2>&5
26723 ac_status=$?
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); }; } &&
26726 { ac_try='test -s conftest.$ac_objext'
26727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26728 (eval $ac_try) 2>&5
26729 ac_status=$?
26730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731 (exit $ac_status); }; }; then
26732 glibcxx_cv_func_modff_use=yes
26733 else
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26737 glibcxx_cv_func_modff_use=no
26739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26740 ac_ext=c
26741 ac_cpp='$CPP $CPPFLAGS'
26742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26751 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26753 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26755 for ac_func in modff
26757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26758 echo "$as_me:$LINENO: checking for $ac_func" >&5
26759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26760 if eval "test \"\${$as_ac_var+set}\" = set"; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763 if test x$gcc_no_link = xyes; then
26764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26766 { (exit 1); exit 1; }; }
26768 cat >conftest.$ac_ext <<_ACEOF
26769 /* confdefs.h. */
26770 _ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26776 #define $ac_func innocuous_$ac_func
26778 /* System header to define __stub macros and hopefully few prototypes,
26779 which can conflict with char $ac_func (); below.
26780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26781 <limits.h> exists even on freestanding compilers. */
26783 #ifdef __STDC__
26784 # include <limits.h>
26785 #else
26786 # include <assert.h>
26787 #endif
26789 #undef $ac_func
26791 /* Override any gcc2 internal prototype to avoid an error. */
26792 #ifdef __cplusplus
26793 extern "C"
26795 #endif
26796 /* We use char because int might match the return type of a gcc2
26797 builtin and then its argument prototype would still apply. */
26798 char $ac_func ();
26799 /* The GNU C library defines this for functions which it implements
26800 to always fail with ENOSYS. Some functions are actually named
26801 something starting with __ and the normal name is an alias. */
26802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26803 choke me
26804 #else
26805 char (*f) () = $ac_func;
26806 #endif
26807 #ifdef __cplusplus
26809 #endif
26812 main ()
26814 return f != $ac_func;
26816 return 0;
26818 _ACEOF
26819 rm -f conftest.$ac_objext conftest$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821 (eval $ac_link) 2>conftest.er1
26822 ac_status=$?
26823 grep -v '^ *+' conftest.er1 >conftest.err
26824 rm -f conftest.er1
26825 cat conftest.err >&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try='test -z "$ac_c_werror_flag"
26829 || test ! -s conftest.err'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26832 ac_status=$?
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; } &&
26835 { ac_try='test -s conftest$ac_exeext'
26836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837 (eval $ac_try) 2>&5
26838 ac_status=$?
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); }; }; then
26841 eval "$as_ac_var=yes"
26842 else
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26846 eval "$as_ac_var=no"
26848 rm -f conftest.err conftest.$ac_objext \
26849 conftest$ac_exeext conftest.$ac_ext
26851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26853 if test `eval echo '${'$as_ac_var'}'` = yes; then
26854 cat >>confdefs.h <<_ACEOF
26855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26856 _ACEOF
26859 done
26861 else
26863 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26864 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26865 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26866 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26867 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 else
26872 ac_ext=cc
26873 ac_cpp='$CXXCPP $CPPFLAGS'
26874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26878 cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h. */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26884 #include <math.h>
26886 main ()
26888 _modff(0, 0);
26890 return 0;
26892 _ACEOF
26893 rm -f conftest.$ac_objext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26895 (eval $ac_compile) 2>conftest.er1
26896 ac_status=$?
26897 grep -v '^ *+' conftest.er1 >conftest.err
26898 rm -f conftest.er1
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } &&
26902 { ac_try='test -z "$ac_cxx_werror_flag"
26903 || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try='test -s conftest.$ac_objext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 glibcxx_cv_func__modff_use=yes
26916 else
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26920 glibcxx_cv_func__modff_use=no
26922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26923 ac_ext=c
26924 ac_cpp='$CPP $CPPFLAGS'
26925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26933 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26934 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26936 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26938 for ac_func in _modff
26940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26941 echo "$as_me:$LINENO: checking for $ac_func" >&5
26942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26943 if eval "test \"\${$as_ac_var+set}\" = set"; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26945 else
26946 if test x$gcc_no_link = xyes; then
26947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949 { (exit 1); exit 1; }; }
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26959 #define $ac_func innocuous_$ac_func
26961 /* System header to define __stub macros and hopefully few prototypes,
26962 which can conflict with char $ac_func (); below.
26963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26964 <limits.h> exists even on freestanding compilers. */
26966 #ifdef __STDC__
26967 # include <limits.h>
26968 #else
26969 # include <assert.h>
26970 #endif
26972 #undef $ac_func
26974 /* Override any gcc2 internal prototype to avoid an error. */
26975 #ifdef __cplusplus
26976 extern "C"
26978 #endif
26979 /* We use char because int might match the return type of a gcc2
26980 builtin and then its argument prototype would still apply. */
26981 char $ac_func ();
26982 /* The GNU C library defines this for functions which it implements
26983 to always fail with ENOSYS. Some functions are actually named
26984 something starting with __ and the normal name is an alias. */
26985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26986 choke me
26987 #else
26988 char (*f) () = $ac_func;
26989 #endif
26990 #ifdef __cplusplus
26992 #endif
26995 main ()
26997 return f != $ac_func;
26999 return 0;
27001 _ACEOF
27002 rm -f conftest.$ac_objext conftest$ac_exeext
27003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27004 (eval $ac_link) 2>conftest.er1
27005 ac_status=$?
27006 grep -v '^ *+' conftest.er1 >conftest.err
27007 rm -f conftest.er1
27008 cat conftest.err >&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } &&
27011 { ac_try='test -z "$ac_c_werror_flag"
27012 || test ! -s conftest.err'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27015 ac_status=$?
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; } &&
27018 { ac_try='test -s conftest$ac_exeext'
27019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020 (eval $ac_try) 2>&5
27021 ac_status=$?
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); }; }; then
27024 eval "$as_ac_var=yes"
27025 else
27026 echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27029 eval "$as_ac_var=no"
27031 rm -f conftest.err conftest.$ac_objext \
27032 conftest$ac_exeext conftest.$ac_ext
27034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27036 if test `eval echo '${'$as_ac_var'}'` = yes; then
27037 cat >>confdefs.h <<_ACEOF
27038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27039 _ACEOF
27042 done
27052 echo "$as_me:$LINENO: checking for modf declaration" >&5
27053 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27054 if test x${glibcxx_cv_func_modf_use+set} != xset; then
27055 if test "${glibcxx_cv_func_modf_use+set}" = set; then
27056 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 else
27061 ac_ext=cc
27062 ac_cpp='$CXXCPP $CPPFLAGS'
27063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27067 cat >conftest.$ac_ext <<_ACEOF
27068 /* confdefs.h. */
27069 _ACEOF
27070 cat confdefs.h >>conftest.$ac_ext
27071 cat >>conftest.$ac_ext <<_ACEOF
27072 /* end confdefs.h. */
27073 #include <math.h>
27075 main ()
27077 modf(0, 0);
27079 return 0;
27081 _ACEOF
27082 rm -f conftest.$ac_objext
27083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27084 (eval $ac_compile) 2>conftest.er1
27085 ac_status=$?
27086 grep -v '^ *+' conftest.er1 >conftest.err
27087 rm -f conftest.er1
27088 cat conftest.err >&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); } &&
27091 { ac_try='test -z "$ac_cxx_werror_flag"
27092 || test ! -s conftest.err'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27095 ac_status=$?
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; } &&
27098 { ac_try='test -s conftest.$ac_objext'
27099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27100 (eval $ac_try) 2>&5
27101 ac_status=$?
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); }; }; then
27104 glibcxx_cv_func_modf_use=yes
27105 else
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27109 glibcxx_cv_func_modf_use=no
27111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27112 ac_ext=c
27113 ac_cpp='$CPP $CPPFLAGS'
27114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27123 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27125 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27127 for ac_func in modf
27129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27130 echo "$as_me:$LINENO: checking for $ac_func" >&5
27131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27132 if eval "test \"\${$as_ac_var+set}\" = set"; then
27133 echo $ECHO_N "(cached) $ECHO_C" >&6
27134 else
27135 if test x$gcc_no_link = xyes; then
27136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27138 { (exit 1); exit 1; }; }
27140 cat >conftest.$ac_ext <<_ACEOF
27141 /* confdefs.h. */
27142 _ACEOF
27143 cat confdefs.h >>conftest.$ac_ext
27144 cat >>conftest.$ac_ext <<_ACEOF
27145 /* end confdefs.h. */
27146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27148 #define $ac_func innocuous_$ac_func
27150 /* System header to define __stub macros and hopefully few prototypes,
27151 which can conflict with char $ac_func (); below.
27152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27153 <limits.h> exists even on freestanding compilers. */
27155 #ifdef __STDC__
27156 # include <limits.h>
27157 #else
27158 # include <assert.h>
27159 #endif
27161 #undef $ac_func
27163 /* Override any gcc2 internal prototype to avoid an error. */
27164 #ifdef __cplusplus
27165 extern "C"
27167 #endif
27168 /* We use char because int might match the return type of a gcc2
27169 builtin and then its argument prototype would still apply. */
27170 char $ac_func ();
27171 /* The GNU C library defines this for functions which it implements
27172 to always fail with ENOSYS. Some functions are actually named
27173 something starting with __ and the normal name is an alias. */
27174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27175 choke me
27176 #else
27177 char (*f) () = $ac_func;
27178 #endif
27179 #ifdef __cplusplus
27181 #endif
27184 main ()
27186 return f != $ac_func;
27188 return 0;
27190 _ACEOF
27191 rm -f conftest.$ac_objext conftest$ac_exeext
27192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27193 (eval $ac_link) 2>conftest.er1
27194 ac_status=$?
27195 grep -v '^ *+' conftest.er1 >conftest.err
27196 rm -f conftest.er1
27197 cat conftest.err >&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); } &&
27200 { ac_try='test -z "$ac_c_werror_flag"
27201 || test ! -s conftest.err'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27204 ac_status=$?
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; } &&
27207 { ac_try='test -s conftest$ac_exeext'
27208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209 (eval $ac_try) 2>&5
27210 ac_status=$?
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); }; }; then
27213 eval "$as_ac_var=yes"
27214 else
27215 echo "$as_me: failed program was:" >&5
27216 sed 's/^/| /' conftest.$ac_ext >&5
27218 eval "$as_ac_var=no"
27220 rm -f conftest.err conftest.$ac_objext \
27221 conftest$ac_exeext conftest.$ac_ext
27223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27225 if test `eval echo '${'$as_ac_var'}'` = yes; then
27226 cat >>confdefs.h <<_ACEOF
27227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27228 _ACEOF
27231 done
27233 else
27235 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27236 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27237 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27238 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27239 echo $ECHO_N "(cached) $ECHO_C" >&6
27240 else
27244 ac_ext=cc
27245 ac_cpp='$CXXCPP $CPPFLAGS'
27246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27250 cat >conftest.$ac_ext <<_ACEOF
27251 /* confdefs.h. */
27252 _ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <math.h>
27258 main ()
27260 _modf(0, 0);
27262 return 0;
27264 _ACEOF
27265 rm -f conftest.$ac_objext
27266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27267 (eval $ac_compile) 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } &&
27274 { ac_try='test -z "$ac_cxx_werror_flag"
27275 || test ! -s conftest.err'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27278 ac_status=$?
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; } &&
27281 { ac_try='test -s conftest.$ac_objext'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27284 ac_status=$?
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; }; then
27287 glibcxx_cv_func__modf_use=yes
27288 else
27289 echo "$as_me: failed program was:" >&5
27290 sed 's/^/| /' conftest.$ac_ext >&5
27292 glibcxx_cv_func__modf_use=no
27294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27295 ac_ext=c
27296 ac_cpp='$CPP $CPPFLAGS'
27297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27305 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27306 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27308 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27310 for ac_func in _modf
27312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27313 echo "$as_me:$LINENO: checking for $ac_func" >&5
27314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27315 if eval "test \"\${$as_ac_var+set}\" = set"; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27317 else
27318 if test x$gcc_no_link = xyes; then
27319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27321 { (exit 1); exit 1; }; }
27323 cat >conftest.$ac_ext <<_ACEOF
27324 /* confdefs.h. */
27325 _ACEOF
27326 cat confdefs.h >>conftest.$ac_ext
27327 cat >>conftest.$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27331 #define $ac_func innocuous_$ac_func
27333 /* System header to define __stub macros and hopefully few prototypes,
27334 which can conflict with char $ac_func (); below.
27335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27336 <limits.h> exists even on freestanding compilers. */
27338 #ifdef __STDC__
27339 # include <limits.h>
27340 #else
27341 # include <assert.h>
27342 #endif
27344 #undef $ac_func
27346 /* Override any gcc2 internal prototype to avoid an error. */
27347 #ifdef __cplusplus
27348 extern "C"
27350 #endif
27351 /* We use char because int might match the return type of a gcc2
27352 builtin and then its argument prototype would still apply. */
27353 char $ac_func ();
27354 /* The GNU C library defines this for functions which it implements
27355 to always fail with ENOSYS. Some functions are actually named
27356 something starting with __ and the normal name is an alias. */
27357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27358 choke me
27359 #else
27360 char (*f) () = $ac_func;
27361 #endif
27362 #ifdef __cplusplus
27364 #endif
27367 main ()
27369 return f != $ac_func;
27371 return 0;
27373 _ACEOF
27374 rm -f conftest.$ac_objext conftest$ac_exeext
27375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27376 (eval $ac_link) 2>conftest.er1
27377 ac_status=$?
27378 grep -v '^ *+' conftest.er1 >conftest.err
27379 rm -f conftest.er1
27380 cat conftest.err >&5
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); } &&
27383 { ac_try='test -z "$ac_c_werror_flag"
27384 || test ! -s conftest.err'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27387 ac_status=$?
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; } &&
27390 { ac_try='test -s conftest$ac_exeext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27393 ac_status=$?
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 eval "$as_ac_var=yes"
27397 else
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27401 eval "$as_ac_var=no"
27403 rm -f conftest.err conftest.$ac_objext \
27404 conftest$ac_exeext conftest.$ac_ext
27406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27408 if test `eval echo '${'$as_ac_var'}'` = yes; then
27409 cat >>confdefs.h <<_ACEOF
27410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27411 _ACEOF
27414 done
27424 echo "$as_me:$LINENO: checking for powf declaration" >&5
27425 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27426 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27427 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27428 echo $ECHO_N "(cached) $ECHO_C" >&6
27429 else
27433 ac_ext=cc
27434 ac_cpp='$CXXCPP $CPPFLAGS'
27435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27439 cat >conftest.$ac_ext <<_ACEOF
27440 /* confdefs.h. */
27441 _ACEOF
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27445 #include <math.h>
27447 main ()
27449 powf(0, 0);
27451 return 0;
27453 _ACEOF
27454 rm -f conftest.$ac_objext
27455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27456 (eval $ac_compile) 2>conftest.er1
27457 ac_status=$?
27458 grep -v '^ *+' conftest.er1 >conftest.err
27459 rm -f conftest.er1
27460 cat conftest.err >&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } &&
27463 { ac_try='test -z "$ac_cxx_werror_flag"
27464 || test ! -s conftest.err'
27465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27466 (eval $ac_try) 2>&5
27467 ac_status=$?
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); }; } &&
27470 { ac_try='test -s conftest.$ac_objext'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; }; then
27476 glibcxx_cv_func_powf_use=yes
27477 else
27478 echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.$ac_ext >&5
27481 glibcxx_cv_func_powf_use=no
27483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27484 ac_ext=c
27485 ac_cpp='$CPP $CPPFLAGS'
27486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27495 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27497 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27499 for ac_func in powf
27501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27502 echo "$as_me:$LINENO: checking for $ac_func" >&5
27503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27504 if eval "test \"\${$as_ac_var+set}\" = set"; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27506 else
27507 if test x$gcc_no_link = xyes; then
27508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27510 { (exit 1); exit 1; }; }
27512 cat >conftest.$ac_ext <<_ACEOF
27513 /* confdefs.h. */
27514 _ACEOF
27515 cat confdefs.h >>conftest.$ac_ext
27516 cat >>conftest.$ac_ext <<_ACEOF
27517 /* end confdefs.h. */
27518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27520 #define $ac_func innocuous_$ac_func
27522 /* System header to define __stub macros and hopefully few prototypes,
27523 which can conflict with char $ac_func (); below.
27524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27525 <limits.h> exists even on freestanding compilers. */
27527 #ifdef __STDC__
27528 # include <limits.h>
27529 #else
27530 # include <assert.h>
27531 #endif
27533 #undef $ac_func
27535 /* Override any gcc2 internal prototype to avoid an error. */
27536 #ifdef __cplusplus
27537 extern "C"
27539 #endif
27540 /* We use char because int might match the return type of a gcc2
27541 builtin and then its argument prototype would still apply. */
27542 char $ac_func ();
27543 /* The GNU C library defines this for functions which it implements
27544 to always fail with ENOSYS. Some functions are actually named
27545 something starting with __ and the normal name is an alias. */
27546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27547 choke me
27548 #else
27549 char (*f) () = $ac_func;
27550 #endif
27551 #ifdef __cplusplus
27553 #endif
27556 main ()
27558 return f != $ac_func;
27560 return 0;
27562 _ACEOF
27563 rm -f conftest.$ac_objext conftest$ac_exeext
27564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27565 (eval $ac_link) 2>conftest.er1
27566 ac_status=$?
27567 grep -v '^ *+' conftest.er1 >conftest.err
27568 rm -f conftest.er1
27569 cat conftest.err >&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); } &&
27572 { ac_try='test -z "$ac_c_werror_flag"
27573 || test ! -s conftest.err'
27574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27575 (eval $ac_try) 2>&5
27576 ac_status=$?
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); }; } &&
27579 { ac_try='test -s conftest$ac_exeext'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; }; then
27585 eval "$as_ac_var=yes"
27586 else
27587 echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.$ac_ext >&5
27590 eval "$as_ac_var=no"
27592 rm -f conftest.err conftest.$ac_objext \
27593 conftest$ac_exeext conftest.$ac_ext
27595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27597 if test `eval echo '${'$as_ac_var'}'` = yes; then
27598 cat >>confdefs.h <<_ACEOF
27599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27600 _ACEOF
27603 done
27605 else
27607 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27608 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27609 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27610 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27611 echo $ECHO_N "(cached) $ECHO_C" >&6
27612 else
27616 ac_ext=cc
27617 ac_cpp='$CXXCPP $CPPFLAGS'
27618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27622 cat >conftest.$ac_ext <<_ACEOF
27623 /* confdefs.h. */
27624 _ACEOF
27625 cat confdefs.h >>conftest.$ac_ext
27626 cat >>conftest.$ac_ext <<_ACEOF
27627 /* end confdefs.h. */
27628 #include <math.h>
27630 main ()
27632 _powf(0, 0);
27634 return 0;
27636 _ACEOF
27637 rm -f conftest.$ac_objext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27639 (eval $ac_compile) 2>conftest.er1
27640 ac_status=$?
27641 grep -v '^ *+' conftest.er1 >conftest.err
27642 rm -f conftest.er1
27643 cat conftest.err >&5
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); } &&
27646 { ac_try='test -z "$ac_cxx_werror_flag"
27647 || test ! -s conftest.err'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27650 ac_status=$?
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; } &&
27653 { ac_try='test -s conftest.$ac_objext'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; }; then
27659 glibcxx_cv_func__powf_use=yes
27660 else
27661 echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27664 glibcxx_cv_func__powf_use=no
27666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27667 ac_ext=c
27668 ac_cpp='$CPP $CPPFLAGS'
27669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27678 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27680 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27682 for ac_func in _powf
27684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27685 echo "$as_me:$LINENO: checking for $ac_func" >&5
27686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27687 if eval "test \"\${$as_ac_var+set}\" = set"; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 else
27690 if test x$gcc_no_link = xyes; then
27691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27693 { (exit 1); exit 1; }; }
27695 cat >conftest.$ac_ext <<_ACEOF
27696 /* confdefs.h. */
27697 _ACEOF
27698 cat confdefs.h >>conftest.$ac_ext
27699 cat >>conftest.$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27703 #define $ac_func innocuous_$ac_func
27705 /* System header to define __stub macros and hopefully few prototypes,
27706 which can conflict with char $ac_func (); below.
27707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27708 <limits.h> exists even on freestanding compilers. */
27710 #ifdef __STDC__
27711 # include <limits.h>
27712 #else
27713 # include <assert.h>
27714 #endif
27716 #undef $ac_func
27718 /* Override any gcc2 internal prototype to avoid an error. */
27719 #ifdef __cplusplus
27720 extern "C"
27722 #endif
27723 /* We use char because int might match the return type of a gcc2
27724 builtin and then its argument prototype would still apply. */
27725 char $ac_func ();
27726 /* The GNU C library defines this for functions which it implements
27727 to always fail with ENOSYS. Some functions are actually named
27728 something starting with __ and the normal name is an alias. */
27729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27730 choke me
27731 #else
27732 char (*f) () = $ac_func;
27733 #endif
27734 #ifdef __cplusplus
27736 #endif
27739 main ()
27741 return f != $ac_func;
27743 return 0;
27745 _ACEOF
27746 rm -f conftest.$ac_objext conftest$ac_exeext
27747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27748 (eval $ac_link) 2>conftest.er1
27749 ac_status=$?
27750 grep -v '^ *+' conftest.er1 >conftest.err
27751 rm -f conftest.er1
27752 cat conftest.err >&5
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); } &&
27755 { ac_try='test -z "$ac_c_werror_flag"
27756 || test ! -s conftest.err'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27759 ac_status=$?
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; } &&
27762 { ac_try='test -s conftest$ac_exeext'
27763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27764 (eval $ac_try) 2>&5
27765 ac_status=$?
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); }; }; then
27768 eval "$as_ac_var=yes"
27769 else
27770 echo "$as_me: failed program was:" >&5
27771 sed 's/^/| /' conftest.$ac_ext >&5
27773 eval "$as_ac_var=no"
27775 rm -f conftest.err conftest.$ac_objext \
27776 conftest$ac_exeext conftest.$ac_ext
27778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27780 if test `eval echo '${'$as_ac_var'}'` = yes; then
27781 cat >>confdefs.h <<_ACEOF
27782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27783 _ACEOF
27786 done
27796 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27797 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27798 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27799 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27800 echo $ECHO_N "(cached) $ECHO_C" >&6
27801 else
27805 ac_ext=cc
27806 ac_cpp='$CXXCPP $CPPFLAGS'
27807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27811 cat >conftest.$ac_ext <<_ACEOF
27812 /* confdefs.h. */
27813 _ACEOF
27814 cat confdefs.h >>conftest.$ac_ext
27815 cat >>conftest.$ac_ext <<_ACEOF
27816 /* end confdefs.h. */
27817 #include <math.h>
27818 #ifdef HAVE_IEEEFP_H
27819 #include <ieeefp.h>
27820 #endif
27823 main ()
27825 sqrtf(0);
27827 return 0;
27829 _ACEOF
27830 rm -f conftest.$ac_objext
27831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27832 (eval $ac_compile) 2>conftest.er1
27833 ac_status=$?
27834 grep -v '^ *+' conftest.er1 >conftest.err
27835 rm -f conftest.er1
27836 cat conftest.err >&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); } &&
27839 { ac_try='test -z "$ac_cxx_werror_flag"
27840 || test ! -s conftest.err'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27843 ac_status=$?
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; } &&
27846 { ac_try='test -s conftest.$ac_objext'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27849 ac_status=$?
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; }; then
27852 glibcxx_cv_func_sqrtf_use=yes
27853 else
27854 echo "$as_me: failed program was:" >&5
27855 sed 's/^/| /' conftest.$ac_ext >&5
27857 glibcxx_cv_func_sqrtf_use=no
27859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27860 ac_ext=c
27861 ac_cpp='$CPP $CPPFLAGS'
27862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27871 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27873 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27875 for ac_func in sqrtf
27877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27878 echo "$as_me:$LINENO: checking for $ac_func" >&5
27879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27880 if eval "test \"\${$as_ac_var+set}\" = set"; then
27881 echo $ECHO_N "(cached) $ECHO_C" >&6
27882 else
27883 if test x$gcc_no_link = xyes; then
27884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27886 { (exit 1); exit 1; }; }
27888 cat >conftest.$ac_ext <<_ACEOF
27889 /* confdefs.h. */
27890 _ACEOF
27891 cat confdefs.h >>conftest.$ac_ext
27892 cat >>conftest.$ac_ext <<_ACEOF
27893 /* end confdefs.h. */
27894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27896 #define $ac_func innocuous_$ac_func
27898 /* System header to define __stub macros and hopefully few prototypes,
27899 which can conflict with char $ac_func (); below.
27900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27901 <limits.h> exists even on freestanding compilers. */
27903 #ifdef __STDC__
27904 # include <limits.h>
27905 #else
27906 # include <assert.h>
27907 #endif
27909 #undef $ac_func
27911 /* Override any gcc2 internal prototype to avoid an error. */
27912 #ifdef __cplusplus
27913 extern "C"
27915 #endif
27916 /* We use char because int might match the return type of a gcc2
27917 builtin and then its argument prototype would still apply. */
27918 char $ac_func ();
27919 /* The GNU C library defines this for functions which it implements
27920 to always fail with ENOSYS. Some functions are actually named
27921 something starting with __ and the normal name is an alias. */
27922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27923 choke me
27924 #else
27925 char (*f) () = $ac_func;
27926 #endif
27927 #ifdef __cplusplus
27929 #endif
27932 main ()
27934 return f != $ac_func;
27936 return 0;
27938 _ACEOF
27939 rm -f conftest.$ac_objext conftest$ac_exeext
27940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27941 (eval $ac_link) 2>conftest.er1
27942 ac_status=$?
27943 grep -v '^ *+' conftest.er1 >conftest.err
27944 rm -f conftest.er1
27945 cat conftest.err >&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); } &&
27948 { ac_try='test -z "$ac_c_werror_flag"
27949 || test ! -s conftest.err'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; } &&
27955 { ac_try='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 eval "$as_ac_var=yes"
27962 else
27963 echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.$ac_ext >&5
27966 eval "$as_ac_var=no"
27968 rm -f conftest.err conftest.$ac_objext \
27969 conftest$ac_exeext conftest.$ac_ext
27971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27973 if test `eval echo '${'$as_ac_var'}'` = yes; then
27974 cat >>confdefs.h <<_ACEOF
27975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27976 _ACEOF
27979 done
27981 else
27983 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27984 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27985 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27986 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27988 else
27992 ac_ext=cc
27993 ac_cpp='$CXXCPP $CPPFLAGS'
27994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27998 cat >conftest.$ac_ext <<_ACEOF
27999 /* confdefs.h. */
28000 _ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28004 #include <math.h>
28005 #ifdef HAVE_IEEEFP_H
28006 #include <ieeefp.h>
28007 #endif
28010 main ()
28012 _sqrtf(0);
28014 return 0;
28016 _ACEOF
28017 rm -f conftest.$ac_objext
28018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28019 (eval $ac_compile) 2>conftest.er1
28020 ac_status=$?
28021 grep -v '^ *+' conftest.er1 >conftest.err
28022 rm -f conftest.er1
28023 cat conftest.err >&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } &&
28026 { ac_try='test -z "$ac_cxx_werror_flag"
28027 || test ! -s conftest.err'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; } &&
28033 { ac_try='test -s conftest.$ac_objext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 glibcxx_cv_func__sqrtf_use=yes
28040 else
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28044 glibcxx_cv_func__sqrtf_use=no
28046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28047 ac_ext=c
28048 ac_cpp='$CPP $CPPFLAGS'
28049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28058 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28060 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28062 for ac_func in _sqrtf
28064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28065 echo "$as_me:$LINENO: checking for $ac_func" >&5
28066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28067 if eval "test \"\${$as_ac_var+set}\" = set"; then
28068 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 else
28070 if test x$gcc_no_link = xyes; then
28071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28073 { (exit 1); exit 1; }; }
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28083 #define $ac_func innocuous_$ac_func
28085 /* System header to define __stub macros and hopefully few prototypes,
28086 which can conflict with char $ac_func (); below.
28087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28088 <limits.h> exists even on freestanding compilers. */
28090 #ifdef __STDC__
28091 # include <limits.h>
28092 #else
28093 # include <assert.h>
28094 #endif
28096 #undef $ac_func
28098 /* Override any gcc2 internal prototype to avoid an error. */
28099 #ifdef __cplusplus
28100 extern "C"
28102 #endif
28103 /* We use char because int might match the return type of a gcc2
28104 builtin and then its argument prototype would still apply. */
28105 char $ac_func ();
28106 /* The GNU C library defines this for functions which it implements
28107 to always fail with ENOSYS. Some functions are actually named
28108 something starting with __ and the normal name is an alias. */
28109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28110 choke me
28111 #else
28112 char (*f) () = $ac_func;
28113 #endif
28114 #ifdef __cplusplus
28116 #endif
28119 main ()
28121 return f != $ac_func;
28123 return 0;
28125 _ACEOF
28126 rm -f conftest.$ac_objext conftest$ac_exeext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28128 (eval $ac_link) 2>conftest.er1
28129 ac_status=$?
28130 grep -v '^ *+' conftest.er1 >conftest.err
28131 rm -f conftest.er1
28132 cat conftest.err >&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try='test -z "$ac_c_werror_flag"
28136 || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28139 ac_status=$?
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try='test -s conftest$ac_exeext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28145 ac_status=$?
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 eval "$as_ac_var=yes"
28149 else
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28153 eval "$as_ac_var=no"
28155 rm -f conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28160 if test `eval echo '${'$as_ac_var'}'` = yes; then
28161 cat >>confdefs.h <<_ACEOF
28162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28163 _ACEOF
28166 done
28176 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28177 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28178 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28179 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28180 echo $ECHO_N "(cached) $ECHO_C" >&6
28181 else
28185 ac_ext=cc
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28191 cat >conftest.$ac_ext <<_ACEOF
28192 /* confdefs.h. */
28193 _ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197 #include <math.h>
28199 main ()
28201 sincosf(0, 0, 0);
28203 return 0;
28205 _ACEOF
28206 rm -f conftest.$ac_objext
28207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28208 (eval $ac_compile) 2>conftest.er1
28209 ac_status=$?
28210 grep -v '^ *+' conftest.er1 >conftest.err
28211 rm -f conftest.er1
28212 cat conftest.err >&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } &&
28215 { ac_try='test -z "$ac_cxx_werror_flag"
28216 || test ! -s conftest.err'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28219 ac_status=$?
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; } &&
28222 { ac_try='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 glibcxx_cv_func_sincosf_use=yes
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28233 glibcxx_cv_func_sincosf_use=no
28235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28236 ac_ext=c
28237 ac_cpp='$CPP $CPPFLAGS'
28238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28247 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28249 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28251 for ac_func in sincosf
28253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28254 echo "$as_me:$LINENO: checking for $ac_func" >&5
28255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28256 if eval "test \"\${$as_ac_var+set}\" = set"; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28258 else
28259 if test x$gcc_no_link = xyes; then
28260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28262 { (exit 1); exit 1; }; }
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28272 #define $ac_func innocuous_$ac_func
28274 /* System header to define __stub macros and hopefully few prototypes,
28275 which can conflict with char $ac_func (); below.
28276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28277 <limits.h> exists even on freestanding compilers. */
28279 #ifdef __STDC__
28280 # include <limits.h>
28281 #else
28282 # include <assert.h>
28283 #endif
28285 #undef $ac_func
28287 /* Override any gcc2 internal prototype to avoid an error. */
28288 #ifdef __cplusplus
28289 extern "C"
28291 #endif
28292 /* We use char because int might match the return type of a gcc2
28293 builtin and then its argument prototype would still apply. */
28294 char $ac_func ();
28295 /* The GNU C library defines this for functions which it implements
28296 to always fail with ENOSYS. Some functions are actually named
28297 something starting with __ and the normal name is an alias. */
28298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28299 choke me
28300 #else
28301 char (*f) () = $ac_func;
28302 #endif
28303 #ifdef __cplusplus
28305 #endif
28308 main ()
28310 return f != $ac_func;
28312 return 0;
28314 _ACEOF
28315 rm -f conftest.$ac_objext conftest$ac_exeext
28316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28317 (eval $ac_link) 2>conftest.er1
28318 ac_status=$?
28319 grep -v '^ *+' conftest.er1 >conftest.err
28320 rm -f conftest.er1
28321 cat conftest.err >&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } &&
28324 { ac_try='test -z "$ac_c_werror_flag"
28325 || test ! -s conftest.err'
28326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 (eval $ac_try) 2>&5
28328 ac_status=$?
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; } &&
28331 { ac_try='test -s conftest$ac_exeext'
28332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 (eval $ac_try) 2>&5
28334 ac_status=$?
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; }; then
28337 eval "$as_ac_var=yes"
28338 else
28339 echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.$ac_ext >&5
28342 eval "$as_ac_var=no"
28344 rm -f conftest.err conftest.$ac_objext \
28345 conftest$ac_exeext conftest.$ac_ext
28347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28349 if test `eval echo '${'$as_ac_var'}'` = yes; then
28350 cat >>confdefs.h <<_ACEOF
28351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28352 _ACEOF
28355 done
28357 else
28359 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28360 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28361 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28362 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 else
28368 ac_ext=cc
28369 ac_cpp='$CXXCPP $CPPFLAGS'
28370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28374 cat >conftest.$ac_ext <<_ACEOF
28375 /* confdefs.h. */
28376 _ACEOF
28377 cat confdefs.h >>conftest.$ac_ext
28378 cat >>conftest.$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28380 #include <math.h>
28382 main ()
28384 _sincosf(0, 0, 0);
28386 return 0;
28388 _ACEOF
28389 rm -f conftest.$ac_objext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28391 (eval $ac_compile) 2>conftest.er1
28392 ac_status=$?
28393 grep -v '^ *+' conftest.er1 >conftest.err
28394 rm -f conftest.er1
28395 cat conftest.err >&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try='test -z "$ac_cxx_werror_flag"
28399 || test ! -s conftest.err'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28402 ac_status=$?
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; } &&
28405 { ac_try='test -s conftest.$ac_objext'
28406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407 (eval $ac_try) 2>&5
28408 ac_status=$?
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); }; }; then
28411 glibcxx_cv_func__sincosf_use=yes
28412 else
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28416 glibcxx_cv_func__sincosf_use=no
28418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28419 ac_ext=c
28420 ac_cpp='$CPP $CPPFLAGS'
28421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28430 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28432 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28434 for ac_func in _sincosf
28436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28437 echo "$as_me:$LINENO: checking for $ac_func" >&5
28438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28439 if eval "test \"\${$as_ac_var+set}\" = set"; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28441 else
28442 if test x$gcc_no_link = xyes; then
28443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28445 { (exit 1); exit 1; }; }
28447 cat >conftest.$ac_ext <<_ACEOF
28448 /* confdefs.h. */
28449 _ACEOF
28450 cat confdefs.h >>conftest.$ac_ext
28451 cat >>conftest.$ac_ext <<_ACEOF
28452 /* end confdefs.h. */
28453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28455 #define $ac_func innocuous_$ac_func
28457 /* System header to define __stub macros and hopefully few prototypes,
28458 which can conflict with char $ac_func (); below.
28459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28460 <limits.h> exists even on freestanding compilers. */
28462 #ifdef __STDC__
28463 # include <limits.h>
28464 #else
28465 # include <assert.h>
28466 #endif
28468 #undef $ac_func
28470 /* Override any gcc2 internal prototype to avoid an error. */
28471 #ifdef __cplusplus
28472 extern "C"
28474 #endif
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28477 char $ac_func ();
28478 /* The GNU C library defines this for functions which it implements
28479 to always fail with ENOSYS. Some functions are actually named
28480 something starting with __ and the normal name is an alias. */
28481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28482 choke me
28483 #else
28484 char (*f) () = $ac_func;
28485 #endif
28486 #ifdef __cplusplus
28488 #endif
28491 main ()
28493 return f != $ac_func;
28495 return 0;
28497 _ACEOF
28498 rm -f conftest.$ac_objext conftest$ac_exeext
28499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28500 (eval $ac_link) 2>conftest.er1
28501 ac_status=$?
28502 grep -v '^ *+' conftest.er1 >conftest.err
28503 rm -f conftest.er1
28504 cat conftest.err >&5
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); } &&
28507 { ac_try='test -z "$ac_c_werror_flag"
28508 || test ! -s conftest.err'
28509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28510 (eval $ac_try) 2>&5
28511 ac_status=$?
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; } &&
28514 { ac_try='test -s conftest$ac_exeext'
28515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516 (eval $ac_try) 2>&5
28517 ac_status=$?
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); }; }; then
28520 eval "$as_ac_var=yes"
28521 else
28522 echo "$as_me: failed program was:" >&5
28523 sed 's/^/| /' conftest.$ac_ext >&5
28525 eval "$as_ac_var=no"
28527 rm -f conftest.err conftest.$ac_objext \
28528 conftest$ac_exeext conftest.$ac_ext
28530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28532 if test `eval echo '${'$as_ac_var'}'` = yes; then
28533 cat >>confdefs.h <<_ACEOF
28534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28535 _ACEOF
28538 done
28548 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28549 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28550 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28551 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28552 echo $ECHO_N "(cached) $ECHO_C" >&6
28553 else
28557 ac_ext=cc
28558 ac_cpp='$CXXCPP $CPPFLAGS'
28559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28563 cat >conftest.$ac_ext <<_ACEOF
28564 /* confdefs.h. */
28565 _ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28569 #include <math.h>
28570 #ifdef HAVE_IEEEFP_H
28571 #include <ieeefp.h>
28572 #endif
28575 main ()
28577 finitef(0);
28579 return 0;
28581 _ACEOF
28582 rm -f conftest.$ac_objext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28584 (eval $ac_compile) 2>conftest.er1
28585 ac_status=$?
28586 grep -v '^ *+' conftest.er1 >conftest.err
28587 rm -f conftest.er1
28588 cat conftest.err >&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } &&
28591 { ac_try='test -z "$ac_cxx_werror_flag"
28592 || test ! -s conftest.err'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; } &&
28598 { ac_try='test -s conftest.$ac_objext'
28599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 (eval $ac_try) 2>&5
28601 ac_status=$?
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); }; }; then
28604 glibcxx_cv_func_finitef_use=yes
28605 else
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28609 glibcxx_cv_func_finitef_use=no
28611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28612 ac_ext=c
28613 ac_cpp='$CPP $CPPFLAGS'
28614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28623 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28625 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28627 for ac_func in finitef
28629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28630 echo "$as_me:$LINENO: checking for $ac_func" >&5
28631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28632 if eval "test \"\${$as_ac_var+set}\" = set"; then
28633 echo $ECHO_N "(cached) $ECHO_C" >&6
28634 else
28635 if test x$gcc_no_link = xyes; then
28636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28638 { (exit 1); exit 1; }; }
28640 cat >conftest.$ac_ext <<_ACEOF
28641 /* confdefs.h. */
28642 _ACEOF
28643 cat confdefs.h >>conftest.$ac_ext
28644 cat >>conftest.$ac_ext <<_ACEOF
28645 /* end confdefs.h. */
28646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28648 #define $ac_func innocuous_$ac_func
28650 /* System header to define __stub macros and hopefully few prototypes,
28651 which can conflict with char $ac_func (); below.
28652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28653 <limits.h> exists even on freestanding compilers. */
28655 #ifdef __STDC__
28656 # include <limits.h>
28657 #else
28658 # include <assert.h>
28659 #endif
28661 #undef $ac_func
28663 /* Override any gcc2 internal prototype to avoid an error. */
28664 #ifdef __cplusplus
28665 extern "C"
28667 #endif
28668 /* We use char because int might match the return type of a gcc2
28669 builtin and then its argument prototype would still apply. */
28670 char $ac_func ();
28671 /* The GNU C library defines this for functions which it implements
28672 to always fail with ENOSYS. Some functions are actually named
28673 something starting with __ and the normal name is an alias. */
28674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28675 choke me
28676 #else
28677 char (*f) () = $ac_func;
28678 #endif
28679 #ifdef __cplusplus
28681 #endif
28684 main ()
28686 return f != $ac_func;
28688 return 0;
28690 _ACEOF
28691 rm -f conftest.$ac_objext conftest$ac_exeext
28692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28693 (eval $ac_link) 2>conftest.er1
28694 ac_status=$?
28695 grep -v '^ *+' conftest.er1 >conftest.err
28696 rm -f conftest.er1
28697 cat conftest.err >&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } &&
28700 { ac_try='test -z "$ac_c_werror_flag"
28701 || test ! -s conftest.err'
28702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28703 (eval $ac_try) 2>&5
28704 ac_status=$?
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); }; } &&
28707 { ac_try='test -s conftest$ac_exeext'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28710 ac_status=$?
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; }; then
28713 eval "$as_ac_var=yes"
28714 else
28715 echo "$as_me: failed program was:" >&5
28716 sed 's/^/| /' conftest.$ac_ext >&5
28718 eval "$as_ac_var=no"
28720 rm -f conftest.err conftest.$ac_objext \
28721 conftest$ac_exeext conftest.$ac_ext
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28725 if test `eval echo '${'$as_ac_var'}'` = yes; then
28726 cat >>confdefs.h <<_ACEOF
28727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28728 _ACEOF
28731 done
28733 else
28735 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28736 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28737 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28738 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28739 echo $ECHO_N "(cached) $ECHO_C" >&6
28740 else
28744 ac_ext=cc
28745 ac_cpp='$CXXCPP $CPPFLAGS'
28746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28750 cat >conftest.$ac_ext <<_ACEOF
28751 /* confdefs.h. */
28752 _ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h. */
28756 #include <math.h>
28757 #ifdef HAVE_IEEEFP_H
28758 #include <ieeefp.h>
28759 #endif
28762 main ()
28764 _finitef(0);
28766 return 0;
28768 _ACEOF
28769 rm -f conftest.$ac_objext
28770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28771 (eval $ac_compile) 2>conftest.er1
28772 ac_status=$?
28773 grep -v '^ *+' conftest.er1 >conftest.err
28774 rm -f conftest.er1
28775 cat conftest.err >&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); } &&
28778 { ac_try='test -z "$ac_cxx_werror_flag"
28779 || test ! -s conftest.err'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28782 ac_status=$?
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; } &&
28785 { ac_try='test -s conftest.$ac_objext'
28786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28787 (eval $ac_try) 2>&5
28788 ac_status=$?
28789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790 (exit $ac_status); }; }; then
28791 glibcxx_cv_func__finitef_use=yes
28792 else
28793 echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28796 glibcxx_cv_func__finitef_use=no
28798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28799 ac_ext=c
28800 ac_cpp='$CPP $CPPFLAGS'
28801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28809 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28810 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28812 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28814 for ac_func in _finitef
28816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28817 echo "$as_me:$LINENO: checking for $ac_func" >&5
28818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28819 if eval "test \"\${$as_ac_var+set}\" = set"; then
28820 echo $ECHO_N "(cached) $ECHO_C" >&6
28821 else
28822 if test x$gcc_no_link = xyes; then
28823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28825 { (exit 1); exit 1; }; }
28827 cat >conftest.$ac_ext <<_ACEOF
28828 /* confdefs.h. */
28829 _ACEOF
28830 cat confdefs.h >>conftest.$ac_ext
28831 cat >>conftest.$ac_ext <<_ACEOF
28832 /* end confdefs.h. */
28833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28835 #define $ac_func innocuous_$ac_func
28837 /* System header to define __stub macros and hopefully few prototypes,
28838 which can conflict with char $ac_func (); below.
28839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28840 <limits.h> exists even on freestanding compilers. */
28842 #ifdef __STDC__
28843 # include <limits.h>
28844 #else
28845 # include <assert.h>
28846 #endif
28848 #undef $ac_func
28850 /* Override any gcc2 internal prototype to avoid an error. */
28851 #ifdef __cplusplus
28852 extern "C"
28854 #endif
28855 /* We use char because int might match the return type of a gcc2
28856 builtin and then its argument prototype would still apply. */
28857 char $ac_func ();
28858 /* The GNU C library defines this for functions which it implements
28859 to always fail with ENOSYS. Some functions are actually named
28860 something starting with __ and the normal name is an alias. */
28861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28862 choke me
28863 #else
28864 char (*f) () = $ac_func;
28865 #endif
28866 #ifdef __cplusplus
28868 #endif
28871 main ()
28873 return f != $ac_func;
28875 return 0;
28877 _ACEOF
28878 rm -f conftest.$ac_objext conftest$ac_exeext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28880 (eval $ac_link) 2>conftest.er1
28881 ac_status=$?
28882 grep -v '^ *+' conftest.er1 >conftest.err
28883 rm -f conftest.er1
28884 cat conftest.err >&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try='test -z "$ac_c_werror_flag"
28888 || test ! -s conftest.err'
28889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28890 (eval $ac_try) 2>&5
28891 ac_status=$?
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); }; } &&
28894 { ac_try='test -s conftest$ac_exeext'
28895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28896 (eval $ac_try) 2>&5
28897 ac_status=$?
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); }; }; then
28900 eval "$as_ac_var=yes"
28901 else
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.$ac_ext >&5
28905 eval "$as_ac_var=no"
28907 rm -f conftest.err conftest.$ac_objext \
28908 conftest$ac_exeext conftest.$ac_ext
28910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28912 if test `eval echo '${'$as_ac_var'}'` = yes; then
28913 cat >>confdefs.h <<_ACEOF
28914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28915 _ACEOF
28918 done
28928 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28929 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28930 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28936 ac_ext=cc
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948 #include <math.h>
28950 main ()
28952 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28954 return 0;
28956 _ACEOF
28957 rm -f conftest.$ac_objext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28959 (eval $ac_compile) 2>conftest.er1
28960 ac_status=$?
28961 grep -v '^ *+' conftest.er1 >conftest.err
28962 rm -f conftest.er1
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_cxx_werror_flag"
28967 || test ! -s conftest.err'
28968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969 (eval $ac_try) 2>&5
28970 ac_status=$?
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); }; } &&
28973 { ac_try='test -s conftest.$ac_objext'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28976 ac_status=$?
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; }; then
28979 glibcxx_cv_func_long_double_trig_use=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 glibcxx_cv_func_long_double_trig_use=no
28986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28987 ac_ext=c
28988 ac_cpp='$CPP $CPPFLAGS'
28989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28996 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28997 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29007 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29010 echo "$as_me:$LINENO: checking for $ac_func" >&5
29011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29012 if eval "test \"\${$as_ac_var+set}\" = set"; then
29013 echo $ECHO_N "(cached) $ECHO_C" >&6
29014 else
29015 if test x$gcc_no_link = xyes; then
29016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29018 { (exit 1); exit 1; }; }
29020 cat >conftest.$ac_ext <<_ACEOF
29021 /* confdefs.h. */
29022 _ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29028 #define $ac_func innocuous_$ac_func
29030 /* System header to define __stub macros and hopefully few prototypes,
29031 which can conflict with char $ac_func (); below.
29032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29033 <limits.h> exists even on freestanding compilers. */
29035 #ifdef __STDC__
29036 # include <limits.h>
29037 #else
29038 # include <assert.h>
29039 #endif
29041 #undef $ac_func
29043 /* Override any gcc2 internal prototype to avoid an error. */
29044 #ifdef __cplusplus
29045 extern "C"
29047 #endif
29048 /* We use char because int might match the return type of a gcc2
29049 builtin and then its argument prototype would still apply. */
29050 char $ac_func ();
29051 /* The GNU C library defines this for functions which it implements
29052 to always fail with ENOSYS. Some functions are actually named
29053 something starting with __ and the normal name is an alias. */
29054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29055 choke me
29056 #else
29057 char (*f) () = $ac_func;
29058 #endif
29059 #ifdef __cplusplus
29061 #endif
29064 main ()
29066 return f != $ac_func;
29068 return 0;
29070 _ACEOF
29071 rm -f conftest.$ac_objext conftest$ac_exeext
29072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29073 (eval $ac_link) 2>conftest.er1
29074 ac_status=$?
29075 grep -v '^ *+' conftest.er1 >conftest.err
29076 rm -f conftest.er1
29077 cat conftest.err >&5
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); } &&
29080 { ac_try='test -z "$ac_c_werror_flag"
29081 || test ! -s conftest.err'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29084 ac_status=$?
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; } &&
29087 { ac_try='test -s conftest$ac_exeext'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 eval "$as_ac_var=yes"
29094 else
29095 echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29098 eval "$as_ac_var=no"
29100 rm -f conftest.err conftest.$ac_objext \
29101 conftest$ac_exeext conftest.$ac_ext
29103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29105 if test `eval echo '${'$as_ac_var'}'` = yes; then
29106 cat >>confdefs.h <<_ACEOF
29107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29108 _ACEOF
29111 done
29113 else
29114 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29115 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29116 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 else
29122 ac_ext=cc
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29128 cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h. */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29134 #include <math.h>
29136 main ()
29138 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29140 return 0;
29142 _ACEOF
29143 rm -f conftest.$ac_objext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29145 (eval $ac_compile) 2>conftest.er1
29146 ac_status=$?
29147 grep -v '^ *+' conftest.er1 >conftest.err
29148 rm -f conftest.er1
29149 cat conftest.err >&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } &&
29152 { ac_try='test -z "$ac_cxx_werror_flag"
29153 || test ! -s conftest.err'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; } &&
29159 { ac_try='test -s conftest.$ac_objext'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29162 ac_status=$?
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; }; then
29165 glibcxx_cv_func__long_double_trig_use=yes
29166 else
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29170 glibcxx_cv_func__long_double_trig_use=no
29172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29173 ac_ext=c
29174 ac_cpp='$CPP $CPPFLAGS'
29175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29182 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29183 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29193 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29196 echo "$as_me:$LINENO: checking for $ac_func" >&5
29197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29198 if eval "test \"\${$as_ac_var+set}\" = set"; then
29199 echo $ECHO_N "(cached) $ECHO_C" >&6
29200 else
29201 if test x$gcc_no_link = xyes; then
29202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29204 { (exit 1); exit 1; }; }
29206 cat >conftest.$ac_ext <<_ACEOF
29207 /* confdefs.h. */
29208 _ACEOF
29209 cat confdefs.h >>conftest.$ac_ext
29210 cat >>conftest.$ac_ext <<_ACEOF
29211 /* end confdefs.h. */
29212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29214 #define $ac_func innocuous_$ac_func
29216 /* System header to define __stub macros and hopefully few prototypes,
29217 which can conflict with char $ac_func (); below.
29218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29219 <limits.h> exists even on freestanding compilers. */
29221 #ifdef __STDC__
29222 # include <limits.h>
29223 #else
29224 # include <assert.h>
29225 #endif
29227 #undef $ac_func
29229 /* Override any gcc2 internal prototype to avoid an error. */
29230 #ifdef __cplusplus
29231 extern "C"
29233 #endif
29234 /* We use char because int might match the return type of a gcc2
29235 builtin and then its argument prototype would still apply. */
29236 char $ac_func ();
29237 /* The GNU C library defines this for functions which it implements
29238 to always fail with ENOSYS. Some functions are actually named
29239 something starting with __ and the normal name is an alias. */
29240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29241 choke me
29242 #else
29243 char (*f) () = $ac_func;
29244 #endif
29245 #ifdef __cplusplus
29247 #endif
29250 main ()
29252 return f != $ac_func;
29254 return 0;
29256 _ACEOF
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29259 (eval $ac_link) 2>conftest.er1
29260 ac_status=$?
29261 grep -v '^ *+' conftest.er1 >conftest.err
29262 rm -f conftest.er1
29263 cat conftest.err >&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); } &&
29266 { ac_try='test -z "$ac_c_werror_flag"
29267 || test ! -s conftest.err'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29270 ac_status=$?
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; } &&
29273 { ac_try='test -s conftest$ac_exeext'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29276 ac_status=$?
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; }; then
29279 eval "$as_ac_var=yes"
29280 else
29281 echo "$as_me: failed program was:" >&5
29282 sed 's/^/| /' conftest.$ac_ext >&5
29284 eval "$as_ac_var=no"
29286 rm -f conftest.err conftest.$ac_objext \
29287 conftest$ac_exeext conftest.$ac_ext
29289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29291 if test `eval echo '${'$as_ac_var'}'` = yes; then
29292 cat >>confdefs.h <<_ACEOF
29293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29294 _ACEOF
29297 done
29315 echo "$as_me:$LINENO: checking for long double round functions" >&5
29316 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29317 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29318 echo $ECHO_N "(cached) $ECHO_C" >&6
29319 else
29323 ac_ext=cc
29324 ac_cpp='$CXXCPP $CPPFLAGS'
29325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29329 cat >conftest.$ac_ext <<_ACEOF
29330 /* confdefs.h. */
29331 _ACEOF
29332 cat confdefs.h >>conftest.$ac_ext
29333 cat >>conftest.$ac_ext <<_ACEOF
29334 /* end confdefs.h. */
29335 #include <math.h>
29337 main ()
29339 ceill (0); floorl (0);
29341 return 0;
29343 _ACEOF
29344 rm -f conftest.$ac_objext
29345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29346 (eval $ac_compile) 2>conftest.er1
29347 ac_status=$?
29348 grep -v '^ *+' conftest.er1 >conftest.err
29349 rm -f conftest.er1
29350 cat conftest.err >&5
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); } &&
29353 { ac_try='test -z "$ac_cxx_werror_flag"
29354 || test ! -s conftest.err'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29357 ac_status=$?
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; } &&
29360 { ac_try='test -s conftest.$ac_objext'
29361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29362 (eval $ac_try) 2>&5
29363 ac_status=$?
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); }; }; then
29366 glibcxx_cv_func_long_double_round_use=yes
29367 else
29368 echo "$as_me: failed program was:" >&5
29369 sed 's/^/| /' conftest.$ac_ext >&5
29371 glibcxx_cv_func_long_double_round_use=no
29373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29374 ac_ext=c
29375 ac_cpp='$CPP $CPPFLAGS'
29376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29383 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29384 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29387 for ac_func in ceill floorl
29389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29390 echo "$as_me:$LINENO: checking for $ac_func" >&5
29391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29392 if eval "test \"\${$as_ac_var+set}\" = set"; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395 if test x$gcc_no_link = xyes; then
29396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29398 { (exit 1); exit 1; }; }
29400 cat >conftest.$ac_ext <<_ACEOF
29401 /* confdefs.h. */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29408 #define $ac_func innocuous_$ac_func
29410 /* System header to define __stub macros and hopefully few prototypes,
29411 which can conflict with char $ac_func (); below.
29412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29413 <limits.h> exists even on freestanding compilers. */
29415 #ifdef __STDC__
29416 # include <limits.h>
29417 #else
29418 # include <assert.h>
29419 #endif
29421 #undef $ac_func
29423 /* Override any gcc2 internal prototype to avoid an error. */
29424 #ifdef __cplusplus
29425 extern "C"
29427 #endif
29428 /* We use char because int might match the return type of a gcc2
29429 builtin and then its argument prototype would still apply. */
29430 char $ac_func ();
29431 /* The GNU C library defines this for functions which it implements
29432 to always fail with ENOSYS. Some functions are actually named
29433 something starting with __ and the normal name is an alias. */
29434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29435 choke me
29436 #else
29437 char (*f) () = $ac_func;
29438 #endif
29439 #ifdef __cplusplus
29441 #endif
29444 main ()
29446 return f != $ac_func;
29448 return 0;
29450 _ACEOF
29451 rm -f conftest.$ac_objext conftest$ac_exeext
29452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29453 (eval $ac_link) 2>conftest.er1
29454 ac_status=$?
29455 grep -v '^ *+' conftest.er1 >conftest.err
29456 rm -f conftest.er1
29457 cat conftest.err >&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); } &&
29460 { ac_try='test -z "$ac_c_werror_flag"
29461 || test ! -s conftest.err'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; } &&
29467 { ac_try='test -s conftest$ac_exeext'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29470 ac_status=$?
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; }; then
29473 eval "$as_ac_var=yes"
29474 else
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29478 eval "$as_ac_var=no"
29480 rm -f conftest.err conftest.$ac_objext \
29481 conftest$ac_exeext conftest.$ac_ext
29483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29485 if test `eval echo '${'$as_ac_var'}'` = yes; then
29486 cat >>confdefs.h <<_ACEOF
29487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29488 _ACEOF
29491 done
29493 else
29494 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29495 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29496 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29497 echo $ECHO_N "(cached) $ECHO_C" >&6
29498 else
29502 ac_ext=cc
29503 ac_cpp='$CXXCPP $CPPFLAGS'
29504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29508 cat >conftest.$ac_ext <<_ACEOF
29509 /* confdefs.h. */
29510 _ACEOF
29511 cat confdefs.h >>conftest.$ac_ext
29512 cat >>conftest.$ac_ext <<_ACEOF
29513 /* end confdefs.h. */
29514 #include <math.h>
29516 main ()
29518 _ceill (0); _floorl (0);
29520 return 0;
29522 _ACEOF
29523 rm -f conftest.$ac_objext
29524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29525 (eval $ac_compile) 2>conftest.er1
29526 ac_status=$?
29527 grep -v '^ *+' conftest.er1 >conftest.err
29528 rm -f conftest.er1
29529 cat conftest.err >&5
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); } &&
29532 { ac_try='test -z "$ac_cxx_werror_flag"
29533 || test ! -s conftest.err'
29534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535 (eval $ac_try) 2>&5
29536 ac_status=$?
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); }; } &&
29539 { ac_try='test -s conftest.$ac_objext'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29542 ac_status=$?
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; }; then
29545 glibcxx_cv_func__long_double_round_use=yes
29546 else
29547 echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.$ac_ext >&5
29550 glibcxx_cv_func__long_double_round_use=no
29552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29553 ac_ext=c
29554 ac_cpp='$CPP $CPPFLAGS'
29555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29562 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29563 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29566 for ac_func in _ceill _floorl
29568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29569 echo "$as_me:$LINENO: checking for $ac_func" >&5
29570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29571 if eval "test \"\${$as_ac_var+set}\" = set"; then
29572 echo $ECHO_N "(cached) $ECHO_C" >&6
29573 else
29574 if test x$gcc_no_link = xyes; then
29575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29577 { (exit 1); exit 1; }; }
29579 cat >conftest.$ac_ext <<_ACEOF
29580 /* confdefs.h. */
29581 _ACEOF
29582 cat confdefs.h >>conftest.$ac_ext
29583 cat >>conftest.$ac_ext <<_ACEOF
29584 /* end confdefs.h. */
29585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29587 #define $ac_func innocuous_$ac_func
29589 /* System header to define __stub macros and hopefully few prototypes,
29590 which can conflict with char $ac_func (); below.
29591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29592 <limits.h> exists even on freestanding compilers. */
29594 #ifdef __STDC__
29595 # include <limits.h>
29596 #else
29597 # include <assert.h>
29598 #endif
29600 #undef $ac_func
29602 /* Override any gcc2 internal prototype to avoid an error. */
29603 #ifdef __cplusplus
29604 extern "C"
29606 #endif
29607 /* We use char because int might match the return type of a gcc2
29608 builtin and then its argument prototype would still apply. */
29609 char $ac_func ();
29610 /* The GNU C library defines this for functions which it implements
29611 to always fail with ENOSYS. Some functions are actually named
29612 something starting with __ and the normal name is an alias. */
29613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29614 choke me
29615 #else
29616 char (*f) () = $ac_func;
29617 #endif
29618 #ifdef __cplusplus
29620 #endif
29623 main ()
29625 return f != $ac_func;
29627 return 0;
29629 _ACEOF
29630 rm -f conftest.$ac_objext conftest$ac_exeext
29631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29632 (eval $ac_link) 2>conftest.er1
29633 ac_status=$?
29634 grep -v '^ *+' conftest.er1 >conftest.err
29635 rm -f conftest.er1
29636 cat conftest.err >&5
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); } &&
29639 { ac_try='test -z "$ac_c_werror_flag"
29640 || test ! -s conftest.err'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29643 ac_status=$?
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; } &&
29646 { ac_try='test -s conftest$ac_exeext'
29647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29648 (eval $ac_try) 2>&5
29649 ac_status=$?
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); }; }; then
29652 eval "$as_ac_var=yes"
29653 else
29654 echo "$as_me: failed program was:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29657 eval "$as_ac_var=no"
29659 rm -f conftest.err conftest.$ac_objext \
29660 conftest$ac_exeext conftest.$ac_ext
29662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29664 if test `eval echo '${'$as_ac_var'}'` = yes; then
29665 cat >>confdefs.h <<_ACEOF
29666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29667 _ACEOF
29670 done
29682 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29683 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29684 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29685 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 else
29691 ac_ext=cc
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29697 cat >conftest.$ac_ext <<_ACEOF
29698 /* confdefs.h. */
29699 _ACEOF
29700 cat confdefs.h >>conftest.$ac_ext
29701 cat >>conftest.$ac_ext <<_ACEOF
29702 /* end confdefs.h. */
29703 #include <math.h>
29704 #ifdef HAVE_IEEEFP_H
29705 #include <ieeefp.h>
29706 #endif
29709 main ()
29711 isnanl(0);
29713 return 0;
29715 _ACEOF
29716 rm -f conftest.$ac_objext
29717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29718 (eval $ac_compile) 2>conftest.er1
29719 ac_status=$?
29720 grep -v '^ *+' conftest.er1 >conftest.err
29721 rm -f conftest.er1
29722 cat conftest.err >&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } &&
29725 { ac_try='test -z "$ac_cxx_werror_flag"
29726 || test ! -s conftest.err'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29729 ac_status=$?
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; } &&
29732 { ac_try='test -s conftest.$ac_objext'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29735 ac_status=$?
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; }; then
29738 glibcxx_cv_func_isnanl_use=yes
29739 else
29740 echo "$as_me: failed program was:" >&5
29741 sed 's/^/| /' conftest.$ac_ext >&5
29743 glibcxx_cv_func_isnanl_use=no
29745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29746 ac_ext=c
29747 ac_cpp='$CPP $CPPFLAGS'
29748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29757 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29759 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29761 for ac_func in isnanl
29763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29764 echo "$as_me:$LINENO: checking for $ac_func" >&5
29765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29766 if eval "test \"\${$as_ac_var+set}\" = set"; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29768 else
29769 if test x$gcc_no_link = xyes; then
29770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29772 { (exit 1); exit 1; }; }
29774 cat >conftest.$ac_ext <<_ACEOF
29775 /* confdefs.h. */
29776 _ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29782 #define $ac_func innocuous_$ac_func
29784 /* System header to define __stub macros and hopefully few prototypes,
29785 which can conflict with char $ac_func (); below.
29786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29787 <limits.h> exists even on freestanding compilers. */
29789 #ifdef __STDC__
29790 # include <limits.h>
29791 #else
29792 # include <assert.h>
29793 #endif
29795 #undef $ac_func
29797 /* Override any gcc2 internal prototype to avoid an error. */
29798 #ifdef __cplusplus
29799 extern "C"
29801 #endif
29802 /* We use char because int might match the return type of a gcc2
29803 builtin and then its argument prototype would still apply. */
29804 char $ac_func ();
29805 /* The GNU C library defines this for functions which it implements
29806 to always fail with ENOSYS. Some functions are actually named
29807 something starting with __ and the normal name is an alias. */
29808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29809 choke me
29810 #else
29811 char (*f) () = $ac_func;
29812 #endif
29813 #ifdef __cplusplus
29815 #endif
29818 main ()
29820 return f != $ac_func;
29822 return 0;
29824 _ACEOF
29825 rm -f conftest.$ac_objext conftest$ac_exeext
29826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29827 (eval $ac_link) 2>conftest.er1
29828 ac_status=$?
29829 grep -v '^ *+' conftest.er1 >conftest.err
29830 rm -f conftest.er1
29831 cat conftest.err >&5
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); } &&
29834 { ac_try='test -z "$ac_c_werror_flag"
29835 || test ! -s conftest.err'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29838 ac_status=$?
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; } &&
29841 { ac_try='test -s conftest$ac_exeext'
29842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843 (eval $ac_try) 2>&5
29844 ac_status=$?
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); }; }; then
29847 eval "$as_ac_var=yes"
29848 else
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.$ac_ext >&5
29852 eval "$as_ac_var=no"
29854 rm -f conftest.err conftest.$ac_objext \
29855 conftest$ac_exeext conftest.$ac_ext
29857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29859 if test `eval echo '${'$as_ac_var'}'` = yes; then
29860 cat >>confdefs.h <<_ACEOF
29861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29862 _ACEOF
29865 done
29867 else
29869 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29870 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29871 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29872 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29873 echo $ECHO_N "(cached) $ECHO_C" >&6
29874 else
29878 ac_ext=cc
29879 ac_cpp='$CXXCPP $CPPFLAGS'
29880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 #include <math.h>
29891 #ifdef HAVE_IEEEFP_H
29892 #include <ieeefp.h>
29893 #endif
29896 main ()
29898 _isnanl(0);
29900 return 0;
29902 _ACEOF
29903 rm -f conftest.$ac_objext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29905 (eval $ac_compile) 2>conftest.er1
29906 ac_status=$?
29907 grep -v '^ *+' conftest.er1 >conftest.err
29908 rm -f conftest.er1
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try='test -z "$ac_cxx_werror_flag"
29913 || test ! -s conftest.err'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; } &&
29919 { ac_try='test -s conftest.$ac_objext'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29922 ac_status=$?
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; }; then
29925 glibcxx_cv_func__isnanl_use=yes
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29930 glibcxx_cv_func__isnanl_use=no
29932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29933 ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29944 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29946 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29948 for ac_func in _isnanl
29950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29951 echo "$as_me:$LINENO: checking for $ac_func" >&5
29952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29953 if eval "test \"\${$as_ac_var+set}\" = set"; then
29954 echo $ECHO_N "(cached) $ECHO_C" >&6
29955 else
29956 if test x$gcc_no_link = xyes; then
29957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29959 { (exit 1); exit 1; }; }
29961 cat >conftest.$ac_ext <<_ACEOF
29962 /* confdefs.h. */
29963 _ACEOF
29964 cat confdefs.h >>conftest.$ac_ext
29965 cat >>conftest.$ac_ext <<_ACEOF
29966 /* end confdefs.h. */
29967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29969 #define $ac_func innocuous_$ac_func
29971 /* System header to define __stub macros and hopefully few prototypes,
29972 which can conflict with char $ac_func (); below.
29973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29974 <limits.h> exists even on freestanding compilers. */
29976 #ifdef __STDC__
29977 # include <limits.h>
29978 #else
29979 # include <assert.h>
29980 #endif
29982 #undef $ac_func
29984 /* Override any gcc2 internal prototype to avoid an error. */
29985 #ifdef __cplusplus
29986 extern "C"
29988 #endif
29989 /* We use char because int might match the return type of a gcc2
29990 builtin and then its argument prototype would still apply. */
29991 char $ac_func ();
29992 /* The GNU C library defines this for functions which it implements
29993 to always fail with ENOSYS. Some functions are actually named
29994 something starting with __ and the normal name is an alias. */
29995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29996 choke me
29997 #else
29998 char (*f) () = $ac_func;
29999 #endif
30000 #ifdef __cplusplus
30002 #endif
30005 main ()
30007 return f != $ac_func;
30009 return 0;
30011 _ACEOF
30012 rm -f conftest.$ac_objext conftest$ac_exeext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30014 (eval $ac_link) 2>conftest.er1
30015 ac_status=$?
30016 grep -v '^ *+' conftest.er1 >conftest.err
30017 rm -f conftest.er1
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try='test -z "$ac_c_werror_flag"
30022 || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30025 ac_status=$?
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try='test -s conftest$ac_exeext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30031 ac_status=$?
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30034 eval "$as_ac_var=yes"
30035 else
30036 echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.$ac_ext >&5
30039 eval "$as_ac_var=no"
30041 rm -f conftest.err conftest.$ac_objext \
30042 conftest$ac_exeext conftest.$ac_ext
30044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30046 if test `eval echo '${'$as_ac_var'}'` = yes; then
30047 cat >>confdefs.h <<_ACEOF
30048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30049 _ACEOF
30052 done
30062 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30063 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30064 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30065 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30066 echo $ECHO_N "(cached) $ECHO_C" >&6
30067 else
30071 ac_ext=cc
30072 ac_cpp='$CXXCPP $CPPFLAGS'
30073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30077 cat >conftest.$ac_ext <<_ACEOF
30078 /* confdefs.h. */
30079 _ACEOF
30080 cat confdefs.h >>conftest.$ac_ext
30081 cat >>conftest.$ac_ext <<_ACEOF
30082 /* end confdefs.h. */
30083 #include <math.h>
30084 #ifdef HAVE_IEEEFP_H
30085 #include <ieeefp.h>
30086 #endif
30089 main ()
30091 isinfl(0);
30093 return 0;
30095 _ACEOF
30096 rm -f conftest.$ac_objext
30097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30098 (eval $ac_compile) 2>conftest.er1
30099 ac_status=$?
30100 grep -v '^ *+' conftest.er1 >conftest.err
30101 rm -f conftest.er1
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } &&
30105 { ac_try='test -z "$ac_cxx_werror_flag"
30106 || test ! -s conftest.err'
30107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30108 (eval $ac_try) 2>&5
30109 ac_status=$?
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); }; } &&
30112 { ac_try='test -s conftest.$ac_objext'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; }; then
30118 glibcxx_cv_func_isinfl_use=yes
30119 else
30120 echo "$as_me: failed program was:" >&5
30121 sed 's/^/| /' conftest.$ac_ext >&5
30123 glibcxx_cv_func_isinfl_use=no
30125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30126 ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30137 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30139 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30141 for ac_func in isinfl
30143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30144 echo "$as_me:$LINENO: checking for $ac_func" >&5
30145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30146 if eval "test \"\${$as_ac_var+set}\" = set"; then
30147 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 else
30149 if test x$gcc_no_link = xyes; then
30150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30152 { (exit 1); exit 1; }; }
30154 cat >conftest.$ac_ext <<_ACEOF
30155 /* confdefs.h. */
30156 _ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30162 #define $ac_func innocuous_$ac_func
30164 /* System header to define __stub macros and hopefully few prototypes,
30165 which can conflict with char $ac_func (); below.
30166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30167 <limits.h> exists even on freestanding compilers. */
30169 #ifdef __STDC__
30170 # include <limits.h>
30171 #else
30172 # include <assert.h>
30173 #endif
30175 #undef $ac_func
30177 /* Override any gcc2 internal prototype to avoid an error. */
30178 #ifdef __cplusplus
30179 extern "C"
30181 #endif
30182 /* We use char because int might match the return type of a gcc2
30183 builtin and then its argument prototype would still apply. */
30184 char $ac_func ();
30185 /* The GNU C library defines this for functions which it implements
30186 to always fail with ENOSYS. Some functions are actually named
30187 something starting with __ and the normal name is an alias. */
30188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30189 choke me
30190 #else
30191 char (*f) () = $ac_func;
30192 #endif
30193 #ifdef __cplusplus
30195 #endif
30198 main ()
30200 return f != $ac_func;
30202 return 0;
30204 _ACEOF
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30207 (eval $ac_link) 2>conftest.er1
30208 ac_status=$?
30209 grep -v '^ *+' conftest.er1 >conftest.err
30210 rm -f conftest.er1
30211 cat conftest.err >&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } &&
30214 { ac_try='test -z "$ac_c_werror_flag"
30215 || test ! -s conftest.err'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30218 ac_status=$?
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; } &&
30221 { ac_try='test -s conftest$ac_exeext'
30222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223 (eval $ac_try) 2>&5
30224 ac_status=$?
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; }; then
30227 eval "$as_ac_var=yes"
30228 else
30229 echo "$as_me: failed program was:" >&5
30230 sed 's/^/| /' conftest.$ac_ext >&5
30232 eval "$as_ac_var=no"
30234 rm -f conftest.err conftest.$ac_objext \
30235 conftest$ac_exeext conftest.$ac_ext
30237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30239 if test `eval echo '${'$as_ac_var'}'` = yes; then
30240 cat >>confdefs.h <<_ACEOF
30241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30242 _ACEOF
30245 done
30247 else
30249 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30250 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30251 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30252 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30253 echo $ECHO_N "(cached) $ECHO_C" >&6
30254 else
30258 ac_ext=cc
30259 ac_cpp='$CXXCPP $CPPFLAGS'
30260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30264 cat >conftest.$ac_ext <<_ACEOF
30265 /* confdefs.h. */
30266 _ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270 #include <math.h>
30271 #ifdef HAVE_IEEEFP_H
30272 #include <ieeefp.h>
30273 #endif
30276 main ()
30278 _isinfl(0);
30280 return 0;
30282 _ACEOF
30283 rm -f conftest.$ac_objext
30284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30285 (eval $ac_compile) 2>conftest.er1
30286 ac_status=$?
30287 grep -v '^ *+' conftest.er1 >conftest.err
30288 rm -f conftest.er1
30289 cat conftest.err >&5
30290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30291 (exit $ac_status); } &&
30292 { ac_try='test -z "$ac_cxx_werror_flag"
30293 || test ! -s conftest.err'
30294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30295 (eval $ac_try) 2>&5
30296 ac_status=$?
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); }; } &&
30299 { ac_try='test -s conftest.$ac_objext'
30300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30301 (eval $ac_try) 2>&5
30302 ac_status=$?
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; }; then
30305 glibcxx_cv_func__isinfl_use=yes
30306 else
30307 echo "$as_me: failed program was:" >&5
30308 sed 's/^/| /' conftest.$ac_ext >&5
30310 glibcxx_cv_func__isinfl_use=no
30312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30313 ac_ext=c
30314 ac_cpp='$CPP $CPPFLAGS'
30315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30324 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30326 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30328 for ac_func in _isinfl
30330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30331 echo "$as_me:$LINENO: checking for $ac_func" >&5
30332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30333 if eval "test \"\${$as_ac_var+set}\" = set"; then
30334 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 else
30336 if test x$gcc_no_link = xyes; then
30337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30339 { (exit 1); exit 1; }; }
30341 cat >conftest.$ac_ext <<_ACEOF
30342 /* confdefs.h. */
30343 _ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30349 #define $ac_func innocuous_$ac_func
30351 /* System header to define __stub macros and hopefully few prototypes,
30352 which can conflict with char $ac_func (); below.
30353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30354 <limits.h> exists even on freestanding compilers. */
30356 #ifdef __STDC__
30357 # include <limits.h>
30358 #else
30359 # include <assert.h>
30360 #endif
30362 #undef $ac_func
30364 /* Override any gcc2 internal prototype to avoid an error. */
30365 #ifdef __cplusplus
30366 extern "C"
30368 #endif
30369 /* We use char because int might match the return type of a gcc2
30370 builtin and then its argument prototype would still apply. */
30371 char $ac_func ();
30372 /* The GNU C library defines this for functions which it implements
30373 to always fail with ENOSYS. Some functions are actually named
30374 something starting with __ and the normal name is an alias. */
30375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30376 choke me
30377 #else
30378 char (*f) () = $ac_func;
30379 #endif
30380 #ifdef __cplusplus
30382 #endif
30385 main ()
30387 return f != $ac_func;
30389 return 0;
30391 _ACEOF
30392 rm -f conftest.$ac_objext conftest$ac_exeext
30393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30394 (eval $ac_link) 2>conftest.er1
30395 ac_status=$?
30396 grep -v '^ *+' conftest.er1 >conftest.err
30397 rm -f conftest.er1
30398 cat conftest.err >&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); } &&
30401 { ac_try='test -z "$ac_c_werror_flag"
30402 || test ! -s conftest.err'
30403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30404 (eval $ac_try) 2>&5
30405 ac_status=$?
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); }; } &&
30408 { ac_try='test -s conftest$ac_exeext'
30409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410 (eval $ac_try) 2>&5
30411 ac_status=$?
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); }; }; then
30414 eval "$as_ac_var=yes"
30415 else
30416 echo "$as_me: failed program was:" >&5
30417 sed 's/^/| /' conftest.$ac_ext >&5
30419 eval "$as_ac_var=no"
30421 rm -f conftest.err conftest.$ac_objext \
30422 conftest$ac_exeext conftest.$ac_ext
30424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30426 if test `eval echo '${'$as_ac_var'}'` = yes; then
30427 cat >>confdefs.h <<_ACEOF
30428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30429 _ACEOF
30432 done
30442 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30443 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30444 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30445 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30446 echo $ECHO_N "(cached) $ECHO_C" >&6
30447 else
30451 ac_ext=cc
30452 ac_cpp='$CXXCPP $CPPFLAGS'
30453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30457 cat >conftest.$ac_ext <<_ACEOF
30458 /* confdefs.h. */
30459 _ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30463 #include <math.h>
30465 main ()
30467 copysignl(0, 0);
30469 return 0;
30471 _ACEOF
30472 rm -f conftest.$ac_objext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30474 (eval $ac_compile) 2>conftest.er1
30475 ac_status=$?
30476 grep -v '^ *+' conftest.er1 >conftest.err
30477 rm -f conftest.er1
30478 cat conftest.err >&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try='test -z "$ac_cxx_werror_flag"
30482 || test ! -s conftest.err'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30485 ac_status=$?
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; } &&
30488 { ac_try='test -s conftest.$ac_objext'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; }; then
30494 glibcxx_cv_func_copysignl_use=yes
30495 else
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30499 glibcxx_cv_func_copysignl_use=no
30501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30502 ac_ext=c
30503 ac_cpp='$CPP $CPPFLAGS'
30504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30513 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30515 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30517 for ac_func in copysignl
30519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30520 echo "$as_me:$LINENO: checking for $ac_func" >&5
30521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30522 if eval "test \"\${$as_ac_var+set}\" = set"; then
30523 echo $ECHO_N "(cached) $ECHO_C" >&6
30524 else
30525 if test x$gcc_no_link = xyes; then
30526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30528 { (exit 1); exit 1; }; }
30530 cat >conftest.$ac_ext <<_ACEOF
30531 /* confdefs.h. */
30532 _ACEOF
30533 cat confdefs.h >>conftest.$ac_ext
30534 cat >>conftest.$ac_ext <<_ACEOF
30535 /* end confdefs.h. */
30536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30538 #define $ac_func innocuous_$ac_func
30540 /* System header to define __stub macros and hopefully few prototypes,
30541 which can conflict with char $ac_func (); below.
30542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30543 <limits.h> exists even on freestanding compilers. */
30545 #ifdef __STDC__
30546 # include <limits.h>
30547 #else
30548 # include <assert.h>
30549 #endif
30551 #undef $ac_func
30553 /* Override any gcc2 internal prototype to avoid an error. */
30554 #ifdef __cplusplus
30555 extern "C"
30557 #endif
30558 /* We use char because int might match the return type of a gcc2
30559 builtin and then its argument prototype would still apply. */
30560 char $ac_func ();
30561 /* The GNU C library defines this for functions which it implements
30562 to always fail with ENOSYS. Some functions are actually named
30563 something starting with __ and the normal name is an alias. */
30564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30565 choke me
30566 #else
30567 char (*f) () = $ac_func;
30568 #endif
30569 #ifdef __cplusplus
30571 #endif
30574 main ()
30576 return f != $ac_func;
30578 return 0;
30580 _ACEOF
30581 rm -f conftest.$ac_objext conftest$ac_exeext
30582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30583 (eval $ac_link) 2>conftest.er1
30584 ac_status=$?
30585 grep -v '^ *+' conftest.er1 >conftest.err
30586 rm -f conftest.er1
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } &&
30590 { ac_try='test -z "$ac_c_werror_flag"
30591 || test ! -s conftest.err'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30594 ac_status=$?
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; } &&
30597 { ac_try='test -s conftest$ac_exeext'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30600 ac_status=$?
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; }; then
30603 eval "$as_ac_var=yes"
30604 else
30605 echo "$as_me: failed program was:" >&5
30606 sed 's/^/| /' conftest.$ac_ext >&5
30608 eval "$as_ac_var=no"
30610 rm -f conftest.err conftest.$ac_objext \
30611 conftest$ac_exeext conftest.$ac_ext
30613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30615 if test `eval echo '${'$as_ac_var'}'` = yes; then
30616 cat >>confdefs.h <<_ACEOF
30617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30618 _ACEOF
30621 done
30623 else
30625 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30626 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30627 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30628 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30629 echo $ECHO_N "(cached) $ECHO_C" >&6
30630 else
30634 ac_ext=cc
30635 ac_cpp='$CXXCPP $CPPFLAGS'
30636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30640 cat >conftest.$ac_ext <<_ACEOF
30641 /* confdefs.h. */
30642 _ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h. */
30646 #include <math.h>
30648 main ()
30650 _copysignl(0, 0);
30652 return 0;
30654 _ACEOF
30655 rm -f conftest.$ac_objext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30657 (eval $ac_compile) 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try='test -z "$ac_cxx_werror_flag"
30665 || test ! -s conftest.err'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; } &&
30671 { ac_try='test -s conftest.$ac_objext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30674 ac_status=$?
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 glibcxx_cv_func__copysignl_use=yes
30678 else
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.$ac_ext >&5
30682 glibcxx_cv_func__copysignl_use=no
30684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30685 ac_ext=c
30686 ac_cpp='$CPP $CPPFLAGS'
30687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30696 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30698 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30700 for ac_func in _copysignl
30702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 echo "$as_me:$LINENO: checking for $ac_func" >&5
30704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30705 if eval "test \"\${$as_ac_var+set}\" = set"; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30707 else
30708 if test x$gcc_no_link = xyes; then
30709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30711 { (exit 1); exit 1; }; }
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30721 #define $ac_func innocuous_$ac_func
30723 /* System header to define __stub macros and hopefully few prototypes,
30724 which can conflict with char $ac_func (); below.
30725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726 <limits.h> exists even on freestanding compilers. */
30728 #ifdef __STDC__
30729 # include <limits.h>
30730 #else
30731 # include <assert.h>
30732 #endif
30734 #undef $ac_func
30736 /* Override any gcc2 internal prototype to avoid an error. */
30737 #ifdef __cplusplus
30738 extern "C"
30740 #endif
30741 /* We use char because int might match the return type of a gcc2
30742 builtin and then its argument prototype would still apply. */
30743 char $ac_func ();
30744 /* The GNU C library defines this for functions which it implements
30745 to always fail with ENOSYS. Some functions are actually named
30746 something starting with __ and the normal name is an alias. */
30747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30748 choke me
30749 #else
30750 char (*f) () = $ac_func;
30751 #endif
30752 #ifdef __cplusplus
30754 #endif
30757 main ()
30759 return f != $ac_func;
30761 return 0;
30763 _ACEOF
30764 rm -f conftest.$ac_objext conftest$ac_exeext
30765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30766 (eval $ac_link) 2>conftest.er1
30767 ac_status=$?
30768 grep -v '^ *+' conftest.er1 >conftest.err
30769 rm -f conftest.er1
30770 cat conftest.err >&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } &&
30773 { ac_try='test -z "$ac_c_werror_flag"
30774 || test ! -s conftest.err'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; } &&
30780 { ac_try='test -s conftest$ac_exeext'
30781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30782 (eval $ac_try) 2>&5
30783 ac_status=$?
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; }; then
30786 eval "$as_ac_var=yes"
30787 else
30788 echo "$as_me: failed program was:" >&5
30789 sed 's/^/| /' conftest.$ac_ext >&5
30791 eval "$as_ac_var=no"
30793 rm -f conftest.err conftest.$ac_objext \
30794 conftest$ac_exeext conftest.$ac_ext
30796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30798 if test `eval echo '${'$as_ac_var'}'` = yes; then
30799 cat >>confdefs.h <<_ACEOF
30800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30801 _ACEOF
30804 done
30814 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30815 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30816 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30817 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 else
30823 ac_ext=cc
30824 ac_cpp='$CXXCPP $CPPFLAGS'
30825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30829 cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 #include <math.h>
30837 main ()
30839 atan2l(0, 0);
30841 return 0;
30843 _ACEOF
30844 rm -f conftest.$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>conftest.er1
30847 ac_status=$?
30848 grep -v '^ *+' conftest.er1 >conftest.err
30849 rm -f conftest.er1
30850 cat conftest.err >&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); } &&
30853 { ac_try='test -z "$ac_cxx_werror_flag"
30854 || test ! -s conftest.err'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; } &&
30860 { ac_try='test -s conftest.$ac_objext'
30861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30862 (eval $ac_try) 2>&5
30863 ac_status=$?
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); }; }; then
30866 glibcxx_cv_func_atan2l_use=yes
30867 else
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30871 glibcxx_cv_func_atan2l_use=no
30873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30874 ac_ext=c
30875 ac_cpp='$CPP $CPPFLAGS'
30876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30885 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30887 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30889 for ac_func in atan2l
30891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30892 echo "$as_me:$LINENO: checking for $ac_func" >&5
30893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30894 if eval "test \"\${$as_ac_var+set}\" = set"; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30896 else
30897 if test x$gcc_no_link = xyes; then
30898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30900 { (exit 1); exit 1; }; }
30902 cat >conftest.$ac_ext <<_ACEOF
30903 /* confdefs.h. */
30904 _ACEOF
30905 cat confdefs.h >>conftest.$ac_ext
30906 cat >>conftest.$ac_ext <<_ACEOF
30907 /* end confdefs.h. */
30908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30910 #define $ac_func innocuous_$ac_func
30912 /* System header to define __stub macros and hopefully few prototypes,
30913 which can conflict with char $ac_func (); below.
30914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30915 <limits.h> exists even on freestanding compilers. */
30917 #ifdef __STDC__
30918 # include <limits.h>
30919 #else
30920 # include <assert.h>
30921 #endif
30923 #undef $ac_func
30925 /* Override any gcc2 internal prototype to avoid an error. */
30926 #ifdef __cplusplus
30927 extern "C"
30929 #endif
30930 /* We use char because int might match the return type of a gcc2
30931 builtin and then its argument prototype would still apply. */
30932 char $ac_func ();
30933 /* The GNU C library defines this for functions which it implements
30934 to always fail with ENOSYS. Some functions are actually named
30935 something starting with __ and the normal name is an alias. */
30936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30937 choke me
30938 #else
30939 char (*f) () = $ac_func;
30940 #endif
30941 #ifdef __cplusplus
30943 #endif
30946 main ()
30948 return f != $ac_func;
30950 return 0;
30952 _ACEOF
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30955 (eval $ac_link) 2>conftest.er1
30956 ac_status=$?
30957 grep -v '^ *+' conftest.er1 >conftest.err
30958 rm -f conftest.er1
30959 cat conftest.err >&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); } &&
30962 { ac_try='test -z "$ac_c_werror_flag"
30963 || test ! -s conftest.err'
30964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30965 (eval $ac_try) 2>&5
30966 ac_status=$?
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); }; } &&
30969 { ac_try='test -s conftest$ac_exeext'
30970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30971 (eval $ac_try) 2>&5
30972 ac_status=$?
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); }; }; then
30975 eval "$as_ac_var=yes"
30976 else
30977 echo "$as_me: failed program was:" >&5
30978 sed 's/^/| /' conftest.$ac_ext >&5
30980 eval "$as_ac_var=no"
30982 rm -f conftest.err conftest.$ac_objext \
30983 conftest$ac_exeext conftest.$ac_ext
30985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30987 if test `eval echo '${'$as_ac_var'}'` = yes; then
30988 cat >>confdefs.h <<_ACEOF
30989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30990 _ACEOF
30993 done
30995 else
30997 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30998 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30999 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31000 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31006 ac_ext=cc
31007 ac_cpp='$CXXCPP $CPPFLAGS'
31008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31012 cat >conftest.$ac_ext <<_ACEOF
31013 /* confdefs.h. */
31014 _ACEOF
31015 cat confdefs.h >>conftest.$ac_ext
31016 cat >>conftest.$ac_ext <<_ACEOF
31017 /* end confdefs.h. */
31018 #include <math.h>
31020 main ()
31022 _atan2l(0, 0);
31024 return 0;
31026 _ACEOF
31027 rm -f conftest.$ac_objext
31028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31029 (eval $ac_compile) 2>conftest.er1
31030 ac_status=$?
31031 grep -v '^ *+' conftest.er1 >conftest.err
31032 rm -f conftest.er1
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -z "$ac_cxx_werror_flag"
31037 || test ! -s conftest.err'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; } &&
31043 { ac_try='test -s conftest.$ac_objext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 glibcxx_cv_func__atan2l_use=yes
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31054 glibcxx_cv_func__atan2l_use=no
31056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31057 ac_ext=c
31058 ac_cpp='$CPP $CPPFLAGS'
31059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31068 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31070 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31072 for ac_func in _atan2l
31074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31075 echo "$as_me:$LINENO: checking for $ac_func" >&5
31076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31077 if eval "test \"\${$as_ac_var+set}\" = set"; then
31078 echo $ECHO_N "(cached) $ECHO_C" >&6
31079 else
31080 if test x$gcc_no_link = xyes; then
31081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31083 { (exit 1); exit 1; }; }
31085 cat >conftest.$ac_ext <<_ACEOF
31086 /* confdefs.h. */
31087 _ACEOF
31088 cat confdefs.h >>conftest.$ac_ext
31089 cat >>conftest.$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31093 #define $ac_func innocuous_$ac_func
31095 /* System header to define __stub macros and hopefully few prototypes,
31096 which can conflict with char $ac_func (); below.
31097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31098 <limits.h> exists even on freestanding compilers. */
31100 #ifdef __STDC__
31101 # include <limits.h>
31102 #else
31103 # include <assert.h>
31104 #endif
31106 #undef $ac_func
31108 /* Override any gcc2 internal prototype to avoid an error. */
31109 #ifdef __cplusplus
31110 extern "C"
31112 #endif
31113 /* We use char because int might match the return type of a gcc2
31114 builtin and then its argument prototype would still apply. */
31115 char $ac_func ();
31116 /* The GNU C library defines this for functions which it implements
31117 to always fail with ENOSYS. Some functions are actually named
31118 something starting with __ and the normal name is an alias. */
31119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31120 choke me
31121 #else
31122 char (*f) () = $ac_func;
31123 #endif
31124 #ifdef __cplusplus
31126 #endif
31129 main ()
31131 return f != $ac_func;
31133 return 0;
31135 _ACEOF
31136 rm -f conftest.$ac_objext conftest$ac_exeext
31137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31138 (eval $ac_link) 2>conftest.er1
31139 ac_status=$?
31140 grep -v '^ *+' conftest.er1 >conftest.err
31141 rm -f conftest.er1
31142 cat conftest.err >&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); } &&
31145 { ac_try='test -z "$ac_c_werror_flag"
31146 || test ! -s conftest.err'
31147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31148 (eval $ac_try) 2>&5
31149 ac_status=$?
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; } &&
31152 { ac_try='test -s conftest$ac_exeext'
31153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31154 (eval $ac_try) 2>&5
31155 ac_status=$?
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); }; }; then
31158 eval "$as_ac_var=yes"
31159 else
31160 echo "$as_me: failed program was:" >&5
31161 sed 's/^/| /' conftest.$ac_ext >&5
31163 eval "$as_ac_var=no"
31165 rm -f conftest.err conftest.$ac_objext \
31166 conftest$ac_exeext conftest.$ac_ext
31168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31170 if test `eval echo '${'$as_ac_var'}'` = yes; then
31171 cat >>confdefs.h <<_ACEOF
31172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31173 _ACEOF
31176 done
31186 echo "$as_me:$LINENO: checking for expl declaration" >&5
31187 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31188 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31189 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31190 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 else
31195 ac_ext=cc
31196 ac_cpp='$CXXCPP $CPPFLAGS'
31197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31201 cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h. */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31207 #include <math.h>
31208 #ifdef HAVE_IEEEFP_H
31209 #include <ieeefp.h>
31210 #endif
31213 main ()
31215 expl(0);
31217 return 0;
31219 _ACEOF
31220 rm -f conftest.$ac_objext
31221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31222 (eval $ac_compile) 2>conftest.er1
31223 ac_status=$?
31224 grep -v '^ *+' conftest.er1 >conftest.err
31225 rm -f conftest.er1
31226 cat conftest.err >&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } &&
31229 { ac_try='test -z "$ac_cxx_werror_flag"
31230 || test ! -s conftest.err'
31231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31232 (eval $ac_try) 2>&5
31233 ac_status=$?
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); }; } &&
31236 { ac_try='test -s conftest.$ac_objext'
31237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238 (eval $ac_try) 2>&5
31239 ac_status=$?
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); }; }; then
31242 glibcxx_cv_func_expl_use=yes
31243 else
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31247 glibcxx_cv_func_expl_use=no
31249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31250 ac_ext=c
31251 ac_cpp='$CPP $CPPFLAGS'
31252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31261 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31263 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31265 for ac_func in expl
31267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31268 echo "$as_me:$LINENO: checking for $ac_func" >&5
31269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31270 if eval "test \"\${$as_ac_var+set}\" = set"; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31272 else
31273 if test x$gcc_no_link = xyes; then
31274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31276 { (exit 1); exit 1; }; }
31278 cat >conftest.$ac_ext <<_ACEOF
31279 /* confdefs.h. */
31280 _ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31286 #define $ac_func innocuous_$ac_func
31288 /* System header to define __stub macros and hopefully few prototypes,
31289 which can conflict with char $ac_func (); below.
31290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31291 <limits.h> exists even on freestanding compilers. */
31293 #ifdef __STDC__
31294 # include <limits.h>
31295 #else
31296 # include <assert.h>
31297 #endif
31299 #undef $ac_func
31301 /* Override any gcc2 internal prototype to avoid an error. */
31302 #ifdef __cplusplus
31303 extern "C"
31305 #endif
31306 /* We use char because int might match the return type of a gcc2
31307 builtin and then its argument prototype would still apply. */
31308 char $ac_func ();
31309 /* The GNU C library defines this for functions which it implements
31310 to always fail with ENOSYS. Some functions are actually named
31311 something starting with __ and the normal name is an alias. */
31312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31313 choke me
31314 #else
31315 char (*f) () = $ac_func;
31316 #endif
31317 #ifdef __cplusplus
31319 #endif
31322 main ()
31324 return f != $ac_func;
31326 return 0;
31328 _ACEOF
31329 rm -f conftest.$ac_objext conftest$ac_exeext
31330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31331 (eval $ac_link) 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } &&
31338 { ac_try='test -z "$ac_c_werror_flag"
31339 || test ! -s conftest.err'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; } &&
31345 { ac_try='test -s conftest$ac_exeext'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31348 ac_status=$?
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; }; then
31351 eval "$as_ac_var=yes"
31352 else
31353 echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.$ac_ext >&5
31356 eval "$as_ac_var=no"
31358 rm -f conftest.err conftest.$ac_objext \
31359 conftest$ac_exeext conftest.$ac_ext
31361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31363 if test `eval echo '${'$as_ac_var'}'` = yes; then
31364 cat >>confdefs.h <<_ACEOF
31365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31366 _ACEOF
31369 done
31371 else
31373 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31374 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31375 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31376 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31377 echo $ECHO_N "(cached) $ECHO_C" >&6
31378 else
31382 ac_ext=cc
31383 ac_cpp='$CXXCPP $CPPFLAGS'
31384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31388 cat >conftest.$ac_ext <<_ACEOF
31389 /* confdefs.h. */
31390 _ACEOF
31391 cat confdefs.h >>conftest.$ac_ext
31392 cat >>conftest.$ac_ext <<_ACEOF
31393 /* end confdefs.h. */
31394 #include <math.h>
31395 #ifdef HAVE_IEEEFP_H
31396 #include <ieeefp.h>
31397 #endif
31400 main ()
31402 _expl(0);
31404 return 0;
31406 _ACEOF
31407 rm -f conftest.$ac_objext
31408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31409 (eval $ac_compile) 2>conftest.er1
31410 ac_status=$?
31411 grep -v '^ *+' conftest.er1 >conftest.err
31412 rm -f conftest.er1
31413 cat conftest.err >&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); } &&
31416 { ac_try='test -z "$ac_cxx_werror_flag"
31417 || test ! -s conftest.err'
31418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419 (eval $ac_try) 2>&5
31420 ac_status=$?
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; } &&
31423 { ac_try='test -s conftest.$ac_objext'
31424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31425 (eval $ac_try) 2>&5
31426 ac_status=$?
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); }; }; then
31429 glibcxx_cv_func__expl_use=yes
31430 else
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31434 glibcxx_cv_func__expl_use=no
31436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31437 ac_ext=c
31438 ac_cpp='$CPP $CPPFLAGS'
31439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31448 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31450 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31452 for ac_func in _expl
31454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31455 echo "$as_me:$LINENO: checking for $ac_func" >&5
31456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31457 if eval "test \"\${$as_ac_var+set}\" = set"; then
31458 echo $ECHO_N "(cached) $ECHO_C" >&6
31459 else
31460 if test x$gcc_no_link = xyes; then
31461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31463 { (exit 1); exit 1; }; }
31465 cat >conftest.$ac_ext <<_ACEOF
31466 /* confdefs.h. */
31467 _ACEOF
31468 cat confdefs.h >>conftest.$ac_ext
31469 cat >>conftest.$ac_ext <<_ACEOF
31470 /* end confdefs.h. */
31471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31473 #define $ac_func innocuous_$ac_func
31475 /* System header to define __stub macros and hopefully few prototypes,
31476 which can conflict with char $ac_func (); below.
31477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31478 <limits.h> exists even on freestanding compilers. */
31480 #ifdef __STDC__
31481 # include <limits.h>
31482 #else
31483 # include <assert.h>
31484 #endif
31486 #undef $ac_func
31488 /* Override any gcc2 internal prototype to avoid an error. */
31489 #ifdef __cplusplus
31490 extern "C"
31492 #endif
31493 /* We use char because int might match the return type of a gcc2
31494 builtin and then its argument prototype would still apply. */
31495 char $ac_func ();
31496 /* The GNU C library defines this for functions which it implements
31497 to always fail with ENOSYS. Some functions are actually named
31498 something starting with __ and the normal name is an alias. */
31499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31500 choke me
31501 #else
31502 char (*f) () = $ac_func;
31503 #endif
31504 #ifdef __cplusplus
31506 #endif
31509 main ()
31511 return f != $ac_func;
31513 return 0;
31515 _ACEOF
31516 rm -f conftest.$ac_objext conftest$ac_exeext
31517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31518 (eval $ac_link) 2>conftest.er1
31519 ac_status=$?
31520 grep -v '^ *+' conftest.er1 >conftest.err
31521 rm -f conftest.er1
31522 cat conftest.err >&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } &&
31525 { ac_try='test -z "$ac_c_werror_flag"
31526 || test ! -s conftest.err'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31529 ac_status=$?
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; } &&
31532 { ac_try='test -s conftest$ac_exeext'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31535 ac_status=$?
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; }; then
31538 eval "$as_ac_var=yes"
31539 else
31540 echo "$as_me: failed program was:" >&5
31541 sed 's/^/| /' conftest.$ac_ext >&5
31543 eval "$as_ac_var=no"
31545 rm -f conftest.err conftest.$ac_objext \
31546 conftest$ac_exeext conftest.$ac_ext
31548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31550 if test `eval echo '${'$as_ac_var'}'` = yes; then
31551 cat >>confdefs.h <<_ACEOF
31552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31553 _ACEOF
31556 done
31566 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31567 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31568 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31569 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31575 ac_ext=cc
31576 ac_cpp='$CXXCPP $CPPFLAGS'
31577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31581 cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h. */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587 #include <math.h>
31588 #ifdef HAVE_IEEEFP_H
31589 #include <ieeefp.h>
31590 #endif
31593 main ()
31595 fabsl(0);
31597 return 0;
31599 _ACEOF
31600 rm -f conftest.$ac_objext
31601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31602 (eval $ac_compile) 2>conftest.er1
31603 ac_status=$?
31604 grep -v '^ *+' conftest.er1 >conftest.err
31605 rm -f conftest.er1
31606 cat conftest.err >&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); } &&
31609 { ac_try='test -z "$ac_cxx_werror_flag"
31610 || test ! -s conftest.err'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; } &&
31616 { ac_try='test -s conftest.$ac_objext'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31619 ac_status=$?
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; }; then
31622 glibcxx_cv_func_fabsl_use=yes
31623 else
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.$ac_ext >&5
31627 glibcxx_cv_func_fabsl_use=no
31629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31630 ac_ext=c
31631 ac_cpp='$CPP $CPPFLAGS'
31632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31641 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31643 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31645 for ac_func in fabsl
31647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31648 echo "$as_me:$LINENO: checking for $ac_func" >&5
31649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31650 if eval "test \"\${$as_ac_var+set}\" = set"; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31653 if test x$gcc_no_link = xyes; then
31654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31656 { (exit 1); exit 1; }; }
31658 cat >conftest.$ac_ext <<_ACEOF
31659 /* confdefs.h. */
31660 _ACEOF
31661 cat confdefs.h >>conftest.$ac_ext
31662 cat >>conftest.$ac_ext <<_ACEOF
31663 /* end confdefs.h. */
31664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31666 #define $ac_func innocuous_$ac_func
31668 /* System header to define __stub macros and hopefully few prototypes,
31669 which can conflict with char $ac_func (); below.
31670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31671 <limits.h> exists even on freestanding compilers. */
31673 #ifdef __STDC__
31674 # include <limits.h>
31675 #else
31676 # include <assert.h>
31677 #endif
31679 #undef $ac_func
31681 /* Override any gcc2 internal prototype to avoid an error. */
31682 #ifdef __cplusplus
31683 extern "C"
31685 #endif
31686 /* We use char because int might match the return type of a gcc2
31687 builtin and then its argument prototype would still apply. */
31688 char $ac_func ();
31689 /* The GNU C library defines this for functions which it implements
31690 to always fail with ENOSYS. Some functions are actually named
31691 something starting with __ and the normal name is an alias. */
31692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31693 choke me
31694 #else
31695 char (*f) () = $ac_func;
31696 #endif
31697 #ifdef __cplusplus
31699 #endif
31702 main ()
31704 return f != $ac_func;
31706 return 0;
31708 _ACEOF
31709 rm -f conftest.$ac_objext conftest$ac_exeext
31710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31711 (eval $ac_link) 2>conftest.er1
31712 ac_status=$?
31713 grep -v '^ *+' conftest.er1 >conftest.err
31714 rm -f conftest.er1
31715 cat conftest.err >&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } &&
31718 { ac_try='test -z "$ac_c_werror_flag"
31719 || test ! -s conftest.err'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31722 ac_status=$?
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; } &&
31725 { ac_try='test -s conftest$ac_exeext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 eval "$as_ac_var=yes"
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31736 eval "$as_ac_var=no"
31738 rm -f conftest.err conftest.$ac_objext \
31739 conftest$ac_exeext conftest.$ac_ext
31741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31743 if test `eval echo '${'$as_ac_var'}'` = yes; then
31744 cat >>confdefs.h <<_ACEOF
31745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31746 _ACEOF
31749 done
31751 else
31753 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31754 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31755 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31756 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31762 ac_ext=cc
31763 ac_cpp='$CXXCPP $CPPFLAGS'
31764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31768 cat >conftest.$ac_ext <<_ACEOF
31769 /* confdefs.h. */
31770 _ACEOF
31771 cat confdefs.h >>conftest.$ac_ext
31772 cat >>conftest.$ac_ext <<_ACEOF
31773 /* end confdefs.h. */
31774 #include <math.h>
31775 #ifdef HAVE_IEEEFP_H
31776 #include <ieeefp.h>
31777 #endif
31780 main ()
31782 _fabsl(0);
31784 return 0;
31786 _ACEOF
31787 rm -f conftest.$ac_objext
31788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31789 (eval $ac_compile) 2>conftest.er1
31790 ac_status=$?
31791 grep -v '^ *+' conftest.er1 >conftest.err
31792 rm -f conftest.er1
31793 cat conftest.err >&5
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); } &&
31796 { ac_try='test -z "$ac_cxx_werror_flag"
31797 || test ! -s conftest.err'
31798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31799 (eval $ac_try) 2>&5
31800 ac_status=$?
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); }; } &&
31803 { ac_try='test -s conftest.$ac_objext'
31804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31805 (eval $ac_try) 2>&5
31806 ac_status=$?
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); }; }; then
31809 glibcxx_cv_func__fabsl_use=yes
31810 else
31811 echo "$as_me: failed program was:" >&5
31812 sed 's/^/| /' conftest.$ac_ext >&5
31814 glibcxx_cv_func__fabsl_use=no
31816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31817 ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31828 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31830 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31832 for ac_func in _fabsl
31834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31835 echo "$as_me:$LINENO: checking for $ac_func" >&5
31836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31837 if eval "test \"\${$as_ac_var+set}\" = set"; then
31838 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 else
31840 if test x$gcc_no_link = xyes; then
31841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31843 { (exit 1); exit 1; }; }
31845 cat >conftest.$ac_ext <<_ACEOF
31846 /* confdefs.h. */
31847 _ACEOF
31848 cat confdefs.h >>conftest.$ac_ext
31849 cat >>conftest.$ac_ext <<_ACEOF
31850 /* end confdefs.h. */
31851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31853 #define $ac_func innocuous_$ac_func
31855 /* System header to define __stub macros and hopefully few prototypes,
31856 which can conflict with char $ac_func (); below.
31857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31858 <limits.h> exists even on freestanding compilers. */
31860 #ifdef __STDC__
31861 # include <limits.h>
31862 #else
31863 # include <assert.h>
31864 #endif
31866 #undef $ac_func
31868 /* Override any gcc2 internal prototype to avoid an error. */
31869 #ifdef __cplusplus
31870 extern "C"
31872 #endif
31873 /* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31875 char $ac_func ();
31876 /* The GNU C library defines this for functions which it implements
31877 to always fail with ENOSYS. Some functions are actually named
31878 something starting with __ and the normal name is an alias. */
31879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880 choke me
31881 #else
31882 char (*f) () = $ac_func;
31883 #endif
31884 #ifdef __cplusplus
31886 #endif
31889 main ()
31891 return f != $ac_func;
31893 return 0;
31895 _ACEOF
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31898 (eval $ac_link) 2>conftest.er1
31899 ac_status=$?
31900 grep -v '^ *+' conftest.er1 >conftest.err
31901 rm -f conftest.er1
31902 cat conftest.err >&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); } &&
31905 { ac_try='test -z "$ac_c_werror_flag"
31906 || test ! -s conftest.err'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31909 ac_status=$?
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; } &&
31912 { ac_try='test -s conftest$ac_exeext'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; }; then
31918 eval "$as_ac_var=yes"
31919 else
31920 echo "$as_me: failed program was:" >&5
31921 sed 's/^/| /' conftest.$ac_ext >&5
31923 eval "$as_ac_var=no"
31925 rm -f conftest.err conftest.$ac_objext \
31926 conftest$ac_exeext conftest.$ac_ext
31928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31930 if test `eval echo '${'$as_ac_var'}'` = yes; then
31931 cat >>confdefs.h <<_ACEOF
31932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31933 _ACEOF
31936 done
31946 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31947 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31948 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31949 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31951 else
31955 ac_ext=cc
31956 ac_cpp='$CXXCPP $CPPFLAGS'
31957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31961 cat >conftest.$ac_ext <<_ACEOF
31962 /* confdefs.h. */
31963 _ACEOF
31964 cat confdefs.h >>conftest.$ac_ext
31965 cat >>conftest.$ac_ext <<_ACEOF
31966 /* end confdefs.h. */
31967 #include <math.h>
31969 main ()
31971 fmodl(0, 0);
31973 return 0;
31975 _ACEOF
31976 rm -f conftest.$ac_objext
31977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31978 (eval $ac_compile) 2>conftest.er1
31979 ac_status=$?
31980 grep -v '^ *+' conftest.er1 >conftest.err
31981 rm -f conftest.er1
31982 cat conftest.err >&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); } &&
31985 { ac_try='test -z "$ac_cxx_werror_flag"
31986 || test ! -s conftest.err'
31987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31988 (eval $ac_try) 2>&5
31989 ac_status=$?
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); }; } &&
31992 { ac_try='test -s conftest.$ac_objext'
31993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31994 (eval $ac_try) 2>&5
31995 ac_status=$?
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; }; then
31998 glibcxx_cv_func_fmodl_use=yes
31999 else
32000 echo "$as_me: failed program was:" >&5
32001 sed 's/^/| /' conftest.$ac_ext >&5
32003 glibcxx_cv_func_fmodl_use=no
32005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32006 ac_ext=c
32007 ac_cpp='$CPP $CPPFLAGS'
32008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32017 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32019 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32021 for ac_func in fmodl
32023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32024 echo "$as_me:$LINENO: checking for $ac_func" >&5
32025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32026 if eval "test \"\${$as_ac_var+set}\" = set"; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029 if test x$gcc_no_link = xyes; then
32030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32032 { (exit 1); exit 1; }; }
32034 cat >conftest.$ac_ext <<_ACEOF
32035 /* confdefs.h. */
32036 _ACEOF
32037 cat confdefs.h >>conftest.$ac_ext
32038 cat >>conftest.$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32042 #define $ac_func innocuous_$ac_func
32044 /* System header to define __stub macros and hopefully few prototypes,
32045 which can conflict with char $ac_func (); below.
32046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32047 <limits.h> exists even on freestanding compilers. */
32049 #ifdef __STDC__
32050 # include <limits.h>
32051 #else
32052 # include <assert.h>
32053 #endif
32055 #undef $ac_func
32057 /* Override any gcc2 internal prototype to avoid an error. */
32058 #ifdef __cplusplus
32059 extern "C"
32061 #endif
32062 /* We use char because int might match the return type of a gcc2
32063 builtin and then its argument prototype would still apply. */
32064 char $ac_func ();
32065 /* The GNU C library defines this for functions which it implements
32066 to always fail with ENOSYS. Some functions are actually named
32067 something starting with __ and the normal name is an alias. */
32068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32069 choke me
32070 #else
32071 char (*f) () = $ac_func;
32072 #endif
32073 #ifdef __cplusplus
32075 #endif
32078 main ()
32080 return f != $ac_func;
32082 return 0;
32084 _ACEOF
32085 rm -f conftest.$ac_objext conftest$ac_exeext
32086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32087 (eval $ac_link) 2>conftest.er1
32088 ac_status=$?
32089 grep -v '^ *+' conftest.er1 >conftest.err
32090 rm -f conftest.er1
32091 cat conftest.err >&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); } &&
32094 { ac_try='test -z "$ac_c_werror_flag"
32095 || test ! -s conftest.err'
32096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097 (eval $ac_try) 2>&5
32098 ac_status=$?
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); }; } &&
32101 { ac_try='test -s conftest$ac_exeext'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32104 ac_status=$?
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; }; then
32107 eval "$as_ac_var=yes"
32108 else
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32112 eval "$as_ac_var=no"
32114 rm -f conftest.err conftest.$ac_objext \
32115 conftest$ac_exeext conftest.$ac_ext
32117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32119 if test `eval echo '${'$as_ac_var'}'` = yes; then
32120 cat >>confdefs.h <<_ACEOF
32121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32122 _ACEOF
32125 done
32127 else
32129 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32130 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32131 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32132 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32133 echo $ECHO_N "(cached) $ECHO_C" >&6
32134 else
32138 ac_ext=cc
32139 ac_cpp='$CXXCPP $CPPFLAGS'
32140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32144 cat >conftest.$ac_ext <<_ACEOF
32145 /* confdefs.h. */
32146 _ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32150 #include <math.h>
32152 main ()
32154 _fmodl(0, 0);
32156 return 0;
32158 _ACEOF
32159 rm -f conftest.$ac_objext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32161 (eval $ac_compile) 2>conftest.er1
32162 ac_status=$?
32163 grep -v '^ *+' conftest.er1 >conftest.err
32164 rm -f conftest.er1
32165 cat conftest.err >&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try='test -z "$ac_cxx_werror_flag"
32169 || test ! -s conftest.err'
32170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32171 (eval $ac_try) 2>&5
32172 ac_status=$?
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); }; } &&
32175 { ac_try='test -s conftest.$ac_objext'
32176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177 (eval $ac_try) 2>&5
32178 ac_status=$?
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; }; then
32181 glibcxx_cv_func__fmodl_use=yes
32182 else
32183 echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.$ac_ext >&5
32186 glibcxx_cv_func__fmodl_use=no
32188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32189 ac_ext=c
32190 ac_cpp='$CPP $CPPFLAGS'
32191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32199 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32200 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32202 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32204 for ac_func in _fmodl
32206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32207 echo "$as_me:$LINENO: checking for $ac_func" >&5
32208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32209 if eval "test \"\${$as_ac_var+set}\" = set"; then
32210 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 else
32212 if test x$gcc_no_link = xyes; then
32213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32215 { (exit 1); exit 1; }; }
32217 cat >conftest.$ac_ext <<_ACEOF
32218 /* confdefs.h. */
32219 _ACEOF
32220 cat confdefs.h >>conftest.$ac_ext
32221 cat >>conftest.$ac_ext <<_ACEOF
32222 /* end confdefs.h. */
32223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32225 #define $ac_func innocuous_$ac_func
32227 /* System header to define __stub macros and hopefully few prototypes,
32228 which can conflict with char $ac_func (); below.
32229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32230 <limits.h> exists even on freestanding compilers. */
32232 #ifdef __STDC__
32233 # include <limits.h>
32234 #else
32235 # include <assert.h>
32236 #endif
32238 #undef $ac_func
32240 /* Override any gcc2 internal prototype to avoid an error. */
32241 #ifdef __cplusplus
32242 extern "C"
32244 #endif
32245 /* We use char because int might match the return type of a gcc2
32246 builtin and then its argument prototype would still apply. */
32247 char $ac_func ();
32248 /* The GNU C library defines this for functions which it implements
32249 to always fail with ENOSYS. Some functions are actually named
32250 something starting with __ and the normal name is an alias. */
32251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32252 choke me
32253 #else
32254 char (*f) () = $ac_func;
32255 #endif
32256 #ifdef __cplusplus
32258 #endif
32261 main ()
32263 return f != $ac_func;
32265 return 0;
32267 _ACEOF
32268 rm -f conftest.$ac_objext conftest$ac_exeext
32269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32270 (eval $ac_link) 2>conftest.er1
32271 ac_status=$?
32272 grep -v '^ *+' conftest.er1 >conftest.err
32273 rm -f conftest.er1
32274 cat conftest.err >&5
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); } &&
32277 { ac_try='test -z "$ac_c_werror_flag"
32278 || test ! -s conftest.err'
32279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280 (eval $ac_try) 2>&5
32281 ac_status=$?
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; } &&
32284 { ac_try='test -s conftest$ac_exeext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32287 ac_status=$?
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 eval "$as_ac_var=yes"
32291 else
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.$ac_ext >&5
32295 eval "$as_ac_var=no"
32297 rm -f conftest.err conftest.$ac_objext \
32298 conftest$ac_exeext conftest.$ac_ext
32300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32302 if test `eval echo '${'$as_ac_var'}'` = yes; then
32303 cat >>confdefs.h <<_ACEOF
32304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32305 _ACEOF
32308 done
32318 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32319 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32320 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32321 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 else
32327 ac_ext=cc
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333 cat >conftest.$ac_ext <<_ACEOF
32334 /* confdefs.h. */
32335 _ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339 #include <math.h>
32341 main ()
32343 frexpl(0, 0);
32345 return 0;
32347 _ACEOF
32348 rm -f conftest.$ac_objext
32349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32350 (eval $ac_compile) 2>conftest.er1
32351 ac_status=$?
32352 grep -v '^ *+' conftest.er1 >conftest.err
32353 rm -f conftest.er1
32354 cat conftest.err >&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); } &&
32357 { ac_try='test -z "$ac_cxx_werror_flag"
32358 || test ! -s conftest.err'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32361 ac_status=$?
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; } &&
32364 { ac_try='test -s conftest.$ac_objext'
32365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32366 (eval $ac_try) 2>&5
32367 ac_status=$?
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); }; }; then
32370 glibcxx_cv_func_frexpl_use=yes
32371 else
32372 echo "$as_me: failed program was:" >&5
32373 sed 's/^/| /' conftest.$ac_ext >&5
32375 glibcxx_cv_func_frexpl_use=no
32377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32389 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32391 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32393 for ac_func in frexpl
32395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32396 echo "$as_me:$LINENO: checking for $ac_func" >&5
32397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32398 if eval "test \"\${$as_ac_var+set}\" = set"; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 else
32401 if test x$gcc_no_link = xyes; then
32402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32404 { (exit 1); exit 1; }; }
32406 cat >conftest.$ac_ext <<_ACEOF
32407 /* confdefs.h. */
32408 _ACEOF
32409 cat confdefs.h >>conftest.$ac_ext
32410 cat >>conftest.$ac_ext <<_ACEOF
32411 /* end confdefs.h. */
32412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32414 #define $ac_func innocuous_$ac_func
32416 /* System header to define __stub macros and hopefully few prototypes,
32417 which can conflict with char $ac_func (); below.
32418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32419 <limits.h> exists even on freestanding compilers. */
32421 #ifdef __STDC__
32422 # include <limits.h>
32423 #else
32424 # include <assert.h>
32425 #endif
32427 #undef $ac_func
32429 /* Override any gcc2 internal prototype to avoid an error. */
32430 #ifdef __cplusplus
32431 extern "C"
32433 #endif
32434 /* We use char because int might match the return type of a gcc2
32435 builtin and then its argument prototype would still apply. */
32436 char $ac_func ();
32437 /* The GNU C library defines this for functions which it implements
32438 to always fail with ENOSYS. Some functions are actually named
32439 something starting with __ and the normal name is an alias. */
32440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32441 choke me
32442 #else
32443 char (*f) () = $ac_func;
32444 #endif
32445 #ifdef __cplusplus
32447 #endif
32450 main ()
32452 return f != $ac_func;
32454 return 0;
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>conftest.er1
32460 ac_status=$?
32461 grep -v '^ *+' conftest.er1 >conftest.err
32462 rm -f conftest.er1
32463 cat conftest.err >&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); } &&
32466 { ac_try='test -z "$ac_c_werror_flag"
32467 || test ! -s conftest.err'
32468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32469 (eval $ac_try) 2>&5
32470 ac_status=$?
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); }; } &&
32473 { ac_try='test -s conftest$ac_exeext'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32476 ac_status=$?
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; }; then
32479 eval "$as_ac_var=yes"
32480 else
32481 echo "$as_me: failed program was:" >&5
32482 sed 's/^/| /' conftest.$ac_ext >&5
32484 eval "$as_ac_var=no"
32486 rm -f conftest.err conftest.$ac_objext \
32487 conftest$ac_exeext conftest.$ac_ext
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32491 if test `eval echo '${'$as_ac_var'}'` = yes; then
32492 cat >>confdefs.h <<_ACEOF
32493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32494 _ACEOF
32497 done
32499 else
32501 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32502 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32503 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32504 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32505 echo $ECHO_N "(cached) $ECHO_C" >&6
32506 else
32510 ac_ext=cc
32511 ac_cpp='$CXXCPP $CPPFLAGS'
32512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 #include <math.h>
32524 main ()
32526 _frexpl(0, 0);
32528 return 0;
32530 _ACEOF
32531 rm -f conftest.$ac_objext
32532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32533 (eval $ac_compile) 2>conftest.er1
32534 ac_status=$?
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } &&
32540 { ac_try='test -z "$ac_cxx_werror_flag"
32541 || test ! -s conftest.err'
32542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543 (eval $ac_try) 2>&5
32544 ac_status=$?
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; } &&
32547 { ac_try='test -s conftest.$ac_objext'
32548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549 (eval $ac_try) 2>&5
32550 ac_status=$?
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); }; }; then
32553 glibcxx_cv_func__frexpl_use=yes
32554 else
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32558 glibcxx_cv_func__frexpl_use=no
32560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32561 ac_ext=c
32562 ac_cpp='$CPP $CPPFLAGS'
32563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32571 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32572 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32574 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32576 for ac_func in _frexpl
32578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32579 echo "$as_me:$LINENO: checking for $ac_func" >&5
32580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32581 if eval "test \"\${$as_ac_var+set}\" = set"; then
32582 echo $ECHO_N "(cached) $ECHO_C" >&6
32583 else
32584 if test x$gcc_no_link = xyes; then
32585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32587 { (exit 1); exit 1; }; }
32589 cat >conftest.$ac_ext <<_ACEOF
32590 /* confdefs.h. */
32591 _ACEOF
32592 cat confdefs.h >>conftest.$ac_ext
32593 cat >>conftest.$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32597 #define $ac_func innocuous_$ac_func
32599 /* System header to define __stub macros and hopefully few prototypes,
32600 which can conflict with char $ac_func (); below.
32601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32602 <limits.h> exists even on freestanding compilers. */
32604 #ifdef __STDC__
32605 # include <limits.h>
32606 #else
32607 # include <assert.h>
32608 #endif
32610 #undef $ac_func
32612 /* Override any gcc2 internal prototype to avoid an error. */
32613 #ifdef __cplusplus
32614 extern "C"
32616 #endif
32617 /* We use char because int might match the return type of a gcc2
32618 builtin and then its argument prototype would still apply. */
32619 char $ac_func ();
32620 /* The GNU C library defines this for functions which it implements
32621 to always fail with ENOSYS. Some functions are actually named
32622 something starting with __ and the normal name is an alias. */
32623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32624 choke me
32625 #else
32626 char (*f) () = $ac_func;
32627 #endif
32628 #ifdef __cplusplus
32630 #endif
32633 main ()
32635 return f != $ac_func;
32637 return 0;
32639 _ACEOF
32640 rm -f conftest.$ac_objext conftest$ac_exeext
32641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32642 (eval $ac_link) 2>conftest.er1
32643 ac_status=$?
32644 grep -v '^ *+' conftest.er1 >conftest.err
32645 rm -f conftest.er1
32646 cat conftest.err >&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); } &&
32649 { ac_try='test -z "$ac_c_werror_flag"
32650 || test ! -s conftest.err'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32653 ac_status=$?
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; } &&
32656 { ac_try='test -s conftest$ac_exeext'
32657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658 (eval $ac_try) 2>&5
32659 ac_status=$?
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; }; then
32662 eval "$as_ac_var=yes"
32663 else
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32667 eval "$as_ac_var=no"
32669 rm -f conftest.err conftest.$ac_objext \
32670 conftest$ac_exeext conftest.$ac_ext
32672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32674 if test `eval echo '${'$as_ac_var'}'` = yes; then
32675 cat >>confdefs.h <<_ACEOF
32676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32677 _ACEOF
32680 done
32690 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32691 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32692 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32693 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 else
32699 ac_ext=cc
32700 ac_cpp='$CXXCPP $CPPFLAGS'
32701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711 #include <math.h>
32713 main ()
32715 hypotl(0, 0);
32717 return 0;
32719 _ACEOF
32720 rm -f conftest.$ac_objext
32721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32722 (eval $ac_compile) 2>conftest.er1
32723 ac_status=$?
32724 grep -v '^ *+' conftest.er1 >conftest.err
32725 rm -f conftest.er1
32726 cat conftest.err >&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } &&
32729 { ac_try='test -z "$ac_cxx_werror_flag"
32730 || test ! -s conftest.err'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32733 ac_status=$?
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; } &&
32736 { ac_try='test -s conftest.$ac_objext'
32737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738 (eval $ac_try) 2>&5
32739 ac_status=$?
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; }; then
32742 glibcxx_cv_func_hypotl_use=yes
32743 else
32744 echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.$ac_ext >&5
32747 glibcxx_cv_func_hypotl_use=no
32749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32750 ac_ext=c
32751 ac_cpp='$CPP $CPPFLAGS'
32752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32761 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32763 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32765 for ac_func in hypotl
32767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32768 echo "$as_me:$LINENO: checking for $ac_func" >&5
32769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32770 if eval "test \"\${$as_ac_var+set}\" = set"; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 else
32773 if test x$gcc_no_link = xyes; then
32774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32776 { (exit 1); exit 1; }; }
32778 cat >conftest.$ac_ext <<_ACEOF
32779 /* confdefs.h. */
32780 _ACEOF
32781 cat confdefs.h >>conftest.$ac_ext
32782 cat >>conftest.$ac_ext <<_ACEOF
32783 /* end confdefs.h. */
32784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32786 #define $ac_func innocuous_$ac_func
32788 /* System header to define __stub macros and hopefully few prototypes,
32789 which can conflict with char $ac_func (); below.
32790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32791 <limits.h> exists even on freestanding compilers. */
32793 #ifdef __STDC__
32794 # include <limits.h>
32795 #else
32796 # include <assert.h>
32797 #endif
32799 #undef $ac_func
32801 /* Override any gcc2 internal prototype to avoid an error. */
32802 #ifdef __cplusplus
32803 extern "C"
32805 #endif
32806 /* We use char because int might match the return type of a gcc2
32807 builtin and then its argument prototype would still apply. */
32808 char $ac_func ();
32809 /* The GNU C library defines this for functions which it implements
32810 to always fail with ENOSYS. Some functions are actually named
32811 something starting with __ and the normal name is an alias. */
32812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32813 choke me
32814 #else
32815 char (*f) () = $ac_func;
32816 #endif
32817 #ifdef __cplusplus
32819 #endif
32822 main ()
32824 return f != $ac_func;
32826 return 0;
32828 _ACEOF
32829 rm -f conftest.$ac_objext conftest$ac_exeext
32830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32831 (eval $ac_link) 2>conftest.er1
32832 ac_status=$?
32833 grep -v '^ *+' conftest.er1 >conftest.err
32834 rm -f conftest.er1
32835 cat conftest.err >&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); } &&
32838 { ac_try='test -z "$ac_c_werror_flag"
32839 || test ! -s conftest.err'
32840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32841 (eval $ac_try) 2>&5
32842 ac_status=$?
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); }; } &&
32845 { ac_try='test -s conftest$ac_exeext'
32846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847 (eval $ac_try) 2>&5
32848 ac_status=$?
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; }; then
32851 eval "$as_ac_var=yes"
32852 else
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32856 eval "$as_ac_var=no"
32858 rm -f conftest.err conftest.$ac_objext \
32859 conftest$ac_exeext conftest.$ac_ext
32861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32863 if test `eval echo '${'$as_ac_var'}'` = yes; then
32864 cat >>confdefs.h <<_ACEOF
32865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32866 _ACEOF
32869 done
32871 else
32873 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32874 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32875 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32876 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32878 else
32882 ac_ext=cc
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32888 cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h. */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h. */
32894 #include <math.h>
32896 main ()
32898 _hypotl(0, 0);
32900 return 0;
32902 _ACEOF
32903 rm -f conftest.$ac_objext
32904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32905 (eval $ac_compile) 2>conftest.er1
32906 ac_status=$?
32907 grep -v '^ *+' conftest.er1 >conftest.err
32908 rm -f conftest.er1
32909 cat conftest.err >&5
32910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 (exit $ac_status); } &&
32912 { ac_try='test -z "$ac_cxx_werror_flag"
32913 || test ! -s conftest.err'
32914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915 (eval $ac_try) 2>&5
32916 ac_status=$?
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); }; } &&
32919 { ac_try='test -s conftest.$ac_objext'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32922 ac_status=$?
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; }; then
32925 glibcxx_cv_func__hypotl_use=yes
32926 else
32927 echo "$as_me: failed program was:" >&5
32928 sed 's/^/| /' conftest.$ac_ext >&5
32930 glibcxx_cv_func__hypotl_use=no
32932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32933 ac_ext=c
32934 ac_cpp='$CPP $CPPFLAGS'
32935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32944 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32946 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32948 for ac_func in _hypotl
32950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32951 echo "$as_me:$LINENO: checking for $ac_func" >&5
32952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32953 if eval "test \"\${$as_ac_var+set}\" = set"; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956 if test x$gcc_no_link = xyes; then
32957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32959 { (exit 1); exit 1; }; }
32961 cat >conftest.$ac_ext <<_ACEOF
32962 /* confdefs.h. */
32963 _ACEOF
32964 cat confdefs.h >>conftest.$ac_ext
32965 cat >>conftest.$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32969 #define $ac_func innocuous_$ac_func
32971 /* System header to define __stub macros and hopefully few prototypes,
32972 which can conflict with char $ac_func (); below.
32973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32974 <limits.h> exists even on freestanding compilers. */
32976 #ifdef __STDC__
32977 # include <limits.h>
32978 #else
32979 # include <assert.h>
32980 #endif
32982 #undef $ac_func
32984 /* Override any gcc2 internal prototype to avoid an error. */
32985 #ifdef __cplusplus
32986 extern "C"
32988 #endif
32989 /* We use char because int might match the return type of a gcc2
32990 builtin and then its argument prototype would still apply. */
32991 char $ac_func ();
32992 /* The GNU C library defines this for functions which it implements
32993 to always fail with ENOSYS. Some functions are actually named
32994 something starting with __ and the normal name is an alias. */
32995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32996 choke me
32997 #else
32998 char (*f) () = $ac_func;
32999 #endif
33000 #ifdef __cplusplus
33002 #endif
33005 main ()
33007 return f != $ac_func;
33009 return 0;
33011 _ACEOF
33012 rm -f conftest.$ac_objext conftest$ac_exeext
33013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33014 (eval $ac_link) 2>conftest.er1
33015 ac_status=$?
33016 grep -v '^ *+' conftest.er1 >conftest.err
33017 rm -f conftest.er1
33018 cat conftest.err >&5
33019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33020 (exit $ac_status); } &&
33021 { ac_try='test -z "$ac_c_werror_flag"
33022 || test ! -s conftest.err'
33023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33024 (eval $ac_try) 2>&5
33025 ac_status=$?
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); }; } &&
33028 { ac_try='test -s conftest$ac_exeext'
33029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030 (eval $ac_try) 2>&5
33031 ac_status=$?
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); }; }; then
33034 eval "$as_ac_var=yes"
33035 else
33036 echo "$as_me: failed program was:" >&5
33037 sed 's/^/| /' conftest.$ac_ext >&5
33039 eval "$as_ac_var=no"
33041 rm -f conftest.err conftest.$ac_objext \
33042 conftest$ac_exeext conftest.$ac_ext
33044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33046 if test `eval echo '${'$as_ac_var'}'` = yes; then
33047 cat >>confdefs.h <<_ACEOF
33048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33049 _ACEOF
33052 done
33062 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33063 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33064 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33065 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33066 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 else
33071 ac_ext=cc
33072 ac_cpp='$CXXCPP $CPPFLAGS'
33073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33077 cat >conftest.$ac_ext <<_ACEOF
33078 /* confdefs.h. */
33079 _ACEOF
33080 cat confdefs.h >>conftest.$ac_ext
33081 cat >>conftest.$ac_ext <<_ACEOF
33082 /* end confdefs.h. */
33083 #include <math.h>
33085 main ()
33087 ldexpl(0, 0);
33089 return 0;
33091 _ACEOF
33092 rm -f conftest.$ac_objext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33094 (eval $ac_compile) 2>conftest.er1
33095 ac_status=$?
33096 grep -v '^ *+' conftest.er1 >conftest.err
33097 rm -f conftest.er1
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } &&
33101 { ac_try='test -z "$ac_cxx_werror_flag"
33102 || test ! -s conftest.err'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; } &&
33108 { ac_try='test -s conftest.$ac_objext'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; }; then
33114 glibcxx_cv_func_ldexpl_use=yes
33115 else
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.$ac_ext >&5
33119 glibcxx_cv_func_ldexpl_use=no
33121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33122 ac_ext=c
33123 ac_cpp='$CPP $CPPFLAGS'
33124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33133 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33135 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33137 for ac_func in ldexpl
33139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33140 echo "$as_me:$LINENO: checking for $ac_func" >&5
33141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33142 if eval "test \"\${$as_ac_var+set}\" = set"; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33144 else
33145 if test x$gcc_no_link = xyes; then
33146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33148 { (exit 1); exit 1; }; }
33150 cat >conftest.$ac_ext <<_ACEOF
33151 /* confdefs.h. */
33152 _ACEOF
33153 cat confdefs.h >>conftest.$ac_ext
33154 cat >>conftest.$ac_ext <<_ACEOF
33155 /* end confdefs.h. */
33156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33158 #define $ac_func innocuous_$ac_func
33160 /* System header to define __stub macros and hopefully few prototypes,
33161 which can conflict with char $ac_func (); below.
33162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33163 <limits.h> exists even on freestanding compilers. */
33165 #ifdef __STDC__
33166 # include <limits.h>
33167 #else
33168 # include <assert.h>
33169 #endif
33171 #undef $ac_func
33173 /* Override any gcc2 internal prototype to avoid an error. */
33174 #ifdef __cplusplus
33175 extern "C"
33177 #endif
33178 /* We use char because int might match the return type of a gcc2
33179 builtin and then its argument prototype would still apply. */
33180 char $ac_func ();
33181 /* The GNU C library defines this for functions which it implements
33182 to always fail with ENOSYS. Some functions are actually named
33183 something starting with __ and the normal name is an alias. */
33184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33185 choke me
33186 #else
33187 char (*f) () = $ac_func;
33188 #endif
33189 #ifdef __cplusplus
33191 #endif
33194 main ()
33196 return f != $ac_func;
33198 return 0;
33200 _ACEOF
33201 rm -f conftest.$ac_objext conftest$ac_exeext
33202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33203 (eval $ac_link) 2>conftest.er1
33204 ac_status=$?
33205 grep -v '^ *+' conftest.er1 >conftest.err
33206 rm -f conftest.er1
33207 cat conftest.err >&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); } &&
33210 { ac_try='test -z "$ac_c_werror_flag"
33211 || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try='test -s conftest$ac_exeext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 eval "$as_ac_var=yes"
33224 else
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33228 eval "$as_ac_var=no"
33230 rm -f conftest.err conftest.$ac_objext \
33231 conftest$ac_exeext conftest.$ac_ext
33233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33235 if test `eval echo '${'$as_ac_var'}'` = yes; then
33236 cat >>confdefs.h <<_ACEOF
33237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33238 _ACEOF
33241 done
33243 else
33245 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33246 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33247 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33248 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33254 ac_ext=cc
33255 ac_cpp='$CXXCPP $CPPFLAGS'
33256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33260 cat >conftest.$ac_ext <<_ACEOF
33261 /* confdefs.h. */
33262 _ACEOF
33263 cat confdefs.h >>conftest.$ac_ext
33264 cat >>conftest.$ac_ext <<_ACEOF
33265 /* end confdefs.h. */
33266 #include <math.h>
33268 main ()
33270 _ldexpl(0, 0);
33272 return 0;
33274 _ACEOF
33275 rm -f conftest.$ac_objext
33276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33277 (eval $ac_compile) 2>conftest.er1
33278 ac_status=$?
33279 grep -v '^ *+' conftest.er1 >conftest.err
33280 rm -f conftest.er1
33281 cat conftest.err >&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); } &&
33284 { ac_try='test -z "$ac_cxx_werror_flag"
33285 || test ! -s conftest.err'
33286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33287 (eval $ac_try) 2>&5
33288 ac_status=$?
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; } &&
33291 { ac_try='test -s conftest.$ac_objext'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33294 ac_status=$?
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; }; then
33297 glibcxx_cv_func__ldexpl_use=yes
33298 else
33299 echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.$ac_ext >&5
33302 glibcxx_cv_func__ldexpl_use=no
33304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33305 ac_ext=c
33306 ac_cpp='$CPP $CPPFLAGS'
33307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33316 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33318 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33320 for ac_func in _ldexpl
33322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33323 echo "$as_me:$LINENO: checking for $ac_func" >&5
33324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33325 if eval "test \"\${$as_ac_var+set}\" = set"; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33327 else
33328 if test x$gcc_no_link = xyes; then
33329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33331 { (exit 1); exit 1; }; }
33333 cat >conftest.$ac_ext <<_ACEOF
33334 /* confdefs.h. */
33335 _ACEOF
33336 cat confdefs.h >>conftest.$ac_ext
33337 cat >>conftest.$ac_ext <<_ACEOF
33338 /* end confdefs.h. */
33339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33341 #define $ac_func innocuous_$ac_func
33343 /* System header to define __stub macros and hopefully few prototypes,
33344 which can conflict with char $ac_func (); below.
33345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33346 <limits.h> exists even on freestanding compilers. */
33348 #ifdef __STDC__
33349 # include <limits.h>
33350 #else
33351 # include <assert.h>
33352 #endif
33354 #undef $ac_func
33356 /* Override any gcc2 internal prototype to avoid an error. */
33357 #ifdef __cplusplus
33358 extern "C"
33360 #endif
33361 /* We use char because int might match the return type of a gcc2
33362 builtin and then its argument prototype would still apply. */
33363 char $ac_func ();
33364 /* The GNU C library defines this for functions which it implements
33365 to always fail with ENOSYS. Some functions are actually named
33366 something starting with __ and the normal name is an alias. */
33367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33368 choke me
33369 #else
33370 char (*f) () = $ac_func;
33371 #endif
33372 #ifdef __cplusplus
33374 #endif
33377 main ()
33379 return f != $ac_func;
33381 return 0;
33383 _ACEOF
33384 rm -f conftest.$ac_objext conftest$ac_exeext
33385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33386 (eval $ac_link) 2>conftest.er1
33387 ac_status=$?
33388 grep -v '^ *+' conftest.er1 >conftest.err
33389 rm -f conftest.er1
33390 cat conftest.err >&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); } &&
33393 { ac_try='test -z "$ac_c_werror_flag"
33394 || test ! -s conftest.err'
33395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396 (eval $ac_try) 2>&5
33397 ac_status=$?
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); }; } &&
33400 { ac_try='test -s conftest$ac_exeext'
33401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33402 (eval $ac_try) 2>&5
33403 ac_status=$?
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); }; }; then
33406 eval "$as_ac_var=yes"
33407 else
33408 echo "$as_me: failed program was:" >&5
33409 sed 's/^/| /' conftest.$ac_ext >&5
33411 eval "$as_ac_var=no"
33413 rm -f conftest.err conftest.$ac_objext \
33414 conftest$ac_exeext conftest.$ac_ext
33416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33418 if test `eval echo '${'$as_ac_var'}'` = yes; then
33419 cat >>confdefs.h <<_ACEOF
33420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33421 _ACEOF
33424 done
33434 echo "$as_me:$LINENO: checking for logl declaration" >&5
33435 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33436 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33437 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33438 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 else
33443 ac_ext=cc
33444 ac_cpp='$CXXCPP $CPPFLAGS'
33445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33449 cat >conftest.$ac_ext <<_ACEOF
33450 /* confdefs.h. */
33451 _ACEOF
33452 cat confdefs.h >>conftest.$ac_ext
33453 cat >>conftest.$ac_ext <<_ACEOF
33454 /* end confdefs.h. */
33455 #include <math.h>
33456 #ifdef HAVE_IEEEFP_H
33457 #include <ieeefp.h>
33458 #endif
33461 main ()
33463 logl(0);
33465 return 0;
33467 _ACEOF
33468 rm -f conftest.$ac_objext
33469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33470 (eval $ac_compile) 2>conftest.er1
33471 ac_status=$?
33472 grep -v '^ *+' conftest.er1 >conftest.err
33473 rm -f conftest.er1
33474 cat conftest.err >&5
33475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476 (exit $ac_status); } &&
33477 { ac_try='test -z "$ac_cxx_werror_flag"
33478 || test ! -s conftest.err'
33479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480 (eval $ac_try) 2>&5
33481 ac_status=$?
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; } &&
33484 { ac_try='test -s conftest.$ac_objext'
33485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33486 (eval $ac_try) 2>&5
33487 ac_status=$?
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); }; }; then
33490 glibcxx_cv_func_logl_use=yes
33491 else
33492 echo "$as_me: failed program was:" >&5
33493 sed 's/^/| /' conftest.$ac_ext >&5
33495 glibcxx_cv_func_logl_use=no
33497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33498 ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33509 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33511 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33513 for ac_func in logl
33515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33516 echo "$as_me:$LINENO: checking for $ac_func" >&5
33517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33518 if eval "test \"\${$as_ac_var+set}\" = set"; then
33519 echo $ECHO_N "(cached) $ECHO_C" >&6
33520 else
33521 if test x$gcc_no_link = xyes; then
33522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33524 { (exit 1); exit 1; }; }
33526 cat >conftest.$ac_ext <<_ACEOF
33527 /* confdefs.h. */
33528 _ACEOF
33529 cat confdefs.h >>conftest.$ac_ext
33530 cat >>conftest.$ac_ext <<_ACEOF
33531 /* end confdefs.h. */
33532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33534 #define $ac_func innocuous_$ac_func
33536 /* System header to define __stub macros and hopefully few prototypes,
33537 which can conflict with char $ac_func (); below.
33538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33539 <limits.h> exists even on freestanding compilers. */
33541 #ifdef __STDC__
33542 # include <limits.h>
33543 #else
33544 # include <assert.h>
33545 #endif
33547 #undef $ac_func
33549 /* Override any gcc2 internal prototype to avoid an error. */
33550 #ifdef __cplusplus
33551 extern "C"
33553 #endif
33554 /* We use char because int might match the return type of a gcc2
33555 builtin and then its argument prototype would still apply. */
33556 char $ac_func ();
33557 /* The GNU C library defines this for functions which it implements
33558 to always fail with ENOSYS. Some functions are actually named
33559 something starting with __ and the normal name is an alias. */
33560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33561 choke me
33562 #else
33563 char (*f) () = $ac_func;
33564 #endif
33565 #ifdef __cplusplus
33567 #endif
33570 main ()
33572 return f != $ac_func;
33574 return 0;
33576 _ACEOF
33577 rm -f conftest.$ac_objext conftest$ac_exeext
33578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33579 (eval $ac_link) 2>conftest.er1
33580 ac_status=$?
33581 grep -v '^ *+' conftest.er1 >conftest.err
33582 rm -f conftest.er1
33583 cat conftest.err >&5
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); } &&
33586 { ac_try='test -z "$ac_c_werror_flag"
33587 || test ! -s conftest.err'
33588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33589 (eval $ac_try) 2>&5
33590 ac_status=$?
33591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33592 (exit $ac_status); }; } &&
33593 { ac_try='test -s conftest$ac_exeext'
33594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33595 (eval $ac_try) 2>&5
33596 ac_status=$?
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); }; }; then
33599 eval "$as_ac_var=yes"
33600 else
33601 echo "$as_me: failed program was:" >&5
33602 sed 's/^/| /' conftest.$ac_ext >&5
33604 eval "$as_ac_var=no"
33606 rm -f conftest.err conftest.$ac_objext \
33607 conftest$ac_exeext conftest.$ac_ext
33609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33611 if test `eval echo '${'$as_ac_var'}'` = yes; then
33612 cat >>confdefs.h <<_ACEOF
33613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33614 _ACEOF
33617 done
33619 else
33621 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33622 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33623 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33624 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33626 else
33630 ac_ext=cc
33631 ac_cpp='$CXXCPP $CPPFLAGS'
33632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33636 cat >conftest.$ac_ext <<_ACEOF
33637 /* confdefs.h. */
33638 _ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 #include <math.h>
33643 #ifdef HAVE_IEEEFP_H
33644 #include <ieeefp.h>
33645 #endif
33648 main ()
33650 _logl(0);
33652 return 0;
33654 _ACEOF
33655 rm -f conftest.$ac_objext
33656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33657 (eval $ac_compile) 2>conftest.er1
33658 ac_status=$?
33659 grep -v '^ *+' conftest.er1 >conftest.err
33660 rm -f conftest.er1
33661 cat conftest.err >&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); } &&
33664 { ac_try='test -z "$ac_cxx_werror_flag"
33665 || test ! -s conftest.err'
33666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33667 (eval $ac_try) 2>&5
33668 ac_status=$?
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); }; } &&
33671 { ac_try='test -s conftest.$ac_objext'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; }; then
33677 glibcxx_cv_func__logl_use=yes
33678 else
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.$ac_ext >&5
33682 glibcxx_cv_func__logl_use=no
33684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33685 ac_ext=c
33686 ac_cpp='$CPP $CPPFLAGS'
33687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33696 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33698 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33700 for ac_func in _logl
33702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33703 echo "$as_me:$LINENO: checking for $ac_func" >&5
33704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33705 if eval "test \"\${$as_ac_var+set}\" = set"; then
33706 echo $ECHO_N "(cached) $ECHO_C" >&6
33707 else
33708 if test x$gcc_no_link = xyes; then
33709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33711 { (exit 1); exit 1; }; }
33713 cat >conftest.$ac_ext <<_ACEOF
33714 /* confdefs.h. */
33715 _ACEOF
33716 cat confdefs.h >>conftest.$ac_ext
33717 cat >>conftest.$ac_ext <<_ACEOF
33718 /* end confdefs.h. */
33719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33721 #define $ac_func innocuous_$ac_func
33723 /* System header to define __stub macros and hopefully few prototypes,
33724 which can conflict with char $ac_func (); below.
33725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33726 <limits.h> exists even on freestanding compilers. */
33728 #ifdef __STDC__
33729 # include <limits.h>
33730 #else
33731 # include <assert.h>
33732 #endif
33734 #undef $ac_func
33736 /* Override any gcc2 internal prototype to avoid an error. */
33737 #ifdef __cplusplus
33738 extern "C"
33740 #endif
33741 /* We use char because int might match the return type of a gcc2
33742 builtin and then its argument prototype would still apply. */
33743 char $ac_func ();
33744 /* The GNU C library defines this for functions which it implements
33745 to always fail with ENOSYS. Some functions are actually named
33746 something starting with __ and the normal name is an alias. */
33747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33748 choke me
33749 #else
33750 char (*f) () = $ac_func;
33751 #endif
33752 #ifdef __cplusplus
33754 #endif
33757 main ()
33759 return f != $ac_func;
33761 return 0;
33763 _ACEOF
33764 rm -f conftest.$ac_objext conftest$ac_exeext
33765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33766 (eval $ac_link) 2>conftest.er1
33767 ac_status=$?
33768 grep -v '^ *+' conftest.er1 >conftest.err
33769 rm -f conftest.er1
33770 cat conftest.err >&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); } &&
33773 { ac_try='test -z "$ac_c_werror_flag"
33774 || test ! -s conftest.err'
33775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33776 (eval $ac_try) 2>&5
33777 ac_status=$?
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); }; } &&
33780 { ac_try='test -s conftest$ac_exeext'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33783 ac_status=$?
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; }; then
33786 eval "$as_ac_var=yes"
33787 else
33788 echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.$ac_ext >&5
33791 eval "$as_ac_var=no"
33793 rm -f conftest.err conftest.$ac_objext \
33794 conftest$ac_exeext conftest.$ac_ext
33796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33798 if test `eval echo '${'$as_ac_var'}'` = yes; then
33799 cat >>confdefs.h <<_ACEOF
33800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33801 _ACEOF
33804 done
33814 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33815 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33816 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33817 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33823 ac_ext=cc
33824 ac_cpp='$CXXCPP $CPPFLAGS'
33825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33829 cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 #include <math.h>
33836 #ifdef HAVE_IEEEFP_H
33837 #include <ieeefp.h>
33838 #endif
33841 main ()
33843 log10l(0);
33845 return 0;
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850 (eval $ac_compile) 2>conftest.er1
33851 ac_status=$?
33852 grep -v '^ *+' conftest.er1 >conftest.err
33853 rm -f conftest.er1
33854 cat conftest.err >&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } &&
33857 { ac_try='test -z "$ac_cxx_werror_flag"
33858 || test ! -s conftest.err'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; } &&
33864 { ac_try='test -s conftest.$ac_objext'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; }; then
33870 glibcxx_cv_func_log10l_use=yes
33871 else
33872 echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33875 glibcxx_cv_func_log10l_use=no
33877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33889 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33891 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33893 for ac_func in log10l
33895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33896 echo "$as_me:$LINENO: checking for $ac_func" >&5
33897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33898 if eval "test \"\${$as_ac_var+set}\" = set"; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901 if test x$gcc_no_link = xyes; then
33902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33904 { (exit 1); exit 1; }; }
33906 cat >conftest.$ac_ext <<_ACEOF
33907 /* confdefs.h. */
33908 _ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33914 #define $ac_func innocuous_$ac_func
33916 /* System header to define __stub macros and hopefully few prototypes,
33917 which can conflict with char $ac_func (); below.
33918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33919 <limits.h> exists even on freestanding compilers. */
33921 #ifdef __STDC__
33922 # include <limits.h>
33923 #else
33924 # include <assert.h>
33925 #endif
33927 #undef $ac_func
33929 /* Override any gcc2 internal prototype to avoid an error. */
33930 #ifdef __cplusplus
33931 extern "C"
33933 #endif
33934 /* We use char because int might match the return type of a gcc2
33935 builtin and then its argument prototype would still apply. */
33936 char $ac_func ();
33937 /* The GNU C library defines this for functions which it implements
33938 to always fail with ENOSYS. Some functions are actually named
33939 something starting with __ and the normal name is an alias. */
33940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33941 choke me
33942 #else
33943 char (*f) () = $ac_func;
33944 #endif
33945 #ifdef __cplusplus
33947 #endif
33950 main ()
33952 return f != $ac_func;
33954 return 0;
33956 _ACEOF
33957 rm -f conftest.$ac_objext conftest$ac_exeext
33958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33959 (eval $ac_link) 2>conftest.er1
33960 ac_status=$?
33961 grep -v '^ *+' conftest.er1 >conftest.err
33962 rm -f conftest.er1
33963 cat conftest.err >&5
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); } &&
33966 { ac_try='test -z "$ac_c_werror_flag"
33967 || test ! -s conftest.err'
33968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33969 (eval $ac_try) 2>&5
33970 ac_status=$?
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); }; } &&
33973 { ac_try='test -s conftest$ac_exeext'
33974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975 (eval $ac_try) 2>&5
33976 ac_status=$?
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; }; then
33979 eval "$as_ac_var=yes"
33980 else
33981 echo "$as_me: failed program was:" >&5
33982 sed 's/^/| /' conftest.$ac_ext >&5
33984 eval "$as_ac_var=no"
33986 rm -f conftest.err conftest.$ac_objext \
33987 conftest$ac_exeext conftest.$ac_ext
33989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33991 if test `eval echo '${'$as_ac_var'}'` = yes; then
33992 cat >>confdefs.h <<_ACEOF
33993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33994 _ACEOF
33997 done
33999 else
34001 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34002 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34003 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34004 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 else
34010 ac_ext=cc
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016 cat >conftest.$ac_ext <<_ACEOF
34017 /* confdefs.h. */
34018 _ACEOF
34019 cat confdefs.h >>conftest.$ac_ext
34020 cat >>conftest.$ac_ext <<_ACEOF
34021 /* end confdefs.h. */
34022 #include <math.h>
34023 #ifdef HAVE_IEEEFP_H
34024 #include <ieeefp.h>
34025 #endif
34028 main ()
34030 _log10l(0);
34032 return 0;
34034 _ACEOF
34035 rm -f conftest.$ac_objext
34036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34037 (eval $ac_compile) 2>conftest.er1
34038 ac_status=$?
34039 grep -v '^ *+' conftest.er1 >conftest.err
34040 rm -f conftest.er1
34041 cat conftest.err >&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try='test -z "$ac_cxx_werror_flag"
34045 || test ! -s conftest.err'
34046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34047 (eval $ac_try) 2>&5
34048 ac_status=$?
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; } &&
34051 { ac_try='test -s conftest.$ac_objext'
34052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34053 (eval $ac_try) 2>&5
34054 ac_status=$?
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; }; then
34057 glibcxx_cv_func__log10l_use=yes
34058 else
34059 echo "$as_me: failed program was:" >&5
34060 sed 's/^/| /' conftest.$ac_ext >&5
34062 glibcxx_cv_func__log10l_use=no
34064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34065 ac_ext=c
34066 ac_cpp='$CPP $CPPFLAGS'
34067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34076 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34078 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34080 for ac_func in _log10l
34082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34083 echo "$as_me:$LINENO: checking for $ac_func" >&5
34084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34085 if eval "test \"\${$as_ac_var+set}\" = set"; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34087 else
34088 if test x$gcc_no_link = xyes; then
34089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34091 { (exit 1); exit 1; }; }
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h. */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34101 #define $ac_func innocuous_$ac_func
34103 /* System header to define __stub macros and hopefully few prototypes,
34104 which can conflict with char $ac_func (); below.
34105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34106 <limits.h> exists even on freestanding compilers. */
34108 #ifdef __STDC__
34109 # include <limits.h>
34110 #else
34111 # include <assert.h>
34112 #endif
34114 #undef $ac_func
34116 /* Override any gcc2 internal prototype to avoid an error. */
34117 #ifdef __cplusplus
34118 extern "C"
34120 #endif
34121 /* We use char because int might match the return type of a gcc2
34122 builtin and then its argument prototype would still apply. */
34123 char $ac_func ();
34124 /* The GNU C library defines this for functions which it implements
34125 to always fail with ENOSYS. Some functions are actually named
34126 something starting with __ and the normal name is an alias. */
34127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34128 choke me
34129 #else
34130 char (*f) () = $ac_func;
34131 #endif
34132 #ifdef __cplusplus
34134 #endif
34137 main ()
34139 return f != $ac_func;
34141 return 0;
34143 _ACEOF
34144 rm -f conftest.$ac_objext conftest$ac_exeext
34145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34146 (eval $ac_link) 2>conftest.er1
34147 ac_status=$?
34148 grep -v '^ *+' conftest.er1 >conftest.err
34149 rm -f conftest.er1
34150 cat conftest.err >&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } &&
34153 { ac_try='test -z "$ac_c_werror_flag"
34154 || test ! -s conftest.err'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34157 ac_status=$?
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; } &&
34160 { ac_try='test -s conftest$ac_exeext'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34163 ac_status=$?
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; }; then
34166 eval "$as_ac_var=yes"
34167 else
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.$ac_ext >&5
34171 eval "$as_ac_var=no"
34173 rm -f conftest.err conftest.$ac_objext \
34174 conftest$ac_exeext conftest.$ac_ext
34176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34178 if test `eval echo '${'$as_ac_var'}'` = yes; then
34179 cat >>confdefs.h <<_ACEOF
34180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34181 _ACEOF
34184 done
34194 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34195 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34196 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34197 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34199 else
34203 ac_ext=cc
34204 ac_cpp='$CXXCPP $CPPFLAGS'
34205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34209 cat >conftest.$ac_ext <<_ACEOF
34210 /* confdefs.h. */
34211 _ACEOF
34212 cat confdefs.h >>conftest.$ac_ext
34213 cat >>conftest.$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34215 #include <math.h>
34217 main ()
34219 modfl(0, 0);
34221 return 0;
34223 _ACEOF
34224 rm -f conftest.$ac_objext
34225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34226 (eval $ac_compile) 2>conftest.er1
34227 ac_status=$?
34228 grep -v '^ *+' conftest.er1 >conftest.err
34229 rm -f conftest.er1
34230 cat conftest.err >&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); } &&
34233 { ac_try='test -z "$ac_cxx_werror_flag"
34234 || test ! -s conftest.err'
34235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34236 (eval $ac_try) 2>&5
34237 ac_status=$?
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); }; } &&
34240 { ac_try='test -s conftest.$ac_objext'
34241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34242 (eval $ac_try) 2>&5
34243 ac_status=$?
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); }; }; then
34246 glibcxx_cv_func_modfl_use=yes
34247 else
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34251 glibcxx_cv_func_modfl_use=no
34253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34254 ac_ext=c
34255 ac_cpp='$CPP $CPPFLAGS'
34256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34265 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34267 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34269 for ac_func in modfl
34271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34272 echo "$as_me:$LINENO: checking for $ac_func" >&5
34273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34274 if eval "test \"\${$as_ac_var+set}\" = set"; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34276 else
34277 if test x$gcc_no_link = xyes; then
34278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34280 { (exit 1); exit 1; }; }
34282 cat >conftest.$ac_ext <<_ACEOF
34283 /* confdefs.h. */
34284 _ACEOF
34285 cat confdefs.h >>conftest.$ac_ext
34286 cat >>conftest.$ac_ext <<_ACEOF
34287 /* end confdefs.h. */
34288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34290 #define $ac_func innocuous_$ac_func
34292 /* System header to define __stub macros and hopefully few prototypes,
34293 which can conflict with char $ac_func (); below.
34294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34295 <limits.h> exists even on freestanding compilers. */
34297 #ifdef __STDC__
34298 # include <limits.h>
34299 #else
34300 # include <assert.h>
34301 #endif
34303 #undef $ac_func
34305 /* Override any gcc2 internal prototype to avoid an error. */
34306 #ifdef __cplusplus
34307 extern "C"
34309 #endif
34310 /* We use char because int might match the return type of a gcc2
34311 builtin and then its argument prototype would still apply. */
34312 char $ac_func ();
34313 /* The GNU C library defines this for functions which it implements
34314 to always fail with ENOSYS. Some functions are actually named
34315 something starting with __ and the normal name is an alias. */
34316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34317 choke me
34318 #else
34319 char (*f) () = $ac_func;
34320 #endif
34321 #ifdef __cplusplus
34323 #endif
34326 main ()
34328 return f != $ac_func;
34330 return 0;
34332 _ACEOF
34333 rm -f conftest.$ac_objext conftest$ac_exeext
34334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34335 (eval $ac_link) 2>conftest.er1
34336 ac_status=$?
34337 grep -v '^ *+' conftest.er1 >conftest.err
34338 rm -f conftest.er1
34339 cat conftest.err >&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); } &&
34342 { ac_try='test -z "$ac_c_werror_flag"
34343 || test ! -s conftest.err'
34344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 (eval $ac_try) 2>&5
34346 ac_status=$?
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); }; } &&
34349 { ac_try='test -s conftest$ac_exeext'
34350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 (eval $ac_try) 2>&5
34352 ac_status=$?
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); }; }; then
34355 eval "$as_ac_var=yes"
34356 else
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34360 eval "$as_ac_var=no"
34362 rm -f conftest.err conftest.$ac_objext \
34363 conftest$ac_exeext conftest.$ac_ext
34365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34367 if test `eval echo '${'$as_ac_var'}'` = yes; then
34368 cat >>confdefs.h <<_ACEOF
34369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34370 _ACEOF
34373 done
34375 else
34377 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34378 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34379 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34380 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 else
34386 ac_ext=cc
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392 cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h. */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 #include <math.h>
34400 main ()
34402 _modfl(0, 0);
34404 return 0;
34406 _ACEOF
34407 rm -f conftest.$ac_objext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34409 (eval $ac_compile) 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try='test -z "$ac_cxx_werror_flag"
34417 || test ! -s conftest.err'
34418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34419 (eval $ac_try) 2>&5
34420 ac_status=$?
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); }; } &&
34423 { ac_try='test -s conftest.$ac_objext'
34424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34425 (eval $ac_try) 2>&5
34426 ac_status=$?
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); }; }; then
34429 glibcxx_cv_func__modfl_use=yes
34430 else
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34434 glibcxx_cv_func__modfl_use=no
34436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34437 ac_ext=c
34438 ac_cpp='$CPP $CPPFLAGS'
34439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34448 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34450 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34452 for ac_func in _modfl
34454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34455 echo "$as_me:$LINENO: checking for $ac_func" >&5
34456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34457 if eval "test \"\${$as_ac_var+set}\" = set"; then
34458 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 else
34460 if test x$gcc_no_link = xyes; then
34461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34463 { (exit 1); exit 1; }; }
34465 cat >conftest.$ac_ext <<_ACEOF
34466 /* confdefs.h. */
34467 _ACEOF
34468 cat confdefs.h >>conftest.$ac_ext
34469 cat >>conftest.$ac_ext <<_ACEOF
34470 /* end confdefs.h. */
34471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34473 #define $ac_func innocuous_$ac_func
34475 /* System header to define __stub macros and hopefully few prototypes,
34476 which can conflict with char $ac_func (); below.
34477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34478 <limits.h> exists even on freestanding compilers. */
34480 #ifdef __STDC__
34481 # include <limits.h>
34482 #else
34483 # include <assert.h>
34484 #endif
34486 #undef $ac_func
34488 /* Override any gcc2 internal prototype to avoid an error. */
34489 #ifdef __cplusplus
34490 extern "C"
34492 #endif
34493 /* We use char because int might match the return type of a gcc2
34494 builtin and then its argument prototype would still apply. */
34495 char $ac_func ();
34496 /* The GNU C library defines this for functions which it implements
34497 to always fail with ENOSYS. Some functions are actually named
34498 something starting with __ and the normal name is an alias. */
34499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34500 choke me
34501 #else
34502 char (*f) () = $ac_func;
34503 #endif
34504 #ifdef __cplusplus
34506 #endif
34509 main ()
34511 return f != $ac_func;
34513 return 0;
34515 _ACEOF
34516 rm -f conftest.$ac_objext conftest$ac_exeext
34517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34518 (eval $ac_link) 2>conftest.er1
34519 ac_status=$?
34520 grep -v '^ *+' conftest.er1 >conftest.err
34521 rm -f conftest.er1
34522 cat conftest.err >&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } &&
34525 { ac_try='test -z "$ac_c_werror_flag"
34526 || test ! -s conftest.err'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34529 ac_status=$?
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; } &&
34532 { ac_try='test -s conftest$ac_exeext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 eval "$as_ac_var=yes"
34539 else
34540 echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.$ac_ext >&5
34543 eval "$as_ac_var=no"
34545 rm -f conftest.err conftest.$ac_objext \
34546 conftest$ac_exeext conftest.$ac_ext
34548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34550 if test `eval echo '${'$as_ac_var'}'` = yes; then
34551 cat >>confdefs.h <<_ACEOF
34552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34553 _ACEOF
34556 done
34566 echo "$as_me:$LINENO: checking for powl declaration" >&5
34567 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34568 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34569 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34570 echo $ECHO_N "(cached) $ECHO_C" >&6
34571 else
34575 ac_ext=cc
34576 ac_cpp='$CXXCPP $CPPFLAGS'
34577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34581 cat >conftest.$ac_ext <<_ACEOF
34582 /* confdefs.h. */
34583 _ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h. */
34587 #include <math.h>
34589 main ()
34591 powl(0, 0);
34593 return 0;
34595 _ACEOF
34596 rm -f conftest.$ac_objext
34597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34598 (eval $ac_compile) 2>conftest.er1
34599 ac_status=$?
34600 grep -v '^ *+' conftest.er1 >conftest.err
34601 rm -f conftest.er1
34602 cat conftest.err >&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } &&
34605 { ac_try='test -z "$ac_cxx_werror_flag"
34606 || test ! -s conftest.err'
34607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34608 (eval $ac_try) 2>&5
34609 ac_status=$?
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); }; } &&
34612 { ac_try='test -s conftest.$ac_objext'
34613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34614 (eval $ac_try) 2>&5
34615 ac_status=$?
34616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34617 (exit $ac_status); }; }; then
34618 glibcxx_cv_func_powl_use=yes
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34623 glibcxx_cv_func_powl_use=no
34625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34626 ac_ext=c
34627 ac_cpp='$CPP $CPPFLAGS'
34628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34637 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34639 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34641 for ac_func in powl
34643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34644 echo "$as_me:$LINENO: checking for $ac_func" >&5
34645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34646 if eval "test \"\${$as_ac_var+set}\" = set"; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34649 if test x$gcc_no_link = xyes; then
34650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34652 { (exit 1); exit 1; }; }
34654 cat >conftest.$ac_ext <<_ACEOF
34655 /* confdefs.h. */
34656 _ACEOF
34657 cat confdefs.h >>conftest.$ac_ext
34658 cat >>conftest.$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34662 #define $ac_func innocuous_$ac_func
34664 /* System header to define __stub macros and hopefully few prototypes,
34665 which can conflict with char $ac_func (); below.
34666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34667 <limits.h> exists even on freestanding compilers. */
34669 #ifdef __STDC__
34670 # include <limits.h>
34671 #else
34672 # include <assert.h>
34673 #endif
34675 #undef $ac_func
34677 /* Override any gcc2 internal prototype to avoid an error. */
34678 #ifdef __cplusplus
34679 extern "C"
34681 #endif
34682 /* We use char because int might match the return type of a gcc2
34683 builtin and then its argument prototype would still apply. */
34684 char $ac_func ();
34685 /* The GNU C library defines this for functions which it implements
34686 to always fail with ENOSYS. Some functions are actually named
34687 something starting with __ and the normal name is an alias. */
34688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34689 choke me
34690 #else
34691 char (*f) () = $ac_func;
34692 #endif
34693 #ifdef __cplusplus
34695 #endif
34698 main ()
34700 return f != $ac_func;
34702 return 0;
34704 _ACEOF
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34707 (eval $ac_link) 2>conftest.er1
34708 ac_status=$?
34709 grep -v '^ *+' conftest.er1 >conftest.err
34710 rm -f conftest.er1
34711 cat conftest.err >&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); } &&
34714 { ac_try='test -z "$ac_c_werror_flag"
34715 || test ! -s conftest.err'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34718 ac_status=$?
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; } &&
34721 { ac_try='test -s conftest$ac_exeext'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34724 ac_status=$?
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; }; then
34727 eval "$as_ac_var=yes"
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34732 eval "$as_ac_var=no"
34734 rm -f conftest.err conftest.$ac_objext \
34735 conftest$ac_exeext conftest.$ac_ext
34737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34739 if test `eval echo '${'$as_ac_var'}'` = yes; then
34740 cat >>confdefs.h <<_ACEOF
34741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34742 _ACEOF
34745 done
34747 else
34749 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34750 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34751 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34752 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34758 ac_ext=cc
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34764 cat >conftest.$ac_ext <<_ACEOF
34765 /* confdefs.h. */
34766 _ACEOF
34767 cat confdefs.h >>conftest.$ac_ext
34768 cat >>conftest.$ac_ext <<_ACEOF
34769 /* end confdefs.h. */
34770 #include <math.h>
34772 main ()
34774 _powl(0, 0);
34776 return 0;
34778 _ACEOF
34779 rm -f conftest.$ac_objext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34781 (eval $ac_compile) 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } &&
34788 { ac_try='test -z "$ac_cxx_werror_flag"
34789 || test ! -s conftest.err'
34790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791 (eval $ac_try) 2>&5
34792 ac_status=$?
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); }; } &&
34795 { ac_try='test -s conftest.$ac_objext'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34798 ac_status=$?
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; }; then
34801 glibcxx_cv_func__powl_use=yes
34802 else
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34806 glibcxx_cv_func__powl_use=no
34808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34809 ac_ext=c
34810 ac_cpp='$CPP $CPPFLAGS'
34811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34820 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34822 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34824 for ac_func in _powl
34826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34827 echo "$as_me:$LINENO: checking for $ac_func" >&5
34828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34829 if eval "test \"\${$as_ac_var+set}\" = set"; then
34830 echo $ECHO_N "(cached) $ECHO_C" >&6
34831 else
34832 if test x$gcc_no_link = xyes; then
34833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34835 { (exit 1); exit 1; }; }
34837 cat >conftest.$ac_ext <<_ACEOF
34838 /* confdefs.h. */
34839 _ACEOF
34840 cat confdefs.h >>conftest.$ac_ext
34841 cat >>conftest.$ac_ext <<_ACEOF
34842 /* end confdefs.h. */
34843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34845 #define $ac_func innocuous_$ac_func
34847 /* System header to define __stub macros and hopefully few prototypes,
34848 which can conflict with char $ac_func (); below.
34849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34850 <limits.h> exists even on freestanding compilers. */
34852 #ifdef __STDC__
34853 # include <limits.h>
34854 #else
34855 # include <assert.h>
34856 #endif
34858 #undef $ac_func
34860 /* Override any gcc2 internal prototype to avoid an error. */
34861 #ifdef __cplusplus
34862 extern "C"
34864 #endif
34865 /* We use char because int might match the return type of a gcc2
34866 builtin and then its argument prototype would still apply. */
34867 char $ac_func ();
34868 /* The GNU C library defines this for functions which it implements
34869 to always fail with ENOSYS. Some functions are actually named
34870 something starting with __ and the normal name is an alias. */
34871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34872 choke me
34873 #else
34874 char (*f) () = $ac_func;
34875 #endif
34876 #ifdef __cplusplus
34878 #endif
34881 main ()
34883 return f != $ac_func;
34885 return 0;
34887 _ACEOF
34888 rm -f conftest.$ac_objext conftest$ac_exeext
34889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34890 (eval $ac_link) 2>conftest.er1
34891 ac_status=$?
34892 grep -v '^ *+' conftest.er1 >conftest.err
34893 rm -f conftest.er1
34894 cat conftest.err >&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); } &&
34897 { ac_try='test -z "$ac_c_werror_flag"
34898 || test ! -s conftest.err'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34901 ac_status=$?
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; } &&
34904 { ac_try='test -s conftest$ac_exeext'
34905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34906 (eval $ac_try) 2>&5
34907 ac_status=$?
34908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34909 (exit $ac_status); }; }; then
34910 eval "$as_ac_var=yes"
34911 else
34912 echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.$ac_ext >&5
34915 eval "$as_ac_var=no"
34917 rm -f conftest.err conftest.$ac_objext \
34918 conftest$ac_exeext conftest.$ac_ext
34920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34922 if test `eval echo '${'$as_ac_var'}'` = yes; then
34923 cat >>confdefs.h <<_ACEOF
34924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34925 _ACEOF
34928 done
34938 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34939 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34940 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34941 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34942 echo $ECHO_N "(cached) $ECHO_C" >&6
34943 else
34947 ac_ext=cc
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953 cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h. */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h. */
34959 #include <math.h>
34960 #ifdef HAVE_IEEEFP_H
34961 #include <ieeefp.h>
34962 #endif
34965 main ()
34967 sqrtl(0);
34969 return 0;
34971 _ACEOF
34972 rm -f conftest.$ac_objext
34973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34974 (eval $ac_compile) 2>conftest.er1
34975 ac_status=$?
34976 grep -v '^ *+' conftest.er1 >conftest.err
34977 rm -f conftest.er1
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } &&
34981 { ac_try='test -z "$ac_cxx_werror_flag"
34982 || test ! -s conftest.err'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34985 ac_status=$?
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; } &&
34988 { ac_try='test -s conftest.$ac_objext'
34989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34990 (eval $ac_try) 2>&5
34991 ac_status=$?
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); }; }; then
34994 glibcxx_cv_func_sqrtl_use=yes
34995 else
34996 echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.$ac_ext >&5
34999 glibcxx_cv_func_sqrtl_use=no
35001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35002 ac_ext=c
35003 ac_cpp='$CPP $CPPFLAGS'
35004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35013 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35015 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35017 for ac_func in sqrtl
35019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35020 echo "$as_me:$LINENO: checking for $ac_func" >&5
35021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35022 if eval "test \"\${$as_ac_var+set}\" = set"; then
35023 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 else
35025 if test x$gcc_no_link = xyes; then
35026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35028 { (exit 1); exit 1; }; }
35030 cat >conftest.$ac_ext <<_ACEOF
35031 /* confdefs.h. */
35032 _ACEOF
35033 cat confdefs.h >>conftest.$ac_ext
35034 cat >>conftest.$ac_ext <<_ACEOF
35035 /* end confdefs.h. */
35036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35038 #define $ac_func innocuous_$ac_func
35040 /* System header to define __stub macros and hopefully few prototypes,
35041 which can conflict with char $ac_func (); below.
35042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35043 <limits.h> exists even on freestanding compilers. */
35045 #ifdef __STDC__
35046 # include <limits.h>
35047 #else
35048 # include <assert.h>
35049 #endif
35051 #undef $ac_func
35053 /* Override any gcc2 internal prototype to avoid an error. */
35054 #ifdef __cplusplus
35055 extern "C"
35057 #endif
35058 /* We use char because int might match the return type of a gcc2
35059 builtin and then its argument prototype would still apply. */
35060 char $ac_func ();
35061 /* The GNU C library defines this for functions which it implements
35062 to always fail with ENOSYS. Some functions are actually named
35063 something starting with __ and the normal name is an alias. */
35064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35065 choke me
35066 #else
35067 char (*f) () = $ac_func;
35068 #endif
35069 #ifdef __cplusplus
35071 #endif
35074 main ()
35076 return f != $ac_func;
35078 return 0;
35080 _ACEOF
35081 rm -f conftest.$ac_objext conftest$ac_exeext
35082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35083 (eval $ac_link) 2>conftest.er1
35084 ac_status=$?
35085 grep -v '^ *+' conftest.er1 >conftest.err
35086 rm -f conftest.er1
35087 cat conftest.err >&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); } &&
35090 { ac_try='test -z "$ac_c_werror_flag"
35091 || test ! -s conftest.err'
35092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093 (eval $ac_try) 2>&5
35094 ac_status=$?
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; } &&
35097 { ac_try='test -s conftest$ac_exeext'
35098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099 (eval $ac_try) 2>&5
35100 ac_status=$?
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); }; }; then
35103 eval "$as_ac_var=yes"
35104 else
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35108 eval "$as_ac_var=no"
35110 rm -f conftest.err conftest.$ac_objext \
35111 conftest$ac_exeext conftest.$ac_ext
35113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35115 if test `eval echo '${'$as_ac_var'}'` = yes; then
35116 cat >>confdefs.h <<_ACEOF
35117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35118 _ACEOF
35121 done
35123 else
35125 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35126 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35127 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35128 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35130 else
35134 ac_ext=cc
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140 cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h. */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 #include <math.h>
35147 #ifdef HAVE_IEEEFP_H
35148 #include <ieeefp.h>
35149 #endif
35152 main ()
35154 _sqrtl(0);
35156 return 0;
35158 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35161 (eval $ac_compile) 2>conftest.er1
35162 ac_status=$?
35163 grep -v '^ *+' conftest.er1 >conftest.err
35164 rm -f conftest.er1
35165 cat conftest.err >&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } &&
35168 { ac_try='test -z "$ac_cxx_werror_flag"
35169 || test ! -s conftest.err'
35170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35171 (eval $ac_try) 2>&5
35172 ac_status=$?
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); }; } &&
35175 { ac_try='test -s conftest.$ac_objext'
35176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35177 (eval $ac_try) 2>&5
35178 ac_status=$?
35179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180 (exit $ac_status); }; }; then
35181 glibcxx_cv_func__sqrtl_use=yes
35182 else
35183 echo "$as_me: failed program was:" >&5
35184 sed 's/^/| /' conftest.$ac_ext >&5
35186 glibcxx_cv_func__sqrtl_use=no
35188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35189 ac_ext=c
35190 ac_cpp='$CPP $CPPFLAGS'
35191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35199 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35200 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35202 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35204 for ac_func in _sqrtl
35206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35207 echo "$as_me:$LINENO: checking for $ac_func" >&5
35208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35209 if eval "test \"\${$as_ac_var+set}\" = set"; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212 if test x$gcc_no_link = xyes; then
35213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35215 { (exit 1); exit 1; }; }
35217 cat >conftest.$ac_ext <<_ACEOF
35218 /* confdefs.h. */
35219 _ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35225 #define $ac_func innocuous_$ac_func
35227 /* System header to define __stub macros and hopefully few prototypes,
35228 which can conflict with char $ac_func (); below.
35229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35230 <limits.h> exists even on freestanding compilers. */
35232 #ifdef __STDC__
35233 # include <limits.h>
35234 #else
35235 # include <assert.h>
35236 #endif
35238 #undef $ac_func
35240 /* Override any gcc2 internal prototype to avoid an error. */
35241 #ifdef __cplusplus
35242 extern "C"
35244 #endif
35245 /* We use char because int might match the return type of a gcc2
35246 builtin and then its argument prototype would still apply. */
35247 char $ac_func ();
35248 /* The GNU C library defines this for functions which it implements
35249 to always fail with ENOSYS. Some functions are actually named
35250 something starting with __ and the normal name is an alias. */
35251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35252 choke me
35253 #else
35254 char (*f) () = $ac_func;
35255 #endif
35256 #ifdef __cplusplus
35258 #endif
35261 main ()
35263 return f != $ac_func;
35265 return 0;
35267 _ACEOF
35268 rm -f conftest.$ac_objext conftest$ac_exeext
35269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35270 (eval $ac_link) 2>conftest.er1
35271 ac_status=$?
35272 grep -v '^ *+' conftest.er1 >conftest.err
35273 rm -f conftest.er1
35274 cat conftest.err >&5
35275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276 (exit $ac_status); } &&
35277 { ac_try='test -z "$ac_c_werror_flag"
35278 || test ! -s conftest.err'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35281 ac_status=$?
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; } &&
35284 { ac_try='test -s conftest$ac_exeext'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35287 ac_status=$?
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; }; then
35290 eval "$as_ac_var=yes"
35291 else
35292 echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.$ac_ext >&5
35295 eval "$as_ac_var=no"
35297 rm -f conftest.err conftest.$ac_objext \
35298 conftest$ac_exeext conftest.$ac_ext
35300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35302 if test `eval echo '${'$as_ac_var'}'` = yes; then
35303 cat >>confdefs.h <<_ACEOF
35304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35305 _ACEOF
35308 done
35318 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35319 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35320 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35321 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35327 ac_ext=cc
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35333 cat >conftest.$ac_ext <<_ACEOF
35334 /* confdefs.h. */
35335 _ACEOF
35336 cat confdefs.h >>conftest.$ac_ext
35337 cat >>conftest.$ac_ext <<_ACEOF
35338 /* end confdefs.h. */
35339 #include <math.h>
35341 main ()
35343 sincosl(0, 0, 0);
35345 return 0;
35347 _ACEOF
35348 rm -f conftest.$ac_objext
35349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35350 (eval $ac_compile) 2>conftest.er1
35351 ac_status=$?
35352 grep -v '^ *+' conftest.er1 >conftest.err
35353 rm -f conftest.er1
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } &&
35357 { ac_try='test -z "$ac_cxx_werror_flag"
35358 || test ! -s conftest.err'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35361 ac_status=$?
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; } &&
35364 { ac_try='test -s conftest.$ac_objext'
35365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35366 (eval $ac_try) 2>&5
35367 ac_status=$?
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); }; }; then
35370 glibcxx_cv_func_sincosl_use=yes
35371 else
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35375 glibcxx_cv_func_sincosl_use=no
35377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35378 ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35389 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35391 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35393 for ac_func in sincosl
35395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35396 echo "$as_me:$LINENO: checking for $ac_func" >&5
35397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35398 if eval "test \"\${$as_ac_var+set}\" = set"; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 else
35401 if test x$gcc_no_link = xyes; then
35402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35404 { (exit 1); exit 1; }; }
35406 cat >conftest.$ac_ext <<_ACEOF
35407 /* confdefs.h. */
35408 _ACEOF
35409 cat confdefs.h >>conftest.$ac_ext
35410 cat >>conftest.$ac_ext <<_ACEOF
35411 /* end confdefs.h. */
35412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35414 #define $ac_func innocuous_$ac_func
35416 /* System header to define __stub macros and hopefully few prototypes,
35417 which can conflict with char $ac_func (); below.
35418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35419 <limits.h> exists even on freestanding compilers. */
35421 #ifdef __STDC__
35422 # include <limits.h>
35423 #else
35424 # include <assert.h>
35425 #endif
35427 #undef $ac_func
35429 /* Override any gcc2 internal prototype to avoid an error. */
35430 #ifdef __cplusplus
35431 extern "C"
35433 #endif
35434 /* We use char because int might match the return type of a gcc2
35435 builtin and then its argument prototype would still apply. */
35436 char $ac_func ();
35437 /* The GNU C library defines this for functions which it implements
35438 to always fail with ENOSYS. Some functions are actually named
35439 something starting with __ and the normal name is an alias. */
35440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35441 choke me
35442 #else
35443 char (*f) () = $ac_func;
35444 #endif
35445 #ifdef __cplusplus
35447 #endif
35450 main ()
35452 return f != $ac_func;
35454 return 0;
35456 _ACEOF
35457 rm -f conftest.$ac_objext conftest$ac_exeext
35458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35459 (eval $ac_link) 2>conftest.er1
35460 ac_status=$?
35461 grep -v '^ *+' conftest.er1 >conftest.err
35462 rm -f conftest.er1
35463 cat conftest.err >&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); } &&
35466 { ac_try='test -z "$ac_c_werror_flag"
35467 || test ! -s conftest.err'
35468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35469 (eval $ac_try) 2>&5
35470 ac_status=$?
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); }; } &&
35473 { ac_try='test -s conftest$ac_exeext'
35474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35475 (eval $ac_try) 2>&5
35476 ac_status=$?
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); }; }; then
35479 eval "$as_ac_var=yes"
35480 else
35481 echo "$as_me: failed program was:" >&5
35482 sed 's/^/| /' conftest.$ac_ext >&5
35484 eval "$as_ac_var=no"
35486 rm -f conftest.err conftest.$ac_objext \
35487 conftest$ac_exeext conftest.$ac_ext
35489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35491 if test `eval echo '${'$as_ac_var'}'` = yes; then
35492 cat >>confdefs.h <<_ACEOF
35493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35494 _ACEOF
35497 done
35499 else
35501 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35502 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35503 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35504 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35510 ac_ext=cc
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35516 cat >conftest.$ac_ext <<_ACEOF
35517 /* confdefs.h. */
35518 _ACEOF
35519 cat confdefs.h >>conftest.$ac_ext
35520 cat >>conftest.$ac_ext <<_ACEOF
35521 /* end confdefs.h. */
35522 #include <math.h>
35524 main ()
35526 _sincosl(0, 0, 0);
35528 return 0;
35530 _ACEOF
35531 rm -f conftest.$ac_objext
35532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35533 (eval $ac_compile) 2>conftest.er1
35534 ac_status=$?
35535 grep -v '^ *+' conftest.er1 >conftest.err
35536 rm -f conftest.er1
35537 cat conftest.err >&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); } &&
35540 { ac_try='test -z "$ac_cxx_werror_flag"
35541 || test ! -s conftest.err'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; } &&
35547 { ac_try='test -s conftest.$ac_objext'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35550 ac_status=$?
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; }; then
35553 glibcxx_cv_func__sincosl_use=yes
35554 else
35555 echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.$ac_ext >&5
35558 glibcxx_cv_func__sincosl_use=no
35560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35561 ac_ext=c
35562 ac_cpp='$CPP $CPPFLAGS'
35563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35571 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35572 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35574 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35576 for ac_func in _sincosl
35578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35579 echo "$as_me:$LINENO: checking for $ac_func" >&5
35580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35581 if eval "test \"\${$as_ac_var+set}\" = set"; then
35582 echo $ECHO_N "(cached) $ECHO_C" >&6
35583 else
35584 if test x$gcc_no_link = xyes; then
35585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35587 { (exit 1); exit 1; }; }
35589 cat >conftest.$ac_ext <<_ACEOF
35590 /* confdefs.h. */
35591 _ACEOF
35592 cat confdefs.h >>conftest.$ac_ext
35593 cat >>conftest.$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35597 #define $ac_func innocuous_$ac_func
35599 /* System header to define __stub macros and hopefully few prototypes,
35600 which can conflict with char $ac_func (); below.
35601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35602 <limits.h> exists even on freestanding compilers. */
35604 #ifdef __STDC__
35605 # include <limits.h>
35606 #else
35607 # include <assert.h>
35608 #endif
35610 #undef $ac_func
35612 /* Override any gcc2 internal prototype to avoid an error. */
35613 #ifdef __cplusplus
35614 extern "C"
35616 #endif
35617 /* We use char because int might match the return type of a gcc2
35618 builtin and then its argument prototype would still apply. */
35619 char $ac_func ();
35620 /* The GNU C library defines this for functions which it implements
35621 to always fail with ENOSYS. Some functions are actually named
35622 something starting with __ and the normal name is an alias. */
35623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35624 choke me
35625 #else
35626 char (*f) () = $ac_func;
35627 #endif
35628 #ifdef __cplusplus
35630 #endif
35633 main ()
35635 return f != $ac_func;
35637 return 0;
35639 _ACEOF
35640 rm -f conftest.$ac_objext conftest$ac_exeext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35642 (eval $ac_link) 2>conftest.er1
35643 ac_status=$?
35644 grep -v '^ *+' conftest.er1 >conftest.err
35645 rm -f conftest.er1
35646 cat conftest.err >&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try='test -z "$ac_c_werror_flag"
35650 || test ! -s conftest.err'
35651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652 (eval $ac_try) 2>&5
35653 ac_status=$?
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; } &&
35656 { ac_try='test -s conftest$ac_exeext'
35657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35658 (eval $ac_try) 2>&5
35659 ac_status=$?
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); }; }; then
35662 eval "$as_ac_var=yes"
35663 else
35664 echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35667 eval "$as_ac_var=no"
35669 rm -f conftest.err conftest.$ac_objext \
35670 conftest$ac_exeext conftest.$ac_ext
35672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35674 if test `eval echo '${'$as_ac_var'}'` = yes; then
35675 cat >>confdefs.h <<_ACEOF
35676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35677 _ACEOF
35680 done
35690 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35691 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35692 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35693 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35699 ac_ext=cc
35700 ac_cpp='$CXXCPP $CPPFLAGS'
35701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35705 cat >conftest.$ac_ext <<_ACEOF
35706 /* confdefs.h. */
35707 _ACEOF
35708 cat confdefs.h >>conftest.$ac_ext
35709 cat >>conftest.$ac_ext <<_ACEOF
35710 /* end confdefs.h. */
35711 #include <math.h>
35712 #ifdef HAVE_IEEEFP_H
35713 #include <ieeefp.h>
35714 #endif
35717 main ()
35719 finitel(0);
35721 return 0;
35723 _ACEOF
35724 rm -f conftest.$ac_objext
35725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35726 (eval $ac_compile) 2>conftest.er1
35727 ac_status=$?
35728 grep -v '^ *+' conftest.er1 >conftest.err
35729 rm -f conftest.er1
35730 cat conftest.err >&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); } &&
35733 { ac_try='test -z "$ac_cxx_werror_flag"
35734 || test ! -s conftest.err'
35735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35736 (eval $ac_try) 2>&5
35737 ac_status=$?
35738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35739 (exit $ac_status); }; } &&
35740 { ac_try='test -s conftest.$ac_objext'
35741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742 (eval $ac_try) 2>&5
35743 ac_status=$?
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); }; }; then
35746 glibcxx_cv_func_finitel_use=yes
35747 else
35748 echo "$as_me: failed program was:" >&5
35749 sed 's/^/| /' conftest.$ac_ext >&5
35751 glibcxx_cv_func_finitel_use=no
35753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35754 ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35765 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35767 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35769 for ac_func in finitel
35771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35772 echo "$as_me:$LINENO: checking for $ac_func" >&5
35773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35774 if eval "test \"\${$as_ac_var+set}\" = set"; then
35775 echo $ECHO_N "(cached) $ECHO_C" >&6
35776 else
35777 if test x$gcc_no_link = xyes; then
35778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35780 { (exit 1); exit 1; }; }
35782 cat >conftest.$ac_ext <<_ACEOF
35783 /* confdefs.h. */
35784 _ACEOF
35785 cat confdefs.h >>conftest.$ac_ext
35786 cat >>conftest.$ac_ext <<_ACEOF
35787 /* end confdefs.h. */
35788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35790 #define $ac_func innocuous_$ac_func
35792 /* System header to define __stub macros and hopefully few prototypes,
35793 which can conflict with char $ac_func (); below.
35794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35795 <limits.h> exists even on freestanding compilers. */
35797 #ifdef __STDC__
35798 # include <limits.h>
35799 #else
35800 # include <assert.h>
35801 #endif
35803 #undef $ac_func
35805 /* Override any gcc2 internal prototype to avoid an error. */
35806 #ifdef __cplusplus
35807 extern "C"
35809 #endif
35810 /* We use char because int might match the return type of a gcc2
35811 builtin and then its argument prototype would still apply. */
35812 char $ac_func ();
35813 /* The GNU C library defines this for functions which it implements
35814 to always fail with ENOSYS. Some functions are actually named
35815 something starting with __ and the normal name is an alias. */
35816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35817 choke me
35818 #else
35819 char (*f) () = $ac_func;
35820 #endif
35821 #ifdef __cplusplus
35823 #endif
35826 main ()
35828 return f != $ac_func;
35830 return 0;
35832 _ACEOF
35833 rm -f conftest.$ac_objext conftest$ac_exeext
35834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35835 (eval $ac_link) 2>conftest.er1
35836 ac_status=$?
35837 grep -v '^ *+' conftest.er1 >conftest.err
35838 rm -f conftest.er1
35839 cat conftest.err >&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); } &&
35842 { ac_try='test -z "$ac_c_werror_flag"
35843 || test ! -s conftest.err'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35846 ac_status=$?
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; } &&
35849 { ac_try='test -s conftest$ac_exeext'
35850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851 (eval $ac_try) 2>&5
35852 ac_status=$?
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); }; }; then
35855 eval "$as_ac_var=yes"
35856 else
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35860 eval "$as_ac_var=no"
35862 rm -f conftest.err conftest.$ac_objext \
35863 conftest$ac_exeext conftest.$ac_ext
35865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35867 if test `eval echo '${'$as_ac_var'}'` = yes; then
35868 cat >>confdefs.h <<_ACEOF
35869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35870 _ACEOF
35873 done
35875 else
35877 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35878 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35879 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35880 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 else
35886 ac_ext=cc
35887 ac_cpp='$CXXCPP $CPPFLAGS'
35888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35892 cat >conftest.$ac_ext <<_ACEOF
35893 /* confdefs.h. */
35894 _ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 #include <math.h>
35899 #ifdef HAVE_IEEEFP_H
35900 #include <ieeefp.h>
35901 #endif
35904 main ()
35906 _finitel(0);
35908 return 0;
35910 _ACEOF
35911 rm -f conftest.$ac_objext
35912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35913 (eval $ac_compile) 2>conftest.er1
35914 ac_status=$?
35915 grep -v '^ *+' conftest.er1 >conftest.err
35916 rm -f conftest.er1
35917 cat conftest.err >&5
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); } &&
35920 { ac_try='test -z "$ac_cxx_werror_flag"
35921 || test ! -s conftest.err'
35922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35923 (eval $ac_try) 2>&5
35924 ac_status=$?
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); }; } &&
35927 { ac_try='test -s conftest.$ac_objext'
35928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35929 (eval $ac_try) 2>&5
35930 ac_status=$?
35931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35932 (exit $ac_status); }; }; then
35933 glibcxx_cv_func__finitel_use=yes
35934 else
35935 echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.$ac_ext >&5
35938 glibcxx_cv_func__finitel_use=no
35940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35941 ac_ext=c
35942 ac_cpp='$CPP $CPPFLAGS'
35943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35951 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35952 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35954 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35956 for ac_func in _finitel
35958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35959 echo "$as_me:$LINENO: checking for $ac_func" >&5
35960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35961 if eval "test \"\${$as_ac_var+set}\" = set"; then
35962 echo $ECHO_N "(cached) $ECHO_C" >&6
35963 else
35964 if test x$gcc_no_link = xyes; then
35965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35967 { (exit 1); exit 1; }; }
35969 cat >conftest.$ac_ext <<_ACEOF
35970 /* confdefs.h. */
35971 _ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35977 #define $ac_func innocuous_$ac_func
35979 /* System header to define __stub macros and hopefully few prototypes,
35980 which can conflict with char $ac_func (); below.
35981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35982 <limits.h> exists even on freestanding compilers. */
35984 #ifdef __STDC__
35985 # include <limits.h>
35986 #else
35987 # include <assert.h>
35988 #endif
35990 #undef $ac_func
35992 /* Override any gcc2 internal prototype to avoid an error. */
35993 #ifdef __cplusplus
35994 extern "C"
35996 #endif
35997 /* We use char because int might match the return type of a gcc2
35998 builtin and then its argument prototype would still apply. */
35999 char $ac_func ();
36000 /* The GNU C library defines this for functions which it implements
36001 to always fail with ENOSYS. Some functions are actually named
36002 something starting with __ and the normal name is an alias. */
36003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36004 choke me
36005 #else
36006 char (*f) () = $ac_func;
36007 #endif
36008 #ifdef __cplusplus
36010 #endif
36013 main ()
36015 return f != $ac_func;
36017 return 0;
36019 _ACEOF
36020 rm -f conftest.$ac_objext conftest$ac_exeext
36021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36022 (eval $ac_link) 2>conftest.er1
36023 ac_status=$?
36024 grep -v '^ *+' conftest.er1 >conftest.err
36025 rm -f conftest.er1
36026 cat conftest.err >&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); } &&
36029 { ac_try='test -z "$ac_c_werror_flag"
36030 || test ! -s conftest.err'
36031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36032 (eval $ac_try) 2>&5
36033 ac_status=$?
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); }; } &&
36036 { ac_try='test -s conftest$ac_exeext'
36037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038 (eval $ac_try) 2>&5
36039 ac_status=$?
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); }; }; then
36042 eval "$as_ac_var=yes"
36043 else
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36047 eval "$as_ac_var=no"
36049 rm -f conftest.err conftest.$ac_objext \
36050 conftest$ac_exeext conftest.$ac_ext
36052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36054 if test `eval echo '${'$as_ac_var'}'` = yes; then
36055 cat >>confdefs.h <<_ACEOF
36056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36057 _ACEOF
36060 done
36069 LIBS="$ac_save_LIBS"
36070 CXXFLAGS="$ac_save_CXXFLAGS"
36074 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36075 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36076 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36077 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36078 echo $ECHO_N "(cached) $ECHO_C" >&6
36079 else
36083 ac_ext=cc
36084 ac_cpp='$CXXCPP $CPPFLAGS'
36085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36089 cat >conftest.$ac_ext <<_ACEOF
36090 /* confdefs.h. */
36091 _ACEOF
36092 cat confdefs.h >>conftest.$ac_ext
36093 cat >>conftest.$ac_ext <<_ACEOF
36094 /* end confdefs.h. */
36095 #include <math.h>
36097 main ()
36099 __builtin_abs(0);
36101 return 0;
36103 _ACEOF
36104 rm -f conftest.$ac_objext
36105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36106 (eval $ac_compile) 2>conftest.er1
36107 ac_status=$?
36108 grep -v '^ *+' conftest.er1 >conftest.err
36109 rm -f conftest.er1
36110 cat conftest.err >&5
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); } &&
36113 { ac_try='test -z "$ac_cxx_werror_flag"
36114 || test ! -s conftest.err'
36115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36116 (eval $ac_try) 2>&5
36117 ac_status=$?
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); }; } &&
36120 { ac_try='test -s conftest.$ac_objext'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36123 ac_status=$?
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; }; then
36126 glibcxx_cv_func___builtin_abs_use=yes
36127 else
36128 echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.$ac_ext >&5
36131 glibcxx_cv_func___builtin_abs_use=no
36133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36145 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36146 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36147 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36148 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36149 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36150 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36151 echo $ECHO_N "(cached) $ECHO_C" >&6
36152 else
36154 if test x$gcc_no_link = xyes; then
36155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36157 { (exit 1); exit 1; }; }
36159 cat >conftest.$ac_ext <<_ACEOF
36160 /* confdefs.h. */
36161 _ACEOF
36162 cat confdefs.h >>conftest.$ac_ext
36163 cat >>conftest.$ac_ext <<_ACEOF
36164 /* end confdefs.h. */
36165 #include <math.h>
36167 main ()
36169 __builtin_abs(0);
36171 return 0;
36173 _ACEOF
36174 rm -f conftest.$ac_objext conftest$ac_exeext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36176 (eval $ac_link) 2>conftest.er1
36177 ac_status=$?
36178 grep -v '^ *+' conftest.er1 >conftest.err
36179 rm -f conftest.er1
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try='test -z "$ac_c_werror_flag"
36184 || test ! -s conftest.err'
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36187 ac_status=$?
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; } &&
36190 { ac_try='test -s conftest$ac_exeext'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36193 ac_status=$?
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 glibcxx_cv_func___builtin_abs_link=yes
36197 else
36198 echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.$ac_ext >&5
36201 glibcxx_cv_func___builtin_abs_link=no
36203 rm -f conftest.err conftest.$ac_objext \
36204 conftest$ac_exeext conftest.$ac_ext
36209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36210 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36212 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36214 cat >>confdefs.h <<\_ACEOF
36215 #define HAVE___BUILTIN_ABS 1
36216 _ACEOF
36223 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36224 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36225 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36226 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36227 echo $ECHO_N "(cached) $ECHO_C" >&6
36228 else
36232 ac_ext=cc
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238 cat >conftest.$ac_ext <<_ACEOF
36239 /* confdefs.h. */
36240 _ACEOF
36241 cat confdefs.h >>conftest.$ac_ext
36242 cat >>conftest.$ac_ext <<_ACEOF
36243 /* end confdefs.h. */
36244 #include <math.h>
36246 main ()
36248 __builtin_fabsf(0);
36250 return 0;
36252 _ACEOF
36253 rm -f conftest.$ac_objext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36255 (eval $ac_compile) 2>conftest.er1
36256 ac_status=$?
36257 grep -v '^ *+' conftest.er1 >conftest.err
36258 rm -f conftest.er1
36259 cat conftest.err >&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } &&
36262 { ac_try='test -z "$ac_cxx_werror_flag"
36263 || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try='test -s conftest.$ac_objext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36272 ac_status=$?
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 glibcxx_cv_func___builtin_fabsf_use=yes
36276 else
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36280 glibcxx_cv_func___builtin_fabsf_use=no
36282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36283 ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36293 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36294 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36295 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36296 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36297 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36298 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36299 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36300 echo $ECHO_N "(cached) $ECHO_C" >&6
36301 else
36303 if test x$gcc_no_link = xyes; then
36304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36306 { (exit 1); exit 1; }; }
36308 cat >conftest.$ac_ext <<_ACEOF
36309 /* confdefs.h. */
36310 _ACEOF
36311 cat confdefs.h >>conftest.$ac_ext
36312 cat >>conftest.$ac_ext <<_ACEOF
36313 /* end confdefs.h. */
36314 #include <math.h>
36316 main ()
36318 __builtin_fabsf(0);
36320 return 0;
36322 _ACEOF
36323 rm -f conftest.$ac_objext conftest$ac_exeext
36324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36325 (eval $ac_link) 2>conftest.er1
36326 ac_status=$?
36327 grep -v '^ *+' conftest.er1 >conftest.err
36328 rm -f conftest.er1
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } &&
36332 { ac_try='test -z "$ac_c_werror_flag"
36333 || test ! -s conftest.err'
36334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36335 (eval $ac_try) 2>&5
36336 ac_status=$?
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); }; } &&
36339 { ac_try='test -s conftest$ac_exeext'
36340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341 (eval $ac_try) 2>&5
36342 ac_status=$?
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; }; then
36345 glibcxx_cv_func___builtin_fabsf_link=yes
36346 else
36347 echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.$ac_ext >&5
36350 glibcxx_cv_func___builtin_fabsf_link=no
36352 rm -f conftest.err conftest.$ac_objext \
36353 conftest$ac_exeext conftest.$ac_ext
36358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36359 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36361 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36363 cat >>confdefs.h <<\_ACEOF
36364 #define HAVE___BUILTIN_FABSF 1
36365 _ACEOF
36372 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36373 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36374 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36375 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36376 echo $ECHO_N "(cached) $ECHO_C" >&6
36377 else
36381 ac_ext=cc
36382 ac_cpp='$CXXCPP $CPPFLAGS'
36383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36387 cat >conftest.$ac_ext <<_ACEOF
36388 /* confdefs.h. */
36389 _ACEOF
36390 cat confdefs.h >>conftest.$ac_ext
36391 cat >>conftest.$ac_ext <<_ACEOF
36392 /* end confdefs.h. */
36393 #include <math.h>
36395 main ()
36397 __builtin_fabs(0);
36399 return 0;
36401 _ACEOF
36402 rm -f conftest.$ac_objext
36403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36404 (eval $ac_compile) 2>conftest.er1
36405 ac_status=$?
36406 grep -v '^ *+' conftest.er1 >conftest.err
36407 rm -f conftest.er1
36408 cat conftest.err >&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); } &&
36411 { ac_try='test -z "$ac_cxx_werror_flag"
36412 || test ! -s conftest.err'
36413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36414 (eval $ac_try) 2>&5
36415 ac_status=$?
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); }; } &&
36418 { ac_try='test -s conftest.$ac_objext'
36419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36420 (eval $ac_try) 2>&5
36421 ac_status=$?
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); }; }; then
36424 glibcxx_cv_func___builtin_fabs_use=yes
36425 else
36426 echo "$as_me: failed program was:" >&5
36427 sed 's/^/| /' conftest.$ac_ext >&5
36429 glibcxx_cv_func___builtin_fabs_use=no
36431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36432 ac_ext=c
36433 ac_cpp='$CPP $CPPFLAGS'
36434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36442 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36443 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36444 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36445 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36446 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36447 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36448 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36449 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 else
36452 if test x$gcc_no_link = xyes; then
36453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36455 { (exit 1); exit 1; }; }
36457 cat >conftest.$ac_ext <<_ACEOF
36458 /* confdefs.h. */
36459 _ACEOF
36460 cat confdefs.h >>conftest.$ac_ext
36461 cat >>conftest.$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 #include <math.h>
36465 main ()
36467 __builtin_fabs(0);
36469 return 0;
36471 _ACEOF
36472 rm -f conftest.$ac_objext conftest$ac_exeext
36473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36474 (eval $ac_link) 2>conftest.er1
36475 ac_status=$?
36476 grep -v '^ *+' conftest.er1 >conftest.err
36477 rm -f conftest.er1
36478 cat conftest.err >&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); } &&
36481 { ac_try='test -z "$ac_c_werror_flag"
36482 || test ! -s conftest.err'
36483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36484 (eval $ac_try) 2>&5
36485 ac_status=$?
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); }; } &&
36488 { ac_try='test -s conftest$ac_exeext'
36489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36490 (eval $ac_try) 2>&5
36491 ac_status=$?
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); }; }; then
36494 glibcxx_cv_func___builtin_fabs_link=yes
36495 else
36496 echo "$as_me: failed program was:" >&5
36497 sed 's/^/| /' conftest.$ac_ext >&5
36499 glibcxx_cv_func___builtin_fabs_link=no
36501 rm -f conftest.err conftest.$ac_objext \
36502 conftest$ac_exeext conftest.$ac_ext
36507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36508 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36510 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36512 cat >>confdefs.h <<\_ACEOF
36513 #define HAVE___BUILTIN_FABS 1
36514 _ACEOF
36521 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36522 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36523 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36524 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36525 echo $ECHO_N "(cached) $ECHO_C" >&6
36526 else
36530 ac_ext=cc
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36536 cat >conftest.$ac_ext <<_ACEOF
36537 /* confdefs.h. */
36538 _ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 #include <math.h>
36544 main ()
36546 __builtin_fabsl(0);
36548 return 0;
36550 _ACEOF
36551 rm -f conftest.$ac_objext
36552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36553 (eval $ac_compile) 2>conftest.er1
36554 ac_status=$?
36555 grep -v '^ *+' conftest.er1 >conftest.err
36556 rm -f conftest.er1
36557 cat conftest.err >&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); } &&
36560 { ac_try='test -z "$ac_cxx_werror_flag"
36561 || test ! -s conftest.err'
36562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563 (eval $ac_try) 2>&5
36564 ac_status=$?
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; } &&
36567 { ac_try='test -s conftest.$ac_objext'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36570 ac_status=$?
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; }; then
36573 glibcxx_cv_func___builtin_fabsl_use=yes
36574 else
36575 echo "$as_me: failed program was:" >&5
36576 sed 's/^/| /' conftest.$ac_ext >&5
36578 glibcxx_cv_func___builtin_fabsl_use=no
36580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36581 ac_ext=c
36582 ac_cpp='$CPP $CPPFLAGS'
36583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36592 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36593 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36594 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36595 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36596 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36597 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36598 echo $ECHO_N "(cached) $ECHO_C" >&6
36599 else
36601 if test x$gcc_no_link = xyes; then
36602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36604 { (exit 1); exit 1; }; }
36606 cat >conftest.$ac_ext <<_ACEOF
36607 /* confdefs.h. */
36608 _ACEOF
36609 cat confdefs.h >>conftest.$ac_ext
36610 cat >>conftest.$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36612 #include <math.h>
36614 main ()
36616 __builtin_fabsl(0);
36618 return 0;
36620 _ACEOF
36621 rm -f conftest.$ac_objext conftest$ac_exeext
36622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36623 (eval $ac_link) 2>conftest.er1
36624 ac_status=$?
36625 grep -v '^ *+' conftest.er1 >conftest.err
36626 rm -f conftest.er1
36627 cat conftest.err >&5
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); } &&
36630 { ac_try='test -z "$ac_c_werror_flag"
36631 || test ! -s conftest.err'
36632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36633 (eval $ac_try) 2>&5
36634 ac_status=$?
36635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636 (exit $ac_status); }; } &&
36637 { ac_try='test -s conftest$ac_exeext'
36638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36639 (eval $ac_try) 2>&5
36640 ac_status=$?
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); }; }; then
36643 glibcxx_cv_func___builtin_fabsl_link=yes
36644 else
36645 echo "$as_me: failed program was:" >&5
36646 sed 's/^/| /' conftest.$ac_ext >&5
36648 glibcxx_cv_func___builtin_fabsl_link=no
36650 rm -f conftest.err conftest.$ac_objext \
36651 conftest$ac_exeext conftest.$ac_ext
36656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36657 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36659 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36661 cat >>confdefs.h <<\_ACEOF
36662 #define HAVE___BUILTIN_FABSL 1
36663 _ACEOF
36670 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36671 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36672 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36673 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36674 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 else
36679 ac_ext=cc
36680 ac_cpp='$CXXCPP $CPPFLAGS'
36681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36685 cat >conftest.$ac_ext <<_ACEOF
36686 /* confdefs.h. */
36687 _ACEOF
36688 cat confdefs.h >>conftest.$ac_ext
36689 cat >>conftest.$ac_ext <<_ACEOF
36690 /* end confdefs.h. */
36691 #include <math.h>
36693 main ()
36695 __builtin_labs(0);
36697 return 0;
36699 _ACEOF
36700 rm -f conftest.$ac_objext
36701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36702 (eval $ac_compile) 2>conftest.er1
36703 ac_status=$?
36704 grep -v '^ *+' conftest.er1 >conftest.err
36705 rm -f conftest.er1
36706 cat conftest.err >&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } &&
36709 { ac_try='test -z "$ac_cxx_werror_flag"
36710 || test ! -s conftest.err'
36711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36712 (eval $ac_try) 2>&5
36713 ac_status=$?
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); }; } &&
36716 { ac_try='test -s conftest.$ac_objext'
36717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718 (eval $ac_try) 2>&5
36719 ac_status=$?
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); }; }; then
36722 glibcxx_cv_func___builtin_labs_use=yes
36723 else
36724 echo "$as_me: failed program was:" >&5
36725 sed 's/^/| /' conftest.$ac_ext >&5
36727 glibcxx_cv_func___builtin_labs_use=no
36729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36730 ac_ext=c
36731 ac_cpp='$CPP $CPPFLAGS'
36732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36740 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36741 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36742 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36743 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36744 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36745 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36746 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36747 echo $ECHO_N "(cached) $ECHO_C" >&6
36748 else
36750 if test x$gcc_no_link = xyes; then
36751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36753 { (exit 1); exit 1; }; }
36755 cat >conftest.$ac_ext <<_ACEOF
36756 /* confdefs.h. */
36757 _ACEOF
36758 cat confdefs.h >>conftest.$ac_ext
36759 cat >>conftest.$ac_ext <<_ACEOF
36760 /* end confdefs.h. */
36761 #include <math.h>
36763 main ()
36765 __builtin_labs(0);
36767 return 0;
36769 _ACEOF
36770 rm -f conftest.$ac_objext conftest$ac_exeext
36771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36772 (eval $ac_link) 2>conftest.er1
36773 ac_status=$?
36774 grep -v '^ *+' conftest.er1 >conftest.err
36775 rm -f conftest.er1
36776 cat conftest.err >&5
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); } &&
36779 { ac_try='test -z "$ac_c_werror_flag"
36780 || test ! -s conftest.err'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36783 ac_status=$?
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; } &&
36786 { ac_try='test -s conftest$ac_exeext'
36787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36788 (eval $ac_try) 2>&5
36789 ac_status=$?
36790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36791 (exit $ac_status); }; }; then
36792 glibcxx_cv_func___builtin_labs_link=yes
36793 else
36794 echo "$as_me: failed program was:" >&5
36795 sed 's/^/| /' conftest.$ac_ext >&5
36797 glibcxx_cv_func___builtin_labs_link=no
36799 rm -f conftest.err conftest.$ac_objext \
36800 conftest$ac_exeext conftest.$ac_ext
36805 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36806 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36808 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36810 cat >>confdefs.h <<\_ACEOF
36811 #define HAVE___BUILTIN_LABS 1
36812 _ACEOF
36820 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36821 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36822 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36823 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36829 ac_ext=cc
36830 ac_cpp='$CXXCPP $CPPFLAGS'
36831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36835 cat >conftest.$ac_ext <<_ACEOF
36836 /* confdefs.h. */
36837 _ACEOF
36838 cat confdefs.h >>conftest.$ac_ext
36839 cat >>conftest.$ac_ext <<_ACEOF
36840 /* end confdefs.h. */
36841 #include <math.h>
36843 main ()
36845 __builtin_sqrtf(0);
36847 return 0;
36849 _ACEOF
36850 rm -f conftest.$ac_objext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36852 (eval $ac_compile) 2>conftest.er1
36853 ac_status=$?
36854 grep -v '^ *+' conftest.er1 >conftest.err
36855 rm -f conftest.er1
36856 cat conftest.err >&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } &&
36859 { ac_try='test -z "$ac_cxx_werror_flag"
36860 || test ! -s conftest.err'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36863 ac_status=$?
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; } &&
36866 { ac_try='test -s conftest.$ac_objext'
36867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868 (eval $ac_try) 2>&5
36869 ac_status=$?
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); }; }; then
36872 glibcxx_cv_func___builtin_sqrtf_use=yes
36873 else
36874 echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36877 glibcxx_cv_func___builtin_sqrtf_use=no
36879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36880 ac_ext=c
36881 ac_cpp='$CPP $CPPFLAGS'
36882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36890 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36891 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36892 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36893 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36894 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36895 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36896 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36897 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 else
36900 if test x$gcc_no_link = xyes; then
36901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36903 { (exit 1); exit 1; }; }
36905 cat >conftest.$ac_ext <<_ACEOF
36906 /* confdefs.h. */
36907 _ACEOF
36908 cat confdefs.h >>conftest.$ac_ext
36909 cat >>conftest.$ac_ext <<_ACEOF
36910 /* end confdefs.h. */
36911 #include <math.h>
36913 main ()
36915 __builtin_sqrtf(0);
36917 return 0;
36919 _ACEOF
36920 rm -f conftest.$ac_objext conftest$ac_exeext
36921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36922 (eval $ac_link) 2>conftest.er1
36923 ac_status=$?
36924 grep -v '^ *+' conftest.er1 >conftest.err
36925 rm -f conftest.er1
36926 cat conftest.err >&5
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); } &&
36929 { ac_try='test -z "$ac_c_werror_flag"
36930 || test ! -s conftest.err'
36931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36932 (eval $ac_try) 2>&5
36933 ac_status=$?
36934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935 (exit $ac_status); }; } &&
36936 { ac_try='test -s conftest$ac_exeext'
36937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36938 (eval $ac_try) 2>&5
36939 ac_status=$?
36940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36941 (exit $ac_status); }; }; then
36942 glibcxx_cv_func___builtin_sqrtf_link=yes
36943 else
36944 echo "$as_me: failed program was:" >&5
36945 sed 's/^/| /' conftest.$ac_ext >&5
36947 glibcxx_cv_func___builtin_sqrtf_link=no
36949 rm -f conftest.err conftest.$ac_objext \
36950 conftest$ac_exeext conftest.$ac_ext
36955 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36956 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36958 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36960 cat >>confdefs.h <<\_ACEOF
36961 #define HAVE___BUILTIN_SQRTF 1
36962 _ACEOF
36969 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36970 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36971 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36972 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36973 echo $ECHO_N "(cached) $ECHO_C" >&6
36974 else
36978 ac_ext=cc
36979 ac_cpp='$CXXCPP $CPPFLAGS'
36980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36984 cat >conftest.$ac_ext <<_ACEOF
36985 /* confdefs.h. */
36986 _ACEOF
36987 cat confdefs.h >>conftest.$ac_ext
36988 cat >>conftest.$ac_ext <<_ACEOF
36989 /* end confdefs.h. */
36990 #include <math.h>
36992 main ()
36994 __builtin_sqrt(0);
36996 return 0;
36998 _ACEOF
36999 rm -f conftest.$ac_objext
37000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37001 (eval $ac_compile) 2>conftest.er1
37002 ac_status=$?
37003 grep -v '^ *+' conftest.er1 >conftest.err
37004 rm -f conftest.er1
37005 cat conftest.err >&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); } &&
37008 { ac_try='test -z "$ac_cxx_werror_flag"
37009 || test ! -s conftest.err'
37010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37011 (eval $ac_try) 2>&5
37012 ac_status=$?
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); }; } &&
37015 { ac_try='test -s conftest.$ac_objext'
37016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37017 (eval $ac_try) 2>&5
37018 ac_status=$?
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); }; }; then
37021 glibcxx_cv_func___builtin_sqrt_use=yes
37022 else
37023 echo "$as_me: failed program was:" >&5
37024 sed 's/^/| /' conftest.$ac_ext >&5
37026 glibcxx_cv_func___builtin_sqrt_use=no
37028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37029 ac_ext=c
37030 ac_cpp='$CPP $CPPFLAGS'
37031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37039 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37040 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37041 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37042 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37043 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37044 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37045 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37046 echo $ECHO_N "(cached) $ECHO_C" >&6
37047 else
37049 if test x$gcc_no_link = xyes; then
37050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37052 { (exit 1); exit 1; }; }
37054 cat >conftest.$ac_ext <<_ACEOF
37055 /* confdefs.h. */
37056 _ACEOF
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37060 #include <math.h>
37062 main ()
37064 __builtin_sqrt(0);
37066 return 0;
37068 _ACEOF
37069 rm -f conftest.$ac_objext conftest$ac_exeext
37070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37071 (eval $ac_link) 2>conftest.er1
37072 ac_status=$?
37073 grep -v '^ *+' conftest.er1 >conftest.err
37074 rm -f conftest.er1
37075 cat conftest.err >&5
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); } &&
37078 { ac_try='test -z "$ac_c_werror_flag"
37079 || test ! -s conftest.err'
37080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37081 (eval $ac_try) 2>&5
37082 ac_status=$?
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); }; } &&
37085 { ac_try='test -s conftest$ac_exeext'
37086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37087 (eval $ac_try) 2>&5
37088 ac_status=$?
37089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090 (exit $ac_status); }; }; then
37091 glibcxx_cv_func___builtin_sqrt_link=yes
37092 else
37093 echo "$as_me: failed program was:" >&5
37094 sed 's/^/| /' conftest.$ac_ext >&5
37096 glibcxx_cv_func___builtin_sqrt_link=no
37098 rm -f conftest.err conftest.$ac_objext \
37099 conftest$ac_exeext conftest.$ac_ext
37104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37107 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37109 cat >>confdefs.h <<\_ACEOF
37110 #define HAVE___BUILTIN_SQRT 1
37111 _ACEOF
37118 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37119 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37120 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37121 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37122 echo $ECHO_N "(cached) $ECHO_C" >&6
37123 else
37127 ac_ext=cc
37128 ac_cpp='$CXXCPP $CPPFLAGS'
37129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 #include <math.h>
37141 main ()
37143 __builtin_sqrtl(0);
37145 return 0;
37147 _ACEOF
37148 rm -f conftest.$ac_objext
37149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37150 (eval $ac_compile) 2>conftest.er1
37151 ac_status=$?
37152 grep -v '^ *+' conftest.er1 >conftest.err
37153 rm -f conftest.er1
37154 cat conftest.err >&5
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); } &&
37157 { ac_try='test -z "$ac_cxx_werror_flag"
37158 || test ! -s conftest.err'
37159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37160 (eval $ac_try) 2>&5
37161 ac_status=$?
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; } &&
37164 { ac_try='test -s conftest.$ac_objext'
37165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37166 (eval $ac_try) 2>&5
37167 ac_status=$?
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); }; }; then
37170 glibcxx_cv_func___builtin_sqrtl_use=yes
37171 else
37172 echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37175 glibcxx_cv_func___builtin_sqrtl_use=no
37177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37189 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37190 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37191 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37192 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37193 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37194 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37196 else
37198 if test x$gcc_no_link = xyes; then
37199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37201 { (exit 1); exit 1; }; }
37203 cat >conftest.$ac_ext <<_ACEOF
37204 /* confdefs.h. */
37205 _ACEOF
37206 cat confdefs.h >>conftest.$ac_ext
37207 cat >>conftest.$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37209 #include <math.h>
37211 main ()
37213 __builtin_sqrtl(0);
37215 return 0;
37217 _ACEOF
37218 rm -f conftest.$ac_objext conftest$ac_exeext
37219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37220 (eval $ac_link) 2>conftest.er1
37221 ac_status=$?
37222 grep -v '^ *+' conftest.er1 >conftest.err
37223 rm -f conftest.er1
37224 cat conftest.err >&5
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); } &&
37227 { ac_try='test -z "$ac_c_werror_flag"
37228 || test ! -s conftest.err'
37229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37230 (eval $ac_try) 2>&5
37231 ac_status=$?
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); }; } &&
37234 { ac_try='test -s conftest$ac_exeext'
37235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37236 (eval $ac_try) 2>&5
37237 ac_status=$?
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); }; }; then
37240 glibcxx_cv_func___builtin_sqrtl_link=yes
37241 else
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.$ac_ext >&5
37245 glibcxx_cv_func___builtin_sqrtl_link=no
37247 rm -f conftest.err conftest.$ac_objext \
37248 conftest$ac_exeext conftest.$ac_ext
37253 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37256 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37258 cat >>confdefs.h <<\_ACEOF
37259 #define HAVE___BUILTIN_SQRTL 1
37260 _ACEOF
37268 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37269 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37270 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37271 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37273 else
37277 ac_ext=cc
37278 ac_cpp='$CXXCPP $CPPFLAGS'
37279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37283 cat >conftest.$ac_ext <<_ACEOF
37284 /* confdefs.h. */
37285 _ACEOF
37286 cat confdefs.h >>conftest.$ac_ext
37287 cat >>conftest.$ac_ext <<_ACEOF
37288 /* end confdefs.h. */
37289 #include <math.h>
37291 main ()
37293 __builtin_sinf(0);
37295 return 0;
37297 _ACEOF
37298 rm -f conftest.$ac_objext
37299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37300 (eval $ac_compile) 2>conftest.er1
37301 ac_status=$?
37302 grep -v '^ *+' conftest.er1 >conftest.err
37303 rm -f conftest.er1
37304 cat conftest.err >&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); } &&
37307 { ac_try='test -z "$ac_cxx_werror_flag"
37308 || test ! -s conftest.err'
37309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37310 (eval $ac_try) 2>&5
37311 ac_status=$?
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); }; } &&
37314 { ac_try='test -s conftest.$ac_objext'
37315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316 (eval $ac_try) 2>&5
37317 ac_status=$?
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); }; }; then
37320 glibcxx_cv_func___builtin_sinf_use=yes
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37325 glibcxx_cv_func___builtin_sinf_use=no
37327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37328 ac_ext=c
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37339 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37340 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37341 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37342 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37343 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37344 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37345 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 else
37348 if test x$gcc_no_link = xyes; then
37349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37351 { (exit 1); exit 1; }; }
37353 cat >conftest.$ac_ext <<_ACEOF
37354 /* confdefs.h. */
37355 _ACEOF
37356 cat confdefs.h >>conftest.$ac_ext
37357 cat >>conftest.$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37359 #include <math.h>
37361 main ()
37363 __builtin_sinf(0);
37365 return 0;
37367 _ACEOF
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37370 (eval $ac_link) 2>conftest.er1
37371 ac_status=$?
37372 grep -v '^ *+' conftest.er1 >conftest.err
37373 rm -f conftest.er1
37374 cat conftest.err >&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } &&
37377 { ac_try='test -z "$ac_c_werror_flag"
37378 || test ! -s conftest.err'
37379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37380 (eval $ac_try) 2>&5
37381 ac_status=$?
37382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383 (exit $ac_status); }; } &&
37384 { ac_try='test -s conftest$ac_exeext'
37385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37386 (eval $ac_try) 2>&5
37387 ac_status=$?
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); }; }; then
37390 glibcxx_cv_func___builtin_sinf_link=yes
37391 else
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37395 glibcxx_cv_func___builtin_sinf_link=no
37397 rm -f conftest.err conftest.$ac_objext \
37398 conftest$ac_exeext conftest.$ac_ext
37403 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37404 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37406 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37408 cat >>confdefs.h <<\_ACEOF
37409 #define HAVE___BUILTIN_SINF 1
37410 _ACEOF
37417 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37418 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37419 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37420 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 else
37426 ac_ext=cc
37427 ac_cpp='$CXXCPP $CPPFLAGS'
37428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37432 cat >conftest.$ac_ext <<_ACEOF
37433 /* confdefs.h. */
37434 _ACEOF
37435 cat confdefs.h >>conftest.$ac_ext
37436 cat >>conftest.$ac_ext <<_ACEOF
37437 /* end confdefs.h. */
37438 #include <math.h>
37440 main ()
37442 __builtin_sin(0);
37444 return 0;
37446 _ACEOF
37447 rm -f conftest.$ac_objext
37448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37449 (eval $ac_compile) 2>conftest.er1
37450 ac_status=$?
37451 grep -v '^ *+' conftest.er1 >conftest.err
37452 rm -f conftest.er1
37453 cat conftest.err >&5
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); } &&
37456 { ac_try='test -z "$ac_cxx_werror_flag"
37457 || test ! -s conftest.err'
37458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37459 (eval $ac_try) 2>&5
37460 ac_status=$?
37461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37462 (exit $ac_status); }; } &&
37463 { ac_try='test -s conftest.$ac_objext'
37464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37465 (eval $ac_try) 2>&5
37466 ac_status=$?
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); }; }; then
37469 glibcxx_cv_func___builtin_sin_use=yes
37470 else
37471 echo "$as_me: failed program was:" >&5
37472 sed 's/^/| /' conftest.$ac_ext >&5
37474 glibcxx_cv_func___builtin_sin_use=no
37476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37477 ac_ext=c
37478 ac_cpp='$CPP $CPPFLAGS'
37479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37488 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37489 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37490 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37491 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37492 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37493 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37494 echo $ECHO_N "(cached) $ECHO_C" >&6
37495 else
37497 if test x$gcc_no_link = xyes; then
37498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37500 { (exit 1); exit 1; }; }
37502 cat >conftest.$ac_ext <<_ACEOF
37503 /* confdefs.h. */
37504 _ACEOF
37505 cat confdefs.h >>conftest.$ac_ext
37506 cat >>conftest.$ac_ext <<_ACEOF
37507 /* end confdefs.h. */
37508 #include <math.h>
37510 main ()
37512 __builtin_sin(0);
37514 return 0;
37516 _ACEOF
37517 rm -f conftest.$ac_objext conftest$ac_exeext
37518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37519 (eval $ac_link) 2>conftest.er1
37520 ac_status=$?
37521 grep -v '^ *+' conftest.er1 >conftest.err
37522 rm -f conftest.er1
37523 cat conftest.err >&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } &&
37526 { ac_try='test -z "$ac_c_werror_flag"
37527 || test ! -s conftest.err'
37528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37529 (eval $ac_try) 2>&5
37530 ac_status=$?
37531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37532 (exit $ac_status); }; } &&
37533 { ac_try='test -s conftest$ac_exeext'
37534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37535 (eval $ac_try) 2>&5
37536 ac_status=$?
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); }; }; then
37539 glibcxx_cv_func___builtin_sin_link=yes
37540 else
37541 echo "$as_me: failed program was:" >&5
37542 sed 's/^/| /' conftest.$ac_ext >&5
37544 glibcxx_cv_func___builtin_sin_link=no
37546 rm -f conftest.err conftest.$ac_objext \
37547 conftest$ac_exeext conftest.$ac_ext
37552 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37553 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37555 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37557 cat >>confdefs.h <<\_ACEOF
37558 #define HAVE___BUILTIN_SIN 1
37559 _ACEOF
37566 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37567 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37568 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37569 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37570 echo $ECHO_N "(cached) $ECHO_C" >&6
37571 else
37575 ac_ext=cc
37576 ac_cpp='$CXXCPP $CPPFLAGS'
37577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37581 cat >conftest.$ac_ext <<_ACEOF
37582 /* confdefs.h. */
37583 _ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h. */
37587 #include <math.h>
37589 main ()
37591 __builtin_sinl(0);
37593 return 0;
37595 _ACEOF
37596 rm -f conftest.$ac_objext
37597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37598 (eval $ac_compile) 2>conftest.er1
37599 ac_status=$?
37600 grep -v '^ *+' conftest.er1 >conftest.err
37601 rm -f conftest.er1
37602 cat conftest.err >&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); } &&
37605 { ac_try='test -z "$ac_cxx_werror_flag"
37606 || test ! -s conftest.err'
37607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608 (eval $ac_try) 2>&5
37609 ac_status=$?
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); }; } &&
37612 { ac_try='test -s conftest.$ac_objext'
37613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37614 (eval $ac_try) 2>&5
37615 ac_status=$?
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); }; }; then
37618 glibcxx_cv_func___builtin_sinl_use=yes
37619 else
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37623 glibcxx_cv_func___builtin_sinl_use=no
37625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37626 ac_ext=c
37627 ac_cpp='$CPP $CPPFLAGS'
37628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37636 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37637 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37638 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37639 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37640 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37641 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37642 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37646 if test x$gcc_no_link = xyes; then
37647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37649 { (exit 1); exit 1; }; }
37651 cat >conftest.$ac_ext <<_ACEOF
37652 /* confdefs.h. */
37653 _ACEOF
37654 cat confdefs.h >>conftest.$ac_ext
37655 cat >>conftest.$ac_ext <<_ACEOF
37656 /* end confdefs.h. */
37657 #include <math.h>
37659 main ()
37661 __builtin_sinl(0);
37663 return 0;
37665 _ACEOF
37666 rm -f conftest.$ac_objext conftest$ac_exeext
37667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37668 (eval $ac_link) 2>conftest.er1
37669 ac_status=$?
37670 grep -v '^ *+' conftest.er1 >conftest.err
37671 rm -f conftest.er1
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } &&
37675 { ac_try='test -z "$ac_c_werror_flag"
37676 || test ! -s conftest.err'
37677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37678 (eval $ac_try) 2>&5
37679 ac_status=$?
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); }; } &&
37682 { ac_try='test -s conftest$ac_exeext'
37683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37684 (eval $ac_try) 2>&5
37685 ac_status=$?
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); }; }; then
37688 glibcxx_cv_func___builtin_sinl_link=yes
37689 else
37690 echo "$as_me: failed program was:" >&5
37691 sed 's/^/| /' conftest.$ac_ext >&5
37693 glibcxx_cv_func___builtin_sinl_link=no
37695 rm -f conftest.err conftest.$ac_objext \
37696 conftest$ac_exeext conftest.$ac_ext
37701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37704 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37706 cat >>confdefs.h <<\_ACEOF
37707 #define HAVE___BUILTIN_SINL 1
37708 _ACEOF
37716 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37717 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37718 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37719 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37720 echo $ECHO_N "(cached) $ECHO_C" >&6
37721 else
37725 ac_ext=cc
37726 ac_cpp='$CXXCPP $CPPFLAGS'
37727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37731 cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h. */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 #include <math.h>
37739 main ()
37741 __builtin_cosf(0);
37743 return 0;
37745 _ACEOF
37746 rm -f conftest.$ac_objext
37747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37748 (eval $ac_compile) 2>conftest.er1
37749 ac_status=$?
37750 grep -v '^ *+' conftest.er1 >conftest.err
37751 rm -f conftest.er1
37752 cat conftest.err >&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); } &&
37755 { ac_try='test -z "$ac_cxx_werror_flag"
37756 || test ! -s conftest.err'
37757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758 (eval $ac_try) 2>&5
37759 ac_status=$?
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); }; } &&
37762 { ac_try='test -s conftest.$ac_objext'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37765 ac_status=$?
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; }; then
37768 glibcxx_cv_func___builtin_cosf_use=yes
37769 else
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37773 glibcxx_cv_func___builtin_cosf_use=no
37775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37776 ac_ext=c
37777 ac_cpp='$CPP $CPPFLAGS'
37778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37786 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37787 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37788 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37789 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37790 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37791 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37792 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37793 echo $ECHO_N "(cached) $ECHO_C" >&6
37794 else
37796 if test x$gcc_no_link = xyes; then
37797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37799 { (exit 1); exit 1; }; }
37801 cat >conftest.$ac_ext <<_ACEOF
37802 /* confdefs.h. */
37803 _ACEOF
37804 cat confdefs.h >>conftest.$ac_ext
37805 cat >>conftest.$ac_ext <<_ACEOF
37806 /* end confdefs.h. */
37807 #include <math.h>
37809 main ()
37811 __builtin_cosf(0);
37813 return 0;
37815 _ACEOF
37816 rm -f conftest.$ac_objext conftest$ac_exeext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37818 (eval $ac_link) 2>conftest.er1
37819 ac_status=$?
37820 grep -v '^ *+' conftest.er1 >conftest.err
37821 rm -f conftest.er1
37822 cat conftest.err >&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } &&
37825 { ac_try='test -z "$ac_c_werror_flag"
37826 || test ! -s conftest.err'
37827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828 (eval $ac_try) 2>&5
37829 ac_status=$?
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); }; } &&
37832 { ac_try='test -s conftest$ac_exeext'
37833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37834 (eval $ac_try) 2>&5
37835 ac_status=$?
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); }; }; then
37838 glibcxx_cv_func___builtin_cosf_link=yes
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37843 glibcxx_cv_func___builtin_cosf_link=no
37845 rm -f conftest.err conftest.$ac_objext \
37846 conftest$ac_exeext conftest.$ac_ext
37851 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37852 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37854 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37856 cat >>confdefs.h <<\_ACEOF
37857 #define HAVE___BUILTIN_COSF 1
37858 _ACEOF
37865 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37866 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37867 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37868 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37869 echo $ECHO_N "(cached) $ECHO_C" >&6
37870 else
37874 ac_ext=cc
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37880 cat >conftest.$ac_ext <<_ACEOF
37881 /* confdefs.h. */
37882 _ACEOF
37883 cat confdefs.h >>conftest.$ac_ext
37884 cat >>conftest.$ac_ext <<_ACEOF
37885 /* end confdefs.h. */
37886 #include <math.h>
37888 main ()
37890 __builtin_cos(0);
37892 return 0;
37894 _ACEOF
37895 rm -f conftest.$ac_objext
37896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37897 (eval $ac_compile) 2>conftest.er1
37898 ac_status=$?
37899 grep -v '^ *+' conftest.er1 >conftest.err
37900 rm -f conftest.er1
37901 cat conftest.err >&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); } &&
37904 { ac_try='test -z "$ac_cxx_werror_flag"
37905 || test ! -s conftest.err'
37906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37907 (eval $ac_try) 2>&5
37908 ac_status=$?
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); }; } &&
37911 { ac_try='test -s conftest.$ac_objext'
37912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37913 (eval $ac_try) 2>&5
37914 ac_status=$?
37915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916 (exit $ac_status); }; }; then
37917 glibcxx_cv_func___builtin_cos_use=yes
37918 else
37919 echo "$as_me: failed program was:" >&5
37920 sed 's/^/| /' conftest.$ac_ext >&5
37922 glibcxx_cv_func___builtin_cos_use=no
37924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37925 ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37935 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37936 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37937 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37938 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37939 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37940 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37941 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37943 else
37945 if test x$gcc_no_link = xyes; then
37946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37948 { (exit 1); exit 1; }; }
37950 cat >conftest.$ac_ext <<_ACEOF
37951 /* confdefs.h. */
37952 _ACEOF
37953 cat confdefs.h >>conftest.$ac_ext
37954 cat >>conftest.$ac_ext <<_ACEOF
37955 /* end confdefs.h. */
37956 #include <math.h>
37958 main ()
37960 __builtin_cos(0);
37962 return 0;
37964 _ACEOF
37965 rm -f conftest.$ac_objext conftest$ac_exeext
37966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37967 (eval $ac_link) 2>conftest.er1
37968 ac_status=$?
37969 grep -v '^ *+' conftest.er1 >conftest.err
37970 rm -f conftest.er1
37971 cat conftest.err >&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } &&
37974 { ac_try='test -z "$ac_c_werror_flag"
37975 || test ! -s conftest.err'
37976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37977 (eval $ac_try) 2>&5
37978 ac_status=$?
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); }; } &&
37981 { ac_try='test -s conftest$ac_exeext'
37982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37983 (eval $ac_try) 2>&5
37984 ac_status=$?
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); }; }; then
37987 glibcxx_cv_func___builtin_cos_link=yes
37988 else
37989 echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.$ac_ext >&5
37992 glibcxx_cv_func___builtin_cos_link=no
37994 rm -f conftest.err conftest.$ac_objext \
37995 conftest$ac_exeext conftest.$ac_ext
38000 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38001 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38003 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38005 cat >>confdefs.h <<\_ACEOF
38006 #define HAVE___BUILTIN_COS 1
38007 _ACEOF
38014 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38015 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38016 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38017 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38018 echo $ECHO_N "(cached) $ECHO_C" >&6
38019 else
38023 ac_ext=cc
38024 ac_cpp='$CXXCPP $CPPFLAGS'
38025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38029 cat >conftest.$ac_ext <<_ACEOF
38030 /* confdefs.h. */
38031 _ACEOF
38032 cat confdefs.h >>conftest.$ac_ext
38033 cat >>conftest.$ac_ext <<_ACEOF
38034 /* end confdefs.h. */
38035 #include <math.h>
38037 main ()
38039 __builtin_cosl(0);
38041 return 0;
38043 _ACEOF
38044 rm -f conftest.$ac_objext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38046 (eval $ac_compile) 2>conftest.er1
38047 ac_status=$?
38048 grep -v '^ *+' conftest.er1 >conftest.err
38049 rm -f conftest.er1
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } &&
38053 { ac_try='test -z "$ac_cxx_werror_flag"
38054 || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38057 ac_status=$?
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try='test -s conftest.$ac_objext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 glibcxx_cv_func___builtin_cosl_use=yes
38067 else
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38071 glibcxx_cv_func___builtin_cosl_use=no
38073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38074 ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38085 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38086 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38087 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38088 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38089 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38090 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38091 echo $ECHO_N "(cached) $ECHO_C" >&6
38092 else
38094 if test x$gcc_no_link = xyes; then
38095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38097 { (exit 1); exit 1; }; }
38099 cat >conftest.$ac_ext <<_ACEOF
38100 /* confdefs.h. */
38101 _ACEOF
38102 cat confdefs.h >>conftest.$ac_ext
38103 cat >>conftest.$ac_ext <<_ACEOF
38104 /* end confdefs.h. */
38105 #include <math.h>
38107 main ()
38109 __builtin_cosl(0);
38111 return 0;
38113 _ACEOF
38114 rm -f conftest.$ac_objext conftest$ac_exeext
38115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38116 (eval $ac_link) 2>conftest.er1
38117 ac_status=$?
38118 grep -v '^ *+' conftest.er1 >conftest.err
38119 rm -f conftest.er1
38120 cat conftest.err >&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } &&
38123 { ac_try='test -z "$ac_c_werror_flag"
38124 || test ! -s conftest.err'
38125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38126 (eval $ac_try) 2>&5
38127 ac_status=$?
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); }; } &&
38130 { ac_try='test -s conftest$ac_exeext'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38133 ac_status=$?
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; }; then
38136 glibcxx_cv_func___builtin_cosl_link=yes
38137 else
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.$ac_ext >&5
38141 glibcxx_cv_func___builtin_cosl_link=no
38143 rm -f conftest.err conftest.$ac_objext \
38144 conftest$ac_exeext conftest.$ac_ext
38149 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38150 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38152 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38154 cat >>confdefs.h <<\_ACEOF
38155 #define HAVE___BUILTIN_COSL 1
38156 _ACEOF
38165 echo "$as_me:$LINENO: checking for main in -lm" >&5
38166 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38167 if test "${ac_cv_lib_m_main+set}" = set; then
38168 echo $ECHO_N "(cached) $ECHO_C" >&6
38169 else
38170 ac_check_lib_save_LIBS=$LIBS
38171 LIBS="-lm $LIBS"
38172 if test x$gcc_no_link = xyes; then
38173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38175 { (exit 1); exit 1; }; }
38177 cat >conftest.$ac_ext <<_ACEOF
38178 /* confdefs.h. */
38179 _ACEOF
38180 cat confdefs.h >>conftest.$ac_ext
38181 cat >>conftest.$ac_ext <<_ACEOF
38182 /* end confdefs.h. */
38186 main ()
38188 main ();
38190 return 0;
38192 _ACEOF
38193 rm -f conftest.$ac_objext conftest$ac_exeext
38194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38195 (eval $ac_link) 2>conftest.er1
38196 ac_status=$?
38197 grep -v '^ *+' conftest.er1 >conftest.err
38198 rm -f conftest.er1
38199 cat conftest.err >&5
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); } &&
38202 { ac_try='test -z "$ac_c_werror_flag"
38203 || test ! -s conftest.err'
38204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205 (eval $ac_try) 2>&5
38206 ac_status=$?
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); }; } &&
38209 { ac_try='test -s conftest$ac_exeext'
38210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38211 (eval $ac_try) 2>&5
38212 ac_status=$?
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); }; }; then
38215 ac_cv_lib_m_main=yes
38216 else
38217 echo "$as_me: failed program was:" >&5
38218 sed 's/^/| /' conftest.$ac_ext >&5
38220 ac_cv_lib_m_main=no
38222 rm -f conftest.err conftest.$ac_objext \
38223 conftest$ac_exeext conftest.$ac_ext
38224 LIBS=$ac_check_lib_save_LIBS
38226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38227 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38228 if test $ac_cv_lib_m_main = yes; then
38229 cat >>confdefs.h <<_ACEOF
38230 #define HAVE_LIBM 1
38231 _ACEOF
38233 LIBS="-lm $LIBS"
38238 for ac_func in copysignf
38240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38241 echo "$as_me:$LINENO: checking for $ac_func" >&5
38242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38243 if eval "test \"\${$as_ac_var+set}\" = set"; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246 if test x$gcc_no_link = xyes; then
38247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38249 { (exit 1); exit 1; }; }
38251 cat >conftest.$ac_ext <<_ACEOF
38252 /* confdefs.h. */
38253 _ACEOF
38254 cat confdefs.h >>conftest.$ac_ext
38255 cat >>conftest.$ac_ext <<_ACEOF
38256 /* end confdefs.h. */
38257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38259 #define $ac_func innocuous_$ac_func
38261 /* System header to define __stub macros and hopefully few prototypes,
38262 which can conflict with char $ac_func (); below.
38263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38264 <limits.h> exists even on freestanding compilers. */
38266 #ifdef __STDC__
38267 # include <limits.h>
38268 #else
38269 # include <assert.h>
38270 #endif
38272 #undef $ac_func
38274 /* Override any gcc2 internal prototype to avoid an error. */
38275 #ifdef __cplusplus
38276 extern "C"
38278 #endif
38279 /* We use char because int might match the return type of a gcc2
38280 builtin and then its argument prototype would still apply. */
38281 char $ac_func ();
38282 /* The GNU C library defines this for functions which it implements
38283 to always fail with ENOSYS. Some functions are actually named
38284 something starting with __ and the normal name is an alias. */
38285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38286 choke me
38287 #else
38288 char (*f) () = $ac_func;
38289 #endif
38290 #ifdef __cplusplus
38292 #endif
38295 main ()
38297 return f != $ac_func;
38299 return 0;
38301 _ACEOF
38302 rm -f conftest.$ac_objext conftest$ac_exeext
38303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38304 (eval $ac_link) 2>conftest.er1
38305 ac_status=$?
38306 grep -v '^ *+' conftest.er1 >conftest.err
38307 rm -f conftest.er1
38308 cat conftest.err >&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } &&
38311 { ac_try='test -z "$ac_c_werror_flag"
38312 || test ! -s conftest.err'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38315 ac_status=$?
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; } &&
38318 { ac_try='test -s conftest$ac_exeext'
38319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38320 (eval $ac_try) 2>&5
38321 ac_status=$?
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); }; }; then
38324 eval "$as_ac_var=yes"
38325 else
38326 echo "$as_me: failed program was:" >&5
38327 sed 's/^/| /' conftest.$ac_ext >&5
38329 eval "$as_ac_var=no"
38331 rm -f conftest.err conftest.$ac_objext \
38332 conftest$ac_exeext conftest.$ac_ext
38334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38336 if test `eval echo '${'$as_ac_var'}'` = yes; then
38337 cat >>confdefs.h <<_ACEOF
38338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38339 _ACEOF
38341 else
38342 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38344 done
38348 for ac_func in __signbit
38350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38351 echo "$as_me:$LINENO: checking for $ac_func" >&5
38352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38353 if eval "test \"\${$as_ac_var+set}\" = set"; then
38354 echo $ECHO_N "(cached) $ECHO_C" >&6
38355 else
38356 if test x$gcc_no_link = xyes; then
38357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38359 { (exit 1); exit 1; }; }
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h. */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38369 #define $ac_func innocuous_$ac_func
38371 /* System header to define __stub macros and hopefully few prototypes,
38372 which can conflict with char $ac_func (); below.
38373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38374 <limits.h> exists even on freestanding compilers. */
38376 #ifdef __STDC__
38377 # include <limits.h>
38378 #else
38379 # include <assert.h>
38380 #endif
38382 #undef $ac_func
38384 /* Override any gcc2 internal prototype to avoid an error. */
38385 #ifdef __cplusplus
38386 extern "C"
38388 #endif
38389 /* We use char because int might match the return type of a gcc2
38390 builtin and then its argument prototype would still apply. */
38391 char $ac_func ();
38392 /* The GNU C library defines this for functions which it implements
38393 to always fail with ENOSYS. Some functions are actually named
38394 something starting with __ and the normal name is an alias. */
38395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38396 choke me
38397 #else
38398 char (*f) () = $ac_func;
38399 #endif
38400 #ifdef __cplusplus
38402 #endif
38405 main ()
38407 return f != $ac_func;
38409 return 0;
38411 _ACEOF
38412 rm -f conftest.$ac_objext conftest$ac_exeext
38413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38414 (eval $ac_link) 2>conftest.er1
38415 ac_status=$?
38416 grep -v '^ *+' conftest.er1 >conftest.err
38417 rm -f conftest.er1
38418 cat conftest.err >&5
38419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38420 (exit $ac_status); } &&
38421 { ac_try='test -z "$ac_c_werror_flag"
38422 || test ! -s conftest.err'
38423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38424 (eval $ac_try) 2>&5
38425 ac_status=$?
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); }; } &&
38428 { ac_try='test -s conftest$ac_exeext'
38429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430 (eval $ac_try) 2>&5
38431 ac_status=$?
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); }; }; then
38434 eval "$as_ac_var=yes"
38435 else
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38439 eval "$as_ac_var=no"
38441 rm -f conftest.err conftest.$ac_objext \
38442 conftest$ac_exeext conftest.$ac_ext
38444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38446 if test `eval echo '${'$as_ac_var'}'` = yes; then
38447 cat >>confdefs.h <<_ACEOF
38448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38449 _ACEOF
38451 else
38452 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38454 done
38458 for ac_func in __signbitf
38460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38461 echo "$as_me:$LINENO: checking for $ac_func" >&5
38462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38463 if eval "test \"\${$as_ac_var+set}\" = set"; then
38464 echo $ECHO_N "(cached) $ECHO_C" >&6
38465 else
38466 if test x$gcc_no_link = xyes; then
38467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38469 { (exit 1); exit 1; }; }
38471 cat >conftest.$ac_ext <<_ACEOF
38472 /* confdefs.h. */
38473 _ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38479 #define $ac_func innocuous_$ac_func
38481 /* System header to define __stub macros and hopefully few prototypes,
38482 which can conflict with char $ac_func (); below.
38483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38484 <limits.h> exists even on freestanding compilers. */
38486 #ifdef __STDC__
38487 # include <limits.h>
38488 #else
38489 # include <assert.h>
38490 #endif
38492 #undef $ac_func
38494 /* Override any gcc2 internal prototype to avoid an error. */
38495 #ifdef __cplusplus
38496 extern "C"
38498 #endif
38499 /* We use char because int might match the return type of a gcc2
38500 builtin and then its argument prototype would still apply. */
38501 char $ac_func ();
38502 /* The GNU C library defines this for functions which it implements
38503 to always fail with ENOSYS. Some functions are actually named
38504 something starting with __ and the normal name is an alias. */
38505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38506 choke me
38507 #else
38508 char (*f) () = $ac_func;
38509 #endif
38510 #ifdef __cplusplus
38512 #endif
38515 main ()
38517 return f != $ac_func;
38519 return 0;
38521 _ACEOF
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38524 (eval $ac_link) 2>conftest.er1
38525 ac_status=$?
38526 grep -v '^ *+' conftest.er1 >conftest.err
38527 rm -f conftest.er1
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } &&
38531 { ac_try='test -z "$ac_c_werror_flag"
38532 || test ! -s conftest.err'
38533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38534 (eval $ac_try) 2>&5
38535 ac_status=$?
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); }; } &&
38538 { ac_try='test -s conftest$ac_exeext'
38539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38540 (eval $ac_try) 2>&5
38541 ac_status=$?
38542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543 (exit $ac_status); }; }; then
38544 eval "$as_ac_var=yes"
38545 else
38546 echo "$as_me: failed program was:" >&5
38547 sed 's/^/| /' conftest.$ac_ext >&5
38549 eval "$as_ac_var=no"
38551 rm -f conftest.err conftest.$ac_objext \
38552 conftest$ac_exeext conftest.$ac_ext
38554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38556 if test `eval echo '${'$as_ac_var'}'` = yes; then
38557 cat >>confdefs.h <<_ACEOF
38558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38559 _ACEOF
38561 else
38562 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38564 done
38567 if test x$ac_cv_func_copysignl = x"yes"; then
38569 for ac_func in __signbitl
38571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38572 echo "$as_me:$LINENO: checking for $ac_func" >&5
38573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38574 if eval "test \"\${$as_ac_var+set}\" = set"; then
38575 echo $ECHO_N "(cached) $ECHO_C" >&6
38576 else
38577 if test x$gcc_no_link = xyes; then
38578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38580 { (exit 1); exit 1; }; }
38582 cat >conftest.$ac_ext <<_ACEOF
38583 /* confdefs.h. */
38584 _ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38590 #define $ac_func innocuous_$ac_func
38592 /* System header to define __stub macros and hopefully few prototypes,
38593 which can conflict with char $ac_func (); below.
38594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38595 <limits.h> exists even on freestanding compilers. */
38597 #ifdef __STDC__
38598 # include <limits.h>
38599 #else
38600 # include <assert.h>
38601 #endif
38603 #undef $ac_func
38605 /* Override any gcc2 internal prototype to avoid an error. */
38606 #ifdef __cplusplus
38607 extern "C"
38609 #endif
38610 /* We use char because int might match the return type of a gcc2
38611 builtin and then its argument prototype would still apply. */
38612 char $ac_func ();
38613 /* The GNU C library defines this for functions which it implements
38614 to always fail with ENOSYS. Some functions are actually named
38615 something starting with __ and the normal name is an alias. */
38616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38617 choke me
38618 #else
38619 char (*f) () = $ac_func;
38620 #endif
38621 #ifdef __cplusplus
38623 #endif
38626 main ()
38628 return f != $ac_func;
38630 return 0;
38632 _ACEOF
38633 rm -f conftest.$ac_objext conftest$ac_exeext
38634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38635 (eval $ac_link) 2>conftest.er1
38636 ac_status=$?
38637 grep -v '^ *+' conftest.er1 >conftest.err
38638 rm -f conftest.er1
38639 cat conftest.err >&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); } &&
38642 { ac_try='test -z "$ac_c_werror_flag"
38643 || test ! -s conftest.err'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38646 ac_status=$?
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; } &&
38649 { ac_try='test -s conftest$ac_exeext'
38650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38651 (eval $ac_try) 2>&5
38652 ac_status=$?
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); }; }; then
38655 eval "$as_ac_var=yes"
38656 else
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38660 eval "$as_ac_var=no"
38662 rm -f conftest.err conftest.$ac_objext \
38663 conftest$ac_exeext conftest.$ac_ext
38665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38667 if test `eval echo '${'$as_ac_var'}'` = yes; then
38668 cat >>confdefs.h <<_ACEOF
38669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38670 _ACEOF
38672 else
38673 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38675 done
38679 # Used in libmath/Makefile.am.
38680 if test -n "$LIBMATHOBJS"; then
38681 need_libmath=yes
38686 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38687 ac_save_CXXFLAGS="$CXXFLAGS"
38688 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38691 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38692 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38693 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38694 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38700 ac_ext=cc
38701 ac_cpp='$CXXCPP $CPPFLAGS'
38702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706 cat >conftest.$ac_ext <<_ACEOF
38707 /* confdefs.h. */
38708 _ACEOF
38709 cat confdefs.h >>conftest.$ac_ext
38710 cat >>conftest.$ac_ext <<_ACEOF
38711 /* end confdefs.h. */
38712 #include <stdlib.h>
38714 main ()
38716 strtold(0, 0);
38718 return 0;
38720 _ACEOF
38721 rm -f conftest.$ac_objext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38723 (eval $ac_compile) 2>conftest.er1
38724 ac_status=$?
38725 grep -v '^ *+' conftest.er1 >conftest.err
38726 rm -f conftest.er1
38727 cat conftest.err >&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } &&
38730 { ac_try='test -z "$ac_cxx_werror_flag"
38731 || test ! -s conftest.err'
38732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733 (eval $ac_try) 2>&5
38734 ac_status=$?
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); }; } &&
38737 { ac_try='test -s conftest.$ac_objext'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38740 ac_status=$?
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; }; then
38743 glibcxx_cv_func_strtold_use=yes
38744 else
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38748 glibcxx_cv_func_strtold_use=no
38750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38751 ac_ext=c
38752 ac_cpp='$CPP $CPPFLAGS'
38753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38762 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38763 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38765 for ac_func in strtold
38767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38768 echo "$as_me:$LINENO: checking for $ac_func" >&5
38769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38770 if eval "test \"\${$as_ac_var+set}\" = set"; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 else
38773 if test x$gcc_no_link = xyes; then
38774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38776 { (exit 1); exit 1; }; }
38778 cat >conftest.$ac_ext <<_ACEOF
38779 /* confdefs.h. */
38780 _ACEOF
38781 cat confdefs.h >>conftest.$ac_ext
38782 cat >>conftest.$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38786 #define $ac_func innocuous_$ac_func
38788 /* System header to define __stub macros and hopefully few prototypes,
38789 which can conflict with char $ac_func (); below.
38790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38791 <limits.h> exists even on freestanding compilers. */
38793 #ifdef __STDC__
38794 # include <limits.h>
38795 #else
38796 # include <assert.h>
38797 #endif
38799 #undef $ac_func
38801 /* Override any gcc2 internal prototype to avoid an error. */
38802 #ifdef __cplusplus
38803 extern "C"
38805 #endif
38806 /* We use char because int might match the return type of a gcc2
38807 builtin and then its argument prototype would still apply. */
38808 char $ac_func ();
38809 /* The GNU C library defines this for functions which it implements
38810 to always fail with ENOSYS. Some functions are actually named
38811 something starting with __ and the normal name is an alias. */
38812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38813 choke me
38814 #else
38815 char (*f) () = $ac_func;
38816 #endif
38817 #ifdef __cplusplus
38819 #endif
38822 main ()
38824 return f != $ac_func;
38826 return 0;
38828 _ACEOF
38829 rm -f conftest.$ac_objext conftest$ac_exeext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38831 (eval $ac_link) 2>conftest.er1
38832 ac_status=$?
38833 grep -v '^ *+' conftest.er1 >conftest.err
38834 rm -f conftest.er1
38835 cat conftest.err >&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try='test -z "$ac_c_werror_flag"
38839 || test ! -s conftest.err'
38840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841 (eval $ac_try) 2>&5
38842 ac_status=$?
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); }; } &&
38845 { ac_try='test -s conftest$ac_exeext'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38848 ac_status=$?
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; }; then
38851 eval "$as_ac_var=yes"
38852 else
38853 echo "$as_me: failed program was:" >&5
38854 sed 's/^/| /' conftest.$ac_ext >&5
38856 eval "$as_ac_var=no"
38858 rm -f conftest.err conftest.$ac_objext \
38859 conftest$ac_exeext conftest.$ac_ext
38861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38863 if test `eval echo '${'$as_ac_var'}'` = yes; then
38864 cat >>confdefs.h <<_ACEOF
38865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38866 _ACEOF
38869 done
38877 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38878 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38879 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38880 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38881 echo $ECHO_N "(cached) $ECHO_C" >&6
38882 else
38886 ac_ext=cc
38887 ac_cpp='$CXXCPP $CPPFLAGS'
38888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38892 cat >conftest.$ac_ext <<_ACEOF
38893 /* confdefs.h. */
38894 _ACEOF
38895 cat confdefs.h >>conftest.$ac_ext
38896 cat >>conftest.$ac_ext <<_ACEOF
38897 /* end confdefs.h. */
38898 #include <stdlib.h>
38900 main ()
38902 strtof(0, 0);
38904 return 0;
38906 _ACEOF
38907 rm -f conftest.$ac_objext
38908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38909 (eval $ac_compile) 2>conftest.er1
38910 ac_status=$?
38911 grep -v '^ *+' conftest.er1 >conftest.err
38912 rm -f conftest.er1
38913 cat conftest.err >&5
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); } &&
38916 { ac_try='test -z "$ac_cxx_werror_flag"
38917 || test ! -s conftest.err'
38918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38919 (eval $ac_try) 2>&5
38920 ac_status=$?
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); }; } &&
38923 { ac_try='test -s conftest.$ac_objext'
38924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38925 (eval $ac_try) 2>&5
38926 ac_status=$?
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); }; }; then
38929 glibcxx_cv_func_strtof_use=yes
38930 else
38931 echo "$as_me: failed program was:" >&5
38932 sed 's/^/| /' conftest.$ac_ext >&5
38934 glibcxx_cv_func_strtof_use=no
38936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38937 ac_ext=c
38938 ac_cpp='$CPP $CPPFLAGS'
38939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38947 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38948 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38949 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38951 for ac_func in strtof
38953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38954 echo "$as_me:$LINENO: checking for $ac_func" >&5
38955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38956 if eval "test \"\${$as_ac_var+set}\" = set"; then
38957 echo $ECHO_N "(cached) $ECHO_C" >&6
38958 else
38959 if test x$gcc_no_link = xyes; then
38960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38962 { (exit 1); exit 1; }; }
38964 cat >conftest.$ac_ext <<_ACEOF
38965 /* confdefs.h. */
38966 _ACEOF
38967 cat confdefs.h >>conftest.$ac_ext
38968 cat >>conftest.$ac_ext <<_ACEOF
38969 /* end confdefs.h. */
38970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38972 #define $ac_func innocuous_$ac_func
38974 /* System header to define __stub macros and hopefully few prototypes,
38975 which can conflict with char $ac_func (); below.
38976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38977 <limits.h> exists even on freestanding compilers. */
38979 #ifdef __STDC__
38980 # include <limits.h>
38981 #else
38982 # include <assert.h>
38983 #endif
38985 #undef $ac_func
38987 /* Override any gcc2 internal prototype to avoid an error. */
38988 #ifdef __cplusplus
38989 extern "C"
38991 #endif
38992 /* We use char because int might match the return type of a gcc2
38993 builtin and then its argument prototype would still apply. */
38994 char $ac_func ();
38995 /* The GNU C library defines this for functions which it implements
38996 to always fail with ENOSYS. Some functions are actually named
38997 something starting with __ and the normal name is an alias. */
38998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38999 choke me
39000 #else
39001 char (*f) () = $ac_func;
39002 #endif
39003 #ifdef __cplusplus
39005 #endif
39008 main ()
39010 return f != $ac_func;
39012 return 0;
39014 _ACEOF
39015 rm -f conftest.$ac_objext conftest$ac_exeext
39016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39017 (eval $ac_link) 2>conftest.er1
39018 ac_status=$?
39019 grep -v '^ *+' conftest.er1 >conftest.err
39020 rm -f conftest.er1
39021 cat conftest.err >&5
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); } &&
39024 { ac_try='test -z "$ac_c_werror_flag"
39025 || test ! -s conftest.err'
39026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39027 (eval $ac_try) 2>&5
39028 ac_status=$?
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); }; } &&
39031 { ac_try='test -s conftest$ac_exeext'
39032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39033 (eval $ac_try) 2>&5
39034 ac_status=$?
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); }; }; then
39037 eval "$as_ac_var=yes"
39038 else
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39042 eval "$as_ac_var=no"
39044 rm -f conftest.err conftest.$ac_objext \
39045 conftest$ac_exeext conftest.$ac_ext
39047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39049 if test `eval echo '${'$as_ac_var'}'` = yes; then
39050 cat >>confdefs.h <<_ACEOF
39051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39052 _ACEOF
39055 done
39063 CXXFLAGS="$ac_save_CXXFLAGS"
39066 # For showmanyc_helper().
39069 for ac_header in sys/ioctl.h sys/filio.h
39071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39073 echo "$as_me:$LINENO: checking for $ac_header" >&5
39074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39076 echo $ECHO_N "(cached) $ECHO_C" >&6
39078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39080 else
39081 # Is the header compilable?
39082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39084 cat >conftest.$ac_ext <<_ACEOF
39085 /* confdefs.h. */
39086 _ACEOF
39087 cat confdefs.h >>conftest.$ac_ext
39088 cat >>conftest.$ac_ext <<_ACEOF
39089 /* end confdefs.h. */
39090 $ac_includes_default
39091 #include <$ac_header>
39092 _ACEOF
39093 rm -f conftest.$ac_objext
39094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39095 (eval $ac_compile) 2>conftest.er1
39096 ac_status=$?
39097 grep -v '^ *+' conftest.er1 >conftest.err
39098 rm -f conftest.er1
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } &&
39102 { ac_try='test -z "$ac_c_werror_flag"
39103 || test ! -s conftest.err'
39104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105 (eval $ac_try) 2>&5
39106 ac_status=$?
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; } &&
39109 { ac_try='test -s conftest.$ac_objext'
39110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39111 (eval $ac_try) 2>&5
39112 ac_status=$?
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); }; }; then
39115 ac_header_compiler=yes
39116 else
39117 echo "$as_me: failed program was:" >&5
39118 sed 's/^/| /' conftest.$ac_ext >&5
39120 ac_header_compiler=no
39122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39124 echo "${ECHO_T}$ac_header_compiler" >&6
39126 # Is the header present?
39127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39129 cat >conftest.$ac_ext <<_ACEOF
39130 /* confdefs.h. */
39131 _ACEOF
39132 cat confdefs.h >>conftest.$ac_ext
39133 cat >>conftest.$ac_ext <<_ACEOF
39134 /* end confdefs.h. */
39135 #include <$ac_header>
39136 _ACEOF
39137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39139 ac_status=$?
39140 grep -v '^ *+' conftest.er1 >conftest.err
39141 rm -f conftest.er1
39142 cat conftest.err >&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } >/dev/null; then
39145 if test -s conftest.err; then
39146 ac_cpp_err=$ac_c_preproc_warn_flag
39147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39148 else
39149 ac_cpp_err=
39151 else
39152 ac_cpp_err=yes
39154 if test -z "$ac_cpp_err"; then
39155 ac_header_preproc=yes
39156 else
39157 echo "$as_me: failed program was:" >&5
39158 sed 's/^/| /' conftest.$ac_ext >&5
39160 ac_header_preproc=no
39162 rm -f conftest.err conftest.$ac_ext
39163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39164 echo "${ECHO_T}$ac_header_preproc" >&6
39166 # So? What about this header?
39167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39168 yes:no: )
39169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39173 ac_header_preproc=yes
39175 no:yes:* )
39176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39189 cat <<\_ASBOX
39190 ## ----------------------------------------- ##
39191 ## Report this to the package-unused lists. ##
39192 ## ----------------------------------------- ##
39193 _ASBOX
39195 sed "s/^/$as_me: WARNING: /" >&2
39197 esac
39198 echo "$as_me:$LINENO: checking for $ac_header" >&5
39199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39202 else
39203 eval "$as_ac_Header=\$ac_header_preproc"
39205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39210 cat >>confdefs.h <<_ACEOF
39211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39212 _ACEOF
39216 done
39219 echo "$as_me:$LINENO: checking for poll" >&5
39220 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39221 if test "${glibcxx_cv_POLL+set}" = set; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 else
39225 if test x$gcc_no_link = xyes; then
39226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39228 { (exit 1); exit 1; }; }
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236 #include <poll.h>
39238 main ()
39240 struct pollfd pfd[1];
39241 pfd[0].events = POLLIN;
39242 poll(pfd, 1, 0);
39244 return 0;
39246 _ACEOF
39247 rm -f conftest.$ac_objext conftest$ac_exeext
39248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39249 (eval $ac_link) 2>conftest.er1
39250 ac_status=$?
39251 grep -v '^ *+' conftest.er1 >conftest.err
39252 rm -f conftest.er1
39253 cat conftest.err >&5
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); } &&
39256 { ac_try='test -z "$ac_c_werror_flag"
39257 || test ! -s conftest.err'
39258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39259 (eval $ac_try) 2>&5
39260 ac_status=$?
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); }; } &&
39263 { ac_try='test -s conftest$ac_exeext'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39266 ac_status=$?
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; }; then
39269 glibcxx_cv_POLL=yes
39270 else
39271 echo "$as_me: failed program was:" >&5
39272 sed 's/^/| /' conftest.$ac_ext >&5
39274 glibcxx_cv_POLL=no
39276 rm -f conftest.err conftest.$ac_objext \
39277 conftest$ac_exeext conftest.$ac_ext
39281 if test $glibcxx_cv_POLL = yes; then
39283 cat >>confdefs.h <<\_ACEOF
39284 #define HAVE_POLL 1
39285 _ACEOF
39288 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39289 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39292 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39293 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39294 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39295 echo $ECHO_N "(cached) $ECHO_C" >&6
39296 else
39298 if test x$gcc_no_link = xyes; then
39299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39301 { (exit 1); exit 1; }; }
39303 cat >conftest.$ac_ext <<_ACEOF
39304 /* confdefs.h. */
39305 _ACEOF
39306 cat confdefs.h >>conftest.$ac_ext
39307 cat >>conftest.$ac_ext <<_ACEOF
39308 /* end confdefs.h. */
39309 #include <sys/stat.h>
39311 main ()
39313 struct stat buffer;
39314 fstat(0, &buffer);
39315 S_ISREG(buffer.st_mode);
39317 return 0;
39319 _ACEOF
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39322 (eval $ac_link) 2>conftest.er1
39323 ac_status=$?
39324 grep -v '^ *+' conftest.er1 >conftest.err
39325 rm -f conftest.er1
39326 cat conftest.err >&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); } &&
39329 { ac_try='test -z "$ac_c_werror_flag"
39330 || test ! -s conftest.err'
39331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332 (eval $ac_try) 2>&5
39333 ac_status=$?
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); }; } &&
39336 { ac_try='test -s conftest$ac_exeext'
39337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39338 (eval $ac_try) 2>&5
39339 ac_status=$?
39340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39341 (exit $ac_status); }; }; then
39342 glibcxx_cv_S_ISREG=yes
39343 else
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39347 glibcxx_cv_S_ISREG=no
39349 rm -f conftest.err conftest.$ac_objext \
39350 conftest$ac_exeext conftest.$ac_ext
39354 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 else
39358 if test x$gcc_no_link = xyes; then
39359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39361 { (exit 1); exit 1; }; }
39363 cat >conftest.$ac_ext <<_ACEOF
39364 /* confdefs.h. */
39365 _ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39369 #include <sys/stat.h>
39371 main ()
39373 struct stat buffer;
39374 fstat(0, &buffer);
39375 S_IFREG & buffer.st_mode;
39377 return 0;
39379 _ACEOF
39380 rm -f conftest.$ac_objext conftest$ac_exeext
39381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39382 (eval $ac_link) 2>conftest.er1
39383 ac_status=$?
39384 grep -v '^ *+' conftest.er1 >conftest.err
39385 rm -f conftest.er1
39386 cat conftest.err >&5
39387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39388 (exit $ac_status); } &&
39389 { ac_try='test -z "$ac_c_werror_flag"
39390 || test ! -s conftest.err'
39391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39392 (eval $ac_try) 2>&5
39393 ac_status=$?
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); }; } &&
39396 { ac_try='test -s conftest$ac_exeext'
39397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398 (eval $ac_try) 2>&5
39399 ac_status=$?
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); }; }; then
39402 glibcxx_cv_S_IFREG=yes
39403 else
39404 echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39407 glibcxx_cv_S_IFREG=no
39409 rm -f conftest.err conftest.$ac_objext \
39410 conftest$ac_exeext conftest.$ac_ext
39414 res=no
39415 if test $glibcxx_cv_S_ISREG = yes; then
39417 cat >>confdefs.h <<\_ACEOF
39418 #define HAVE_S_ISREG 1
39419 _ACEOF
39421 res=S_ISREG
39422 elif test $glibcxx_cv_S_IFREG = yes; then
39424 cat >>confdefs.h <<\_ACEOF
39425 #define HAVE_S_IFREG 1
39426 _ACEOF
39428 res=S_IFREG
39430 echo "$as_me:$LINENO: result: $res" >&5
39431 echo "${ECHO_T}$res" >&6
39434 # For xsputn_2().
39436 for ac_header in sys/uio.h
39438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39440 echo "$as_me:$LINENO: checking for $ac_header" >&5
39441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39443 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39447 else
39448 # Is the header compilable?
39449 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39451 cat >conftest.$ac_ext <<_ACEOF
39452 /* confdefs.h. */
39453 _ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39457 $ac_includes_default
39458 #include <$ac_header>
39459 _ACEOF
39460 rm -f conftest.$ac_objext
39461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39462 (eval $ac_compile) 2>conftest.er1
39463 ac_status=$?
39464 grep -v '^ *+' conftest.er1 >conftest.err
39465 rm -f conftest.er1
39466 cat conftest.err >&5
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); } &&
39469 { ac_try='test -z "$ac_c_werror_flag"
39470 || test ! -s conftest.err'
39471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39472 (eval $ac_try) 2>&5
39473 ac_status=$?
39474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475 (exit $ac_status); }; } &&
39476 { ac_try='test -s conftest.$ac_objext'
39477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39478 (eval $ac_try) 2>&5
39479 ac_status=$?
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); }; }; then
39482 ac_header_compiler=yes
39483 else
39484 echo "$as_me: failed program was:" >&5
39485 sed 's/^/| /' conftest.$ac_ext >&5
39487 ac_header_compiler=no
39489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39491 echo "${ECHO_T}$ac_header_compiler" >&6
39493 # Is the header present?
39494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39496 cat >conftest.$ac_ext <<_ACEOF
39497 /* confdefs.h. */
39498 _ACEOF
39499 cat confdefs.h >>conftest.$ac_ext
39500 cat >>conftest.$ac_ext <<_ACEOF
39501 /* end confdefs.h. */
39502 #include <$ac_header>
39503 _ACEOF
39504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39506 ac_status=$?
39507 grep -v '^ *+' conftest.er1 >conftest.err
39508 rm -f conftest.er1
39509 cat conftest.err >&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); } >/dev/null; then
39512 if test -s conftest.err; then
39513 ac_cpp_err=$ac_c_preproc_warn_flag
39514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39515 else
39516 ac_cpp_err=
39518 else
39519 ac_cpp_err=yes
39521 if test -z "$ac_cpp_err"; then
39522 ac_header_preproc=yes
39523 else
39524 echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.$ac_ext >&5
39527 ac_header_preproc=no
39529 rm -f conftest.err conftest.$ac_ext
39530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39531 echo "${ECHO_T}$ac_header_preproc" >&6
39533 # So? What about this header?
39534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39535 yes:no: )
39536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39540 ac_header_preproc=yes
39542 no:yes:* )
39543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39556 cat <<\_ASBOX
39557 ## ----------------------------------------- ##
39558 ## Report this to the package-unused lists. ##
39559 ## ----------------------------------------- ##
39560 _ASBOX
39562 sed "s/^/$as_me: WARNING: /" >&2
39564 esac
39565 echo "$as_me:$LINENO: checking for $ac_header" >&5
39566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39570 eval "$as_ac_Header=\$ac_header_preproc"
39572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39577 cat >>confdefs.h <<_ACEOF
39578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39579 _ACEOF
39583 done
39586 echo "$as_me:$LINENO: checking for writev" >&5
39587 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39588 if test "${glibcxx_cv_WRITEV+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39592 if test x$gcc_no_link = xyes; then
39593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39595 { (exit 1); exit 1; }; }
39597 cat >conftest.$ac_ext <<_ACEOF
39598 /* confdefs.h. */
39599 _ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39603 #include <sys/uio.h>
39605 main ()
39607 struct iovec iov[2];
39608 writev(0, iov, 0);
39610 return 0;
39612 _ACEOF
39613 rm -f conftest.$ac_objext conftest$ac_exeext
39614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39615 (eval $ac_link) 2>conftest.er1
39616 ac_status=$?
39617 grep -v '^ *+' conftest.er1 >conftest.err
39618 rm -f conftest.er1
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } &&
39622 { ac_try='test -z "$ac_c_werror_flag"
39623 || test ! -s conftest.err'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39626 ac_status=$?
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; } &&
39629 { ac_try='test -s conftest$ac_exeext'
39630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39631 (eval $ac_try) 2>&5
39632 ac_status=$?
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); }; }; then
39635 glibcxx_cv_WRITEV=yes
39636 else
39637 echo "$as_me: failed program was:" >&5
39638 sed 's/^/| /' conftest.$ac_ext >&5
39640 glibcxx_cv_WRITEV=no
39642 rm -f conftest.err conftest.$ac_objext \
39643 conftest$ac_exeext conftest.$ac_ext
39647 if test $glibcxx_cv_WRITEV = yes; then
39649 cat >>confdefs.h <<\_ACEOF
39650 #define HAVE_WRITEV 1
39651 _ACEOF
39654 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39655 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39658 # For the __streamoff_base_type typedef.
39660 echo "$as_me:$LINENO: checking for int64_t" >&5
39661 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39662 if test "${glibcxx_cv_INT64_T+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 else
39666 cat >conftest.$ac_ext <<_ACEOF
39667 /* confdefs.h. */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 #include <stdint.h>
39674 main ()
39676 int64_t var;
39678 return 0;
39680 _ACEOF
39681 rm -f conftest.$ac_objext
39682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39683 (eval $ac_compile) 2>conftest.er1
39684 ac_status=$?
39685 grep -v '^ *+' conftest.er1 >conftest.err
39686 rm -f conftest.er1
39687 cat conftest.err >&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); } &&
39690 { ac_try='test -z "$ac_c_werror_flag"
39691 || test ! -s conftest.err'
39692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693 (eval $ac_try) 2>&5
39694 ac_status=$?
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); }; } &&
39697 { ac_try='test -s conftest.$ac_objext'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39700 ac_status=$?
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; }; then
39703 glibcxx_cv_INT64_T=yes
39704 else
39705 echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.$ac_ext >&5
39708 glibcxx_cv_INT64_T=no
39710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39714 if test $glibcxx_cv_INT64_T = yes; then
39716 cat >>confdefs.h <<\_ACEOF
39717 #define HAVE_INT64_T 1
39718 _ACEOF
39721 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39722 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39725 # For LFS support.
39729 ac_ext=cc
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39735 ac_save_CXXFLAGS="$CXXFLAGS"
39736 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39737 echo "$as_me:$LINENO: checking for LFS support" >&5
39738 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39739 if test "${glibcxx_cv_LFS+set}" = set; then
39740 echo $ECHO_N "(cached) $ECHO_C" >&6
39741 else
39743 if test x$gcc_no_link = xyes; then
39744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39746 { (exit 1); exit 1; }; }
39748 cat >conftest.$ac_ext <<_ACEOF
39749 /* confdefs.h. */
39750 _ACEOF
39751 cat confdefs.h >>conftest.$ac_ext
39752 cat >>conftest.$ac_ext <<_ACEOF
39753 /* end confdefs.h. */
39754 #include <unistd.h>
39755 #include <stdio.h>
39756 #include <sys/stat.h>
39759 main ()
39761 FILE* fp;
39762 fopen64("t", "w");
39763 fseeko64(fp, 0, SEEK_CUR);
39764 ftello64(fp);
39765 lseek64(1, 0, SEEK_CUR);
39766 struct stat64 buf;
39767 fstat64(1, &buf);
39769 return 0;
39771 _ACEOF
39772 rm -f conftest.$ac_objext conftest$ac_exeext
39773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39774 (eval $ac_link) 2>conftest.er1
39775 ac_status=$?
39776 grep -v '^ *+' conftest.er1 >conftest.err
39777 rm -f conftest.er1
39778 cat conftest.err >&5
39779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39780 (exit $ac_status); } &&
39781 { ac_try='test -z "$ac_cxx_werror_flag"
39782 || test ! -s conftest.err'
39783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39784 (eval $ac_try) 2>&5
39785 ac_status=$?
39786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39787 (exit $ac_status); }; } &&
39788 { ac_try='test -s conftest$ac_exeext'
39789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39790 (eval $ac_try) 2>&5
39791 ac_status=$?
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); }; }; then
39794 glibcxx_cv_LFS=yes
39795 else
39796 echo "$as_me: failed program was:" >&5
39797 sed 's/^/| /' conftest.$ac_ext >&5
39799 glibcxx_cv_LFS=no
39801 rm -f conftest.err conftest.$ac_objext \
39802 conftest$ac_exeext conftest.$ac_ext
39806 if test $glibcxx_cv_LFS = yes; then
39808 cat >>confdefs.h <<\_ACEOF
39809 #define _GLIBCXX_USE_LFS 1
39810 _ACEOF
39813 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39814 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39815 CXXFLAGS="$ac_save_CXXFLAGS"
39816 ac_ext=c
39817 ac_cpp='$CPP $CPPFLAGS'
39818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39824 # For C99 support to TR1.
39829 ac_ext=cc
39830 ac_cpp='$CXXCPP $CPPFLAGS'
39831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39836 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39837 # undefined and fake C99 facilities may be spuriously enabled.
39838 ac_save_CXXFLAGS="$CXXFLAGS"
39839 CXXFLAGS="$CXXFLAGS -std=c++98"
39841 # Check for the existence of <complex.h> complex math functions used
39842 # by tr1/complex.
39844 for ac_header in complex.h
39846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39848 echo "$as_me:$LINENO: checking for $ac_header" >&5
39849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39855 else
39856 # Is the header compilable?
39857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 $ac_includes_default
39866 #include <$ac_header>
39867 _ACEOF
39868 rm -f conftest.$ac_objext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39870 (eval $ac_compile) 2>conftest.er1
39871 ac_status=$?
39872 grep -v '^ *+' conftest.er1 >conftest.err
39873 rm -f conftest.er1
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try='test -z "$ac_cxx_werror_flag"
39878 || test ! -s conftest.err'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39881 ac_status=$?
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; } &&
39884 { ac_try='test -s conftest.$ac_objext'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39887 ac_status=$?
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; }; then
39890 ac_header_compiler=yes
39891 else
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.$ac_ext >&5
39895 ac_header_compiler=no
39897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39899 echo "${ECHO_T}$ac_header_compiler" >&6
39901 # Is the header present?
39902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39904 cat >conftest.$ac_ext <<_ACEOF
39905 /* confdefs.h. */
39906 _ACEOF
39907 cat confdefs.h >>conftest.$ac_ext
39908 cat >>conftest.$ac_ext <<_ACEOF
39909 /* end confdefs.h. */
39910 #include <$ac_header>
39911 _ACEOF
39912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39914 ac_status=$?
39915 grep -v '^ *+' conftest.er1 >conftest.err
39916 rm -f conftest.er1
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } >/dev/null; then
39920 if test -s conftest.err; then
39921 ac_cpp_err=$ac_cxx_preproc_warn_flag
39922 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39923 else
39924 ac_cpp_err=
39926 else
39927 ac_cpp_err=yes
39929 if test -z "$ac_cpp_err"; then
39930 ac_header_preproc=yes
39931 else
39932 echo "$as_me: failed program was:" >&5
39933 sed 's/^/| /' conftest.$ac_ext >&5
39935 ac_header_preproc=no
39937 rm -f conftest.err conftest.$ac_ext
39938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39939 echo "${ECHO_T}$ac_header_preproc" >&6
39941 # So? What about this header?
39942 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39943 yes:no: )
39944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39948 ac_header_preproc=yes
39950 no:yes:* )
39951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39964 cat <<\_ASBOX
39965 ## ----------------------------------------- ##
39966 ## Report this to the package-unused lists. ##
39967 ## ----------------------------------------- ##
39968 _ASBOX
39970 sed "s/^/$as_me: WARNING: /" >&2
39972 esac
39973 echo "$as_me:$LINENO: checking for $ac_header" >&5
39974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39976 echo $ECHO_N "(cached) $ECHO_C" >&6
39977 else
39978 eval "$as_ac_Header=\$ac_header_preproc"
39980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39985 cat >>confdefs.h <<_ACEOF
39986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39987 _ACEOF
39988 ac_has_complex_h=yes
39989 else
39990 ac_has_complex_h=no
39993 done
39995 ac_c99_complex_tr1=no;
39996 if test x"$ac_has_complex_h" = x"yes"; then
39997 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39998 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39999 cat >conftest.$ac_ext <<_ACEOF
40000 /* confdefs.h. */
40001 _ACEOF
40002 cat confdefs.h >>conftest.$ac_ext
40003 cat >>conftest.$ac_ext <<_ACEOF
40004 /* end confdefs.h. */
40005 #include <complex.h>
40007 main ()
40009 typedef __complex__ float float_type; float_type tmpf;
40010 cacosf(tmpf);
40011 casinf(tmpf);
40012 catanf(tmpf);
40013 cacoshf(tmpf);
40014 casinhf(tmpf);
40015 catanhf(tmpf);
40016 typedef __complex__ double double_type; double_type tmpd;
40017 cacos(tmpd);
40018 casin(tmpd);
40019 catan(tmpd);
40020 cacosh(tmpd);
40021 casinh(tmpd);
40022 catanh(tmpd);
40023 typedef __complex__ long double ld_type; ld_type tmpld;
40024 cacosl(tmpld);
40025 casinl(tmpld);
40026 catanl(tmpld);
40027 cacoshl(tmpld);
40028 casinhl(tmpld);
40029 catanhl(tmpld);
40032 return 0;
40034 _ACEOF
40035 rm -f conftest.$ac_objext
40036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40037 (eval $ac_compile) 2>conftest.er1
40038 ac_status=$?
40039 grep -v '^ *+' conftest.er1 >conftest.err
40040 rm -f conftest.er1
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } &&
40044 { ac_try='test -z "$ac_cxx_werror_flag"
40045 || test ! -s conftest.err'
40046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047 (eval $ac_try) 2>&5
40048 ac_status=$?
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); }; } &&
40051 { ac_try='test -s conftest.$ac_objext'
40052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40053 (eval $ac_try) 2>&5
40054 ac_status=$?
40055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056 (exit $ac_status); }; }; then
40057 ac_c99_complex_tr1=yes
40058 else
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40062 ac_c99_complex_tr1=no
40064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40066 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40067 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40068 if test x"$ac_c99_complex_tr1" = x"yes"; then
40070 cat >>confdefs.h <<\_ACEOF
40071 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40072 _ACEOF
40076 # Check for the existence of <ctype.h> functions.
40077 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40078 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40079 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40080 echo $ECHO_N "(cached) $ECHO_C" >&6
40081 else
40083 cat >conftest.$ac_ext <<_ACEOF
40084 /* confdefs.h. */
40085 _ACEOF
40086 cat confdefs.h >>conftest.$ac_ext
40087 cat >>conftest.$ac_ext <<_ACEOF
40088 /* end confdefs.h. */
40089 #include <ctype.h>
40091 main ()
40093 int ch;
40094 int ret;
40095 ret = isblank(ch);
40098 return 0;
40100 _ACEOF
40101 rm -f conftest.$ac_objext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40103 (eval $ac_compile) 2>conftest.er1
40104 ac_status=$?
40105 grep -v '^ *+' conftest.er1 >conftest.err
40106 rm -f conftest.er1
40107 cat conftest.err >&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } &&
40110 { ac_try='test -z "$ac_cxx_werror_flag"
40111 || test ! -s conftest.err'
40112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40113 (eval $ac_try) 2>&5
40114 ac_status=$?
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); }; } &&
40117 { ac_try='test -s conftest.$ac_objext'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; }; then
40123 glibcxx_cv_c99_ctype_tr1=yes
40124 else
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40128 glibcxx_cv_c99_ctype_tr1=no
40130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40134 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40135 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40136 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40138 cat >>confdefs.h <<\_ACEOF
40139 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40140 _ACEOF
40144 # Check for the existence of <fenv.h> functions.
40146 for ac_header in fenv.h
40148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40150 echo "$as_me:$LINENO: checking for $ac_header" >&5
40151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40153 echo $ECHO_N "(cached) $ECHO_C" >&6
40155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40157 else
40158 # Is the header compilable?
40159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h. */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167 $ac_includes_default
40168 #include <$ac_header>
40169 _ACEOF
40170 rm -f conftest.$ac_objext
40171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40172 (eval $ac_compile) 2>conftest.er1
40173 ac_status=$?
40174 grep -v '^ *+' conftest.er1 >conftest.err
40175 rm -f conftest.er1
40176 cat conftest.err >&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); } &&
40179 { ac_try='test -z "$ac_cxx_werror_flag"
40180 || test ! -s conftest.err'
40181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182 (eval $ac_try) 2>&5
40183 ac_status=$?
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); }; } &&
40186 { ac_try='test -s conftest.$ac_objext'
40187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188 (eval $ac_try) 2>&5
40189 ac_status=$?
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); }; }; then
40192 ac_header_compiler=yes
40193 else
40194 echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.$ac_ext >&5
40197 ac_header_compiler=no
40199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40201 echo "${ECHO_T}$ac_header_compiler" >&6
40203 # Is the header present?
40204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40206 cat >conftest.$ac_ext <<_ACEOF
40207 /* confdefs.h. */
40208 _ACEOF
40209 cat confdefs.h >>conftest.$ac_ext
40210 cat >>conftest.$ac_ext <<_ACEOF
40211 /* end confdefs.h. */
40212 #include <$ac_header>
40213 _ACEOF
40214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40216 ac_status=$?
40217 grep -v '^ *+' conftest.er1 >conftest.err
40218 rm -f conftest.er1
40219 cat conftest.err >&5
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); } >/dev/null; then
40222 if test -s conftest.err; then
40223 ac_cpp_err=$ac_cxx_preproc_warn_flag
40224 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40225 else
40226 ac_cpp_err=
40228 else
40229 ac_cpp_err=yes
40231 if test -z "$ac_cpp_err"; then
40232 ac_header_preproc=yes
40233 else
40234 echo "$as_me: failed program was:" >&5
40235 sed 's/^/| /' conftest.$ac_ext >&5
40237 ac_header_preproc=no
40239 rm -f conftest.err conftest.$ac_ext
40240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40241 echo "${ECHO_T}$ac_header_preproc" >&6
40243 # So? What about this header?
40244 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40245 yes:no: )
40246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40250 ac_header_preproc=yes
40252 no:yes:* )
40253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40266 cat <<\_ASBOX
40267 ## ----------------------------------------- ##
40268 ## Report this to the package-unused lists. ##
40269 ## ----------------------------------------- ##
40270 _ASBOX
40272 sed "s/^/$as_me: WARNING: /" >&2
40274 esac
40275 echo "$as_me:$LINENO: checking for $ac_header" >&5
40276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40278 echo $ECHO_N "(cached) $ECHO_C" >&6
40279 else
40280 eval "$as_ac_Header=\$ac_header_preproc"
40282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40287 cat >>confdefs.h <<_ACEOF
40288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40289 _ACEOF
40290 ac_has_fenv_h=yes
40291 else
40292 ac_has_fenv_h=no
40295 done
40297 ac_c99_fenv_tr1=no;
40298 if test x"$ac_has_fenv_h" = x"yes"; then
40299 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40300 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40301 cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h. */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307 #include <fenv.h>
40309 main ()
40311 int except, mode;
40312 fexcept_t* pflag;
40313 fenv_t* penv;
40314 int ret;
40315 ret = feclearexcept(except);
40316 ret = fegetexceptflag(pflag, except);
40317 ret = feraiseexcept(except);
40318 ret = fesetexceptflag(pflag, except);
40319 ret = fetestexcept(except);
40320 ret = fegetround();
40321 ret = fesetround(mode);
40322 ret = fegetenv(penv);
40323 ret = feholdexcept(penv);
40324 ret = fesetenv(penv);
40325 ret = feupdateenv(penv);
40328 return 0;
40330 _ACEOF
40331 rm -f conftest.$ac_objext
40332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40333 (eval $ac_compile) 2>conftest.er1
40334 ac_status=$?
40335 grep -v '^ *+' conftest.er1 >conftest.err
40336 rm -f conftest.er1
40337 cat conftest.err >&5
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); } &&
40340 { ac_try='test -z "$ac_cxx_werror_flag"
40341 || test ! -s conftest.err'
40342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40343 (eval $ac_try) 2>&5
40344 ac_status=$?
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); }; } &&
40347 { ac_try='test -s conftest.$ac_objext'
40348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40349 (eval $ac_try) 2>&5
40350 ac_status=$?
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); }; }; then
40353 ac_c99_fenv_tr1=yes
40354 else
40355 echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.$ac_ext >&5
40358 ac_c99_fenv_tr1=no
40360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40362 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40363 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40364 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40366 cat >>confdefs.h <<\_ACEOF
40367 #define _GLIBCXX_USE_C99_FENV_TR1 1
40368 _ACEOF
40372 # Check for the existence of <stdint.h> types.
40373 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40374 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40375 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40377 else
40379 cat >conftest.$ac_ext <<_ACEOF
40380 /* confdefs.h. */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40385 #include <stdint.h>
40387 main ()
40389 typedef int8_t my_int8_t;
40390 typedef int16_t my_int16_t;
40391 typedef int32_t my_int32_t;
40392 typedef int64_t my_int64_t;
40393 typedef int_fast8_t my_int_fast8_t;
40394 typedef int_fast16_t my_int_fast16_t;
40395 typedef int_fast32_t my_int_fast32_t;
40396 typedef int_fast64_t my_int_fast64_t;
40397 typedef int_least8_t my_int_least8_t;
40398 typedef int_least16_t my_int_least16_t;
40399 typedef int_least32_t my_int_least32_t;
40400 typedef int_least64_t my_int_least64_t;
40401 typedef intmax_t my_intmax_t;
40402 typedef intptr_t my_intptr_t;
40403 typedef uint8_t my_uint8_t;
40404 typedef uint16_t my_uint16_t;
40405 typedef uint32_t my_uint32_t;
40406 typedef uint64_t my_uint64_t;
40407 typedef uint_fast8_t my_uint_fast8_t;
40408 typedef uint_fast16_t my_uint_fast16_t;
40409 typedef uint_fast32_t my_uint_fast32_t;
40410 typedef uint_fast64_t my_uint_fast64_t;
40411 typedef uint_least8_t my_uint_least8_t;
40412 typedef uint_least16_t my_uint_least16_t;
40413 typedef uint_least32_t my_uint_least32_t;
40414 typedef uint_least64_t my_uint_least64_t;
40415 typedef uintmax_t my_uintmax_t;
40416 typedef uintptr_t my_uintptr_t;
40419 return 0;
40421 _ACEOF
40422 rm -f conftest.$ac_objext
40423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40424 (eval $ac_compile) 2>conftest.er1
40425 ac_status=$?
40426 grep -v '^ *+' conftest.er1 >conftest.err
40427 rm -f conftest.er1
40428 cat conftest.err >&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); } &&
40431 { ac_try='test -z "$ac_cxx_werror_flag"
40432 || test ! -s conftest.err'
40433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40434 (eval $ac_try) 2>&5
40435 ac_status=$?
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); }; } &&
40438 { ac_try='test -s conftest.$ac_objext'
40439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40440 (eval $ac_try) 2>&5
40441 ac_status=$?
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); }; }; then
40444 glibcxx_cv_c99_stdint_tr1=yes
40445 else
40446 echo "$as_me: failed program was:" >&5
40447 sed 's/^/| /' conftest.$ac_ext >&5
40449 glibcxx_cv_c99_stdint_tr1=no
40451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40455 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40456 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40457 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40459 cat >>confdefs.h <<\_ACEOF
40460 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40461 _ACEOF
40465 # Check for the existence of <math.h> functions.
40466 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40467 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40468 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40470 else
40472 cat >conftest.$ac_ext <<_ACEOF
40473 /* confdefs.h. */
40474 _ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40478 #include <math.h>
40480 main ()
40482 typedef double_t my_double_t;
40483 typedef float_t my_float_t;
40484 acosh(0.0);
40485 acoshf(0.0f);
40486 acoshl(0.0l);
40487 asinh(0.0);
40488 asinhf(0.0f);
40489 asinhl(0.0l);
40490 atanh(0.0);
40491 atanhf(0.0f);
40492 atanhl(0.0l);
40493 cbrt(0.0);
40494 cbrtf(0.0f);
40495 cbrtl(0.0l);
40496 copysign(0.0, 0.0);
40497 copysignf(0.0f, 0.0f);
40498 copysignl(0.0l, 0.0l);
40499 erf(0.0);
40500 erff(0.0f);
40501 erfl(0.0l);
40502 erfc(0.0);
40503 erfcf(0.0f);
40504 erfcl(0.0l);
40505 exp2(0.0);
40506 exp2f(0.0f);
40507 exp2l(0.0l);
40508 expm1(0.0);
40509 expm1f(0.0f);
40510 expm1l(0.0l);
40511 fdim(0.0, 0.0);
40512 fdimf(0.0f, 0.0f);
40513 fdiml(0.0l, 0.0l);
40514 fma(0.0, 0.0, 0.0);
40515 fmaf(0.0f, 0.0f, 0.0f);
40516 fmal(0.0l, 0.0l, 0.0l);
40517 fmax(0.0, 0.0);
40518 fmaxf(0.0f, 0.0f);
40519 fmaxl(0.0l, 0.0l);
40520 fmin(0.0, 0.0);
40521 fminf(0.0f, 0.0f);
40522 fminl(0.0l, 0.0l);
40523 hypot(0.0, 0.0);
40524 hypotf(0.0f, 0.0f);
40525 hypotl(0.0l, 0.0l);
40526 ilogb(0.0);
40527 ilogbf(0.0f);
40528 ilogbl(0.0l);
40529 lgamma(0.0);
40530 lgammaf(0.0f);
40531 lgammal(0.0l);
40532 llrint(0.0);
40533 llrintf(0.0f);
40534 llrintl(0.0l);
40535 llround(0.0);
40536 llroundf(0.0f);
40537 llroundl(0.0l);
40538 log1p(0.0);
40539 log1pf(0.0f);
40540 log1pl(0.0l);
40541 log2(0.0);
40542 log2f(0.0f);
40543 log2l(0.0l);
40544 logb(0.0);
40545 logbf(0.0f);
40546 logbl(0.0l);
40547 lrint(0.0);
40548 lrintf(0.0f);
40549 lrintl(0.0l);
40550 lround(0.0);
40551 lroundf(0.0f);
40552 lroundl(0.0l);
40553 nan(0);
40554 nanf(0);
40555 nanl(0);
40556 nearbyint(0.0);
40557 nearbyintf(0.0f);
40558 nearbyintl(0.0l);
40559 nextafter(0.0, 0.0);
40560 nextafterf(0.0f, 0.0f);
40561 nextafterl(0.0l, 0.0l);
40562 nexttoward(0.0, 0.0);
40563 nexttowardf(0.0f, 0.0f);
40564 nexttowardl(0.0l, 0.0l);
40565 remainder(0.0, 0.0);
40566 remainderf(0.0f, 0.0f);
40567 remainderl(0.0l, 0.0l);
40568 remquo(0.0, 0.0, 0);
40569 remquo(0.0f, 0.0f, 0);
40570 remquo(0.0l, 0.0l, 0);
40571 rint(0.0);
40572 rintf(0.0f);
40573 rintl(0.0l);
40574 round(0.0);
40575 roundf(0.0f);
40576 roundl(0.0l);
40577 scalbln(0.0, 0l);
40578 scalblnf(0.0f, 0l);
40579 scalblnl(0.0l, 0l);
40580 scalbn(0.0, 0);
40581 scalbnf(0.0f, 0);
40582 scalbnl(0.0l, 0);
40583 tgamma(0.0);
40584 tgammaf(0.0f);
40585 tgammal(0.0l);
40586 trunc(0.0);
40587 truncf(0.0f);
40588 truncl(0.0l);
40591 return 0;
40593 _ACEOF
40594 rm -f conftest.$ac_objext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40596 (eval $ac_compile) 2>conftest.er1
40597 ac_status=$?
40598 grep -v '^ *+' conftest.er1 >conftest.err
40599 rm -f conftest.er1
40600 cat conftest.err >&5
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); } &&
40603 { ac_try='test -z "$ac_cxx_werror_flag"
40604 || test ! -s conftest.err'
40605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40606 (eval $ac_try) 2>&5
40607 ac_status=$?
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); }; } &&
40610 { ac_try='test -s conftest.$ac_objext'
40611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40612 (eval $ac_try) 2>&5
40613 ac_status=$?
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); }; }; then
40616 glibcxx_cv_c99_math_tr1=yes
40617 else
40618 echo "$as_me: failed program was:" >&5
40619 sed 's/^/| /' conftest.$ac_ext >&5
40621 glibcxx_cv_c99_math_tr1=no
40623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40627 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40628 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40629 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40631 cat >>confdefs.h <<\_ACEOF
40632 #define _GLIBCXX_USE_C99_MATH_TR1 1
40633 _ACEOF
40637 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40638 # sense if the previous check fails, per C99, 7.8/1).
40639 ac_c99_inttypes_tr1=no;
40640 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40641 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40642 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40643 cat >conftest.$ac_ext <<_ACEOF
40644 /* confdefs.h. */
40645 _ACEOF
40646 cat confdefs.h >>conftest.$ac_ext
40647 cat >>conftest.$ac_ext <<_ACEOF
40648 /* end confdefs.h. */
40649 #include <inttypes.h>
40651 main ()
40653 intmax_t i, numer, denom, base;
40654 const char* s;
40655 char** endptr;
40656 intmax_t ret = imaxabs(i);
40657 imaxdiv_t dret = imaxdiv(numer, denom);
40658 ret = strtoimax(s, endptr, base);
40659 uintmax_t uret = strtoumax(s, endptr, base);
40662 return 0;
40664 _ACEOF
40665 rm -f conftest.$ac_objext
40666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40667 (eval $ac_compile) 2>conftest.er1
40668 ac_status=$?
40669 grep -v '^ *+' conftest.er1 >conftest.err
40670 rm -f conftest.er1
40671 cat conftest.err >&5
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); } &&
40674 { ac_try='test -z "$ac_cxx_werror_flag"
40675 || test ! -s conftest.err'
40676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40677 (eval $ac_try) 2>&5
40678 ac_status=$?
40679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40680 (exit $ac_status); }; } &&
40681 { ac_try='test -s conftest.$ac_objext'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40684 ac_status=$?
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; }; then
40687 ac_c99_inttypes_tr1=yes
40688 else
40689 echo "$as_me: failed program was:" >&5
40690 sed 's/^/| /' conftest.$ac_ext >&5
40692 ac_c99_inttypes_tr1=no
40694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40696 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40697 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40698 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40700 cat >>confdefs.h <<\_ACEOF
40701 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40702 _ACEOF
40706 # Check for the existence of the <stdbool.h> header.
40708 for ac_header in stdbool.h
40710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40712 echo "$as_me:$LINENO: checking for $ac_header" >&5
40713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40719 else
40720 # Is the header compilable?
40721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40723 cat >conftest.$ac_ext <<_ACEOF
40724 /* confdefs.h. */
40725 _ACEOF
40726 cat confdefs.h >>conftest.$ac_ext
40727 cat >>conftest.$ac_ext <<_ACEOF
40728 /* end confdefs.h. */
40729 $ac_includes_default
40730 #include <$ac_header>
40731 _ACEOF
40732 rm -f conftest.$ac_objext
40733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40734 (eval $ac_compile) 2>conftest.er1
40735 ac_status=$?
40736 grep -v '^ *+' conftest.er1 >conftest.err
40737 rm -f conftest.er1
40738 cat conftest.err >&5
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); } &&
40741 { ac_try='test -z "$ac_cxx_werror_flag"
40742 || test ! -s conftest.err'
40743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40744 (eval $ac_try) 2>&5
40745 ac_status=$?
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); }; } &&
40748 { ac_try='test -s conftest.$ac_objext'
40749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40750 (eval $ac_try) 2>&5
40751 ac_status=$?
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); }; }; then
40754 ac_header_compiler=yes
40755 else
40756 echo "$as_me: failed program was:" >&5
40757 sed 's/^/| /' conftest.$ac_ext >&5
40759 ac_header_compiler=no
40761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40763 echo "${ECHO_T}$ac_header_compiler" >&6
40765 # Is the header present?
40766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40768 cat >conftest.$ac_ext <<_ACEOF
40769 /* confdefs.h. */
40770 _ACEOF
40771 cat confdefs.h >>conftest.$ac_ext
40772 cat >>conftest.$ac_ext <<_ACEOF
40773 /* end confdefs.h. */
40774 #include <$ac_header>
40775 _ACEOF
40776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40778 ac_status=$?
40779 grep -v '^ *+' conftest.er1 >conftest.err
40780 rm -f conftest.er1
40781 cat conftest.err >&5
40782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783 (exit $ac_status); } >/dev/null; then
40784 if test -s conftest.err; then
40785 ac_cpp_err=$ac_cxx_preproc_warn_flag
40786 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40787 else
40788 ac_cpp_err=
40790 else
40791 ac_cpp_err=yes
40793 if test -z "$ac_cpp_err"; then
40794 ac_header_preproc=yes
40795 else
40796 echo "$as_me: failed program was:" >&5
40797 sed 's/^/| /' conftest.$ac_ext >&5
40799 ac_header_preproc=no
40801 rm -f conftest.err conftest.$ac_ext
40802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40803 echo "${ECHO_T}$ac_header_preproc" >&6
40805 # So? What about this header?
40806 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40807 yes:no: )
40808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40812 ac_header_preproc=yes
40814 no:yes:* )
40815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40828 cat <<\_ASBOX
40829 ## ----------------------------------------- ##
40830 ## Report this to the package-unused lists. ##
40831 ## ----------------------------------------- ##
40832 _ASBOX
40834 sed "s/^/$as_me: WARNING: /" >&2
40836 esac
40837 echo "$as_me:$LINENO: checking for $ac_header" >&5
40838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40840 echo $ECHO_N "(cached) $ECHO_C" >&6
40841 else
40842 eval "$as_ac_Header=\$ac_header_preproc"
40844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40849 cat >>confdefs.h <<_ACEOF
40850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40851 _ACEOF
40855 done
40858 CXXFLAGS="$ac_save_CXXFLAGS"
40859 ac_ext=c
40860 ac_cpp='$CPP $CPPFLAGS'
40861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40867 # For dev/random and dev/urandom for TR1.
40870 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40871 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40872 if test "${glibcxx_cv_random_tr1+set}" = set; then
40873 echo $ECHO_N "(cached) $ECHO_C" >&6
40874 else
40876 if test "$cross_compiling" = yes; then
40877 glibcxx_cv_random_tr1=no
40878 else
40879 cat >conftest.$ac_ext <<_ACEOF
40880 /* confdefs.h. */
40881 _ACEOF
40882 cat confdefs.h >>conftest.$ac_ext
40883 cat >>conftest.$ac_ext <<_ACEOF
40884 /* end confdefs.h. */
40885 #include <stdio.h>
40886 int main()
40888 return !(fopen("/dev/random", "r")
40889 && fopen("/dev/urandom", "r"));
40892 _ACEOF
40893 rm -f conftest$ac_exeext
40894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40895 (eval $ac_link) 2>&5
40896 ac_status=$?
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40900 (eval $ac_try) 2>&5
40901 ac_status=$?
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); }; }; then
40904 glibcxx_cv_random_tr1=yes
40905 else
40906 echo "$as_me: program exited with status $ac_status" >&5
40907 echo "$as_me: failed program was:" >&5
40908 sed 's/^/| /' conftest.$ac_ext >&5
40910 ( exit $ac_status )
40911 glibcxx_cv_random_tr1=no
40913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40918 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40919 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40920 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40922 cat >>confdefs.h <<\_ACEOF
40923 #define _GLIBCXX_USE_RANDOM_TR1 1
40924 _ACEOF
40930 # For TLS support.
40932 # Check whether --enable-tls or --disable-tls was given.
40933 if test "${enable_tls+set}" = set; then
40934 enableval="$enable_tls"
40936 case "$enableval" in
40937 yes|no) ;;
40938 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40939 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40940 { (exit 1); exit 1; }; } ;;
40941 esac
40943 else
40944 enable_tls=yes
40947 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40948 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40949 if test "${gcc_cv_have_tls+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40951 else
40953 if test "$cross_compiling" = yes; then
40954 if test x$gcc_no_link = xyes; then
40955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40957 { (exit 1); exit 1; }; }
40959 cat >conftest.$ac_ext <<_ACEOF
40960 __thread int a; int b; int main() { return a = b; }
40961 _ACEOF
40962 rm -f conftest.$ac_objext conftest$ac_exeext
40963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40964 (eval $ac_link) 2>conftest.er1
40965 ac_status=$?
40966 grep -v '^ *+' conftest.er1 >conftest.err
40967 rm -f conftest.er1
40968 cat conftest.err >&5
40969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970 (exit $ac_status); } &&
40971 { ac_try='test -z "$ac_c_werror_flag"
40972 || test ! -s conftest.err'
40973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974 (eval $ac_try) 2>&5
40975 ac_status=$?
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); }; } &&
40978 { ac_try='test -s conftest$ac_exeext'
40979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980 (eval $ac_try) 2>&5
40981 ac_status=$?
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); }; }; then
40984 gcc_cv_have_tls=yes
40985 else
40986 echo "$as_me: failed program was:" >&5
40987 sed 's/^/| /' conftest.$ac_ext >&5
40989 gcc_cv_have_tls=no
40991 rm -f conftest.err conftest.$ac_objext \
40992 conftest$ac_exeext conftest.$ac_ext
40995 else
40996 cat >conftest.$ac_ext <<_ACEOF
40997 __thread int a; int b; int main() { return a = b; }
40998 _ACEOF
40999 rm -f conftest$ac_exeext
41000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41001 (eval $ac_link) 2>&5
41002 ac_status=$?
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41006 (eval $ac_try) 2>&5
41007 ac_status=$?
41008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); }; }; then
41010 chktls_save_LDFLAGS="$LDFLAGS"
41011 LDFLAGS="-static $LDFLAGS"
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 int main() { return 0; }
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 if test "$cross_compiling" = yes; then
41043 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41044 See \`config.log' for more details." >&5
41045 echo "$as_me: error: cannot run test program while cross compiling
41046 See \`config.log' for more details." >&2;}
41047 { (exit 1); exit 1; }; }
41048 else
41049 cat >conftest.$ac_ext <<_ACEOF
41050 __thread int a; int b; int main() { return a = b; }
41051 _ACEOF
41052 rm -f conftest$ac_exeext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41054 (eval $ac_link) 2>&5
41055 ac_status=$?
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41060 ac_status=$?
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; }; then
41063 gcc_cv_have_tls=yes
41064 else
41065 echo "$as_me: program exited with status $ac_status" >&5
41066 echo "$as_me: failed program was:" >&5
41067 sed 's/^/| /' conftest.$ac_ext >&5
41069 ( exit $ac_status )
41070 gcc_cv_have_tls=no
41072 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41074 else
41075 echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.$ac_ext >&5
41078 gcc_cv_have_tls=yes
41080 rm -f conftest.err conftest.$ac_objext \
41081 conftest$ac_exeext conftest.$ac_ext
41082 LDFLAGS="$chktls_save_LDFLAGS"
41083 if test $gcc_cv_have_tls = yes; then
41084 chktls_save_CFLAGS="$CFLAGS"
41085 thread_CFLAGS=failed
41086 for flag in '' '-pthread' '-lpthread'; do
41087 CFLAGS="$flag $chktls_save_CFLAGS"
41088 if test x$gcc_no_link = xyes; then
41089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41091 { (exit 1); exit 1; }; }
41093 cat >conftest.$ac_ext <<_ACEOF
41094 /* confdefs.h. */
41095 _ACEOF
41096 cat confdefs.h >>conftest.$ac_ext
41097 cat >>conftest.$ac_ext <<_ACEOF
41098 /* end confdefs.h. */
41099 #include <pthread.h>
41100 void *g(void *d) { return NULL; }
41102 main ()
41104 pthread_t t; pthread_create(&t,NULL,g,NULL);
41106 return 0;
41108 _ACEOF
41109 rm -f conftest.$ac_objext conftest$ac_exeext
41110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41111 (eval $ac_link) 2>conftest.er1
41112 ac_status=$?
41113 grep -v '^ *+' conftest.er1 >conftest.err
41114 rm -f conftest.er1
41115 cat conftest.err >&5
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); } &&
41118 { ac_try='test -z "$ac_c_werror_flag"
41119 || test ! -s conftest.err'
41120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41121 (eval $ac_try) 2>&5
41122 ac_status=$?
41123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124 (exit $ac_status); }; } &&
41125 { ac_try='test -s conftest$ac_exeext'
41126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41127 (eval $ac_try) 2>&5
41128 ac_status=$?
41129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130 (exit $ac_status); }; }; then
41131 thread_CFLAGS="$flag"
41132 else
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41137 rm -f conftest.err conftest.$ac_objext \
41138 conftest$ac_exeext conftest.$ac_ext
41139 if test "X$thread_CFLAGS" != Xfailed; then
41140 break
41142 done
41143 CFLAGS="$chktls_save_CFLAGS"
41144 if test "X$thread_CFLAGS" != Xfailed; then
41145 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41146 if test "$cross_compiling" = yes; then
41147 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41148 See \`config.log' for more details." >&5
41149 echo "$as_me: error: cannot run test program while cross compiling
41150 See \`config.log' for more details." >&2;}
41151 { (exit 1); exit 1; }; }
41152 else
41153 cat >conftest.$ac_ext <<_ACEOF
41154 /* confdefs.h. */
41155 _ACEOF
41156 cat confdefs.h >>conftest.$ac_ext
41157 cat >>conftest.$ac_ext <<_ACEOF
41158 /* end confdefs.h. */
41159 #include <pthread.h>
41160 __thread int a;
41161 static int *a_in_other_thread;
41162 static void *
41163 thread_func (void *arg)
41165 a_in_other_thread = &a;
41166 return (void *)0;
41169 main ()
41171 pthread_t thread;
41172 void *thread_retval;
41173 int *a_in_main_thread;
41174 if (pthread_create (&thread, (pthread_attr_t *)0,
41175 thread_func, (void *)0))
41176 return 0;
41177 a_in_main_thread = &a;
41178 if (pthread_join (thread, &thread_retval))
41179 return 0;
41180 return (a_in_other_thread == a_in_main_thread);
41182 return 0;
41184 _ACEOF
41185 rm -f conftest$ac_exeext
41186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41187 (eval $ac_link) 2>&5
41188 ac_status=$?
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41193 ac_status=$?
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; }; then
41196 gcc_cv_have_tls=yes
41197 else
41198 echo "$as_me: program exited with status $ac_status" >&5
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.$ac_ext >&5
41202 ( exit $ac_status )
41203 gcc_cv_have_tls=no
41205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41207 CFLAGS="$chktls_save_CFLAGS"
41210 else
41211 echo "$as_me: program exited with status $ac_status" >&5
41212 echo "$as_me: failed program was:" >&5
41213 sed 's/^/| /' conftest.$ac_ext >&5
41215 ( exit $ac_status )
41216 gcc_cv_have_tls=no
41218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41221 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41222 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41223 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41225 cat >>confdefs.h <<\_ACEOF
41226 #define HAVE_TLS 1
41227 _ACEOF
41231 # For _Unwind_GetIPInfo.
41235 ac_ext=cc
41236 ac_cpp='$CXXCPP $CPPFLAGS'
41237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41241 ac_save_CXXFLAGS="$CXXFLAGS"
41242 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41243 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41244 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41245 if test "${gcc_cv_getipinfo+set}" = set; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 else
41249 if test x$gcc_no_link = xyes; then
41250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41252 { (exit 1); exit 1; }; }
41254 cat >conftest.$ac_ext <<_ACEOF
41255 /* confdefs.h. */
41256 _ACEOF
41257 cat confdefs.h >>conftest.$ac_ext
41258 cat >>conftest.$ac_ext <<_ACEOF
41259 /* end confdefs.h. */
41260 extern "C" { extern void _Unwind_GetIPInfo(); }
41262 main ()
41264 _Unwind_GetIPInfo();
41266 return 0;
41268 _ACEOF
41269 rm -f conftest.$ac_objext conftest$ac_exeext
41270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41271 (eval $ac_link) 2>conftest.er1
41272 ac_status=$?
41273 grep -v '^ *+' conftest.er1 >conftest.err
41274 rm -f conftest.er1
41275 cat conftest.err >&5
41276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41277 (exit $ac_status); } &&
41278 { ac_try='test -z "$ac_cxx_werror_flag"
41279 || test ! -s conftest.err'
41280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41281 (eval $ac_try) 2>&5
41282 ac_status=$?
41283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284 (exit $ac_status); }; } &&
41285 { ac_try='test -s conftest$ac_exeext'
41286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287 (eval $ac_try) 2>&5
41288 ac_status=$?
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); }; }; then
41291 gcc_cv_getipinfo=yes
41292 else
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41296 gcc_cv_getipinfo=no
41298 rm -f conftest.err conftest.$ac_objext \
41299 conftest$ac_exeext conftest.$ac_ext
41303 if test $gcc_cv_getipinfo = yes; then
41305 cat >>confdefs.h <<\_ACEOF
41306 #define HAVE_GETIPINFO 1
41307 _ACEOF
41310 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41311 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41312 CXXFLAGS="$ac_save_CXXFLAGS"
41313 ac_ext=c
41314 ac_cpp='$CPP $CPPFLAGS'
41315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41322 if test "${ac_cv_header_locale_h+set}" = set; then
41323 echo "$as_me:$LINENO: checking for locale.h" >&5
41324 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41325 if test "${ac_cv_header_locale_h+set}" = set; then
41326 echo $ECHO_N "(cached) $ECHO_C" >&6
41328 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41329 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41330 else
41331 # Is the header compilable?
41332 echo "$as_me:$LINENO: checking locale.h usability" >&5
41333 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41334 cat >conftest.$ac_ext <<_ACEOF
41335 /* confdefs.h. */
41336 _ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h. */
41340 $ac_includes_default
41341 #include <locale.h>
41342 _ACEOF
41343 rm -f conftest.$ac_objext
41344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41345 (eval $ac_compile) 2>conftest.er1
41346 ac_status=$?
41347 grep -v '^ *+' conftest.er1 >conftest.err
41348 rm -f conftest.er1
41349 cat conftest.err >&5
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); } &&
41352 { ac_try='test -z "$ac_c_werror_flag"
41353 || test ! -s conftest.err'
41354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355 (eval $ac_try) 2>&5
41356 ac_status=$?
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); }; } &&
41359 { ac_try='test -s conftest.$ac_objext'
41360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41361 (eval $ac_try) 2>&5
41362 ac_status=$?
41363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41364 (exit $ac_status); }; }; then
41365 ac_header_compiler=yes
41366 else
41367 echo "$as_me: failed program was:" >&5
41368 sed 's/^/| /' conftest.$ac_ext >&5
41370 ac_header_compiler=no
41372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41374 echo "${ECHO_T}$ac_header_compiler" >&6
41376 # Is the header present?
41377 echo "$as_me:$LINENO: checking locale.h presence" >&5
41378 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41379 cat >conftest.$ac_ext <<_ACEOF
41380 /* confdefs.h. */
41381 _ACEOF
41382 cat confdefs.h >>conftest.$ac_ext
41383 cat >>conftest.$ac_ext <<_ACEOF
41384 /* end confdefs.h. */
41385 #include <locale.h>
41386 _ACEOF
41387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41389 ac_status=$?
41390 grep -v '^ *+' conftest.er1 >conftest.err
41391 rm -f conftest.er1
41392 cat conftest.err >&5
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); } >/dev/null; then
41395 if test -s conftest.err; then
41396 ac_cpp_err=$ac_c_preproc_warn_flag
41397 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41398 else
41399 ac_cpp_err=
41401 else
41402 ac_cpp_err=yes
41404 if test -z "$ac_cpp_err"; then
41405 ac_header_preproc=yes
41406 else
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.$ac_ext >&5
41410 ac_header_preproc=no
41412 rm -f conftest.err conftest.$ac_ext
41413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41414 echo "${ECHO_T}$ac_header_preproc" >&6
41416 # So? What about this header?
41417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41418 yes:no: )
41419 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41420 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41421 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41422 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41423 ac_header_preproc=yes
41425 no:yes:* )
41426 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41427 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41428 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41429 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41430 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41431 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41432 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41433 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41434 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41435 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41436 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41437 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41439 cat <<\_ASBOX
41440 ## ----------------------------------------- ##
41441 ## Report this to the package-unused lists. ##
41442 ## ----------------------------------------- ##
41443 _ASBOX
41445 sed "s/^/$as_me: WARNING: /" >&2
41447 esac
41448 echo "$as_me:$LINENO: checking for locale.h" >&5
41449 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41450 if test "${ac_cv_header_locale_h+set}" = set; then
41451 echo $ECHO_N "(cached) $ECHO_C" >&6
41452 else
41453 ac_cv_header_locale_h=$ac_header_preproc
41455 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41456 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41459 if test $ac_cv_header_locale_h = yes; then
41461 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41462 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41463 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41464 echo $ECHO_N "(cached) $ECHO_C" >&6
41465 else
41466 if test x$gcc_no_link = xyes; then
41467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41469 { (exit 1); exit 1; }; }
41471 cat >conftest.$ac_ext <<_ACEOF
41472 /* confdefs.h. */
41473 _ACEOF
41474 cat confdefs.h >>conftest.$ac_ext
41475 cat >>conftest.$ac_ext <<_ACEOF
41476 /* end confdefs.h. */
41477 #include <locale.h>
41479 main ()
41481 return LC_MESSAGES
41483 return 0;
41485 _ACEOF
41486 rm -f conftest.$ac_objext conftest$ac_exeext
41487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41488 (eval $ac_link) 2>conftest.er1
41489 ac_status=$?
41490 grep -v '^ *+' conftest.er1 >conftest.err
41491 rm -f conftest.er1
41492 cat conftest.err >&5
41493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494 (exit $ac_status); } &&
41495 { ac_try='test -z "$ac_c_werror_flag"
41496 || test ! -s conftest.err'
41497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498 (eval $ac_try) 2>&5
41499 ac_status=$?
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); }; } &&
41502 { ac_try='test -s conftest$ac_exeext'
41503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504 (eval $ac_try) 2>&5
41505 ac_status=$?
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; }; then
41508 ac_cv_val_LC_MESSAGES=yes
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41513 ac_cv_val_LC_MESSAGES=no
41515 rm -f conftest.err conftest.$ac_objext \
41516 conftest$ac_exeext conftest.$ac_ext
41518 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41519 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41520 if test $ac_cv_val_LC_MESSAGES = yes; then
41522 cat >>confdefs.h <<\_ACEOF
41523 #define HAVE_LC_MESSAGES 1
41524 _ACEOF
41533 cat >conftest.$ac_ext <<_ACEOF
41534 /* confdefs.h. */
41535 _ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h. */
41539 #include <setjmp.h>
41541 main ()
41543 sigjmp_buf env;
41544 while (! sigsetjmp (env, 1))
41545 siglongjmp (env, 1);
41548 return 0;
41550 _ACEOF
41551 rm -f conftest.$ac_objext
41552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41553 (eval $ac_compile) 2>conftest.er1
41554 ac_status=$?
41555 grep -v '^ *+' conftest.er1 >conftest.err
41556 rm -f conftest.er1
41557 cat conftest.err >&5
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); } &&
41560 { ac_try='test -z "$ac_c_werror_flag"
41561 || test ! -s conftest.err'
41562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563 (eval $ac_try) 2>&5
41564 ac_status=$?
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); }; } &&
41567 { ac_try='test -s conftest.$ac_objext'
41568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41569 (eval $ac_try) 2>&5
41570 ac_status=$?
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); }; }; then
41574 cat >>confdefs.h <<\_ACEOF
41575 #define HAVE_SIGSETJMP 1
41576 _ACEOF
41578 else
41579 echo "$as_me: failed program was:" >&5
41580 sed 's/^/| /' conftest.$ac_ext >&5
41583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41585 if test x$gcc_no_link = xyes; then
41586 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41587 ac_cv_func_mmap_fixed_mapped=no
41590 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41593 for ac_header in stdlib.h unistd.h
41595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41597 echo "$as_me:$LINENO: checking for $ac_header" >&5
41598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41600 echo $ECHO_N "(cached) $ECHO_C" >&6
41602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41604 else
41605 # Is the header compilable?
41606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41608 cat >conftest.$ac_ext <<_ACEOF
41609 /* confdefs.h. */
41610 _ACEOF
41611 cat confdefs.h >>conftest.$ac_ext
41612 cat >>conftest.$ac_ext <<_ACEOF
41613 /* end confdefs.h. */
41614 $ac_includes_default
41615 #include <$ac_header>
41616 _ACEOF
41617 rm -f conftest.$ac_objext
41618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41619 (eval $ac_compile) 2>conftest.er1
41620 ac_status=$?
41621 grep -v '^ *+' conftest.er1 >conftest.err
41622 rm -f conftest.er1
41623 cat conftest.err >&5
41624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 (exit $ac_status); } &&
41626 { ac_try='test -z "$ac_c_werror_flag"
41627 || test ! -s conftest.err'
41628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41629 (eval $ac_try) 2>&5
41630 ac_status=$?
41631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41632 (exit $ac_status); }; } &&
41633 { ac_try='test -s conftest.$ac_objext'
41634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41635 (eval $ac_try) 2>&5
41636 ac_status=$?
41637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638 (exit $ac_status); }; }; then
41639 ac_header_compiler=yes
41640 else
41641 echo "$as_me: failed program was:" >&5
41642 sed 's/^/| /' conftest.$ac_ext >&5
41644 ac_header_compiler=no
41646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41648 echo "${ECHO_T}$ac_header_compiler" >&6
41650 # Is the header present?
41651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41653 cat >conftest.$ac_ext <<_ACEOF
41654 /* confdefs.h. */
41655 _ACEOF
41656 cat confdefs.h >>conftest.$ac_ext
41657 cat >>conftest.$ac_ext <<_ACEOF
41658 /* end confdefs.h. */
41659 #include <$ac_header>
41660 _ACEOF
41661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41663 ac_status=$?
41664 grep -v '^ *+' conftest.er1 >conftest.err
41665 rm -f conftest.er1
41666 cat conftest.err >&5
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); } >/dev/null; then
41669 if test -s conftest.err; then
41670 ac_cpp_err=$ac_c_preproc_warn_flag
41671 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41672 else
41673 ac_cpp_err=
41675 else
41676 ac_cpp_err=yes
41678 if test -z "$ac_cpp_err"; then
41679 ac_header_preproc=yes
41680 else
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41684 ac_header_preproc=no
41686 rm -f conftest.err conftest.$ac_ext
41687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41688 echo "${ECHO_T}$ac_header_preproc" >&6
41690 # So? What about this header?
41691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41692 yes:no: )
41693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41697 ac_header_preproc=yes
41699 no:yes:* )
41700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41713 cat <<\_ASBOX
41714 ## ----------------------------------------- ##
41715 ## Report this to the package-unused lists. ##
41716 ## ----------------------------------------- ##
41717 _ASBOX
41719 sed "s/^/$as_me: WARNING: /" >&2
41721 esac
41722 echo "$as_me:$LINENO: checking for $ac_header" >&5
41723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41725 echo $ECHO_N "(cached) $ECHO_C" >&6
41726 else
41727 eval "$as_ac_Header=\$ac_header_preproc"
41729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41734 cat >>confdefs.h <<_ACEOF
41735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41736 _ACEOF
41740 done
41743 for ac_func in getpagesize
41745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41746 echo "$as_me:$LINENO: checking for $ac_func" >&5
41747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41748 if eval "test \"\${$as_ac_var+set}\" = set"; then
41749 echo $ECHO_N "(cached) $ECHO_C" >&6
41750 else
41751 if test x$gcc_no_link = xyes; then
41752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41754 { (exit 1); exit 1; }; }
41756 cat >conftest.$ac_ext <<_ACEOF
41757 /* confdefs.h. */
41758 _ACEOF
41759 cat confdefs.h >>conftest.$ac_ext
41760 cat >>conftest.$ac_ext <<_ACEOF
41761 /* end confdefs.h. */
41762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41764 #define $ac_func innocuous_$ac_func
41766 /* System header to define __stub macros and hopefully few prototypes,
41767 which can conflict with char $ac_func (); below.
41768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41769 <limits.h> exists even on freestanding compilers. */
41771 #ifdef __STDC__
41772 # include <limits.h>
41773 #else
41774 # include <assert.h>
41775 #endif
41777 #undef $ac_func
41779 /* Override any gcc2 internal prototype to avoid an error. */
41780 #ifdef __cplusplus
41781 extern "C"
41783 #endif
41784 /* We use char because int might match the return type of a gcc2
41785 builtin and then its argument prototype would still apply. */
41786 char $ac_func ();
41787 /* The GNU C library defines this for functions which it implements
41788 to always fail with ENOSYS. Some functions are actually named
41789 something starting with __ and the normal name is an alias. */
41790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41791 choke me
41792 #else
41793 char (*f) () = $ac_func;
41794 #endif
41795 #ifdef __cplusplus
41797 #endif
41800 main ()
41802 return f != $ac_func;
41804 return 0;
41806 _ACEOF
41807 rm -f conftest.$ac_objext conftest$ac_exeext
41808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41809 (eval $ac_link) 2>conftest.er1
41810 ac_status=$?
41811 grep -v '^ *+' conftest.er1 >conftest.err
41812 rm -f conftest.er1
41813 cat conftest.err >&5
41814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815 (exit $ac_status); } &&
41816 { ac_try='test -z "$ac_c_werror_flag"
41817 || test ! -s conftest.err'
41818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41819 (eval $ac_try) 2>&5
41820 ac_status=$?
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); }; } &&
41823 { ac_try='test -s conftest$ac_exeext'
41824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41825 (eval $ac_try) 2>&5
41826 ac_status=$?
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); }; }; then
41829 eval "$as_ac_var=yes"
41830 else
41831 echo "$as_me: failed program was:" >&5
41832 sed 's/^/| /' conftest.$ac_ext >&5
41834 eval "$as_ac_var=no"
41836 rm -f conftest.err conftest.$ac_objext \
41837 conftest$ac_exeext conftest.$ac_ext
41839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41841 if test `eval echo '${'$as_ac_var'}'` = yes; then
41842 cat >>confdefs.h <<_ACEOF
41843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41844 _ACEOF
41847 done
41849 echo "$as_me:$LINENO: checking for working mmap" >&5
41850 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41851 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41852 echo $ECHO_N "(cached) $ECHO_C" >&6
41853 else
41854 if test "$cross_compiling" = yes; then
41855 ac_cv_func_mmap_fixed_mapped=no
41856 else
41857 cat >conftest.$ac_ext <<_ACEOF
41858 /* confdefs.h. */
41859 _ACEOF
41860 cat confdefs.h >>conftest.$ac_ext
41861 cat >>conftest.$ac_ext <<_ACEOF
41862 /* end confdefs.h. */
41863 $ac_includes_default
41864 /* malloc might have been renamed as rpl_malloc. */
41865 #undef malloc
41867 /* Thanks to Mike Haertel and Jim Avera for this test.
41868 Here is a matrix of mmap possibilities:
41869 mmap private not fixed
41870 mmap private fixed at somewhere currently unmapped
41871 mmap private fixed at somewhere already mapped
41872 mmap shared not fixed
41873 mmap shared fixed at somewhere currently unmapped
41874 mmap shared fixed at somewhere already mapped
41875 For private mappings, we should verify that changes cannot be read()
41876 back from the file, nor mmap's back from the file at a different
41877 address. (There have been systems where private was not correctly
41878 implemented like the infamous i386 svr4.0, and systems where the
41879 VM page cache was not coherent with the file system buffer cache
41880 like early versions of FreeBSD and possibly contemporary NetBSD.)
41881 For shared mappings, we should conversely verify that changes get
41882 propagated back to all the places they're supposed to be.
41884 Grep wants private fixed already mapped.
41885 The main things grep needs to know about mmap are:
41886 * does it exist and is it safe to write into the mmap'd area
41887 * how to use it (BSD variants) */
41889 #include <fcntl.h>
41890 #include <sys/mman.h>
41892 #if !STDC_HEADERS && !HAVE_STDLIB_H
41893 char *malloc ();
41894 #endif
41896 /* This mess was copied from the GNU getpagesize.h. */
41897 #if !HAVE_GETPAGESIZE
41898 /* Assume that all systems that can run configure have sys/param.h. */
41899 # if !HAVE_SYS_PARAM_H
41900 # define HAVE_SYS_PARAM_H 1
41901 # endif
41903 # ifdef _SC_PAGESIZE
41904 # define getpagesize() sysconf(_SC_PAGESIZE)
41905 # else /* no _SC_PAGESIZE */
41906 # if HAVE_SYS_PARAM_H
41907 # include <sys/param.h>
41908 # ifdef EXEC_PAGESIZE
41909 # define getpagesize() EXEC_PAGESIZE
41910 # else /* no EXEC_PAGESIZE */
41911 # ifdef NBPG
41912 # define getpagesize() NBPG * CLSIZE
41913 # ifndef CLSIZE
41914 # define CLSIZE 1
41915 # endif /* no CLSIZE */
41916 # else /* no NBPG */
41917 # ifdef NBPC
41918 # define getpagesize() NBPC
41919 # else /* no NBPC */
41920 # ifdef PAGESIZE
41921 # define getpagesize() PAGESIZE
41922 # endif /* PAGESIZE */
41923 # endif /* no NBPC */
41924 # endif /* no NBPG */
41925 # endif /* no EXEC_PAGESIZE */
41926 # else /* no HAVE_SYS_PARAM_H */
41927 # define getpagesize() 8192 /* punt totally */
41928 # endif /* no HAVE_SYS_PARAM_H */
41929 # endif /* no _SC_PAGESIZE */
41931 #endif /* no HAVE_GETPAGESIZE */
41934 main ()
41936 char *data, *data2, *data3;
41937 int i, pagesize;
41938 int fd;
41940 pagesize = getpagesize ();
41942 /* First, make a file with some known garbage in it. */
41943 data = (char *) malloc (pagesize);
41944 if (!data)
41945 exit (1);
41946 for (i = 0; i < pagesize; ++i)
41947 *(data + i) = rand ();
41948 umask (0);
41949 fd = creat ("conftest.mmap", 0600);
41950 if (fd < 0)
41951 exit (1);
41952 if (write (fd, data, pagesize) != pagesize)
41953 exit (1);
41954 close (fd);
41956 /* Next, try to mmap the file at a fixed address which already has
41957 something else allocated at it. If we can, also make sure that
41958 we see the same garbage. */
41959 fd = open ("conftest.mmap", O_RDWR);
41960 if (fd < 0)
41961 exit (1);
41962 data2 = (char *) malloc (2 * pagesize);
41963 if (!data2)
41964 exit (1);
41965 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41966 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41967 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41968 exit (1);
41969 for (i = 0; i < pagesize; ++i)
41970 if (*(data + i) != *(data2 + i))
41971 exit (1);
41973 /* Finally, make sure that changes to the mapped area do not
41974 percolate back to the file as seen by read(). (This is a bug on
41975 some variants of i386 svr4.0.) */
41976 for (i = 0; i < pagesize; ++i)
41977 *(data2 + i) = *(data2 + i) + 1;
41978 data3 = (char *) malloc (pagesize);
41979 if (!data3)
41980 exit (1);
41981 if (read (fd, data3, pagesize) != pagesize)
41982 exit (1);
41983 for (i = 0; i < pagesize; ++i)
41984 if (*(data + i) != *(data3 + i))
41985 exit (1);
41986 close (fd);
41987 exit (0);
41989 _ACEOF
41990 rm -f conftest$ac_exeext
41991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41992 (eval $ac_link) 2>&5
41993 ac_status=$?
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41997 (eval $ac_try) 2>&5
41998 ac_status=$?
41999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42000 (exit $ac_status); }; }; then
42001 ac_cv_func_mmap_fixed_mapped=yes
42002 else
42003 echo "$as_me: program exited with status $ac_status" >&5
42004 echo "$as_me: failed program was:" >&5
42005 sed 's/^/| /' conftest.$ac_ext >&5
42007 ( exit $ac_status )
42008 ac_cv_func_mmap_fixed_mapped=no
42010 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42013 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42014 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42015 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42017 cat >>confdefs.h <<\_ACEOF
42018 #define HAVE_MMAP 1
42019 _ACEOF
42022 rm -f conftest.mmap
42026 # For iconv support.
42028 if test "X$prefix" = "XNONE"; then
42029 acl_final_prefix="$ac_default_prefix"
42030 else
42031 acl_final_prefix="$prefix"
42033 if test "X$exec_prefix" = "XNONE"; then
42034 acl_final_exec_prefix='${prefix}'
42035 else
42036 acl_final_exec_prefix="$exec_prefix"
42038 acl_save_prefix="$prefix"
42039 prefix="$acl_final_prefix"
42040 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42041 prefix="$acl_save_prefix"
42044 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42045 if test "${with_gnu_ld+set}" = set; then
42046 withval="$with_gnu_ld"
42047 test "$withval" = no || with_gnu_ld=yes
42048 else
42049 with_gnu_ld=no
42051 # Prepare PATH_SEPARATOR.
42052 # The user is always right.
42053 if test "${PATH_SEPARATOR+set}" != set; then
42054 echo "#! /bin/sh" >conf$$.sh
42055 echo "exit 0" >>conf$$.sh
42056 chmod +x conf$$.sh
42057 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42058 PATH_SEPARATOR=';'
42059 else
42060 PATH_SEPARATOR=:
42062 rm -f conf$$.sh
42064 ac_prog=ld
42065 if test "$GCC" = yes; then
42066 # Check if gcc -print-prog-name=ld gives a path.
42067 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42068 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42069 case $host in
42070 *-*-mingw*)
42071 # gcc leaves a trailing carriage return which upsets mingw
42072 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42074 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42075 esac
42076 case $ac_prog in
42077 # Accept absolute paths.
42078 [\\/]* | [A-Za-z]:[\\/]*)
42079 re_direlt='/[^/][^/]*/\.\./'
42080 # Canonicalize the path of ld
42081 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42082 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42083 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42084 done
42085 test -z "$LD" && LD="$ac_prog"
42088 # If it fails, then pretend we aren't using GCC.
42089 ac_prog=ld
42092 # If it is relative, then search for the first ld in PATH.
42093 with_gnu_ld=unknown
42095 esac
42096 elif test "$with_gnu_ld" = yes; then
42097 echo "$as_me:$LINENO: checking for GNU ld" >&5
42098 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42099 else
42100 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42101 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42103 if test "${acl_cv_path_LD+set}" = set; then
42104 echo $ECHO_N "(cached) $ECHO_C" >&6
42105 else
42106 if test -z "$LD"; then
42107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42108 for ac_dir in $PATH; do
42109 test -z "$ac_dir" && ac_dir=.
42110 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42111 acl_cv_path_LD="$ac_dir/$ac_prog"
42112 # Check to see if the program is GNU ld. I'd rather use --version,
42113 # but apparently some GNU ld's only accept -v.
42114 # Break only if it was the GNU/non-GNU ld that we prefer.
42115 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42116 test "$with_gnu_ld" != no && break
42117 else
42118 test "$with_gnu_ld" != yes && break
42121 done
42122 IFS="$ac_save_ifs"
42123 else
42124 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42128 LD="$acl_cv_path_LD"
42129 if test -n "$LD"; then
42130 echo "$as_me:$LINENO: result: $LD" >&5
42131 echo "${ECHO_T}$LD" >&6
42132 else
42133 echo "$as_me:$LINENO: result: no" >&5
42134 echo "${ECHO_T}no" >&6
42136 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42137 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42138 { (exit 1); exit 1; }; }
42139 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42140 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42141 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42142 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 else
42144 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42145 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42146 acl_cv_prog_gnu_ld=yes
42147 else
42148 acl_cv_prog_gnu_ld=no
42151 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42152 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42153 with_gnu_ld=$acl_cv_prog_gnu_ld
42157 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42158 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42159 if test "${acl_cv_rpath+set}" = set; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42163 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42164 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42165 . ./conftest.sh
42166 rm -f ./conftest.sh
42167 acl_cv_rpath=done
42170 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42171 echo "${ECHO_T}$acl_cv_rpath" >&6
42172 wl="$acl_cv_wl"
42173 libext="$acl_cv_libext"
42174 shlibext="$acl_cv_shlibext"
42175 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42176 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42177 hardcode_direct="$acl_cv_hardcode_direct"
42178 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42179 # Check whether --enable-rpath or --disable-rpath was given.
42180 if test "${enable_rpath+set}" = set; then
42181 enableval="$enable_rpath"
42183 else
42184 enable_rpath=yes
42193 use_additional=yes
42195 acl_save_prefix="$prefix"
42196 prefix="$acl_final_prefix"
42197 acl_save_exec_prefix="$exec_prefix"
42198 exec_prefix="$acl_final_exec_prefix"
42200 eval additional_includedir=\"$includedir\"
42201 eval additional_libdir=\"$libdir\"
42203 exec_prefix="$acl_save_exec_prefix"
42204 prefix="$acl_save_prefix"
42207 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42208 if test "${with_libiconv_prefix+set}" = set; then
42209 withval="$with_libiconv_prefix"
42211 if test "X$withval" = "Xno"; then
42212 use_additional=no
42213 else
42214 if test "X$withval" = "X"; then
42216 acl_save_prefix="$prefix"
42217 prefix="$acl_final_prefix"
42218 acl_save_exec_prefix="$exec_prefix"
42219 exec_prefix="$acl_final_exec_prefix"
42221 eval additional_includedir=\"$includedir\"
42222 eval additional_libdir=\"$libdir\"
42224 exec_prefix="$acl_save_exec_prefix"
42225 prefix="$acl_save_prefix"
42227 else
42228 additional_includedir="$withval/include"
42229 additional_libdir="$withval/lib"
42234 LIBICONV=
42235 LTLIBICONV=
42236 INCICONV=
42237 rpathdirs=
42238 ltrpathdirs=
42239 names_already_handled=
42240 names_next_round='iconv '
42241 while test -n "$names_next_round"; do
42242 names_this_round="$names_next_round"
42243 names_next_round=
42244 for name in $names_this_round; do
42245 already_handled=
42246 for n in $names_already_handled; do
42247 if test "$n" = "$name"; then
42248 already_handled=yes
42249 break
42251 done
42252 if test -z "$already_handled"; then
42253 names_already_handled="$names_already_handled $name"
42254 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42255 eval value=\"\$HAVE_LIB$uppername\"
42256 if test -n "$value"; then
42257 if test "$value" = yes; then
42258 eval value=\"\$LIB$uppername\"
42259 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42260 eval value=\"\$LTLIB$uppername\"
42261 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42262 else
42265 else
42266 found_dir=
42267 found_la=
42268 found_so=
42269 found_a=
42270 if test $use_additional = yes; then
42271 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42272 found_dir="$additional_libdir"
42273 found_so="$additional_libdir/lib$name.$shlibext"
42274 if test -f "$additional_libdir/lib$name.la"; then
42275 found_la="$additional_libdir/lib$name.la"
42277 else
42278 if test -f "$additional_libdir/lib$name.$libext"; then
42279 found_dir="$additional_libdir"
42280 found_a="$additional_libdir/lib$name.$libext"
42281 if test -f "$additional_libdir/lib$name.la"; then
42282 found_la="$additional_libdir/lib$name.la"
42287 if test "X$found_dir" = "X"; then
42288 for x in $LDFLAGS $LTLIBICONV; do
42290 acl_save_prefix="$prefix"
42291 prefix="$acl_final_prefix"
42292 acl_save_exec_prefix="$exec_prefix"
42293 exec_prefix="$acl_final_exec_prefix"
42294 eval x=\"$x\"
42295 exec_prefix="$acl_save_exec_prefix"
42296 prefix="$acl_save_prefix"
42298 case "$x" in
42299 -L*)
42300 dir=`echo "X$x" | sed -e 's/^X-L//'`
42301 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42302 found_dir="$dir"
42303 found_so="$dir/lib$name.$shlibext"
42304 if test -f "$dir/lib$name.la"; then
42305 found_la="$dir/lib$name.la"
42307 else
42308 if test -f "$dir/lib$name.$libext"; then
42309 found_dir="$dir"
42310 found_a="$dir/lib$name.$libext"
42311 if test -f "$dir/lib$name.la"; then
42312 found_la="$dir/lib$name.la"
42317 esac
42318 if test "X$found_dir" != "X"; then
42319 break
42321 done
42323 if test "X$found_dir" != "X"; then
42324 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42325 if test "X$found_so" != "X"; then
42326 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42327 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42328 else
42329 haveit=
42330 for x in $ltrpathdirs; do
42331 if test "X$x" = "X$found_dir"; then
42332 haveit=yes
42333 break
42335 done
42336 if test -z "$haveit"; then
42337 ltrpathdirs="$ltrpathdirs $found_dir"
42339 if test "$hardcode_direct" = yes; then
42340 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42341 else
42342 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42343 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42344 haveit=
42345 for x in $rpathdirs; do
42346 if test "X$x" = "X$found_dir"; then
42347 haveit=yes
42348 break
42350 done
42351 if test -z "$haveit"; then
42352 rpathdirs="$rpathdirs $found_dir"
42354 else
42355 haveit=
42356 for x in $LDFLAGS $LIBICONV; do
42358 acl_save_prefix="$prefix"
42359 prefix="$acl_final_prefix"
42360 acl_save_exec_prefix="$exec_prefix"
42361 exec_prefix="$acl_final_exec_prefix"
42362 eval x=\"$x\"
42363 exec_prefix="$acl_save_exec_prefix"
42364 prefix="$acl_save_prefix"
42366 if test "X$x" = "X-L$found_dir"; then
42367 haveit=yes
42368 break
42370 done
42371 if test -z "$haveit"; then
42372 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42374 if test "$hardcode_minus_L" != no; then
42375 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42376 else
42377 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42382 else
42383 if test "X$found_a" != "X"; then
42384 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42385 else
42386 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42389 additional_includedir=
42390 case "$found_dir" in
42391 */lib | */lib/)
42392 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42393 additional_includedir="$basedir/include"
42395 esac
42396 if test "X$additional_includedir" != "X"; then
42397 if test "X$additional_includedir" != "X/usr/include"; then
42398 haveit=
42399 if test "X$additional_includedir" = "X/usr/local/include"; then
42400 if test -n "$GCC"; then
42401 case $host_os in
42402 linux*) haveit=yes;;
42403 esac
42406 if test -z "$haveit"; then
42407 for x in $CPPFLAGS $INCICONV; do
42409 acl_save_prefix="$prefix"
42410 prefix="$acl_final_prefix"
42411 acl_save_exec_prefix="$exec_prefix"
42412 exec_prefix="$acl_final_exec_prefix"
42413 eval x=\"$x\"
42414 exec_prefix="$acl_save_exec_prefix"
42415 prefix="$acl_save_prefix"
42417 if test "X$x" = "X-I$additional_includedir"; then
42418 haveit=yes
42419 break
42421 done
42422 if test -z "$haveit"; then
42423 if test -d "$additional_includedir"; then
42424 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42430 if test -n "$found_la"; then
42431 save_libdir="$libdir"
42432 case "$found_la" in
42433 */* | *\\*) . "$found_la" ;;
42434 *) . "./$found_la" ;;
42435 esac
42436 libdir="$save_libdir"
42437 for dep in $dependency_libs; do
42438 case "$dep" in
42439 -L*)
42440 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42441 if test "X$additional_libdir" != "X/usr/lib"; then
42442 haveit=
42443 if test "X$additional_libdir" = "X/usr/local/lib"; then
42444 if test -n "$GCC"; then
42445 case $host_os in
42446 linux*) haveit=yes;;
42447 esac
42450 if test -z "$haveit"; then
42451 haveit=
42452 for x in $LDFLAGS $LIBICONV; do
42454 acl_save_prefix="$prefix"
42455 prefix="$acl_final_prefix"
42456 acl_save_exec_prefix="$exec_prefix"
42457 exec_prefix="$acl_final_exec_prefix"
42458 eval x=\"$x\"
42459 exec_prefix="$acl_save_exec_prefix"
42460 prefix="$acl_save_prefix"
42462 if test "X$x" = "X-L$additional_libdir"; then
42463 haveit=yes
42464 break
42466 done
42467 if test -z "$haveit"; then
42468 if test -d "$additional_libdir"; then
42469 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42472 haveit=
42473 for x in $LDFLAGS $LTLIBICONV; do
42475 acl_save_prefix="$prefix"
42476 prefix="$acl_final_prefix"
42477 acl_save_exec_prefix="$exec_prefix"
42478 exec_prefix="$acl_final_exec_prefix"
42479 eval x=\"$x\"
42480 exec_prefix="$acl_save_exec_prefix"
42481 prefix="$acl_save_prefix"
42483 if test "X$x" = "X-L$additional_libdir"; then
42484 haveit=yes
42485 break
42487 done
42488 if test -z "$haveit"; then
42489 if test -d "$additional_libdir"; then
42490 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42496 -R*)
42497 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42498 if test "$enable_rpath" != no; then
42499 haveit=
42500 for x in $rpathdirs; do
42501 if test "X$x" = "X$dir"; then
42502 haveit=yes
42503 break
42505 done
42506 if test -z "$haveit"; then
42507 rpathdirs="$rpathdirs $dir"
42509 haveit=
42510 for x in $ltrpathdirs; do
42511 if test "X$x" = "X$dir"; then
42512 haveit=yes
42513 break
42515 done
42516 if test -z "$haveit"; then
42517 ltrpathdirs="$ltrpathdirs $dir"
42521 -l*)
42522 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42524 *.la)
42525 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42528 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42529 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42531 esac
42532 done
42534 else
42535 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42536 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42540 done
42541 done
42542 if test "X$rpathdirs" != "X"; then
42543 if test -n "$hardcode_libdir_separator"; then
42544 alldirs=
42545 for found_dir in $rpathdirs; do
42546 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42547 done
42548 acl_save_libdir="$libdir"
42549 libdir="$alldirs"
42550 eval flag=\"$hardcode_libdir_flag_spec\"
42551 libdir="$acl_save_libdir"
42552 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42553 else
42554 for found_dir in $rpathdirs; do
42555 acl_save_libdir="$libdir"
42556 libdir="$found_dir"
42557 eval flag=\"$hardcode_libdir_flag_spec\"
42558 libdir="$acl_save_libdir"
42559 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42560 done
42563 if test "X$ltrpathdirs" != "X"; then
42564 for found_dir in $ltrpathdirs; do
42565 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42566 done
42575 am_save_CPPFLAGS="$CPPFLAGS"
42577 for element in $INCICONV; do
42578 haveit=
42579 for x in $CPPFLAGS; do
42581 acl_save_prefix="$prefix"
42582 prefix="$acl_final_prefix"
42583 acl_save_exec_prefix="$exec_prefix"
42584 exec_prefix="$acl_final_exec_prefix"
42585 eval x=\"$x\"
42586 exec_prefix="$acl_save_exec_prefix"
42587 prefix="$acl_save_prefix"
42589 if test "X$x" = "X$element"; then
42590 haveit=yes
42591 break
42593 done
42594 if test -z "$haveit"; then
42595 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42597 done
42600 echo "$as_me:$LINENO: checking for iconv" >&5
42601 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42602 if test "${am_cv_func_iconv+set}" = set; then
42603 echo $ECHO_N "(cached) $ECHO_C" >&6
42604 else
42606 am_cv_func_iconv="no, consider installing GNU libiconv"
42607 am_cv_lib_iconv=no
42608 if test x$gcc_no_link = xyes; then
42609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42611 { (exit 1); exit 1; }; }
42613 cat >conftest.$ac_ext <<_ACEOF
42614 /* confdefs.h. */
42615 _ACEOF
42616 cat confdefs.h >>conftest.$ac_ext
42617 cat >>conftest.$ac_ext <<_ACEOF
42618 /* end confdefs.h. */
42619 #include <stdlib.h>
42620 #include <iconv.h>
42622 main ()
42624 iconv_t cd = iconv_open("","");
42625 iconv(cd,NULL,NULL,NULL,NULL);
42626 iconv_close(cd);
42628 return 0;
42630 _ACEOF
42631 rm -f conftest.$ac_objext conftest$ac_exeext
42632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42633 (eval $ac_link) 2>conftest.er1
42634 ac_status=$?
42635 grep -v '^ *+' conftest.er1 >conftest.err
42636 rm -f conftest.er1
42637 cat conftest.err >&5
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); } &&
42640 { ac_try='test -z "$ac_c_werror_flag"
42641 || test ! -s conftest.err'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42644 ac_status=$?
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; } &&
42647 { ac_try='test -s conftest$ac_exeext'
42648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42649 (eval $ac_try) 2>&5
42650 ac_status=$?
42651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42652 (exit $ac_status); }; }; then
42653 am_cv_func_iconv=yes
42654 else
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42659 rm -f conftest.err conftest.$ac_objext \
42660 conftest$ac_exeext conftest.$ac_ext
42661 if test "$am_cv_func_iconv" != yes; then
42662 am_save_LIBS="$LIBS"
42663 LIBS="$LIBS $LIBICONV"
42664 if test x$gcc_no_link = xyes; then
42665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42667 { (exit 1); exit 1; }; }
42669 cat >conftest.$ac_ext <<_ACEOF
42670 /* confdefs.h. */
42671 _ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675 #include <stdlib.h>
42676 #include <iconv.h>
42678 main ()
42680 iconv_t cd = iconv_open("","");
42681 iconv(cd,NULL,NULL,NULL,NULL);
42682 iconv_close(cd);
42684 return 0;
42686 _ACEOF
42687 rm -f conftest.$ac_objext conftest$ac_exeext
42688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42689 (eval $ac_link) 2>conftest.er1
42690 ac_status=$?
42691 grep -v '^ *+' conftest.er1 >conftest.err
42692 rm -f conftest.er1
42693 cat conftest.err >&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); } &&
42696 { ac_try='test -z "$ac_c_werror_flag"
42697 || test ! -s conftest.err'
42698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42699 (eval $ac_try) 2>&5
42700 ac_status=$?
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); }; } &&
42703 { ac_try='test -s conftest$ac_exeext'
42704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42705 (eval $ac_try) 2>&5
42706 ac_status=$?
42707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42708 (exit $ac_status); }; }; then
42709 am_cv_lib_iconv=yes
42710 am_cv_func_iconv=yes
42711 else
42712 echo "$as_me: failed program was:" >&5
42713 sed 's/^/| /' conftest.$ac_ext >&5
42716 rm -f conftest.err conftest.$ac_objext \
42717 conftest$ac_exeext conftest.$ac_ext
42718 LIBS="$am_save_LIBS"
42722 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42723 echo "${ECHO_T}$am_cv_func_iconv" >&6
42724 if test "$am_cv_func_iconv" = yes; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define HAVE_ICONV 1
42728 _ACEOF
42731 if test "$am_cv_lib_iconv" = yes; then
42732 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42733 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42734 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42735 echo "${ECHO_T}$LIBICONV" >&6
42736 else
42737 CPPFLAGS="$am_save_CPPFLAGS"
42738 LIBICONV=
42739 LTLIBICONV=
42744 if test "$am_cv_func_iconv" = yes; then
42745 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42746 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42747 if test "${am_cv_proto_iconv+set}" = set; then
42748 echo $ECHO_N "(cached) $ECHO_C" >&6
42749 else
42751 cat >conftest.$ac_ext <<_ACEOF
42752 /* confdefs.h. */
42753 _ACEOF
42754 cat confdefs.h >>conftest.$ac_ext
42755 cat >>conftest.$ac_ext <<_ACEOF
42756 /* end confdefs.h. */
42758 #include <stdlib.h>
42759 #include <iconv.h>
42760 extern
42761 #ifdef __cplusplus
42763 #endif
42764 #if defined(__STDC__) || defined(__cplusplus)
42765 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42766 #else
42767 size_t iconv();
42768 #endif
42771 main ()
42775 return 0;
42777 _ACEOF
42778 rm -f conftest.$ac_objext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42780 (eval $ac_compile) 2>conftest.er1
42781 ac_status=$?
42782 grep -v '^ *+' conftest.er1 >conftest.err
42783 rm -f conftest.er1
42784 cat conftest.err >&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); } &&
42787 { ac_try='test -z "$ac_c_werror_flag"
42788 || test ! -s conftest.err'
42789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42790 (eval $ac_try) 2>&5
42791 ac_status=$?
42792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793 (exit $ac_status); }; } &&
42794 { ac_try='test -s conftest.$ac_objext'
42795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796 (eval $ac_try) 2>&5
42797 ac_status=$?
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; }; then
42800 am_cv_proto_iconv_arg1=""
42801 else
42802 echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.$ac_ext >&5
42805 am_cv_proto_iconv_arg1="const"
42807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42808 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);"
42811 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42812 echo "$as_me:$LINENO: result: ${ac_t:-
42813 }$am_cv_proto_iconv" >&5
42814 echo "${ECHO_T}${ac_t:-
42815 }$am_cv_proto_iconv" >&6
42817 cat >>confdefs.h <<_ACEOF
42818 #define ICONV_CONST $am_cv_proto_iconv_arg1
42819 _ACEOF
42824 else
42826 # This lets us hard-code the functionality we know we'll have in the cross
42827 # target environment. "Let" is a sugar-coated word placed on an especially
42828 # dull and tedious hack, actually.
42830 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42831 # that involve linking, can't be used:
42832 # "cannot open sim-crt0.o"
42833 # "cannot open crt0.o"
42834 # etc. All this is because there currently exists no unified, consistent
42835 # way for top level CC information to be passed down to target directories:
42836 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42837 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42838 # crosses can be removed.
42840 # If Canadian cross, then don't pick up tools from the build directory.
42841 # Used only in GLIBCXX_EXPORT_INCLUDES.
42842 if test -n "$with_cross_host" &&
42843 test x"$build_alias" != x"$with_cross_host" &&
42844 test x"$build" != x"$target";
42845 then
42846 CANADIAN=yes
42847 else
42848 CANADIAN=no
42851 # Construct crosses by hand, eliminating bits that need ld...
42852 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42853 # GLIBCXX_CHECK_MATH_SUPPORT
42855 # First, test for "known" system libraries. We may be using newlib even
42856 # on a hosted environment.
42857 if test "x${with_newlib}" = "xyes"; then
42858 os_include_dir="os/newlib"
42859 cat >>confdefs.h <<\_ACEOF
42860 #define HAVE_HYPOT 1
42861 _ACEOF
42864 # GLIBCXX_CHECK_STDLIB_SUPPORT
42865 cat >>confdefs.h <<\_ACEOF
42866 #define HAVE_STRTOF 1
42867 _ACEOF
42869 # AC_FUNC_MMAP
42870 cat >>confdefs.h <<\_ACEOF
42871 #define HAVE_MMAP 1
42872 _ACEOF
42875 cat >>confdefs.h <<\_ACEOF
42876 #define HAVE_ACOSF 1
42877 _ACEOF
42879 cat >>confdefs.h <<\_ACEOF
42880 #define HAVE_ASINF 1
42881 _ACEOF
42883 cat >>confdefs.h <<\_ACEOF
42884 #define HAVE_ATAN2F 1
42885 _ACEOF
42887 cat >>confdefs.h <<\_ACEOF
42888 #define HAVE_ATANF 1
42889 _ACEOF
42891 cat >>confdefs.h <<\_ACEOF
42892 #define HAVE_CEILF 1
42893 _ACEOF
42895 cat >>confdefs.h <<\_ACEOF
42896 #define HAVE_COPYSIGN 1
42897 _ACEOF
42899 cat >>confdefs.h <<\_ACEOF
42900 #define HAVE_COPYSIGNF 1
42901 _ACEOF
42903 cat >>confdefs.h <<\_ACEOF
42904 #define HAVE_COSF 1
42905 _ACEOF
42907 cat >>confdefs.h <<\_ACEOF
42908 #define HAVE_COSHF 1
42909 _ACEOF
42911 cat >>confdefs.h <<\_ACEOF
42912 #define HAVE_EXPF 1
42913 _ACEOF
42915 cat >>confdefs.h <<\_ACEOF
42916 #define HAVE_FABSF 1
42917 _ACEOF
42919 cat >>confdefs.h <<\_ACEOF
42920 #define HAVE_FLOORF 1
42921 _ACEOF
42923 cat >>confdefs.h <<\_ACEOF
42924 #define HAVE_FMODF 1
42925 _ACEOF
42927 cat >>confdefs.h <<\_ACEOF
42928 #define HAVE_FREXPF 1
42929 _ACEOF
42931 cat >>confdefs.h <<\_ACEOF
42932 #define HAVE_LDEXPF 1
42933 _ACEOF
42935 cat >>confdefs.h <<\_ACEOF
42936 #define HAVE_LOG10F 1
42937 _ACEOF
42939 cat >>confdefs.h <<\_ACEOF
42940 #define HAVE_LOGF 1
42941 _ACEOF
42943 cat >>confdefs.h <<\_ACEOF
42944 #define HAVE_MODFF 1
42945 _ACEOF
42947 cat >>confdefs.h <<\_ACEOF
42948 #define HAVE_POWF 1
42949 _ACEOF
42951 cat >>confdefs.h <<\_ACEOF
42952 #define HAVE_SINF 1
42953 _ACEOF
42955 cat >>confdefs.h <<\_ACEOF
42956 #define HAVE_SINHF 1
42957 _ACEOF
42959 cat >>confdefs.h <<\_ACEOF
42960 #define HAVE_SQRTF 1
42961 _ACEOF
42963 cat >>confdefs.h <<\_ACEOF
42964 #define HAVE_TANF 1
42965 _ACEOF
42967 cat >>confdefs.h <<\_ACEOF
42968 #define HAVE_TANHF 1
42969 _ACEOF
42972 cat >>confdefs.h <<\_ACEOF
42973 #define HAVE_S_ISREG 1
42974 _ACEOF
42976 cat >>confdefs.h <<\_ACEOF
42977 #define HAVE_S_IFREG 1
42978 _ACEOF
42981 cat >>confdefs.h <<\_ACEOF
42982 #define HAVE_ICONV 1
42983 _ACEOF
42985 else
42987 # Base decisions on target environment.
42988 case "${host}" in
42989 arm*-*-symbianelf*)
42990 # This is a freestanding configuration; there is nothing to do here.
42993 mips*-sde-elf*)
42994 # These definitions are for the SDE C library rather than newlib.
43010 for ac_header in float.h inttypes.h locale.h \
43011 stdint.h stdlib.h string.h unistd.h wchar.h \
43012 machine/endian.h sys/ioctl.h sys/resource.h \
43013 sys/stat.h sys/time.h sys/types.h sys/uio.h
43015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43017 echo "$as_me:$LINENO: checking for $ac_header" >&5
43018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43020 echo $ECHO_N "(cached) $ECHO_C" >&6
43022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43024 else
43025 # Is the header compilable?
43026 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43028 cat >conftest.$ac_ext <<_ACEOF
43029 /* confdefs.h. */
43030 _ACEOF
43031 cat confdefs.h >>conftest.$ac_ext
43032 cat >>conftest.$ac_ext <<_ACEOF
43033 /* end confdefs.h. */
43034 $ac_includes_default
43035 #include <$ac_header>
43036 _ACEOF
43037 rm -f conftest.$ac_objext
43038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43039 (eval $ac_compile) 2>conftest.er1
43040 ac_status=$?
43041 grep -v '^ *+' conftest.er1 >conftest.err
43042 rm -f conftest.er1
43043 cat conftest.err >&5
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); } &&
43046 { ac_try='test -z "$ac_c_werror_flag"
43047 || test ! -s conftest.err'
43048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43049 (eval $ac_try) 2>&5
43050 ac_status=$?
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); }; } &&
43053 { ac_try='test -s conftest.$ac_objext'
43054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055 (eval $ac_try) 2>&5
43056 ac_status=$?
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; }; then
43059 ac_header_compiler=yes
43060 else
43061 echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.$ac_ext >&5
43064 ac_header_compiler=no
43066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43068 echo "${ECHO_T}$ac_header_compiler" >&6
43070 # Is the header present?
43071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43073 cat >conftest.$ac_ext <<_ACEOF
43074 /* confdefs.h. */
43075 _ACEOF
43076 cat confdefs.h >>conftest.$ac_ext
43077 cat >>conftest.$ac_ext <<_ACEOF
43078 /* end confdefs.h. */
43079 #include <$ac_header>
43080 _ACEOF
43081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43083 ac_status=$?
43084 grep -v '^ *+' conftest.er1 >conftest.err
43085 rm -f conftest.er1
43086 cat conftest.err >&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); } >/dev/null; then
43089 if test -s conftest.err; then
43090 ac_cpp_err=$ac_c_preproc_warn_flag
43091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43092 else
43093 ac_cpp_err=
43095 else
43096 ac_cpp_err=yes
43098 if test -z "$ac_cpp_err"; then
43099 ac_header_preproc=yes
43100 else
43101 echo "$as_me: failed program was:" >&5
43102 sed 's/^/| /' conftest.$ac_ext >&5
43104 ac_header_preproc=no
43106 rm -f conftest.err conftest.$ac_ext
43107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43108 echo "${ECHO_T}$ac_header_preproc" >&6
43110 # So? What about this header?
43111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43112 yes:no: )
43113 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43117 ac_header_preproc=yes
43119 no:yes:* )
43120 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43122 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43123 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43124 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43126 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43127 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43130 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43133 cat <<\_ASBOX
43134 ## ----------------------------------------- ##
43135 ## Report this to the package-unused lists. ##
43136 ## ----------------------------------------- ##
43137 _ASBOX
43139 sed "s/^/$as_me: WARNING: /" >&2
43141 esac
43142 echo "$as_me:$LINENO: checking for $ac_header" >&5
43143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43145 echo $ECHO_N "(cached) $ECHO_C" >&6
43146 else
43147 eval "$as_ac_Header=\$ac_header_preproc"
43149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43154 cat >>confdefs.h <<_ACEOF
43155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43156 _ACEOF
43160 done
43162 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43165 # All these tests are for C++; save the language and the compiler flags.
43166 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43167 # found in GLIBCXX_CONFIGURE.
43170 ac_ext=cc
43171 ac_cpp='$CXXCPP $CPPFLAGS'
43172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43176 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43177 ac_save_CXXFLAGS="$CXXFLAGS"
43179 # Check for maintainer-mode bits.
43180 if test x"$USE_MAINTAINER_MODE" = xno; then
43181 WERROR=''
43182 else
43183 WERROR='-Werror'
43186 # Check for -ffunction-sections -fdata-sections
43187 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43188 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43189 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43190 cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h. */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h. */
43196 int foo; void bar() { };
43198 main ()
43202 return 0;
43204 _ACEOF
43205 rm -f conftest.$ac_objext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43207 (eval $ac_compile) 2>conftest.er1
43208 ac_status=$?
43209 grep -v '^ *+' conftest.er1 >conftest.err
43210 rm -f conftest.er1
43211 cat conftest.err >&5
43212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213 (exit $ac_status); } &&
43214 { ac_try='test -z "$ac_cxx_werror_flag"
43215 || test ! -s conftest.err'
43216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43217 (eval $ac_try) 2>&5
43218 ac_status=$?
43219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220 (exit $ac_status); }; } &&
43221 { ac_try='test -s conftest.$ac_objext'
43222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43223 (eval $ac_try) 2>&5
43224 ac_status=$?
43225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43226 (exit $ac_status); }; }; then
43227 ac_fdsections=yes
43228 else
43229 echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.$ac_ext >&5
43232 ac_fdsections=no
43234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43235 if test "$ac_test_CXXFLAGS" = set; then
43236 CXXFLAGS="$ac_save_CXXFLAGS"
43237 else
43238 # this is the suspicious part
43239 CXXFLAGS=''
43241 if test x"$ac_fdsections" = x"yes"; then
43242 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43244 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43245 echo "${ECHO_T}$ac_fdsections" >&6
43247 ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43257 # If we're not using GNU ld, then there's no point in even trying these
43258 # tests. Check for that first. We should have already tested for gld
43259 # by now (in libtool), but require it now just to be safe...
43260 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43261 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43265 # The name set by libtool depends on the version of libtool. Shame on us
43266 # for depending on an impl detail, but c'est la vie. Older versions used
43267 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43268 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43269 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43270 # set (hence we're using an older libtool), then set it.
43271 if test x${with_gnu_ld+set} != xset; then
43272 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43273 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43274 with_gnu_ld=no
43275 else
43276 with_gnu_ld=$ac_cv_prog_gnu_ld
43280 # Start by getting the version number. I think the libtool test already
43281 # does some of this, but throws away the result.
43282 glibcxx_ld_is_gold=no
43283 if test x"$with_gnu_ld" = x"yes"; then
43284 echo "$as_me:$LINENO: checking for ld version" >&5
43285 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43287 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43288 glibcxx_ld_is_gold=yes
43290 ldver=`$LD --version 2>/dev/null | head -1 | \
43291 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43293 glibcxx_gnu_ld_version=`echo $ldver | \
43294 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43295 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43296 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43299 # Set --gc-sections.
43300 glibcxx_have_gc_sections=no
43301 if test "$glibcxx_ld_is_gold" = "yes"; then
43302 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43303 glibcxx_have_gc_sections=yes
43305 else
43306 glibcxx_gcsections_min_ld=21602
43307 if test x"$with_gnu_ld" = x"yes" &&
43308 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43309 glibcxx_have_gc_sections=yes
43312 if test "$glibcxx_have_gc_sections" = "yes"; then
43313 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43314 # NB: This flag only works reliably after 2.16.1. Configure tests
43315 # for this are difficult, so hard wire a value that should work.
43317 ac_test_CFLAGS="${CFLAGS+set}"
43318 ac_save_CFLAGS="$CFLAGS"
43319 CFLAGS='-Wl,--gc-sections'
43321 # Check for -Wl,--gc-sections
43322 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43323 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43324 if test x$gcc_no_link = xyes; then
43325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43327 { (exit 1); exit 1; }; }
43329 cat >conftest.$ac_ext <<_ACEOF
43330 /* confdefs.h. */
43331 _ACEOF
43332 cat confdefs.h >>conftest.$ac_ext
43333 cat >>conftest.$ac_ext <<_ACEOF
43334 /* end confdefs.h. */
43335 int one(void) { return 1; }
43336 int two(void) { return 2; }
43339 main ()
43341 two();
43343 return 0;
43345 _ACEOF
43346 rm -f conftest.$ac_objext conftest$ac_exeext
43347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43348 (eval $ac_link) 2>conftest.er1
43349 ac_status=$?
43350 grep -v '^ *+' conftest.er1 >conftest.err
43351 rm -f conftest.er1
43352 cat conftest.err >&5
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); } &&
43355 { ac_try='test -z "$ac_c_werror_flag"
43356 || test ! -s conftest.err'
43357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43358 (eval $ac_try) 2>&5
43359 ac_status=$?
43360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43361 (exit $ac_status); }; } &&
43362 { ac_try='test -s conftest$ac_exeext'
43363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43364 (eval $ac_try) 2>&5
43365 ac_status=$?
43366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367 (exit $ac_status); }; }; then
43368 ac_gcsections=yes
43369 else
43370 echo "$as_me: failed program was:" >&5
43371 sed 's/^/| /' conftest.$ac_ext >&5
43373 ac_gcsections=no
43375 rm -f conftest.err conftest.$ac_objext \
43376 conftest$ac_exeext conftest.$ac_ext
43377 if test "$ac_gcsections" = "yes"; then
43378 rm -f conftest.c
43379 touch conftest.c
43380 if $CC -c conftest.c; then
43381 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43382 grep "Warning: gc-sections option ignored" > /dev/null; then
43383 ac_gcsections=no
43386 rm -f conftest.c conftest.o conftest
43388 if test "$ac_gcsections" = "yes"; then
43389 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43391 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43392 echo "${ECHO_T}$ac_gcsections" >&6
43394 if test "$ac_test_CFLAGS" = set; then
43395 CFLAGS="$ac_save_CFLAGS"
43396 else
43397 # this is the suspicious part
43398 CFLAGS=''
43402 # Set -z,relro.
43403 # Note this is only for shared objects.
43404 ac_ld_relro=no
43405 if test x"$with_gnu_ld" = x"yes"; then
43406 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43407 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43408 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43409 if test -n "$cxx_z_relo"; then
43410 OPT_LDFLAGS="-Wl,-z,relro"
43411 ac_ld_relro=yes
43413 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43414 echo "${ECHO_T}$ac_ld_relro" >&6
43417 # Set linker optimization flags.
43418 if test x"$with_gnu_ld" = x"yes"; then
43419 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43426 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43427 ac_save_CXXFLAGS="$CXXFLAGS"
43428 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43430 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43431 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43432 if test "${ac_cv_lib_m_sin+set}" = set; then
43433 echo $ECHO_N "(cached) $ECHO_C" >&6
43434 else
43435 ac_check_lib_save_LIBS=$LIBS
43436 LIBS="-lm $LIBS"
43437 if test x$gcc_no_link = xyes; then
43438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43440 { (exit 1); exit 1; }; }
43442 cat >conftest.$ac_ext <<_ACEOF
43443 /* confdefs.h. */
43444 _ACEOF
43445 cat confdefs.h >>conftest.$ac_ext
43446 cat >>conftest.$ac_ext <<_ACEOF
43447 /* end confdefs.h. */
43449 /* Override any gcc2 internal prototype to avoid an error. */
43450 #ifdef __cplusplus
43451 extern "C"
43452 #endif
43453 /* We use char because int might match the return type of a gcc2
43454 builtin and then its argument prototype would still apply. */
43455 char sin ();
43457 main ()
43459 sin ();
43461 return 0;
43463 _ACEOF
43464 rm -f conftest.$ac_objext conftest$ac_exeext
43465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43466 (eval $ac_link) 2>conftest.er1
43467 ac_status=$?
43468 grep -v '^ *+' conftest.er1 >conftest.err
43469 rm -f conftest.er1
43470 cat conftest.err >&5
43471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43472 (exit $ac_status); } &&
43473 { ac_try='test -z "$ac_c_werror_flag"
43474 || test ! -s conftest.err'
43475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43476 (eval $ac_try) 2>&5
43477 ac_status=$?
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); }; } &&
43480 { ac_try='test -s conftest$ac_exeext'
43481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43482 (eval $ac_try) 2>&5
43483 ac_status=$?
43484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485 (exit $ac_status); }; }; then
43486 ac_cv_lib_m_sin=yes
43487 else
43488 echo "$as_me: failed program was:" >&5
43489 sed 's/^/| /' conftest.$ac_ext >&5
43491 ac_cv_lib_m_sin=no
43493 rm -f conftest.err conftest.$ac_objext \
43494 conftest$ac_exeext conftest.$ac_ext
43495 LIBS=$ac_check_lib_save_LIBS
43497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43498 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43499 if test $ac_cv_lib_m_sin = yes; then
43500 libm="-lm"
43503 ac_save_LIBS="$LIBS"
43504 LIBS="$LIBS $libm"
43508 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43509 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43510 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43511 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43512 echo $ECHO_N "(cached) $ECHO_C" >&6
43513 else
43517 ac_ext=cc
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43523 cat >conftest.$ac_ext <<_ACEOF
43524 /* confdefs.h. */
43525 _ACEOF
43526 cat confdefs.h >>conftest.$ac_ext
43527 cat >>conftest.$ac_ext <<_ACEOF
43528 /* end confdefs.h. */
43529 #include <math.h>
43530 #ifdef HAVE_IEEEFP_H
43531 #include <ieeefp.h>
43532 #endif
43535 main ()
43537 isinf(0);
43539 return 0;
43541 _ACEOF
43542 rm -f conftest.$ac_objext
43543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43544 (eval $ac_compile) 2>conftest.er1
43545 ac_status=$?
43546 grep -v '^ *+' conftest.er1 >conftest.err
43547 rm -f conftest.er1
43548 cat conftest.err >&5
43549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550 (exit $ac_status); } &&
43551 { ac_try='test -z "$ac_cxx_werror_flag"
43552 || test ! -s conftest.err'
43553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43554 (eval $ac_try) 2>&5
43555 ac_status=$?
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); }; } &&
43558 { ac_try='test -s conftest.$ac_objext'
43559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43560 (eval $ac_try) 2>&5
43561 ac_status=$?
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); }; }; then
43564 glibcxx_cv_func_isinf_use=yes
43565 else
43566 echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.$ac_ext >&5
43569 glibcxx_cv_func_isinf_use=no
43571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43572 ac_ext=c
43573 ac_cpp='$CPP $CPPFLAGS'
43574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43583 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43585 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43587 for ac_func in isinf
43589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43590 echo "$as_me:$LINENO: checking for $ac_func" >&5
43591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43592 if eval "test \"\${$as_ac_var+set}\" = set"; then
43593 echo $ECHO_N "(cached) $ECHO_C" >&6
43594 else
43595 if test x$gcc_no_link = xyes; then
43596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43598 { (exit 1); exit 1; }; }
43600 cat >conftest.$ac_ext <<_ACEOF
43601 /* confdefs.h. */
43602 _ACEOF
43603 cat confdefs.h >>conftest.$ac_ext
43604 cat >>conftest.$ac_ext <<_ACEOF
43605 /* end confdefs.h. */
43606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43608 #define $ac_func innocuous_$ac_func
43610 /* System header to define __stub macros and hopefully few prototypes,
43611 which can conflict with char $ac_func (); below.
43612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43613 <limits.h> exists even on freestanding compilers. */
43615 #ifdef __STDC__
43616 # include <limits.h>
43617 #else
43618 # include <assert.h>
43619 #endif
43621 #undef $ac_func
43623 /* Override any gcc2 internal prototype to avoid an error. */
43624 #ifdef __cplusplus
43625 extern "C"
43627 #endif
43628 /* We use char because int might match the return type of a gcc2
43629 builtin and then its argument prototype would still apply. */
43630 char $ac_func ();
43631 /* The GNU C library defines this for functions which it implements
43632 to always fail with ENOSYS. Some functions are actually named
43633 something starting with __ and the normal name is an alias. */
43634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43635 choke me
43636 #else
43637 char (*f) () = $ac_func;
43638 #endif
43639 #ifdef __cplusplus
43641 #endif
43644 main ()
43646 return f != $ac_func;
43648 return 0;
43650 _ACEOF
43651 rm -f conftest.$ac_objext conftest$ac_exeext
43652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43653 (eval $ac_link) 2>conftest.er1
43654 ac_status=$?
43655 grep -v '^ *+' conftest.er1 >conftest.err
43656 rm -f conftest.er1
43657 cat conftest.err >&5
43658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659 (exit $ac_status); } &&
43660 { ac_try='test -z "$ac_c_werror_flag"
43661 || test ! -s conftest.err'
43662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43663 (eval $ac_try) 2>&5
43664 ac_status=$?
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); }; } &&
43667 { ac_try='test -s conftest$ac_exeext'
43668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43669 (eval $ac_try) 2>&5
43670 ac_status=$?
43671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672 (exit $ac_status); }; }; then
43673 eval "$as_ac_var=yes"
43674 else
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43678 eval "$as_ac_var=no"
43680 rm -f conftest.err conftest.$ac_objext \
43681 conftest$ac_exeext conftest.$ac_ext
43683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43685 if test `eval echo '${'$as_ac_var'}'` = yes; then
43686 cat >>confdefs.h <<_ACEOF
43687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43688 _ACEOF
43691 done
43693 else
43695 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43696 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43697 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43698 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43704 ac_ext=cc
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43710 cat >conftest.$ac_ext <<_ACEOF
43711 /* confdefs.h. */
43712 _ACEOF
43713 cat confdefs.h >>conftest.$ac_ext
43714 cat >>conftest.$ac_ext <<_ACEOF
43715 /* end confdefs.h. */
43716 #include <math.h>
43717 #ifdef HAVE_IEEEFP_H
43718 #include <ieeefp.h>
43719 #endif
43722 main ()
43724 _isinf(0);
43726 return 0;
43728 _ACEOF
43729 rm -f conftest.$ac_objext
43730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43731 (eval $ac_compile) 2>conftest.er1
43732 ac_status=$?
43733 grep -v '^ *+' conftest.er1 >conftest.err
43734 rm -f conftest.er1
43735 cat conftest.err >&5
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); } &&
43738 { ac_try='test -z "$ac_cxx_werror_flag"
43739 || test ! -s conftest.err'
43740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43741 (eval $ac_try) 2>&5
43742 ac_status=$?
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); }; } &&
43745 { ac_try='test -s conftest.$ac_objext'
43746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43747 (eval $ac_try) 2>&5
43748 ac_status=$?
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); }; }; then
43751 glibcxx_cv_func__isinf_use=yes
43752 else
43753 echo "$as_me: failed program was:" >&5
43754 sed 's/^/| /' conftest.$ac_ext >&5
43756 glibcxx_cv_func__isinf_use=no
43758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43759 ac_ext=c
43760 ac_cpp='$CPP $CPPFLAGS'
43761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43769 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43770 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43772 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43774 for ac_func in _isinf
43776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43777 echo "$as_me:$LINENO: checking for $ac_func" >&5
43778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43779 if eval "test \"\${$as_ac_var+set}\" = set"; then
43780 echo $ECHO_N "(cached) $ECHO_C" >&6
43781 else
43782 if test x$gcc_no_link = xyes; then
43783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43785 { (exit 1); exit 1; }; }
43787 cat >conftest.$ac_ext <<_ACEOF
43788 /* confdefs.h. */
43789 _ACEOF
43790 cat confdefs.h >>conftest.$ac_ext
43791 cat >>conftest.$ac_ext <<_ACEOF
43792 /* end confdefs.h. */
43793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43795 #define $ac_func innocuous_$ac_func
43797 /* System header to define __stub macros and hopefully few prototypes,
43798 which can conflict with char $ac_func (); below.
43799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43800 <limits.h> exists even on freestanding compilers. */
43802 #ifdef __STDC__
43803 # include <limits.h>
43804 #else
43805 # include <assert.h>
43806 #endif
43808 #undef $ac_func
43810 /* Override any gcc2 internal prototype to avoid an error. */
43811 #ifdef __cplusplus
43812 extern "C"
43814 #endif
43815 /* We use char because int might match the return type of a gcc2
43816 builtin and then its argument prototype would still apply. */
43817 char $ac_func ();
43818 /* The GNU C library defines this for functions which it implements
43819 to always fail with ENOSYS. Some functions are actually named
43820 something starting with __ and the normal name is an alias. */
43821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43822 choke me
43823 #else
43824 char (*f) () = $ac_func;
43825 #endif
43826 #ifdef __cplusplus
43828 #endif
43831 main ()
43833 return f != $ac_func;
43835 return 0;
43837 _ACEOF
43838 rm -f conftest.$ac_objext conftest$ac_exeext
43839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43840 (eval $ac_link) 2>conftest.er1
43841 ac_status=$?
43842 grep -v '^ *+' conftest.er1 >conftest.err
43843 rm -f conftest.er1
43844 cat conftest.err >&5
43845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846 (exit $ac_status); } &&
43847 { ac_try='test -z "$ac_c_werror_flag"
43848 || test ! -s conftest.err'
43849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43850 (eval $ac_try) 2>&5
43851 ac_status=$?
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; } &&
43854 { ac_try='test -s conftest$ac_exeext'
43855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43856 (eval $ac_try) 2>&5
43857 ac_status=$?
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); }; }; then
43860 eval "$as_ac_var=yes"
43861 else
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43865 eval "$as_ac_var=no"
43867 rm -f conftest.err conftest.$ac_objext \
43868 conftest$ac_exeext conftest.$ac_ext
43870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43872 if test `eval echo '${'$as_ac_var'}'` = yes; then
43873 cat >>confdefs.h <<_ACEOF
43874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43875 _ACEOF
43878 done
43888 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43889 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43890 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43891 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43892 echo $ECHO_N "(cached) $ECHO_C" >&6
43893 else
43897 ac_ext=cc
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43903 cat >conftest.$ac_ext <<_ACEOF
43904 /* confdefs.h. */
43905 _ACEOF
43906 cat confdefs.h >>conftest.$ac_ext
43907 cat >>conftest.$ac_ext <<_ACEOF
43908 /* end confdefs.h. */
43909 #include <math.h>
43910 #ifdef HAVE_IEEEFP_H
43911 #include <ieeefp.h>
43912 #endif
43915 main ()
43917 isnan(0);
43919 return 0;
43921 _ACEOF
43922 rm -f conftest.$ac_objext
43923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43924 (eval $ac_compile) 2>conftest.er1
43925 ac_status=$?
43926 grep -v '^ *+' conftest.er1 >conftest.err
43927 rm -f conftest.er1
43928 cat conftest.err >&5
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); } &&
43931 { ac_try='test -z "$ac_cxx_werror_flag"
43932 || test ! -s conftest.err'
43933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43934 (eval $ac_try) 2>&5
43935 ac_status=$?
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); }; } &&
43938 { ac_try='test -s conftest.$ac_objext'
43939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43940 (eval $ac_try) 2>&5
43941 ac_status=$?
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); }; }; then
43944 glibcxx_cv_func_isnan_use=yes
43945 else
43946 echo "$as_me: failed program was:" >&5
43947 sed 's/^/| /' conftest.$ac_ext >&5
43949 glibcxx_cv_func_isnan_use=no
43951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43952 ac_ext=c
43953 ac_cpp='$CPP $CPPFLAGS'
43954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43962 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43963 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43965 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43967 for ac_func in isnan
43969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43970 echo "$as_me:$LINENO: checking for $ac_func" >&5
43971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43972 if eval "test \"\${$as_ac_var+set}\" = set"; then
43973 echo $ECHO_N "(cached) $ECHO_C" >&6
43974 else
43975 if test x$gcc_no_link = xyes; then
43976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43978 { (exit 1); exit 1; }; }
43980 cat >conftest.$ac_ext <<_ACEOF
43981 /* confdefs.h. */
43982 _ACEOF
43983 cat confdefs.h >>conftest.$ac_ext
43984 cat >>conftest.$ac_ext <<_ACEOF
43985 /* end confdefs.h. */
43986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43988 #define $ac_func innocuous_$ac_func
43990 /* System header to define __stub macros and hopefully few prototypes,
43991 which can conflict with char $ac_func (); below.
43992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43993 <limits.h> exists even on freestanding compilers. */
43995 #ifdef __STDC__
43996 # include <limits.h>
43997 #else
43998 # include <assert.h>
43999 #endif
44001 #undef $ac_func
44003 /* Override any gcc2 internal prototype to avoid an error. */
44004 #ifdef __cplusplus
44005 extern "C"
44007 #endif
44008 /* We use char because int might match the return type of a gcc2
44009 builtin and then its argument prototype would still apply. */
44010 char $ac_func ();
44011 /* The GNU C library defines this for functions which it implements
44012 to always fail with ENOSYS. Some functions are actually named
44013 something starting with __ and the normal name is an alias. */
44014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44015 choke me
44016 #else
44017 char (*f) () = $ac_func;
44018 #endif
44019 #ifdef __cplusplus
44021 #endif
44024 main ()
44026 return f != $ac_func;
44028 return 0;
44030 _ACEOF
44031 rm -f conftest.$ac_objext conftest$ac_exeext
44032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44033 (eval $ac_link) 2>conftest.er1
44034 ac_status=$?
44035 grep -v '^ *+' conftest.er1 >conftest.err
44036 rm -f conftest.er1
44037 cat conftest.err >&5
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); } &&
44040 { ac_try='test -z "$ac_c_werror_flag"
44041 || test ! -s conftest.err'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44044 ac_status=$?
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; } &&
44047 { ac_try='test -s conftest$ac_exeext'
44048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44049 (eval $ac_try) 2>&5
44050 ac_status=$?
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); }; }; then
44053 eval "$as_ac_var=yes"
44054 else
44055 echo "$as_me: failed program was:" >&5
44056 sed 's/^/| /' conftest.$ac_ext >&5
44058 eval "$as_ac_var=no"
44060 rm -f conftest.err conftest.$ac_objext \
44061 conftest$ac_exeext conftest.$ac_ext
44063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44065 if test `eval echo '${'$as_ac_var'}'` = yes; then
44066 cat >>confdefs.h <<_ACEOF
44067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44068 _ACEOF
44071 done
44073 else
44075 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44076 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44077 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44078 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44079 echo $ECHO_N "(cached) $ECHO_C" >&6
44080 else
44084 ac_ext=cc
44085 ac_cpp='$CXXCPP $CPPFLAGS'
44086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44090 cat >conftest.$ac_ext <<_ACEOF
44091 /* confdefs.h. */
44092 _ACEOF
44093 cat confdefs.h >>conftest.$ac_ext
44094 cat >>conftest.$ac_ext <<_ACEOF
44095 /* end confdefs.h. */
44096 #include <math.h>
44097 #ifdef HAVE_IEEEFP_H
44098 #include <ieeefp.h>
44099 #endif
44102 main ()
44104 _isnan(0);
44106 return 0;
44108 _ACEOF
44109 rm -f conftest.$ac_objext
44110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44111 (eval $ac_compile) 2>conftest.er1
44112 ac_status=$?
44113 grep -v '^ *+' conftest.er1 >conftest.err
44114 rm -f conftest.er1
44115 cat conftest.err >&5
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); } &&
44118 { ac_try='test -z "$ac_cxx_werror_flag"
44119 || test ! -s conftest.err'
44120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44121 (eval $ac_try) 2>&5
44122 ac_status=$?
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); }; } &&
44125 { ac_try='test -s conftest.$ac_objext'
44126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44127 (eval $ac_try) 2>&5
44128 ac_status=$?
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; }; then
44131 glibcxx_cv_func__isnan_use=yes
44132 else
44133 echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44136 glibcxx_cv_func__isnan_use=no
44138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44139 ac_ext=c
44140 ac_cpp='$CPP $CPPFLAGS'
44141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44149 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44150 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44152 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44154 for ac_func in _isnan
44156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44157 echo "$as_me:$LINENO: checking for $ac_func" >&5
44158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44159 if eval "test \"\${$as_ac_var+set}\" = set"; then
44160 echo $ECHO_N "(cached) $ECHO_C" >&6
44161 else
44162 if test x$gcc_no_link = xyes; then
44163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44165 { (exit 1); exit 1; }; }
44167 cat >conftest.$ac_ext <<_ACEOF
44168 /* confdefs.h. */
44169 _ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44175 #define $ac_func innocuous_$ac_func
44177 /* System header to define __stub macros and hopefully few prototypes,
44178 which can conflict with char $ac_func (); below.
44179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44180 <limits.h> exists even on freestanding compilers. */
44182 #ifdef __STDC__
44183 # include <limits.h>
44184 #else
44185 # include <assert.h>
44186 #endif
44188 #undef $ac_func
44190 /* Override any gcc2 internal prototype to avoid an error. */
44191 #ifdef __cplusplus
44192 extern "C"
44194 #endif
44195 /* We use char because int might match the return type of a gcc2
44196 builtin and then its argument prototype would still apply. */
44197 char $ac_func ();
44198 /* The GNU C library defines this for functions which it implements
44199 to always fail with ENOSYS. Some functions are actually named
44200 something starting with __ and the normal name is an alias. */
44201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44202 choke me
44203 #else
44204 char (*f) () = $ac_func;
44205 #endif
44206 #ifdef __cplusplus
44208 #endif
44211 main ()
44213 return f != $ac_func;
44215 return 0;
44217 _ACEOF
44218 rm -f conftest.$ac_objext conftest$ac_exeext
44219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44220 (eval $ac_link) 2>conftest.er1
44221 ac_status=$?
44222 grep -v '^ *+' conftest.er1 >conftest.err
44223 rm -f conftest.er1
44224 cat conftest.err >&5
44225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226 (exit $ac_status); } &&
44227 { ac_try='test -z "$ac_c_werror_flag"
44228 || test ! -s conftest.err'
44229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44230 (eval $ac_try) 2>&5
44231 ac_status=$?
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); }; } &&
44234 { ac_try='test -s conftest$ac_exeext'
44235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236 (eval $ac_try) 2>&5
44237 ac_status=$?
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; }; then
44240 eval "$as_ac_var=yes"
44241 else
44242 echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.$ac_ext >&5
44245 eval "$as_ac_var=no"
44247 rm -f conftest.err conftest.$ac_objext \
44248 conftest$ac_exeext conftest.$ac_ext
44250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44252 if test `eval echo '${'$as_ac_var'}'` = yes; then
44253 cat >>confdefs.h <<_ACEOF
44254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44255 _ACEOF
44258 done
44268 echo "$as_me:$LINENO: checking for finite declaration" >&5
44269 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44270 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44271 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44272 echo $ECHO_N "(cached) $ECHO_C" >&6
44273 else
44277 ac_ext=cc
44278 ac_cpp='$CXXCPP $CPPFLAGS'
44279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44283 cat >conftest.$ac_ext <<_ACEOF
44284 /* confdefs.h. */
44285 _ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44289 #include <math.h>
44290 #ifdef HAVE_IEEEFP_H
44291 #include <ieeefp.h>
44292 #endif
44295 main ()
44297 finite(0);
44299 return 0;
44301 _ACEOF
44302 rm -f conftest.$ac_objext
44303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44304 (eval $ac_compile) 2>conftest.er1
44305 ac_status=$?
44306 grep -v '^ *+' conftest.er1 >conftest.err
44307 rm -f conftest.er1
44308 cat conftest.err >&5
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); } &&
44311 { ac_try='test -z "$ac_cxx_werror_flag"
44312 || test ! -s conftest.err'
44313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44314 (eval $ac_try) 2>&5
44315 ac_status=$?
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); }; } &&
44318 { ac_try='test -s conftest.$ac_objext'
44319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44320 (eval $ac_try) 2>&5
44321 ac_status=$?
44322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323 (exit $ac_status); }; }; then
44324 glibcxx_cv_func_finite_use=yes
44325 else
44326 echo "$as_me: failed program was:" >&5
44327 sed 's/^/| /' conftest.$ac_ext >&5
44329 glibcxx_cv_func_finite_use=no
44331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44332 ac_ext=c
44333 ac_cpp='$CPP $CPPFLAGS'
44334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44342 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44343 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44345 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44347 for ac_func in finite
44349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44350 echo "$as_me:$LINENO: checking for $ac_func" >&5
44351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44352 if eval "test \"\${$as_ac_var+set}\" = set"; then
44353 echo $ECHO_N "(cached) $ECHO_C" >&6
44354 else
44355 if test x$gcc_no_link = xyes; then
44356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44358 { (exit 1); exit 1; }; }
44360 cat >conftest.$ac_ext <<_ACEOF
44361 /* confdefs.h. */
44362 _ACEOF
44363 cat confdefs.h >>conftest.$ac_ext
44364 cat >>conftest.$ac_ext <<_ACEOF
44365 /* end confdefs.h. */
44366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44368 #define $ac_func innocuous_$ac_func
44370 /* System header to define __stub macros and hopefully few prototypes,
44371 which can conflict with char $ac_func (); below.
44372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44373 <limits.h> exists even on freestanding compilers. */
44375 #ifdef __STDC__
44376 # include <limits.h>
44377 #else
44378 # include <assert.h>
44379 #endif
44381 #undef $ac_func
44383 /* Override any gcc2 internal prototype to avoid an error. */
44384 #ifdef __cplusplus
44385 extern "C"
44387 #endif
44388 /* We use char because int might match the return type of a gcc2
44389 builtin and then its argument prototype would still apply. */
44390 char $ac_func ();
44391 /* The GNU C library defines this for functions which it implements
44392 to always fail with ENOSYS. Some functions are actually named
44393 something starting with __ and the normal name is an alias. */
44394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44395 choke me
44396 #else
44397 char (*f) () = $ac_func;
44398 #endif
44399 #ifdef __cplusplus
44401 #endif
44404 main ()
44406 return f != $ac_func;
44408 return 0;
44410 _ACEOF
44411 rm -f conftest.$ac_objext conftest$ac_exeext
44412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44413 (eval $ac_link) 2>conftest.er1
44414 ac_status=$?
44415 grep -v '^ *+' conftest.er1 >conftest.err
44416 rm -f conftest.er1
44417 cat conftest.err >&5
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); } &&
44420 { ac_try='test -z "$ac_c_werror_flag"
44421 || test ! -s conftest.err'
44422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44423 (eval $ac_try) 2>&5
44424 ac_status=$?
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); }; } &&
44427 { ac_try='test -s conftest$ac_exeext'
44428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429 (eval $ac_try) 2>&5
44430 ac_status=$?
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); }; }; then
44433 eval "$as_ac_var=yes"
44434 else
44435 echo "$as_me: failed program was:" >&5
44436 sed 's/^/| /' conftest.$ac_ext >&5
44438 eval "$as_ac_var=no"
44440 rm -f conftest.err conftest.$ac_objext \
44441 conftest$ac_exeext conftest.$ac_ext
44443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44445 if test `eval echo '${'$as_ac_var'}'` = yes; then
44446 cat >>confdefs.h <<_ACEOF
44447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44448 _ACEOF
44451 done
44453 else
44455 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44456 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44457 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44458 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44459 echo $ECHO_N "(cached) $ECHO_C" >&6
44460 else
44464 ac_ext=cc
44465 ac_cpp='$CXXCPP $CPPFLAGS'
44466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44470 cat >conftest.$ac_ext <<_ACEOF
44471 /* confdefs.h. */
44472 _ACEOF
44473 cat confdefs.h >>conftest.$ac_ext
44474 cat >>conftest.$ac_ext <<_ACEOF
44475 /* end confdefs.h. */
44476 #include <math.h>
44477 #ifdef HAVE_IEEEFP_H
44478 #include <ieeefp.h>
44479 #endif
44482 main ()
44484 _finite(0);
44486 return 0;
44488 _ACEOF
44489 rm -f conftest.$ac_objext
44490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44491 (eval $ac_compile) 2>conftest.er1
44492 ac_status=$?
44493 grep -v '^ *+' conftest.er1 >conftest.err
44494 rm -f conftest.er1
44495 cat conftest.err >&5
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); } &&
44498 { ac_try='test -z "$ac_cxx_werror_flag"
44499 || test ! -s conftest.err'
44500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44501 (eval $ac_try) 2>&5
44502 ac_status=$?
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); }; } &&
44505 { ac_try='test -s conftest.$ac_objext'
44506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44507 (eval $ac_try) 2>&5
44508 ac_status=$?
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); }; }; then
44511 glibcxx_cv_func__finite_use=yes
44512 else
44513 echo "$as_me: failed program was:" >&5
44514 sed 's/^/| /' conftest.$ac_ext >&5
44516 glibcxx_cv_func__finite_use=no
44518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44519 ac_ext=c
44520 ac_cpp='$CPP $CPPFLAGS'
44521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44529 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44530 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44532 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44534 for ac_func in _finite
44536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44537 echo "$as_me:$LINENO: checking for $ac_func" >&5
44538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44539 if eval "test \"\${$as_ac_var+set}\" = set"; then
44540 echo $ECHO_N "(cached) $ECHO_C" >&6
44541 else
44542 if test x$gcc_no_link = xyes; then
44543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44545 { (exit 1); exit 1; }; }
44547 cat >conftest.$ac_ext <<_ACEOF
44548 /* confdefs.h. */
44549 _ACEOF
44550 cat confdefs.h >>conftest.$ac_ext
44551 cat >>conftest.$ac_ext <<_ACEOF
44552 /* end confdefs.h. */
44553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44555 #define $ac_func innocuous_$ac_func
44557 /* System header to define __stub macros and hopefully few prototypes,
44558 which can conflict with char $ac_func (); below.
44559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44560 <limits.h> exists even on freestanding compilers. */
44562 #ifdef __STDC__
44563 # include <limits.h>
44564 #else
44565 # include <assert.h>
44566 #endif
44568 #undef $ac_func
44570 /* Override any gcc2 internal prototype to avoid an error. */
44571 #ifdef __cplusplus
44572 extern "C"
44574 #endif
44575 /* We use char because int might match the return type of a gcc2
44576 builtin and then its argument prototype would still apply. */
44577 char $ac_func ();
44578 /* The GNU C library defines this for functions which it implements
44579 to always fail with ENOSYS. Some functions are actually named
44580 something starting with __ and the normal name is an alias. */
44581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44582 choke me
44583 #else
44584 char (*f) () = $ac_func;
44585 #endif
44586 #ifdef __cplusplus
44588 #endif
44591 main ()
44593 return f != $ac_func;
44595 return 0;
44597 _ACEOF
44598 rm -f conftest.$ac_objext conftest$ac_exeext
44599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44600 (eval $ac_link) 2>conftest.er1
44601 ac_status=$?
44602 grep -v '^ *+' conftest.er1 >conftest.err
44603 rm -f conftest.er1
44604 cat conftest.err >&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); } &&
44607 { ac_try='test -z "$ac_c_werror_flag"
44608 || test ! -s conftest.err'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44611 ac_status=$?
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; } &&
44614 { ac_try='test -s conftest$ac_exeext'
44615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616 (eval $ac_try) 2>&5
44617 ac_status=$?
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; }; then
44620 eval "$as_ac_var=yes"
44621 else
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.$ac_ext >&5
44625 eval "$as_ac_var=no"
44627 rm -f conftest.err conftest.$ac_objext \
44628 conftest$ac_exeext conftest.$ac_ext
44630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44632 if test `eval echo '${'$as_ac_var'}'` = yes; then
44633 cat >>confdefs.h <<_ACEOF
44634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44635 _ACEOF
44638 done
44648 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44649 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44650 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44651 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44652 echo $ECHO_N "(cached) $ECHO_C" >&6
44653 else
44657 ac_ext=cc
44658 ac_cpp='$CXXCPP $CPPFLAGS'
44659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44663 cat >conftest.$ac_ext <<_ACEOF
44664 /* confdefs.h. */
44665 _ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44669 #include <math.h>
44671 main ()
44673 copysign(0, 0);
44675 return 0;
44677 _ACEOF
44678 rm -f conftest.$ac_objext
44679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44680 (eval $ac_compile) 2>conftest.er1
44681 ac_status=$?
44682 grep -v '^ *+' conftest.er1 >conftest.err
44683 rm -f conftest.er1
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } &&
44687 { ac_try='test -z "$ac_cxx_werror_flag"
44688 || test ! -s conftest.err'
44689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690 (eval $ac_try) 2>&5
44691 ac_status=$?
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); }; } &&
44694 { ac_try='test -s conftest.$ac_objext'
44695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44696 (eval $ac_try) 2>&5
44697 ac_status=$?
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); }; }; then
44700 glibcxx_cv_func_copysign_use=yes
44701 else
44702 echo "$as_me: failed program was:" >&5
44703 sed 's/^/| /' conftest.$ac_ext >&5
44705 glibcxx_cv_func_copysign_use=no
44707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44708 ac_ext=c
44709 ac_cpp='$CPP $CPPFLAGS'
44710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44719 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44721 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44723 for ac_func in copysign
44725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44726 echo "$as_me:$LINENO: checking for $ac_func" >&5
44727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44728 if eval "test \"\${$as_ac_var+set}\" = set"; then
44729 echo $ECHO_N "(cached) $ECHO_C" >&6
44730 else
44731 if test x$gcc_no_link = xyes; then
44732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44734 { (exit 1); exit 1; }; }
44736 cat >conftest.$ac_ext <<_ACEOF
44737 /* confdefs.h. */
44738 _ACEOF
44739 cat confdefs.h >>conftest.$ac_ext
44740 cat >>conftest.$ac_ext <<_ACEOF
44741 /* end confdefs.h. */
44742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44744 #define $ac_func innocuous_$ac_func
44746 /* System header to define __stub macros and hopefully few prototypes,
44747 which can conflict with char $ac_func (); below.
44748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44749 <limits.h> exists even on freestanding compilers. */
44751 #ifdef __STDC__
44752 # include <limits.h>
44753 #else
44754 # include <assert.h>
44755 #endif
44757 #undef $ac_func
44759 /* Override any gcc2 internal prototype to avoid an error. */
44760 #ifdef __cplusplus
44761 extern "C"
44763 #endif
44764 /* We use char because int might match the return type of a gcc2
44765 builtin and then its argument prototype would still apply. */
44766 char $ac_func ();
44767 /* The GNU C library defines this for functions which it implements
44768 to always fail with ENOSYS. Some functions are actually named
44769 something starting with __ and the normal name is an alias. */
44770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44771 choke me
44772 #else
44773 char (*f) () = $ac_func;
44774 #endif
44775 #ifdef __cplusplus
44777 #endif
44780 main ()
44782 return f != $ac_func;
44784 return 0;
44786 _ACEOF
44787 rm -f conftest.$ac_objext conftest$ac_exeext
44788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44789 (eval $ac_link) 2>conftest.er1
44790 ac_status=$?
44791 grep -v '^ *+' conftest.er1 >conftest.err
44792 rm -f conftest.er1
44793 cat conftest.err >&5
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); } &&
44796 { ac_try='test -z "$ac_c_werror_flag"
44797 || test ! -s conftest.err'
44798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44799 (eval $ac_try) 2>&5
44800 ac_status=$?
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); }; } &&
44803 { ac_try='test -s conftest$ac_exeext'
44804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44805 (eval $ac_try) 2>&5
44806 ac_status=$?
44807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808 (exit $ac_status); }; }; then
44809 eval "$as_ac_var=yes"
44810 else
44811 echo "$as_me: failed program was:" >&5
44812 sed 's/^/| /' conftest.$ac_ext >&5
44814 eval "$as_ac_var=no"
44816 rm -f conftest.err conftest.$ac_objext \
44817 conftest$ac_exeext conftest.$ac_ext
44819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44821 if test `eval echo '${'$as_ac_var'}'` = yes; then
44822 cat >>confdefs.h <<_ACEOF
44823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44824 _ACEOF
44827 done
44829 else
44831 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44832 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44833 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44834 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44835 echo $ECHO_N "(cached) $ECHO_C" >&6
44836 else
44840 ac_ext=cc
44841 ac_cpp='$CXXCPP $CPPFLAGS'
44842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44846 cat >conftest.$ac_ext <<_ACEOF
44847 /* confdefs.h. */
44848 _ACEOF
44849 cat confdefs.h >>conftest.$ac_ext
44850 cat >>conftest.$ac_ext <<_ACEOF
44851 /* end confdefs.h. */
44852 #include <math.h>
44854 main ()
44856 _copysign(0, 0);
44858 return 0;
44860 _ACEOF
44861 rm -f conftest.$ac_objext
44862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44863 (eval $ac_compile) 2>conftest.er1
44864 ac_status=$?
44865 grep -v '^ *+' conftest.er1 >conftest.err
44866 rm -f conftest.er1
44867 cat conftest.err >&5
44868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869 (exit $ac_status); } &&
44870 { ac_try='test -z "$ac_cxx_werror_flag"
44871 || test ! -s conftest.err'
44872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44873 (eval $ac_try) 2>&5
44874 ac_status=$?
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); }; } &&
44877 { ac_try='test -s conftest.$ac_objext'
44878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44879 (eval $ac_try) 2>&5
44880 ac_status=$?
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); }; }; then
44883 glibcxx_cv_func__copysign_use=yes
44884 else
44885 echo "$as_me: failed program was:" >&5
44886 sed 's/^/| /' conftest.$ac_ext >&5
44888 glibcxx_cv_func__copysign_use=no
44890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44891 ac_ext=c
44892 ac_cpp='$CPP $CPPFLAGS'
44893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44902 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44904 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44906 for ac_func in _copysign
44908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44909 echo "$as_me:$LINENO: checking for $ac_func" >&5
44910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44911 if eval "test \"\${$as_ac_var+set}\" = set"; then
44912 echo $ECHO_N "(cached) $ECHO_C" >&6
44913 else
44914 if test x$gcc_no_link = xyes; then
44915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44917 { (exit 1); exit 1; }; }
44919 cat >conftest.$ac_ext <<_ACEOF
44920 /* confdefs.h. */
44921 _ACEOF
44922 cat confdefs.h >>conftest.$ac_ext
44923 cat >>conftest.$ac_ext <<_ACEOF
44924 /* end confdefs.h. */
44925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44927 #define $ac_func innocuous_$ac_func
44929 /* System header to define __stub macros and hopefully few prototypes,
44930 which can conflict with char $ac_func (); below.
44931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44932 <limits.h> exists even on freestanding compilers. */
44934 #ifdef __STDC__
44935 # include <limits.h>
44936 #else
44937 # include <assert.h>
44938 #endif
44940 #undef $ac_func
44942 /* Override any gcc2 internal prototype to avoid an error. */
44943 #ifdef __cplusplus
44944 extern "C"
44946 #endif
44947 /* We use char because int might match the return type of a gcc2
44948 builtin and then its argument prototype would still apply. */
44949 char $ac_func ();
44950 /* The GNU C library defines this for functions which it implements
44951 to always fail with ENOSYS. Some functions are actually named
44952 something starting with __ and the normal name is an alias. */
44953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44954 choke me
44955 #else
44956 char (*f) () = $ac_func;
44957 #endif
44958 #ifdef __cplusplus
44960 #endif
44963 main ()
44965 return f != $ac_func;
44967 return 0;
44969 _ACEOF
44970 rm -f conftest.$ac_objext conftest$ac_exeext
44971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44972 (eval $ac_link) 2>conftest.er1
44973 ac_status=$?
44974 grep -v '^ *+' conftest.er1 >conftest.err
44975 rm -f conftest.er1
44976 cat conftest.err >&5
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); } &&
44979 { ac_try='test -z "$ac_c_werror_flag"
44980 || test ! -s conftest.err'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44983 ac_status=$?
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; } &&
44986 { ac_try='test -s conftest$ac_exeext'
44987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988 (eval $ac_try) 2>&5
44989 ac_status=$?
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); }; }; then
44992 eval "$as_ac_var=yes"
44993 else
44994 echo "$as_me: failed program was:" >&5
44995 sed 's/^/| /' conftest.$ac_ext >&5
44997 eval "$as_ac_var=no"
44999 rm -f conftest.err conftest.$ac_objext \
45000 conftest$ac_exeext conftest.$ac_ext
45002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45004 if test `eval echo '${'$as_ac_var'}'` = yes; then
45005 cat >>confdefs.h <<_ACEOF
45006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45007 _ACEOF
45010 done
45020 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45021 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45022 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45023 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45025 else
45029 ac_ext=cc
45030 ac_cpp='$CXXCPP $CPPFLAGS'
45031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45035 cat >conftest.$ac_ext <<_ACEOF
45036 /* confdefs.h. */
45037 _ACEOF
45038 cat confdefs.h >>conftest.$ac_ext
45039 cat >>conftest.$ac_ext <<_ACEOF
45040 /* end confdefs.h. */
45041 #include <math.h>
45043 main ()
45045 sincos(0, 0, 0);
45047 return 0;
45049 _ACEOF
45050 rm -f conftest.$ac_objext
45051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45052 (eval $ac_compile) 2>conftest.er1
45053 ac_status=$?
45054 grep -v '^ *+' conftest.er1 >conftest.err
45055 rm -f conftest.er1
45056 cat conftest.err >&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); } &&
45059 { ac_try='test -z "$ac_cxx_werror_flag"
45060 || test ! -s conftest.err'
45061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45062 (eval $ac_try) 2>&5
45063 ac_status=$?
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); }; } &&
45066 { ac_try='test -s conftest.$ac_objext'
45067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45068 (eval $ac_try) 2>&5
45069 ac_status=$?
45070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071 (exit $ac_status); }; }; then
45072 glibcxx_cv_func_sincos_use=yes
45073 else
45074 echo "$as_me: failed program was:" >&5
45075 sed 's/^/| /' conftest.$ac_ext >&5
45077 glibcxx_cv_func_sincos_use=no
45079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45080 ac_ext=c
45081 ac_cpp='$CPP $CPPFLAGS'
45082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45091 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45093 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45095 for ac_func in sincos
45097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45098 echo "$as_me:$LINENO: checking for $ac_func" >&5
45099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45100 if eval "test \"\${$as_ac_var+set}\" = set"; then
45101 echo $ECHO_N "(cached) $ECHO_C" >&6
45102 else
45103 if test x$gcc_no_link = xyes; then
45104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45106 { (exit 1); exit 1; }; }
45108 cat >conftest.$ac_ext <<_ACEOF
45109 /* confdefs.h. */
45110 _ACEOF
45111 cat confdefs.h >>conftest.$ac_ext
45112 cat >>conftest.$ac_ext <<_ACEOF
45113 /* end confdefs.h. */
45114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45116 #define $ac_func innocuous_$ac_func
45118 /* System header to define __stub macros and hopefully few prototypes,
45119 which can conflict with char $ac_func (); below.
45120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45121 <limits.h> exists even on freestanding compilers. */
45123 #ifdef __STDC__
45124 # include <limits.h>
45125 #else
45126 # include <assert.h>
45127 #endif
45129 #undef $ac_func
45131 /* Override any gcc2 internal prototype to avoid an error. */
45132 #ifdef __cplusplus
45133 extern "C"
45135 #endif
45136 /* We use char because int might match the return type of a gcc2
45137 builtin and then its argument prototype would still apply. */
45138 char $ac_func ();
45139 /* The GNU C library defines this for functions which it implements
45140 to always fail with ENOSYS. Some functions are actually named
45141 something starting with __ and the normal name is an alias. */
45142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45143 choke me
45144 #else
45145 char (*f) () = $ac_func;
45146 #endif
45147 #ifdef __cplusplus
45149 #endif
45152 main ()
45154 return f != $ac_func;
45156 return 0;
45158 _ACEOF
45159 rm -f conftest.$ac_objext conftest$ac_exeext
45160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45161 (eval $ac_link) 2>conftest.er1
45162 ac_status=$?
45163 grep -v '^ *+' conftest.er1 >conftest.err
45164 rm -f conftest.er1
45165 cat conftest.err >&5
45166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167 (exit $ac_status); } &&
45168 { ac_try='test -z "$ac_c_werror_flag"
45169 || test ! -s conftest.err'
45170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45171 (eval $ac_try) 2>&5
45172 ac_status=$?
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); }; } &&
45175 { ac_try='test -s conftest$ac_exeext'
45176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45177 (eval $ac_try) 2>&5
45178 ac_status=$?
45179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180 (exit $ac_status); }; }; then
45181 eval "$as_ac_var=yes"
45182 else
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45186 eval "$as_ac_var=no"
45188 rm -f conftest.err conftest.$ac_objext \
45189 conftest$ac_exeext conftest.$ac_ext
45191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45193 if test `eval echo '${'$as_ac_var'}'` = yes; then
45194 cat >>confdefs.h <<_ACEOF
45195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45196 _ACEOF
45199 done
45201 else
45203 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45204 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45205 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45206 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45207 echo $ECHO_N "(cached) $ECHO_C" >&6
45208 else
45212 ac_ext=cc
45213 ac_cpp='$CXXCPP $CPPFLAGS'
45214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45218 cat >conftest.$ac_ext <<_ACEOF
45219 /* confdefs.h. */
45220 _ACEOF
45221 cat confdefs.h >>conftest.$ac_ext
45222 cat >>conftest.$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45224 #include <math.h>
45226 main ()
45228 _sincos(0, 0, 0);
45230 return 0;
45232 _ACEOF
45233 rm -f conftest.$ac_objext
45234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45235 (eval $ac_compile) 2>conftest.er1
45236 ac_status=$?
45237 grep -v '^ *+' conftest.er1 >conftest.err
45238 rm -f conftest.er1
45239 cat conftest.err >&5
45240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241 (exit $ac_status); } &&
45242 { ac_try='test -z "$ac_cxx_werror_flag"
45243 || test ! -s conftest.err'
45244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45245 (eval $ac_try) 2>&5
45246 ac_status=$?
45247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45248 (exit $ac_status); }; } &&
45249 { ac_try='test -s conftest.$ac_objext'
45250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45251 (eval $ac_try) 2>&5
45252 ac_status=$?
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); }; }; then
45255 glibcxx_cv_func__sincos_use=yes
45256 else
45257 echo "$as_me: failed program was:" >&5
45258 sed 's/^/| /' conftest.$ac_ext >&5
45260 glibcxx_cv_func__sincos_use=no
45262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45263 ac_ext=c
45264 ac_cpp='$CPP $CPPFLAGS'
45265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45273 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45274 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45276 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45278 for ac_func in _sincos
45280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45281 echo "$as_me:$LINENO: checking for $ac_func" >&5
45282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45283 if eval "test \"\${$as_ac_var+set}\" = set"; then
45284 echo $ECHO_N "(cached) $ECHO_C" >&6
45285 else
45286 if test x$gcc_no_link = xyes; then
45287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45289 { (exit 1); exit 1; }; }
45291 cat >conftest.$ac_ext <<_ACEOF
45292 /* confdefs.h. */
45293 _ACEOF
45294 cat confdefs.h >>conftest.$ac_ext
45295 cat >>conftest.$ac_ext <<_ACEOF
45296 /* end confdefs.h. */
45297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45299 #define $ac_func innocuous_$ac_func
45301 /* System header to define __stub macros and hopefully few prototypes,
45302 which can conflict with char $ac_func (); below.
45303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45304 <limits.h> exists even on freestanding compilers. */
45306 #ifdef __STDC__
45307 # include <limits.h>
45308 #else
45309 # include <assert.h>
45310 #endif
45312 #undef $ac_func
45314 /* Override any gcc2 internal prototype to avoid an error. */
45315 #ifdef __cplusplus
45316 extern "C"
45318 #endif
45319 /* We use char because int might match the return type of a gcc2
45320 builtin and then its argument prototype would still apply. */
45321 char $ac_func ();
45322 /* The GNU C library defines this for functions which it implements
45323 to always fail with ENOSYS. Some functions are actually named
45324 something starting with __ and the normal name is an alias. */
45325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45326 choke me
45327 #else
45328 char (*f) () = $ac_func;
45329 #endif
45330 #ifdef __cplusplus
45332 #endif
45335 main ()
45337 return f != $ac_func;
45339 return 0;
45341 _ACEOF
45342 rm -f conftest.$ac_objext conftest$ac_exeext
45343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45344 (eval $ac_link) 2>conftest.er1
45345 ac_status=$?
45346 grep -v '^ *+' conftest.er1 >conftest.err
45347 rm -f conftest.er1
45348 cat conftest.err >&5
45349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45350 (exit $ac_status); } &&
45351 { ac_try='test -z "$ac_c_werror_flag"
45352 || test ! -s conftest.err'
45353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354 (eval $ac_try) 2>&5
45355 ac_status=$?
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); }; } &&
45358 { ac_try='test -s conftest$ac_exeext'
45359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45360 (eval $ac_try) 2>&5
45361 ac_status=$?
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); }; }; then
45364 eval "$as_ac_var=yes"
45365 else
45366 echo "$as_me: failed program was:" >&5
45367 sed 's/^/| /' conftest.$ac_ext >&5
45369 eval "$as_ac_var=no"
45371 rm -f conftest.err conftest.$ac_objext \
45372 conftest$ac_exeext conftest.$ac_ext
45374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45376 if test `eval echo '${'$as_ac_var'}'` = yes; then
45377 cat >>confdefs.h <<_ACEOF
45378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45379 _ACEOF
45382 done
45392 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45393 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45394 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45395 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45396 echo $ECHO_N "(cached) $ECHO_C" >&6
45397 else
45401 ac_ext=cc
45402 ac_cpp='$CXXCPP $CPPFLAGS'
45403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45407 cat >conftest.$ac_ext <<_ACEOF
45408 /* confdefs.h. */
45409 _ACEOF
45410 cat confdefs.h >>conftest.$ac_ext
45411 cat >>conftest.$ac_ext <<_ACEOF
45412 /* end confdefs.h. */
45413 #include <math.h>
45414 #ifdef HAVE_IEEEFP_H
45415 #include <ieeefp.h>
45416 #endif
45419 main ()
45421 fpclass(0);
45423 return 0;
45425 _ACEOF
45426 rm -f conftest.$ac_objext
45427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45428 (eval $ac_compile) 2>conftest.er1
45429 ac_status=$?
45430 grep -v '^ *+' conftest.er1 >conftest.err
45431 rm -f conftest.er1
45432 cat conftest.err >&5
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); } &&
45435 { ac_try='test -z "$ac_cxx_werror_flag"
45436 || test ! -s conftest.err'
45437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45438 (eval $ac_try) 2>&5
45439 ac_status=$?
45440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441 (exit $ac_status); }; } &&
45442 { ac_try='test -s conftest.$ac_objext'
45443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45444 (eval $ac_try) 2>&5
45445 ac_status=$?
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); }; }; then
45448 glibcxx_cv_func_fpclass_use=yes
45449 else
45450 echo "$as_me: failed program was:" >&5
45451 sed 's/^/| /' conftest.$ac_ext >&5
45453 glibcxx_cv_func_fpclass_use=no
45455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45456 ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45467 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45469 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45471 for ac_func in fpclass
45473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45474 echo "$as_me:$LINENO: checking for $ac_func" >&5
45475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45476 if eval "test \"\${$as_ac_var+set}\" = set"; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45478 else
45479 if test x$gcc_no_link = xyes; then
45480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45482 { (exit 1); exit 1; }; }
45484 cat >conftest.$ac_ext <<_ACEOF
45485 /* confdefs.h. */
45486 _ACEOF
45487 cat confdefs.h >>conftest.$ac_ext
45488 cat >>conftest.$ac_ext <<_ACEOF
45489 /* end confdefs.h. */
45490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45492 #define $ac_func innocuous_$ac_func
45494 /* System header to define __stub macros and hopefully few prototypes,
45495 which can conflict with char $ac_func (); below.
45496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45497 <limits.h> exists even on freestanding compilers. */
45499 #ifdef __STDC__
45500 # include <limits.h>
45501 #else
45502 # include <assert.h>
45503 #endif
45505 #undef $ac_func
45507 /* Override any gcc2 internal prototype to avoid an error. */
45508 #ifdef __cplusplus
45509 extern "C"
45511 #endif
45512 /* We use char because int might match the return type of a gcc2
45513 builtin and then its argument prototype would still apply. */
45514 char $ac_func ();
45515 /* The GNU C library defines this for functions which it implements
45516 to always fail with ENOSYS. Some functions are actually named
45517 something starting with __ and the normal name is an alias. */
45518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45519 choke me
45520 #else
45521 char (*f) () = $ac_func;
45522 #endif
45523 #ifdef __cplusplus
45525 #endif
45528 main ()
45530 return f != $ac_func;
45532 return 0;
45534 _ACEOF
45535 rm -f conftest.$ac_objext conftest$ac_exeext
45536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45537 (eval $ac_link) 2>conftest.er1
45538 ac_status=$?
45539 grep -v '^ *+' conftest.er1 >conftest.err
45540 rm -f conftest.er1
45541 cat conftest.err >&5
45542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45543 (exit $ac_status); } &&
45544 { ac_try='test -z "$ac_c_werror_flag"
45545 || test ! -s conftest.err'
45546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45547 (eval $ac_try) 2>&5
45548 ac_status=$?
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); }; } &&
45551 { ac_try='test -s conftest$ac_exeext'
45552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45553 (eval $ac_try) 2>&5
45554 ac_status=$?
45555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556 (exit $ac_status); }; }; then
45557 eval "$as_ac_var=yes"
45558 else
45559 echo "$as_me: failed program was:" >&5
45560 sed 's/^/| /' conftest.$ac_ext >&5
45562 eval "$as_ac_var=no"
45564 rm -f conftest.err conftest.$ac_objext \
45565 conftest$ac_exeext conftest.$ac_ext
45567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45569 if test `eval echo '${'$as_ac_var'}'` = yes; then
45570 cat >>confdefs.h <<_ACEOF
45571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45572 _ACEOF
45575 done
45577 else
45579 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45580 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45581 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45582 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45583 echo $ECHO_N "(cached) $ECHO_C" >&6
45584 else
45588 ac_ext=cc
45589 ac_cpp='$CXXCPP $CPPFLAGS'
45590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45594 cat >conftest.$ac_ext <<_ACEOF
45595 /* confdefs.h. */
45596 _ACEOF
45597 cat confdefs.h >>conftest.$ac_ext
45598 cat >>conftest.$ac_ext <<_ACEOF
45599 /* end confdefs.h. */
45600 #include <math.h>
45601 #ifdef HAVE_IEEEFP_H
45602 #include <ieeefp.h>
45603 #endif
45606 main ()
45608 _fpclass(0);
45610 return 0;
45612 _ACEOF
45613 rm -f conftest.$ac_objext
45614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45615 (eval $ac_compile) 2>conftest.er1
45616 ac_status=$?
45617 grep -v '^ *+' conftest.er1 >conftest.err
45618 rm -f conftest.er1
45619 cat conftest.err >&5
45620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45621 (exit $ac_status); } &&
45622 { ac_try='test -z "$ac_cxx_werror_flag"
45623 || test ! -s conftest.err'
45624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45625 (eval $ac_try) 2>&5
45626 ac_status=$?
45627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45628 (exit $ac_status); }; } &&
45629 { ac_try='test -s conftest.$ac_objext'
45630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45631 (eval $ac_try) 2>&5
45632 ac_status=$?
45633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45634 (exit $ac_status); }; }; then
45635 glibcxx_cv_func__fpclass_use=yes
45636 else
45637 echo "$as_me: failed program was:" >&5
45638 sed 's/^/| /' conftest.$ac_ext >&5
45640 glibcxx_cv_func__fpclass_use=no
45642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45643 ac_ext=c
45644 ac_cpp='$CPP $CPPFLAGS'
45645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45653 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45654 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45656 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45658 for ac_func in _fpclass
45660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45661 echo "$as_me:$LINENO: checking for $ac_func" >&5
45662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45663 if eval "test \"\${$as_ac_var+set}\" = set"; then
45664 echo $ECHO_N "(cached) $ECHO_C" >&6
45665 else
45666 if test x$gcc_no_link = xyes; then
45667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45669 { (exit 1); exit 1; }; }
45671 cat >conftest.$ac_ext <<_ACEOF
45672 /* confdefs.h. */
45673 _ACEOF
45674 cat confdefs.h >>conftest.$ac_ext
45675 cat >>conftest.$ac_ext <<_ACEOF
45676 /* end confdefs.h. */
45677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45679 #define $ac_func innocuous_$ac_func
45681 /* System header to define __stub macros and hopefully few prototypes,
45682 which can conflict with char $ac_func (); below.
45683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45684 <limits.h> exists even on freestanding compilers. */
45686 #ifdef __STDC__
45687 # include <limits.h>
45688 #else
45689 # include <assert.h>
45690 #endif
45692 #undef $ac_func
45694 /* Override any gcc2 internal prototype to avoid an error. */
45695 #ifdef __cplusplus
45696 extern "C"
45698 #endif
45699 /* We use char because int might match the return type of a gcc2
45700 builtin and then its argument prototype would still apply. */
45701 char $ac_func ();
45702 /* The GNU C library defines this for functions which it implements
45703 to always fail with ENOSYS. Some functions are actually named
45704 something starting with __ and the normal name is an alias. */
45705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45706 choke me
45707 #else
45708 char (*f) () = $ac_func;
45709 #endif
45710 #ifdef __cplusplus
45712 #endif
45715 main ()
45717 return f != $ac_func;
45719 return 0;
45721 _ACEOF
45722 rm -f conftest.$ac_objext conftest$ac_exeext
45723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45724 (eval $ac_link) 2>conftest.er1
45725 ac_status=$?
45726 grep -v '^ *+' conftest.er1 >conftest.err
45727 rm -f conftest.er1
45728 cat conftest.err >&5
45729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45730 (exit $ac_status); } &&
45731 { ac_try='test -z "$ac_c_werror_flag"
45732 || test ! -s conftest.err'
45733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45734 (eval $ac_try) 2>&5
45735 ac_status=$?
45736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737 (exit $ac_status); }; } &&
45738 { ac_try='test -s conftest$ac_exeext'
45739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45740 (eval $ac_try) 2>&5
45741 ac_status=$?
45742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45743 (exit $ac_status); }; }; then
45744 eval "$as_ac_var=yes"
45745 else
45746 echo "$as_me: failed program was:" >&5
45747 sed 's/^/| /' conftest.$ac_ext >&5
45749 eval "$as_ac_var=no"
45751 rm -f conftest.err conftest.$ac_objext \
45752 conftest$ac_exeext conftest.$ac_ext
45754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45756 if test `eval echo '${'$as_ac_var'}'` = yes; then
45757 cat >>confdefs.h <<_ACEOF
45758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45759 _ACEOF
45762 done
45772 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45773 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45774 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45775 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45776 echo $ECHO_N "(cached) $ECHO_C" >&6
45777 else
45781 ac_ext=cc
45782 ac_cpp='$CXXCPP $CPPFLAGS'
45783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45787 cat >conftest.$ac_ext <<_ACEOF
45788 /* confdefs.h. */
45789 _ACEOF
45790 cat confdefs.h >>conftest.$ac_ext
45791 cat >>conftest.$ac_ext <<_ACEOF
45792 /* end confdefs.h. */
45793 #include <math.h>
45794 #ifdef HAVE_IEEEFP_H
45795 #include <ieeefp.h>
45796 #endif
45799 main ()
45801 qfpclass(0);
45803 return 0;
45805 _ACEOF
45806 rm -f conftest.$ac_objext
45807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45808 (eval $ac_compile) 2>conftest.er1
45809 ac_status=$?
45810 grep -v '^ *+' conftest.er1 >conftest.err
45811 rm -f conftest.er1
45812 cat conftest.err >&5
45813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814 (exit $ac_status); } &&
45815 { ac_try='test -z "$ac_cxx_werror_flag"
45816 || test ! -s conftest.err'
45817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45818 (eval $ac_try) 2>&5
45819 ac_status=$?
45820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821 (exit $ac_status); }; } &&
45822 { ac_try='test -s conftest.$ac_objext'
45823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45824 (eval $ac_try) 2>&5
45825 ac_status=$?
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); }; }; then
45828 glibcxx_cv_func_qfpclass_use=yes
45829 else
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45833 glibcxx_cv_func_qfpclass_use=no
45835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45836 ac_ext=c
45837 ac_cpp='$CPP $CPPFLAGS'
45838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45846 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45847 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45849 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45851 for ac_func in qfpclass
45853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45854 echo "$as_me:$LINENO: checking for $ac_func" >&5
45855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45856 if eval "test \"\${$as_ac_var+set}\" = set"; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859 if test x$gcc_no_link = xyes; then
45860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45862 { (exit 1); exit 1; }; }
45864 cat >conftest.$ac_ext <<_ACEOF
45865 /* confdefs.h. */
45866 _ACEOF
45867 cat confdefs.h >>conftest.$ac_ext
45868 cat >>conftest.$ac_ext <<_ACEOF
45869 /* end confdefs.h. */
45870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45872 #define $ac_func innocuous_$ac_func
45874 /* System header to define __stub macros and hopefully few prototypes,
45875 which can conflict with char $ac_func (); below.
45876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45877 <limits.h> exists even on freestanding compilers. */
45879 #ifdef __STDC__
45880 # include <limits.h>
45881 #else
45882 # include <assert.h>
45883 #endif
45885 #undef $ac_func
45887 /* Override any gcc2 internal prototype to avoid an error. */
45888 #ifdef __cplusplus
45889 extern "C"
45891 #endif
45892 /* We use char because int might match the return type of a gcc2
45893 builtin and then its argument prototype would still apply. */
45894 char $ac_func ();
45895 /* The GNU C library defines this for functions which it implements
45896 to always fail with ENOSYS. Some functions are actually named
45897 something starting with __ and the normal name is an alias. */
45898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45899 choke me
45900 #else
45901 char (*f) () = $ac_func;
45902 #endif
45903 #ifdef __cplusplus
45905 #endif
45908 main ()
45910 return f != $ac_func;
45912 return 0;
45914 _ACEOF
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45917 (eval $ac_link) 2>conftest.er1
45918 ac_status=$?
45919 grep -v '^ *+' conftest.er1 >conftest.err
45920 rm -f conftest.er1
45921 cat conftest.err >&5
45922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45923 (exit $ac_status); } &&
45924 { ac_try='test -z "$ac_c_werror_flag"
45925 || test ! -s conftest.err'
45926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45927 (eval $ac_try) 2>&5
45928 ac_status=$?
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); }; } &&
45931 { ac_try='test -s conftest$ac_exeext'
45932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45933 (eval $ac_try) 2>&5
45934 ac_status=$?
45935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936 (exit $ac_status); }; }; then
45937 eval "$as_ac_var=yes"
45938 else
45939 echo "$as_me: failed program was:" >&5
45940 sed 's/^/| /' conftest.$ac_ext >&5
45942 eval "$as_ac_var=no"
45944 rm -f conftest.err conftest.$ac_objext \
45945 conftest$ac_exeext conftest.$ac_ext
45947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45949 if test `eval echo '${'$as_ac_var'}'` = yes; then
45950 cat >>confdefs.h <<_ACEOF
45951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45952 _ACEOF
45955 done
45957 else
45959 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45960 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45961 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45962 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45963 echo $ECHO_N "(cached) $ECHO_C" >&6
45964 else
45968 ac_ext=cc
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45974 cat >conftest.$ac_ext <<_ACEOF
45975 /* confdefs.h. */
45976 _ACEOF
45977 cat confdefs.h >>conftest.$ac_ext
45978 cat >>conftest.$ac_ext <<_ACEOF
45979 /* end confdefs.h. */
45980 #include <math.h>
45981 #ifdef HAVE_IEEEFP_H
45982 #include <ieeefp.h>
45983 #endif
45986 main ()
45988 _qfpclass(0);
45990 return 0;
45992 _ACEOF
45993 rm -f conftest.$ac_objext
45994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45995 (eval $ac_compile) 2>conftest.er1
45996 ac_status=$?
45997 grep -v '^ *+' conftest.er1 >conftest.err
45998 rm -f conftest.er1
45999 cat conftest.err >&5
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); } &&
46002 { ac_try='test -z "$ac_cxx_werror_flag"
46003 || test ! -s conftest.err'
46004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46005 (eval $ac_try) 2>&5
46006 ac_status=$?
46007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46008 (exit $ac_status); }; } &&
46009 { ac_try='test -s conftest.$ac_objext'
46010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46011 (eval $ac_try) 2>&5
46012 ac_status=$?
46013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46014 (exit $ac_status); }; }; then
46015 glibcxx_cv_func__qfpclass_use=yes
46016 else
46017 echo "$as_me: failed program was:" >&5
46018 sed 's/^/| /' conftest.$ac_ext >&5
46020 glibcxx_cv_func__qfpclass_use=no
46022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46023 ac_ext=c
46024 ac_cpp='$CPP $CPPFLAGS'
46025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46033 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46034 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46038 for ac_func in _qfpclass
46040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46041 echo "$as_me:$LINENO: checking for $ac_func" >&5
46042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46043 if eval "test \"\${$as_ac_var+set}\" = set"; then
46044 echo $ECHO_N "(cached) $ECHO_C" >&6
46045 else
46046 if test x$gcc_no_link = xyes; then
46047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46049 { (exit 1); exit 1; }; }
46051 cat >conftest.$ac_ext <<_ACEOF
46052 /* confdefs.h. */
46053 _ACEOF
46054 cat confdefs.h >>conftest.$ac_ext
46055 cat >>conftest.$ac_ext <<_ACEOF
46056 /* end confdefs.h. */
46057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46059 #define $ac_func innocuous_$ac_func
46061 /* System header to define __stub macros and hopefully few prototypes,
46062 which can conflict with char $ac_func (); below.
46063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46064 <limits.h> exists even on freestanding compilers. */
46066 #ifdef __STDC__
46067 # include <limits.h>
46068 #else
46069 # include <assert.h>
46070 #endif
46072 #undef $ac_func
46074 /* Override any gcc2 internal prototype to avoid an error. */
46075 #ifdef __cplusplus
46076 extern "C"
46078 #endif
46079 /* We use char because int might match the return type of a gcc2
46080 builtin and then its argument prototype would still apply. */
46081 char $ac_func ();
46082 /* The GNU C library defines this for functions which it implements
46083 to always fail with ENOSYS. Some functions are actually named
46084 something starting with __ and the normal name is an alias. */
46085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46086 choke me
46087 #else
46088 char (*f) () = $ac_func;
46089 #endif
46090 #ifdef __cplusplus
46092 #endif
46095 main ()
46097 return f != $ac_func;
46099 return 0;
46101 _ACEOF
46102 rm -f conftest.$ac_objext conftest$ac_exeext
46103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46104 (eval $ac_link) 2>conftest.er1
46105 ac_status=$?
46106 grep -v '^ *+' conftest.er1 >conftest.err
46107 rm -f conftest.er1
46108 cat conftest.err >&5
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); } &&
46111 { ac_try='test -z "$ac_c_werror_flag"
46112 || test ! -s conftest.err'
46113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46114 (eval $ac_try) 2>&5
46115 ac_status=$?
46116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46117 (exit $ac_status); }; } &&
46118 { ac_try='test -s conftest$ac_exeext'
46119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46120 (eval $ac_try) 2>&5
46121 ac_status=$?
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); }; }; then
46124 eval "$as_ac_var=yes"
46125 else
46126 echo "$as_me: failed program was:" >&5
46127 sed 's/^/| /' conftest.$ac_ext >&5
46129 eval "$as_ac_var=no"
46131 rm -f conftest.err conftest.$ac_objext \
46132 conftest$ac_exeext conftest.$ac_ext
46134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46136 if test `eval echo '${'$as_ac_var'}'` = yes; then
46137 cat >>confdefs.h <<_ACEOF
46138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46139 _ACEOF
46142 done
46152 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46153 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46154 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46155 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46156 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 else
46161 ac_ext=cc
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46167 cat >conftest.$ac_ext <<_ACEOF
46168 /* confdefs.h. */
46169 _ACEOF
46170 cat confdefs.h >>conftest.$ac_ext
46171 cat >>conftest.$ac_ext <<_ACEOF
46172 /* end confdefs.h. */
46173 #include <math.h>
46175 main ()
46177 hypot(0, 0);
46179 return 0;
46181 _ACEOF
46182 rm -f conftest.$ac_objext
46183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46184 (eval $ac_compile) 2>conftest.er1
46185 ac_status=$?
46186 grep -v '^ *+' conftest.er1 >conftest.err
46187 rm -f conftest.er1
46188 cat conftest.err >&5
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); } &&
46191 { ac_try='test -z "$ac_cxx_werror_flag"
46192 || test ! -s conftest.err'
46193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194 (eval $ac_try) 2>&5
46195 ac_status=$?
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); }; } &&
46198 { ac_try='test -s conftest.$ac_objext'
46199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200 (eval $ac_try) 2>&5
46201 ac_status=$?
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); }; }; then
46204 glibcxx_cv_func_hypot_use=yes
46205 else
46206 echo "$as_me: failed program was:" >&5
46207 sed 's/^/| /' conftest.$ac_ext >&5
46209 glibcxx_cv_func_hypot_use=no
46211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46223 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46225 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46227 for ac_func in hypot
46229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46230 echo "$as_me:$LINENO: checking for $ac_func" >&5
46231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46232 if eval "test \"\${$as_ac_var+set}\" = set"; then
46233 echo $ECHO_N "(cached) $ECHO_C" >&6
46234 else
46235 if test x$gcc_no_link = xyes; then
46236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46238 { (exit 1); exit 1; }; }
46240 cat >conftest.$ac_ext <<_ACEOF
46241 /* confdefs.h. */
46242 _ACEOF
46243 cat confdefs.h >>conftest.$ac_ext
46244 cat >>conftest.$ac_ext <<_ACEOF
46245 /* end confdefs.h. */
46246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46248 #define $ac_func innocuous_$ac_func
46250 /* System header to define __stub macros and hopefully few prototypes,
46251 which can conflict with char $ac_func (); below.
46252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46253 <limits.h> exists even on freestanding compilers. */
46255 #ifdef __STDC__
46256 # include <limits.h>
46257 #else
46258 # include <assert.h>
46259 #endif
46261 #undef $ac_func
46263 /* Override any gcc2 internal prototype to avoid an error. */
46264 #ifdef __cplusplus
46265 extern "C"
46267 #endif
46268 /* We use char because int might match the return type of a gcc2
46269 builtin and then its argument prototype would still apply. */
46270 char $ac_func ();
46271 /* The GNU C library defines this for functions which it implements
46272 to always fail with ENOSYS. Some functions are actually named
46273 something starting with __ and the normal name is an alias. */
46274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46275 choke me
46276 #else
46277 char (*f) () = $ac_func;
46278 #endif
46279 #ifdef __cplusplus
46281 #endif
46284 main ()
46286 return f != $ac_func;
46288 return 0;
46290 _ACEOF
46291 rm -f conftest.$ac_objext conftest$ac_exeext
46292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46293 (eval $ac_link) 2>conftest.er1
46294 ac_status=$?
46295 grep -v '^ *+' conftest.er1 >conftest.err
46296 rm -f conftest.er1
46297 cat conftest.err >&5
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); } &&
46300 { ac_try='test -z "$ac_c_werror_flag"
46301 || test ! -s conftest.err'
46302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46303 (eval $ac_try) 2>&5
46304 ac_status=$?
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); }; } &&
46307 { ac_try='test -s conftest$ac_exeext'
46308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309 (eval $ac_try) 2>&5
46310 ac_status=$?
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); }; }; then
46313 eval "$as_ac_var=yes"
46314 else
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46318 eval "$as_ac_var=no"
46320 rm -f conftest.err conftest.$ac_objext \
46321 conftest$ac_exeext conftest.$ac_ext
46323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46325 if test `eval echo '${'$as_ac_var'}'` = yes; then
46326 cat >>confdefs.h <<_ACEOF
46327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46328 _ACEOF
46331 done
46333 else
46335 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46336 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46337 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46338 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46340 else
46344 ac_ext=cc
46345 ac_cpp='$CXXCPP $CPPFLAGS'
46346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350 cat >conftest.$ac_ext <<_ACEOF
46351 /* confdefs.h. */
46352 _ACEOF
46353 cat confdefs.h >>conftest.$ac_ext
46354 cat >>conftest.$ac_ext <<_ACEOF
46355 /* end confdefs.h. */
46356 #include <math.h>
46358 main ()
46360 _hypot(0, 0);
46362 return 0;
46364 _ACEOF
46365 rm -f conftest.$ac_objext
46366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46367 (eval $ac_compile) 2>conftest.er1
46368 ac_status=$?
46369 grep -v '^ *+' conftest.er1 >conftest.err
46370 rm -f conftest.er1
46371 cat conftest.err >&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); } &&
46374 { ac_try='test -z "$ac_cxx_werror_flag"
46375 || test ! -s conftest.err'
46376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46377 (eval $ac_try) 2>&5
46378 ac_status=$?
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); }; } &&
46381 { ac_try='test -s conftest.$ac_objext'
46382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383 (eval $ac_try) 2>&5
46384 ac_status=$?
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); }; }; then
46387 glibcxx_cv_func__hypot_use=yes
46388 else
46389 echo "$as_me: failed program was:" >&5
46390 sed 's/^/| /' conftest.$ac_ext >&5
46392 glibcxx_cv_func__hypot_use=no
46394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46395 ac_ext=c
46396 ac_cpp='$CPP $CPPFLAGS'
46397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46405 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46406 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46408 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46410 for ac_func in _hypot
46412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46413 echo "$as_me:$LINENO: checking for $ac_func" >&5
46414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46415 if eval "test \"\${$as_ac_var+set}\" = set"; then
46416 echo $ECHO_N "(cached) $ECHO_C" >&6
46417 else
46418 if test x$gcc_no_link = xyes; then
46419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46421 { (exit 1); exit 1; }; }
46423 cat >conftest.$ac_ext <<_ACEOF
46424 /* confdefs.h. */
46425 _ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h. */
46429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46431 #define $ac_func innocuous_$ac_func
46433 /* System header to define __stub macros and hopefully few prototypes,
46434 which can conflict with char $ac_func (); below.
46435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46436 <limits.h> exists even on freestanding compilers. */
46438 #ifdef __STDC__
46439 # include <limits.h>
46440 #else
46441 # include <assert.h>
46442 #endif
46444 #undef $ac_func
46446 /* Override any gcc2 internal prototype to avoid an error. */
46447 #ifdef __cplusplus
46448 extern "C"
46450 #endif
46451 /* We use char because int might match the return type of a gcc2
46452 builtin and then its argument prototype would still apply. */
46453 char $ac_func ();
46454 /* The GNU C library defines this for functions which it implements
46455 to always fail with ENOSYS. Some functions are actually named
46456 something starting with __ and the normal name is an alias. */
46457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46458 choke me
46459 #else
46460 char (*f) () = $ac_func;
46461 #endif
46462 #ifdef __cplusplus
46464 #endif
46467 main ()
46469 return f != $ac_func;
46471 return 0;
46473 _ACEOF
46474 rm -f conftest.$ac_objext conftest$ac_exeext
46475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46476 (eval $ac_link) 2>conftest.er1
46477 ac_status=$?
46478 grep -v '^ *+' conftest.er1 >conftest.err
46479 rm -f conftest.er1
46480 cat conftest.err >&5
46481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46482 (exit $ac_status); } &&
46483 { ac_try='test -z "$ac_c_werror_flag"
46484 || test ! -s conftest.err'
46485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46486 (eval $ac_try) 2>&5
46487 ac_status=$?
46488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46489 (exit $ac_status); }; } &&
46490 { ac_try='test -s conftest$ac_exeext'
46491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46492 (eval $ac_try) 2>&5
46493 ac_status=$?
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); }; }; then
46496 eval "$as_ac_var=yes"
46497 else
46498 echo "$as_me: failed program was:" >&5
46499 sed 's/^/| /' conftest.$ac_ext >&5
46501 eval "$as_ac_var=no"
46503 rm -f conftest.err conftest.$ac_objext \
46504 conftest$ac_exeext conftest.$ac_ext
46506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46508 if test `eval echo '${'$as_ac_var'}'` = yes; then
46509 cat >>confdefs.h <<_ACEOF
46510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46511 _ACEOF
46514 done
46524 echo "$as_me:$LINENO: checking for float trig functions" >&5
46525 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46526 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46527 echo $ECHO_N "(cached) $ECHO_C" >&6
46528 else
46532 ac_ext=cc
46533 ac_cpp='$CXXCPP $CPPFLAGS'
46534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46538 cat >conftest.$ac_ext <<_ACEOF
46539 /* confdefs.h. */
46540 _ACEOF
46541 cat confdefs.h >>conftest.$ac_ext
46542 cat >>conftest.$ac_ext <<_ACEOF
46543 /* end confdefs.h. */
46544 #include <math.h>
46546 main ()
46548 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46550 return 0;
46552 _ACEOF
46553 rm -f conftest.$ac_objext
46554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46555 (eval $ac_compile) 2>conftest.er1
46556 ac_status=$?
46557 grep -v '^ *+' conftest.er1 >conftest.err
46558 rm -f conftest.er1
46559 cat conftest.err >&5
46560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561 (exit $ac_status); } &&
46562 { ac_try='test -z "$ac_cxx_werror_flag"
46563 || test ! -s conftest.err'
46564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46565 (eval $ac_try) 2>&5
46566 ac_status=$?
46567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46568 (exit $ac_status); }; } &&
46569 { ac_try='test -s conftest.$ac_objext'
46570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46571 (eval $ac_try) 2>&5
46572 ac_status=$?
46573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574 (exit $ac_status); }; }; then
46575 glibcxx_cv_func_float_trig_use=yes
46576 else
46577 echo "$as_me: failed program was:" >&5
46578 sed 's/^/| /' conftest.$ac_ext >&5
46580 glibcxx_cv_func_float_trig_use=no
46582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46583 ac_ext=c
46584 ac_cpp='$CPP $CPPFLAGS'
46585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46592 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46593 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46603 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46606 echo "$as_me:$LINENO: checking for $ac_func" >&5
46607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46608 if eval "test \"\${$as_ac_var+set}\" = set"; then
46609 echo $ECHO_N "(cached) $ECHO_C" >&6
46610 else
46611 if test x$gcc_no_link = xyes; then
46612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46614 { (exit 1); exit 1; }; }
46616 cat >conftest.$ac_ext <<_ACEOF
46617 /* confdefs.h. */
46618 _ACEOF
46619 cat confdefs.h >>conftest.$ac_ext
46620 cat >>conftest.$ac_ext <<_ACEOF
46621 /* end confdefs.h. */
46622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46624 #define $ac_func innocuous_$ac_func
46626 /* System header to define __stub macros and hopefully few prototypes,
46627 which can conflict with char $ac_func (); below.
46628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46629 <limits.h> exists even on freestanding compilers. */
46631 #ifdef __STDC__
46632 # include <limits.h>
46633 #else
46634 # include <assert.h>
46635 #endif
46637 #undef $ac_func
46639 /* Override any gcc2 internal prototype to avoid an error. */
46640 #ifdef __cplusplus
46641 extern "C"
46643 #endif
46644 /* We use char because int might match the return type of a gcc2
46645 builtin and then its argument prototype would still apply. */
46646 char $ac_func ();
46647 /* The GNU C library defines this for functions which it implements
46648 to always fail with ENOSYS. Some functions are actually named
46649 something starting with __ and the normal name is an alias. */
46650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46651 choke me
46652 #else
46653 char (*f) () = $ac_func;
46654 #endif
46655 #ifdef __cplusplus
46657 #endif
46660 main ()
46662 return f != $ac_func;
46664 return 0;
46666 _ACEOF
46667 rm -f conftest.$ac_objext conftest$ac_exeext
46668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46669 (eval $ac_link) 2>conftest.er1
46670 ac_status=$?
46671 grep -v '^ *+' conftest.er1 >conftest.err
46672 rm -f conftest.er1
46673 cat conftest.err >&5
46674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46675 (exit $ac_status); } &&
46676 { ac_try='test -z "$ac_c_werror_flag"
46677 || test ! -s conftest.err'
46678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46679 (eval $ac_try) 2>&5
46680 ac_status=$?
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); }; } &&
46683 { ac_try='test -s conftest$ac_exeext'
46684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46685 (eval $ac_try) 2>&5
46686 ac_status=$?
46687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46688 (exit $ac_status); }; }; then
46689 eval "$as_ac_var=yes"
46690 else
46691 echo "$as_me: failed program was:" >&5
46692 sed 's/^/| /' conftest.$ac_ext >&5
46694 eval "$as_ac_var=no"
46696 rm -f conftest.err conftest.$ac_objext \
46697 conftest$ac_exeext conftest.$ac_ext
46699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46701 if test `eval echo '${'$as_ac_var'}'` = yes; then
46702 cat >>confdefs.h <<_ACEOF
46703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46704 _ACEOF
46707 done
46709 else
46710 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46711 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46712 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46713 echo $ECHO_N "(cached) $ECHO_C" >&6
46714 else
46718 ac_ext=cc
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724 cat >conftest.$ac_ext <<_ACEOF
46725 /* confdefs.h. */
46726 _ACEOF
46727 cat confdefs.h >>conftest.$ac_ext
46728 cat >>conftest.$ac_ext <<_ACEOF
46729 /* end confdefs.h. */
46730 #include <math.h>
46732 main ()
46734 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46736 return 0;
46738 _ACEOF
46739 rm -f conftest.$ac_objext
46740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46741 (eval $ac_compile) 2>conftest.er1
46742 ac_status=$?
46743 grep -v '^ *+' conftest.er1 >conftest.err
46744 rm -f conftest.er1
46745 cat conftest.err >&5
46746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747 (exit $ac_status); } &&
46748 { ac_try='test -z "$ac_cxx_werror_flag"
46749 || test ! -s conftest.err'
46750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46751 (eval $ac_try) 2>&5
46752 ac_status=$?
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); }; } &&
46755 { ac_try='test -s conftest.$ac_objext'
46756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46757 (eval $ac_try) 2>&5
46758 ac_status=$?
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); }; }; then
46761 glibcxx_cv_func__float_trig_use=yes
46762 else
46763 echo "$as_me: failed program was:" >&5
46764 sed 's/^/| /' conftest.$ac_ext >&5
46766 glibcxx_cv_func__float_trig_use=no
46768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46769 ac_ext=c
46770 ac_cpp='$CPP $CPPFLAGS'
46771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46777 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46778 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46779 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46789 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46792 echo "$as_me:$LINENO: checking for $ac_func" >&5
46793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46794 if eval "test \"\${$as_ac_var+set}\" = set"; then
46795 echo $ECHO_N "(cached) $ECHO_C" >&6
46796 else
46797 if test x$gcc_no_link = xyes; then
46798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46800 { (exit 1); exit 1; }; }
46802 cat >conftest.$ac_ext <<_ACEOF
46803 /* confdefs.h. */
46804 _ACEOF
46805 cat confdefs.h >>conftest.$ac_ext
46806 cat >>conftest.$ac_ext <<_ACEOF
46807 /* end confdefs.h. */
46808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46810 #define $ac_func innocuous_$ac_func
46812 /* System header to define __stub macros and hopefully few prototypes,
46813 which can conflict with char $ac_func (); below.
46814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46815 <limits.h> exists even on freestanding compilers. */
46817 #ifdef __STDC__
46818 # include <limits.h>
46819 #else
46820 # include <assert.h>
46821 #endif
46823 #undef $ac_func
46825 /* Override any gcc2 internal prototype to avoid an error. */
46826 #ifdef __cplusplus
46827 extern "C"
46829 #endif
46830 /* We use char because int might match the return type of a gcc2
46831 builtin and then its argument prototype would still apply. */
46832 char $ac_func ();
46833 /* The GNU C library defines this for functions which it implements
46834 to always fail with ENOSYS. Some functions are actually named
46835 something starting with __ and the normal name is an alias. */
46836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46837 choke me
46838 #else
46839 char (*f) () = $ac_func;
46840 #endif
46841 #ifdef __cplusplus
46843 #endif
46846 main ()
46848 return f != $ac_func;
46850 return 0;
46852 _ACEOF
46853 rm -f conftest.$ac_objext conftest$ac_exeext
46854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46855 (eval $ac_link) 2>conftest.er1
46856 ac_status=$?
46857 grep -v '^ *+' conftest.er1 >conftest.err
46858 rm -f conftest.er1
46859 cat conftest.err >&5
46860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861 (exit $ac_status); } &&
46862 { ac_try='test -z "$ac_c_werror_flag"
46863 || test ! -s conftest.err'
46864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46865 (eval $ac_try) 2>&5
46866 ac_status=$?
46867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46868 (exit $ac_status); }; } &&
46869 { ac_try='test -s conftest$ac_exeext'
46870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46871 (eval $ac_try) 2>&5
46872 ac_status=$?
46873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46874 (exit $ac_status); }; }; then
46875 eval "$as_ac_var=yes"
46876 else
46877 echo "$as_me: failed program was:" >&5
46878 sed 's/^/| /' conftest.$ac_ext >&5
46880 eval "$as_ac_var=no"
46882 rm -f conftest.err conftest.$ac_objext \
46883 conftest$ac_exeext conftest.$ac_ext
46885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46887 if test `eval echo '${'$as_ac_var'}'` = yes; then
46888 cat >>confdefs.h <<_ACEOF
46889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46890 _ACEOF
46893 done
46911 echo "$as_me:$LINENO: checking for float round functions" >&5
46912 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46913 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46914 echo $ECHO_N "(cached) $ECHO_C" >&6
46915 else
46919 ac_ext=cc
46920 ac_cpp='$CXXCPP $CPPFLAGS'
46921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46925 cat >conftest.$ac_ext <<_ACEOF
46926 /* confdefs.h. */
46927 _ACEOF
46928 cat confdefs.h >>conftest.$ac_ext
46929 cat >>conftest.$ac_ext <<_ACEOF
46930 /* end confdefs.h. */
46931 #include <math.h>
46933 main ()
46935 ceilf (0); floorf (0);
46937 return 0;
46939 _ACEOF
46940 rm -f conftest.$ac_objext
46941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46942 (eval $ac_compile) 2>conftest.er1
46943 ac_status=$?
46944 grep -v '^ *+' conftest.er1 >conftest.err
46945 rm -f conftest.er1
46946 cat conftest.err >&5
46947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46948 (exit $ac_status); } &&
46949 { ac_try='test -z "$ac_cxx_werror_flag"
46950 || test ! -s conftest.err'
46951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46952 (eval $ac_try) 2>&5
46953 ac_status=$?
46954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955 (exit $ac_status); }; } &&
46956 { ac_try='test -s conftest.$ac_objext'
46957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46958 (eval $ac_try) 2>&5
46959 ac_status=$?
46960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961 (exit $ac_status); }; }; then
46962 glibcxx_cv_func_float_round_use=yes
46963 else
46964 echo "$as_me: failed program was:" >&5
46965 sed 's/^/| /' conftest.$ac_ext >&5
46967 glibcxx_cv_func_float_round_use=no
46969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46970 ac_ext=c
46971 ac_cpp='$CPP $CPPFLAGS'
46972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46979 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46980 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46983 for ac_func in ceilf floorf
46985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46986 echo "$as_me:$LINENO: checking for $ac_func" >&5
46987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46988 if eval "test \"\${$as_ac_var+set}\" = set"; then
46989 echo $ECHO_N "(cached) $ECHO_C" >&6
46990 else
46991 if test x$gcc_no_link = xyes; then
46992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46994 { (exit 1); exit 1; }; }
46996 cat >conftest.$ac_ext <<_ACEOF
46997 /* confdefs.h. */
46998 _ACEOF
46999 cat confdefs.h >>conftest.$ac_ext
47000 cat >>conftest.$ac_ext <<_ACEOF
47001 /* end confdefs.h. */
47002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47004 #define $ac_func innocuous_$ac_func
47006 /* System header to define __stub macros and hopefully few prototypes,
47007 which can conflict with char $ac_func (); below.
47008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47009 <limits.h> exists even on freestanding compilers. */
47011 #ifdef __STDC__
47012 # include <limits.h>
47013 #else
47014 # include <assert.h>
47015 #endif
47017 #undef $ac_func
47019 /* Override any gcc2 internal prototype to avoid an error. */
47020 #ifdef __cplusplus
47021 extern "C"
47023 #endif
47024 /* We use char because int might match the return type of a gcc2
47025 builtin and then its argument prototype would still apply. */
47026 char $ac_func ();
47027 /* The GNU C library defines this for functions which it implements
47028 to always fail with ENOSYS. Some functions are actually named
47029 something starting with __ and the normal name is an alias. */
47030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47031 choke me
47032 #else
47033 char (*f) () = $ac_func;
47034 #endif
47035 #ifdef __cplusplus
47037 #endif
47040 main ()
47042 return f != $ac_func;
47044 return 0;
47046 _ACEOF
47047 rm -f conftest.$ac_objext conftest$ac_exeext
47048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47049 (eval $ac_link) 2>conftest.er1
47050 ac_status=$?
47051 grep -v '^ *+' conftest.er1 >conftest.err
47052 rm -f conftest.er1
47053 cat conftest.err >&5
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); } &&
47056 { ac_try='test -z "$ac_c_werror_flag"
47057 || test ! -s conftest.err'
47058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47059 (eval $ac_try) 2>&5
47060 ac_status=$?
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; } &&
47063 { ac_try='test -s conftest$ac_exeext'
47064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47065 (eval $ac_try) 2>&5
47066 ac_status=$?
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); }; }; then
47069 eval "$as_ac_var=yes"
47070 else
47071 echo "$as_me: failed program was:" >&5
47072 sed 's/^/| /' conftest.$ac_ext >&5
47074 eval "$as_ac_var=no"
47076 rm -f conftest.err conftest.$ac_objext \
47077 conftest$ac_exeext conftest.$ac_ext
47079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47081 if test `eval echo '${'$as_ac_var'}'` = yes; then
47082 cat >>confdefs.h <<_ACEOF
47083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47084 _ACEOF
47087 done
47089 else
47090 echo "$as_me:$LINENO: checking for _float round functions" >&5
47091 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47092 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47093 echo $ECHO_N "(cached) $ECHO_C" >&6
47094 else
47098 ac_ext=cc
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47104 cat >conftest.$ac_ext <<_ACEOF
47105 /* confdefs.h. */
47106 _ACEOF
47107 cat confdefs.h >>conftest.$ac_ext
47108 cat >>conftest.$ac_ext <<_ACEOF
47109 /* end confdefs.h. */
47110 #include <math.h>
47112 main ()
47114 _ceilf (0); _floorf (0);
47116 return 0;
47118 _ACEOF
47119 rm -f conftest.$ac_objext
47120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47121 (eval $ac_compile) 2>conftest.er1
47122 ac_status=$?
47123 grep -v '^ *+' conftest.er1 >conftest.err
47124 rm -f conftest.er1
47125 cat conftest.err >&5
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); } &&
47128 { ac_try='test -z "$ac_cxx_werror_flag"
47129 || test ! -s conftest.err'
47130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47131 (eval $ac_try) 2>&5
47132 ac_status=$?
47133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134 (exit $ac_status); }; } &&
47135 { ac_try='test -s conftest.$ac_objext'
47136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47137 (eval $ac_try) 2>&5
47138 ac_status=$?
47139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140 (exit $ac_status); }; }; then
47141 glibcxx_cv_func__float_round_use=yes
47142 else
47143 echo "$as_me: failed program was:" >&5
47144 sed 's/^/| /' conftest.$ac_ext >&5
47146 glibcxx_cv_func__float_round_use=no
47148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47149 ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47157 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47158 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47159 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47162 for ac_func in _ceilf _floorf
47164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47165 echo "$as_me:$LINENO: checking for $ac_func" >&5
47166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47167 if eval "test \"\${$as_ac_var+set}\" = set"; then
47168 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 else
47170 if test x$gcc_no_link = xyes; then
47171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47173 { (exit 1); exit 1; }; }
47175 cat >conftest.$ac_ext <<_ACEOF
47176 /* confdefs.h. */
47177 _ACEOF
47178 cat confdefs.h >>conftest.$ac_ext
47179 cat >>conftest.$ac_ext <<_ACEOF
47180 /* end confdefs.h. */
47181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47183 #define $ac_func innocuous_$ac_func
47185 /* System header to define __stub macros and hopefully few prototypes,
47186 which can conflict with char $ac_func (); below.
47187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47188 <limits.h> exists even on freestanding compilers. */
47190 #ifdef __STDC__
47191 # include <limits.h>
47192 #else
47193 # include <assert.h>
47194 #endif
47196 #undef $ac_func
47198 /* Override any gcc2 internal prototype to avoid an error. */
47199 #ifdef __cplusplus
47200 extern "C"
47202 #endif
47203 /* We use char because int might match the return type of a gcc2
47204 builtin and then its argument prototype would still apply. */
47205 char $ac_func ();
47206 /* The GNU C library defines this for functions which it implements
47207 to always fail with ENOSYS. Some functions are actually named
47208 something starting with __ and the normal name is an alias. */
47209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47210 choke me
47211 #else
47212 char (*f) () = $ac_func;
47213 #endif
47214 #ifdef __cplusplus
47216 #endif
47219 main ()
47221 return f != $ac_func;
47223 return 0;
47225 _ACEOF
47226 rm -f conftest.$ac_objext conftest$ac_exeext
47227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47228 (eval $ac_link) 2>conftest.er1
47229 ac_status=$?
47230 grep -v '^ *+' conftest.er1 >conftest.err
47231 rm -f conftest.er1
47232 cat conftest.err >&5
47233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234 (exit $ac_status); } &&
47235 { ac_try='test -z "$ac_c_werror_flag"
47236 || test ! -s conftest.err'
47237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47238 (eval $ac_try) 2>&5
47239 ac_status=$?
47240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241 (exit $ac_status); }; } &&
47242 { ac_try='test -s conftest$ac_exeext'
47243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47244 (eval $ac_try) 2>&5
47245 ac_status=$?
47246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47247 (exit $ac_status); }; }; then
47248 eval "$as_ac_var=yes"
47249 else
47250 echo "$as_me: failed program was:" >&5
47251 sed 's/^/| /' conftest.$ac_ext >&5
47253 eval "$as_ac_var=no"
47255 rm -f conftest.err conftest.$ac_objext \
47256 conftest$ac_exeext conftest.$ac_ext
47258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47260 if test `eval echo '${'$as_ac_var'}'` = yes; then
47261 cat >>confdefs.h <<_ACEOF
47262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47263 _ACEOF
47266 done
47278 echo "$as_me:$LINENO: checking for expf declaration" >&5
47279 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47280 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47281 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47282 echo $ECHO_N "(cached) $ECHO_C" >&6
47283 else
47287 ac_ext=cc
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47293 cat >conftest.$ac_ext <<_ACEOF
47294 /* confdefs.h. */
47295 _ACEOF
47296 cat confdefs.h >>conftest.$ac_ext
47297 cat >>conftest.$ac_ext <<_ACEOF
47298 /* end confdefs.h. */
47299 #include <math.h>
47300 #ifdef HAVE_IEEEFP_H
47301 #include <ieeefp.h>
47302 #endif
47305 main ()
47307 expf(0);
47309 return 0;
47311 _ACEOF
47312 rm -f conftest.$ac_objext
47313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47314 (eval $ac_compile) 2>conftest.er1
47315 ac_status=$?
47316 grep -v '^ *+' conftest.er1 >conftest.err
47317 rm -f conftest.er1
47318 cat conftest.err >&5
47319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47320 (exit $ac_status); } &&
47321 { ac_try='test -z "$ac_cxx_werror_flag"
47322 || test ! -s conftest.err'
47323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47324 (eval $ac_try) 2>&5
47325 ac_status=$?
47326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327 (exit $ac_status); }; } &&
47328 { ac_try='test -s conftest.$ac_objext'
47329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47330 (eval $ac_try) 2>&5
47331 ac_status=$?
47332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333 (exit $ac_status); }; }; then
47334 glibcxx_cv_func_expf_use=yes
47335 else
47336 echo "$as_me: failed program was:" >&5
47337 sed 's/^/| /' conftest.$ac_ext >&5
47339 glibcxx_cv_func_expf_use=no
47341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47342 ac_ext=c
47343 ac_cpp='$CPP $CPPFLAGS'
47344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47353 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47355 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47357 for ac_func in expf
47359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47360 echo "$as_me:$LINENO: checking for $ac_func" >&5
47361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47362 if eval "test \"\${$as_ac_var+set}\" = set"; then
47363 echo $ECHO_N "(cached) $ECHO_C" >&6
47364 else
47365 if test x$gcc_no_link = xyes; then
47366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47368 { (exit 1); exit 1; }; }
47370 cat >conftest.$ac_ext <<_ACEOF
47371 /* confdefs.h. */
47372 _ACEOF
47373 cat confdefs.h >>conftest.$ac_ext
47374 cat >>conftest.$ac_ext <<_ACEOF
47375 /* end confdefs.h. */
47376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47378 #define $ac_func innocuous_$ac_func
47380 /* System header to define __stub macros and hopefully few prototypes,
47381 which can conflict with char $ac_func (); below.
47382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47383 <limits.h> exists even on freestanding compilers. */
47385 #ifdef __STDC__
47386 # include <limits.h>
47387 #else
47388 # include <assert.h>
47389 #endif
47391 #undef $ac_func
47393 /* Override any gcc2 internal prototype to avoid an error. */
47394 #ifdef __cplusplus
47395 extern "C"
47397 #endif
47398 /* We use char because int might match the return type of a gcc2
47399 builtin and then its argument prototype would still apply. */
47400 char $ac_func ();
47401 /* The GNU C library defines this for functions which it implements
47402 to always fail with ENOSYS. Some functions are actually named
47403 something starting with __ and the normal name is an alias. */
47404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47405 choke me
47406 #else
47407 char (*f) () = $ac_func;
47408 #endif
47409 #ifdef __cplusplus
47411 #endif
47414 main ()
47416 return f != $ac_func;
47418 return 0;
47420 _ACEOF
47421 rm -f conftest.$ac_objext conftest$ac_exeext
47422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47423 (eval $ac_link) 2>conftest.er1
47424 ac_status=$?
47425 grep -v '^ *+' conftest.er1 >conftest.err
47426 rm -f conftest.er1
47427 cat conftest.err >&5
47428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429 (exit $ac_status); } &&
47430 { ac_try='test -z "$ac_c_werror_flag"
47431 || test ! -s conftest.err'
47432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47433 (eval $ac_try) 2>&5
47434 ac_status=$?
47435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47436 (exit $ac_status); }; } &&
47437 { ac_try='test -s conftest$ac_exeext'
47438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47439 (eval $ac_try) 2>&5
47440 ac_status=$?
47441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442 (exit $ac_status); }; }; then
47443 eval "$as_ac_var=yes"
47444 else
47445 echo "$as_me: failed program was:" >&5
47446 sed 's/^/| /' conftest.$ac_ext >&5
47448 eval "$as_ac_var=no"
47450 rm -f conftest.err conftest.$ac_objext \
47451 conftest$ac_exeext conftest.$ac_ext
47453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47455 if test `eval echo '${'$as_ac_var'}'` = yes; then
47456 cat >>confdefs.h <<_ACEOF
47457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47458 _ACEOF
47461 done
47463 else
47465 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47466 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47467 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47468 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47469 echo $ECHO_N "(cached) $ECHO_C" >&6
47470 else
47474 ac_ext=cc
47475 ac_cpp='$CXXCPP $CPPFLAGS'
47476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47480 cat >conftest.$ac_ext <<_ACEOF
47481 /* confdefs.h. */
47482 _ACEOF
47483 cat confdefs.h >>conftest.$ac_ext
47484 cat >>conftest.$ac_ext <<_ACEOF
47485 /* end confdefs.h. */
47486 #include <math.h>
47487 #ifdef HAVE_IEEEFP_H
47488 #include <ieeefp.h>
47489 #endif
47492 main ()
47494 _expf(0);
47496 return 0;
47498 _ACEOF
47499 rm -f conftest.$ac_objext
47500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47501 (eval $ac_compile) 2>conftest.er1
47502 ac_status=$?
47503 grep -v '^ *+' conftest.er1 >conftest.err
47504 rm -f conftest.er1
47505 cat conftest.err >&5
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); } &&
47508 { ac_try='test -z "$ac_cxx_werror_flag"
47509 || test ! -s conftest.err'
47510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47511 (eval $ac_try) 2>&5
47512 ac_status=$?
47513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47514 (exit $ac_status); }; } &&
47515 { ac_try='test -s conftest.$ac_objext'
47516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47517 (eval $ac_try) 2>&5
47518 ac_status=$?
47519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520 (exit $ac_status); }; }; then
47521 glibcxx_cv_func__expf_use=yes
47522 else
47523 echo "$as_me: failed program was:" >&5
47524 sed 's/^/| /' conftest.$ac_ext >&5
47526 glibcxx_cv_func__expf_use=no
47528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47529 ac_ext=c
47530 ac_cpp='$CPP $CPPFLAGS'
47531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47540 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47542 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47544 for ac_func in _expf
47546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47547 echo "$as_me:$LINENO: checking for $ac_func" >&5
47548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47549 if eval "test \"\${$as_ac_var+set}\" = set"; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47552 if test x$gcc_no_link = xyes; then
47553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47555 { (exit 1); exit 1; }; }
47557 cat >conftest.$ac_ext <<_ACEOF
47558 /* confdefs.h. */
47559 _ACEOF
47560 cat confdefs.h >>conftest.$ac_ext
47561 cat >>conftest.$ac_ext <<_ACEOF
47562 /* end confdefs.h. */
47563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47565 #define $ac_func innocuous_$ac_func
47567 /* System header to define __stub macros and hopefully few prototypes,
47568 which can conflict with char $ac_func (); below.
47569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47570 <limits.h> exists even on freestanding compilers. */
47572 #ifdef __STDC__
47573 # include <limits.h>
47574 #else
47575 # include <assert.h>
47576 #endif
47578 #undef $ac_func
47580 /* Override any gcc2 internal prototype to avoid an error. */
47581 #ifdef __cplusplus
47582 extern "C"
47584 #endif
47585 /* We use char because int might match the return type of a gcc2
47586 builtin and then its argument prototype would still apply. */
47587 char $ac_func ();
47588 /* The GNU C library defines this for functions which it implements
47589 to always fail with ENOSYS. Some functions are actually named
47590 something starting with __ and the normal name is an alias. */
47591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47592 choke me
47593 #else
47594 char (*f) () = $ac_func;
47595 #endif
47596 #ifdef __cplusplus
47598 #endif
47601 main ()
47603 return f != $ac_func;
47605 return 0;
47607 _ACEOF
47608 rm -f conftest.$ac_objext conftest$ac_exeext
47609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47610 (eval $ac_link) 2>conftest.er1
47611 ac_status=$?
47612 grep -v '^ *+' conftest.er1 >conftest.err
47613 rm -f conftest.er1
47614 cat conftest.err >&5
47615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47616 (exit $ac_status); } &&
47617 { ac_try='test -z "$ac_c_werror_flag"
47618 || test ! -s conftest.err'
47619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47620 (eval $ac_try) 2>&5
47621 ac_status=$?
47622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47623 (exit $ac_status); }; } &&
47624 { ac_try='test -s conftest$ac_exeext'
47625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47626 (eval $ac_try) 2>&5
47627 ac_status=$?
47628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629 (exit $ac_status); }; }; then
47630 eval "$as_ac_var=yes"
47631 else
47632 echo "$as_me: failed program was:" >&5
47633 sed 's/^/| /' conftest.$ac_ext >&5
47635 eval "$as_ac_var=no"
47637 rm -f conftest.err conftest.$ac_objext \
47638 conftest$ac_exeext conftest.$ac_ext
47640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47642 if test `eval echo '${'$as_ac_var'}'` = yes; then
47643 cat >>confdefs.h <<_ACEOF
47644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47645 _ACEOF
47648 done
47658 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47659 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47660 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47661 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47662 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 else
47667 ac_ext=cc
47668 ac_cpp='$CXXCPP $CPPFLAGS'
47669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47673 cat >conftest.$ac_ext <<_ACEOF
47674 /* confdefs.h. */
47675 _ACEOF
47676 cat confdefs.h >>conftest.$ac_ext
47677 cat >>conftest.$ac_ext <<_ACEOF
47678 /* end confdefs.h. */
47679 #include <math.h>
47680 #ifdef HAVE_IEEEFP_H
47681 #include <ieeefp.h>
47682 #endif
47685 main ()
47687 isnanf(0);
47689 return 0;
47691 _ACEOF
47692 rm -f conftest.$ac_objext
47693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47694 (eval $ac_compile) 2>conftest.er1
47695 ac_status=$?
47696 grep -v '^ *+' conftest.er1 >conftest.err
47697 rm -f conftest.er1
47698 cat conftest.err >&5
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); } &&
47701 { ac_try='test -z "$ac_cxx_werror_flag"
47702 || test ! -s conftest.err'
47703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47704 (eval $ac_try) 2>&5
47705 ac_status=$?
47706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707 (exit $ac_status); }; } &&
47708 { ac_try='test -s conftest.$ac_objext'
47709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47710 (eval $ac_try) 2>&5
47711 ac_status=$?
47712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47713 (exit $ac_status); }; }; then
47714 glibcxx_cv_func_isnanf_use=yes
47715 else
47716 echo "$as_me: failed program was:" >&5
47717 sed 's/^/| /' conftest.$ac_ext >&5
47719 glibcxx_cv_func_isnanf_use=no
47721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47722 ac_ext=c
47723 ac_cpp='$CPP $CPPFLAGS'
47724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47733 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47735 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47737 for ac_func in isnanf
47739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47740 echo "$as_me:$LINENO: checking for $ac_func" >&5
47741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47742 if eval "test \"\${$as_ac_var+set}\" = set"; then
47743 echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47745 if test x$gcc_no_link = xyes; then
47746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47748 { (exit 1); exit 1; }; }
47750 cat >conftest.$ac_ext <<_ACEOF
47751 /* confdefs.h. */
47752 _ACEOF
47753 cat confdefs.h >>conftest.$ac_ext
47754 cat >>conftest.$ac_ext <<_ACEOF
47755 /* end confdefs.h. */
47756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47758 #define $ac_func innocuous_$ac_func
47760 /* System header to define __stub macros and hopefully few prototypes,
47761 which can conflict with char $ac_func (); below.
47762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47763 <limits.h> exists even on freestanding compilers. */
47765 #ifdef __STDC__
47766 # include <limits.h>
47767 #else
47768 # include <assert.h>
47769 #endif
47771 #undef $ac_func
47773 /* Override any gcc2 internal prototype to avoid an error. */
47774 #ifdef __cplusplus
47775 extern "C"
47777 #endif
47778 /* We use char because int might match the return type of a gcc2
47779 builtin and then its argument prototype would still apply. */
47780 char $ac_func ();
47781 /* The GNU C library defines this for functions which it implements
47782 to always fail with ENOSYS. Some functions are actually named
47783 something starting with __ and the normal name is an alias. */
47784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47785 choke me
47786 #else
47787 char (*f) () = $ac_func;
47788 #endif
47789 #ifdef __cplusplus
47791 #endif
47794 main ()
47796 return f != $ac_func;
47798 return 0;
47800 _ACEOF
47801 rm -f conftest.$ac_objext conftest$ac_exeext
47802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47803 (eval $ac_link) 2>conftest.er1
47804 ac_status=$?
47805 grep -v '^ *+' conftest.er1 >conftest.err
47806 rm -f conftest.er1
47807 cat conftest.err >&5
47808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47809 (exit $ac_status); } &&
47810 { ac_try='test -z "$ac_c_werror_flag"
47811 || test ! -s conftest.err'
47812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47813 (eval $ac_try) 2>&5
47814 ac_status=$?
47815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47816 (exit $ac_status); }; } &&
47817 { ac_try='test -s conftest$ac_exeext'
47818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47819 (eval $ac_try) 2>&5
47820 ac_status=$?
47821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47822 (exit $ac_status); }; }; then
47823 eval "$as_ac_var=yes"
47824 else
47825 echo "$as_me: failed program was:" >&5
47826 sed 's/^/| /' conftest.$ac_ext >&5
47828 eval "$as_ac_var=no"
47830 rm -f conftest.err conftest.$ac_objext \
47831 conftest$ac_exeext conftest.$ac_ext
47833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47835 if test `eval echo '${'$as_ac_var'}'` = yes; then
47836 cat >>confdefs.h <<_ACEOF
47837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47838 _ACEOF
47841 done
47843 else
47845 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47846 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47847 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47848 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47849 echo $ECHO_N "(cached) $ECHO_C" >&6
47850 else
47854 ac_ext=cc
47855 ac_cpp='$CXXCPP $CPPFLAGS'
47856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47860 cat >conftest.$ac_ext <<_ACEOF
47861 /* confdefs.h. */
47862 _ACEOF
47863 cat confdefs.h >>conftest.$ac_ext
47864 cat >>conftest.$ac_ext <<_ACEOF
47865 /* end confdefs.h. */
47866 #include <math.h>
47867 #ifdef HAVE_IEEEFP_H
47868 #include <ieeefp.h>
47869 #endif
47872 main ()
47874 _isnanf(0);
47876 return 0;
47878 _ACEOF
47879 rm -f conftest.$ac_objext
47880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47881 (eval $ac_compile) 2>conftest.er1
47882 ac_status=$?
47883 grep -v '^ *+' conftest.er1 >conftest.err
47884 rm -f conftest.er1
47885 cat conftest.err >&5
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); } &&
47888 { ac_try='test -z "$ac_cxx_werror_flag"
47889 || test ! -s conftest.err'
47890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47891 (eval $ac_try) 2>&5
47892 ac_status=$?
47893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47894 (exit $ac_status); }; } &&
47895 { ac_try='test -s conftest.$ac_objext'
47896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47897 (eval $ac_try) 2>&5
47898 ac_status=$?
47899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47900 (exit $ac_status); }; }; then
47901 glibcxx_cv_func__isnanf_use=yes
47902 else
47903 echo "$as_me: failed program was:" >&5
47904 sed 's/^/| /' conftest.$ac_ext >&5
47906 glibcxx_cv_func__isnanf_use=no
47908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47909 ac_ext=c
47910 ac_cpp='$CPP $CPPFLAGS'
47911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47920 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47922 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47924 for ac_func in _isnanf
47926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47927 echo "$as_me:$LINENO: checking for $ac_func" >&5
47928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47929 if eval "test \"\${$as_ac_var+set}\" = set"; then
47930 echo $ECHO_N "(cached) $ECHO_C" >&6
47931 else
47932 if test x$gcc_no_link = xyes; then
47933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47935 { (exit 1); exit 1; }; }
47937 cat >conftest.$ac_ext <<_ACEOF
47938 /* confdefs.h. */
47939 _ACEOF
47940 cat confdefs.h >>conftest.$ac_ext
47941 cat >>conftest.$ac_ext <<_ACEOF
47942 /* end confdefs.h. */
47943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47945 #define $ac_func innocuous_$ac_func
47947 /* System header to define __stub macros and hopefully few prototypes,
47948 which can conflict with char $ac_func (); below.
47949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47950 <limits.h> exists even on freestanding compilers. */
47952 #ifdef __STDC__
47953 # include <limits.h>
47954 #else
47955 # include <assert.h>
47956 #endif
47958 #undef $ac_func
47960 /* Override any gcc2 internal prototype to avoid an error. */
47961 #ifdef __cplusplus
47962 extern "C"
47964 #endif
47965 /* We use char because int might match the return type of a gcc2
47966 builtin and then its argument prototype would still apply. */
47967 char $ac_func ();
47968 /* The GNU C library defines this for functions which it implements
47969 to always fail with ENOSYS. Some functions are actually named
47970 something starting with __ and the normal name is an alias. */
47971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47972 choke me
47973 #else
47974 char (*f) () = $ac_func;
47975 #endif
47976 #ifdef __cplusplus
47978 #endif
47981 main ()
47983 return f != $ac_func;
47985 return 0;
47987 _ACEOF
47988 rm -f conftest.$ac_objext conftest$ac_exeext
47989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47990 (eval $ac_link) 2>conftest.er1
47991 ac_status=$?
47992 grep -v '^ *+' conftest.er1 >conftest.err
47993 rm -f conftest.er1
47994 cat conftest.err >&5
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); } &&
47997 { ac_try='test -z "$ac_c_werror_flag"
47998 || test ! -s conftest.err'
47999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48000 (eval $ac_try) 2>&5
48001 ac_status=$?
48002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48003 (exit $ac_status); }; } &&
48004 { ac_try='test -s conftest$ac_exeext'
48005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48006 (eval $ac_try) 2>&5
48007 ac_status=$?
48008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48009 (exit $ac_status); }; }; then
48010 eval "$as_ac_var=yes"
48011 else
48012 echo "$as_me: failed program was:" >&5
48013 sed 's/^/| /' conftest.$ac_ext >&5
48015 eval "$as_ac_var=no"
48017 rm -f conftest.err conftest.$ac_objext \
48018 conftest$ac_exeext conftest.$ac_ext
48020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48022 if test `eval echo '${'$as_ac_var'}'` = yes; then
48023 cat >>confdefs.h <<_ACEOF
48024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48025 _ACEOF
48028 done
48038 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48039 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48040 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48041 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48042 echo $ECHO_N "(cached) $ECHO_C" >&6
48043 else
48047 ac_ext=cc
48048 ac_cpp='$CXXCPP $CPPFLAGS'
48049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48053 cat >conftest.$ac_ext <<_ACEOF
48054 /* confdefs.h. */
48055 _ACEOF
48056 cat confdefs.h >>conftest.$ac_ext
48057 cat >>conftest.$ac_ext <<_ACEOF
48058 /* end confdefs.h. */
48059 #include <math.h>
48060 #ifdef HAVE_IEEEFP_H
48061 #include <ieeefp.h>
48062 #endif
48065 main ()
48067 isinff(0);
48069 return 0;
48071 _ACEOF
48072 rm -f conftest.$ac_objext
48073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48074 (eval $ac_compile) 2>conftest.er1
48075 ac_status=$?
48076 grep -v '^ *+' conftest.er1 >conftest.err
48077 rm -f conftest.er1
48078 cat conftest.err >&5
48079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48080 (exit $ac_status); } &&
48081 { ac_try='test -z "$ac_cxx_werror_flag"
48082 || test ! -s conftest.err'
48083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48084 (eval $ac_try) 2>&5
48085 ac_status=$?
48086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087 (exit $ac_status); }; } &&
48088 { ac_try='test -s conftest.$ac_objext'
48089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48090 (eval $ac_try) 2>&5
48091 ac_status=$?
48092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48093 (exit $ac_status); }; }; then
48094 glibcxx_cv_func_isinff_use=yes
48095 else
48096 echo "$as_me: failed program was:" >&5
48097 sed 's/^/| /' conftest.$ac_ext >&5
48099 glibcxx_cv_func_isinff_use=no
48101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48102 ac_ext=c
48103 ac_cpp='$CPP $CPPFLAGS'
48104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48113 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48115 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48117 for ac_func in isinff
48119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48120 echo "$as_me:$LINENO: checking for $ac_func" >&5
48121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48122 if eval "test \"\${$as_ac_var+set}\" = set"; then
48123 echo $ECHO_N "(cached) $ECHO_C" >&6
48124 else
48125 if test x$gcc_no_link = xyes; then
48126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48128 { (exit 1); exit 1; }; }
48130 cat >conftest.$ac_ext <<_ACEOF
48131 /* confdefs.h. */
48132 _ACEOF
48133 cat confdefs.h >>conftest.$ac_ext
48134 cat >>conftest.$ac_ext <<_ACEOF
48135 /* end confdefs.h. */
48136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48138 #define $ac_func innocuous_$ac_func
48140 /* System header to define __stub macros and hopefully few prototypes,
48141 which can conflict with char $ac_func (); below.
48142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48143 <limits.h> exists even on freestanding compilers. */
48145 #ifdef __STDC__
48146 # include <limits.h>
48147 #else
48148 # include <assert.h>
48149 #endif
48151 #undef $ac_func
48153 /* Override any gcc2 internal prototype to avoid an error. */
48154 #ifdef __cplusplus
48155 extern "C"
48157 #endif
48158 /* We use char because int might match the return type of a gcc2
48159 builtin and then its argument prototype would still apply. */
48160 char $ac_func ();
48161 /* The GNU C library defines this for functions which it implements
48162 to always fail with ENOSYS. Some functions are actually named
48163 something starting with __ and the normal name is an alias. */
48164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48165 choke me
48166 #else
48167 char (*f) () = $ac_func;
48168 #endif
48169 #ifdef __cplusplus
48171 #endif
48174 main ()
48176 return f != $ac_func;
48178 return 0;
48180 _ACEOF
48181 rm -f conftest.$ac_objext conftest$ac_exeext
48182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48183 (eval $ac_link) 2>conftest.er1
48184 ac_status=$?
48185 grep -v '^ *+' conftest.er1 >conftest.err
48186 rm -f conftest.er1
48187 cat conftest.err >&5
48188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189 (exit $ac_status); } &&
48190 { ac_try='test -z "$ac_c_werror_flag"
48191 || test ! -s conftest.err'
48192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48193 (eval $ac_try) 2>&5
48194 ac_status=$?
48195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48196 (exit $ac_status); }; } &&
48197 { ac_try='test -s conftest$ac_exeext'
48198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48199 (eval $ac_try) 2>&5
48200 ac_status=$?
48201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48202 (exit $ac_status); }; }; then
48203 eval "$as_ac_var=yes"
48204 else
48205 echo "$as_me: failed program was:" >&5
48206 sed 's/^/| /' conftest.$ac_ext >&5
48208 eval "$as_ac_var=no"
48210 rm -f conftest.err conftest.$ac_objext \
48211 conftest$ac_exeext conftest.$ac_ext
48213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48215 if test `eval echo '${'$as_ac_var'}'` = yes; then
48216 cat >>confdefs.h <<_ACEOF
48217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48218 _ACEOF
48221 done
48223 else
48225 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48226 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48227 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48228 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48229 echo $ECHO_N "(cached) $ECHO_C" >&6
48230 else
48234 ac_ext=cc
48235 ac_cpp='$CXXCPP $CPPFLAGS'
48236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48240 cat >conftest.$ac_ext <<_ACEOF
48241 /* confdefs.h. */
48242 _ACEOF
48243 cat confdefs.h >>conftest.$ac_ext
48244 cat >>conftest.$ac_ext <<_ACEOF
48245 /* end confdefs.h. */
48246 #include <math.h>
48247 #ifdef HAVE_IEEEFP_H
48248 #include <ieeefp.h>
48249 #endif
48252 main ()
48254 _isinff(0);
48256 return 0;
48258 _ACEOF
48259 rm -f conftest.$ac_objext
48260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48261 (eval $ac_compile) 2>conftest.er1
48262 ac_status=$?
48263 grep -v '^ *+' conftest.er1 >conftest.err
48264 rm -f conftest.er1
48265 cat conftest.err >&5
48266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48267 (exit $ac_status); } &&
48268 { ac_try='test -z "$ac_cxx_werror_flag"
48269 || test ! -s conftest.err'
48270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48271 (eval $ac_try) 2>&5
48272 ac_status=$?
48273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48274 (exit $ac_status); }; } &&
48275 { ac_try='test -s conftest.$ac_objext'
48276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48277 (eval $ac_try) 2>&5
48278 ac_status=$?
48279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48280 (exit $ac_status); }; }; then
48281 glibcxx_cv_func__isinff_use=yes
48282 else
48283 echo "$as_me: failed program was:" >&5
48284 sed 's/^/| /' conftest.$ac_ext >&5
48286 glibcxx_cv_func__isinff_use=no
48288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48289 ac_ext=c
48290 ac_cpp='$CPP $CPPFLAGS'
48291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48300 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48302 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48304 for ac_func in _isinff
48306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48307 echo "$as_me:$LINENO: checking for $ac_func" >&5
48308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48309 if eval "test \"\${$as_ac_var+set}\" = set"; then
48310 echo $ECHO_N "(cached) $ECHO_C" >&6
48311 else
48312 if test x$gcc_no_link = xyes; then
48313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48315 { (exit 1); exit 1; }; }
48317 cat >conftest.$ac_ext <<_ACEOF
48318 /* confdefs.h. */
48319 _ACEOF
48320 cat confdefs.h >>conftest.$ac_ext
48321 cat >>conftest.$ac_ext <<_ACEOF
48322 /* end confdefs.h. */
48323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48325 #define $ac_func innocuous_$ac_func
48327 /* System header to define __stub macros and hopefully few prototypes,
48328 which can conflict with char $ac_func (); below.
48329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48330 <limits.h> exists even on freestanding compilers. */
48332 #ifdef __STDC__
48333 # include <limits.h>
48334 #else
48335 # include <assert.h>
48336 #endif
48338 #undef $ac_func
48340 /* Override any gcc2 internal prototype to avoid an error. */
48341 #ifdef __cplusplus
48342 extern "C"
48344 #endif
48345 /* We use char because int might match the return type of a gcc2
48346 builtin and then its argument prototype would still apply. */
48347 char $ac_func ();
48348 /* The GNU C library defines this for functions which it implements
48349 to always fail with ENOSYS. Some functions are actually named
48350 something starting with __ and the normal name is an alias. */
48351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48352 choke me
48353 #else
48354 char (*f) () = $ac_func;
48355 #endif
48356 #ifdef __cplusplus
48358 #endif
48361 main ()
48363 return f != $ac_func;
48365 return 0;
48367 _ACEOF
48368 rm -f conftest.$ac_objext conftest$ac_exeext
48369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48370 (eval $ac_link) 2>conftest.er1
48371 ac_status=$?
48372 grep -v '^ *+' conftest.er1 >conftest.err
48373 rm -f conftest.er1
48374 cat conftest.err >&5
48375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376 (exit $ac_status); } &&
48377 { ac_try='test -z "$ac_c_werror_flag"
48378 || test ! -s conftest.err'
48379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48380 (eval $ac_try) 2>&5
48381 ac_status=$?
48382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48383 (exit $ac_status); }; } &&
48384 { ac_try='test -s conftest$ac_exeext'
48385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48386 (eval $ac_try) 2>&5
48387 ac_status=$?
48388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48389 (exit $ac_status); }; }; then
48390 eval "$as_ac_var=yes"
48391 else
48392 echo "$as_me: failed program was:" >&5
48393 sed 's/^/| /' conftest.$ac_ext >&5
48395 eval "$as_ac_var=no"
48397 rm -f conftest.err conftest.$ac_objext \
48398 conftest$ac_exeext conftest.$ac_ext
48400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48402 if test `eval echo '${'$as_ac_var'}'` = yes; then
48403 cat >>confdefs.h <<_ACEOF
48404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48405 _ACEOF
48408 done
48418 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48419 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48420 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48421 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48422 echo $ECHO_N "(cached) $ECHO_C" >&6
48423 else
48427 ac_ext=cc
48428 ac_cpp='$CXXCPP $CPPFLAGS'
48429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48433 cat >conftest.$ac_ext <<_ACEOF
48434 /* confdefs.h. */
48435 _ACEOF
48436 cat confdefs.h >>conftest.$ac_ext
48437 cat >>conftest.$ac_ext <<_ACEOF
48438 /* end confdefs.h. */
48439 #include <math.h>
48441 main ()
48443 atan2f(0, 0);
48445 return 0;
48447 _ACEOF
48448 rm -f conftest.$ac_objext
48449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48450 (eval $ac_compile) 2>conftest.er1
48451 ac_status=$?
48452 grep -v '^ *+' conftest.er1 >conftest.err
48453 rm -f conftest.er1
48454 cat conftest.err >&5
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); } &&
48457 { ac_try='test -z "$ac_cxx_werror_flag"
48458 || test ! -s conftest.err'
48459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48460 (eval $ac_try) 2>&5
48461 ac_status=$?
48462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48463 (exit $ac_status); }; } &&
48464 { ac_try='test -s conftest.$ac_objext'
48465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48466 (eval $ac_try) 2>&5
48467 ac_status=$?
48468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48469 (exit $ac_status); }; }; then
48470 glibcxx_cv_func_atan2f_use=yes
48471 else
48472 echo "$as_me: failed program was:" >&5
48473 sed 's/^/| /' conftest.$ac_ext >&5
48475 glibcxx_cv_func_atan2f_use=no
48477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48478 ac_ext=c
48479 ac_cpp='$CPP $CPPFLAGS'
48480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48489 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48491 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48493 for ac_func in atan2f
48495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48496 echo "$as_me:$LINENO: checking for $ac_func" >&5
48497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48498 if eval "test \"\${$as_ac_var+set}\" = set"; then
48499 echo $ECHO_N "(cached) $ECHO_C" >&6
48500 else
48501 if test x$gcc_no_link = xyes; then
48502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48504 { (exit 1); exit 1; }; }
48506 cat >conftest.$ac_ext <<_ACEOF
48507 /* confdefs.h. */
48508 _ACEOF
48509 cat confdefs.h >>conftest.$ac_ext
48510 cat >>conftest.$ac_ext <<_ACEOF
48511 /* end confdefs.h. */
48512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48514 #define $ac_func innocuous_$ac_func
48516 /* System header to define __stub macros and hopefully few prototypes,
48517 which can conflict with char $ac_func (); below.
48518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48519 <limits.h> exists even on freestanding compilers. */
48521 #ifdef __STDC__
48522 # include <limits.h>
48523 #else
48524 # include <assert.h>
48525 #endif
48527 #undef $ac_func
48529 /* Override any gcc2 internal prototype to avoid an error. */
48530 #ifdef __cplusplus
48531 extern "C"
48533 #endif
48534 /* We use char because int might match the return type of a gcc2
48535 builtin and then its argument prototype would still apply. */
48536 char $ac_func ();
48537 /* The GNU C library defines this for functions which it implements
48538 to always fail with ENOSYS. Some functions are actually named
48539 something starting with __ and the normal name is an alias. */
48540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48541 choke me
48542 #else
48543 char (*f) () = $ac_func;
48544 #endif
48545 #ifdef __cplusplus
48547 #endif
48550 main ()
48552 return f != $ac_func;
48554 return 0;
48556 _ACEOF
48557 rm -f conftest.$ac_objext conftest$ac_exeext
48558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48559 (eval $ac_link) 2>conftest.er1
48560 ac_status=$?
48561 grep -v '^ *+' conftest.er1 >conftest.err
48562 rm -f conftest.er1
48563 cat conftest.err >&5
48564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48565 (exit $ac_status); } &&
48566 { ac_try='test -z "$ac_c_werror_flag"
48567 || test ! -s conftest.err'
48568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48569 (eval $ac_try) 2>&5
48570 ac_status=$?
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; } &&
48573 { ac_try='test -s conftest$ac_exeext'
48574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48575 (eval $ac_try) 2>&5
48576 ac_status=$?
48577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48578 (exit $ac_status); }; }; then
48579 eval "$as_ac_var=yes"
48580 else
48581 echo "$as_me: failed program was:" >&5
48582 sed 's/^/| /' conftest.$ac_ext >&5
48584 eval "$as_ac_var=no"
48586 rm -f conftest.err conftest.$ac_objext \
48587 conftest$ac_exeext conftest.$ac_ext
48589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48591 if test `eval echo '${'$as_ac_var'}'` = yes; then
48592 cat >>confdefs.h <<_ACEOF
48593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48594 _ACEOF
48597 done
48599 else
48601 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48602 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48603 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48604 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48605 echo $ECHO_N "(cached) $ECHO_C" >&6
48606 else
48610 ac_ext=cc
48611 ac_cpp='$CXXCPP $CPPFLAGS'
48612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48616 cat >conftest.$ac_ext <<_ACEOF
48617 /* confdefs.h. */
48618 _ACEOF
48619 cat confdefs.h >>conftest.$ac_ext
48620 cat >>conftest.$ac_ext <<_ACEOF
48621 /* end confdefs.h. */
48622 #include <math.h>
48624 main ()
48626 _atan2f(0, 0);
48628 return 0;
48630 _ACEOF
48631 rm -f conftest.$ac_objext
48632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48633 (eval $ac_compile) 2>conftest.er1
48634 ac_status=$?
48635 grep -v '^ *+' conftest.er1 >conftest.err
48636 rm -f conftest.er1
48637 cat conftest.err >&5
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); } &&
48640 { ac_try='test -z "$ac_cxx_werror_flag"
48641 || test ! -s conftest.err'
48642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48643 (eval $ac_try) 2>&5
48644 ac_status=$?
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); }; } &&
48647 { ac_try='test -s conftest.$ac_objext'
48648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48649 (eval $ac_try) 2>&5
48650 ac_status=$?
48651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652 (exit $ac_status); }; }; then
48653 glibcxx_cv_func__atan2f_use=yes
48654 else
48655 echo "$as_me: failed program was:" >&5
48656 sed 's/^/| /' conftest.$ac_ext >&5
48658 glibcxx_cv_func__atan2f_use=no
48660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48661 ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48672 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48674 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48676 for ac_func in _atan2f
48678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48679 echo "$as_me:$LINENO: checking for $ac_func" >&5
48680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48681 if eval "test \"\${$as_ac_var+set}\" = set"; then
48682 echo $ECHO_N "(cached) $ECHO_C" >&6
48683 else
48684 if test x$gcc_no_link = xyes; then
48685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48687 { (exit 1); exit 1; }; }
48689 cat >conftest.$ac_ext <<_ACEOF
48690 /* confdefs.h. */
48691 _ACEOF
48692 cat confdefs.h >>conftest.$ac_ext
48693 cat >>conftest.$ac_ext <<_ACEOF
48694 /* end confdefs.h. */
48695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48697 #define $ac_func innocuous_$ac_func
48699 /* System header to define __stub macros and hopefully few prototypes,
48700 which can conflict with char $ac_func (); below.
48701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48702 <limits.h> exists even on freestanding compilers. */
48704 #ifdef __STDC__
48705 # include <limits.h>
48706 #else
48707 # include <assert.h>
48708 #endif
48710 #undef $ac_func
48712 /* Override any gcc2 internal prototype to avoid an error. */
48713 #ifdef __cplusplus
48714 extern "C"
48716 #endif
48717 /* We use char because int might match the return type of a gcc2
48718 builtin and then its argument prototype would still apply. */
48719 char $ac_func ();
48720 /* The GNU C library defines this for functions which it implements
48721 to always fail with ENOSYS. Some functions are actually named
48722 something starting with __ and the normal name is an alias. */
48723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48724 choke me
48725 #else
48726 char (*f) () = $ac_func;
48727 #endif
48728 #ifdef __cplusplus
48730 #endif
48733 main ()
48735 return f != $ac_func;
48737 return 0;
48739 _ACEOF
48740 rm -f conftest.$ac_objext conftest$ac_exeext
48741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48742 (eval $ac_link) 2>conftest.er1
48743 ac_status=$?
48744 grep -v '^ *+' conftest.er1 >conftest.err
48745 rm -f conftest.er1
48746 cat conftest.err >&5
48747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48748 (exit $ac_status); } &&
48749 { ac_try='test -z "$ac_c_werror_flag"
48750 || test ! -s conftest.err'
48751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48752 (eval $ac_try) 2>&5
48753 ac_status=$?
48754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48755 (exit $ac_status); }; } &&
48756 { ac_try='test -s conftest$ac_exeext'
48757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48758 (eval $ac_try) 2>&5
48759 ac_status=$?
48760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48761 (exit $ac_status); }; }; then
48762 eval "$as_ac_var=yes"
48763 else
48764 echo "$as_me: failed program was:" >&5
48765 sed 's/^/| /' conftest.$ac_ext >&5
48767 eval "$as_ac_var=no"
48769 rm -f conftest.err conftest.$ac_objext \
48770 conftest$ac_exeext conftest.$ac_ext
48772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48774 if test `eval echo '${'$as_ac_var'}'` = yes; then
48775 cat >>confdefs.h <<_ACEOF
48776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48777 _ACEOF
48780 done
48790 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48791 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48792 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48793 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48794 echo $ECHO_N "(cached) $ECHO_C" >&6
48795 else
48799 ac_ext=cc
48800 ac_cpp='$CXXCPP $CPPFLAGS'
48801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48805 cat >conftest.$ac_ext <<_ACEOF
48806 /* confdefs.h. */
48807 _ACEOF
48808 cat confdefs.h >>conftest.$ac_ext
48809 cat >>conftest.$ac_ext <<_ACEOF
48810 /* end confdefs.h. */
48811 #include <math.h>
48812 #ifdef HAVE_IEEEFP_H
48813 #include <ieeefp.h>
48814 #endif
48817 main ()
48819 fabsf(0);
48821 return 0;
48823 _ACEOF
48824 rm -f conftest.$ac_objext
48825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48826 (eval $ac_compile) 2>conftest.er1
48827 ac_status=$?
48828 grep -v '^ *+' conftest.er1 >conftest.err
48829 rm -f conftest.er1
48830 cat conftest.err >&5
48831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48832 (exit $ac_status); } &&
48833 { ac_try='test -z "$ac_cxx_werror_flag"
48834 || test ! -s conftest.err'
48835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48836 (eval $ac_try) 2>&5
48837 ac_status=$?
48838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48839 (exit $ac_status); }; } &&
48840 { ac_try='test -s conftest.$ac_objext'
48841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48842 (eval $ac_try) 2>&5
48843 ac_status=$?
48844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845 (exit $ac_status); }; }; then
48846 glibcxx_cv_func_fabsf_use=yes
48847 else
48848 echo "$as_me: failed program was:" >&5
48849 sed 's/^/| /' conftest.$ac_ext >&5
48851 glibcxx_cv_func_fabsf_use=no
48853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48854 ac_ext=c
48855 ac_cpp='$CPP $CPPFLAGS'
48856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48865 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48867 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48869 for ac_func in fabsf
48871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48872 echo "$as_me:$LINENO: checking for $ac_func" >&5
48873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48874 if eval "test \"\${$as_ac_var+set}\" = set"; then
48875 echo $ECHO_N "(cached) $ECHO_C" >&6
48876 else
48877 if test x$gcc_no_link = xyes; then
48878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48880 { (exit 1); exit 1; }; }
48882 cat >conftest.$ac_ext <<_ACEOF
48883 /* confdefs.h. */
48884 _ACEOF
48885 cat confdefs.h >>conftest.$ac_ext
48886 cat >>conftest.$ac_ext <<_ACEOF
48887 /* end confdefs.h. */
48888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48890 #define $ac_func innocuous_$ac_func
48892 /* System header to define __stub macros and hopefully few prototypes,
48893 which can conflict with char $ac_func (); below.
48894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48895 <limits.h> exists even on freestanding compilers. */
48897 #ifdef __STDC__
48898 # include <limits.h>
48899 #else
48900 # include <assert.h>
48901 #endif
48903 #undef $ac_func
48905 /* Override any gcc2 internal prototype to avoid an error. */
48906 #ifdef __cplusplus
48907 extern "C"
48909 #endif
48910 /* We use char because int might match the return type of a gcc2
48911 builtin and then its argument prototype would still apply. */
48912 char $ac_func ();
48913 /* The GNU C library defines this for functions which it implements
48914 to always fail with ENOSYS. Some functions are actually named
48915 something starting with __ and the normal name is an alias. */
48916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48917 choke me
48918 #else
48919 char (*f) () = $ac_func;
48920 #endif
48921 #ifdef __cplusplus
48923 #endif
48926 main ()
48928 return f != $ac_func;
48930 return 0;
48932 _ACEOF
48933 rm -f conftest.$ac_objext conftest$ac_exeext
48934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48935 (eval $ac_link) 2>conftest.er1
48936 ac_status=$?
48937 grep -v '^ *+' conftest.er1 >conftest.err
48938 rm -f conftest.er1
48939 cat conftest.err >&5
48940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48941 (exit $ac_status); } &&
48942 { ac_try='test -z "$ac_c_werror_flag"
48943 || test ! -s conftest.err'
48944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48945 (eval $ac_try) 2>&5
48946 ac_status=$?
48947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48948 (exit $ac_status); }; } &&
48949 { ac_try='test -s conftest$ac_exeext'
48950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48951 (eval $ac_try) 2>&5
48952 ac_status=$?
48953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48954 (exit $ac_status); }; }; then
48955 eval "$as_ac_var=yes"
48956 else
48957 echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.$ac_ext >&5
48960 eval "$as_ac_var=no"
48962 rm -f conftest.err conftest.$ac_objext \
48963 conftest$ac_exeext conftest.$ac_ext
48965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48967 if test `eval echo '${'$as_ac_var'}'` = yes; then
48968 cat >>confdefs.h <<_ACEOF
48969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48970 _ACEOF
48973 done
48975 else
48977 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48978 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48979 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48980 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48981 echo $ECHO_N "(cached) $ECHO_C" >&6
48982 else
48986 ac_ext=cc
48987 ac_cpp='$CXXCPP $CPPFLAGS'
48988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48992 cat >conftest.$ac_ext <<_ACEOF
48993 /* confdefs.h. */
48994 _ACEOF
48995 cat confdefs.h >>conftest.$ac_ext
48996 cat >>conftest.$ac_ext <<_ACEOF
48997 /* end confdefs.h. */
48998 #include <math.h>
48999 #ifdef HAVE_IEEEFP_H
49000 #include <ieeefp.h>
49001 #endif
49004 main ()
49006 _fabsf(0);
49008 return 0;
49010 _ACEOF
49011 rm -f conftest.$ac_objext
49012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49013 (eval $ac_compile) 2>conftest.er1
49014 ac_status=$?
49015 grep -v '^ *+' conftest.er1 >conftest.err
49016 rm -f conftest.er1
49017 cat conftest.err >&5
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); } &&
49020 { ac_try='test -z "$ac_cxx_werror_flag"
49021 || test ! -s conftest.err'
49022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49023 (eval $ac_try) 2>&5
49024 ac_status=$?
49025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49026 (exit $ac_status); }; } &&
49027 { ac_try='test -s conftest.$ac_objext'
49028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49029 (eval $ac_try) 2>&5
49030 ac_status=$?
49031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49032 (exit $ac_status); }; }; then
49033 glibcxx_cv_func__fabsf_use=yes
49034 else
49035 echo "$as_me: failed program was:" >&5
49036 sed 's/^/| /' conftest.$ac_ext >&5
49038 glibcxx_cv_func__fabsf_use=no
49040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49041 ac_ext=c
49042 ac_cpp='$CPP $CPPFLAGS'
49043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49052 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49054 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49056 for ac_func in _fabsf
49058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49059 echo "$as_me:$LINENO: checking for $ac_func" >&5
49060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49061 if eval "test \"\${$as_ac_var+set}\" = set"; then
49062 echo $ECHO_N "(cached) $ECHO_C" >&6
49063 else
49064 if test x$gcc_no_link = xyes; then
49065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49067 { (exit 1); exit 1; }; }
49069 cat >conftest.$ac_ext <<_ACEOF
49070 /* confdefs.h. */
49071 _ACEOF
49072 cat confdefs.h >>conftest.$ac_ext
49073 cat >>conftest.$ac_ext <<_ACEOF
49074 /* end confdefs.h. */
49075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49077 #define $ac_func innocuous_$ac_func
49079 /* System header to define __stub macros and hopefully few prototypes,
49080 which can conflict with char $ac_func (); below.
49081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49082 <limits.h> exists even on freestanding compilers. */
49084 #ifdef __STDC__
49085 # include <limits.h>
49086 #else
49087 # include <assert.h>
49088 #endif
49090 #undef $ac_func
49092 /* Override any gcc2 internal prototype to avoid an error. */
49093 #ifdef __cplusplus
49094 extern "C"
49096 #endif
49097 /* We use char because int might match the return type of a gcc2
49098 builtin and then its argument prototype would still apply. */
49099 char $ac_func ();
49100 /* The GNU C library defines this for functions which it implements
49101 to always fail with ENOSYS. Some functions are actually named
49102 something starting with __ and the normal name is an alias. */
49103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49104 choke me
49105 #else
49106 char (*f) () = $ac_func;
49107 #endif
49108 #ifdef __cplusplus
49110 #endif
49113 main ()
49115 return f != $ac_func;
49117 return 0;
49119 _ACEOF
49120 rm -f conftest.$ac_objext conftest$ac_exeext
49121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49122 (eval $ac_link) 2>conftest.er1
49123 ac_status=$?
49124 grep -v '^ *+' conftest.er1 >conftest.err
49125 rm -f conftest.er1
49126 cat conftest.err >&5
49127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49128 (exit $ac_status); } &&
49129 { ac_try='test -z "$ac_c_werror_flag"
49130 || test ! -s conftest.err'
49131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49132 (eval $ac_try) 2>&5
49133 ac_status=$?
49134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49135 (exit $ac_status); }; } &&
49136 { ac_try='test -s conftest$ac_exeext'
49137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49138 (eval $ac_try) 2>&5
49139 ac_status=$?
49140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49141 (exit $ac_status); }; }; then
49142 eval "$as_ac_var=yes"
49143 else
49144 echo "$as_me: failed program was:" >&5
49145 sed 's/^/| /' conftest.$ac_ext >&5
49147 eval "$as_ac_var=no"
49149 rm -f conftest.err conftest.$ac_objext \
49150 conftest$ac_exeext conftest.$ac_ext
49152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49154 if test `eval echo '${'$as_ac_var'}'` = yes; then
49155 cat >>confdefs.h <<_ACEOF
49156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49157 _ACEOF
49160 done
49170 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49171 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49172 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49173 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49174 echo $ECHO_N "(cached) $ECHO_C" >&6
49175 else
49179 ac_ext=cc
49180 ac_cpp='$CXXCPP $CPPFLAGS'
49181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49185 cat >conftest.$ac_ext <<_ACEOF
49186 /* confdefs.h. */
49187 _ACEOF
49188 cat confdefs.h >>conftest.$ac_ext
49189 cat >>conftest.$ac_ext <<_ACEOF
49190 /* end confdefs.h. */
49191 #include <math.h>
49193 main ()
49195 fmodf(0, 0);
49197 return 0;
49199 _ACEOF
49200 rm -f conftest.$ac_objext
49201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49202 (eval $ac_compile) 2>conftest.er1
49203 ac_status=$?
49204 grep -v '^ *+' conftest.er1 >conftest.err
49205 rm -f conftest.er1
49206 cat conftest.err >&5
49207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49208 (exit $ac_status); } &&
49209 { ac_try='test -z "$ac_cxx_werror_flag"
49210 || test ! -s conftest.err'
49211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49212 (eval $ac_try) 2>&5
49213 ac_status=$?
49214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49215 (exit $ac_status); }; } &&
49216 { ac_try='test -s conftest.$ac_objext'
49217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49218 (eval $ac_try) 2>&5
49219 ac_status=$?
49220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49221 (exit $ac_status); }; }; then
49222 glibcxx_cv_func_fmodf_use=yes
49223 else
49224 echo "$as_me: failed program was:" >&5
49225 sed 's/^/| /' conftest.$ac_ext >&5
49227 glibcxx_cv_func_fmodf_use=no
49229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49230 ac_ext=c
49231 ac_cpp='$CPP $CPPFLAGS'
49232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49241 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49243 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49245 for ac_func in fmodf
49247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49248 echo "$as_me:$LINENO: checking for $ac_func" >&5
49249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49250 if eval "test \"\${$as_ac_var+set}\" = set"; then
49251 echo $ECHO_N "(cached) $ECHO_C" >&6
49252 else
49253 if test x$gcc_no_link = xyes; then
49254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49256 { (exit 1); exit 1; }; }
49258 cat >conftest.$ac_ext <<_ACEOF
49259 /* confdefs.h. */
49260 _ACEOF
49261 cat confdefs.h >>conftest.$ac_ext
49262 cat >>conftest.$ac_ext <<_ACEOF
49263 /* end confdefs.h. */
49264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49266 #define $ac_func innocuous_$ac_func
49268 /* System header to define __stub macros and hopefully few prototypes,
49269 which can conflict with char $ac_func (); below.
49270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49271 <limits.h> exists even on freestanding compilers. */
49273 #ifdef __STDC__
49274 # include <limits.h>
49275 #else
49276 # include <assert.h>
49277 #endif
49279 #undef $ac_func
49281 /* Override any gcc2 internal prototype to avoid an error. */
49282 #ifdef __cplusplus
49283 extern "C"
49285 #endif
49286 /* We use char because int might match the return type of a gcc2
49287 builtin and then its argument prototype would still apply. */
49288 char $ac_func ();
49289 /* The GNU C library defines this for functions which it implements
49290 to always fail with ENOSYS. Some functions are actually named
49291 something starting with __ and the normal name is an alias. */
49292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49293 choke me
49294 #else
49295 char (*f) () = $ac_func;
49296 #endif
49297 #ifdef __cplusplus
49299 #endif
49302 main ()
49304 return f != $ac_func;
49306 return 0;
49308 _ACEOF
49309 rm -f conftest.$ac_objext conftest$ac_exeext
49310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49311 (eval $ac_link) 2>conftest.er1
49312 ac_status=$?
49313 grep -v '^ *+' conftest.er1 >conftest.err
49314 rm -f conftest.er1
49315 cat conftest.err >&5
49316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49317 (exit $ac_status); } &&
49318 { ac_try='test -z "$ac_c_werror_flag"
49319 || test ! -s conftest.err'
49320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49321 (eval $ac_try) 2>&5
49322 ac_status=$?
49323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49324 (exit $ac_status); }; } &&
49325 { ac_try='test -s conftest$ac_exeext'
49326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49327 (eval $ac_try) 2>&5
49328 ac_status=$?
49329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49330 (exit $ac_status); }; }; then
49331 eval "$as_ac_var=yes"
49332 else
49333 echo "$as_me: failed program was:" >&5
49334 sed 's/^/| /' conftest.$ac_ext >&5
49336 eval "$as_ac_var=no"
49338 rm -f conftest.err conftest.$ac_objext \
49339 conftest$ac_exeext conftest.$ac_ext
49341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49343 if test `eval echo '${'$as_ac_var'}'` = yes; then
49344 cat >>confdefs.h <<_ACEOF
49345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49346 _ACEOF
49349 done
49351 else
49353 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49354 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49355 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49356 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49357 echo $ECHO_N "(cached) $ECHO_C" >&6
49358 else
49362 ac_ext=cc
49363 ac_cpp='$CXXCPP $CPPFLAGS'
49364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49368 cat >conftest.$ac_ext <<_ACEOF
49369 /* confdefs.h. */
49370 _ACEOF
49371 cat confdefs.h >>conftest.$ac_ext
49372 cat >>conftest.$ac_ext <<_ACEOF
49373 /* end confdefs.h. */
49374 #include <math.h>
49376 main ()
49378 _fmodf(0, 0);
49380 return 0;
49382 _ACEOF
49383 rm -f conftest.$ac_objext
49384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49385 (eval $ac_compile) 2>conftest.er1
49386 ac_status=$?
49387 grep -v '^ *+' conftest.er1 >conftest.err
49388 rm -f conftest.er1
49389 cat conftest.err >&5
49390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391 (exit $ac_status); } &&
49392 { ac_try='test -z "$ac_cxx_werror_flag"
49393 || test ! -s conftest.err'
49394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49395 (eval $ac_try) 2>&5
49396 ac_status=$?
49397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49398 (exit $ac_status); }; } &&
49399 { ac_try='test -s conftest.$ac_objext'
49400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49401 (eval $ac_try) 2>&5
49402 ac_status=$?
49403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49404 (exit $ac_status); }; }; then
49405 glibcxx_cv_func__fmodf_use=yes
49406 else
49407 echo "$as_me: failed program was:" >&5
49408 sed 's/^/| /' conftest.$ac_ext >&5
49410 glibcxx_cv_func__fmodf_use=no
49412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49413 ac_ext=c
49414 ac_cpp='$CPP $CPPFLAGS'
49415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49424 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49426 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49428 for ac_func in _fmodf
49430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49431 echo "$as_me:$LINENO: checking for $ac_func" >&5
49432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49433 if eval "test \"\${$as_ac_var+set}\" = set"; then
49434 echo $ECHO_N "(cached) $ECHO_C" >&6
49435 else
49436 if test x$gcc_no_link = xyes; then
49437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49439 { (exit 1); exit 1; }; }
49441 cat >conftest.$ac_ext <<_ACEOF
49442 /* confdefs.h. */
49443 _ACEOF
49444 cat confdefs.h >>conftest.$ac_ext
49445 cat >>conftest.$ac_ext <<_ACEOF
49446 /* end confdefs.h. */
49447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49449 #define $ac_func innocuous_$ac_func
49451 /* System header to define __stub macros and hopefully few prototypes,
49452 which can conflict with char $ac_func (); below.
49453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49454 <limits.h> exists even on freestanding compilers. */
49456 #ifdef __STDC__
49457 # include <limits.h>
49458 #else
49459 # include <assert.h>
49460 #endif
49462 #undef $ac_func
49464 /* Override any gcc2 internal prototype to avoid an error. */
49465 #ifdef __cplusplus
49466 extern "C"
49468 #endif
49469 /* We use char because int might match the return type of a gcc2
49470 builtin and then its argument prototype would still apply. */
49471 char $ac_func ();
49472 /* The GNU C library defines this for functions which it implements
49473 to always fail with ENOSYS. Some functions are actually named
49474 something starting with __ and the normal name is an alias. */
49475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49476 choke me
49477 #else
49478 char (*f) () = $ac_func;
49479 #endif
49480 #ifdef __cplusplus
49482 #endif
49485 main ()
49487 return f != $ac_func;
49489 return 0;
49491 _ACEOF
49492 rm -f conftest.$ac_objext conftest$ac_exeext
49493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49494 (eval $ac_link) 2>conftest.er1
49495 ac_status=$?
49496 grep -v '^ *+' conftest.er1 >conftest.err
49497 rm -f conftest.er1
49498 cat conftest.err >&5
49499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49500 (exit $ac_status); } &&
49501 { ac_try='test -z "$ac_c_werror_flag"
49502 || test ! -s conftest.err'
49503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49504 (eval $ac_try) 2>&5
49505 ac_status=$?
49506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49507 (exit $ac_status); }; } &&
49508 { ac_try='test -s conftest$ac_exeext'
49509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49510 (eval $ac_try) 2>&5
49511 ac_status=$?
49512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49513 (exit $ac_status); }; }; then
49514 eval "$as_ac_var=yes"
49515 else
49516 echo "$as_me: failed program was:" >&5
49517 sed 's/^/| /' conftest.$ac_ext >&5
49519 eval "$as_ac_var=no"
49521 rm -f conftest.err conftest.$ac_objext \
49522 conftest$ac_exeext conftest.$ac_ext
49524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49526 if test `eval echo '${'$as_ac_var'}'` = yes; then
49527 cat >>confdefs.h <<_ACEOF
49528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49529 _ACEOF
49532 done
49542 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49543 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49544 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49545 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49546 echo $ECHO_N "(cached) $ECHO_C" >&6
49547 else
49551 ac_ext=cc
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49557 cat >conftest.$ac_ext <<_ACEOF
49558 /* confdefs.h. */
49559 _ACEOF
49560 cat confdefs.h >>conftest.$ac_ext
49561 cat >>conftest.$ac_ext <<_ACEOF
49562 /* end confdefs.h. */
49563 #include <math.h>
49565 main ()
49567 frexpf(0, 0);
49569 return 0;
49571 _ACEOF
49572 rm -f conftest.$ac_objext
49573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49574 (eval $ac_compile) 2>conftest.er1
49575 ac_status=$?
49576 grep -v '^ *+' conftest.er1 >conftest.err
49577 rm -f conftest.er1
49578 cat conftest.err >&5
49579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49580 (exit $ac_status); } &&
49581 { ac_try='test -z "$ac_cxx_werror_flag"
49582 || test ! -s conftest.err'
49583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49584 (eval $ac_try) 2>&5
49585 ac_status=$?
49586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49587 (exit $ac_status); }; } &&
49588 { ac_try='test -s conftest.$ac_objext'
49589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49590 (eval $ac_try) 2>&5
49591 ac_status=$?
49592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593 (exit $ac_status); }; }; then
49594 glibcxx_cv_func_frexpf_use=yes
49595 else
49596 echo "$as_me: failed program was:" >&5
49597 sed 's/^/| /' conftest.$ac_ext >&5
49599 glibcxx_cv_func_frexpf_use=no
49601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49613 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49615 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49617 for ac_func in frexpf
49619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49620 echo "$as_me:$LINENO: checking for $ac_func" >&5
49621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49622 if eval "test \"\${$as_ac_var+set}\" = set"; then
49623 echo $ECHO_N "(cached) $ECHO_C" >&6
49624 else
49625 if test x$gcc_no_link = xyes; then
49626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49628 { (exit 1); exit 1; }; }
49630 cat >conftest.$ac_ext <<_ACEOF
49631 /* confdefs.h. */
49632 _ACEOF
49633 cat confdefs.h >>conftest.$ac_ext
49634 cat >>conftest.$ac_ext <<_ACEOF
49635 /* end confdefs.h. */
49636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49638 #define $ac_func innocuous_$ac_func
49640 /* System header to define __stub macros and hopefully few prototypes,
49641 which can conflict with char $ac_func (); below.
49642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49643 <limits.h> exists even on freestanding compilers. */
49645 #ifdef __STDC__
49646 # include <limits.h>
49647 #else
49648 # include <assert.h>
49649 #endif
49651 #undef $ac_func
49653 /* Override any gcc2 internal prototype to avoid an error. */
49654 #ifdef __cplusplus
49655 extern "C"
49657 #endif
49658 /* We use char because int might match the return type of a gcc2
49659 builtin and then its argument prototype would still apply. */
49660 char $ac_func ();
49661 /* The GNU C library defines this for functions which it implements
49662 to always fail with ENOSYS. Some functions are actually named
49663 something starting with __ and the normal name is an alias. */
49664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49665 choke me
49666 #else
49667 char (*f) () = $ac_func;
49668 #endif
49669 #ifdef __cplusplus
49671 #endif
49674 main ()
49676 return f != $ac_func;
49678 return 0;
49680 _ACEOF
49681 rm -f conftest.$ac_objext conftest$ac_exeext
49682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49683 (eval $ac_link) 2>conftest.er1
49684 ac_status=$?
49685 grep -v '^ *+' conftest.er1 >conftest.err
49686 rm -f conftest.er1
49687 cat conftest.err >&5
49688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49689 (exit $ac_status); } &&
49690 { ac_try='test -z "$ac_c_werror_flag"
49691 || test ! -s conftest.err'
49692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49693 (eval $ac_try) 2>&5
49694 ac_status=$?
49695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49696 (exit $ac_status); }; } &&
49697 { ac_try='test -s conftest$ac_exeext'
49698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49699 (eval $ac_try) 2>&5
49700 ac_status=$?
49701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49702 (exit $ac_status); }; }; then
49703 eval "$as_ac_var=yes"
49704 else
49705 echo "$as_me: failed program was:" >&5
49706 sed 's/^/| /' conftest.$ac_ext >&5
49708 eval "$as_ac_var=no"
49710 rm -f conftest.err conftest.$ac_objext \
49711 conftest$ac_exeext conftest.$ac_ext
49713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49715 if test `eval echo '${'$as_ac_var'}'` = yes; then
49716 cat >>confdefs.h <<_ACEOF
49717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49718 _ACEOF
49721 done
49723 else
49725 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49726 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49727 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49728 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49729 echo $ECHO_N "(cached) $ECHO_C" >&6
49730 else
49734 ac_ext=cc
49735 ac_cpp='$CXXCPP $CPPFLAGS'
49736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49740 cat >conftest.$ac_ext <<_ACEOF
49741 /* confdefs.h. */
49742 _ACEOF
49743 cat confdefs.h >>conftest.$ac_ext
49744 cat >>conftest.$ac_ext <<_ACEOF
49745 /* end confdefs.h. */
49746 #include <math.h>
49748 main ()
49750 _frexpf(0, 0);
49752 return 0;
49754 _ACEOF
49755 rm -f conftest.$ac_objext
49756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49757 (eval $ac_compile) 2>conftest.er1
49758 ac_status=$?
49759 grep -v '^ *+' conftest.er1 >conftest.err
49760 rm -f conftest.er1
49761 cat conftest.err >&5
49762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49763 (exit $ac_status); } &&
49764 { ac_try='test -z "$ac_cxx_werror_flag"
49765 || test ! -s conftest.err'
49766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49767 (eval $ac_try) 2>&5
49768 ac_status=$?
49769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49770 (exit $ac_status); }; } &&
49771 { ac_try='test -s conftest.$ac_objext'
49772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49773 (eval $ac_try) 2>&5
49774 ac_status=$?
49775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49776 (exit $ac_status); }; }; then
49777 glibcxx_cv_func__frexpf_use=yes
49778 else
49779 echo "$as_me: failed program was:" >&5
49780 sed 's/^/| /' conftest.$ac_ext >&5
49782 glibcxx_cv_func__frexpf_use=no
49784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49785 ac_ext=c
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49795 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49796 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49798 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49800 for ac_func in _frexpf
49802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49803 echo "$as_me:$LINENO: checking for $ac_func" >&5
49804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49805 if eval "test \"\${$as_ac_var+set}\" = set"; then
49806 echo $ECHO_N "(cached) $ECHO_C" >&6
49807 else
49808 if test x$gcc_no_link = xyes; then
49809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49811 { (exit 1); exit 1; }; }
49813 cat >conftest.$ac_ext <<_ACEOF
49814 /* confdefs.h. */
49815 _ACEOF
49816 cat confdefs.h >>conftest.$ac_ext
49817 cat >>conftest.$ac_ext <<_ACEOF
49818 /* end confdefs.h. */
49819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49821 #define $ac_func innocuous_$ac_func
49823 /* System header to define __stub macros and hopefully few prototypes,
49824 which can conflict with char $ac_func (); below.
49825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49826 <limits.h> exists even on freestanding compilers. */
49828 #ifdef __STDC__
49829 # include <limits.h>
49830 #else
49831 # include <assert.h>
49832 #endif
49834 #undef $ac_func
49836 /* Override any gcc2 internal prototype to avoid an error. */
49837 #ifdef __cplusplus
49838 extern "C"
49840 #endif
49841 /* We use char because int might match the return type of a gcc2
49842 builtin and then its argument prototype would still apply. */
49843 char $ac_func ();
49844 /* The GNU C library defines this for functions which it implements
49845 to always fail with ENOSYS. Some functions are actually named
49846 something starting with __ and the normal name is an alias. */
49847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49848 choke me
49849 #else
49850 char (*f) () = $ac_func;
49851 #endif
49852 #ifdef __cplusplus
49854 #endif
49857 main ()
49859 return f != $ac_func;
49861 return 0;
49863 _ACEOF
49864 rm -f conftest.$ac_objext conftest$ac_exeext
49865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49866 (eval $ac_link) 2>conftest.er1
49867 ac_status=$?
49868 grep -v '^ *+' conftest.er1 >conftest.err
49869 rm -f conftest.er1
49870 cat conftest.err >&5
49871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872 (exit $ac_status); } &&
49873 { ac_try='test -z "$ac_c_werror_flag"
49874 || test ! -s conftest.err'
49875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49876 (eval $ac_try) 2>&5
49877 ac_status=$?
49878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49879 (exit $ac_status); }; } &&
49880 { ac_try='test -s conftest$ac_exeext'
49881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49882 (eval $ac_try) 2>&5
49883 ac_status=$?
49884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49885 (exit $ac_status); }; }; then
49886 eval "$as_ac_var=yes"
49887 else
49888 echo "$as_me: failed program was:" >&5
49889 sed 's/^/| /' conftest.$ac_ext >&5
49891 eval "$as_ac_var=no"
49893 rm -f conftest.err conftest.$ac_objext \
49894 conftest$ac_exeext conftest.$ac_ext
49896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49898 if test `eval echo '${'$as_ac_var'}'` = yes; then
49899 cat >>confdefs.h <<_ACEOF
49900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49901 _ACEOF
49904 done
49914 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49915 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49916 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49917 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49918 echo $ECHO_N "(cached) $ECHO_C" >&6
49919 else
49923 ac_ext=cc
49924 ac_cpp='$CXXCPP $CPPFLAGS'
49925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49929 cat >conftest.$ac_ext <<_ACEOF
49930 /* confdefs.h. */
49931 _ACEOF
49932 cat confdefs.h >>conftest.$ac_ext
49933 cat >>conftest.$ac_ext <<_ACEOF
49934 /* end confdefs.h. */
49935 #include <math.h>
49937 main ()
49939 hypotf(0, 0);
49941 return 0;
49943 _ACEOF
49944 rm -f conftest.$ac_objext
49945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49946 (eval $ac_compile) 2>conftest.er1
49947 ac_status=$?
49948 grep -v '^ *+' conftest.er1 >conftest.err
49949 rm -f conftest.er1
49950 cat conftest.err >&5
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); } &&
49953 { ac_try='test -z "$ac_cxx_werror_flag"
49954 || test ! -s conftest.err'
49955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49956 (eval $ac_try) 2>&5
49957 ac_status=$?
49958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959 (exit $ac_status); }; } &&
49960 { ac_try='test -s conftest.$ac_objext'
49961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49962 (eval $ac_try) 2>&5
49963 ac_status=$?
49964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49965 (exit $ac_status); }; }; then
49966 glibcxx_cv_func_hypotf_use=yes
49967 else
49968 echo "$as_me: failed program was:" >&5
49969 sed 's/^/| /' conftest.$ac_ext >&5
49971 glibcxx_cv_func_hypotf_use=no
49973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49974 ac_ext=c
49975 ac_cpp='$CPP $CPPFLAGS'
49976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49985 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49987 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49989 for ac_func in hypotf
49991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49992 echo "$as_me:$LINENO: checking for $ac_func" >&5
49993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49994 if eval "test \"\${$as_ac_var+set}\" = set"; then
49995 echo $ECHO_N "(cached) $ECHO_C" >&6
49996 else
49997 if test x$gcc_no_link = xyes; then
49998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50000 { (exit 1); exit 1; }; }
50002 cat >conftest.$ac_ext <<_ACEOF
50003 /* confdefs.h. */
50004 _ACEOF
50005 cat confdefs.h >>conftest.$ac_ext
50006 cat >>conftest.$ac_ext <<_ACEOF
50007 /* end confdefs.h. */
50008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50010 #define $ac_func innocuous_$ac_func
50012 /* System header to define __stub macros and hopefully few prototypes,
50013 which can conflict with char $ac_func (); below.
50014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50015 <limits.h> exists even on freestanding compilers. */
50017 #ifdef __STDC__
50018 # include <limits.h>
50019 #else
50020 # include <assert.h>
50021 #endif
50023 #undef $ac_func
50025 /* Override any gcc2 internal prototype to avoid an error. */
50026 #ifdef __cplusplus
50027 extern "C"
50029 #endif
50030 /* We use char because int might match the return type of a gcc2
50031 builtin and then its argument prototype would still apply. */
50032 char $ac_func ();
50033 /* The GNU C library defines this for functions which it implements
50034 to always fail with ENOSYS. Some functions are actually named
50035 something starting with __ and the normal name is an alias. */
50036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50037 choke me
50038 #else
50039 char (*f) () = $ac_func;
50040 #endif
50041 #ifdef __cplusplus
50043 #endif
50046 main ()
50048 return f != $ac_func;
50050 return 0;
50052 _ACEOF
50053 rm -f conftest.$ac_objext conftest$ac_exeext
50054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50055 (eval $ac_link) 2>conftest.er1
50056 ac_status=$?
50057 grep -v '^ *+' conftest.er1 >conftest.err
50058 rm -f conftest.er1
50059 cat conftest.err >&5
50060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50061 (exit $ac_status); } &&
50062 { ac_try='test -z "$ac_c_werror_flag"
50063 || test ! -s conftest.err'
50064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50065 (eval $ac_try) 2>&5
50066 ac_status=$?
50067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50068 (exit $ac_status); }; } &&
50069 { ac_try='test -s conftest$ac_exeext'
50070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50071 (eval $ac_try) 2>&5
50072 ac_status=$?
50073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50074 (exit $ac_status); }; }; then
50075 eval "$as_ac_var=yes"
50076 else
50077 echo "$as_me: failed program was:" >&5
50078 sed 's/^/| /' conftest.$ac_ext >&5
50080 eval "$as_ac_var=no"
50082 rm -f conftest.err conftest.$ac_objext \
50083 conftest$ac_exeext conftest.$ac_ext
50085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50087 if test `eval echo '${'$as_ac_var'}'` = yes; then
50088 cat >>confdefs.h <<_ACEOF
50089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50090 _ACEOF
50093 done
50095 else
50097 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50098 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50099 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50100 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50101 echo $ECHO_N "(cached) $ECHO_C" >&6
50102 else
50106 ac_ext=cc
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50112 cat >conftest.$ac_ext <<_ACEOF
50113 /* confdefs.h. */
50114 _ACEOF
50115 cat confdefs.h >>conftest.$ac_ext
50116 cat >>conftest.$ac_ext <<_ACEOF
50117 /* end confdefs.h. */
50118 #include <math.h>
50120 main ()
50122 _hypotf(0, 0);
50124 return 0;
50126 _ACEOF
50127 rm -f conftest.$ac_objext
50128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50129 (eval $ac_compile) 2>conftest.er1
50130 ac_status=$?
50131 grep -v '^ *+' conftest.er1 >conftest.err
50132 rm -f conftest.er1
50133 cat conftest.err >&5
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); } &&
50136 { ac_try='test -z "$ac_cxx_werror_flag"
50137 || test ! -s conftest.err'
50138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139 (eval $ac_try) 2>&5
50140 ac_status=$?
50141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142 (exit $ac_status); }; } &&
50143 { ac_try='test -s conftest.$ac_objext'
50144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145 (eval $ac_try) 2>&5
50146 ac_status=$?
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); }; }; then
50149 glibcxx_cv_func__hypotf_use=yes
50150 else
50151 echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50154 glibcxx_cv_func__hypotf_use=no
50156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50168 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50170 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50172 for ac_func in _hypotf
50174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50175 echo "$as_me:$LINENO: checking for $ac_func" >&5
50176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50177 if eval "test \"\${$as_ac_var+set}\" = set"; then
50178 echo $ECHO_N "(cached) $ECHO_C" >&6
50179 else
50180 if test x$gcc_no_link = xyes; then
50181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50183 { (exit 1); exit 1; }; }
50185 cat >conftest.$ac_ext <<_ACEOF
50186 /* confdefs.h. */
50187 _ACEOF
50188 cat confdefs.h >>conftest.$ac_ext
50189 cat >>conftest.$ac_ext <<_ACEOF
50190 /* end confdefs.h. */
50191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50193 #define $ac_func innocuous_$ac_func
50195 /* System header to define __stub macros and hopefully few prototypes,
50196 which can conflict with char $ac_func (); below.
50197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50198 <limits.h> exists even on freestanding compilers. */
50200 #ifdef __STDC__
50201 # include <limits.h>
50202 #else
50203 # include <assert.h>
50204 #endif
50206 #undef $ac_func
50208 /* Override any gcc2 internal prototype to avoid an error. */
50209 #ifdef __cplusplus
50210 extern "C"
50212 #endif
50213 /* We use char because int might match the return type of a gcc2
50214 builtin and then its argument prototype would still apply. */
50215 char $ac_func ();
50216 /* The GNU C library defines this for functions which it implements
50217 to always fail with ENOSYS. Some functions are actually named
50218 something starting with __ and the normal name is an alias. */
50219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50220 choke me
50221 #else
50222 char (*f) () = $ac_func;
50223 #endif
50224 #ifdef __cplusplus
50226 #endif
50229 main ()
50231 return f != $ac_func;
50233 return 0;
50235 _ACEOF
50236 rm -f conftest.$ac_objext conftest$ac_exeext
50237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50238 (eval $ac_link) 2>conftest.er1
50239 ac_status=$?
50240 grep -v '^ *+' conftest.er1 >conftest.err
50241 rm -f conftest.er1
50242 cat conftest.err >&5
50243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50244 (exit $ac_status); } &&
50245 { ac_try='test -z "$ac_c_werror_flag"
50246 || test ! -s conftest.err'
50247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50248 (eval $ac_try) 2>&5
50249 ac_status=$?
50250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50251 (exit $ac_status); }; } &&
50252 { ac_try='test -s conftest$ac_exeext'
50253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50254 (eval $ac_try) 2>&5
50255 ac_status=$?
50256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50257 (exit $ac_status); }; }; then
50258 eval "$as_ac_var=yes"
50259 else
50260 echo "$as_me: failed program was:" >&5
50261 sed 's/^/| /' conftest.$ac_ext >&5
50263 eval "$as_ac_var=no"
50265 rm -f conftest.err conftest.$ac_objext \
50266 conftest$ac_exeext conftest.$ac_ext
50268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50270 if test `eval echo '${'$as_ac_var'}'` = yes; then
50271 cat >>confdefs.h <<_ACEOF
50272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50273 _ACEOF
50276 done
50286 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50287 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50288 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50289 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50290 echo $ECHO_N "(cached) $ECHO_C" >&6
50291 else
50295 ac_ext=cc
50296 ac_cpp='$CXXCPP $CPPFLAGS'
50297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50301 cat >conftest.$ac_ext <<_ACEOF
50302 /* confdefs.h. */
50303 _ACEOF
50304 cat confdefs.h >>conftest.$ac_ext
50305 cat >>conftest.$ac_ext <<_ACEOF
50306 /* end confdefs.h. */
50307 #include <math.h>
50309 main ()
50311 ldexpf(0, 0);
50313 return 0;
50315 _ACEOF
50316 rm -f conftest.$ac_objext
50317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50318 (eval $ac_compile) 2>conftest.er1
50319 ac_status=$?
50320 grep -v '^ *+' conftest.er1 >conftest.err
50321 rm -f conftest.er1
50322 cat conftest.err >&5
50323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50324 (exit $ac_status); } &&
50325 { ac_try='test -z "$ac_cxx_werror_flag"
50326 || test ! -s conftest.err'
50327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50328 (eval $ac_try) 2>&5
50329 ac_status=$?
50330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50331 (exit $ac_status); }; } &&
50332 { ac_try='test -s conftest.$ac_objext'
50333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50334 (eval $ac_try) 2>&5
50335 ac_status=$?
50336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50337 (exit $ac_status); }; }; then
50338 glibcxx_cv_func_ldexpf_use=yes
50339 else
50340 echo "$as_me: failed program was:" >&5
50341 sed 's/^/| /' conftest.$ac_ext >&5
50343 glibcxx_cv_func_ldexpf_use=no
50345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50346 ac_ext=c
50347 ac_cpp='$CPP $CPPFLAGS'
50348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50356 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50357 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50359 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50361 for ac_func in ldexpf
50363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50364 echo "$as_me:$LINENO: checking for $ac_func" >&5
50365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50366 if eval "test \"\${$as_ac_var+set}\" = set"; then
50367 echo $ECHO_N "(cached) $ECHO_C" >&6
50368 else
50369 if test x$gcc_no_link = xyes; then
50370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50372 { (exit 1); exit 1; }; }
50374 cat >conftest.$ac_ext <<_ACEOF
50375 /* confdefs.h. */
50376 _ACEOF
50377 cat confdefs.h >>conftest.$ac_ext
50378 cat >>conftest.$ac_ext <<_ACEOF
50379 /* end confdefs.h. */
50380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50382 #define $ac_func innocuous_$ac_func
50384 /* System header to define __stub macros and hopefully few prototypes,
50385 which can conflict with char $ac_func (); below.
50386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50387 <limits.h> exists even on freestanding compilers. */
50389 #ifdef __STDC__
50390 # include <limits.h>
50391 #else
50392 # include <assert.h>
50393 #endif
50395 #undef $ac_func
50397 /* Override any gcc2 internal prototype to avoid an error. */
50398 #ifdef __cplusplus
50399 extern "C"
50401 #endif
50402 /* We use char because int might match the return type of a gcc2
50403 builtin and then its argument prototype would still apply. */
50404 char $ac_func ();
50405 /* The GNU C library defines this for functions which it implements
50406 to always fail with ENOSYS. Some functions are actually named
50407 something starting with __ and the normal name is an alias. */
50408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50409 choke me
50410 #else
50411 char (*f) () = $ac_func;
50412 #endif
50413 #ifdef __cplusplus
50415 #endif
50418 main ()
50420 return f != $ac_func;
50422 return 0;
50424 _ACEOF
50425 rm -f conftest.$ac_objext conftest$ac_exeext
50426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50427 (eval $ac_link) 2>conftest.er1
50428 ac_status=$?
50429 grep -v '^ *+' conftest.er1 >conftest.err
50430 rm -f conftest.er1
50431 cat conftest.err >&5
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); } &&
50434 { ac_try='test -z "$ac_c_werror_flag"
50435 || test ! -s conftest.err'
50436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50437 (eval $ac_try) 2>&5
50438 ac_status=$?
50439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50440 (exit $ac_status); }; } &&
50441 { ac_try='test -s conftest$ac_exeext'
50442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50443 (eval $ac_try) 2>&5
50444 ac_status=$?
50445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50446 (exit $ac_status); }; }; then
50447 eval "$as_ac_var=yes"
50448 else
50449 echo "$as_me: failed program was:" >&5
50450 sed 's/^/| /' conftest.$ac_ext >&5
50452 eval "$as_ac_var=no"
50454 rm -f conftest.err conftest.$ac_objext \
50455 conftest$ac_exeext conftest.$ac_ext
50457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50459 if test `eval echo '${'$as_ac_var'}'` = yes; then
50460 cat >>confdefs.h <<_ACEOF
50461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50462 _ACEOF
50465 done
50467 else
50469 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50470 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50471 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50472 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50473 echo $ECHO_N "(cached) $ECHO_C" >&6
50474 else
50478 ac_ext=cc
50479 ac_cpp='$CXXCPP $CPPFLAGS'
50480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50484 cat >conftest.$ac_ext <<_ACEOF
50485 /* confdefs.h. */
50486 _ACEOF
50487 cat confdefs.h >>conftest.$ac_ext
50488 cat >>conftest.$ac_ext <<_ACEOF
50489 /* end confdefs.h. */
50490 #include <math.h>
50492 main ()
50494 _ldexpf(0, 0);
50496 return 0;
50498 _ACEOF
50499 rm -f conftest.$ac_objext
50500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50501 (eval $ac_compile) 2>conftest.er1
50502 ac_status=$?
50503 grep -v '^ *+' conftest.er1 >conftest.err
50504 rm -f conftest.er1
50505 cat conftest.err >&5
50506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50507 (exit $ac_status); } &&
50508 { ac_try='test -z "$ac_cxx_werror_flag"
50509 || test ! -s conftest.err'
50510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50511 (eval $ac_try) 2>&5
50512 ac_status=$?
50513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50514 (exit $ac_status); }; } &&
50515 { ac_try='test -s conftest.$ac_objext'
50516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50517 (eval $ac_try) 2>&5
50518 ac_status=$?
50519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50520 (exit $ac_status); }; }; then
50521 glibcxx_cv_func__ldexpf_use=yes
50522 else
50523 echo "$as_me: failed program was:" >&5
50524 sed 's/^/| /' conftest.$ac_ext >&5
50526 glibcxx_cv_func__ldexpf_use=no
50528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50529 ac_ext=c
50530 ac_cpp='$CPP $CPPFLAGS'
50531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50540 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50542 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50544 for ac_func in _ldexpf
50546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50547 echo "$as_me:$LINENO: checking for $ac_func" >&5
50548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50549 if eval "test \"\${$as_ac_var+set}\" = set"; then
50550 echo $ECHO_N "(cached) $ECHO_C" >&6
50551 else
50552 if test x$gcc_no_link = xyes; then
50553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50555 { (exit 1); exit 1; }; }
50557 cat >conftest.$ac_ext <<_ACEOF
50558 /* confdefs.h. */
50559 _ACEOF
50560 cat confdefs.h >>conftest.$ac_ext
50561 cat >>conftest.$ac_ext <<_ACEOF
50562 /* end confdefs.h. */
50563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50565 #define $ac_func innocuous_$ac_func
50567 /* System header to define __stub macros and hopefully few prototypes,
50568 which can conflict with char $ac_func (); below.
50569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50570 <limits.h> exists even on freestanding compilers. */
50572 #ifdef __STDC__
50573 # include <limits.h>
50574 #else
50575 # include <assert.h>
50576 #endif
50578 #undef $ac_func
50580 /* Override any gcc2 internal prototype to avoid an error. */
50581 #ifdef __cplusplus
50582 extern "C"
50584 #endif
50585 /* We use char because int might match the return type of a gcc2
50586 builtin and then its argument prototype would still apply. */
50587 char $ac_func ();
50588 /* The GNU C library defines this for functions which it implements
50589 to always fail with ENOSYS. Some functions are actually named
50590 something starting with __ and the normal name is an alias. */
50591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50592 choke me
50593 #else
50594 char (*f) () = $ac_func;
50595 #endif
50596 #ifdef __cplusplus
50598 #endif
50601 main ()
50603 return f != $ac_func;
50605 return 0;
50607 _ACEOF
50608 rm -f conftest.$ac_objext conftest$ac_exeext
50609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50610 (eval $ac_link) 2>conftest.er1
50611 ac_status=$?
50612 grep -v '^ *+' conftest.er1 >conftest.err
50613 rm -f conftest.er1
50614 cat conftest.err >&5
50615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616 (exit $ac_status); } &&
50617 { ac_try='test -z "$ac_c_werror_flag"
50618 || test ! -s conftest.err'
50619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50620 (eval $ac_try) 2>&5
50621 ac_status=$?
50622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50623 (exit $ac_status); }; } &&
50624 { ac_try='test -s conftest$ac_exeext'
50625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50626 (eval $ac_try) 2>&5
50627 ac_status=$?
50628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50629 (exit $ac_status); }; }; then
50630 eval "$as_ac_var=yes"
50631 else
50632 echo "$as_me: failed program was:" >&5
50633 sed 's/^/| /' conftest.$ac_ext >&5
50635 eval "$as_ac_var=no"
50637 rm -f conftest.err conftest.$ac_objext \
50638 conftest$ac_exeext conftest.$ac_ext
50640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50642 if test `eval echo '${'$as_ac_var'}'` = yes; then
50643 cat >>confdefs.h <<_ACEOF
50644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50645 _ACEOF
50648 done
50658 echo "$as_me:$LINENO: checking for logf declaration" >&5
50659 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50660 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50661 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50662 echo $ECHO_N "(cached) $ECHO_C" >&6
50663 else
50667 ac_ext=cc
50668 ac_cpp='$CXXCPP $CPPFLAGS'
50669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50673 cat >conftest.$ac_ext <<_ACEOF
50674 /* confdefs.h. */
50675 _ACEOF
50676 cat confdefs.h >>conftest.$ac_ext
50677 cat >>conftest.$ac_ext <<_ACEOF
50678 /* end confdefs.h. */
50679 #include <math.h>
50680 #ifdef HAVE_IEEEFP_H
50681 #include <ieeefp.h>
50682 #endif
50685 main ()
50687 logf(0);
50689 return 0;
50691 _ACEOF
50692 rm -f conftest.$ac_objext
50693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50694 (eval $ac_compile) 2>conftest.er1
50695 ac_status=$?
50696 grep -v '^ *+' conftest.er1 >conftest.err
50697 rm -f conftest.er1
50698 cat conftest.err >&5
50699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50700 (exit $ac_status); } &&
50701 { ac_try='test -z "$ac_cxx_werror_flag"
50702 || test ! -s conftest.err'
50703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50704 (eval $ac_try) 2>&5
50705 ac_status=$?
50706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50707 (exit $ac_status); }; } &&
50708 { ac_try='test -s conftest.$ac_objext'
50709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50710 (eval $ac_try) 2>&5
50711 ac_status=$?
50712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50713 (exit $ac_status); }; }; then
50714 glibcxx_cv_func_logf_use=yes
50715 else
50716 echo "$as_me: failed program was:" >&5
50717 sed 's/^/| /' conftest.$ac_ext >&5
50719 glibcxx_cv_func_logf_use=no
50721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50733 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50735 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50737 for ac_func in logf
50739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50740 echo "$as_me:$LINENO: checking for $ac_func" >&5
50741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50742 if eval "test \"\${$as_ac_var+set}\" = set"; then
50743 echo $ECHO_N "(cached) $ECHO_C" >&6
50744 else
50745 if test x$gcc_no_link = xyes; then
50746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50748 { (exit 1); exit 1; }; }
50750 cat >conftest.$ac_ext <<_ACEOF
50751 /* confdefs.h. */
50752 _ACEOF
50753 cat confdefs.h >>conftest.$ac_ext
50754 cat >>conftest.$ac_ext <<_ACEOF
50755 /* end confdefs.h. */
50756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50758 #define $ac_func innocuous_$ac_func
50760 /* System header to define __stub macros and hopefully few prototypes,
50761 which can conflict with char $ac_func (); below.
50762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50763 <limits.h> exists even on freestanding compilers. */
50765 #ifdef __STDC__
50766 # include <limits.h>
50767 #else
50768 # include <assert.h>
50769 #endif
50771 #undef $ac_func
50773 /* Override any gcc2 internal prototype to avoid an error. */
50774 #ifdef __cplusplus
50775 extern "C"
50777 #endif
50778 /* We use char because int might match the return type of a gcc2
50779 builtin and then its argument prototype would still apply. */
50780 char $ac_func ();
50781 /* The GNU C library defines this for functions which it implements
50782 to always fail with ENOSYS. Some functions are actually named
50783 something starting with __ and the normal name is an alias. */
50784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50785 choke me
50786 #else
50787 char (*f) () = $ac_func;
50788 #endif
50789 #ifdef __cplusplus
50791 #endif
50794 main ()
50796 return f != $ac_func;
50798 return 0;
50800 _ACEOF
50801 rm -f conftest.$ac_objext conftest$ac_exeext
50802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50803 (eval $ac_link) 2>conftest.er1
50804 ac_status=$?
50805 grep -v '^ *+' conftest.er1 >conftest.err
50806 rm -f conftest.er1
50807 cat conftest.err >&5
50808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50809 (exit $ac_status); } &&
50810 { ac_try='test -z "$ac_c_werror_flag"
50811 || test ! -s conftest.err'
50812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50813 (eval $ac_try) 2>&5
50814 ac_status=$?
50815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50816 (exit $ac_status); }; } &&
50817 { ac_try='test -s conftest$ac_exeext'
50818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50819 (eval $ac_try) 2>&5
50820 ac_status=$?
50821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50822 (exit $ac_status); }; }; then
50823 eval "$as_ac_var=yes"
50824 else
50825 echo "$as_me: failed program was:" >&5
50826 sed 's/^/| /' conftest.$ac_ext >&5
50828 eval "$as_ac_var=no"
50830 rm -f conftest.err conftest.$ac_objext \
50831 conftest$ac_exeext conftest.$ac_ext
50833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50835 if test `eval echo '${'$as_ac_var'}'` = yes; then
50836 cat >>confdefs.h <<_ACEOF
50837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50838 _ACEOF
50841 done
50843 else
50845 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50846 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50847 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50848 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50849 echo $ECHO_N "(cached) $ECHO_C" >&6
50850 else
50854 ac_ext=cc
50855 ac_cpp='$CXXCPP $CPPFLAGS'
50856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50860 cat >conftest.$ac_ext <<_ACEOF
50861 /* confdefs.h. */
50862 _ACEOF
50863 cat confdefs.h >>conftest.$ac_ext
50864 cat >>conftest.$ac_ext <<_ACEOF
50865 /* end confdefs.h. */
50866 #include <math.h>
50867 #ifdef HAVE_IEEEFP_H
50868 #include <ieeefp.h>
50869 #endif
50872 main ()
50874 _logf(0);
50876 return 0;
50878 _ACEOF
50879 rm -f conftest.$ac_objext
50880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50881 (eval $ac_compile) 2>conftest.er1
50882 ac_status=$?
50883 grep -v '^ *+' conftest.er1 >conftest.err
50884 rm -f conftest.er1
50885 cat conftest.err >&5
50886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50887 (exit $ac_status); } &&
50888 { ac_try='test -z "$ac_cxx_werror_flag"
50889 || test ! -s conftest.err'
50890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50891 (eval $ac_try) 2>&5
50892 ac_status=$?
50893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50894 (exit $ac_status); }; } &&
50895 { ac_try='test -s conftest.$ac_objext'
50896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50897 (eval $ac_try) 2>&5
50898 ac_status=$?
50899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50900 (exit $ac_status); }; }; then
50901 glibcxx_cv_func__logf_use=yes
50902 else
50903 echo "$as_me: failed program was:" >&5
50904 sed 's/^/| /' conftest.$ac_ext >&5
50906 glibcxx_cv_func__logf_use=no
50908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50909 ac_ext=c
50910 ac_cpp='$CPP $CPPFLAGS'
50911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50920 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50922 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50924 for ac_func in _logf
50926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50927 echo "$as_me:$LINENO: checking for $ac_func" >&5
50928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50929 if eval "test \"\${$as_ac_var+set}\" = set"; then
50930 echo $ECHO_N "(cached) $ECHO_C" >&6
50931 else
50932 if test x$gcc_no_link = xyes; then
50933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50935 { (exit 1); exit 1; }; }
50937 cat >conftest.$ac_ext <<_ACEOF
50938 /* confdefs.h. */
50939 _ACEOF
50940 cat confdefs.h >>conftest.$ac_ext
50941 cat >>conftest.$ac_ext <<_ACEOF
50942 /* end confdefs.h. */
50943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50945 #define $ac_func innocuous_$ac_func
50947 /* System header to define __stub macros and hopefully few prototypes,
50948 which can conflict with char $ac_func (); below.
50949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50950 <limits.h> exists even on freestanding compilers. */
50952 #ifdef __STDC__
50953 # include <limits.h>
50954 #else
50955 # include <assert.h>
50956 #endif
50958 #undef $ac_func
50960 /* Override any gcc2 internal prototype to avoid an error. */
50961 #ifdef __cplusplus
50962 extern "C"
50964 #endif
50965 /* We use char because int might match the return type of a gcc2
50966 builtin and then its argument prototype would still apply. */
50967 char $ac_func ();
50968 /* The GNU C library defines this for functions which it implements
50969 to always fail with ENOSYS. Some functions are actually named
50970 something starting with __ and the normal name is an alias. */
50971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50972 choke me
50973 #else
50974 char (*f) () = $ac_func;
50975 #endif
50976 #ifdef __cplusplus
50978 #endif
50981 main ()
50983 return f != $ac_func;
50985 return 0;
50987 _ACEOF
50988 rm -f conftest.$ac_objext conftest$ac_exeext
50989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50990 (eval $ac_link) 2>conftest.er1
50991 ac_status=$?
50992 grep -v '^ *+' conftest.er1 >conftest.err
50993 rm -f conftest.er1
50994 cat conftest.err >&5
50995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50996 (exit $ac_status); } &&
50997 { ac_try='test -z "$ac_c_werror_flag"
50998 || test ! -s conftest.err'
50999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51000 (eval $ac_try) 2>&5
51001 ac_status=$?
51002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003 (exit $ac_status); }; } &&
51004 { ac_try='test -s conftest$ac_exeext'
51005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51006 (eval $ac_try) 2>&5
51007 ac_status=$?
51008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51009 (exit $ac_status); }; }; then
51010 eval "$as_ac_var=yes"
51011 else
51012 echo "$as_me: failed program was:" >&5
51013 sed 's/^/| /' conftest.$ac_ext >&5
51015 eval "$as_ac_var=no"
51017 rm -f conftest.err conftest.$ac_objext \
51018 conftest$ac_exeext conftest.$ac_ext
51020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51022 if test `eval echo '${'$as_ac_var'}'` = yes; then
51023 cat >>confdefs.h <<_ACEOF
51024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51025 _ACEOF
51028 done
51038 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51039 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51040 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51041 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51042 echo $ECHO_N "(cached) $ECHO_C" >&6
51043 else
51047 ac_ext=cc
51048 ac_cpp='$CXXCPP $CPPFLAGS'
51049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51053 cat >conftest.$ac_ext <<_ACEOF
51054 /* confdefs.h. */
51055 _ACEOF
51056 cat confdefs.h >>conftest.$ac_ext
51057 cat >>conftest.$ac_ext <<_ACEOF
51058 /* end confdefs.h. */
51059 #include <math.h>
51060 #ifdef HAVE_IEEEFP_H
51061 #include <ieeefp.h>
51062 #endif
51065 main ()
51067 log10f(0);
51069 return 0;
51071 _ACEOF
51072 rm -f conftest.$ac_objext
51073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51074 (eval $ac_compile) 2>conftest.er1
51075 ac_status=$?
51076 grep -v '^ *+' conftest.er1 >conftest.err
51077 rm -f conftest.er1
51078 cat conftest.err >&5
51079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51080 (exit $ac_status); } &&
51081 { ac_try='test -z "$ac_cxx_werror_flag"
51082 || test ! -s conftest.err'
51083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51084 (eval $ac_try) 2>&5
51085 ac_status=$?
51086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51087 (exit $ac_status); }; } &&
51088 { ac_try='test -s conftest.$ac_objext'
51089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51090 (eval $ac_try) 2>&5
51091 ac_status=$?
51092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51093 (exit $ac_status); }; }; then
51094 glibcxx_cv_func_log10f_use=yes
51095 else
51096 echo "$as_me: failed program was:" >&5
51097 sed 's/^/| /' conftest.$ac_ext >&5
51099 glibcxx_cv_func_log10f_use=no
51101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51102 ac_ext=c
51103 ac_cpp='$CPP $CPPFLAGS'
51104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51113 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51115 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51117 for ac_func in log10f
51119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51120 echo "$as_me:$LINENO: checking for $ac_func" >&5
51121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51122 if eval "test \"\${$as_ac_var+set}\" = set"; then
51123 echo $ECHO_N "(cached) $ECHO_C" >&6
51124 else
51125 if test x$gcc_no_link = xyes; then
51126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51128 { (exit 1); exit 1; }; }
51130 cat >conftest.$ac_ext <<_ACEOF
51131 /* confdefs.h. */
51132 _ACEOF
51133 cat confdefs.h >>conftest.$ac_ext
51134 cat >>conftest.$ac_ext <<_ACEOF
51135 /* end confdefs.h. */
51136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51138 #define $ac_func innocuous_$ac_func
51140 /* System header to define __stub macros and hopefully few prototypes,
51141 which can conflict with char $ac_func (); below.
51142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51143 <limits.h> exists even on freestanding compilers. */
51145 #ifdef __STDC__
51146 # include <limits.h>
51147 #else
51148 # include <assert.h>
51149 #endif
51151 #undef $ac_func
51153 /* Override any gcc2 internal prototype to avoid an error. */
51154 #ifdef __cplusplus
51155 extern "C"
51157 #endif
51158 /* We use char because int might match the return type of a gcc2
51159 builtin and then its argument prototype would still apply. */
51160 char $ac_func ();
51161 /* The GNU C library defines this for functions which it implements
51162 to always fail with ENOSYS. Some functions are actually named
51163 something starting with __ and the normal name is an alias. */
51164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51165 choke me
51166 #else
51167 char (*f) () = $ac_func;
51168 #endif
51169 #ifdef __cplusplus
51171 #endif
51174 main ()
51176 return f != $ac_func;
51178 return 0;
51180 _ACEOF
51181 rm -f conftest.$ac_objext conftest$ac_exeext
51182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51183 (eval $ac_link) 2>conftest.er1
51184 ac_status=$?
51185 grep -v '^ *+' conftest.er1 >conftest.err
51186 rm -f conftest.er1
51187 cat conftest.err >&5
51188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51189 (exit $ac_status); } &&
51190 { ac_try='test -z "$ac_c_werror_flag"
51191 || test ! -s conftest.err'
51192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51193 (eval $ac_try) 2>&5
51194 ac_status=$?
51195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51196 (exit $ac_status); }; } &&
51197 { ac_try='test -s conftest$ac_exeext'
51198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51199 (eval $ac_try) 2>&5
51200 ac_status=$?
51201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51202 (exit $ac_status); }; }; then
51203 eval "$as_ac_var=yes"
51204 else
51205 echo "$as_me: failed program was:" >&5
51206 sed 's/^/| /' conftest.$ac_ext >&5
51208 eval "$as_ac_var=no"
51210 rm -f conftest.err conftest.$ac_objext \
51211 conftest$ac_exeext conftest.$ac_ext
51213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51215 if test `eval echo '${'$as_ac_var'}'` = yes; then
51216 cat >>confdefs.h <<_ACEOF
51217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51218 _ACEOF
51221 done
51223 else
51225 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51226 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51227 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51228 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51229 echo $ECHO_N "(cached) $ECHO_C" >&6
51230 else
51234 ac_ext=cc
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240 cat >conftest.$ac_ext <<_ACEOF
51241 /* confdefs.h. */
51242 _ACEOF
51243 cat confdefs.h >>conftest.$ac_ext
51244 cat >>conftest.$ac_ext <<_ACEOF
51245 /* end confdefs.h. */
51246 #include <math.h>
51247 #ifdef HAVE_IEEEFP_H
51248 #include <ieeefp.h>
51249 #endif
51252 main ()
51254 _log10f(0);
51256 return 0;
51258 _ACEOF
51259 rm -f conftest.$ac_objext
51260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51261 (eval $ac_compile) 2>conftest.er1
51262 ac_status=$?
51263 grep -v '^ *+' conftest.er1 >conftest.err
51264 rm -f conftest.er1
51265 cat conftest.err >&5
51266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51267 (exit $ac_status); } &&
51268 { ac_try='test -z "$ac_cxx_werror_flag"
51269 || test ! -s conftest.err'
51270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51271 (eval $ac_try) 2>&5
51272 ac_status=$?
51273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51274 (exit $ac_status); }; } &&
51275 { ac_try='test -s conftest.$ac_objext'
51276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51277 (eval $ac_try) 2>&5
51278 ac_status=$?
51279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280 (exit $ac_status); }; }; then
51281 glibcxx_cv_func__log10f_use=yes
51282 else
51283 echo "$as_me: failed program was:" >&5
51284 sed 's/^/| /' conftest.$ac_ext >&5
51286 glibcxx_cv_func__log10f_use=no
51288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51289 ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51300 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51302 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51304 for ac_func in _log10f
51306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51307 echo "$as_me:$LINENO: checking for $ac_func" >&5
51308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51309 if eval "test \"\${$as_ac_var+set}\" = set"; then
51310 echo $ECHO_N "(cached) $ECHO_C" >&6
51311 else
51312 if test x$gcc_no_link = xyes; then
51313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51315 { (exit 1); exit 1; }; }
51317 cat >conftest.$ac_ext <<_ACEOF
51318 /* confdefs.h. */
51319 _ACEOF
51320 cat confdefs.h >>conftest.$ac_ext
51321 cat >>conftest.$ac_ext <<_ACEOF
51322 /* end confdefs.h. */
51323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51325 #define $ac_func innocuous_$ac_func
51327 /* System header to define __stub macros and hopefully few prototypes,
51328 which can conflict with char $ac_func (); below.
51329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51330 <limits.h> exists even on freestanding compilers. */
51332 #ifdef __STDC__
51333 # include <limits.h>
51334 #else
51335 # include <assert.h>
51336 #endif
51338 #undef $ac_func
51340 /* Override any gcc2 internal prototype to avoid an error. */
51341 #ifdef __cplusplus
51342 extern "C"
51344 #endif
51345 /* We use char because int might match the return type of a gcc2
51346 builtin and then its argument prototype would still apply. */
51347 char $ac_func ();
51348 /* The GNU C library defines this for functions which it implements
51349 to always fail with ENOSYS. Some functions are actually named
51350 something starting with __ and the normal name is an alias. */
51351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51352 choke me
51353 #else
51354 char (*f) () = $ac_func;
51355 #endif
51356 #ifdef __cplusplus
51358 #endif
51361 main ()
51363 return f != $ac_func;
51365 return 0;
51367 _ACEOF
51368 rm -f conftest.$ac_objext conftest$ac_exeext
51369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51370 (eval $ac_link) 2>conftest.er1
51371 ac_status=$?
51372 grep -v '^ *+' conftest.er1 >conftest.err
51373 rm -f conftest.er1
51374 cat conftest.err >&5
51375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51376 (exit $ac_status); } &&
51377 { ac_try='test -z "$ac_c_werror_flag"
51378 || test ! -s conftest.err'
51379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51380 (eval $ac_try) 2>&5
51381 ac_status=$?
51382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51383 (exit $ac_status); }; } &&
51384 { ac_try='test -s conftest$ac_exeext'
51385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51386 (eval $ac_try) 2>&5
51387 ac_status=$?
51388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51389 (exit $ac_status); }; }; then
51390 eval "$as_ac_var=yes"
51391 else
51392 echo "$as_me: failed program was:" >&5
51393 sed 's/^/| /' conftest.$ac_ext >&5
51395 eval "$as_ac_var=no"
51397 rm -f conftest.err conftest.$ac_objext \
51398 conftest$ac_exeext conftest.$ac_ext
51400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51402 if test `eval echo '${'$as_ac_var'}'` = yes; then
51403 cat >>confdefs.h <<_ACEOF
51404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51405 _ACEOF
51408 done
51418 echo "$as_me:$LINENO: checking for modff declaration" >&5
51419 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51420 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51421 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51422 echo $ECHO_N "(cached) $ECHO_C" >&6
51423 else
51427 ac_ext=cc
51428 ac_cpp='$CXXCPP $CPPFLAGS'
51429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51433 cat >conftest.$ac_ext <<_ACEOF
51434 /* confdefs.h. */
51435 _ACEOF
51436 cat confdefs.h >>conftest.$ac_ext
51437 cat >>conftest.$ac_ext <<_ACEOF
51438 /* end confdefs.h. */
51439 #include <math.h>
51441 main ()
51443 modff(0, 0);
51445 return 0;
51447 _ACEOF
51448 rm -f conftest.$ac_objext
51449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51450 (eval $ac_compile) 2>conftest.er1
51451 ac_status=$?
51452 grep -v '^ *+' conftest.er1 >conftest.err
51453 rm -f conftest.er1
51454 cat conftest.err >&5
51455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51456 (exit $ac_status); } &&
51457 { ac_try='test -z "$ac_cxx_werror_flag"
51458 || test ! -s conftest.err'
51459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51460 (eval $ac_try) 2>&5
51461 ac_status=$?
51462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51463 (exit $ac_status); }; } &&
51464 { ac_try='test -s conftest.$ac_objext'
51465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51466 (eval $ac_try) 2>&5
51467 ac_status=$?
51468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51469 (exit $ac_status); }; }; then
51470 glibcxx_cv_func_modff_use=yes
51471 else
51472 echo "$as_me: failed program was:" >&5
51473 sed 's/^/| /' conftest.$ac_ext >&5
51475 glibcxx_cv_func_modff_use=no
51477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51478 ac_ext=c
51479 ac_cpp='$CPP $CPPFLAGS'
51480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51489 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51491 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51493 for ac_func in modff
51495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51496 echo "$as_me:$LINENO: checking for $ac_func" >&5
51497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51498 if eval "test \"\${$as_ac_var+set}\" = set"; then
51499 echo $ECHO_N "(cached) $ECHO_C" >&6
51500 else
51501 if test x$gcc_no_link = xyes; then
51502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51504 { (exit 1); exit 1; }; }
51506 cat >conftest.$ac_ext <<_ACEOF
51507 /* confdefs.h. */
51508 _ACEOF
51509 cat confdefs.h >>conftest.$ac_ext
51510 cat >>conftest.$ac_ext <<_ACEOF
51511 /* end confdefs.h. */
51512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51514 #define $ac_func innocuous_$ac_func
51516 /* System header to define __stub macros and hopefully few prototypes,
51517 which can conflict with char $ac_func (); below.
51518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51519 <limits.h> exists even on freestanding compilers. */
51521 #ifdef __STDC__
51522 # include <limits.h>
51523 #else
51524 # include <assert.h>
51525 #endif
51527 #undef $ac_func
51529 /* Override any gcc2 internal prototype to avoid an error. */
51530 #ifdef __cplusplus
51531 extern "C"
51533 #endif
51534 /* We use char because int might match the return type of a gcc2
51535 builtin and then its argument prototype would still apply. */
51536 char $ac_func ();
51537 /* The GNU C library defines this for functions which it implements
51538 to always fail with ENOSYS. Some functions are actually named
51539 something starting with __ and the normal name is an alias. */
51540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51541 choke me
51542 #else
51543 char (*f) () = $ac_func;
51544 #endif
51545 #ifdef __cplusplus
51547 #endif
51550 main ()
51552 return f != $ac_func;
51554 return 0;
51556 _ACEOF
51557 rm -f conftest.$ac_objext conftest$ac_exeext
51558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51559 (eval $ac_link) 2>conftest.er1
51560 ac_status=$?
51561 grep -v '^ *+' conftest.er1 >conftest.err
51562 rm -f conftest.er1
51563 cat conftest.err >&5
51564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51565 (exit $ac_status); } &&
51566 { ac_try='test -z "$ac_c_werror_flag"
51567 || test ! -s conftest.err'
51568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51569 (eval $ac_try) 2>&5
51570 ac_status=$?
51571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51572 (exit $ac_status); }; } &&
51573 { ac_try='test -s conftest$ac_exeext'
51574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51575 (eval $ac_try) 2>&5
51576 ac_status=$?
51577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51578 (exit $ac_status); }; }; then
51579 eval "$as_ac_var=yes"
51580 else
51581 echo "$as_me: failed program was:" >&5
51582 sed 's/^/| /' conftest.$ac_ext >&5
51584 eval "$as_ac_var=no"
51586 rm -f conftest.err conftest.$ac_objext \
51587 conftest$ac_exeext conftest.$ac_ext
51589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51591 if test `eval echo '${'$as_ac_var'}'` = yes; then
51592 cat >>confdefs.h <<_ACEOF
51593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51594 _ACEOF
51597 done
51599 else
51601 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51602 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51603 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51604 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51605 echo $ECHO_N "(cached) $ECHO_C" >&6
51606 else
51610 ac_ext=cc
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51616 cat >conftest.$ac_ext <<_ACEOF
51617 /* confdefs.h. */
51618 _ACEOF
51619 cat confdefs.h >>conftest.$ac_ext
51620 cat >>conftest.$ac_ext <<_ACEOF
51621 /* end confdefs.h. */
51622 #include <math.h>
51624 main ()
51626 _modff(0, 0);
51628 return 0;
51630 _ACEOF
51631 rm -f conftest.$ac_objext
51632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51633 (eval $ac_compile) 2>conftest.er1
51634 ac_status=$?
51635 grep -v '^ *+' conftest.er1 >conftest.err
51636 rm -f conftest.er1
51637 cat conftest.err >&5
51638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51639 (exit $ac_status); } &&
51640 { ac_try='test -z "$ac_cxx_werror_flag"
51641 || test ! -s conftest.err'
51642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51643 (eval $ac_try) 2>&5
51644 ac_status=$?
51645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51646 (exit $ac_status); }; } &&
51647 { ac_try='test -s conftest.$ac_objext'
51648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51649 (eval $ac_try) 2>&5
51650 ac_status=$?
51651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51652 (exit $ac_status); }; }; then
51653 glibcxx_cv_func__modff_use=yes
51654 else
51655 echo "$as_me: failed program was:" >&5
51656 sed 's/^/| /' conftest.$ac_ext >&5
51658 glibcxx_cv_func__modff_use=no
51660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51661 ac_ext=c
51662 ac_cpp='$CPP $CPPFLAGS'
51663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51672 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51674 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51676 for ac_func in _modff
51678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51679 echo "$as_me:$LINENO: checking for $ac_func" >&5
51680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51681 if eval "test \"\${$as_ac_var+set}\" = set"; then
51682 echo $ECHO_N "(cached) $ECHO_C" >&6
51683 else
51684 if test x$gcc_no_link = xyes; then
51685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51687 { (exit 1); exit 1; }; }
51689 cat >conftest.$ac_ext <<_ACEOF
51690 /* confdefs.h. */
51691 _ACEOF
51692 cat confdefs.h >>conftest.$ac_ext
51693 cat >>conftest.$ac_ext <<_ACEOF
51694 /* end confdefs.h. */
51695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51697 #define $ac_func innocuous_$ac_func
51699 /* System header to define __stub macros and hopefully few prototypes,
51700 which can conflict with char $ac_func (); below.
51701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51702 <limits.h> exists even on freestanding compilers. */
51704 #ifdef __STDC__
51705 # include <limits.h>
51706 #else
51707 # include <assert.h>
51708 #endif
51710 #undef $ac_func
51712 /* Override any gcc2 internal prototype to avoid an error. */
51713 #ifdef __cplusplus
51714 extern "C"
51716 #endif
51717 /* We use char because int might match the return type of a gcc2
51718 builtin and then its argument prototype would still apply. */
51719 char $ac_func ();
51720 /* The GNU C library defines this for functions which it implements
51721 to always fail with ENOSYS. Some functions are actually named
51722 something starting with __ and the normal name is an alias. */
51723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51724 choke me
51725 #else
51726 char (*f) () = $ac_func;
51727 #endif
51728 #ifdef __cplusplus
51730 #endif
51733 main ()
51735 return f != $ac_func;
51737 return 0;
51739 _ACEOF
51740 rm -f conftest.$ac_objext conftest$ac_exeext
51741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51742 (eval $ac_link) 2>conftest.er1
51743 ac_status=$?
51744 grep -v '^ *+' conftest.er1 >conftest.err
51745 rm -f conftest.er1
51746 cat conftest.err >&5
51747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51748 (exit $ac_status); } &&
51749 { ac_try='test -z "$ac_c_werror_flag"
51750 || test ! -s conftest.err'
51751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51752 (eval $ac_try) 2>&5
51753 ac_status=$?
51754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755 (exit $ac_status); }; } &&
51756 { ac_try='test -s conftest$ac_exeext'
51757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51758 (eval $ac_try) 2>&5
51759 ac_status=$?
51760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51761 (exit $ac_status); }; }; then
51762 eval "$as_ac_var=yes"
51763 else
51764 echo "$as_me: failed program was:" >&5
51765 sed 's/^/| /' conftest.$ac_ext >&5
51767 eval "$as_ac_var=no"
51769 rm -f conftest.err conftest.$ac_objext \
51770 conftest$ac_exeext conftest.$ac_ext
51772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51774 if test `eval echo '${'$as_ac_var'}'` = yes; then
51775 cat >>confdefs.h <<_ACEOF
51776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51777 _ACEOF
51780 done
51790 echo "$as_me:$LINENO: checking for modf declaration" >&5
51791 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51792 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51793 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51794 echo $ECHO_N "(cached) $ECHO_C" >&6
51795 else
51799 ac_ext=cc
51800 ac_cpp='$CXXCPP $CPPFLAGS'
51801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51805 cat >conftest.$ac_ext <<_ACEOF
51806 /* confdefs.h. */
51807 _ACEOF
51808 cat confdefs.h >>conftest.$ac_ext
51809 cat >>conftest.$ac_ext <<_ACEOF
51810 /* end confdefs.h. */
51811 #include <math.h>
51813 main ()
51815 modf(0, 0);
51817 return 0;
51819 _ACEOF
51820 rm -f conftest.$ac_objext
51821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51822 (eval $ac_compile) 2>conftest.er1
51823 ac_status=$?
51824 grep -v '^ *+' conftest.er1 >conftest.err
51825 rm -f conftest.er1
51826 cat conftest.err >&5
51827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51828 (exit $ac_status); } &&
51829 { ac_try='test -z "$ac_cxx_werror_flag"
51830 || test ! -s conftest.err'
51831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51832 (eval $ac_try) 2>&5
51833 ac_status=$?
51834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51835 (exit $ac_status); }; } &&
51836 { ac_try='test -s conftest.$ac_objext'
51837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51838 (eval $ac_try) 2>&5
51839 ac_status=$?
51840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51841 (exit $ac_status); }; }; then
51842 glibcxx_cv_func_modf_use=yes
51843 else
51844 echo "$as_me: failed program was:" >&5
51845 sed 's/^/| /' conftest.$ac_ext >&5
51847 glibcxx_cv_func_modf_use=no
51849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51850 ac_ext=c
51851 ac_cpp='$CPP $CPPFLAGS'
51852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51861 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51863 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51865 for ac_func in modf
51867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51868 echo "$as_me:$LINENO: checking for $ac_func" >&5
51869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51870 if eval "test \"\${$as_ac_var+set}\" = set"; then
51871 echo $ECHO_N "(cached) $ECHO_C" >&6
51872 else
51873 if test x$gcc_no_link = xyes; then
51874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51876 { (exit 1); exit 1; }; }
51878 cat >conftest.$ac_ext <<_ACEOF
51879 /* confdefs.h. */
51880 _ACEOF
51881 cat confdefs.h >>conftest.$ac_ext
51882 cat >>conftest.$ac_ext <<_ACEOF
51883 /* end confdefs.h. */
51884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51886 #define $ac_func innocuous_$ac_func
51888 /* System header to define __stub macros and hopefully few prototypes,
51889 which can conflict with char $ac_func (); below.
51890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51891 <limits.h> exists even on freestanding compilers. */
51893 #ifdef __STDC__
51894 # include <limits.h>
51895 #else
51896 # include <assert.h>
51897 #endif
51899 #undef $ac_func
51901 /* Override any gcc2 internal prototype to avoid an error. */
51902 #ifdef __cplusplus
51903 extern "C"
51905 #endif
51906 /* We use char because int might match the return type of a gcc2
51907 builtin and then its argument prototype would still apply. */
51908 char $ac_func ();
51909 /* The GNU C library defines this for functions which it implements
51910 to always fail with ENOSYS. Some functions are actually named
51911 something starting with __ and the normal name is an alias. */
51912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51913 choke me
51914 #else
51915 char (*f) () = $ac_func;
51916 #endif
51917 #ifdef __cplusplus
51919 #endif
51922 main ()
51924 return f != $ac_func;
51926 return 0;
51928 _ACEOF
51929 rm -f conftest.$ac_objext conftest$ac_exeext
51930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51931 (eval $ac_link) 2>conftest.er1
51932 ac_status=$?
51933 grep -v '^ *+' conftest.er1 >conftest.err
51934 rm -f conftest.er1
51935 cat conftest.err >&5
51936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51937 (exit $ac_status); } &&
51938 { ac_try='test -z "$ac_c_werror_flag"
51939 || test ! -s conftest.err'
51940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51941 (eval $ac_try) 2>&5
51942 ac_status=$?
51943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51944 (exit $ac_status); }; } &&
51945 { ac_try='test -s conftest$ac_exeext'
51946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51947 (eval $ac_try) 2>&5
51948 ac_status=$?
51949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51950 (exit $ac_status); }; }; then
51951 eval "$as_ac_var=yes"
51952 else
51953 echo "$as_me: failed program was:" >&5
51954 sed 's/^/| /' conftest.$ac_ext >&5
51956 eval "$as_ac_var=no"
51958 rm -f conftest.err conftest.$ac_objext \
51959 conftest$ac_exeext conftest.$ac_ext
51961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51963 if test `eval echo '${'$as_ac_var'}'` = yes; then
51964 cat >>confdefs.h <<_ACEOF
51965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51966 _ACEOF
51969 done
51971 else
51973 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51974 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51975 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51976 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51977 echo $ECHO_N "(cached) $ECHO_C" >&6
51978 else
51982 ac_ext=cc
51983 ac_cpp='$CXXCPP $CPPFLAGS'
51984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51988 cat >conftest.$ac_ext <<_ACEOF
51989 /* confdefs.h. */
51990 _ACEOF
51991 cat confdefs.h >>conftest.$ac_ext
51992 cat >>conftest.$ac_ext <<_ACEOF
51993 /* end confdefs.h. */
51994 #include <math.h>
51996 main ()
51998 _modf(0, 0);
52000 return 0;
52002 _ACEOF
52003 rm -f conftest.$ac_objext
52004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52005 (eval $ac_compile) 2>conftest.er1
52006 ac_status=$?
52007 grep -v '^ *+' conftest.er1 >conftest.err
52008 rm -f conftest.er1
52009 cat conftest.err >&5
52010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52011 (exit $ac_status); } &&
52012 { ac_try='test -z "$ac_cxx_werror_flag"
52013 || test ! -s conftest.err'
52014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52015 (eval $ac_try) 2>&5
52016 ac_status=$?
52017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52018 (exit $ac_status); }; } &&
52019 { ac_try='test -s conftest.$ac_objext'
52020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52021 (eval $ac_try) 2>&5
52022 ac_status=$?
52023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52024 (exit $ac_status); }; }; then
52025 glibcxx_cv_func__modf_use=yes
52026 else
52027 echo "$as_me: failed program was:" >&5
52028 sed 's/^/| /' conftest.$ac_ext >&5
52030 glibcxx_cv_func__modf_use=no
52032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52033 ac_ext=c
52034 ac_cpp='$CPP $CPPFLAGS'
52035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52044 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52046 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52048 for ac_func in _modf
52050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52051 echo "$as_me:$LINENO: checking for $ac_func" >&5
52052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52053 if eval "test \"\${$as_ac_var+set}\" = set"; then
52054 echo $ECHO_N "(cached) $ECHO_C" >&6
52055 else
52056 if test x$gcc_no_link = xyes; then
52057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52059 { (exit 1); exit 1; }; }
52061 cat >conftest.$ac_ext <<_ACEOF
52062 /* confdefs.h. */
52063 _ACEOF
52064 cat confdefs.h >>conftest.$ac_ext
52065 cat >>conftest.$ac_ext <<_ACEOF
52066 /* end confdefs.h. */
52067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52069 #define $ac_func innocuous_$ac_func
52071 /* System header to define __stub macros and hopefully few prototypes,
52072 which can conflict with char $ac_func (); below.
52073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52074 <limits.h> exists even on freestanding compilers. */
52076 #ifdef __STDC__
52077 # include <limits.h>
52078 #else
52079 # include <assert.h>
52080 #endif
52082 #undef $ac_func
52084 /* Override any gcc2 internal prototype to avoid an error. */
52085 #ifdef __cplusplus
52086 extern "C"
52088 #endif
52089 /* We use char because int might match the return type of a gcc2
52090 builtin and then its argument prototype would still apply. */
52091 char $ac_func ();
52092 /* The GNU C library defines this for functions which it implements
52093 to always fail with ENOSYS. Some functions are actually named
52094 something starting with __ and the normal name is an alias. */
52095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52096 choke me
52097 #else
52098 char (*f) () = $ac_func;
52099 #endif
52100 #ifdef __cplusplus
52102 #endif
52105 main ()
52107 return f != $ac_func;
52109 return 0;
52111 _ACEOF
52112 rm -f conftest.$ac_objext conftest$ac_exeext
52113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52114 (eval $ac_link) 2>conftest.er1
52115 ac_status=$?
52116 grep -v '^ *+' conftest.er1 >conftest.err
52117 rm -f conftest.er1
52118 cat conftest.err >&5
52119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52120 (exit $ac_status); } &&
52121 { ac_try='test -z "$ac_c_werror_flag"
52122 || test ! -s conftest.err'
52123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52124 (eval $ac_try) 2>&5
52125 ac_status=$?
52126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52127 (exit $ac_status); }; } &&
52128 { ac_try='test -s conftest$ac_exeext'
52129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52130 (eval $ac_try) 2>&5
52131 ac_status=$?
52132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52133 (exit $ac_status); }; }; then
52134 eval "$as_ac_var=yes"
52135 else
52136 echo "$as_me: failed program was:" >&5
52137 sed 's/^/| /' conftest.$ac_ext >&5
52139 eval "$as_ac_var=no"
52141 rm -f conftest.err conftest.$ac_objext \
52142 conftest$ac_exeext conftest.$ac_ext
52144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52146 if test `eval echo '${'$as_ac_var'}'` = yes; then
52147 cat >>confdefs.h <<_ACEOF
52148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52149 _ACEOF
52152 done
52162 echo "$as_me:$LINENO: checking for powf declaration" >&5
52163 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52164 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52165 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52166 echo $ECHO_N "(cached) $ECHO_C" >&6
52167 else
52171 ac_ext=cc
52172 ac_cpp='$CXXCPP $CPPFLAGS'
52173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52177 cat >conftest.$ac_ext <<_ACEOF
52178 /* confdefs.h. */
52179 _ACEOF
52180 cat confdefs.h >>conftest.$ac_ext
52181 cat >>conftest.$ac_ext <<_ACEOF
52182 /* end confdefs.h. */
52183 #include <math.h>
52185 main ()
52187 powf(0, 0);
52189 return 0;
52191 _ACEOF
52192 rm -f conftest.$ac_objext
52193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52194 (eval $ac_compile) 2>conftest.er1
52195 ac_status=$?
52196 grep -v '^ *+' conftest.er1 >conftest.err
52197 rm -f conftest.er1
52198 cat conftest.err >&5
52199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52200 (exit $ac_status); } &&
52201 { ac_try='test -z "$ac_cxx_werror_flag"
52202 || test ! -s conftest.err'
52203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52204 (eval $ac_try) 2>&5
52205 ac_status=$?
52206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52207 (exit $ac_status); }; } &&
52208 { ac_try='test -s conftest.$ac_objext'
52209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52210 (eval $ac_try) 2>&5
52211 ac_status=$?
52212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52213 (exit $ac_status); }; }; then
52214 glibcxx_cv_func_powf_use=yes
52215 else
52216 echo "$as_me: failed program was:" >&5
52217 sed 's/^/| /' conftest.$ac_ext >&5
52219 glibcxx_cv_func_powf_use=no
52221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52222 ac_ext=c
52223 ac_cpp='$CPP $CPPFLAGS'
52224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52233 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52235 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52237 for ac_func in powf
52239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52240 echo "$as_me:$LINENO: checking for $ac_func" >&5
52241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52242 if eval "test \"\${$as_ac_var+set}\" = set"; then
52243 echo $ECHO_N "(cached) $ECHO_C" >&6
52244 else
52245 if test x$gcc_no_link = xyes; then
52246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52248 { (exit 1); exit 1; }; }
52250 cat >conftest.$ac_ext <<_ACEOF
52251 /* confdefs.h. */
52252 _ACEOF
52253 cat confdefs.h >>conftest.$ac_ext
52254 cat >>conftest.$ac_ext <<_ACEOF
52255 /* end confdefs.h. */
52256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52258 #define $ac_func innocuous_$ac_func
52260 /* System header to define __stub macros and hopefully few prototypes,
52261 which can conflict with char $ac_func (); below.
52262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52263 <limits.h> exists even on freestanding compilers. */
52265 #ifdef __STDC__
52266 # include <limits.h>
52267 #else
52268 # include <assert.h>
52269 #endif
52271 #undef $ac_func
52273 /* Override any gcc2 internal prototype to avoid an error. */
52274 #ifdef __cplusplus
52275 extern "C"
52277 #endif
52278 /* We use char because int might match the return type of a gcc2
52279 builtin and then its argument prototype would still apply. */
52280 char $ac_func ();
52281 /* The GNU C library defines this for functions which it implements
52282 to always fail with ENOSYS. Some functions are actually named
52283 something starting with __ and the normal name is an alias. */
52284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52285 choke me
52286 #else
52287 char (*f) () = $ac_func;
52288 #endif
52289 #ifdef __cplusplus
52291 #endif
52294 main ()
52296 return f != $ac_func;
52298 return 0;
52300 _ACEOF
52301 rm -f conftest.$ac_objext conftest$ac_exeext
52302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52303 (eval $ac_link) 2>conftest.er1
52304 ac_status=$?
52305 grep -v '^ *+' conftest.er1 >conftest.err
52306 rm -f conftest.er1
52307 cat conftest.err >&5
52308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52309 (exit $ac_status); } &&
52310 { ac_try='test -z "$ac_c_werror_flag"
52311 || test ! -s conftest.err'
52312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52313 (eval $ac_try) 2>&5
52314 ac_status=$?
52315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52316 (exit $ac_status); }; } &&
52317 { ac_try='test -s conftest$ac_exeext'
52318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52319 (eval $ac_try) 2>&5
52320 ac_status=$?
52321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52322 (exit $ac_status); }; }; then
52323 eval "$as_ac_var=yes"
52324 else
52325 echo "$as_me: failed program was:" >&5
52326 sed 's/^/| /' conftest.$ac_ext >&5
52328 eval "$as_ac_var=no"
52330 rm -f conftest.err conftest.$ac_objext \
52331 conftest$ac_exeext conftest.$ac_ext
52333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52335 if test `eval echo '${'$as_ac_var'}'` = yes; then
52336 cat >>confdefs.h <<_ACEOF
52337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52338 _ACEOF
52341 done
52343 else
52345 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52346 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52347 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52348 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52349 echo $ECHO_N "(cached) $ECHO_C" >&6
52350 else
52354 ac_ext=cc
52355 ac_cpp='$CXXCPP $CPPFLAGS'
52356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52360 cat >conftest.$ac_ext <<_ACEOF
52361 /* confdefs.h. */
52362 _ACEOF
52363 cat confdefs.h >>conftest.$ac_ext
52364 cat >>conftest.$ac_ext <<_ACEOF
52365 /* end confdefs.h. */
52366 #include <math.h>
52368 main ()
52370 _powf(0, 0);
52372 return 0;
52374 _ACEOF
52375 rm -f conftest.$ac_objext
52376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52377 (eval $ac_compile) 2>conftest.er1
52378 ac_status=$?
52379 grep -v '^ *+' conftest.er1 >conftest.err
52380 rm -f conftest.er1
52381 cat conftest.err >&5
52382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52383 (exit $ac_status); } &&
52384 { ac_try='test -z "$ac_cxx_werror_flag"
52385 || test ! -s conftest.err'
52386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52387 (eval $ac_try) 2>&5
52388 ac_status=$?
52389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52390 (exit $ac_status); }; } &&
52391 { ac_try='test -s conftest.$ac_objext'
52392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52393 (eval $ac_try) 2>&5
52394 ac_status=$?
52395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52396 (exit $ac_status); }; }; then
52397 glibcxx_cv_func__powf_use=yes
52398 else
52399 echo "$as_me: failed program was:" >&5
52400 sed 's/^/| /' conftest.$ac_ext >&5
52402 glibcxx_cv_func__powf_use=no
52404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52405 ac_ext=c
52406 ac_cpp='$CPP $CPPFLAGS'
52407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52416 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52418 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52420 for ac_func in _powf
52422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52423 echo "$as_me:$LINENO: checking for $ac_func" >&5
52424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52425 if eval "test \"\${$as_ac_var+set}\" = set"; then
52426 echo $ECHO_N "(cached) $ECHO_C" >&6
52427 else
52428 if test x$gcc_no_link = xyes; then
52429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52431 { (exit 1); exit 1; }; }
52433 cat >conftest.$ac_ext <<_ACEOF
52434 /* confdefs.h. */
52435 _ACEOF
52436 cat confdefs.h >>conftest.$ac_ext
52437 cat >>conftest.$ac_ext <<_ACEOF
52438 /* end confdefs.h. */
52439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52441 #define $ac_func innocuous_$ac_func
52443 /* System header to define __stub macros and hopefully few prototypes,
52444 which can conflict with char $ac_func (); below.
52445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52446 <limits.h> exists even on freestanding compilers. */
52448 #ifdef __STDC__
52449 # include <limits.h>
52450 #else
52451 # include <assert.h>
52452 #endif
52454 #undef $ac_func
52456 /* Override any gcc2 internal prototype to avoid an error. */
52457 #ifdef __cplusplus
52458 extern "C"
52460 #endif
52461 /* We use char because int might match the return type of a gcc2
52462 builtin and then its argument prototype would still apply. */
52463 char $ac_func ();
52464 /* The GNU C library defines this for functions which it implements
52465 to always fail with ENOSYS. Some functions are actually named
52466 something starting with __ and the normal name is an alias. */
52467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52468 choke me
52469 #else
52470 char (*f) () = $ac_func;
52471 #endif
52472 #ifdef __cplusplus
52474 #endif
52477 main ()
52479 return f != $ac_func;
52481 return 0;
52483 _ACEOF
52484 rm -f conftest.$ac_objext conftest$ac_exeext
52485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52486 (eval $ac_link) 2>conftest.er1
52487 ac_status=$?
52488 grep -v '^ *+' conftest.er1 >conftest.err
52489 rm -f conftest.er1
52490 cat conftest.err >&5
52491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52492 (exit $ac_status); } &&
52493 { ac_try='test -z "$ac_c_werror_flag"
52494 || test ! -s conftest.err'
52495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52496 (eval $ac_try) 2>&5
52497 ac_status=$?
52498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52499 (exit $ac_status); }; } &&
52500 { ac_try='test -s conftest$ac_exeext'
52501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52502 (eval $ac_try) 2>&5
52503 ac_status=$?
52504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505 (exit $ac_status); }; }; then
52506 eval "$as_ac_var=yes"
52507 else
52508 echo "$as_me: failed program was:" >&5
52509 sed 's/^/| /' conftest.$ac_ext >&5
52511 eval "$as_ac_var=no"
52513 rm -f conftest.err conftest.$ac_objext \
52514 conftest$ac_exeext conftest.$ac_ext
52516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52518 if test `eval echo '${'$as_ac_var'}'` = yes; then
52519 cat >>confdefs.h <<_ACEOF
52520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52521 _ACEOF
52524 done
52534 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52535 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52536 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52537 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52538 echo $ECHO_N "(cached) $ECHO_C" >&6
52539 else
52543 ac_ext=cc
52544 ac_cpp='$CXXCPP $CPPFLAGS'
52545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52549 cat >conftest.$ac_ext <<_ACEOF
52550 /* confdefs.h. */
52551 _ACEOF
52552 cat confdefs.h >>conftest.$ac_ext
52553 cat >>conftest.$ac_ext <<_ACEOF
52554 /* end confdefs.h. */
52555 #include <math.h>
52556 #ifdef HAVE_IEEEFP_H
52557 #include <ieeefp.h>
52558 #endif
52561 main ()
52563 sqrtf(0);
52565 return 0;
52567 _ACEOF
52568 rm -f conftest.$ac_objext
52569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52570 (eval $ac_compile) 2>conftest.er1
52571 ac_status=$?
52572 grep -v '^ *+' conftest.er1 >conftest.err
52573 rm -f conftest.er1
52574 cat conftest.err >&5
52575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52576 (exit $ac_status); } &&
52577 { ac_try='test -z "$ac_cxx_werror_flag"
52578 || test ! -s conftest.err'
52579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52580 (eval $ac_try) 2>&5
52581 ac_status=$?
52582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583 (exit $ac_status); }; } &&
52584 { ac_try='test -s conftest.$ac_objext'
52585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52586 (eval $ac_try) 2>&5
52587 ac_status=$?
52588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52589 (exit $ac_status); }; }; then
52590 glibcxx_cv_func_sqrtf_use=yes
52591 else
52592 echo "$as_me: failed program was:" >&5
52593 sed 's/^/| /' conftest.$ac_ext >&5
52595 glibcxx_cv_func_sqrtf_use=no
52597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52598 ac_ext=c
52599 ac_cpp='$CPP $CPPFLAGS'
52600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52609 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52611 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52613 for ac_func in sqrtf
52615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52616 echo "$as_me:$LINENO: checking for $ac_func" >&5
52617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52618 if eval "test \"\${$as_ac_var+set}\" = set"; then
52619 echo $ECHO_N "(cached) $ECHO_C" >&6
52620 else
52621 if test x$gcc_no_link = xyes; then
52622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52624 { (exit 1); exit 1; }; }
52626 cat >conftest.$ac_ext <<_ACEOF
52627 /* confdefs.h. */
52628 _ACEOF
52629 cat confdefs.h >>conftest.$ac_ext
52630 cat >>conftest.$ac_ext <<_ACEOF
52631 /* end confdefs.h. */
52632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52634 #define $ac_func innocuous_$ac_func
52636 /* System header to define __stub macros and hopefully few prototypes,
52637 which can conflict with char $ac_func (); below.
52638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52639 <limits.h> exists even on freestanding compilers. */
52641 #ifdef __STDC__
52642 # include <limits.h>
52643 #else
52644 # include <assert.h>
52645 #endif
52647 #undef $ac_func
52649 /* Override any gcc2 internal prototype to avoid an error. */
52650 #ifdef __cplusplus
52651 extern "C"
52653 #endif
52654 /* We use char because int might match the return type of a gcc2
52655 builtin and then its argument prototype would still apply. */
52656 char $ac_func ();
52657 /* The GNU C library defines this for functions which it implements
52658 to always fail with ENOSYS. Some functions are actually named
52659 something starting with __ and the normal name is an alias. */
52660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52661 choke me
52662 #else
52663 char (*f) () = $ac_func;
52664 #endif
52665 #ifdef __cplusplus
52667 #endif
52670 main ()
52672 return f != $ac_func;
52674 return 0;
52676 _ACEOF
52677 rm -f conftest.$ac_objext conftest$ac_exeext
52678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52679 (eval $ac_link) 2>conftest.er1
52680 ac_status=$?
52681 grep -v '^ *+' conftest.er1 >conftest.err
52682 rm -f conftest.er1
52683 cat conftest.err >&5
52684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52685 (exit $ac_status); } &&
52686 { ac_try='test -z "$ac_c_werror_flag"
52687 || test ! -s conftest.err'
52688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52689 (eval $ac_try) 2>&5
52690 ac_status=$?
52691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52692 (exit $ac_status); }; } &&
52693 { ac_try='test -s conftest$ac_exeext'
52694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52695 (eval $ac_try) 2>&5
52696 ac_status=$?
52697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52698 (exit $ac_status); }; }; then
52699 eval "$as_ac_var=yes"
52700 else
52701 echo "$as_me: failed program was:" >&5
52702 sed 's/^/| /' conftest.$ac_ext >&5
52704 eval "$as_ac_var=no"
52706 rm -f conftest.err conftest.$ac_objext \
52707 conftest$ac_exeext conftest.$ac_ext
52709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52711 if test `eval echo '${'$as_ac_var'}'` = yes; then
52712 cat >>confdefs.h <<_ACEOF
52713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52714 _ACEOF
52717 done
52719 else
52721 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52722 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52723 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52724 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52725 echo $ECHO_N "(cached) $ECHO_C" >&6
52726 else
52730 ac_ext=cc
52731 ac_cpp='$CXXCPP $CPPFLAGS'
52732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736 cat >conftest.$ac_ext <<_ACEOF
52737 /* confdefs.h. */
52738 _ACEOF
52739 cat confdefs.h >>conftest.$ac_ext
52740 cat >>conftest.$ac_ext <<_ACEOF
52741 /* end confdefs.h. */
52742 #include <math.h>
52743 #ifdef HAVE_IEEEFP_H
52744 #include <ieeefp.h>
52745 #endif
52748 main ()
52750 _sqrtf(0);
52752 return 0;
52754 _ACEOF
52755 rm -f conftest.$ac_objext
52756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52757 (eval $ac_compile) 2>conftest.er1
52758 ac_status=$?
52759 grep -v '^ *+' conftest.er1 >conftest.err
52760 rm -f conftest.er1
52761 cat conftest.err >&5
52762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52763 (exit $ac_status); } &&
52764 { ac_try='test -z "$ac_cxx_werror_flag"
52765 || test ! -s conftest.err'
52766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52767 (eval $ac_try) 2>&5
52768 ac_status=$?
52769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52770 (exit $ac_status); }; } &&
52771 { ac_try='test -s conftest.$ac_objext'
52772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52773 (eval $ac_try) 2>&5
52774 ac_status=$?
52775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52776 (exit $ac_status); }; }; then
52777 glibcxx_cv_func__sqrtf_use=yes
52778 else
52779 echo "$as_me: failed program was:" >&5
52780 sed 's/^/| /' conftest.$ac_ext >&5
52782 glibcxx_cv_func__sqrtf_use=no
52784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52785 ac_ext=c
52786 ac_cpp='$CPP $CPPFLAGS'
52787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52795 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52796 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52798 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52800 for ac_func in _sqrtf
52802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52803 echo "$as_me:$LINENO: checking for $ac_func" >&5
52804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52805 if eval "test \"\${$as_ac_var+set}\" = set"; then
52806 echo $ECHO_N "(cached) $ECHO_C" >&6
52807 else
52808 if test x$gcc_no_link = xyes; then
52809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52811 { (exit 1); exit 1; }; }
52813 cat >conftest.$ac_ext <<_ACEOF
52814 /* confdefs.h. */
52815 _ACEOF
52816 cat confdefs.h >>conftest.$ac_ext
52817 cat >>conftest.$ac_ext <<_ACEOF
52818 /* end confdefs.h. */
52819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52821 #define $ac_func innocuous_$ac_func
52823 /* System header to define __stub macros and hopefully few prototypes,
52824 which can conflict with char $ac_func (); below.
52825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52826 <limits.h> exists even on freestanding compilers. */
52828 #ifdef __STDC__
52829 # include <limits.h>
52830 #else
52831 # include <assert.h>
52832 #endif
52834 #undef $ac_func
52836 /* Override any gcc2 internal prototype to avoid an error. */
52837 #ifdef __cplusplus
52838 extern "C"
52840 #endif
52841 /* We use char because int might match the return type of a gcc2
52842 builtin and then its argument prototype would still apply. */
52843 char $ac_func ();
52844 /* The GNU C library defines this for functions which it implements
52845 to always fail with ENOSYS. Some functions are actually named
52846 something starting with __ and the normal name is an alias. */
52847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52848 choke me
52849 #else
52850 char (*f) () = $ac_func;
52851 #endif
52852 #ifdef __cplusplus
52854 #endif
52857 main ()
52859 return f != $ac_func;
52861 return 0;
52863 _ACEOF
52864 rm -f conftest.$ac_objext conftest$ac_exeext
52865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52866 (eval $ac_link) 2>conftest.er1
52867 ac_status=$?
52868 grep -v '^ *+' conftest.er1 >conftest.err
52869 rm -f conftest.er1
52870 cat conftest.err >&5
52871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52872 (exit $ac_status); } &&
52873 { ac_try='test -z "$ac_c_werror_flag"
52874 || test ! -s conftest.err'
52875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52876 (eval $ac_try) 2>&5
52877 ac_status=$?
52878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52879 (exit $ac_status); }; } &&
52880 { ac_try='test -s conftest$ac_exeext'
52881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52882 (eval $ac_try) 2>&5
52883 ac_status=$?
52884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52885 (exit $ac_status); }; }; then
52886 eval "$as_ac_var=yes"
52887 else
52888 echo "$as_me: failed program was:" >&5
52889 sed 's/^/| /' conftest.$ac_ext >&5
52891 eval "$as_ac_var=no"
52893 rm -f conftest.err conftest.$ac_objext \
52894 conftest$ac_exeext conftest.$ac_ext
52896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52898 if test `eval echo '${'$as_ac_var'}'` = yes; then
52899 cat >>confdefs.h <<_ACEOF
52900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52901 _ACEOF
52904 done
52914 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52915 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52916 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52917 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52918 echo $ECHO_N "(cached) $ECHO_C" >&6
52919 else
52923 ac_ext=cc
52924 ac_cpp='$CXXCPP $CPPFLAGS'
52925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52929 cat >conftest.$ac_ext <<_ACEOF
52930 /* confdefs.h. */
52931 _ACEOF
52932 cat confdefs.h >>conftest.$ac_ext
52933 cat >>conftest.$ac_ext <<_ACEOF
52934 /* end confdefs.h. */
52935 #include <math.h>
52937 main ()
52939 sincosf(0, 0, 0);
52941 return 0;
52943 _ACEOF
52944 rm -f conftest.$ac_objext
52945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52946 (eval $ac_compile) 2>conftest.er1
52947 ac_status=$?
52948 grep -v '^ *+' conftest.er1 >conftest.err
52949 rm -f conftest.er1
52950 cat conftest.err >&5
52951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52952 (exit $ac_status); } &&
52953 { ac_try='test -z "$ac_cxx_werror_flag"
52954 || test ! -s conftest.err'
52955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52956 (eval $ac_try) 2>&5
52957 ac_status=$?
52958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52959 (exit $ac_status); }; } &&
52960 { ac_try='test -s conftest.$ac_objext'
52961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52962 (eval $ac_try) 2>&5
52963 ac_status=$?
52964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52965 (exit $ac_status); }; }; then
52966 glibcxx_cv_func_sincosf_use=yes
52967 else
52968 echo "$as_me: failed program was:" >&5
52969 sed 's/^/| /' conftest.$ac_ext >&5
52971 glibcxx_cv_func_sincosf_use=no
52973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52985 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52987 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52989 for ac_func in sincosf
52991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52992 echo "$as_me:$LINENO: checking for $ac_func" >&5
52993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52994 if eval "test \"\${$as_ac_var+set}\" = set"; then
52995 echo $ECHO_N "(cached) $ECHO_C" >&6
52996 else
52997 if test x$gcc_no_link = xyes; then
52998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53000 { (exit 1); exit 1; }; }
53002 cat >conftest.$ac_ext <<_ACEOF
53003 /* confdefs.h. */
53004 _ACEOF
53005 cat confdefs.h >>conftest.$ac_ext
53006 cat >>conftest.$ac_ext <<_ACEOF
53007 /* end confdefs.h. */
53008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53010 #define $ac_func innocuous_$ac_func
53012 /* System header to define __stub macros and hopefully few prototypes,
53013 which can conflict with char $ac_func (); below.
53014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53015 <limits.h> exists even on freestanding compilers. */
53017 #ifdef __STDC__
53018 # include <limits.h>
53019 #else
53020 # include <assert.h>
53021 #endif
53023 #undef $ac_func
53025 /* Override any gcc2 internal prototype to avoid an error. */
53026 #ifdef __cplusplus
53027 extern "C"
53029 #endif
53030 /* We use char because int might match the return type of a gcc2
53031 builtin and then its argument prototype would still apply. */
53032 char $ac_func ();
53033 /* The GNU C library defines this for functions which it implements
53034 to always fail with ENOSYS. Some functions are actually named
53035 something starting with __ and the normal name is an alias. */
53036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53037 choke me
53038 #else
53039 char (*f) () = $ac_func;
53040 #endif
53041 #ifdef __cplusplus
53043 #endif
53046 main ()
53048 return f != $ac_func;
53050 return 0;
53052 _ACEOF
53053 rm -f conftest.$ac_objext conftest$ac_exeext
53054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53055 (eval $ac_link) 2>conftest.er1
53056 ac_status=$?
53057 grep -v '^ *+' conftest.er1 >conftest.err
53058 rm -f conftest.er1
53059 cat conftest.err >&5
53060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061 (exit $ac_status); } &&
53062 { ac_try='test -z "$ac_c_werror_flag"
53063 || test ! -s conftest.err'
53064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53065 (eval $ac_try) 2>&5
53066 ac_status=$?
53067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53068 (exit $ac_status); }; } &&
53069 { ac_try='test -s conftest$ac_exeext'
53070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53071 (eval $ac_try) 2>&5
53072 ac_status=$?
53073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53074 (exit $ac_status); }; }; then
53075 eval "$as_ac_var=yes"
53076 else
53077 echo "$as_me: failed program was:" >&5
53078 sed 's/^/| /' conftest.$ac_ext >&5
53080 eval "$as_ac_var=no"
53082 rm -f conftest.err conftest.$ac_objext \
53083 conftest$ac_exeext conftest.$ac_ext
53085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53087 if test `eval echo '${'$as_ac_var'}'` = yes; then
53088 cat >>confdefs.h <<_ACEOF
53089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53090 _ACEOF
53093 done
53095 else
53097 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53098 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53099 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53100 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53101 echo $ECHO_N "(cached) $ECHO_C" >&6
53102 else
53106 ac_ext=cc
53107 ac_cpp='$CXXCPP $CPPFLAGS'
53108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53112 cat >conftest.$ac_ext <<_ACEOF
53113 /* confdefs.h. */
53114 _ACEOF
53115 cat confdefs.h >>conftest.$ac_ext
53116 cat >>conftest.$ac_ext <<_ACEOF
53117 /* end confdefs.h. */
53118 #include <math.h>
53120 main ()
53122 _sincosf(0, 0, 0);
53124 return 0;
53126 _ACEOF
53127 rm -f conftest.$ac_objext
53128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53129 (eval $ac_compile) 2>conftest.er1
53130 ac_status=$?
53131 grep -v '^ *+' conftest.er1 >conftest.err
53132 rm -f conftest.er1
53133 cat conftest.err >&5
53134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53135 (exit $ac_status); } &&
53136 { ac_try='test -z "$ac_cxx_werror_flag"
53137 || test ! -s conftest.err'
53138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53139 (eval $ac_try) 2>&5
53140 ac_status=$?
53141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53142 (exit $ac_status); }; } &&
53143 { ac_try='test -s conftest.$ac_objext'
53144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53145 (eval $ac_try) 2>&5
53146 ac_status=$?
53147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53148 (exit $ac_status); }; }; then
53149 glibcxx_cv_func__sincosf_use=yes
53150 else
53151 echo "$as_me: failed program was:" >&5
53152 sed 's/^/| /' conftest.$ac_ext >&5
53154 glibcxx_cv_func__sincosf_use=no
53156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53157 ac_ext=c
53158 ac_cpp='$CPP $CPPFLAGS'
53159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53168 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53170 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53172 for ac_func in _sincosf
53174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53175 echo "$as_me:$LINENO: checking for $ac_func" >&5
53176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53177 if eval "test \"\${$as_ac_var+set}\" = set"; then
53178 echo $ECHO_N "(cached) $ECHO_C" >&6
53179 else
53180 if test x$gcc_no_link = xyes; then
53181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53183 { (exit 1); exit 1; }; }
53185 cat >conftest.$ac_ext <<_ACEOF
53186 /* confdefs.h. */
53187 _ACEOF
53188 cat confdefs.h >>conftest.$ac_ext
53189 cat >>conftest.$ac_ext <<_ACEOF
53190 /* end confdefs.h. */
53191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53193 #define $ac_func innocuous_$ac_func
53195 /* System header to define __stub macros and hopefully few prototypes,
53196 which can conflict with char $ac_func (); below.
53197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53198 <limits.h> exists even on freestanding compilers. */
53200 #ifdef __STDC__
53201 # include <limits.h>
53202 #else
53203 # include <assert.h>
53204 #endif
53206 #undef $ac_func
53208 /* Override any gcc2 internal prototype to avoid an error. */
53209 #ifdef __cplusplus
53210 extern "C"
53212 #endif
53213 /* We use char because int might match the return type of a gcc2
53214 builtin and then its argument prototype would still apply. */
53215 char $ac_func ();
53216 /* The GNU C library defines this for functions which it implements
53217 to always fail with ENOSYS. Some functions are actually named
53218 something starting with __ and the normal name is an alias. */
53219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53220 choke me
53221 #else
53222 char (*f) () = $ac_func;
53223 #endif
53224 #ifdef __cplusplus
53226 #endif
53229 main ()
53231 return f != $ac_func;
53233 return 0;
53235 _ACEOF
53236 rm -f conftest.$ac_objext conftest$ac_exeext
53237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53238 (eval $ac_link) 2>conftest.er1
53239 ac_status=$?
53240 grep -v '^ *+' conftest.er1 >conftest.err
53241 rm -f conftest.er1
53242 cat conftest.err >&5
53243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53244 (exit $ac_status); } &&
53245 { ac_try='test -z "$ac_c_werror_flag"
53246 || test ! -s conftest.err'
53247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53248 (eval $ac_try) 2>&5
53249 ac_status=$?
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); }; } &&
53252 { ac_try='test -s conftest$ac_exeext'
53253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53254 (eval $ac_try) 2>&5
53255 ac_status=$?
53256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53257 (exit $ac_status); }; }; then
53258 eval "$as_ac_var=yes"
53259 else
53260 echo "$as_me: failed program was:" >&5
53261 sed 's/^/| /' conftest.$ac_ext >&5
53263 eval "$as_ac_var=no"
53265 rm -f conftest.err conftest.$ac_objext \
53266 conftest$ac_exeext conftest.$ac_ext
53268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53270 if test `eval echo '${'$as_ac_var'}'` = yes; then
53271 cat >>confdefs.h <<_ACEOF
53272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53273 _ACEOF
53276 done
53286 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53287 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53288 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53289 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53290 echo $ECHO_N "(cached) $ECHO_C" >&6
53291 else
53295 ac_ext=cc
53296 ac_cpp='$CXXCPP $CPPFLAGS'
53297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53301 cat >conftest.$ac_ext <<_ACEOF
53302 /* confdefs.h. */
53303 _ACEOF
53304 cat confdefs.h >>conftest.$ac_ext
53305 cat >>conftest.$ac_ext <<_ACEOF
53306 /* end confdefs.h. */
53307 #include <math.h>
53308 #ifdef HAVE_IEEEFP_H
53309 #include <ieeefp.h>
53310 #endif
53313 main ()
53315 finitef(0);
53317 return 0;
53319 _ACEOF
53320 rm -f conftest.$ac_objext
53321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53322 (eval $ac_compile) 2>conftest.er1
53323 ac_status=$?
53324 grep -v '^ *+' conftest.er1 >conftest.err
53325 rm -f conftest.er1
53326 cat conftest.err >&5
53327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53328 (exit $ac_status); } &&
53329 { ac_try='test -z "$ac_cxx_werror_flag"
53330 || test ! -s conftest.err'
53331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53332 (eval $ac_try) 2>&5
53333 ac_status=$?
53334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53335 (exit $ac_status); }; } &&
53336 { ac_try='test -s conftest.$ac_objext'
53337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53338 (eval $ac_try) 2>&5
53339 ac_status=$?
53340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341 (exit $ac_status); }; }; then
53342 glibcxx_cv_func_finitef_use=yes
53343 else
53344 echo "$as_me: failed program was:" >&5
53345 sed 's/^/| /' conftest.$ac_ext >&5
53347 glibcxx_cv_func_finitef_use=no
53349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53350 ac_ext=c
53351 ac_cpp='$CPP $CPPFLAGS'
53352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53361 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53363 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53365 for ac_func in finitef
53367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53368 echo "$as_me:$LINENO: checking for $ac_func" >&5
53369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53370 if eval "test \"\${$as_ac_var+set}\" = set"; then
53371 echo $ECHO_N "(cached) $ECHO_C" >&6
53372 else
53373 if test x$gcc_no_link = xyes; then
53374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53376 { (exit 1); exit 1; }; }
53378 cat >conftest.$ac_ext <<_ACEOF
53379 /* confdefs.h. */
53380 _ACEOF
53381 cat confdefs.h >>conftest.$ac_ext
53382 cat >>conftest.$ac_ext <<_ACEOF
53383 /* end confdefs.h. */
53384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53386 #define $ac_func innocuous_$ac_func
53388 /* System header to define __stub macros and hopefully few prototypes,
53389 which can conflict with char $ac_func (); below.
53390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53391 <limits.h> exists even on freestanding compilers. */
53393 #ifdef __STDC__
53394 # include <limits.h>
53395 #else
53396 # include <assert.h>
53397 #endif
53399 #undef $ac_func
53401 /* Override any gcc2 internal prototype to avoid an error. */
53402 #ifdef __cplusplus
53403 extern "C"
53405 #endif
53406 /* We use char because int might match the return type of a gcc2
53407 builtin and then its argument prototype would still apply. */
53408 char $ac_func ();
53409 /* The GNU C library defines this for functions which it implements
53410 to always fail with ENOSYS. Some functions are actually named
53411 something starting with __ and the normal name is an alias. */
53412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53413 choke me
53414 #else
53415 char (*f) () = $ac_func;
53416 #endif
53417 #ifdef __cplusplus
53419 #endif
53422 main ()
53424 return f != $ac_func;
53426 return 0;
53428 _ACEOF
53429 rm -f conftest.$ac_objext conftest$ac_exeext
53430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53431 (eval $ac_link) 2>conftest.er1
53432 ac_status=$?
53433 grep -v '^ *+' conftest.er1 >conftest.err
53434 rm -f conftest.er1
53435 cat conftest.err >&5
53436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437 (exit $ac_status); } &&
53438 { ac_try='test -z "$ac_c_werror_flag"
53439 || test ! -s conftest.err'
53440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53441 (eval $ac_try) 2>&5
53442 ac_status=$?
53443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53444 (exit $ac_status); }; } &&
53445 { ac_try='test -s conftest$ac_exeext'
53446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53447 (eval $ac_try) 2>&5
53448 ac_status=$?
53449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53450 (exit $ac_status); }; }; then
53451 eval "$as_ac_var=yes"
53452 else
53453 echo "$as_me: failed program was:" >&5
53454 sed 's/^/| /' conftest.$ac_ext >&5
53456 eval "$as_ac_var=no"
53458 rm -f conftest.err conftest.$ac_objext \
53459 conftest$ac_exeext conftest.$ac_ext
53461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53463 if test `eval echo '${'$as_ac_var'}'` = yes; then
53464 cat >>confdefs.h <<_ACEOF
53465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53466 _ACEOF
53469 done
53471 else
53473 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53474 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53475 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53476 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53477 echo $ECHO_N "(cached) $ECHO_C" >&6
53478 else
53482 ac_ext=cc
53483 ac_cpp='$CXXCPP $CPPFLAGS'
53484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53488 cat >conftest.$ac_ext <<_ACEOF
53489 /* confdefs.h. */
53490 _ACEOF
53491 cat confdefs.h >>conftest.$ac_ext
53492 cat >>conftest.$ac_ext <<_ACEOF
53493 /* end confdefs.h. */
53494 #include <math.h>
53495 #ifdef HAVE_IEEEFP_H
53496 #include <ieeefp.h>
53497 #endif
53500 main ()
53502 _finitef(0);
53504 return 0;
53506 _ACEOF
53507 rm -f conftest.$ac_objext
53508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53509 (eval $ac_compile) 2>conftest.er1
53510 ac_status=$?
53511 grep -v '^ *+' conftest.er1 >conftest.err
53512 rm -f conftest.er1
53513 cat conftest.err >&5
53514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53515 (exit $ac_status); } &&
53516 { ac_try='test -z "$ac_cxx_werror_flag"
53517 || test ! -s conftest.err'
53518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53519 (eval $ac_try) 2>&5
53520 ac_status=$?
53521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53522 (exit $ac_status); }; } &&
53523 { ac_try='test -s conftest.$ac_objext'
53524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53525 (eval $ac_try) 2>&5
53526 ac_status=$?
53527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53528 (exit $ac_status); }; }; then
53529 glibcxx_cv_func__finitef_use=yes
53530 else
53531 echo "$as_me: failed program was:" >&5
53532 sed 's/^/| /' conftest.$ac_ext >&5
53534 glibcxx_cv_func__finitef_use=no
53536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53537 ac_ext=c
53538 ac_cpp='$CPP $CPPFLAGS'
53539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53548 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53550 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53552 for ac_func in _finitef
53554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53555 echo "$as_me:$LINENO: checking for $ac_func" >&5
53556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53557 if eval "test \"\${$as_ac_var+set}\" = set"; then
53558 echo $ECHO_N "(cached) $ECHO_C" >&6
53559 else
53560 if test x$gcc_no_link = xyes; then
53561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53563 { (exit 1); exit 1; }; }
53565 cat >conftest.$ac_ext <<_ACEOF
53566 /* confdefs.h. */
53567 _ACEOF
53568 cat confdefs.h >>conftest.$ac_ext
53569 cat >>conftest.$ac_ext <<_ACEOF
53570 /* end confdefs.h. */
53571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53573 #define $ac_func innocuous_$ac_func
53575 /* System header to define __stub macros and hopefully few prototypes,
53576 which can conflict with char $ac_func (); below.
53577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53578 <limits.h> exists even on freestanding compilers. */
53580 #ifdef __STDC__
53581 # include <limits.h>
53582 #else
53583 # include <assert.h>
53584 #endif
53586 #undef $ac_func
53588 /* Override any gcc2 internal prototype to avoid an error. */
53589 #ifdef __cplusplus
53590 extern "C"
53592 #endif
53593 /* We use char because int might match the return type of a gcc2
53594 builtin and then its argument prototype would still apply. */
53595 char $ac_func ();
53596 /* The GNU C library defines this for functions which it implements
53597 to always fail with ENOSYS. Some functions are actually named
53598 something starting with __ and the normal name is an alias. */
53599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53600 choke me
53601 #else
53602 char (*f) () = $ac_func;
53603 #endif
53604 #ifdef __cplusplus
53606 #endif
53609 main ()
53611 return f != $ac_func;
53613 return 0;
53615 _ACEOF
53616 rm -f conftest.$ac_objext conftest$ac_exeext
53617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53618 (eval $ac_link) 2>conftest.er1
53619 ac_status=$?
53620 grep -v '^ *+' conftest.er1 >conftest.err
53621 rm -f conftest.er1
53622 cat conftest.err >&5
53623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53624 (exit $ac_status); } &&
53625 { ac_try='test -z "$ac_c_werror_flag"
53626 || test ! -s conftest.err'
53627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53628 (eval $ac_try) 2>&5
53629 ac_status=$?
53630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631 (exit $ac_status); }; } &&
53632 { ac_try='test -s conftest$ac_exeext'
53633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53634 (eval $ac_try) 2>&5
53635 ac_status=$?
53636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53637 (exit $ac_status); }; }; then
53638 eval "$as_ac_var=yes"
53639 else
53640 echo "$as_me: failed program was:" >&5
53641 sed 's/^/| /' conftest.$ac_ext >&5
53643 eval "$as_ac_var=no"
53645 rm -f conftest.err conftest.$ac_objext \
53646 conftest$ac_exeext conftest.$ac_ext
53648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53650 if test `eval echo '${'$as_ac_var'}'` = yes; then
53651 cat >>confdefs.h <<_ACEOF
53652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53653 _ACEOF
53656 done
53666 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53667 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53668 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53669 echo $ECHO_N "(cached) $ECHO_C" >&6
53670 else
53674 ac_ext=cc
53675 ac_cpp='$CXXCPP $CPPFLAGS'
53676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53680 cat >conftest.$ac_ext <<_ACEOF
53681 /* confdefs.h. */
53682 _ACEOF
53683 cat confdefs.h >>conftest.$ac_ext
53684 cat >>conftest.$ac_ext <<_ACEOF
53685 /* end confdefs.h. */
53686 #include <math.h>
53688 main ()
53690 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53692 return 0;
53694 _ACEOF
53695 rm -f conftest.$ac_objext
53696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53697 (eval $ac_compile) 2>conftest.er1
53698 ac_status=$?
53699 grep -v '^ *+' conftest.er1 >conftest.err
53700 rm -f conftest.er1
53701 cat conftest.err >&5
53702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53703 (exit $ac_status); } &&
53704 { ac_try='test -z "$ac_cxx_werror_flag"
53705 || test ! -s conftest.err'
53706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53707 (eval $ac_try) 2>&5
53708 ac_status=$?
53709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53710 (exit $ac_status); }; } &&
53711 { ac_try='test -s conftest.$ac_objext'
53712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53713 (eval $ac_try) 2>&5
53714 ac_status=$?
53715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716 (exit $ac_status); }; }; then
53717 glibcxx_cv_func_long_double_trig_use=yes
53718 else
53719 echo "$as_me: failed program was:" >&5
53720 sed 's/^/| /' conftest.$ac_ext >&5
53722 glibcxx_cv_func_long_double_trig_use=no
53724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53725 ac_ext=c
53726 ac_cpp='$CPP $CPPFLAGS'
53727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53734 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53735 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53745 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53748 echo "$as_me:$LINENO: checking for $ac_func" >&5
53749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53750 if eval "test \"\${$as_ac_var+set}\" = set"; then
53751 echo $ECHO_N "(cached) $ECHO_C" >&6
53752 else
53753 if test x$gcc_no_link = xyes; then
53754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53756 { (exit 1); exit 1; }; }
53758 cat >conftest.$ac_ext <<_ACEOF
53759 /* confdefs.h. */
53760 _ACEOF
53761 cat confdefs.h >>conftest.$ac_ext
53762 cat >>conftest.$ac_ext <<_ACEOF
53763 /* end confdefs.h. */
53764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53766 #define $ac_func innocuous_$ac_func
53768 /* System header to define __stub macros and hopefully few prototypes,
53769 which can conflict with char $ac_func (); below.
53770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53771 <limits.h> exists even on freestanding compilers. */
53773 #ifdef __STDC__
53774 # include <limits.h>
53775 #else
53776 # include <assert.h>
53777 #endif
53779 #undef $ac_func
53781 /* Override any gcc2 internal prototype to avoid an error. */
53782 #ifdef __cplusplus
53783 extern "C"
53785 #endif
53786 /* We use char because int might match the return type of a gcc2
53787 builtin and then its argument prototype would still apply. */
53788 char $ac_func ();
53789 /* The GNU C library defines this for functions which it implements
53790 to always fail with ENOSYS. Some functions are actually named
53791 something starting with __ and the normal name is an alias. */
53792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53793 choke me
53794 #else
53795 char (*f) () = $ac_func;
53796 #endif
53797 #ifdef __cplusplus
53799 #endif
53802 main ()
53804 return f != $ac_func;
53806 return 0;
53808 _ACEOF
53809 rm -f conftest.$ac_objext conftest$ac_exeext
53810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53811 (eval $ac_link) 2>conftest.er1
53812 ac_status=$?
53813 grep -v '^ *+' conftest.er1 >conftest.err
53814 rm -f conftest.er1
53815 cat conftest.err >&5
53816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53817 (exit $ac_status); } &&
53818 { ac_try='test -z "$ac_c_werror_flag"
53819 || test ! -s conftest.err'
53820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53821 (eval $ac_try) 2>&5
53822 ac_status=$?
53823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53824 (exit $ac_status); }; } &&
53825 { ac_try='test -s conftest$ac_exeext'
53826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53827 (eval $ac_try) 2>&5
53828 ac_status=$?
53829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53830 (exit $ac_status); }; }; then
53831 eval "$as_ac_var=yes"
53832 else
53833 echo "$as_me: failed program was:" >&5
53834 sed 's/^/| /' conftest.$ac_ext >&5
53836 eval "$as_ac_var=no"
53838 rm -f conftest.err conftest.$ac_objext \
53839 conftest$ac_exeext conftest.$ac_ext
53841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53843 if test `eval echo '${'$as_ac_var'}'` = yes; then
53844 cat >>confdefs.h <<_ACEOF
53845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53846 _ACEOF
53849 done
53851 else
53852 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53853 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53854 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53855 echo $ECHO_N "(cached) $ECHO_C" >&6
53856 else
53860 ac_ext=cc
53861 ac_cpp='$CXXCPP $CPPFLAGS'
53862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53866 cat >conftest.$ac_ext <<_ACEOF
53867 /* confdefs.h. */
53868 _ACEOF
53869 cat confdefs.h >>conftest.$ac_ext
53870 cat >>conftest.$ac_ext <<_ACEOF
53871 /* end confdefs.h. */
53872 #include <math.h>
53874 main ()
53876 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53878 return 0;
53880 _ACEOF
53881 rm -f conftest.$ac_objext
53882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53883 (eval $ac_compile) 2>conftest.er1
53884 ac_status=$?
53885 grep -v '^ *+' conftest.er1 >conftest.err
53886 rm -f conftest.er1
53887 cat conftest.err >&5
53888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889 (exit $ac_status); } &&
53890 { ac_try='test -z "$ac_cxx_werror_flag"
53891 || test ! -s conftest.err'
53892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53893 (eval $ac_try) 2>&5
53894 ac_status=$?
53895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53896 (exit $ac_status); }; } &&
53897 { ac_try='test -s conftest.$ac_objext'
53898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53899 (eval $ac_try) 2>&5
53900 ac_status=$?
53901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53902 (exit $ac_status); }; }; then
53903 glibcxx_cv_func__long_double_trig_use=yes
53904 else
53905 echo "$as_me: failed program was:" >&5
53906 sed 's/^/| /' conftest.$ac_ext >&5
53908 glibcxx_cv_func__long_double_trig_use=no
53910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53911 ac_ext=c
53912 ac_cpp='$CPP $CPPFLAGS'
53913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53920 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53921 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53931 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53934 echo "$as_me:$LINENO: checking for $ac_func" >&5
53935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53936 if eval "test \"\${$as_ac_var+set}\" = set"; then
53937 echo $ECHO_N "(cached) $ECHO_C" >&6
53938 else
53939 if test x$gcc_no_link = xyes; then
53940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53942 { (exit 1); exit 1; }; }
53944 cat >conftest.$ac_ext <<_ACEOF
53945 /* confdefs.h. */
53946 _ACEOF
53947 cat confdefs.h >>conftest.$ac_ext
53948 cat >>conftest.$ac_ext <<_ACEOF
53949 /* end confdefs.h. */
53950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53952 #define $ac_func innocuous_$ac_func
53954 /* System header to define __stub macros and hopefully few prototypes,
53955 which can conflict with char $ac_func (); below.
53956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53957 <limits.h> exists even on freestanding compilers. */
53959 #ifdef __STDC__
53960 # include <limits.h>
53961 #else
53962 # include <assert.h>
53963 #endif
53965 #undef $ac_func
53967 /* Override any gcc2 internal prototype to avoid an error. */
53968 #ifdef __cplusplus
53969 extern "C"
53971 #endif
53972 /* We use char because int might match the return type of a gcc2
53973 builtin and then its argument prototype would still apply. */
53974 char $ac_func ();
53975 /* The GNU C library defines this for functions which it implements
53976 to always fail with ENOSYS. Some functions are actually named
53977 something starting with __ and the normal name is an alias. */
53978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53979 choke me
53980 #else
53981 char (*f) () = $ac_func;
53982 #endif
53983 #ifdef __cplusplus
53985 #endif
53988 main ()
53990 return f != $ac_func;
53992 return 0;
53994 _ACEOF
53995 rm -f conftest.$ac_objext conftest$ac_exeext
53996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53997 (eval $ac_link) 2>conftest.er1
53998 ac_status=$?
53999 grep -v '^ *+' conftest.er1 >conftest.err
54000 rm -f conftest.er1
54001 cat conftest.err >&5
54002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003 (exit $ac_status); } &&
54004 { ac_try='test -z "$ac_c_werror_flag"
54005 || test ! -s conftest.err'
54006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54007 (eval $ac_try) 2>&5
54008 ac_status=$?
54009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010 (exit $ac_status); }; } &&
54011 { ac_try='test -s conftest$ac_exeext'
54012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013 (eval $ac_try) 2>&5
54014 ac_status=$?
54015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016 (exit $ac_status); }; }; then
54017 eval "$as_ac_var=yes"
54018 else
54019 echo "$as_me: failed program was:" >&5
54020 sed 's/^/| /' conftest.$ac_ext >&5
54022 eval "$as_ac_var=no"
54024 rm -f conftest.err conftest.$ac_objext \
54025 conftest$ac_exeext conftest.$ac_ext
54027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54029 if test `eval echo '${'$as_ac_var'}'` = yes; then
54030 cat >>confdefs.h <<_ACEOF
54031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54032 _ACEOF
54035 done
54053 echo "$as_me:$LINENO: checking for long double round functions" >&5
54054 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54055 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54056 echo $ECHO_N "(cached) $ECHO_C" >&6
54057 else
54061 ac_ext=cc
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54067 cat >conftest.$ac_ext <<_ACEOF
54068 /* confdefs.h. */
54069 _ACEOF
54070 cat confdefs.h >>conftest.$ac_ext
54071 cat >>conftest.$ac_ext <<_ACEOF
54072 /* end confdefs.h. */
54073 #include <math.h>
54075 main ()
54077 ceill (0); floorl (0);
54079 return 0;
54081 _ACEOF
54082 rm -f conftest.$ac_objext
54083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54084 (eval $ac_compile) 2>conftest.er1
54085 ac_status=$?
54086 grep -v '^ *+' conftest.er1 >conftest.err
54087 rm -f conftest.er1
54088 cat conftest.err >&5
54089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54090 (exit $ac_status); } &&
54091 { ac_try='test -z "$ac_cxx_werror_flag"
54092 || test ! -s conftest.err'
54093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54094 (eval $ac_try) 2>&5
54095 ac_status=$?
54096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097 (exit $ac_status); }; } &&
54098 { ac_try='test -s conftest.$ac_objext'
54099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54100 (eval $ac_try) 2>&5
54101 ac_status=$?
54102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54103 (exit $ac_status); }; }; then
54104 glibcxx_cv_func_long_double_round_use=yes
54105 else
54106 echo "$as_me: failed program was:" >&5
54107 sed 's/^/| /' conftest.$ac_ext >&5
54109 glibcxx_cv_func_long_double_round_use=no
54111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54112 ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54121 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54122 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54125 for ac_func in ceill floorl
54127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54128 echo "$as_me:$LINENO: checking for $ac_func" >&5
54129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54130 if eval "test \"\${$as_ac_var+set}\" = set"; then
54131 echo $ECHO_N "(cached) $ECHO_C" >&6
54132 else
54133 if test x$gcc_no_link = xyes; then
54134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54136 { (exit 1); exit 1; }; }
54138 cat >conftest.$ac_ext <<_ACEOF
54139 /* confdefs.h. */
54140 _ACEOF
54141 cat confdefs.h >>conftest.$ac_ext
54142 cat >>conftest.$ac_ext <<_ACEOF
54143 /* end confdefs.h. */
54144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54146 #define $ac_func innocuous_$ac_func
54148 /* System header to define __stub macros and hopefully few prototypes,
54149 which can conflict with char $ac_func (); below.
54150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54151 <limits.h> exists even on freestanding compilers. */
54153 #ifdef __STDC__
54154 # include <limits.h>
54155 #else
54156 # include <assert.h>
54157 #endif
54159 #undef $ac_func
54161 /* Override any gcc2 internal prototype to avoid an error. */
54162 #ifdef __cplusplus
54163 extern "C"
54165 #endif
54166 /* We use char because int might match the return type of a gcc2
54167 builtin and then its argument prototype would still apply. */
54168 char $ac_func ();
54169 /* The GNU C library defines this for functions which it implements
54170 to always fail with ENOSYS. Some functions are actually named
54171 something starting with __ and the normal name is an alias. */
54172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54173 choke me
54174 #else
54175 char (*f) () = $ac_func;
54176 #endif
54177 #ifdef __cplusplus
54179 #endif
54182 main ()
54184 return f != $ac_func;
54186 return 0;
54188 _ACEOF
54189 rm -f conftest.$ac_objext conftest$ac_exeext
54190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54191 (eval $ac_link) 2>conftest.er1
54192 ac_status=$?
54193 grep -v '^ *+' conftest.er1 >conftest.err
54194 rm -f conftest.er1
54195 cat conftest.err >&5
54196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54197 (exit $ac_status); } &&
54198 { ac_try='test -z "$ac_c_werror_flag"
54199 || test ! -s conftest.err'
54200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54201 (eval $ac_try) 2>&5
54202 ac_status=$?
54203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54204 (exit $ac_status); }; } &&
54205 { ac_try='test -s conftest$ac_exeext'
54206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54207 (eval $ac_try) 2>&5
54208 ac_status=$?
54209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54210 (exit $ac_status); }; }; then
54211 eval "$as_ac_var=yes"
54212 else
54213 echo "$as_me: failed program was:" >&5
54214 sed 's/^/| /' conftest.$ac_ext >&5
54216 eval "$as_ac_var=no"
54218 rm -f conftest.err conftest.$ac_objext \
54219 conftest$ac_exeext conftest.$ac_ext
54221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54223 if test `eval echo '${'$as_ac_var'}'` = yes; then
54224 cat >>confdefs.h <<_ACEOF
54225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54226 _ACEOF
54229 done
54231 else
54232 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54233 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54234 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54235 echo $ECHO_N "(cached) $ECHO_C" >&6
54236 else
54240 ac_ext=cc
54241 ac_cpp='$CXXCPP $CPPFLAGS'
54242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54246 cat >conftest.$ac_ext <<_ACEOF
54247 /* confdefs.h. */
54248 _ACEOF
54249 cat confdefs.h >>conftest.$ac_ext
54250 cat >>conftest.$ac_ext <<_ACEOF
54251 /* end confdefs.h. */
54252 #include <math.h>
54254 main ()
54256 _ceill (0); _floorl (0);
54258 return 0;
54260 _ACEOF
54261 rm -f conftest.$ac_objext
54262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54263 (eval $ac_compile) 2>conftest.er1
54264 ac_status=$?
54265 grep -v '^ *+' conftest.er1 >conftest.err
54266 rm -f conftest.er1
54267 cat conftest.err >&5
54268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54269 (exit $ac_status); } &&
54270 { ac_try='test -z "$ac_cxx_werror_flag"
54271 || test ! -s conftest.err'
54272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54273 (eval $ac_try) 2>&5
54274 ac_status=$?
54275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54276 (exit $ac_status); }; } &&
54277 { ac_try='test -s conftest.$ac_objext'
54278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54279 (eval $ac_try) 2>&5
54280 ac_status=$?
54281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54282 (exit $ac_status); }; }; then
54283 glibcxx_cv_func__long_double_round_use=yes
54284 else
54285 echo "$as_me: failed program was:" >&5
54286 sed 's/^/| /' conftest.$ac_ext >&5
54288 glibcxx_cv_func__long_double_round_use=no
54290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54291 ac_ext=c
54292 ac_cpp='$CPP $CPPFLAGS'
54293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54300 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54301 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54304 for ac_func in _ceill _floorl
54306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54307 echo "$as_me:$LINENO: checking for $ac_func" >&5
54308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54309 if eval "test \"\${$as_ac_var+set}\" = set"; then
54310 echo $ECHO_N "(cached) $ECHO_C" >&6
54311 else
54312 if test x$gcc_no_link = xyes; then
54313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54315 { (exit 1); exit 1; }; }
54317 cat >conftest.$ac_ext <<_ACEOF
54318 /* confdefs.h. */
54319 _ACEOF
54320 cat confdefs.h >>conftest.$ac_ext
54321 cat >>conftest.$ac_ext <<_ACEOF
54322 /* end confdefs.h. */
54323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54325 #define $ac_func innocuous_$ac_func
54327 /* System header to define __stub macros and hopefully few prototypes,
54328 which can conflict with char $ac_func (); below.
54329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54330 <limits.h> exists even on freestanding compilers. */
54332 #ifdef __STDC__
54333 # include <limits.h>
54334 #else
54335 # include <assert.h>
54336 #endif
54338 #undef $ac_func
54340 /* Override any gcc2 internal prototype to avoid an error. */
54341 #ifdef __cplusplus
54342 extern "C"
54344 #endif
54345 /* We use char because int might match the return type of a gcc2
54346 builtin and then its argument prototype would still apply. */
54347 char $ac_func ();
54348 /* The GNU C library defines this for functions which it implements
54349 to always fail with ENOSYS. Some functions are actually named
54350 something starting with __ and the normal name is an alias. */
54351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54352 choke me
54353 #else
54354 char (*f) () = $ac_func;
54355 #endif
54356 #ifdef __cplusplus
54358 #endif
54361 main ()
54363 return f != $ac_func;
54365 return 0;
54367 _ACEOF
54368 rm -f conftest.$ac_objext conftest$ac_exeext
54369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54370 (eval $ac_link) 2>conftest.er1
54371 ac_status=$?
54372 grep -v '^ *+' conftest.er1 >conftest.err
54373 rm -f conftest.er1
54374 cat conftest.err >&5
54375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54376 (exit $ac_status); } &&
54377 { ac_try='test -z "$ac_c_werror_flag"
54378 || test ! -s conftest.err'
54379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380 (eval $ac_try) 2>&5
54381 ac_status=$?
54382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383 (exit $ac_status); }; } &&
54384 { ac_try='test -s conftest$ac_exeext'
54385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54386 (eval $ac_try) 2>&5
54387 ac_status=$?
54388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54389 (exit $ac_status); }; }; then
54390 eval "$as_ac_var=yes"
54391 else
54392 echo "$as_me: failed program was:" >&5
54393 sed 's/^/| /' conftest.$ac_ext >&5
54395 eval "$as_ac_var=no"
54397 rm -f conftest.err conftest.$ac_objext \
54398 conftest$ac_exeext conftest.$ac_ext
54400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54402 if test `eval echo '${'$as_ac_var'}'` = yes; then
54403 cat >>confdefs.h <<_ACEOF
54404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54405 _ACEOF
54408 done
54420 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54421 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54422 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54423 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54424 echo $ECHO_N "(cached) $ECHO_C" >&6
54425 else
54429 ac_ext=cc
54430 ac_cpp='$CXXCPP $CPPFLAGS'
54431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54435 cat >conftest.$ac_ext <<_ACEOF
54436 /* confdefs.h. */
54437 _ACEOF
54438 cat confdefs.h >>conftest.$ac_ext
54439 cat >>conftest.$ac_ext <<_ACEOF
54440 /* end confdefs.h. */
54441 #include <math.h>
54442 #ifdef HAVE_IEEEFP_H
54443 #include <ieeefp.h>
54444 #endif
54447 main ()
54449 isnanl(0);
54451 return 0;
54453 _ACEOF
54454 rm -f conftest.$ac_objext
54455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54456 (eval $ac_compile) 2>conftest.er1
54457 ac_status=$?
54458 grep -v '^ *+' conftest.er1 >conftest.err
54459 rm -f conftest.er1
54460 cat conftest.err >&5
54461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54462 (exit $ac_status); } &&
54463 { ac_try='test -z "$ac_cxx_werror_flag"
54464 || test ! -s conftest.err'
54465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54466 (eval $ac_try) 2>&5
54467 ac_status=$?
54468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54469 (exit $ac_status); }; } &&
54470 { ac_try='test -s conftest.$ac_objext'
54471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54472 (eval $ac_try) 2>&5
54473 ac_status=$?
54474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54475 (exit $ac_status); }; }; then
54476 glibcxx_cv_func_isnanl_use=yes
54477 else
54478 echo "$as_me: failed program was:" >&5
54479 sed 's/^/| /' conftest.$ac_ext >&5
54481 glibcxx_cv_func_isnanl_use=no
54483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54484 ac_ext=c
54485 ac_cpp='$CPP $CPPFLAGS'
54486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54495 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54497 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54499 for ac_func in isnanl
54501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54502 echo "$as_me:$LINENO: checking for $ac_func" >&5
54503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54504 if eval "test \"\${$as_ac_var+set}\" = set"; then
54505 echo $ECHO_N "(cached) $ECHO_C" >&6
54506 else
54507 if test x$gcc_no_link = xyes; then
54508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54510 { (exit 1); exit 1; }; }
54512 cat >conftest.$ac_ext <<_ACEOF
54513 /* confdefs.h. */
54514 _ACEOF
54515 cat confdefs.h >>conftest.$ac_ext
54516 cat >>conftest.$ac_ext <<_ACEOF
54517 /* end confdefs.h. */
54518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54520 #define $ac_func innocuous_$ac_func
54522 /* System header to define __stub macros and hopefully few prototypes,
54523 which can conflict with char $ac_func (); below.
54524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54525 <limits.h> exists even on freestanding compilers. */
54527 #ifdef __STDC__
54528 # include <limits.h>
54529 #else
54530 # include <assert.h>
54531 #endif
54533 #undef $ac_func
54535 /* Override any gcc2 internal prototype to avoid an error. */
54536 #ifdef __cplusplus
54537 extern "C"
54539 #endif
54540 /* We use char because int might match the return type of a gcc2
54541 builtin and then its argument prototype would still apply. */
54542 char $ac_func ();
54543 /* The GNU C library defines this for functions which it implements
54544 to always fail with ENOSYS. Some functions are actually named
54545 something starting with __ and the normal name is an alias. */
54546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54547 choke me
54548 #else
54549 char (*f) () = $ac_func;
54550 #endif
54551 #ifdef __cplusplus
54553 #endif
54556 main ()
54558 return f != $ac_func;
54560 return 0;
54562 _ACEOF
54563 rm -f conftest.$ac_objext conftest$ac_exeext
54564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54565 (eval $ac_link) 2>conftest.er1
54566 ac_status=$?
54567 grep -v '^ *+' conftest.er1 >conftest.err
54568 rm -f conftest.er1
54569 cat conftest.err >&5
54570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54571 (exit $ac_status); } &&
54572 { ac_try='test -z "$ac_c_werror_flag"
54573 || test ! -s conftest.err'
54574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54575 (eval $ac_try) 2>&5
54576 ac_status=$?
54577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54578 (exit $ac_status); }; } &&
54579 { ac_try='test -s conftest$ac_exeext'
54580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54581 (eval $ac_try) 2>&5
54582 ac_status=$?
54583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54584 (exit $ac_status); }; }; then
54585 eval "$as_ac_var=yes"
54586 else
54587 echo "$as_me: failed program was:" >&5
54588 sed 's/^/| /' conftest.$ac_ext >&5
54590 eval "$as_ac_var=no"
54592 rm -f conftest.err conftest.$ac_objext \
54593 conftest$ac_exeext conftest.$ac_ext
54595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54597 if test `eval echo '${'$as_ac_var'}'` = yes; then
54598 cat >>confdefs.h <<_ACEOF
54599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54600 _ACEOF
54603 done
54605 else
54607 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54608 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54609 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54610 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54611 echo $ECHO_N "(cached) $ECHO_C" >&6
54612 else
54616 ac_ext=cc
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat >conftest.$ac_ext <<_ACEOF
54623 /* confdefs.h. */
54624 _ACEOF
54625 cat confdefs.h >>conftest.$ac_ext
54626 cat >>conftest.$ac_ext <<_ACEOF
54627 /* end confdefs.h. */
54628 #include <math.h>
54629 #ifdef HAVE_IEEEFP_H
54630 #include <ieeefp.h>
54631 #endif
54634 main ()
54636 _isnanl(0);
54638 return 0;
54640 _ACEOF
54641 rm -f conftest.$ac_objext
54642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54643 (eval $ac_compile) 2>conftest.er1
54644 ac_status=$?
54645 grep -v '^ *+' conftest.er1 >conftest.err
54646 rm -f conftest.er1
54647 cat conftest.err >&5
54648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54649 (exit $ac_status); } &&
54650 { ac_try='test -z "$ac_cxx_werror_flag"
54651 || test ! -s conftest.err'
54652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54653 (eval $ac_try) 2>&5
54654 ac_status=$?
54655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54656 (exit $ac_status); }; } &&
54657 { ac_try='test -s conftest.$ac_objext'
54658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54659 (eval $ac_try) 2>&5
54660 ac_status=$?
54661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54662 (exit $ac_status); }; }; then
54663 glibcxx_cv_func__isnanl_use=yes
54664 else
54665 echo "$as_me: failed program was:" >&5
54666 sed 's/^/| /' conftest.$ac_ext >&5
54668 glibcxx_cv_func__isnanl_use=no
54670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54671 ac_ext=c
54672 ac_cpp='$CPP $CPPFLAGS'
54673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54682 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54684 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54686 for ac_func in _isnanl
54688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54689 echo "$as_me:$LINENO: checking for $ac_func" >&5
54690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54691 if eval "test \"\${$as_ac_var+set}\" = set"; then
54692 echo $ECHO_N "(cached) $ECHO_C" >&6
54693 else
54694 if test x$gcc_no_link = xyes; then
54695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54697 { (exit 1); exit 1; }; }
54699 cat >conftest.$ac_ext <<_ACEOF
54700 /* confdefs.h. */
54701 _ACEOF
54702 cat confdefs.h >>conftest.$ac_ext
54703 cat >>conftest.$ac_ext <<_ACEOF
54704 /* end confdefs.h. */
54705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54707 #define $ac_func innocuous_$ac_func
54709 /* System header to define __stub macros and hopefully few prototypes,
54710 which can conflict with char $ac_func (); below.
54711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54712 <limits.h> exists even on freestanding compilers. */
54714 #ifdef __STDC__
54715 # include <limits.h>
54716 #else
54717 # include <assert.h>
54718 #endif
54720 #undef $ac_func
54722 /* Override any gcc2 internal prototype to avoid an error. */
54723 #ifdef __cplusplus
54724 extern "C"
54726 #endif
54727 /* We use char because int might match the return type of a gcc2
54728 builtin and then its argument prototype would still apply. */
54729 char $ac_func ();
54730 /* The GNU C library defines this for functions which it implements
54731 to always fail with ENOSYS. Some functions are actually named
54732 something starting with __ and the normal name is an alias. */
54733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54734 choke me
54735 #else
54736 char (*f) () = $ac_func;
54737 #endif
54738 #ifdef __cplusplus
54740 #endif
54743 main ()
54745 return f != $ac_func;
54747 return 0;
54749 _ACEOF
54750 rm -f conftest.$ac_objext conftest$ac_exeext
54751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54752 (eval $ac_link) 2>conftest.er1
54753 ac_status=$?
54754 grep -v '^ *+' conftest.er1 >conftest.err
54755 rm -f conftest.er1
54756 cat conftest.err >&5
54757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54758 (exit $ac_status); } &&
54759 { ac_try='test -z "$ac_c_werror_flag"
54760 || test ! -s conftest.err'
54761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54762 (eval $ac_try) 2>&5
54763 ac_status=$?
54764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54765 (exit $ac_status); }; } &&
54766 { ac_try='test -s conftest$ac_exeext'
54767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54768 (eval $ac_try) 2>&5
54769 ac_status=$?
54770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54771 (exit $ac_status); }; }; then
54772 eval "$as_ac_var=yes"
54773 else
54774 echo "$as_me: failed program was:" >&5
54775 sed 's/^/| /' conftest.$ac_ext >&5
54777 eval "$as_ac_var=no"
54779 rm -f conftest.err conftest.$ac_objext \
54780 conftest$ac_exeext conftest.$ac_ext
54782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54784 if test `eval echo '${'$as_ac_var'}'` = yes; then
54785 cat >>confdefs.h <<_ACEOF
54786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54787 _ACEOF
54790 done
54800 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54801 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54802 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54803 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54804 echo $ECHO_N "(cached) $ECHO_C" >&6
54805 else
54809 ac_ext=cc
54810 ac_cpp='$CXXCPP $CPPFLAGS'
54811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54815 cat >conftest.$ac_ext <<_ACEOF
54816 /* confdefs.h. */
54817 _ACEOF
54818 cat confdefs.h >>conftest.$ac_ext
54819 cat >>conftest.$ac_ext <<_ACEOF
54820 /* end confdefs.h. */
54821 #include <math.h>
54822 #ifdef HAVE_IEEEFP_H
54823 #include <ieeefp.h>
54824 #endif
54827 main ()
54829 isinfl(0);
54831 return 0;
54833 _ACEOF
54834 rm -f conftest.$ac_objext
54835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54836 (eval $ac_compile) 2>conftest.er1
54837 ac_status=$?
54838 grep -v '^ *+' conftest.er1 >conftest.err
54839 rm -f conftest.er1
54840 cat conftest.err >&5
54841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54842 (exit $ac_status); } &&
54843 { ac_try='test -z "$ac_cxx_werror_flag"
54844 || test ! -s conftest.err'
54845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54846 (eval $ac_try) 2>&5
54847 ac_status=$?
54848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54849 (exit $ac_status); }; } &&
54850 { ac_try='test -s conftest.$ac_objext'
54851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54852 (eval $ac_try) 2>&5
54853 ac_status=$?
54854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54855 (exit $ac_status); }; }; then
54856 glibcxx_cv_func_isinfl_use=yes
54857 else
54858 echo "$as_me: failed program was:" >&5
54859 sed 's/^/| /' conftest.$ac_ext >&5
54861 glibcxx_cv_func_isinfl_use=no
54863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54864 ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54875 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54877 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54879 for ac_func in isinfl
54881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54882 echo "$as_me:$LINENO: checking for $ac_func" >&5
54883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54884 if eval "test \"\${$as_ac_var+set}\" = set"; then
54885 echo $ECHO_N "(cached) $ECHO_C" >&6
54886 else
54887 if test x$gcc_no_link = xyes; then
54888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54890 { (exit 1); exit 1; }; }
54892 cat >conftest.$ac_ext <<_ACEOF
54893 /* confdefs.h. */
54894 _ACEOF
54895 cat confdefs.h >>conftest.$ac_ext
54896 cat >>conftest.$ac_ext <<_ACEOF
54897 /* end confdefs.h. */
54898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54900 #define $ac_func innocuous_$ac_func
54902 /* System header to define __stub macros and hopefully few prototypes,
54903 which can conflict with char $ac_func (); below.
54904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54905 <limits.h> exists even on freestanding compilers. */
54907 #ifdef __STDC__
54908 # include <limits.h>
54909 #else
54910 # include <assert.h>
54911 #endif
54913 #undef $ac_func
54915 /* Override any gcc2 internal prototype to avoid an error. */
54916 #ifdef __cplusplus
54917 extern "C"
54919 #endif
54920 /* We use char because int might match the return type of a gcc2
54921 builtin and then its argument prototype would still apply. */
54922 char $ac_func ();
54923 /* The GNU C library defines this for functions which it implements
54924 to always fail with ENOSYS. Some functions are actually named
54925 something starting with __ and the normal name is an alias. */
54926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54927 choke me
54928 #else
54929 char (*f) () = $ac_func;
54930 #endif
54931 #ifdef __cplusplus
54933 #endif
54936 main ()
54938 return f != $ac_func;
54940 return 0;
54942 _ACEOF
54943 rm -f conftest.$ac_objext conftest$ac_exeext
54944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54945 (eval $ac_link) 2>conftest.er1
54946 ac_status=$?
54947 grep -v '^ *+' conftest.er1 >conftest.err
54948 rm -f conftest.er1
54949 cat conftest.err >&5
54950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54951 (exit $ac_status); } &&
54952 { ac_try='test -z "$ac_c_werror_flag"
54953 || test ! -s conftest.err'
54954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54955 (eval $ac_try) 2>&5
54956 ac_status=$?
54957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54958 (exit $ac_status); }; } &&
54959 { ac_try='test -s conftest$ac_exeext'
54960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54961 (eval $ac_try) 2>&5
54962 ac_status=$?
54963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54964 (exit $ac_status); }; }; then
54965 eval "$as_ac_var=yes"
54966 else
54967 echo "$as_me: failed program was:" >&5
54968 sed 's/^/| /' conftest.$ac_ext >&5
54970 eval "$as_ac_var=no"
54972 rm -f conftest.err conftest.$ac_objext \
54973 conftest$ac_exeext conftest.$ac_ext
54975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54977 if test `eval echo '${'$as_ac_var'}'` = yes; then
54978 cat >>confdefs.h <<_ACEOF
54979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54980 _ACEOF
54983 done
54985 else
54987 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54988 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54989 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54990 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54991 echo $ECHO_N "(cached) $ECHO_C" >&6
54992 else
54996 ac_ext=cc
54997 ac_cpp='$CXXCPP $CPPFLAGS'
54998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55002 cat >conftest.$ac_ext <<_ACEOF
55003 /* confdefs.h. */
55004 _ACEOF
55005 cat confdefs.h >>conftest.$ac_ext
55006 cat >>conftest.$ac_ext <<_ACEOF
55007 /* end confdefs.h. */
55008 #include <math.h>
55009 #ifdef HAVE_IEEEFP_H
55010 #include <ieeefp.h>
55011 #endif
55014 main ()
55016 _isinfl(0);
55018 return 0;
55020 _ACEOF
55021 rm -f conftest.$ac_objext
55022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55023 (eval $ac_compile) 2>conftest.er1
55024 ac_status=$?
55025 grep -v '^ *+' conftest.er1 >conftest.err
55026 rm -f conftest.er1
55027 cat conftest.err >&5
55028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55029 (exit $ac_status); } &&
55030 { ac_try='test -z "$ac_cxx_werror_flag"
55031 || test ! -s conftest.err'
55032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55033 (eval $ac_try) 2>&5
55034 ac_status=$?
55035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55036 (exit $ac_status); }; } &&
55037 { ac_try='test -s conftest.$ac_objext'
55038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55039 (eval $ac_try) 2>&5
55040 ac_status=$?
55041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55042 (exit $ac_status); }; }; then
55043 glibcxx_cv_func__isinfl_use=yes
55044 else
55045 echo "$as_me: failed program was:" >&5
55046 sed 's/^/| /' conftest.$ac_ext >&5
55048 glibcxx_cv_func__isinfl_use=no
55050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55051 ac_ext=c
55052 ac_cpp='$CPP $CPPFLAGS'
55053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55061 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55062 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55064 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55066 for ac_func in _isinfl
55068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55069 echo "$as_me:$LINENO: checking for $ac_func" >&5
55070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55071 if eval "test \"\${$as_ac_var+set}\" = set"; then
55072 echo $ECHO_N "(cached) $ECHO_C" >&6
55073 else
55074 if test x$gcc_no_link = xyes; then
55075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55077 { (exit 1); exit 1; }; }
55079 cat >conftest.$ac_ext <<_ACEOF
55080 /* confdefs.h. */
55081 _ACEOF
55082 cat confdefs.h >>conftest.$ac_ext
55083 cat >>conftest.$ac_ext <<_ACEOF
55084 /* end confdefs.h. */
55085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55087 #define $ac_func innocuous_$ac_func
55089 /* System header to define __stub macros and hopefully few prototypes,
55090 which can conflict with char $ac_func (); below.
55091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55092 <limits.h> exists even on freestanding compilers. */
55094 #ifdef __STDC__
55095 # include <limits.h>
55096 #else
55097 # include <assert.h>
55098 #endif
55100 #undef $ac_func
55102 /* Override any gcc2 internal prototype to avoid an error. */
55103 #ifdef __cplusplus
55104 extern "C"
55106 #endif
55107 /* We use char because int might match the return type of a gcc2
55108 builtin and then its argument prototype would still apply. */
55109 char $ac_func ();
55110 /* The GNU C library defines this for functions which it implements
55111 to always fail with ENOSYS. Some functions are actually named
55112 something starting with __ and the normal name is an alias. */
55113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55114 choke me
55115 #else
55116 char (*f) () = $ac_func;
55117 #endif
55118 #ifdef __cplusplus
55120 #endif
55123 main ()
55125 return f != $ac_func;
55127 return 0;
55129 _ACEOF
55130 rm -f conftest.$ac_objext conftest$ac_exeext
55131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55132 (eval $ac_link) 2>conftest.er1
55133 ac_status=$?
55134 grep -v '^ *+' conftest.er1 >conftest.err
55135 rm -f conftest.er1
55136 cat conftest.err >&5
55137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55138 (exit $ac_status); } &&
55139 { ac_try='test -z "$ac_c_werror_flag"
55140 || test ! -s conftest.err'
55141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55142 (eval $ac_try) 2>&5
55143 ac_status=$?
55144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55145 (exit $ac_status); }; } &&
55146 { ac_try='test -s conftest$ac_exeext'
55147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55148 (eval $ac_try) 2>&5
55149 ac_status=$?
55150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55151 (exit $ac_status); }; }; then
55152 eval "$as_ac_var=yes"
55153 else
55154 echo "$as_me: failed program was:" >&5
55155 sed 's/^/| /' conftest.$ac_ext >&5
55157 eval "$as_ac_var=no"
55159 rm -f conftest.err conftest.$ac_objext \
55160 conftest$ac_exeext conftest.$ac_ext
55162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55164 if test `eval echo '${'$as_ac_var'}'` = yes; then
55165 cat >>confdefs.h <<_ACEOF
55166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55167 _ACEOF
55170 done
55180 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55181 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55182 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55183 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55184 echo $ECHO_N "(cached) $ECHO_C" >&6
55185 else
55189 ac_ext=cc
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55195 cat >conftest.$ac_ext <<_ACEOF
55196 /* confdefs.h. */
55197 _ACEOF
55198 cat confdefs.h >>conftest.$ac_ext
55199 cat >>conftest.$ac_ext <<_ACEOF
55200 /* end confdefs.h. */
55201 #include <math.h>
55203 main ()
55205 copysignl(0, 0);
55207 return 0;
55209 _ACEOF
55210 rm -f conftest.$ac_objext
55211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55212 (eval $ac_compile) 2>conftest.er1
55213 ac_status=$?
55214 grep -v '^ *+' conftest.er1 >conftest.err
55215 rm -f conftest.er1
55216 cat conftest.err >&5
55217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55218 (exit $ac_status); } &&
55219 { ac_try='test -z "$ac_cxx_werror_flag"
55220 || test ! -s conftest.err'
55221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55222 (eval $ac_try) 2>&5
55223 ac_status=$?
55224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55225 (exit $ac_status); }; } &&
55226 { ac_try='test -s conftest.$ac_objext'
55227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55228 (eval $ac_try) 2>&5
55229 ac_status=$?
55230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231 (exit $ac_status); }; }; then
55232 glibcxx_cv_func_copysignl_use=yes
55233 else
55234 echo "$as_me: failed program was:" >&5
55235 sed 's/^/| /' conftest.$ac_ext >&5
55237 glibcxx_cv_func_copysignl_use=no
55239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55240 ac_ext=c
55241 ac_cpp='$CPP $CPPFLAGS'
55242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55250 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55251 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55253 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55255 for ac_func in copysignl
55257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55258 echo "$as_me:$LINENO: checking for $ac_func" >&5
55259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55260 if eval "test \"\${$as_ac_var+set}\" = set"; then
55261 echo $ECHO_N "(cached) $ECHO_C" >&6
55262 else
55263 if test x$gcc_no_link = xyes; then
55264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55266 { (exit 1); exit 1; }; }
55268 cat >conftest.$ac_ext <<_ACEOF
55269 /* confdefs.h. */
55270 _ACEOF
55271 cat confdefs.h >>conftest.$ac_ext
55272 cat >>conftest.$ac_ext <<_ACEOF
55273 /* end confdefs.h. */
55274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55276 #define $ac_func innocuous_$ac_func
55278 /* System header to define __stub macros and hopefully few prototypes,
55279 which can conflict with char $ac_func (); below.
55280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55281 <limits.h> exists even on freestanding compilers. */
55283 #ifdef __STDC__
55284 # include <limits.h>
55285 #else
55286 # include <assert.h>
55287 #endif
55289 #undef $ac_func
55291 /* Override any gcc2 internal prototype to avoid an error. */
55292 #ifdef __cplusplus
55293 extern "C"
55295 #endif
55296 /* We use char because int might match the return type of a gcc2
55297 builtin and then its argument prototype would still apply. */
55298 char $ac_func ();
55299 /* The GNU C library defines this for functions which it implements
55300 to always fail with ENOSYS. Some functions are actually named
55301 something starting with __ and the normal name is an alias. */
55302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55303 choke me
55304 #else
55305 char (*f) () = $ac_func;
55306 #endif
55307 #ifdef __cplusplus
55309 #endif
55312 main ()
55314 return f != $ac_func;
55316 return 0;
55318 _ACEOF
55319 rm -f conftest.$ac_objext conftest$ac_exeext
55320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55321 (eval $ac_link) 2>conftest.er1
55322 ac_status=$?
55323 grep -v '^ *+' conftest.er1 >conftest.err
55324 rm -f conftest.er1
55325 cat conftest.err >&5
55326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55327 (exit $ac_status); } &&
55328 { ac_try='test -z "$ac_c_werror_flag"
55329 || test ! -s conftest.err'
55330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55331 (eval $ac_try) 2>&5
55332 ac_status=$?
55333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55334 (exit $ac_status); }; } &&
55335 { ac_try='test -s conftest$ac_exeext'
55336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55337 (eval $ac_try) 2>&5
55338 ac_status=$?
55339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55340 (exit $ac_status); }; }; then
55341 eval "$as_ac_var=yes"
55342 else
55343 echo "$as_me: failed program was:" >&5
55344 sed 's/^/| /' conftest.$ac_ext >&5
55346 eval "$as_ac_var=no"
55348 rm -f conftest.err conftest.$ac_objext \
55349 conftest$ac_exeext conftest.$ac_ext
55351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55353 if test `eval echo '${'$as_ac_var'}'` = yes; then
55354 cat >>confdefs.h <<_ACEOF
55355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55356 _ACEOF
55359 done
55361 else
55363 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55364 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55365 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55366 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55367 echo $ECHO_N "(cached) $ECHO_C" >&6
55368 else
55372 ac_ext=cc
55373 ac_cpp='$CXXCPP $CPPFLAGS'
55374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55378 cat >conftest.$ac_ext <<_ACEOF
55379 /* confdefs.h. */
55380 _ACEOF
55381 cat confdefs.h >>conftest.$ac_ext
55382 cat >>conftest.$ac_ext <<_ACEOF
55383 /* end confdefs.h. */
55384 #include <math.h>
55386 main ()
55388 _copysignl(0, 0);
55390 return 0;
55392 _ACEOF
55393 rm -f conftest.$ac_objext
55394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55395 (eval $ac_compile) 2>conftest.er1
55396 ac_status=$?
55397 grep -v '^ *+' conftest.er1 >conftest.err
55398 rm -f conftest.er1
55399 cat conftest.err >&5
55400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401 (exit $ac_status); } &&
55402 { ac_try='test -z "$ac_cxx_werror_flag"
55403 || test ! -s conftest.err'
55404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55405 (eval $ac_try) 2>&5
55406 ac_status=$?
55407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55408 (exit $ac_status); }; } &&
55409 { ac_try='test -s conftest.$ac_objext'
55410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55411 (eval $ac_try) 2>&5
55412 ac_status=$?
55413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55414 (exit $ac_status); }; }; then
55415 glibcxx_cv_func__copysignl_use=yes
55416 else
55417 echo "$as_me: failed program was:" >&5
55418 sed 's/^/| /' conftest.$ac_ext >&5
55420 glibcxx_cv_func__copysignl_use=no
55422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55423 ac_ext=c
55424 ac_cpp='$CPP $CPPFLAGS'
55425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55434 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55436 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55438 for ac_func in _copysignl
55440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55441 echo "$as_me:$LINENO: checking for $ac_func" >&5
55442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55443 if eval "test \"\${$as_ac_var+set}\" = set"; then
55444 echo $ECHO_N "(cached) $ECHO_C" >&6
55445 else
55446 if test x$gcc_no_link = xyes; then
55447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55449 { (exit 1); exit 1; }; }
55451 cat >conftest.$ac_ext <<_ACEOF
55452 /* confdefs.h. */
55453 _ACEOF
55454 cat confdefs.h >>conftest.$ac_ext
55455 cat >>conftest.$ac_ext <<_ACEOF
55456 /* end confdefs.h. */
55457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55459 #define $ac_func innocuous_$ac_func
55461 /* System header to define __stub macros and hopefully few prototypes,
55462 which can conflict with char $ac_func (); below.
55463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55464 <limits.h> exists even on freestanding compilers. */
55466 #ifdef __STDC__
55467 # include <limits.h>
55468 #else
55469 # include <assert.h>
55470 #endif
55472 #undef $ac_func
55474 /* Override any gcc2 internal prototype to avoid an error. */
55475 #ifdef __cplusplus
55476 extern "C"
55478 #endif
55479 /* We use char because int might match the return type of a gcc2
55480 builtin and then its argument prototype would still apply. */
55481 char $ac_func ();
55482 /* The GNU C library defines this for functions which it implements
55483 to always fail with ENOSYS. Some functions are actually named
55484 something starting with __ and the normal name is an alias. */
55485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55486 choke me
55487 #else
55488 char (*f) () = $ac_func;
55489 #endif
55490 #ifdef __cplusplus
55492 #endif
55495 main ()
55497 return f != $ac_func;
55499 return 0;
55501 _ACEOF
55502 rm -f conftest.$ac_objext conftest$ac_exeext
55503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55504 (eval $ac_link) 2>conftest.er1
55505 ac_status=$?
55506 grep -v '^ *+' conftest.er1 >conftest.err
55507 rm -f conftest.er1
55508 cat conftest.err >&5
55509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55510 (exit $ac_status); } &&
55511 { ac_try='test -z "$ac_c_werror_flag"
55512 || test ! -s conftest.err'
55513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55514 (eval $ac_try) 2>&5
55515 ac_status=$?
55516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55517 (exit $ac_status); }; } &&
55518 { ac_try='test -s conftest$ac_exeext'
55519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55520 (eval $ac_try) 2>&5
55521 ac_status=$?
55522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55523 (exit $ac_status); }; }; then
55524 eval "$as_ac_var=yes"
55525 else
55526 echo "$as_me: failed program was:" >&5
55527 sed 's/^/| /' conftest.$ac_ext >&5
55529 eval "$as_ac_var=no"
55531 rm -f conftest.err conftest.$ac_objext \
55532 conftest$ac_exeext conftest.$ac_ext
55534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55536 if test `eval echo '${'$as_ac_var'}'` = yes; then
55537 cat >>confdefs.h <<_ACEOF
55538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55539 _ACEOF
55542 done
55552 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55553 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55554 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55555 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55556 echo $ECHO_N "(cached) $ECHO_C" >&6
55557 else
55561 ac_ext=cc
55562 ac_cpp='$CXXCPP $CPPFLAGS'
55563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55567 cat >conftest.$ac_ext <<_ACEOF
55568 /* confdefs.h. */
55569 _ACEOF
55570 cat confdefs.h >>conftest.$ac_ext
55571 cat >>conftest.$ac_ext <<_ACEOF
55572 /* end confdefs.h. */
55573 #include <math.h>
55575 main ()
55577 atan2l(0, 0);
55579 return 0;
55581 _ACEOF
55582 rm -f conftest.$ac_objext
55583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55584 (eval $ac_compile) 2>conftest.er1
55585 ac_status=$?
55586 grep -v '^ *+' conftest.er1 >conftest.err
55587 rm -f conftest.er1
55588 cat conftest.err >&5
55589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55590 (exit $ac_status); } &&
55591 { ac_try='test -z "$ac_cxx_werror_flag"
55592 || test ! -s conftest.err'
55593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55594 (eval $ac_try) 2>&5
55595 ac_status=$?
55596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55597 (exit $ac_status); }; } &&
55598 { ac_try='test -s conftest.$ac_objext'
55599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55600 (eval $ac_try) 2>&5
55601 ac_status=$?
55602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55603 (exit $ac_status); }; }; then
55604 glibcxx_cv_func_atan2l_use=yes
55605 else
55606 echo "$as_me: failed program was:" >&5
55607 sed 's/^/| /' conftest.$ac_ext >&5
55609 glibcxx_cv_func_atan2l_use=no
55611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55612 ac_ext=c
55613 ac_cpp='$CPP $CPPFLAGS'
55614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55623 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55625 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55627 for ac_func in atan2l
55629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55630 echo "$as_me:$LINENO: checking for $ac_func" >&5
55631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55632 if eval "test \"\${$as_ac_var+set}\" = set"; then
55633 echo $ECHO_N "(cached) $ECHO_C" >&6
55634 else
55635 if test x$gcc_no_link = xyes; then
55636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55638 { (exit 1); exit 1; }; }
55640 cat >conftest.$ac_ext <<_ACEOF
55641 /* confdefs.h. */
55642 _ACEOF
55643 cat confdefs.h >>conftest.$ac_ext
55644 cat >>conftest.$ac_ext <<_ACEOF
55645 /* end confdefs.h. */
55646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55648 #define $ac_func innocuous_$ac_func
55650 /* System header to define __stub macros and hopefully few prototypes,
55651 which can conflict with char $ac_func (); below.
55652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55653 <limits.h> exists even on freestanding compilers. */
55655 #ifdef __STDC__
55656 # include <limits.h>
55657 #else
55658 # include <assert.h>
55659 #endif
55661 #undef $ac_func
55663 /* Override any gcc2 internal prototype to avoid an error. */
55664 #ifdef __cplusplus
55665 extern "C"
55667 #endif
55668 /* We use char because int might match the return type of a gcc2
55669 builtin and then its argument prototype would still apply. */
55670 char $ac_func ();
55671 /* The GNU C library defines this for functions which it implements
55672 to always fail with ENOSYS. Some functions are actually named
55673 something starting with __ and the normal name is an alias. */
55674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55675 choke me
55676 #else
55677 char (*f) () = $ac_func;
55678 #endif
55679 #ifdef __cplusplus
55681 #endif
55684 main ()
55686 return f != $ac_func;
55688 return 0;
55690 _ACEOF
55691 rm -f conftest.$ac_objext conftest$ac_exeext
55692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55693 (eval $ac_link) 2>conftest.er1
55694 ac_status=$?
55695 grep -v '^ *+' conftest.er1 >conftest.err
55696 rm -f conftest.er1
55697 cat conftest.err >&5
55698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55699 (exit $ac_status); } &&
55700 { ac_try='test -z "$ac_c_werror_flag"
55701 || test ! -s conftest.err'
55702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55703 (eval $ac_try) 2>&5
55704 ac_status=$?
55705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55706 (exit $ac_status); }; } &&
55707 { ac_try='test -s conftest$ac_exeext'
55708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55709 (eval $ac_try) 2>&5
55710 ac_status=$?
55711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55712 (exit $ac_status); }; }; then
55713 eval "$as_ac_var=yes"
55714 else
55715 echo "$as_me: failed program was:" >&5
55716 sed 's/^/| /' conftest.$ac_ext >&5
55718 eval "$as_ac_var=no"
55720 rm -f conftest.err conftest.$ac_objext \
55721 conftest$ac_exeext conftest.$ac_ext
55723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55725 if test `eval echo '${'$as_ac_var'}'` = yes; then
55726 cat >>confdefs.h <<_ACEOF
55727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55728 _ACEOF
55731 done
55733 else
55735 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55736 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55737 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55738 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55739 echo $ECHO_N "(cached) $ECHO_C" >&6
55740 else
55744 ac_ext=cc
55745 ac_cpp='$CXXCPP $CPPFLAGS'
55746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55750 cat >conftest.$ac_ext <<_ACEOF
55751 /* confdefs.h. */
55752 _ACEOF
55753 cat confdefs.h >>conftest.$ac_ext
55754 cat >>conftest.$ac_ext <<_ACEOF
55755 /* end confdefs.h. */
55756 #include <math.h>
55758 main ()
55760 _atan2l(0, 0);
55762 return 0;
55764 _ACEOF
55765 rm -f conftest.$ac_objext
55766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55767 (eval $ac_compile) 2>conftest.er1
55768 ac_status=$?
55769 grep -v '^ *+' conftest.er1 >conftest.err
55770 rm -f conftest.er1
55771 cat conftest.err >&5
55772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55773 (exit $ac_status); } &&
55774 { ac_try='test -z "$ac_cxx_werror_flag"
55775 || test ! -s conftest.err'
55776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55777 (eval $ac_try) 2>&5
55778 ac_status=$?
55779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55780 (exit $ac_status); }; } &&
55781 { ac_try='test -s conftest.$ac_objext'
55782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55783 (eval $ac_try) 2>&5
55784 ac_status=$?
55785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55786 (exit $ac_status); }; }; then
55787 glibcxx_cv_func__atan2l_use=yes
55788 else
55789 echo "$as_me: failed program was:" >&5
55790 sed 's/^/| /' conftest.$ac_ext >&5
55792 glibcxx_cv_func__atan2l_use=no
55794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55795 ac_ext=c
55796 ac_cpp='$CPP $CPPFLAGS'
55797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55806 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55808 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55810 for ac_func in _atan2l
55812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55813 echo "$as_me:$LINENO: checking for $ac_func" >&5
55814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55815 if eval "test \"\${$as_ac_var+set}\" = set"; then
55816 echo $ECHO_N "(cached) $ECHO_C" >&6
55817 else
55818 if test x$gcc_no_link = xyes; then
55819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55821 { (exit 1); exit 1; }; }
55823 cat >conftest.$ac_ext <<_ACEOF
55824 /* confdefs.h. */
55825 _ACEOF
55826 cat confdefs.h >>conftest.$ac_ext
55827 cat >>conftest.$ac_ext <<_ACEOF
55828 /* end confdefs.h. */
55829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55831 #define $ac_func innocuous_$ac_func
55833 /* System header to define __stub macros and hopefully few prototypes,
55834 which can conflict with char $ac_func (); below.
55835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55836 <limits.h> exists even on freestanding compilers. */
55838 #ifdef __STDC__
55839 # include <limits.h>
55840 #else
55841 # include <assert.h>
55842 #endif
55844 #undef $ac_func
55846 /* Override any gcc2 internal prototype to avoid an error. */
55847 #ifdef __cplusplus
55848 extern "C"
55850 #endif
55851 /* We use char because int might match the return type of a gcc2
55852 builtin and then its argument prototype would still apply. */
55853 char $ac_func ();
55854 /* The GNU C library defines this for functions which it implements
55855 to always fail with ENOSYS. Some functions are actually named
55856 something starting with __ and the normal name is an alias. */
55857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55858 choke me
55859 #else
55860 char (*f) () = $ac_func;
55861 #endif
55862 #ifdef __cplusplus
55864 #endif
55867 main ()
55869 return f != $ac_func;
55871 return 0;
55873 _ACEOF
55874 rm -f conftest.$ac_objext conftest$ac_exeext
55875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55876 (eval $ac_link) 2>conftest.er1
55877 ac_status=$?
55878 grep -v '^ *+' conftest.er1 >conftest.err
55879 rm -f conftest.er1
55880 cat conftest.err >&5
55881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55882 (exit $ac_status); } &&
55883 { ac_try='test -z "$ac_c_werror_flag"
55884 || test ! -s conftest.err'
55885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55886 (eval $ac_try) 2>&5
55887 ac_status=$?
55888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55889 (exit $ac_status); }; } &&
55890 { ac_try='test -s conftest$ac_exeext'
55891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55892 (eval $ac_try) 2>&5
55893 ac_status=$?
55894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55895 (exit $ac_status); }; }; then
55896 eval "$as_ac_var=yes"
55897 else
55898 echo "$as_me: failed program was:" >&5
55899 sed 's/^/| /' conftest.$ac_ext >&5
55901 eval "$as_ac_var=no"
55903 rm -f conftest.err conftest.$ac_objext \
55904 conftest$ac_exeext conftest.$ac_ext
55906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55908 if test `eval echo '${'$as_ac_var'}'` = yes; then
55909 cat >>confdefs.h <<_ACEOF
55910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55911 _ACEOF
55914 done
55924 echo "$as_me:$LINENO: checking for expl declaration" >&5
55925 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55926 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55927 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55928 echo $ECHO_N "(cached) $ECHO_C" >&6
55929 else
55933 ac_ext=cc
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55939 cat >conftest.$ac_ext <<_ACEOF
55940 /* confdefs.h. */
55941 _ACEOF
55942 cat confdefs.h >>conftest.$ac_ext
55943 cat >>conftest.$ac_ext <<_ACEOF
55944 /* end confdefs.h. */
55945 #include <math.h>
55946 #ifdef HAVE_IEEEFP_H
55947 #include <ieeefp.h>
55948 #endif
55951 main ()
55953 expl(0);
55955 return 0;
55957 _ACEOF
55958 rm -f conftest.$ac_objext
55959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55960 (eval $ac_compile) 2>conftest.er1
55961 ac_status=$?
55962 grep -v '^ *+' conftest.er1 >conftest.err
55963 rm -f conftest.er1
55964 cat conftest.err >&5
55965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55966 (exit $ac_status); } &&
55967 { ac_try='test -z "$ac_cxx_werror_flag"
55968 || test ! -s conftest.err'
55969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55970 (eval $ac_try) 2>&5
55971 ac_status=$?
55972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55973 (exit $ac_status); }; } &&
55974 { ac_try='test -s conftest.$ac_objext'
55975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55976 (eval $ac_try) 2>&5
55977 ac_status=$?
55978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979 (exit $ac_status); }; }; then
55980 glibcxx_cv_func_expl_use=yes
55981 else
55982 echo "$as_me: failed program was:" >&5
55983 sed 's/^/| /' conftest.$ac_ext >&5
55985 glibcxx_cv_func_expl_use=no
55987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55988 ac_ext=c
55989 ac_cpp='$CPP $CPPFLAGS'
55990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55999 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56001 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56003 for ac_func in expl
56005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56006 echo "$as_me:$LINENO: checking for $ac_func" >&5
56007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56008 if eval "test \"\${$as_ac_var+set}\" = set"; then
56009 echo $ECHO_N "(cached) $ECHO_C" >&6
56010 else
56011 if test x$gcc_no_link = xyes; then
56012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56014 { (exit 1); exit 1; }; }
56016 cat >conftest.$ac_ext <<_ACEOF
56017 /* confdefs.h. */
56018 _ACEOF
56019 cat confdefs.h >>conftest.$ac_ext
56020 cat >>conftest.$ac_ext <<_ACEOF
56021 /* end confdefs.h. */
56022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56024 #define $ac_func innocuous_$ac_func
56026 /* System header to define __stub macros and hopefully few prototypes,
56027 which can conflict with char $ac_func (); below.
56028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56029 <limits.h> exists even on freestanding compilers. */
56031 #ifdef __STDC__
56032 # include <limits.h>
56033 #else
56034 # include <assert.h>
56035 #endif
56037 #undef $ac_func
56039 /* Override any gcc2 internal prototype to avoid an error. */
56040 #ifdef __cplusplus
56041 extern "C"
56043 #endif
56044 /* We use char because int might match the return type of a gcc2
56045 builtin and then its argument prototype would still apply. */
56046 char $ac_func ();
56047 /* The GNU C library defines this for functions which it implements
56048 to always fail with ENOSYS. Some functions are actually named
56049 something starting with __ and the normal name is an alias. */
56050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56051 choke me
56052 #else
56053 char (*f) () = $ac_func;
56054 #endif
56055 #ifdef __cplusplus
56057 #endif
56060 main ()
56062 return f != $ac_func;
56064 return 0;
56066 _ACEOF
56067 rm -f conftest.$ac_objext conftest$ac_exeext
56068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56069 (eval $ac_link) 2>conftest.er1
56070 ac_status=$?
56071 grep -v '^ *+' conftest.er1 >conftest.err
56072 rm -f conftest.er1
56073 cat conftest.err >&5
56074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075 (exit $ac_status); } &&
56076 { ac_try='test -z "$ac_c_werror_flag"
56077 || test ! -s conftest.err'
56078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56079 (eval $ac_try) 2>&5
56080 ac_status=$?
56081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56082 (exit $ac_status); }; } &&
56083 { ac_try='test -s conftest$ac_exeext'
56084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56085 (eval $ac_try) 2>&5
56086 ac_status=$?
56087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56088 (exit $ac_status); }; }; then
56089 eval "$as_ac_var=yes"
56090 else
56091 echo "$as_me: failed program was:" >&5
56092 sed 's/^/| /' conftest.$ac_ext >&5
56094 eval "$as_ac_var=no"
56096 rm -f conftest.err conftest.$ac_objext \
56097 conftest$ac_exeext conftest.$ac_ext
56099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56101 if test `eval echo '${'$as_ac_var'}'` = yes; then
56102 cat >>confdefs.h <<_ACEOF
56103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56104 _ACEOF
56107 done
56109 else
56111 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56112 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56113 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56114 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56115 echo $ECHO_N "(cached) $ECHO_C" >&6
56116 else
56120 ac_ext=cc
56121 ac_cpp='$CXXCPP $CPPFLAGS'
56122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56126 cat >conftest.$ac_ext <<_ACEOF
56127 /* confdefs.h. */
56128 _ACEOF
56129 cat confdefs.h >>conftest.$ac_ext
56130 cat >>conftest.$ac_ext <<_ACEOF
56131 /* end confdefs.h. */
56132 #include <math.h>
56133 #ifdef HAVE_IEEEFP_H
56134 #include <ieeefp.h>
56135 #endif
56138 main ()
56140 _expl(0);
56142 return 0;
56144 _ACEOF
56145 rm -f conftest.$ac_objext
56146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56147 (eval $ac_compile) 2>conftest.er1
56148 ac_status=$?
56149 grep -v '^ *+' conftest.er1 >conftest.err
56150 rm -f conftest.er1
56151 cat conftest.err >&5
56152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56153 (exit $ac_status); } &&
56154 { ac_try='test -z "$ac_cxx_werror_flag"
56155 || test ! -s conftest.err'
56156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56157 (eval $ac_try) 2>&5
56158 ac_status=$?
56159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56160 (exit $ac_status); }; } &&
56161 { ac_try='test -s conftest.$ac_objext'
56162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56163 (eval $ac_try) 2>&5
56164 ac_status=$?
56165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56166 (exit $ac_status); }; }; then
56167 glibcxx_cv_func__expl_use=yes
56168 else
56169 echo "$as_me: failed program was:" >&5
56170 sed 's/^/| /' conftest.$ac_ext >&5
56172 glibcxx_cv_func__expl_use=no
56174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56175 ac_ext=c
56176 ac_cpp='$CPP $CPPFLAGS'
56177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56186 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56188 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56190 for ac_func in _expl
56192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56193 echo "$as_me:$LINENO: checking for $ac_func" >&5
56194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56195 if eval "test \"\${$as_ac_var+set}\" = set"; then
56196 echo $ECHO_N "(cached) $ECHO_C" >&6
56197 else
56198 if test x$gcc_no_link = xyes; then
56199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56201 { (exit 1); exit 1; }; }
56203 cat >conftest.$ac_ext <<_ACEOF
56204 /* confdefs.h. */
56205 _ACEOF
56206 cat confdefs.h >>conftest.$ac_ext
56207 cat >>conftest.$ac_ext <<_ACEOF
56208 /* end confdefs.h. */
56209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56211 #define $ac_func innocuous_$ac_func
56213 /* System header to define __stub macros and hopefully few prototypes,
56214 which can conflict with char $ac_func (); below.
56215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56216 <limits.h> exists even on freestanding compilers. */
56218 #ifdef __STDC__
56219 # include <limits.h>
56220 #else
56221 # include <assert.h>
56222 #endif
56224 #undef $ac_func
56226 /* Override any gcc2 internal prototype to avoid an error. */
56227 #ifdef __cplusplus
56228 extern "C"
56230 #endif
56231 /* We use char because int might match the return type of a gcc2
56232 builtin and then its argument prototype would still apply. */
56233 char $ac_func ();
56234 /* The GNU C library defines this for functions which it implements
56235 to always fail with ENOSYS. Some functions are actually named
56236 something starting with __ and the normal name is an alias. */
56237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56238 choke me
56239 #else
56240 char (*f) () = $ac_func;
56241 #endif
56242 #ifdef __cplusplus
56244 #endif
56247 main ()
56249 return f != $ac_func;
56251 return 0;
56253 _ACEOF
56254 rm -f conftest.$ac_objext conftest$ac_exeext
56255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56256 (eval $ac_link) 2>conftest.er1
56257 ac_status=$?
56258 grep -v '^ *+' conftest.er1 >conftest.err
56259 rm -f conftest.er1
56260 cat conftest.err >&5
56261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56262 (exit $ac_status); } &&
56263 { ac_try='test -z "$ac_c_werror_flag"
56264 || test ! -s conftest.err'
56265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56266 (eval $ac_try) 2>&5
56267 ac_status=$?
56268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56269 (exit $ac_status); }; } &&
56270 { ac_try='test -s conftest$ac_exeext'
56271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56272 (eval $ac_try) 2>&5
56273 ac_status=$?
56274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56275 (exit $ac_status); }; }; then
56276 eval "$as_ac_var=yes"
56277 else
56278 echo "$as_me: failed program was:" >&5
56279 sed 's/^/| /' conftest.$ac_ext >&5
56281 eval "$as_ac_var=no"
56283 rm -f conftest.err conftest.$ac_objext \
56284 conftest$ac_exeext conftest.$ac_ext
56286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56288 if test `eval echo '${'$as_ac_var'}'` = yes; then
56289 cat >>confdefs.h <<_ACEOF
56290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56291 _ACEOF
56294 done
56304 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56305 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56306 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56307 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56308 echo $ECHO_N "(cached) $ECHO_C" >&6
56309 else
56313 ac_ext=cc
56314 ac_cpp='$CXXCPP $CPPFLAGS'
56315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56319 cat >conftest.$ac_ext <<_ACEOF
56320 /* confdefs.h. */
56321 _ACEOF
56322 cat confdefs.h >>conftest.$ac_ext
56323 cat >>conftest.$ac_ext <<_ACEOF
56324 /* end confdefs.h. */
56325 #include <math.h>
56326 #ifdef HAVE_IEEEFP_H
56327 #include <ieeefp.h>
56328 #endif
56331 main ()
56333 fabsl(0);
56335 return 0;
56337 _ACEOF
56338 rm -f conftest.$ac_objext
56339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56340 (eval $ac_compile) 2>conftest.er1
56341 ac_status=$?
56342 grep -v '^ *+' conftest.er1 >conftest.err
56343 rm -f conftest.er1
56344 cat conftest.err >&5
56345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346 (exit $ac_status); } &&
56347 { ac_try='test -z "$ac_cxx_werror_flag"
56348 || test ! -s conftest.err'
56349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56350 (eval $ac_try) 2>&5
56351 ac_status=$?
56352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56353 (exit $ac_status); }; } &&
56354 { ac_try='test -s conftest.$ac_objext'
56355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56356 (eval $ac_try) 2>&5
56357 ac_status=$?
56358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56359 (exit $ac_status); }; }; then
56360 glibcxx_cv_func_fabsl_use=yes
56361 else
56362 echo "$as_me: failed program was:" >&5
56363 sed 's/^/| /' conftest.$ac_ext >&5
56365 glibcxx_cv_func_fabsl_use=no
56367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56368 ac_ext=c
56369 ac_cpp='$CPP $CPPFLAGS'
56370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56379 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56381 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56383 for ac_func in fabsl
56385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56386 echo "$as_me:$LINENO: checking for $ac_func" >&5
56387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56388 if eval "test \"\${$as_ac_var+set}\" = set"; then
56389 echo $ECHO_N "(cached) $ECHO_C" >&6
56390 else
56391 if test x$gcc_no_link = xyes; then
56392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56394 { (exit 1); exit 1; }; }
56396 cat >conftest.$ac_ext <<_ACEOF
56397 /* confdefs.h. */
56398 _ACEOF
56399 cat confdefs.h >>conftest.$ac_ext
56400 cat >>conftest.$ac_ext <<_ACEOF
56401 /* end confdefs.h. */
56402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56404 #define $ac_func innocuous_$ac_func
56406 /* System header to define __stub macros and hopefully few prototypes,
56407 which can conflict with char $ac_func (); below.
56408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56409 <limits.h> exists even on freestanding compilers. */
56411 #ifdef __STDC__
56412 # include <limits.h>
56413 #else
56414 # include <assert.h>
56415 #endif
56417 #undef $ac_func
56419 /* Override any gcc2 internal prototype to avoid an error. */
56420 #ifdef __cplusplus
56421 extern "C"
56423 #endif
56424 /* We use char because int might match the return type of a gcc2
56425 builtin and then its argument prototype would still apply. */
56426 char $ac_func ();
56427 /* The GNU C library defines this for functions which it implements
56428 to always fail with ENOSYS. Some functions are actually named
56429 something starting with __ and the normal name is an alias. */
56430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56431 choke me
56432 #else
56433 char (*f) () = $ac_func;
56434 #endif
56435 #ifdef __cplusplus
56437 #endif
56440 main ()
56442 return f != $ac_func;
56444 return 0;
56446 _ACEOF
56447 rm -f conftest.$ac_objext conftest$ac_exeext
56448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56449 (eval $ac_link) 2>conftest.er1
56450 ac_status=$?
56451 grep -v '^ *+' conftest.er1 >conftest.err
56452 rm -f conftest.er1
56453 cat conftest.err >&5
56454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56455 (exit $ac_status); } &&
56456 { ac_try='test -z "$ac_c_werror_flag"
56457 || test ! -s conftest.err'
56458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56459 (eval $ac_try) 2>&5
56460 ac_status=$?
56461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56462 (exit $ac_status); }; } &&
56463 { ac_try='test -s conftest$ac_exeext'
56464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56465 (eval $ac_try) 2>&5
56466 ac_status=$?
56467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56468 (exit $ac_status); }; }; then
56469 eval "$as_ac_var=yes"
56470 else
56471 echo "$as_me: failed program was:" >&5
56472 sed 's/^/| /' conftest.$ac_ext >&5
56474 eval "$as_ac_var=no"
56476 rm -f conftest.err conftest.$ac_objext \
56477 conftest$ac_exeext conftest.$ac_ext
56479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56481 if test `eval echo '${'$as_ac_var'}'` = yes; then
56482 cat >>confdefs.h <<_ACEOF
56483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56484 _ACEOF
56487 done
56489 else
56491 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56492 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56493 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56494 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56495 echo $ECHO_N "(cached) $ECHO_C" >&6
56496 else
56500 ac_ext=cc
56501 ac_cpp='$CXXCPP $CPPFLAGS'
56502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56506 cat >conftest.$ac_ext <<_ACEOF
56507 /* confdefs.h. */
56508 _ACEOF
56509 cat confdefs.h >>conftest.$ac_ext
56510 cat >>conftest.$ac_ext <<_ACEOF
56511 /* end confdefs.h. */
56512 #include <math.h>
56513 #ifdef HAVE_IEEEFP_H
56514 #include <ieeefp.h>
56515 #endif
56518 main ()
56520 _fabsl(0);
56522 return 0;
56524 _ACEOF
56525 rm -f conftest.$ac_objext
56526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56527 (eval $ac_compile) 2>conftest.er1
56528 ac_status=$?
56529 grep -v '^ *+' conftest.er1 >conftest.err
56530 rm -f conftest.er1
56531 cat conftest.err >&5
56532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56533 (exit $ac_status); } &&
56534 { ac_try='test -z "$ac_cxx_werror_flag"
56535 || test ! -s conftest.err'
56536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56537 (eval $ac_try) 2>&5
56538 ac_status=$?
56539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56540 (exit $ac_status); }; } &&
56541 { ac_try='test -s conftest.$ac_objext'
56542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56543 (eval $ac_try) 2>&5
56544 ac_status=$?
56545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56546 (exit $ac_status); }; }; then
56547 glibcxx_cv_func__fabsl_use=yes
56548 else
56549 echo "$as_me: failed program was:" >&5
56550 sed 's/^/| /' conftest.$ac_ext >&5
56552 glibcxx_cv_func__fabsl_use=no
56554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56555 ac_ext=c
56556 ac_cpp='$CPP $CPPFLAGS'
56557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56566 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56568 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56570 for ac_func in _fabsl
56572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56573 echo "$as_me:$LINENO: checking for $ac_func" >&5
56574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56575 if eval "test \"\${$as_ac_var+set}\" = set"; then
56576 echo $ECHO_N "(cached) $ECHO_C" >&6
56577 else
56578 if test x$gcc_no_link = xyes; then
56579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56581 { (exit 1); exit 1; }; }
56583 cat >conftest.$ac_ext <<_ACEOF
56584 /* confdefs.h. */
56585 _ACEOF
56586 cat confdefs.h >>conftest.$ac_ext
56587 cat >>conftest.$ac_ext <<_ACEOF
56588 /* end confdefs.h. */
56589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56591 #define $ac_func innocuous_$ac_func
56593 /* System header to define __stub macros and hopefully few prototypes,
56594 which can conflict with char $ac_func (); below.
56595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56596 <limits.h> exists even on freestanding compilers. */
56598 #ifdef __STDC__
56599 # include <limits.h>
56600 #else
56601 # include <assert.h>
56602 #endif
56604 #undef $ac_func
56606 /* Override any gcc2 internal prototype to avoid an error. */
56607 #ifdef __cplusplus
56608 extern "C"
56610 #endif
56611 /* We use char because int might match the return type of a gcc2
56612 builtin and then its argument prototype would still apply. */
56613 char $ac_func ();
56614 /* The GNU C library defines this for functions which it implements
56615 to always fail with ENOSYS. Some functions are actually named
56616 something starting with __ and the normal name is an alias. */
56617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56618 choke me
56619 #else
56620 char (*f) () = $ac_func;
56621 #endif
56622 #ifdef __cplusplus
56624 #endif
56627 main ()
56629 return f != $ac_func;
56631 return 0;
56633 _ACEOF
56634 rm -f conftest.$ac_objext conftest$ac_exeext
56635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56636 (eval $ac_link) 2>conftest.er1
56637 ac_status=$?
56638 grep -v '^ *+' conftest.er1 >conftest.err
56639 rm -f conftest.er1
56640 cat conftest.err >&5
56641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56642 (exit $ac_status); } &&
56643 { ac_try='test -z "$ac_c_werror_flag"
56644 || test ! -s conftest.err'
56645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56646 (eval $ac_try) 2>&5
56647 ac_status=$?
56648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56649 (exit $ac_status); }; } &&
56650 { ac_try='test -s conftest$ac_exeext'
56651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56652 (eval $ac_try) 2>&5
56653 ac_status=$?
56654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56655 (exit $ac_status); }; }; then
56656 eval "$as_ac_var=yes"
56657 else
56658 echo "$as_me: failed program was:" >&5
56659 sed 's/^/| /' conftest.$ac_ext >&5
56661 eval "$as_ac_var=no"
56663 rm -f conftest.err conftest.$ac_objext \
56664 conftest$ac_exeext conftest.$ac_ext
56666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56668 if test `eval echo '${'$as_ac_var'}'` = yes; then
56669 cat >>confdefs.h <<_ACEOF
56670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56671 _ACEOF
56674 done
56684 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56685 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56686 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56687 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56688 echo $ECHO_N "(cached) $ECHO_C" >&6
56689 else
56693 ac_ext=cc
56694 ac_cpp='$CXXCPP $CPPFLAGS'
56695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56699 cat >conftest.$ac_ext <<_ACEOF
56700 /* confdefs.h. */
56701 _ACEOF
56702 cat confdefs.h >>conftest.$ac_ext
56703 cat >>conftest.$ac_ext <<_ACEOF
56704 /* end confdefs.h. */
56705 #include <math.h>
56707 main ()
56709 fmodl(0, 0);
56711 return 0;
56713 _ACEOF
56714 rm -f conftest.$ac_objext
56715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56716 (eval $ac_compile) 2>conftest.er1
56717 ac_status=$?
56718 grep -v '^ *+' conftest.er1 >conftest.err
56719 rm -f conftest.er1
56720 cat conftest.err >&5
56721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56722 (exit $ac_status); } &&
56723 { ac_try='test -z "$ac_cxx_werror_flag"
56724 || test ! -s conftest.err'
56725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56726 (eval $ac_try) 2>&5
56727 ac_status=$?
56728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56729 (exit $ac_status); }; } &&
56730 { ac_try='test -s conftest.$ac_objext'
56731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56732 (eval $ac_try) 2>&5
56733 ac_status=$?
56734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735 (exit $ac_status); }; }; then
56736 glibcxx_cv_func_fmodl_use=yes
56737 else
56738 echo "$as_me: failed program was:" >&5
56739 sed 's/^/| /' conftest.$ac_ext >&5
56741 glibcxx_cv_func_fmodl_use=no
56743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56744 ac_ext=c
56745 ac_cpp='$CPP $CPPFLAGS'
56746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56755 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56757 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56759 for ac_func in fmodl
56761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56762 echo "$as_me:$LINENO: checking for $ac_func" >&5
56763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56764 if eval "test \"\${$as_ac_var+set}\" = set"; then
56765 echo $ECHO_N "(cached) $ECHO_C" >&6
56766 else
56767 if test x$gcc_no_link = xyes; then
56768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56770 { (exit 1); exit 1; }; }
56772 cat >conftest.$ac_ext <<_ACEOF
56773 /* confdefs.h. */
56774 _ACEOF
56775 cat confdefs.h >>conftest.$ac_ext
56776 cat >>conftest.$ac_ext <<_ACEOF
56777 /* end confdefs.h. */
56778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56780 #define $ac_func innocuous_$ac_func
56782 /* System header to define __stub macros and hopefully few prototypes,
56783 which can conflict with char $ac_func (); below.
56784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56785 <limits.h> exists even on freestanding compilers. */
56787 #ifdef __STDC__
56788 # include <limits.h>
56789 #else
56790 # include <assert.h>
56791 #endif
56793 #undef $ac_func
56795 /* Override any gcc2 internal prototype to avoid an error. */
56796 #ifdef __cplusplus
56797 extern "C"
56799 #endif
56800 /* We use char because int might match the return type of a gcc2
56801 builtin and then its argument prototype would still apply. */
56802 char $ac_func ();
56803 /* The GNU C library defines this for functions which it implements
56804 to always fail with ENOSYS. Some functions are actually named
56805 something starting with __ and the normal name is an alias. */
56806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56807 choke me
56808 #else
56809 char (*f) () = $ac_func;
56810 #endif
56811 #ifdef __cplusplus
56813 #endif
56816 main ()
56818 return f != $ac_func;
56820 return 0;
56822 _ACEOF
56823 rm -f conftest.$ac_objext conftest$ac_exeext
56824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56825 (eval $ac_link) 2>conftest.er1
56826 ac_status=$?
56827 grep -v '^ *+' conftest.er1 >conftest.err
56828 rm -f conftest.er1
56829 cat conftest.err >&5
56830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56831 (exit $ac_status); } &&
56832 { ac_try='test -z "$ac_c_werror_flag"
56833 || test ! -s conftest.err'
56834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56835 (eval $ac_try) 2>&5
56836 ac_status=$?
56837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56838 (exit $ac_status); }; } &&
56839 { ac_try='test -s conftest$ac_exeext'
56840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56841 (eval $ac_try) 2>&5
56842 ac_status=$?
56843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56844 (exit $ac_status); }; }; then
56845 eval "$as_ac_var=yes"
56846 else
56847 echo "$as_me: failed program was:" >&5
56848 sed 's/^/| /' conftest.$ac_ext >&5
56850 eval "$as_ac_var=no"
56852 rm -f conftest.err conftest.$ac_objext \
56853 conftest$ac_exeext conftest.$ac_ext
56855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56857 if test `eval echo '${'$as_ac_var'}'` = yes; then
56858 cat >>confdefs.h <<_ACEOF
56859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56860 _ACEOF
56863 done
56865 else
56867 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56868 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56869 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56870 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56871 echo $ECHO_N "(cached) $ECHO_C" >&6
56872 else
56876 ac_ext=cc
56877 ac_cpp='$CXXCPP $CPPFLAGS'
56878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56882 cat >conftest.$ac_ext <<_ACEOF
56883 /* confdefs.h. */
56884 _ACEOF
56885 cat confdefs.h >>conftest.$ac_ext
56886 cat >>conftest.$ac_ext <<_ACEOF
56887 /* end confdefs.h. */
56888 #include <math.h>
56890 main ()
56892 _fmodl(0, 0);
56894 return 0;
56896 _ACEOF
56897 rm -f conftest.$ac_objext
56898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56899 (eval $ac_compile) 2>conftest.er1
56900 ac_status=$?
56901 grep -v '^ *+' conftest.er1 >conftest.err
56902 rm -f conftest.er1
56903 cat conftest.err >&5
56904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56905 (exit $ac_status); } &&
56906 { ac_try='test -z "$ac_cxx_werror_flag"
56907 || test ! -s conftest.err'
56908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56909 (eval $ac_try) 2>&5
56910 ac_status=$?
56911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56912 (exit $ac_status); }; } &&
56913 { ac_try='test -s conftest.$ac_objext'
56914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56915 (eval $ac_try) 2>&5
56916 ac_status=$?
56917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56918 (exit $ac_status); }; }; then
56919 glibcxx_cv_func__fmodl_use=yes
56920 else
56921 echo "$as_me: failed program was:" >&5
56922 sed 's/^/| /' conftest.$ac_ext >&5
56924 glibcxx_cv_func__fmodl_use=no
56926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56927 ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56938 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56940 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56942 for ac_func in _fmodl
56944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56945 echo "$as_me:$LINENO: checking for $ac_func" >&5
56946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56947 if eval "test \"\${$as_ac_var+set}\" = set"; then
56948 echo $ECHO_N "(cached) $ECHO_C" >&6
56949 else
56950 if test x$gcc_no_link = xyes; then
56951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56953 { (exit 1); exit 1; }; }
56955 cat >conftest.$ac_ext <<_ACEOF
56956 /* confdefs.h. */
56957 _ACEOF
56958 cat confdefs.h >>conftest.$ac_ext
56959 cat >>conftest.$ac_ext <<_ACEOF
56960 /* end confdefs.h. */
56961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56963 #define $ac_func innocuous_$ac_func
56965 /* System header to define __stub macros and hopefully few prototypes,
56966 which can conflict with char $ac_func (); below.
56967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56968 <limits.h> exists even on freestanding compilers. */
56970 #ifdef __STDC__
56971 # include <limits.h>
56972 #else
56973 # include <assert.h>
56974 #endif
56976 #undef $ac_func
56978 /* Override any gcc2 internal prototype to avoid an error. */
56979 #ifdef __cplusplus
56980 extern "C"
56982 #endif
56983 /* We use char because int might match the return type of a gcc2
56984 builtin and then its argument prototype would still apply. */
56985 char $ac_func ();
56986 /* The GNU C library defines this for functions which it implements
56987 to always fail with ENOSYS. Some functions are actually named
56988 something starting with __ and the normal name is an alias. */
56989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56990 choke me
56991 #else
56992 char (*f) () = $ac_func;
56993 #endif
56994 #ifdef __cplusplus
56996 #endif
56999 main ()
57001 return f != $ac_func;
57003 return 0;
57005 _ACEOF
57006 rm -f conftest.$ac_objext conftest$ac_exeext
57007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57008 (eval $ac_link) 2>conftest.er1
57009 ac_status=$?
57010 grep -v '^ *+' conftest.er1 >conftest.err
57011 rm -f conftest.er1
57012 cat conftest.err >&5
57013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57014 (exit $ac_status); } &&
57015 { ac_try='test -z "$ac_c_werror_flag"
57016 || test ! -s conftest.err'
57017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57018 (eval $ac_try) 2>&5
57019 ac_status=$?
57020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57021 (exit $ac_status); }; } &&
57022 { ac_try='test -s conftest$ac_exeext'
57023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57024 (eval $ac_try) 2>&5
57025 ac_status=$?
57026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57027 (exit $ac_status); }; }; then
57028 eval "$as_ac_var=yes"
57029 else
57030 echo "$as_me: failed program was:" >&5
57031 sed 's/^/| /' conftest.$ac_ext >&5
57033 eval "$as_ac_var=no"
57035 rm -f conftest.err conftest.$ac_objext \
57036 conftest$ac_exeext conftest.$ac_ext
57038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57040 if test `eval echo '${'$as_ac_var'}'` = yes; then
57041 cat >>confdefs.h <<_ACEOF
57042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57043 _ACEOF
57046 done
57056 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57057 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57058 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57059 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57060 echo $ECHO_N "(cached) $ECHO_C" >&6
57061 else
57065 ac_ext=cc
57066 ac_cpp='$CXXCPP $CPPFLAGS'
57067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57071 cat >conftest.$ac_ext <<_ACEOF
57072 /* confdefs.h. */
57073 _ACEOF
57074 cat confdefs.h >>conftest.$ac_ext
57075 cat >>conftest.$ac_ext <<_ACEOF
57076 /* end confdefs.h. */
57077 #include <math.h>
57079 main ()
57081 frexpl(0, 0);
57083 return 0;
57085 _ACEOF
57086 rm -f conftest.$ac_objext
57087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57088 (eval $ac_compile) 2>conftest.er1
57089 ac_status=$?
57090 grep -v '^ *+' conftest.er1 >conftest.err
57091 rm -f conftest.er1
57092 cat conftest.err >&5
57093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57094 (exit $ac_status); } &&
57095 { ac_try='test -z "$ac_cxx_werror_flag"
57096 || test ! -s conftest.err'
57097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57098 (eval $ac_try) 2>&5
57099 ac_status=$?
57100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57101 (exit $ac_status); }; } &&
57102 { ac_try='test -s conftest.$ac_objext'
57103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57104 (eval $ac_try) 2>&5
57105 ac_status=$?
57106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57107 (exit $ac_status); }; }; then
57108 glibcxx_cv_func_frexpl_use=yes
57109 else
57110 echo "$as_me: failed program was:" >&5
57111 sed 's/^/| /' conftest.$ac_ext >&5
57113 glibcxx_cv_func_frexpl_use=no
57115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57116 ac_ext=c
57117 ac_cpp='$CPP $CPPFLAGS'
57118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57127 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57129 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57131 for ac_func in frexpl
57133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57134 echo "$as_me:$LINENO: checking for $ac_func" >&5
57135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57136 if eval "test \"\${$as_ac_var+set}\" = set"; then
57137 echo $ECHO_N "(cached) $ECHO_C" >&6
57138 else
57139 if test x$gcc_no_link = xyes; then
57140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57142 { (exit 1); exit 1; }; }
57144 cat >conftest.$ac_ext <<_ACEOF
57145 /* confdefs.h. */
57146 _ACEOF
57147 cat confdefs.h >>conftest.$ac_ext
57148 cat >>conftest.$ac_ext <<_ACEOF
57149 /* end confdefs.h. */
57150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57152 #define $ac_func innocuous_$ac_func
57154 /* System header to define __stub macros and hopefully few prototypes,
57155 which can conflict with char $ac_func (); below.
57156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57157 <limits.h> exists even on freestanding compilers. */
57159 #ifdef __STDC__
57160 # include <limits.h>
57161 #else
57162 # include <assert.h>
57163 #endif
57165 #undef $ac_func
57167 /* Override any gcc2 internal prototype to avoid an error. */
57168 #ifdef __cplusplus
57169 extern "C"
57171 #endif
57172 /* We use char because int might match the return type of a gcc2
57173 builtin and then its argument prototype would still apply. */
57174 char $ac_func ();
57175 /* The GNU C library defines this for functions which it implements
57176 to always fail with ENOSYS. Some functions are actually named
57177 something starting with __ and the normal name is an alias. */
57178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57179 choke me
57180 #else
57181 char (*f) () = $ac_func;
57182 #endif
57183 #ifdef __cplusplus
57185 #endif
57188 main ()
57190 return f != $ac_func;
57192 return 0;
57194 _ACEOF
57195 rm -f conftest.$ac_objext conftest$ac_exeext
57196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57197 (eval $ac_link) 2>conftest.er1
57198 ac_status=$?
57199 grep -v '^ *+' conftest.er1 >conftest.err
57200 rm -f conftest.er1
57201 cat conftest.err >&5
57202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57203 (exit $ac_status); } &&
57204 { ac_try='test -z "$ac_c_werror_flag"
57205 || test ! -s conftest.err'
57206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57207 (eval $ac_try) 2>&5
57208 ac_status=$?
57209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57210 (exit $ac_status); }; } &&
57211 { ac_try='test -s conftest$ac_exeext'
57212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57213 (eval $ac_try) 2>&5
57214 ac_status=$?
57215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57216 (exit $ac_status); }; }; then
57217 eval "$as_ac_var=yes"
57218 else
57219 echo "$as_me: failed program was:" >&5
57220 sed 's/^/| /' conftest.$ac_ext >&5
57222 eval "$as_ac_var=no"
57224 rm -f conftest.err conftest.$ac_objext \
57225 conftest$ac_exeext conftest.$ac_ext
57227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57229 if test `eval echo '${'$as_ac_var'}'` = yes; then
57230 cat >>confdefs.h <<_ACEOF
57231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57232 _ACEOF
57235 done
57237 else
57239 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57240 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57241 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57242 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57243 echo $ECHO_N "(cached) $ECHO_C" >&6
57244 else
57248 ac_ext=cc
57249 ac_cpp='$CXXCPP $CPPFLAGS'
57250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57254 cat >conftest.$ac_ext <<_ACEOF
57255 /* confdefs.h. */
57256 _ACEOF
57257 cat confdefs.h >>conftest.$ac_ext
57258 cat >>conftest.$ac_ext <<_ACEOF
57259 /* end confdefs.h. */
57260 #include <math.h>
57262 main ()
57264 _frexpl(0, 0);
57266 return 0;
57268 _ACEOF
57269 rm -f conftest.$ac_objext
57270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57271 (eval $ac_compile) 2>conftest.er1
57272 ac_status=$?
57273 grep -v '^ *+' conftest.er1 >conftest.err
57274 rm -f conftest.er1
57275 cat conftest.err >&5
57276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57277 (exit $ac_status); } &&
57278 { ac_try='test -z "$ac_cxx_werror_flag"
57279 || test ! -s conftest.err'
57280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57281 (eval $ac_try) 2>&5
57282 ac_status=$?
57283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57284 (exit $ac_status); }; } &&
57285 { ac_try='test -s conftest.$ac_objext'
57286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57287 (eval $ac_try) 2>&5
57288 ac_status=$?
57289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57290 (exit $ac_status); }; }; then
57291 glibcxx_cv_func__frexpl_use=yes
57292 else
57293 echo "$as_me: failed program was:" >&5
57294 sed 's/^/| /' conftest.$ac_ext >&5
57296 glibcxx_cv_func__frexpl_use=no
57298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57299 ac_ext=c
57300 ac_cpp='$CPP $CPPFLAGS'
57301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57310 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57312 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57314 for ac_func in _frexpl
57316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57317 echo "$as_me:$LINENO: checking for $ac_func" >&5
57318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57319 if eval "test \"\${$as_ac_var+set}\" = set"; then
57320 echo $ECHO_N "(cached) $ECHO_C" >&6
57321 else
57322 if test x$gcc_no_link = xyes; then
57323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57325 { (exit 1); exit 1; }; }
57327 cat >conftest.$ac_ext <<_ACEOF
57328 /* confdefs.h. */
57329 _ACEOF
57330 cat confdefs.h >>conftest.$ac_ext
57331 cat >>conftest.$ac_ext <<_ACEOF
57332 /* end confdefs.h. */
57333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57335 #define $ac_func innocuous_$ac_func
57337 /* System header to define __stub macros and hopefully few prototypes,
57338 which can conflict with char $ac_func (); below.
57339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57340 <limits.h> exists even on freestanding compilers. */
57342 #ifdef __STDC__
57343 # include <limits.h>
57344 #else
57345 # include <assert.h>
57346 #endif
57348 #undef $ac_func
57350 /* Override any gcc2 internal prototype to avoid an error. */
57351 #ifdef __cplusplus
57352 extern "C"
57354 #endif
57355 /* We use char because int might match the return type of a gcc2
57356 builtin and then its argument prototype would still apply. */
57357 char $ac_func ();
57358 /* The GNU C library defines this for functions which it implements
57359 to always fail with ENOSYS. Some functions are actually named
57360 something starting with __ and the normal name is an alias. */
57361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57362 choke me
57363 #else
57364 char (*f) () = $ac_func;
57365 #endif
57366 #ifdef __cplusplus
57368 #endif
57371 main ()
57373 return f != $ac_func;
57375 return 0;
57377 _ACEOF
57378 rm -f conftest.$ac_objext conftest$ac_exeext
57379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57380 (eval $ac_link) 2>conftest.er1
57381 ac_status=$?
57382 grep -v '^ *+' conftest.er1 >conftest.err
57383 rm -f conftest.er1
57384 cat conftest.err >&5
57385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57386 (exit $ac_status); } &&
57387 { ac_try='test -z "$ac_c_werror_flag"
57388 || test ! -s conftest.err'
57389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57390 (eval $ac_try) 2>&5
57391 ac_status=$?
57392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57393 (exit $ac_status); }; } &&
57394 { ac_try='test -s conftest$ac_exeext'
57395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57396 (eval $ac_try) 2>&5
57397 ac_status=$?
57398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399 (exit $ac_status); }; }; then
57400 eval "$as_ac_var=yes"
57401 else
57402 echo "$as_me: failed program was:" >&5
57403 sed 's/^/| /' conftest.$ac_ext >&5
57405 eval "$as_ac_var=no"
57407 rm -f conftest.err conftest.$ac_objext \
57408 conftest$ac_exeext conftest.$ac_ext
57410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57412 if test `eval echo '${'$as_ac_var'}'` = yes; then
57413 cat >>confdefs.h <<_ACEOF
57414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57415 _ACEOF
57418 done
57428 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57429 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57430 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57431 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57432 echo $ECHO_N "(cached) $ECHO_C" >&6
57433 else
57437 ac_ext=cc
57438 ac_cpp='$CXXCPP $CPPFLAGS'
57439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57443 cat >conftest.$ac_ext <<_ACEOF
57444 /* confdefs.h. */
57445 _ACEOF
57446 cat confdefs.h >>conftest.$ac_ext
57447 cat >>conftest.$ac_ext <<_ACEOF
57448 /* end confdefs.h. */
57449 #include <math.h>
57451 main ()
57453 hypotl(0, 0);
57455 return 0;
57457 _ACEOF
57458 rm -f conftest.$ac_objext
57459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57460 (eval $ac_compile) 2>conftest.er1
57461 ac_status=$?
57462 grep -v '^ *+' conftest.er1 >conftest.err
57463 rm -f conftest.er1
57464 cat conftest.err >&5
57465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57466 (exit $ac_status); } &&
57467 { ac_try='test -z "$ac_cxx_werror_flag"
57468 || test ! -s conftest.err'
57469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57470 (eval $ac_try) 2>&5
57471 ac_status=$?
57472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57473 (exit $ac_status); }; } &&
57474 { ac_try='test -s conftest.$ac_objext'
57475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57476 (eval $ac_try) 2>&5
57477 ac_status=$?
57478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57479 (exit $ac_status); }; }; then
57480 glibcxx_cv_func_hypotl_use=yes
57481 else
57482 echo "$as_me: failed program was:" >&5
57483 sed 's/^/| /' conftest.$ac_ext >&5
57485 glibcxx_cv_func_hypotl_use=no
57487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57488 ac_ext=c
57489 ac_cpp='$CPP $CPPFLAGS'
57490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57499 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57501 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57503 for ac_func in hypotl
57505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57506 echo "$as_me:$LINENO: checking for $ac_func" >&5
57507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57508 if eval "test \"\${$as_ac_var+set}\" = set"; then
57509 echo $ECHO_N "(cached) $ECHO_C" >&6
57510 else
57511 if test x$gcc_no_link = xyes; then
57512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57514 { (exit 1); exit 1; }; }
57516 cat >conftest.$ac_ext <<_ACEOF
57517 /* confdefs.h. */
57518 _ACEOF
57519 cat confdefs.h >>conftest.$ac_ext
57520 cat >>conftest.$ac_ext <<_ACEOF
57521 /* end confdefs.h. */
57522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57524 #define $ac_func innocuous_$ac_func
57526 /* System header to define __stub macros and hopefully few prototypes,
57527 which can conflict with char $ac_func (); below.
57528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57529 <limits.h> exists even on freestanding compilers. */
57531 #ifdef __STDC__
57532 # include <limits.h>
57533 #else
57534 # include <assert.h>
57535 #endif
57537 #undef $ac_func
57539 /* Override any gcc2 internal prototype to avoid an error. */
57540 #ifdef __cplusplus
57541 extern "C"
57543 #endif
57544 /* We use char because int might match the return type of a gcc2
57545 builtin and then its argument prototype would still apply. */
57546 char $ac_func ();
57547 /* The GNU C library defines this for functions which it implements
57548 to always fail with ENOSYS. Some functions are actually named
57549 something starting with __ and the normal name is an alias. */
57550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57551 choke me
57552 #else
57553 char (*f) () = $ac_func;
57554 #endif
57555 #ifdef __cplusplus
57557 #endif
57560 main ()
57562 return f != $ac_func;
57564 return 0;
57566 _ACEOF
57567 rm -f conftest.$ac_objext conftest$ac_exeext
57568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57569 (eval $ac_link) 2>conftest.er1
57570 ac_status=$?
57571 grep -v '^ *+' conftest.er1 >conftest.err
57572 rm -f conftest.er1
57573 cat conftest.err >&5
57574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57575 (exit $ac_status); } &&
57576 { ac_try='test -z "$ac_c_werror_flag"
57577 || test ! -s conftest.err'
57578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57579 (eval $ac_try) 2>&5
57580 ac_status=$?
57581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57582 (exit $ac_status); }; } &&
57583 { ac_try='test -s conftest$ac_exeext'
57584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57585 (eval $ac_try) 2>&5
57586 ac_status=$?
57587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57588 (exit $ac_status); }; }; then
57589 eval "$as_ac_var=yes"
57590 else
57591 echo "$as_me: failed program was:" >&5
57592 sed 's/^/| /' conftest.$ac_ext >&5
57594 eval "$as_ac_var=no"
57596 rm -f conftest.err conftest.$ac_objext \
57597 conftest$ac_exeext conftest.$ac_ext
57599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57601 if test `eval echo '${'$as_ac_var'}'` = yes; then
57602 cat >>confdefs.h <<_ACEOF
57603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57604 _ACEOF
57607 done
57609 else
57611 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57612 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57613 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57614 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57615 echo $ECHO_N "(cached) $ECHO_C" >&6
57616 else
57620 ac_ext=cc
57621 ac_cpp='$CXXCPP $CPPFLAGS'
57622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57626 cat >conftest.$ac_ext <<_ACEOF
57627 /* confdefs.h. */
57628 _ACEOF
57629 cat confdefs.h >>conftest.$ac_ext
57630 cat >>conftest.$ac_ext <<_ACEOF
57631 /* end confdefs.h. */
57632 #include <math.h>
57634 main ()
57636 _hypotl(0, 0);
57638 return 0;
57640 _ACEOF
57641 rm -f conftest.$ac_objext
57642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57643 (eval $ac_compile) 2>conftest.er1
57644 ac_status=$?
57645 grep -v '^ *+' conftest.er1 >conftest.err
57646 rm -f conftest.er1
57647 cat conftest.err >&5
57648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57649 (exit $ac_status); } &&
57650 { ac_try='test -z "$ac_cxx_werror_flag"
57651 || test ! -s conftest.err'
57652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57653 (eval $ac_try) 2>&5
57654 ac_status=$?
57655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57656 (exit $ac_status); }; } &&
57657 { ac_try='test -s conftest.$ac_objext'
57658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57659 (eval $ac_try) 2>&5
57660 ac_status=$?
57661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57662 (exit $ac_status); }; }; then
57663 glibcxx_cv_func__hypotl_use=yes
57664 else
57665 echo "$as_me: failed program was:" >&5
57666 sed 's/^/| /' conftest.$ac_ext >&5
57668 glibcxx_cv_func__hypotl_use=no
57670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57671 ac_ext=c
57672 ac_cpp='$CPP $CPPFLAGS'
57673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57682 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57684 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57686 for ac_func in _hypotl
57688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57689 echo "$as_me:$LINENO: checking for $ac_func" >&5
57690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57691 if eval "test \"\${$as_ac_var+set}\" = set"; then
57692 echo $ECHO_N "(cached) $ECHO_C" >&6
57693 else
57694 if test x$gcc_no_link = xyes; then
57695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57697 { (exit 1); exit 1; }; }
57699 cat >conftest.$ac_ext <<_ACEOF
57700 /* confdefs.h. */
57701 _ACEOF
57702 cat confdefs.h >>conftest.$ac_ext
57703 cat >>conftest.$ac_ext <<_ACEOF
57704 /* end confdefs.h. */
57705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57707 #define $ac_func innocuous_$ac_func
57709 /* System header to define __stub macros and hopefully few prototypes,
57710 which can conflict with char $ac_func (); below.
57711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57712 <limits.h> exists even on freestanding compilers. */
57714 #ifdef __STDC__
57715 # include <limits.h>
57716 #else
57717 # include <assert.h>
57718 #endif
57720 #undef $ac_func
57722 /* Override any gcc2 internal prototype to avoid an error. */
57723 #ifdef __cplusplus
57724 extern "C"
57726 #endif
57727 /* We use char because int might match the return type of a gcc2
57728 builtin and then its argument prototype would still apply. */
57729 char $ac_func ();
57730 /* The GNU C library defines this for functions which it implements
57731 to always fail with ENOSYS. Some functions are actually named
57732 something starting with __ and the normal name is an alias. */
57733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57734 choke me
57735 #else
57736 char (*f) () = $ac_func;
57737 #endif
57738 #ifdef __cplusplus
57740 #endif
57743 main ()
57745 return f != $ac_func;
57747 return 0;
57749 _ACEOF
57750 rm -f conftest.$ac_objext conftest$ac_exeext
57751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57752 (eval $ac_link) 2>conftest.er1
57753 ac_status=$?
57754 grep -v '^ *+' conftest.er1 >conftest.err
57755 rm -f conftest.er1
57756 cat conftest.err >&5
57757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57758 (exit $ac_status); } &&
57759 { ac_try='test -z "$ac_c_werror_flag"
57760 || test ! -s conftest.err'
57761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57762 (eval $ac_try) 2>&5
57763 ac_status=$?
57764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57765 (exit $ac_status); }; } &&
57766 { ac_try='test -s conftest$ac_exeext'
57767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57768 (eval $ac_try) 2>&5
57769 ac_status=$?
57770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57771 (exit $ac_status); }; }; then
57772 eval "$as_ac_var=yes"
57773 else
57774 echo "$as_me: failed program was:" >&5
57775 sed 's/^/| /' conftest.$ac_ext >&5
57777 eval "$as_ac_var=no"
57779 rm -f conftest.err conftest.$ac_objext \
57780 conftest$ac_exeext conftest.$ac_ext
57782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57784 if test `eval echo '${'$as_ac_var'}'` = yes; then
57785 cat >>confdefs.h <<_ACEOF
57786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57787 _ACEOF
57790 done
57800 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57801 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57802 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57803 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57804 echo $ECHO_N "(cached) $ECHO_C" >&6
57805 else
57809 ac_ext=cc
57810 ac_cpp='$CXXCPP $CPPFLAGS'
57811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57815 cat >conftest.$ac_ext <<_ACEOF
57816 /* confdefs.h. */
57817 _ACEOF
57818 cat confdefs.h >>conftest.$ac_ext
57819 cat >>conftest.$ac_ext <<_ACEOF
57820 /* end confdefs.h. */
57821 #include <math.h>
57823 main ()
57825 ldexpl(0, 0);
57827 return 0;
57829 _ACEOF
57830 rm -f conftest.$ac_objext
57831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57832 (eval $ac_compile) 2>conftest.er1
57833 ac_status=$?
57834 grep -v '^ *+' conftest.er1 >conftest.err
57835 rm -f conftest.er1
57836 cat conftest.err >&5
57837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838 (exit $ac_status); } &&
57839 { ac_try='test -z "$ac_cxx_werror_flag"
57840 || test ! -s conftest.err'
57841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57842 (eval $ac_try) 2>&5
57843 ac_status=$?
57844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845 (exit $ac_status); }; } &&
57846 { ac_try='test -s conftest.$ac_objext'
57847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848 (eval $ac_try) 2>&5
57849 ac_status=$?
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); }; }; then
57852 glibcxx_cv_func_ldexpl_use=yes
57853 else
57854 echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57857 glibcxx_cv_func_ldexpl_use=no
57859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57860 ac_ext=c
57861 ac_cpp='$CPP $CPPFLAGS'
57862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57871 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57873 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57875 for ac_func in ldexpl
57877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57878 echo "$as_me:$LINENO: checking for $ac_func" >&5
57879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57880 if eval "test \"\${$as_ac_var+set}\" = set"; then
57881 echo $ECHO_N "(cached) $ECHO_C" >&6
57882 else
57883 if test x$gcc_no_link = xyes; then
57884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57886 { (exit 1); exit 1; }; }
57888 cat >conftest.$ac_ext <<_ACEOF
57889 /* confdefs.h. */
57890 _ACEOF
57891 cat confdefs.h >>conftest.$ac_ext
57892 cat >>conftest.$ac_ext <<_ACEOF
57893 /* end confdefs.h. */
57894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57896 #define $ac_func innocuous_$ac_func
57898 /* System header to define __stub macros and hopefully few prototypes,
57899 which can conflict with char $ac_func (); below.
57900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57901 <limits.h> exists even on freestanding compilers. */
57903 #ifdef __STDC__
57904 # include <limits.h>
57905 #else
57906 # include <assert.h>
57907 #endif
57909 #undef $ac_func
57911 /* Override any gcc2 internal prototype to avoid an error. */
57912 #ifdef __cplusplus
57913 extern "C"
57915 #endif
57916 /* We use char because int might match the return type of a gcc2
57917 builtin and then its argument prototype would still apply. */
57918 char $ac_func ();
57919 /* The GNU C library defines this for functions which it implements
57920 to always fail with ENOSYS. Some functions are actually named
57921 something starting with __ and the normal name is an alias. */
57922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57923 choke me
57924 #else
57925 char (*f) () = $ac_func;
57926 #endif
57927 #ifdef __cplusplus
57929 #endif
57932 main ()
57934 return f != $ac_func;
57936 return 0;
57938 _ACEOF
57939 rm -f conftest.$ac_objext conftest$ac_exeext
57940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57941 (eval $ac_link) 2>conftest.er1
57942 ac_status=$?
57943 grep -v '^ *+' conftest.er1 >conftest.err
57944 rm -f conftest.er1
57945 cat conftest.err >&5
57946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57947 (exit $ac_status); } &&
57948 { ac_try='test -z "$ac_c_werror_flag"
57949 || test ! -s conftest.err'
57950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57951 (eval $ac_try) 2>&5
57952 ac_status=$?
57953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57954 (exit $ac_status); }; } &&
57955 { ac_try='test -s conftest$ac_exeext'
57956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57957 (eval $ac_try) 2>&5
57958 ac_status=$?
57959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57960 (exit $ac_status); }; }; then
57961 eval "$as_ac_var=yes"
57962 else
57963 echo "$as_me: failed program was:" >&5
57964 sed 's/^/| /' conftest.$ac_ext >&5
57966 eval "$as_ac_var=no"
57968 rm -f conftest.err conftest.$ac_objext \
57969 conftest$ac_exeext conftest.$ac_ext
57971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57973 if test `eval echo '${'$as_ac_var'}'` = yes; then
57974 cat >>confdefs.h <<_ACEOF
57975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57976 _ACEOF
57979 done
57981 else
57983 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57984 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57985 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57986 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57987 echo $ECHO_N "(cached) $ECHO_C" >&6
57988 else
57992 ac_ext=cc
57993 ac_cpp='$CXXCPP $CPPFLAGS'
57994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57998 cat >conftest.$ac_ext <<_ACEOF
57999 /* confdefs.h. */
58000 _ACEOF
58001 cat confdefs.h >>conftest.$ac_ext
58002 cat >>conftest.$ac_ext <<_ACEOF
58003 /* end confdefs.h. */
58004 #include <math.h>
58006 main ()
58008 _ldexpl(0, 0);
58010 return 0;
58012 _ACEOF
58013 rm -f conftest.$ac_objext
58014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58015 (eval $ac_compile) 2>conftest.er1
58016 ac_status=$?
58017 grep -v '^ *+' conftest.er1 >conftest.err
58018 rm -f conftest.er1
58019 cat conftest.err >&5
58020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021 (exit $ac_status); } &&
58022 { ac_try='test -z "$ac_cxx_werror_flag"
58023 || test ! -s conftest.err'
58024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58025 (eval $ac_try) 2>&5
58026 ac_status=$?
58027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58028 (exit $ac_status); }; } &&
58029 { ac_try='test -s conftest.$ac_objext'
58030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58031 (eval $ac_try) 2>&5
58032 ac_status=$?
58033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58034 (exit $ac_status); }; }; then
58035 glibcxx_cv_func__ldexpl_use=yes
58036 else
58037 echo "$as_me: failed program was:" >&5
58038 sed 's/^/| /' conftest.$ac_ext >&5
58040 glibcxx_cv_func__ldexpl_use=no
58042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58054 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58056 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58058 for ac_func in _ldexpl
58060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58061 echo "$as_me:$LINENO: checking for $ac_func" >&5
58062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58063 if eval "test \"\${$as_ac_var+set}\" = set"; then
58064 echo $ECHO_N "(cached) $ECHO_C" >&6
58065 else
58066 if test x$gcc_no_link = xyes; then
58067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58069 { (exit 1); exit 1; }; }
58071 cat >conftest.$ac_ext <<_ACEOF
58072 /* confdefs.h. */
58073 _ACEOF
58074 cat confdefs.h >>conftest.$ac_ext
58075 cat >>conftest.$ac_ext <<_ACEOF
58076 /* end confdefs.h. */
58077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58079 #define $ac_func innocuous_$ac_func
58081 /* System header to define __stub macros and hopefully few prototypes,
58082 which can conflict with char $ac_func (); below.
58083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58084 <limits.h> exists even on freestanding compilers. */
58086 #ifdef __STDC__
58087 # include <limits.h>
58088 #else
58089 # include <assert.h>
58090 #endif
58092 #undef $ac_func
58094 /* Override any gcc2 internal prototype to avoid an error. */
58095 #ifdef __cplusplus
58096 extern "C"
58098 #endif
58099 /* We use char because int might match the return type of a gcc2
58100 builtin and then its argument prototype would still apply. */
58101 char $ac_func ();
58102 /* The GNU C library defines this for functions which it implements
58103 to always fail with ENOSYS. Some functions are actually named
58104 something starting with __ and the normal name is an alias. */
58105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58106 choke me
58107 #else
58108 char (*f) () = $ac_func;
58109 #endif
58110 #ifdef __cplusplus
58112 #endif
58115 main ()
58117 return f != $ac_func;
58119 return 0;
58121 _ACEOF
58122 rm -f conftest.$ac_objext conftest$ac_exeext
58123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58124 (eval $ac_link) 2>conftest.er1
58125 ac_status=$?
58126 grep -v '^ *+' conftest.er1 >conftest.err
58127 rm -f conftest.er1
58128 cat conftest.err >&5
58129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58130 (exit $ac_status); } &&
58131 { ac_try='test -z "$ac_c_werror_flag"
58132 || test ! -s conftest.err'
58133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58134 (eval $ac_try) 2>&5
58135 ac_status=$?
58136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58137 (exit $ac_status); }; } &&
58138 { ac_try='test -s conftest$ac_exeext'
58139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58140 (eval $ac_try) 2>&5
58141 ac_status=$?
58142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58143 (exit $ac_status); }; }; then
58144 eval "$as_ac_var=yes"
58145 else
58146 echo "$as_me: failed program was:" >&5
58147 sed 's/^/| /' conftest.$ac_ext >&5
58149 eval "$as_ac_var=no"
58151 rm -f conftest.err conftest.$ac_objext \
58152 conftest$ac_exeext conftest.$ac_ext
58154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58156 if test `eval echo '${'$as_ac_var'}'` = yes; then
58157 cat >>confdefs.h <<_ACEOF
58158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58159 _ACEOF
58162 done
58172 echo "$as_me:$LINENO: checking for logl declaration" >&5
58173 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58174 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58175 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58176 echo $ECHO_N "(cached) $ECHO_C" >&6
58177 else
58181 ac_ext=cc
58182 ac_cpp='$CXXCPP $CPPFLAGS'
58183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58187 cat >conftest.$ac_ext <<_ACEOF
58188 /* confdefs.h. */
58189 _ACEOF
58190 cat confdefs.h >>conftest.$ac_ext
58191 cat >>conftest.$ac_ext <<_ACEOF
58192 /* end confdefs.h. */
58193 #include <math.h>
58194 #ifdef HAVE_IEEEFP_H
58195 #include <ieeefp.h>
58196 #endif
58199 main ()
58201 logl(0);
58203 return 0;
58205 _ACEOF
58206 rm -f conftest.$ac_objext
58207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58208 (eval $ac_compile) 2>conftest.er1
58209 ac_status=$?
58210 grep -v '^ *+' conftest.er1 >conftest.err
58211 rm -f conftest.er1
58212 cat conftest.err >&5
58213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58214 (exit $ac_status); } &&
58215 { ac_try='test -z "$ac_cxx_werror_flag"
58216 || test ! -s conftest.err'
58217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58218 (eval $ac_try) 2>&5
58219 ac_status=$?
58220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58221 (exit $ac_status); }; } &&
58222 { ac_try='test -s conftest.$ac_objext'
58223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58224 (eval $ac_try) 2>&5
58225 ac_status=$?
58226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58227 (exit $ac_status); }; }; then
58228 glibcxx_cv_func_logl_use=yes
58229 else
58230 echo "$as_me: failed program was:" >&5
58231 sed 's/^/| /' conftest.$ac_ext >&5
58233 glibcxx_cv_func_logl_use=no
58235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58236 ac_ext=c
58237 ac_cpp='$CPP $CPPFLAGS'
58238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58247 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58249 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58251 for ac_func in logl
58253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58254 echo "$as_me:$LINENO: checking for $ac_func" >&5
58255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58256 if eval "test \"\${$as_ac_var+set}\" = set"; then
58257 echo $ECHO_N "(cached) $ECHO_C" >&6
58258 else
58259 if test x$gcc_no_link = xyes; then
58260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58262 { (exit 1); exit 1; }; }
58264 cat >conftest.$ac_ext <<_ACEOF
58265 /* confdefs.h. */
58266 _ACEOF
58267 cat confdefs.h >>conftest.$ac_ext
58268 cat >>conftest.$ac_ext <<_ACEOF
58269 /* end confdefs.h. */
58270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58272 #define $ac_func innocuous_$ac_func
58274 /* System header to define __stub macros and hopefully few prototypes,
58275 which can conflict with char $ac_func (); below.
58276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58277 <limits.h> exists even on freestanding compilers. */
58279 #ifdef __STDC__
58280 # include <limits.h>
58281 #else
58282 # include <assert.h>
58283 #endif
58285 #undef $ac_func
58287 /* Override any gcc2 internal prototype to avoid an error. */
58288 #ifdef __cplusplus
58289 extern "C"
58291 #endif
58292 /* We use char because int might match the return type of a gcc2
58293 builtin and then its argument prototype would still apply. */
58294 char $ac_func ();
58295 /* The GNU C library defines this for functions which it implements
58296 to always fail with ENOSYS. Some functions are actually named
58297 something starting with __ and the normal name is an alias. */
58298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58299 choke me
58300 #else
58301 char (*f) () = $ac_func;
58302 #endif
58303 #ifdef __cplusplus
58305 #endif
58308 main ()
58310 return f != $ac_func;
58312 return 0;
58314 _ACEOF
58315 rm -f conftest.$ac_objext conftest$ac_exeext
58316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58317 (eval $ac_link) 2>conftest.er1
58318 ac_status=$?
58319 grep -v '^ *+' conftest.er1 >conftest.err
58320 rm -f conftest.er1
58321 cat conftest.err >&5
58322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58323 (exit $ac_status); } &&
58324 { ac_try='test -z "$ac_c_werror_flag"
58325 || test ! -s conftest.err'
58326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58327 (eval $ac_try) 2>&5
58328 ac_status=$?
58329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58330 (exit $ac_status); }; } &&
58331 { ac_try='test -s conftest$ac_exeext'
58332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58333 (eval $ac_try) 2>&5
58334 ac_status=$?
58335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58336 (exit $ac_status); }; }; then
58337 eval "$as_ac_var=yes"
58338 else
58339 echo "$as_me: failed program was:" >&5
58340 sed 's/^/| /' conftest.$ac_ext >&5
58342 eval "$as_ac_var=no"
58344 rm -f conftest.err conftest.$ac_objext \
58345 conftest$ac_exeext conftest.$ac_ext
58347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58349 if test `eval echo '${'$as_ac_var'}'` = yes; then
58350 cat >>confdefs.h <<_ACEOF
58351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58352 _ACEOF
58355 done
58357 else
58359 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58360 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58361 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58362 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58363 echo $ECHO_N "(cached) $ECHO_C" >&6
58364 else
58368 ac_ext=cc
58369 ac_cpp='$CXXCPP $CPPFLAGS'
58370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58374 cat >conftest.$ac_ext <<_ACEOF
58375 /* confdefs.h. */
58376 _ACEOF
58377 cat confdefs.h >>conftest.$ac_ext
58378 cat >>conftest.$ac_ext <<_ACEOF
58379 /* end confdefs.h. */
58380 #include <math.h>
58381 #ifdef HAVE_IEEEFP_H
58382 #include <ieeefp.h>
58383 #endif
58386 main ()
58388 _logl(0);
58390 return 0;
58392 _ACEOF
58393 rm -f conftest.$ac_objext
58394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58395 (eval $ac_compile) 2>conftest.er1
58396 ac_status=$?
58397 grep -v '^ *+' conftest.er1 >conftest.err
58398 rm -f conftest.er1
58399 cat conftest.err >&5
58400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58401 (exit $ac_status); } &&
58402 { ac_try='test -z "$ac_cxx_werror_flag"
58403 || test ! -s conftest.err'
58404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58405 (eval $ac_try) 2>&5
58406 ac_status=$?
58407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58408 (exit $ac_status); }; } &&
58409 { ac_try='test -s conftest.$ac_objext'
58410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58411 (eval $ac_try) 2>&5
58412 ac_status=$?
58413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58414 (exit $ac_status); }; }; then
58415 glibcxx_cv_func__logl_use=yes
58416 else
58417 echo "$as_me: failed program was:" >&5
58418 sed 's/^/| /' conftest.$ac_ext >&5
58420 glibcxx_cv_func__logl_use=no
58422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58423 ac_ext=c
58424 ac_cpp='$CPP $CPPFLAGS'
58425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58434 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58436 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58438 for ac_func in _logl
58440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58441 echo "$as_me:$LINENO: checking for $ac_func" >&5
58442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58443 if eval "test \"\${$as_ac_var+set}\" = set"; then
58444 echo $ECHO_N "(cached) $ECHO_C" >&6
58445 else
58446 if test x$gcc_no_link = xyes; then
58447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58449 { (exit 1); exit 1; }; }
58451 cat >conftest.$ac_ext <<_ACEOF
58452 /* confdefs.h. */
58453 _ACEOF
58454 cat confdefs.h >>conftest.$ac_ext
58455 cat >>conftest.$ac_ext <<_ACEOF
58456 /* end confdefs.h. */
58457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58459 #define $ac_func innocuous_$ac_func
58461 /* System header to define __stub macros and hopefully few prototypes,
58462 which can conflict with char $ac_func (); below.
58463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58464 <limits.h> exists even on freestanding compilers. */
58466 #ifdef __STDC__
58467 # include <limits.h>
58468 #else
58469 # include <assert.h>
58470 #endif
58472 #undef $ac_func
58474 /* Override any gcc2 internal prototype to avoid an error. */
58475 #ifdef __cplusplus
58476 extern "C"
58478 #endif
58479 /* We use char because int might match the return type of a gcc2
58480 builtin and then its argument prototype would still apply. */
58481 char $ac_func ();
58482 /* The GNU C library defines this for functions which it implements
58483 to always fail with ENOSYS. Some functions are actually named
58484 something starting with __ and the normal name is an alias. */
58485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58486 choke me
58487 #else
58488 char (*f) () = $ac_func;
58489 #endif
58490 #ifdef __cplusplus
58492 #endif
58495 main ()
58497 return f != $ac_func;
58499 return 0;
58501 _ACEOF
58502 rm -f conftest.$ac_objext conftest$ac_exeext
58503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58504 (eval $ac_link) 2>conftest.er1
58505 ac_status=$?
58506 grep -v '^ *+' conftest.er1 >conftest.err
58507 rm -f conftest.er1
58508 cat conftest.err >&5
58509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58510 (exit $ac_status); } &&
58511 { ac_try='test -z "$ac_c_werror_flag"
58512 || test ! -s conftest.err'
58513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58514 (eval $ac_try) 2>&5
58515 ac_status=$?
58516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58517 (exit $ac_status); }; } &&
58518 { ac_try='test -s conftest$ac_exeext'
58519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58520 (eval $ac_try) 2>&5
58521 ac_status=$?
58522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58523 (exit $ac_status); }; }; then
58524 eval "$as_ac_var=yes"
58525 else
58526 echo "$as_me: failed program was:" >&5
58527 sed 's/^/| /' conftest.$ac_ext >&5
58529 eval "$as_ac_var=no"
58531 rm -f conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58536 if test `eval echo '${'$as_ac_var'}'` = yes; then
58537 cat >>confdefs.h <<_ACEOF
58538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58539 _ACEOF
58542 done
58552 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58553 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58554 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58555 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58556 echo $ECHO_N "(cached) $ECHO_C" >&6
58557 else
58561 ac_ext=cc
58562 ac_cpp='$CXXCPP $CPPFLAGS'
58563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58567 cat >conftest.$ac_ext <<_ACEOF
58568 /* confdefs.h. */
58569 _ACEOF
58570 cat confdefs.h >>conftest.$ac_ext
58571 cat >>conftest.$ac_ext <<_ACEOF
58572 /* end confdefs.h. */
58573 #include <math.h>
58574 #ifdef HAVE_IEEEFP_H
58575 #include <ieeefp.h>
58576 #endif
58579 main ()
58581 log10l(0);
58583 return 0;
58585 _ACEOF
58586 rm -f conftest.$ac_objext
58587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58588 (eval $ac_compile) 2>conftest.er1
58589 ac_status=$?
58590 grep -v '^ *+' conftest.er1 >conftest.err
58591 rm -f conftest.er1
58592 cat conftest.err >&5
58593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58594 (exit $ac_status); } &&
58595 { ac_try='test -z "$ac_cxx_werror_flag"
58596 || test ! -s conftest.err'
58597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58598 (eval $ac_try) 2>&5
58599 ac_status=$?
58600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58601 (exit $ac_status); }; } &&
58602 { ac_try='test -s conftest.$ac_objext'
58603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58604 (eval $ac_try) 2>&5
58605 ac_status=$?
58606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58607 (exit $ac_status); }; }; then
58608 glibcxx_cv_func_log10l_use=yes
58609 else
58610 echo "$as_me: failed program was:" >&5
58611 sed 's/^/| /' conftest.$ac_ext >&5
58613 glibcxx_cv_func_log10l_use=no
58615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58616 ac_ext=c
58617 ac_cpp='$CPP $CPPFLAGS'
58618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58627 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58629 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58631 for ac_func in log10l
58633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58634 echo "$as_me:$LINENO: checking for $ac_func" >&5
58635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58636 if eval "test \"\${$as_ac_var+set}\" = set"; then
58637 echo $ECHO_N "(cached) $ECHO_C" >&6
58638 else
58639 if test x$gcc_no_link = xyes; then
58640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58642 { (exit 1); exit 1; }; }
58644 cat >conftest.$ac_ext <<_ACEOF
58645 /* confdefs.h. */
58646 _ACEOF
58647 cat confdefs.h >>conftest.$ac_ext
58648 cat >>conftest.$ac_ext <<_ACEOF
58649 /* end confdefs.h. */
58650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58652 #define $ac_func innocuous_$ac_func
58654 /* System header to define __stub macros and hopefully few prototypes,
58655 which can conflict with char $ac_func (); below.
58656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58657 <limits.h> exists even on freestanding compilers. */
58659 #ifdef __STDC__
58660 # include <limits.h>
58661 #else
58662 # include <assert.h>
58663 #endif
58665 #undef $ac_func
58667 /* Override any gcc2 internal prototype to avoid an error. */
58668 #ifdef __cplusplus
58669 extern "C"
58671 #endif
58672 /* We use char because int might match the return type of a gcc2
58673 builtin and then its argument prototype would still apply. */
58674 char $ac_func ();
58675 /* The GNU C library defines this for functions which it implements
58676 to always fail with ENOSYS. Some functions are actually named
58677 something starting with __ and the normal name is an alias. */
58678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58679 choke me
58680 #else
58681 char (*f) () = $ac_func;
58682 #endif
58683 #ifdef __cplusplus
58685 #endif
58688 main ()
58690 return f != $ac_func;
58692 return 0;
58694 _ACEOF
58695 rm -f conftest.$ac_objext conftest$ac_exeext
58696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58697 (eval $ac_link) 2>conftest.er1
58698 ac_status=$?
58699 grep -v '^ *+' conftest.er1 >conftest.err
58700 rm -f conftest.er1
58701 cat conftest.err >&5
58702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58703 (exit $ac_status); } &&
58704 { ac_try='test -z "$ac_c_werror_flag"
58705 || test ! -s conftest.err'
58706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58707 (eval $ac_try) 2>&5
58708 ac_status=$?
58709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58710 (exit $ac_status); }; } &&
58711 { ac_try='test -s conftest$ac_exeext'
58712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58713 (eval $ac_try) 2>&5
58714 ac_status=$?
58715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58716 (exit $ac_status); }; }; then
58717 eval "$as_ac_var=yes"
58718 else
58719 echo "$as_me: failed program was:" >&5
58720 sed 's/^/| /' conftest.$ac_ext >&5
58722 eval "$as_ac_var=no"
58724 rm -f conftest.err conftest.$ac_objext \
58725 conftest$ac_exeext conftest.$ac_ext
58727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58729 if test `eval echo '${'$as_ac_var'}'` = yes; then
58730 cat >>confdefs.h <<_ACEOF
58731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58732 _ACEOF
58735 done
58737 else
58739 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58740 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58741 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58742 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58743 echo $ECHO_N "(cached) $ECHO_C" >&6
58744 else
58748 ac_ext=cc
58749 ac_cpp='$CXXCPP $CPPFLAGS'
58750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58754 cat >conftest.$ac_ext <<_ACEOF
58755 /* confdefs.h. */
58756 _ACEOF
58757 cat confdefs.h >>conftest.$ac_ext
58758 cat >>conftest.$ac_ext <<_ACEOF
58759 /* end confdefs.h. */
58760 #include <math.h>
58761 #ifdef HAVE_IEEEFP_H
58762 #include <ieeefp.h>
58763 #endif
58766 main ()
58768 _log10l(0);
58770 return 0;
58772 _ACEOF
58773 rm -f conftest.$ac_objext
58774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58775 (eval $ac_compile) 2>conftest.er1
58776 ac_status=$?
58777 grep -v '^ *+' conftest.er1 >conftest.err
58778 rm -f conftest.er1
58779 cat conftest.err >&5
58780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58781 (exit $ac_status); } &&
58782 { ac_try='test -z "$ac_cxx_werror_flag"
58783 || test ! -s conftest.err'
58784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58785 (eval $ac_try) 2>&5
58786 ac_status=$?
58787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58788 (exit $ac_status); }; } &&
58789 { ac_try='test -s conftest.$ac_objext'
58790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58791 (eval $ac_try) 2>&5
58792 ac_status=$?
58793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58794 (exit $ac_status); }; }; then
58795 glibcxx_cv_func__log10l_use=yes
58796 else
58797 echo "$as_me: failed program was:" >&5
58798 sed 's/^/| /' conftest.$ac_ext >&5
58800 glibcxx_cv_func__log10l_use=no
58802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58803 ac_ext=c
58804 ac_cpp='$CPP $CPPFLAGS'
58805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58814 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58816 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58818 for ac_func in _log10l
58820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58821 echo "$as_me:$LINENO: checking for $ac_func" >&5
58822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58823 if eval "test \"\${$as_ac_var+set}\" = set"; then
58824 echo $ECHO_N "(cached) $ECHO_C" >&6
58825 else
58826 if test x$gcc_no_link = xyes; then
58827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58829 { (exit 1); exit 1; }; }
58831 cat >conftest.$ac_ext <<_ACEOF
58832 /* confdefs.h. */
58833 _ACEOF
58834 cat confdefs.h >>conftest.$ac_ext
58835 cat >>conftest.$ac_ext <<_ACEOF
58836 /* end confdefs.h. */
58837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58839 #define $ac_func innocuous_$ac_func
58841 /* System header to define __stub macros and hopefully few prototypes,
58842 which can conflict with char $ac_func (); below.
58843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58844 <limits.h> exists even on freestanding compilers. */
58846 #ifdef __STDC__
58847 # include <limits.h>
58848 #else
58849 # include <assert.h>
58850 #endif
58852 #undef $ac_func
58854 /* Override any gcc2 internal prototype to avoid an error. */
58855 #ifdef __cplusplus
58856 extern "C"
58858 #endif
58859 /* We use char because int might match the return type of a gcc2
58860 builtin and then its argument prototype would still apply. */
58861 char $ac_func ();
58862 /* The GNU C library defines this for functions which it implements
58863 to always fail with ENOSYS. Some functions are actually named
58864 something starting with __ and the normal name is an alias. */
58865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58866 choke me
58867 #else
58868 char (*f) () = $ac_func;
58869 #endif
58870 #ifdef __cplusplus
58872 #endif
58875 main ()
58877 return f != $ac_func;
58879 return 0;
58881 _ACEOF
58882 rm -f conftest.$ac_objext conftest$ac_exeext
58883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58884 (eval $ac_link) 2>conftest.er1
58885 ac_status=$?
58886 grep -v '^ *+' conftest.er1 >conftest.err
58887 rm -f conftest.er1
58888 cat conftest.err >&5
58889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58890 (exit $ac_status); } &&
58891 { ac_try='test -z "$ac_c_werror_flag"
58892 || test ! -s conftest.err'
58893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58894 (eval $ac_try) 2>&5
58895 ac_status=$?
58896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58897 (exit $ac_status); }; } &&
58898 { ac_try='test -s conftest$ac_exeext'
58899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58900 (eval $ac_try) 2>&5
58901 ac_status=$?
58902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58903 (exit $ac_status); }; }; then
58904 eval "$as_ac_var=yes"
58905 else
58906 echo "$as_me: failed program was:" >&5
58907 sed 's/^/| /' conftest.$ac_ext >&5
58909 eval "$as_ac_var=no"
58911 rm -f conftest.err conftest.$ac_objext \
58912 conftest$ac_exeext conftest.$ac_ext
58914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58916 if test `eval echo '${'$as_ac_var'}'` = yes; then
58917 cat >>confdefs.h <<_ACEOF
58918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58919 _ACEOF
58922 done
58932 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58933 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58934 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58935 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58936 echo $ECHO_N "(cached) $ECHO_C" >&6
58937 else
58941 ac_ext=cc
58942 ac_cpp='$CXXCPP $CPPFLAGS'
58943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58947 cat >conftest.$ac_ext <<_ACEOF
58948 /* confdefs.h. */
58949 _ACEOF
58950 cat confdefs.h >>conftest.$ac_ext
58951 cat >>conftest.$ac_ext <<_ACEOF
58952 /* end confdefs.h. */
58953 #include <math.h>
58955 main ()
58957 modfl(0, 0);
58959 return 0;
58961 _ACEOF
58962 rm -f conftest.$ac_objext
58963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58964 (eval $ac_compile) 2>conftest.er1
58965 ac_status=$?
58966 grep -v '^ *+' conftest.er1 >conftest.err
58967 rm -f conftest.er1
58968 cat conftest.err >&5
58969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58970 (exit $ac_status); } &&
58971 { ac_try='test -z "$ac_cxx_werror_flag"
58972 || test ! -s conftest.err'
58973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58974 (eval $ac_try) 2>&5
58975 ac_status=$?
58976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58977 (exit $ac_status); }; } &&
58978 { ac_try='test -s conftest.$ac_objext'
58979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58980 (eval $ac_try) 2>&5
58981 ac_status=$?
58982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58983 (exit $ac_status); }; }; then
58984 glibcxx_cv_func_modfl_use=yes
58985 else
58986 echo "$as_me: failed program was:" >&5
58987 sed 's/^/| /' conftest.$ac_ext >&5
58989 glibcxx_cv_func_modfl_use=no
58991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58992 ac_ext=c
58993 ac_cpp='$CPP $CPPFLAGS'
58994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59003 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59005 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59007 for ac_func in modfl
59009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59010 echo "$as_me:$LINENO: checking for $ac_func" >&5
59011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59012 if eval "test \"\${$as_ac_var+set}\" = set"; then
59013 echo $ECHO_N "(cached) $ECHO_C" >&6
59014 else
59015 if test x$gcc_no_link = xyes; then
59016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59018 { (exit 1); exit 1; }; }
59020 cat >conftest.$ac_ext <<_ACEOF
59021 /* confdefs.h. */
59022 _ACEOF
59023 cat confdefs.h >>conftest.$ac_ext
59024 cat >>conftest.$ac_ext <<_ACEOF
59025 /* end confdefs.h. */
59026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59028 #define $ac_func innocuous_$ac_func
59030 /* System header to define __stub macros and hopefully few prototypes,
59031 which can conflict with char $ac_func (); below.
59032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59033 <limits.h> exists even on freestanding compilers. */
59035 #ifdef __STDC__
59036 # include <limits.h>
59037 #else
59038 # include <assert.h>
59039 #endif
59041 #undef $ac_func
59043 /* Override any gcc2 internal prototype to avoid an error. */
59044 #ifdef __cplusplus
59045 extern "C"
59047 #endif
59048 /* We use char because int might match the return type of a gcc2
59049 builtin and then its argument prototype would still apply. */
59050 char $ac_func ();
59051 /* The GNU C library defines this for functions which it implements
59052 to always fail with ENOSYS. Some functions are actually named
59053 something starting with __ and the normal name is an alias. */
59054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59055 choke me
59056 #else
59057 char (*f) () = $ac_func;
59058 #endif
59059 #ifdef __cplusplus
59061 #endif
59064 main ()
59066 return f != $ac_func;
59068 return 0;
59070 _ACEOF
59071 rm -f conftest.$ac_objext conftest$ac_exeext
59072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59073 (eval $ac_link) 2>conftest.er1
59074 ac_status=$?
59075 grep -v '^ *+' conftest.er1 >conftest.err
59076 rm -f conftest.er1
59077 cat conftest.err >&5
59078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59079 (exit $ac_status); } &&
59080 { ac_try='test -z "$ac_c_werror_flag"
59081 || test ! -s conftest.err'
59082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59083 (eval $ac_try) 2>&5
59084 ac_status=$?
59085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59086 (exit $ac_status); }; } &&
59087 { ac_try='test -s conftest$ac_exeext'
59088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59089 (eval $ac_try) 2>&5
59090 ac_status=$?
59091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59092 (exit $ac_status); }; }; then
59093 eval "$as_ac_var=yes"
59094 else
59095 echo "$as_me: failed program was:" >&5
59096 sed 's/^/| /' conftest.$ac_ext >&5
59098 eval "$as_ac_var=no"
59100 rm -f conftest.err conftest.$ac_objext \
59101 conftest$ac_exeext conftest.$ac_ext
59103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59105 if test `eval echo '${'$as_ac_var'}'` = yes; then
59106 cat >>confdefs.h <<_ACEOF
59107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59108 _ACEOF
59111 done
59113 else
59115 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59116 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59117 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59118 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59119 echo $ECHO_N "(cached) $ECHO_C" >&6
59120 else
59124 ac_ext=cc
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59130 cat >conftest.$ac_ext <<_ACEOF
59131 /* confdefs.h. */
59132 _ACEOF
59133 cat confdefs.h >>conftest.$ac_ext
59134 cat >>conftest.$ac_ext <<_ACEOF
59135 /* end confdefs.h. */
59136 #include <math.h>
59138 main ()
59140 _modfl(0, 0);
59142 return 0;
59144 _ACEOF
59145 rm -f conftest.$ac_objext
59146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59147 (eval $ac_compile) 2>conftest.er1
59148 ac_status=$?
59149 grep -v '^ *+' conftest.er1 >conftest.err
59150 rm -f conftest.er1
59151 cat conftest.err >&5
59152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59153 (exit $ac_status); } &&
59154 { ac_try='test -z "$ac_cxx_werror_flag"
59155 || test ! -s conftest.err'
59156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59157 (eval $ac_try) 2>&5
59158 ac_status=$?
59159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59160 (exit $ac_status); }; } &&
59161 { ac_try='test -s conftest.$ac_objext'
59162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59163 (eval $ac_try) 2>&5
59164 ac_status=$?
59165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59166 (exit $ac_status); }; }; then
59167 glibcxx_cv_func__modfl_use=yes
59168 else
59169 echo "$as_me: failed program was:" >&5
59170 sed 's/^/| /' conftest.$ac_ext >&5
59172 glibcxx_cv_func__modfl_use=no
59174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59175 ac_ext=c
59176 ac_cpp='$CPP $CPPFLAGS'
59177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59186 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59188 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59190 for ac_func in _modfl
59192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59193 echo "$as_me:$LINENO: checking for $ac_func" >&5
59194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59195 if eval "test \"\${$as_ac_var+set}\" = set"; then
59196 echo $ECHO_N "(cached) $ECHO_C" >&6
59197 else
59198 if test x$gcc_no_link = xyes; then
59199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59201 { (exit 1); exit 1; }; }
59203 cat >conftest.$ac_ext <<_ACEOF
59204 /* confdefs.h. */
59205 _ACEOF
59206 cat confdefs.h >>conftest.$ac_ext
59207 cat >>conftest.$ac_ext <<_ACEOF
59208 /* end confdefs.h. */
59209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59211 #define $ac_func innocuous_$ac_func
59213 /* System header to define __stub macros and hopefully few prototypes,
59214 which can conflict with char $ac_func (); below.
59215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59216 <limits.h> exists even on freestanding compilers. */
59218 #ifdef __STDC__
59219 # include <limits.h>
59220 #else
59221 # include <assert.h>
59222 #endif
59224 #undef $ac_func
59226 /* Override any gcc2 internal prototype to avoid an error. */
59227 #ifdef __cplusplus
59228 extern "C"
59230 #endif
59231 /* We use char because int might match the return type of a gcc2
59232 builtin and then its argument prototype would still apply. */
59233 char $ac_func ();
59234 /* The GNU C library defines this for functions which it implements
59235 to always fail with ENOSYS. Some functions are actually named
59236 something starting with __ and the normal name is an alias. */
59237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59238 choke me
59239 #else
59240 char (*f) () = $ac_func;
59241 #endif
59242 #ifdef __cplusplus
59244 #endif
59247 main ()
59249 return f != $ac_func;
59251 return 0;
59253 _ACEOF
59254 rm -f conftest.$ac_objext conftest$ac_exeext
59255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59256 (eval $ac_link) 2>conftest.er1
59257 ac_status=$?
59258 grep -v '^ *+' conftest.er1 >conftest.err
59259 rm -f conftest.er1
59260 cat conftest.err >&5
59261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59262 (exit $ac_status); } &&
59263 { ac_try='test -z "$ac_c_werror_flag"
59264 || test ! -s conftest.err'
59265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59266 (eval $ac_try) 2>&5
59267 ac_status=$?
59268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59269 (exit $ac_status); }; } &&
59270 { ac_try='test -s conftest$ac_exeext'
59271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59272 (eval $ac_try) 2>&5
59273 ac_status=$?
59274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59275 (exit $ac_status); }; }; then
59276 eval "$as_ac_var=yes"
59277 else
59278 echo "$as_me: failed program was:" >&5
59279 sed 's/^/| /' conftest.$ac_ext >&5
59281 eval "$as_ac_var=no"
59283 rm -f conftest.err conftest.$ac_objext \
59284 conftest$ac_exeext conftest.$ac_ext
59286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59288 if test `eval echo '${'$as_ac_var'}'` = yes; then
59289 cat >>confdefs.h <<_ACEOF
59290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59291 _ACEOF
59294 done
59304 echo "$as_me:$LINENO: checking for powl declaration" >&5
59305 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59306 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59307 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59308 echo $ECHO_N "(cached) $ECHO_C" >&6
59309 else
59313 ac_ext=cc
59314 ac_cpp='$CXXCPP $CPPFLAGS'
59315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59319 cat >conftest.$ac_ext <<_ACEOF
59320 /* confdefs.h. */
59321 _ACEOF
59322 cat confdefs.h >>conftest.$ac_ext
59323 cat >>conftest.$ac_ext <<_ACEOF
59324 /* end confdefs.h. */
59325 #include <math.h>
59327 main ()
59329 powl(0, 0);
59331 return 0;
59333 _ACEOF
59334 rm -f conftest.$ac_objext
59335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59336 (eval $ac_compile) 2>conftest.er1
59337 ac_status=$?
59338 grep -v '^ *+' conftest.er1 >conftest.err
59339 rm -f conftest.er1
59340 cat conftest.err >&5
59341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59342 (exit $ac_status); } &&
59343 { ac_try='test -z "$ac_cxx_werror_flag"
59344 || test ! -s conftest.err'
59345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59346 (eval $ac_try) 2>&5
59347 ac_status=$?
59348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59349 (exit $ac_status); }; } &&
59350 { ac_try='test -s conftest.$ac_objext'
59351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59352 (eval $ac_try) 2>&5
59353 ac_status=$?
59354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59355 (exit $ac_status); }; }; then
59356 glibcxx_cv_func_powl_use=yes
59357 else
59358 echo "$as_me: failed program was:" >&5
59359 sed 's/^/| /' conftest.$ac_ext >&5
59361 glibcxx_cv_func_powl_use=no
59363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59364 ac_ext=c
59365 ac_cpp='$CPP $CPPFLAGS'
59366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59375 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59377 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59379 for ac_func in powl
59381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59382 echo "$as_me:$LINENO: checking for $ac_func" >&5
59383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59384 if eval "test \"\${$as_ac_var+set}\" = set"; then
59385 echo $ECHO_N "(cached) $ECHO_C" >&6
59386 else
59387 if test x$gcc_no_link = xyes; then
59388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59390 { (exit 1); exit 1; }; }
59392 cat >conftest.$ac_ext <<_ACEOF
59393 /* confdefs.h. */
59394 _ACEOF
59395 cat confdefs.h >>conftest.$ac_ext
59396 cat >>conftest.$ac_ext <<_ACEOF
59397 /* end confdefs.h. */
59398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59400 #define $ac_func innocuous_$ac_func
59402 /* System header to define __stub macros and hopefully few prototypes,
59403 which can conflict with char $ac_func (); below.
59404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59405 <limits.h> exists even on freestanding compilers. */
59407 #ifdef __STDC__
59408 # include <limits.h>
59409 #else
59410 # include <assert.h>
59411 #endif
59413 #undef $ac_func
59415 /* Override any gcc2 internal prototype to avoid an error. */
59416 #ifdef __cplusplus
59417 extern "C"
59419 #endif
59420 /* We use char because int might match the return type of a gcc2
59421 builtin and then its argument prototype would still apply. */
59422 char $ac_func ();
59423 /* The GNU C library defines this for functions which it implements
59424 to always fail with ENOSYS. Some functions are actually named
59425 something starting with __ and the normal name is an alias. */
59426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59427 choke me
59428 #else
59429 char (*f) () = $ac_func;
59430 #endif
59431 #ifdef __cplusplus
59433 #endif
59436 main ()
59438 return f != $ac_func;
59440 return 0;
59442 _ACEOF
59443 rm -f conftest.$ac_objext conftest$ac_exeext
59444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59445 (eval $ac_link) 2>conftest.er1
59446 ac_status=$?
59447 grep -v '^ *+' conftest.er1 >conftest.err
59448 rm -f conftest.er1
59449 cat conftest.err >&5
59450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59451 (exit $ac_status); } &&
59452 { ac_try='test -z "$ac_c_werror_flag"
59453 || test ! -s conftest.err'
59454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59455 (eval $ac_try) 2>&5
59456 ac_status=$?
59457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59458 (exit $ac_status); }; } &&
59459 { ac_try='test -s conftest$ac_exeext'
59460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59461 (eval $ac_try) 2>&5
59462 ac_status=$?
59463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59464 (exit $ac_status); }; }; then
59465 eval "$as_ac_var=yes"
59466 else
59467 echo "$as_me: failed program was:" >&5
59468 sed 's/^/| /' conftest.$ac_ext >&5
59470 eval "$as_ac_var=no"
59472 rm -f conftest.err conftest.$ac_objext \
59473 conftest$ac_exeext conftest.$ac_ext
59475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59477 if test `eval echo '${'$as_ac_var'}'` = yes; then
59478 cat >>confdefs.h <<_ACEOF
59479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59480 _ACEOF
59483 done
59485 else
59487 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59488 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59489 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59490 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59491 echo $ECHO_N "(cached) $ECHO_C" >&6
59492 else
59496 ac_ext=cc
59497 ac_cpp='$CXXCPP $CPPFLAGS'
59498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59502 cat >conftest.$ac_ext <<_ACEOF
59503 /* confdefs.h. */
59504 _ACEOF
59505 cat confdefs.h >>conftest.$ac_ext
59506 cat >>conftest.$ac_ext <<_ACEOF
59507 /* end confdefs.h. */
59508 #include <math.h>
59510 main ()
59512 _powl(0, 0);
59514 return 0;
59516 _ACEOF
59517 rm -f conftest.$ac_objext
59518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59519 (eval $ac_compile) 2>conftest.er1
59520 ac_status=$?
59521 grep -v '^ *+' conftest.er1 >conftest.err
59522 rm -f conftest.er1
59523 cat conftest.err >&5
59524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59525 (exit $ac_status); } &&
59526 { ac_try='test -z "$ac_cxx_werror_flag"
59527 || test ! -s conftest.err'
59528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59529 (eval $ac_try) 2>&5
59530 ac_status=$?
59531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59532 (exit $ac_status); }; } &&
59533 { ac_try='test -s conftest.$ac_objext'
59534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59535 (eval $ac_try) 2>&5
59536 ac_status=$?
59537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59538 (exit $ac_status); }; }; then
59539 glibcxx_cv_func__powl_use=yes
59540 else
59541 echo "$as_me: failed program was:" >&5
59542 sed 's/^/| /' conftest.$ac_ext >&5
59544 glibcxx_cv_func__powl_use=no
59546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59547 ac_ext=c
59548 ac_cpp='$CPP $CPPFLAGS'
59549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59558 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59560 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59562 for ac_func in _powl
59564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59565 echo "$as_me:$LINENO: checking for $ac_func" >&5
59566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59567 if eval "test \"\${$as_ac_var+set}\" = set"; then
59568 echo $ECHO_N "(cached) $ECHO_C" >&6
59569 else
59570 if test x$gcc_no_link = xyes; then
59571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59573 { (exit 1); exit 1; }; }
59575 cat >conftest.$ac_ext <<_ACEOF
59576 /* confdefs.h. */
59577 _ACEOF
59578 cat confdefs.h >>conftest.$ac_ext
59579 cat >>conftest.$ac_ext <<_ACEOF
59580 /* end confdefs.h. */
59581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59583 #define $ac_func innocuous_$ac_func
59585 /* System header to define __stub macros and hopefully few prototypes,
59586 which can conflict with char $ac_func (); below.
59587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59588 <limits.h> exists even on freestanding compilers. */
59590 #ifdef __STDC__
59591 # include <limits.h>
59592 #else
59593 # include <assert.h>
59594 #endif
59596 #undef $ac_func
59598 /* Override any gcc2 internal prototype to avoid an error. */
59599 #ifdef __cplusplus
59600 extern "C"
59602 #endif
59603 /* We use char because int might match the return type of a gcc2
59604 builtin and then its argument prototype would still apply. */
59605 char $ac_func ();
59606 /* The GNU C library defines this for functions which it implements
59607 to always fail with ENOSYS. Some functions are actually named
59608 something starting with __ and the normal name is an alias. */
59609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59610 choke me
59611 #else
59612 char (*f) () = $ac_func;
59613 #endif
59614 #ifdef __cplusplus
59616 #endif
59619 main ()
59621 return f != $ac_func;
59623 return 0;
59625 _ACEOF
59626 rm -f conftest.$ac_objext conftest$ac_exeext
59627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59628 (eval $ac_link) 2>conftest.er1
59629 ac_status=$?
59630 grep -v '^ *+' conftest.er1 >conftest.err
59631 rm -f conftest.er1
59632 cat conftest.err >&5
59633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59634 (exit $ac_status); } &&
59635 { ac_try='test -z "$ac_c_werror_flag"
59636 || test ! -s conftest.err'
59637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59638 (eval $ac_try) 2>&5
59639 ac_status=$?
59640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641 (exit $ac_status); }; } &&
59642 { ac_try='test -s conftest$ac_exeext'
59643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59644 (eval $ac_try) 2>&5
59645 ac_status=$?
59646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59647 (exit $ac_status); }; }; then
59648 eval "$as_ac_var=yes"
59649 else
59650 echo "$as_me: failed program was:" >&5
59651 sed 's/^/| /' conftest.$ac_ext >&5
59653 eval "$as_ac_var=no"
59655 rm -f conftest.err conftest.$ac_objext \
59656 conftest$ac_exeext conftest.$ac_ext
59658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59660 if test `eval echo '${'$as_ac_var'}'` = yes; then
59661 cat >>confdefs.h <<_ACEOF
59662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59663 _ACEOF
59666 done
59676 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59677 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59678 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59679 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59680 echo $ECHO_N "(cached) $ECHO_C" >&6
59681 else
59685 ac_ext=cc
59686 ac_cpp='$CXXCPP $CPPFLAGS'
59687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59691 cat >conftest.$ac_ext <<_ACEOF
59692 /* confdefs.h. */
59693 _ACEOF
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h. */
59697 #include <math.h>
59698 #ifdef HAVE_IEEEFP_H
59699 #include <ieeefp.h>
59700 #endif
59703 main ()
59705 sqrtl(0);
59707 return 0;
59709 _ACEOF
59710 rm -f conftest.$ac_objext
59711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59712 (eval $ac_compile) 2>conftest.er1
59713 ac_status=$?
59714 grep -v '^ *+' conftest.er1 >conftest.err
59715 rm -f conftest.er1
59716 cat conftest.err >&5
59717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59718 (exit $ac_status); } &&
59719 { ac_try='test -z "$ac_cxx_werror_flag"
59720 || test ! -s conftest.err'
59721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59722 (eval $ac_try) 2>&5
59723 ac_status=$?
59724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59725 (exit $ac_status); }; } &&
59726 { ac_try='test -s conftest.$ac_objext'
59727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59728 (eval $ac_try) 2>&5
59729 ac_status=$?
59730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59731 (exit $ac_status); }; }; then
59732 glibcxx_cv_func_sqrtl_use=yes
59733 else
59734 echo "$as_me: failed program was:" >&5
59735 sed 's/^/| /' conftest.$ac_ext >&5
59737 glibcxx_cv_func_sqrtl_use=no
59739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59740 ac_ext=c
59741 ac_cpp='$CPP $CPPFLAGS'
59742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59751 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59753 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59755 for ac_func in sqrtl
59757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59758 echo "$as_me:$LINENO: checking for $ac_func" >&5
59759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59760 if eval "test \"\${$as_ac_var+set}\" = set"; then
59761 echo $ECHO_N "(cached) $ECHO_C" >&6
59762 else
59763 if test x$gcc_no_link = xyes; then
59764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59766 { (exit 1); exit 1; }; }
59768 cat >conftest.$ac_ext <<_ACEOF
59769 /* confdefs.h. */
59770 _ACEOF
59771 cat confdefs.h >>conftest.$ac_ext
59772 cat >>conftest.$ac_ext <<_ACEOF
59773 /* end confdefs.h. */
59774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59776 #define $ac_func innocuous_$ac_func
59778 /* System header to define __stub macros and hopefully few prototypes,
59779 which can conflict with char $ac_func (); below.
59780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59781 <limits.h> exists even on freestanding compilers. */
59783 #ifdef __STDC__
59784 # include <limits.h>
59785 #else
59786 # include <assert.h>
59787 #endif
59789 #undef $ac_func
59791 /* Override any gcc2 internal prototype to avoid an error. */
59792 #ifdef __cplusplus
59793 extern "C"
59795 #endif
59796 /* We use char because int might match the return type of a gcc2
59797 builtin and then its argument prototype would still apply. */
59798 char $ac_func ();
59799 /* The GNU C library defines this for functions which it implements
59800 to always fail with ENOSYS. Some functions are actually named
59801 something starting with __ and the normal name is an alias. */
59802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59803 choke me
59804 #else
59805 char (*f) () = $ac_func;
59806 #endif
59807 #ifdef __cplusplus
59809 #endif
59812 main ()
59814 return f != $ac_func;
59816 return 0;
59818 _ACEOF
59819 rm -f conftest.$ac_objext conftest$ac_exeext
59820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59821 (eval $ac_link) 2>conftest.er1
59822 ac_status=$?
59823 grep -v '^ *+' conftest.er1 >conftest.err
59824 rm -f conftest.er1
59825 cat conftest.err >&5
59826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59827 (exit $ac_status); } &&
59828 { ac_try='test -z "$ac_c_werror_flag"
59829 || test ! -s conftest.err'
59830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59831 (eval $ac_try) 2>&5
59832 ac_status=$?
59833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59834 (exit $ac_status); }; } &&
59835 { ac_try='test -s conftest$ac_exeext'
59836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59837 (eval $ac_try) 2>&5
59838 ac_status=$?
59839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59840 (exit $ac_status); }; }; then
59841 eval "$as_ac_var=yes"
59842 else
59843 echo "$as_me: failed program was:" >&5
59844 sed 's/^/| /' conftest.$ac_ext >&5
59846 eval "$as_ac_var=no"
59848 rm -f conftest.err conftest.$ac_objext \
59849 conftest$ac_exeext conftest.$ac_ext
59851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59853 if test `eval echo '${'$as_ac_var'}'` = yes; then
59854 cat >>confdefs.h <<_ACEOF
59855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59856 _ACEOF
59859 done
59861 else
59863 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59864 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59865 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59866 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59867 echo $ECHO_N "(cached) $ECHO_C" >&6
59868 else
59872 ac_ext=cc
59873 ac_cpp='$CXXCPP $CPPFLAGS'
59874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59878 cat >conftest.$ac_ext <<_ACEOF
59879 /* confdefs.h. */
59880 _ACEOF
59881 cat confdefs.h >>conftest.$ac_ext
59882 cat >>conftest.$ac_ext <<_ACEOF
59883 /* end confdefs.h. */
59884 #include <math.h>
59885 #ifdef HAVE_IEEEFP_H
59886 #include <ieeefp.h>
59887 #endif
59890 main ()
59892 _sqrtl(0);
59894 return 0;
59896 _ACEOF
59897 rm -f conftest.$ac_objext
59898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59899 (eval $ac_compile) 2>conftest.er1
59900 ac_status=$?
59901 grep -v '^ *+' conftest.er1 >conftest.err
59902 rm -f conftest.er1
59903 cat conftest.err >&5
59904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59905 (exit $ac_status); } &&
59906 { ac_try='test -z "$ac_cxx_werror_flag"
59907 || test ! -s conftest.err'
59908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59909 (eval $ac_try) 2>&5
59910 ac_status=$?
59911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59912 (exit $ac_status); }; } &&
59913 { ac_try='test -s conftest.$ac_objext'
59914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59915 (eval $ac_try) 2>&5
59916 ac_status=$?
59917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59918 (exit $ac_status); }; }; then
59919 glibcxx_cv_func__sqrtl_use=yes
59920 else
59921 echo "$as_me: failed program was:" >&5
59922 sed 's/^/| /' conftest.$ac_ext >&5
59924 glibcxx_cv_func__sqrtl_use=no
59926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59927 ac_ext=c
59928 ac_cpp='$CPP $CPPFLAGS'
59929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59938 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59940 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59942 for ac_func in _sqrtl
59944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59945 echo "$as_me:$LINENO: checking for $ac_func" >&5
59946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59947 if eval "test \"\${$as_ac_var+set}\" = set"; then
59948 echo $ECHO_N "(cached) $ECHO_C" >&6
59949 else
59950 if test x$gcc_no_link = xyes; then
59951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59953 { (exit 1); exit 1; }; }
59955 cat >conftest.$ac_ext <<_ACEOF
59956 /* confdefs.h. */
59957 _ACEOF
59958 cat confdefs.h >>conftest.$ac_ext
59959 cat >>conftest.$ac_ext <<_ACEOF
59960 /* end confdefs.h. */
59961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59963 #define $ac_func innocuous_$ac_func
59965 /* System header to define __stub macros and hopefully few prototypes,
59966 which can conflict with char $ac_func (); below.
59967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59968 <limits.h> exists even on freestanding compilers. */
59970 #ifdef __STDC__
59971 # include <limits.h>
59972 #else
59973 # include <assert.h>
59974 #endif
59976 #undef $ac_func
59978 /* Override any gcc2 internal prototype to avoid an error. */
59979 #ifdef __cplusplus
59980 extern "C"
59982 #endif
59983 /* We use char because int might match the return type of a gcc2
59984 builtin and then its argument prototype would still apply. */
59985 char $ac_func ();
59986 /* The GNU C library defines this for functions which it implements
59987 to always fail with ENOSYS. Some functions are actually named
59988 something starting with __ and the normal name is an alias. */
59989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59990 choke me
59991 #else
59992 char (*f) () = $ac_func;
59993 #endif
59994 #ifdef __cplusplus
59996 #endif
59999 main ()
60001 return f != $ac_func;
60003 return 0;
60005 _ACEOF
60006 rm -f conftest.$ac_objext conftest$ac_exeext
60007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60008 (eval $ac_link) 2>conftest.er1
60009 ac_status=$?
60010 grep -v '^ *+' conftest.er1 >conftest.err
60011 rm -f conftest.er1
60012 cat conftest.err >&5
60013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60014 (exit $ac_status); } &&
60015 { ac_try='test -z "$ac_c_werror_flag"
60016 || test ! -s conftest.err'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60019 ac_status=$?
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; } &&
60022 { ac_try='test -s conftest$ac_exeext'
60023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60024 (eval $ac_try) 2>&5
60025 ac_status=$?
60026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60027 (exit $ac_status); }; }; then
60028 eval "$as_ac_var=yes"
60029 else
60030 echo "$as_me: failed program was:" >&5
60031 sed 's/^/| /' conftest.$ac_ext >&5
60033 eval "$as_ac_var=no"
60035 rm -f conftest.err conftest.$ac_objext \
60036 conftest$ac_exeext conftest.$ac_ext
60038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60040 if test `eval echo '${'$as_ac_var'}'` = yes; then
60041 cat >>confdefs.h <<_ACEOF
60042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60043 _ACEOF
60046 done
60056 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60057 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60058 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60059 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60060 echo $ECHO_N "(cached) $ECHO_C" >&6
60061 else
60065 ac_ext=cc
60066 ac_cpp='$CXXCPP $CPPFLAGS'
60067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60071 cat >conftest.$ac_ext <<_ACEOF
60072 /* confdefs.h. */
60073 _ACEOF
60074 cat confdefs.h >>conftest.$ac_ext
60075 cat >>conftest.$ac_ext <<_ACEOF
60076 /* end confdefs.h. */
60077 #include <math.h>
60079 main ()
60081 sincosl(0, 0, 0);
60083 return 0;
60085 _ACEOF
60086 rm -f conftest.$ac_objext
60087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60088 (eval $ac_compile) 2>conftest.er1
60089 ac_status=$?
60090 grep -v '^ *+' conftest.er1 >conftest.err
60091 rm -f conftest.er1
60092 cat conftest.err >&5
60093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60094 (exit $ac_status); } &&
60095 { ac_try='test -z "$ac_cxx_werror_flag"
60096 || test ! -s conftest.err'
60097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60098 (eval $ac_try) 2>&5
60099 ac_status=$?
60100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60101 (exit $ac_status); }; } &&
60102 { ac_try='test -s conftest.$ac_objext'
60103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60104 (eval $ac_try) 2>&5
60105 ac_status=$?
60106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60107 (exit $ac_status); }; }; then
60108 glibcxx_cv_func_sincosl_use=yes
60109 else
60110 echo "$as_me: failed program was:" >&5
60111 sed 's/^/| /' conftest.$ac_ext >&5
60113 glibcxx_cv_func_sincosl_use=no
60115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60116 ac_ext=c
60117 ac_cpp='$CPP $CPPFLAGS'
60118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60127 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60129 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60131 for ac_func in sincosl
60133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60134 echo "$as_me:$LINENO: checking for $ac_func" >&5
60135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60136 if eval "test \"\${$as_ac_var+set}\" = set"; then
60137 echo $ECHO_N "(cached) $ECHO_C" >&6
60138 else
60139 if test x$gcc_no_link = xyes; then
60140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60142 { (exit 1); exit 1; }; }
60144 cat >conftest.$ac_ext <<_ACEOF
60145 /* confdefs.h. */
60146 _ACEOF
60147 cat confdefs.h >>conftest.$ac_ext
60148 cat >>conftest.$ac_ext <<_ACEOF
60149 /* end confdefs.h. */
60150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60152 #define $ac_func innocuous_$ac_func
60154 /* System header to define __stub macros and hopefully few prototypes,
60155 which can conflict with char $ac_func (); below.
60156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60157 <limits.h> exists even on freestanding compilers. */
60159 #ifdef __STDC__
60160 # include <limits.h>
60161 #else
60162 # include <assert.h>
60163 #endif
60165 #undef $ac_func
60167 /* Override any gcc2 internal prototype to avoid an error. */
60168 #ifdef __cplusplus
60169 extern "C"
60171 #endif
60172 /* We use char because int might match the return type of a gcc2
60173 builtin and then its argument prototype would still apply. */
60174 char $ac_func ();
60175 /* The GNU C library defines this for functions which it implements
60176 to always fail with ENOSYS. Some functions are actually named
60177 something starting with __ and the normal name is an alias. */
60178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60179 choke me
60180 #else
60181 char (*f) () = $ac_func;
60182 #endif
60183 #ifdef __cplusplus
60185 #endif
60188 main ()
60190 return f != $ac_func;
60192 return 0;
60194 _ACEOF
60195 rm -f conftest.$ac_objext conftest$ac_exeext
60196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60197 (eval $ac_link) 2>conftest.er1
60198 ac_status=$?
60199 grep -v '^ *+' conftest.er1 >conftest.err
60200 rm -f conftest.er1
60201 cat conftest.err >&5
60202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203 (exit $ac_status); } &&
60204 { ac_try='test -z "$ac_c_werror_flag"
60205 || test ! -s conftest.err'
60206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60207 (eval $ac_try) 2>&5
60208 ac_status=$?
60209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60210 (exit $ac_status); }; } &&
60211 { ac_try='test -s conftest$ac_exeext'
60212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60213 (eval $ac_try) 2>&5
60214 ac_status=$?
60215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60216 (exit $ac_status); }; }; then
60217 eval "$as_ac_var=yes"
60218 else
60219 echo "$as_me: failed program was:" >&5
60220 sed 's/^/| /' conftest.$ac_ext >&5
60222 eval "$as_ac_var=no"
60224 rm -f conftest.err conftest.$ac_objext \
60225 conftest$ac_exeext conftest.$ac_ext
60227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60229 if test `eval echo '${'$as_ac_var'}'` = yes; then
60230 cat >>confdefs.h <<_ACEOF
60231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60232 _ACEOF
60235 done
60237 else
60239 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60240 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60241 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60242 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60243 echo $ECHO_N "(cached) $ECHO_C" >&6
60244 else
60248 ac_ext=cc
60249 ac_cpp='$CXXCPP $CPPFLAGS'
60250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60254 cat >conftest.$ac_ext <<_ACEOF
60255 /* confdefs.h. */
60256 _ACEOF
60257 cat confdefs.h >>conftest.$ac_ext
60258 cat >>conftest.$ac_ext <<_ACEOF
60259 /* end confdefs.h. */
60260 #include <math.h>
60262 main ()
60264 _sincosl(0, 0, 0);
60266 return 0;
60268 _ACEOF
60269 rm -f conftest.$ac_objext
60270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60271 (eval $ac_compile) 2>conftest.er1
60272 ac_status=$?
60273 grep -v '^ *+' conftest.er1 >conftest.err
60274 rm -f conftest.er1
60275 cat conftest.err >&5
60276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60277 (exit $ac_status); } &&
60278 { ac_try='test -z "$ac_cxx_werror_flag"
60279 || test ! -s conftest.err'
60280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60281 (eval $ac_try) 2>&5
60282 ac_status=$?
60283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60284 (exit $ac_status); }; } &&
60285 { ac_try='test -s conftest.$ac_objext'
60286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60287 (eval $ac_try) 2>&5
60288 ac_status=$?
60289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60290 (exit $ac_status); }; }; then
60291 glibcxx_cv_func__sincosl_use=yes
60292 else
60293 echo "$as_me: failed program was:" >&5
60294 sed 's/^/| /' conftest.$ac_ext >&5
60296 glibcxx_cv_func__sincosl_use=no
60298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60299 ac_ext=c
60300 ac_cpp='$CPP $CPPFLAGS'
60301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60310 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60312 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60314 for ac_func in _sincosl
60316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60317 echo "$as_me:$LINENO: checking for $ac_func" >&5
60318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60319 if eval "test \"\${$as_ac_var+set}\" = set"; then
60320 echo $ECHO_N "(cached) $ECHO_C" >&6
60321 else
60322 if test x$gcc_no_link = xyes; then
60323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60325 { (exit 1); exit 1; }; }
60327 cat >conftest.$ac_ext <<_ACEOF
60328 /* confdefs.h. */
60329 _ACEOF
60330 cat confdefs.h >>conftest.$ac_ext
60331 cat >>conftest.$ac_ext <<_ACEOF
60332 /* end confdefs.h. */
60333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60335 #define $ac_func innocuous_$ac_func
60337 /* System header to define __stub macros and hopefully few prototypes,
60338 which can conflict with char $ac_func (); below.
60339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60340 <limits.h> exists even on freestanding compilers. */
60342 #ifdef __STDC__
60343 # include <limits.h>
60344 #else
60345 # include <assert.h>
60346 #endif
60348 #undef $ac_func
60350 /* Override any gcc2 internal prototype to avoid an error. */
60351 #ifdef __cplusplus
60352 extern "C"
60354 #endif
60355 /* We use char because int might match the return type of a gcc2
60356 builtin and then its argument prototype would still apply. */
60357 char $ac_func ();
60358 /* The GNU C library defines this for functions which it implements
60359 to always fail with ENOSYS. Some functions are actually named
60360 something starting with __ and the normal name is an alias. */
60361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60362 choke me
60363 #else
60364 char (*f) () = $ac_func;
60365 #endif
60366 #ifdef __cplusplus
60368 #endif
60371 main ()
60373 return f != $ac_func;
60375 return 0;
60377 _ACEOF
60378 rm -f conftest.$ac_objext conftest$ac_exeext
60379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60380 (eval $ac_link) 2>conftest.er1
60381 ac_status=$?
60382 grep -v '^ *+' conftest.er1 >conftest.err
60383 rm -f conftest.er1
60384 cat conftest.err >&5
60385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60386 (exit $ac_status); } &&
60387 { ac_try='test -z "$ac_c_werror_flag"
60388 || test ! -s conftest.err'
60389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60390 (eval $ac_try) 2>&5
60391 ac_status=$?
60392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60393 (exit $ac_status); }; } &&
60394 { ac_try='test -s conftest$ac_exeext'
60395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60396 (eval $ac_try) 2>&5
60397 ac_status=$?
60398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60399 (exit $ac_status); }; }; then
60400 eval "$as_ac_var=yes"
60401 else
60402 echo "$as_me: failed program was:" >&5
60403 sed 's/^/| /' conftest.$ac_ext >&5
60405 eval "$as_ac_var=no"
60407 rm -f conftest.err conftest.$ac_objext \
60408 conftest$ac_exeext conftest.$ac_ext
60410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60412 if test `eval echo '${'$as_ac_var'}'` = yes; then
60413 cat >>confdefs.h <<_ACEOF
60414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60415 _ACEOF
60418 done
60428 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60429 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60430 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60431 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60432 echo $ECHO_N "(cached) $ECHO_C" >&6
60433 else
60437 ac_ext=cc
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60443 cat >conftest.$ac_ext <<_ACEOF
60444 /* confdefs.h. */
60445 _ACEOF
60446 cat confdefs.h >>conftest.$ac_ext
60447 cat >>conftest.$ac_ext <<_ACEOF
60448 /* end confdefs.h. */
60449 #include <math.h>
60450 #ifdef HAVE_IEEEFP_H
60451 #include <ieeefp.h>
60452 #endif
60455 main ()
60457 finitel(0);
60459 return 0;
60461 _ACEOF
60462 rm -f conftest.$ac_objext
60463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60464 (eval $ac_compile) 2>conftest.er1
60465 ac_status=$?
60466 grep -v '^ *+' conftest.er1 >conftest.err
60467 rm -f conftest.er1
60468 cat conftest.err >&5
60469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60470 (exit $ac_status); } &&
60471 { ac_try='test -z "$ac_cxx_werror_flag"
60472 || test ! -s conftest.err'
60473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60474 (eval $ac_try) 2>&5
60475 ac_status=$?
60476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60477 (exit $ac_status); }; } &&
60478 { ac_try='test -s conftest.$ac_objext'
60479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60480 (eval $ac_try) 2>&5
60481 ac_status=$?
60482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60483 (exit $ac_status); }; }; then
60484 glibcxx_cv_func_finitel_use=yes
60485 else
60486 echo "$as_me: failed program was:" >&5
60487 sed 's/^/| /' conftest.$ac_ext >&5
60489 glibcxx_cv_func_finitel_use=no
60491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60492 ac_ext=c
60493 ac_cpp='$CPP $CPPFLAGS'
60494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60503 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60505 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60507 for ac_func in finitel
60509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60510 echo "$as_me:$LINENO: checking for $ac_func" >&5
60511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60512 if eval "test \"\${$as_ac_var+set}\" = set"; then
60513 echo $ECHO_N "(cached) $ECHO_C" >&6
60514 else
60515 if test x$gcc_no_link = xyes; then
60516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60518 { (exit 1); exit 1; }; }
60520 cat >conftest.$ac_ext <<_ACEOF
60521 /* confdefs.h. */
60522 _ACEOF
60523 cat confdefs.h >>conftest.$ac_ext
60524 cat >>conftest.$ac_ext <<_ACEOF
60525 /* end confdefs.h. */
60526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60528 #define $ac_func innocuous_$ac_func
60530 /* System header to define __stub macros and hopefully few prototypes,
60531 which can conflict with char $ac_func (); below.
60532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60533 <limits.h> exists even on freestanding compilers. */
60535 #ifdef __STDC__
60536 # include <limits.h>
60537 #else
60538 # include <assert.h>
60539 #endif
60541 #undef $ac_func
60543 /* Override any gcc2 internal prototype to avoid an error. */
60544 #ifdef __cplusplus
60545 extern "C"
60547 #endif
60548 /* We use char because int might match the return type of a gcc2
60549 builtin and then its argument prototype would still apply. */
60550 char $ac_func ();
60551 /* The GNU C library defines this for functions which it implements
60552 to always fail with ENOSYS. Some functions are actually named
60553 something starting with __ and the normal name is an alias. */
60554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60555 choke me
60556 #else
60557 char (*f) () = $ac_func;
60558 #endif
60559 #ifdef __cplusplus
60561 #endif
60564 main ()
60566 return f != $ac_func;
60568 return 0;
60570 _ACEOF
60571 rm -f conftest.$ac_objext conftest$ac_exeext
60572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60573 (eval $ac_link) 2>conftest.er1
60574 ac_status=$?
60575 grep -v '^ *+' conftest.er1 >conftest.err
60576 rm -f conftest.er1
60577 cat conftest.err >&5
60578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60579 (exit $ac_status); } &&
60580 { ac_try='test -z "$ac_c_werror_flag"
60581 || test ! -s conftest.err'
60582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60583 (eval $ac_try) 2>&5
60584 ac_status=$?
60585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60586 (exit $ac_status); }; } &&
60587 { ac_try='test -s conftest$ac_exeext'
60588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60589 (eval $ac_try) 2>&5
60590 ac_status=$?
60591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60592 (exit $ac_status); }; }; then
60593 eval "$as_ac_var=yes"
60594 else
60595 echo "$as_me: failed program was:" >&5
60596 sed 's/^/| /' conftest.$ac_ext >&5
60598 eval "$as_ac_var=no"
60600 rm -f conftest.err conftest.$ac_objext \
60601 conftest$ac_exeext conftest.$ac_ext
60603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60605 if test `eval echo '${'$as_ac_var'}'` = yes; then
60606 cat >>confdefs.h <<_ACEOF
60607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60608 _ACEOF
60611 done
60613 else
60615 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60616 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60617 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60618 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60619 echo $ECHO_N "(cached) $ECHO_C" >&6
60620 else
60624 ac_ext=cc
60625 ac_cpp='$CXXCPP $CPPFLAGS'
60626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60630 cat >conftest.$ac_ext <<_ACEOF
60631 /* confdefs.h. */
60632 _ACEOF
60633 cat confdefs.h >>conftest.$ac_ext
60634 cat >>conftest.$ac_ext <<_ACEOF
60635 /* end confdefs.h. */
60636 #include <math.h>
60637 #ifdef HAVE_IEEEFP_H
60638 #include <ieeefp.h>
60639 #endif
60642 main ()
60644 _finitel(0);
60646 return 0;
60648 _ACEOF
60649 rm -f conftest.$ac_objext
60650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60651 (eval $ac_compile) 2>conftest.er1
60652 ac_status=$?
60653 grep -v '^ *+' conftest.er1 >conftest.err
60654 rm -f conftest.er1
60655 cat conftest.err >&5
60656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60657 (exit $ac_status); } &&
60658 { ac_try='test -z "$ac_cxx_werror_flag"
60659 || test ! -s conftest.err'
60660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60661 (eval $ac_try) 2>&5
60662 ac_status=$?
60663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60664 (exit $ac_status); }; } &&
60665 { ac_try='test -s conftest.$ac_objext'
60666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60667 (eval $ac_try) 2>&5
60668 ac_status=$?
60669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60670 (exit $ac_status); }; }; then
60671 glibcxx_cv_func__finitel_use=yes
60672 else
60673 echo "$as_me: failed program was:" >&5
60674 sed 's/^/| /' conftest.$ac_ext >&5
60676 glibcxx_cv_func__finitel_use=no
60678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60679 ac_ext=c
60680 ac_cpp='$CPP $CPPFLAGS'
60681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60690 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60692 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60694 for ac_func in _finitel
60696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60697 echo "$as_me:$LINENO: checking for $ac_func" >&5
60698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60699 if eval "test \"\${$as_ac_var+set}\" = set"; then
60700 echo $ECHO_N "(cached) $ECHO_C" >&6
60701 else
60702 if test x$gcc_no_link = xyes; then
60703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60705 { (exit 1); exit 1; }; }
60707 cat >conftest.$ac_ext <<_ACEOF
60708 /* confdefs.h. */
60709 _ACEOF
60710 cat confdefs.h >>conftest.$ac_ext
60711 cat >>conftest.$ac_ext <<_ACEOF
60712 /* end confdefs.h. */
60713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60715 #define $ac_func innocuous_$ac_func
60717 /* System header to define __stub macros and hopefully few prototypes,
60718 which can conflict with char $ac_func (); below.
60719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60720 <limits.h> exists even on freestanding compilers. */
60722 #ifdef __STDC__
60723 # include <limits.h>
60724 #else
60725 # include <assert.h>
60726 #endif
60728 #undef $ac_func
60730 /* Override any gcc2 internal prototype to avoid an error. */
60731 #ifdef __cplusplus
60732 extern "C"
60734 #endif
60735 /* We use char because int might match the return type of a gcc2
60736 builtin and then its argument prototype would still apply. */
60737 char $ac_func ();
60738 /* The GNU C library defines this for functions which it implements
60739 to always fail with ENOSYS. Some functions are actually named
60740 something starting with __ and the normal name is an alias. */
60741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60742 choke me
60743 #else
60744 char (*f) () = $ac_func;
60745 #endif
60746 #ifdef __cplusplus
60748 #endif
60751 main ()
60753 return f != $ac_func;
60755 return 0;
60757 _ACEOF
60758 rm -f conftest.$ac_objext conftest$ac_exeext
60759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60760 (eval $ac_link) 2>conftest.er1
60761 ac_status=$?
60762 grep -v '^ *+' conftest.er1 >conftest.err
60763 rm -f conftest.er1
60764 cat conftest.err >&5
60765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60766 (exit $ac_status); } &&
60767 { ac_try='test -z "$ac_c_werror_flag"
60768 || test ! -s conftest.err'
60769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60770 (eval $ac_try) 2>&5
60771 ac_status=$?
60772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60773 (exit $ac_status); }; } &&
60774 { ac_try='test -s conftest$ac_exeext'
60775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60776 (eval $ac_try) 2>&5
60777 ac_status=$?
60778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60779 (exit $ac_status); }; }; then
60780 eval "$as_ac_var=yes"
60781 else
60782 echo "$as_me: failed program was:" >&5
60783 sed 's/^/| /' conftest.$ac_ext >&5
60785 eval "$as_ac_var=no"
60787 rm -f conftest.err conftest.$ac_objext \
60788 conftest$ac_exeext conftest.$ac_ext
60790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60792 if test `eval echo '${'$as_ac_var'}'` = yes; then
60793 cat >>confdefs.h <<_ACEOF
60794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60795 _ACEOF
60798 done
60807 LIBS="$ac_save_LIBS"
60808 CXXFLAGS="$ac_save_CXXFLAGS"
60812 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60813 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60814 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60815 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60816 echo $ECHO_N "(cached) $ECHO_C" >&6
60817 else
60821 ac_ext=cc
60822 ac_cpp='$CXXCPP $CPPFLAGS'
60823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60827 cat >conftest.$ac_ext <<_ACEOF
60828 /* confdefs.h. */
60829 _ACEOF
60830 cat confdefs.h >>conftest.$ac_ext
60831 cat >>conftest.$ac_ext <<_ACEOF
60832 /* end confdefs.h. */
60833 #include <math.h>
60835 main ()
60837 __builtin_abs(0);
60839 return 0;
60841 _ACEOF
60842 rm -f conftest.$ac_objext
60843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60844 (eval $ac_compile) 2>conftest.er1
60845 ac_status=$?
60846 grep -v '^ *+' conftest.er1 >conftest.err
60847 rm -f conftest.er1
60848 cat conftest.err >&5
60849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60850 (exit $ac_status); } &&
60851 { ac_try='test -z "$ac_cxx_werror_flag"
60852 || test ! -s conftest.err'
60853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60854 (eval $ac_try) 2>&5
60855 ac_status=$?
60856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60857 (exit $ac_status); }; } &&
60858 { ac_try='test -s conftest.$ac_objext'
60859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60860 (eval $ac_try) 2>&5
60861 ac_status=$?
60862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60863 (exit $ac_status); }; }; then
60864 glibcxx_cv_func___builtin_abs_use=yes
60865 else
60866 echo "$as_me: failed program was:" >&5
60867 sed 's/^/| /' conftest.$ac_ext >&5
60869 glibcxx_cv_func___builtin_abs_use=no
60871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60872 ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60883 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60884 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60885 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60886 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60887 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60888 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60889 echo $ECHO_N "(cached) $ECHO_C" >&6
60890 else
60892 if test x$gcc_no_link = xyes; then
60893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60895 { (exit 1); exit 1; }; }
60897 cat >conftest.$ac_ext <<_ACEOF
60898 /* confdefs.h. */
60899 _ACEOF
60900 cat confdefs.h >>conftest.$ac_ext
60901 cat >>conftest.$ac_ext <<_ACEOF
60902 /* end confdefs.h. */
60903 #include <math.h>
60905 main ()
60907 __builtin_abs(0);
60909 return 0;
60911 _ACEOF
60912 rm -f conftest.$ac_objext conftest$ac_exeext
60913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60914 (eval $ac_link) 2>conftest.er1
60915 ac_status=$?
60916 grep -v '^ *+' conftest.er1 >conftest.err
60917 rm -f conftest.er1
60918 cat conftest.err >&5
60919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60920 (exit $ac_status); } &&
60921 { ac_try='test -z "$ac_c_werror_flag"
60922 || test ! -s conftest.err'
60923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60924 (eval $ac_try) 2>&5
60925 ac_status=$?
60926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60927 (exit $ac_status); }; } &&
60928 { ac_try='test -s conftest$ac_exeext'
60929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60930 (eval $ac_try) 2>&5
60931 ac_status=$?
60932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60933 (exit $ac_status); }; }; then
60934 glibcxx_cv_func___builtin_abs_link=yes
60935 else
60936 echo "$as_me: failed program was:" >&5
60937 sed 's/^/| /' conftest.$ac_ext >&5
60939 glibcxx_cv_func___builtin_abs_link=no
60941 rm -f conftest.err conftest.$ac_objext \
60942 conftest$ac_exeext conftest.$ac_ext
60947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60948 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60950 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60952 cat >>confdefs.h <<\_ACEOF
60953 #define HAVE___BUILTIN_ABS 1
60954 _ACEOF
60961 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60962 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60963 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60964 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60965 echo $ECHO_N "(cached) $ECHO_C" >&6
60966 else
60970 ac_ext=cc
60971 ac_cpp='$CXXCPP $CPPFLAGS'
60972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60976 cat >conftest.$ac_ext <<_ACEOF
60977 /* confdefs.h. */
60978 _ACEOF
60979 cat confdefs.h >>conftest.$ac_ext
60980 cat >>conftest.$ac_ext <<_ACEOF
60981 /* end confdefs.h. */
60982 #include <math.h>
60984 main ()
60986 __builtin_fabsf(0);
60988 return 0;
60990 _ACEOF
60991 rm -f conftest.$ac_objext
60992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60993 (eval $ac_compile) 2>conftest.er1
60994 ac_status=$?
60995 grep -v '^ *+' conftest.er1 >conftest.err
60996 rm -f conftest.er1
60997 cat conftest.err >&5
60998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60999 (exit $ac_status); } &&
61000 { ac_try='test -z "$ac_cxx_werror_flag"
61001 || test ! -s conftest.err'
61002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61003 (eval $ac_try) 2>&5
61004 ac_status=$?
61005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61006 (exit $ac_status); }; } &&
61007 { ac_try='test -s conftest.$ac_objext'
61008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61009 (eval $ac_try) 2>&5
61010 ac_status=$?
61011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61012 (exit $ac_status); }; }; then
61013 glibcxx_cv_func___builtin_fabsf_use=yes
61014 else
61015 echo "$as_me: failed program was:" >&5
61016 sed 's/^/| /' conftest.$ac_ext >&5
61018 glibcxx_cv_func___builtin_fabsf_use=no
61020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61021 ac_ext=c
61022 ac_cpp='$CPP $CPPFLAGS'
61023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61032 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61033 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61034 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61035 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61036 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61037 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61038 echo $ECHO_N "(cached) $ECHO_C" >&6
61039 else
61041 if test x$gcc_no_link = xyes; then
61042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61044 { (exit 1); exit 1; }; }
61046 cat >conftest.$ac_ext <<_ACEOF
61047 /* confdefs.h. */
61048 _ACEOF
61049 cat confdefs.h >>conftest.$ac_ext
61050 cat >>conftest.$ac_ext <<_ACEOF
61051 /* end confdefs.h. */
61052 #include <math.h>
61054 main ()
61056 __builtin_fabsf(0);
61058 return 0;
61060 _ACEOF
61061 rm -f conftest.$ac_objext conftest$ac_exeext
61062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61063 (eval $ac_link) 2>conftest.er1
61064 ac_status=$?
61065 grep -v '^ *+' conftest.er1 >conftest.err
61066 rm -f conftest.er1
61067 cat conftest.err >&5
61068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069 (exit $ac_status); } &&
61070 { ac_try='test -z "$ac_c_werror_flag"
61071 || test ! -s conftest.err'
61072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61073 (eval $ac_try) 2>&5
61074 ac_status=$?
61075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61076 (exit $ac_status); }; } &&
61077 { ac_try='test -s conftest$ac_exeext'
61078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61079 (eval $ac_try) 2>&5
61080 ac_status=$?
61081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61082 (exit $ac_status); }; }; then
61083 glibcxx_cv_func___builtin_fabsf_link=yes
61084 else
61085 echo "$as_me: failed program was:" >&5
61086 sed 's/^/| /' conftest.$ac_ext >&5
61088 glibcxx_cv_func___builtin_fabsf_link=no
61090 rm -f conftest.err conftest.$ac_objext \
61091 conftest$ac_exeext conftest.$ac_ext
61096 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61097 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61099 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61101 cat >>confdefs.h <<\_ACEOF
61102 #define HAVE___BUILTIN_FABSF 1
61103 _ACEOF
61110 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61111 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61112 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61113 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61114 echo $ECHO_N "(cached) $ECHO_C" >&6
61115 else
61119 ac_ext=cc
61120 ac_cpp='$CXXCPP $CPPFLAGS'
61121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61125 cat >conftest.$ac_ext <<_ACEOF
61126 /* confdefs.h. */
61127 _ACEOF
61128 cat confdefs.h >>conftest.$ac_ext
61129 cat >>conftest.$ac_ext <<_ACEOF
61130 /* end confdefs.h. */
61131 #include <math.h>
61133 main ()
61135 __builtin_fabs(0);
61137 return 0;
61139 _ACEOF
61140 rm -f conftest.$ac_objext
61141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61142 (eval $ac_compile) 2>conftest.er1
61143 ac_status=$?
61144 grep -v '^ *+' conftest.er1 >conftest.err
61145 rm -f conftest.er1
61146 cat conftest.err >&5
61147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61148 (exit $ac_status); } &&
61149 { ac_try='test -z "$ac_cxx_werror_flag"
61150 || test ! -s conftest.err'
61151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61152 (eval $ac_try) 2>&5
61153 ac_status=$?
61154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61155 (exit $ac_status); }; } &&
61156 { ac_try='test -s conftest.$ac_objext'
61157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61158 (eval $ac_try) 2>&5
61159 ac_status=$?
61160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61161 (exit $ac_status); }; }; then
61162 glibcxx_cv_func___builtin_fabs_use=yes
61163 else
61164 echo "$as_me: failed program was:" >&5
61165 sed 's/^/| /' conftest.$ac_ext >&5
61167 glibcxx_cv_func___builtin_fabs_use=no
61169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61170 ac_ext=c
61171 ac_cpp='$CPP $CPPFLAGS'
61172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61180 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61181 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61182 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61183 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61184 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61185 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61186 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61187 echo $ECHO_N "(cached) $ECHO_C" >&6
61188 else
61190 if test x$gcc_no_link = xyes; then
61191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61193 { (exit 1); exit 1; }; }
61195 cat >conftest.$ac_ext <<_ACEOF
61196 /* confdefs.h. */
61197 _ACEOF
61198 cat confdefs.h >>conftest.$ac_ext
61199 cat >>conftest.$ac_ext <<_ACEOF
61200 /* end confdefs.h. */
61201 #include <math.h>
61203 main ()
61205 __builtin_fabs(0);
61207 return 0;
61209 _ACEOF
61210 rm -f conftest.$ac_objext conftest$ac_exeext
61211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61212 (eval $ac_link) 2>conftest.er1
61213 ac_status=$?
61214 grep -v '^ *+' conftest.er1 >conftest.err
61215 rm -f conftest.er1
61216 cat conftest.err >&5
61217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61218 (exit $ac_status); } &&
61219 { ac_try='test -z "$ac_c_werror_flag"
61220 || test ! -s conftest.err'
61221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61222 (eval $ac_try) 2>&5
61223 ac_status=$?
61224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61225 (exit $ac_status); }; } &&
61226 { ac_try='test -s conftest$ac_exeext'
61227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61228 (eval $ac_try) 2>&5
61229 ac_status=$?
61230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61231 (exit $ac_status); }; }; then
61232 glibcxx_cv_func___builtin_fabs_link=yes
61233 else
61234 echo "$as_me: failed program was:" >&5
61235 sed 's/^/| /' conftest.$ac_ext >&5
61237 glibcxx_cv_func___builtin_fabs_link=no
61239 rm -f conftest.err conftest.$ac_objext \
61240 conftest$ac_exeext conftest.$ac_ext
61245 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61246 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61248 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61250 cat >>confdefs.h <<\_ACEOF
61251 #define HAVE___BUILTIN_FABS 1
61252 _ACEOF
61259 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61260 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61261 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61262 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61263 echo $ECHO_N "(cached) $ECHO_C" >&6
61264 else
61268 ac_ext=cc
61269 ac_cpp='$CXXCPP $CPPFLAGS'
61270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61274 cat >conftest.$ac_ext <<_ACEOF
61275 /* confdefs.h. */
61276 _ACEOF
61277 cat confdefs.h >>conftest.$ac_ext
61278 cat >>conftest.$ac_ext <<_ACEOF
61279 /* end confdefs.h. */
61280 #include <math.h>
61282 main ()
61284 __builtin_fabsl(0);
61286 return 0;
61288 _ACEOF
61289 rm -f conftest.$ac_objext
61290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61291 (eval $ac_compile) 2>conftest.er1
61292 ac_status=$?
61293 grep -v '^ *+' conftest.er1 >conftest.err
61294 rm -f conftest.er1
61295 cat conftest.err >&5
61296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297 (exit $ac_status); } &&
61298 { ac_try='test -z "$ac_cxx_werror_flag"
61299 || test ! -s conftest.err'
61300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61301 (eval $ac_try) 2>&5
61302 ac_status=$?
61303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61304 (exit $ac_status); }; } &&
61305 { ac_try='test -s conftest.$ac_objext'
61306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61307 (eval $ac_try) 2>&5
61308 ac_status=$?
61309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61310 (exit $ac_status); }; }; then
61311 glibcxx_cv_func___builtin_fabsl_use=yes
61312 else
61313 echo "$as_me: failed program was:" >&5
61314 sed 's/^/| /' conftest.$ac_ext >&5
61316 glibcxx_cv_func___builtin_fabsl_use=no
61318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61319 ac_ext=c
61320 ac_cpp='$CPP $CPPFLAGS'
61321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61329 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61330 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61331 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61332 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61333 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61334 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61335 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61336 echo $ECHO_N "(cached) $ECHO_C" >&6
61337 else
61339 if test x$gcc_no_link = xyes; then
61340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61342 { (exit 1); exit 1; }; }
61344 cat >conftest.$ac_ext <<_ACEOF
61345 /* confdefs.h. */
61346 _ACEOF
61347 cat confdefs.h >>conftest.$ac_ext
61348 cat >>conftest.$ac_ext <<_ACEOF
61349 /* end confdefs.h. */
61350 #include <math.h>
61352 main ()
61354 __builtin_fabsl(0);
61356 return 0;
61358 _ACEOF
61359 rm -f conftest.$ac_objext conftest$ac_exeext
61360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61361 (eval $ac_link) 2>conftest.er1
61362 ac_status=$?
61363 grep -v '^ *+' conftest.er1 >conftest.err
61364 rm -f conftest.er1
61365 cat conftest.err >&5
61366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61367 (exit $ac_status); } &&
61368 { ac_try='test -z "$ac_c_werror_flag"
61369 || test ! -s conftest.err'
61370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61371 (eval $ac_try) 2>&5
61372 ac_status=$?
61373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61374 (exit $ac_status); }; } &&
61375 { ac_try='test -s conftest$ac_exeext'
61376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61377 (eval $ac_try) 2>&5
61378 ac_status=$?
61379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61380 (exit $ac_status); }; }; then
61381 glibcxx_cv_func___builtin_fabsl_link=yes
61382 else
61383 echo "$as_me: failed program was:" >&5
61384 sed 's/^/| /' conftest.$ac_ext >&5
61386 glibcxx_cv_func___builtin_fabsl_link=no
61388 rm -f conftest.err conftest.$ac_objext \
61389 conftest$ac_exeext conftest.$ac_ext
61394 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61395 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61397 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61399 cat >>confdefs.h <<\_ACEOF
61400 #define HAVE___BUILTIN_FABSL 1
61401 _ACEOF
61408 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61409 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61410 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61411 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61412 echo $ECHO_N "(cached) $ECHO_C" >&6
61413 else
61417 ac_ext=cc
61418 ac_cpp='$CXXCPP $CPPFLAGS'
61419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61423 cat >conftest.$ac_ext <<_ACEOF
61424 /* confdefs.h. */
61425 _ACEOF
61426 cat confdefs.h >>conftest.$ac_ext
61427 cat >>conftest.$ac_ext <<_ACEOF
61428 /* end confdefs.h. */
61429 #include <math.h>
61431 main ()
61433 __builtin_labs(0);
61435 return 0;
61437 _ACEOF
61438 rm -f conftest.$ac_objext
61439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61440 (eval $ac_compile) 2>conftest.er1
61441 ac_status=$?
61442 grep -v '^ *+' conftest.er1 >conftest.err
61443 rm -f conftest.er1
61444 cat conftest.err >&5
61445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446 (exit $ac_status); } &&
61447 { ac_try='test -z "$ac_cxx_werror_flag"
61448 || test ! -s conftest.err'
61449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61450 (eval $ac_try) 2>&5
61451 ac_status=$?
61452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453 (exit $ac_status); }; } &&
61454 { ac_try='test -s conftest.$ac_objext'
61455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61456 (eval $ac_try) 2>&5
61457 ac_status=$?
61458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61459 (exit $ac_status); }; }; then
61460 glibcxx_cv_func___builtin_labs_use=yes
61461 else
61462 echo "$as_me: failed program was:" >&5
61463 sed 's/^/| /' conftest.$ac_ext >&5
61465 glibcxx_cv_func___builtin_labs_use=no
61467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61468 ac_ext=c
61469 ac_cpp='$CPP $CPPFLAGS'
61470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61478 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61479 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61480 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61481 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61482 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61483 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61484 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61485 echo $ECHO_N "(cached) $ECHO_C" >&6
61486 else
61488 if test x$gcc_no_link = xyes; then
61489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61491 { (exit 1); exit 1; }; }
61493 cat >conftest.$ac_ext <<_ACEOF
61494 /* confdefs.h. */
61495 _ACEOF
61496 cat confdefs.h >>conftest.$ac_ext
61497 cat >>conftest.$ac_ext <<_ACEOF
61498 /* end confdefs.h. */
61499 #include <math.h>
61501 main ()
61503 __builtin_labs(0);
61505 return 0;
61507 _ACEOF
61508 rm -f conftest.$ac_objext conftest$ac_exeext
61509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61510 (eval $ac_link) 2>conftest.er1
61511 ac_status=$?
61512 grep -v '^ *+' conftest.er1 >conftest.err
61513 rm -f conftest.er1
61514 cat conftest.err >&5
61515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61516 (exit $ac_status); } &&
61517 { ac_try='test -z "$ac_c_werror_flag"
61518 || test ! -s conftest.err'
61519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61520 (eval $ac_try) 2>&5
61521 ac_status=$?
61522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61523 (exit $ac_status); }; } &&
61524 { ac_try='test -s conftest$ac_exeext'
61525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61526 (eval $ac_try) 2>&5
61527 ac_status=$?
61528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61529 (exit $ac_status); }; }; then
61530 glibcxx_cv_func___builtin_labs_link=yes
61531 else
61532 echo "$as_me: failed program was:" >&5
61533 sed 's/^/| /' conftest.$ac_ext >&5
61535 glibcxx_cv_func___builtin_labs_link=no
61537 rm -f conftest.err conftest.$ac_objext \
61538 conftest$ac_exeext conftest.$ac_ext
61543 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61544 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61546 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61548 cat >>confdefs.h <<\_ACEOF
61549 #define HAVE___BUILTIN_LABS 1
61550 _ACEOF
61558 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61559 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61560 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61561 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61562 echo $ECHO_N "(cached) $ECHO_C" >&6
61563 else
61567 ac_ext=cc
61568 ac_cpp='$CXXCPP $CPPFLAGS'
61569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61573 cat >conftest.$ac_ext <<_ACEOF
61574 /* confdefs.h. */
61575 _ACEOF
61576 cat confdefs.h >>conftest.$ac_ext
61577 cat >>conftest.$ac_ext <<_ACEOF
61578 /* end confdefs.h. */
61579 #include <math.h>
61581 main ()
61583 __builtin_sqrtf(0);
61585 return 0;
61587 _ACEOF
61588 rm -f conftest.$ac_objext
61589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61590 (eval $ac_compile) 2>conftest.er1
61591 ac_status=$?
61592 grep -v '^ *+' conftest.er1 >conftest.err
61593 rm -f conftest.er1
61594 cat conftest.err >&5
61595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61596 (exit $ac_status); } &&
61597 { ac_try='test -z "$ac_cxx_werror_flag"
61598 || test ! -s conftest.err'
61599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61600 (eval $ac_try) 2>&5
61601 ac_status=$?
61602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61603 (exit $ac_status); }; } &&
61604 { ac_try='test -s conftest.$ac_objext'
61605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61606 (eval $ac_try) 2>&5
61607 ac_status=$?
61608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61609 (exit $ac_status); }; }; then
61610 glibcxx_cv_func___builtin_sqrtf_use=yes
61611 else
61612 echo "$as_me: failed program was:" >&5
61613 sed 's/^/| /' conftest.$ac_ext >&5
61615 glibcxx_cv_func___builtin_sqrtf_use=no
61617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61618 ac_ext=c
61619 ac_cpp='$CPP $CPPFLAGS'
61620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61630 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61631 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61632 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61633 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61634 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61635 echo $ECHO_N "(cached) $ECHO_C" >&6
61636 else
61638 if test x$gcc_no_link = xyes; then
61639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61641 { (exit 1); exit 1; }; }
61643 cat >conftest.$ac_ext <<_ACEOF
61644 /* confdefs.h. */
61645 _ACEOF
61646 cat confdefs.h >>conftest.$ac_ext
61647 cat >>conftest.$ac_ext <<_ACEOF
61648 /* end confdefs.h. */
61649 #include <math.h>
61651 main ()
61653 __builtin_sqrtf(0);
61655 return 0;
61657 _ACEOF
61658 rm -f conftest.$ac_objext conftest$ac_exeext
61659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61660 (eval $ac_link) 2>conftest.er1
61661 ac_status=$?
61662 grep -v '^ *+' conftest.er1 >conftest.err
61663 rm -f conftest.er1
61664 cat conftest.err >&5
61665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61666 (exit $ac_status); } &&
61667 { ac_try='test -z "$ac_c_werror_flag"
61668 || test ! -s conftest.err'
61669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61670 (eval $ac_try) 2>&5
61671 ac_status=$?
61672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61673 (exit $ac_status); }; } &&
61674 { ac_try='test -s conftest$ac_exeext'
61675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61676 (eval $ac_try) 2>&5
61677 ac_status=$?
61678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61679 (exit $ac_status); }; }; then
61680 glibcxx_cv_func___builtin_sqrtf_link=yes
61681 else
61682 echo "$as_me: failed program was:" >&5
61683 sed 's/^/| /' conftest.$ac_ext >&5
61685 glibcxx_cv_func___builtin_sqrtf_link=no
61687 rm -f conftest.err conftest.$ac_objext \
61688 conftest$ac_exeext conftest.$ac_ext
61693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61694 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61696 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61698 cat >>confdefs.h <<\_ACEOF
61699 #define HAVE___BUILTIN_SQRTF 1
61700 _ACEOF
61707 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61708 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61709 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61710 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61711 echo $ECHO_N "(cached) $ECHO_C" >&6
61712 else
61716 ac_ext=cc
61717 ac_cpp='$CXXCPP $CPPFLAGS'
61718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61722 cat >conftest.$ac_ext <<_ACEOF
61723 /* confdefs.h. */
61724 _ACEOF
61725 cat confdefs.h >>conftest.$ac_ext
61726 cat >>conftest.$ac_ext <<_ACEOF
61727 /* end confdefs.h. */
61728 #include <math.h>
61730 main ()
61732 __builtin_sqrt(0);
61734 return 0;
61736 _ACEOF
61737 rm -f conftest.$ac_objext
61738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61739 (eval $ac_compile) 2>conftest.er1
61740 ac_status=$?
61741 grep -v '^ *+' conftest.er1 >conftest.err
61742 rm -f conftest.er1
61743 cat conftest.err >&5
61744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745 (exit $ac_status); } &&
61746 { ac_try='test -z "$ac_cxx_werror_flag"
61747 || test ! -s conftest.err'
61748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61749 (eval $ac_try) 2>&5
61750 ac_status=$?
61751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61752 (exit $ac_status); }; } &&
61753 { ac_try='test -s conftest.$ac_objext'
61754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61755 (eval $ac_try) 2>&5
61756 ac_status=$?
61757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61758 (exit $ac_status); }; }; then
61759 glibcxx_cv_func___builtin_sqrt_use=yes
61760 else
61761 echo "$as_me: failed program was:" >&5
61762 sed 's/^/| /' conftest.$ac_ext >&5
61764 glibcxx_cv_func___builtin_sqrt_use=no
61766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61767 ac_ext=c
61768 ac_cpp='$CPP $CPPFLAGS'
61769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61777 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61778 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61779 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61780 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61781 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61782 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61783 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61784 echo $ECHO_N "(cached) $ECHO_C" >&6
61785 else
61787 if test x$gcc_no_link = xyes; then
61788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61790 { (exit 1); exit 1; }; }
61792 cat >conftest.$ac_ext <<_ACEOF
61793 /* confdefs.h. */
61794 _ACEOF
61795 cat confdefs.h >>conftest.$ac_ext
61796 cat >>conftest.$ac_ext <<_ACEOF
61797 /* end confdefs.h. */
61798 #include <math.h>
61800 main ()
61802 __builtin_sqrt(0);
61804 return 0;
61806 _ACEOF
61807 rm -f conftest.$ac_objext conftest$ac_exeext
61808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61809 (eval $ac_link) 2>conftest.er1
61810 ac_status=$?
61811 grep -v '^ *+' conftest.er1 >conftest.err
61812 rm -f conftest.er1
61813 cat conftest.err >&5
61814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815 (exit $ac_status); } &&
61816 { ac_try='test -z "$ac_c_werror_flag"
61817 || test ! -s conftest.err'
61818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819 (eval $ac_try) 2>&5
61820 ac_status=$?
61821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822 (exit $ac_status); }; } &&
61823 { ac_try='test -s conftest$ac_exeext'
61824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61825 (eval $ac_try) 2>&5
61826 ac_status=$?
61827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61828 (exit $ac_status); }; }; then
61829 glibcxx_cv_func___builtin_sqrt_link=yes
61830 else
61831 echo "$as_me: failed program was:" >&5
61832 sed 's/^/| /' conftest.$ac_ext >&5
61834 glibcxx_cv_func___builtin_sqrt_link=no
61836 rm -f conftest.err conftest.$ac_objext \
61837 conftest$ac_exeext conftest.$ac_ext
61842 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61843 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61845 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61847 cat >>confdefs.h <<\_ACEOF
61848 #define HAVE___BUILTIN_SQRT 1
61849 _ACEOF
61856 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61857 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61858 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61859 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61860 echo $ECHO_N "(cached) $ECHO_C" >&6
61861 else
61865 ac_ext=cc
61866 ac_cpp='$CXXCPP $CPPFLAGS'
61867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61871 cat >conftest.$ac_ext <<_ACEOF
61872 /* confdefs.h. */
61873 _ACEOF
61874 cat confdefs.h >>conftest.$ac_ext
61875 cat >>conftest.$ac_ext <<_ACEOF
61876 /* end confdefs.h. */
61877 #include <math.h>
61879 main ()
61881 __builtin_sqrtl(0);
61883 return 0;
61885 _ACEOF
61886 rm -f conftest.$ac_objext
61887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61888 (eval $ac_compile) 2>conftest.er1
61889 ac_status=$?
61890 grep -v '^ *+' conftest.er1 >conftest.err
61891 rm -f conftest.er1
61892 cat conftest.err >&5
61893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61894 (exit $ac_status); } &&
61895 { ac_try='test -z "$ac_cxx_werror_flag"
61896 || test ! -s conftest.err'
61897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61898 (eval $ac_try) 2>&5
61899 ac_status=$?
61900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61901 (exit $ac_status); }; } &&
61902 { ac_try='test -s conftest.$ac_objext'
61903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61904 (eval $ac_try) 2>&5
61905 ac_status=$?
61906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61907 (exit $ac_status); }; }; then
61908 glibcxx_cv_func___builtin_sqrtl_use=yes
61909 else
61910 echo "$as_me: failed program was:" >&5
61911 sed 's/^/| /' conftest.$ac_ext >&5
61913 glibcxx_cv_func___builtin_sqrtl_use=no
61915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61916 ac_ext=c
61917 ac_cpp='$CPP $CPPFLAGS'
61918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61926 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61927 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61928 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61929 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61930 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61931 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61932 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61933 echo $ECHO_N "(cached) $ECHO_C" >&6
61934 else
61936 if test x$gcc_no_link = xyes; then
61937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61939 { (exit 1); exit 1; }; }
61941 cat >conftest.$ac_ext <<_ACEOF
61942 /* confdefs.h. */
61943 _ACEOF
61944 cat confdefs.h >>conftest.$ac_ext
61945 cat >>conftest.$ac_ext <<_ACEOF
61946 /* end confdefs.h. */
61947 #include <math.h>
61949 main ()
61951 __builtin_sqrtl(0);
61953 return 0;
61955 _ACEOF
61956 rm -f conftest.$ac_objext conftest$ac_exeext
61957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61958 (eval $ac_link) 2>conftest.er1
61959 ac_status=$?
61960 grep -v '^ *+' conftest.er1 >conftest.err
61961 rm -f conftest.er1
61962 cat conftest.err >&5
61963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964 (exit $ac_status); } &&
61965 { ac_try='test -z "$ac_c_werror_flag"
61966 || test ! -s conftest.err'
61967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61968 (eval $ac_try) 2>&5
61969 ac_status=$?
61970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61971 (exit $ac_status); }; } &&
61972 { ac_try='test -s conftest$ac_exeext'
61973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61974 (eval $ac_try) 2>&5
61975 ac_status=$?
61976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61977 (exit $ac_status); }; }; then
61978 glibcxx_cv_func___builtin_sqrtl_link=yes
61979 else
61980 echo "$as_me: failed program was:" >&5
61981 sed 's/^/| /' conftest.$ac_ext >&5
61983 glibcxx_cv_func___builtin_sqrtl_link=no
61985 rm -f conftest.err conftest.$ac_objext \
61986 conftest$ac_exeext conftest.$ac_ext
61991 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61992 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61994 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61996 cat >>confdefs.h <<\_ACEOF
61997 #define HAVE___BUILTIN_SQRTL 1
61998 _ACEOF
62006 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62007 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62008 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62009 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62010 echo $ECHO_N "(cached) $ECHO_C" >&6
62011 else
62015 ac_ext=cc
62016 ac_cpp='$CXXCPP $CPPFLAGS'
62017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62021 cat >conftest.$ac_ext <<_ACEOF
62022 /* confdefs.h. */
62023 _ACEOF
62024 cat confdefs.h >>conftest.$ac_ext
62025 cat >>conftest.$ac_ext <<_ACEOF
62026 /* end confdefs.h. */
62027 #include <math.h>
62029 main ()
62031 __builtin_sinf(0);
62033 return 0;
62035 _ACEOF
62036 rm -f conftest.$ac_objext
62037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62038 (eval $ac_compile) 2>conftest.er1
62039 ac_status=$?
62040 grep -v '^ *+' conftest.er1 >conftest.err
62041 rm -f conftest.er1
62042 cat conftest.err >&5
62043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62044 (exit $ac_status); } &&
62045 { ac_try='test -z "$ac_cxx_werror_flag"
62046 || test ! -s conftest.err'
62047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62048 (eval $ac_try) 2>&5
62049 ac_status=$?
62050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62051 (exit $ac_status); }; } &&
62052 { ac_try='test -s conftest.$ac_objext'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; }; then
62058 glibcxx_cv_func___builtin_sinf_use=yes
62059 else
62060 echo "$as_me: failed program was:" >&5
62061 sed 's/^/| /' conftest.$ac_ext >&5
62063 glibcxx_cv_func___builtin_sinf_use=no
62065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62066 ac_ext=c
62067 ac_cpp='$CPP $CPPFLAGS'
62068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62076 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62077 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62078 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62079 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62080 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62081 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62082 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62083 echo $ECHO_N "(cached) $ECHO_C" >&6
62084 else
62086 if test x$gcc_no_link = xyes; then
62087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62089 { (exit 1); exit 1; }; }
62091 cat >conftest.$ac_ext <<_ACEOF
62092 /* confdefs.h. */
62093 _ACEOF
62094 cat confdefs.h >>conftest.$ac_ext
62095 cat >>conftest.$ac_ext <<_ACEOF
62096 /* end confdefs.h. */
62097 #include <math.h>
62099 main ()
62101 __builtin_sinf(0);
62103 return 0;
62105 _ACEOF
62106 rm -f conftest.$ac_objext conftest$ac_exeext
62107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62108 (eval $ac_link) 2>conftest.er1
62109 ac_status=$?
62110 grep -v '^ *+' conftest.er1 >conftest.err
62111 rm -f conftest.er1
62112 cat conftest.err >&5
62113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114 (exit $ac_status); } &&
62115 { ac_try='test -z "$ac_c_werror_flag"
62116 || test ! -s conftest.err'
62117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118 (eval $ac_try) 2>&5
62119 ac_status=$?
62120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121 (exit $ac_status); }; } &&
62122 { ac_try='test -s conftest$ac_exeext'
62123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62124 (eval $ac_try) 2>&5
62125 ac_status=$?
62126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62127 (exit $ac_status); }; }; then
62128 glibcxx_cv_func___builtin_sinf_link=yes
62129 else
62130 echo "$as_me: failed program was:" >&5
62131 sed 's/^/| /' conftest.$ac_ext >&5
62133 glibcxx_cv_func___builtin_sinf_link=no
62135 rm -f conftest.err conftest.$ac_objext \
62136 conftest$ac_exeext conftest.$ac_ext
62141 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62142 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62144 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62146 cat >>confdefs.h <<\_ACEOF
62147 #define HAVE___BUILTIN_SINF 1
62148 _ACEOF
62155 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62156 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62157 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62158 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62159 echo $ECHO_N "(cached) $ECHO_C" >&6
62160 else
62164 ac_ext=cc
62165 ac_cpp='$CXXCPP $CPPFLAGS'
62166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62170 cat >conftest.$ac_ext <<_ACEOF
62171 /* confdefs.h. */
62172 _ACEOF
62173 cat confdefs.h >>conftest.$ac_ext
62174 cat >>conftest.$ac_ext <<_ACEOF
62175 /* end confdefs.h. */
62176 #include <math.h>
62178 main ()
62180 __builtin_sin(0);
62182 return 0;
62184 _ACEOF
62185 rm -f conftest.$ac_objext
62186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62187 (eval $ac_compile) 2>conftest.er1
62188 ac_status=$?
62189 grep -v '^ *+' conftest.er1 >conftest.err
62190 rm -f conftest.er1
62191 cat conftest.err >&5
62192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193 (exit $ac_status); } &&
62194 { ac_try='test -z "$ac_cxx_werror_flag"
62195 || test ! -s conftest.err'
62196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62197 (eval $ac_try) 2>&5
62198 ac_status=$?
62199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62200 (exit $ac_status); }; } &&
62201 { ac_try='test -s conftest.$ac_objext'
62202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62203 (eval $ac_try) 2>&5
62204 ac_status=$?
62205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62206 (exit $ac_status); }; }; then
62207 glibcxx_cv_func___builtin_sin_use=yes
62208 else
62209 echo "$as_me: failed program was:" >&5
62210 sed 's/^/| /' conftest.$ac_ext >&5
62212 glibcxx_cv_func___builtin_sin_use=no
62214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62215 ac_ext=c
62216 ac_cpp='$CPP $CPPFLAGS'
62217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62225 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62226 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62227 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62228 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62229 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62230 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62231 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62232 echo $ECHO_N "(cached) $ECHO_C" >&6
62233 else
62235 if test x$gcc_no_link = xyes; then
62236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62238 { (exit 1); exit 1; }; }
62240 cat >conftest.$ac_ext <<_ACEOF
62241 /* confdefs.h. */
62242 _ACEOF
62243 cat confdefs.h >>conftest.$ac_ext
62244 cat >>conftest.$ac_ext <<_ACEOF
62245 /* end confdefs.h. */
62246 #include <math.h>
62248 main ()
62250 __builtin_sin(0);
62252 return 0;
62254 _ACEOF
62255 rm -f conftest.$ac_objext conftest$ac_exeext
62256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62257 (eval $ac_link) 2>conftest.er1
62258 ac_status=$?
62259 grep -v '^ *+' conftest.er1 >conftest.err
62260 rm -f conftest.er1
62261 cat conftest.err >&5
62262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62263 (exit $ac_status); } &&
62264 { ac_try='test -z "$ac_c_werror_flag"
62265 || test ! -s conftest.err'
62266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62267 (eval $ac_try) 2>&5
62268 ac_status=$?
62269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62270 (exit $ac_status); }; } &&
62271 { ac_try='test -s conftest$ac_exeext'
62272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62273 (eval $ac_try) 2>&5
62274 ac_status=$?
62275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62276 (exit $ac_status); }; }; then
62277 glibcxx_cv_func___builtin_sin_link=yes
62278 else
62279 echo "$as_me: failed program was:" >&5
62280 sed 's/^/| /' conftest.$ac_ext >&5
62282 glibcxx_cv_func___builtin_sin_link=no
62284 rm -f conftest.err conftest.$ac_objext \
62285 conftest$ac_exeext conftest.$ac_ext
62290 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62291 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62293 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62295 cat >>confdefs.h <<\_ACEOF
62296 #define HAVE___BUILTIN_SIN 1
62297 _ACEOF
62304 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62305 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62306 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62307 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62308 echo $ECHO_N "(cached) $ECHO_C" >&6
62309 else
62313 ac_ext=cc
62314 ac_cpp='$CXXCPP $CPPFLAGS'
62315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62319 cat >conftest.$ac_ext <<_ACEOF
62320 /* confdefs.h. */
62321 _ACEOF
62322 cat confdefs.h >>conftest.$ac_ext
62323 cat >>conftest.$ac_ext <<_ACEOF
62324 /* end confdefs.h. */
62325 #include <math.h>
62327 main ()
62329 __builtin_sinl(0);
62331 return 0;
62333 _ACEOF
62334 rm -f conftest.$ac_objext
62335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62336 (eval $ac_compile) 2>conftest.er1
62337 ac_status=$?
62338 grep -v '^ *+' conftest.er1 >conftest.err
62339 rm -f conftest.er1
62340 cat conftest.err >&5
62341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342 (exit $ac_status); } &&
62343 { ac_try='test -z "$ac_cxx_werror_flag"
62344 || test ! -s conftest.err'
62345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62346 (eval $ac_try) 2>&5
62347 ac_status=$?
62348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62349 (exit $ac_status); }; } &&
62350 { ac_try='test -s conftest.$ac_objext'
62351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62352 (eval $ac_try) 2>&5
62353 ac_status=$?
62354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62355 (exit $ac_status); }; }; then
62356 glibcxx_cv_func___builtin_sinl_use=yes
62357 else
62358 echo "$as_me: failed program was:" >&5
62359 sed 's/^/| /' conftest.$ac_ext >&5
62361 glibcxx_cv_func___builtin_sinl_use=no
62363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62364 ac_ext=c
62365 ac_cpp='$CPP $CPPFLAGS'
62366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62375 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62376 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62377 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62378 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62379 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62380 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62381 echo $ECHO_N "(cached) $ECHO_C" >&6
62382 else
62384 if test x$gcc_no_link = xyes; then
62385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62387 { (exit 1); exit 1; }; }
62389 cat >conftest.$ac_ext <<_ACEOF
62390 /* confdefs.h. */
62391 _ACEOF
62392 cat confdefs.h >>conftest.$ac_ext
62393 cat >>conftest.$ac_ext <<_ACEOF
62394 /* end confdefs.h. */
62395 #include <math.h>
62397 main ()
62399 __builtin_sinl(0);
62401 return 0;
62403 _ACEOF
62404 rm -f conftest.$ac_objext conftest$ac_exeext
62405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62406 (eval $ac_link) 2>conftest.er1
62407 ac_status=$?
62408 grep -v '^ *+' conftest.er1 >conftest.err
62409 rm -f conftest.er1
62410 cat conftest.err >&5
62411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62412 (exit $ac_status); } &&
62413 { ac_try='test -z "$ac_c_werror_flag"
62414 || test ! -s conftest.err'
62415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62416 (eval $ac_try) 2>&5
62417 ac_status=$?
62418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62419 (exit $ac_status); }; } &&
62420 { ac_try='test -s conftest$ac_exeext'
62421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62422 (eval $ac_try) 2>&5
62423 ac_status=$?
62424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62425 (exit $ac_status); }; }; then
62426 glibcxx_cv_func___builtin_sinl_link=yes
62427 else
62428 echo "$as_me: failed program was:" >&5
62429 sed 's/^/| /' conftest.$ac_ext >&5
62431 glibcxx_cv_func___builtin_sinl_link=no
62433 rm -f conftest.err conftest.$ac_objext \
62434 conftest$ac_exeext conftest.$ac_ext
62439 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62440 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62442 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62444 cat >>confdefs.h <<\_ACEOF
62445 #define HAVE___BUILTIN_SINL 1
62446 _ACEOF
62454 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62455 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62456 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62457 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62458 echo $ECHO_N "(cached) $ECHO_C" >&6
62459 else
62463 ac_ext=cc
62464 ac_cpp='$CXXCPP $CPPFLAGS'
62465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62469 cat >conftest.$ac_ext <<_ACEOF
62470 /* confdefs.h. */
62471 _ACEOF
62472 cat confdefs.h >>conftest.$ac_ext
62473 cat >>conftest.$ac_ext <<_ACEOF
62474 /* end confdefs.h. */
62475 #include <math.h>
62477 main ()
62479 __builtin_cosf(0);
62481 return 0;
62483 _ACEOF
62484 rm -f conftest.$ac_objext
62485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62486 (eval $ac_compile) 2>conftest.er1
62487 ac_status=$?
62488 grep -v '^ *+' conftest.er1 >conftest.err
62489 rm -f conftest.er1
62490 cat conftest.err >&5
62491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62492 (exit $ac_status); } &&
62493 { ac_try='test -z "$ac_cxx_werror_flag"
62494 || test ! -s conftest.err'
62495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62496 (eval $ac_try) 2>&5
62497 ac_status=$?
62498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62499 (exit $ac_status); }; } &&
62500 { ac_try='test -s conftest.$ac_objext'
62501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62502 (eval $ac_try) 2>&5
62503 ac_status=$?
62504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62505 (exit $ac_status); }; }; then
62506 glibcxx_cv_func___builtin_cosf_use=yes
62507 else
62508 echo "$as_me: failed program was:" >&5
62509 sed 's/^/| /' conftest.$ac_ext >&5
62511 glibcxx_cv_func___builtin_cosf_use=no
62513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62514 ac_ext=c
62515 ac_cpp='$CPP $CPPFLAGS'
62516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62524 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62525 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62526 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62527 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62528 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62529 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62530 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62531 echo $ECHO_N "(cached) $ECHO_C" >&6
62532 else
62534 if test x$gcc_no_link = xyes; then
62535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62537 { (exit 1); exit 1; }; }
62539 cat >conftest.$ac_ext <<_ACEOF
62540 /* confdefs.h. */
62541 _ACEOF
62542 cat confdefs.h >>conftest.$ac_ext
62543 cat >>conftest.$ac_ext <<_ACEOF
62544 /* end confdefs.h. */
62545 #include <math.h>
62547 main ()
62549 __builtin_cosf(0);
62551 return 0;
62553 _ACEOF
62554 rm -f conftest.$ac_objext conftest$ac_exeext
62555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62556 (eval $ac_link) 2>conftest.er1
62557 ac_status=$?
62558 grep -v '^ *+' conftest.er1 >conftest.err
62559 rm -f conftest.er1
62560 cat conftest.err >&5
62561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562 (exit $ac_status); } &&
62563 { ac_try='test -z "$ac_c_werror_flag"
62564 || test ! -s conftest.err'
62565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62566 (eval $ac_try) 2>&5
62567 ac_status=$?
62568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569 (exit $ac_status); }; } &&
62570 { ac_try='test -s conftest$ac_exeext'
62571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62572 (eval $ac_try) 2>&5
62573 ac_status=$?
62574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62575 (exit $ac_status); }; }; then
62576 glibcxx_cv_func___builtin_cosf_link=yes
62577 else
62578 echo "$as_me: failed program was:" >&5
62579 sed 's/^/| /' conftest.$ac_ext >&5
62581 glibcxx_cv_func___builtin_cosf_link=no
62583 rm -f conftest.err conftest.$ac_objext \
62584 conftest$ac_exeext conftest.$ac_ext
62589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62590 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62592 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62594 cat >>confdefs.h <<\_ACEOF
62595 #define HAVE___BUILTIN_COSF 1
62596 _ACEOF
62603 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62604 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62605 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62606 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62607 echo $ECHO_N "(cached) $ECHO_C" >&6
62608 else
62612 ac_ext=cc
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62618 cat >conftest.$ac_ext <<_ACEOF
62619 /* confdefs.h. */
62620 _ACEOF
62621 cat confdefs.h >>conftest.$ac_ext
62622 cat >>conftest.$ac_ext <<_ACEOF
62623 /* end confdefs.h. */
62624 #include <math.h>
62626 main ()
62628 __builtin_cos(0);
62630 return 0;
62632 _ACEOF
62633 rm -f conftest.$ac_objext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62635 (eval $ac_compile) 2>conftest.er1
62636 ac_status=$?
62637 grep -v '^ *+' conftest.er1 >conftest.err
62638 rm -f conftest.er1
62639 cat conftest.err >&5
62640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641 (exit $ac_status); } &&
62642 { ac_try='test -z "$ac_cxx_werror_flag"
62643 || test ! -s conftest.err'
62644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62645 (eval $ac_try) 2>&5
62646 ac_status=$?
62647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62648 (exit $ac_status); }; } &&
62649 { ac_try='test -s conftest.$ac_objext'
62650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62651 (eval $ac_try) 2>&5
62652 ac_status=$?
62653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654 (exit $ac_status); }; }; then
62655 glibcxx_cv_func___builtin_cos_use=yes
62656 else
62657 echo "$as_me: failed program was:" >&5
62658 sed 's/^/| /' conftest.$ac_ext >&5
62660 glibcxx_cv_func___builtin_cos_use=no
62662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62663 ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62674 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62675 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62676 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62677 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62678 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62679 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62680 echo $ECHO_N "(cached) $ECHO_C" >&6
62681 else
62683 if test x$gcc_no_link = xyes; then
62684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62686 { (exit 1); exit 1; }; }
62688 cat >conftest.$ac_ext <<_ACEOF
62689 /* confdefs.h. */
62690 _ACEOF
62691 cat confdefs.h >>conftest.$ac_ext
62692 cat >>conftest.$ac_ext <<_ACEOF
62693 /* end confdefs.h. */
62694 #include <math.h>
62696 main ()
62698 __builtin_cos(0);
62700 return 0;
62702 _ACEOF
62703 rm -f conftest.$ac_objext conftest$ac_exeext
62704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62705 (eval $ac_link) 2>conftest.er1
62706 ac_status=$?
62707 grep -v '^ *+' conftest.er1 >conftest.err
62708 rm -f conftest.er1
62709 cat conftest.err >&5
62710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62711 (exit $ac_status); } &&
62712 { ac_try='test -z "$ac_c_werror_flag"
62713 || test ! -s conftest.err'
62714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62715 (eval $ac_try) 2>&5
62716 ac_status=$?
62717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718 (exit $ac_status); }; } &&
62719 { ac_try='test -s conftest$ac_exeext'
62720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62721 (eval $ac_try) 2>&5
62722 ac_status=$?
62723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62724 (exit $ac_status); }; }; then
62725 glibcxx_cv_func___builtin_cos_link=yes
62726 else
62727 echo "$as_me: failed program was:" >&5
62728 sed 's/^/| /' conftest.$ac_ext >&5
62730 glibcxx_cv_func___builtin_cos_link=no
62732 rm -f conftest.err conftest.$ac_objext \
62733 conftest$ac_exeext conftest.$ac_ext
62738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62739 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62741 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62743 cat >>confdefs.h <<\_ACEOF
62744 #define HAVE___BUILTIN_COS 1
62745 _ACEOF
62752 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62753 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62754 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62755 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62756 echo $ECHO_N "(cached) $ECHO_C" >&6
62757 else
62761 ac_ext=cc
62762 ac_cpp='$CXXCPP $CPPFLAGS'
62763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62767 cat >conftest.$ac_ext <<_ACEOF
62768 /* confdefs.h. */
62769 _ACEOF
62770 cat confdefs.h >>conftest.$ac_ext
62771 cat >>conftest.$ac_ext <<_ACEOF
62772 /* end confdefs.h. */
62773 #include <math.h>
62775 main ()
62777 __builtin_cosl(0);
62779 return 0;
62781 _ACEOF
62782 rm -f conftest.$ac_objext
62783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62784 (eval $ac_compile) 2>conftest.er1
62785 ac_status=$?
62786 grep -v '^ *+' conftest.er1 >conftest.err
62787 rm -f conftest.er1
62788 cat conftest.err >&5
62789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790 (exit $ac_status); } &&
62791 { ac_try='test -z "$ac_cxx_werror_flag"
62792 || test ! -s conftest.err'
62793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62794 (eval $ac_try) 2>&5
62795 ac_status=$?
62796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797 (exit $ac_status); }; } &&
62798 { ac_try='test -s conftest.$ac_objext'
62799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62800 (eval $ac_try) 2>&5
62801 ac_status=$?
62802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62803 (exit $ac_status); }; }; then
62804 glibcxx_cv_func___builtin_cosl_use=yes
62805 else
62806 echo "$as_me: failed program was:" >&5
62807 sed 's/^/| /' conftest.$ac_ext >&5
62809 glibcxx_cv_func___builtin_cosl_use=no
62811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62812 ac_ext=c
62813 ac_cpp='$CPP $CPPFLAGS'
62814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62822 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62823 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62824 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62825 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62826 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62827 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62828 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62829 echo $ECHO_N "(cached) $ECHO_C" >&6
62830 else
62832 if test x$gcc_no_link = xyes; then
62833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62835 { (exit 1); exit 1; }; }
62837 cat >conftest.$ac_ext <<_ACEOF
62838 /* confdefs.h. */
62839 _ACEOF
62840 cat confdefs.h >>conftest.$ac_ext
62841 cat >>conftest.$ac_ext <<_ACEOF
62842 /* end confdefs.h. */
62843 #include <math.h>
62845 main ()
62847 __builtin_cosl(0);
62849 return 0;
62851 _ACEOF
62852 rm -f conftest.$ac_objext conftest$ac_exeext
62853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62854 (eval $ac_link) 2>conftest.er1
62855 ac_status=$?
62856 grep -v '^ *+' conftest.er1 >conftest.err
62857 rm -f conftest.er1
62858 cat conftest.err >&5
62859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62860 (exit $ac_status); } &&
62861 { ac_try='test -z "$ac_c_werror_flag"
62862 || test ! -s conftest.err'
62863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62864 (eval $ac_try) 2>&5
62865 ac_status=$?
62866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62867 (exit $ac_status); }; } &&
62868 { ac_try='test -s conftest$ac_exeext'
62869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62870 (eval $ac_try) 2>&5
62871 ac_status=$?
62872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62873 (exit $ac_status); }; }; then
62874 glibcxx_cv_func___builtin_cosl_link=yes
62875 else
62876 echo "$as_me: failed program was:" >&5
62877 sed 's/^/| /' conftest.$ac_ext >&5
62879 glibcxx_cv_func___builtin_cosl_link=no
62881 rm -f conftest.err conftest.$ac_objext \
62882 conftest$ac_exeext conftest.$ac_ext
62887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62888 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62890 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62892 cat >>confdefs.h <<\_ACEOF
62893 #define HAVE___BUILTIN_COSL 1
62894 _ACEOF
62903 echo "$as_me:$LINENO: checking for main in -lm" >&5
62904 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62905 if test "${ac_cv_lib_m_main+set}" = set; then
62906 echo $ECHO_N "(cached) $ECHO_C" >&6
62907 else
62908 ac_check_lib_save_LIBS=$LIBS
62909 LIBS="-lm $LIBS"
62910 if test x$gcc_no_link = xyes; then
62911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62913 { (exit 1); exit 1; }; }
62915 cat >conftest.$ac_ext <<_ACEOF
62916 /* confdefs.h. */
62917 _ACEOF
62918 cat confdefs.h >>conftest.$ac_ext
62919 cat >>conftest.$ac_ext <<_ACEOF
62920 /* end confdefs.h. */
62924 main ()
62926 main ();
62928 return 0;
62930 _ACEOF
62931 rm -f conftest.$ac_objext conftest$ac_exeext
62932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62933 (eval $ac_link) 2>conftest.er1
62934 ac_status=$?
62935 grep -v '^ *+' conftest.er1 >conftest.err
62936 rm -f conftest.er1
62937 cat conftest.err >&5
62938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62939 (exit $ac_status); } &&
62940 { ac_try='test -z "$ac_c_werror_flag"
62941 || test ! -s conftest.err'
62942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62943 (eval $ac_try) 2>&5
62944 ac_status=$?
62945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62946 (exit $ac_status); }; } &&
62947 { ac_try='test -s conftest$ac_exeext'
62948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62949 (eval $ac_try) 2>&5
62950 ac_status=$?
62951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62952 (exit $ac_status); }; }; then
62953 ac_cv_lib_m_main=yes
62954 else
62955 echo "$as_me: failed program was:" >&5
62956 sed 's/^/| /' conftest.$ac_ext >&5
62958 ac_cv_lib_m_main=no
62960 rm -f conftest.err conftest.$ac_objext \
62961 conftest$ac_exeext conftest.$ac_ext
62962 LIBS=$ac_check_lib_save_LIBS
62964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62965 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62966 if test $ac_cv_lib_m_main = yes; then
62967 cat >>confdefs.h <<_ACEOF
62968 #define HAVE_LIBM 1
62969 _ACEOF
62971 LIBS="-lm $LIBS"
62976 for ac_func in copysignf
62978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62979 echo "$as_me:$LINENO: checking for $ac_func" >&5
62980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62981 if eval "test \"\${$as_ac_var+set}\" = set"; then
62982 echo $ECHO_N "(cached) $ECHO_C" >&6
62983 else
62984 if test x$gcc_no_link = xyes; then
62985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62987 { (exit 1); exit 1; }; }
62989 cat >conftest.$ac_ext <<_ACEOF
62990 /* confdefs.h. */
62991 _ACEOF
62992 cat confdefs.h >>conftest.$ac_ext
62993 cat >>conftest.$ac_ext <<_ACEOF
62994 /* end confdefs.h. */
62995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62997 #define $ac_func innocuous_$ac_func
62999 /* System header to define __stub macros and hopefully few prototypes,
63000 which can conflict with char $ac_func (); below.
63001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63002 <limits.h> exists even on freestanding compilers. */
63004 #ifdef __STDC__
63005 # include <limits.h>
63006 #else
63007 # include <assert.h>
63008 #endif
63010 #undef $ac_func
63012 /* Override any gcc2 internal prototype to avoid an error. */
63013 #ifdef __cplusplus
63014 extern "C"
63016 #endif
63017 /* We use char because int might match the return type of a gcc2
63018 builtin and then its argument prototype would still apply. */
63019 char $ac_func ();
63020 /* The GNU C library defines this for functions which it implements
63021 to always fail with ENOSYS. Some functions are actually named
63022 something starting with __ and the normal name is an alias. */
63023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63024 choke me
63025 #else
63026 char (*f) () = $ac_func;
63027 #endif
63028 #ifdef __cplusplus
63030 #endif
63033 main ()
63035 return f != $ac_func;
63037 return 0;
63039 _ACEOF
63040 rm -f conftest.$ac_objext conftest$ac_exeext
63041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63042 (eval $ac_link) 2>conftest.er1
63043 ac_status=$?
63044 grep -v '^ *+' conftest.er1 >conftest.err
63045 rm -f conftest.er1
63046 cat conftest.err >&5
63047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63048 (exit $ac_status); } &&
63049 { ac_try='test -z "$ac_c_werror_flag"
63050 || test ! -s conftest.err'
63051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63052 (eval $ac_try) 2>&5
63053 ac_status=$?
63054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055 (exit $ac_status); }; } &&
63056 { ac_try='test -s conftest$ac_exeext'
63057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63058 (eval $ac_try) 2>&5
63059 ac_status=$?
63060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061 (exit $ac_status); }; }; then
63062 eval "$as_ac_var=yes"
63063 else
63064 echo "$as_me: failed program was:" >&5
63065 sed 's/^/| /' conftest.$ac_ext >&5
63067 eval "$as_ac_var=no"
63069 rm -f conftest.err conftest.$ac_objext \
63070 conftest$ac_exeext conftest.$ac_ext
63072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63074 if test `eval echo '${'$as_ac_var'}'` = yes; then
63075 cat >>confdefs.h <<_ACEOF
63076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63077 _ACEOF
63079 else
63080 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63082 done
63086 for ac_func in __signbit
63088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63089 echo "$as_me:$LINENO: checking for $ac_func" >&5
63090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63091 if eval "test \"\${$as_ac_var+set}\" = set"; then
63092 echo $ECHO_N "(cached) $ECHO_C" >&6
63093 else
63094 if test x$gcc_no_link = xyes; then
63095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63097 { (exit 1); exit 1; }; }
63099 cat >conftest.$ac_ext <<_ACEOF
63100 /* confdefs.h. */
63101 _ACEOF
63102 cat confdefs.h >>conftest.$ac_ext
63103 cat >>conftest.$ac_ext <<_ACEOF
63104 /* end confdefs.h. */
63105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63107 #define $ac_func innocuous_$ac_func
63109 /* System header to define __stub macros and hopefully few prototypes,
63110 which can conflict with char $ac_func (); below.
63111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63112 <limits.h> exists even on freestanding compilers. */
63114 #ifdef __STDC__
63115 # include <limits.h>
63116 #else
63117 # include <assert.h>
63118 #endif
63120 #undef $ac_func
63122 /* Override any gcc2 internal prototype to avoid an error. */
63123 #ifdef __cplusplus
63124 extern "C"
63126 #endif
63127 /* We use char because int might match the return type of a gcc2
63128 builtin and then its argument prototype would still apply. */
63129 char $ac_func ();
63130 /* The GNU C library defines this for functions which it implements
63131 to always fail with ENOSYS. Some functions are actually named
63132 something starting with __ and the normal name is an alias. */
63133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63134 choke me
63135 #else
63136 char (*f) () = $ac_func;
63137 #endif
63138 #ifdef __cplusplus
63140 #endif
63143 main ()
63145 return f != $ac_func;
63147 return 0;
63149 _ACEOF
63150 rm -f conftest.$ac_objext conftest$ac_exeext
63151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63152 (eval $ac_link) 2>conftest.er1
63153 ac_status=$?
63154 grep -v '^ *+' conftest.er1 >conftest.err
63155 rm -f conftest.er1
63156 cat conftest.err >&5
63157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63158 (exit $ac_status); } &&
63159 { ac_try='test -z "$ac_c_werror_flag"
63160 || test ! -s conftest.err'
63161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63162 (eval $ac_try) 2>&5
63163 ac_status=$?
63164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63165 (exit $ac_status); }; } &&
63166 { ac_try='test -s conftest$ac_exeext'
63167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63168 (eval $ac_try) 2>&5
63169 ac_status=$?
63170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63171 (exit $ac_status); }; }; then
63172 eval "$as_ac_var=yes"
63173 else
63174 echo "$as_me: failed program was:" >&5
63175 sed 's/^/| /' conftest.$ac_ext >&5
63177 eval "$as_ac_var=no"
63179 rm -f conftest.err conftest.$ac_objext \
63180 conftest$ac_exeext conftest.$ac_ext
63182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63184 if test `eval echo '${'$as_ac_var'}'` = yes; then
63185 cat >>confdefs.h <<_ACEOF
63186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63187 _ACEOF
63189 else
63190 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63192 done
63196 for ac_func in __signbitf
63198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63199 echo "$as_me:$LINENO: checking for $ac_func" >&5
63200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63201 if eval "test \"\${$as_ac_var+set}\" = set"; then
63202 echo $ECHO_N "(cached) $ECHO_C" >&6
63203 else
63204 if test x$gcc_no_link = xyes; then
63205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63207 { (exit 1); exit 1; }; }
63209 cat >conftest.$ac_ext <<_ACEOF
63210 /* confdefs.h. */
63211 _ACEOF
63212 cat confdefs.h >>conftest.$ac_ext
63213 cat >>conftest.$ac_ext <<_ACEOF
63214 /* end confdefs.h. */
63215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63217 #define $ac_func innocuous_$ac_func
63219 /* System header to define __stub macros and hopefully few prototypes,
63220 which can conflict with char $ac_func (); below.
63221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63222 <limits.h> exists even on freestanding compilers. */
63224 #ifdef __STDC__
63225 # include <limits.h>
63226 #else
63227 # include <assert.h>
63228 #endif
63230 #undef $ac_func
63232 /* Override any gcc2 internal prototype to avoid an error. */
63233 #ifdef __cplusplus
63234 extern "C"
63236 #endif
63237 /* We use char because int might match the return type of a gcc2
63238 builtin and then its argument prototype would still apply. */
63239 char $ac_func ();
63240 /* The GNU C library defines this for functions which it implements
63241 to always fail with ENOSYS. Some functions are actually named
63242 something starting with __ and the normal name is an alias. */
63243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63244 choke me
63245 #else
63246 char (*f) () = $ac_func;
63247 #endif
63248 #ifdef __cplusplus
63250 #endif
63253 main ()
63255 return f != $ac_func;
63257 return 0;
63259 _ACEOF
63260 rm -f conftest.$ac_objext conftest$ac_exeext
63261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63262 (eval $ac_link) 2>conftest.er1
63263 ac_status=$?
63264 grep -v '^ *+' conftest.er1 >conftest.err
63265 rm -f conftest.er1
63266 cat conftest.err >&5
63267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63268 (exit $ac_status); } &&
63269 { ac_try='test -z "$ac_c_werror_flag"
63270 || test ! -s conftest.err'
63271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63272 (eval $ac_try) 2>&5
63273 ac_status=$?
63274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275 (exit $ac_status); }; } &&
63276 { ac_try='test -s conftest$ac_exeext'
63277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63278 (eval $ac_try) 2>&5
63279 ac_status=$?
63280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63281 (exit $ac_status); }; }; then
63282 eval "$as_ac_var=yes"
63283 else
63284 echo "$as_me: failed program was:" >&5
63285 sed 's/^/| /' conftest.$ac_ext >&5
63287 eval "$as_ac_var=no"
63289 rm -f conftest.err conftest.$ac_objext \
63290 conftest$ac_exeext conftest.$ac_ext
63292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63294 if test `eval echo '${'$as_ac_var'}'` = yes; then
63295 cat >>confdefs.h <<_ACEOF
63296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63297 _ACEOF
63299 else
63300 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63302 done
63305 if test x$ac_cv_func_copysignl = x"yes"; then
63307 for ac_func in __signbitl
63309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63310 echo "$as_me:$LINENO: checking for $ac_func" >&5
63311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63312 if eval "test \"\${$as_ac_var+set}\" = set"; then
63313 echo $ECHO_N "(cached) $ECHO_C" >&6
63314 else
63315 if test x$gcc_no_link = xyes; then
63316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63318 { (exit 1); exit 1; }; }
63320 cat >conftest.$ac_ext <<_ACEOF
63321 /* confdefs.h. */
63322 _ACEOF
63323 cat confdefs.h >>conftest.$ac_ext
63324 cat >>conftest.$ac_ext <<_ACEOF
63325 /* end confdefs.h. */
63326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63328 #define $ac_func innocuous_$ac_func
63330 /* System header to define __stub macros and hopefully few prototypes,
63331 which can conflict with char $ac_func (); below.
63332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63333 <limits.h> exists even on freestanding compilers. */
63335 #ifdef __STDC__
63336 # include <limits.h>
63337 #else
63338 # include <assert.h>
63339 #endif
63341 #undef $ac_func
63343 /* Override any gcc2 internal prototype to avoid an error. */
63344 #ifdef __cplusplus
63345 extern "C"
63347 #endif
63348 /* We use char because int might match the return type of a gcc2
63349 builtin and then its argument prototype would still apply. */
63350 char $ac_func ();
63351 /* The GNU C library defines this for functions which it implements
63352 to always fail with ENOSYS. Some functions are actually named
63353 something starting with __ and the normal name is an alias. */
63354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63355 choke me
63356 #else
63357 char (*f) () = $ac_func;
63358 #endif
63359 #ifdef __cplusplus
63361 #endif
63364 main ()
63366 return f != $ac_func;
63368 return 0;
63370 _ACEOF
63371 rm -f conftest.$ac_objext conftest$ac_exeext
63372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63373 (eval $ac_link) 2>conftest.er1
63374 ac_status=$?
63375 grep -v '^ *+' conftest.er1 >conftest.err
63376 rm -f conftest.er1
63377 cat conftest.err >&5
63378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63379 (exit $ac_status); } &&
63380 { ac_try='test -z "$ac_c_werror_flag"
63381 || test ! -s conftest.err'
63382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63383 (eval $ac_try) 2>&5
63384 ac_status=$?
63385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63386 (exit $ac_status); }; } &&
63387 { ac_try='test -s conftest$ac_exeext'
63388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63389 (eval $ac_try) 2>&5
63390 ac_status=$?
63391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63392 (exit $ac_status); }; }; then
63393 eval "$as_ac_var=yes"
63394 else
63395 echo "$as_me: failed program was:" >&5
63396 sed 's/^/| /' conftest.$ac_ext >&5
63398 eval "$as_ac_var=no"
63400 rm -f conftest.err conftest.$ac_objext \
63401 conftest$ac_exeext conftest.$ac_ext
63403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63405 if test `eval echo '${'$as_ac_var'}'` = yes; then
63406 cat >>confdefs.h <<_ACEOF
63407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63408 _ACEOF
63410 else
63411 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63413 done
63417 # Used in libmath/Makefile.am.
63418 if test -n "$LIBMATHOBJS"; then
63419 need_libmath=yes
63424 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63425 ac_save_CXXFLAGS="$CXXFLAGS"
63426 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63429 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63430 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63431 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63432 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63433 echo $ECHO_N "(cached) $ECHO_C" >&6
63434 else
63438 ac_ext=cc
63439 ac_cpp='$CXXCPP $CPPFLAGS'
63440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63444 cat >conftest.$ac_ext <<_ACEOF
63445 /* confdefs.h. */
63446 _ACEOF
63447 cat confdefs.h >>conftest.$ac_ext
63448 cat >>conftest.$ac_ext <<_ACEOF
63449 /* end confdefs.h. */
63450 #include <stdlib.h>
63452 main ()
63454 strtold(0, 0);
63456 return 0;
63458 _ACEOF
63459 rm -f conftest.$ac_objext
63460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63461 (eval $ac_compile) 2>conftest.er1
63462 ac_status=$?
63463 grep -v '^ *+' conftest.er1 >conftest.err
63464 rm -f conftest.er1
63465 cat conftest.err >&5
63466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63467 (exit $ac_status); } &&
63468 { ac_try='test -z "$ac_cxx_werror_flag"
63469 || test ! -s conftest.err'
63470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63471 (eval $ac_try) 2>&5
63472 ac_status=$?
63473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63474 (exit $ac_status); }; } &&
63475 { ac_try='test -s conftest.$ac_objext'
63476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63477 (eval $ac_try) 2>&5
63478 ac_status=$?
63479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63480 (exit $ac_status); }; }; then
63481 glibcxx_cv_func_strtold_use=yes
63482 else
63483 echo "$as_me: failed program was:" >&5
63484 sed 's/^/| /' conftest.$ac_ext >&5
63486 glibcxx_cv_func_strtold_use=no
63488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63489 ac_ext=c
63490 ac_cpp='$CPP $CPPFLAGS'
63491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63500 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63501 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63503 for ac_func in strtold
63505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63506 echo "$as_me:$LINENO: checking for $ac_func" >&5
63507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63508 if eval "test \"\${$as_ac_var+set}\" = set"; then
63509 echo $ECHO_N "(cached) $ECHO_C" >&6
63510 else
63511 if test x$gcc_no_link = xyes; then
63512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63514 { (exit 1); exit 1; }; }
63516 cat >conftest.$ac_ext <<_ACEOF
63517 /* confdefs.h. */
63518 _ACEOF
63519 cat confdefs.h >>conftest.$ac_ext
63520 cat >>conftest.$ac_ext <<_ACEOF
63521 /* end confdefs.h. */
63522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63524 #define $ac_func innocuous_$ac_func
63526 /* System header to define __stub macros and hopefully few prototypes,
63527 which can conflict with char $ac_func (); below.
63528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63529 <limits.h> exists even on freestanding compilers. */
63531 #ifdef __STDC__
63532 # include <limits.h>
63533 #else
63534 # include <assert.h>
63535 #endif
63537 #undef $ac_func
63539 /* Override any gcc2 internal prototype to avoid an error. */
63540 #ifdef __cplusplus
63541 extern "C"
63543 #endif
63544 /* We use char because int might match the return type of a gcc2
63545 builtin and then its argument prototype would still apply. */
63546 char $ac_func ();
63547 /* The GNU C library defines this for functions which it implements
63548 to always fail with ENOSYS. Some functions are actually named
63549 something starting with __ and the normal name is an alias. */
63550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63551 choke me
63552 #else
63553 char (*f) () = $ac_func;
63554 #endif
63555 #ifdef __cplusplus
63557 #endif
63560 main ()
63562 return f != $ac_func;
63564 return 0;
63566 _ACEOF
63567 rm -f conftest.$ac_objext conftest$ac_exeext
63568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63569 (eval $ac_link) 2>conftest.er1
63570 ac_status=$?
63571 grep -v '^ *+' conftest.er1 >conftest.err
63572 rm -f conftest.er1
63573 cat conftest.err >&5
63574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63575 (exit $ac_status); } &&
63576 { ac_try='test -z "$ac_c_werror_flag"
63577 || test ! -s conftest.err'
63578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63579 (eval $ac_try) 2>&5
63580 ac_status=$?
63581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63582 (exit $ac_status); }; } &&
63583 { ac_try='test -s conftest$ac_exeext'
63584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63585 (eval $ac_try) 2>&5
63586 ac_status=$?
63587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63588 (exit $ac_status); }; }; then
63589 eval "$as_ac_var=yes"
63590 else
63591 echo "$as_me: failed program was:" >&5
63592 sed 's/^/| /' conftest.$ac_ext >&5
63594 eval "$as_ac_var=no"
63596 rm -f conftest.err conftest.$ac_objext \
63597 conftest$ac_exeext conftest.$ac_ext
63599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63601 if test `eval echo '${'$as_ac_var'}'` = yes; then
63602 cat >>confdefs.h <<_ACEOF
63603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63604 _ACEOF
63607 done
63615 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63616 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63617 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63618 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63619 echo $ECHO_N "(cached) $ECHO_C" >&6
63620 else
63624 ac_ext=cc
63625 ac_cpp='$CXXCPP $CPPFLAGS'
63626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63630 cat >conftest.$ac_ext <<_ACEOF
63631 /* confdefs.h. */
63632 _ACEOF
63633 cat confdefs.h >>conftest.$ac_ext
63634 cat >>conftest.$ac_ext <<_ACEOF
63635 /* end confdefs.h. */
63636 #include <stdlib.h>
63638 main ()
63640 strtof(0, 0);
63642 return 0;
63644 _ACEOF
63645 rm -f conftest.$ac_objext
63646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63647 (eval $ac_compile) 2>conftest.er1
63648 ac_status=$?
63649 grep -v '^ *+' conftest.er1 >conftest.err
63650 rm -f conftest.er1
63651 cat conftest.err >&5
63652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63653 (exit $ac_status); } &&
63654 { ac_try='test -z "$ac_cxx_werror_flag"
63655 || test ! -s conftest.err'
63656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63657 (eval $ac_try) 2>&5
63658 ac_status=$?
63659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63660 (exit $ac_status); }; } &&
63661 { ac_try='test -s conftest.$ac_objext'
63662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63663 (eval $ac_try) 2>&5
63664 ac_status=$?
63665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63666 (exit $ac_status); }; }; then
63667 glibcxx_cv_func_strtof_use=yes
63668 else
63669 echo "$as_me: failed program was:" >&5
63670 sed 's/^/| /' conftest.$ac_ext >&5
63672 glibcxx_cv_func_strtof_use=no
63674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63686 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63687 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63689 for ac_func in strtof
63691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63692 echo "$as_me:$LINENO: checking for $ac_func" >&5
63693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63694 if eval "test \"\${$as_ac_var+set}\" = set"; then
63695 echo $ECHO_N "(cached) $ECHO_C" >&6
63696 else
63697 if test x$gcc_no_link = xyes; then
63698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63700 { (exit 1); exit 1; }; }
63702 cat >conftest.$ac_ext <<_ACEOF
63703 /* confdefs.h. */
63704 _ACEOF
63705 cat confdefs.h >>conftest.$ac_ext
63706 cat >>conftest.$ac_ext <<_ACEOF
63707 /* end confdefs.h. */
63708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63710 #define $ac_func innocuous_$ac_func
63712 /* System header to define __stub macros and hopefully few prototypes,
63713 which can conflict with char $ac_func (); below.
63714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63715 <limits.h> exists even on freestanding compilers. */
63717 #ifdef __STDC__
63718 # include <limits.h>
63719 #else
63720 # include <assert.h>
63721 #endif
63723 #undef $ac_func
63725 /* Override any gcc2 internal prototype to avoid an error. */
63726 #ifdef __cplusplus
63727 extern "C"
63729 #endif
63730 /* We use char because int might match the return type of a gcc2
63731 builtin and then its argument prototype would still apply. */
63732 char $ac_func ();
63733 /* The GNU C library defines this for functions which it implements
63734 to always fail with ENOSYS. Some functions are actually named
63735 something starting with __ and the normal name is an alias. */
63736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63737 choke me
63738 #else
63739 char (*f) () = $ac_func;
63740 #endif
63741 #ifdef __cplusplus
63743 #endif
63746 main ()
63748 return f != $ac_func;
63750 return 0;
63752 _ACEOF
63753 rm -f conftest.$ac_objext conftest$ac_exeext
63754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63755 (eval $ac_link) 2>conftest.er1
63756 ac_status=$?
63757 grep -v '^ *+' conftest.er1 >conftest.err
63758 rm -f conftest.er1
63759 cat conftest.err >&5
63760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63761 (exit $ac_status); } &&
63762 { ac_try='test -z "$ac_c_werror_flag"
63763 || test ! -s conftest.err'
63764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63765 (eval $ac_try) 2>&5
63766 ac_status=$?
63767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63768 (exit $ac_status); }; } &&
63769 { ac_try='test -s conftest$ac_exeext'
63770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63771 (eval $ac_try) 2>&5
63772 ac_status=$?
63773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63774 (exit $ac_status); }; }; then
63775 eval "$as_ac_var=yes"
63776 else
63777 echo "$as_me: failed program was:" >&5
63778 sed 's/^/| /' conftest.$ac_ext >&5
63780 eval "$as_ac_var=no"
63782 rm -f conftest.err conftest.$ac_objext \
63783 conftest$ac_exeext conftest.$ac_ext
63785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63787 if test `eval echo '${'$as_ac_var'}'` = yes; then
63788 cat >>confdefs.h <<_ACEOF
63789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63790 _ACEOF
63793 done
63801 CXXFLAGS="$ac_save_CXXFLAGS"
63804 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63805 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63806 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63807 echo $ECHO_N "(cached) $ECHO_C" >&6
63808 else
63810 if test x$gcc_no_link = xyes; then
63811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63813 { (exit 1); exit 1; }; }
63815 cat >conftest.$ac_ext <<_ACEOF
63816 /* confdefs.h. */
63817 _ACEOF
63818 cat confdefs.h >>conftest.$ac_ext
63819 cat >>conftest.$ac_ext <<_ACEOF
63820 /* end confdefs.h. */
63821 #include <sys/stat.h>
63823 main ()
63825 struct stat buffer;
63826 fstat(0, &buffer);
63827 S_ISREG(buffer.st_mode);
63829 return 0;
63831 _ACEOF
63832 rm -f conftest.$ac_objext conftest$ac_exeext
63833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63834 (eval $ac_link) 2>conftest.er1
63835 ac_status=$?
63836 grep -v '^ *+' conftest.er1 >conftest.err
63837 rm -f conftest.er1
63838 cat conftest.err >&5
63839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840 (exit $ac_status); } &&
63841 { ac_try='test -z "$ac_c_werror_flag"
63842 || test ! -s conftest.err'
63843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63844 (eval $ac_try) 2>&5
63845 ac_status=$?
63846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63847 (exit $ac_status); }; } &&
63848 { ac_try='test -s conftest$ac_exeext'
63849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63850 (eval $ac_try) 2>&5
63851 ac_status=$?
63852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63853 (exit $ac_status); }; }; then
63854 glibcxx_cv_S_ISREG=yes
63855 else
63856 echo "$as_me: failed program was:" >&5
63857 sed 's/^/| /' conftest.$ac_ext >&5
63859 glibcxx_cv_S_ISREG=no
63861 rm -f conftest.err conftest.$ac_objext \
63862 conftest$ac_exeext conftest.$ac_ext
63866 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63867 echo $ECHO_N "(cached) $ECHO_C" >&6
63868 else
63870 if test x$gcc_no_link = xyes; then
63871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63873 { (exit 1); exit 1; }; }
63875 cat >conftest.$ac_ext <<_ACEOF
63876 /* confdefs.h. */
63877 _ACEOF
63878 cat confdefs.h >>conftest.$ac_ext
63879 cat >>conftest.$ac_ext <<_ACEOF
63880 /* end confdefs.h. */
63881 #include <sys/stat.h>
63883 main ()
63885 struct stat buffer;
63886 fstat(0, &buffer);
63887 S_IFREG & buffer.st_mode;
63889 return 0;
63891 _ACEOF
63892 rm -f conftest.$ac_objext conftest$ac_exeext
63893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63894 (eval $ac_link) 2>conftest.er1
63895 ac_status=$?
63896 grep -v '^ *+' conftest.er1 >conftest.err
63897 rm -f conftest.er1
63898 cat conftest.err >&5
63899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63900 (exit $ac_status); } &&
63901 { ac_try='test -z "$ac_c_werror_flag"
63902 || test ! -s conftest.err'
63903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63904 (eval $ac_try) 2>&5
63905 ac_status=$?
63906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63907 (exit $ac_status); }; } &&
63908 { ac_try='test -s conftest$ac_exeext'
63909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63910 (eval $ac_try) 2>&5
63911 ac_status=$?
63912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63913 (exit $ac_status); }; }; then
63914 glibcxx_cv_S_IFREG=yes
63915 else
63916 echo "$as_me: failed program was:" >&5
63917 sed 's/^/| /' conftest.$ac_ext >&5
63919 glibcxx_cv_S_IFREG=no
63921 rm -f conftest.err conftest.$ac_objext \
63922 conftest$ac_exeext conftest.$ac_ext
63926 res=no
63927 if test $glibcxx_cv_S_ISREG = yes; then
63929 cat >>confdefs.h <<\_ACEOF
63930 #define HAVE_S_ISREG 1
63931 _ACEOF
63933 res=S_ISREG
63934 elif test $glibcxx_cv_S_IFREG = yes; then
63936 cat >>confdefs.h <<\_ACEOF
63937 #define HAVE_S_IFREG 1
63938 _ACEOF
63940 res=S_IFREG
63942 echo "$as_me:$LINENO: result: $res" >&5
63943 echo "${ECHO_T}$res" >&6
63945 cat >>confdefs.h <<\_ACEOF
63946 #define HAVE_SIGSETJMP 1
63947 _ACEOF
63949 cat >>confdefs.h <<\_ACEOF
63950 #define HAVE_GETPAGESIZE 1
63951 _ACEOF
63953 cat >>confdefs.h <<\_ACEOF
63954 #define HAVE_WRITEV 1
63955 _ACEOF
63957 cat >>confdefs.h <<\_ACEOF
63958 #define HAVE_INT64_T 1
63959 _ACEOF
63962 cat >>confdefs.h <<\_ACEOF
63963 #define HAVE_LIBM 1
63964 _ACEOF
63966 cat >>confdefs.h <<\_ACEOF
63967 #define HAVE_COPYSIGN 1
63968 _ACEOF
63970 cat >>confdefs.h <<\_ACEOF
63971 #define HAVE_FINITE 1
63972 _ACEOF
63974 cat >>confdefs.h <<\_ACEOF
63975 #define HAVE_HYPOT 1
63976 _ACEOF
63978 cat >>confdefs.h <<\_ACEOF
63979 #define HAVE_ISNAN 1
63980 _ACEOF
63982 cat >>confdefs.h <<\_ACEOF
63983 #define HAVE_ISINF 1
63984 _ACEOF
63987 cat >>confdefs.h <<\_ACEOF
63988 #define HAVE_LDEXPF 1
63989 _ACEOF
63991 cat >>confdefs.h <<\_ACEOF
63992 #define HAVE_MODF 1
63993 _ACEOF
63995 cat >>confdefs.h <<\_ACEOF
63996 #define HAVE_SQRTF 1
63997 _ACEOF
64001 *-darwin*)
64002 # Darwin versions vary, but the linker should work in a cross environment,
64003 # so we just check for all the features here.
64004 # Check for available headers.
64017 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64018 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64019 sys/types.h
64021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64023 echo "$as_me:$LINENO: checking for $ac_header" >&5
64024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64026 echo $ECHO_N "(cached) $ECHO_C" >&6
64028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64030 else
64031 # Is the header compilable?
64032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64034 cat >conftest.$ac_ext <<_ACEOF
64035 /* confdefs.h. */
64036 _ACEOF
64037 cat confdefs.h >>conftest.$ac_ext
64038 cat >>conftest.$ac_ext <<_ACEOF
64039 /* end confdefs.h. */
64040 $ac_includes_default
64041 #include <$ac_header>
64042 _ACEOF
64043 rm -f conftest.$ac_objext
64044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64045 (eval $ac_compile) 2>conftest.er1
64046 ac_status=$?
64047 grep -v '^ *+' conftest.er1 >conftest.err
64048 rm -f conftest.er1
64049 cat conftest.err >&5
64050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64051 (exit $ac_status); } &&
64052 { ac_try='test -z "$ac_c_werror_flag"
64053 || test ! -s conftest.err'
64054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64055 (eval $ac_try) 2>&5
64056 ac_status=$?
64057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64058 (exit $ac_status); }; } &&
64059 { ac_try='test -s conftest.$ac_objext'
64060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64061 (eval $ac_try) 2>&5
64062 ac_status=$?
64063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64064 (exit $ac_status); }; }; then
64065 ac_header_compiler=yes
64066 else
64067 echo "$as_me: failed program was:" >&5
64068 sed 's/^/| /' conftest.$ac_ext >&5
64070 ac_header_compiler=no
64072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64074 echo "${ECHO_T}$ac_header_compiler" >&6
64076 # Is the header present?
64077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64079 cat >conftest.$ac_ext <<_ACEOF
64080 /* confdefs.h. */
64081 _ACEOF
64082 cat confdefs.h >>conftest.$ac_ext
64083 cat >>conftest.$ac_ext <<_ACEOF
64084 /* end confdefs.h. */
64085 #include <$ac_header>
64086 _ACEOF
64087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64089 ac_status=$?
64090 grep -v '^ *+' conftest.er1 >conftest.err
64091 rm -f conftest.er1
64092 cat conftest.err >&5
64093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64094 (exit $ac_status); } >/dev/null; then
64095 if test -s conftest.err; then
64096 ac_cpp_err=$ac_c_preproc_warn_flag
64097 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64098 else
64099 ac_cpp_err=
64101 else
64102 ac_cpp_err=yes
64104 if test -z "$ac_cpp_err"; then
64105 ac_header_preproc=yes
64106 else
64107 echo "$as_me: failed program was:" >&5
64108 sed 's/^/| /' conftest.$ac_ext >&5
64110 ac_header_preproc=no
64112 rm -f conftest.err conftest.$ac_ext
64113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64114 echo "${ECHO_T}$ac_header_preproc" >&6
64116 # So? What about this header?
64117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64118 yes:no: )
64119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64123 ac_header_preproc=yes
64125 no:yes:* )
64126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64139 cat <<\_ASBOX
64140 ## ----------------------------------------- ##
64141 ## Report this to the package-unused lists. ##
64142 ## ----------------------------------------- ##
64143 _ASBOX
64145 sed "s/^/$as_me: WARNING: /" >&2
64147 esac
64148 echo "$as_me:$LINENO: checking for $ac_header" >&5
64149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64151 echo $ECHO_N "(cached) $ECHO_C" >&6
64152 else
64153 eval "$as_ac_Header=\$ac_header_preproc"
64155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64160 cat >>confdefs.h <<_ACEOF
64161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64162 _ACEOF
64166 done
64169 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64172 ac_save_CXXFLAGS="$CXXFLAGS"
64173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64175 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64176 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64177 if test "${ac_cv_lib_m_sin+set}" = set; then
64178 echo $ECHO_N "(cached) $ECHO_C" >&6
64179 else
64180 ac_check_lib_save_LIBS=$LIBS
64181 LIBS="-lm $LIBS"
64182 if test x$gcc_no_link = xyes; then
64183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64185 { (exit 1); exit 1; }; }
64187 cat >conftest.$ac_ext <<_ACEOF
64188 /* confdefs.h. */
64189 _ACEOF
64190 cat confdefs.h >>conftest.$ac_ext
64191 cat >>conftest.$ac_ext <<_ACEOF
64192 /* end confdefs.h. */
64194 /* Override any gcc2 internal prototype to avoid an error. */
64195 #ifdef __cplusplus
64196 extern "C"
64197 #endif
64198 /* We use char because int might match the return type of a gcc2
64199 builtin and then its argument prototype would still apply. */
64200 char sin ();
64202 main ()
64204 sin ();
64206 return 0;
64208 _ACEOF
64209 rm -f conftest.$ac_objext conftest$ac_exeext
64210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64211 (eval $ac_link) 2>conftest.er1
64212 ac_status=$?
64213 grep -v '^ *+' conftest.er1 >conftest.err
64214 rm -f conftest.er1
64215 cat conftest.err >&5
64216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64217 (exit $ac_status); } &&
64218 { ac_try='test -z "$ac_c_werror_flag"
64219 || test ! -s conftest.err'
64220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64221 (eval $ac_try) 2>&5
64222 ac_status=$?
64223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64224 (exit $ac_status); }; } &&
64225 { ac_try='test -s conftest$ac_exeext'
64226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64227 (eval $ac_try) 2>&5
64228 ac_status=$?
64229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64230 (exit $ac_status); }; }; then
64231 ac_cv_lib_m_sin=yes
64232 else
64233 echo "$as_me: failed program was:" >&5
64234 sed 's/^/| /' conftest.$ac_ext >&5
64236 ac_cv_lib_m_sin=no
64238 rm -f conftest.err conftest.$ac_objext \
64239 conftest$ac_exeext conftest.$ac_ext
64240 LIBS=$ac_check_lib_save_LIBS
64242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64243 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64244 if test $ac_cv_lib_m_sin = yes; then
64245 libm="-lm"
64248 ac_save_LIBS="$LIBS"
64249 LIBS="$LIBS $libm"
64253 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64254 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64255 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64256 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64257 echo $ECHO_N "(cached) $ECHO_C" >&6
64258 else
64262 ac_ext=cc
64263 ac_cpp='$CXXCPP $CPPFLAGS'
64264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64268 cat >conftest.$ac_ext <<_ACEOF
64269 /* confdefs.h. */
64270 _ACEOF
64271 cat confdefs.h >>conftest.$ac_ext
64272 cat >>conftest.$ac_ext <<_ACEOF
64273 /* end confdefs.h. */
64274 #include <math.h>
64275 #ifdef HAVE_IEEEFP_H
64276 #include <ieeefp.h>
64277 #endif
64280 main ()
64282 isinf(0);
64284 return 0;
64286 _ACEOF
64287 rm -f conftest.$ac_objext
64288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64289 (eval $ac_compile) 2>conftest.er1
64290 ac_status=$?
64291 grep -v '^ *+' conftest.er1 >conftest.err
64292 rm -f conftest.er1
64293 cat conftest.err >&5
64294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64295 (exit $ac_status); } &&
64296 { ac_try='test -z "$ac_cxx_werror_flag"
64297 || test ! -s conftest.err'
64298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64299 (eval $ac_try) 2>&5
64300 ac_status=$?
64301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302 (exit $ac_status); }; } &&
64303 { ac_try='test -s conftest.$ac_objext'
64304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305 (eval $ac_try) 2>&5
64306 ac_status=$?
64307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308 (exit $ac_status); }; }; then
64309 glibcxx_cv_func_isinf_use=yes
64310 else
64311 echo "$as_me: failed program was:" >&5
64312 sed 's/^/| /' conftest.$ac_ext >&5
64314 glibcxx_cv_func_isinf_use=no
64316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64317 ac_ext=c
64318 ac_cpp='$CPP $CPPFLAGS'
64319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64328 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64330 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64332 for ac_func in isinf
64334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64335 echo "$as_me:$LINENO: checking for $ac_func" >&5
64336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64337 if eval "test \"\${$as_ac_var+set}\" = set"; then
64338 echo $ECHO_N "(cached) $ECHO_C" >&6
64339 else
64340 if test x$gcc_no_link = xyes; then
64341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64343 { (exit 1); exit 1; }; }
64345 cat >conftest.$ac_ext <<_ACEOF
64346 /* confdefs.h. */
64347 _ACEOF
64348 cat confdefs.h >>conftest.$ac_ext
64349 cat >>conftest.$ac_ext <<_ACEOF
64350 /* end confdefs.h. */
64351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64353 #define $ac_func innocuous_$ac_func
64355 /* System header to define __stub macros and hopefully few prototypes,
64356 which can conflict with char $ac_func (); below.
64357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64358 <limits.h> exists even on freestanding compilers. */
64360 #ifdef __STDC__
64361 # include <limits.h>
64362 #else
64363 # include <assert.h>
64364 #endif
64366 #undef $ac_func
64368 /* Override any gcc2 internal prototype to avoid an error. */
64369 #ifdef __cplusplus
64370 extern "C"
64372 #endif
64373 /* We use char because int might match the return type of a gcc2
64374 builtin and then its argument prototype would still apply. */
64375 char $ac_func ();
64376 /* The GNU C library defines this for functions which it implements
64377 to always fail with ENOSYS. Some functions are actually named
64378 something starting with __ and the normal name is an alias. */
64379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64380 choke me
64381 #else
64382 char (*f) () = $ac_func;
64383 #endif
64384 #ifdef __cplusplus
64386 #endif
64389 main ()
64391 return f != $ac_func;
64393 return 0;
64395 _ACEOF
64396 rm -f conftest.$ac_objext conftest$ac_exeext
64397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64398 (eval $ac_link) 2>conftest.er1
64399 ac_status=$?
64400 grep -v '^ *+' conftest.er1 >conftest.err
64401 rm -f conftest.er1
64402 cat conftest.err >&5
64403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64404 (exit $ac_status); } &&
64405 { ac_try='test -z "$ac_c_werror_flag"
64406 || test ! -s conftest.err'
64407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64408 (eval $ac_try) 2>&5
64409 ac_status=$?
64410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64411 (exit $ac_status); }; } &&
64412 { ac_try='test -s conftest$ac_exeext'
64413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414 (eval $ac_try) 2>&5
64415 ac_status=$?
64416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417 (exit $ac_status); }; }; then
64418 eval "$as_ac_var=yes"
64419 else
64420 echo "$as_me: failed program was:" >&5
64421 sed 's/^/| /' conftest.$ac_ext >&5
64423 eval "$as_ac_var=no"
64425 rm -f conftest.err conftest.$ac_objext \
64426 conftest$ac_exeext conftest.$ac_ext
64428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64430 if test `eval echo '${'$as_ac_var'}'` = yes; then
64431 cat >>confdefs.h <<_ACEOF
64432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64433 _ACEOF
64436 done
64438 else
64440 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64441 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64442 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64443 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64444 echo $ECHO_N "(cached) $ECHO_C" >&6
64445 else
64449 ac_ext=cc
64450 ac_cpp='$CXXCPP $CPPFLAGS'
64451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64455 cat >conftest.$ac_ext <<_ACEOF
64456 /* confdefs.h. */
64457 _ACEOF
64458 cat confdefs.h >>conftest.$ac_ext
64459 cat >>conftest.$ac_ext <<_ACEOF
64460 /* end confdefs.h. */
64461 #include <math.h>
64462 #ifdef HAVE_IEEEFP_H
64463 #include <ieeefp.h>
64464 #endif
64467 main ()
64469 _isinf(0);
64471 return 0;
64473 _ACEOF
64474 rm -f conftest.$ac_objext
64475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64476 (eval $ac_compile) 2>conftest.er1
64477 ac_status=$?
64478 grep -v '^ *+' conftest.er1 >conftest.err
64479 rm -f conftest.er1
64480 cat conftest.err >&5
64481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64482 (exit $ac_status); } &&
64483 { ac_try='test -z "$ac_cxx_werror_flag"
64484 || test ! -s conftest.err'
64485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64486 (eval $ac_try) 2>&5
64487 ac_status=$?
64488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64489 (exit $ac_status); }; } &&
64490 { ac_try='test -s conftest.$ac_objext'
64491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64492 (eval $ac_try) 2>&5
64493 ac_status=$?
64494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64495 (exit $ac_status); }; }; then
64496 glibcxx_cv_func__isinf_use=yes
64497 else
64498 echo "$as_me: failed program was:" >&5
64499 sed 's/^/| /' conftest.$ac_ext >&5
64501 glibcxx_cv_func__isinf_use=no
64503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64504 ac_ext=c
64505 ac_cpp='$CPP $CPPFLAGS'
64506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64515 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64517 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64519 for ac_func in _isinf
64521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64522 echo "$as_me:$LINENO: checking for $ac_func" >&5
64523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64524 if eval "test \"\${$as_ac_var+set}\" = set"; then
64525 echo $ECHO_N "(cached) $ECHO_C" >&6
64526 else
64527 if test x$gcc_no_link = xyes; then
64528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64530 { (exit 1); exit 1; }; }
64532 cat >conftest.$ac_ext <<_ACEOF
64533 /* confdefs.h. */
64534 _ACEOF
64535 cat confdefs.h >>conftest.$ac_ext
64536 cat >>conftest.$ac_ext <<_ACEOF
64537 /* end confdefs.h. */
64538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64540 #define $ac_func innocuous_$ac_func
64542 /* System header to define __stub macros and hopefully few prototypes,
64543 which can conflict with char $ac_func (); below.
64544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64545 <limits.h> exists even on freestanding compilers. */
64547 #ifdef __STDC__
64548 # include <limits.h>
64549 #else
64550 # include <assert.h>
64551 #endif
64553 #undef $ac_func
64555 /* Override any gcc2 internal prototype to avoid an error. */
64556 #ifdef __cplusplus
64557 extern "C"
64559 #endif
64560 /* We use char because int might match the return type of a gcc2
64561 builtin and then its argument prototype would still apply. */
64562 char $ac_func ();
64563 /* The GNU C library defines this for functions which it implements
64564 to always fail with ENOSYS. Some functions are actually named
64565 something starting with __ and the normal name is an alias. */
64566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64567 choke me
64568 #else
64569 char (*f) () = $ac_func;
64570 #endif
64571 #ifdef __cplusplus
64573 #endif
64576 main ()
64578 return f != $ac_func;
64580 return 0;
64582 _ACEOF
64583 rm -f conftest.$ac_objext conftest$ac_exeext
64584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64585 (eval $ac_link) 2>conftest.er1
64586 ac_status=$?
64587 grep -v '^ *+' conftest.er1 >conftest.err
64588 rm -f conftest.er1
64589 cat conftest.err >&5
64590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64591 (exit $ac_status); } &&
64592 { ac_try='test -z "$ac_c_werror_flag"
64593 || test ! -s conftest.err'
64594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64595 (eval $ac_try) 2>&5
64596 ac_status=$?
64597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64598 (exit $ac_status); }; } &&
64599 { ac_try='test -s conftest$ac_exeext'
64600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64601 (eval $ac_try) 2>&5
64602 ac_status=$?
64603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64604 (exit $ac_status); }; }; then
64605 eval "$as_ac_var=yes"
64606 else
64607 echo "$as_me: failed program was:" >&5
64608 sed 's/^/| /' conftest.$ac_ext >&5
64610 eval "$as_ac_var=no"
64612 rm -f conftest.err conftest.$ac_objext \
64613 conftest$ac_exeext conftest.$ac_ext
64615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64617 if test `eval echo '${'$as_ac_var'}'` = yes; then
64618 cat >>confdefs.h <<_ACEOF
64619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64620 _ACEOF
64623 done
64633 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64634 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64635 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64636 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64637 echo $ECHO_N "(cached) $ECHO_C" >&6
64638 else
64642 ac_ext=cc
64643 ac_cpp='$CXXCPP $CPPFLAGS'
64644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64648 cat >conftest.$ac_ext <<_ACEOF
64649 /* confdefs.h. */
64650 _ACEOF
64651 cat confdefs.h >>conftest.$ac_ext
64652 cat >>conftest.$ac_ext <<_ACEOF
64653 /* end confdefs.h. */
64654 #include <math.h>
64655 #ifdef HAVE_IEEEFP_H
64656 #include <ieeefp.h>
64657 #endif
64660 main ()
64662 isnan(0);
64664 return 0;
64666 _ACEOF
64667 rm -f conftest.$ac_objext
64668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64669 (eval $ac_compile) 2>conftest.er1
64670 ac_status=$?
64671 grep -v '^ *+' conftest.er1 >conftest.err
64672 rm -f conftest.er1
64673 cat conftest.err >&5
64674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64675 (exit $ac_status); } &&
64676 { ac_try='test -z "$ac_cxx_werror_flag"
64677 || test ! -s conftest.err'
64678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64679 (eval $ac_try) 2>&5
64680 ac_status=$?
64681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64682 (exit $ac_status); }; } &&
64683 { ac_try='test -s conftest.$ac_objext'
64684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64685 (eval $ac_try) 2>&5
64686 ac_status=$?
64687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64688 (exit $ac_status); }; }; then
64689 glibcxx_cv_func_isnan_use=yes
64690 else
64691 echo "$as_me: failed program was:" >&5
64692 sed 's/^/| /' conftest.$ac_ext >&5
64694 glibcxx_cv_func_isnan_use=no
64696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64697 ac_ext=c
64698 ac_cpp='$CPP $CPPFLAGS'
64699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64708 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64710 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64712 for ac_func in isnan
64714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64715 echo "$as_me:$LINENO: checking for $ac_func" >&5
64716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64717 if eval "test \"\${$as_ac_var+set}\" = set"; then
64718 echo $ECHO_N "(cached) $ECHO_C" >&6
64719 else
64720 if test x$gcc_no_link = xyes; then
64721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64723 { (exit 1); exit 1; }; }
64725 cat >conftest.$ac_ext <<_ACEOF
64726 /* confdefs.h. */
64727 _ACEOF
64728 cat confdefs.h >>conftest.$ac_ext
64729 cat >>conftest.$ac_ext <<_ACEOF
64730 /* end confdefs.h. */
64731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64733 #define $ac_func innocuous_$ac_func
64735 /* System header to define __stub macros and hopefully few prototypes,
64736 which can conflict with char $ac_func (); below.
64737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64738 <limits.h> exists even on freestanding compilers. */
64740 #ifdef __STDC__
64741 # include <limits.h>
64742 #else
64743 # include <assert.h>
64744 #endif
64746 #undef $ac_func
64748 /* Override any gcc2 internal prototype to avoid an error. */
64749 #ifdef __cplusplus
64750 extern "C"
64752 #endif
64753 /* We use char because int might match the return type of a gcc2
64754 builtin and then its argument prototype would still apply. */
64755 char $ac_func ();
64756 /* The GNU C library defines this for functions which it implements
64757 to always fail with ENOSYS. Some functions are actually named
64758 something starting with __ and the normal name is an alias. */
64759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64760 choke me
64761 #else
64762 char (*f) () = $ac_func;
64763 #endif
64764 #ifdef __cplusplus
64766 #endif
64769 main ()
64771 return f != $ac_func;
64773 return 0;
64775 _ACEOF
64776 rm -f conftest.$ac_objext conftest$ac_exeext
64777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64778 (eval $ac_link) 2>conftest.er1
64779 ac_status=$?
64780 grep -v '^ *+' conftest.er1 >conftest.err
64781 rm -f conftest.er1
64782 cat conftest.err >&5
64783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64784 (exit $ac_status); } &&
64785 { ac_try='test -z "$ac_c_werror_flag"
64786 || test ! -s conftest.err'
64787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64788 (eval $ac_try) 2>&5
64789 ac_status=$?
64790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64791 (exit $ac_status); }; } &&
64792 { ac_try='test -s conftest$ac_exeext'
64793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64794 (eval $ac_try) 2>&5
64795 ac_status=$?
64796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797 (exit $ac_status); }; }; then
64798 eval "$as_ac_var=yes"
64799 else
64800 echo "$as_me: failed program was:" >&5
64801 sed 's/^/| /' conftest.$ac_ext >&5
64803 eval "$as_ac_var=no"
64805 rm -f conftest.err conftest.$ac_objext \
64806 conftest$ac_exeext conftest.$ac_ext
64808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64810 if test `eval echo '${'$as_ac_var'}'` = yes; then
64811 cat >>confdefs.h <<_ACEOF
64812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64813 _ACEOF
64816 done
64818 else
64820 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64821 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64822 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64823 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64824 echo $ECHO_N "(cached) $ECHO_C" >&6
64825 else
64829 ac_ext=cc
64830 ac_cpp='$CXXCPP $CPPFLAGS'
64831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64835 cat >conftest.$ac_ext <<_ACEOF
64836 /* confdefs.h. */
64837 _ACEOF
64838 cat confdefs.h >>conftest.$ac_ext
64839 cat >>conftest.$ac_ext <<_ACEOF
64840 /* end confdefs.h. */
64841 #include <math.h>
64842 #ifdef HAVE_IEEEFP_H
64843 #include <ieeefp.h>
64844 #endif
64847 main ()
64849 _isnan(0);
64851 return 0;
64853 _ACEOF
64854 rm -f conftest.$ac_objext
64855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64856 (eval $ac_compile) 2>conftest.er1
64857 ac_status=$?
64858 grep -v '^ *+' conftest.er1 >conftest.err
64859 rm -f conftest.er1
64860 cat conftest.err >&5
64861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64862 (exit $ac_status); } &&
64863 { ac_try='test -z "$ac_cxx_werror_flag"
64864 || test ! -s conftest.err'
64865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64866 (eval $ac_try) 2>&5
64867 ac_status=$?
64868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64869 (exit $ac_status); }; } &&
64870 { ac_try='test -s conftest.$ac_objext'
64871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64872 (eval $ac_try) 2>&5
64873 ac_status=$?
64874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64875 (exit $ac_status); }; }; then
64876 glibcxx_cv_func__isnan_use=yes
64877 else
64878 echo "$as_me: failed program was:" >&5
64879 sed 's/^/| /' conftest.$ac_ext >&5
64881 glibcxx_cv_func__isnan_use=no
64883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64884 ac_ext=c
64885 ac_cpp='$CPP $CPPFLAGS'
64886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64894 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64895 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64897 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64899 for ac_func in _isnan
64901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64902 echo "$as_me:$LINENO: checking for $ac_func" >&5
64903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64904 if eval "test \"\${$as_ac_var+set}\" = set"; then
64905 echo $ECHO_N "(cached) $ECHO_C" >&6
64906 else
64907 if test x$gcc_no_link = xyes; then
64908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64910 { (exit 1); exit 1; }; }
64912 cat >conftest.$ac_ext <<_ACEOF
64913 /* confdefs.h. */
64914 _ACEOF
64915 cat confdefs.h >>conftest.$ac_ext
64916 cat >>conftest.$ac_ext <<_ACEOF
64917 /* end confdefs.h. */
64918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64920 #define $ac_func innocuous_$ac_func
64922 /* System header to define __stub macros and hopefully few prototypes,
64923 which can conflict with char $ac_func (); below.
64924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64925 <limits.h> exists even on freestanding compilers. */
64927 #ifdef __STDC__
64928 # include <limits.h>
64929 #else
64930 # include <assert.h>
64931 #endif
64933 #undef $ac_func
64935 /* Override any gcc2 internal prototype to avoid an error. */
64936 #ifdef __cplusplus
64937 extern "C"
64939 #endif
64940 /* We use char because int might match the return type of a gcc2
64941 builtin and then its argument prototype would still apply. */
64942 char $ac_func ();
64943 /* The GNU C library defines this for functions which it implements
64944 to always fail with ENOSYS. Some functions are actually named
64945 something starting with __ and the normal name is an alias. */
64946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64947 choke me
64948 #else
64949 char (*f) () = $ac_func;
64950 #endif
64951 #ifdef __cplusplus
64953 #endif
64956 main ()
64958 return f != $ac_func;
64960 return 0;
64962 _ACEOF
64963 rm -f conftest.$ac_objext conftest$ac_exeext
64964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64965 (eval $ac_link) 2>conftest.er1
64966 ac_status=$?
64967 grep -v '^ *+' conftest.er1 >conftest.err
64968 rm -f conftest.er1
64969 cat conftest.err >&5
64970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64971 (exit $ac_status); } &&
64972 { ac_try='test -z "$ac_c_werror_flag"
64973 || test ! -s conftest.err'
64974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64975 (eval $ac_try) 2>&5
64976 ac_status=$?
64977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64978 (exit $ac_status); }; } &&
64979 { ac_try='test -s conftest$ac_exeext'
64980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64981 (eval $ac_try) 2>&5
64982 ac_status=$?
64983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64984 (exit $ac_status); }; }; then
64985 eval "$as_ac_var=yes"
64986 else
64987 echo "$as_me: failed program was:" >&5
64988 sed 's/^/| /' conftest.$ac_ext >&5
64990 eval "$as_ac_var=no"
64992 rm -f conftest.err conftest.$ac_objext \
64993 conftest$ac_exeext conftest.$ac_ext
64995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64997 if test `eval echo '${'$as_ac_var'}'` = yes; then
64998 cat >>confdefs.h <<_ACEOF
64999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65000 _ACEOF
65003 done
65013 echo "$as_me:$LINENO: checking for finite declaration" >&5
65014 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65015 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65016 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65017 echo $ECHO_N "(cached) $ECHO_C" >&6
65018 else
65022 ac_ext=cc
65023 ac_cpp='$CXXCPP $CPPFLAGS'
65024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65028 cat >conftest.$ac_ext <<_ACEOF
65029 /* confdefs.h. */
65030 _ACEOF
65031 cat confdefs.h >>conftest.$ac_ext
65032 cat >>conftest.$ac_ext <<_ACEOF
65033 /* end confdefs.h. */
65034 #include <math.h>
65035 #ifdef HAVE_IEEEFP_H
65036 #include <ieeefp.h>
65037 #endif
65040 main ()
65042 finite(0);
65044 return 0;
65046 _ACEOF
65047 rm -f conftest.$ac_objext
65048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65049 (eval $ac_compile) 2>conftest.er1
65050 ac_status=$?
65051 grep -v '^ *+' conftest.er1 >conftest.err
65052 rm -f conftest.er1
65053 cat conftest.err >&5
65054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65055 (exit $ac_status); } &&
65056 { ac_try='test -z "$ac_cxx_werror_flag"
65057 || test ! -s conftest.err'
65058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65059 (eval $ac_try) 2>&5
65060 ac_status=$?
65061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65062 (exit $ac_status); }; } &&
65063 { ac_try='test -s conftest.$ac_objext'
65064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65065 (eval $ac_try) 2>&5
65066 ac_status=$?
65067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65068 (exit $ac_status); }; }; then
65069 glibcxx_cv_func_finite_use=yes
65070 else
65071 echo "$as_me: failed program was:" >&5
65072 sed 's/^/| /' conftest.$ac_ext >&5
65074 glibcxx_cv_func_finite_use=no
65076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65077 ac_ext=c
65078 ac_cpp='$CPP $CPPFLAGS'
65079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65088 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65090 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65092 for ac_func in finite
65094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65095 echo "$as_me:$LINENO: checking for $ac_func" >&5
65096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65097 if eval "test \"\${$as_ac_var+set}\" = set"; then
65098 echo $ECHO_N "(cached) $ECHO_C" >&6
65099 else
65100 if test x$gcc_no_link = xyes; then
65101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65103 { (exit 1); exit 1; }; }
65105 cat >conftest.$ac_ext <<_ACEOF
65106 /* confdefs.h. */
65107 _ACEOF
65108 cat confdefs.h >>conftest.$ac_ext
65109 cat >>conftest.$ac_ext <<_ACEOF
65110 /* end confdefs.h. */
65111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65113 #define $ac_func innocuous_$ac_func
65115 /* System header to define __stub macros and hopefully few prototypes,
65116 which can conflict with char $ac_func (); below.
65117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65118 <limits.h> exists even on freestanding compilers. */
65120 #ifdef __STDC__
65121 # include <limits.h>
65122 #else
65123 # include <assert.h>
65124 #endif
65126 #undef $ac_func
65128 /* Override any gcc2 internal prototype to avoid an error. */
65129 #ifdef __cplusplus
65130 extern "C"
65132 #endif
65133 /* We use char because int might match the return type of a gcc2
65134 builtin and then its argument prototype would still apply. */
65135 char $ac_func ();
65136 /* The GNU C library defines this for functions which it implements
65137 to always fail with ENOSYS. Some functions are actually named
65138 something starting with __ and the normal name is an alias. */
65139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65140 choke me
65141 #else
65142 char (*f) () = $ac_func;
65143 #endif
65144 #ifdef __cplusplus
65146 #endif
65149 main ()
65151 return f != $ac_func;
65153 return 0;
65155 _ACEOF
65156 rm -f conftest.$ac_objext conftest$ac_exeext
65157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65158 (eval $ac_link) 2>conftest.er1
65159 ac_status=$?
65160 grep -v '^ *+' conftest.er1 >conftest.err
65161 rm -f conftest.er1
65162 cat conftest.err >&5
65163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65164 (exit $ac_status); } &&
65165 { ac_try='test -z "$ac_c_werror_flag"
65166 || test ! -s conftest.err'
65167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65168 (eval $ac_try) 2>&5
65169 ac_status=$?
65170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65171 (exit $ac_status); }; } &&
65172 { ac_try='test -s conftest$ac_exeext'
65173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65174 (eval $ac_try) 2>&5
65175 ac_status=$?
65176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65177 (exit $ac_status); }; }; then
65178 eval "$as_ac_var=yes"
65179 else
65180 echo "$as_me: failed program was:" >&5
65181 sed 's/^/| /' conftest.$ac_ext >&5
65183 eval "$as_ac_var=no"
65185 rm -f conftest.err conftest.$ac_objext \
65186 conftest$ac_exeext conftest.$ac_ext
65188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65190 if test `eval echo '${'$as_ac_var'}'` = yes; then
65191 cat >>confdefs.h <<_ACEOF
65192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65193 _ACEOF
65196 done
65198 else
65200 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65201 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65202 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65203 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65204 echo $ECHO_N "(cached) $ECHO_C" >&6
65205 else
65209 ac_ext=cc
65210 ac_cpp='$CXXCPP $CPPFLAGS'
65211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65215 cat >conftest.$ac_ext <<_ACEOF
65216 /* confdefs.h. */
65217 _ACEOF
65218 cat confdefs.h >>conftest.$ac_ext
65219 cat >>conftest.$ac_ext <<_ACEOF
65220 /* end confdefs.h. */
65221 #include <math.h>
65222 #ifdef HAVE_IEEEFP_H
65223 #include <ieeefp.h>
65224 #endif
65227 main ()
65229 _finite(0);
65231 return 0;
65233 _ACEOF
65234 rm -f conftest.$ac_objext
65235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65236 (eval $ac_compile) 2>conftest.er1
65237 ac_status=$?
65238 grep -v '^ *+' conftest.er1 >conftest.err
65239 rm -f conftest.er1
65240 cat conftest.err >&5
65241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65242 (exit $ac_status); } &&
65243 { ac_try='test -z "$ac_cxx_werror_flag"
65244 || test ! -s conftest.err'
65245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65246 (eval $ac_try) 2>&5
65247 ac_status=$?
65248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65249 (exit $ac_status); }; } &&
65250 { ac_try='test -s conftest.$ac_objext'
65251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65252 (eval $ac_try) 2>&5
65253 ac_status=$?
65254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65255 (exit $ac_status); }; }; then
65256 glibcxx_cv_func__finite_use=yes
65257 else
65258 echo "$as_me: failed program was:" >&5
65259 sed 's/^/| /' conftest.$ac_ext >&5
65261 glibcxx_cv_func__finite_use=no
65263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65264 ac_ext=c
65265 ac_cpp='$CPP $CPPFLAGS'
65266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65275 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65277 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65279 for ac_func in _finite
65281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65282 echo "$as_me:$LINENO: checking for $ac_func" >&5
65283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65284 if eval "test \"\${$as_ac_var+set}\" = set"; then
65285 echo $ECHO_N "(cached) $ECHO_C" >&6
65286 else
65287 if test x$gcc_no_link = xyes; then
65288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65290 { (exit 1); exit 1; }; }
65292 cat >conftest.$ac_ext <<_ACEOF
65293 /* confdefs.h. */
65294 _ACEOF
65295 cat confdefs.h >>conftest.$ac_ext
65296 cat >>conftest.$ac_ext <<_ACEOF
65297 /* end confdefs.h. */
65298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65300 #define $ac_func innocuous_$ac_func
65302 /* System header to define __stub macros and hopefully few prototypes,
65303 which can conflict with char $ac_func (); below.
65304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65305 <limits.h> exists even on freestanding compilers. */
65307 #ifdef __STDC__
65308 # include <limits.h>
65309 #else
65310 # include <assert.h>
65311 #endif
65313 #undef $ac_func
65315 /* Override any gcc2 internal prototype to avoid an error. */
65316 #ifdef __cplusplus
65317 extern "C"
65319 #endif
65320 /* We use char because int might match the return type of a gcc2
65321 builtin and then its argument prototype would still apply. */
65322 char $ac_func ();
65323 /* The GNU C library defines this for functions which it implements
65324 to always fail with ENOSYS. Some functions are actually named
65325 something starting with __ and the normal name is an alias. */
65326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65327 choke me
65328 #else
65329 char (*f) () = $ac_func;
65330 #endif
65331 #ifdef __cplusplus
65333 #endif
65336 main ()
65338 return f != $ac_func;
65340 return 0;
65342 _ACEOF
65343 rm -f conftest.$ac_objext conftest$ac_exeext
65344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65345 (eval $ac_link) 2>conftest.er1
65346 ac_status=$?
65347 grep -v '^ *+' conftest.er1 >conftest.err
65348 rm -f conftest.er1
65349 cat conftest.err >&5
65350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65351 (exit $ac_status); } &&
65352 { ac_try='test -z "$ac_c_werror_flag"
65353 || test ! -s conftest.err'
65354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65355 (eval $ac_try) 2>&5
65356 ac_status=$?
65357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65358 (exit $ac_status); }; } &&
65359 { ac_try='test -s conftest$ac_exeext'
65360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65361 (eval $ac_try) 2>&5
65362 ac_status=$?
65363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65364 (exit $ac_status); }; }; then
65365 eval "$as_ac_var=yes"
65366 else
65367 echo "$as_me: failed program was:" >&5
65368 sed 's/^/| /' conftest.$ac_ext >&5
65370 eval "$as_ac_var=no"
65372 rm -f conftest.err conftest.$ac_objext \
65373 conftest$ac_exeext conftest.$ac_ext
65375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65377 if test `eval echo '${'$as_ac_var'}'` = yes; then
65378 cat >>confdefs.h <<_ACEOF
65379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65380 _ACEOF
65383 done
65393 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65394 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65395 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65396 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65397 echo $ECHO_N "(cached) $ECHO_C" >&6
65398 else
65402 ac_ext=cc
65403 ac_cpp='$CXXCPP $CPPFLAGS'
65404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65408 cat >conftest.$ac_ext <<_ACEOF
65409 /* confdefs.h. */
65410 _ACEOF
65411 cat confdefs.h >>conftest.$ac_ext
65412 cat >>conftest.$ac_ext <<_ACEOF
65413 /* end confdefs.h. */
65414 #include <math.h>
65416 main ()
65418 copysign(0, 0);
65420 return 0;
65422 _ACEOF
65423 rm -f conftest.$ac_objext
65424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65425 (eval $ac_compile) 2>conftest.er1
65426 ac_status=$?
65427 grep -v '^ *+' conftest.er1 >conftest.err
65428 rm -f conftest.er1
65429 cat conftest.err >&5
65430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431 (exit $ac_status); } &&
65432 { ac_try='test -z "$ac_cxx_werror_flag"
65433 || test ! -s conftest.err'
65434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65435 (eval $ac_try) 2>&5
65436 ac_status=$?
65437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65438 (exit $ac_status); }; } &&
65439 { ac_try='test -s conftest.$ac_objext'
65440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65441 (eval $ac_try) 2>&5
65442 ac_status=$?
65443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65444 (exit $ac_status); }; }; then
65445 glibcxx_cv_func_copysign_use=yes
65446 else
65447 echo "$as_me: failed program was:" >&5
65448 sed 's/^/| /' conftest.$ac_ext >&5
65450 glibcxx_cv_func_copysign_use=no
65452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65453 ac_ext=c
65454 ac_cpp='$CPP $CPPFLAGS'
65455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65464 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65466 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65468 for ac_func in copysign
65470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65471 echo "$as_me:$LINENO: checking for $ac_func" >&5
65472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65473 if eval "test \"\${$as_ac_var+set}\" = set"; then
65474 echo $ECHO_N "(cached) $ECHO_C" >&6
65475 else
65476 if test x$gcc_no_link = xyes; then
65477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65479 { (exit 1); exit 1; }; }
65481 cat >conftest.$ac_ext <<_ACEOF
65482 /* confdefs.h. */
65483 _ACEOF
65484 cat confdefs.h >>conftest.$ac_ext
65485 cat >>conftest.$ac_ext <<_ACEOF
65486 /* end confdefs.h. */
65487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65489 #define $ac_func innocuous_$ac_func
65491 /* System header to define __stub macros and hopefully few prototypes,
65492 which can conflict with char $ac_func (); below.
65493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65494 <limits.h> exists even on freestanding compilers. */
65496 #ifdef __STDC__
65497 # include <limits.h>
65498 #else
65499 # include <assert.h>
65500 #endif
65502 #undef $ac_func
65504 /* Override any gcc2 internal prototype to avoid an error. */
65505 #ifdef __cplusplus
65506 extern "C"
65508 #endif
65509 /* We use char because int might match the return type of a gcc2
65510 builtin and then its argument prototype would still apply. */
65511 char $ac_func ();
65512 /* The GNU C library defines this for functions which it implements
65513 to always fail with ENOSYS. Some functions are actually named
65514 something starting with __ and the normal name is an alias. */
65515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65516 choke me
65517 #else
65518 char (*f) () = $ac_func;
65519 #endif
65520 #ifdef __cplusplus
65522 #endif
65525 main ()
65527 return f != $ac_func;
65529 return 0;
65531 _ACEOF
65532 rm -f conftest.$ac_objext conftest$ac_exeext
65533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65534 (eval $ac_link) 2>conftest.er1
65535 ac_status=$?
65536 grep -v '^ *+' conftest.er1 >conftest.err
65537 rm -f conftest.er1
65538 cat conftest.err >&5
65539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65540 (exit $ac_status); } &&
65541 { ac_try='test -z "$ac_c_werror_flag"
65542 || test ! -s conftest.err'
65543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65544 (eval $ac_try) 2>&5
65545 ac_status=$?
65546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65547 (exit $ac_status); }; } &&
65548 { ac_try='test -s conftest$ac_exeext'
65549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65550 (eval $ac_try) 2>&5
65551 ac_status=$?
65552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65553 (exit $ac_status); }; }; then
65554 eval "$as_ac_var=yes"
65555 else
65556 echo "$as_me: failed program was:" >&5
65557 sed 's/^/| /' conftest.$ac_ext >&5
65559 eval "$as_ac_var=no"
65561 rm -f conftest.err conftest.$ac_objext \
65562 conftest$ac_exeext conftest.$ac_ext
65564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65566 if test `eval echo '${'$as_ac_var'}'` = yes; then
65567 cat >>confdefs.h <<_ACEOF
65568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65569 _ACEOF
65572 done
65574 else
65576 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65577 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65578 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65579 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65580 echo $ECHO_N "(cached) $ECHO_C" >&6
65581 else
65585 ac_ext=cc
65586 ac_cpp='$CXXCPP $CPPFLAGS'
65587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65591 cat >conftest.$ac_ext <<_ACEOF
65592 /* confdefs.h. */
65593 _ACEOF
65594 cat confdefs.h >>conftest.$ac_ext
65595 cat >>conftest.$ac_ext <<_ACEOF
65596 /* end confdefs.h. */
65597 #include <math.h>
65599 main ()
65601 _copysign(0, 0);
65603 return 0;
65605 _ACEOF
65606 rm -f conftest.$ac_objext
65607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65608 (eval $ac_compile) 2>conftest.er1
65609 ac_status=$?
65610 grep -v '^ *+' conftest.er1 >conftest.err
65611 rm -f conftest.er1
65612 cat conftest.err >&5
65613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614 (exit $ac_status); } &&
65615 { ac_try='test -z "$ac_cxx_werror_flag"
65616 || test ! -s conftest.err'
65617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65618 (eval $ac_try) 2>&5
65619 ac_status=$?
65620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65621 (exit $ac_status); }; } &&
65622 { ac_try='test -s conftest.$ac_objext'
65623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65624 (eval $ac_try) 2>&5
65625 ac_status=$?
65626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65627 (exit $ac_status); }; }; then
65628 glibcxx_cv_func__copysign_use=yes
65629 else
65630 echo "$as_me: failed program was:" >&5
65631 sed 's/^/| /' conftest.$ac_ext >&5
65633 glibcxx_cv_func__copysign_use=no
65635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65636 ac_ext=c
65637 ac_cpp='$CPP $CPPFLAGS'
65638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65647 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65649 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65651 for ac_func in _copysign
65653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65654 echo "$as_me:$LINENO: checking for $ac_func" >&5
65655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65656 if eval "test \"\${$as_ac_var+set}\" = set"; then
65657 echo $ECHO_N "(cached) $ECHO_C" >&6
65658 else
65659 if test x$gcc_no_link = xyes; then
65660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65662 { (exit 1); exit 1; }; }
65664 cat >conftest.$ac_ext <<_ACEOF
65665 /* confdefs.h. */
65666 _ACEOF
65667 cat confdefs.h >>conftest.$ac_ext
65668 cat >>conftest.$ac_ext <<_ACEOF
65669 /* end confdefs.h. */
65670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65672 #define $ac_func innocuous_$ac_func
65674 /* System header to define __stub macros and hopefully few prototypes,
65675 which can conflict with char $ac_func (); below.
65676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65677 <limits.h> exists even on freestanding compilers. */
65679 #ifdef __STDC__
65680 # include <limits.h>
65681 #else
65682 # include <assert.h>
65683 #endif
65685 #undef $ac_func
65687 /* Override any gcc2 internal prototype to avoid an error. */
65688 #ifdef __cplusplus
65689 extern "C"
65691 #endif
65692 /* We use char because int might match the return type of a gcc2
65693 builtin and then its argument prototype would still apply. */
65694 char $ac_func ();
65695 /* The GNU C library defines this for functions which it implements
65696 to always fail with ENOSYS. Some functions are actually named
65697 something starting with __ and the normal name is an alias. */
65698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65699 choke me
65700 #else
65701 char (*f) () = $ac_func;
65702 #endif
65703 #ifdef __cplusplus
65705 #endif
65708 main ()
65710 return f != $ac_func;
65712 return 0;
65714 _ACEOF
65715 rm -f conftest.$ac_objext conftest$ac_exeext
65716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65717 (eval $ac_link) 2>conftest.er1
65718 ac_status=$?
65719 grep -v '^ *+' conftest.er1 >conftest.err
65720 rm -f conftest.er1
65721 cat conftest.err >&5
65722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65723 (exit $ac_status); } &&
65724 { ac_try='test -z "$ac_c_werror_flag"
65725 || test ! -s conftest.err'
65726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65727 (eval $ac_try) 2>&5
65728 ac_status=$?
65729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65730 (exit $ac_status); }; } &&
65731 { ac_try='test -s conftest$ac_exeext'
65732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65733 (eval $ac_try) 2>&5
65734 ac_status=$?
65735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65736 (exit $ac_status); }; }; then
65737 eval "$as_ac_var=yes"
65738 else
65739 echo "$as_me: failed program was:" >&5
65740 sed 's/^/| /' conftest.$ac_ext >&5
65742 eval "$as_ac_var=no"
65744 rm -f conftest.err conftest.$ac_objext \
65745 conftest$ac_exeext conftest.$ac_ext
65747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65749 if test `eval echo '${'$as_ac_var'}'` = yes; then
65750 cat >>confdefs.h <<_ACEOF
65751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65752 _ACEOF
65755 done
65765 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65766 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65767 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65768 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65769 echo $ECHO_N "(cached) $ECHO_C" >&6
65770 else
65774 ac_ext=cc
65775 ac_cpp='$CXXCPP $CPPFLAGS'
65776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65780 cat >conftest.$ac_ext <<_ACEOF
65781 /* confdefs.h. */
65782 _ACEOF
65783 cat confdefs.h >>conftest.$ac_ext
65784 cat >>conftest.$ac_ext <<_ACEOF
65785 /* end confdefs.h. */
65786 #include <math.h>
65788 main ()
65790 sincos(0, 0, 0);
65792 return 0;
65794 _ACEOF
65795 rm -f conftest.$ac_objext
65796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65797 (eval $ac_compile) 2>conftest.er1
65798 ac_status=$?
65799 grep -v '^ *+' conftest.er1 >conftest.err
65800 rm -f conftest.er1
65801 cat conftest.err >&5
65802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65803 (exit $ac_status); } &&
65804 { ac_try='test -z "$ac_cxx_werror_flag"
65805 || test ! -s conftest.err'
65806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65807 (eval $ac_try) 2>&5
65808 ac_status=$?
65809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65810 (exit $ac_status); }; } &&
65811 { ac_try='test -s conftest.$ac_objext'
65812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65813 (eval $ac_try) 2>&5
65814 ac_status=$?
65815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65816 (exit $ac_status); }; }; then
65817 glibcxx_cv_func_sincos_use=yes
65818 else
65819 echo "$as_me: failed program was:" >&5
65820 sed 's/^/| /' conftest.$ac_ext >&5
65822 glibcxx_cv_func_sincos_use=no
65824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65825 ac_ext=c
65826 ac_cpp='$CPP $CPPFLAGS'
65827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65836 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65838 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65840 for ac_func in sincos
65842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65843 echo "$as_me:$LINENO: checking for $ac_func" >&5
65844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65845 if eval "test \"\${$as_ac_var+set}\" = set"; then
65846 echo $ECHO_N "(cached) $ECHO_C" >&6
65847 else
65848 if test x$gcc_no_link = xyes; then
65849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65851 { (exit 1); exit 1; }; }
65853 cat >conftest.$ac_ext <<_ACEOF
65854 /* confdefs.h. */
65855 _ACEOF
65856 cat confdefs.h >>conftest.$ac_ext
65857 cat >>conftest.$ac_ext <<_ACEOF
65858 /* end confdefs.h. */
65859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65861 #define $ac_func innocuous_$ac_func
65863 /* System header to define __stub macros and hopefully few prototypes,
65864 which can conflict with char $ac_func (); below.
65865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65866 <limits.h> exists even on freestanding compilers. */
65868 #ifdef __STDC__
65869 # include <limits.h>
65870 #else
65871 # include <assert.h>
65872 #endif
65874 #undef $ac_func
65876 /* Override any gcc2 internal prototype to avoid an error. */
65877 #ifdef __cplusplus
65878 extern "C"
65880 #endif
65881 /* We use char because int might match the return type of a gcc2
65882 builtin and then its argument prototype would still apply. */
65883 char $ac_func ();
65884 /* The GNU C library defines this for functions which it implements
65885 to always fail with ENOSYS. Some functions are actually named
65886 something starting with __ and the normal name is an alias. */
65887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65888 choke me
65889 #else
65890 char (*f) () = $ac_func;
65891 #endif
65892 #ifdef __cplusplus
65894 #endif
65897 main ()
65899 return f != $ac_func;
65901 return 0;
65903 _ACEOF
65904 rm -f conftest.$ac_objext conftest$ac_exeext
65905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65906 (eval $ac_link) 2>conftest.er1
65907 ac_status=$?
65908 grep -v '^ *+' conftest.er1 >conftest.err
65909 rm -f conftest.er1
65910 cat conftest.err >&5
65911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65912 (exit $ac_status); } &&
65913 { ac_try='test -z "$ac_c_werror_flag"
65914 || test ! -s conftest.err'
65915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65916 (eval $ac_try) 2>&5
65917 ac_status=$?
65918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65919 (exit $ac_status); }; } &&
65920 { ac_try='test -s conftest$ac_exeext'
65921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65922 (eval $ac_try) 2>&5
65923 ac_status=$?
65924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65925 (exit $ac_status); }; }; then
65926 eval "$as_ac_var=yes"
65927 else
65928 echo "$as_me: failed program was:" >&5
65929 sed 's/^/| /' conftest.$ac_ext >&5
65931 eval "$as_ac_var=no"
65933 rm -f conftest.err conftest.$ac_objext \
65934 conftest$ac_exeext conftest.$ac_ext
65936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65938 if test `eval echo '${'$as_ac_var'}'` = yes; then
65939 cat >>confdefs.h <<_ACEOF
65940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65941 _ACEOF
65944 done
65946 else
65948 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65949 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65950 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65951 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65952 echo $ECHO_N "(cached) $ECHO_C" >&6
65953 else
65957 ac_ext=cc
65958 ac_cpp='$CXXCPP $CPPFLAGS'
65959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65963 cat >conftest.$ac_ext <<_ACEOF
65964 /* confdefs.h. */
65965 _ACEOF
65966 cat confdefs.h >>conftest.$ac_ext
65967 cat >>conftest.$ac_ext <<_ACEOF
65968 /* end confdefs.h. */
65969 #include <math.h>
65971 main ()
65973 _sincos(0, 0, 0);
65975 return 0;
65977 _ACEOF
65978 rm -f conftest.$ac_objext
65979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65980 (eval $ac_compile) 2>conftest.er1
65981 ac_status=$?
65982 grep -v '^ *+' conftest.er1 >conftest.err
65983 rm -f conftest.er1
65984 cat conftest.err >&5
65985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65986 (exit $ac_status); } &&
65987 { ac_try='test -z "$ac_cxx_werror_flag"
65988 || test ! -s conftest.err'
65989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65990 (eval $ac_try) 2>&5
65991 ac_status=$?
65992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65993 (exit $ac_status); }; } &&
65994 { ac_try='test -s conftest.$ac_objext'
65995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65996 (eval $ac_try) 2>&5
65997 ac_status=$?
65998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65999 (exit $ac_status); }; }; then
66000 glibcxx_cv_func__sincos_use=yes
66001 else
66002 echo "$as_me: failed program was:" >&5
66003 sed 's/^/| /' conftest.$ac_ext >&5
66005 glibcxx_cv_func__sincos_use=no
66007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66008 ac_ext=c
66009 ac_cpp='$CPP $CPPFLAGS'
66010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66019 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66023 for ac_func in _sincos
66025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66026 echo "$as_me:$LINENO: checking for $ac_func" >&5
66027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66028 if eval "test \"\${$as_ac_var+set}\" = set"; then
66029 echo $ECHO_N "(cached) $ECHO_C" >&6
66030 else
66031 if test x$gcc_no_link = xyes; then
66032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66034 { (exit 1); exit 1; }; }
66036 cat >conftest.$ac_ext <<_ACEOF
66037 /* confdefs.h. */
66038 _ACEOF
66039 cat confdefs.h >>conftest.$ac_ext
66040 cat >>conftest.$ac_ext <<_ACEOF
66041 /* end confdefs.h. */
66042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66044 #define $ac_func innocuous_$ac_func
66046 /* System header to define __stub macros and hopefully few prototypes,
66047 which can conflict with char $ac_func (); below.
66048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66049 <limits.h> exists even on freestanding compilers. */
66051 #ifdef __STDC__
66052 # include <limits.h>
66053 #else
66054 # include <assert.h>
66055 #endif
66057 #undef $ac_func
66059 /* Override any gcc2 internal prototype to avoid an error. */
66060 #ifdef __cplusplus
66061 extern "C"
66063 #endif
66064 /* We use char because int might match the return type of a gcc2
66065 builtin and then its argument prototype would still apply. */
66066 char $ac_func ();
66067 /* The GNU C library defines this for functions which it implements
66068 to always fail with ENOSYS. Some functions are actually named
66069 something starting with __ and the normal name is an alias. */
66070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66071 choke me
66072 #else
66073 char (*f) () = $ac_func;
66074 #endif
66075 #ifdef __cplusplus
66077 #endif
66080 main ()
66082 return f != $ac_func;
66084 return 0;
66086 _ACEOF
66087 rm -f conftest.$ac_objext conftest$ac_exeext
66088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66089 (eval $ac_link) 2>conftest.er1
66090 ac_status=$?
66091 grep -v '^ *+' conftest.er1 >conftest.err
66092 rm -f conftest.er1
66093 cat conftest.err >&5
66094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66095 (exit $ac_status); } &&
66096 { ac_try='test -z "$ac_c_werror_flag"
66097 || test ! -s conftest.err'
66098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66099 (eval $ac_try) 2>&5
66100 ac_status=$?
66101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66102 (exit $ac_status); }; } &&
66103 { ac_try='test -s conftest$ac_exeext'
66104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66105 (eval $ac_try) 2>&5
66106 ac_status=$?
66107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66108 (exit $ac_status); }; }; then
66109 eval "$as_ac_var=yes"
66110 else
66111 echo "$as_me: failed program was:" >&5
66112 sed 's/^/| /' conftest.$ac_ext >&5
66114 eval "$as_ac_var=no"
66116 rm -f conftest.err conftest.$ac_objext \
66117 conftest$ac_exeext conftest.$ac_ext
66119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66121 if test `eval echo '${'$as_ac_var'}'` = yes; then
66122 cat >>confdefs.h <<_ACEOF
66123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66124 _ACEOF
66127 done
66137 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66138 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66139 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66140 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66141 echo $ECHO_N "(cached) $ECHO_C" >&6
66142 else
66146 ac_ext=cc
66147 ac_cpp='$CXXCPP $CPPFLAGS'
66148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66152 cat >conftest.$ac_ext <<_ACEOF
66153 /* confdefs.h. */
66154 _ACEOF
66155 cat confdefs.h >>conftest.$ac_ext
66156 cat >>conftest.$ac_ext <<_ACEOF
66157 /* end confdefs.h. */
66158 #include <math.h>
66159 #ifdef HAVE_IEEEFP_H
66160 #include <ieeefp.h>
66161 #endif
66164 main ()
66166 fpclass(0);
66168 return 0;
66170 _ACEOF
66171 rm -f conftest.$ac_objext
66172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66173 (eval $ac_compile) 2>conftest.er1
66174 ac_status=$?
66175 grep -v '^ *+' conftest.er1 >conftest.err
66176 rm -f conftest.er1
66177 cat conftest.err >&5
66178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66179 (exit $ac_status); } &&
66180 { ac_try='test -z "$ac_cxx_werror_flag"
66181 || test ! -s conftest.err'
66182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66183 (eval $ac_try) 2>&5
66184 ac_status=$?
66185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66186 (exit $ac_status); }; } &&
66187 { ac_try='test -s conftest.$ac_objext'
66188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66189 (eval $ac_try) 2>&5
66190 ac_status=$?
66191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66192 (exit $ac_status); }; }; then
66193 glibcxx_cv_func_fpclass_use=yes
66194 else
66195 echo "$as_me: failed program was:" >&5
66196 sed 's/^/| /' conftest.$ac_ext >&5
66198 glibcxx_cv_func_fpclass_use=no
66200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66201 ac_ext=c
66202 ac_cpp='$CPP $CPPFLAGS'
66203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66212 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66214 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66216 for ac_func in fpclass
66218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66219 echo "$as_me:$LINENO: checking for $ac_func" >&5
66220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66221 if eval "test \"\${$as_ac_var+set}\" = set"; then
66222 echo $ECHO_N "(cached) $ECHO_C" >&6
66223 else
66224 if test x$gcc_no_link = xyes; then
66225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66227 { (exit 1); exit 1; }; }
66229 cat >conftest.$ac_ext <<_ACEOF
66230 /* confdefs.h. */
66231 _ACEOF
66232 cat confdefs.h >>conftest.$ac_ext
66233 cat >>conftest.$ac_ext <<_ACEOF
66234 /* end confdefs.h. */
66235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66237 #define $ac_func innocuous_$ac_func
66239 /* System header to define __stub macros and hopefully few prototypes,
66240 which can conflict with char $ac_func (); below.
66241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66242 <limits.h> exists even on freestanding compilers. */
66244 #ifdef __STDC__
66245 # include <limits.h>
66246 #else
66247 # include <assert.h>
66248 #endif
66250 #undef $ac_func
66252 /* Override any gcc2 internal prototype to avoid an error. */
66253 #ifdef __cplusplus
66254 extern "C"
66256 #endif
66257 /* We use char because int might match the return type of a gcc2
66258 builtin and then its argument prototype would still apply. */
66259 char $ac_func ();
66260 /* The GNU C library defines this for functions which it implements
66261 to always fail with ENOSYS. Some functions are actually named
66262 something starting with __ and the normal name is an alias. */
66263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66264 choke me
66265 #else
66266 char (*f) () = $ac_func;
66267 #endif
66268 #ifdef __cplusplus
66270 #endif
66273 main ()
66275 return f != $ac_func;
66277 return 0;
66279 _ACEOF
66280 rm -f conftest.$ac_objext conftest$ac_exeext
66281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66282 (eval $ac_link) 2>conftest.er1
66283 ac_status=$?
66284 grep -v '^ *+' conftest.er1 >conftest.err
66285 rm -f conftest.er1
66286 cat conftest.err >&5
66287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66288 (exit $ac_status); } &&
66289 { ac_try='test -z "$ac_c_werror_flag"
66290 || test ! -s conftest.err'
66291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66292 (eval $ac_try) 2>&5
66293 ac_status=$?
66294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66295 (exit $ac_status); }; } &&
66296 { ac_try='test -s conftest$ac_exeext'
66297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66298 (eval $ac_try) 2>&5
66299 ac_status=$?
66300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66301 (exit $ac_status); }; }; then
66302 eval "$as_ac_var=yes"
66303 else
66304 echo "$as_me: failed program was:" >&5
66305 sed 's/^/| /' conftest.$ac_ext >&5
66307 eval "$as_ac_var=no"
66309 rm -f conftest.err conftest.$ac_objext \
66310 conftest$ac_exeext conftest.$ac_ext
66312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66314 if test `eval echo '${'$as_ac_var'}'` = yes; then
66315 cat >>confdefs.h <<_ACEOF
66316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66317 _ACEOF
66320 done
66322 else
66324 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66325 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66326 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66327 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66328 echo $ECHO_N "(cached) $ECHO_C" >&6
66329 else
66333 ac_ext=cc
66334 ac_cpp='$CXXCPP $CPPFLAGS'
66335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66339 cat >conftest.$ac_ext <<_ACEOF
66340 /* confdefs.h. */
66341 _ACEOF
66342 cat confdefs.h >>conftest.$ac_ext
66343 cat >>conftest.$ac_ext <<_ACEOF
66344 /* end confdefs.h. */
66345 #include <math.h>
66346 #ifdef HAVE_IEEEFP_H
66347 #include <ieeefp.h>
66348 #endif
66351 main ()
66353 _fpclass(0);
66355 return 0;
66357 _ACEOF
66358 rm -f conftest.$ac_objext
66359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66360 (eval $ac_compile) 2>conftest.er1
66361 ac_status=$?
66362 grep -v '^ *+' conftest.er1 >conftest.err
66363 rm -f conftest.er1
66364 cat conftest.err >&5
66365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66366 (exit $ac_status); } &&
66367 { ac_try='test -z "$ac_cxx_werror_flag"
66368 || test ! -s conftest.err'
66369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66370 (eval $ac_try) 2>&5
66371 ac_status=$?
66372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373 (exit $ac_status); }; } &&
66374 { ac_try='test -s conftest.$ac_objext'
66375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376 (eval $ac_try) 2>&5
66377 ac_status=$?
66378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379 (exit $ac_status); }; }; then
66380 glibcxx_cv_func__fpclass_use=yes
66381 else
66382 echo "$as_me: failed program was:" >&5
66383 sed 's/^/| /' conftest.$ac_ext >&5
66385 glibcxx_cv_func__fpclass_use=no
66387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66388 ac_ext=c
66389 ac_cpp='$CPP $CPPFLAGS'
66390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66399 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66401 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66403 for ac_func in _fpclass
66405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66406 echo "$as_me:$LINENO: checking for $ac_func" >&5
66407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66408 if eval "test \"\${$as_ac_var+set}\" = set"; then
66409 echo $ECHO_N "(cached) $ECHO_C" >&6
66410 else
66411 if test x$gcc_no_link = xyes; then
66412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66414 { (exit 1); exit 1; }; }
66416 cat >conftest.$ac_ext <<_ACEOF
66417 /* confdefs.h. */
66418 _ACEOF
66419 cat confdefs.h >>conftest.$ac_ext
66420 cat >>conftest.$ac_ext <<_ACEOF
66421 /* end confdefs.h. */
66422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66424 #define $ac_func innocuous_$ac_func
66426 /* System header to define __stub macros and hopefully few prototypes,
66427 which can conflict with char $ac_func (); below.
66428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66429 <limits.h> exists even on freestanding compilers. */
66431 #ifdef __STDC__
66432 # include <limits.h>
66433 #else
66434 # include <assert.h>
66435 #endif
66437 #undef $ac_func
66439 /* Override any gcc2 internal prototype to avoid an error. */
66440 #ifdef __cplusplus
66441 extern "C"
66443 #endif
66444 /* We use char because int might match the return type of a gcc2
66445 builtin and then its argument prototype would still apply. */
66446 char $ac_func ();
66447 /* The GNU C library defines this for functions which it implements
66448 to always fail with ENOSYS. Some functions are actually named
66449 something starting with __ and the normal name is an alias. */
66450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66451 choke me
66452 #else
66453 char (*f) () = $ac_func;
66454 #endif
66455 #ifdef __cplusplus
66457 #endif
66460 main ()
66462 return f != $ac_func;
66464 return 0;
66466 _ACEOF
66467 rm -f conftest.$ac_objext conftest$ac_exeext
66468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66469 (eval $ac_link) 2>conftest.er1
66470 ac_status=$?
66471 grep -v '^ *+' conftest.er1 >conftest.err
66472 rm -f conftest.er1
66473 cat conftest.err >&5
66474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66475 (exit $ac_status); } &&
66476 { ac_try='test -z "$ac_c_werror_flag"
66477 || test ! -s conftest.err'
66478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66479 (eval $ac_try) 2>&5
66480 ac_status=$?
66481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66482 (exit $ac_status); }; } &&
66483 { ac_try='test -s conftest$ac_exeext'
66484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66485 (eval $ac_try) 2>&5
66486 ac_status=$?
66487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66488 (exit $ac_status); }; }; then
66489 eval "$as_ac_var=yes"
66490 else
66491 echo "$as_me: failed program was:" >&5
66492 sed 's/^/| /' conftest.$ac_ext >&5
66494 eval "$as_ac_var=no"
66496 rm -f conftest.err conftest.$ac_objext \
66497 conftest$ac_exeext conftest.$ac_ext
66499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66501 if test `eval echo '${'$as_ac_var'}'` = yes; then
66502 cat >>confdefs.h <<_ACEOF
66503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66504 _ACEOF
66507 done
66517 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66518 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66519 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66520 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66521 echo $ECHO_N "(cached) $ECHO_C" >&6
66522 else
66526 ac_ext=cc
66527 ac_cpp='$CXXCPP $CPPFLAGS'
66528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66532 cat >conftest.$ac_ext <<_ACEOF
66533 /* confdefs.h. */
66534 _ACEOF
66535 cat confdefs.h >>conftest.$ac_ext
66536 cat >>conftest.$ac_ext <<_ACEOF
66537 /* end confdefs.h. */
66538 #include <math.h>
66539 #ifdef HAVE_IEEEFP_H
66540 #include <ieeefp.h>
66541 #endif
66544 main ()
66546 qfpclass(0);
66548 return 0;
66550 _ACEOF
66551 rm -f conftest.$ac_objext
66552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66553 (eval $ac_compile) 2>conftest.er1
66554 ac_status=$?
66555 grep -v '^ *+' conftest.er1 >conftest.err
66556 rm -f conftest.er1
66557 cat conftest.err >&5
66558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66559 (exit $ac_status); } &&
66560 { ac_try='test -z "$ac_cxx_werror_flag"
66561 || test ! -s conftest.err'
66562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66563 (eval $ac_try) 2>&5
66564 ac_status=$?
66565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66566 (exit $ac_status); }; } &&
66567 { ac_try='test -s conftest.$ac_objext'
66568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66569 (eval $ac_try) 2>&5
66570 ac_status=$?
66571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66572 (exit $ac_status); }; }; then
66573 glibcxx_cv_func_qfpclass_use=yes
66574 else
66575 echo "$as_me: failed program was:" >&5
66576 sed 's/^/| /' conftest.$ac_ext >&5
66578 glibcxx_cv_func_qfpclass_use=no
66580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66581 ac_ext=c
66582 ac_cpp='$CPP $CPPFLAGS'
66583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66592 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66594 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66596 for ac_func in qfpclass
66598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66599 echo "$as_me:$LINENO: checking for $ac_func" >&5
66600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66601 if eval "test \"\${$as_ac_var+set}\" = set"; then
66602 echo $ECHO_N "(cached) $ECHO_C" >&6
66603 else
66604 if test x$gcc_no_link = xyes; then
66605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66607 { (exit 1); exit 1; }; }
66609 cat >conftest.$ac_ext <<_ACEOF
66610 /* confdefs.h. */
66611 _ACEOF
66612 cat confdefs.h >>conftest.$ac_ext
66613 cat >>conftest.$ac_ext <<_ACEOF
66614 /* end confdefs.h. */
66615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66617 #define $ac_func innocuous_$ac_func
66619 /* System header to define __stub macros and hopefully few prototypes,
66620 which can conflict with char $ac_func (); below.
66621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66622 <limits.h> exists even on freestanding compilers. */
66624 #ifdef __STDC__
66625 # include <limits.h>
66626 #else
66627 # include <assert.h>
66628 #endif
66630 #undef $ac_func
66632 /* Override any gcc2 internal prototype to avoid an error. */
66633 #ifdef __cplusplus
66634 extern "C"
66636 #endif
66637 /* We use char because int might match the return type of a gcc2
66638 builtin and then its argument prototype would still apply. */
66639 char $ac_func ();
66640 /* The GNU C library defines this for functions which it implements
66641 to always fail with ENOSYS. Some functions are actually named
66642 something starting with __ and the normal name is an alias. */
66643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66644 choke me
66645 #else
66646 char (*f) () = $ac_func;
66647 #endif
66648 #ifdef __cplusplus
66650 #endif
66653 main ()
66655 return f != $ac_func;
66657 return 0;
66659 _ACEOF
66660 rm -f conftest.$ac_objext conftest$ac_exeext
66661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66662 (eval $ac_link) 2>conftest.er1
66663 ac_status=$?
66664 grep -v '^ *+' conftest.er1 >conftest.err
66665 rm -f conftest.er1
66666 cat conftest.err >&5
66667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66668 (exit $ac_status); } &&
66669 { ac_try='test -z "$ac_c_werror_flag"
66670 || test ! -s conftest.err'
66671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66672 (eval $ac_try) 2>&5
66673 ac_status=$?
66674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66675 (exit $ac_status); }; } &&
66676 { ac_try='test -s conftest$ac_exeext'
66677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66678 (eval $ac_try) 2>&5
66679 ac_status=$?
66680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66681 (exit $ac_status); }; }; then
66682 eval "$as_ac_var=yes"
66683 else
66684 echo "$as_me: failed program was:" >&5
66685 sed 's/^/| /' conftest.$ac_ext >&5
66687 eval "$as_ac_var=no"
66689 rm -f conftest.err conftest.$ac_objext \
66690 conftest$ac_exeext conftest.$ac_ext
66692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66694 if test `eval echo '${'$as_ac_var'}'` = yes; then
66695 cat >>confdefs.h <<_ACEOF
66696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66697 _ACEOF
66700 done
66702 else
66704 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66705 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66706 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66707 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66708 echo $ECHO_N "(cached) $ECHO_C" >&6
66709 else
66713 ac_ext=cc
66714 ac_cpp='$CXXCPP $CPPFLAGS'
66715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66719 cat >conftest.$ac_ext <<_ACEOF
66720 /* confdefs.h. */
66721 _ACEOF
66722 cat confdefs.h >>conftest.$ac_ext
66723 cat >>conftest.$ac_ext <<_ACEOF
66724 /* end confdefs.h. */
66725 #include <math.h>
66726 #ifdef HAVE_IEEEFP_H
66727 #include <ieeefp.h>
66728 #endif
66731 main ()
66733 _qfpclass(0);
66735 return 0;
66737 _ACEOF
66738 rm -f conftest.$ac_objext
66739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66740 (eval $ac_compile) 2>conftest.er1
66741 ac_status=$?
66742 grep -v '^ *+' conftest.er1 >conftest.err
66743 rm -f conftest.er1
66744 cat conftest.err >&5
66745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66746 (exit $ac_status); } &&
66747 { ac_try='test -z "$ac_cxx_werror_flag"
66748 || test ! -s conftest.err'
66749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66750 (eval $ac_try) 2>&5
66751 ac_status=$?
66752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66753 (exit $ac_status); }; } &&
66754 { ac_try='test -s conftest.$ac_objext'
66755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66756 (eval $ac_try) 2>&5
66757 ac_status=$?
66758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66759 (exit $ac_status); }; }; then
66760 glibcxx_cv_func__qfpclass_use=yes
66761 else
66762 echo "$as_me: failed program was:" >&5
66763 sed 's/^/| /' conftest.$ac_ext >&5
66765 glibcxx_cv_func__qfpclass_use=no
66767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66768 ac_ext=c
66769 ac_cpp='$CPP $CPPFLAGS'
66770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66779 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66781 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66783 for ac_func in _qfpclass
66785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66786 echo "$as_me:$LINENO: checking for $ac_func" >&5
66787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66788 if eval "test \"\${$as_ac_var+set}\" = set"; then
66789 echo $ECHO_N "(cached) $ECHO_C" >&6
66790 else
66791 if test x$gcc_no_link = xyes; then
66792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66794 { (exit 1); exit 1; }; }
66796 cat >conftest.$ac_ext <<_ACEOF
66797 /* confdefs.h. */
66798 _ACEOF
66799 cat confdefs.h >>conftest.$ac_ext
66800 cat >>conftest.$ac_ext <<_ACEOF
66801 /* end confdefs.h. */
66802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66804 #define $ac_func innocuous_$ac_func
66806 /* System header to define __stub macros and hopefully few prototypes,
66807 which can conflict with char $ac_func (); below.
66808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66809 <limits.h> exists even on freestanding compilers. */
66811 #ifdef __STDC__
66812 # include <limits.h>
66813 #else
66814 # include <assert.h>
66815 #endif
66817 #undef $ac_func
66819 /* Override any gcc2 internal prototype to avoid an error. */
66820 #ifdef __cplusplus
66821 extern "C"
66823 #endif
66824 /* We use char because int might match the return type of a gcc2
66825 builtin and then its argument prototype would still apply. */
66826 char $ac_func ();
66827 /* The GNU C library defines this for functions which it implements
66828 to always fail with ENOSYS. Some functions are actually named
66829 something starting with __ and the normal name is an alias. */
66830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66831 choke me
66832 #else
66833 char (*f) () = $ac_func;
66834 #endif
66835 #ifdef __cplusplus
66837 #endif
66840 main ()
66842 return f != $ac_func;
66844 return 0;
66846 _ACEOF
66847 rm -f conftest.$ac_objext conftest$ac_exeext
66848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66849 (eval $ac_link) 2>conftest.er1
66850 ac_status=$?
66851 grep -v '^ *+' conftest.er1 >conftest.err
66852 rm -f conftest.er1
66853 cat conftest.err >&5
66854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855 (exit $ac_status); } &&
66856 { ac_try='test -z "$ac_c_werror_flag"
66857 || test ! -s conftest.err'
66858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66859 (eval $ac_try) 2>&5
66860 ac_status=$?
66861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66862 (exit $ac_status); }; } &&
66863 { ac_try='test -s conftest$ac_exeext'
66864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66865 (eval $ac_try) 2>&5
66866 ac_status=$?
66867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66868 (exit $ac_status); }; }; then
66869 eval "$as_ac_var=yes"
66870 else
66871 echo "$as_me: failed program was:" >&5
66872 sed 's/^/| /' conftest.$ac_ext >&5
66874 eval "$as_ac_var=no"
66876 rm -f conftest.err conftest.$ac_objext \
66877 conftest$ac_exeext conftest.$ac_ext
66879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66881 if test `eval echo '${'$as_ac_var'}'` = yes; then
66882 cat >>confdefs.h <<_ACEOF
66883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66884 _ACEOF
66887 done
66897 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66898 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66899 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66900 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66901 echo $ECHO_N "(cached) $ECHO_C" >&6
66902 else
66906 ac_ext=cc
66907 ac_cpp='$CXXCPP $CPPFLAGS'
66908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66912 cat >conftest.$ac_ext <<_ACEOF
66913 /* confdefs.h. */
66914 _ACEOF
66915 cat confdefs.h >>conftest.$ac_ext
66916 cat >>conftest.$ac_ext <<_ACEOF
66917 /* end confdefs.h. */
66918 #include <math.h>
66920 main ()
66922 hypot(0, 0);
66924 return 0;
66926 _ACEOF
66927 rm -f conftest.$ac_objext
66928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66929 (eval $ac_compile) 2>conftest.er1
66930 ac_status=$?
66931 grep -v '^ *+' conftest.er1 >conftest.err
66932 rm -f conftest.er1
66933 cat conftest.err >&5
66934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935 (exit $ac_status); } &&
66936 { ac_try='test -z "$ac_cxx_werror_flag"
66937 || test ! -s conftest.err'
66938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66939 (eval $ac_try) 2>&5
66940 ac_status=$?
66941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66942 (exit $ac_status); }; } &&
66943 { ac_try='test -s conftest.$ac_objext'
66944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66945 (eval $ac_try) 2>&5
66946 ac_status=$?
66947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66948 (exit $ac_status); }; }; then
66949 glibcxx_cv_func_hypot_use=yes
66950 else
66951 echo "$as_me: failed program was:" >&5
66952 sed 's/^/| /' conftest.$ac_ext >&5
66954 glibcxx_cv_func_hypot_use=no
66956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66957 ac_ext=c
66958 ac_cpp='$CPP $CPPFLAGS'
66959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66968 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66970 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66972 for ac_func in hypot
66974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66975 echo "$as_me:$LINENO: checking for $ac_func" >&5
66976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66977 if eval "test \"\${$as_ac_var+set}\" = set"; then
66978 echo $ECHO_N "(cached) $ECHO_C" >&6
66979 else
66980 if test x$gcc_no_link = xyes; then
66981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66983 { (exit 1); exit 1; }; }
66985 cat >conftest.$ac_ext <<_ACEOF
66986 /* confdefs.h. */
66987 _ACEOF
66988 cat confdefs.h >>conftest.$ac_ext
66989 cat >>conftest.$ac_ext <<_ACEOF
66990 /* end confdefs.h. */
66991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66993 #define $ac_func innocuous_$ac_func
66995 /* System header to define __stub macros and hopefully few prototypes,
66996 which can conflict with char $ac_func (); below.
66997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66998 <limits.h> exists even on freestanding compilers. */
67000 #ifdef __STDC__
67001 # include <limits.h>
67002 #else
67003 # include <assert.h>
67004 #endif
67006 #undef $ac_func
67008 /* Override any gcc2 internal prototype to avoid an error. */
67009 #ifdef __cplusplus
67010 extern "C"
67012 #endif
67013 /* We use char because int might match the return type of a gcc2
67014 builtin and then its argument prototype would still apply. */
67015 char $ac_func ();
67016 /* The GNU C library defines this for functions which it implements
67017 to always fail with ENOSYS. Some functions are actually named
67018 something starting with __ and the normal name is an alias. */
67019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67020 choke me
67021 #else
67022 char (*f) () = $ac_func;
67023 #endif
67024 #ifdef __cplusplus
67026 #endif
67029 main ()
67031 return f != $ac_func;
67033 return 0;
67035 _ACEOF
67036 rm -f conftest.$ac_objext conftest$ac_exeext
67037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67038 (eval $ac_link) 2>conftest.er1
67039 ac_status=$?
67040 grep -v '^ *+' conftest.er1 >conftest.err
67041 rm -f conftest.er1
67042 cat conftest.err >&5
67043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044 (exit $ac_status); } &&
67045 { ac_try='test -z "$ac_c_werror_flag"
67046 || test ! -s conftest.err'
67047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67048 (eval $ac_try) 2>&5
67049 ac_status=$?
67050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67051 (exit $ac_status); }; } &&
67052 { ac_try='test -s conftest$ac_exeext'
67053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67054 (eval $ac_try) 2>&5
67055 ac_status=$?
67056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67057 (exit $ac_status); }; }; then
67058 eval "$as_ac_var=yes"
67059 else
67060 echo "$as_me: failed program was:" >&5
67061 sed 's/^/| /' conftest.$ac_ext >&5
67063 eval "$as_ac_var=no"
67065 rm -f conftest.err conftest.$ac_objext \
67066 conftest$ac_exeext conftest.$ac_ext
67068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67070 if test `eval echo '${'$as_ac_var'}'` = yes; then
67071 cat >>confdefs.h <<_ACEOF
67072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67073 _ACEOF
67076 done
67078 else
67080 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67081 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67082 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67083 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67084 echo $ECHO_N "(cached) $ECHO_C" >&6
67085 else
67089 ac_ext=cc
67090 ac_cpp='$CXXCPP $CPPFLAGS'
67091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67095 cat >conftest.$ac_ext <<_ACEOF
67096 /* confdefs.h. */
67097 _ACEOF
67098 cat confdefs.h >>conftest.$ac_ext
67099 cat >>conftest.$ac_ext <<_ACEOF
67100 /* end confdefs.h. */
67101 #include <math.h>
67103 main ()
67105 _hypot(0, 0);
67107 return 0;
67109 _ACEOF
67110 rm -f conftest.$ac_objext
67111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67112 (eval $ac_compile) 2>conftest.er1
67113 ac_status=$?
67114 grep -v '^ *+' conftest.er1 >conftest.err
67115 rm -f conftest.er1
67116 cat conftest.err >&5
67117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67118 (exit $ac_status); } &&
67119 { ac_try='test -z "$ac_cxx_werror_flag"
67120 || test ! -s conftest.err'
67121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67122 (eval $ac_try) 2>&5
67123 ac_status=$?
67124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67125 (exit $ac_status); }; } &&
67126 { ac_try='test -s conftest.$ac_objext'
67127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67128 (eval $ac_try) 2>&5
67129 ac_status=$?
67130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131 (exit $ac_status); }; }; then
67132 glibcxx_cv_func__hypot_use=yes
67133 else
67134 echo "$as_me: failed program was:" >&5
67135 sed 's/^/| /' conftest.$ac_ext >&5
67137 glibcxx_cv_func__hypot_use=no
67139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67140 ac_ext=c
67141 ac_cpp='$CPP $CPPFLAGS'
67142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67151 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67153 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67155 for ac_func in _hypot
67157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67158 echo "$as_me:$LINENO: checking for $ac_func" >&5
67159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67160 if eval "test \"\${$as_ac_var+set}\" = set"; then
67161 echo $ECHO_N "(cached) $ECHO_C" >&6
67162 else
67163 if test x$gcc_no_link = xyes; then
67164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67166 { (exit 1); exit 1; }; }
67168 cat >conftest.$ac_ext <<_ACEOF
67169 /* confdefs.h. */
67170 _ACEOF
67171 cat confdefs.h >>conftest.$ac_ext
67172 cat >>conftest.$ac_ext <<_ACEOF
67173 /* end confdefs.h. */
67174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67176 #define $ac_func innocuous_$ac_func
67178 /* System header to define __stub macros and hopefully few prototypes,
67179 which can conflict with char $ac_func (); below.
67180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67181 <limits.h> exists even on freestanding compilers. */
67183 #ifdef __STDC__
67184 # include <limits.h>
67185 #else
67186 # include <assert.h>
67187 #endif
67189 #undef $ac_func
67191 /* Override any gcc2 internal prototype to avoid an error. */
67192 #ifdef __cplusplus
67193 extern "C"
67195 #endif
67196 /* We use char because int might match the return type of a gcc2
67197 builtin and then its argument prototype would still apply. */
67198 char $ac_func ();
67199 /* The GNU C library defines this for functions which it implements
67200 to always fail with ENOSYS. Some functions are actually named
67201 something starting with __ and the normal name is an alias. */
67202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67203 choke me
67204 #else
67205 char (*f) () = $ac_func;
67206 #endif
67207 #ifdef __cplusplus
67209 #endif
67212 main ()
67214 return f != $ac_func;
67216 return 0;
67218 _ACEOF
67219 rm -f conftest.$ac_objext conftest$ac_exeext
67220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67221 (eval $ac_link) 2>conftest.er1
67222 ac_status=$?
67223 grep -v '^ *+' conftest.er1 >conftest.err
67224 rm -f conftest.er1
67225 cat conftest.err >&5
67226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67227 (exit $ac_status); } &&
67228 { ac_try='test -z "$ac_c_werror_flag"
67229 || test ! -s conftest.err'
67230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67231 (eval $ac_try) 2>&5
67232 ac_status=$?
67233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234 (exit $ac_status); }; } &&
67235 { ac_try='test -s conftest$ac_exeext'
67236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67237 (eval $ac_try) 2>&5
67238 ac_status=$?
67239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67240 (exit $ac_status); }; }; then
67241 eval "$as_ac_var=yes"
67242 else
67243 echo "$as_me: failed program was:" >&5
67244 sed 's/^/| /' conftest.$ac_ext >&5
67246 eval "$as_ac_var=no"
67248 rm -f conftest.err conftest.$ac_objext \
67249 conftest$ac_exeext conftest.$ac_ext
67251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67253 if test `eval echo '${'$as_ac_var'}'` = yes; then
67254 cat >>confdefs.h <<_ACEOF
67255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67256 _ACEOF
67259 done
67269 echo "$as_me:$LINENO: checking for float trig functions" >&5
67270 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67271 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67272 echo $ECHO_N "(cached) $ECHO_C" >&6
67273 else
67277 ac_ext=cc
67278 ac_cpp='$CXXCPP $CPPFLAGS'
67279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67283 cat >conftest.$ac_ext <<_ACEOF
67284 /* confdefs.h. */
67285 _ACEOF
67286 cat confdefs.h >>conftest.$ac_ext
67287 cat >>conftest.$ac_ext <<_ACEOF
67288 /* end confdefs.h. */
67289 #include <math.h>
67291 main ()
67293 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67295 return 0;
67297 _ACEOF
67298 rm -f conftest.$ac_objext
67299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67300 (eval $ac_compile) 2>conftest.er1
67301 ac_status=$?
67302 grep -v '^ *+' conftest.er1 >conftest.err
67303 rm -f conftest.er1
67304 cat conftest.err >&5
67305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67306 (exit $ac_status); } &&
67307 { ac_try='test -z "$ac_cxx_werror_flag"
67308 || test ! -s conftest.err'
67309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67310 (eval $ac_try) 2>&5
67311 ac_status=$?
67312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313 (exit $ac_status); }; } &&
67314 { ac_try='test -s conftest.$ac_objext'
67315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67316 (eval $ac_try) 2>&5
67317 ac_status=$?
67318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319 (exit $ac_status); }; }; then
67320 glibcxx_cv_func_float_trig_use=yes
67321 else
67322 echo "$as_me: failed program was:" >&5
67323 sed 's/^/| /' conftest.$ac_ext >&5
67325 glibcxx_cv_func_float_trig_use=no
67327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67328 ac_ext=c
67329 ac_cpp='$CPP $CPPFLAGS'
67330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67337 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67338 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67348 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67351 echo "$as_me:$LINENO: checking for $ac_func" >&5
67352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67353 if eval "test \"\${$as_ac_var+set}\" = set"; then
67354 echo $ECHO_N "(cached) $ECHO_C" >&6
67355 else
67356 if test x$gcc_no_link = xyes; then
67357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67359 { (exit 1); exit 1; }; }
67361 cat >conftest.$ac_ext <<_ACEOF
67362 /* confdefs.h. */
67363 _ACEOF
67364 cat confdefs.h >>conftest.$ac_ext
67365 cat >>conftest.$ac_ext <<_ACEOF
67366 /* end confdefs.h. */
67367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67369 #define $ac_func innocuous_$ac_func
67371 /* System header to define __stub macros and hopefully few prototypes,
67372 which can conflict with char $ac_func (); below.
67373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67374 <limits.h> exists even on freestanding compilers. */
67376 #ifdef __STDC__
67377 # include <limits.h>
67378 #else
67379 # include <assert.h>
67380 #endif
67382 #undef $ac_func
67384 /* Override any gcc2 internal prototype to avoid an error. */
67385 #ifdef __cplusplus
67386 extern "C"
67388 #endif
67389 /* We use char because int might match the return type of a gcc2
67390 builtin and then its argument prototype would still apply. */
67391 char $ac_func ();
67392 /* The GNU C library defines this for functions which it implements
67393 to always fail with ENOSYS. Some functions are actually named
67394 something starting with __ and the normal name is an alias. */
67395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67396 choke me
67397 #else
67398 char (*f) () = $ac_func;
67399 #endif
67400 #ifdef __cplusplus
67402 #endif
67405 main ()
67407 return f != $ac_func;
67409 return 0;
67411 _ACEOF
67412 rm -f conftest.$ac_objext conftest$ac_exeext
67413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67414 (eval $ac_link) 2>conftest.er1
67415 ac_status=$?
67416 grep -v '^ *+' conftest.er1 >conftest.err
67417 rm -f conftest.er1
67418 cat conftest.err >&5
67419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67420 (exit $ac_status); } &&
67421 { ac_try='test -z "$ac_c_werror_flag"
67422 || test ! -s conftest.err'
67423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67424 (eval $ac_try) 2>&5
67425 ac_status=$?
67426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67427 (exit $ac_status); }; } &&
67428 { ac_try='test -s conftest$ac_exeext'
67429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67430 (eval $ac_try) 2>&5
67431 ac_status=$?
67432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67433 (exit $ac_status); }; }; then
67434 eval "$as_ac_var=yes"
67435 else
67436 echo "$as_me: failed program was:" >&5
67437 sed 's/^/| /' conftest.$ac_ext >&5
67439 eval "$as_ac_var=no"
67441 rm -f conftest.err conftest.$ac_objext \
67442 conftest$ac_exeext conftest.$ac_ext
67444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67446 if test `eval echo '${'$as_ac_var'}'` = yes; then
67447 cat >>confdefs.h <<_ACEOF
67448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67449 _ACEOF
67452 done
67454 else
67455 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67456 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67457 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67458 echo $ECHO_N "(cached) $ECHO_C" >&6
67459 else
67463 ac_ext=cc
67464 ac_cpp='$CXXCPP $CPPFLAGS'
67465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67469 cat >conftest.$ac_ext <<_ACEOF
67470 /* confdefs.h. */
67471 _ACEOF
67472 cat confdefs.h >>conftest.$ac_ext
67473 cat >>conftest.$ac_ext <<_ACEOF
67474 /* end confdefs.h. */
67475 #include <math.h>
67477 main ()
67479 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67481 return 0;
67483 _ACEOF
67484 rm -f conftest.$ac_objext
67485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67486 (eval $ac_compile) 2>conftest.er1
67487 ac_status=$?
67488 grep -v '^ *+' conftest.er1 >conftest.err
67489 rm -f conftest.er1
67490 cat conftest.err >&5
67491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67492 (exit $ac_status); } &&
67493 { ac_try='test -z "$ac_cxx_werror_flag"
67494 || test ! -s conftest.err'
67495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67496 (eval $ac_try) 2>&5
67497 ac_status=$?
67498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67499 (exit $ac_status); }; } &&
67500 { ac_try='test -s conftest.$ac_objext'
67501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67502 (eval $ac_try) 2>&5
67503 ac_status=$?
67504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67505 (exit $ac_status); }; }; then
67506 glibcxx_cv_func__float_trig_use=yes
67507 else
67508 echo "$as_me: failed program was:" >&5
67509 sed 's/^/| /' conftest.$ac_ext >&5
67511 glibcxx_cv_func__float_trig_use=no
67513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67514 ac_ext=c
67515 ac_cpp='$CPP $CPPFLAGS'
67516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67522 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67523 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67524 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67534 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67537 echo "$as_me:$LINENO: checking for $ac_func" >&5
67538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67539 if eval "test \"\${$as_ac_var+set}\" = set"; then
67540 echo $ECHO_N "(cached) $ECHO_C" >&6
67541 else
67542 if test x$gcc_no_link = xyes; then
67543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67545 { (exit 1); exit 1; }; }
67547 cat >conftest.$ac_ext <<_ACEOF
67548 /* confdefs.h. */
67549 _ACEOF
67550 cat confdefs.h >>conftest.$ac_ext
67551 cat >>conftest.$ac_ext <<_ACEOF
67552 /* end confdefs.h. */
67553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67555 #define $ac_func innocuous_$ac_func
67557 /* System header to define __stub macros and hopefully few prototypes,
67558 which can conflict with char $ac_func (); below.
67559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67560 <limits.h> exists even on freestanding compilers. */
67562 #ifdef __STDC__
67563 # include <limits.h>
67564 #else
67565 # include <assert.h>
67566 #endif
67568 #undef $ac_func
67570 /* Override any gcc2 internal prototype to avoid an error. */
67571 #ifdef __cplusplus
67572 extern "C"
67574 #endif
67575 /* We use char because int might match the return type of a gcc2
67576 builtin and then its argument prototype would still apply. */
67577 char $ac_func ();
67578 /* The GNU C library defines this for functions which it implements
67579 to always fail with ENOSYS. Some functions are actually named
67580 something starting with __ and the normal name is an alias. */
67581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67582 choke me
67583 #else
67584 char (*f) () = $ac_func;
67585 #endif
67586 #ifdef __cplusplus
67588 #endif
67591 main ()
67593 return f != $ac_func;
67595 return 0;
67597 _ACEOF
67598 rm -f conftest.$ac_objext conftest$ac_exeext
67599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67600 (eval $ac_link) 2>conftest.er1
67601 ac_status=$?
67602 grep -v '^ *+' conftest.er1 >conftest.err
67603 rm -f conftest.er1
67604 cat conftest.err >&5
67605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67606 (exit $ac_status); } &&
67607 { ac_try='test -z "$ac_c_werror_flag"
67608 || test ! -s conftest.err'
67609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67610 (eval $ac_try) 2>&5
67611 ac_status=$?
67612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67613 (exit $ac_status); }; } &&
67614 { ac_try='test -s conftest$ac_exeext'
67615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67616 (eval $ac_try) 2>&5
67617 ac_status=$?
67618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67619 (exit $ac_status); }; }; then
67620 eval "$as_ac_var=yes"
67621 else
67622 echo "$as_me: failed program was:" >&5
67623 sed 's/^/| /' conftest.$ac_ext >&5
67625 eval "$as_ac_var=no"
67627 rm -f conftest.err conftest.$ac_objext \
67628 conftest$ac_exeext conftest.$ac_ext
67630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67632 if test `eval echo '${'$as_ac_var'}'` = yes; then
67633 cat >>confdefs.h <<_ACEOF
67634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67635 _ACEOF
67638 done
67656 echo "$as_me:$LINENO: checking for float round functions" >&5
67657 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67658 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67659 echo $ECHO_N "(cached) $ECHO_C" >&6
67660 else
67664 ac_ext=cc
67665 ac_cpp='$CXXCPP $CPPFLAGS'
67666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67670 cat >conftest.$ac_ext <<_ACEOF
67671 /* confdefs.h. */
67672 _ACEOF
67673 cat confdefs.h >>conftest.$ac_ext
67674 cat >>conftest.$ac_ext <<_ACEOF
67675 /* end confdefs.h. */
67676 #include <math.h>
67678 main ()
67680 ceilf (0); floorf (0);
67682 return 0;
67684 _ACEOF
67685 rm -f conftest.$ac_objext
67686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67687 (eval $ac_compile) 2>conftest.er1
67688 ac_status=$?
67689 grep -v '^ *+' conftest.er1 >conftest.err
67690 rm -f conftest.er1
67691 cat conftest.err >&5
67692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67693 (exit $ac_status); } &&
67694 { ac_try='test -z "$ac_cxx_werror_flag"
67695 || test ! -s conftest.err'
67696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67697 (eval $ac_try) 2>&5
67698 ac_status=$?
67699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67700 (exit $ac_status); }; } &&
67701 { ac_try='test -s conftest.$ac_objext'
67702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67703 (eval $ac_try) 2>&5
67704 ac_status=$?
67705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67706 (exit $ac_status); }; }; then
67707 glibcxx_cv_func_float_round_use=yes
67708 else
67709 echo "$as_me: failed program was:" >&5
67710 sed 's/^/| /' conftest.$ac_ext >&5
67712 glibcxx_cv_func_float_round_use=no
67714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67715 ac_ext=c
67716 ac_cpp='$CPP $CPPFLAGS'
67717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67724 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67725 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67728 for ac_func in ceilf floorf
67730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67731 echo "$as_me:$LINENO: checking for $ac_func" >&5
67732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67733 if eval "test \"\${$as_ac_var+set}\" = set"; then
67734 echo $ECHO_N "(cached) $ECHO_C" >&6
67735 else
67736 if test x$gcc_no_link = xyes; then
67737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67739 { (exit 1); exit 1; }; }
67741 cat >conftest.$ac_ext <<_ACEOF
67742 /* confdefs.h. */
67743 _ACEOF
67744 cat confdefs.h >>conftest.$ac_ext
67745 cat >>conftest.$ac_ext <<_ACEOF
67746 /* end confdefs.h. */
67747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67749 #define $ac_func innocuous_$ac_func
67751 /* System header to define __stub macros and hopefully few prototypes,
67752 which can conflict with char $ac_func (); below.
67753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67754 <limits.h> exists even on freestanding compilers. */
67756 #ifdef __STDC__
67757 # include <limits.h>
67758 #else
67759 # include <assert.h>
67760 #endif
67762 #undef $ac_func
67764 /* Override any gcc2 internal prototype to avoid an error. */
67765 #ifdef __cplusplus
67766 extern "C"
67768 #endif
67769 /* We use char because int might match the return type of a gcc2
67770 builtin and then its argument prototype would still apply. */
67771 char $ac_func ();
67772 /* The GNU C library defines this for functions which it implements
67773 to always fail with ENOSYS. Some functions are actually named
67774 something starting with __ and the normal name is an alias. */
67775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67776 choke me
67777 #else
67778 char (*f) () = $ac_func;
67779 #endif
67780 #ifdef __cplusplus
67782 #endif
67785 main ()
67787 return f != $ac_func;
67789 return 0;
67791 _ACEOF
67792 rm -f conftest.$ac_objext conftest$ac_exeext
67793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67794 (eval $ac_link) 2>conftest.er1
67795 ac_status=$?
67796 grep -v '^ *+' conftest.er1 >conftest.err
67797 rm -f conftest.er1
67798 cat conftest.err >&5
67799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800 (exit $ac_status); } &&
67801 { ac_try='test -z "$ac_c_werror_flag"
67802 || test ! -s conftest.err'
67803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67804 (eval $ac_try) 2>&5
67805 ac_status=$?
67806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67807 (exit $ac_status); }; } &&
67808 { ac_try='test -s conftest$ac_exeext'
67809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67810 (eval $ac_try) 2>&5
67811 ac_status=$?
67812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67813 (exit $ac_status); }; }; then
67814 eval "$as_ac_var=yes"
67815 else
67816 echo "$as_me: failed program was:" >&5
67817 sed 's/^/| /' conftest.$ac_ext >&5
67819 eval "$as_ac_var=no"
67821 rm -f conftest.err conftest.$ac_objext \
67822 conftest$ac_exeext conftest.$ac_ext
67824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67826 if test `eval echo '${'$as_ac_var'}'` = yes; then
67827 cat >>confdefs.h <<_ACEOF
67828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67829 _ACEOF
67832 done
67834 else
67835 echo "$as_me:$LINENO: checking for _float round functions" >&5
67836 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67837 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67838 echo $ECHO_N "(cached) $ECHO_C" >&6
67839 else
67843 ac_ext=cc
67844 ac_cpp='$CXXCPP $CPPFLAGS'
67845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67849 cat >conftest.$ac_ext <<_ACEOF
67850 /* confdefs.h. */
67851 _ACEOF
67852 cat confdefs.h >>conftest.$ac_ext
67853 cat >>conftest.$ac_ext <<_ACEOF
67854 /* end confdefs.h. */
67855 #include <math.h>
67857 main ()
67859 _ceilf (0); _floorf (0);
67861 return 0;
67863 _ACEOF
67864 rm -f conftest.$ac_objext
67865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67866 (eval $ac_compile) 2>conftest.er1
67867 ac_status=$?
67868 grep -v '^ *+' conftest.er1 >conftest.err
67869 rm -f conftest.er1
67870 cat conftest.err >&5
67871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872 (exit $ac_status); } &&
67873 { ac_try='test -z "$ac_cxx_werror_flag"
67874 || test ! -s conftest.err'
67875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67876 (eval $ac_try) 2>&5
67877 ac_status=$?
67878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67879 (exit $ac_status); }; } &&
67880 { ac_try='test -s conftest.$ac_objext'
67881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67882 (eval $ac_try) 2>&5
67883 ac_status=$?
67884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67885 (exit $ac_status); }; }; then
67886 glibcxx_cv_func__float_round_use=yes
67887 else
67888 echo "$as_me: failed program was:" >&5
67889 sed 's/^/| /' conftest.$ac_ext >&5
67891 glibcxx_cv_func__float_round_use=no
67893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67894 ac_ext=c
67895 ac_cpp='$CPP $CPPFLAGS'
67896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67903 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67904 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67907 for ac_func in _ceilf _floorf
67909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67910 echo "$as_me:$LINENO: checking for $ac_func" >&5
67911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67912 if eval "test \"\${$as_ac_var+set}\" = set"; then
67913 echo $ECHO_N "(cached) $ECHO_C" >&6
67914 else
67915 if test x$gcc_no_link = xyes; then
67916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67918 { (exit 1); exit 1; }; }
67920 cat >conftest.$ac_ext <<_ACEOF
67921 /* confdefs.h. */
67922 _ACEOF
67923 cat confdefs.h >>conftest.$ac_ext
67924 cat >>conftest.$ac_ext <<_ACEOF
67925 /* end confdefs.h. */
67926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67928 #define $ac_func innocuous_$ac_func
67930 /* System header to define __stub macros and hopefully few prototypes,
67931 which can conflict with char $ac_func (); below.
67932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67933 <limits.h> exists even on freestanding compilers. */
67935 #ifdef __STDC__
67936 # include <limits.h>
67937 #else
67938 # include <assert.h>
67939 #endif
67941 #undef $ac_func
67943 /* Override any gcc2 internal prototype to avoid an error. */
67944 #ifdef __cplusplus
67945 extern "C"
67947 #endif
67948 /* We use char because int might match the return type of a gcc2
67949 builtin and then its argument prototype would still apply. */
67950 char $ac_func ();
67951 /* The GNU C library defines this for functions which it implements
67952 to always fail with ENOSYS. Some functions are actually named
67953 something starting with __ and the normal name is an alias. */
67954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67955 choke me
67956 #else
67957 char (*f) () = $ac_func;
67958 #endif
67959 #ifdef __cplusplus
67961 #endif
67964 main ()
67966 return f != $ac_func;
67968 return 0;
67970 _ACEOF
67971 rm -f conftest.$ac_objext conftest$ac_exeext
67972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67973 (eval $ac_link) 2>conftest.er1
67974 ac_status=$?
67975 grep -v '^ *+' conftest.er1 >conftest.err
67976 rm -f conftest.er1
67977 cat conftest.err >&5
67978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67979 (exit $ac_status); } &&
67980 { ac_try='test -z "$ac_c_werror_flag"
67981 || test ! -s conftest.err'
67982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67983 (eval $ac_try) 2>&5
67984 ac_status=$?
67985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67986 (exit $ac_status); }; } &&
67987 { ac_try='test -s conftest$ac_exeext'
67988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67989 (eval $ac_try) 2>&5
67990 ac_status=$?
67991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67992 (exit $ac_status); }; }; then
67993 eval "$as_ac_var=yes"
67994 else
67995 echo "$as_me: failed program was:" >&5
67996 sed 's/^/| /' conftest.$ac_ext >&5
67998 eval "$as_ac_var=no"
68000 rm -f conftest.err conftest.$ac_objext \
68001 conftest$ac_exeext conftest.$ac_ext
68003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68005 if test `eval echo '${'$as_ac_var'}'` = yes; then
68006 cat >>confdefs.h <<_ACEOF
68007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68008 _ACEOF
68011 done
68023 echo "$as_me:$LINENO: checking for expf declaration" >&5
68024 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68025 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68026 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68027 echo $ECHO_N "(cached) $ECHO_C" >&6
68028 else
68032 ac_ext=cc
68033 ac_cpp='$CXXCPP $CPPFLAGS'
68034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68038 cat >conftest.$ac_ext <<_ACEOF
68039 /* confdefs.h. */
68040 _ACEOF
68041 cat confdefs.h >>conftest.$ac_ext
68042 cat >>conftest.$ac_ext <<_ACEOF
68043 /* end confdefs.h. */
68044 #include <math.h>
68045 #ifdef HAVE_IEEEFP_H
68046 #include <ieeefp.h>
68047 #endif
68050 main ()
68052 expf(0);
68054 return 0;
68056 _ACEOF
68057 rm -f conftest.$ac_objext
68058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68059 (eval $ac_compile) 2>conftest.er1
68060 ac_status=$?
68061 grep -v '^ *+' conftest.er1 >conftest.err
68062 rm -f conftest.er1
68063 cat conftest.err >&5
68064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68065 (exit $ac_status); } &&
68066 { ac_try='test -z "$ac_cxx_werror_flag"
68067 || test ! -s conftest.err'
68068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68069 (eval $ac_try) 2>&5
68070 ac_status=$?
68071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68072 (exit $ac_status); }; } &&
68073 { ac_try='test -s conftest.$ac_objext'
68074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68075 (eval $ac_try) 2>&5
68076 ac_status=$?
68077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68078 (exit $ac_status); }; }; then
68079 glibcxx_cv_func_expf_use=yes
68080 else
68081 echo "$as_me: failed program was:" >&5
68082 sed 's/^/| /' conftest.$ac_ext >&5
68084 glibcxx_cv_func_expf_use=no
68086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68087 ac_ext=c
68088 ac_cpp='$CPP $CPPFLAGS'
68089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68098 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68100 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68102 for ac_func in expf
68104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68105 echo "$as_me:$LINENO: checking for $ac_func" >&5
68106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68107 if eval "test \"\${$as_ac_var+set}\" = set"; then
68108 echo $ECHO_N "(cached) $ECHO_C" >&6
68109 else
68110 if test x$gcc_no_link = xyes; then
68111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68113 { (exit 1); exit 1; }; }
68115 cat >conftest.$ac_ext <<_ACEOF
68116 /* confdefs.h. */
68117 _ACEOF
68118 cat confdefs.h >>conftest.$ac_ext
68119 cat >>conftest.$ac_ext <<_ACEOF
68120 /* end confdefs.h. */
68121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68123 #define $ac_func innocuous_$ac_func
68125 /* System header to define __stub macros and hopefully few prototypes,
68126 which can conflict with char $ac_func (); below.
68127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68128 <limits.h> exists even on freestanding compilers. */
68130 #ifdef __STDC__
68131 # include <limits.h>
68132 #else
68133 # include <assert.h>
68134 #endif
68136 #undef $ac_func
68138 /* Override any gcc2 internal prototype to avoid an error. */
68139 #ifdef __cplusplus
68140 extern "C"
68142 #endif
68143 /* We use char because int might match the return type of a gcc2
68144 builtin and then its argument prototype would still apply. */
68145 char $ac_func ();
68146 /* The GNU C library defines this for functions which it implements
68147 to always fail with ENOSYS. Some functions are actually named
68148 something starting with __ and the normal name is an alias. */
68149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68150 choke me
68151 #else
68152 char (*f) () = $ac_func;
68153 #endif
68154 #ifdef __cplusplus
68156 #endif
68159 main ()
68161 return f != $ac_func;
68163 return 0;
68165 _ACEOF
68166 rm -f conftest.$ac_objext conftest$ac_exeext
68167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68168 (eval $ac_link) 2>conftest.er1
68169 ac_status=$?
68170 grep -v '^ *+' conftest.er1 >conftest.err
68171 rm -f conftest.er1
68172 cat conftest.err >&5
68173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174 (exit $ac_status); } &&
68175 { ac_try='test -z "$ac_c_werror_flag"
68176 || test ! -s conftest.err'
68177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68178 (eval $ac_try) 2>&5
68179 ac_status=$?
68180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68181 (exit $ac_status); }; } &&
68182 { ac_try='test -s conftest$ac_exeext'
68183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68184 (eval $ac_try) 2>&5
68185 ac_status=$?
68186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68187 (exit $ac_status); }; }; then
68188 eval "$as_ac_var=yes"
68189 else
68190 echo "$as_me: failed program was:" >&5
68191 sed 's/^/| /' conftest.$ac_ext >&5
68193 eval "$as_ac_var=no"
68195 rm -f conftest.err conftest.$ac_objext \
68196 conftest$ac_exeext conftest.$ac_ext
68198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68200 if test `eval echo '${'$as_ac_var'}'` = yes; then
68201 cat >>confdefs.h <<_ACEOF
68202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68203 _ACEOF
68206 done
68208 else
68210 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68211 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68212 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68213 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68214 echo $ECHO_N "(cached) $ECHO_C" >&6
68215 else
68219 ac_ext=cc
68220 ac_cpp='$CXXCPP $CPPFLAGS'
68221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225 cat >conftest.$ac_ext <<_ACEOF
68226 /* confdefs.h. */
68227 _ACEOF
68228 cat confdefs.h >>conftest.$ac_ext
68229 cat >>conftest.$ac_ext <<_ACEOF
68230 /* end confdefs.h. */
68231 #include <math.h>
68232 #ifdef HAVE_IEEEFP_H
68233 #include <ieeefp.h>
68234 #endif
68237 main ()
68239 _expf(0);
68241 return 0;
68243 _ACEOF
68244 rm -f conftest.$ac_objext
68245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68246 (eval $ac_compile) 2>conftest.er1
68247 ac_status=$?
68248 grep -v '^ *+' conftest.er1 >conftest.err
68249 rm -f conftest.er1
68250 cat conftest.err >&5
68251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252 (exit $ac_status); } &&
68253 { ac_try='test -z "$ac_cxx_werror_flag"
68254 || test ! -s conftest.err'
68255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68256 (eval $ac_try) 2>&5
68257 ac_status=$?
68258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68259 (exit $ac_status); }; } &&
68260 { ac_try='test -s conftest.$ac_objext'
68261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68262 (eval $ac_try) 2>&5
68263 ac_status=$?
68264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68265 (exit $ac_status); }; }; then
68266 glibcxx_cv_func__expf_use=yes
68267 else
68268 echo "$as_me: failed program was:" >&5
68269 sed 's/^/| /' conftest.$ac_ext >&5
68271 glibcxx_cv_func__expf_use=no
68273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68274 ac_ext=c
68275 ac_cpp='$CPP $CPPFLAGS'
68276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68285 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68287 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68289 for ac_func in _expf
68291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68292 echo "$as_me:$LINENO: checking for $ac_func" >&5
68293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68294 if eval "test \"\${$as_ac_var+set}\" = set"; then
68295 echo $ECHO_N "(cached) $ECHO_C" >&6
68296 else
68297 if test x$gcc_no_link = xyes; then
68298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68300 { (exit 1); exit 1; }; }
68302 cat >conftest.$ac_ext <<_ACEOF
68303 /* confdefs.h. */
68304 _ACEOF
68305 cat confdefs.h >>conftest.$ac_ext
68306 cat >>conftest.$ac_ext <<_ACEOF
68307 /* end confdefs.h. */
68308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68310 #define $ac_func innocuous_$ac_func
68312 /* System header to define __stub macros and hopefully few prototypes,
68313 which can conflict with char $ac_func (); below.
68314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68315 <limits.h> exists even on freestanding compilers. */
68317 #ifdef __STDC__
68318 # include <limits.h>
68319 #else
68320 # include <assert.h>
68321 #endif
68323 #undef $ac_func
68325 /* Override any gcc2 internal prototype to avoid an error. */
68326 #ifdef __cplusplus
68327 extern "C"
68329 #endif
68330 /* We use char because int might match the return type of a gcc2
68331 builtin and then its argument prototype would still apply. */
68332 char $ac_func ();
68333 /* The GNU C library defines this for functions which it implements
68334 to always fail with ENOSYS. Some functions are actually named
68335 something starting with __ and the normal name is an alias. */
68336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68337 choke me
68338 #else
68339 char (*f) () = $ac_func;
68340 #endif
68341 #ifdef __cplusplus
68343 #endif
68346 main ()
68348 return f != $ac_func;
68350 return 0;
68352 _ACEOF
68353 rm -f conftest.$ac_objext conftest$ac_exeext
68354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68355 (eval $ac_link) 2>conftest.er1
68356 ac_status=$?
68357 grep -v '^ *+' conftest.er1 >conftest.err
68358 rm -f conftest.er1
68359 cat conftest.err >&5
68360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68361 (exit $ac_status); } &&
68362 { ac_try='test -z "$ac_c_werror_flag"
68363 || test ! -s conftest.err'
68364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68365 (eval $ac_try) 2>&5
68366 ac_status=$?
68367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68368 (exit $ac_status); }; } &&
68369 { ac_try='test -s conftest$ac_exeext'
68370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68371 (eval $ac_try) 2>&5
68372 ac_status=$?
68373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68374 (exit $ac_status); }; }; then
68375 eval "$as_ac_var=yes"
68376 else
68377 echo "$as_me: failed program was:" >&5
68378 sed 's/^/| /' conftest.$ac_ext >&5
68380 eval "$as_ac_var=no"
68382 rm -f conftest.err conftest.$ac_objext \
68383 conftest$ac_exeext conftest.$ac_ext
68385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68387 if test `eval echo '${'$as_ac_var'}'` = yes; then
68388 cat >>confdefs.h <<_ACEOF
68389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68390 _ACEOF
68393 done
68403 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68404 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68405 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68406 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68407 echo $ECHO_N "(cached) $ECHO_C" >&6
68408 else
68412 ac_ext=cc
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68418 cat >conftest.$ac_ext <<_ACEOF
68419 /* confdefs.h. */
68420 _ACEOF
68421 cat confdefs.h >>conftest.$ac_ext
68422 cat >>conftest.$ac_ext <<_ACEOF
68423 /* end confdefs.h. */
68424 #include <math.h>
68425 #ifdef HAVE_IEEEFP_H
68426 #include <ieeefp.h>
68427 #endif
68430 main ()
68432 isnanf(0);
68434 return 0;
68436 _ACEOF
68437 rm -f conftest.$ac_objext
68438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68439 (eval $ac_compile) 2>conftest.er1
68440 ac_status=$?
68441 grep -v '^ *+' conftest.er1 >conftest.err
68442 rm -f conftest.er1
68443 cat conftest.err >&5
68444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445 (exit $ac_status); } &&
68446 { ac_try='test -z "$ac_cxx_werror_flag"
68447 || test ! -s conftest.err'
68448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68449 (eval $ac_try) 2>&5
68450 ac_status=$?
68451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68452 (exit $ac_status); }; } &&
68453 { ac_try='test -s conftest.$ac_objext'
68454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68455 (eval $ac_try) 2>&5
68456 ac_status=$?
68457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68458 (exit $ac_status); }; }; then
68459 glibcxx_cv_func_isnanf_use=yes
68460 else
68461 echo "$as_me: failed program was:" >&5
68462 sed 's/^/| /' conftest.$ac_ext >&5
68464 glibcxx_cv_func_isnanf_use=no
68466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68467 ac_ext=c
68468 ac_cpp='$CPP $CPPFLAGS'
68469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68478 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68480 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68482 for ac_func in isnanf
68484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68485 echo "$as_me:$LINENO: checking for $ac_func" >&5
68486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68487 if eval "test \"\${$as_ac_var+set}\" = set"; then
68488 echo $ECHO_N "(cached) $ECHO_C" >&6
68489 else
68490 if test x$gcc_no_link = xyes; then
68491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68493 { (exit 1); exit 1; }; }
68495 cat >conftest.$ac_ext <<_ACEOF
68496 /* confdefs.h. */
68497 _ACEOF
68498 cat confdefs.h >>conftest.$ac_ext
68499 cat >>conftest.$ac_ext <<_ACEOF
68500 /* end confdefs.h. */
68501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68503 #define $ac_func innocuous_$ac_func
68505 /* System header to define __stub macros and hopefully few prototypes,
68506 which can conflict with char $ac_func (); below.
68507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68508 <limits.h> exists even on freestanding compilers. */
68510 #ifdef __STDC__
68511 # include <limits.h>
68512 #else
68513 # include <assert.h>
68514 #endif
68516 #undef $ac_func
68518 /* Override any gcc2 internal prototype to avoid an error. */
68519 #ifdef __cplusplus
68520 extern "C"
68522 #endif
68523 /* We use char because int might match the return type of a gcc2
68524 builtin and then its argument prototype would still apply. */
68525 char $ac_func ();
68526 /* The GNU C library defines this for functions which it implements
68527 to always fail with ENOSYS. Some functions are actually named
68528 something starting with __ and the normal name is an alias. */
68529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68530 choke me
68531 #else
68532 char (*f) () = $ac_func;
68533 #endif
68534 #ifdef __cplusplus
68536 #endif
68539 main ()
68541 return f != $ac_func;
68543 return 0;
68545 _ACEOF
68546 rm -f conftest.$ac_objext conftest$ac_exeext
68547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68548 (eval $ac_link) 2>conftest.er1
68549 ac_status=$?
68550 grep -v '^ *+' conftest.er1 >conftest.err
68551 rm -f conftest.er1
68552 cat conftest.err >&5
68553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554 (exit $ac_status); } &&
68555 { ac_try='test -z "$ac_c_werror_flag"
68556 || test ! -s conftest.err'
68557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68558 (eval $ac_try) 2>&5
68559 ac_status=$?
68560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68561 (exit $ac_status); }; } &&
68562 { ac_try='test -s conftest$ac_exeext'
68563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68564 (eval $ac_try) 2>&5
68565 ac_status=$?
68566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68567 (exit $ac_status); }; }; then
68568 eval "$as_ac_var=yes"
68569 else
68570 echo "$as_me: failed program was:" >&5
68571 sed 's/^/| /' conftest.$ac_ext >&5
68573 eval "$as_ac_var=no"
68575 rm -f conftest.err conftest.$ac_objext \
68576 conftest$ac_exeext conftest.$ac_ext
68578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68580 if test `eval echo '${'$as_ac_var'}'` = yes; then
68581 cat >>confdefs.h <<_ACEOF
68582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68583 _ACEOF
68586 done
68588 else
68590 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68591 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68592 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68593 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68594 echo $ECHO_N "(cached) $ECHO_C" >&6
68595 else
68599 ac_ext=cc
68600 ac_cpp='$CXXCPP $CPPFLAGS'
68601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68605 cat >conftest.$ac_ext <<_ACEOF
68606 /* confdefs.h. */
68607 _ACEOF
68608 cat confdefs.h >>conftest.$ac_ext
68609 cat >>conftest.$ac_ext <<_ACEOF
68610 /* end confdefs.h. */
68611 #include <math.h>
68612 #ifdef HAVE_IEEEFP_H
68613 #include <ieeefp.h>
68614 #endif
68617 main ()
68619 _isnanf(0);
68621 return 0;
68623 _ACEOF
68624 rm -f conftest.$ac_objext
68625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68626 (eval $ac_compile) 2>conftest.er1
68627 ac_status=$?
68628 grep -v '^ *+' conftest.er1 >conftest.err
68629 rm -f conftest.er1
68630 cat conftest.err >&5
68631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632 (exit $ac_status); } &&
68633 { ac_try='test -z "$ac_cxx_werror_flag"
68634 || test ! -s conftest.err'
68635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68636 (eval $ac_try) 2>&5
68637 ac_status=$?
68638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68639 (exit $ac_status); }; } &&
68640 { ac_try='test -s conftest.$ac_objext'
68641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68642 (eval $ac_try) 2>&5
68643 ac_status=$?
68644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68645 (exit $ac_status); }; }; then
68646 glibcxx_cv_func__isnanf_use=yes
68647 else
68648 echo "$as_me: failed program was:" >&5
68649 sed 's/^/| /' conftest.$ac_ext >&5
68651 glibcxx_cv_func__isnanf_use=no
68653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68654 ac_ext=c
68655 ac_cpp='$CPP $CPPFLAGS'
68656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68665 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68667 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68669 for ac_func in _isnanf
68671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68672 echo "$as_me:$LINENO: checking for $ac_func" >&5
68673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68674 if eval "test \"\${$as_ac_var+set}\" = set"; then
68675 echo $ECHO_N "(cached) $ECHO_C" >&6
68676 else
68677 if test x$gcc_no_link = xyes; then
68678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68680 { (exit 1); exit 1; }; }
68682 cat >conftest.$ac_ext <<_ACEOF
68683 /* confdefs.h. */
68684 _ACEOF
68685 cat confdefs.h >>conftest.$ac_ext
68686 cat >>conftest.$ac_ext <<_ACEOF
68687 /* end confdefs.h. */
68688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68690 #define $ac_func innocuous_$ac_func
68692 /* System header to define __stub macros and hopefully few prototypes,
68693 which can conflict with char $ac_func (); below.
68694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68695 <limits.h> exists even on freestanding compilers. */
68697 #ifdef __STDC__
68698 # include <limits.h>
68699 #else
68700 # include <assert.h>
68701 #endif
68703 #undef $ac_func
68705 /* Override any gcc2 internal prototype to avoid an error. */
68706 #ifdef __cplusplus
68707 extern "C"
68709 #endif
68710 /* We use char because int might match the return type of a gcc2
68711 builtin and then its argument prototype would still apply. */
68712 char $ac_func ();
68713 /* The GNU C library defines this for functions which it implements
68714 to always fail with ENOSYS. Some functions are actually named
68715 something starting with __ and the normal name is an alias. */
68716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68717 choke me
68718 #else
68719 char (*f) () = $ac_func;
68720 #endif
68721 #ifdef __cplusplus
68723 #endif
68726 main ()
68728 return f != $ac_func;
68730 return 0;
68732 _ACEOF
68733 rm -f conftest.$ac_objext conftest$ac_exeext
68734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68735 (eval $ac_link) 2>conftest.er1
68736 ac_status=$?
68737 grep -v '^ *+' conftest.er1 >conftest.err
68738 rm -f conftest.er1
68739 cat conftest.err >&5
68740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68741 (exit $ac_status); } &&
68742 { ac_try='test -z "$ac_c_werror_flag"
68743 || test ! -s conftest.err'
68744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68745 (eval $ac_try) 2>&5
68746 ac_status=$?
68747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68748 (exit $ac_status); }; } &&
68749 { ac_try='test -s conftest$ac_exeext'
68750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68751 (eval $ac_try) 2>&5
68752 ac_status=$?
68753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68754 (exit $ac_status); }; }; then
68755 eval "$as_ac_var=yes"
68756 else
68757 echo "$as_me: failed program was:" >&5
68758 sed 's/^/| /' conftest.$ac_ext >&5
68760 eval "$as_ac_var=no"
68762 rm -f conftest.err conftest.$ac_objext \
68763 conftest$ac_exeext conftest.$ac_ext
68765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68767 if test `eval echo '${'$as_ac_var'}'` = yes; then
68768 cat >>confdefs.h <<_ACEOF
68769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68770 _ACEOF
68773 done
68783 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68784 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68785 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68786 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68787 echo $ECHO_N "(cached) $ECHO_C" >&6
68788 else
68792 ac_ext=cc
68793 ac_cpp='$CXXCPP $CPPFLAGS'
68794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68798 cat >conftest.$ac_ext <<_ACEOF
68799 /* confdefs.h. */
68800 _ACEOF
68801 cat confdefs.h >>conftest.$ac_ext
68802 cat >>conftest.$ac_ext <<_ACEOF
68803 /* end confdefs.h. */
68804 #include <math.h>
68805 #ifdef HAVE_IEEEFP_H
68806 #include <ieeefp.h>
68807 #endif
68810 main ()
68812 isinff(0);
68814 return 0;
68816 _ACEOF
68817 rm -f conftest.$ac_objext
68818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68819 (eval $ac_compile) 2>conftest.er1
68820 ac_status=$?
68821 grep -v '^ *+' conftest.er1 >conftest.err
68822 rm -f conftest.er1
68823 cat conftest.err >&5
68824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68825 (exit $ac_status); } &&
68826 { ac_try='test -z "$ac_cxx_werror_flag"
68827 || test ! -s conftest.err'
68828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68829 (eval $ac_try) 2>&5
68830 ac_status=$?
68831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68832 (exit $ac_status); }; } &&
68833 { ac_try='test -s conftest.$ac_objext'
68834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68835 (eval $ac_try) 2>&5
68836 ac_status=$?
68837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68838 (exit $ac_status); }; }; then
68839 glibcxx_cv_func_isinff_use=yes
68840 else
68841 echo "$as_me: failed program was:" >&5
68842 sed 's/^/| /' conftest.$ac_ext >&5
68844 glibcxx_cv_func_isinff_use=no
68846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68847 ac_ext=c
68848 ac_cpp='$CPP $CPPFLAGS'
68849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68858 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68860 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68862 for ac_func in isinff
68864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68865 echo "$as_me:$LINENO: checking for $ac_func" >&5
68866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68867 if eval "test \"\${$as_ac_var+set}\" = set"; then
68868 echo $ECHO_N "(cached) $ECHO_C" >&6
68869 else
68870 if test x$gcc_no_link = xyes; then
68871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68873 { (exit 1); exit 1; }; }
68875 cat >conftest.$ac_ext <<_ACEOF
68876 /* confdefs.h. */
68877 _ACEOF
68878 cat confdefs.h >>conftest.$ac_ext
68879 cat >>conftest.$ac_ext <<_ACEOF
68880 /* end confdefs.h. */
68881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68883 #define $ac_func innocuous_$ac_func
68885 /* System header to define __stub macros and hopefully few prototypes,
68886 which can conflict with char $ac_func (); below.
68887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68888 <limits.h> exists even on freestanding compilers. */
68890 #ifdef __STDC__
68891 # include <limits.h>
68892 #else
68893 # include <assert.h>
68894 #endif
68896 #undef $ac_func
68898 /* Override any gcc2 internal prototype to avoid an error. */
68899 #ifdef __cplusplus
68900 extern "C"
68902 #endif
68903 /* We use char because int might match the return type of a gcc2
68904 builtin and then its argument prototype would still apply. */
68905 char $ac_func ();
68906 /* The GNU C library defines this for functions which it implements
68907 to always fail with ENOSYS. Some functions are actually named
68908 something starting with __ and the normal name is an alias. */
68909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68910 choke me
68911 #else
68912 char (*f) () = $ac_func;
68913 #endif
68914 #ifdef __cplusplus
68916 #endif
68919 main ()
68921 return f != $ac_func;
68923 return 0;
68925 _ACEOF
68926 rm -f conftest.$ac_objext conftest$ac_exeext
68927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68928 (eval $ac_link) 2>conftest.er1
68929 ac_status=$?
68930 grep -v '^ *+' conftest.er1 >conftest.err
68931 rm -f conftest.er1
68932 cat conftest.err >&5
68933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68934 (exit $ac_status); } &&
68935 { ac_try='test -z "$ac_c_werror_flag"
68936 || test ! -s conftest.err'
68937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68938 (eval $ac_try) 2>&5
68939 ac_status=$?
68940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68941 (exit $ac_status); }; } &&
68942 { ac_try='test -s conftest$ac_exeext'
68943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68944 (eval $ac_try) 2>&5
68945 ac_status=$?
68946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68947 (exit $ac_status); }; }; then
68948 eval "$as_ac_var=yes"
68949 else
68950 echo "$as_me: failed program was:" >&5
68951 sed 's/^/| /' conftest.$ac_ext >&5
68953 eval "$as_ac_var=no"
68955 rm -f conftest.err conftest.$ac_objext \
68956 conftest$ac_exeext conftest.$ac_ext
68958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68960 if test `eval echo '${'$as_ac_var'}'` = yes; then
68961 cat >>confdefs.h <<_ACEOF
68962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68963 _ACEOF
68966 done
68968 else
68970 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68971 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68972 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68973 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68974 echo $ECHO_N "(cached) $ECHO_C" >&6
68975 else
68979 ac_ext=cc
68980 ac_cpp='$CXXCPP $CPPFLAGS'
68981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68985 cat >conftest.$ac_ext <<_ACEOF
68986 /* confdefs.h. */
68987 _ACEOF
68988 cat confdefs.h >>conftest.$ac_ext
68989 cat >>conftest.$ac_ext <<_ACEOF
68990 /* end confdefs.h. */
68991 #include <math.h>
68992 #ifdef HAVE_IEEEFP_H
68993 #include <ieeefp.h>
68994 #endif
68997 main ()
68999 _isinff(0);
69001 return 0;
69003 _ACEOF
69004 rm -f conftest.$ac_objext
69005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69006 (eval $ac_compile) 2>conftest.er1
69007 ac_status=$?
69008 grep -v '^ *+' conftest.er1 >conftest.err
69009 rm -f conftest.er1
69010 cat conftest.err >&5
69011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69012 (exit $ac_status); } &&
69013 { ac_try='test -z "$ac_cxx_werror_flag"
69014 || test ! -s conftest.err'
69015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69016 (eval $ac_try) 2>&5
69017 ac_status=$?
69018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69019 (exit $ac_status); }; } &&
69020 { ac_try='test -s conftest.$ac_objext'
69021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69022 (eval $ac_try) 2>&5
69023 ac_status=$?
69024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69025 (exit $ac_status); }; }; then
69026 glibcxx_cv_func__isinff_use=yes
69027 else
69028 echo "$as_me: failed program was:" >&5
69029 sed 's/^/| /' conftest.$ac_ext >&5
69031 glibcxx_cv_func__isinff_use=no
69033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69034 ac_ext=c
69035 ac_cpp='$CPP $CPPFLAGS'
69036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69045 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69047 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69049 for ac_func in _isinff
69051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69052 echo "$as_me:$LINENO: checking for $ac_func" >&5
69053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69054 if eval "test \"\${$as_ac_var+set}\" = set"; then
69055 echo $ECHO_N "(cached) $ECHO_C" >&6
69056 else
69057 if test x$gcc_no_link = xyes; then
69058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69060 { (exit 1); exit 1; }; }
69062 cat >conftest.$ac_ext <<_ACEOF
69063 /* confdefs.h. */
69064 _ACEOF
69065 cat confdefs.h >>conftest.$ac_ext
69066 cat >>conftest.$ac_ext <<_ACEOF
69067 /* end confdefs.h. */
69068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69070 #define $ac_func innocuous_$ac_func
69072 /* System header to define __stub macros and hopefully few prototypes,
69073 which can conflict with char $ac_func (); below.
69074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69075 <limits.h> exists even on freestanding compilers. */
69077 #ifdef __STDC__
69078 # include <limits.h>
69079 #else
69080 # include <assert.h>
69081 #endif
69083 #undef $ac_func
69085 /* Override any gcc2 internal prototype to avoid an error. */
69086 #ifdef __cplusplus
69087 extern "C"
69089 #endif
69090 /* We use char because int might match the return type of a gcc2
69091 builtin and then its argument prototype would still apply. */
69092 char $ac_func ();
69093 /* The GNU C library defines this for functions which it implements
69094 to always fail with ENOSYS. Some functions are actually named
69095 something starting with __ and the normal name is an alias. */
69096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69097 choke me
69098 #else
69099 char (*f) () = $ac_func;
69100 #endif
69101 #ifdef __cplusplus
69103 #endif
69106 main ()
69108 return f != $ac_func;
69110 return 0;
69112 _ACEOF
69113 rm -f conftest.$ac_objext conftest$ac_exeext
69114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69115 (eval $ac_link) 2>conftest.er1
69116 ac_status=$?
69117 grep -v '^ *+' conftest.er1 >conftest.err
69118 rm -f conftest.er1
69119 cat conftest.err >&5
69120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69121 (exit $ac_status); } &&
69122 { ac_try='test -z "$ac_c_werror_flag"
69123 || test ! -s conftest.err'
69124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69125 (eval $ac_try) 2>&5
69126 ac_status=$?
69127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69128 (exit $ac_status); }; } &&
69129 { ac_try='test -s conftest$ac_exeext'
69130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69131 (eval $ac_try) 2>&5
69132 ac_status=$?
69133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69134 (exit $ac_status); }; }; then
69135 eval "$as_ac_var=yes"
69136 else
69137 echo "$as_me: failed program was:" >&5
69138 sed 's/^/| /' conftest.$ac_ext >&5
69140 eval "$as_ac_var=no"
69142 rm -f conftest.err conftest.$ac_objext \
69143 conftest$ac_exeext conftest.$ac_ext
69145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69147 if test `eval echo '${'$as_ac_var'}'` = yes; then
69148 cat >>confdefs.h <<_ACEOF
69149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69150 _ACEOF
69153 done
69163 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69164 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69165 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69166 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69167 echo $ECHO_N "(cached) $ECHO_C" >&6
69168 else
69172 ac_ext=cc
69173 ac_cpp='$CXXCPP $CPPFLAGS'
69174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69178 cat >conftest.$ac_ext <<_ACEOF
69179 /* confdefs.h. */
69180 _ACEOF
69181 cat confdefs.h >>conftest.$ac_ext
69182 cat >>conftest.$ac_ext <<_ACEOF
69183 /* end confdefs.h. */
69184 #include <math.h>
69186 main ()
69188 atan2f(0, 0);
69190 return 0;
69192 _ACEOF
69193 rm -f conftest.$ac_objext
69194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69195 (eval $ac_compile) 2>conftest.er1
69196 ac_status=$?
69197 grep -v '^ *+' conftest.er1 >conftest.err
69198 rm -f conftest.er1
69199 cat conftest.err >&5
69200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69201 (exit $ac_status); } &&
69202 { ac_try='test -z "$ac_cxx_werror_flag"
69203 || test ! -s conftest.err'
69204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69205 (eval $ac_try) 2>&5
69206 ac_status=$?
69207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69208 (exit $ac_status); }; } &&
69209 { ac_try='test -s conftest.$ac_objext'
69210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69211 (eval $ac_try) 2>&5
69212 ac_status=$?
69213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69214 (exit $ac_status); }; }; then
69215 glibcxx_cv_func_atan2f_use=yes
69216 else
69217 echo "$as_me: failed program was:" >&5
69218 sed 's/^/| /' conftest.$ac_ext >&5
69220 glibcxx_cv_func_atan2f_use=no
69222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69223 ac_ext=c
69224 ac_cpp='$CPP $CPPFLAGS'
69225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69234 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69236 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69238 for ac_func in atan2f
69240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69241 echo "$as_me:$LINENO: checking for $ac_func" >&5
69242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69243 if eval "test \"\${$as_ac_var+set}\" = set"; then
69244 echo $ECHO_N "(cached) $ECHO_C" >&6
69245 else
69246 if test x$gcc_no_link = xyes; then
69247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69249 { (exit 1); exit 1; }; }
69251 cat >conftest.$ac_ext <<_ACEOF
69252 /* confdefs.h. */
69253 _ACEOF
69254 cat confdefs.h >>conftest.$ac_ext
69255 cat >>conftest.$ac_ext <<_ACEOF
69256 /* end confdefs.h. */
69257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69259 #define $ac_func innocuous_$ac_func
69261 /* System header to define __stub macros and hopefully few prototypes,
69262 which can conflict with char $ac_func (); below.
69263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69264 <limits.h> exists even on freestanding compilers. */
69266 #ifdef __STDC__
69267 # include <limits.h>
69268 #else
69269 # include <assert.h>
69270 #endif
69272 #undef $ac_func
69274 /* Override any gcc2 internal prototype to avoid an error. */
69275 #ifdef __cplusplus
69276 extern "C"
69278 #endif
69279 /* We use char because int might match the return type of a gcc2
69280 builtin and then its argument prototype would still apply. */
69281 char $ac_func ();
69282 /* The GNU C library defines this for functions which it implements
69283 to always fail with ENOSYS. Some functions are actually named
69284 something starting with __ and the normal name is an alias. */
69285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69286 choke me
69287 #else
69288 char (*f) () = $ac_func;
69289 #endif
69290 #ifdef __cplusplus
69292 #endif
69295 main ()
69297 return f != $ac_func;
69299 return 0;
69301 _ACEOF
69302 rm -f conftest.$ac_objext conftest$ac_exeext
69303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69304 (eval $ac_link) 2>conftest.er1
69305 ac_status=$?
69306 grep -v '^ *+' conftest.er1 >conftest.err
69307 rm -f conftest.er1
69308 cat conftest.err >&5
69309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69310 (exit $ac_status); } &&
69311 { ac_try='test -z "$ac_c_werror_flag"
69312 || test ! -s conftest.err'
69313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69314 (eval $ac_try) 2>&5
69315 ac_status=$?
69316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69317 (exit $ac_status); }; } &&
69318 { ac_try='test -s conftest$ac_exeext'
69319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69320 (eval $ac_try) 2>&5
69321 ac_status=$?
69322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69323 (exit $ac_status); }; }; then
69324 eval "$as_ac_var=yes"
69325 else
69326 echo "$as_me: failed program was:" >&5
69327 sed 's/^/| /' conftest.$ac_ext >&5
69329 eval "$as_ac_var=no"
69331 rm -f conftest.err conftest.$ac_objext \
69332 conftest$ac_exeext conftest.$ac_ext
69334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69336 if test `eval echo '${'$as_ac_var'}'` = yes; then
69337 cat >>confdefs.h <<_ACEOF
69338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69339 _ACEOF
69342 done
69344 else
69346 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69347 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69348 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69349 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69350 echo $ECHO_N "(cached) $ECHO_C" >&6
69351 else
69355 ac_ext=cc
69356 ac_cpp='$CXXCPP $CPPFLAGS'
69357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69361 cat >conftest.$ac_ext <<_ACEOF
69362 /* confdefs.h. */
69363 _ACEOF
69364 cat confdefs.h >>conftest.$ac_ext
69365 cat >>conftest.$ac_ext <<_ACEOF
69366 /* end confdefs.h. */
69367 #include <math.h>
69369 main ()
69371 _atan2f(0, 0);
69373 return 0;
69375 _ACEOF
69376 rm -f conftest.$ac_objext
69377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69378 (eval $ac_compile) 2>conftest.er1
69379 ac_status=$?
69380 grep -v '^ *+' conftest.er1 >conftest.err
69381 rm -f conftest.er1
69382 cat conftest.err >&5
69383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384 (exit $ac_status); } &&
69385 { ac_try='test -z "$ac_cxx_werror_flag"
69386 || test ! -s conftest.err'
69387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388 (eval $ac_try) 2>&5
69389 ac_status=$?
69390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391 (exit $ac_status); }; } &&
69392 { ac_try='test -s conftest.$ac_objext'
69393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69394 (eval $ac_try) 2>&5
69395 ac_status=$?
69396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69397 (exit $ac_status); }; }; then
69398 glibcxx_cv_func__atan2f_use=yes
69399 else
69400 echo "$as_me: failed program was:" >&5
69401 sed 's/^/| /' conftest.$ac_ext >&5
69403 glibcxx_cv_func__atan2f_use=no
69405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69406 ac_ext=c
69407 ac_cpp='$CPP $CPPFLAGS'
69408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69417 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69419 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69421 for ac_func in _atan2f
69423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69424 echo "$as_me:$LINENO: checking for $ac_func" >&5
69425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69426 if eval "test \"\${$as_ac_var+set}\" = set"; then
69427 echo $ECHO_N "(cached) $ECHO_C" >&6
69428 else
69429 if test x$gcc_no_link = xyes; then
69430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69432 { (exit 1); exit 1; }; }
69434 cat >conftest.$ac_ext <<_ACEOF
69435 /* confdefs.h. */
69436 _ACEOF
69437 cat confdefs.h >>conftest.$ac_ext
69438 cat >>conftest.$ac_ext <<_ACEOF
69439 /* end confdefs.h. */
69440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69442 #define $ac_func innocuous_$ac_func
69444 /* System header to define __stub macros and hopefully few prototypes,
69445 which can conflict with char $ac_func (); below.
69446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69447 <limits.h> exists even on freestanding compilers. */
69449 #ifdef __STDC__
69450 # include <limits.h>
69451 #else
69452 # include <assert.h>
69453 #endif
69455 #undef $ac_func
69457 /* Override any gcc2 internal prototype to avoid an error. */
69458 #ifdef __cplusplus
69459 extern "C"
69461 #endif
69462 /* We use char because int might match the return type of a gcc2
69463 builtin and then its argument prototype would still apply. */
69464 char $ac_func ();
69465 /* The GNU C library defines this for functions which it implements
69466 to always fail with ENOSYS. Some functions are actually named
69467 something starting with __ and the normal name is an alias. */
69468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69469 choke me
69470 #else
69471 char (*f) () = $ac_func;
69472 #endif
69473 #ifdef __cplusplus
69475 #endif
69478 main ()
69480 return f != $ac_func;
69482 return 0;
69484 _ACEOF
69485 rm -f conftest.$ac_objext conftest$ac_exeext
69486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69487 (eval $ac_link) 2>conftest.er1
69488 ac_status=$?
69489 grep -v '^ *+' conftest.er1 >conftest.err
69490 rm -f conftest.er1
69491 cat conftest.err >&5
69492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69493 (exit $ac_status); } &&
69494 { ac_try='test -z "$ac_c_werror_flag"
69495 || test ! -s conftest.err'
69496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69497 (eval $ac_try) 2>&5
69498 ac_status=$?
69499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69500 (exit $ac_status); }; } &&
69501 { ac_try='test -s conftest$ac_exeext'
69502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69503 (eval $ac_try) 2>&5
69504 ac_status=$?
69505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69506 (exit $ac_status); }; }; then
69507 eval "$as_ac_var=yes"
69508 else
69509 echo "$as_me: failed program was:" >&5
69510 sed 's/^/| /' conftest.$ac_ext >&5
69512 eval "$as_ac_var=no"
69514 rm -f conftest.err conftest.$ac_objext \
69515 conftest$ac_exeext conftest.$ac_ext
69517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69519 if test `eval echo '${'$as_ac_var'}'` = yes; then
69520 cat >>confdefs.h <<_ACEOF
69521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69522 _ACEOF
69525 done
69535 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69536 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69537 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69538 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69539 echo $ECHO_N "(cached) $ECHO_C" >&6
69540 else
69544 ac_ext=cc
69545 ac_cpp='$CXXCPP $CPPFLAGS'
69546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69550 cat >conftest.$ac_ext <<_ACEOF
69551 /* confdefs.h. */
69552 _ACEOF
69553 cat confdefs.h >>conftest.$ac_ext
69554 cat >>conftest.$ac_ext <<_ACEOF
69555 /* end confdefs.h. */
69556 #include <math.h>
69557 #ifdef HAVE_IEEEFP_H
69558 #include <ieeefp.h>
69559 #endif
69562 main ()
69564 fabsf(0);
69566 return 0;
69568 _ACEOF
69569 rm -f conftest.$ac_objext
69570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69571 (eval $ac_compile) 2>conftest.er1
69572 ac_status=$?
69573 grep -v '^ *+' conftest.er1 >conftest.err
69574 rm -f conftest.er1
69575 cat conftest.err >&5
69576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69577 (exit $ac_status); } &&
69578 { ac_try='test -z "$ac_cxx_werror_flag"
69579 || test ! -s conftest.err'
69580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69581 (eval $ac_try) 2>&5
69582 ac_status=$?
69583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69584 (exit $ac_status); }; } &&
69585 { ac_try='test -s conftest.$ac_objext'
69586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69587 (eval $ac_try) 2>&5
69588 ac_status=$?
69589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69590 (exit $ac_status); }; }; then
69591 glibcxx_cv_func_fabsf_use=yes
69592 else
69593 echo "$as_me: failed program was:" >&5
69594 sed 's/^/| /' conftest.$ac_ext >&5
69596 glibcxx_cv_func_fabsf_use=no
69598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69599 ac_ext=c
69600 ac_cpp='$CPP $CPPFLAGS'
69601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69610 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69612 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69614 for ac_func in fabsf
69616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69617 echo "$as_me:$LINENO: checking for $ac_func" >&5
69618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69619 if eval "test \"\${$as_ac_var+set}\" = set"; then
69620 echo $ECHO_N "(cached) $ECHO_C" >&6
69621 else
69622 if test x$gcc_no_link = xyes; then
69623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69625 { (exit 1); exit 1; }; }
69627 cat >conftest.$ac_ext <<_ACEOF
69628 /* confdefs.h. */
69629 _ACEOF
69630 cat confdefs.h >>conftest.$ac_ext
69631 cat >>conftest.$ac_ext <<_ACEOF
69632 /* end confdefs.h. */
69633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69635 #define $ac_func innocuous_$ac_func
69637 /* System header to define __stub macros and hopefully few prototypes,
69638 which can conflict with char $ac_func (); below.
69639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69640 <limits.h> exists even on freestanding compilers. */
69642 #ifdef __STDC__
69643 # include <limits.h>
69644 #else
69645 # include <assert.h>
69646 #endif
69648 #undef $ac_func
69650 /* Override any gcc2 internal prototype to avoid an error. */
69651 #ifdef __cplusplus
69652 extern "C"
69654 #endif
69655 /* We use char because int might match the return type of a gcc2
69656 builtin and then its argument prototype would still apply. */
69657 char $ac_func ();
69658 /* The GNU C library defines this for functions which it implements
69659 to always fail with ENOSYS. Some functions are actually named
69660 something starting with __ and the normal name is an alias. */
69661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69662 choke me
69663 #else
69664 char (*f) () = $ac_func;
69665 #endif
69666 #ifdef __cplusplus
69668 #endif
69671 main ()
69673 return f != $ac_func;
69675 return 0;
69677 _ACEOF
69678 rm -f conftest.$ac_objext conftest$ac_exeext
69679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69680 (eval $ac_link) 2>conftest.er1
69681 ac_status=$?
69682 grep -v '^ *+' conftest.er1 >conftest.err
69683 rm -f conftest.er1
69684 cat conftest.err >&5
69685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69686 (exit $ac_status); } &&
69687 { ac_try='test -z "$ac_c_werror_flag"
69688 || test ! -s conftest.err'
69689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69690 (eval $ac_try) 2>&5
69691 ac_status=$?
69692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69693 (exit $ac_status); }; } &&
69694 { ac_try='test -s conftest$ac_exeext'
69695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69696 (eval $ac_try) 2>&5
69697 ac_status=$?
69698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69699 (exit $ac_status); }; }; then
69700 eval "$as_ac_var=yes"
69701 else
69702 echo "$as_me: failed program was:" >&5
69703 sed 's/^/| /' conftest.$ac_ext >&5
69705 eval "$as_ac_var=no"
69707 rm -f conftest.err conftest.$ac_objext \
69708 conftest$ac_exeext conftest.$ac_ext
69710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69712 if test `eval echo '${'$as_ac_var'}'` = yes; then
69713 cat >>confdefs.h <<_ACEOF
69714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69715 _ACEOF
69718 done
69720 else
69722 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69723 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69724 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69725 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69726 echo $ECHO_N "(cached) $ECHO_C" >&6
69727 else
69731 ac_ext=cc
69732 ac_cpp='$CXXCPP $CPPFLAGS'
69733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69737 cat >conftest.$ac_ext <<_ACEOF
69738 /* confdefs.h. */
69739 _ACEOF
69740 cat confdefs.h >>conftest.$ac_ext
69741 cat >>conftest.$ac_ext <<_ACEOF
69742 /* end confdefs.h. */
69743 #include <math.h>
69744 #ifdef HAVE_IEEEFP_H
69745 #include <ieeefp.h>
69746 #endif
69749 main ()
69751 _fabsf(0);
69753 return 0;
69755 _ACEOF
69756 rm -f conftest.$ac_objext
69757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69758 (eval $ac_compile) 2>conftest.er1
69759 ac_status=$?
69760 grep -v '^ *+' conftest.er1 >conftest.err
69761 rm -f conftest.er1
69762 cat conftest.err >&5
69763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69764 (exit $ac_status); } &&
69765 { ac_try='test -z "$ac_cxx_werror_flag"
69766 || test ! -s conftest.err'
69767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69768 (eval $ac_try) 2>&5
69769 ac_status=$?
69770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69771 (exit $ac_status); }; } &&
69772 { ac_try='test -s conftest.$ac_objext'
69773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69774 (eval $ac_try) 2>&5
69775 ac_status=$?
69776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69777 (exit $ac_status); }; }; then
69778 glibcxx_cv_func__fabsf_use=yes
69779 else
69780 echo "$as_me: failed program was:" >&5
69781 sed 's/^/| /' conftest.$ac_ext >&5
69783 glibcxx_cv_func__fabsf_use=no
69785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69786 ac_ext=c
69787 ac_cpp='$CPP $CPPFLAGS'
69788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69797 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69799 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69801 for ac_func in _fabsf
69803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69804 echo "$as_me:$LINENO: checking for $ac_func" >&5
69805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69806 if eval "test \"\${$as_ac_var+set}\" = set"; then
69807 echo $ECHO_N "(cached) $ECHO_C" >&6
69808 else
69809 if test x$gcc_no_link = xyes; then
69810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69812 { (exit 1); exit 1; }; }
69814 cat >conftest.$ac_ext <<_ACEOF
69815 /* confdefs.h. */
69816 _ACEOF
69817 cat confdefs.h >>conftest.$ac_ext
69818 cat >>conftest.$ac_ext <<_ACEOF
69819 /* end confdefs.h. */
69820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69822 #define $ac_func innocuous_$ac_func
69824 /* System header to define __stub macros and hopefully few prototypes,
69825 which can conflict with char $ac_func (); below.
69826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69827 <limits.h> exists even on freestanding compilers. */
69829 #ifdef __STDC__
69830 # include <limits.h>
69831 #else
69832 # include <assert.h>
69833 #endif
69835 #undef $ac_func
69837 /* Override any gcc2 internal prototype to avoid an error. */
69838 #ifdef __cplusplus
69839 extern "C"
69841 #endif
69842 /* We use char because int might match the return type of a gcc2
69843 builtin and then its argument prototype would still apply. */
69844 char $ac_func ();
69845 /* The GNU C library defines this for functions which it implements
69846 to always fail with ENOSYS. Some functions are actually named
69847 something starting with __ and the normal name is an alias. */
69848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69849 choke me
69850 #else
69851 char (*f) () = $ac_func;
69852 #endif
69853 #ifdef __cplusplus
69855 #endif
69858 main ()
69860 return f != $ac_func;
69862 return 0;
69864 _ACEOF
69865 rm -f conftest.$ac_objext conftest$ac_exeext
69866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69867 (eval $ac_link) 2>conftest.er1
69868 ac_status=$?
69869 grep -v '^ *+' conftest.er1 >conftest.err
69870 rm -f conftest.er1
69871 cat conftest.err >&5
69872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69873 (exit $ac_status); } &&
69874 { ac_try='test -z "$ac_c_werror_flag"
69875 || test ! -s conftest.err'
69876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69877 (eval $ac_try) 2>&5
69878 ac_status=$?
69879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69880 (exit $ac_status); }; } &&
69881 { ac_try='test -s conftest$ac_exeext'
69882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69883 (eval $ac_try) 2>&5
69884 ac_status=$?
69885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69886 (exit $ac_status); }; }; then
69887 eval "$as_ac_var=yes"
69888 else
69889 echo "$as_me: failed program was:" >&5
69890 sed 's/^/| /' conftest.$ac_ext >&5
69892 eval "$as_ac_var=no"
69894 rm -f conftest.err conftest.$ac_objext \
69895 conftest$ac_exeext conftest.$ac_ext
69897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69899 if test `eval echo '${'$as_ac_var'}'` = yes; then
69900 cat >>confdefs.h <<_ACEOF
69901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69902 _ACEOF
69905 done
69915 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69916 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69917 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69918 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69919 echo $ECHO_N "(cached) $ECHO_C" >&6
69920 else
69924 ac_ext=cc
69925 ac_cpp='$CXXCPP $CPPFLAGS'
69926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69930 cat >conftest.$ac_ext <<_ACEOF
69931 /* confdefs.h. */
69932 _ACEOF
69933 cat confdefs.h >>conftest.$ac_ext
69934 cat >>conftest.$ac_ext <<_ACEOF
69935 /* end confdefs.h. */
69936 #include <math.h>
69938 main ()
69940 fmodf(0, 0);
69942 return 0;
69944 _ACEOF
69945 rm -f conftest.$ac_objext
69946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69947 (eval $ac_compile) 2>conftest.er1
69948 ac_status=$?
69949 grep -v '^ *+' conftest.er1 >conftest.err
69950 rm -f conftest.er1
69951 cat conftest.err >&5
69952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69953 (exit $ac_status); } &&
69954 { ac_try='test -z "$ac_cxx_werror_flag"
69955 || test ! -s conftest.err'
69956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69957 (eval $ac_try) 2>&5
69958 ac_status=$?
69959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69960 (exit $ac_status); }; } &&
69961 { ac_try='test -s conftest.$ac_objext'
69962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69963 (eval $ac_try) 2>&5
69964 ac_status=$?
69965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69966 (exit $ac_status); }; }; then
69967 glibcxx_cv_func_fmodf_use=yes
69968 else
69969 echo "$as_me: failed program was:" >&5
69970 sed 's/^/| /' conftest.$ac_ext >&5
69972 glibcxx_cv_func_fmodf_use=no
69974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69975 ac_ext=c
69976 ac_cpp='$CPP $CPPFLAGS'
69977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69986 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69988 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69990 for ac_func in fmodf
69992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69993 echo "$as_me:$LINENO: checking for $ac_func" >&5
69994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69995 if eval "test \"\${$as_ac_var+set}\" = set"; then
69996 echo $ECHO_N "(cached) $ECHO_C" >&6
69997 else
69998 if test x$gcc_no_link = xyes; then
69999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70001 { (exit 1); exit 1; }; }
70003 cat >conftest.$ac_ext <<_ACEOF
70004 /* confdefs.h. */
70005 _ACEOF
70006 cat confdefs.h >>conftest.$ac_ext
70007 cat >>conftest.$ac_ext <<_ACEOF
70008 /* end confdefs.h. */
70009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70011 #define $ac_func innocuous_$ac_func
70013 /* System header to define __stub macros and hopefully few prototypes,
70014 which can conflict with char $ac_func (); below.
70015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70016 <limits.h> exists even on freestanding compilers. */
70018 #ifdef __STDC__
70019 # include <limits.h>
70020 #else
70021 # include <assert.h>
70022 #endif
70024 #undef $ac_func
70026 /* Override any gcc2 internal prototype to avoid an error. */
70027 #ifdef __cplusplus
70028 extern "C"
70030 #endif
70031 /* We use char because int might match the return type of a gcc2
70032 builtin and then its argument prototype would still apply. */
70033 char $ac_func ();
70034 /* The GNU C library defines this for functions which it implements
70035 to always fail with ENOSYS. Some functions are actually named
70036 something starting with __ and the normal name is an alias. */
70037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70038 choke me
70039 #else
70040 char (*f) () = $ac_func;
70041 #endif
70042 #ifdef __cplusplus
70044 #endif
70047 main ()
70049 return f != $ac_func;
70051 return 0;
70053 _ACEOF
70054 rm -f conftest.$ac_objext conftest$ac_exeext
70055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70056 (eval $ac_link) 2>conftest.er1
70057 ac_status=$?
70058 grep -v '^ *+' conftest.er1 >conftest.err
70059 rm -f conftest.er1
70060 cat conftest.err >&5
70061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70062 (exit $ac_status); } &&
70063 { ac_try='test -z "$ac_c_werror_flag"
70064 || test ! -s conftest.err'
70065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70066 (eval $ac_try) 2>&5
70067 ac_status=$?
70068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70069 (exit $ac_status); }; } &&
70070 { ac_try='test -s conftest$ac_exeext'
70071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70072 (eval $ac_try) 2>&5
70073 ac_status=$?
70074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70075 (exit $ac_status); }; }; then
70076 eval "$as_ac_var=yes"
70077 else
70078 echo "$as_me: failed program was:" >&5
70079 sed 's/^/| /' conftest.$ac_ext >&5
70081 eval "$as_ac_var=no"
70083 rm -f conftest.err conftest.$ac_objext \
70084 conftest$ac_exeext conftest.$ac_ext
70086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70088 if test `eval echo '${'$as_ac_var'}'` = yes; then
70089 cat >>confdefs.h <<_ACEOF
70090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70091 _ACEOF
70094 done
70096 else
70098 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70099 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70100 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70101 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70102 echo $ECHO_N "(cached) $ECHO_C" >&6
70103 else
70107 ac_ext=cc
70108 ac_cpp='$CXXCPP $CPPFLAGS'
70109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70113 cat >conftest.$ac_ext <<_ACEOF
70114 /* confdefs.h. */
70115 _ACEOF
70116 cat confdefs.h >>conftest.$ac_ext
70117 cat >>conftest.$ac_ext <<_ACEOF
70118 /* end confdefs.h. */
70119 #include <math.h>
70121 main ()
70123 _fmodf(0, 0);
70125 return 0;
70127 _ACEOF
70128 rm -f conftest.$ac_objext
70129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70130 (eval $ac_compile) 2>conftest.er1
70131 ac_status=$?
70132 grep -v '^ *+' conftest.er1 >conftest.err
70133 rm -f conftest.er1
70134 cat conftest.err >&5
70135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70136 (exit $ac_status); } &&
70137 { ac_try='test -z "$ac_cxx_werror_flag"
70138 || test ! -s conftest.err'
70139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70140 (eval $ac_try) 2>&5
70141 ac_status=$?
70142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70143 (exit $ac_status); }; } &&
70144 { ac_try='test -s conftest.$ac_objext'
70145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70146 (eval $ac_try) 2>&5
70147 ac_status=$?
70148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70149 (exit $ac_status); }; }; then
70150 glibcxx_cv_func__fmodf_use=yes
70151 else
70152 echo "$as_me: failed program was:" >&5
70153 sed 's/^/| /' conftest.$ac_ext >&5
70155 glibcxx_cv_func__fmodf_use=no
70157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70158 ac_ext=c
70159 ac_cpp='$CPP $CPPFLAGS'
70160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70169 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70171 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70173 for ac_func in _fmodf
70175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70176 echo "$as_me:$LINENO: checking for $ac_func" >&5
70177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70178 if eval "test \"\${$as_ac_var+set}\" = set"; then
70179 echo $ECHO_N "(cached) $ECHO_C" >&6
70180 else
70181 if test x$gcc_no_link = xyes; then
70182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70184 { (exit 1); exit 1; }; }
70186 cat >conftest.$ac_ext <<_ACEOF
70187 /* confdefs.h. */
70188 _ACEOF
70189 cat confdefs.h >>conftest.$ac_ext
70190 cat >>conftest.$ac_ext <<_ACEOF
70191 /* end confdefs.h. */
70192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70194 #define $ac_func innocuous_$ac_func
70196 /* System header to define __stub macros and hopefully few prototypes,
70197 which can conflict with char $ac_func (); below.
70198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70199 <limits.h> exists even on freestanding compilers. */
70201 #ifdef __STDC__
70202 # include <limits.h>
70203 #else
70204 # include <assert.h>
70205 #endif
70207 #undef $ac_func
70209 /* Override any gcc2 internal prototype to avoid an error. */
70210 #ifdef __cplusplus
70211 extern "C"
70213 #endif
70214 /* We use char because int might match the return type of a gcc2
70215 builtin and then its argument prototype would still apply. */
70216 char $ac_func ();
70217 /* The GNU C library defines this for functions which it implements
70218 to always fail with ENOSYS. Some functions are actually named
70219 something starting with __ and the normal name is an alias. */
70220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70221 choke me
70222 #else
70223 char (*f) () = $ac_func;
70224 #endif
70225 #ifdef __cplusplus
70227 #endif
70230 main ()
70232 return f != $ac_func;
70234 return 0;
70236 _ACEOF
70237 rm -f conftest.$ac_objext conftest$ac_exeext
70238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70239 (eval $ac_link) 2>conftest.er1
70240 ac_status=$?
70241 grep -v '^ *+' conftest.er1 >conftest.err
70242 rm -f conftest.er1
70243 cat conftest.err >&5
70244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70245 (exit $ac_status); } &&
70246 { ac_try='test -z "$ac_c_werror_flag"
70247 || test ! -s conftest.err'
70248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70249 (eval $ac_try) 2>&5
70250 ac_status=$?
70251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70252 (exit $ac_status); }; } &&
70253 { ac_try='test -s conftest$ac_exeext'
70254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70255 (eval $ac_try) 2>&5
70256 ac_status=$?
70257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70258 (exit $ac_status); }; }; then
70259 eval "$as_ac_var=yes"
70260 else
70261 echo "$as_me: failed program was:" >&5
70262 sed 's/^/| /' conftest.$ac_ext >&5
70264 eval "$as_ac_var=no"
70266 rm -f conftest.err conftest.$ac_objext \
70267 conftest$ac_exeext conftest.$ac_ext
70269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70271 if test `eval echo '${'$as_ac_var'}'` = yes; then
70272 cat >>confdefs.h <<_ACEOF
70273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70274 _ACEOF
70277 done
70287 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70288 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70289 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70290 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70291 echo $ECHO_N "(cached) $ECHO_C" >&6
70292 else
70296 ac_ext=cc
70297 ac_cpp='$CXXCPP $CPPFLAGS'
70298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70302 cat >conftest.$ac_ext <<_ACEOF
70303 /* confdefs.h. */
70304 _ACEOF
70305 cat confdefs.h >>conftest.$ac_ext
70306 cat >>conftest.$ac_ext <<_ACEOF
70307 /* end confdefs.h. */
70308 #include <math.h>
70310 main ()
70312 frexpf(0, 0);
70314 return 0;
70316 _ACEOF
70317 rm -f conftest.$ac_objext
70318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70319 (eval $ac_compile) 2>conftest.er1
70320 ac_status=$?
70321 grep -v '^ *+' conftest.er1 >conftest.err
70322 rm -f conftest.er1
70323 cat conftest.err >&5
70324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70325 (exit $ac_status); } &&
70326 { ac_try='test -z "$ac_cxx_werror_flag"
70327 || test ! -s conftest.err'
70328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70329 (eval $ac_try) 2>&5
70330 ac_status=$?
70331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70332 (exit $ac_status); }; } &&
70333 { ac_try='test -s conftest.$ac_objext'
70334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70335 (eval $ac_try) 2>&5
70336 ac_status=$?
70337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70338 (exit $ac_status); }; }; then
70339 glibcxx_cv_func_frexpf_use=yes
70340 else
70341 echo "$as_me: failed program was:" >&5
70342 sed 's/^/| /' conftest.$ac_ext >&5
70344 glibcxx_cv_func_frexpf_use=no
70346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70347 ac_ext=c
70348 ac_cpp='$CPP $CPPFLAGS'
70349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70358 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70360 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70362 for ac_func in frexpf
70364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70365 echo "$as_me:$LINENO: checking for $ac_func" >&5
70366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70367 if eval "test \"\${$as_ac_var+set}\" = set"; then
70368 echo $ECHO_N "(cached) $ECHO_C" >&6
70369 else
70370 if test x$gcc_no_link = xyes; then
70371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70373 { (exit 1); exit 1; }; }
70375 cat >conftest.$ac_ext <<_ACEOF
70376 /* confdefs.h. */
70377 _ACEOF
70378 cat confdefs.h >>conftest.$ac_ext
70379 cat >>conftest.$ac_ext <<_ACEOF
70380 /* end confdefs.h. */
70381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70383 #define $ac_func innocuous_$ac_func
70385 /* System header to define __stub macros and hopefully few prototypes,
70386 which can conflict with char $ac_func (); below.
70387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70388 <limits.h> exists even on freestanding compilers. */
70390 #ifdef __STDC__
70391 # include <limits.h>
70392 #else
70393 # include <assert.h>
70394 #endif
70396 #undef $ac_func
70398 /* Override any gcc2 internal prototype to avoid an error. */
70399 #ifdef __cplusplus
70400 extern "C"
70402 #endif
70403 /* We use char because int might match the return type of a gcc2
70404 builtin and then its argument prototype would still apply. */
70405 char $ac_func ();
70406 /* The GNU C library defines this for functions which it implements
70407 to always fail with ENOSYS. Some functions are actually named
70408 something starting with __ and the normal name is an alias. */
70409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70410 choke me
70411 #else
70412 char (*f) () = $ac_func;
70413 #endif
70414 #ifdef __cplusplus
70416 #endif
70419 main ()
70421 return f != $ac_func;
70423 return 0;
70425 _ACEOF
70426 rm -f conftest.$ac_objext conftest$ac_exeext
70427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70428 (eval $ac_link) 2>conftest.er1
70429 ac_status=$?
70430 grep -v '^ *+' conftest.er1 >conftest.err
70431 rm -f conftest.er1
70432 cat conftest.err >&5
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); } &&
70435 { ac_try='test -z "$ac_c_werror_flag"
70436 || test ! -s conftest.err'
70437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70438 (eval $ac_try) 2>&5
70439 ac_status=$?
70440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70441 (exit $ac_status); }; } &&
70442 { ac_try='test -s conftest$ac_exeext'
70443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70444 (eval $ac_try) 2>&5
70445 ac_status=$?
70446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70447 (exit $ac_status); }; }; then
70448 eval "$as_ac_var=yes"
70449 else
70450 echo "$as_me: failed program was:" >&5
70451 sed 's/^/| /' conftest.$ac_ext >&5
70453 eval "$as_ac_var=no"
70455 rm -f conftest.err conftest.$ac_objext \
70456 conftest$ac_exeext conftest.$ac_ext
70458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70460 if test `eval echo '${'$as_ac_var'}'` = yes; then
70461 cat >>confdefs.h <<_ACEOF
70462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70463 _ACEOF
70466 done
70468 else
70470 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70471 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70472 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70473 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70474 echo $ECHO_N "(cached) $ECHO_C" >&6
70475 else
70479 ac_ext=cc
70480 ac_cpp='$CXXCPP $CPPFLAGS'
70481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70485 cat >conftest.$ac_ext <<_ACEOF
70486 /* confdefs.h. */
70487 _ACEOF
70488 cat confdefs.h >>conftest.$ac_ext
70489 cat >>conftest.$ac_ext <<_ACEOF
70490 /* end confdefs.h. */
70491 #include <math.h>
70493 main ()
70495 _frexpf(0, 0);
70497 return 0;
70499 _ACEOF
70500 rm -f conftest.$ac_objext
70501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70502 (eval $ac_compile) 2>conftest.er1
70503 ac_status=$?
70504 grep -v '^ *+' conftest.er1 >conftest.err
70505 rm -f conftest.er1
70506 cat conftest.err >&5
70507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70508 (exit $ac_status); } &&
70509 { ac_try='test -z "$ac_cxx_werror_flag"
70510 || test ! -s conftest.err'
70511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512 (eval $ac_try) 2>&5
70513 ac_status=$?
70514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515 (exit $ac_status); }; } &&
70516 { ac_try='test -s conftest.$ac_objext'
70517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70518 (eval $ac_try) 2>&5
70519 ac_status=$?
70520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70521 (exit $ac_status); }; }; then
70522 glibcxx_cv_func__frexpf_use=yes
70523 else
70524 echo "$as_me: failed program was:" >&5
70525 sed 's/^/| /' conftest.$ac_ext >&5
70527 glibcxx_cv_func__frexpf_use=no
70529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70530 ac_ext=c
70531 ac_cpp='$CPP $CPPFLAGS'
70532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70541 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70543 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70545 for ac_func in _frexpf
70547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70548 echo "$as_me:$LINENO: checking for $ac_func" >&5
70549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70550 if eval "test \"\${$as_ac_var+set}\" = set"; then
70551 echo $ECHO_N "(cached) $ECHO_C" >&6
70552 else
70553 if test x$gcc_no_link = xyes; then
70554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70556 { (exit 1); exit 1; }; }
70558 cat >conftest.$ac_ext <<_ACEOF
70559 /* confdefs.h. */
70560 _ACEOF
70561 cat confdefs.h >>conftest.$ac_ext
70562 cat >>conftest.$ac_ext <<_ACEOF
70563 /* end confdefs.h. */
70564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70566 #define $ac_func innocuous_$ac_func
70568 /* System header to define __stub macros and hopefully few prototypes,
70569 which can conflict with char $ac_func (); below.
70570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70571 <limits.h> exists even on freestanding compilers. */
70573 #ifdef __STDC__
70574 # include <limits.h>
70575 #else
70576 # include <assert.h>
70577 #endif
70579 #undef $ac_func
70581 /* Override any gcc2 internal prototype to avoid an error. */
70582 #ifdef __cplusplus
70583 extern "C"
70585 #endif
70586 /* We use char because int might match the return type of a gcc2
70587 builtin and then its argument prototype would still apply. */
70588 char $ac_func ();
70589 /* The GNU C library defines this for functions which it implements
70590 to always fail with ENOSYS. Some functions are actually named
70591 something starting with __ and the normal name is an alias. */
70592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70593 choke me
70594 #else
70595 char (*f) () = $ac_func;
70596 #endif
70597 #ifdef __cplusplus
70599 #endif
70602 main ()
70604 return f != $ac_func;
70606 return 0;
70608 _ACEOF
70609 rm -f conftest.$ac_objext conftest$ac_exeext
70610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70611 (eval $ac_link) 2>conftest.er1
70612 ac_status=$?
70613 grep -v '^ *+' conftest.er1 >conftest.err
70614 rm -f conftest.er1
70615 cat conftest.err >&5
70616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70617 (exit $ac_status); } &&
70618 { ac_try='test -z "$ac_c_werror_flag"
70619 || test ! -s conftest.err'
70620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70621 (eval $ac_try) 2>&5
70622 ac_status=$?
70623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70624 (exit $ac_status); }; } &&
70625 { ac_try='test -s conftest$ac_exeext'
70626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70627 (eval $ac_try) 2>&5
70628 ac_status=$?
70629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70630 (exit $ac_status); }; }; then
70631 eval "$as_ac_var=yes"
70632 else
70633 echo "$as_me: failed program was:" >&5
70634 sed 's/^/| /' conftest.$ac_ext >&5
70636 eval "$as_ac_var=no"
70638 rm -f conftest.err conftest.$ac_objext \
70639 conftest$ac_exeext conftest.$ac_ext
70641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70643 if test `eval echo '${'$as_ac_var'}'` = yes; then
70644 cat >>confdefs.h <<_ACEOF
70645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70646 _ACEOF
70649 done
70659 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70660 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70661 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70662 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70663 echo $ECHO_N "(cached) $ECHO_C" >&6
70664 else
70668 ac_ext=cc
70669 ac_cpp='$CXXCPP $CPPFLAGS'
70670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70674 cat >conftest.$ac_ext <<_ACEOF
70675 /* confdefs.h. */
70676 _ACEOF
70677 cat confdefs.h >>conftest.$ac_ext
70678 cat >>conftest.$ac_ext <<_ACEOF
70679 /* end confdefs.h. */
70680 #include <math.h>
70682 main ()
70684 hypotf(0, 0);
70686 return 0;
70688 _ACEOF
70689 rm -f conftest.$ac_objext
70690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70691 (eval $ac_compile) 2>conftest.er1
70692 ac_status=$?
70693 grep -v '^ *+' conftest.er1 >conftest.err
70694 rm -f conftest.er1
70695 cat conftest.err >&5
70696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70697 (exit $ac_status); } &&
70698 { ac_try='test -z "$ac_cxx_werror_flag"
70699 || test ! -s conftest.err'
70700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70701 (eval $ac_try) 2>&5
70702 ac_status=$?
70703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704 (exit $ac_status); }; } &&
70705 { ac_try='test -s conftest.$ac_objext'
70706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70707 (eval $ac_try) 2>&5
70708 ac_status=$?
70709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70710 (exit $ac_status); }; }; then
70711 glibcxx_cv_func_hypotf_use=yes
70712 else
70713 echo "$as_me: failed program was:" >&5
70714 sed 's/^/| /' conftest.$ac_ext >&5
70716 glibcxx_cv_func_hypotf_use=no
70718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70719 ac_ext=c
70720 ac_cpp='$CPP $CPPFLAGS'
70721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70730 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70732 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70734 for ac_func in hypotf
70736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70737 echo "$as_me:$LINENO: checking for $ac_func" >&5
70738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70739 if eval "test \"\${$as_ac_var+set}\" = set"; then
70740 echo $ECHO_N "(cached) $ECHO_C" >&6
70741 else
70742 if test x$gcc_no_link = xyes; then
70743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70745 { (exit 1); exit 1; }; }
70747 cat >conftest.$ac_ext <<_ACEOF
70748 /* confdefs.h. */
70749 _ACEOF
70750 cat confdefs.h >>conftest.$ac_ext
70751 cat >>conftest.$ac_ext <<_ACEOF
70752 /* end confdefs.h. */
70753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70755 #define $ac_func innocuous_$ac_func
70757 /* System header to define __stub macros and hopefully few prototypes,
70758 which can conflict with char $ac_func (); below.
70759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70760 <limits.h> exists even on freestanding compilers. */
70762 #ifdef __STDC__
70763 # include <limits.h>
70764 #else
70765 # include <assert.h>
70766 #endif
70768 #undef $ac_func
70770 /* Override any gcc2 internal prototype to avoid an error. */
70771 #ifdef __cplusplus
70772 extern "C"
70774 #endif
70775 /* We use char because int might match the return type of a gcc2
70776 builtin and then its argument prototype would still apply. */
70777 char $ac_func ();
70778 /* The GNU C library defines this for functions which it implements
70779 to always fail with ENOSYS. Some functions are actually named
70780 something starting with __ and the normal name is an alias. */
70781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70782 choke me
70783 #else
70784 char (*f) () = $ac_func;
70785 #endif
70786 #ifdef __cplusplus
70788 #endif
70791 main ()
70793 return f != $ac_func;
70795 return 0;
70797 _ACEOF
70798 rm -f conftest.$ac_objext conftest$ac_exeext
70799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70800 (eval $ac_link) 2>conftest.er1
70801 ac_status=$?
70802 grep -v '^ *+' conftest.er1 >conftest.err
70803 rm -f conftest.er1
70804 cat conftest.err >&5
70805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70806 (exit $ac_status); } &&
70807 { ac_try='test -z "$ac_c_werror_flag"
70808 || test ! -s conftest.err'
70809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70810 (eval $ac_try) 2>&5
70811 ac_status=$?
70812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70813 (exit $ac_status); }; } &&
70814 { ac_try='test -s conftest$ac_exeext'
70815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70816 (eval $ac_try) 2>&5
70817 ac_status=$?
70818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70819 (exit $ac_status); }; }; then
70820 eval "$as_ac_var=yes"
70821 else
70822 echo "$as_me: failed program was:" >&5
70823 sed 's/^/| /' conftest.$ac_ext >&5
70825 eval "$as_ac_var=no"
70827 rm -f conftest.err conftest.$ac_objext \
70828 conftest$ac_exeext conftest.$ac_ext
70830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70832 if test `eval echo '${'$as_ac_var'}'` = yes; then
70833 cat >>confdefs.h <<_ACEOF
70834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70835 _ACEOF
70838 done
70840 else
70842 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70843 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70844 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70845 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70846 echo $ECHO_N "(cached) $ECHO_C" >&6
70847 else
70851 ac_ext=cc
70852 ac_cpp='$CXXCPP $CPPFLAGS'
70853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70857 cat >conftest.$ac_ext <<_ACEOF
70858 /* confdefs.h. */
70859 _ACEOF
70860 cat confdefs.h >>conftest.$ac_ext
70861 cat >>conftest.$ac_ext <<_ACEOF
70862 /* end confdefs.h. */
70863 #include <math.h>
70865 main ()
70867 _hypotf(0, 0);
70869 return 0;
70871 _ACEOF
70872 rm -f conftest.$ac_objext
70873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70874 (eval $ac_compile) 2>conftest.er1
70875 ac_status=$?
70876 grep -v '^ *+' conftest.er1 >conftest.err
70877 rm -f conftest.er1
70878 cat conftest.err >&5
70879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880 (exit $ac_status); } &&
70881 { ac_try='test -z "$ac_cxx_werror_flag"
70882 || test ! -s conftest.err'
70883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70884 (eval $ac_try) 2>&5
70885 ac_status=$?
70886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70887 (exit $ac_status); }; } &&
70888 { ac_try='test -s conftest.$ac_objext'
70889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70890 (eval $ac_try) 2>&5
70891 ac_status=$?
70892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70893 (exit $ac_status); }; }; then
70894 glibcxx_cv_func__hypotf_use=yes
70895 else
70896 echo "$as_me: failed program was:" >&5
70897 sed 's/^/| /' conftest.$ac_ext >&5
70899 glibcxx_cv_func__hypotf_use=no
70901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70902 ac_ext=c
70903 ac_cpp='$CPP $CPPFLAGS'
70904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70913 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70915 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70917 for ac_func in _hypotf
70919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70920 echo "$as_me:$LINENO: checking for $ac_func" >&5
70921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70922 if eval "test \"\${$as_ac_var+set}\" = set"; then
70923 echo $ECHO_N "(cached) $ECHO_C" >&6
70924 else
70925 if test x$gcc_no_link = xyes; then
70926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70928 { (exit 1); exit 1; }; }
70930 cat >conftest.$ac_ext <<_ACEOF
70931 /* confdefs.h. */
70932 _ACEOF
70933 cat confdefs.h >>conftest.$ac_ext
70934 cat >>conftest.$ac_ext <<_ACEOF
70935 /* end confdefs.h. */
70936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70938 #define $ac_func innocuous_$ac_func
70940 /* System header to define __stub macros and hopefully few prototypes,
70941 which can conflict with char $ac_func (); below.
70942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70943 <limits.h> exists even on freestanding compilers. */
70945 #ifdef __STDC__
70946 # include <limits.h>
70947 #else
70948 # include <assert.h>
70949 #endif
70951 #undef $ac_func
70953 /* Override any gcc2 internal prototype to avoid an error. */
70954 #ifdef __cplusplus
70955 extern "C"
70957 #endif
70958 /* We use char because int might match the return type of a gcc2
70959 builtin and then its argument prototype would still apply. */
70960 char $ac_func ();
70961 /* The GNU C library defines this for functions which it implements
70962 to always fail with ENOSYS. Some functions are actually named
70963 something starting with __ and the normal name is an alias. */
70964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70965 choke me
70966 #else
70967 char (*f) () = $ac_func;
70968 #endif
70969 #ifdef __cplusplus
70971 #endif
70974 main ()
70976 return f != $ac_func;
70978 return 0;
70980 _ACEOF
70981 rm -f conftest.$ac_objext conftest$ac_exeext
70982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70983 (eval $ac_link) 2>conftest.er1
70984 ac_status=$?
70985 grep -v '^ *+' conftest.er1 >conftest.err
70986 rm -f conftest.er1
70987 cat conftest.err >&5
70988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70989 (exit $ac_status); } &&
70990 { ac_try='test -z "$ac_c_werror_flag"
70991 || test ! -s conftest.err'
70992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70993 (eval $ac_try) 2>&5
70994 ac_status=$?
70995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70996 (exit $ac_status); }; } &&
70997 { ac_try='test -s conftest$ac_exeext'
70998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70999 (eval $ac_try) 2>&5
71000 ac_status=$?
71001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71002 (exit $ac_status); }; }; then
71003 eval "$as_ac_var=yes"
71004 else
71005 echo "$as_me: failed program was:" >&5
71006 sed 's/^/| /' conftest.$ac_ext >&5
71008 eval "$as_ac_var=no"
71010 rm -f conftest.err conftest.$ac_objext \
71011 conftest$ac_exeext conftest.$ac_ext
71013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71015 if test `eval echo '${'$as_ac_var'}'` = yes; then
71016 cat >>confdefs.h <<_ACEOF
71017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71018 _ACEOF
71021 done
71031 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71032 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71033 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71034 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71035 echo $ECHO_N "(cached) $ECHO_C" >&6
71036 else
71040 ac_ext=cc
71041 ac_cpp='$CXXCPP $CPPFLAGS'
71042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71046 cat >conftest.$ac_ext <<_ACEOF
71047 /* confdefs.h. */
71048 _ACEOF
71049 cat confdefs.h >>conftest.$ac_ext
71050 cat >>conftest.$ac_ext <<_ACEOF
71051 /* end confdefs.h. */
71052 #include <math.h>
71054 main ()
71056 ldexpf(0, 0);
71058 return 0;
71060 _ACEOF
71061 rm -f conftest.$ac_objext
71062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71063 (eval $ac_compile) 2>conftest.er1
71064 ac_status=$?
71065 grep -v '^ *+' conftest.er1 >conftest.err
71066 rm -f conftest.er1
71067 cat conftest.err >&5
71068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069 (exit $ac_status); } &&
71070 { ac_try='test -z "$ac_cxx_werror_flag"
71071 || test ! -s conftest.err'
71072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71073 (eval $ac_try) 2>&5
71074 ac_status=$?
71075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71076 (exit $ac_status); }; } &&
71077 { ac_try='test -s conftest.$ac_objext'
71078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71079 (eval $ac_try) 2>&5
71080 ac_status=$?
71081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71082 (exit $ac_status); }; }; then
71083 glibcxx_cv_func_ldexpf_use=yes
71084 else
71085 echo "$as_me: failed program was:" >&5
71086 sed 's/^/| /' conftest.$ac_ext >&5
71088 glibcxx_cv_func_ldexpf_use=no
71090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71091 ac_ext=c
71092 ac_cpp='$CPP $CPPFLAGS'
71093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71102 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71104 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71106 for ac_func in ldexpf
71108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71109 echo "$as_me:$LINENO: checking for $ac_func" >&5
71110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71111 if eval "test \"\${$as_ac_var+set}\" = set"; then
71112 echo $ECHO_N "(cached) $ECHO_C" >&6
71113 else
71114 if test x$gcc_no_link = xyes; then
71115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71117 { (exit 1); exit 1; }; }
71119 cat >conftest.$ac_ext <<_ACEOF
71120 /* confdefs.h. */
71121 _ACEOF
71122 cat confdefs.h >>conftest.$ac_ext
71123 cat >>conftest.$ac_ext <<_ACEOF
71124 /* end confdefs.h. */
71125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71127 #define $ac_func innocuous_$ac_func
71129 /* System header to define __stub macros and hopefully few prototypes,
71130 which can conflict with char $ac_func (); below.
71131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71132 <limits.h> exists even on freestanding compilers. */
71134 #ifdef __STDC__
71135 # include <limits.h>
71136 #else
71137 # include <assert.h>
71138 #endif
71140 #undef $ac_func
71142 /* Override any gcc2 internal prototype to avoid an error. */
71143 #ifdef __cplusplus
71144 extern "C"
71146 #endif
71147 /* We use char because int might match the return type of a gcc2
71148 builtin and then its argument prototype would still apply. */
71149 char $ac_func ();
71150 /* The GNU C library defines this for functions which it implements
71151 to always fail with ENOSYS. Some functions are actually named
71152 something starting with __ and the normal name is an alias. */
71153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71154 choke me
71155 #else
71156 char (*f) () = $ac_func;
71157 #endif
71158 #ifdef __cplusplus
71160 #endif
71163 main ()
71165 return f != $ac_func;
71167 return 0;
71169 _ACEOF
71170 rm -f conftest.$ac_objext conftest$ac_exeext
71171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71172 (eval $ac_link) 2>conftest.er1
71173 ac_status=$?
71174 grep -v '^ *+' conftest.er1 >conftest.err
71175 rm -f conftest.er1
71176 cat conftest.err >&5
71177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71178 (exit $ac_status); } &&
71179 { ac_try='test -z "$ac_c_werror_flag"
71180 || test ! -s conftest.err'
71181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71182 (eval $ac_try) 2>&5
71183 ac_status=$?
71184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71185 (exit $ac_status); }; } &&
71186 { ac_try='test -s conftest$ac_exeext'
71187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71188 (eval $ac_try) 2>&5
71189 ac_status=$?
71190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71191 (exit $ac_status); }; }; then
71192 eval "$as_ac_var=yes"
71193 else
71194 echo "$as_me: failed program was:" >&5
71195 sed 's/^/| /' conftest.$ac_ext >&5
71197 eval "$as_ac_var=no"
71199 rm -f conftest.err conftest.$ac_objext \
71200 conftest$ac_exeext conftest.$ac_ext
71202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71204 if test `eval echo '${'$as_ac_var'}'` = yes; then
71205 cat >>confdefs.h <<_ACEOF
71206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71207 _ACEOF
71210 done
71212 else
71214 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71215 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71216 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71217 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71218 echo $ECHO_N "(cached) $ECHO_C" >&6
71219 else
71223 ac_ext=cc
71224 ac_cpp='$CXXCPP $CPPFLAGS'
71225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71229 cat >conftest.$ac_ext <<_ACEOF
71230 /* confdefs.h. */
71231 _ACEOF
71232 cat confdefs.h >>conftest.$ac_ext
71233 cat >>conftest.$ac_ext <<_ACEOF
71234 /* end confdefs.h. */
71235 #include <math.h>
71237 main ()
71239 _ldexpf(0, 0);
71241 return 0;
71243 _ACEOF
71244 rm -f conftest.$ac_objext
71245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71246 (eval $ac_compile) 2>conftest.er1
71247 ac_status=$?
71248 grep -v '^ *+' conftest.er1 >conftest.err
71249 rm -f conftest.er1
71250 cat conftest.err >&5
71251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71252 (exit $ac_status); } &&
71253 { ac_try='test -z "$ac_cxx_werror_flag"
71254 || test ! -s conftest.err'
71255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71256 (eval $ac_try) 2>&5
71257 ac_status=$?
71258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71259 (exit $ac_status); }; } &&
71260 { ac_try='test -s conftest.$ac_objext'
71261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71262 (eval $ac_try) 2>&5
71263 ac_status=$?
71264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71265 (exit $ac_status); }; }; then
71266 glibcxx_cv_func__ldexpf_use=yes
71267 else
71268 echo "$as_me: failed program was:" >&5
71269 sed 's/^/| /' conftest.$ac_ext >&5
71271 glibcxx_cv_func__ldexpf_use=no
71273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71274 ac_ext=c
71275 ac_cpp='$CPP $CPPFLAGS'
71276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71285 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71287 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71289 for ac_func in _ldexpf
71291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71292 echo "$as_me:$LINENO: checking for $ac_func" >&5
71293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71294 if eval "test \"\${$as_ac_var+set}\" = set"; then
71295 echo $ECHO_N "(cached) $ECHO_C" >&6
71296 else
71297 if test x$gcc_no_link = xyes; then
71298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71300 { (exit 1); exit 1; }; }
71302 cat >conftest.$ac_ext <<_ACEOF
71303 /* confdefs.h. */
71304 _ACEOF
71305 cat confdefs.h >>conftest.$ac_ext
71306 cat >>conftest.$ac_ext <<_ACEOF
71307 /* end confdefs.h. */
71308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71310 #define $ac_func innocuous_$ac_func
71312 /* System header to define __stub macros and hopefully few prototypes,
71313 which can conflict with char $ac_func (); below.
71314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71315 <limits.h> exists even on freestanding compilers. */
71317 #ifdef __STDC__
71318 # include <limits.h>
71319 #else
71320 # include <assert.h>
71321 #endif
71323 #undef $ac_func
71325 /* Override any gcc2 internal prototype to avoid an error. */
71326 #ifdef __cplusplus
71327 extern "C"
71329 #endif
71330 /* We use char because int might match the return type of a gcc2
71331 builtin and then its argument prototype would still apply. */
71332 char $ac_func ();
71333 /* The GNU C library defines this for functions which it implements
71334 to always fail with ENOSYS. Some functions are actually named
71335 something starting with __ and the normal name is an alias. */
71336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71337 choke me
71338 #else
71339 char (*f) () = $ac_func;
71340 #endif
71341 #ifdef __cplusplus
71343 #endif
71346 main ()
71348 return f != $ac_func;
71350 return 0;
71352 _ACEOF
71353 rm -f conftest.$ac_objext conftest$ac_exeext
71354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71355 (eval $ac_link) 2>conftest.er1
71356 ac_status=$?
71357 grep -v '^ *+' conftest.er1 >conftest.err
71358 rm -f conftest.er1
71359 cat conftest.err >&5
71360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71361 (exit $ac_status); } &&
71362 { ac_try='test -z "$ac_c_werror_flag"
71363 || test ! -s conftest.err'
71364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71365 (eval $ac_try) 2>&5
71366 ac_status=$?
71367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71368 (exit $ac_status); }; } &&
71369 { ac_try='test -s conftest$ac_exeext'
71370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71371 (eval $ac_try) 2>&5
71372 ac_status=$?
71373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71374 (exit $ac_status); }; }; then
71375 eval "$as_ac_var=yes"
71376 else
71377 echo "$as_me: failed program was:" >&5
71378 sed 's/^/| /' conftest.$ac_ext >&5
71380 eval "$as_ac_var=no"
71382 rm -f conftest.err conftest.$ac_objext \
71383 conftest$ac_exeext conftest.$ac_ext
71385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71387 if test `eval echo '${'$as_ac_var'}'` = yes; then
71388 cat >>confdefs.h <<_ACEOF
71389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71390 _ACEOF
71393 done
71403 echo "$as_me:$LINENO: checking for logf declaration" >&5
71404 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71405 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71406 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71407 echo $ECHO_N "(cached) $ECHO_C" >&6
71408 else
71412 ac_ext=cc
71413 ac_cpp='$CXXCPP $CPPFLAGS'
71414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71418 cat >conftest.$ac_ext <<_ACEOF
71419 /* confdefs.h. */
71420 _ACEOF
71421 cat confdefs.h >>conftest.$ac_ext
71422 cat >>conftest.$ac_ext <<_ACEOF
71423 /* end confdefs.h. */
71424 #include <math.h>
71425 #ifdef HAVE_IEEEFP_H
71426 #include <ieeefp.h>
71427 #endif
71430 main ()
71432 logf(0);
71434 return 0;
71436 _ACEOF
71437 rm -f conftest.$ac_objext
71438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71439 (eval $ac_compile) 2>conftest.er1
71440 ac_status=$?
71441 grep -v '^ *+' conftest.er1 >conftest.err
71442 rm -f conftest.er1
71443 cat conftest.err >&5
71444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71445 (exit $ac_status); } &&
71446 { ac_try='test -z "$ac_cxx_werror_flag"
71447 || test ! -s conftest.err'
71448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71449 (eval $ac_try) 2>&5
71450 ac_status=$?
71451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71452 (exit $ac_status); }; } &&
71453 { ac_try='test -s conftest.$ac_objext'
71454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71455 (eval $ac_try) 2>&5
71456 ac_status=$?
71457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71458 (exit $ac_status); }; }; then
71459 glibcxx_cv_func_logf_use=yes
71460 else
71461 echo "$as_me: failed program was:" >&5
71462 sed 's/^/| /' conftest.$ac_ext >&5
71464 glibcxx_cv_func_logf_use=no
71466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71467 ac_ext=c
71468 ac_cpp='$CPP $CPPFLAGS'
71469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71478 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71480 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71482 for ac_func in logf
71484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71485 echo "$as_me:$LINENO: checking for $ac_func" >&5
71486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71487 if eval "test \"\${$as_ac_var+set}\" = set"; then
71488 echo $ECHO_N "(cached) $ECHO_C" >&6
71489 else
71490 if test x$gcc_no_link = xyes; then
71491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71493 { (exit 1); exit 1; }; }
71495 cat >conftest.$ac_ext <<_ACEOF
71496 /* confdefs.h. */
71497 _ACEOF
71498 cat confdefs.h >>conftest.$ac_ext
71499 cat >>conftest.$ac_ext <<_ACEOF
71500 /* end confdefs.h. */
71501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71503 #define $ac_func innocuous_$ac_func
71505 /* System header to define __stub macros and hopefully few prototypes,
71506 which can conflict with char $ac_func (); below.
71507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71508 <limits.h> exists even on freestanding compilers. */
71510 #ifdef __STDC__
71511 # include <limits.h>
71512 #else
71513 # include <assert.h>
71514 #endif
71516 #undef $ac_func
71518 /* Override any gcc2 internal prototype to avoid an error. */
71519 #ifdef __cplusplus
71520 extern "C"
71522 #endif
71523 /* We use char because int might match the return type of a gcc2
71524 builtin and then its argument prototype would still apply. */
71525 char $ac_func ();
71526 /* The GNU C library defines this for functions which it implements
71527 to always fail with ENOSYS. Some functions are actually named
71528 something starting with __ and the normal name is an alias. */
71529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71530 choke me
71531 #else
71532 char (*f) () = $ac_func;
71533 #endif
71534 #ifdef __cplusplus
71536 #endif
71539 main ()
71541 return f != $ac_func;
71543 return 0;
71545 _ACEOF
71546 rm -f conftest.$ac_objext conftest$ac_exeext
71547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71548 (eval $ac_link) 2>conftest.er1
71549 ac_status=$?
71550 grep -v '^ *+' conftest.er1 >conftest.err
71551 rm -f conftest.er1
71552 cat conftest.err >&5
71553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554 (exit $ac_status); } &&
71555 { ac_try='test -z "$ac_c_werror_flag"
71556 || test ! -s conftest.err'
71557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71558 (eval $ac_try) 2>&5
71559 ac_status=$?
71560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71561 (exit $ac_status); }; } &&
71562 { ac_try='test -s conftest$ac_exeext'
71563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71564 (eval $ac_try) 2>&5
71565 ac_status=$?
71566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71567 (exit $ac_status); }; }; then
71568 eval "$as_ac_var=yes"
71569 else
71570 echo "$as_me: failed program was:" >&5
71571 sed 's/^/| /' conftest.$ac_ext >&5
71573 eval "$as_ac_var=no"
71575 rm -f conftest.err conftest.$ac_objext \
71576 conftest$ac_exeext conftest.$ac_ext
71578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71580 if test `eval echo '${'$as_ac_var'}'` = yes; then
71581 cat >>confdefs.h <<_ACEOF
71582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71583 _ACEOF
71586 done
71588 else
71590 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71591 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71592 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71593 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71594 echo $ECHO_N "(cached) $ECHO_C" >&6
71595 else
71599 ac_ext=cc
71600 ac_cpp='$CXXCPP $CPPFLAGS'
71601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71605 cat >conftest.$ac_ext <<_ACEOF
71606 /* confdefs.h. */
71607 _ACEOF
71608 cat confdefs.h >>conftest.$ac_ext
71609 cat >>conftest.$ac_ext <<_ACEOF
71610 /* end confdefs.h. */
71611 #include <math.h>
71612 #ifdef HAVE_IEEEFP_H
71613 #include <ieeefp.h>
71614 #endif
71617 main ()
71619 _logf(0);
71621 return 0;
71623 _ACEOF
71624 rm -f conftest.$ac_objext
71625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71626 (eval $ac_compile) 2>conftest.er1
71627 ac_status=$?
71628 grep -v '^ *+' conftest.er1 >conftest.err
71629 rm -f conftest.er1
71630 cat conftest.err >&5
71631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632 (exit $ac_status); } &&
71633 { ac_try='test -z "$ac_cxx_werror_flag"
71634 || test ! -s conftest.err'
71635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71636 (eval $ac_try) 2>&5
71637 ac_status=$?
71638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71639 (exit $ac_status); }; } &&
71640 { ac_try='test -s conftest.$ac_objext'
71641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71642 (eval $ac_try) 2>&5
71643 ac_status=$?
71644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71645 (exit $ac_status); }; }; then
71646 glibcxx_cv_func__logf_use=yes
71647 else
71648 echo "$as_me: failed program was:" >&5
71649 sed 's/^/| /' conftest.$ac_ext >&5
71651 glibcxx_cv_func__logf_use=no
71653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71654 ac_ext=c
71655 ac_cpp='$CPP $CPPFLAGS'
71656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71665 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71667 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71669 for ac_func in _logf
71671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71672 echo "$as_me:$LINENO: checking for $ac_func" >&5
71673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71674 if eval "test \"\${$as_ac_var+set}\" = set"; then
71675 echo $ECHO_N "(cached) $ECHO_C" >&6
71676 else
71677 if test x$gcc_no_link = xyes; then
71678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71680 { (exit 1); exit 1; }; }
71682 cat >conftest.$ac_ext <<_ACEOF
71683 /* confdefs.h. */
71684 _ACEOF
71685 cat confdefs.h >>conftest.$ac_ext
71686 cat >>conftest.$ac_ext <<_ACEOF
71687 /* end confdefs.h. */
71688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71690 #define $ac_func innocuous_$ac_func
71692 /* System header to define __stub macros and hopefully few prototypes,
71693 which can conflict with char $ac_func (); below.
71694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71695 <limits.h> exists even on freestanding compilers. */
71697 #ifdef __STDC__
71698 # include <limits.h>
71699 #else
71700 # include <assert.h>
71701 #endif
71703 #undef $ac_func
71705 /* Override any gcc2 internal prototype to avoid an error. */
71706 #ifdef __cplusplus
71707 extern "C"
71709 #endif
71710 /* We use char because int might match the return type of a gcc2
71711 builtin and then its argument prototype would still apply. */
71712 char $ac_func ();
71713 /* The GNU C library defines this for functions which it implements
71714 to always fail with ENOSYS. Some functions are actually named
71715 something starting with __ and the normal name is an alias. */
71716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71717 choke me
71718 #else
71719 char (*f) () = $ac_func;
71720 #endif
71721 #ifdef __cplusplus
71723 #endif
71726 main ()
71728 return f != $ac_func;
71730 return 0;
71732 _ACEOF
71733 rm -f conftest.$ac_objext conftest$ac_exeext
71734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71735 (eval $ac_link) 2>conftest.er1
71736 ac_status=$?
71737 grep -v '^ *+' conftest.er1 >conftest.err
71738 rm -f conftest.er1
71739 cat conftest.err >&5
71740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741 (exit $ac_status); } &&
71742 { ac_try='test -z "$ac_c_werror_flag"
71743 || test ! -s conftest.err'
71744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71745 (eval $ac_try) 2>&5
71746 ac_status=$?
71747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71748 (exit $ac_status); }; } &&
71749 { ac_try='test -s conftest$ac_exeext'
71750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71751 (eval $ac_try) 2>&5
71752 ac_status=$?
71753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71754 (exit $ac_status); }; }; then
71755 eval "$as_ac_var=yes"
71756 else
71757 echo "$as_me: failed program was:" >&5
71758 sed 's/^/| /' conftest.$ac_ext >&5
71760 eval "$as_ac_var=no"
71762 rm -f conftest.err conftest.$ac_objext \
71763 conftest$ac_exeext conftest.$ac_ext
71765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71767 if test `eval echo '${'$as_ac_var'}'` = yes; then
71768 cat >>confdefs.h <<_ACEOF
71769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71770 _ACEOF
71773 done
71783 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71784 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71785 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71786 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71787 echo $ECHO_N "(cached) $ECHO_C" >&6
71788 else
71792 ac_ext=cc
71793 ac_cpp='$CXXCPP $CPPFLAGS'
71794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71798 cat >conftest.$ac_ext <<_ACEOF
71799 /* confdefs.h. */
71800 _ACEOF
71801 cat confdefs.h >>conftest.$ac_ext
71802 cat >>conftest.$ac_ext <<_ACEOF
71803 /* end confdefs.h. */
71804 #include <math.h>
71805 #ifdef HAVE_IEEEFP_H
71806 #include <ieeefp.h>
71807 #endif
71810 main ()
71812 log10f(0);
71814 return 0;
71816 _ACEOF
71817 rm -f conftest.$ac_objext
71818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71819 (eval $ac_compile) 2>conftest.er1
71820 ac_status=$?
71821 grep -v '^ *+' conftest.er1 >conftest.err
71822 rm -f conftest.er1
71823 cat conftest.err >&5
71824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71825 (exit $ac_status); } &&
71826 { ac_try='test -z "$ac_cxx_werror_flag"
71827 || test ! -s conftest.err'
71828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71829 (eval $ac_try) 2>&5
71830 ac_status=$?
71831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71832 (exit $ac_status); }; } &&
71833 { ac_try='test -s conftest.$ac_objext'
71834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71835 (eval $ac_try) 2>&5
71836 ac_status=$?
71837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71838 (exit $ac_status); }; }; then
71839 glibcxx_cv_func_log10f_use=yes
71840 else
71841 echo "$as_me: failed program was:" >&5
71842 sed 's/^/| /' conftest.$ac_ext >&5
71844 glibcxx_cv_func_log10f_use=no
71846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71847 ac_ext=c
71848 ac_cpp='$CPP $CPPFLAGS'
71849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71858 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71860 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71862 for ac_func in log10f
71864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71865 echo "$as_me:$LINENO: checking for $ac_func" >&5
71866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71867 if eval "test \"\${$as_ac_var+set}\" = set"; then
71868 echo $ECHO_N "(cached) $ECHO_C" >&6
71869 else
71870 if test x$gcc_no_link = xyes; then
71871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71873 { (exit 1); exit 1; }; }
71875 cat >conftest.$ac_ext <<_ACEOF
71876 /* confdefs.h. */
71877 _ACEOF
71878 cat confdefs.h >>conftest.$ac_ext
71879 cat >>conftest.$ac_ext <<_ACEOF
71880 /* end confdefs.h. */
71881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71883 #define $ac_func innocuous_$ac_func
71885 /* System header to define __stub macros and hopefully few prototypes,
71886 which can conflict with char $ac_func (); below.
71887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71888 <limits.h> exists even on freestanding compilers. */
71890 #ifdef __STDC__
71891 # include <limits.h>
71892 #else
71893 # include <assert.h>
71894 #endif
71896 #undef $ac_func
71898 /* Override any gcc2 internal prototype to avoid an error. */
71899 #ifdef __cplusplus
71900 extern "C"
71902 #endif
71903 /* We use char because int might match the return type of a gcc2
71904 builtin and then its argument prototype would still apply. */
71905 char $ac_func ();
71906 /* The GNU C library defines this for functions which it implements
71907 to always fail with ENOSYS. Some functions are actually named
71908 something starting with __ and the normal name is an alias. */
71909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71910 choke me
71911 #else
71912 char (*f) () = $ac_func;
71913 #endif
71914 #ifdef __cplusplus
71916 #endif
71919 main ()
71921 return f != $ac_func;
71923 return 0;
71925 _ACEOF
71926 rm -f conftest.$ac_objext conftest$ac_exeext
71927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71928 (eval $ac_link) 2>conftest.er1
71929 ac_status=$?
71930 grep -v '^ *+' conftest.er1 >conftest.err
71931 rm -f conftest.er1
71932 cat conftest.err >&5
71933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934 (exit $ac_status); } &&
71935 { ac_try='test -z "$ac_c_werror_flag"
71936 || test ! -s conftest.err'
71937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71938 (eval $ac_try) 2>&5
71939 ac_status=$?
71940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71941 (exit $ac_status); }; } &&
71942 { ac_try='test -s conftest$ac_exeext'
71943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71944 (eval $ac_try) 2>&5
71945 ac_status=$?
71946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71947 (exit $ac_status); }; }; then
71948 eval "$as_ac_var=yes"
71949 else
71950 echo "$as_me: failed program was:" >&5
71951 sed 's/^/| /' conftest.$ac_ext >&5
71953 eval "$as_ac_var=no"
71955 rm -f conftest.err conftest.$ac_objext \
71956 conftest$ac_exeext conftest.$ac_ext
71958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71960 if test `eval echo '${'$as_ac_var'}'` = yes; then
71961 cat >>confdefs.h <<_ACEOF
71962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71963 _ACEOF
71966 done
71968 else
71970 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71971 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71972 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71973 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71974 echo $ECHO_N "(cached) $ECHO_C" >&6
71975 else
71979 ac_ext=cc
71980 ac_cpp='$CXXCPP $CPPFLAGS'
71981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71985 cat >conftest.$ac_ext <<_ACEOF
71986 /* confdefs.h. */
71987 _ACEOF
71988 cat confdefs.h >>conftest.$ac_ext
71989 cat >>conftest.$ac_ext <<_ACEOF
71990 /* end confdefs.h. */
71991 #include <math.h>
71992 #ifdef HAVE_IEEEFP_H
71993 #include <ieeefp.h>
71994 #endif
71997 main ()
71999 _log10f(0);
72001 return 0;
72003 _ACEOF
72004 rm -f conftest.$ac_objext
72005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72006 (eval $ac_compile) 2>conftest.er1
72007 ac_status=$?
72008 grep -v '^ *+' conftest.er1 >conftest.err
72009 rm -f conftest.er1
72010 cat conftest.err >&5
72011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72012 (exit $ac_status); } &&
72013 { ac_try='test -z "$ac_cxx_werror_flag"
72014 || test ! -s conftest.err'
72015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72016 (eval $ac_try) 2>&5
72017 ac_status=$?
72018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72019 (exit $ac_status); }; } &&
72020 { ac_try='test -s conftest.$ac_objext'
72021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72022 (eval $ac_try) 2>&5
72023 ac_status=$?
72024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72025 (exit $ac_status); }; }; then
72026 glibcxx_cv_func__log10f_use=yes
72027 else
72028 echo "$as_me: failed program was:" >&5
72029 sed 's/^/| /' conftest.$ac_ext >&5
72031 glibcxx_cv_func__log10f_use=no
72033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72034 ac_ext=c
72035 ac_cpp='$CPP $CPPFLAGS'
72036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72045 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72047 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72049 for ac_func in _log10f
72051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72052 echo "$as_me:$LINENO: checking for $ac_func" >&5
72053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72054 if eval "test \"\${$as_ac_var+set}\" = set"; then
72055 echo $ECHO_N "(cached) $ECHO_C" >&6
72056 else
72057 if test x$gcc_no_link = xyes; then
72058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72060 { (exit 1); exit 1; }; }
72062 cat >conftest.$ac_ext <<_ACEOF
72063 /* confdefs.h. */
72064 _ACEOF
72065 cat confdefs.h >>conftest.$ac_ext
72066 cat >>conftest.$ac_ext <<_ACEOF
72067 /* end confdefs.h. */
72068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72070 #define $ac_func innocuous_$ac_func
72072 /* System header to define __stub macros and hopefully few prototypes,
72073 which can conflict with char $ac_func (); below.
72074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72075 <limits.h> exists even on freestanding compilers. */
72077 #ifdef __STDC__
72078 # include <limits.h>
72079 #else
72080 # include <assert.h>
72081 #endif
72083 #undef $ac_func
72085 /* Override any gcc2 internal prototype to avoid an error. */
72086 #ifdef __cplusplus
72087 extern "C"
72089 #endif
72090 /* We use char because int might match the return type of a gcc2
72091 builtin and then its argument prototype would still apply. */
72092 char $ac_func ();
72093 /* The GNU C library defines this for functions which it implements
72094 to always fail with ENOSYS. Some functions are actually named
72095 something starting with __ and the normal name is an alias. */
72096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72097 choke me
72098 #else
72099 char (*f) () = $ac_func;
72100 #endif
72101 #ifdef __cplusplus
72103 #endif
72106 main ()
72108 return f != $ac_func;
72110 return 0;
72112 _ACEOF
72113 rm -f conftest.$ac_objext conftest$ac_exeext
72114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72115 (eval $ac_link) 2>conftest.er1
72116 ac_status=$?
72117 grep -v '^ *+' conftest.er1 >conftest.err
72118 rm -f conftest.er1
72119 cat conftest.err >&5
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); } &&
72122 { ac_try='test -z "$ac_c_werror_flag"
72123 || test ! -s conftest.err'
72124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72125 (eval $ac_try) 2>&5
72126 ac_status=$?
72127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72128 (exit $ac_status); }; } &&
72129 { ac_try='test -s conftest$ac_exeext'
72130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72131 (eval $ac_try) 2>&5
72132 ac_status=$?
72133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72134 (exit $ac_status); }; }; then
72135 eval "$as_ac_var=yes"
72136 else
72137 echo "$as_me: failed program was:" >&5
72138 sed 's/^/| /' conftest.$ac_ext >&5
72140 eval "$as_ac_var=no"
72142 rm -f conftest.err conftest.$ac_objext \
72143 conftest$ac_exeext conftest.$ac_ext
72145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72147 if test `eval echo '${'$as_ac_var'}'` = yes; then
72148 cat >>confdefs.h <<_ACEOF
72149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72150 _ACEOF
72153 done
72163 echo "$as_me:$LINENO: checking for modff declaration" >&5
72164 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72165 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72166 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72167 echo $ECHO_N "(cached) $ECHO_C" >&6
72168 else
72172 ac_ext=cc
72173 ac_cpp='$CXXCPP $CPPFLAGS'
72174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72178 cat >conftest.$ac_ext <<_ACEOF
72179 /* confdefs.h. */
72180 _ACEOF
72181 cat confdefs.h >>conftest.$ac_ext
72182 cat >>conftest.$ac_ext <<_ACEOF
72183 /* end confdefs.h. */
72184 #include <math.h>
72186 main ()
72188 modff(0, 0);
72190 return 0;
72192 _ACEOF
72193 rm -f conftest.$ac_objext
72194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72195 (eval $ac_compile) 2>conftest.er1
72196 ac_status=$?
72197 grep -v '^ *+' conftest.er1 >conftest.err
72198 rm -f conftest.er1
72199 cat conftest.err >&5
72200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201 (exit $ac_status); } &&
72202 { ac_try='test -z "$ac_cxx_werror_flag"
72203 || test ! -s conftest.err'
72204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72205 (eval $ac_try) 2>&5
72206 ac_status=$?
72207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72208 (exit $ac_status); }; } &&
72209 { ac_try='test -s conftest.$ac_objext'
72210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72211 (eval $ac_try) 2>&5
72212 ac_status=$?
72213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72214 (exit $ac_status); }; }; then
72215 glibcxx_cv_func_modff_use=yes
72216 else
72217 echo "$as_me: failed program was:" >&5
72218 sed 's/^/| /' conftest.$ac_ext >&5
72220 glibcxx_cv_func_modff_use=no
72222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72223 ac_ext=c
72224 ac_cpp='$CPP $CPPFLAGS'
72225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72234 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72236 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72238 for ac_func in modff
72240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72241 echo "$as_me:$LINENO: checking for $ac_func" >&5
72242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72243 if eval "test \"\${$as_ac_var+set}\" = set"; then
72244 echo $ECHO_N "(cached) $ECHO_C" >&6
72245 else
72246 if test x$gcc_no_link = xyes; then
72247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72249 { (exit 1); exit 1; }; }
72251 cat >conftest.$ac_ext <<_ACEOF
72252 /* confdefs.h. */
72253 _ACEOF
72254 cat confdefs.h >>conftest.$ac_ext
72255 cat >>conftest.$ac_ext <<_ACEOF
72256 /* end confdefs.h. */
72257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72259 #define $ac_func innocuous_$ac_func
72261 /* System header to define __stub macros and hopefully few prototypes,
72262 which can conflict with char $ac_func (); below.
72263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72264 <limits.h> exists even on freestanding compilers. */
72266 #ifdef __STDC__
72267 # include <limits.h>
72268 #else
72269 # include <assert.h>
72270 #endif
72272 #undef $ac_func
72274 /* Override any gcc2 internal prototype to avoid an error. */
72275 #ifdef __cplusplus
72276 extern "C"
72278 #endif
72279 /* We use char because int might match the return type of a gcc2
72280 builtin and then its argument prototype would still apply. */
72281 char $ac_func ();
72282 /* The GNU C library defines this for functions which it implements
72283 to always fail with ENOSYS. Some functions are actually named
72284 something starting with __ and the normal name is an alias. */
72285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72286 choke me
72287 #else
72288 char (*f) () = $ac_func;
72289 #endif
72290 #ifdef __cplusplus
72292 #endif
72295 main ()
72297 return f != $ac_func;
72299 return 0;
72301 _ACEOF
72302 rm -f conftest.$ac_objext conftest$ac_exeext
72303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72304 (eval $ac_link) 2>conftest.er1
72305 ac_status=$?
72306 grep -v '^ *+' conftest.er1 >conftest.err
72307 rm -f conftest.er1
72308 cat conftest.err >&5
72309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310 (exit $ac_status); } &&
72311 { ac_try='test -z "$ac_c_werror_flag"
72312 || test ! -s conftest.err'
72313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72314 (eval $ac_try) 2>&5
72315 ac_status=$?
72316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72317 (exit $ac_status); }; } &&
72318 { ac_try='test -s conftest$ac_exeext'
72319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72320 (eval $ac_try) 2>&5
72321 ac_status=$?
72322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72323 (exit $ac_status); }; }; then
72324 eval "$as_ac_var=yes"
72325 else
72326 echo "$as_me: failed program was:" >&5
72327 sed 's/^/| /' conftest.$ac_ext >&5
72329 eval "$as_ac_var=no"
72331 rm -f conftest.err conftest.$ac_objext \
72332 conftest$ac_exeext conftest.$ac_ext
72334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72336 if test `eval echo '${'$as_ac_var'}'` = yes; then
72337 cat >>confdefs.h <<_ACEOF
72338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72339 _ACEOF
72342 done
72344 else
72346 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72347 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72348 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72349 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72350 echo $ECHO_N "(cached) $ECHO_C" >&6
72351 else
72355 ac_ext=cc
72356 ac_cpp='$CXXCPP $CPPFLAGS'
72357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72361 cat >conftest.$ac_ext <<_ACEOF
72362 /* confdefs.h. */
72363 _ACEOF
72364 cat confdefs.h >>conftest.$ac_ext
72365 cat >>conftest.$ac_ext <<_ACEOF
72366 /* end confdefs.h. */
72367 #include <math.h>
72369 main ()
72371 _modff(0, 0);
72373 return 0;
72375 _ACEOF
72376 rm -f conftest.$ac_objext
72377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72378 (eval $ac_compile) 2>conftest.er1
72379 ac_status=$?
72380 grep -v '^ *+' conftest.er1 >conftest.err
72381 rm -f conftest.er1
72382 cat conftest.err >&5
72383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72384 (exit $ac_status); } &&
72385 { ac_try='test -z "$ac_cxx_werror_flag"
72386 || test ! -s conftest.err'
72387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72388 (eval $ac_try) 2>&5
72389 ac_status=$?
72390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72391 (exit $ac_status); }; } &&
72392 { ac_try='test -s conftest.$ac_objext'
72393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72394 (eval $ac_try) 2>&5
72395 ac_status=$?
72396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72397 (exit $ac_status); }; }; then
72398 glibcxx_cv_func__modff_use=yes
72399 else
72400 echo "$as_me: failed program was:" >&5
72401 sed 's/^/| /' conftest.$ac_ext >&5
72403 glibcxx_cv_func__modff_use=no
72405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72406 ac_ext=c
72407 ac_cpp='$CPP $CPPFLAGS'
72408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72417 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72419 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72421 for ac_func in _modff
72423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72424 echo "$as_me:$LINENO: checking for $ac_func" >&5
72425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72426 if eval "test \"\${$as_ac_var+set}\" = set"; then
72427 echo $ECHO_N "(cached) $ECHO_C" >&6
72428 else
72429 if test x$gcc_no_link = xyes; then
72430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72432 { (exit 1); exit 1; }; }
72434 cat >conftest.$ac_ext <<_ACEOF
72435 /* confdefs.h. */
72436 _ACEOF
72437 cat confdefs.h >>conftest.$ac_ext
72438 cat >>conftest.$ac_ext <<_ACEOF
72439 /* end confdefs.h. */
72440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72442 #define $ac_func innocuous_$ac_func
72444 /* System header to define __stub macros and hopefully few prototypes,
72445 which can conflict with char $ac_func (); below.
72446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72447 <limits.h> exists even on freestanding compilers. */
72449 #ifdef __STDC__
72450 # include <limits.h>
72451 #else
72452 # include <assert.h>
72453 #endif
72455 #undef $ac_func
72457 /* Override any gcc2 internal prototype to avoid an error. */
72458 #ifdef __cplusplus
72459 extern "C"
72461 #endif
72462 /* We use char because int might match the return type of a gcc2
72463 builtin and then its argument prototype would still apply. */
72464 char $ac_func ();
72465 /* The GNU C library defines this for functions which it implements
72466 to always fail with ENOSYS. Some functions are actually named
72467 something starting with __ and the normal name is an alias. */
72468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72469 choke me
72470 #else
72471 char (*f) () = $ac_func;
72472 #endif
72473 #ifdef __cplusplus
72475 #endif
72478 main ()
72480 return f != $ac_func;
72482 return 0;
72484 _ACEOF
72485 rm -f conftest.$ac_objext conftest$ac_exeext
72486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72487 (eval $ac_link) 2>conftest.er1
72488 ac_status=$?
72489 grep -v '^ *+' conftest.er1 >conftest.err
72490 rm -f conftest.er1
72491 cat conftest.err >&5
72492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493 (exit $ac_status); } &&
72494 { ac_try='test -z "$ac_c_werror_flag"
72495 || test ! -s conftest.err'
72496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72497 (eval $ac_try) 2>&5
72498 ac_status=$?
72499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72500 (exit $ac_status); }; } &&
72501 { ac_try='test -s conftest$ac_exeext'
72502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72503 (eval $ac_try) 2>&5
72504 ac_status=$?
72505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72506 (exit $ac_status); }; }; then
72507 eval "$as_ac_var=yes"
72508 else
72509 echo "$as_me: failed program was:" >&5
72510 sed 's/^/| /' conftest.$ac_ext >&5
72512 eval "$as_ac_var=no"
72514 rm -f conftest.err conftest.$ac_objext \
72515 conftest$ac_exeext conftest.$ac_ext
72517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72519 if test `eval echo '${'$as_ac_var'}'` = yes; then
72520 cat >>confdefs.h <<_ACEOF
72521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72522 _ACEOF
72525 done
72535 echo "$as_me:$LINENO: checking for modf declaration" >&5
72536 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72537 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72538 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72539 echo $ECHO_N "(cached) $ECHO_C" >&6
72540 else
72544 ac_ext=cc
72545 ac_cpp='$CXXCPP $CPPFLAGS'
72546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72550 cat >conftest.$ac_ext <<_ACEOF
72551 /* confdefs.h. */
72552 _ACEOF
72553 cat confdefs.h >>conftest.$ac_ext
72554 cat >>conftest.$ac_ext <<_ACEOF
72555 /* end confdefs.h. */
72556 #include <math.h>
72558 main ()
72560 modf(0, 0);
72562 return 0;
72564 _ACEOF
72565 rm -f conftest.$ac_objext
72566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72567 (eval $ac_compile) 2>conftest.er1
72568 ac_status=$?
72569 grep -v '^ *+' conftest.er1 >conftest.err
72570 rm -f conftest.er1
72571 cat conftest.err >&5
72572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72573 (exit $ac_status); } &&
72574 { ac_try='test -z "$ac_cxx_werror_flag"
72575 || test ! -s conftest.err'
72576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72577 (eval $ac_try) 2>&5
72578 ac_status=$?
72579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72580 (exit $ac_status); }; } &&
72581 { ac_try='test -s conftest.$ac_objext'
72582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72583 (eval $ac_try) 2>&5
72584 ac_status=$?
72585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72586 (exit $ac_status); }; }; then
72587 glibcxx_cv_func_modf_use=yes
72588 else
72589 echo "$as_me: failed program was:" >&5
72590 sed 's/^/| /' conftest.$ac_ext >&5
72592 glibcxx_cv_func_modf_use=no
72594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72595 ac_ext=c
72596 ac_cpp='$CPP $CPPFLAGS'
72597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72606 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72608 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72610 for ac_func in modf
72612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72613 echo "$as_me:$LINENO: checking for $ac_func" >&5
72614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72615 if eval "test \"\${$as_ac_var+set}\" = set"; then
72616 echo $ECHO_N "(cached) $ECHO_C" >&6
72617 else
72618 if test x$gcc_no_link = xyes; then
72619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72621 { (exit 1); exit 1; }; }
72623 cat >conftest.$ac_ext <<_ACEOF
72624 /* confdefs.h. */
72625 _ACEOF
72626 cat confdefs.h >>conftest.$ac_ext
72627 cat >>conftest.$ac_ext <<_ACEOF
72628 /* end confdefs.h. */
72629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72631 #define $ac_func innocuous_$ac_func
72633 /* System header to define __stub macros and hopefully few prototypes,
72634 which can conflict with char $ac_func (); below.
72635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72636 <limits.h> exists even on freestanding compilers. */
72638 #ifdef __STDC__
72639 # include <limits.h>
72640 #else
72641 # include <assert.h>
72642 #endif
72644 #undef $ac_func
72646 /* Override any gcc2 internal prototype to avoid an error. */
72647 #ifdef __cplusplus
72648 extern "C"
72650 #endif
72651 /* We use char because int might match the return type of a gcc2
72652 builtin and then its argument prototype would still apply. */
72653 char $ac_func ();
72654 /* The GNU C library defines this for functions which it implements
72655 to always fail with ENOSYS. Some functions are actually named
72656 something starting with __ and the normal name is an alias. */
72657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72658 choke me
72659 #else
72660 char (*f) () = $ac_func;
72661 #endif
72662 #ifdef __cplusplus
72664 #endif
72667 main ()
72669 return f != $ac_func;
72671 return 0;
72673 _ACEOF
72674 rm -f conftest.$ac_objext conftest$ac_exeext
72675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72676 (eval $ac_link) 2>conftest.er1
72677 ac_status=$?
72678 grep -v '^ *+' conftest.er1 >conftest.err
72679 rm -f conftest.er1
72680 cat conftest.err >&5
72681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72682 (exit $ac_status); } &&
72683 { ac_try='test -z "$ac_c_werror_flag"
72684 || test ! -s conftest.err'
72685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72686 (eval $ac_try) 2>&5
72687 ac_status=$?
72688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72689 (exit $ac_status); }; } &&
72690 { ac_try='test -s conftest$ac_exeext'
72691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72692 (eval $ac_try) 2>&5
72693 ac_status=$?
72694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72695 (exit $ac_status); }; }; then
72696 eval "$as_ac_var=yes"
72697 else
72698 echo "$as_me: failed program was:" >&5
72699 sed 's/^/| /' conftest.$ac_ext >&5
72701 eval "$as_ac_var=no"
72703 rm -f conftest.err conftest.$ac_objext \
72704 conftest$ac_exeext conftest.$ac_ext
72706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72708 if test `eval echo '${'$as_ac_var'}'` = yes; then
72709 cat >>confdefs.h <<_ACEOF
72710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72711 _ACEOF
72714 done
72716 else
72718 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72719 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72720 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72721 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72722 echo $ECHO_N "(cached) $ECHO_C" >&6
72723 else
72727 ac_ext=cc
72728 ac_cpp='$CXXCPP $CPPFLAGS'
72729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72733 cat >conftest.$ac_ext <<_ACEOF
72734 /* confdefs.h. */
72735 _ACEOF
72736 cat confdefs.h >>conftest.$ac_ext
72737 cat >>conftest.$ac_ext <<_ACEOF
72738 /* end confdefs.h. */
72739 #include <math.h>
72741 main ()
72743 _modf(0, 0);
72745 return 0;
72747 _ACEOF
72748 rm -f conftest.$ac_objext
72749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72750 (eval $ac_compile) 2>conftest.er1
72751 ac_status=$?
72752 grep -v '^ *+' conftest.er1 >conftest.err
72753 rm -f conftest.er1
72754 cat conftest.err >&5
72755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72756 (exit $ac_status); } &&
72757 { ac_try='test -z "$ac_cxx_werror_flag"
72758 || test ! -s conftest.err'
72759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72760 (eval $ac_try) 2>&5
72761 ac_status=$?
72762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72763 (exit $ac_status); }; } &&
72764 { ac_try='test -s conftest.$ac_objext'
72765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72766 (eval $ac_try) 2>&5
72767 ac_status=$?
72768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769 (exit $ac_status); }; }; then
72770 glibcxx_cv_func__modf_use=yes
72771 else
72772 echo "$as_me: failed program was:" >&5
72773 sed 's/^/| /' conftest.$ac_ext >&5
72775 glibcxx_cv_func__modf_use=no
72777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72778 ac_ext=c
72779 ac_cpp='$CPP $CPPFLAGS'
72780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72789 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72791 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72793 for ac_func in _modf
72795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72796 echo "$as_me:$LINENO: checking for $ac_func" >&5
72797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72798 if eval "test \"\${$as_ac_var+set}\" = set"; then
72799 echo $ECHO_N "(cached) $ECHO_C" >&6
72800 else
72801 if test x$gcc_no_link = xyes; then
72802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72804 { (exit 1); exit 1; }; }
72806 cat >conftest.$ac_ext <<_ACEOF
72807 /* confdefs.h. */
72808 _ACEOF
72809 cat confdefs.h >>conftest.$ac_ext
72810 cat >>conftest.$ac_ext <<_ACEOF
72811 /* end confdefs.h. */
72812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72814 #define $ac_func innocuous_$ac_func
72816 /* System header to define __stub macros and hopefully few prototypes,
72817 which can conflict with char $ac_func (); below.
72818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72819 <limits.h> exists even on freestanding compilers. */
72821 #ifdef __STDC__
72822 # include <limits.h>
72823 #else
72824 # include <assert.h>
72825 #endif
72827 #undef $ac_func
72829 /* Override any gcc2 internal prototype to avoid an error. */
72830 #ifdef __cplusplus
72831 extern "C"
72833 #endif
72834 /* We use char because int might match the return type of a gcc2
72835 builtin and then its argument prototype would still apply. */
72836 char $ac_func ();
72837 /* The GNU C library defines this for functions which it implements
72838 to always fail with ENOSYS. Some functions are actually named
72839 something starting with __ and the normal name is an alias. */
72840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72841 choke me
72842 #else
72843 char (*f) () = $ac_func;
72844 #endif
72845 #ifdef __cplusplus
72847 #endif
72850 main ()
72852 return f != $ac_func;
72854 return 0;
72856 _ACEOF
72857 rm -f conftest.$ac_objext conftest$ac_exeext
72858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72859 (eval $ac_link) 2>conftest.er1
72860 ac_status=$?
72861 grep -v '^ *+' conftest.er1 >conftest.err
72862 rm -f conftest.er1
72863 cat conftest.err >&5
72864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72865 (exit $ac_status); } &&
72866 { ac_try='test -z "$ac_c_werror_flag"
72867 || test ! -s conftest.err'
72868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72869 (eval $ac_try) 2>&5
72870 ac_status=$?
72871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72872 (exit $ac_status); }; } &&
72873 { ac_try='test -s conftest$ac_exeext'
72874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72875 (eval $ac_try) 2>&5
72876 ac_status=$?
72877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72878 (exit $ac_status); }; }; then
72879 eval "$as_ac_var=yes"
72880 else
72881 echo "$as_me: failed program was:" >&5
72882 sed 's/^/| /' conftest.$ac_ext >&5
72884 eval "$as_ac_var=no"
72886 rm -f conftest.err conftest.$ac_objext \
72887 conftest$ac_exeext conftest.$ac_ext
72889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72891 if test `eval echo '${'$as_ac_var'}'` = yes; then
72892 cat >>confdefs.h <<_ACEOF
72893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72894 _ACEOF
72897 done
72907 echo "$as_me:$LINENO: checking for powf declaration" >&5
72908 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72909 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72910 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72911 echo $ECHO_N "(cached) $ECHO_C" >&6
72912 else
72916 ac_ext=cc
72917 ac_cpp='$CXXCPP $CPPFLAGS'
72918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72922 cat >conftest.$ac_ext <<_ACEOF
72923 /* confdefs.h. */
72924 _ACEOF
72925 cat confdefs.h >>conftest.$ac_ext
72926 cat >>conftest.$ac_ext <<_ACEOF
72927 /* end confdefs.h. */
72928 #include <math.h>
72930 main ()
72932 powf(0, 0);
72934 return 0;
72936 _ACEOF
72937 rm -f conftest.$ac_objext
72938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72939 (eval $ac_compile) 2>conftest.er1
72940 ac_status=$?
72941 grep -v '^ *+' conftest.er1 >conftest.err
72942 rm -f conftest.er1
72943 cat conftest.err >&5
72944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72945 (exit $ac_status); } &&
72946 { ac_try='test -z "$ac_cxx_werror_flag"
72947 || test ! -s conftest.err'
72948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72949 (eval $ac_try) 2>&5
72950 ac_status=$?
72951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72952 (exit $ac_status); }; } &&
72953 { ac_try='test -s conftest.$ac_objext'
72954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72955 (eval $ac_try) 2>&5
72956 ac_status=$?
72957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72958 (exit $ac_status); }; }; then
72959 glibcxx_cv_func_powf_use=yes
72960 else
72961 echo "$as_me: failed program was:" >&5
72962 sed 's/^/| /' conftest.$ac_ext >&5
72964 glibcxx_cv_func_powf_use=no
72966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72967 ac_ext=c
72968 ac_cpp='$CPP $CPPFLAGS'
72969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72978 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72980 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72982 for ac_func in powf
72984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72985 echo "$as_me:$LINENO: checking for $ac_func" >&5
72986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72987 if eval "test \"\${$as_ac_var+set}\" = set"; then
72988 echo $ECHO_N "(cached) $ECHO_C" >&6
72989 else
72990 if test x$gcc_no_link = xyes; then
72991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72993 { (exit 1); exit 1; }; }
72995 cat >conftest.$ac_ext <<_ACEOF
72996 /* confdefs.h. */
72997 _ACEOF
72998 cat confdefs.h >>conftest.$ac_ext
72999 cat >>conftest.$ac_ext <<_ACEOF
73000 /* end confdefs.h. */
73001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73003 #define $ac_func innocuous_$ac_func
73005 /* System header to define __stub macros and hopefully few prototypes,
73006 which can conflict with char $ac_func (); below.
73007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73008 <limits.h> exists even on freestanding compilers. */
73010 #ifdef __STDC__
73011 # include <limits.h>
73012 #else
73013 # include <assert.h>
73014 #endif
73016 #undef $ac_func
73018 /* Override any gcc2 internal prototype to avoid an error. */
73019 #ifdef __cplusplus
73020 extern "C"
73022 #endif
73023 /* We use char because int might match the return type of a gcc2
73024 builtin and then its argument prototype would still apply. */
73025 char $ac_func ();
73026 /* The GNU C library defines this for functions which it implements
73027 to always fail with ENOSYS. Some functions are actually named
73028 something starting with __ and the normal name is an alias. */
73029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73030 choke me
73031 #else
73032 char (*f) () = $ac_func;
73033 #endif
73034 #ifdef __cplusplus
73036 #endif
73039 main ()
73041 return f != $ac_func;
73043 return 0;
73045 _ACEOF
73046 rm -f conftest.$ac_objext conftest$ac_exeext
73047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73048 (eval $ac_link) 2>conftest.er1
73049 ac_status=$?
73050 grep -v '^ *+' conftest.er1 >conftest.err
73051 rm -f conftest.er1
73052 cat conftest.err >&5
73053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73054 (exit $ac_status); } &&
73055 { ac_try='test -z "$ac_c_werror_flag"
73056 || test ! -s conftest.err'
73057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73058 (eval $ac_try) 2>&5
73059 ac_status=$?
73060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061 (exit $ac_status); }; } &&
73062 { ac_try='test -s conftest$ac_exeext'
73063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73064 (eval $ac_try) 2>&5
73065 ac_status=$?
73066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73067 (exit $ac_status); }; }; then
73068 eval "$as_ac_var=yes"
73069 else
73070 echo "$as_me: failed program was:" >&5
73071 sed 's/^/| /' conftest.$ac_ext >&5
73073 eval "$as_ac_var=no"
73075 rm -f conftest.err conftest.$ac_objext \
73076 conftest$ac_exeext conftest.$ac_ext
73078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73080 if test `eval echo '${'$as_ac_var'}'` = yes; then
73081 cat >>confdefs.h <<_ACEOF
73082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73083 _ACEOF
73086 done
73088 else
73090 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73091 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73092 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73093 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73094 echo $ECHO_N "(cached) $ECHO_C" >&6
73095 else
73099 ac_ext=cc
73100 ac_cpp='$CXXCPP $CPPFLAGS'
73101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73105 cat >conftest.$ac_ext <<_ACEOF
73106 /* confdefs.h. */
73107 _ACEOF
73108 cat confdefs.h >>conftest.$ac_ext
73109 cat >>conftest.$ac_ext <<_ACEOF
73110 /* end confdefs.h. */
73111 #include <math.h>
73113 main ()
73115 _powf(0, 0);
73117 return 0;
73119 _ACEOF
73120 rm -f conftest.$ac_objext
73121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73122 (eval $ac_compile) 2>conftest.er1
73123 ac_status=$?
73124 grep -v '^ *+' conftest.er1 >conftest.err
73125 rm -f conftest.er1
73126 cat conftest.err >&5
73127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73128 (exit $ac_status); } &&
73129 { ac_try='test -z "$ac_cxx_werror_flag"
73130 || test ! -s conftest.err'
73131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73132 (eval $ac_try) 2>&5
73133 ac_status=$?
73134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73135 (exit $ac_status); }; } &&
73136 { ac_try='test -s conftest.$ac_objext'
73137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73138 (eval $ac_try) 2>&5
73139 ac_status=$?
73140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73141 (exit $ac_status); }; }; then
73142 glibcxx_cv_func__powf_use=yes
73143 else
73144 echo "$as_me: failed program was:" >&5
73145 sed 's/^/| /' conftest.$ac_ext >&5
73147 glibcxx_cv_func__powf_use=no
73149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73150 ac_ext=c
73151 ac_cpp='$CPP $CPPFLAGS'
73152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73161 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73163 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73165 for ac_func in _powf
73167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73168 echo "$as_me:$LINENO: checking for $ac_func" >&5
73169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73170 if eval "test \"\${$as_ac_var+set}\" = set"; then
73171 echo $ECHO_N "(cached) $ECHO_C" >&6
73172 else
73173 if test x$gcc_no_link = xyes; then
73174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73176 { (exit 1); exit 1; }; }
73178 cat >conftest.$ac_ext <<_ACEOF
73179 /* confdefs.h. */
73180 _ACEOF
73181 cat confdefs.h >>conftest.$ac_ext
73182 cat >>conftest.$ac_ext <<_ACEOF
73183 /* end confdefs.h. */
73184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73186 #define $ac_func innocuous_$ac_func
73188 /* System header to define __stub macros and hopefully few prototypes,
73189 which can conflict with char $ac_func (); below.
73190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73191 <limits.h> exists even on freestanding compilers. */
73193 #ifdef __STDC__
73194 # include <limits.h>
73195 #else
73196 # include <assert.h>
73197 #endif
73199 #undef $ac_func
73201 /* Override any gcc2 internal prototype to avoid an error. */
73202 #ifdef __cplusplus
73203 extern "C"
73205 #endif
73206 /* We use char because int might match the return type of a gcc2
73207 builtin and then its argument prototype would still apply. */
73208 char $ac_func ();
73209 /* The GNU C library defines this for functions which it implements
73210 to always fail with ENOSYS. Some functions are actually named
73211 something starting with __ and the normal name is an alias. */
73212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73213 choke me
73214 #else
73215 char (*f) () = $ac_func;
73216 #endif
73217 #ifdef __cplusplus
73219 #endif
73222 main ()
73224 return f != $ac_func;
73226 return 0;
73228 _ACEOF
73229 rm -f conftest.$ac_objext conftest$ac_exeext
73230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73231 (eval $ac_link) 2>conftest.er1
73232 ac_status=$?
73233 grep -v '^ *+' conftest.er1 >conftest.err
73234 rm -f conftest.er1
73235 cat conftest.err >&5
73236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73237 (exit $ac_status); } &&
73238 { ac_try='test -z "$ac_c_werror_flag"
73239 || test ! -s conftest.err'
73240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73241 (eval $ac_try) 2>&5
73242 ac_status=$?
73243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73244 (exit $ac_status); }; } &&
73245 { ac_try='test -s conftest$ac_exeext'
73246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247 (eval $ac_try) 2>&5
73248 ac_status=$?
73249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250 (exit $ac_status); }; }; then
73251 eval "$as_ac_var=yes"
73252 else
73253 echo "$as_me: failed program was:" >&5
73254 sed 's/^/| /' conftest.$ac_ext >&5
73256 eval "$as_ac_var=no"
73258 rm -f conftest.err conftest.$ac_objext \
73259 conftest$ac_exeext conftest.$ac_ext
73261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73263 if test `eval echo '${'$as_ac_var'}'` = yes; then
73264 cat >>confdefs.h <<_ACEOF
73265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73266 _ACEOF
73269 done
73279 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73280 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73281 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73282 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73283 echo $ECHO_N "(cached) $ECHO_C" >&6
73284 else
73288 ac_ext=cc
73289 ac_cpp='$CXXCPP $CPPFLAGS'
73290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73294 cat >conftest.$ac_ext <<_ACEOF
73295 /* confdefs.h. */
73296 _ACEOF
73297 cat confdefs.h >>conftest.$ac_ext
73298 cat >>conftest.$ac_ext <<_ACEOF
73299 /* end confdefs.h. */
73300 #include <math.h>
73301 #ifdef HAVE_IEEEFP_H
73302 #include <ieeefp.h>
73303 #endif
73306 main ()
73308 sqrtf(0);
73310 return 0;
73312 _ACEOF
73313 rm -f conftest.$ac_objext
73314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73315 (eval $ac_compile) 2>conftest.er1
73316 ac_status=$?
73317 grep -v '^ *+' conftest.er1 >conftest.err
73318 rm -f conftest.er1
73319 cat conftest.err >&5
73320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73321 (exit $ac_status); } &&
73322 { ac_try='test -z "$ac_cxx_werror_flag"
73323 || test ! -s conftest.err'
73324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73325 (eval $ac_try) 2>&5
73326 ac_status=$?
73327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73328 (exit $ac_status); }; } &&
73329 { ac_try='test -s conftest.$ac_objext'
73330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73331 (eval $ac_try) 2>&5
73332 ac_status=$?
73333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73334 (exit $ac_status); }; }; then
73335 glibcxx_cv_func_sqrtf_use=yes
73336 else
73337 echo "$as_me: failed program was:" >&5
73338 sed 's/^/| /' conftest.$ac_ext >&5
73340 glibcxx_cv_func_sqrtf_use=no
73342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73343 ac_ext=c
73344 ac_cpp='$CPP $CPPFLAGS'
73345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73354 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73356 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73358 for ac_func in sqrtf
73360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73361 echo "$as_me:$LINENO: checking for $ac_func" >&5
73362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73363 if eval "test \"\${$as_ac_var+set}\" = set"; then
73364 echo $ECHO_N "(cached) $ECHO_C" >&6
73365 else
73366 if test x$gcc_no_link = xyes; then
73367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73369 { (exit 1); exit 1; }; }
73371 cat >conftest.$ac_ext <<_ACEOF
73372 /* confdefs.h. */
73373 _ACEOF
73374 cat confdefs.h >>conftest.$ac_ext
73375 cat >>conftest.$ac_ext <<_ACEOF
73376 /* end confdefs.h. */
73377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73379 #define $ac_func innocuous_$ac_func
73381 /* System header to define __stub macros and hopefully few prototypes,
73382 which can conflict with char $ac_func (); below.
73383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73384 <limits.h> exists even on freestanding compilers. */
73386 #ifdef __STDC__
73387 # include <limits.h>
73388 #else
73389 # include <assert.h>
73390 #endif
73392 #undef $ac_func
73394 /* Override any gcc2 internal prototype to avoid an error. */
73395 #ifdef __cplusplus
73396 extern "C"
73398 #endif
73399 /* We use char because int might match the return type of a gcc2
73400 builtin and then its argument prototype would still apply. */
73401 char $ac_func ();
73402 /* The GNU C library defines this for functions which it implements
73403 to always fail with ENOSYS. Some functions are actually named
73404 something starting with __ and the normal name is an alias. */
73405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73406 choke me
73407 #else
73408 char (*f) () = $ac_func;
73409 #endif
73410 #ifdef __cplusplus
73412 #endif
73415 main ()
73417 return f != $ac_func;
73419 return 0;
73421 _ACEOF
73422 rm -f conftest.$ac_objext conftest$ac_exeext
73423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73424 (eval $ac_link) 2>conftest.er1
73425 ac_status=$?
73426 grep -v '^ *+' conftest.er1 >conftest.err
73427 rm -f conftest.er1
73428 cat conftest.err >&5
73429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73430 (exit $ac_status); } &&
73431 { ac_try='test -z "$ac_c_werror_flag"
73432 || test ! -s conftest.err'
73433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73434 (eval $ac_try) 2>&5
73435 ac_status=$?
73436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73437 (exit $ac_status); }; } &&
73438 { ac_try='test -s conftest$ac_exeext'
73439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73440 (eval $ac_try) 2>&5
73441 ac_status=$?
73442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73443 (exit $ac_status); }; }; then
73444 eval "$as_ac_var=yes"
73445 else
73446 echo "$as_me: failed program was:" >&5
73447 sed 's/^/| /' conftest.$ac_ext >&5
73449 eval "$as_ac_var=no"
73451 rm -f conftest.err conftest.$ac_objext \
73452 conftest$ac_exeext conftest.$ac_ext
73454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73456 if test `eval echo '${'$as_ac_var'}'` = yes; then
73457 cat >>confdefs.h <<_ACEOF
73458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73459 _ACEOF
73462 done
73464 else
73466 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73467 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73468 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73469 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73470 echo $ECHO_N "(cached) $ECHO_C" >&6
73471 else
73475 ac_ext=cc
73476 ac_cpp='$CXXCPP $CPPFLAGS'
73477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73481 cat >conftest.$ac_ext <<_ACEOF
73482 /* confdefs.h. */
73483 _ACEOF
73484 cat confdefs.h >>conftest.$ac_ext
73485 cat >>conftest.$ac_ext <<_ACEOF
73486 /* end confdefs.h. */
73487 #include <math.h>
73488 #ifdef HAVE_IEEEFP_H
73489 #include <ieeefp.h>
73490 #endif
73493 main ()
73495 _sqrtf(0);
73497 return 0;
73499 _ACEOF
73500 rm -f conftest.$ac_objext
73501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73502 (eval $ac_compile) 2>conftest.er1
73503 ac_status=$?
73504 grep -v '^ *+' conftest.er1 >conftest.err
73505 rm -f conftest.er1
73506 cat conftest.err >&5
73507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73508 (exit $ac_status); } &&
73509 { ac_try='test -z "$ac_cxx_werror_flag"
73510 || test ! -s conftest.err'
73511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73512 (eval $ac_try) 2>&5
73513 ac_status=$?
73514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73515 (exit $ac_status); }; } &&
73516 { ac_try='test -s conftest.$ac_objext'
73517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73518 (eval $ac_try) 2>&5
73519 ac_status=$?
73520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73521 (exit $ac_status); }; }; then
73522 glibcxx_cv_func__sqrtf_use=yes
73523 else
73524 echo "$as_me: failed program was:" >&5
73525 sed 's/^/| /' conftest.$ac_ext >&5
73527 glibcxx_cv_func__sqrtf_use=no
73529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73530 ac_ext=c
73531 ac_cpp='$CPP $CPPFLAGS'
73532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73541 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73543 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73545 for ac_func in _sqrtf
73547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73548 echo "$as_me:$LINENO: checking for $ac_func" >&5
73549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73550 if eval "test \"\${$as_ac_var+set}\" = set"; then
73551 echo $ECHO_N "(cached) $ECHO_C" >&6
73552 else
73553 if test x$gcc_no_link = xyes; then
73554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73556 { (exit 1); exit 1; }; }
73558 cat >conftest.$ac_ext <<_ACEOF
73559 /* confdefs.h. */
73560 _ACEOF
73561 cat confdefs.h >>conftest.$ac_ext
73562 cat >>conftest.$ac_ext <<_ACEOF
73563 /* end confdefs.h. */
73564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73566 #define $ac_func innocuous_$ac_func
73568 /* System header to define __stub macros and hopefully few prototypes,
73569 which can conflict with char $ac_func (); below.
73570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73571 <limits.h> exists even on freestanding compilers. */
73573 #ifdef __STDC__
73574 # include <limits.h>
73575 #else
73576 # include <assert.h>
73577 #endif
73579 #undef $ac_func
73581 /* Override any gcc2 internal prototype to avoid an error. */
73582 #ifdef __cplusplus
73583 extern "C"
73585 #endif
73586 /* We use char because int might match the return type of a gcc2
73587 builtin and then its argument prototype would still apply. */
73588 char $ac_func ();
73589 /* The GNU C library defines this for functions which it implements
73590 to always fail with ENOSYS. Some functions are actually named
73591 something starting with __ and the normal name is an alias. */
73592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73593 choke me
73594 #else
73595 char (*f) () = $ac_func;
73596 #endif
73597 #ifdef __cplusplus
73599 #endif
73602 main ()
73604 return f != $ac_func;
73606 return 0;
73608 _ACEOF
73609 rm -f conftest.$ac_objext conftest$ac_exeext
73610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73611 (eval $ac_link) 2>conftest.er1
73612 ac_status=$?
73613 grep -v '^ *+' conftest.er1 >conftest.err
73614 rm -f conftest.er1
73615 cat conftest.err >&5
73616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73617 (exit $ac_status); } &&
73618 { ac_try='test -z "$ac_c_werror_flag"
73619 || test ! -s conftest.err'
73620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73621 (eval $ac_try) 2>&5
73622 ac_status=$?
73623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73624 (exit $ac_status); }; } &&
73625 { ac_try='test -s conftest$ac_exeext'
73626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73627 (eval $ac_try) 2>&5
73628 ac_status=$?
73629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73630 (exit $ac_status); }; }; then
73631 eval "$as_ac_var=yes"
73632 else
73633 echo "$as_me: failed program was:" >&5
73634 sed 's/^/| /' conftest.$ac_ext >&5
73636 eval "$as_ac_var=no"
73638 rm -f conftest.err conftest.$ac_objext \
73639 conftest$ac_exeext conftest.$ac_ext
73641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73643 if test `eval echo '${'$as_ac_var'}'` = yes; then
73644 cat >>confdefs.h <<_ACEOF
73645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73646 _ACEOF
73649 done
73659 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73660 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73661 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73662 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73663 echo $ECHO_N "(cached) $ECHO_C" >&6
73664 else
73668 ac_ext=cc
73669 ac_cpp='$CXXCPP $CPPFLAGS'
73670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73674 cat >conftest.$ac_ext <<_ACEOF
73675 /* confdefs.h. */
73676 _ACEOF
73677 cat confdefs.h >>conftest.$ac_ext
73678 cat >>conftest.$ac_ext <<_ACEOF
73679 /* end confdefs.h. */
73680 #include <math.h>
73682 main ()
73684 sincosf(0, 0, 0);
73686 return 0;
73688 _ACEOF
73689 rm -f conftest.$ac_objext
73690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73691 (eval $ac_compile) 2>conftest.er1
73692 ac_status=$?
73693 grep -v '^ *+' conftest.er1 >conftest.err
73694 rm -f conftest.er1
73695 cat conftest.err >&5
73696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73697 (exit $ac_status); } &&
73698 { ac_try='test -z "$ac_cxx_werror_flag"
73699 || test ! -s conftest.err'
73700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73701 (eval $ac_try) 2>&5
73702 ac_status=$?
73703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73704 (exit $ac_status); }; } &&
73705 { ac_try='test -s conftest.$ac_objext'
73706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73707 (eval $ac_try) 2>&5
73708 ac_status=$?
73709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73710 (exit $ac_status); }; }; then
73711 glibcxx_cv_func_sincosf_use=yes
73712 else
73713 echo "$as_me: failed program was:" >&5
73714 sed 's/^/| /' conftest.$ac_ext >&5
73716 glibcxx_cv_func_sincosf_use=no
73718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73719 ac_ext=c
73720 ac_cpp='$CPP $CPPFLAGS'
73721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73730 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73732 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73734 for ac_func in sincosf
73736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73737 echo "$as_me:$LINENO: checking for $ac_func" >&5
73738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73739 if eval "test \"\${$as_ac_var+set}\" = set"; then
73740 echo $ECHO_N "(cached) $ECHO_C" >&6
73741 else
73742 if test x$gcc_no_link = xyes; then
73743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73745 { (exit 1); exit 1; }; }
73747 cat >conftest.$ac_ext <<_ACEOF
73748 /* confdefs.h. */
73749 _ACEOF
73750 cat confdefs.h >>conftest.$ac_ext
73751 cat >>conftest.$ac_ext <<_ACEOF
73752 /* end confdefs.h. */
73753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73755 #define $ac_func innocuous_$ac_func
73757 /* System header to define __stub macros and hopefully few prototypes,
73758 which can conflict with char $ac_func (); below.
73759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73760 <limits.h> exists even on freestanding compilers. */
73762 #ifdef __STDC__
73763 # include <limits.h>
73764 #else
73765 # include <assert.h>
73766 #endif
73768 #undef $ac_func
73770 /* Override any gcc2 internal prototype to avoid an error. */
73771 #ifdef __cplusplus
73772 extern "C"
73774 #endif
73775 /* We use char because int might match the return type of a gcc2
73776 builtin and then its argument prototype would still apply. */
73777 char $ac_func ();
73778 /* The GNU C library defines this for functions which it implements
73779 to always fail with ENOSYS. Some functions are actually named
73780 something starting with __ and the normal name is an alias. */
73781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73782 choke me
73783 #else
73784 char (*f) () = $ac_func;
73785 #endif
73786 #ifdef __cplusplus
73788 #endif
73791 main ()
73793 return f != $ac_func;
73795 return 0;
73797 _ACEOF
73798 rm -f conftest.$ac_objext conftest$ac_exeext
73799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73800 (eval $ac_link) 2>conftest.er1
73801 ac_status=$?
73802 grep -v '^ *+' conftest.er1 >conftest.err
73803 rm -f conftest.er1
73804 cat conftest.err >&5
73805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73806 (exit $ac_status); } &&
73807 { ac_try='test -z "$ac_c_werror_flag"
73808 || test ! -s conftest.err'
73809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73810 (eval $ac_try) 2>&5
73811 ac_status=$?
73812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73813 (exit $ac_status); }; } &&
73814 { ac_try='test -s conftest$ac_exeext'
73815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73816 (eval $ac_try) 2>&5
73817 ac_status=$?
73818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73819 (exit $ac_status); }; }; then
73820 eval "$as_ac_var=yes"
73821 else
73822 echo "$as_me: failed program was:" >&5
73823 sed 's/^/| /' conftest.$ac_ext >&5
73825 eval "$as_ac_var=no"
73827 rm -f conftest.err conftest.$ac_objext \
73828 conftest$ac_exeext conftest.$ac_ext
73830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73832 if test `eval echo '${'$as_ac_var'}'` = yes; then
73833 cat >>confdefs.h <<_ACEOF
73834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73835 _ACEOF
73838 done
73840 else
73842 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73843 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73844 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73845 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73846 echo $ECHO_N "(cached) $ECHO_C" >&6
73847 else
73851 ac_ext=cc
73852 ac_cpp='$CXXCPP $CPPFLAGS'
73853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73857 cat >conftest.$ac_ext <<_ACEOF
73858 /* confdefs.h. */
73859 _ACEOF
73860 cat confdefs.h >>conftest.$ac_ext
73861 cat >>conftest.$ac_ext <<_ACEOF
73862 /* end confdefs.h. */
73863 #include <math.h>
73865 main ()
73867 _sincosf(0, 0, 0);
73869 return 0;
73871 _ACEOF
73872 rm -f conftest.$ac_objext
73873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73874 (eval $ac_compile) 2>conftest.er1
73875 ac_status=$?
73876 grep -v '^ *+' conftest.er1 >conftest.err
73877 rm -f conftest.er1
73878 cat conftest.err >&5
73879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73880 (exit $ac_status); } &&
73881 { ac_try='test -z "$ac_cxx_werror_flag"
73882 || test ! -s conftest.err'
73883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73884 (eval $ac_try) 2>&5
73885 ac_status=$?
73886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73887 (exit $ac_status); }; } &&
73888 { ac_try='test -s conftest.$ac_objext'
73889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73890 (eval $ac_try) 2>&5
73891 ac_status=$?
73892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73893 (exit $ac_status); }; }; then
73894 glibcxx_cv_func__sincosf_use=yes
73895 else
73896 echo "$as_me: failed program was:" >&5
73897 sed 's/^/| /' conftest.$ac_ext >&5
73899 glibcxx_cv_func__sincosf_use=no
73901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73902 ac_ext=c
73903 ac_cpp='$CPP $CPPFLAGS'
73904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73913 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73915 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73917 for ac_func in _sincosf
73919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73920 echo "$as_me:$LINENO: checking for $ac_func" >&5
73921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73922 if eval "test \"\${$as_ac_var+set}\" = set"; then
73923 echo $ECHO_N "(cached) $ECHO_C" >&6
73924 else
73925 if test x$gcc_no_link = xyes; then
73926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73928 { (exit 1); exit 1; }; }
73930 cat >conftest.$ac_ext <<_ACEOF
73931 /* confdefs.h. */
73932 _ACEOF
73933 cat confdefs.h >>conftest.$ac_ext
73934 cat >>conftest.$ac_ext <<_ACEOF
73935 /* end confdefs.h. */
73936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73938 #define $ac_func innocuous_$ac_func
73940 /* System header to define __stub macros and hopefully few prototypes,
73941 which can conflict with char $ac_func (); below.
73942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73943 <limits.h> exists even on freestanding compilers. */
73945 #ifdef __STDC__
73946 # include <limits.h>
73947 #else
73948 # include <assert.h>
73949 #endif
73951 #undef $ac_func
73953 /* Override any gcc2 internal prototype to avoid an error. */
73954 #ifdef __cplusplus
73955 extern "C"
73957 #endif
73958 /* We use char because int might match the return type of a gcc2
73959 builtin and then its argument prototype would still apply. */
73960 char $ac_func ();
73961 /* The GNU C library defines this for functions which it implements
73962 to always fail with ENOSYS. Some functions are actually named
73963 something starting with __ and the normal name is an alias. */
73964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73965 choke me
73966 #else
73967 char (*f) () = $ac_func;
73968 #endif
73969 #ifdef __cplusplus
73971 #endif
73974 main ()
73976 return f != $ac_func;
73978 return 0;
73980 _ACEOF
73981 rm -f conftest.$ac_objext conftest$ac_exeext
73982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73983 (eval $ac_link) 2>conftest.er1
73984 ac_status=$?
73985 grep -v '^ *+' conftest.er1 >conftest.err
73986 rm -f conftest.er1
73987 cat conftest.err >&5
73988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73989 (exit $ac_status); } &&
73990 { ac_try='test -z "$ac_c_werror_flag"
73991 || test ! -s conftest.err'
73992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73993 (eval $ac_try) 2>&5
73994 ac_status=$?
73995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73996 (exit $ac_status); }; } &&
73997 { ac_try='test -s conftest$ac_exeext'
73998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73999 (eval $ac_try) 2>&5
74000 ac_status=$?
74001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74002 (exit $ac_status); }; }; then
74003 eval "$as_ac_var=yes"
74004 else
74005 echo "$as_me: failed program was:" >&5
74006 sed 's/^/| /' conftest.$ac_ext >&5
74008 eval "$as_ac_var=no"
74010 rm -f conftest.err conftest.$ac_objext \
74011 conftest$ac_exeext conftest.$ac_ext
74013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74015 if test `eval echo '${'$as_ac_var'}'` = yes; then
74016 cat >>confdefs.h <<_ACEOF
74017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74018 _ACEOF
74021 done
74031 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74032 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74033 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74034 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74035 echo $ECHO_N "(cached) $ECHO_C" >&6
74036 else
74040 ac_ext=cc
74041 ac_cpp='$CXXCPP $CPPFLAGS'
74042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74046 cat >conftest.$ac_ext <<_ACEOF
74047 /* confdefs.h. */
74048 _ACEOF
74049 cat confdefs.h >>conftest.$ac_ext
74050 cat >>conftest.$ac_ext <<_ACEOF
74051 /* end confdefs.h. */
74052 #include <math.h>
74053 #ifdef HAVE_IEEEFP_H
74054 #include <ieeefp.h>
74055 #endif
74058 main ()
74060 finitef(0);
74062 return 0;
74064 _ACEOF
74065 rm -f conftest.$ac_objext
74066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74067 (eval $ac_compile) 2>conftest.er1
74068 ac_status=$?
74069 grep -v '^ *+' conftest.er1 >conftest.err
74070 rm -f conftest.er1
74071 cat conftest.err >&5
74072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74073 (exit $ac_status); } &&
74074 { ac_try='test -z "$ac_cxx_werror_flag"
74075 || test ! -s conftest.err'
74076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74077 (eval $ac_try) 2>&5
74078 ac_status=$?
74079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74080 (exit $ac_status); }; } &&
74081 { ac_try='test -s conftest.$ac_objext'
74082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74083 (eval $ac_try) 2>&5
74084 ac_status=$?
74085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74086 (exit $ac_status); }; }; then
74087 glibcxx_cv_func_finitef_use=yes
74088 else
74089 echo "$as_me: failed program was:" >&5
74090 sed 's/^/| /' conftest.$ac_ext >&5
74092 glibcxx_cv_func_finitef_use=no
74094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74095 ac_ext=c
74096 ac_cpp='$CPP $CPPFLAGS'
74097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74106 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74108 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74110 for ac_func in finitef
74112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74113 echo "$as_me:$LINENO: checking for $ac_func" >&5
74114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74115 if eval "test \"\${$as_ac_var+set}\" = set"; then
74116 echo $ECHO_N "(cached) $ECHO_C" >&6
74117 else
74118 if test x$gcc_no_link = xyes; then
74119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74121 { (exit 1); exit 1; }; }
74123 cat >conftest.$ac_ext <<_ACEOF
74124 /* confdefs.h. */
74125 _ACEOF
74126 cat confdefs.h >>conftest.$ac_ext
74127 cat >>conftest.$ac_ext <<_ACEOF
74128 /* end confdefs.h. */
74129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74131 #define $ac_func innocuous_$ac_func
74133 /* System header to define __stub macros and hopefully few prototypes,
74134 which can conflict with char $ac_func (); below.
74135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74136 <limits.h> exists even on freestanding compilers. */
74138 #ifdef __STDC__
74139 # include <limits.h>
74140 #else
74141 # include <assert.h>
74142 #endif
74144 #undef $ac_func
74146 /* Override any gcc2 internal prototype to avoid an error. */
74147 #ifdef __cplusplus
74148 extern "C"
74150 #endif
74151 /* We use char because int might match the return type of a gcc2
74152 builtin and then its argument prototype would still apply. */
74153 char $ac_func ();
74154 /* The GNU C library defines this for functions which it implements
74155 to always fail with ENOSYS. Some functions are actually named
74156 something starting with __ and the normal name is an alias. */
74157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74158 choke me
74159 #else
74160 char (*f) () = $ac_func;
74161 #endif
74162 #ifdef __cplusplus
74164 #endif
74167 main ()
74169 return f != $ac_func;
74171 return 0;
74173 _ACEOF
74174 rm -f conftest.$ac_objext conftest$ac_exeext
74175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74176 (eval $ac_link) 2>conftest.er1
74177 ac_status=$?
74178 grep -v '^ *+' conftest.er1 >conftest.err
74179 rm -f conftest.er1
74180 cat conftest.err >&5
74181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74182 (exit $ac_status); } &&
74183 { ac_try='test -z "$ac_c_werror_flag"
74184 || test ! -s conftest.err'
74185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74186 (eval $ac_try) 2>&5
74187 ac_status=$?
74188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74189 (exit $ac_status); }; } &&
74190 { ac_try='test -s conftest$ac_exeext'
74191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74192 (eval $ac_try) 2>&5
74193 ac_status=$?
74194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74195 (exit $ac_status); }; }; then
74196 eval "$as_ac_var=yes"
74197 else
74198 echo "$as_me: failed program was:" >&5
74199 sed 's/^/| /' conftest.$ac_ext >&5
74201 eval "$as_ac_var=no"
74203 rm -f conftest.err conftest.$ac_objext \
74204 conftest$ac_exeext conftest.$ac_ext
74206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74208 if test `eval echo '${'$as_ac_var'}'` = yes; then
74209 cat >>confdefs.h <<_ACEOF
74210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74211 _ACEOF
74214 done
74216 else
74218 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74219 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74220 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74221 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74222 echo $ECHO_N "(cached) $ECHO_C" >&6
74223 else
74227 ac_ext=cc
74228 ac_cpp='$CXXCPP $CPPFLAGS'
74229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74233 cat >conftest.$ac_ext <<_ACEOF
74234 /* confdefs.h. */
74235 _ACEOF
74236 cat confdefs.h >>conftest.$ac_ext
74237 cat >>conftest.$ac_ext <<_ACEOF
74238 /* end confdefs.h. */
74239 #include <math.h>
74240 #ifdef HAVE_IEEEFP_H
74241 #include <ieeefp.h>
74242 #endif
74245 main ()
74247 _finitef(0);
74249 return 0;
74251 _ACEOF
74252 rm -f conftest.$ac_objext
74253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74254 (eval $ac_compile) 2>conftest.er1
74255 ac_status=$?
74256 grep -v '^ *+' conftest.er1 >conftest.err
74257 rm -f conftest.er1
74258 cat conftest.err >&5
74259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74260 (exit $ac_status); } &&
74261 { ac_try='test -z "$ac_cxx_werror_flag"
74262 || test ! -s conftest.err'
74263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74264 (eval $ac_try) 2>&5
74265 ac_status=$?
74266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74267 (exit $ac_status); }; } &&
74268 { ac_try='test -s conftest.$ac_objext'
74269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74270 (eval $ac_try) 2>&5
74271 ac_status=$?
74272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74273 (exit $ac_status); }; }; then
74274 glibcxx_cv_func__finitef_use=yes
74275 else
74276 echo "$as_me: failed program was:" >&5
74277 sed 's/^/| /' conftest.$ac_ext >&5
74279 glibcxx_cv_func__finitef_use=no
74281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74282 ac_ext=c
74283 ac_cpp='$CPP $CPPFLAGS'
74284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74293 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74295 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74297 for ac_func in _finitef
74299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74300 echo "$as_me:$LINENO: checking for $ac_func" >&5
74301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74302 if eval "test \"\${$as_ac_var+set}\" = set"; then
74303 echo $ECHO_N "(cached) $ECHO_C" >&6
74304 else
74305 if test x$gcc_no_link = xyes; then
74306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74308 { (exit 1); exit 1; }; }
74310 cat >conftest.$ac_ext <<_ACEOF
74311 /* confdefs.h. */
74312 _ACEOF
74313 cat confdefs.h >>conftest.$ac_ext
74314 cat >>conftest.$ac_ext <<_ACEOF
74315 /* end confdefs.h. */
74316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74318 #define $ac_func innocuous_$ac_func
74320 /* System header to define __stub macros and hopefully few prototypes,
74321 which can conflict with char $ac_func (); below.
74322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74323 <limits.h> exists even on freestanding compilers. */
74325 #ifdef __STDC__
74326 # include <limits.h>
74327 #else
74328 # include <assert.h>
74329 #endif
74331 #undef $ac_func
74333 /* Override any gcc2 internal prototype to avoid an error. */
74334 #ifdef __cplusplus
74335 extern "C"
74337 #endif
74338 /* We use char because int might match the return type of a gcc2
74339 builtin and then its argument prototype would still apply. */
74340 char $ac_func ();
74341 /* The GNU C library defines this for functions which it implements
74342 to always fail with ENOSYS. Some functions are actually named
74343 something starting with __ and the normal name is an alias. */
74344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74345 choke me
74346 #else
74347 char (*f) () = $ac_func;
74348 #endif
74349 #ifdef __cplusplus
74351 #endif
74354 main ()
74356 return f != $ac_func;
74358 return 0;
74360 _ACEOF
74361 rm -f conftest.$ac_objext conftest$ac_exeext
74362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74363 (eval $ac_link) 2>conftest.er1
74364 ac_status=$?
74365 grep -v '^ *+' conftest.er1 >conftest.err
74366 rm -f conftest.er1
74367 cat conftest.err >&5
74368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74369 (exit $ac_status); } &&
74370 { ac_try='test -z "$ac_c_werror_flag"
74371 || test ! -s conftest.err'
74372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74373 (eval $ac_try) 2>&5
74374 ac_status=$?
74375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74376 (exit $ac_status); }; } &&
74377 { ac_try='test -s conftest$ac_exeext'
74378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74379 (eval $ac_try) 2>&5
74380 ac_status=$?
74381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74382 (exit $ac_status); }; }; then
74383 eval "$as_ac_var=yes"
74384 else
74385 echo "$as_me: failed program was:" >&5
74386 sed 's/^/| /' conftest.$ac_ext >&5
74388 eval "$as_ac_var=no"
74390 rm -f conftest.err conftest.$ac_objext \
74391 conftest$ac_exeext conftest.$ac_ext
74393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74395 if test `eval echo '${'$as_ac_var'}'` = yes; then
74396 cat >>confdefs.h <<_ACEOF
74397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74398 _ACEOF
74401 done
74411 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74412 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74413 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74414 echo $ECHO_N "(cached) $ECHO_C" >&6
74415 else
74419 ac_ext=cc
74420 ac_cpp='$CXXCPP $CPPFLAGS'
74421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74425 cat >conftest.$ac_ext <<_ACEOF
74426 /* confdefs.h. */
74427 _ACEOF
74428 cat confdefs.h >>conftest.$ac_ext
74429 cat >>conftest.$ac_ext <<_ACEOF
74430 /* end confdefs.h. */
74431 #include <math.h>
74433 main ()
74435 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74437 return 0;
74439 _ACEOF
74440 rm -f conftest.$ac_objext
74441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74442 (eval $ac_compile) 2>conftest.er1
74443 ac_status=$?
74444 grep -v '^ *+' conftest.er1 >conftest.err
74445 rm -f conftest.er1
74446 cat conftest.err >&5
74447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74448 (exit $ac_status); } &&
74449 { ac_try='test -z "$ac_cxx_werror_flag"
74450 || test ! -s conftest.err'
74451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74452 (eval $ac_try) 2>&5
74453 ac_status=$?
74454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74455 (exit $ac_status); }; } &&
74456 { ac_try='test -s conftest.$ac_objext'
74457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74458 (eval $ac_try) 2>&5
74459 ac_status=$?
74460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74461 (exit $ac_status); }; }; then
74462 glibcxx_cv_func_long_double_trig_use=yes
74463 else
74464 echo "$as_me: failed program was:" >&5
74465 sed 's/^/| /' conftest.$ac_ext >&5
74467 glibcxx_cv_func_long_double_trig_use=no
74469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74470 ac_ext=c
74471 ac_cpp='$CPP $CPPFLAGS'
74472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74479 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74480 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74490 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74493 echo "$as_me:$LINENO: checking for $ac_func" >&5
74494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74495 if eval "test \"\${$as_ac_var+set}\" = set"; then
74496 echo $ECHO_N "(cached) $ECHO_C" >&6
74497 else
74498 if test x$gcc_no_link = xyes; then
74499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74501 { (exit 1); exit 1; }; }
74503 cat >conftest.$ac_ext <<_ACEOF
74504 /* confdefs.h. */
74505 _ACEOF
74506 cat confdefs.h >>conftest.$ac_ext
74507 cat >>conftest.$ac_ext <<_ACEOF
74508 /* end confdefs.h. */
74509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74511 #define $ac_func innocuous_$ac_func
74513 /* System header to define __stub macros and hopefully few prototypes,
74514 which can conflict with char $ac_func (); below.
74515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74516 <limits.h> exists even on freestanding compilers. */
74518 #ifdef __STDC__
74519 # include <limits.h>
74520 #else
74521 # include <assert.h>
74522 #endif
74524 #undef $ac_func
74526 /* Override any gcc2 internal prototype to avoid an error. */
74527 #ifdef __cplusplus
74528 extern "C"
74530 #endif
74531 /* We use char because int might match the return type of a gcc2
74532 builtin and then its argument prototype would still apply. */
74533 char $ac_func ();
74534 /* The GNU C library defines this for functions which it implements
74535 to always fail with ENOSYS. Some functions are actually named
74536 something starting with __ and the normal name is an alias. */
74537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74538 choke me
74539 #else
74540 char (*f) () = $ac_func;
74541 #endif
74542 #ifdef __cplusplus
74544 #endif
74547 main ()
74549 return f != $ac_func;
74551 return 0;
74553 _ACEOF
74554 rm -f conftest.$ac_objext conftest$ac_exeext
74555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74556 (eval $ac_link) 2>conftest.er1
74557 ac_status=$?
74558 grep -v '^ *+' conftest.er1 >conftest.err
74559 rm -f conftest.er1
74560 cat conftest.err >&5
74561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74562 (exit $ac_status); } &&
74563 { ac_try='test -z "$ac_c_werror_flag"
74564 || test ! -s conftest.err'
74565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74566 (eval $ac_try) 2>&5
74567 ac_status=$?
74568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74569 (exit $ac_status); }; } &&
74570 { ac_try='test -s conftest$ac_exeext'
74571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74572 (eval $ac_try) 2>&5
74573 ac_status=$?
74574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74575 (exit $ac_status); }; }; then
74576 eval "$as_ac_var=yes"
74577 else
74578 echo "$as_me: failed program was:" >&5
74579 sed 's/^/| /' conftest.$ac_ext >&5
74581 eval "$as_ac_var=no"
74583 rm -f conftest.err conftest.$ac_objext \
74584 conftest$ac_exeext conftest.$ac_ext
74586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74588 if test `eval echo '${'$as_ac_var'}'` = yes; then
74589 cat >>confdefs.h <<_ACEOF
74590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74591 _ACEOF
74594 done
74596 else
74597 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74598 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74599 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74600 echo $ECHO_N "(cached) $ECHO_C" >&6
74601 else
74605 ac_ext=cc
74606 ac_cpp='$CXXCPP $CPPFLAGS'
74607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74611 cat >conftest.$ac_ext <<_ACEOF
74612 /* confdefs.h. */
74613 _ACEOF
74614 cat confdefs.h >>conftest.$ac_ext
74615 cat >>conftest.$ac_ext <<_ACEOF
74616 /* end confdefs.h. */
74617 #include <math.h>
74619 main ()
74621 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74623 return 0;
74625 _ACEOF
74626 rm -f conftest.$ac_objext
74627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74628 (eval $ac_compile) 2>conftest.er1
74629 ac_status=$?
74630 grep -v '^ *+' conftest.er1 >conftest.err
74631 rm -f conftest.er1
74632 cat conftest.err >&5
74633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74634 (exit $ac_status); } &&
74635 { ac_try='test -z "$ac_cxx_werror_flag"
74636 || test ! -s conftest.err'
74637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74638 (eval $ac_try) 2>&5
74639 ac_status=$?
74640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74641 (exit $ac_status); }; } &&
74642 { ac_try='test -s conftest.$ac_objext'
74643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74644 (eval $ac_try) 2>&5
74645 ac_status=$?
74646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74647 (exit $ac_status); }; }; then
74648 glibcxx_cv_func__long_double_trig_use=yes
74649 else
74650 echo "$as_me: failed program was:" >&5
74651 sed 's/^/| /' conftest.$ac_ext >&5
74653 glibcxx_cv_func__long_double_trig_use=no
74655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74656 ac_ext=c
74657 ac_cpp='$CPP $CPPFLAGS'
74658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74665 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74666 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74676 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74679 echo "$as_me:$LINENO: checking for $ac_func" >&5
74680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74681 if eval "test \"\${$as_ac_var+set}\" = set"; then
74682 echo $ECHO_N "(cached) $ECHO_C" >&6
74683 else
74684 if test x$gcc_no_link = xyes; then
74685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74687 { (exit 1); exit 1; }; }
74689 cat >conftest.$ac_ext <<_ACEOF
74690 /* confdefs.h. */
74691 _ACEOF
74692 cat confdefs.h >>conftest.$ac_ext
74693 cat >>conftest.$ac_ext <<_ACEOF
74694 /* end confdefs.h. */
74695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74697 #define $ac_func innocuous_$ac_func
74699 /* System header to define __stub macros and hopefully few prototypes,
74700 which can conflict with char $ac_func (); below.
74701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74702 <limits.h> exists even on freestanding compilers. */
74704 #ifdef __STDC__
74705 # include <limits.h>
74706 #else
74707 # include <assert.h>
74708 #endif
74710 #undef $ac_func
74712 /* Override any gcc2 internal prototype to avoid an error. */
74713 #ifdef __cplusplus
74714 extern "C"
74716 #endif
74717 /* We use char because int might match the return type of a gcc2
74718 builtin and then its argument prototype would still apply. */
74719 char $ac_func ();
74720 /* The GNU C library defines this for functions which it implements
74721 to always fail with ENOSYS. Some functions are actually named
74722 something starting with __ and the normal name is an alias. */
74723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74724 choke me
74725 #else
74726 char (*f) () = $ac_func;
74727 #endif
74728 #ifdef __cplusplus
74730 #endif
74733 main ()
74735 return f != $ac_func;
74737 return 0;
74739 _ACEOF
74740 rm -f conftest.$ac_objext conftest$ac_exeext
74741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74742 (eval $ac_link) 2>conftest.er1
74743 ac_status=$?
74744 grep -v '^ *+' conftest.er1 >conftest.err
74745 rm -f conftest.er1
74746 cat conftest.err >&5
74747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74748 (exit $ac_status); } &&
74749 { ac_try='test -z "$ac_c_werror_flag"
74750 || test ! -s conftest.err'
74751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74752 (eval $ac_try) 2>&5
74753 ac_status=$?
74754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74755 (exit $ac_status); }; } &&
74756 { ac_try='test -s conftest$ac_exeext'
74757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74758 (eval $ac_try) 2>&5
74759 ac_status=$?
74760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74761 (exit $ac_status); }; }; then
74762 eval "$as_ac_var=yes"
74763 else
74764 echo "$as_me: failed program was:" >&5
74765 sed 's/^/| /' conftest.$ac_ext >&5
74767 eval "$as_ac_var=no"
74769 rm -f conftest.err conftest.$ac_objext \
74770 conftest$ac_exeext conftest.$ac_ext
74772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74774 if test `eval echo '${'$as_ac_var'}'` = yes; then
74775 cat >>confdefs.h <<_ACEOF
74776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74777 _ACEOF
74780 done
74798 echo "$as_me:$LINENO: checking for long double round functions" >&5
74799 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74800 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74801 echo $ECHO_N "(cached) $ECHO_C" >&6
74802 else
74806 ac_ext=cc
74807 ac_cpp='$CXXCPP $CPPFLAGS'
74808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74812 cat >conftest.$ac_ext <<_ACEOF
74813 /* confdefs.h. */
74814 _ACEOF
74815 cat confdefs.h >>conftest.$ac_ext
74816 cat >>conftest.$ac_ext <<_ACEOF
74817 /* end confdefs.h. */
74818 #include <math.h>
74820 main ()
74822 ceill (0); floorl (0);
74824 return 0;
74826 _ACEOF
74827 rm -f conftest.$ac_objext
74828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74829 (eval $ac_compile) 2>conftest.er1
74830 ac_status=$?
74831 grep -v '^ *+' conftest.er1 >conftest.err
74832 rm -f conftest.er1
74833 cat conftest.err >&5
74834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74835 (exit $ac_status); } &&
74836 { ac_try='test -z "$ac_cxx_werror_flag"
74837 || test ! -s conftest.err'
74838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74839 (eval $ac_try) 2>&5
74840 ac_status=$?
74841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74842 (exit $ac_status); }; } &&
74843 { ac_try='test -s conftest.$ac_objext'
74844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74845 (eval $ac_try) 2>&5
74846 ac_status=$?
74847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74848 (exit $ac_status); }; }; then
74849 glibcxx_cv_func_long_double_round_use=yes
74850 else
74851 echo "$as_me: failed program was:" >&5
74852 sed 's/^/| /' conftest.$ac_ext >&5
74854 glibcxx_cv_func_long_double_round_use=no
74856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74857 ac_ext=c
74858 ac_cpp='$CPP $CPPFLAGS'
74859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74866 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74867 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74870 for ac_func in ceill floorl
74872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74873 echo "$as_me:$LINENO: checking for $ac_func" >&5
74874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74875 if eval "test \"\${$as_ac_var+set}\" = set"; then
74876 echo $ECHO_N "(cached) $ECHO_C" >&6
74877 else
74878 if test x$gcc_no_link = xyes; then
74879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74881 { (exit 1); exit 1; }; }
74883 cat >conftest.$ac_ext <<_ACEOF
74884 /* confdefs.h. */
74885 _ACEOF
74886 cat confdefs.h >>conftest.$ac_ext
74887 cat >>conftest.$ac_ext <<_ACEOF
74888 /* end confdefs.h. */
74889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74891 #define $ac_func innocuous_$ac_func
74893 /* System header to define __stub macros and hopefully few prototypes,
74894 which can conflict with char $ac_func (); below.
74895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74896 <limits.h> exists even on freestanding compilers. */
74898 #ifdef __STDC__
74899 # include <limits.h>
74900 #else
74901 # include <assert.h>
74902 #endif
74904 #undef $ac_func
74906 /* Override any gcc2 internal prototype to avoid an error. */
74907 #ifdef __cplusplus
74908 extern "C"
74910 #endif
74911 /* We use char because int might match the return type of a gcc2
74912 builtin and then its argument prototype would still apply. */
74913 char $ac_func ();
74914 /* The GNU C library defines this for functions which it implements
74915 to always fail with ENOSYS. Some functions are actually named
74916 something starting with __ and the normal name is an alias. */
74917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74918 choke me
74919 #else
74920 char (*f) () = $ac_func;
74921 #endif
74922 #ifdef __cplusplus
74924 #endif
74927 main ()
74929 return f != $ac_func;
74931 return 0;
74933 _ACEOF
74934 rm -f conftest.$ac_objext conftest$ac_exeext
74935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74936 (eval $ac_link) 2>conftest.er1
74937 ac_status=$?
74938 grep -v '^ *+' conftest.er1 >conftest.err
74939 rm -f conftest.er1
74940 cat conftest.err >&5
74941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74942 (exit $ac_status); } &&
74943 { ac_try='test -z "$ac_c_werror_flag"
74944 || test ! -s conftest.err'
74945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74946 (eval $ac_try) 2>&5
74947 ac_status=$?
74948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949 (exit $ac_status); }; } &&
74950 { ac_try='test -s conftest$ac_exeext'
74951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74952 (eval $ac_try) 2>&5
74953 ac_status=$?
74954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74955 (exit $ac_status); }; }; then
74956 eval "$as_ac_var=yes"
74957 else
74958 echo "$as_me: failed program was:" >&5
74959 sed 's/^/| /' conftest.$ac_ext >&5
74961 eval "$as_ac_var=no"
74963 rm -f conftest.err conftest.$ac_objext \
74964 conftest$ac_exeext conftest.$ac_ext
74966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74968 if test `eval echo '${'$as_ac_var'}'` = yes; then
74969 cat >>confdefs.h <<_ACEOF
74970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74971 _ACEOF
74974 done
74976 else
74977 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74978 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74979 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74980 echo $ECHO_N "(cached) $ECHO_C" >&6
74981 else
74985 ac_ext=cc
74986 ac_cpp='$CXXCPP $CPPFLAGS'
74987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74991 cat >conftest.$ac_ext <<_ACEOF
74992 /* confdefs.h. */
74993 _ACEOF
74994 cat confdefs.h >>conftest.$ac_ext
74995 cat >>conftest.$ac_ext <<_ACEOF
74996 /* end confdefs.h. */
74997 #include <math.h>
74999 main ()
75001 _ceill (0); _floorl (0);
75003 return 0;
75005 _ACEOF
75006 rm -f conftest.$ac_objext
75007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75008 (eval $ac_compile) 2>conftest.er1
75009 ac_status=$?
75010 grep -v '^ *+' conftest.er1 >conftest.err
75011 rm -f conftest.er1
75012 cat conftest.err >&5
75013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75014 (exit $ac_status); } &&
75015 { ac_try='test -z "$ac_cxx_werror_flag"
75016 || test ! -s conftest.err'
75017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75018 (eval $ac_try) 2>&5
75019 ac_status=$?
75020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75021 (exit $ac_status); }; } &&
75022 { ac_try='test -s conftest.$ac_objext'
75023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75024 (eval $ac_try) 2>&5
75025 ac_status=$?
75026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75027 (exit $ac_status); }; }; then
75028 glibcxx_cv_func__long_double_round_use=yes
75029 else
75030 echo "$as_me: failed program was:" >&5
75031 sed 's/^/| /' conftest.$ac_ext >&5
75033 glibcxx_cv_func__long_double_round_use=no
75035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75036 ac_ext=c
75037 ac_cpp='$CPP $CPPFLAGS'
75038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75045 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75046 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75049 for ac_func in _ceill _floorl
75051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75052 echo "$as_me:$LINENO: checking for $ac_func" >&5
75053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75054 if eval "test \"\${$as_ac_var+set}\" = set"; then
75055 echo $ECHO_N "(cached) $ECHO_C" >&6
75056 else
75057 if test x$gcc_no_link = xyes; then
75058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75060 { (exit 1); exit 1; }; }
75062 cat >conftest.$ac_ext <<_ACEOF
75063 /* confdefs.h. */
75064 _ACEOF
75065 cat confdefs.h >>conftest.$ac_ext
75066 cat >>conftest.$ac_ext <<_ACEOF
75067 /* end confdefs.h. */
75068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75070 #define $ac_func innocuous_$ac_func
75072 /* System header to define __stub macros and hopefully few prototypes,
75073 which can conflict with char $ac_func (); below.
75074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75075 <limits.h> exists even on freestanding compilers. */
75077 #ifdef __STDC__
75078 # include <limits.h>
75079 #else
75080 # include <assert.h>
75081 #endif
75083 #undef $ac_func
75085 /* Override any gcc2 internal prototype to avoid an error. */
75086 #ifdef __cplusplus
75087 extern "C"
75089 #endif
75090 /* We use char because int might match the return type of a gcc2
75091 builtin and then its argument prototype would still apply. */
75092 char $ac_func ();
75093 /* The GNU C library defines this for functions which it implements
75094 to always fail with ENOSYS. Some functions are actually named
75095 something starting with __ and the normal name is an alias. */
75096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75097 choke me
75098 #else
75099 char (*f) () = $ac_func;
75100 #endif
75101 #ifdef __cplusplus
75103 #endif
75106 main ()
75108 return f != $ac_func;
75110 return 0;
75112 _ACEOF
75113 rm -f conftest.$ac_objext conftest$ac_exeext
75114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75115 (eval $ac_link) 2>conftest.er1
75116 ac_status=$?
75117 grep -v '^ *+' conftest.er1 >conftest.err
75118 rm -f conftest.er1
75119 cat conftest.err >&5
75120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75121 (exit $ac_status); } &&
75122 { ac_try='test -z "$ac_c_werror_flag"
75123 || test ! -s conftest.err'
75124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75125 (eval $ac_try) 2>&5
75126 ac_status=$?
75127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75128 (exit $ac_status); }; } &&
75129 { ac_try='test -s conftest$ac_exeext'
75130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75131 (eval $ac_try) 2>&5
75132 ac_status=$?
75133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75134 (exit $ac_status); }; }; then
75135 eval "$as_ac_var=yes"
75136 else
75137 echo "$as_me: failed program was:" >&5
75138 sed 's/^/| /' conftest.$ac_ext >&5
75140 eval "$as_ac_var=no"
75142 rm -f conftest.err conftest.$ac_objext \
75143 conftest$ac_exeext conftest.$ac_ext
75145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75147 if test `eval echo '${'$as_ac_var'}'` = yes; then
75148 cat >>confdefs.h <<_ACEOF
75149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75150 _ACEOF
75153 done
75165 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75166 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75167 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75168 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75169 echo $ECHO_N "(cached) $ECHO_C" >&6
75170 else
75174 ac_ext=cc
75175 ac_cpp='$CXXCPP $CPPFLAGS'
75176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75180 cat >conftest.$ac_ext <<_ACEOF
75181 /* confdefs.h. */
75182 _ACEOF
75183 cat confdefs.h >>conftest.$ac_ext
75184 cat >>conftest.$ac_ext <<_ACEOF
75185 /* end confdefs.h. */
75186 #include <math.h>
75187 #ifdef HAVE_IEEEFP_H
75188 #include <ieeefp.h>
75189 #endif
75192 main ()
75194 isnanl(0);
75196 return 0;
75198 _ACEOF
75199 rm -f conftest.$ac_objext
75200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75201 (eval $ac_compile) 2>conftest.er1
75202 ac_status=$?
75203 grep -v '^ *+' conftest.er1 >conftest.err
75204 rm -f conftest.er1
75205 cat conftest.err >&5
75206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75207 (exit $ac_status); } &&
75208 { ac_try='test -z "$ac_cxx_werror_flag"
75209 || test ! -s conftest.err'
75210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75211 (eval $ac_try) 2>&5
75212 ac_status=$?
75213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75214 (exit $ac_status); }; } &&
75215 { ac_try='test -s conftest.$ac_objext'
75216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75217 (eval $ac_try) 2>&5
75218 ac_status=$?
75219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75220 (exit $ac_status); }; }; then
75221 glibcxx_cv_func_isnanl_use=yes
75222 else
75223 echo "$as_me: failed program was:" >&5
75224 sed 's/^/| /' conftest.$ac_ext >&5
75226 glibcxx_cv_func_isnanl_use=no
75228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75229 ac_ext=c
75230 ac_cpp='$CPP $CPPFLAGS'
75231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75240 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75242 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75244 for ac_func in isnanl
75246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75247 echo "$as_me:$LINENO: checking for $ac_func" >&5
75248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75249 if eval "test \"\${$as_ac_var+set}\" = set"; then
75250 echo $ECHO_N "(cached) $ECHO_C" >&6
75251 else
75252 if test x$gcc_no_link = xyes; then
75253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75255 { (exit 1); exit 1; }; }
75257 cat >conftest.$ac_ext <<_ACEOF
75258 /* confdefs.h. */
75259 _ACEOF
75260 cat confdefs.h >>conftest.$ac_ext
75261 cat >>conftest.$ac_ext <<_ACEOF
75262 /* end confdefs.h. */
75263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75265 #define $ac_func innocuous_$ac_func
75267 /* System header to define __stub macros and hopefully few prototypes,
75268 which can conflict with char $ac_func (); below.
75269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75270 <limits.h> exists even on freestanding compilers. */
75272 #ifdef __STDC__
75273 # include <limits.h>
75274 #else
75275 # include <assert.h>
75276 #endif
75278 #undef $ac_func
75280 /* Override any gcc2 internal prototype to avoid an error. */
75281 #ifdef __cplusplus
75282 extern "C"
75284 #endif
75285 /* We use char because int might match the return type of a gcc2
75286 builtin and then its argument prototype would still apply. */
75287 char $ac_func ();
75288 /* The GNU C library defines this for functions which it implements
75289 to always fail with ENOSYS. Some functions are actually named
75290 something starting with __ and the normal name is an alias. */
75291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75292 choke me
75293 #else
75294 char (*f) () = $ac_func;
75295 #endif
75296 #ifdef __cplusplus
75298 #endif
75301 main ()
75303 return f != $ac_func;
75305 return 0;
75307 _ACEOF
75308 rm -f conftest.$ac_objext conftest$ac_exeext
75309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75310 (eval $ac_link) 2>conftest.er1
75311 ac_status=$?
75312 grep -v '^ *+' conftest.er1 >conftest.err
75313 rm -f conftest.er1
75314 cat conftest.err >&5
75315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75316 (exit $ac_status); } &&
75317 { ac_try='test -z "$ac_c_werror_flag"
75318 || test ! -s conftest.err'
75319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75320 (eval $ac_try) 2>&5
75321 ac_status=$?
75322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75323 (exit $ac_status); }; } &&
75324 { ac_try='test -s conftest$ac_exeext'
75325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75326 (eval $ac_try) 2>&5
75327 ac_status=$?
75328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75329 (exit $ac_status); }; }; then
75330 eval "$as_ac_var=yes"
75331 else
75332 echo "$as_me: failed program was:" >&5
75333 sed 's/^/| /' conftest.$ac_ext >&5
75335 eval "$as_ac_var=no"
75337 rm -f conftest.err conftest.$ac_objext \
75338 conftest$ac_exeext conftest.$ac_ext
75340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75342 if test `eval echo '${'$as_ac_var'}'` = yes; then
75343 cat >>confdefs.h <<_ACEOF
75344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75345 _ACEOF
75348 done
75350 else
75352 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75353 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75354 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75355 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75356 echo $ECHO_N "(cached) $ECHO_C" >&6
75357 else
75361 ac_ext=cc
75362 ac_cpp='$CXXCPP $CPPFLAGS'
75363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75367 cat >conftest.$ac_ext <<_ACEOF
75368 /* confdefs.h. */
75369 _ACEOF
75370 cat confdefs.h >>conftest.$ac_ext
75371 cat >>conftest.$ac_ext <<_ACEOF
75372 /* end confdefs.h. */
75373 #include <math.h>
75374 #ifdef HAVE_IEEEFP_H
75375 #include <ieeefp.h>
75376 #endif
75379 main ()
75381 _isnanl(0);
75383 return 0;
75385 _ACEOF
75386 rm -f conftest.$ac_objext
75387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75388 (eval $ac_compile) 2>conftest.er1
75389 ac_status=$?
75390 grep -v '^ *+' conftest.er1 >conftest.err
75391 rm -f conftest.er1
75392 cat conftest.err >&5
75393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75394 (exit $ac_status); } &&
75395 { ac_try='test -z "$ac_cxx_werror_flag"
75396 || test ! -s conftest.err'
75397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75398 (eval $ac_try) 2>&5
75399 ac_status=$?
75400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75401 (exit $ac_status); }; } &&
75402 { ac_try='test -s conftest.$ac_objext'
75403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75404 (eval $ac_try) 2>&5
75405 ac_status=$?
75406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75407 (exit $ac_status); }; }; then
75408 glibcxx_cv_func__isnanl_use=yes
75409 else
75410 echo "$as_me: failed program was:" >&5
75411 sed 's/^/| /' conftest.$ac_ext >&5
75413 glibcxx_cv_func__isnanl_use=no
75415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75416 ac_ext=c
75417 ac_cpp='$CPP $CPPFLAGS'
75418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75427 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75429 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75431 for ac_func in _isnanl
75433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75434 echo "$as_me:$LINENO: checking for $ac_func" >&5
75435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75436 if eval "test \"\${$as_ac_var+set}\" = set"; then
75437 echo $ECHO_N "(cached) $ECHO_C" >&6
75438 else
75439 if test x$gcc_no_link = xyes; then
75440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75442 { (exit 1); exit 1; }; }
75444 cat >conftest.$ac_ext <<_ACEOF
75445 /* confdefs.h. */
75446 _ACEOF
75447 cat confdefs.h >>conftest.$ac_ext
75448 cat >>conftest.$ac_ext <<_ACEOF
75449 /* end confdefs.h. */
75450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75452 #define $ac_func innocuous_$ac_func
75454 /* System header to define __stub macros and hopefully few prototypes,
75455 which can conflict with char $ac_func (); below.
75456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75457 <limits.h> exists even on freestanding compilers. */
75459 #ifdef __STDC__
75460 # include <limits.h>
75461 #else
75462 # include <assert.h>
75463 #endif
75465 #undef $ac_func
75467 /* Override any gcc2 internal prototype to avoid an error. */
75468 #ifdef __cplusplus
75469 extern "C"
75471 #endif
75472 /* We use char because int might match the return type of a gcc2
75473 builtin and then its argument prototype would still apply. */
75474 char $ac_func ();
75475 /* The GNU C library defines this for functions which it implements
75476 to always fail with ENOSYS. Some functions are actually named
75477 something starting with __ and the normal name is an alias. */
75478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75479 choke me
75480 #else
75481 char (*f) () = $ac_func;
75482 #endif
75483 #ifdef __cplusplus
75485 #endif
75488 main ()
75490 return f != $ac_func;
75492 return 0;
75494 _ACEOF
75495 rm -f conftest.$ac_objext conftest$ac_exeext
75496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75497 (eval $ac_link) 2>conftest.er1
75498 ac_status=$?
75499 grep -v '^ *+' conftest.er1 >conftest.err
75500 rm -f conftest.er1
75501 cat conftest.err >&5
75502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75503 (exit $ac_status); } &&
75504 { ac_try='test -z "$ac_c_werror_flag"
75505 || test ! -s conftest.err'
75506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75507 (eval $ac_try) 2>&5
75508 ac_status=$?
75509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75510 (exit $ac_status); }; } &&
75511 { ac_try='test -s conftest$ac_exeext'
75512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75513 (eval $ac_try) 2>&5
75514 ac_status=$?
75515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75516 (exit $ac_status); }; }; then
75517 eval "$as_ac_var=yes"
75518 else
75519 echo "$as_me: failed program was:" >&5
75520 sed 's/^/| /' conftest.$ac_ext >&5
75522 eval "$as_ac_var=no"
75524 rm -f conftest.err conftest.$ac_objext \
75525 conftest$ac_exeext conftest.$ac_ext
75527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75529 if test `eval echo '${'$as_ac_var'}'` = yes; then
75530 cat >>confdefs.h <<_ACEOF
75531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75532 _ACEOF
75535 done
75545 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75546 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75547 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75548 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75549 echo $ECHO_N "(cached) $ECHO_C" >&6
75550 else
75554 ac_ext=cc
75555 ac_cpp='$CXXCPP $CPPFLAGS'
75556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75560 cat >conftest.$ac_ext <<_ACEOF
75561 /* confdefs.h. */
75562 _ACEOF
75563 cat confdefs.h >>conftest.$ac_ext
75564 cat >>conftest.$ac_ext <<_ACEOF
75565 /* end confdefs.h. */
75566 #include <math.h>
75567 #ifdef HAVE_IEEEFP_H
75568 #include <ieeefp.h>
75569 #endif
75572 main ()
75574 isinfl(0);
75576 return 0;
75578 _ACEOF
75579 rm -f conftest.$ac_objext
75580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75581 (eval $ac_compile) 2>conftest.er1
75582 ac_status=$?
75583 grep -v '^ *+' conftest.er1 >conftest.err
75584 rm -f conftest.er1
75585 cat conftest.err >&5
75586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75587 (exit $ac_status); } &&
75588 { ac_try='test -z "$ac_cxx_werror_flag"
75589 || test ! -s conftest.err'
75590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75591 (eval $ac_try) 2>&5
75592 ac_status=$?
75593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75594 (exit $ac_status); }; } &&
75595 { ac_try='test -s conftest.$ac_objext'
75596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75597 (eval $ac_try) 2>&5
75598 ac_status=$?
75599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75600 (exit $ac_status); }; }; then
75601 glibcxx_cv_func_isinfl_use=yes
75602 else
75603 echo "$as_me: failed program was:" >&5
75604 sed 's/^/| /' conftest.$ac_ext >&5
75606 glibcxx_cv_func_isinfl_use=no
75608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75609 ac_ext=c
75610 ac_cpp='$CPP $CPPFLAGS'
75611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75620 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75622 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75624 for ac_func in isinfl
75626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75627 echo "$as_me:$LINENO: checking for $ac_func" >&5
75628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75629 if eval "test \"\${$as_ac_var+set}\" = set"; then
75630 echo $ECHO_N "(cached) $ECHO_C" >&6
75631 else
75632 if test x$gcc_no_link = xyes; then
75633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75635 { (exit 1); exit 1; }; }
75637 cat >conftest.$ac_ext <<_ACEOF
75638 /* confdefs.h. */
75639 _ACEOF
75640 cat confdefs.h >>conftest.$ac_ext
75641 cat >>conftest.$ac_ext <<_ACEOF
75642 /* end confdefs.h. */
75643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75645 #define $ac_func innocuous_$ac_func
75647 /* System header to define __stub macros and hopefully few prototypes,
75648 which can conflict with char $ac_func (); below.
75649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75650 <limits.h> exists even on freestanding compilers. */
75652 #ifdef __STDC__
75653 # include <limits.h>
75654 #else
75655 # include <assert.h>
75656 #endif
75658 #undef $ac_func
75660 /* Override any gcc2 internal prototype to avoid an error. */
75661 #ifdef __cplusplus
75662 extern "C"
75664 #endif
75665 /* We use char because int might match the return type of a gcc2
75666 builtin and then its argument prototype would still apply. */
75667 char $ac_func ();
75668 /* The GNU C library defines this for functions which it implements
75669 to always fail with ENOSYS. Some functions are actually named
75670 something starting with __ and the normal name is an alias. */
75671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75672 choke me
75673 #else
75674 char (*f) () = $ac_func;
75675 #endif
75676 #ifdef __cplusplus
75678 #endif
75681 main ()
75683 return f != $ac_func;
75685 return 0;
75687 _ACEOF
75688 rm -f conftest.$ac_objext conftest$ac_exeext
75689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75690 (eval $ac_link) 2>conftest.er1
75691 ac_status=$?
75692 grep -v '^ *+' conftest.er1 >conftest.err
75693 rm -f conftest.er1
75694 cat conftest.err >&5
75695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75696 (exit $ac_status); } &&
75697 { ac_try='test -z "$ac_c_werror_flag"
75698 || test ! -s conftest.err'
75699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75700 (eval $ac_try) 2>&5
75701 ac_status=$?
75702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75703 (exit $ac_status); }; } &&
75704 { ac_try='test -s conftest$ac_exeext'
75705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75706 (eval $ac_try) 2>&5
75707 ac_status=$?
75708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75709 (exit $ac_status); }; }; then
75710 eval "$as_ac_var=yes"
75711 else
75712 echo "$as_me: failed program was:" >&5
75713 sed 's/^/| /' conftest.$ac_ext >&5
75715 eval "$as_ac_var=no"
75717 rm -f conftest.err conftest.$ac_objext \
75718 conftest$ac_exeext conftest.$ac_ext
75720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75722 if test `eval echo '${'$as_ac_var'}'` = yes; then
75723 cat >>confdefs.h <<_ACEOF
75724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75725 _ACEOF
75728 done
75730 else
75732 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75733 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75734 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75735 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75736 echo $ECHO_N "(cached) $ECHO_C" >&6
75737 else
75741 ac_ext=cc
75742 ac_cpp='$CXXCPP $CPPFLAGS'
75743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75747 cat >conftest.$ac_ext <<_ACEOF
75748 /* confdefs.h. */
75749 _ACEOF
75750 cat confdefs.h >>conftest.$ac_ext
75751 cat >>conftest.$ac_ext <<_ACEOF
75752 /* end confdefs.h. */
75753 #include <math.h>
75754 #ifdef HAVE_IEEEFP_H
75755 #include <ieeefp.h>
75756 #endif
75759 main ()
75761 _isinfl(0);
75763 return 0;
75765 _ACEOF
75766 rm -f conftest.$ac_objext
75767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75768 (eval $ac_compile) 2>conftest.er1
75769 ac_status=$?
75770 grep -v '^ *+' conftest.er1 >conftest.err
75771 rm -f conftest.er1
75772 cat conftest.err >&5
75773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75774 (exit $ac_status); } &&
75775 { ac_try='test -z "$ac_cxx_werror_flag"
75776 || test ! -s conftest.err'
75777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75778 (eval $ac_try) 2>&5
75779 ac_status=$?
75780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75781 (exit $ac_status); }; } &&
75782 { ac_try='test -s conftest.$ac_objext'
75783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75784 (eval $ac_try) 2>&5
75785 ac_status=$?
75786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75787 (exit $ac_status); }; }; then
75788 glibcxx_cv_func__isinfl_use=yes
75789 else
75790 echo "$as_me: failed program was:" >&5
75791 sed 's/^/| /' conftest.$ac_ext >&5
75793 glibcxx_cv_func__isinfl_use=no
75795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75796 ac_ext=c
75797 ac_cpp='$CPP $CPPFLAGS'
75798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75807 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75809 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75811 for ac_func in _isinfl
75813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75814 echo "$as_me:$LINENO: checking for $ac_func" >&5
75815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75816 if eval "test \"\${$as_ac_var+set}\" = set"; then
75817 echo $ECHO_N "(cached) $ECHO_C" >&6
75818 else
75819 if test x$gcc_no_link = xyes; then
75820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75822 { (exit 1); exit 1; }; }
75824 cat >conftest.$ac_ext <<_ACEOF
75825 /* confdefs.h. */
75826 _ACEOF
75827 cat confdefs.h >>conftest.$ac_ext
75828 cat >>conftest.$ac_ext <<_ACEOF
75829 /* end confdefs.h. */
75830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75832 #define $ac_func innocuous_$ac_func
75834 /* System header to define __stub macros and hopefully few prototypes,
75835 which can conflict with char $ac_func (); below.
75836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75837 <limits.h> exists even on freestanding compilers. */
75839 #ifdef __STDC__
75840 # include <limits.h>
75841 #else
75842 # include <assert.h>
75843 #endif
75845 #undef $ac_func
75847 /* Override any gcc2 internal prototype to avoid an error. */
75848 #ifdef __cplusplus
75849 extern "C"
75851 #endif
75852 /* We use char because int might match the return type of a gcc2
75853 builtin and then its argument prototype would still apply. */
75854 char $ac_func ();
75855 /* The GNU C library defines this for functions which it implements
75856 to always fail with ENOSYS. Some functions are actually named
75857 something starting with __ and the normal name is an alias. */
75858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75859 choke me
75860 #else
75861 char (*f) () = $ac_func;
75862 #endif
75863 #ifdef __cplusplus
75865 #endif
75868 main ()
75870 return f != $ac_func;
75872 return 0;
75874 _ACEOF
75875 rm -f conftest.$ac_objext conftest$ac_exeext
75876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75877 (eval $ac_link) 2>conftest.er1
75878 ac_status=$?
75879 grep -v '^ *+' conftest.er1 >conftest.err
75880 rm -f conftest.er1
75881 cat conftest.err >&5
75882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75883 (exit $ac_status); } &&
75884 { ac_try='test -z "$ac_c_werror_flag"
75885 || test ! -s conftest.err'
75886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75887 (eval $ac_try) 2>&5
75888 ac_status=$?
75889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75890 (exit $ac_status); }; } &&
75891 { ac_try='test -s conftest$ac_exeext'
75892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75893 (eval $ac_try) 2>&5
75894 ac_status=$?
75895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75896 (exit $ac_status); }; }; then
75897 eval "$as_ac_var=yes"
75898 else
75899 echo "$as_me: failed program was:" >&5
75900 sed 's/^/| /' conftest.$ac_ext >&5
75902 eval "$as_ac_var=no"
75904 rm -f conftest.err conftest.$ac_objext \
75905 conftest$ac_exeext conftest.$ac_ext
75907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75909 if test `eval echo '${'$as_ac_var'}'` = yes; then
75910 cat >>confdefs.h <<_ACEOF
75911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75912 _ACEOF
75915 done
75925 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75926 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75927 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75928 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75929 echo $ECHO_N "(cached) $ECHO_C" >&6
75930 else
75934 ac_ext=cc
75935 ac_cpp='$CXXCPP $CPPFLAGS'
75936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75940 cat >conftest.$ac_ext <<_ACEOF
75941 /* confdefs.h. */
75942 _ACEOF
75943 cat confdefs.h >>conftest.$ac_ext
75944 cat >>conftest.$ac_ext <<_ACEOF
75945 /* end confdefs.h. */
75946 #include <math.h>
75948 main ()
75950 copysignl(0, 0);
75952 return 0;
75954 _ACEOF
75955 rm -f conftest.$ac_objext
75956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75957 (eval $ac_compile) 2>conftest.er1
75958 ac_status=$?
75959 grep -v '^ *+' conftest.er1 >conftest.err
75960 rm -f conftest.er1
75961 cat conftest.err >&5
75962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75963 (exit $ac_status); } &&
75964 { ac_try='test -z "$ac_cxx_werror_flag"
75965 || test ! -s conftest.err'
75966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75967 (eval $ac_try) 2>&5
75968 ac_status=$?
75969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75970 (exit $ac_status); }; } &&
75971 { ac_try='test -s conftest.$ac_objext'
75972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75973 (eval $ac_try) 2>&5
75974 ac_status=$?
75975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75976 (exit $ac_status); }; }; then
75977 glibcxx_cv_func_copysignl_use=yes
75978 else
75979 echo "$as_me: failed program was:" >&5
75980 sed 's/^/| /' conftest.$ac_ext >&5
75982 glibcxx_cv_func_copysignl_use=no
75984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75985 ac_ext=c
75986 ac_cpp='$CPP $CPPFLAGS'
75987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75996 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75998 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76000 for ac_func in copysignl
76002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76003 echo "$as_me:$LINENO: checking for $ac_func" >&5
76004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76005 if eval "test \"\${$as_ac_var+set}\" = set"; then
76006 echo $ECHO_N "(cached) $ECHO_C" >&6
76007 else
76008 if test x$gcc_no_link = xyes; then
76009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76011 { (exit 1); exit 1; }; }
76013 cat >conftest.$ac_ext <<_ACEOF
76014 /* confdefs.h. */
76015 _ACEOF
76016 cat confdefs.h >>conftest.$ac_ext
76017 cat >>conftest.$ac_ext <<_ACEOF
76018 /* end confdefs.h. */
76019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76021 #define $ac_func innocuous_$ac_func
76023 /* System header to define __stub macros and hopefully few prototypes,
76024 which can conflict with char $ac_func (); below.
76025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76026 <limits.h> exists even on freestanding compilers. */
76028 #ifdef __STDC__
76029 # include <limits.h>
76030 #else
76031 # include <assert.h>
76032 #endif
76034 #undef $ac_func
76036 /* Override any gcc2 internal prototype to avoid an error. */
76037 #ifdef __cplusplus
76038 extern "C"
76040 #endif
76041 /* We use char because int might match the return type of a gcc2
76042 builtin and then its argument prototype would still apply. */
76043 char $ac_func ();
76044 /* The GNU C library defines this for functions which it implements
76045 to always fail with ENOSYS. Some functions are actually named
76046 something starting with __ and the normal name is an alias. */
76047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76048 choke me
76049 #else
76050 char (*f) () = $ac_func;
76051 #endif
76052 #ifdef __cplusplus
76054 #endif
76057 main ()
76059 return f != $ac_func;
76061 return 0;
76063 _ACEOF
76064 rm -f conftest.$ac_objext conftest$ac_exeext
76065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76066 (eval $ac_link) 2>conftest.er1
76067 ac_status=$?
76068 grep -v '^ *+' conftest.er1 >conftest.err
76069 rm -f conftest.er1
76070 cat conftest.err >&5
76071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76072 (exit $ac_status); } &&
76073 { ac_try='test -z "$ac_c_werror_flag"
76074 || test ! -s conftest.err'
76075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76076 (eval $ac_try) 2>&5
76077 ac_status=$?
76078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76079 (exit $ac_status); }; } &&
76080 { ac_try='test -s conftest$ac_exeext'
76081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76082 (eval $ac_try) 2>&5
76083 ac_status=$?
76084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76085 (exit $ac_status); }; }; then
76086 eval "$as_ac_var=yes"
76087 else
76088 echo "$as_me: failed program was:" >&5
76089 sed 's/^/| /' conftest.$ac_ext >&5
76091 eval "$as_ac_var=no"
76093 rm -f conftest.err conftest.$ac_objext \
76094 conftest$ac_exeext conftest.$ac_ext
76096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76098 if test `eval echo '${'$as_ac_var'}'` = yes; then
76099 cat >>confdefs.h <<_ACEOF
76100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76101 _ACEOF
76104 done
76106 else
76108 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76109 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76110 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76111 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76112 echo $ECHO_N "(cached) $ECHO_C" >&6
76113 else
76117 ac_ext=cc
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76123 cat >conftest.$ac_ext <<_ACEOF
76124 /* confdefs.h. */
76125 _ACEOF
76126 cat confdefs.h >>conftest.$ac_ext
76127 cat >>conftest.$ac_ext <<_ACEOF
76128 /* end confdefs.h. */
76129 #include <math.h>
76131 main ()
76133 _copysignl(0, 0);
76135 return 0;
76137 _ACEOF
76138 rm -f conftest.$ac_objext
76139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76140 (eval $ac_compile) 2>conftest.er1
76141 ac_status=$?
76142 grep -v '^ *+' conftest.er1 >conftest.err
76143 rm -f conftest.er1
76144 cat conftest.err >&5
76145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146 (exit $ac_status); } &&
76147 { ac_try='test -z "$ac_cxx_werror_flag"
76148 || test ! -s conftest.err'
76149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76150 (eval $ac_try) 2>&5
76151 ac_status=$?
76152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76153 (exit $ac_status); }; } &&
76154 { ac_try='test -s conftest.$ac_objext'
76155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76156 (eval $ac_try) 2>&5
76157 ac_status=$?
76158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76159 (exit $ac_status); }; }; then
76160 glibcxx_cv_func__copysignl_use=yes
76161 else
76162 echo "$as_me: failed program was:" >&5
76163 sed 's/^/| /' conftest.$ac_ext >&5
76165 glibcxx_cv_func__copysignl_use=no
76167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76168 ac_ext=c
76169 ac_cpp='$CPP $CPPFLAGS'
76170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76179 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76181 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76183 for ac_func in _copysignl
76185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76186 echo "$as_me:$LINENO: checking for $ac_func" >&5
76187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76188 if eval "test \"\${$as_ac_var+set}\" = set"; then
76189 echo $ECHO_N "(cached) $ECHO_C" >&6
76190 else
76191 if test x$gcc_no_link = xyes; then
76192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76194 { (exit 1); exit 1; }; }
76196 cat >conftest.$ac_ext <<_ACEOF
76197 /* confdefs.h. */
76198 _ACEOF
76199 cat confdefs.h >>conftest.$ac_ext
76200 cat >>conftest.$ac_ext <<_ACEOF
76201 /* end confdefs.h. */
76202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76204 #define $ac_func innocuous_$ac_func
76206 /* System header to define __stub macros and hopefully few prototypes,
76207 which can conflict with char $ac_func (); below.
76208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76209 <limits.h> exists even on freestanding compilers. */
76211 #ifdef __STDC__
76212 # include <limits.h>
76213 #else
76214 # include <assert.h>
76215 #endif
76217 #undef $ac_func
76219 /* Override any gcc2 internal prototype to avoid an error. */
76220 #ifdef __cplusplus
76221 extern "C"
76223 #endif
76224 /* We use char because int might match the return type of a gcc2
76225 builtin and then its argument prototype would still apply. */
76226 char $ac_func ();
76227 /* The GNU C library defines this for functions which it implements
76228 to always fail with ENOSYS. Some functions are actually named
76229 something starting with __ and the normal name is an alias. */
76230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76231 choke me
76232 #else
76233 char (*f) () = $ac_func;
76234 #endif
76235 #ifdef __cplusplus
76237 #endif
76240 main ()
76242 return f != $ac_func;
76244 return 0;
76246 _ACEOF
76247 rm -f conftest.$ac_objext conftest$ac_exeext
76248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76249 (eval $ac_link) 2>conftest.er1
76250 ac_status=$?
76251 grep -v '^ *+' conftest.er1 >conftest.err
76252 rm -f conftest.er1
76253 cat conftest.err >&5
76254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76255 (exit $ac_status); } &&
76256 { ac_try='test -z "$ac_c_werror_flag"
76257 || test ! -s conftest.err'
76258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76259 (eval $ac_try) 2>&5
76260 ac_status=$?
76261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76262 (exit $ac_status); }; } &&
76263 { ac_try='test -s conftest$ac_exeext'
76264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76265 (eval $ac_try) 2>&5
76266 ac_status=$?
76267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76268 (exit $ac_status); }; }; then
76269 eval "$as_ac_var=yes"
76270 else
76271 echo "$as_me: failed program was:" >&5
76272 sed 's/^/| /' conftest.$ac_ext >&5
76274 eval "$as_ac_var=no"
76276 rm -f conftest.err conftest.$ac_objext \
76277 conftest$ac_exeext conftest.$ac_ext
76279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76281 if test `eval echo '${'$as_ac_var'}'` = yes; then
76282 cat >>confdefs.h <<_ACEOF
76283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76284 _ACEOF
76287 done
76297 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76298 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76299 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76300 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76301 echo $ECHO_N "(cached) $ECHO_C" >&6
76302 else
76306 ac_ext=cc
76307 ac_cpp='$CXXCPP $CPPFLAGS'
76308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76312 cat >conftest.$ac_ext <<_ACEOF
76313 /* confdefs.h. */
76314 _ACEOF
76315 cat confdefs.h >>conftest.$ac_ext
76316 cat >>conftest.$ac_ext <<_ACEOF
76317 /* end confdefs.h. */
76318 #include <math.h>
76320 main ()
76322 atan2l(0, 0);
76324 return 0;
76326 _ACEOF
76327 rm -f conftest.$ac_objext
76328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76329 (eval $ac_compile) 2>conftest.er1
76330 ac_status=$?
76331 grep -v '^ *+' conftest.er1 >conftest.err
76332 rm -f conftest.er1
76333 cat conftest.err >&5
76334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76335 (exit $ac_status); } &&
76336 { ac_try='test -z "$ac_cxx_werror_flag"
76337 || test ! -s conftest.err'
76338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76339 (eval $ac_try) 2>&5
76340 ac_status=$?
76341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76342 (exit $ac_status); }; } &&
76343 { ac_try='test -s conftest.$ac_objext'
76344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76345 (eval $ac_try) 2>&5
76346 ac_status=$?
76347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76348 (exit $ac_status); }; }; then
76349 glibcxx_cv_func_atan2l_use=yes
76350 else
76351 echo "$as_me: failed program was:" >&5
76352 sed 's/^/| /' conftest.$ac_ext >&5
76354 glibcxx_cv_func_atan2l_use=no
76356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76357 ac_ext=c
76358 ac_cpp='$CPP $CPPFLAGS'
76359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76368 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76370 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76372 for ac_func in atan2l
76374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76375 echo "$as_me:$LINENO: checking for $ac_func" >&5
76376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76377 if eval "test \"\${$as_ac_var+set}\" = set"; then
76378 echo $ECHO_N "(cached) $ECHO_C" >&6
76379 else
76380 if test x$gcc_no_link = xyes; then
76381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76383 { (exit 1); exit 1; }; }
76385 cat >conftest.$ac_ext <<_ACEOF
76386 /* confdefs.h. */
76387 _ACEOF
76388 cat confdefs.h >>conftest.$ac_ext
76389 cat >>conftest.$ac_ext <<_ACEOF
76390 /* end confdefs.h. */
76391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76393 #define $ac_func innocuous_$ac_func
76395 /* System header to define __stub macros and hopefully few prototypes,
76396 which can conflict with char $ac_func (); below.
76397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76398 <limits.h> exists even on freestanding compilers. */
76400 #ifdef __STDC__
76401 # include <limits.h>
76402 #else
76403 # include <assert.h>
76404 #endif
76406 #undef $ac_func
76408 /* Override any gcc2 internal prototype to avoid an error. */
76409 #ifdef __cplusplus
76410 extern "C"
76412 #endif
76413 /* We use char because int might match the return type of a gcc2
76414 builtin and then its argument prototype would still apply. */
76415 char $ac_func ();
76416 /* The GNU C library defines this for functions which it implements
76417 to always fail with ENOSYS. Some functions are actually named
76418 something starting with __ and the normal name is an alias. */
76419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76420 choke me
76421 #else
76422 char (*f) () = $ac_func;
76423 #endif
76424 #ifdef __cplusplus
76426 #endif
76429 main ()
76431 return f != $ac_func;
76433 return 0;
76435 _ACEOF
76436 rm -f conftest.$ac_objext conftest$ac_exeext
76437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76438 (eval $ac_link) 2>conftest.er1
76439 ac_status=$?
76440 grep -v '^ *+' conftest.er1 >conftest.err
76441 rm -f conftest.er1
76442 cat conftest.err >&5
76443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76444 (exit $ac_status); } &&
76445 { ac_try='test -z "$ac_c_werror_flag"
76446 || test ! -s conftest.err'
76447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76448 (eval $ac_try) 2>&5
76449 ac_status=$?
76450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76451 (exit $ac_status); }; } &&
76452 { ac_try='test -s conftest$ac_exeext'
76453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76454 (eval $ac_try) 2>&5
76455 ac_status=$?
76456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76457 (exit $ac_status); }; }; then
76458 eval "$as_ac_var=yes"
76459 else
76460 echo "$as_me: failed program was:" >&5
76461 sed 's/^/| /' conftest.$ac_ext >&5
76463 eval "$as_ac_var=no"
76465 rm -f conftest.err conftest.$ac_objext \
76466 conftest$ac_exeext conftest.$ac_ext
76468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76470 if test `eval echo '${'$as_ac_var'}'` = yes; then
76471 cat >>confdefs.h <<_ACEOF
76472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76473 _ACEOF
76476 done
76478 else
76480 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76481 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76482 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76483 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76484 echo $ECHO_N "(cached) $ECHO_C" >&6
76485 else
76489 ac_ext=cc
76490 ac_cpp='$CXXCPP $CPPFLAGS'
76491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76495 cat >conftest.$ac_ext <<_ACEOF
76496 /* confdefs.h. */
76497 _ACEOF
76498 cat confdefs.h >>conftest.$ac_ext
76499 cat >>conftest.$ac_ext <<_ACEOF
76500 /* end confdefs.h. */
76501 #include <math.h>
76503 main ()
76505 _atan2l(0, 0);
76507 return 0;
76509 _ACEOF
76510 rm -f conftest.$ac_objext
76511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76512 (eval $ac_compile) 2>conftest.er1
76513 ac_status=$?
76514 grep -v '^ *+' conftest.er1 >conftest.err
76515 rm -f conftest.er1
76516 cat conftest.err >&5
76517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76518 (exit $ac_status); } &&
76519 { ac_try='test -z "$ac_cxx_werror_flag"
76520 || test ! -s conftest.err'
76521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76522 (eval $ac_try) 2>&5
76523 ac_status=$?
76524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76525 (exit $ac_status); }; } &&
76526 { ac_try='test -s conftest.$ac_objext'
76527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76528 (eval $ac_try) 2>&5
76529 ac_status=$?
76530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76531 (exit $ac_status); }; }; then
76532 glibcxx_cv_func__atan2l_use=yes
76533 else
76534 echo "$as_me: failed program was:" >&5
76535 sed 's/^/| /' conftest.$ac_ext >&5
76537 glibcxx_cv_func__atan2l_use=no
76539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76540 ac_ext=c
76541 ac_cpp='$CPP $CPPFLAGS'
76542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76551 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76553 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76555 for ac_func in _atan2l
76557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76558 echo "$as_me:$LINENO: checking for $ac_func" >&5
76559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76560 if eval "test \"\${$as_ac_var+set}\" = set"; then
76561 echo $ECHO_N "(cached) $ECHO_C" >&6
76562 else
76563 if test x$gcc_no_link = xyes; then
76564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76566 { (exit 1); exit 1; }; }
76568 cat >conftest.$ac_ext <<_ACEOF
76569 /* confdefs.h. */
76570 _ACEOF
76571 cat confdefs.h >>conftest.$ac_ext
76572 cat >>conftest.$ac_ext <<_ACEOF
76573 /* end confdefs.h. */
76574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76576 #define $ac_func innocuous_$ac_func
76578 /* System header to define __stub macros and hopefully few prototypes,
76579 which can conflict with char $ac_func (); below.
76580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76581 <limits.h> exists even on freestanding compilers. */
76583 #ifdef __STDC__
76584 # include <limits.h>
76585 #else
76586 # include <assert.h>
76587 #endif
76589 #undef $ac_func
76591 /* Override any gcc2 internal prototype to avoid an error. */
76592 #ifdef __cplusplus
76593 extern "C"
76595 #endif
76596 /* We use char because int might match the return type of a gcc2
76597 builtin and then its argument prototype would still apply. */
76598 char $ac_func ();
76599 /* The GNU C library defines this for functions which it implements
76600 to always fail with ENOSYS. Some functions are actually named
76601 something starting with __ and the normal name is an alias. */
76602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76603 choke me
76604 #else
76605 char (*f) () = $ac_func;
76606 #endif
76607 #ifdef __cplusplus
76609 #endif
76612 main ()
76614 return f != $ac_func;
76616 return 0;
76618 _ACEOF
76619 rm -f conftest.$ac_objext conftest$ac_exeext
76620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76621 (eval $ac_link) 2>conftest.er1
76622 ac_status=$?
76623 grep -v '^ *+' conftest.er1 >conftest.err
76624 rm -f conftest.er1
76625 cat conftest.err >&5
76626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627 (exit $ac_status); } &&
76628 { ac_try='test -z "$ac_c_werror_flag"
76629 || test ! -s conftest.err'
76630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76631 (eval $ac_try) 2>&5
76632 ac_status=$?
76633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76634 (exit $ac_status); }; } &&
76635 { ac_try='test -s conftest$ac_exeext'
76636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76637 (eval $ac_try) 2>&5
76638 ac_status=$?
76639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76640 (exit $ac_status); }; }; then
76641 eval "$as_ac_var=yes"
76642 else
76643 echo "$as_me: failed program was:" >&5
76644 sed 's/^/| /' conftest.$ac_ext >&5
76646 eval "$as_ac_var=no"
76648 rm -f conftest.err conftest.$ac_objext \
76649 conftest$ac_exeext conftest.$ac_ext
76651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76653 if test `eval echo '${'$as_ac_var'}'` = yes; then
76654 cat >>confdefs.h <<_ACEOF
76655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76656 _ACEOF
76659 done
76669 echo "$as_me:$LINENO: checking for expl declaration" >&5
76670 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76671 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76672 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76673 echo $ECHO_N "(cached) $ECHO_C" >&6
76674 else
76678 ac_ext=cc
76679 ac_cpp='$CXXCPP $CPPFLAGS'
76680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76684 cat >conftest.$ac_ext <<_ACEOF
76685 /* confdefs.h. */
76686 _ACEOF
76687 cat confdefs.h >>conftest.$ac_ext
76688 cat >>conftest.$ac_ext <<_ACEOF
76689 /* end confdefs.h. */
76690 #include <math.h>
76691 #ifdef HAVE_IEEEFP_H
76692 #include <ieeefp.h>
76693 #endif
76696 main ()
76698 expl(0);
76700 return 0;
76702 _ACEOF
76703 rm -f conftest.$ac_objext
76704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76705 (eval $ac_compile) 2>conftest.er1
76706 ac_status=$?
76707 grep -v '^ *+' conftest.er1 >conftest.err
76708 rm -f conftest.er1
76709 cat conftest.err >&5
76710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76711 (exit $ac_status); } &&
76712 { ac_try='test -z "$ac_cxx_werror_flag"
76713 || test ! -s conftest.err'
76714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76715 (eval $ac_try) 2>&5
76716 ac_status=$?
76717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76718 (exit $ac_status); }; } &&
76719 { ac_try='test -s conftest.$ac_objext'
76720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76721 (eval $ac_try) 2>&5
76722 ac_status=$?
76723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76724 (exit $ac_status); }; }; then
76725 glibcxx_cv_func_expl_use=yes
76726 else
76727 echo "$as_me: failed program was:" >&5
76728 sed 's/^/| /' conftest.$ac_ext >&5
76730 glibcxx_cv_func_expl_use=no
76732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76733 ac_ext=c
76734 ac_cpp='$CPP $CPPFLAGS'
76735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76744 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76746 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76748 for ac_func in expl
76750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76751 echo "$as_me:$LINENO: checking for $ac_func" >&5
76752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76753 if eval "test \"\${$as_ac_var+set}\" = set"; then
76754 echo $ECHO_N "(cached) $ECHO_C" >&6
76755 else
76756 if test x$gcc_no_link = xyes; then
76757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76759 { (exit 1); exit 1; }; }
76761 cat >conftest.$ac_ext <<_ACEOF
76762 /* confdefs.h. */
76763 _ACEOF
76764 cat confdefs.h >>conftest.$ac_ext
76765 cat >>conftest.$ac_ext <<_ACEOF
76766 /* end confdefs.h. */
76767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76769 #define $ac_func innocuous_$ac_func
76771 /* System header to define __stub macros and hopefully few prototypes,
76772 which can conflict with char $ac_func (); below.
76773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76774 <limits.h> exists even on freestanding compilers. */
76776 #ifdef __STDC__
76777 # include <limits.h>
76778 #else
76779 # include <assert.h>
76780 #endif
76782 #undef $ac_func
76784 /* Override any gcc2 internal prototype to avoid an error. */
76785 #ifdef __cplusplus
76786 extern "C"
76788 #endif
76789 /* We use char because int might match the return type of a gcc2
76790 builtin and then its argument prototype would still apply. */
76791 char $ac_func ();
76792 /* The GNU C library defines this for functions which it implements
76793 to always fail with ENOSYS. Some functions are actually named
76794 something starting with __ and the normal name is an alias. */
76795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76796 choke me
76797 #else
76798 char (*f) () = $ac_func;
76799 #endif
76800 #ifdef __cplusplus
76802 #endif
76805 main ()
76807 return f != $ac_func;
76809 return 0;
76811 _ACEOF
76812 rm -f conftest.$ac_objext conftest$ac_exeext
76813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76814 (eval $ac_link) 2>conftest.er1
76815 ac_status=$?
76816 grep -v '^ *+' conftest.er1 >conftest.err
76817 rm -f conftest.er1
76818 cat conftest.err >&5
76819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76820 (exit $ac_status); } &&
76821 { ac_try='test -z "$ac_c_werror_flag"
76822 || test ! -s conftest.err'
76823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76824 (eval $ac_try) 2>&5
76825 ac_status=$?
76826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76827 (exit $ac_status); }; } &&
76828 { ac_try='test -s conftest$ac_exeext'
76829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76830 (eval $ac_try) 2>&5
76831 ac_status=$?
76832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76833 (exit $ac_status); }; }; then
76834 eval "$as_ac_var=yes"
76835 else
76836 echo "$as_me: failed program was:" >&5
76837 sed 's/^/| /' conftest.$ac_ext >&5
76839 eval "$as_ac_var=no"
76841 rm -f conftest.err conftest.$ac_objext \
76842 conftest$ac_exeext conftest.$ac_ext
76844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76846 if test `eval echo '${'$as_ac_var'}'` = yes; then
76847 cat >>confdefs.h <<_ACEOF
76848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76849 _ACEOF
76852 done
76854 else
76856 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76857 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76858 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76859 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76860 echo $ECHO_N "(cached) $ECHO_C" >&6
76861 else
76865 ac_ext=cc
76866 ac_cpp='$CXXCPP $CPPFLAGS'
76867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76871 cat >conftest.$ac_ext <<_ACEOF
76872 /* confdefs.h. */
76873 _ACEOF
76874 cat confdefs.h >>conftest.$ac_ext
76875 cat >>conftest.$ac_ext <<_ACEOF
76876 /* end confdefs.h. */
76877 #include <math.h>
76878 #ifdef HAVE_IEEEFP_H
76879 #include <ieeefp.h>
76880 #endif
76883 main ()
76885 _expl(0);
76887 return 0;
76889 _ACEOF
76890 rm -f conftest.$ac_objext
76891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76892 (eval $ac_compile) 2>conftest.er1
76893 ac_status=$?
76894 grep -v '^ *+' conftest.er1 >conftest.err
76895 rm -f conftest.er1
76896 cat conftest.err >&5
76897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76898 (exit $ac_status); } &&
76899 { ac_try='test -z "$ac_cxx_werror_flag"
76900 || test ! -s conftest.err'
76901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76902 (eval $ac_try) 2>&5
76903 ac_status=$?
76904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76905 (exit $ac_status); }; } &&
76906 { ac_try='test -s conftest.$ac_objext'
76907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76908 (eval $ac_try) 2>&5
76909 ac_status=$?
76910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76911 (exit $ac_status); }; }; then
76912 glibcxx_cv_func__expl_use=yes
76913 else
76914 echo "$as_me: failed program was:" >&5
76915 sed 's/^/| /' conftest.$ac_ext >&5
76917 glibcxx_cv_func__expl_use=no
76919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76920 ac_ext=c
76921 ac_cpp='$CPP $CPPFLAGS'
76922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76931 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76933 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76935 for ac_func in _expl
76937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76938 echo "$as_me:$LINENO: checking for $ac_func" >&5
76939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76940 if eval "test \"\${$as_ac_var+set}\" = set"; then
76941 echo $ECHO_N "(cached) $ECHO_C" >&6
76942 else
76943 if test x$gcc_no_link = xyes; then
76944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76946 { (exit 1); exit 1; }; }
76948 cat >conftest.$ac_ext <<_ACEOF
76949 /* confdefs.h. */
76950 _ACEOF
76951 cat confdefs.h >>conftest.$ac_ext
76952 cat >>conftest.$ac_ext <<_ACEOF
76953 /* end confdefs.h. */
76954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76956 #define $ac_func innocuous_$ac_func
76958 /* System header to define __stub macros and hopefully few prototypes,
76959 which can conflict with char $ac_func (); below.
76960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76961 <limits.h> exists even on freestanding compilers. */
76963 #ifdef __STDC__
76964 # include <limits.h>
76965 #else
76966 # include <assert.h>
76967 #endif
76969 #undef $ac_func
76971 /* Override any gcc2 internal prototype to avoid an error. */
76972 #ifdef __cplusplus
76973 extern "C"
76975 #endif
76976 /* We use char because int might match the return type of a gcc2
76977 builtin and then its argument prototype would still apply. */
76978 char $ac_func ();
76979 /* The GNU C library defines this for functions which it implements
76980 to always fail with ENOSYS. Some functions are actually named
76981 something starting with __ and the normal name is an alias. */
76982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76983 choke me
76984 #else
76985 char (*f) () = $ac_func;
76986 #endif
76987 #ifdef __cplusplus
76989 #endif
76992 main ()
76994 return f != $ac_func;
76996 return 0;
76998 _ACEOF
76999 rm -f conftest.$ac_objext conftest$ac_exeext
77000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77001 (eval $ac_link) 2>conftest.er1
77002 ac_status=$?
77003 grep -v '^ *+' conftest.er1 >conftest.err
77004 rm -f conftest.er1
77005 cat conftest.err >&5
77006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77007 (exit $ac_status); } &&
77008 { ac_try='test -z "$ac_c_werror_flag"
77009 || test ! -s conftest.err'
77010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77011 (eval $ac_try) 2>&5
77012 ac_status=$?
77013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77014 (exit $ac_status); }; } &&
77015 { ac_try='test -s conftest$ac_exeext'
77016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77017 (eval $ac_try) 2>&5
77018 ac_status=$?
77019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77020 (exit $ac_status); }; }; then
77021 eval "$as_ac_var=yes"
77022 else
77023 echo "$as_me: failed program was:" >&5
77024 sed 's/^/| /' conftest.$ac_ext >&5
77026 eval "$as_ac_var=no"
77028 rm -f conftest.err conftest.$ac_objext \
77029 conftest$ac_exeext conftest.$ac_ext
77031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77033 if test `eval echo '${'$as_ac_var'}'` = yes; then
77034 cat >>confdefs.h <<_ACEOF
77035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77036 _ACEOF
77039 done
77049 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77050 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77051 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77052 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77053 echo $ECHO_N "(cached) $ECHO_C" >&6
77054 else
77058 ac_ext=cc
77059 ac_cpp='$CXXCPP $CPPFLAGS'
77060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77064 cat >conftest.$ac_ext <<_ACEOF
77065 /* confdefs.h. */
77066 _ACEOF
77067 cat confdefs.h >>conftest.$ac_ext
77068 cat >>conftest.$ac_ext <<_ACEOF
77069 /* end confdefs.h. */
77070 #include <math.h>
77071 #ifdef HAVE_IEEEFP_H
77072 #include <ieeefp.h>
77073 #endif
77076 main ()
77078 fabsl(0);
77080 return 0;
77082 _ACEOF
77083 rm -f conftest.$ac_objext
77084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77085 (eval $ac_compile) 2>conftest.er1
77086 ac_status=$?
77087 grep -v '^ *+' conftest.er1 >conftest.err
77088 rm -f conftest.er1
77089 cat conftest.err >&5
77090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77091 (exit $ac_status); } &&
77092 { ac_try='test -z "$ac_cxx_werror_flag"
77093 || test ! -s conftest.err'
77094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77095 (eval $ac_try) 2>&5
77096 ac_status=$?
77097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77098 (exit $ac_status); }; } &&
77099 { ac_try='test -s conftest.$ac_objext'
77100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77101 (eval $ac_try) 2>&5
77102 ac_status=$?
77103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77104 (exit $ac_status); }; }; then
77105 glibcxx_cv_func_fabsl_use=yes
77106 else
77107 echo "$as_me: failed program was:" >&5
77108 sed 's/^/| /' conftest.$ac_ext >&5
77110 glibcxx_cv_func_fabsl_use=no
77112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77113 ac_ext=c
77114 ac_cpp='$CPP $CPPFLAGS'
77115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77124 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77126 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77128 for ac_func in fabsl
77130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77131 echo "$as_me:$LINENO: checking for $ac_func" >&5
77132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77133 if eval "test \"\${$as_ac_var+set}\" = set"; then
77134 echo $ECHO_N "(cached) $ECHO_C" >&6
77135 else
77136 if test x$gcc_no_link = xyes; then
77137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77139 { (exit 1); exit 1; }; }
77141 cat >conftest.$ac_ext <<_ACEOF
77142 /* confdefs.h. */
77143 _ACEOF
77144 cat confdefs.h >>conftest.$ac_ext
77145 cat >>conftest.$ac_ext <<_ACEOF
77146 /* end confdefs.h. */
77147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77149 #define $ac_func innocuous_$ac_func
77151 /* System header to define __stub macros and hopefully few prototypes,
77152 which can conflict with char $ac_func (); below.
77153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77154 <limits.h> exists even on freestanding compilers. */
77156 #ifdef __STDC__
77157 # include <limits.h>
77158 #else
77159 # include <assert.h>
77160 #endif
77162 #undef $ac_func
77164 /* Override any gcc2 internal prototype to avoid an error. */
77165 #ifdef __cplusplus
77166 extern "C"
77168 #endif
77169 /* We use char because int might match the return type of a gcc2
77170 builtin and then its argument prototype would still apply. */
77171 char $ac_func ();
77172 /* The GNU C library defines this for functions which it implements
77173 to always fail with ENOSYS. Some functions are actually named
77174 something starting with __ and the normal name is an alias. */
77175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77176 choke me
77177 #else
77178 char (*f) () = $ac_func;
77179 #endif
77180 #ifdef __cplusplus
77182 #endif
77185 main ()
77187 return f != $ac_func;
77189 return 0;
77191 _ACEOF
77192 rm -f conftest.$ac_objext conftest$ac_exeext
77193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77194 (eval $ac_link) 2>conftest.er1
77195 ac_status=$?
77196 grep -v '^ *+' conftest.er1 >conftest.err
77197 rm -f conftest.er1
77198 cat conftest.err >&5
77199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77200 (exit $ac_status); } &&
77201 { ac_try='test -z "$ac_c_werror_flag"
77202 || test ! -s conftest.err'
77203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77204 (eval $ac_try) 2>&5
77205 ac_status=$?
77206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77207 (exit $ac_status); }; } &&
77208 { ac_try='test -s conftest$ac_exeext'
77209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77210 (eval $ac_try) 2>&5
77211 ac_status=$?
77212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77213 (exit $ac_status); }; }; then
77214 eval "$as_ac_var=yes"
77215 else
77216 echo "$as_me: failed program was:" >&5
77217 sed 's/^/| /' conftest.$ac_ext >&5
77219 eval "$as_ac_var=no"
77221 rm -f conftest.err conftest.$ac_objext \
77222 conftest$ac_exeext conftest.$ac_ext
77224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77226 if test `eval echo '${'$as_ac_var'}'` = yes; then
77227 cat >>confdefs.h <<_ACEOF
77228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77229 _ACEOF
77232 done
77234 else
77236 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77237 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77238 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77239 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77240 echo $ECHO_N "(cached) $ECHO_C" >&6
77241 else
77245 ac_ext=cc
77246 ac_cpp='$CXXCPP $CPPFLAGS'
77247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77251 cat >conftest.$ac_ext <<_ACEOF
77252 /* confdefs.h. */
77253 _ACEOF
77254 cat confdefs.h >>conftest.$ac_ext
77255 cat >>conftest.$ac_ext <<_ACEOF
77256 /* end confdefs.h. */
77257 #include <math.h>
77258 #ifdef HAVE_IEEEFP_H
77259 #include <ieeefp.h>
77260 #endif
77263 main ()
77265 _fabsl(0);
77267 return 0;
77269 _ACEOF
77270 rm -f conftest.$ac_objext
77271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77272 (eval $ac_compile) 2>conftest.er1
77273 ac_status=$?
77274 grep -v '^ *+' conftest.er1 >conftest.err
77275 rm -f conftest.er1
77276 cat conftest.err >&5
77277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77278 (exit $ac_status); } &&
77279 { ac_try='test -z "$ac_cxx_werror_flag"
77280 || test ! -s conftest.err'
77281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77282 (eval $ac_try) 2>&5
77283 ac_status=$?
77284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77285 (exit $ac_status); }; } &&
77286 { ac_try='test -s conftest.$ac_objext'
77287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77288 (eval $ac_try) 2>&5
77289 ac_status=$?
77290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77291 (exit $ac_status); }; }; then
77292 glibcxx_cv_func__fabsl_use=yes
77293 else
77294 echo "$as_me: failed program was:" >&5
77295 sed 's/^/| /' conftest.$ac_ext >&5
77297 glibcxx_cv_func__fabsl_use=no
77299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77300 ac_ext=c
77301 ac_cpp='$CPP $CPPFLAGS'
77302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77311 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77313 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77315 for ac_func in _fabsl
77317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77318 echo "$as_me:$LINENO: checking for $ac_func" >&5
77319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77320 if eval "test \"\${$as_ac_var+set}\" = set"; then
77321 echo $ECHO_N "(cached) $ECHO_C" >&6
77322 else
77323 if test x$gcc_no_link = xyes; then
77324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77326 { (exit 1); exit 1; }; }
77328 cat >conftest.$ac_ext <<_ACEOF
77329 /* confdefs.h. */
77330 _ACEOF
77331 cat confdefs.h >>conftest.$ac_ext
77332 cat >>conftest.$ac_ext <<_ACEOF
77333 /* end confdefs.h. */
77334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77336 #define $ac_func innocuous_$ac_func
77338 /* System header to define __stub macros and hopefully few prototypes,
77339 which can conflict with char $ac_func (); below.
77340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77341 <limits.h> exists even on freestanding compilers. */
77343 #ifdef __STDC__
77344 # include <limits.h>
77345 #else
77346 # include <assert.h>
77347 #endif
77349 #undef $ac_func
77351 /* Override any gcc2 internal prototype to avoid an error. */
77352 #ifdef __cplusplus
77353 extern "C"
77355 #endif
77356 /* We use char because int might match the return type of a gcc2
77357 builtin and then its argument prototype would still apply. */
77358 char $ac_func ();
77359 /* The GNU C library defines this for functions which it implements
77360 to always fail with ENOSYS. Some functions are actually named
77361 something starting with __ and the normal name is an alias. */
77362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77363 choke me
77364 #else
77365 char (*f) () = $ac_func;
77366 #endif
77367 #ifdef __cplusplus
77369 #endif
77372 main ()
77374 return f != $ac_func;
77376 return 0;
77378 _ACEOF
77379 rm -f conftest.$ac_objext conftest$ac_exeext
77380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77381 (eval $ac_link) 2>conftest.er1
77382 ac_status=$?
77383 grep -v '^ *+' conftest.er1 >conftest.err
77384 rm -f conftest.er1
77385 cat conftest.err >&5
77386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77387 (exit $ac_status); } &&
77388 { ac_try='test -z "$ac_c_werror_flag"
77389 || test ! -s conftest.err'
77390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77391 (eval $ac_try) 2>&5
77392 ac_status=$?
77393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77394 (exit $ac_status); }; } &&
77395 { ac_try='test -s conftest$ac_exeext'
77396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77397 (eval $ac_try) 2>&5
77398 ac_status=$?
77399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77400 (exit $ac_status); }; }; then
77401 eval "$as_ac_var=yes"
77402 else
77403 echo "$as_me: failed program was:" >&5
77404 sed 's/^/| /' conftest.$ac_ext >&5
77406 eval "$as_ac_var=no"
77408 rm -f conftest.err conftest.$ac_objext \
77409 conftest$ac_exeext conftest.$ac_ext
77411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77413 if test `eval echo '${'$as_ac_var'}'` = yes; then
77414 cat >>confdefs.h <<_ACEOF
77415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77416 _ACEOF
77419 done
77429 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77430 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77431 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77432 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77433 echo $ECHO_N "(cached) $ECHO_C" >&6
77434 else
77438 ac_ext=cc
77439 ac_cpp='$CXXCPP $CPPFLAGS'
77440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77444 cat >conftest.$ac_ext <<_ACEOF
77445 /* confdefs.h. */
77446 _ACEOF
77447 cat confdefs.h >>conftest.$ac_ext
77448 cat >>conftest.$ac_ext <<_ACEOF
77449 /* end confdefs.h. */
77450 #include <math.h>
77452 main ()
77454 fmodl(0, 0);
77456 return 0;
77458 _ACEOF
77459 rm -f conftest.$ac_objext
77460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77461 (eval $ac_compile) 2>conftest.er1
77462 ac_status=$?
77463 grep -v '^ *+' conftest.er1 >conftest.err
77464 rm -f conftest.er1
77465 cat conftest.err >&5
77466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77467 (exit $ac_status); } &&
77468 { ac_try='test -z "$ac_cxx_werror_flag"
77469 || test ! -s conftest.err'
77470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77471 (eval $ac_try) 2>&5
77472 ac_status=$?
77473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77474 (exit $ac_status); }; } &&
77475 { ac_try='test -s conftest.$ac_objext'
77476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77477 (eval $ac_try) 2>&5
77478 ac_status=$?
77479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77480 (exit $ac_status); }; }; then
77481 glibcxx_cv_func_fmodl_use=yes
77482 else
77483 echo "$as_me: failed program was:" >&5
77484 sed 's/^/| /' conftest.$ac_ext >&5
77486 glibcxx_cv_func_fmodl_use=no
77488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77489 ac_ext=c
77490 ac_cpp='$CPP $CPPFLAGS'
77491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77500 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77502 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77504 for ac_func in fmodl
77506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77507 echo "$as_me:$LINENO: checking for $ac_func" >&5
77508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77509 if eval "test \"\${$as_ac_var+set}\" = set"; then
77510 echo $ECHO_N "(cached) $ECHO_C" >&6
77511 else
77512 if test x$gcc_no_link = xyes; then
77513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77515 { (exit 1); exit 1; }; }
77517 cat >conftest.$ac_ext <<_ACEOF
77518 /* confdefs.h. */
77519 _ACEOF
77520 cat confdefs.h >>conftest.$ac_ext
77521 cat >>conftest.$ac_ext <<_ACEOF
77522 /* end confdefs.h. */
77523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77525 #define $ac_func innocuous_$ac_func
77527 /* System header to define __stub macros and hopefully few prototypes,
77528 which can conflict with char $ac_func (); below.
77529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77530 <limits.h> exists even on freestanding compilers. */
77532 #ifdef __STDC__
77533 # include <limits.h>
77534 #else
77535 # include <assert.h>
77536 #endif
77538 #undef $ac_func
77540 /* Override any gcc2 internal prototype to avoid an error. */
77541 #ifdef __cplusplus
77542 extern "C"
77544 #endif
77545 /* We use char because int might match the return type of a gcc2
77546 builtin and then its argument prototype would still apply. */
77547 char $ac_func ();
77548 /* The GNU C library defines this for functions which it implements
77549 to always fail with ENOSYS. Some functions are actually named
77550 something starting with __ and the normal name is an alias. */
77551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77552 choke me
77553 #else
77554 char (*f) () = $ac_func;
77555 #endif
77556 #ifdef __cplusplus
77558 #endif
77561 main ()
77563 return f != $ac_func;
77565 return 0;
77567 _ACEOF
77568 rm -f conftest.$ac_objext conftest$ac_exeext
77569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77570 (eval $ac_link) 2>conftest.er1
77571 ac_status=$?
77572 grep -v '^ *+' conftest.er1 >conftest.err
77573 rm -f conftest.er1
77574 cat conftest.err >&5
77575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77576 (exit $ac_status); } &&
77577 { ac_try='test -z "$ac_c_werror_flag"
77578 || test ! -s conftest.err'
77579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77580 (eval $ac_try) 2>&5
77581 ac_status=$?
77582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77583 (exit $ac_status); }; } &&
77584 { ac_try='test -s conftest$ac_exeext'
77585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77586 (eval $ac_try) 2>&5
77587 ac_status=$?
77588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77589 (exit $ac_status); }; }; then
77590 eval "$as_ac_var=yes"
77591 else
77592 echo "$as_me: failed program was:" >&5
77593 sed 's/^/| /' conftest.$ac_ext >&5
77595 eval "$as_ac_var=no"
77597 rm -f conftest.err conftest.$ac_objext \
77598 conftest$ac_exeext conftest.$ac_ext
77600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77602 if test `eval echo '${'$as_ac_var'}'` = yes; then
77603 cat >>confdefs.h <<_ACEOF
77604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77605 _ACEOF
77608 done
77610 else
77612 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77613 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77614 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77615 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77616 echo $ECHO_N "(cached) $ECHO_C" >&6
77617 else
77621 ac_ext=cc
77622 ac_cpp='$CXXCPP $CPPFLAGS'
77623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77627 cat >conftest.$ac_ext <<_ACEOF
77628 /* confdefs.h. */
77629 _ACEOF
77630 cat confdefs.h >>conftest.$ac_ext
77631 cat >>conftest.$ac_ext <<_ACEOF
77632 /* end confdefs.h. */
77633 #include <math.h>
77635 main ()
77637 _fmodl(0, 0);
77639 return 0;
77641 _ACEOF
77642 rm -f conftest.$ac_objext
77643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77644 (eval $ac_compile) 2>conftest.er1
77645 ac_status=$?
77646 grep -v '^ *+' conftest.er1 >conftest.err
77647 rm -f conftest.er1
77648 cat conftest.err >&5
77649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77650 (exit $ac_status); } &&
77651 { ac_try='test -z "$ac_cxx_werror_flag"
77652 || test ! -s conftest.err'
77653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77654 (eval $ac_try) 2>&5
77655 ac_status=$?
77656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77657 (exit $ac_status); }; } &&
77658 { ac_try='test -s conftest.$ac_objext'
77659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77660 (eval $ac_try) 2>&5
77661 ac_status=$?
77662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77663 (exit $ac_status); }; }; then
77664 glibcxx_cv_func__fmodl_use=yes
77665 else
77666 echo "$as_me: failed program was:" >&5
77667 sed 's/^/| /' conftest.$ac_ext >&5
77669 glibcxx_cv_func__fmodl_use=no
77671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77672 ac_ext=c
77673 ac_cpp='$CPP $CPPFLAGS'
77674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77683 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77685 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77687 for ac_func in _fmodl
77689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77690 echo "$as_me:$LINENO: checking for $ac_func" >&5
77691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77692 if eval "test \"\${$as_ac_var+set}\" = set"; then
77693 echo $ECHO_N "(cached) $ECHO_C" >&6
77694 else
77695 if test x$gcc_no_link = xyes; then
77696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77698 { (exit 1); exit 1; }; }
77700 cat >conftest.$ac_ext <<_ACEOF
77701 /* confdefs.h. */
77702 _ACEOF
77703 cat confdefs.h >>conftest.$ac_ext
77704 cat >>conftest.$ac_ext <<_ACEOF
77705 /* end confdefs.h. */
77706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77708 #define $ac_func innocuous_$ac_func
77710 /* System header to define __stub macros and hopefully few prototypes,
77711 which can conflict with char $ac_func (); below.
77712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77713 <limits.h> exists even on freestanding compilers. */
77715 #ifdef __STDC__
77716 # include <limits.h>
77717 #else
77718 # include <assert.h>
77719 #endif
77721 #undef $ac_func
77723 /* Override any gcc2 internal prototype to avoid an error. */
77724 #ifdef __cplusplus
77725 extern "C"
77727 #endif
77728 /* We use char because int might match the return type of a gcc2
77729 builtin and then its argument prototype would still apply. */
77730 char $ac_func ();
77731 /* The GNU C library defines this for functions which it implements
77732 to always fail with ENOSYS. Some functions are actually named
77733 something starting with __ and the normal name is an alias. */
77734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77735 choke me
77736 #else
77737 char (*f) () = $ac_func;
77738 #endif
77739 #ifdef __cplusplus
77741 #endif
77744 main ()
77746 return f != $ac_func;
77748 return 0;
77750 _ACEOF
77751 rm -f conftest.$ac_objext conftest$ac_exeext
77752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77753 (eval $ac_link) 2>conftest.er1
77754 ac_status=$?
77755 grep -v '^ *+' conftest.er1 >conftest.err
77756 rm -f conftest.er1
77757 cat conftest.err >&5
77758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77759 (exit $ac_status); } &&
77760 { ac_try='test -z "$ac_c_werror_flag"
77761 || test ! -s conftest.err'
77762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77763 (eval $ac_try) 2>&5
77764 ac_status=$?
77765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77766 (exit $ac_status); }; } &&
77767 { ac_try='test -s conftest$ac_exeext'
77768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77769 (eval $ac_try) 2>&5
77770 ac_status=$?
77771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77772 (exit $ac_status); }; }; then
77773 eval "$as_ac_var=yes"
77774 else
77775 echo "$as_me: failed program was:" >&5
77776 sed 's/^/| /' conftest.$ac_ext >&5
77778 eval "$as_ac_var=no"
77780 rm -f conftest.err conftest.$ac_objext \
77781 conftest$ac_exeext conftest.$ac_ext
77783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77785 if test `eval echo '${'$as_ac_var'}'` = yes; then
77786 cat >>confdefs.h <<_ACEOF
77787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77788 _ACEOF
77791 done
77801 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77802 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77803 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77804 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77805 echo $ECHO_N "(cached) $ECHO_C" >&6
77806 else
77810 ac_ext=cc
77811 ac_cpp='$CXXCPP $CPPFLAGS'
77812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77816 cat >conftest.$ac_ext <<_ACEOF
77817 /* confdefs.h. */
77818 _ACEOF
77819 cat confdefs.h >>conftest.$ac_ext
77820 cat >>conftest.$ac_ext <<_ACEOF
77821 /* end confdefs.h. */
77822 #include <math.h>
77824 main ()
77826 frexpl(0, 0);
77828 return 0;
77830 _ACEOF
77831 rm -f conftest.$ac_objext
77832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77833 (eval $ac_compile) 2>conftest.er1
77834 ac_status=$?
77835 grep -v '^ *+' conftest.er1 >conftest.err
77836 rm -f conftest.er1
77837 cat conftest.err >&5
77838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839 (exit $ac_status); } &&
77840 { ac_try='test -z "$ac_cxx_werror_flag"
77841 || test ! -s conftest.err'
77842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77843 (eval $ac_try) 2>&5
77844 ac_status=$?
77845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77846 (exit $ac_status); }; } &&
77847 { ac_try='test -s conftest.$ac_objext'
77848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77849 (eval $ac_try) 2>&5
77850 ac_status=$?
77851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77852 (exit $ac_status); }; }; then
77853 glibcxx_cv_func_frexpl_use=yes
77854 else
77855 echo "$as_me: failed program was:" >&5
77856 sed 's/^/| /' conftest.$ac_ext >&5
77858 glibcxx_cv_func_frexpl_use=no
77860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77861 ac_ext=c
77862 ac_cpp='$CPP $CPPFLAGS'
77863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77872 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77874 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77876 for ac_func in frexpl
77878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77879 echo "$as_me:$LINENO: checking for $ac_func" >&5
77880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77881 if eval "test \"\${$as_ac_var+set}\" = set"; then
77882 echo $ECHO_N "(cached) $ECHO_C" >&6
77883 else
77884 if test x$gcc_no_link = xyes; then
77885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77887 { (exit 1); exit 1; }; }
77889 cat >conftest.$ac_ext <<_ACEOF
77890 /* confdefs.h. */
77891 _ACEOF
77892 cat confdefs.h >>conftest.$ac_ext
77893 cat >>conftest.$ac_ext <<_ACEOF
77894 /* end confdefs.h. */
77895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77897 #define $ac_func innocuous_$ac_func
77899 /* System header to define __stub macros and hopefully few prototypes,
77900 which can conflict with char $ac_func (); below.
77901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77902 <limits.h> exists even on freestanding compilers. */
77904 #ifdef __STDC__
77905 # include <limits.h>
77906 #else
77907 # include <assert.h>
77908 #endif
77910 #undef $ac_func
77912 /* Override any gcc2 internal prototype to avoid an error. */
77913 #ifdef __cplusplus
77914 extern "C"
77916 #endif
77917 /* We use char because int might match the return type of a gcc2
77918 builtin and then its argument prototype would still apply. */
77919 char $ac_func ();
77920 /* The GNU C library defines this for functions which it implements
77921 to always fail with ENOSYS. Some functions are actually named
77922 something starting with __ and the normal name is an alias. */
77923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77924 choke me
77925 #else
77926 char (*f) () = $ac_func;
77927 #endif
77928 #ifdef __cplusplus
77930 #endif
77933 main ()
77935 return f != $ac_func;
77937 return 0;
77939 _ACEOF
77940 rm -f conftest.$ac_objext conftest$ac_exeext
77941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77942 (eval $ac_link) 2>conftest.er1
77943 ac_status=$?
77944 grep -v '^ *+' conftest.er1 >conftest.err
77945 rm -f conftest.er1
77946 cat conftest.err >&5
77947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948 (exit $ac_status); } &&
77949 { ac_try='test -z "$ac_c_werror_flag"
77950 || test ! -s conftest.err'
77951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77952 (eval $ac_try) 2>&5
77953 ac_status=$?
77954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77955 (exit $ac_status); }; } &&
77956 { ac_try='test -s conftest$ac_exeext'
77957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77958 (eval $ac_try) 2>&5
77959 ac_status=$?
77960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77961 (exit $ac_status); }; }; then
77962 eval "$as_ac_var=yes"
77963 else
77964 echo "$as_me: failed program was:" >&5
77965 sed 's/^/| /' conftest.$ac_ext >&5
77967 eval "$as_ac_var=no"
77969 rm -f conftest.err conftest.$ac_objext \
77970 conftest$ac_exeext conftest.$ac_ext
77972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77974 if test `eval echo '${'$as_ac_var'}'` = yes; then
77975 cat >>confdefs.h <<_ACEOF
77976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77977 _ACEOF
77980 done
77982 else
77984 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77985 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77986 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77987 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77988 echo $ECHO_N "(cached) $ECHO_C" >&6
77989 else
77993 ac_ext=cc
77994 ac_cpp='$CXXCPP $CPPFLAGS'
77995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77999 cat >conftest.$ac_ext <<_ACEOF
78000 /* confdefs.h. */
78001 _ACEOF
78002 cat confdefs.h >>conftest.$ac_ext
78003 cat >>conftest.$ac_ext <<_ACEOF
78004 /* end confdefs.h. */
78005 #include <math.h>
78007 main ()
78009 _frexpl(0, 0);
78011 return 0;
78013 _ACEOF
78014 rm -f conftest.$ac_objext
78015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78016 (eval $ac_compile) 2>conftest.er1
78017 ac_status=$?
78018 grep -v '^ *+' conftest.er1 >conftest.err
78019 rm -f conftest.er1
78020 cat conftest.err >&5
78021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78022 (exit $ac_status); } &&
78023 { ac_try='test -z "$ac_cxx_werror_flag"
78024 || test ! -s conftest.err'
78025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78026 (eval $ac_try) 2>&5
78027 ac_status=$?
78028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78029 (exit $ac_status); }; } &&
78030 { ac_try='test -s conftest.$ac_objext'
78031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78032 (eval $ac_try) 2>&5
78033 ac_status=$?
78034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78035 (exit $ac_status); }; }; then
78036 glibcxx_cv_func__frexpl_use=yes
78037 else
78038 echo "$as_me: failed program was:" >&5
78039 sed 's/^/| /' conftest.$ac_ext >&5
78041 glibcxx_cv_func__frexpl_use=no
78043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78044 ac_ext=c
78045 ac_cpp='$CPP $CPPFLAGS'
78046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78055 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78057 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78059 for ac_func in _frexpl
78061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78062 echo "$as_me:$LINENO: checking for $ac_func" >&5
78063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78064 if eval "test \"\${$as_ac_var+set}\" = set"; then
78065 echo $ECHO_N "(cached) $ECHO_C" >&6
78066 else
78067 if test x$gcc_no_link = xyes; then
78068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78070 { (exit 1); exit 1; }; }
78072 cat >conftest.$ac_ext <<_ACEOF
78073 /* confdefs.h. */
78074 _ACEOF
78075 cat confdefs.h >>conftest.$ac_ext
78076 cat >>conftest.$ac_ext <<_ACEOF
78077 /* end confdefs.h. */
78078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78080 #define $ac_func innocuous_$ac_func
78082 /* System header to define __stub macros and hopefully few prototypes,
78083 which can conflict with char $ac_func (); below.
78084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78085 <limits.h> exists even on freestanding compilers. */
78087 #ifdef __STDC__
78088 # include <limits.h>
78089 #else
78090 # include <assert.h>
78091 #endif
78093 #undef $ac_func
78095 /* Override any gcc2 internal prototype to avoid an error. */
78096 #ifdef __cplusplus
78097 extern "C"
78099 #endif
78100 /* We use char because int might match the return type of a gcc2
78101 builtin and then its argument prototype would still apply. */
78102 char $ac_func ();
78103 /* The GNU C library defines this for functions which it implements
78104 to always fail with ENOSYS. Some functions are actually named
78105 something starting with __ and the normal name is an alias. */
78106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78107 choke me
78108 #else
78109 char (*f) () = $ac_func;
78110 #endif
78111 #ifdef __cplusplus
78113 #endif
78116 main ()
78118 return f != $ac_func;
78120 return 0;
78122 _ACEOF
78123 rm -f conftest.$ac_objext conftest$ac_exeext
78124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78125 (eval $ac_link) 2>conftest.er1
78126 ac_status=$?
78127 grep -v '^ *+' conftest.er1 >conftest.err
78128 rm -f conftest.er1
78129 cat conftest.err >&5
78130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78131 (exit $ac_status); } &&
78132 { ac_try='test -z "$ac_c_werror_flag"
78133 || test ! -s conftest.err'
78134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78135 (eval $ac_try) 2>&5
78136 ac_status=$?
78137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78138 (exit $ac_status); }; } &&
78139 { ac_try='test -s conftest$ac_exeext'
78140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78141 (eval $ac_try) 2>&5
78142 ac_status=$?
78143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78144 (exit $ac_status); }; }; then
78145 eval "$as_ac_var=yes"
78146 else
78147 echo "$as_me: failed program was:" >&5
78148 sed 's/^/| /' conftest.$ac_ext >&5
78150 eval "$as_ac_var=no"
78152 rm -f conftest.err conftest.$ac_objext \
78153 conftest$ac_exeext conftest.$ac_ext
78155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78157 if test `eval echo '${'$as_ac_var'}'` = yes; then
78158 cat >>confdefs.h <<_ACEOF
78159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78160 _ACEOF
78163 done
78173 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78174 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78175 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78176 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78177 echo $ECHO_N "(cached) $ECHO_C" >&6
78178 else
78182 ac_ext=cc
78183 ac_cpp='$CXXCPP $CPPFLAGS'
78184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78188 cat >conftest.$ac_ext <<_ACEOF
78189 /* confdefs.h. */
78190 _ACEOF
78191 cat confdefs.h >>conftest.$ac_ext
78192 cat >>conftest.$ac_ext <<_ACEOF
78193 /* end confdefs.h. */
78194 #include <math.h>
78196 main ()
78198 hypotl(0, 0);
78200 return 0;
78202 _ACEOF
78203 rm -f conftest.$ac_objext
78204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78205 (eval $ac_compile) 2>conftest.er1
78206 ac_status=$?
78207 grep -v '^ *+' conftest.er1 >conftest.err
78208 rm -f conftest.er1
78209 cat conftest.err >&5
78210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78211 (exit $ac_status); } &&
78212 { ac_try='test -z "$ac_cxx_werror_flag"
78213 || test ! -s conftest.err'
78214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78215 (eval $ac_try) 2>&5
78216 ac_status=$?
78217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78218 (exit $ac_status); }; } &&
78219 { ac_try='test -s conftest.$ac_objext'
78220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78221 (eval $ac_try) 2>&5
78222 ac_status=$?
78223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78224 (exit $ac_status); }; }; then
78225 glibcxx_cv_func_hypotl_use=yes
78226 else
78227 echo "$as_me: failed program was:" >&5
78228 sed 's/^/| /' conftest.$ac_ext >&5
78230 glibcxx_cv_func_hypotl_use=no
78232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78233 ac_ext=c
78234 ac_cpp='$CPP $CPPFLAGS'
78235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78244 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78246 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78248 for ac_func in hypotl
78250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78251 echo "$as_me:$LINENO: checking for $ac_func" >&5
78252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78253 if eval "test \"\${$as_ac_var+set}\" = set"; then
78254 echo $ECHO_N "(cached) $ECHO_C" >&6
78255 else
78256 if test x$gcc_no_link = xyes; then
78257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78259 { (exit 1); exit 1; }; }
78261 cat >conftest.$ac_ext <<_ACEOF
78262 /* confdefs.h. */
78263 _ACEOF
78264 cat confdefs.h >>conftest.$ac_ext
78265 cat >>conftest.$ac_ext <<_ACEOF
78266 /* end confdefs.h. */
78267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78269 #define $ac_func innocuous_$ac_func
78271 /* System header to define __stub macros and hopefully few prototypes,
78272 which can conflict with char $ac_func (); below.
78273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78274 <limits.h> exists even on freestanding compilers. */
78276 #ifdef __STDC__
78277 # include <limits.h>
78278 #else
78279 # include <assert.h>
78280 #endif
78282 #undef $ac_func
78284 /* Override any gcc2 internal prototype to avoid an error. */
78285 #ifdef __cplusplus
78286 extern "C"
78288 #endif
78289 /* We use char because int might match the return type of a gcc2
78290 builtin and then its argument prototype would still apply. */
78291 char $ac_func ();
78292 /* The GNU C library defines this for functions which it implements
78293 to always fail with ENOSYS. Some functions are actually named
78294 something starting with __ and the normal name is an alias. */
78295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78296 choke me
78297 #else
78298 char (*f) () = $ac_func;
78299 #endif
78300 #ifdef __cplusplus
78302 #endif
78305 main ()
78307 return f != $ac_func;
78309 return 0;
78311 _ACEOF
78312 rm -f conftest.$ac_objext conftest$ac_exeext
78313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78314 (eval $ac_link) 2>conftest.er1
78315 ac_status=$?
78316 grep -v '^ *+' conftest.er1 >conftest.err
78317 rm -f conftest.er1
78318 cat conftest.err >&5
78319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78320 (exit $ac_status); } &&
78321 { ac_try='test -z "$ac_c_werror_flag"
78322 || test ! -s conftest.err'
78323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78324 (eval $ac_try) 2>&5
78325 ac_status=$?
78326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78327 (exit $ac_status); }; } &&
78328 { ac_try='test -s conftest$ac_exeext'
78329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78330 (eval $ac_try) 2>&5
78331 ac_status=$?
78332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78333 (exit $ac_status); }; }; then
78334 eval "$as_ac_var=yes"
78335 else
78336 echo "$as_me: failed program was:" >&5
78337 sed 's/^/| /' conftest.$ac_ext >&5
78339 eval "$as_ac_var=no"
78341 rm -f conftest.err conftest.$ac_objext \
78342 conftest$ac_exeext conftest.$ac_ext
78344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78346 if test `eval echo '${'$as_ac_var'}'` = yes; then
78347 cat >>confdefs.h <<_ACEOF
78348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78349 _ACEOF
78352 done
78354 else
78356 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78357 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78358 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78359 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78360 echo $ECHO_N "(cached) $ECHO_C" >&6
78361 else
78365 ac_ext=cc
78366 ac_cpp='$CXXCPP $CPPFLAGS'
78367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78371 cat >conftest.$ac_ext <<_ACEOF
78372 /* confdefs.h. */
78373 _ACEOF
78374 cat confdefs.h >>conftest.$ac_ext
78375 cat >>conftest.$ac_ext <<_ACEOF
78376 /* end confdefs.h. */
78377 #include <math.h>
78379 main ()
78381 _hypotl(0, 0);
78383 return 0;
78385 _ACEOF
78386 rm -f conftest.$ac_objext
78387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78388 (eval $ac_compile) 2>conftest.er1
78389 ac_status=$?
78390 grep -v '^ *+' conftest.er1 >conftest.err
78391 rm -f conftest.er1
78392 cat conftest.err >&5
78393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78394 (exit $ac_status); } &&
78395 { ac_try='test -z "$ac_cxx_werror_flag"
78396 || test ! -s conftest.err'
78397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78398 (eval $ac_try) 2>&5
78399 ac_status=$?
78400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78401 (exit $ac_status); }; } &&
78402 { ac_try='test -s conftest.$ac_objext'
78403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78404 (eval $ac_try) 2>&5
78405 ac_status=$?
78406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78407 (exit $ac_status); }; }; then
78408 glibcxx_cv_func__hypotl_use=yes
78409 else
78410 echo "$as_me: failed program was:" >&5
78411 sed 's/^/| /' conftest.$ac_ext >&5
78413 glibcxx_cv_func__hypotl_use=no
78415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78416 ac_ext=c
78417 ac_cpp='$CPP $CPPFLAGS'
78418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78427 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78429 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78431 for ac_func in _hypotl
78433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78434 echo "$as_me:$LINENO: checking for $ac_func" >&5
78435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78436 if eval "test \"\${$as_ac_var+set}\" = set"; then
78437 echo $ECHO_N "(cached) $ECHO_C" >&6
78438 else
78439 if test x$gcc_no_link = xyes; then
78440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78442 { (exit 1); exit 1; }; }
78444 cat >conftest.$ac_ext <<_ACEOF
78445 /* confdefs.h. */
78446 _ACEOF
78447 cat confdefs.h >>conftest.$ac_ext
78448 cat >>conftest.$ac_ext <<_ACEOF
78449 /* end confdefs.h. */
78450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78452 #define $ac_func innocuous_$ac_func
78454 /* System header to define __stub macros and hopefully few prototypes,
78455 which can conflict with char $ac_func (); below.
78456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78457 <limits.h> exists even on freestanding compilers. */
78459 #ifdef __STDC__
78460 # include <limits.h>
78461 #else
78462 # include <assert.h>
78463 #endif
78465 #undef $ac_func
78467 /* Override any gcc2 internal prototype to avoid an error. */
78468 #ifdef __cplusplus
78469 extern "C"
78471 #endif
78472 /* We use char because int might match the return type of a gcc2
78473 builtin and then its argument prototype would still apply. */
78474 char $ac_func ();
78475 /* The GNU C library defines this for functions which it implements
78476 to always fail with ENOSYS. Some functions are actually named
78477 something starting with __ and the normal name is an alias. */
78478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78479 choke me
78480 #else
78481 char (*f) () = $ac_func;
78482 #endif
78483 #ifdef __cplusplus
78485 #endif
78488 main ()
78490 return f != $ac_func;
78492 return 0;
78494 _ACEOF
78495 rm -f conftest.$ac_objext conftest$ac_exeext
78496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78497 (eval $ac_link) 2>conftest.er1
78498 ac_status=$?
78499 grep -v '^ *+' conftest.er1 >conftest.err
78500 rm -f conftest.er1
78501 cat conftest.err >&5
78502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78503 (exit $ac_status); } &&
78504 { ac_try='test -z "$ac_c_werror_flag"
78505 || test ! -s conftest.err'
78506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78507 (eval $ac_try) 2>&5
78508 ac_status=$?
78509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78510 (exit $ac_status); }; } &&
78511 { ac_try='test -s conftest$ac_exeext'
78512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78513 (eval $ac_try) 2>&5
78514 ac_status=$?
78515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516 (exit $ac_status); }; }; then
78517 eval "$as_ac_var=yes"
78518 else
78519 echo "$as_me: failed program was:" >&5
78520 sed 's/^/| /' conftest.$ac_ext >&5
78522 eval "$as_ac_var=no"
78524 rm -f conftest.err conftest.$ac_objext \
78525 conftest$ac_exeext conftest.$ac_ext
78527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78529 if test `eval echo '${'$as_ac_var'}'` = yes; then
78530 cat >>confdefs.h <<_ACEOF
78531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78532 _ACEOF
78535 done
78545 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78546 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78547 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78548 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78549 echo $ECHO_N "(cached) $ECHO_C" >&6
78550 else
78554 ac_ext=cc
78555 ac_cpp='$CXXCPP $CPPFLAGS'
78556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78560 cat >conftest.$ac_ext <<_ACEOF
78561 /* confdefs.h. */
78562 _ACEOF
78563 cat confdefs.h >>conftest.$ac_ext
78564 cat >>conftest.$ac_ext <<_ACEOF
78565 /* end confdefs.h. */
78566 #include <math.h>
78568 main ()
78570 ldexpl(0, 0);
78572 return 0;
78574 _ACEOF
78575 rm -f conftest.$ac_objext
78576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78577 (eval $ac_compile) 2>conftest.er1
78578 ac_status=$?
78579 grep -v '^ *+' conftest.er1 >conftest.err
78580 rm -f conftest.er1
78581 cat conftest.err >&5
78582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78583 (exit $ac_status); } &&
78584 { ac_try='test -z "$ac_cxx_werror_flag"
78585 || test ! -s conftest.err'
78586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587 (eval $ac_try) 2>&5
78588 ac_status=$?
78589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590 (exit $ac_status); }; } &&
78591 { ac_try='test -s conftest.$ac_objext'
78592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78593 (eval $ac_try) 2>&5
78594 ac_status=$?
78595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78596 (exit $ac_status); }; }; then
78597 glibcxx_cv_func_ldexpl_use=yes
78598 else
78599 echo "$as_me: failed program was:" >&5
78600 sed 's/^/| /' conftest.$ac_ext >&5
78602 glibcxx_cv_func_ldexpl_use=no
78604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78605 ac_ext=c
78606 ac_cpp='$CPP $CPPFLAGS'
78607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78616 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78618 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78620 for ac_func in ldexpl
78622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78623 echo "$as_me:$LINENO: checking for $ac_func" >&5
78624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78625 if eval "test \"\${$as_ac_var+set}\" = set"; then
78626 echo $ECHO_N "(cached) $ECHO_C" >&6
78627 else
78628 if test x$gcc_no_link = xyes; then
78629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78631 { (exit 1); exit 1; }; }
78633 cat >conftest.$ac_ext <<_ACEOF
78634 /* confdefs.h. */
78635 _ACEOF
78636 cat confdefs.h >>conftest.$ac_ext
78637 cat >>conftest.$ac_ext <<_ACEOF
78638 /* end confdefs.h. */
78639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78641 #define $ac_func innocuous_$ac_func
78643 /* System header to define __stub macros and hopefully few prototypes,
78644 which can conflict with char $ac_func (); below.
78645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78646 <limits.h> exists even on freestanding compilers. */
78648 #ifdef __STDC__
78649 # include <limits.h>
78650 #else
78651 # include <assert.h>
78652 #endif
78654 #undef $ac_func
78656 /* Override any gcc2 internal prototype to avoid an error. */
78657 #ifdef __cplusplus
78658 extern "C"
78660 #endif
78661 /* We use char because int might match the return type of a gcc2
78662 builtin and then its argument prototype would still apply. */
78663 char $ac_func ();
78664 /* The GNU C library defines this for functions which it implements
78665 to always fail with ENOSYS. Some functions are actually named
78666 something starting with __ and the normal name is an alias. */
78667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78668 choke me
78669 #else
78670 char (*f) () = $ac_func;
78671 #endif
78672 #ifdef __cplusplus
78674 #endif
78677 main ()
78679 return f != $ac_func;
78681 return 0;
78683 _ACEOF
78684 rm -f conftest.$ac_objext conftest$ac_exeext
78685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78686 (eval $ac_link) 2>conftest.er1
78687 ac_status=$?
78688 grep -v '^ *+' conftest.er1 >conftest.err
78689 rm -f conftest.er1
78690 cat conftest.err >&5
78691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78692 (exit $ac_status); } &&
78693 { ac_try='test -z "$ac_c_werror_flag"
78694 || test ! -s conftest.err'
78695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78696 (eval $ac_try) 2>&5
78697 ac_status=$?
78698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78699 (exit $ac_status); }; } &&
78700 { ac_try='test -s conftest$ac_exeext'
78701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78702 (eval $ac_try) 2>&5
78703 ac_status=$?
78704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78705 (exit $ac_status); }; }; then
78706 eval "$as_ac_var=yes"
78707 else
78708 echo "$as_me: failed program was:" >&5
78709 sed 's/^/| /' conftest.$ac_ext >&5
78711 eval "$as_ac_var=no"
78713 rm -f conftest.err conftest.$ac_objext \
78714 conftest$ac_exeext conftest.$ac_ext
78716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78718 if test `eval echo '${'$as_ac_var'}'` = yes; then
78719 cat >>confdefs.h <<_ACEOF
78720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78721 _ACEOF
78724 done
78726 else
78728 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78729 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78730 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78731 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78732 echo $ECHO_N "(cached) $ECHO_C" >&6
78733 else
78737 ac_ext=cc
78738 ac_cpp='$CXXCPP $CPPFLAGS'
78739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78743 cat >conftest.$ac_ext <<_ACEOF
78744 /* confdefs.h. */
78745 _ACEOF
78746 cat confdefs.h >>conftest.$ac_ext
78747 cat >>conftest.$ac_ext <<_ACEOF
78748 /* end confdefs.h. */
78749 #include <math.h>
78751 main ()
78753 _ldexpl(0, 0);
78755 return 0;
78757 _ACEOF
78758 rm -f conftest.$ac_objext
78759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78760 (eval $ac_compile) 2>conftest.er1
78761 ac_status=$?
78762 grep -v '^ *+' conftest.er1 >conftest.err
78763 rm -f conftest.er1
78764 cat conftest.err >&5
78765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78766 (exit $ac_status); } &&
78767 { ac_try='test -z "$ac_cxx_werror_flag"
78768 || test ! -s conftest.err'
78769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78770 (eval $ac_try) 2>&5
78771 ac_status=$?
78772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78773 (exit $ac_status); }; } &&
78774 { ac_try='test -s conftest.$ac_objext'
78775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78776 (eval $ac_try) 2>&5
78777 ac_status=$?
78778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78779 (exit $ac_status); }; }; then
78780 glibcxx_cv_func__ldexpl_use=yes
78781 else
78782 echo "$as_me: failed program was:" >&5
78783 sed 's/^/| /' conftest.$ac_ext >&5
78785 glibcxx_cv_func__ldexpl_use=no
78787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78788 ac_ext=c
78789 ac_cpp='$CPP $CPPFLAGS'
78790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78799 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78801 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78803 for ac_func in _ldexpl
78805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78806 echo "$as_me:$LINENO: checking for $ac_func" >&5
78807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78808 if eval "test \"\${$as_ac_var+set}\" = set"; then
78809 echo $ECHO_N "(cached) $ECHO_C" >&6
78810 else
78811 if test x$gcc_no_link = xyes; then
78812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78814 { (exit 1); exit 1; }; }
78816 cat >conftest.$ac_ext <<_ACEOF
78817 /* confdefs.h. */
78818 _ACEOF
78819 cat confdefs.h >>conftest.$ac_ext
78820 cat >>conftest.$ac_ext <<_ACEOF
78821 /* end confdefs.h. */
78822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78824 #define $ac_func innocuous_$ac_func
78826 /* System header to define __stub macros and hopefully few prototypes,
78827 which can conflict with char $ac_func (); below.
78828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78829 <limits.h> exists even on freestanding compilers. */
78831 #ifdef __STDC__
78832 # include <limits.h>
78833 #else
78834 # include <assert.h>
78835 #endif
78837 #undef $ac_func
78839 /* Override any gcc2 internal prototype to avoid an error. */
78840 #ifdef __cplusplus
78841 extern "C"
78843 #endif
78844 /* We use char because int might match the return type of a gcc2
78845 builtin and then its argument prototype would still apply. */
78846 char $ac_func ();
78847 /* The GNU C library defines this for functions which it implements
78848 to always fail with ENOSYS. Some functions are actually named
78849 something starting with __ and the normal name is an alias. */
78850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78851 choke me
78852 #else
78853 char (*f) () = $ac_func;
78854 #endif
78855 #ifdef __cplusplus
78857 #endif
78860 main ()
78862 return f != $ac_func;
78864 return 0;
78866 _ACEOF
78867 rm -f conftest.$ac_objext conftest$ac_exeext
78868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78869 (eval $ac_link) 2>conftest.er1
78870 ac_status=$?
78871 grep -v '^ *+' conftest.er1 >conftest.err
78872 rm -f conftest.er1
78873 cat conftest.err >&5
78874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78875 (exit $ac_status); } &&
78876 { ac_try='test -z "$ac_c_werror_flag"
78877 || test ! -s conftest.err'
78878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78879 (eval $ac_try) 2>&5
78880 ac_status=$?
78881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78882 (exit $ac_status); }; } &&
78883 { ac_try='test -s conftest$ac_exeext'
78884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78885 (eval $ac_try) 2>&5
78886 ac_status=$?
78887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78888 (exit $ac_status); }; }; then
78889 eval "$as_ac_var=yes"
78890 else
78891 echo "$as_me: failed program was:" >&5
78892 sed 's/^/| /' conftest.$ac_ext >&5
78894 eval "$as_ac_var=no"
78896 rm -f conftest.err conftest.$ac_objext \
78897 conftest$ac_exeext conftest.$ac_ext
78899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78901 if test `eval echo '${'$as_ac_var'}'` = yes; then
78902 cat >>confdefs.h <<_ACEOF
78903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78904 _ACEOF
78907 done
78917 echo "$as_me:$LINENO: checking for logl declaration" >&5
78918 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78919 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78920 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78921 echo $ECHO_N "(cached) $ECHO_C" >&6
78922 else
78926 ac_ext=cc
78927 ac_cpp='$CXXCPP $CPPFLAGS'
78928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78932 cat >conftest.$ac_ext <<_ACEOF
78933 /* confdefs.h. */
78934 _ACEOF
78935 cat confdefs.h >>conftest.$ac_ext
78936 cat >>conftest.$ac_ext <<_ACEOF
78937 /* end confdefs.h. */
78938 #include <math.h>
78939 #ifdef HAVE_IEEEFP_H
78940 #include <ieeefp.h>
78941 #endif
78944 main ()
78946 logl(0);
78948 return 0;
78950 _ACEOF
78951 rm -f conftest.$ac_objext
78952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78953 (eval $ac_compile) 2>conftest.er1
78954 ac_status=$?
78955 grep -v '^ *+' conftest.er1 >conftest.err
78956 rm -f conftest.er1
78957 cat conftest.err >&5
78958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78959 (exit $ac_status); } &&
78960 { ac_try='test -z "$ac_cxx_werror_flag"
78961 || test ! -s conftest.err'
78962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78963 (eval $ac_try) 2>&5
78964 ac_status=$?
78965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78966 (exit $ac_status); }; } &&
78967 { ac_try='test -s conftest.$ac_objext'
78968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78969 (eval $ac_try) 2>&5
78970 ac_status=$?
78971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78972 (exit $ac_status); }; }; then
78973 glibcxx_cv_func_logl_use=yes
78974 else
78975 echo "$as_me: failed program was:" >&5
78976 sed 's/^/| /' conftest.$ac_ext >&5
78978 glibcxx_cv_func_logl_use=no
78980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78981 ac_ext=c
78982 ac_cpp='$CPP $CPPFLAGS'
78983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78992 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78994 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78996 for ac_func in logl
78998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78999 echo "$as_me:$LINENO: checking for $ac_func" >&5
79000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79001 if eval "test \"\${$as_ac_var+set}\" = set"; then
79002 echo $ECHO_N "(cached) $ECHO_C" >&6
79003 else
79004 if test x$gcc_no_link = xyes; then
79005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79007 { (exit 1); exit 1; }; }
79009 cat >conftest.$ac_ext <<_ACEOF
79010 /* confdefs.h. */
79011 _ACEOF
79012 cat confdefs.h >>conftest.$ac_ext
79013 cat >>conftest.$ac_ext <<_ACEOF
79014 /* end confdefs.h. */
79015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79017 #define $ac_func innocuous_$ac_func
79019 /* System header to define __stub macros and hopefully few prototypes,
79020 which can conflict with char $ac_func (); below.
79021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79022 <limits.h> exists even on freestanding compilers. */
79024 #ifdef __STDC__
79025 # include <limits.h>
79026 #else
79027 # include <assert.h>
79028 #endif
79030 #undef $ac_func
79032 /* Override any gcc2 internal prototype to avoid an error. */
79033 #ifdef __cplusplus
79034 extern "C"
79036 #endif
79037 /* We use char because int might match the return type of a gcc2
79038 builtin and then its argument prototype would still apply. */
79039 char $ac_func ();
79040 /* The GNU C library defines this for functions which it implements
79041 to always fail with ENOSYS. Some functions are actually named
79042 something starting with __ and the normal name is an alias. */
79043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79044 choke me
79045 #else
79046 char (*f) () = $ac_func;
79047 #endif
79048 #ifdef __cplusplus
79050 #endif
79053 main ()
79055 return f != $ac_func;
79057 return 0;
79059 _ACEOF
79060 rm -f conftest.$ac_objext conftest$ac_exeext
79061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79062 (eval $ac_link) 2>conftest.er1
79063 ac_status=$?
79064 grep -v '^ *+' conftest.er1 >conftest.err
79065 rm -f conftest.er1
79066 cat conftest.err >&5
79067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79068 (exit $ac_status); } &&
79069 { ac_try='test -z "$ac_c_werror_flag"
79070 || test ! -s conftest.err'
79071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072 (eval $ac_try) 2>&5
79073 ac_status=$?
79074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075 (exit $ac_status); }; } &&
79076 { ac_try='test -s conftest$ac_exeext'
79077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79078 (eval $ac_try) 2>&5
79079 ac_status=$?
79080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79081 (exit $ac_status); }; }; then
79082 eval "$as_ac_var=yes"
79083 else
79084 echo "$as_me: failed program was:" >&5
79085 sed 's/^/| /' conftest.$ac_ext >&5
79087 eval "$as_ac_var=no"
79089 rm -f conftest.err conftest.$ac_objext \
79090 conftest$ac_exeext conftest.$ac_ext
79092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79094 if test `eval echo '${'$as_ac_var'}'` = yes; then
79095 cat >>confdefs.h <<_ACEOF
79096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79097 _ACEOF
79100 done
79102 else
79104 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79105 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79106 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79107 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79108 echo $ECHO_N "(cached) $ECHO_C" >&6
79109 else
79113 ac_ext=cc
79114 ac_cpp='$CXXCPP $CPPFLAGS'
79115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79119 cat >conftest.$ac_ext <<_ACEOF
79120 /* confdefs.h. */
79121 _ACEOF
79122 cat confdefs.h >>conftest.$ac_ext
79123 cat >>conftest.$ac_ext <<_ACEOF
79124 /* end confdefs.h. */
79125 #include <math.h>
79126 #ifdef HAVE_IEEEFP_H
79127 #include <ieeefp.h>
79128 #endif
79131 main ()
79133 _logl(0);
79135 return 0;
79137 _ACEOF
79138 rm -f conftest.$ac_objext
79139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79140 (eval $ac_compile) 2>conftest.er1
79141 ac_status=$?
79142 grep -v '^ *+' conftest.er1 >conftest.err
79143 rm -f conftest.er1
79144 cat conftest.err >&5
79145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79146 (exit $ac_status); } &&
79147 { ac_try='test -z "$ac_cxx_werror_flag"
79148 || test ! -s conftest.err'
79149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79150 (eval $ac_try) 2>&5
79151 ac_status=$?
79152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79153 (exit $ac_status); }; } &&
79154 { ac_try='test -s conftest.$ac_objext'
79155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79156 (eval $ac_try) 2>&5
79157 ac_status=$?
79158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79159 (exit $ac_status); }; }; then
79160 glibcxx_cv_func__logl_use=yes
79161 else
79162 echo "$as_me: failed program was:" >&5
79163 sed 's/^/| /' conftest.$ac_ext >&5
79165 glibcxx_cv_func__logl_use=no
79167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79168 ac_ext=c
79169 ac_cpp='$CPP $CPPFLAGS'
79170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79179 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79181 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79183 for ac_func in _logl
79185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79186 echo "$as_me:$LINENO: checking for $ac_func" >&5
79187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79188 if eval "test \"\${$as_ac_var+set}\" = set"; then
79189 echo $ECHO_N "(cached) $ECHO_C" >&6
79190 else
79191 if test x$gcc_no_link = xyes; then
79192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79194 { (exit 1); exit 1; }; }
79196 cat >conftest.$ac_ext <<_ACEOF
79197 /* confdefs.h. */
79198 _ACEOF
79199 cat confdefs.h >>conftest.$ac_ext
79200 cat >>conftest.$ac_ext <<_ACEOF
79201 /* end confdefs.h. */
79202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79204 #define $ac_func innocuous_$ac_func
79206 /* System header to define __stub macros and hopefully few prototypes,
79207 which can conflict with char $ac_func (); below.
79208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79209 <limits.h> exists even on freestanding compilers. */
79211 #ifdef __STDC__
79212 # include <limits.h>
79213 #else
79214 # include <assert.h>
79215 #endif
79217 #undef $ac_func
79219 /* Override any gcc2 internal prototype to avoid an error. */
79220 #ifdef __cplusplus
79221 extern "C"
79223 #endif
79224 /* We use char because int might match the return type of a gcc2
79225 builtin and then its argument prototype would still apply. */
79226 char $ac_func ();
79227 /* The GNU C library defines this for functions which it implements
79228 to always fail with ENOSYS. Some functions are actually named
79229 something starting with __ and the normal name is an alias. */
79230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79231 choke me
79232 #else
79233 char (*f) () = $ac_func;
79234 #endif
79235 #ifdef __cplusplus
79237 #endif
79240 main ()
79242 return f != $ac_func;
79244 return 0;
79246 _ACEOF
79247 rm -f conftest.$ac_objext conftest$ac_exeext
79248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79249 (eval $ac_link) 2>conftest.er1
79250 ac_status=$?
79251 grep -v '^ *+' conftest.er1 >conftest.err
79252 rm -f conftest.er1
79253 cat conftest.err >&5
79254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79255 (exit $ac_status); } &&
79256 { ac_try='test -z "$ac_c_werror_flag"
79257 || test ! -s conftest.err'
79258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79259 (eval $ac_try) 2>&5
79260 ac_status=$?
79261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79262 (exit $ac_status); }; } &&
79263 { ac_try='test -s conftest$ac_exeext'
79264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79265 (eval $ac_try) 2>&5
79266 ac_status=$?
79267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79268 (exit $ac_status); }; }; then
79269 eval "$as_ac_var=yes"
79270 else
79271 echo "$as_me: failed program was:" >&5
79272 sed 's/^/| /' conftest.$ac_ext >&5
79274 eval "$as_ac_var=no"
79276 rm -f conftest.err conftest.$ac_objext \
79277 conftest$ac_exeext conftest.$ac_ext
79279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79281 if test `eval echo '${'$as_ac_var'}'` = yes; then
79282 cat >>confdefs.h <<_ACEOF
79283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79284 _ACEOF
79287 done
79297 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79298 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79299 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79300 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79301 echo $ECHO_N "(cached) $ECHO_C" >&6
79302 else
79306 ac_ext=cc
79307 ac_cpp='$CXXCPP $CPPFLAGS'
79308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79312 cat >conftest.$ac_ext <<_ACEOF
79313 /* confdefs.h. */
79314 _ACEOF
79315 cat confdefs.h >>conftest.$ac_ext
79316 cat >>conftest.$ac_ext <<_ACEOF
79317 /* end confdefs.h. */
79318 #include <math.h>
79319 #ifdef HAVE_IEEEFP_H
79320 #include <ieeefp.h>
79321 #endif
79324 main ()
79326 log10l(0);
79328 return 0;
79330 _ACEOF
79331 rm -f conftest.$ac_objext
79332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79333 (eval $ac_compile) 2>conftest.er1
79334 ac_status=$?
79335 grep -v '^ *+' conftest.er1 >conftest.err
79336 rm -f conftest.er1
79337 cat conftest.err >&5
79338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79339 (exit $ac_status); } &&
79340 { ac_try='test -z "$ac_cxx_werror_flag"
79341 || test ! -s conftest.err'
79342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79343 (eval $ac_try) 2>&5
79344 ac_status=$?
79345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79346 (exit $ac_status); }; } &&
79347 { ac_try='test -s conftest.$ac_objext'
79348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79349 (eval $ac_try) 2>&5
79350 ac_status=$?
79351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79352 (exit $ac_status); }; }; then
79353 glibcxx_cv_func_log10l_use=yes
79354 else
79355 echo "$as_me: failed program was:" >&5
79356 sed 's/^/| /' conftest.$ac_ext >&5
79358 glibcxx_cv_func_log10l_use=no
79360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79361 ac_ext=c
79362 ac_cpp='$CPP $CPPFLAGS'
79363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79372 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79374 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79376 for ac_func in log10l
79378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79379 echo "$as_me:$LINENO: checking for $ac_func" >&5
79380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79381 if eval "test \"\${$as_ac_var+set}\" = set"; then
79382 echo $ECHO_N "(cached) $ECHO_C" >&6
79383 else
79384 if test x$gcc_no_link = xyes; then
79385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79387 { (exit 1); exit 1; }; }
79389 cat >conftest.$ac_ext <<_ACEOF
79390 /* confdefs.h. */
79391 _ACEOF
79392 cat confdefs.h >>conftest.$ac_ext
79393 cat >>conftest.$ac_ext <<_ACEOF
79394 /* end confdefs.h. */
79395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79397 #define $ac_func innocuous_$ac_func
79399 /* System header to define __stub macros and hopefully few prototypes,
79400 which can conflict with char $ac_func (); below.
79401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79402 <limits.h> exists even on freestanding compilers. */
79404 #ifdef __STDC__
79405 # include <limits.h>
79406 #else
79407 # include <assert.h>
79408 #endif
79410 #undef $ac_func
79412 /* Override any gcc2 internal prototype to avoid an error. */
79413 #ifdef __cplusplus
79414 extern "C"
79416 #endif
79417 /* We use char because int might match the return type of a gcc2
79418 builtin and then its argument prototype would still apply. */
79419 char $ac_func ();
79420 /* The GNU C library defines this for functions which it implements
79421 to always fail with ENOSYS. Some functions are actually named
79422 something starting with __ and the normal name is an alias. */
79423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79424 choke me
79425 #else
79426 char (*f) () = $ac_func;
79427 #endif
79428 #ifdef __cplusplus
79430 #endif
79433 main ()
79435 return f != $ac_func;
79437 return 0;
79439 _ACEOF
79440 rm -f conftest.$ac_objext conftest$ac_exeext
79441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79442 (eval $ac_link) 2>conftest.er1
79443 ac_status=$?
79444 grep -v '^ *+' conftest.er1 >conftest.err
79445 rm -f conftest.er1
79446 cat conftest.err >&5
79447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79448 (exit $ac_status); } &&
79449 { ac_try='test -z "$ac_c_werror_flag"
79450 || test ! -s conftest.err'
79451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79452 (eval $ac_try) 2>&5
79453 ac_status=$?
79454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79455 (exit $ac_status); }; } &&
79456 { ac_try='test -s conftest$ac_exeext'
79457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79458 (eval $ac_try) 2>&5
79459 ac_status=$?
79460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79461 (exit $ac_status); }; }; then
79462 eval "$as_ac_var=yes"
79463 else
79464 echo "$as_me: failed program was:" >&5
79465 sed 's/^/| /' conftest.$ac_ext >&5
79467 eval "$as_ac_var=no"
79469 rm -f conftest.err conftest.$ac_objext \
79470 conftest$ac_exeext conftest.$ac_ext
79472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79474 if test `eval echo '${'$as_ac_var'}'` = yes; then
79475 cat >>confdefs.h <<_ACEOF
79476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79477 _ACEOF
79480 done
79482 else
79484 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79485 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79486 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79487 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79488 echo $ECHO_N "(cached) $ECHO_C" >&6
79489 else
79493 ac_ext=cc
79494 ac_cpp='$CXXCPP $CPPFLAGS'
79495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79499 cat >conftest.$ac_ext <<_ACEOF
79500 /* confdefs.h. */
79501 _ACEOF
79502 cat confdefs.h >>conftest.$ac_ext
79503 cat >>conftest.$ac_ext <<_ACEOF
79504 /* end confdefs.h. */
79505 #include <math.h>
79506 #ifdef HAVE_IEEEFP_H
79507 #include <ieeefp.h>
79508 #endif
79511 main ()
79513 _log10l(0);
79515 return 0;
79517 _ACEOF
79518 rm -f conftest.$ac_objext
79519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79520 (eval $ac_compile) 2>conftest.er1
79521 ac_status=$?
79522 grep -v '^ *+' conftest.er1 >conftest.err
79523 rm -f conftest.er1
79524 cat conftest.err >&5
79525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79526 (exit $ac_status); } &&
79527 { ac_try='test -z "$ac_cxx_werror_flag"
79528 || test ! -s conftest.err'
79529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79530 (eval $ac_try) 2>&5
79531 ac_status=$?
79532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79533 (exit $ac_status); }; } &&
79534 { ac_try='test -s conftest.$ac_objext'
79535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79536 (eval $ac_try) 2>&5
79537 ac_status=$?
79538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79539 (exit $ac_status); }; }; then
79540 glibcxx_cv_func__log10l_use=yes
79541 else
79542 echo "$as_me: failed program was:" >&5
79543 sed 's/^/| /' conftest.$ac_ext >&5
79545 glibcxx_cv_func__log10l_use=no
79547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79548 ac_ext=c
79549 ac_cpp='$CPP $CPPFLAGS'
79550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79559 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79561 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79563 for ac_func in _log10l
79565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79566 echo "$as_me:$LINENO: checking for $ac_func" >&5
79567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79568 if eval "test \"\${$as_ac_var+set}\" = set"; then
79569 echo $ECHO_N "(cached) $ECHO_C" >&6
79570 else
79571 if test x$gcc_no_link = xyes; then
79572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79574 { (exit 1); exit 1; }; }
79576 cat >conftest.$ac_ext <<_ACEOF
79577 /* confdefs.h. */
79578 _ACEOF
79579 cat confdefs.h >>conftest.$ac_ext
79580 cat >>conftest.$ac_ext <<_ACEOF
79581 /* end confdefs.h. */
79582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79584 #define $ac_func innocuous_$ac_func
79586 /* System header to define __stub macros and hopefully few prototypes,
79587 which can conflict with char $ac_func (); below.
79588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79589 <limits.h> exists even on freestanding compilers. */
79591 #ifdef __STDC__
79592 # include <limits.h>
79593 #else
79594 # include <assert.h>
79595 #endif
79597 #undef $ac_func
79599 /* Override any gcc2 internal prototype to avoid an error. */
79600 #ifdef __cplusplus
79601 extern "C"
79603 #endif
79604 /* We use char because int might match the return type of a gcc2
79605 builtin and then its argument prototype would still apply. */
79606 char $ac_func ();
79607 /* The GNU C library defines this for functions which it implements
79608 to always fail with ENOSYS. Some functions are actually named
79609 something starting with __ and the normal name is an alias. */
79610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79611 choke me
79612 #else
79613 char (*f) () = $ac_func;
79614 #endif
79615 #ifdef __cplusplus
79617 #endif
79620 main ()
79622 return f != $ac_func;
79624 return 0;
79626 _ACEOF
79627 rm -f conftest.$ac_objext conftest$ac_exeext
79628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79629 (eval $ac_link) 2>conftest.er1
79630 ac_status=$?
79631 grep -v '^ *+' conftest.er1 >conftest.err
79632 rm -f conftest.er1
79633 cat conftest.err >&5
79634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79635 (exit $ac_status); } &&
79636 { ac_try='test -z "$ac_c_werror_flag"
79637 || test ! -s conftest.err'
79638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79639 (eval $ac_try) 2>&5
79640 ac_status=$?
79641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79642 (exit $ac_status); }; } &&
79643 { ac_try='test -s conftest$ac_exeext'
79644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79645 (eval $ac_try) 2>&5
79646 ac_status=$?
79647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79648 (exit $ac_status); }; }; then
79649 eval "$as_ac_var=yes"
79650 else
79651 echo "$as_me: failed program was:" >&5
79652 sed 's/^/| /' conftest.$ac_ext >&5
79654 eval "$as_ac_var=no"
79656 rm -f conftest.err conftest.$ac_objext \
79657 conftest$ac_exeext conftest.$ac_ext
79659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79661 if test `eval echo '${'$as_ac_var'}'` = yes; then
79662 cat >>confdefs.h <<_ACEOF
79663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79664 _ACEOF
79667 done
79677 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79678 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79679 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79680 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79681 echo $ECHO_N "(cached) $ECHO_C" >&6
79682 else
79686 ac_ext=cc
79687 ac_cpp='$CXXCPP $CPPFLAGS'
79688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79692 cat >conftest.$ac_ext <<_ACEOF
79693 /* confdefs.h. */
79694 _ACEOF
79695 cat confdefs.h >>conftest.$ac_ext
79696 cat >>conftest.$ac_ext <<_ACEOF
79697 /* end confdefs.h. */
79698 #include <math.h>
79700 main ()
79702 modfl(0, 0);
79704 return 0;
79706 _ACEOF
79707 rm -f conftest.$ac_objext
79708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79709 (eval $ac_compile) 2>conftest.er1
79710 ac_status=$?
79711 grep -v '^ *+' conftest.er1 >conftest.err
79712 rm -f conftest.er1
79713 cat conftest.err >&5
79714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79715 (exit $ac_status); } &&
79716 { ac_try='test -z "$ac_cxx_werror_flag"
79717 || test ! -s conftest.err'
79718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79719 (eval $ac_try) 2>&5
79720 ac_status=$?
79721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79722 (exit $ac_status); }; } &&
79723 { ac_try='test -s conftest.$ac_objext'
79724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79725 (eval $ac_try) 2>&5
79726 ac_status=$?
79727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79728 (exit $ac_status); }; }; then
79729 glibcxx_cv_func_modfl_use=yes
79730 else
79731 echo "$as_me: failed program was:" >&5
79732 sed 's/^/| /' conftest.$ac_ext >&5
79734 glibcxx_cv_func_modfl_use=no
79736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79737 ac_ext=c
79738 ac_cpp='$CPP $CPPFLAGS'
79739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79748 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79750 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79752 for ac_func in modfl
79754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79755 echo "$as_me:$LINENO: checking for $ac_func" >&5
79756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79757 if eval "test \"\${$as_ac_var+set}\" = set"; then
79758 echo $ECHO_N "(cached) $ECHO_C" >&6
79759 else
79760 if test x$gcc_no_link = xyes; then
79761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79763 { (exit 1); exit 1; }; }
79765 cat >conftest.$ac_ext <<_ACEOF
79766 /* confdefs.h. */
79767 _ACEOF
79768 cat confdefs.h >>conftest.$ac_ext
79769 cat >>conftest.$ac_ext <<_ACEOF
79770 /* end confdefs.h. */
79771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79773 #define $ac_func innocuous_$ac_func
79775 /* System header to define __stub macros and hopefully few prototypes,
79776 which can conflict with char $ac_func (); below.
79777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79778 <limits.h> exists even on freestanding compilers. */
79780 #ifdef __STDC__
79781 # include <limits.h>
79782 #else
79783 # include <assert.h>
79784 #endif
79786 #undef $ac_func
79788 /* Override any gcc2 internal prototype to avoid an error. */
79789 #ifdef __cplusplus
79790 extern "C"
79792 #endif
79793 /* We use char because int might match the return type of a gcc2
79794 builtin and then its argument prototype would still apply. */
79795 char $ac_func ();
79796 /* The GNU C library defines this for functions which it implements
79797 to always fail with ENOSYS. Some functions are actually named
79798 something starting with __ and the normal name is an alias. */
79799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79800 choke me
79801 #else
79802 char (*f) () = $ac_func;
79803 #endif
79804 #ifdef __cplusplus
79806 #endif
79809 main ()
79811 return f != $ac_func;
79813 return 0;
79815 _ACEOF
79816 rm -f conftest.$ac_objext conftest$ac_exeext
79817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79818 (eval $ac_link) 2>conftest.er1
79819 ac_status=$?
79820 grep -v '^ *+' conftest.er1 >conftest.err
79821 rm -f conftest.er1
79822 cat conftest.err >&5
79823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79824 (exit $ac_status); } &&
79825 { ac_try='test -z "$ac_c_werror_flag"
79826 || test ! -s conftest.err'
79827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79828 (eval $ac_try) 2>&5
79829 ac_status=$?
79830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79831 (exit $ac_status); }; } &&
79832 { ac_try='test -s conftest$ac_exeext'
79833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79834 (eval $ac_try) 2>&5
79835 ac_status=$?
79836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79837 (exit $ac_status); }; }; then
79838 eval "$as_ac_var=yes"
79839 else
79840 echo "$as_me: failed program was:" >&5
79841 sed 's/^/| /' conftest.$ac_ext >&5
79843 eval "$as_ac_var=no"
79845 rm -f conftest.err conftest.$ac_objext \
79846 conftest$ac_exeext conftest.$ac_ext
79848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79850 if test `eval echo '${'$as_ac_var'}'` = yes; then
79851 cat >>confdefs.h <<_ACEOF
79852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79853 _ACEOF
79856 done
79858 else
79860 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79861 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79862 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79863 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79864 echo $ECHO_N "(cached) $ECHO_C" >&6
79865 else
79869 ac_ext=cc
79870 ac_cpp='$CXXCPP $CPPFLAGS'
79871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79875 cat >conftest.$ac_ext <<_ACEOF
79876 /* confdefs.h. */
79877 _ACEOF
79878 cat confdefs.h >>conftest.$ac_ext
79879 cat >>conftest.$ac_ext <<_ACEOF
79880 /* end confdefs.h. */
79881 #include <math.h>
79883 main ()
79885 _modfl(0, 0);
79887 return 0;
79889 _ACEOF
79890 rm -f conftest.$ac_objext
79891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79892 (eval $ac_compile) 2>conftest.er1
79893 ac_status=$?
79894 grep -v '^ *+' conftest.er1 >conftest.err
79895 rm -f conftest.er1
79896 cat conftest.err >&5
79897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79898 (exit $ac_status); } &&
79899 { ac_try='test -z "$ac_cxx_werror_flag"
79900 || test ! -s conftest.err'
79901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79902 (eval $ac_try) 2>&5
79903 ac_status=$?
79904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79905 (exit $ac_status); }; } &&
79906 { ac_try='test -s conftest.$ac_objext'
79907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79908 (eval $ac_try) 2>&5
79909 ac_status=$?
79910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79911 (exit $ac_status); }; }; then
79912 glibcxx_cv_func__modfl_use=yes
79913 else
79914 echo "$as_me: failed program was:" >&5
79915 sed 's/^/| /' conftest.$ac_ext >&5
79917 glibcxx_cv_func__modfl_use=no
79919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79920 ac_ext=c
79921 ac_cpp='$CPP $CPPFLAGS'
79922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79931 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79933 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79935 for ac_func in _modfl
79937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79938 echo "$as_me:$LINENO: checking for $ac_func" >&5
79939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79940 if eval "test \"\${$as_ac_var+set}\" = set"; then
79941 echo $ECHO_N "(cached) $ECHO_C" >&6
79942 else
79943 if test x$gcc_no_link = xyes; then
79944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79946 { (exit 1); exit 1; }; }
79948 cat >conftest.$ac_ext <<_ACEOF
79949 /* confdefs.h. */
79950 _ACEOF
79951 cat confdefs.h >>conftest.$ac_ext
79952 cat >>conftest.$ac_ext <<_ACEOF
79953 /* end confdefs.h. */
79954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79956 #define $ac_func innocuous_$ac_func
79958 /* System header to define __stub macros and hopefully few prototypes,
79959 which can conflict with char $ac_func (); below.
79960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79961 <limits.h> exists even on freestanding compilers. */
79963 #ifdef __STDC__
79964 # include <limits.h>
79965 #else
79966 # include <assert.h>
79967 #endif
79969 #undef $ac_func
79971 /* Override any gcc2 internal prototype to avoid an error. */
79972 #ifdef __cplusplus
79973 extern "C"
79975 #endif
79976 /* We use char because int might match the return type of a gcc2
79977 builtin and then its argument prototype would still apply. */
79978 char $ac_func ();
79979 /* The GNU C library defines this for functions which it implements
79980 to always fail with ENOSYS. Some functions are actually named
79981 something starting with __ and the normal name is an alias. */
79982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79983 choke me
79984 #else
79985 char (*f) () = $ac_func;
79986 #endif
79987 #ifdef __cplusplus
79989 #endif
79992 main ()
79994 return f != $ac_func;
79996 return 0;
79998 _ACEOF
79999 rm -f conftest.$ac_objext conftest$ac_exeext
80000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80001 (eval $ac_link) 2>conftest.er1
80002 ac_status=$?
80003 grep -v '^ *+' conftest.er1 >conftest.err
80004 rm -f conftest.er1
80005 cat conftest.err >&5
80006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80007 (exit $ac_status); } &&
80008 { ac_try='test -z "$ac_c_werror_flag"
80009 || test ! -s conftest.err'
80010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80011 (eval $ac_try) 2>&5
80012 ac_status=$?
80013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80014 (exit $ac_status); }; } &&
80015 { ac_try='test -s conftest$ac_exeext'
80016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80017 (eval $ac_try) 2>&5
80018 ac_status=$?
80019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020 (exit $ac_status); }; }; then
80021 eval "$as_ac_var=yes"
80022 else
80023 echo "$as_me: failed program was:" >&5
80024 sed 's/^/| /' conftest.$ac_ext >&5
80026 eval "$as_ac_var=no"
80028 rm -f conftest.err conftest.$ac_objext \
80029 conftest$ac_exeext conftest.$ac_ext
80031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80033 if test `eval echo '${'$as_ac_var'}'` = yes; then
80034 cat >>confdefs.h <<_ACEOF
80035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80036 _ACEOF
80039 done
80049 echo "$as_me:$LINENO: checking for powl declaration" >&5
80050 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80051 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80052 if test "${glibcxx_cv_func_powl_use+set}" = set; then
80053 echo $ECHO_N "(cached) $ECHO_C" >&6
80054 else
80058 ac_ext=cc
80059 ac_cpp='$CXXCPP $CPPFLAGS'
80060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80064 cat >conftest.$ac_ext <<_ACEOF
80065 /* confdefs.h. */
80066 _ACEOF
80067 cat confdefs.h >>conftest.$ac_ext
80068 cat >>conftest.$ac_ext <<_ACEOF
80069 /* end confdefs.h. */
80070 #include <math.h>
80072 main ()
80074 powl(0, 0);
80076 return 0;
80078 _ACEOF
80079 rm -f conftest.$ac_objext
80080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80081 (eval $ac_compile) 2>conftest.er1
80082 ac_status=$?
80083 grep -v '^ *+' conftest.er1 >conftest.err
80084 rm -f conftest.er1
80085 cat conftest.err >&5
80086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80087 (exit $ac_status); } &&
80088 { ac_try='test -z "$ac_cxx_werror_flag"
80089 || test ! -s conftest.err'
80090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80091 (eval $ac_try) 2>&5
80092 ac_status=$?
80093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80094 (exit $ac_status); }; } &&
80095 { ac_try='test -s conftest.$ac_objext'
80096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80097 (eval $ac_try) 2>&5
80098 ac_status=$?
80099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80100 (exit $ac_status); }; }; then
80101 glibcxx_cv_func_powl_use=yes
80102 else
80103 echo "$as_me: failed program was:" >&5
80104 sed 's/^/| /' conftest.$ac_ext >&5
80106 glibcxx_cv_func_powl_use=no
80108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80109 ac_ext=c
80110 ac_cpp='$CPP $CPPFLAGS'
80111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80120 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80122 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80124 for ac_func in powl
80126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80127 echo "$as_me:$LINENO: checking for $ac_func" >&5
80128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80129 if eval "test \"\${$as_ac_var+set}\" = set"; then
80130 echo $ECHO_N "(cached) $ECHO_C" >&6
80131 else
80132 if test x$gcc_no_link = xyes; then
80133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80135 { (exit 1); exit 1; }; }
80137 cat >conftest.$ac_ext <<_ACEOF
80138 /* confdefs.h. */
80139 _ACEOF
80140 cat confdefs.h >>conftest.$ac_ext
80141 cat >>conftest.$ac_ext <<_ACEOF
80142 /* end confdefs.h. */
80143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80145 #define $ac_func innocuous_$ac_func
80147 /* System header to define __stub macros and hopefully few prototypes,
80148 which can conflict with char $ac_func (); below.
80149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80150 <limits.h> exists even on freestanding compilers. */
80152 #ifdef __STDC__
80153 # include <limits.h>
80154 #else
80155 # include <assert.h>
80156 #endif
80158 #undef $ac_func
80160 /* Override any gcc2 internal prototype to avoid an error. */
80161 #ifdef __cplusplus
80162 extern "C"
80164 #endif
80165 /* We use char because int might match the return type of a gcc2
80166 builtin and then its argument prototype would still apply. */
80167 char $ac_func ();
80168 /* The GNU C library defines this for functions which it implements
80169 to always fail with ENOSYS. Some functions are actually named
80170 something starting with __ and the normal name is an alias. */
80171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80172 choke me
80173 #else
80174 char (*f) () = $ac_func;
80175 #endif
80176 #ifdef __cplusplus
80178 #endif
80181 main ()
80183 return f != $ac_func;
80185 return 0;
80187 _ACEOF
80188 rm -f conftest.$ac_objext conftest$ac_exeext
80189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80190 (eval $ac_link) 2>conftest.er1
80191 ac_status=$?
80192 grep -v '^ *+' conftest.er1 >conftest.err
80193 rm -f conftest.er1
80194 cat conftest.err >&5
80195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80196 (exit $ac_status); } &&
80197 { ac_try='test -z "$ac_c_werror_flag"
80198 || test ! -s conftest.err'
80199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80200 (eval $ac_try) 2>&5
80201 ac_status=$?
80202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80203 (exit $ac_status); }; } &&
80204 { ac_try='test -s conftest$ac_exeext'
80205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80206 (eval $ac_try) 2>&5
80207 ac_status=$?
80208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80209 (exit $ac_status); }; }; then
80210 eval "$as_ac_var=yes"
80211 else
80212 echo "$as_me: failed program was:" >&5
80213 sed 's/^/| /' conftest.$ac_ext >&5
80215 eval "$as_ac_var=no"
80217 rm -f conftest.err conftest.$ac_objext \
80218 conftest$ac_exeext conftest.$ac_ext
80220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80222 if test `eval echo '${'$as_ac_var'}'` = yes; then
80223 cat >>confdefs.h <<_ACEOF
80224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80225 _ACEOF
80228 done
80230 else
80232 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80233 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80234 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80235 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80236 echo $ECHO_N "(cached) $ECHO_C" >&6
80237 else
80241 ac_ext=cc
80242 ac_cpp='$CXXCPP $CPPFLAGS'
80243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80247 cat >conftest.$ac_ext <<_ACEOF
80248 /* confdefs.h. */
80249 _ACEOF
80250 cat confdefs.h >>conftest.$ac_ext
80251 cat >>conftest.$ac_ext <<_ACEOF
80252 /* end confdefs.h. */
80253 #include <math.h>
80255 main ()
80257 _powl(0, 0);
80259 return 0;
80261 _ACEOF
80262 rm -f conftest.$ac_objext
80263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80264 (eval $ac_compile) 2>conftest.er1
80265 ac_status=$?
80266 grep -v '^ *+' conftest.er1 >conftest.err
80267 rm -f conftest.er1
80268 cat conftest.err >&5
80269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80270 (exit $ac_status); } &&
80271 { ac_try='test -z "$ac_cxx_werror_flag"
80272 || test ! -s conftest.err'
80273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80274 (eval $ac_try) 2>&5
80275 ac_status=$?
80276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80277 (exit $ac_status); }; } &&
80278 { ac_try='test -s conftest.$ac_objext'
80279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80280 (eval $ac_try) 2>&5
80281 ac_status=$?
80282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80283 (exit $ac_status); }; }; then
80284 glibcxx_cv_func__powl_use=yes
80285 else
80286 echo "$as_me: failed program was:" >&5
80287 sed 's/^/| /' conftest.$ac_ext >&5
80289 glibcxx_cv_func__powl_use=no
80291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80292 ac_ext=c
80293 ac_cpp='$CPP $CPPFLAGS'
80294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80303 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80305 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80307 for ac_func in _powl
80309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80310 echo "$as_me:$LINENO: checking for $ac_func" >&5
80311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80312 if eval "test \"\${$as_ac_var+set}\" = set"; then
80313 echo $ECHO_N "(cached) $ECHO_C" >&6
80314 else
80315 if test x$gcc_no_link = xyes; then
80316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80318 { (exit 1); exit 1; }; }
80320 cat >conftest.$ac_ext <<_ACEOF
80321 /* confdefs.h. */
80322 _ACEOF
80323 cat confdefs.h >>conftest.$ac_ext
80324 cat >>conftest.$ac_ext <<_ACEOF
80325 /* end confdefs.h. */
80326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80328 #define $ac_func innocuous_$ac_func
80330 /* System header to define __stub macros and hopefully few prototypes,
80331 which can conflict with char $ac_func (); below.
80332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80333 <limits.h> exists even on freestanding compilers. */
80335 #ifdef __STDC__
80336 # include <limits.h>
80337 #else
80338 # include <assert.h>
80339 #endif
80341 #undef $ac_func
80343 /* Override any gcc2 internal prototype to avoid an error. */
80344 #ifdef __cplusplus
80345 extern "C"
80347 #endif
80348 /* We use char because int might match the return type of a gcc2
80349 builtin and then its argument prototype would still apply. */
80350 char $ac_func ();
80351 /* The GNU C library defines this for functions which it implements
80352 to always fail with ENOSYS. Some functions are actually named
80353 something starting with __ and the normal name is an alias. */
80354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80355 choke me
80356 #else
80357 char (*f) () = $ac_func;
80358 #endif
80359 #ifdef __cplusplus
80361 #endif
80364 main ()
80366 return f != $ac_func;
80368 return 0;
80370 _ACEOF
80371 rm -f conftest.$ac_objext conftest$ac_exeext
80372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80373 (eval $ac_link) 2>conftest.er1
80374 ac_status=$?
80375 grep -v '^ *+' conftest.er1 >conftest.err
80376 rm -f conftest.er1
80377 cat conftest.err >&5
80378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80379 (exit $ac_status); } &&
80380 { ac_try='test -z "$ac_c_werror_flag"
80381 || test ! -s conftest.err'
80382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80383 (eval $ac_try) 2>&5
80384 ac_status=$?
80385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80386 (exit $ac_status); }; } &&
80387 { ac_try='test -s conftest$ac_exeext'
80388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80389 (eval $ac_try) 2>&5
80390 ac_status=$?
80391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80392 (exit $ac_status); }; }; then
80393 eval "$as_ac_var=yes"
80394 else
80395 echo "$as_me: failed program was:" >&5
80396 sed 's/^/| /' conftest.$ac_ext >&5
80398 eval "$as_ac_var=no"
80400 rm -f conftest.err conftest.$ac_objext \
80401 conftest$ac_exeext conftest.$ac_ext
80403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80405 if test `eval echo '${'$as_ac_var'}'` = yes; then
80406 cat >>confdefs.h <<_ACEOF
80407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80408 _ACEOF
80411 done
80421 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80422 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80423 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80424 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80425 echo $ECHO_N "(cached) $ECHO_C" >&6
80426 else
80430 ac_ext=cc
80431 ac_cpp='$CXXCPP $CPPFLAGS'
80432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80436 cat >conftest.$ac_ext <<_ACEOF
80437 /* confdefs.h. */
80438 _ACEOF
80439 cat confdefs.h >>conftest.$ac_ext
80440 cat >>conftest.$ac_ext <<_ACEOF
80441 /* end confdefs.h. */
80442 #include <math.h>
80443 #ifdef HAVE_IEEEFP_H
80444 #include <ieeefp.h>
80445 #endif
80448 main ()
80450 sqrtl(0);
80452 return 0;
80454 _ACEOF
80455 rm -f conftest.$ac_objext
80456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80457 (eval $ac_compile) 2>conftest.er1
80458 ac_status=$?
80459 grep -v '^ *+' conftest.er1 >conftest.err
80460 rm -f conftest.er1
80461 cat conftest.err >&5
80462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80463 (exit $ac_status); } &&
80464 { ac_try='test -z "$ac_cxx_werror_flag"
80465 || test ! -s conftest.err'
80466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80467 (eval $ac_try) 2>&5
80468 ac_status=$?
80469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80470 (exit $ac_status); }; } &&
80471 { ac_try='test -s conftest.$ac_objext'
80472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80473 (eval $ac_try) 2>&5
80474 ac_status=$?
80475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80476 (exit $ac_status); }; }; then
80477 glibcxx_cv_func_sqrtl_use=yes
80478 else
80479 echo "$as_me: failed program was:" >&5
80480 sed 's/^/| /' conftest.$ac_ext >&5
80482 glibcxx_cv_func_sqrtl_use=no
80484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80485 ac_ext=c
80486 ac_cpp='$CPP $CPPFLAGS'
80487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80496 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80498 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80500 for ac_func in sqrtl
80502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80503 echo "$as_me:$LINENO: checking for $ac_func" >&5
80504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80505 if eval "test \"\${$as_ac_var+set}\" = set"; then
80506 echo $ECHO_N "(cached) $ECHO_C" >&6
80507 else
80508 if test x$gcc_no_link = xyes; then
80509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80511 { (exit 1); exit 1; }; }
80513 cat >conftest.$ac_ext <<_ACEOF
80514 /* confdefs.h. */
80515 _ACEOF
80516 cat confdefs.h >>conftest.$ac_ext
80517 cat >>conftest.$ac_ext <<_ACEOF
80518 /* end confdefs.h. */
80519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80521 #define $ac_func innocuous_$ac_func
80523 /* System header to define __stub macros and hopefully few prototypes,
80524 which can conflict with char $ac_func (); below.
80525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80526 <limits.h> exists even on freestanding compilers. */
80528 #ifdef __STDC__
80529 # include <limits.h>
80530 #else
80531 # include <assert.h>
80532 #endif
80534 #undef $ac_func
80536 /* Override any gcc2 internal prototype to avoid an error. */
80537 #ifdef __cplusplus
80538 extern "C"
80540 #endif
80541 /* We use char because int might match the return type of a gcc2
80542 builtin and then its argument prototype would still apply. */
80543 char $ac_func ();
80544 /* The GNU C library defines this for functions which it implements
80545 to always fail with ENOSYS. Some functions are actually named
80546 something starting with __ and the normal name is an alias. */
80547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80548 choke me
80549 #else
80550 char (*f) () = $ac_func;
80551 #endif
80552 #ifdef __cplusplus
80554 #endif
80557 main ()
80559 return f != $ac_func;
80561 return 0;
80563 _ACEOF
80564 rm -f conftest.$ac_objext conftest$ac_exeext
80565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80566 (eval $ac_link) 2>conftest.er1
80567 ac_status=$?
80568 grep -v '^ *+' conftest.er1 >conftest.err
80569 rm -f conftest.er1
80570 cat conftest.err >&5
80571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80572 (exit $ac_status); } &&
80573 { ac_try='test -z "$ac_c_werror_flag"
80574 || test ! -s conftest.err'
80575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80576 (eval $ac_try) 2>&5
80577 ac_status=$?
80578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80579 (exit $ac_status); }; } &&
80580 { ac_try='test -s conftest$ac_exeext'
80581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80582 (eval $ac_try) 2>&5
80583 ac_status=$?
80584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80585 (exit $ac_status); }; }; then
80586 eval "$as_ac_var=yes"
80587 else
80588 echo "$as_me: failed program was:" >&5
80589 sed 's/^/| /' conftest.$ac_ext >&5
80591 eval "$as_ac_var=no"
80593 rm -f conftest.err conftest.$ac_objext \
80594 conftest$ac_exeext conftest.$ac_ext
80596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80598 if test `eval echo '${'$as_ac_var'}'` = yes; then
80599 cat >>confdefs.h <<_ACEOF
80600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80601 _ACEOF
80604 done
80606 else
80608 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80609 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80610 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80611 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80612 echo $ECHO_N "(cached) $ECHO_C" >&6
80613 else
80617 ac_ext=cc
80618 ac_cpp='$CXXCPP $CPPFLAGS'
80619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80623 cat >conftest.$ac_ext <<_ACEOF
80624 /* confdefs.h. */
80625 _ACEOF
80626 cat confdefs.h >>conftest.$ac_ext
80627 cat >>conftest.$ac_ext <<_ACEOF
80628 /* end confdefs.h. */
80629 #include <math.h>
80630 #ifdef HAVE_IEEEFP_H
80631 #include <ieeefp.h>
80632 #endif
80635 main ()
80637 _sqrtl(0);
80639 return 0;
80641 _ACEOF
80642 rm -f conftest.$ac_objext
80643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80644 (eval $ac_compile) 2>conftest.er1
80645 ac_status=$?
80646 grep -v '^ *+' conftest.er1 >conftest.err
80647 rm -f conftest.er1
80648 cat conftest.err >&5
80649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80650 (exit $ac_status); } &&
80651 { ac_try='test -z "$ac_cxx_werror_flag"
80652 || test ! -s conftest.err'
80653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80654 (eval $ac_try) 2>&5
80655 ac_status=$?
80656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80657 (exit $ac_status); }; } &&
80658 { ac_try='test -s conftest.$ac_objext'
80659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80660 (eval $ac_try) 2>&5
80661 ac_status=$?
80662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80663 (exit $ac_status); }; }; then
80664 glibcxx_cv_func__sqrtl_use=yes
80665 else
80666 echo "$as_me: failed program was:" >&5
80667 sed 's/^/| /' conftest.$ac_ext >&5
80669 glibcxx_cv_func__sqrtl_use=no
80671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80672 ac_ext=c
80673 ac_cpp='$CPP $CPPFLAGS'
80674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80683 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80685 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80687 for ac_func in _sqrtl
80689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80690 echo "$as_me:$LINENO: checking for $ac_func" >&5
80691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80692 if eval "test \"\${$as_ac_var+set}\" = set"; then
80693 echo $ECHO_N "(cached) $ECHO_C" >&6
80694 else
80695 if test x$gcc_no_link = xyes; then
80696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80698 { (exit 1); exit 1; }; }
80700 cat >conftest.$ac_ext <<_ACEOF
80701 /* confdefs.h. */
80702 _ACEOF
80703 cat confdefs.h >>conftest.$ac_ext
80704 cat >>conftest.$ac_ext <<_ACEOF
80705 /* end confdefs.h. */
80706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80708 #define $ac_func innocuous_$ac_func
80710 /* System header to define __stub macros and hopefully few prototypes,
80711 which can conflict with char $ac_func (); below.
80712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80713 <limits.h> exists even on freestanding compilers. */
80715 #ifdef __STDC__
80716 # include <limits.h>
80717 #else
80718 # include <assert.h>
80719 #endif
80721 #undef $ac_func
80723 /* Override any gcc2 internal prototype to avoid an error. */
80724 #ifdef __cplusplus
80725 extern "C"
80727 #endif
80728 /* We use char because int might match the return type of a gcc2
80729 builtin and then its argument prototype would still apply. */
80730 char $ac_func ();
80731 /* The GNU C library defines this for functions which it implements
80732 to always fail with ENOSYS. Some functions are actually named
80733 something starting with __ and the normal name is an alias. */
80734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80735 choke me
80736 #else
80737 char (*f) () = $ac_func;
80738 #endif
80739 #ifdef __cplusplus
80741 #endif
80744 main ()
80746 return f != $ac_func;
80748 return 0;
80750 _ACEOF
80751 rm -f conftest.$ac_objext conftest$ac_exeext
80752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80753 (eval $ac_link) 2>conftest.er1
80754 ac_status=$?
80755 grep -v '^ *+' conftest.er1 >conftest.err
80756 rm -f conftest.er1
80757 cat conftest.err >&5
80758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80759 (exit $ac_status); } &&
80760 { ac_try='test -z "$ac_c_werror_flag"
80761 || test ! -s conftest.err'
80762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80763 (eval $ac_try) 2>&5
80764 ac_status=$?
80765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80766 (exit $ac_status); }; } &&
80767 { ac_try='test -s conftest$ac_exeext'
80768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80769 (eval $ac_try) 2>&5
80770 ac_status=$?
80771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80772 (exit $ac_status); }; }; then
80773 eval "$as_ac_var=yes"
80774 else
80775 echo "$as_me: failed program was:" >&5
80776 sed 's/^/| /' conftest.$ac_ext >&5
80778 eval "$as_ac_var=no"
80780 rm -f conftest.err conftest.$ac_objext \
80781 conftest$ac_exeext conftest.$ac_ext
80783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80785 if test `eval echo '${'$as_ac_var'}'` = yes; then
80786 cat >>confdefs.h <<_ACEOF
80787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80788 _ACEOF
80791 done
80801 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80802 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80803 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80804 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80805 echo $ECHO_N "(cached) $ECHO_C" >&6
80806 else
80810 ac_ext=cc
80811 ac_cpp='$CXXCPP $CPPFLAGS'
80812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80816 cat >conftest.$ac_ext <<_ACEOF
80817 /* confdefs.h. */
80818 _ACEOF
80819 cat confdefs.h >>conftest.$ac_ext
80820 cat >>conftest.$ac_ext <<_ACEOF
80821 /* end confdefs.h. */
80822 #include <math.h>
80824 main ()
80826 sincosl(0, 0, 0);
80828 return 0;
80830 _ACEOF
80831 rm -f conftest.$ac_objext
80832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80833 (eval $ac_compile) 2>conftest.er1
80834 ac_status=$?
80835 grep -v '^ *+' conftest.er1 >conftest.err
80836 rm -f conftest.er1
80837 cat conftest.err >&5
80838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80839 (exit $ac_status); } &&
80840 { ac_try='test -z "$ac_cxx_werror_flag"
80841 || test ! -s conftest.err'
80842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80843 (eval $ac_try) 2>&5
80844 ac_status=$?
80845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80846 (exit $ac_status); }; } &&
80847 { ac_try='test -s conftest.$ac_objext'
80848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80849 (eval $ac_try) 2>&5
80850 ac_status=$?
80851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80852 (exit $ac_status); }; }; then
80853 glibcxx_cv_func_sincosl_use=yes
80854 else
80855 echo "$as_me: failed program was:" >&5
80856 sed 's/^/| /' conftest.$ac_ext >&5
80858 glibcxx_cv_func_sincosl_use=no
80860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80861 ac_ext=c
80862 ac_cpp='$CPP $CPPFLAGS'
80863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80872 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80874 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80876 for ac_func in sincosl
80878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80879 echo "$as_me:$LINENO: checking for $ac_func" >&5
80880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80881 if eval "test \"\${$as_ac_var+set}\" = set"; then
80882 echo $ECHO_N "(cached) $ECHO_C" >&6
80883 else
80884 if test x$gcc_no_link = xyes; then
80885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80887 { (exit 1); exit 1; }; }
80889 cat >conftest.$ac_ext <<_ACEOF
80890 /* confdefs.h. */
80891 _ACEOF
80892 cat confdefs.h >>conftest.$ac_ext
80893 cat >>conftest.$ac_ext <<_ACEOF
80894 /* end confdefs.h. */
80895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80897 #define $ac_func innocuous_$ac_func
80899 /* System header to define __stub macros and hopefully few prototypes,
80900 which can conflict with char $ac_func (); below.
80901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80902 <limits.h> exists even on freestanding compilers. */
80904 #ifdef __STDC__
80905 # include <limits.h>
80906 #else
80907 # include <assert.h>
80908 #endif
80910 #undef $ac_func
80912 /* Override any gcc2 internal prototype to avoid an error. */
80913 #ifdef __cplusplus
80914 extern "C"
80916 #endif
80917 /* We use char because int might match the return type of a gcc2
80918 builtin and then its argument prototype would still apply. */
80919 char $ac_func ();
80920 /* The GNU C library defines this for functions which it implements
80921 to always fail with ENOSYS. Some functions are actually named
80922 something starting with __ and the normal name is an alias. */
80923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80924 choke me
80925 #else
80926 char (*f) () = $ac_func;
80927 #endif
80928 #ifdef __cplusplus
80930 #endif
80933 main ()
80935 return f != $ac_func;
80937 return 0;
80939 _ACEOF
80940 rm -f conftest.$ac_objext conftest$ac_exeext
80941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80942 (eval $ac_link) 2>conftest.er1
80943 ac_status=$?
80944 grep -v '^ *+' conftest.er1 >conftest.err
80945 rm -f conftest.er1
80946 cat conftest.err >&5
80947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80948 (exit $ac_status); } &&
80949 { ac_try='test -z "$ac_c_werror_flag"
80950 || test ! -s conftest.err'
80951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80952 (eval $ac_try) 2>&5
80953 ac_status=$?
80954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80955 (exit $ac_status); }; } &&
80956 { ac_try='test -s conftest$ac_exeext'
80957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80958 (eval $ac_try) 2>&5
80959 ac_status=$?
80960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80961 (exit $ac_status); }; }; then
80962 eval "$as_ac_var=yes"
80963 else
80964 echo "$as_me: failed program was:" >&5
80965 sed 's/^/| /' conftest.$ac_ext >&5
80967 eval "$as_ac_var=no"
80969 rm -f conftest.err conftest.$ac_objext \
80970 conftest$ac_exeext conftest.$ac_ext
80972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80974 if test `eval echo '${'$as_ac_var'}'` = yes; then
80975 cat >>confdefs.h <<_ACEOF
80976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80977 _ACEOF
80980 done
80982 else
80984 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80985 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80986 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80987 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80988 echo $ECHO_N "(cached) $ECHO_C" >&6
80989 else
80993 ac_ext=cc
80994 ac_cpp='$CXXCPP $CPPFLAGS'
80995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80999 cat >conftest.$ac_ext <<_ACEOF
81000 /* confdefs.h. */
81001 _ACEOF
81002 cat confdefs.h >>conftest.$ac_ext
81003 cat >>conftest.$ac_ext <<_ACEOF
81004 /* end confdefs.h. */
81005 #include <math.h>
81007 main ()
81009 _sincosl(0, 0, 0);
81011 return 0;
81013 _ACEOF
81014 rm -f conftest.$ac_objext
81015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81016 (eval $ac_compile) 2>conftest.er1
81017 ac_status=$?
81018 grep -v '^ *+' conftest.er1 >conftest.err
81019 rm -f conftest.er1
81020 cat conftest.err >&5
81021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81022 (exit $ac_status); } &&
81023 { ac_try='test -z "$ac_cxx_werror_flag"
81024 || test ! -s conftest.err'
81025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81026 (eval $ac_try) 2>&5
81027 ac_status=$?
81028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029 (exit $ac_status); }; } &&
81030 { ac_try='test -s conftest.$ac_objext'
81031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81032 (eval $ac_try) 2>&5
81033 ac_status=$?
81034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81035 (exit $ac_status); }; }; then
81036 glibcxx_cv_func__sincosl_use=yes
81037 else
81038 echo "$as_me: failed program was:" >&5
81039 sed 's/^/| /' conftest.$ac_ext >&5
81041 glibcxx_cv_func__sincosl_use=no
81043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81044 ac_ext=c
81045 ac_cpp='$CPP $CPPFLAGS'
81046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81055 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81057 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81059 for ac_func in _sincosl
81061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81062 echo "$as_me:$LINENO: checking for $ac_func" >&5
81063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81064 if eval "test \"\${$as_ac_var+set}\" = set"; then
81065 echo $ECHO_N "(cached) $ECHO_C" >&6
81066 else
81067 if test x$gcc_no_link = xyes; then
81068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81070 { (exit 1); exit 1; }; }
81072 cat >conftest.$ac_ext <<_ACEOF
81073 /* confdefs.h. */
81074 _ACEOF
81075 cat confdefs.h >>conftest.$ac_ext
81076 cat >>conftest.$ac_ext <<_ACEOF
81077 /* end confdefs.h. */
81078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81080 #define $ac_func innocuous_$ac_func
81082 /* System header to define __stub macros and hopefully few prototypes,
81083 which can conflict with char $ac_func (); below.
81084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81085 <limits.h> exists even on freestanding compilers. */
81087 #ifdef __STDC__
81088 # include <limits.h>
81089 #else
81090 # include <assert.h>
81091 #endif
81093 #undef $ac_func
81095 /* Override any gcc2 internal prototype to avoid an error. */
81096 #ifdef __cplusplus
81097 extern "C"
81099 #endif
81100 /* We use char because int might match the return type of a gcc2
81101 builtin and then its argument prototype would still apply. */
81102 char $ac_func ();
81103 /* The GNU C library defines this for functions which it implements
81104 to always fail with ENOSYS. Some functions are actually named
81105 something starting with __ and the normal name is an alias. */
81106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81107 choke me
81108 #else
81109 char (*f) () = $ac_func;
81110 #endif
81111 #ifdef __cplusplus
81113 #endif
81116 main ()
81118 return f != $ac_func;
81120 return 0;
81122 _ACEOF
81123 rm -f conftest.$ac_objext conftest$ac_exeext
81124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81125 (eval $ac_link) 2>conftest.er1
81126 ac_status=$?
81127 grep -v '^ *+' conftest.er1 >conftest.err
81128 rm -f conftest.er1
81129 cat conftest.err >&5
81130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81131 (exit $ac_status); } &&
81132 { ac_try='test -z "$ac_c_werror_flag"
81133 || test ! -s conftest.err'
81134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81135 (eval $ac_try) 2>&5
81136 ac_status=$?
81137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81138 (exit $ac_status); }; } &&
81139 { ac_try='test -s conftest$ac_exeext'
81140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81141 (eval $ac_try) 2>&5
81142 ac_status=$?
81143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81144 (exit $ac_status); }; }; then
81145 eval "$as_ac_var=yes"
81146 else
81147 echo "$as_me: failed program was:" >&5
81148 sed 's/^/| /' conftest.$ac_ext >&5
81150 eval "$as_ac_var=no"
81152 rm -f conftest.err conftest.$ac_objext \
81153 conftest$ac_exeext conftest.$ac_ext
81155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81157 if test `eval echo '${'$as_ac_var'}'` = yes; then
81158 cat >>confdefs.h <<_ACEOF
81159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81160 _ACEOF
81163 done
81173 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81174 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81175 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81176 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81177 echo $ECHO_N "(cached) $ECHO_C" >&6
81178 else
81182 ac_ext=cc
81183 ac_cpp='$CXXCPP $CPPFLAGS'
81184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81188 cat >conftest.$ac_ext <<_ACEOF
81189 /* confdefs.h. */
81190 _ACEOF
81191 cat confdefs.h >>conftest.$ac_ext
81192 cat >>conftest.$ac_ext <<_ACEOF
81193 /* end confdefs.h. */
81194 #include <math.h>
81195 #ifdef HAVE_IEEEFP_H
81196 #include <ieeefp.h>
81197 #endif
81200 main ()
81202 finitel(0);
81204 return 0;
81206 _ACEOF
81207 rm -f conftest.$ac_objext
81208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81209 (eval $ac_compile) 2>conftest.er1
81210 ac_status=$?
81211 grep -v '^ *+' conftest.er1 >conftest.err
81212 rm -f conftest.er1
81213 cat conftest.err >&5
81214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81215 (exit $ac_status); } &&
81216 { ac_try='test -z "$ac_cxx_werror_flag"
81217 || test ! -s conftest.err'
81218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81219 (eval $ac_try) 2>&5
81220 ac_status=$?
81221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81222 (exit $ac_status); }; } &&
81223 { ac_try='test -s conftest.$ac_objext'
81224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81225 (eval $ac_try) 2>&5
81226 ac_status=$?
81227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81228 (exit $ac_status); }; }; then
81229 glibcxx_cv_func_finitel_use=yes
81230 else
81231 echo "$as_me: failed program was:" >&5
81232 sed 's/^/| /' conftest.$ac_ext >&5
81234 glibcxx_cv_func_finitel_use=no
81236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81237 ac_ext=c
81238 ac_cpp='$CPP $CPPFLAGS'
81239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81248 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81250 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81252 for ac_func in finitel
81254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81255 echo "$as_me:$LINENO: checking for $ac_func" >&5
81256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81257 if eval "test \"\${$as_ac_var+set}\" = set"; then
81258 echo $ECHO_N "(cached) $ECHO_C" >&6
81259 else
81260 if test x$gcc_no_link = xyes; then
81261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81263 { (exit 1); exit 1; }; }
81265 cat >conftest.$ac_ext <<_ACEOF
81266 /* confdefs.h. */
81267 _ACEOF
81268 cat confdefs.h >>conftest.$ac_ext
81269 cat >>conftest.$ac_ext <<_ACEOF
81270 /* end confdefs.h. */
81271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81273 #define $ac_func innocuous_$ac_func
81275 /* System header to define __stub macros and hopefully few prototypes,
81276 which can conflict with char $ac_func (); below.
81277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81278 <limits.h> exists even on freestanding compilers. */
81280 #ifdef __STDC__
81281 # include <limits.h>
81282 #else
81283 # include <assert.h>
81284 #endif
81286 #undef $ac_func
81288 /* Override any gcc2 internal prototype to avoid an error. */
81289 #ifdef __cplusplus
81290 extern "C"
81292 #endif
81293 /* We use char because int might match the return type of a gcc2
81294 builtin and then its argument prototype would still apply. */
81295 char $ac_func ();
81296 /* The GNU C library defines this for functions which it implements
81297 to always fail with ENOSYS. Some functions are actually named
81298 something starting with __ and the normal name is an alias. */
81299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81300 choke me
81301 #else
81302 char (*f) () = $ac_func;
81303 #endif
81304 #ifdef __cplusplus
81306 #endif
81309 main ()
81311 return f != $ac_func;
81313 return 0;
81315 _ACEOF
81316 rm -f conftest.$ac_objext conftest$ac_exeext
81317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81318 (eval $ac_link) 2>conftest.er1
81319 ac_status=$?
81320 grep -v '^ *+' conftest.er1 >conftest.err
81321 rm -f conftest.er1
81322 cat conftest.err >&5
81323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81324 (exit $ac_status); } &&
81325 { ac_try='test -z "$ac_c_werror_flag"
81326 || test ! -s conftest.err'
81327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81328 (eval $ac_try) 2>&5
81329 ac_status=$?
81330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81331 (exit $ac_status); }; } &&
81332 { ac_try='test -s conftest$ac_exeext'
81333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81334 (eval $ac_try) 2>&5
81335 ac_status=$?
81336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81337 (exit $ac_status); }; }; then
81338 eval "$as_ac_var=yes"
81339 else
81340 echo "$as_me: failed program was:" >&5
81341 sed 's/^/| /' conftest.$ac_ext >&5
81343 eval "$as_ac_var=no"
81345 rm -f conftest.err conftest.$ac_objext \
81346 conftest$ac_exeext conftest.$ac_ext
81348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81350 if test `eval echo '${'$as_ac_var'}'` = yes; then
81351 cat >>confdefs.h <<_ACEOF
81352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81353 _ACEOF
81356 done
81358 else
81360 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81361 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81362 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81363 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81364 echo $ECHO_N "(cached) $ECHO_C" >&6
81365 else
81369 ac_ext=cc
81370 ac_cpp='$CXXCPP $CPPFLAGS'
81371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81375 cat >conftest.$ac_ext <<_ACEOF
81376 /* confdefs.h. */
81377 _ACEOF
81378 cat confdefs.h >>conftest.$ac_ext
81379 cat >>conftest.$ac_ext <<_ACEOF
81380 /* end confdefs.h. */
81381 #include <math.h>
81382 #ifdef HAVE_IEEEFP_H
81383 #include <ieeefp.h>
81384 #endif
81387 main ()
81389 _finitel(0);
81391 return 0;
81393 _ACEOF
81394 rm -f conftest.$ac_objext
81395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81396 (eval $ac_compile) 2>conftest.er1
81397 ac_status=$?
81398 grep -v '^ *+' conftest.er1 >conftest.err
81399 rm -f conftest.er1
81400 cat conftest.err >&5
81401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81402 (exit $ac_status); } &&
81403 { ac_try='test -z "$ac_cxx_werror_flag"
81404 || test ! -s conftest.err'
81405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81406 (eval $ac_try) 2>&5
81407 ac_status=$?
81408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81409 (exit $ac_status); }; } &&
81410 { ac_try='test -s conftest.$ac_objext'
81411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81412 (eval $ac_try) 2>&5
81413 ac_status=$?
81414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81415 (exit $ac_status); }; }; then
81416 glibcxx_cv_func__finitel_use=yes
81417 else
81418 echo "$as_me: failed program was:" >&5
81419 sed 's/^/| /' conftest.$ac_ext >&5
81421 glibcxx_cv_func__finitel_use=no
81423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81424 ac_ext=c
81425 ac_cpp='$CPP $CPPFLAGS'
81426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81435 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81437 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81439 for ac_func in _finitel
81441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81442 echo "$as_me:$LINENO: checking for $ac_func" >&5
81443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81444 if eval "test \"\${$as_ac_var+set}\" = set"; then
81445 echo $ECHO_N "(cached) $ECHO_C" >&6
81446 else
81447 if test x$gcc_no_link = xyes; then
81448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81450 { (exit 1); exit 1; }; }
81452 cat >conftest.$ac_ext <<_ACEOF
81453 /* confdefs.h. */
81454 _ACEOF
81455 cat confdefs.h >>conftest.$ac_ext
81456 cat >>conftest.$ac_ext <<_ACEOF
81457 /* end confdefs.h. */
81458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81460 #define $ac_func innocuous_$ac_func
81462 /* System header to define __stub macros and hopefully few prototypes,
81463 which can conflict with char $ac_func (); below.
81464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81465 <limits.h> exists even on freestanding compilers. */
81467 #ifdef __STDC__
81468 # include <limits.h>
81469 #else
81470 # include <assert.h>
81471 #endif
81473 #undef $ac_func
81475 /* Override any gcc2 internal prototype to avoid an error. */
81476 #ifdef __cplusplus
81477 extern "C"
81479 #endif
81480 /* We use char because int might match the return type of a gcc2
81481 builtin and then its argument prototype would still apply. */
81482 char $ac_func ();
81483 /* The GNU C library defines this for functions which it implements
81484 to always fail with ENOSYS. Some functions are actually named
81485 something starting with __ and the normal name is an alias. */
81486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81487 choke me
81488 #else
81489 char (*f) () = $ac_func;
81490 #endif
81491 #ifdef __cplusplus
81493 #endif
81496 main ()
81498 return f != $ac_func;
81500 return 0;
81502 _ACEOF
81503 rm -f conftest.$ac_objext conftest$ac_exeext
81504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81505 (eval $ac_link) 2>conftest.er1
81506 ac_status=$?
81507 grep -v '^ *+' conftest.er1 >conftest.err
81508 rm -f conftest.er1
81509 cat conftest.err >&5
81510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81511 (exit $ac_status); } &&
81512 { ac_try='test -z "$ac_c_werror_flag"
81513 || test ! -s conftest.err'
81514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81515 (eval $ac_try) 2>&5
81516 ac_status=$?
81517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81518 (exit $ac_status); }; } &&
81519 { ac_try='test -s conftest$ac_exeext'
81520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81521 (eval $ac_try) 2>&5
81522 ac_status=$?
81523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81524 (exit $ac_status); }; }; then
81525 eval "$as_ac_var=yes"
81526 else
81527 echo "$as_me: failed program was:" >&5
81528 sed 's/^/| /' conftest.$ac_ext >&5
81530 eval "$as_ac_var=no"
81532 rm -f conftest.err conftest.$ac_objext \
81533 conftest$ac_exeext conftest.$ac_ext
81535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81537 if test `eval echo '${'$as_ac_var'}'` = yes; then
81538 cat >>confdefs.h <<_ACEOF
81539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81540 _ACEOF
81543 done
81552 LIBS="$ac_save_LIBS"
81553 CXXFLAGS="$ac_save_CXXFLAGS"
81557 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81558 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81559 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81560 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81561 echo $ECHO_N "(cached) $ECHO_C" >&6
81562 else
81566 ac_ext=cc
81567 ac_cpp='$CXXCPP $CPPFLAGS'
81568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81572 cat >conftest.$ac_ext <<_ACEOF
81573 /* confdefs.h. */
81574 _ACEOF
81575 cat confdefs.h >>conftest.$ac_ext
81576 cat >>conftest.$ac_ext <<_ACEOF
81577 /* end confdefs.h. */
81578 #include <math.h>
81580 main ()
81582 __builtin_abs(0);
81584 return 0;
81586 _ACEOF
81587 rm -f conftest.$ac_objext
81588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81589 (eval $ac_compile) 2>conftest.er1
81590 ac_status=$?
81591 grep -v '^ *+' conftest.er1 >conftest.err
81592 rm -f conftest.er1
81593 cat conftest.err >&5
81594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81595 (exit $ac_status); } &&
81596 { ac_try='test -z "$ac_cxx_werror_flag"
81597 || test ! -s conftest.err'
81598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81599 (eval $ac_try) 2>&5
81600 ac_status=$?
81601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81602 (exit $ac_status); }; } &&
81603 { ac_try='test -s conftest.$ac_objext'
81604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81605 (eval $ac_try) 2>&5
81606 ac_status=$?
81607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81608 (exit $ac_status); }; }; then
81609 glibcxx_cv_func___builtin_abs_use=yes
81610 else
81611 echo "$as_me: failed program was:" >&5
81612 sed 's/^/| /' conftest.$ac_ext >&5
81614 glibcxx_cv_func___builtin_abs_use=no
81616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81617 ac_ext=c
81618 ac_cpp='$CPP $CPPFLAGS'
81619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81627 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81628 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81629 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81630 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81631 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81632 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81633 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81634 echo $ECHO_N "(cached) $ECHO_C" >&6
81635 else
81637 if test x$gcc_no_link = xyes; then
81638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81640 { (exit 1); exit 1; }; }
81642 cat >conftest.$ac_ext <<_ACEOF
81643 /* confdefs.h. */
81644 _ACEOF
81645 cat confdefs.h >>conftest.$ac_ext
81646 cat >>conftest.$ac_ext <<_ACEOF
81647 /* end confdefs.h. */
81648 #include <math.h>
81650 main ()
81652 __builtin_abs(0);
81654 return 0;
81656 _ACEOF
81657 rm -f conftest.$ac_objext conftest$ac_exeext
81658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81659 (eval $ac_link) 2>conftest.er1
81660 ac_status=$?
81661 grep -v '^ *+' conftest.er1 >conftest.err
81662 rm -f conftest.er1
81663 cat conftest.err >&5
81664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81665 (exit $ac_status); } &&
81666 { ac_try='test -z "$ac_c_werror_flag"
81667 || test ! -s conftest.err'
81668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81669 (eval $ac_try) 2>&5
81670 ac_status=$?
81671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81672 (exit $ac_status); }; } &&
81673 { ac_try='test -s conftest$ac_exeext'
81674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81675 (eval $ac_try) 2>&5
81676 ac_status=$?
81677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678 (exit $ac_status); }; }; then
81679 glibcxx_cv_func___builtin_abs_link=yes
81680 else
81681 echo "$as_me: failed program was:" >&5
81682 sed 's/^/| /' conftest.$ac_ext >&5
81684 glibcxx_cv_func___builtin_abs_link=no
81686 rm -f conftest.err conftest.$ac_objext \
81687 conftest$ac_exeext conftest.$ac_ext
81692 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81693 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81695 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81697 cat >>confdefs.h <<\_ACEOF
81698 #define HAVE___BUILTIN_ABS 1
81699 _ACEOF
81706 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81707 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81708 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81709 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81710 echo $ECHO_N "(cached) $ECHO_C" >&6
81711 else
81715 ac_ext=cc
81716 ac_cpp='$CXXCPP $CPPFLAGS'
81717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81721 cat >conftest.$ac_ext <<_ACEOF
81722 /* confdefs.h. */
81723 _ACEOF
81724 cat confdefs.h >>conftest.$ac_ext
81725 cat >>conftest.$ac_ext <<_ACEOF
81726 /* end confdefs.h. */
81727 #include <math.h>
81729 main ()
81731 __builtin_fabsf(0);
81733 return 0;
81735 _ACEOF
81736 rm -f conftest.$ac_objext
81737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81738 (eval $ac_compile) 2>conftest.er1
81739 ac_status=$?
81740 grep -v '^ *+' conftest.er1 >conftest.err
81741 rm -f conftest.er1
81742 cat conftest.err >&5
81743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81744 (exit $ac_status); } &&
81745 { ac_try='test -z "$ac_cxx_werror_flag"
81746 || test ! -s conftest.err'
81747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81748 (eval $ac_try) 2>&5
81749 ac_status=$?
81750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81751 (exit $ac_status); }; } &&
81752 { ac_try='test -s conftest.$ac_objext'
81753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81754 (eval $ac_try) 2>&5
81755 ac_status=$?
81756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81757 (exit $ac_status); }; }; then
81758 glibcxx_cv_func___builtin_fabsf_use=yes
81759 else
81760 echo "$as_me: failed program was:" >&5
81761 sed 's/^/| /' conftest.$ac_ext >&5
81763 glibcxx_cv_func___builtin_fabsf_use=no
81765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81766 ac_ext=c
81767 ac_cpp='$CPP $CPPFLAGS'
81768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81777 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81778 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81779 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81780 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81781 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81782 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81783 echo $ECHO_N "(cached) $ECHO_C" >&6
81784 else
81786 if test x$gcc_no_link = xyes; then
81787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81789 { (exit 1); exit 1; }; }
81791 cat >conftest.$ac_ext <<_ACEOF
81792 /* confdefs.h. */
81793 _ACEOF
81794 cat confdefs.h >>conftest.$ac_ext
81795 cat >>conftest.$ac_ext <<_ACEOF
81796 /* end confdefs.h. */
81797 #include <math.h>
81799 main ()
81801 __builtin_fabsf(0);
81803 return 0;
81805 _ACEOF
81806 rm -f conftest.$ac_objext conftest$ac_exeext
81807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81808 (eval $ac_link) 2>conftest.er1
81809 ac_status=$?
81810 grep -v '^ *+' conftest.er1 >conftest.err
81811 rm -f conftest.er1
81812 cat conftest.err >&5
81813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81814 (exit $ac_status); } &&
81815 { ac_try='test -z "$ac_c_werror_flag"
81816 || test ! -s conftest.err'
81817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81818 (eval $ac_try) 2>&5
81819 ac_status=$?
81820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81821 (exit $ac_status); }; } &&
81822 { ac_try='test -s conftest$ac_exeext'
81823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81824 (eval $ac_try) 2>&5
81825 ac_status=$?
81826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81827 (exit $ac_status); }; }; then
81828 glibcxx_cv_func___builtin_fabsf_link=yes
81829 else
81830 echo "$as_me: failed program was:" >&5
81831 sed 's/^/| /' conftest.$ac_ext >&5
81833 glibcxx_cv_func___builtin_fabsf_link=no
81835 rm -f conftest.err conftest.$ac_objext \
81836 conftest$ac_exeext conftest.$ac_ext
81841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81842 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81844 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81846 cat >>confdefs.h <<\_ACEOF
81847 #define HAVE___BUILTIN_FABSF 1
81848 _ACEOF
81855 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81856 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81857 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81858 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81859 echo $ECHO_N "(cached) $ECHO_C" >&6
81860 else
81864 ac_ext=cc
81865 ac_cpp='$CXXCPP $CPPFLAGS'
81866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81870 cat >conftest.$ac_ext <<_ACEOF
81871 /* confdefs.h. */
81872 _ACEOF
81873 cat confdefs.h >>conftest.$ac_ext
81874 cat >>conftest.$ac_ext <<_ACEOF
81875 /* end confdefs.h. */
81876 #include <math.h>
81878 main ()
81880 __builtin_fabs(0);
81882 return 0;
81884 _ACEOF
81885 rm -f conftest.$ac_objext
81886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81887 (eval $ac_compile) 2>conftest.er1
81888 ac_status=$?
81889 grep -v '^ *+' conftest.er1 >conftest.err
81890 rm -f conftest.er1
81891 cat conftest.err >&5
81892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81893 (exit $ac_status); } &&
81894 { ac_try='test -z "$ac_cxx_werror_flag"
81895 || test ! -s conftest.err'
81896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81897 (eval $ac_try) 2>&5
81898 ac_status=$?
81899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81900 (exit $ac_status); }; } &&
81901 { ac_try='test -s conftest.$ac_objext'
81902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81903 (eval $ac_try) 2>&5
81904 ac_status=$?
81905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81906 (exit $ac_status); }; }; then
81907 glibcxx_cv_func___builtin_fabs_use=yes
81908 else
81909 echo "$as_me: failed program was:" >&5
81910 sed 's/^/| /' conftest.$ac_ext >&5
81912 glibcxx_cv_func___builtin_fabs_use=no
81914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81915 ac_ext=c
81916 ac_cpp='$CPP $CPPFLAGS'
81917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81925 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81926 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81927 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81928 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81929 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81930 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81931 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81932 echo $ECHO_N "(cached) $ECHO_C" >&6
81933 else
81935 if test x$gcc_no_link = xyes; then
81936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81938 { (exit 1); exit 1; }; }
81940 cat >conftest.$ac_ext <<_ACEOF
81941 /* confdefs.h. */
81942 _ACEOF
81943 cat confdefs.h >>conftest.$ac_ext
81944 cat >>conftest.$ac_ext <<_ACEOF
81945 /* end confdefs.h. */
81946 #include <math.h>
81948 main ()
81950 __builtin_fabs(0);
81952 return 0;
81954 _ACEOF
81955 rm -f conftest.$ac_objext conftest$ac_exeext
81956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81957 (eval $ac_link) 2>conftest.er1
81958 ac_status=$?
81959 grep -v '^ *+' conftest.er1 >conftest.err
81960 rm -f conftest.er1
81961 cat conftest.err >&5
81962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81963 (exit $ac_status); } &&
81964 { ac_try='test -z "$ac_c_werror_flag"
81965 || test ! -s conftest.err'
81966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81967 (eval $ac_try) 2>&5
81968 ac_status=$?
81969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81970 (exit $ac_status); }; } &&
81971 { ac_try='test -s conftest$ac_exeext'
81972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81973 (eval $ac_try) 2>&5
81974 ac_status=$?
81975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81976 (exit $ac_status); }; }; then
81977 glibcxx_cv_func___builtin_fabs_link=yes
81978 else
81979 echo "$as_me: failed program was:" >&5
81980 sed 's/^/| /' conftest.$ac_ext >&5
81982 glibcxx_cv_func___builtin_fabs_link=no
81984 rm -f conftest.err conftest.$ac_objext \
81985 conftest$ac_exeext conftest.$ac_ext
81990 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81991 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81993 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81995 cat >>confdefs.h <<\_ACEOF
81996 #define HAVE___BUILTIN_FABS 1
81997 _ACEOF
82004 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82005 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82006 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82007 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82008 echo $ECHO_N "(cached) $ECHO_C" >&6
82009 else
82013 ac_ext=cc
82014 ac_cpp='$CXXCPP $CPPFLAGS'
82015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82019 cat >conftest.$ac_ext <<_ACEOF
82020 /* confdefs.h. */
82021 _ACEOF
82022 cat confdefs.h >>conftest.$ac_ext
82023 cat >>conftest.$ac_ext <<_ACEOF
82024 /* end confdefs.h. */
82025 #include <math.h>
82027 main ()
82029 __builtin_fabsl(0);
82031 return 0;
82033 _ACEOF
82034 rm -f conftest.$ac_objext
82035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82036 (eval $ac_compile) 2>conftest.er1
82037 ac_status=$?
82038 grep -v '^ *+' conftest.er1 >conftest.err
82039 rm -f conftest.er1
82040 cat conftest.err >&5
82041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82042 (exit $ac_status); } &&
82043 { ac_try='test -z "$ac_cxx_werror_flag"
82044 || test ! -s conftest.err'
82045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82046 (eval $ac_try) 2>&5
82047 ac_status=$?
82048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82049 (exit $ac_status); }; } &&
82050 { ac_try='test -s conftest.$ac_objext'
82051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82052 (eval $ac_try) 2>&5
82053 ac_status=$?
82054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82055 (exit $ac_status); }; }; then
82056 glibcxx_cv_func___builtin_fabsl_use=yes
82057 else
82058 echo "$as_me: failed program was:" >&5
82059 sed 's/^/| /' conftest.$ac_ext >&5
82061 glibcxx_cv_func___builtin_fabsl_use=no
82063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82064 ac_ext=c
82065 ac_cpp='$CPP $CPPFLAGS'
82066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82074 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82075 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82076 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82077 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82078 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82079 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82080 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82081 echo $ECHO_N "(cached) $ECHO_C" >&6
82082 else
82084 if test x$gcc_no_link = xyes; then
82085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82087 { (exit 1); exit 1; }; }
82089 cat >conftest.$ac_ext <<_ACEOF
82090 /* confdefs.h. */
82091 _ACEOF
82092 cat confdefs.h >>conftest.$ac_ext
82093 cat >>conftest.$ac_ext <<_ACEOF
82094 /* end confdefs.h. */
82095 #include <math.h>
82097 main ()
82099 __builtin_fabsl(0);
82101 return 0;
82103 _ACEOF
82104 rm -f conftest.$ac_objext conftest$ac_exeext
82105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82106 (eval $ac_link) 2>conftest.er1
82107 ac_status=$?
82108 grep -v '^ *+' conftest.er1 >conftest.err
82109 rm -f conftest.er1
82110 cat conftest.err >&5
82111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82112 (exit $ac_status); } &&
82113 { ac_try='test -z "$ac_c_werror_flag"
82114 || test ! -s conftest.err'
82115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82116 (eval $ac_try) 2>&5
82117 ac_status=$?
82118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82119 (exit $ac_status); }; } &&
82120 { ac_try='test -s conftest$ac_exeext'
82121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82122 (eval $ac_try) 2>&5
82123 ac_status=$?
82124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82125 (exit $ac_status); }; }; then
82126 glibcxx_cv_func___builtin_fabsl_link=yes
82127 else
82128 echo "$as_me: failed program was:" >&5
82129 sed 's/^/| /' conftest.$ac_ext >&5
82131 glibcxx_cv_func___builtin_fabsl_link=no
82133 rm -f conftest.err conftest.$ac_objext \
82134 conftest$ac_exeext conftest.$ac_ext
82139 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82140 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82142 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82144 cat >>confdefs.h <<\_ACEOF
82145 #define HAVE___BUILTIN_FABSL 1
82146 _ACEOF
82153 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82154 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82155 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82156 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82157 echo $ECHO_N "(cached) $ECHO_C" >&6
82158 else
82162 ac_ext=cc
82163 ac_cpp='$CXXCPP $CPPFLAGS'
82164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82168 cat >conftest.$ac_ext <<_ACEOF
82169 /* confdefs.h. */
82170 _ACEOF
82171 cat confdefs.h >>conftest.$ac_ext
82172 cat >>conftest.$ac_ext <<_ACEOF
82173 /* end confdefs.h. */
82174 #include <math.h>
82176 main ()
82178 __builtin_labs(0);
82180 return 0;
82182 _ACEOF
82183 rm -f conftest.$ac_objext
82184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82185 (eval $ac_compile) 2>conftest.er1
82186 ac_status=$?
82187 grep -v '^ *+' conftest.er1 >conftest.err
82188 rm -f conftest.er1
82189 cat conftest.err >&5
82190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82191 (exit $ac_status); } &&
82192 { ac_try='test -z "$ac_cxx_werror_flag"
82193 || test ! -s conftest.err'
82194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82195 (eval $ac_try) 2>&5
82196 ac_status=$?
82197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82198 (exit $ac_status); }; } &&
82199 { ac_try='test -s conftest.$ac_objext'
82200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82201 (eval $ac_try) 2>&5
82202 ac_status=$?
82203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82204 (exit $ac_status); }; }; then
82205 glibcxx_cv_func___builtin_labs_use=yes
82206 else
82207 echo "$as_me: failed program was:" >&5
82208 sed 's/^/| /' conftest.$ac_ext >&5
82210 glibcxx_cv_func___builtin_labs_use=no
82212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82213 ac_ext=c
82214 ac_cpp='$CPP $CPPFLAGS'
82215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82223 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82224 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82225 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82226 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82227 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82228 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82229 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82230 echo $ECHO_N "(cached) $ECHO_C" >&6
82231 else
82233 if test x$gcc_no_link = xyes; then
82234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82236 { (exit 1); exit 1; }; }
82238 cat >conftest.$ac_ext <<_ACEOF
82239 /* confdefs.h. */
82240 _ACEOF
82241 cat confdefs.h >>conftest.$ac_ext
82242 cat >>conftest.$ac_ext <<_ACEOF
82243 /* end confdefs.h. */
82244 #include <math.h>
82246 main ()
82248 __builtin_labs(0);
82250 return 0;
82252 _ACEOF
82253 rm -f conftest.$ac_objext conftest$ac_exeext
82254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82255 (eval $ac_link) 2>conftest.er1
82256 ac_status=$?
82257 grep -v '^ *+' conftest.er1 >conftest.err
82258 rm -f conftest.er1
82259 cat conftest.err >&5
82260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261 (exit $ac_status); } &&
82262 { ac_try='test -z "$ac_c_werror_flag"
82263 || test ! -s conftest.err'
82264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82265 (eval $ac_try) 2>&5
82266 ac_status=$?
82267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82268 (exit $ac_status); }; } &&
82269 { ac_try='test -s conftest$ac_exeext'
82270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82271 (eval $ac_try) 2>&5
82272 ac_status=$?
82273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82274 (exit $ac_status); }; }; then
82275 glibcxx_cv_func___builtin_labs_link=yes
82276 else
82277 echo "$as_me: failed program was:" >&5
82278 sed 's/^/| /' conftest.$ac_ext >&5
82280 glibcxx_cv_func___builtin_labs_link=no
82282 rm -f conftest.err conftest.$ac_objext \
82283 conftest$ac_exeext conftest.$ac_ext
82288 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82289 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82291 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82293 cat >>confdefs.h <<\_ACEOF
82294 #define HAVE___BUILTIN_LABS 1
82295 _ACEOF
82303 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82304 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82305 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82306 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82307 echo $ECHO_N "(cached) $ECHO_C" >&6
82308 else
82312 ac_ext=cc
82313 ac_cpp='$CXXCPP $CPPFLAGS'
82314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82318 cat >conftest.$ac_ext <<_ACEOF
82319 /* confdefs.h. */
82320 _ACEOF
82321 cat confdefs.h >>conftest.$ac_ext
82322 cat >>conftest.$ac_ext <<_ACEOF
82323 /* end confdefs.h. */
82324 #include <math.h>
82326 main ()
82328 __builtin_sqrtf(0);
82330 return 0;
82332 _ACEOF
82333 rm -f conftest.$ac_objext
82334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82335 (eval $ac_compile) 2>conftest.er1
82336 ac_status=$?
82337 grep -v '^ *+' conftest.er1 >conftest.err
82338 rm -f conftest.er1
82339 cat conftest.err >&5
82340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341 (exit $ac_status); } &&
82342 { ac_try='test -z "$ac_cxx_werror_flag"
82343 || test ! -s conftest.err'
82344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82345 (eval $ac_try) 2>&5
82346 ac_status=$?
82347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82348 (exit $ac_status); }; } &&
82349 { ac_try='test -s conftest.$ac_objext'
82350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82351 (eval $ac_try) 2>&5
82352 ac_status=$?
82353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82354 (exit $ac_status); }; }; then
82355 glibcxx_cv_func___builtin_sqrtf_use=yes
82356 else
82357 echo "$as_me: failed program was:" >&5
82358 sed 's/^/| /' conftest.$ac_ext >&5
82360 glibcxx_cv_func___builtin_sqrtf_use=no
82362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82363 ac_ext=c
82364 ac_cpp='$CPP $CPPFLAGS'
82365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82373 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82374 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82375 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82376 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82377 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82378 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82379 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82380 echo $ECHO_N "(cached) $ECHO_C" >&6
82381 else
82383 if test x$gcc_no_link = xyes; then
82384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82386 { (exit 1); exit 1; }; }
82388 cat >conftest.$ac_ext <<_ACEOF
82389 /* confdefs.h. */
82390 _ACEOF
82391 cat confdefs.h >>conftest.$ac_ext
82392 cat >>conftest.$ac_ext <<_ACEOF
82393 /* end confdefs.h. */
82394 #include <math.h>
82396 main ()
82398 __builtin_sqrtf(0);
82400 return 0;
82402 _ACEOF
82403 rm -f conftest.$ac_objext conftest$ac_exeext
82404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82405 (eval $ac_link) 2>conftest.er1
82406 ac_status=$?
82407 grep -v '^ *+' conftest.er1 >conftest.err
82408 rm -f conftest.er1
82409 cat conftest.err >&5
82410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82411 (exit $ac_status); } &&
82412 { ac_try='test -z "$ac_c_werror_flag"
82413 || test ! -s conftest.err'
82414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82415 (eval $ac_try) 2>&5
82416 ac_status=$?
82417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82418 (exit $ac_status); }; } &&
82419 { ac_try='test -s conftest$ac_exeext'
82420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82421 (eval $ac_try) 2>&5
82422 ac_status=$?
82423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82424 (exit $ac_status); }; }; then
82425 glibcxx_cv_func___builtin_sqrtf_link=yes
82426 else
82427 echo "$as_me: failed program was:" >&5
82428 sed 's/^/| /' conftest.$ac_ext >&5
82430 glibcxx_cv_func___builtin_sqrtf_link=no
82432 rm -f conftest.err conftest.$ac_objext \
82433 conftest$ac_exeext conftest.$ac_ext
82438 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82439 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82441 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82443 cat >>confdefs.h <<\_ACEOF
82444 #define HAVE___BUILTIN_SQRTF 1
82445 _ACEOF
82452 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82453 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82454 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82455 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82456 echo $ECHO_N "(cached) $ECHO_C" >&6
82457 else
82461 ac_ext=cc
82462 ac_cpp='$CXXCPP $CPPFLAGS'
82463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82467 cat >conftest.$ac_ext <<_ACEOF
82468 /* confdefs.h. */
82469 _ACEOF
82470 cat confdefs.h >>conftest.$ac_ext
82471 cat >>conftest.$ac_ext <<_ACEOF
82472 /* end confdefs.h. */
82473 #include <math.h>
82475 main ()
82477 __builtin_sqrt(0);
82479 return 0;
82481 _ACEOF
82482 rm -f conftest.$ac_objext
82483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82484 (eval $ac_compile) 2>conftest.er1
82485 ac_status=$?
82486 grep -v '^ *+' conftest.er1 >conftest.err
82487 rm -f conftest.er1
82488 cat conftest.err >&5
82489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490 (exit $ac_status); } &&
82491 { ac_try='test -z "$ac_cxx_werror_flag"
82492 || test ! -s conftest.err'
82493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82494 (eval $ac_try) 2>&5
82495 ac_status=$?
82496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82497 (exit $ac_status); }; } &&
82498 { ac_try='test -s conftest.$ac_objext'
82499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82500 (eval $ac_try) 2>&5
82501 ac_status=$?
82502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82503 (exit $ac_status); }; }; then
82504 glibcxx_cv_func___builtin_sqrt_use=yes
82505 else
82506 echo "$as_me: failed program was:" >&5
82507 sed 's/^/| /' conftest.$ac_ext >&5
82509 glibcxx_cv_func___builtin_sqrt_use=no
82511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82512 ac_ext=c
82513 ac_cpp='$CPP $CPPFLAGS'
82514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82522 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82523 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82524 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82525 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82526 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82527 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82528 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82529 echo $ECHO_N "(cached) $ECHO_C" >&6
82530 else
82532 if test x$gcc_no_link = xyes; then
82533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82535 { (exit 1); exit 1; }; }
82537 cat >conftest.$ac_ext <<_ACEOF
82538 /* confdefs.h. */
82539 _ACEOF
82540 cat confdefs.h >>conftest.$ac_ext
82541 cat >>conftest.$ac_ext <<_ACEOF
82542 /* end confdefs.h. */
82543 #include <math.h>
82545 main ()
82547 __builtin_sqrt(0);
82549 return 0;
82551 _ACEOF
82552 rm -f conftest.$ac_objext conftest$ac_exeext
82553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82554 (eval $ac_link) 2>conftest.er1
82555 ac_status=$?
82556 grep -v '^ *+' conftest.er1 >conftest.err
82557 rm -f conftest.er1
82558 cat conftest.err >&5
82559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82560 (exit $ac_status); } &&
82561 { ac_try='test -z "$ac_c_werror_flag"
82562 || test ! -s conftest.err'
82563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82564 (eval $ac_try) 2>&5
82565 ac_status=$?
82566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82567 (exit $ac_status); }; } &&
82568 { ac_try='test -s conftest$ac_exeext'
82569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82570 (eval $ac_try) 2>&5
82571 ac_status=$?
82572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82573 (exit $ac_status); }; }; then
82574 glibcxx_cv_func___builtin_sqrt_link=yes
82575 else
82576 echo "$as_me: failed program was:" >&5
82577 sed 's/^/| /' conftest.$ac_ext >&5
82579 glibcxx_cv_func___builtin_sqrt_link=no
82581 rm -f conftest.err conftest.$ac_objext \
82582 conftest$ac_exeext conftest.$ac_ext
82587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82588 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82590 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82592 cat >>confdefs.h <<\_ACEOF
82593 #define HAVE___BUILTIN_SQRT 1
82594 _ACEOF
82601 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82602 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82603 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82604 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82605 echo $ECHO_N "(cached) $ECHO_C" >&6
82606 else
82610 ac_ext=cc
82611 ac_cpp='$CXXCPP $CPPFLAGS'
82612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82616 cat >conftest.$ac_ext <<_ACEOF
82617 /* confdefs.h. */
82618 _ACEOF
82619 cat confdefs.h >>conftest.$ac_ext
82620 cat >>conftest.$ac_ext <<_ACEOF
82621 /* end confdefs.h. */
82622 #include <math.h>
82624 main ()
82626 __builtin_sqrtl(0);
82628 return 0;
82630 _ACEOF
82631 rm -f conftest.$ac_objext
82632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82633 (eval $ac_compile) 2>conftest.er1
82634 ac_status=$?
82635 grep -v '^ *+' conftest.er1 >conftest.err
82636 rm -f conftest.er1
82637 cat conftest.err >&5
82638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82639 (exit $ac_status); } &&
82640 { ac_try='test -z "$ac_cxx_werror_flag"
82641 || test ! -s conftest.err'
82642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82643 (eval $ac_try) 2>&5
82644 ac_status=$?
82645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82646 (exit $ac_status); }; } &&
82647 { ac_try='test -s conftest.$ac_objext'
82648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82649 (eval $ac_try) 2>&5
82650 ac_status=$?
82651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82652 (exit $ac_status); }; }; then
82653 glibcxx_cv_func___builtin_sqrtl_use=yes
82654 else
82655 echo "$as_me: failed program was:" >&5
82656 sed 's/^/| /' conftest.$ac_ext >&5
82658 glibcxx_cv_func___builtin_sqrtl_use=no
82660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82661 ac_ext=c
82662 ac_cpp='$CPP $CPPFLAGS'
82663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82671 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82672 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82673 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82674 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82675 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82676 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82677 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82678 echo $ECHO_N "(cached) $ECHO_C" >&6
82679 else
82681 if test x$gcc_no_link = xyes; then
82682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82684 { (exit 1); exit 1; }; }
82686 cat >conftest.$ac_ext <<_ACEOF
82687 /* confdefs.h. */
82688 _ACEOF
82689 cat confdefs.h >>conftest.$ac_ext
82690 cat >>conftest.$ac_ext <<_ACEOF
82691 /* end confdefs.h. */
82692 #include <math.h>
82694 main ()
82696 __builtin_sqrtl(0);
82698 return 0;
82700 _ACEOF
82701 rm -f conftest.$ac_objext conftest$ac_exeext
82702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82703 (eval $ac_link) 2>conftest.er1
82704 ac_status=$?
82705 grep -v '^ *+' conftest.er1 >conftest.err
82706 rm -f conftest.er1
82707 cat conftest.err >&5
82708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82709 (exit $ac_status); } &&
82710 { ac_try='test -z "$ac_c_werror_flag"
82711 || test ! -s conftest.err'
82712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82713 (eval $ac_try) 2>&5
82714 ac_status=$?
82715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82716 (exit $ac_status); }; } &&
82717 { ac_try='test -s conftest$ac_exeext'
82718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82719 (eval $ac_try) 2>&5
82720 ac_status=$?
82721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82722 (exit $ac_status); }; }; then
82723 glibcxx_cv_func___builtin_sqrtl_link=yes
82724 else
82725 echo "$as_me: failed program was:" >&5
82726 sed 's/^/| /' conftest.$ac_ext >&5
82728 glibcxx_cv_func___builtin_sqrtl_link=no
82730 rm -f conftest.err conftest.$ac_objext \
82731 conftest$ac_exeext conftest.$ac_ext
82736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82737 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82739 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82741 cat >>confdefs.h <<\_ACEOF
82742 #define HAVE___BUILTIN_SQRTL 1
82743 _ACEOF
82751 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82752 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82753 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82754 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82755 echo $ECHO_N "(cached) $ECHO_C" >&6
82756 else
82760 ac_ext=cc
82761 ac_cpp='$CXXCPP $CPPFLAGS'
82762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82766 cat >conftest.$ac_ext <<_ACEOF
82767 /* confdefs.h. */
82768 _ACEOF
82769 cat confdefs.h >>conftest.$ac_ext
82770 cat >>conftest.$ac_ext <<_ACEOF
82771 /* end confdefs.h. */
82772 #include <math.h>
82774 main ()
82776 __builtin_sinf(0);
82778 return 0;
82780 _ACEOF
82781 rm -f conftest.$ac_objext
82782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82783 (eval $ac_compile) 2>conftest.er1
82784 ac_status=$?
82785 grep -v '^ *+' conftest.er1 >conftest.err
82786 rm -f conftest.er1
82787 cat conftest.err >&5
82788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82789 (exit $ac_status); } &&
82790 { ac_try='test -z "$ac_cxx_werror_flag"
82791 || test ! -s conftest.err'
82792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82793 (eval $ac_try) 2>&5
82794 ac_status=$?
82795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82796 (exit $ac_status); }; } &&
82797 { ac_try='test -s conftest.$ac_objext'
82798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82799 (eval $ac_try) 2>&5
82800 ac_status=$?
82801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82802 (exit $ac_status); }; }; then
82803 glibcxx_cv_func___builtin_sinf_use=yes
82804 else
82805 echo "$as_me: failed program was:" >&5
82806 sed 's/^/| /' conftest.$ac_ext >&5
82808 glibcxx_cv_func___builtin_sinf_use=no
82810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82811 ac_ext=c
82812 ac_cpp='$CPP $CPPFLAGS'
82813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82821 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82822 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82823 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82824 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82825 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82826 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82827 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82828 echo $ECHO_N "(cached) $ECHO_C" >&6
82829 else
82831 if test x$gcc_no_link = xyes; then
82832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82834 { (exit 1); exit 1; }; }
82836 cat >conftest.$ac_ext <<_ACEOF
82837 /* confdefs.h. */
82838 _ACEOF
82839 cat confdefs.h >>conftest.$ac_ext
82840 cat >>conftest.$ac_ext <<_ACEOF
82841 /* end confdefs.h. */
82842 #include <math.h>
82844 main ()
82846 __builtin_sinf(0);
82848 return 0;
82850 _ACEOF
82851 rm -f conftest.$ac_objext conftest$ac_exeext
82852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82853 (eval $ac_link) 2>conftest.er1
82854 ac_status=$?
82855 grep -v '^ *+' conftest.er1 >conftest.err
82856 rm -f conftest.er1
82857 cat conftest.err >&5
82858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859 (exit $ac_status); } &&
82860 { ac_try='test -z "$ac_c_werror_flag"
82861 || test ! -s conftest.err'
82862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863 (eval $ac_try) 2>&5
82864 ac_status=$?
82865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866 (exit $ac_status); }; } &&
82867 { ac_try='test -s conftest$ac_exeext'
82868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82869 (eval $ac_try) 2>&5
82870 ac_status=$?
82871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82872 (exit $ac_status); }; }; then
82873 glibcxx_cv_func___builtin_sinf_link=yes
82874 else
82875 echo "$as_me: failed program was:" >&5
82876 sed 's/^/| /' conftest.$ac_ext >&5
82878 glibcxx_cv_func___builtin_sinf_link=no
82880 rm -f conftest.err conftest.$ac_objext \
82881 conftest$ac_exeext conftest.$ac_ext
82886 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82887 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82889 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82891 cat >>confdefs.h <<\_ACEOF
82892 #define HAVE___BUILTIN_SINF 1
82893 _ACEOF
82900 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82901 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82902 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82903 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82904 echo $ECHO_N "(cached) $ECHO_C" >&6
82905 else
82909 ac_ext=cc
82910 ac_cpp='$CXXCPP $CPPFLAGS'
82911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82915 cat >conftest.$ac_ext <<_ACEOF
82916 /* confdefs.h. */
82917 _ACEOF
82918 cat confdefs.h >>conftest.$ac_ext
82919 cat >>conftest.$ac_ext <<_ACEOF
82920 /* end confdefs.h. */
82921 #include <math.h>
82923 main ()
82925 __builtin_sin(0);
82927 return 0;
82929 _ACEOF
82930 rm -f conftest.$ac_objext
82931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82932 (eval $ac_compile) 2>conftest.er1
82933 ac_status=$?
82934 grep -v '^ *+' conftest.er1 >conftest.err
82935 rm -f conftest.er1
82936 cat conftest.err >&5
82937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938 (exit $ac_status); } &&
82939 { ac_try='test -z "$ac_cxx_werror_flag"
82940 || test ! -s conftest.err'
82941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82942 (eval $ac_try) 2>&5
82943 ac_status=$?
82944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82945 (exit $ac_status); }; } &&
82946 { ac_try='test -s conftest.$ac_objext'
82947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82948 (eval $ac_try) 2>&5
82949 ac_status=$?
82950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82951 (exit $ac_status); }; }; then
82952 glibcxx_cv_func___builtin_sin_use=yes
82953 else
82954 echo "$as_me: failed program was:" >&5
82955 sed 's/^/| /' conftest.$ac_ext >&5
82957 glibcxx_cv_func___builtin_sin_use=no
82959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82960 ac_ext=c
82961 ac_cpp='$CPP $CPPFLAGS'
82962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82970 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82971 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82972 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82973 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82974 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82975 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82976 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82977 echo $ECHO_N "(cached) $ECHO_C" >&6
82978 else
82980 if test x$gcc_no_link = xyes; then
82981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82983 { (exit 1); exit 1; }; }
82985 cat >conftest.$ac_ext <<_ACEOF
82986 /* confdefs.h. */
82987 _ACEOF
82988 cat confdefs.h >>conftest.$ac_ext
82989 cat >>conftest.$ac_ext <<_ACEOF
82990 /* end confdefs.h. */
82991 #include <math.h>
82993 main ()
82995 __builtin_sin(0);
82997 return 0;
82999 _ACEOF
83000 rm -f conftest.$ac_objext conftest$ac_exeext
83001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83002 (eval $ac_link) 2>conftest.er1
83003 ac_status=$?
83004 grep -v '^ *+' conftest.er1 >conftest.err
83005 rm -f conftest.er1
83006 cat conftest.err >&5
83007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83008 (exit $ac_status); } &&
83009 { ac_try='test -z "$ac_c_werror_flag"
83010 || test ! -s conftest.err'
83011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83012 (eval $ac_try) 2>&5
83013 ac_status=$?
83014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83015 (exit $ac_status); }; } &&
83016 { ac_try='test -s conftest$ac_exeext'
83017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83018 (eval $ac_try) 2>&5
83019 ac_status=$?
83020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83021 (exit $ac_status); }; }; then
83022 glibcxx_cv_func___builtin_sin_link=yes
83023 else
83024 echo "$as_me: failed program was:" >&5
83025 sed 's/^/| /' conftest.$ac_ext >&5
83027 glibcxx_cv_func___builtin_sin_link=no
83029 rm -f conftest.err conftest.$ac_objext \
83030 conftest$ac_exeext conftest.$ac_ext
83035 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83036 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83038 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83040 cat >>confdefs.h <<\_ACEOF
83041 #define HAVE___BUILTIN_SIN 1
83042 _ACEOF
83049 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83050 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83051 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83052 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83053 echo $ECHO_N "(cached) $ECHO_C" >&6
83054 else
83058 ac_ext=cc
83059 ac_cpp='$CXXCPP $CPPFLAGS'
83060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83064 cat >conftest.$ac_ext <<_ACEOF
83065 /* confdefs.h. */
83066 _ACEOF
83067 cat confdefs.h >>conftest.$ac_ext
83068 cat >>conftest.$ac_ext <<_ACEOF
83069 /* end confdefs.h. */
83070 #include <math.h>
83072 main ()
83074 __builtin_sinl(0);
83076 return 0;
83078 _ACEOF
83079 rm -f conftest.$ac_objext
83080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83081 (eval $ac_compile) 2>conftest.er1
83082 ac_status=$?
83083 grep -v '^ *+' conftest.er1 >conftest.err
83084 rm -f conftest.er1
83085 cat conftest.err >&5
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); } &&
83088 { ac_try='test -z "$ac_cxx_werror_flag"
83089 || test ! -s conftest.err'
83090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83091 (eval $ac_try) 2>&5
83092 ac_status=$?
83093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83094 (exit $ac_status); }; } &&
83095 { ac_try='test -s conftest.$ac_objext'
83096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83097 (eval $ac_try) 2>&5
83098 ac_status=$?
83099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83100 (exit $ac_status); }; }; then
83101 glibcxx_cv_func___builtin_sinl_use=yes
83102 else
83103 echo "$as_me: failed program was:" >&5
83104 sed 's/^/| /' conftest.$ac_ext >&5
83106 glibcxx_cv_func___builtin_sinl_use=no
83108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83109 ac_ext=c
83110 ac_cpp='$CPP $CPPFLAGS'
83111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83119 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83120 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83121 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83122 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83123 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83124 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83125 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83126 echo $ECHO_N "(cached) $ECHO_C" >&6
83127 else
83129 if test x$gcc_no_link = xyes; then
83130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83132 { (exit 1); exit 1; }; }
83134 cat >conftest.$ac_ext <<_ACEOF
83135 /* confdefs.h. */
83136 _ACEOF
83137 cat confdefs.h >>conftest.$ac_ext
83138 cat >>conftest.$ac_ext <<_ACEOF
83139 /* end confdefs.h. */
83140 #include <math.h>
83142 main ()
83144 __builtin_sinl(0);
83146 return 0;
83148 _ACEOF
83149 rm -f conftest.$ac_objext conftest$ac_exeext
83150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83151 (eval $ac_link) 2>conftest.er1
83152 ac_status=$?
83153 grep -v '^ *+' conftest.er1 >conftest.err
83154 rm -f conftest.er1
83155 cat conftest.err >&5
83156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83157 (exit $ac_status); } &&
83158 { ac_try='test -z "$ac_c_werror_flag"
83159 || test ! -s conftest.err'
83160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83161 (eval $ac_try) 2>&5
83162 ac_status=$?
83163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83164 (exit $ac_status); }; } &&
83165 { ac_try='test -s conftest$ac_exeext'
83166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83167 (eval $ac_try) 2>&5
83168 ac_status=$?
83169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83170 (exit $ac_status); }; }; then
83171 glibcxx_cv_func___builtin_sinl_link=yes
83172 else
83173 echo "$as_me: failed program was:" >&5
83174 sed 's/^/| /' conftest.$ac_ext >&5
83176 glibcxx_cv_func___builtin_sinl_link=no
83178 rm -f conftest.err conftest.$ac_objext \
83179 conftest$ac_exeext conftest.$ac_ext
83184 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83185 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83187 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83189 cat >>confdefs.h <<\_ACEOF
83190 #define HAVE___BUILTIN_SINL 1
83191 _ACEOF
83199 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83200 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83201 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83202 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83203 echo $ECHO_N "(cached) $ECHO_C" >&6
83204 else
83208 ac_ext=cc
83209 ac_cpp='$CXXCPP $CPPFLAGS'
83210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83214 cat >conftest.$ac_ext <<_ACEOF
83215 /* confdefs.h. */
83216 _ACEOF
83217 cat confdefs.h >>conftest.$ac_ext
83218 cat >>conftest.$ac_ext <<_ACEOF
83219 /* end confdefs.h. */
83220 #include <math.h>
83222 main ()
83224 __builtin_cosf(0);
83226 return 0;
83228 _ACEOF
83229 rm -f conftest.$ac_objext
83230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83231 (eval $ac_compile) 2>conftest.er1
83232 ac_status=$?
83233 grep -v '^ *+' conftest.er1 >conftest.err
83234 rm -f conftest.er1
83235 cat conftest.err >&5
83236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83237 (exit $ac_status); } &&
83238 { ac_try='test -z "$ac_cxx_werror_flag"
83239 || test ! -s conftest.err'
83240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83241 (eval $ac_try) 2>&5
83242 ac_status=$?
83243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83244 (exit $ac_status); }; } &&
83245 { ac_try='test -s conftest.$ac_objext'
83246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83247 (eval $ac_try) 2>&5
83248 ac_status=$?
83249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83250 (exit $ac_status); }; }; then
83251 glibcxx_cv_func___builtin_cosf_use=yes
83252 else
83253 echo "$as_me: failed program was:" >&5
83254 sed 's/^/| /' conftest.$ac_ext >&5
83256 glibcxx_cv_func___builtin_cosf_use=no
83258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83259 ac_ext=c
83260 ac_cpp='$CPP $CPPFLAGS'
83261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83269 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83270 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83271 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83272 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83273 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83274 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83275 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83276 echo $ECHO_N "(cached) $ECHO_C" >&6
83277 else
83279 if test x$gcc_no_link = xyes; then
83280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83282 { (exit 1); exit 1; }; }
83284 cat >conftest.$ac_ext <<_ACEOF
83285 /* confdefs.h. */
83286 _ACEOF
83287 cat confdefs.h >>conftest.$ac_ext
83288 cat >>conftest.$ac_ext <<_ACEOF
83289 /* end confdefs.h. */
83290 #include <math.h>
83292 main ()
83294 __builtin_cosf(0);
83296 return 0;
83298 _ACEOF
83299 rm -f conftest.$ac_objext conftest$ac_exeext
83300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83301 (eval $ac_link) 2>conftest.er1
83302 ac_status=$?
83303 grep -v '^ *+' conftest.er1 >conftest.err
83304 rm -f conftest.er1
83305 cat conftest.err >&5
83306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83307 (exit $ac_status); } &&
83308 { ac_try='test -z "$ac_c_werror_flag"
83309 || test ! -s conftest.err'
83310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83311 (eval $ac_try) 2>&5
83312 ac_status=$?
83313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83314 (exit $ac_status); }; } &&
83315 { ac_try='test -s conftest$ac_exeext'
83316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83317 (eval $ac_try) 2>&5
83318 ac_status=$?
83319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83320 (exit $ac_status); }; }; then
83321 glibcxx_cv_func___builtin_cosf_link=yes
83322 else
83323 echo "$as_me: failed program was:" >&5
83324 sed 's/^/| /' conftest.$ac_ext >&5
83326 glibcxx_cv_func___builtin_cosf_link=no
83328 rm -f conftest.err conftest.$ac_objext \
83329 conftest$ac_exeext conftest.$ac_ext
83334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83335 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83337 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83339 cat >>confdefs.h <<\_ACEOF
83340 #define HAVE___BUILTIN_COSF 1
83341 _ACEOF
83348 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83349 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83350 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83351 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83352 echo $ECHO_N "(cached) $ECHO_C" >&6
83353 else
83357 ac_ext=cc
83358 ac_cpp='$CXXCPP $CPPFLAGS'
83359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83363 cat >conftest.$ac_ext <<_ACEOF
83364 /* confdefs.h. */
83365 _ACEOF
83366 cat confdefs.h >>conftest.$ac_ext
83367 cat >>conftest.$ac_ext <<_ACEOF
83368 /* end confdefs.h. */
83369 #include <math.h>
83371 main ()
83373 __builtin_cos(0);
83375 return 0;
83377 _ACEOF
83378 rm -f conftest.$ac_objext
83379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83380 (eval $ac_compile) 2>conftest.er1
83381 ac_status=$?
83382 grep -v '^ *+' conftest.er1 >conftest.err
83383 rm -f conftest.er1
83384 cat conftest.err >&5
83385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83386 (exit $ac_status); } &&
83387 { ac_try='test -z "$ac_cxx_werror_flag"
83388 || test ! -s conftest.err'
83389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83390 (eval $ac_try) 2>&5
83391 ac_status=$?
83392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83393 (exit $ac_status); }; } &&
83394 { ac_try='test -s conftest.$ac_objext'
83395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83396 (eval $ac_try) 2>&5
83397 ac_status=$?
83398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83399 (exit $ac_status); }; }; then
83400 glibcxx_cv_func___builtin_cos_use=yes
83401 else
83402 echo "$as_me: failed program was:" >&5
83403 sed 's/^/| /' conftest.$ac_ext >&5
83405 glibcxx_cv_func___builtin_cos_use=no
83407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83408 ac_ext=c
83409 ac_cpp='$CPP $CPPFLAGS'
83410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83418 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83419 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83420 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83421 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83422 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83423 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83424 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83425 echo $ECHO_N "(cached) $ECHO_C" >&6
83426 else
83428 if test x$gcc_no_link = xyes; then
83429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83431 { (exit 1); exit 1; }; }
83433 cat >conftest.$ac_ext <<_ACEOF
83434 /* confdefs.h. */
83435 _ACEOF
83436 cat confdefs.h >>conftest.$ac_ext
83437 cat >>conftest.$ac_ext <<_ACEOF
83438 /* end confdefs.h. */
83439 #include <math.h>
83441 main ()
83443 __builtin_cos(0);
83445 return 0;
83447 _ACEOF
83448 rm -f conftest.$ac_objext conftest$ac_exeext
83449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83450 (eval $ac_link) 2>conftest.er1
83451 ac_status=$?
83452 grep -v '^ *+' conftest.er1 >conftest.err
83453 rm -f conftest.er1
83454 cat conftest.err >&5
83455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83456 (exit $ac_status); } &&
83457 { ac_try='test -z "$ac_c_werror_flag"
83458 || test ! -s conftest.err'
83459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83460 (eval $ac_try) 2>&5
83461 ac_status=$?
83462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83463 (exit $ac_status); }; } &&
83464 { ac_try='test -s conftest$ac_exeext'
83465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83466 (eval $ac_try) 2>&5
83467 ac_status=$?
83468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83469 (exit $ac_status); }; }; then
83470 glibcxx_cv_func___builtin_cos_link=yes
83471 else
83472 echo "$as_me: failed program was:" >&5
83473 sed 's/^/| /' conftest.$ac_ext >&5
83475 glibcxx_cv_func___builtin_cos_link=no
83477 rm -f conftest.err conftest.$ac_objext \
83478 conftest$ac_exeext conftest.$ac_ext
83483 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83484 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83486 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83488 cat >>confdefs.h <<\_ACEOF
83489 #define HAVE___BUILTIN_COS 1
83490 _ACEOF
83497 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83498 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83499 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83500 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83501 echo $ECHO_N "(cached) $ECHO_C" >&6
83502 else
83506 ac_ext=cc
83507 ac_cpp='$CXXCPP $CPPFLAGS'
83508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83512 cat >conftest.$ac_ext <<_ACEOF
83513 /* confdefs.h. */
83514 _ACEOF
83515 cat confdefs.h >>conftest.$ac_ext
83516 cat >>conftest.$ac_ext <<_ACEOF
83517 /* end confdefs.h. */
83518 #include <math.h>
83520 main ()
83522 __builtin_cosl(0);
83524 return 0;
83526 _ACEOF
83527 rm -f conftest.$ac_objext
83528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83529 (eval $ac_compile) 2>conftest.er1
83530 ac_status=$?
83531 grep -v '^ *+' conftest.er1 >conftest.err
83532 rm -f conftest.er1
83533 cat conftest.err >&5
83534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83535 (exit $ac_status); } &&
83536 { ac_try='test -z "$ac_cxx_werror_flag"
83537 || test ! -s conftest.err'
83538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83539 (eval $ac_try) 2>&5
83540 ac_status=$?
83541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83542 (exit $ac_status); }; } &&
83543 { ac_try='test -s conftest.$ac_objext'
83544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83545 (eval $ac_try) 2>&5
83546 ac_status=$?
83547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83548 (exit $ac_status); }; }; then
83549 glibcxx_cv_func___builtin_cosl_use=yes
83550 else
83551 echo "$as_me: failed program was:" >&5
83552 sed 's/^/| /' conftest.$ac_ext >&5
83554 glibcxx_cv_func___builtin_cosl_use=no
83556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83557 ac_ext=c
83558 ac_cpp='$CPP $CPPFLAGS'
83559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83567 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83568 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83569 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83570 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83571 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83572 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83573 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83574 echo $ECHO_N "(cached) $ECHO_C" >&6
83575 else
83577 if test x$gcc_no_link = xyes; then
83578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83580 { (exit 1); exit 1; }; }
83582 cat >conftest.$ac_ext <<_ACEOF
83583 /* confdefs.h. */
83584 _ACEOF
83585 cat confdefs.h >>conftest.$ac_ext
83586 cat >>conftest.$ac_ext <<_ACEOF
83587 /* end confdefs.h. */
83588 #include <math.h>
83590 main ()
83592 __builtin_cosl(0);
83594 return 0;
83596 _ACEOF
83597 rm -f conftest.$ac_objext conftest$ac_exeext
83598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83599 (eval $ac_link) 2>conftest.er1
83600 ac_status=$?
83601 grep -v '^ *+' conftest.er1 >conftest.err
83602 rm -f conftest.er1
83603 cat conftest.err >&5
83604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83605 (exit $ac_status); } &&
83606 { ac_try='test -z "$ac_c_werror_flag"
83607 || test ! -s conftest.err'
83608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83609 (eval $ac_try) 2>&5
83610 ac_status=$?
83611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83612 (exit $ac_status); }; } &&
83613 { ac_try='test -s conftest$ac_exeext'
83614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83615 (eval $ac_try) 2>&5
83616 ac_status=$?
83617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83618 (exit $ac_status); }; }; then
83619 glibcxx_cv_func___builtin_cosl_link=yes
83620 else
83621 echo "$as_me: failed program was:" >&5
83622 sed 's/^/| /' conftest.$ac_ext >&5
83624 glibcxx_cv_func___builtin_cosl_link=no
83626 rm -f conftest.err conftest.$ac_objext \
83627 conftest$ac_exeext conftest.$ac_ext
83632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83633 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83635 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83637 cat >>confdefs.h <<\_ACEOF
83638 #define HAVE___BUILTIN_COSL 1
83639 _ACEOF
83648 echo "$as_me:$LINENO: checking for main in -lm" >&5
83649 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83650 if test "${ac_cv_lib_m_main+set}" = set; then
83651 echo $ECHO_N "(cached) $ECHO_C" >&6
83652 else
83653 ac_check_lib_save_LIBS=$LIBS
83654 LIBS="-lm $LIBS"
83655 if test x$gcc_no_link = xyes; then
83656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83658 { (exit 1); exit 1; }; }
83660 cat >conftest.$ac_ext <<_ACEOF
83661 /* confdefs.h. */
83662 _ACEOF
83663 cat confdefs.h >>conftest.$ac_ext
83664 cat >>conftest.$ac_ext <<_ACEOF
83665 /* end confdefs.h. */
83669 main ()
83671 main ();
83673 return 0;
83675 _ACEOF
83676 rm -f conftest.$ac_objext conftest$ac_exeext
83677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83678 (eval $ac_link) 2>conftest.er1
83679 ac_status=$?
83680 grep -v '^ *+' conftest.er1 >conftest.err
83681 rm -f conftest.er1
83682 cat conftest.err >&5
83683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83684 (exit $ac_status); } &&
83685 { ac_try='test -z "$ac_c_werror_flag"
83686 || test ! -s conftest.err'
83687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83688 (eval $ac_try) 2>&5
83689 ac_status=$?
83690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83691 (exit $ac_status); }; } &&
83692 { ac_try='test -s conftest$ac_exeext'
83693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83694 (eval $ac_try) 2>&5
83695 ac_status=$?
83696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83697 (exit $ac_status); }; }; then
83698 ac_cv_lib_m_main=yes
83699 else
83700 echo "$as_me: failed program was:" >&5
83701 sed 's/^/| /' conftest.$ac_ext >&5
83703 ac_cv_lib_m_main=no
83705 rm -f conftest.err conftest.$ac_objext \
83706 conftest$ac_exeext conftest.$ac_ext
83707 LIBS=$ac_check_lib_save_LIBS
83709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83710 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83711 if test $ac_cv_lib_m_main = yes; then
83712 cat >>confdefs.h <<_ACEOF
83713 #define HAVE_LIBM 1
83714 _ACEOF
83716 LIBS="-lm $LIBS"
83721 for ac_func in copysignf
83723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83724 echo "$as_me:$LINENO: checking for $ac_func" >&5
83725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83726 if eval "test \"\${$as_ac_var+set}\" = set"; then
83727 echo $ECHO_N "(cached) $ECHO_C" >&6
83728 else
83729 if test x$gcc_no_link = xyes; then
83730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83732 { (exit 1); exit 1; }; }
83734 cat >conftest.$ac_ext <<_ACEOF
83735 /* confdefs.h. */
83736 _ACEOF
83737 cat confdefs.h >>conftest.$ac_ext
83738 cat >>conftest.$ac_ext <<_ACEOF
83739 /* end confdefs.h. */
83740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83742 #define $ac_func innocuous_$ac_func
83744 /* System header to define __stub macros and hopefully few prototypes,
83745 which can conflict with char $ac_func (); below.
83746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83747 <limits.h> exists even on freestanding compilers. */
83749 #ifdef __STDC__
83750 # include <limits.h>
83751 #else
83752 # include <assert.h>
83753 #endif
83755 #undef $ac_func
83757 /* Override any gcc2 internal prototype to avoid an error. */
83758 #ifdef __cplusplus
83759 extern "C"
83761 #endif
83762 /* We use char because int might match the return type of a gcc2
83763 builtin and then its argument prototype would still apply. */
83764 char $ac_func ();
83765 /* The GNU C library defines this for functions which it implements
83766 to always fail with ENOSYS. Some functions are actually named
83767 something starting with __ and the normal name is an alias. */
83768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83769 choke me
83770 #else
83771 char (*f) () = $ac_func;
83772 #endif
83773 #ifdef __cplusplus
83775 #endif
83778 main ()
83780 return f != $ac_func;
83782 return 0;
83784 _ACEOF
83785 rm -f conftest.$ac_objext conftest$ac_exeext
83786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83787 (eval $ac_link) 2>conftest.er1
83788 ac_status=$?
83789 grep -v '^ *+' conftest.er1 >conftest.err
83790 rm -f conftest.er1
83791 cat conftest.err >&5
83792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83793 (exit $ac_status); } &&
83794 { ac_try='test -z "$ac_c_werror_flag"
83795 || test ! -s conftest.err'
83796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83797 (eval $ac_try) 2>&5
83798 ac_status=$?
83799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83800 (exit $ac_status); }; } &&
83801 { ac_try='test -s conftest$ac_exeext'
83802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83803 (eval $ac_try) 2>&5
83804 ac_status=$?
83805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83806 (exit $ac_status); }; }; then
83807 eval "$as_ac_var=yes"
83808 else
83809 echo "$as_me: failed program was:" >&5
83810 sed 's/^/| /' conftest.$ac_ext >&5
83812 eval "$as_ac_var=no"
83814 rm -f conftest.err conftest.$ac_objext \
83815 conftest$ac_exeext conftest.$ac_ext
83817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83819 if test `eval echo '${'$as_ac_var'}'` = yes; then
83820 cat >>confdefs.h <<_ACEOF
83821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83822 _ACEOF
83824 else
83825 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83827 done
83831 for ac_func in __signbit
83833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83834 echo "$as_me:$LINENO: checking for $ac_func" >&5
83835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83836 if eval "test \"\${$as_ac_var+set}\" = set"; then
83837 echo $ECHO_N "(cached) $ECHO_C" >&6
83838 else
83839 if test x$gcc_no_link = xyes; then
83840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83842 { (exit 1); exit 1; }; }
83844 cat >conftest.$ac_ext <<_ACEOF
83845 /* confdefs.h. */
83846 _ACEOF
83847 cat confdefs.h >>conftest.$ac_ext
83848 cat >>conftest.$ac_ext <<_ACEOF
83849 /* end confdefs.h. */
83850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83852 #define $ac_func innocuous_$ac_func
83854 /* System header to define __stub macros and hopefully few prototypes,
83855 which can conflict with char $ac_func (); below.
83856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83857 <limits.h> exists even on freestanding compilers. */
83859 #ifdef __STDC__
83860 # include <limits.h>
83861 #else
83862 # include <assert.h>
83863 #endif
83865 #undef $ac_func
83867 /* Override any gcc2 internal prototype to avoid an error. */
83868 #ifdef __cplusplus
83869 extern "C"
83871 #endif
83872 /* We use char because int might match the return type of a gcc2
83873 builtin and then its argument prototype would still apply. */
83874 char $ac_func ();
83875 /* The GNU C library defines this for functions which it implements
83876 to always fail with ENOSYS. Some functions are actually named
83877 something starting with __ and the normal name is an alias. */
83878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83879 choke me
83880 #else
83881 char (*f) () = $ac_func;
83882 #endif
83883 #ifdef __cplusplus
83885 #endif
83888 main ()
83890 return f != $ac_func;
83892 return 0;
83894 _ACEOF
83895 rm -f conftest.$ac_objext conftest$ac_exeext
83896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83897 (eval $ac_link) 2>conftest.er1
83898 ac_status=$?
83899 grep -v '^ *+' conftest.er1 >conftest.err
83900 rm -f conftest.er1
83901 cat conftest.err >&5
83902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83903 (exit $ac_status); } &&
83904 { ac_try='test -z "$ac_c_werror_flag"
83905 || test ! -s conftest.err'
83906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83907 (eval $ac_try) 2>&5
83908 ac_status=$?
83909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83910 (exit $ac_status); }; } &&
83911 { ac_try='test -s conftest$ac_exeext'
83912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83913 (eval $ac_try) 2>&5
83914 ac_status=$?
83915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83916 (exit $ac_status); }; }; then
83917 eval "$as_ac_var=yes"
83918 else
83919 echo "$as_me: failed program was:" >&5
83920 sed 's/^/| /' conftest.$ac_ext >&5
83922 eval "$as_ac_var=no"
83924 rm -f conftest.err conftest.$ac_objext \
83925 conftest$ac_exeext conftest.$ac_ext
83927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83929 if test `eval echo '${'$as_ac_var'}'` = yes; then
83930 cat >>confdefs.h <<_ACEOF
83931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83932 _ACEOF
83934 else
83935 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83937 done
83941 for ac_func in __signbitf
83943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83944 echo "$as_me:$LINENO: checking for $ac_func" >&5
83945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83946 if eval "test \"\${$as_ac_var+set}\" = set"; then
83947 echo $ECHO_N "(cached) $ECHO_C" >&6
83948 else
83949 if test x$gcc_no_link = xyes; then
83950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83952 { (exit 1); exit 1; }; }
83954 cat >conftest.$ac_ext <<_ACEOF
83955 /* confdefs.h. */
83956 _ACEOF
83957 cat confdefs.h >>conftest.$ac_ext
83958 cat >>conftest.$ac_ext <<_ACEOF
83959 /* end confdefs.h. */
83960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83962 #define $ac_func innocuous_$ac_func
83964 /* System header to define __stub macros and hopefully few prototypes,
83965 which can conflict with char $ac_func (); below.
83966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83967 <limits.h> exists even on freestanding compilers. */
83969 #ifdef __STDC__
83970 # include <limits.h>
83971 #else
83972 # include <assert.h>
83973 #endif
83975 #undef $ac_func
83977 /* Override any gcc2 internal prototype to avoid an error. */
83978 #ifdef __cplusplus
83979 extern "C"
83981 #endif
83982 /* We use char because int might match the return type of a gcc2
83983 builtin and then its argument prototype would still apply. */
83984 char $ac_func ();
83985 /* The GNU C library defines this for functions which it implements
83986 to always fail with ENOSYS. Some functions are actually named
83987 something starting with __ and the normal name is an alias. */
83988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83989 choke me
83990 #else
83991 char (*f) () = $ac_func;
83992 #endif
83993 #ifdef __cplusplus
83995 #endif
83998 main ()
84000 return f != $ac_func;
84002 return 0;
84004 _ACEOF
84005 rm -f conftest.$ac_objext conftest$ac_exeext
84006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84007 (eval $ac_link) 2>conftest.er1
84008 ac_status=$?
84009 grep -v '^ *+' conftest.er1 >conftest.err
84010 rm -f conftest.er1
84011 cat conftest.err >&5
84012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84013 (exit $ac_status); } &&
84014 { ac_try='test -z "$ac_c_werror_flag"
84015 || test ! -s conftest.err'
84016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84017 (eval $ac_try) 2>&5
84018 ac_status=$?
84019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84020 (exit $ac_status); }; } &&
84021 { ac_try='test -s conftest$ac_exeext'
84022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84023 (eval $ac_try) 2>&5
84024 ac_status=$?
84025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84026 (exit $ac_status); }; }; then
84027 eval "$as_ac_var=yes"
84028 else
84029 echo "$as_me: failed program was:" >&5
84030 sed 's/^/| /' conftest.$ac_ext >&5
84032 eval "$as_ac_var=no"
84034 rm -f conftest.err conftest.$ac_objext \
84035 conftest$ac_exeext conftest.$ac_ext
84037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84039 if test `eval echo '${'$as_ac_var'}'` = yes; then
84040 cat >>confdefs.h <<_ACEOF
84041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84042 _ACEOF
84044 else
84045 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84047 done
84050 if test x$ac_cv_func_copysignl = x"yes"; then
84052 for ac_func in __signbitl
84054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84055 echo "$as_me:$LINENO: checking for $ac_func" >&5
84056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84057 if eval "test \"\${$as_ac_var+set}\" = set"; then
84058 echo $ECHO_N "(cached) $ECHO_C" >&6
84059 else
84060 if test x$gcc_no_link = xyes; then
84061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84063 { (exit 1); exit 1; }; }
84065 cat >conftest.$ac_ext <<_ACEOF
84066 /* confdefs.h. */
84067 _ACEOF
84068 cat confdefs.h >>conftest.$ac_ext
84069 cat >>conftest.$ac_ext <<_ACEOF
84070 /* end confdefs.h. */
84071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84073 #define $ac_func innocuous_$ac_func
84075 /* System header to define __stub macros and hopefully few prototypes,
84076 which can conflict with char $ac_func (); below.
84077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84078 <limits.h> exists even on freestanding compilers. */
84080 #ifdef __STDC__
84081 # include <limits.h>
84082 #else
84083 # include <assert.h>
84084 #endif
84086 #undef $ac_func
84088 /* Override any gcc2 internal prototype to avoid an error. */
84089 #ifdef __cplusplus
84090 extern "C"
84092 #endif
84093 /* We use char because int might match the return type of a gcc2
84094 builtin and then its argument prototype would still apply. */
84095 char $ac_func ();
84096 /* The GNU C library defines this for functions which it implements
84097 to always fail with ENOSYS. Some functions are actually named
84098 something starting with __ and the normal name is an alias. */
84099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84100 choke me
84101 #else
84102 char (*f) () = $ac_func;
84103 #endif
84104 #ifdef __cplusplus
84106 #endif
84109 main ()
84111 return f != $ac_func;
84113 return 0;
84115 _ACEOF
84116 rm -f conftest.$ac_objext conftest$ac_exeext
84117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84118 (eval $ac_link) 2>conftest.er1
84119 ac_status=$?
84120 grep -v '^ *+' conftest.er1 >conftest.err
84121 rm -f conftest.er1
84122 cat conftest.err >&5
84123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84124 (exit $ac_status); } &&
84125 { ac_try='test -z "$ac_c_werror_flag"
84126 || test ! -s conftest.err'
84127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84128 (eval $ac_try) 2>&5
84129 ac_status=$?
84130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84131 (exit $ac_status); }; } &&
84132 { ac_try='test -s conftest$ac_exeext'
84133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84134 (eval $ac_try) 2>&5
84135 ac_status=$?
84136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84137 (exit $ac_status); }; }; then
84138 eval "$as_ac_var=yes"
84139 else
84140 echo "$as_me: failed program was:" >&5
84141 sed 's/^/| /' conftest.$ac_ext >&5
84143 eval "$as_ac_var=no"
84145 rm -f conftest.err conftest.$ac_objext \
84146 conftest$ac_exeext conftest.$ac_ext
84148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84150 if test `eval echo '${'$as_ac_var'}'` = yes; then
84151 cat >>confdefs.h <<_ACEOF
84152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84153 _ACEOF
84155 else
84156 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84158 done
84162 # Used in libmath/Makefile.am.
84163 if test -n "$LIBMATHOBJS"; then
84164 need_libmath=yes
84169 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84170 ac_save_CXXFLAGS="$CXXFLAGS"
84171 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84174 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84175 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84176 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84177 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84178 echo $ECHO_N "(cached) $ECHO_C" >&6
84179 else
84183 ac_ext=cc
84184 ac_cpp='$CXXCPP $CPPFLAGS'
84185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84189 cat >conftest.$ac_ext <<_ACEOF
84190 /* confdefs.h. */
84191 _ACEOF
84192 cat confdefs.h >>conftest.$ac_ext
84193 cat >>conftest.$ac_ext <<_ACEOF
84194 /* end confdefs.h. */
84195 #include <stdlib.h>
84197 main ()
84199 strtold(0, 0);
84201 return 0;
84203 _ACEOF
84204 rm -f conftest.$ac_objext
84205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84206 (eval $ac_compile) 2>conftest.er1
84207 ac_status=$?
84208 grep -v '^ *+' conftest.er1 >conftest.err
84209 rm -f conftest.er1
84210 cat conftest.err >&5
84211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84212 (exit $ac_status); } &&
84213 { ac_try='test -z "$ac_cxx_werror_flag"
84214 || test ! -s conftest.err'
84215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84216 (eval $ac_try) 2>&5
84217 ac_status=$?
84218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84219 (exit $ac_status); }; } &&
84220 { ac_try='test -s conftest.$ac_objext'
84221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84222 (eval $ac_try) 2>&5
84223 ac_status=$?
84224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84225 (exit $ac_status); }; }; then
84226 glibcxx_cv_func_strtold_use=yes
84227 else
84228 echo "$as_me: failed program was:" >&5
84229 sed 's/^/| /' conftest.$ac_ext >&5
84231 glibcxx_cv_func_strtold_use=no
84233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84234 ac_ext=c
84235 ac_cpp='$CPP $CPPFLAGS'
84236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84245 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84246 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84248 for ac_func in strtold
84250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84251 echo "$as_me:$LINENO: checking for $ac_func" >&5
84252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84253 if eval "test \"\${$as_ac_var+set}\" = set"; then
84254 echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256 if test x$gcc_no_link = xyes; then
84257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84259 { (exit 1); exit 1; }; }
84261 cat >conftest.$ac_ext <<_ACEOF
84262 /* confdefs.h. */
84263 _ACEOF
84264 cat confdefs.h >>conftest.$ac_ext
84265 cat >>conftest.$ac_ext <<_ACEOF
84266 /* end confdefs.h. */
84267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84269 #define $ac_func innocuous_$ac_func
84271 /* System header to define __stub macros and hopefully few prototypes,
84272 which can conflict with char $ac_func (); below.
84273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84274 <limits.h> exists even on freestanding compilers. */
84276 #ifdef __STDC__
84277 # include <limits.h>
84278 #else
84279 # include <assert.h>
84280 #endif
84282 #undef $ac_func
84284 /* Override any gcc2 internal prototype to avoid an error. */
84285 #ifdef __cplusplus
84286 extern "C"
84288 #endif
84289 /* We use char because int might match the return type of a gcc2
84290 builtin and then its argument prototype would still apply. */
84291 char $ac_func ();
84292 /* The GNU C library defines this for functions which it implements
84293 to always fail with ENOSYS. Some functions are actually named
84294 something starting with __ and the normal name is an alias. */
84295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84296 choke me
84297 #else
84298 char (*f) () = $ac_func;
84299 #endif
84300 #ifdef __cplusplus
84302 #endif
84305 main ()
84307 return f != $ac_func;
84309 return 0;
84311 _ACEOF
84312 rm -f conftest.$ac_objext conftest$ac_exeext
84313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84314 (eval $ac_link) 2>conftest.er1
84315 ac_status=$?
84316 grep -v '^ *+' conftest.er1 >conftest.err
84317 rm -f conftest.er1
84318 cat conftest.err >&5
84319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320 (exit $ac_status); } &&
84321 { ac_try='test -z "$ac_c_werror_flag"
84322 || test ! -s conftest.err'
84323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84324 (eval $ac_try) 2>&5
84325 ac_status=$?
84326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84327 (exit $ac_status); }; } &&
84328 { ac_try='test -s conftest$ac_exeext'
84329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84330 (eval $ac_try) 2>&5
84331 ac_status=$?
84332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84333 (exit $ac_status); }; }; then
84334 eval "$as_ac_var=yes"
84335 else
84336 echo "$as_me: failed program was:" >&5
84337 sed 's/^/| /' conftest.$ac_ext >&5
84339 eval "$as_ac_var=no"
84341 rm -f conftest.err conftest.$ac_objext \
84342 conftest$ac_exeext conftest.$ac_ext
84344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84346 if test `eval echo '${'$as_ac_var'}'` = yes; then
84347 cat >>confdefs.h <<_ACEOF
84348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84349 _ACEOF
84352 done
84360 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84361 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84362 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84363 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84364 echo $ECHO_N "(cached) $ECHO_C" >&6
84365 else
84369 ac_ext=cc
84370 ac_cpp='$CXXCPP $CPPFLAGS'
84371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84375 cat >conftest.$ac_ext <<_ACEOF
84376 /* confdefs.h. */
84377 _ACEOF
84378 cat confdefs.h >>conftest.$ac_ext
84379 cat >>conftest.$ac_ext <<_ACEOF
84380 /* end confdefs.h. */
84381 #include <stdlib.h>
84383 main ()
84385 strtof(0, 0);
84387 return 0;
84389 _ACEOF
84390 rm -f conftest.$ac_objext
84391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84392 (eval $ac_compile) 2>conftest.er1
84393 ac_status=$?
84394 grep -v '^ *+' conftest.er1 >conftest.err
84395 rm -f conftest.er1
84396 cat conftest.err >&5
84397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84398 (exit $ac_status); } &&
84399 { ac_try='test -z "$ac_cxx_werror_flag"
84400 || test ! -s conftest.err'
84401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84402 (eval $ac_try) 2>&5
84403 ac_status=$?
84404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84405 (exit $ac_status); }; } &&
84406 { ac_try='test -s conftest.$ac_objext'
84407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84408 (eval $ac_try) 2>&5
84409 ac_status=$?
84410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84411 (exit $ac_status); }; }; then
84412 glibcxx_cv_func_strtof_use=yes
84413 else
84414 echo "$as_me: failed program was:" >&5
84415 sed 's/^/| /' conftest.$ac_ext >&5
84417 glibcxx_cv_func_strtof_use=no
84419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84420 ac_ext=c
84421 ac_cpp='$CPP $CPPFLAGS'
84422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84431 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84432 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84434 for ac_func in strtof
84436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84437 echo "$as_me:$LINENO: checking for $ac_func" >&5
84438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84439 if eval "test \"\${$as_ac_var+set}\" = set"; then
84440 echo $ECHO_N "(cached) $ECHO_C" >&6
84441 else
84442 if test x$gcc_no_link = xyes; then
84443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84445 { (exit 1); exit 1; }; }
84447 cat >conftest.$ac_ext <<_ACEOF
84448 /* confdefs.h. */
84449 _ACEOF
84450 cat confdefs.h >>conftest.$ac_ext
84451 cat >>conftest.$ac_ext <<_ACEOF
84452 /* end confdefs.h. */
84453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84455 #define $ac_func innocuous_$ac_func
84457 /* System header to define __stub macros and hopefully few prototypes,
84458 which can conflict with char $ac_func (); below.
84459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84460 <limits.h> exists even on freestanding compilers. */
84462 #ifdef __STDC__
84463 # include <limits.h>
84464 #else
84465 # include <assert.h>
84466 #endif
84468 #undef $ac_func
84470 /* Override any gcc2 internal prototype to avoid an error. */
84471 #ifdef __cplusplus
84472 extern "C"
84474 #endif
84475 /* We use char because int might match the return type of a gcc2
84476 builtin and then its argument prototype would still apply. */
84477 char $ac_func ();
84478 /* The GNU C library defines this for functions which it implements
84479 to always fail with ENOSYS. Some functions are actually named
84480 something starting with __ and the normal name is an alias. */
84481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84482 choke me
84483 #else
84484 char (*f) () = $ac_func;
84485 #endif
84486 #ifdef __cplusplus
84488 #endif
84491 main ()
84493 return f != $ac_func;
84495 return 0;
84497 _ACEOF
84498 rm -f conftest.$ac_objext conftest$ac_exeext
84499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84500 (eval $ac_link) 2>conftest.er1
84501 ac_status=$?
84502 grep -v '^ *+' conftest.er1 >conftest.err
84503 rm -f conftest.er1
84504 cat conftest.err >&5
84505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506 (exit $ac_status); } &&
84507 { ac_try='test -z "$ac_c_werror_flag"
84508 || test ! -s conftest.err'
84509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84510 (eval $ac_try) 2>&5
84511 ac_status=$?
84512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84513 (exit $ac_status); }; } &&
84514 { ac_try='test -s conftest$ac_exeext'
84515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84516 (eval $ac_try) 2>&5
84517 ac_status=$?
84518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84519 (exit $ac_status); }; }; then
84520 eval "$as_ac_var=yes"
84521 else
84522 echo "$as_me: failed program was:" >&5
84523 sed 's/^/| /' conftest.$ac_ext >&5
84525 eval "$as_ac_var=no"
84527 rm -f conftest.err conftest.$ac_objext \
84528 conftest$ac_exeext conftest.$ac_ext
84530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84532 if test `eval echo '${'$as_ac_var'}'` = yes; then
84533 cat >>confdefs.h <<_ACEOF
84534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84535 _ACEOF
84538 done
84546 CXXFLAGS="$ac_save_CXXFLAGS"
84549 # For showmanyc_helper().
84552 for ac_header in sys/ioctl.h sys/filio.h
84554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84556 echo "$as_me:$LINENO: checking for $ac_header" >&5
84557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84559 echo $ECHO_N "(cached) $ECHO_C" >&6
84561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84563 else
84564 # Is the header compilable?
84565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84567 cat >conftest.$ac_ext <<_ACEOF
84568 /* confdefs.h. */
84569 _ACEOF
84570 cat confdefs.h >>conftest.$ac_ext
84571 cat >>conftest.$ac_ext <<_ACEOF
84572 /* end confdefs.h. */
84573 $ac_includes_default
84574 #include <$ac_header>
84575 _ACEOF
84576 rm -f conftest.$ac_objext
84577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84578 (eval $ac_compile) 2>conftest.er1
84579 ac_status=$?
84580 grep -v '^ *+' conftest.er1 >conftest.err
84581 rm -f conftest.er1
84582 cat conftest.err >&5
84583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84584 (exit $ac_status); } &&
84585 { ac_try='test -z "$ac_c_werror_flag"
84586 || test ! -s conftest.err'
84587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84588 (eval $ac_try) 2>&5
84589 ac_status=$?
84590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84591 (exit $ac_status); }; } &&
84592 { ac_try='test -s conftest.$ac_objext'
84593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84594 (eval $ac_try) 2>&5
84595 ac_status=$?
84596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84597 (exit $ac_status); }; }; then
84598 ac_header_compiler=yes
84599 else
84600 echo "$as_me: failed program was:" >&5
84601 sed 's/^/| /' conftest.$ac_ext >&5
84603 ac_header_compiler=no
84605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84607 echo "${ECHO_T}$ac_header_compiler" >&6
84609 # Is the header present?
84610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84612 cat >conftest.$ac_ext <<_ACEOF
84613 /* confdefs.h. */
84614 _ACEOF
84615 cat confdefs.h >>conftest.$ac_ext
84616 cat >>conftest.$ac_ext <<_ACEOF
84617 /* end confdefs.h. */
84618 #include <$ac_header>
84619 _ACEOF
84620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84622 ac_status=$?
84623 grep -v '^ *+' conftest.er1 >conftest.err
84624 rm -f conftest.er1
84625 cat conftest.err >&5
84626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84627 (exit $ac_status); } >/dev/null; then
84628 if test -s conftest.err; then
84629 ac_cpp_err=$ac_c_preproc_warn_flag
84630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84631 else
84632 ac_cpp_err=
84634 else
84635 ac_cpp_err=yes
84637 if test -z "$ac_cpp_err"; then
84638 ac_header_preproc=yes
84639 else
84640 echo "$as_me: failed program was:" >&5
84641 sed 's/^/| /' conftest.$ac_ext >&5
84643 ac_header_preproc=no
84645 rm -f conftest.err conftest.$ac_ext
84646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84647 echo "${ECHO_T}$ac_header_preproc" >&6
84649 # So? What about this header?
84650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84651 yes:no: )
84652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84655 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84656 ac_header_preproc=yes
84658 no:yes:* )
84659 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84660 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84661 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84662 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84663 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84664 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84665 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84666 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84669 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84670 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84672 cat <<\_ASBOX
84673 ## ----------------------------------------- ##
84674 ## Report this to the package-unused lists. ##
84675 ## ----------------------------------------- ##
84676 _ASBOX
84678 sed "s/^/$as_me: WARNING: /" >&2
84680 esac
84681 echo "$as_me:$LINENO: checking for $ac_header" >&5
84682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84684 echo $ECHO_N "(cached) $ECHO_C" >&6
84685 else
84686 eval "$as_ac_Header=\$ac_header_preproc"
84688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84693 cat >>confdefs.h <<_ACEOF
84694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84695 _ACEOF
84699 done
84702 echo "$as_me:$LINENO: checking for poll" >&5
84703 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84704 if test "${glibcxx_cv_POLL+set}" = set; then
84705 echo $ECHO_N "(cached) $ECHO_C" >&6
84706 else
84708 if test x$gcc_no_link = xyes; then
84709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84711 { (exit 1); exit 1; }; }
84713 cat >conftest.$ac_ext <<_ACEOF
84714 /* confdefs.h. */
84715 _ACEOF
84716 cat confdefs.h >>conftest.$ac_ext
84717 cat >>conftest.$ac_ext <<_ACEOF
84718 /* end confdefs.h. */
84719 #include <poll.h>
84721 main ()
84723 struct pollfd pfd[1];
84724 pfd[0].events = POLLIN;
84725 poll(pfd, 1, 0);
84727 return 0;
84729 _ACEOF
84730 rm -f conftest.$ac_objext conftest$ac_exeext
84731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84732 (eval $ac_link) 2>conftest.er1
84733 ac_status=$?
84734 grep -v '^ *+' conftest.er1 >conftest.err
84735 rm -f conftest.er1
84736 cat conftest.err >&5
84737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84738 (exit $ac_status); } &&
84739 { ac_try='test -z "$ac_c_werror_flag"
84740 || test ! -s conftest.err'
84741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84742 (eval $ac_try) 2>&5
84743 ac_status=$?
84744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84745 (exit $ac_status); }; } &&
84746 { ac_try='test -s conftest$ac_exeext'
84747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84748 (eval $ac_try) 2>&5
84749 ac_status=$?
84750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84751 (exit $ac_status); }; }; then
84752 glibcxx_cv_POLL=yes
84753 else
84754 echo "$as_me: failed program was:" >&5
84755 sed 's/^/| /' conftest.$ac_ext >&5
84757 glibcxx_cv_POLL=no
84759 rm -f conftest.err conftest.$ac_objext \
84760 conftest$ac_exeext conftest.$ac_ext
84764 if test $glibcxx_cv_POLL = yes; then
84766 cat >>confdefs.h <<\_ACEOF
84767 #define HAVE_POLL 1
84768 _ACEOF
84771 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84772 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84775 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84776 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84777 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84778 echo $ECHO_N "(cached) $ECHO_C" >&6
84779 else
84781 if test x$gcc_no_link = xyes; then
84782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84784 { (exit 1); exit 1; }; }
84786 cat >conftest.$ac_ext <<_ACEOF
84787 /* confdefs.h. */
84788 _ACEOF
84789 cat confdefs.h >>conftest.$ac_ext
84790 cat >>conftest.$ac_ext <<_ACEOF
84791 /* end confdefs.h. */
84792 #include <sys/stat.h>
84794 main ()
84796 struct stat buffer;
84797 fstat(0, &buffer);
84798 S_ISREG(buffer.st_mode);
84800 return 0;
84802 _ACEOF
84803 rm -f conftest.$ac_objext conftest$ac_exeext
84804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84805 (eval $ac_link) 2>conftest.er1
84806 ac_status=$?
84807 grep -v '^ *+' conftest.er1 >conftest.err
84808 rm -f conftest.er1
84809 cat conftest.err >&5
84810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84811 (exit $ac_status); } &&
84812 { ac_try='test -z "$ac_c_werror_flag"
84813 || test ! -s conftest.err'
84814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84815 (eval $ac_try) 2>&5
84816 ac_status=$?
84817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84818 (exit $ac_status); }; } &&
84819 { ac_try='test -s conftest$ac_exeext'
84820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84821 (eval $ac_try) 2>&5
84822 ac_status=$?
84823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84824 (exit $ac_status); }; }; then
84825 glibcxx_cv_S_ISREG=yes
84826 else
84827 echo "$as_me: failed program was:" >&5
84828 sed 's/^/| /' conftest.$ac_ext >&5
84830 glibcxx_cv_S_ISREG=no
84832 rm -f conftest.err conftest.$ac_objext \
84833 conftest$ac_exeext conftest.$ac_ext
84837 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84838 echo $ECHO_N "(cached) $ECHO_C" >&6
84839 else
84841 if test x$gcc_no_link = xyes; then
84842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84844 { (exit 1); exit 1; }; }
84846 cat >conftest.$ac_ext <<_ACEOF
84847 /* confdefs.h. */
84848 _ACEOF
84849 cat confdefs.h >>conftest.$ac_ext
84850 cat >>conftest.$ac_ext <<_ACEOF
84851 /* end confdefs.h. */
84852 #include <sys/stat.h>
84854 main ()
84856 struct stat buffer;
84857 fstat(0, &buffer);
84858 S_IFREG & buffer.st_mode;
84860 return 0;
84862 _ACEOF
84863 rm -f conftest.$ac_objext conftest$ac_exeext
84864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84865 (eval $ac_link) 2>conftest.er1
84866 ac_status=$?
84867 grep -v '^ *+' conftest.er1 >conftest.err
84868 rm -f conftest.er1
84869 cat conftest.err >&5
84870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84871 (exit $ac_status); } &&
84872 { ac_try='test -z "$ac_c_werror_flag"
84873 || test ! -s conftest.err'
84874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84875 (eval $ac_try) 2>&5
84876 ac_status=$?
84877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84878 (exit $ac_status); }; } &&
84879 { ac_try='test -s conftest$ac_exeext'
84880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84881 (eval $ac_try) 2>&5
84882 ac_status=$?
84883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84884 (exit $ac_status); }; }; then
84885 glibcxx_cv_S_IFREG=yes
84886 else
84887 echo "$as_me: failed program was:" >&5
84888 sed 's/^/| /' conftest.$ac_ext >&5
84890 glibcxx_cv_S_IFREG=no
84892 rm -f conftest.err conftest.$ac_objext \
84893 conftest$ac_exeext conftest.$ac_ext
84897 res=no
84898 if test $glibcxx_cv_S_ISREG = yes; then
84900 cat >>confdefs.h <<\_ACEOF
84901 #define HAVE_S_ISREG 1
84902 _ACEOF
84904 res=S_ISREG
84905 elif test $glibcxx_cv_S_IFREG = yes; then
84907 cat >>confdefs.h <<\_ACEOF
84908 #define HAVE_S_IFREG 1
84909 _ACEOF
84911 res=S_IFREG
84913 echo "$as_me:$LINENO: result: $res" >&5
84914 echo "${ECHO_T}$res" >&6
84917 # For xsputn_2().
84919 for ac_header in sys/uio.h
84921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84923 echo "$as_me:$LINENO: checking for $ac_header" >&5
84924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84926 echo $ECHO_N "(cached) $ECHO_C" >&6
84928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84930 else
84931 # Is the header compilable?
84932 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84934 cat >conftest.$ac_ext <<_ACEOF
84935 /* confdefs.h. */
84936 _ACEOF
84937 cat confdefs.h >>conftest.$ac_ext
84938 cat >>conftest.$ac_ext <<_ACEOF
84939 /* end confdefs.h. */
84940 $ac_includes_default
84941 #include <$ac_header>
84942 _ACEOF
84943 rm -f conftest.$ac_objext
84944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84945 (eval $ac_compile) 2>conftest.er1
84946 ac_status=$?
84947 grep -v '^ *+' conftest.er1 >conftest.err
84948 rm -f conftest.er1
84949 cat conftest.err >&5
84950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84951 (exit $ac_status); } &&
84952 { ac_try='test -z "$ac_c_werror_flag"
84953 || test ! -s conftest.err'
84954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84955 (eval $ac_try) 2>&5
84956 ac_status=$?
84957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84958 (exit $ac_status); }; } &&
84959 { ac_try='test -s conftest.$ac_objext'
84960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84961 (eval $ac_try) 2>&5
84962 ac_status=$?
84963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84964 (exit $ac_status); }; }; then
84965 ac_header_compiler=yes
84966 else
84967 echo "$as_me: failed program was:" >&5
84968 sed 's/^/| /' conftest.$ac_ext >&5
84970 ac_header_compiler=no
84972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84974 echo "${ECHO_T}$ac_header_compiler" >&6
84976 # Is the header present?
84977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84979 cat >conftest.$ac_ext <<_ACEOF
84980 /* confdefs.h. */
84981 _ACEOF
84982 cat confdefs.h >>conftest.$ac_ext
84983 cat >>conftest.$ac_ext <<_ACEOF
84984 /* end confdefs.h. */
84985 #include <$ac_header>
84986 _ACEOF
84987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84989 ac_status=$?
84990 grep -v '^ *+' conftest.er1 >conftest.err
84991 rm -f conftest.er1
84992 cat conftest.err >&5
84993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84994 (exit $ac_status); } >/dev/null; then
84995 if test -s conftest.err; then
84996 ac_cpp_err=$ac_c_preproc_warn_flag
84997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84998 else
84999 ac_cpp_err=
85001 else
85002 ac_cpp_err=yes
85004 if test -z "$ac_cpp_err"; then
85005 ac_header_preproc=yes
85006 else
85007 echo "$as_me: failed program was:" >&5
85008 sed 's/^/| /' conftest.$ac_ext >&5
85010 ac_header_preproc=no
85012 rm -f conftest.err conftest.$ac_ext
85013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85014 echo "${ECHO_T}$ac_header_preproc" >&6
85016 # So? What about this header?
85017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85018 yes:no: )
85019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85023 ac_header_preproc=yes
85025 no:yes:* )
85026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85039 cat <<\_ASBOX
85040 ## ----------------------------------------- ##
85041 ## Report this to the package-unused lists. ##
85042 ## ----------------------------------------- ##
85043 _ASBOX
85045 sed "s/^/$as_me: WARNING: /" >&2
85047 esac
85048 echo "$as_me:$LINENO: checking for $ac_header" >&5
85049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85051 echo $ECHO_N "(cached) $ECHO_C" >&6
85052 else
85053 eval "$as_ac_Header=\$ac_header_preproc"
85055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85060 cat >>confdefs.h <<_ACEOF
85061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85062 _ACEOF
85066 done
85069 echo "$as_me:$LINENO: checking for writev" >&5
85070 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85071 if test "${glibcxx_cv_WRITEV+set}" = set; then
85072 echo $ECHO_N "(cached) $ECHO_C" >&6
85073 else
85075 if test x$gcc_no_link = xyes; then
85076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85078 { (exit 1); exit 1; }; }
85080 cat >conftest.$ac_ext <<_ACEOF
85081 /* confdefs.h. */
85082 _ACEOF
85083 cat confdefs.h >>conftest.$ac_ext
85084 cat >>conftest.$ac_ext <<_ACEOF
85085 /* end confdefs.h. */
85086 #include <sys/uio.h>
85088 main ()
85090 struct iovec iov[2];
85091 writev(0, iov, 0);
85093 return 0;
85095 _ACEOF
85096 rm -f conftest.$ac_objext conftest$ac_exeext
85097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85098 (eval $ac_link) 2>conftest.er1
85099 ac_status=$?
85100 grep -v '^ *+' conftest.er1 >conftest.err
85101 rm -f conftest.er1
85102 cat conftest.err >&5
85103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85104 (exit $ac_status); } &&
85105 { ac_try='test -z "$ac_c_werror_flag"
85106 || test ! -s conftest.err'
85107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85108 (eval $ac_try) 2>&5
85109 ac_status=$?
85110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85111 (exit $ac_status); }; } &&
85112 { ac_try='test -s conftest$ac_exeext'
85113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85114 (eval $ac_try) 2>&5
85115 ac_status=$?
85116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85117 (exit $ac_status); }; }; then
85118 glibcxx_cv_WRITEV=yes
85119 else
85120 echo "$as_me: failed program was:" >&5
85121 sed 's/^/| /' conftest.$ac_ext >&5
85123 glibcxx_cv_WRITEV=no
85125 rm -f conftest.err conftest.$ac_objext \
85126 conftest$ac_exeext conftest.$ac_ext
85130 if test $glibcxx_cv_WRITEV = yes; then
85132 cat >>confdefs.h <<\_ACEOF
85133 #define HAVE_WRITEV 1
85134 _ACEOF
85137 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85138 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85141 cat >>confdefs.h <<\_ACEOF
85142 #define HAVE_LC_MESSAGES 1
85143 _ACEOF
85146 cat >conftest.$ac_ext <<_ACEOF
85147 /* confdefs.h. */
85148 _ACEOF
85149 cat confdefs.h >>conftest.$ac_ext
85150 cat >>conftest.$ac_ext <<_ACEOF
85151 /* end confdefs.h. */
85152 #include <setjmp.h>
85154 main ()
85156 sigjmp_buf env;
85157 while (! sigsetjmp (env, 1))
85158 siglongjmp (env, 1);
85161 return 0;
85163 _ACEOF
85164 rm -f conftest.$ac_objext
85165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85166 (eval $ac_compile) 2>conftest.er1
85167 ac_status=$?
85168 grep -v '^ *+' conftest.er1 >conftest.err
85169 rm -f conftest.er1
85170 cat conftest.err >&5
85171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85172 (exit $ac_status); } &&
85173 { ac_try='test -z "$ac_c_werror_flag"
85174 || test ! -s conftest.err'
85175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85176 (eval $ac_try) 2>&5
85177 ac_status=$?
85178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85179 (exit $ac_status); }; } &&
85180 { ac_try='test -s conftest.$ac_objext'
85181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85182 (eval $ac_try) 2>&5
85183 ac_status=$?
85184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85185 (exit $ac_status); }; }; then
85187 cat >>confdefs.h <<\_ACEOF
85188 #define HAVE_SIGSETJMP 1
85189 _ACEOF
85191 else
85192 echo "$as_me: failed program was:" >&5
85193 sed 's/^/| /' conftest.$ac_ext >&5
85196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85198 cat >>confdefs.h <<\_ACEOF
85199 #define HAVE_MMAP 1
85200 _ACEOF
85204 *djgpp)
85225 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85226 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85227 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85228 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85232 echo "$as_me:$LINENO: checking for $ac_header" >&5
85233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85235 echo $ECHO_N "(cached) $ECHO_C" >&6
85237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85239 else
85240 # Is the header compilable?
85241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85243 cat >conftest.$ac_ext <<_ACEOF
85244 /* confdefs.h. */
85245 _ACEOF
85246 cat confdefs.h >>conftest.$ac_ext
85247 cat >>conftest.$ac_ext <<_ACEOF
85248 /* end confdefs.h. */
85249 $ac_includes_default
85250 #include <$ac_header>
85251 _ACEOF
85252 rm -f conftest.$ac_objext
85253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85254 (eval $ac_compile) 2>conftest.er1
85255 ac_status=$?
85256 grep -v '^ *+' conftest.er1 >conftest.err
85257 rm -f conftest.er1
85258 cat conftest.err >&5
85259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85260 (exit $ac_status); } &&
85261 { ac_try='test -z "$ac_c_werror_flag"
85262 || test ! -s conftest.err'
85263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85264 (eval $ac_try) 2>&5
85265 ac_status=$?
85266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85267 (exit $ac_status); }; } &&
85268 { ac_try='test -s conftest.$ac_objext'
85269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85270 (eval $ac_try) 2>&5
85271 ac_status=$?
85272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85273 (exit $ac_status); }; }; then
85274 ac_header_compiler=yes
85275 else
85276 echo "$as_me: failed program was:" >&5
85277 sed 's/^/| /' conftest.$ac_ext >&5
85279 ac_header_compiler=no
85281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85283 echo "${ECHO_T}$ac_header_compiler" >&6
85285 # Is the header present?
85286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85288 cat >conftest.$ac_ext <<_ACEOF
85289 /* confdefs.h. */
85290 _ACEOF
85291 cat confdefs.h >>conftest.$ac_ext
85292 cat >>conftest.$ac_ext <<_ACEOF
85293 /* end confdefs.h. */
85294 #include <$ac_header>
85295 _ACEOF
85296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85298 ac_status=$?
85299 grep -v '^ *+' conftest.er1 >conftest.err
85300 rm -f conftest.er1
85301 cat conftest.err >&5
85302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303 (exit $ac_status); } >/dev/null; then
85304 if test -s conftest.err; then
85305 ac_cpp_err=$ac_c_preproc_warn_flag
85306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85307 else
85308 ac_cpp_err=
85310 else
85311 ac_cpp_err=yes
85313 if test -z "$ac_cpp_err"; then
85314 ac_header_preproc=yes
85315 else
85316 echo "$as_me: failed program was:" >&5
85317 sed 's/^/| /' conftest.$ac_ext >&5
85319 ac_header_preproc=no
85321 rm -f conftest.err conftest.$ac_ext
85322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85323 echo "${ECHO_T}$ac_header_preproc" >&6
85325 # So? What about this header?
85326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85327 yes:no: )
85328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85332 ac_header_preproc=yes
85334 no:yes:* )
85335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85348 cat <<\_ASBOX
85349 ## ----------------------------------------- ##
85350 ## Report this to the package-unused lists. ##
85351 ## ----------------------------------------- ##
85352 _ASBOX
85354 sed "s/^/$as_me: WARNING: /" >&2
85356 esac
85357 echo "$as_me:$LINENO: checking for $ac_header" >&5
85358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85360 echo $ECHO_N "(cached) $ECHO_C" >&6
85361 else
85362 eval "$as_ac_Header=\$ac_header_preproc"
85364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85369 cat >>confdefs.h <<_ACEOF
85370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85371 _ACEOF
85375 done
85377 # GLIBCXX_CHECK_MATH_SUPPORT
85378 cat >>confdefs.h <<\_ACEOF
85379 #define HAVE_LIBM 1
85380 _ACEOF
85382 cat >>confdefs.h <<\_ACEOF
85383 #define HAVE_ISINF 1
85384 _ACEOF
85386 cat >>confdefs.h <<\_ACEOF
85387 #define HAVE_ISNAN 1
85388 _ACEOF
85390 cat >>confdefs.h <<\_ACEOF
85391 #define HAVE_FINITE 1
85392 _ACEOF
85394 cat >>confdefs.h <<\_ACEOF
85395 #define HAVE_COPYSIGN 1
85396 _ACEOF
85398 cat >>confdefs.h <<\_ACEOF
85399 #define HAVE_SINCOS 1
85400 _ACEOF
85402 cat >>confdefs.h <<\_ACEOF
85403 #define HAVE_HYPOT 1
85404 _ACEOF
85406 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85407 cat >>confdefs.h <<\_ACEOF
85408 #define HAVE___BUILTIN_ABS 1
85409 _ACEOF
85411 cat >>confdefs.h <<\_ACEOF
85412 #define HAVE___BUILTIN_FABSF 1
85413 _ACEOF
85415 cat >>confdefs.h <<\_ACEOF
85416 #define HAVE___BUILTIN_FABS 1
85417 _ACEOF
85419 cat >>confdefs.h <<\_ACEOF
85420 #define HAVE___BUILTIN_FABSL 1
85421 _ACEOF
85423 cat >>confdefs.h <<\_ACEOF
85424 #define HAVE___BUILTIN_LABS 1
85425 _ACEOF
85427 cat >>confdefs.h <<\_ACEOF
85428 #define HAVE___BUILTIN_SQRTF 1
85429 _ACEOF
85431 cat >>confdefs.h <<\_ACEOF
85432 #define HAVE___BUILTIN_SQRT 1
85433 _ACEOF
85435 cat >>confdefs.h <<\_ACEOF
85436 #define HAVE___BUILTIN_SQRTL 1
85437 _ACEOF
85439 cat >>confdefs.h <<\_ACEOF
85440 #define HAVE___BUILTIN_SINF 1
85441 _ACEOF
85443 cat >>confdefs.h <<\_ACEOF
85444 #define HAVE___BUILTIN_SIN 1
85445 _ACEOF
85447 cat >>confdefs.h <<\_ACEOF
85448 #define HAVE___BUILTIN_SINL 1
85449 _ACEOF
85451 cat >>confdefs.h <<\_ACEOF
85452 #define HAVE___BUILTIN_COSF 1
85453 _ACEOF
85455 cat >>confdefs.h <<\_ACEOF
85456 #define HAVE___BUILTIN_COS 1
85457 _ACEOF
85459 cat >>confdefs.h <<\_ACEOF
85460 #define HAVE___BUILTIN_COSL 1
85461 _ACEOF
85463 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85464 # GLIBCXX_CHECK_STDLIB_SUPPORT
85465 cat >>confdefs.h <<\_ACEOF
85466 #define HAVE_COPYSIGN 1
85467 _ACEOF
85469 cat >>confdefs.h <<\_ACEOF
85470 #define HAVE_COPYSIGNF 1
85471 _ACEOF
85473 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85474 cat >>confdefs.h <<\_ACEOF
85475 #define HAVE_S_ISREG 1
85476 _ACEOF
85478 cat >>confdefs.h <<\_ACEOF
85479 #define HAVE_S_IFREG 1
85480 _ACEOF
85482 cat >>confdefs.h <<\_ACEOF
85483 #define HAVE_WRITEV 1
85484 _ACEOF
85488 *-freebsd*)
85505 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85506 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85507 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85508 sys/time.h unistd.h
85510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85512 echo "$as_me:$LINENO: checking for $ac_header" >&5
85513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85515 echo $ECHO_N "(cached) $ECHO_C" >&6
85517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85519 else
85520 # Is the header compilable?
85521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85523 cat >conftest.$ac_ext <<_ACEOF
85524 /* confdefs.h. */
85525 _ACEOF
85526 cat confdefs.h >>conftest.$ac_ext
85527 cat >>conftest.$ac_ext <<_ACEOF
85528 /* end confdefs.h. */
85529 $ac_includes_default
85530 #include <$ac_header>
85531 _ACEOF
85532 rm -f conftest.$ac_objext
85533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85534 (eval $ac_compile) 2>conftest.er1
85535 ac_status=$?
85536 grep -v '^ *+' conftest.er1 >conftest.err
85537 rm -f conftest.er1
85538 cat conftest.err >&5
85539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85540 (exit $ac_status); } &&
85541 { ac_try='test -z "$ac_c_werror_flag"
85542 || test ! -s conftest.err'
85543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85544 (eval $ac_try) 2>&5
85545 ac_status=$?
85546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85547 (exit $ac_status); }; } &&
85548 { ac_try='test -s conftest.$ac_objext'
85549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85550 (eval $ac_try) 2>&5
85551 ac_status=$?
85552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85553 (exit $ac_status); }; }; then
85554 ac_header_compiler=yes
85555 else
85556 echo "$as_me: failed program was:" >&5
85557 sed 's/^/| /' conftest.$ac_ext >&5
85559 ac_header_compiler=no
85561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85563 echo "${ECHO_T}$ac_header_compiler" >&6
85565 # Is the header present?
85566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85568 cat >conftest.$ac_ext <<_ACEOF
85569 /* confdefs.h. */
85570 _ACEOF
85571 cat confdefs.h >>conftest.$ac_ext
85572 cat >>conftest.$ac_ext <<_ACEOF
85573 /* end confdefs.h. */
85574 #include <$ac_header>
85575 _ACEOF
85576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85578 ac_status=$?
85579 grep -v '^ *+' conftest.er1 >conftest.err
85580 rm -f conftest.er1
85581 cat conftest.err >&5
85582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85583 (exit $ac_status); } >/dev/null; then
85584 if test -s conftest.err; then
85585 ac_cpp_err=$ac_c_preproc_warn_flag
85586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85587 else
85588 ac_cpp_err=
85590 else
85591 ac_cpp_err=yes
85593 if test -z "$ac_cpp_err"; then
85594 ac_header_preproc=yes
85595 else
85596 echo "$as_me: failed program was:" >&5
85597 sed 's/^/| /' conftest.$ac_ext >&5
85599 ac_header_preproc=no
85601 rm -f conftest.err conftest.$ac_ext
85602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85603 echo "${ECHO_T}$ac_header_preproc" >&6
85605 # So? What about this header?
85606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85607 yes:no: )
85608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85612 ac_header_preproc=yes
85614 no:yes:* )
85615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85628 cat <<\_ASBOX
85629 ## ----------------------------------------- ##
85630 ## Report this to the package-unused lists. ##
85631 ## ----------------------------------------- ##
85632 _ASBOX
85634 sed "s/^/$as_me: WARNING: /" >&2
85636 esac
85637 echo "$as_me:$LINENO: checking for $ac_header" >&5
85638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85640 echo $ECHO_N "(cached) $ECHO_C" >&6
85641 else
85642 eval "$as_ac_Header=\$ac_header_preproc"
85644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85649 cat >>confdefs.h <<_ACEOF
85650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85651 _ACEOF
85655 done
85657 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85660 # If we're not using GNU ld, then there's no point in even trying these
85661 # tests. Check for that first. We should have already tested for gld
85662 # by now (in libtool), but require it now just to be safe...
85663 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85664 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85668 # The name set by libtool depends on the version of libtool. Shame on us
85669 # for depending on an impl detail, but c'est la vie. Older versions used
85670 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85671 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85672 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85673 # set (hence we're using an older libtool), then set it.
85674 if test x${with_gnu_ld+set} != xset; then
85675 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85676 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85677 with_gnu_ld=no
85678 else
85679 with_gnu_ld=$ac_cv_prog_gnu_ld
85683 # Start by getting the version number. I think the libtool test already
85684 # does some of this, but throws away the result.
85685 glibcxx_ld_is_gold=no
85686 if test x"$with_gnu_ld" = x"yes"; then
85687 echo "$as_me:$LINENO: checking for ld version" >&5
85688 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85690 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85691 glibcxx_ld_is_gold=yes
85693 ldver=`$LD --version 2>/dev/null | head -1 | \
85694 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85696 glibcxx_gnu_ld_version=`echo $ldver | \
85697 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85698 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85699 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85702 # Set --gc-sections.
85703 glibcxx_have_gc_sections=no
85704 if test "$glibcxx_ld_is_gold" = "yes"; then
85705 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85706 glibcxx_have_gc_sections=yes
85708 else
85709 glibcxx_gcsections_min_ld=21602
85710 if test x"$with_gnu_ld" = x"yes" &&
85711 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85712 glibcxx_have_gc_sections=yes
85715 if test "$glibcxx_have_gc_sections" = "yes"; then
85716 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85717 # NB: This flag only works reliably after 2.16.1. Configure tests
85718 # for this are difficult, so hard wire a value that should work.
85720 ac_test_CFLAGS="${CFLAGS+set}"
85721 ac_save_CFLAGS="$CFLAGS"
85722 CFLAGS='-Wl,--gc-sections'
85724 # Check for -Wl,--gc-sections
85725 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85726 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85727 if test x$gcc_no_link = xyes; then
85728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85730 { (exit 1); exit 1; }; }
85732 cat >conftest.$ac_ext <<_ACEOF
85733 /* confdefs.h. */
85734 _ACEOF
85735 cat confdefs.h >>conftest.$ac_ext
85736 cat >>conftest.$ac_ext <<_ACEOF
85737 /* end confdefs.h. */
85738 int one(void) { return 1; }
85739 int two(void) { return 2; }
85742 main ()
85744 two();
85746 return 0;
85748 _ACEOF
85749 rm -f conftest.$ac_objext conftest$ac_exeext
85750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85751 (eval $ac_link) 2>conftest.er1
85752 ac_status=$?
85753 grep -v '^ *+' conftest.er1 >conftest.err
85754 rm -f conftest.er1
85755 cat conftest.err >&5
85756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85757 (exit $ac_status); } &&
85758 { ac_try='test -z "$ac_c_werror_flag"
85759 || test ! -s conftest.err'
85760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85761 (eval $ac_try) 2>&5
85762 ac_status=$?
85763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85764 (exit $ac_status); }; } &&
85765 { ac_try='test -s conftest$ac_exeext'
85766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85767 (eval $ac_try) 2>&5
85768 ac_status=$?
85769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85770 (exit $ac_status); }; }; then
85771 ac_gcsections=yes
85772 else
85773 echo "$as_me: failed program was:" >&5
85774 sed 's/^/| /' conftest.$ac_ext >&5
85776 ac_gcsections=no
85778 rm -f conftest.err conftest.$ac_objext \
85779 conftest$ac_exeext conftest.$ac_ext
85780 if test "$ac_gcsections" = "yes"; then
85781 rm -f conftest.c
85782 touch conftest.c
85783 if $CC -c conftest.c; then
85784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85785 grep "Warning: gc-sections option ignored" > /dev/null; then
85786 ac_gcsections=no
85789 rm -f conftest.c conftest.o conftest
85791 if test "$ac_gcsections" = "yes"; then
85792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85794 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85795 echo "${ECHO_T}$ac_gcsections" >&6
85797 if test "$ac_test_CFLAGS" = set; then
85798 CFLAGS="$ac_save_CFLAGS"
85799 else
85800 # this is the suspicious part
85801 CFLAGS=''
85805 # Set -z,relro.
85806 # Note this is only for shared objects.
85807 ac_ld_relro=no
85808 if test x"$with_gnu_ld" = x"yes"; then
85809 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85810 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85811 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85812 if test -n "$cxx_z_relo"; then
85813 OPT_LDFLAGS="-Wl,-z,relro"
85814 ac_ld_relro=yes
85816 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85817 echo "${ECHO_T}$ac_ld_relro" >&6
85820 # Set linker optimization flags.
85821 if test x"$with_gnu_ld" = x"yes"; then
85822 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85830 echo "$as_me:$LINENO: checking for main in -lm" >&5
85831 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85832 if test "${ac_cv_lib_m_main+set}" = set; then
85833 echo $ECHO_N "(cached) $ECHO_C" >&6
85834 else
85835 ac_check_lib_save_LIBS=$LIBS
85836 LIBS="-lm $LIBS"
85837 if test x$gcc_no_link = xyes; then
85838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85840 { (exit 1); exit 1; }; }
85842 cat >conftest.$ac_ext <<_ACEOF
85843 /* confdefs.h. */
85844 _ACEOF
85845 cat confdefs.h >>conftest.$ac_ext
85846 cat >>conftest.$ac_ext <<_ACEOF
85847 /* end confdefs.h. */
85851 main ()
85853 main ();
85855 return 0;
85857 _ACEOF
85858 rm -f conftest.$ac_objext conftest$ac_exeext
85859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85860 (eval $ac_link) 2>conftest.er1
85861 ac_status=$?
85862 grep -v '^ *+' conftest.er1 >conftest.err
85863 rm -f conftest.er1
85864 cat conftest.err >&5
85865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85866 (exit $ac_status); } &&
85867 { ac_try='test -z "$ac_c_werror_flag"
85868 || test ! -s conftest.err'
85869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85870 (eval $ac_try) 2>&5
85871 ac_status=$?
85872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85873 (exit $ac_status); }; } &&
85874 { ac_try='test -s conftest$ac_exeext'
85875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85876 (eval $ac_try) 2>&5
85877 ac_status=$?
85878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85879 (exit $ac_status); }; }; then
85880 ac_cv_lib_m_main=yes
85881 else
85882 echo "$as_me: failed program was:" >&5
85883 sed 's/^/| /' conftest.$ac_ext >&5
85885 ac_cv_lib_m_main=no
85887 rm -f conftest.err conftest.$ac_objext \
85888 conftest$ac_exeext conftest.$ac_ext
85889 LIBS=$ac_check_lib_save_LIBS
85891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85892 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85893 if test $ac_cv_lib_m_main = yes; then
85894 cat >>confdefs.h <<_ACEOF
85895 #define HAVE_LIBM 1
85896 _ACEOF
85898 LIBS="-lm $LIBS"
85903 for ac_func in copysignf
85905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85906 echo "$as_me:$LINENO: checking for $ac_func" >&5
85907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85908 if eval "test \"\${$as_ac_var+set}\" = set"; then
85909 echo $ECHO_N "(cached) $ECHO_C" >&6
85910 else
85911 if test x$gcc_no_link = xyes; then
85912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85914 { (exit 1); exit 1; }; }
85916 cat >conftest.$ac_ext <<_ACEOF
85917 /* confdefs.h. */
85918 _ACEOF
85919 cat confdefs.h >>conftest.$ac_ext
85920 cat >>conftest.$ac_ext <<_ACEOF
85921 /* end confdefs.h. */
85922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85924 #define $ac_func innocuous_$ac_func
85926 /* System header to define __stub macros and hopefully few prototypes,
85927 which can conflict with char $ac_func (); below.
85928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85929 <limits.h> exists even on freestanding compilers. */
85931 #ifdef __STDC__
85932 # include <limits.h>
85933 #else
85934 # include <assert.h>
85935 #endif
85937 #undef $ac_func
85939 /* Override any gcc2 internal prototype to avoid an error. */
85940 #ifdef __cplusplus
85941 extern "C"
85943 #endif
85944 /* We use char because int might match the return type of a gcc2
85945 builtin and then its argument prototype would still apply. */
85946 char $ac_func ();
85947 /* The GNU C library defines this for functions which it implements
85948 to always fail with ENOSYS. Some functions are actually named
85949 something starting with __ and the normal name is an alias. */
85950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85951 choke me
85952 #else
85953 char (*f) () = $ac_func;
85954 #endif
85955 #ifdef __cplusplus
85957 #endif
85960 main ()
85962 return f != $ac_func;
85964 return 0;
85966 _ACEOF
85967 rm -f conftest.$ac_objext conftest$ac_exeext
85968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85969 (eval $ac_link) 2>conftest.er1
85970 ac_status=$?
85971 grep -v '^ *+' conftest.er1 >conftest.err
85972 rm -f conftest.er1
85973 cat conftest.err >&5
85974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975 (exit $ac_status); } &&
85976 { ac_try='test -z "$ac_c_werror_flag"
85977 || test ! -s conftest.err'
85978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85979 (eval $ac_try) 2>&5
85980 ac_status=$?
85981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85982 (exit $ac_status); }; } &&
85983 { ac_try='test -s conftest$ac_exeext'
85984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85985 (eval $ac_try) 2>&5
85986 ac_status=$?
85987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988 (exit $ac_status); }; }; then
85989 eval "$as_ac_var=yes"
85990 else
85991 echo "$as_me: failed program was:" >&5
85992 sed 's/^/| /' conftest.$ac_ext >&5
85994 eval "$as_ac_var=no"
85996 rm -f conftest.err conftest.$ac_objext \
85997 conftest$ac_exeext conftest.$ac_ext
85999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86001 if test `eval echo '${'$as_ac_var'}'` = yes; then
86002 cat >>confdefs.h <<_ACEOF
86003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86004 _ACEOF
86006 else
86007 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86009 done
86013 for ac_func in __signbit
86015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86016 echo "$as_me:$LINENO: checking for $ac_func" >&5
86017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86018 if eval "test \"\${$as_ac_var+set}\" = set"; then
86019 echo $ECHO_N "(cached) $ECHO_C" >&6
86020 else
86021 if test x$gcc_no_link = xyes; then
86022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86024 { (exit 1); exit 1; }; }
86026 cat >conftest.$ac_ext <<_ACEOF
86027 /* confdefs.h. */
86028 _ACEOF
86029 cat confdefs.h >>conftest.$ac_ext
86030 cat >>conftest.$ac_ext <<_ACEOF
86031 /* end confdefs.h. */
86032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86034 #define $ac_func innocuous_$ac_func
86036 /* System header to define __stub macros and hopefully few prototypes,
86037 which can conflict with char $ac_func (); below.
86038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86039 <limits.h> exists even on freestanding compilers. */
86041 #ifdef __STDC__
86042 # include <limits.h>
86043 #else
86044 # include <assert.h>
86045 #endif
86047 #undef $ac_func
86049 /* Override any gcc2 internal prototype to avoid an error. */
86050 #ifdef __cplusplus
86051 extern "C"
86053 #endif
86054 /* We use char because int might match the return type of a gcc2
86055 builtin and then its argument prototype would still apply. */
86056 char $ac_func ();
86057 /* The GNU C library defines this for functions which it implements
86058 to always fail with ENOSYS. Some functions are actually named
86059 something starting with __ and the normal name is an alias. */
86060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86061 choke me
86062 #else
86063 char (*f) () = $ac_func;
86064 #endif
86065 #ifdef __cplusplus
86067 #endif
86070 main ()
86072 return f != $ac_func;
86074 return 0;
86076 _ACEOF
86077 rm -f conftest.$ac_objext conftest$ac_exeext
86078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86079 (eval $ac_link) 2>conftest.er1
86080 ac_status=$?
86081 grep -v '^ *+' conftest.er1 >conftest.err
86082 rm -f conftest.er1
86083 cat conftest.err >&5
86084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86085 (exit $ac_status); } &&
86086 { ac_try='test -z "$ac_c_werror_flag"
86087 || test ! -s conftest.err'
86088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86089 (eval $ac_try) 2>&5
86090 ac_status=$?
86091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86092 (exit $ac_status); }; } &&
86093 { ac_try='test -s conftest$ac_exeext'
86094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86095 (eval $ac_try) 2>&5
86096 ac_status=$?
86097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86098 (exit $ac_status); }; }; then
86099 eval "$as_ac_var=yes"
86100 else
86101 echo "$as_me: failed program was:" >&5
86102 sed 's/^/| /' conftest.$ac_ext >&5
86104 eval "$as_ac_var=no"
86106 rm -f conftest.err conftest.$ac_objext \
86107 conftest$ac_exeext conftest.$ac_ext
86109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86111 if test `eval echo '${'$as_ac_var'}'` = yes; then
86112 cat >>confdefs.h <<_ACEOF
86113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86114 _ACEOF
86116 else
86117 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86119 done
86123 for ac_func in __signbitf
86125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86126 echo "$as_me:$LINENO: checking for $ac_func" >&5
86127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86128 if eval "test \"\${$as_ac_var+set}\" = set"; then
86129 echo $ECHO_N "(cached) $ECHO_C" >&6
86130 else
86131 if test x$gcc_no_link = xyes; then
86132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86134 { (exit 1); exit 1; }; }
86136 cat >conftest.$ac_ext <<_ACEOF
86137 /* confdefs.h. */
86138 _ACEOF
86139 cat confdefs.h >>conftest.$ac_ext
86140 cat >>conftest.$ac_ext <<_ACEOF
86141 /* end confdefs.h. */
86142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86144 #define $ac_func innocuous_$ac_func
86146 /* System header to define __stub macros and hopefully few prototypes,
86147 which can conflict with char $ac_func (); below.
86148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86149 <limits.h> exists even on freestanding compilers. */
86151 #ifdef __STDC__
86152 # include <limits.h>
86153 #else
86154 # include <assert.h>
86155 #endif
86157 #undef $ac_func
86159 /* Override any gcc2 internal prototype to avoid an error. */
86160 #ifdef __cplusplus
86161 extern "C"
86163 #endif
86164 /* We use char because int might match the return type of a gcc2
86165 builtin and then its argument prototype would still apply. */
86166 char $ac_func ();
86167 /* The GNU C library defines this for functions which it implements
86168 to always fail with ENOSYS. Some functions are actually named
86169 something starting with __ and the normal name is an alias. */
86170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86171 choke me
86172 #else
86173 char (*f) () = $ac_func;
86174 #endif
86175 #ifdef __cplusplus
86177 #endif
86180 main ()
86182 return f != $ac_func;
86184 return 0;
86186 _ACEOF
86187 rm -f conftest.$ac_objext conftest$ac_exeext
86188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86189 (eval $ac_link) 2>conftest.er1
86190 ac_status=$?
86191 grep -v '^ *+' conftest.er1 >conftest.err
86192 rm -f conftest.er1
86193 cat conftest.err >&5
86194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86195 (exit $ac_status); } &&
86196 { ac_try='test -z "$ac_c_werror_flag"
86197 || test ! -s conftest.err'
86198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86199 (eval $ac_try) 2>&5
86200 ac_status=$?
86201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86202 (exit $ac_status); }; } &&
86203 { ac_try='test -s conftest$ac_exeext'
86204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86205 (eval $ac_try) 2>&5
86206 ac_status=$?
86207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86208 (exit $ac_status); }; }; then
86209 eval "$as_ac_var=yes"
86210 else
86211 echo "$as_me: failed program was:" >&5
86212 sed 's/^/| /' conftest.$ac_ext >&5
86214 eval "$as_ac_var=no"
86216 rm -f conftest.err conftest.$ac_objext \
86217 conftest$ac_exeext conftest.$ac_ext
86219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86221 if test `eval echo '${'$as_ac_var'}'` = yes; then
86222 cat >>confdefs.h <<_ACEOF
86223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86224 _ACEOF
86226 else
86227 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86229 done
86232 if test x$ac_cv_func_copysignl = x"yes"; then
86234 for ac_func in __signbitl
86236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86237 echo "$as_me:$LINENO: checking for $ac_func" >&5
86238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86239 if eval "test \"\${$as_ac_var+set}\" = set"; then
86240 echo $ECHO_N "(cached) $ECHO_C" >&6
86241 else
86242 if test x$gcc_no_link = xyes; then
86243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86245 { (exit 1); exit 1; }; }
86247 cat >conftest.$ac_ext <<_ACEOF
86248 /* confdefs.h. */
86249 _ACEOF
86250 cat confdefs.h >>conftest.$ac_ext
86251 cat >>conftest.$ac_ext <<_ACEOF
86252 /* end confdefs.h. */
86253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86255 #define $ac_func innocuous_$ac_func
86257 /* System header to define __stub macros and hopefully few prototypes,
86258 which can conflict with char $ac_func (); below.
86259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86260 <limits.h> exists even on freestanding compilers. */
86262 #ifdef __STDC__
86263 # include <limits.h>
86264 #else
86265 # include <assert.h>
86266 #endif
86268 #undef $ac_func
86270 /* Override any gcc2 internal prototype to avoid an error. */
86271 #ifdef __cplusplus
86272 extern "C"
86274 #endif
86275 /* We use char because int might match the return type of a gcc2
86276 builtin and then its argument prototype would still apply. */
86277 char $ac_func ();
86278 /* The GNU C library defines this for functions which it implements
86279 to always fail with ENOSYS. Some functions are actually named
86280 something starting with __ and the normal name is an alias. */
86281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86282 choke me
86283 #else
86284 char (*f) () = $ac_func;
86285 #endif
86286 #ifdef __cplusplus
86288 #endif
86291 main ()
86293 return f != $ac_func;
86295 return 0;
86297 _ACEOF
86298 rm -f conftest.$ac_objext conftest$ac_exeext
86299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86300 (eval $ac_link) 2>conftest.er1
86301 ac_status=$?
86302 grep -v '^ *+' conftest.er1 >conftest.err
86303 rm -f conftest.er1
86304 cat conftest.err >&5
86305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86306 (exit $ac_status); } &&
86307 { ac_try='test -z "$ac_c_werror_flag"
86308 || test ! -s conftest.err'
86309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86310 (eval $ac_try) 2>&5
86311 ac_status=$?
86312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86313 (exit $ac_status); }; } &&
86314 { ac_try='test -s conftest$ac_exeext'
86315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86316 (eval $ac_try) 2>&5
86317 ac_status=$?
86318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86319 (exit $ac_status); }; }; then
86320 eval "$as_ac_var=yes"
86321 else
86322 echo "$as_me: failed program was:" >&5
86323 sed 's/^/| /' conftest.$ac_ext >&5
86325 eval "$as_ac_var=no"
86327 rm -f conftest.err conftest.$ac_objext \
86328 conftest$ac_exeext conftest.$ac_ext
86330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86332 if test `eval echo '${'$as_ac_var'}'` = yes; then
86333 cat >>confdefs.h <<_ACEOF
86334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86335 _ACEOF
86337 else
86338 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86340 done
86344 # Used in libmath/Makefile.am.
86345 if test -n "$LIBMATHOBJS"; then
86346 need_libmath=yes
86350 cat >>confdefs.h <<\_ACEOF
86351 #define HAVE_LC_MESSAGES 1
86352 _ACEOF
86354 cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_GETPAGESIZE 1
86356 _ACEOF
86358 cat >>confdefs.h <<\_ACEOF
86359 #define HAVE_SETENV 1
86360 _ACEOF
86362 cat >>confdefs.h <<\_ACEOF
86363 #define HAVE_SIGSETJMP 1
86364 _ACEOF
86366 cat >>confdefs.h <<\_ACEOF
86367 #define HAVE_COPYSIGN 1
86368 _ACEOF
86370 cat >>confdefs.h <<\_ACEOF
86371 #define HAVE_COPYSIGNF 1
86372 _ACEOF
86374 cat >>confdefs.h <<\_ACEOF
86375 #define HAVE_FINITEF 1
86376 _ACEOF
86378 cat >>confdefs.h <<\_ACEOF
86379 #define HAVE_FINITE 1
86380 _ACEOF
86382 cat >>confdefs.h <<\_ACEOF
86383 #define HAVE_FREXPF 1
86384 _ACEOF
86386 cat >>confdefs.h <<\_ACEOF
86387 #define HAVE_HYPOT 1
86388 _ACEOF
86390 cat >>confdefs.h <<\_ACEOF
86391 #define HAVE_HYPOTF 1
86392 _ACEOF
86394 cat >>confdefs.h <<\_ACEOF
86395 #define HAVE_ISINF 1
86396 _ACEOF
86398 cat >>confdefs.h <<\_ACEOF
86399 #define HAVE_ISNAN 1
86400 _ACEOF
86402 cat >>confdefs.h <<\_ACEOF
86403 #define HAVE_ISNANF 1
86404 _ACEOF
86407 cat >>confdefs.h <<\_ACEOF
86408 #define HAVE_MMAP 1
86409 _ACEOF
86411 cat >>confdefs.h <<\_ACEOF
86412 #define HAVE_ACOSF 1
86413 _ACEOF
86415 cat >>confdefs.h <<\_ACEOF
86416 #define HAVE_ASINF 1
86417 _ACEOF
86419 cat >>confdefs.h <<\_ACEOF
86420 #define HAVE_ATAN2F 1
86421 _ACEOF
86423 cat >>confdefs.h <<\_ACEOF
86424 #define HAVE_ATANF 1
86425 _ACEOF
86427 cat >>confdefs.h <<\_ACEOF
86428 #define HAVE_CEILF 1
86429 _ACEOF
86431 cat >>confdefs.h <<\_ACEOF
86432 #define HAVE_COPYSIGN 1
86433 _ACEOF
86435 cat >>confdefs.h <<\_ACEOF
86436 #define HAVE_COPYSIGNF 1
86437 _ACEOF
86439 cat >>confdefs.h <<\_ACEOF
86440 #define HAVE_COSF 1
86441 _ACEOF
86443 cat >>confdefs.h <<\_ACEOF
86444 #define HAVE_COSHF 1
86445 _ACEOF
86447 cat >>confdefs.h <<\_ACEOF
86448 #define HAVE_EXPF 1
86449 _ACEOF
86451 cat >>confdefs.h <<\_ACEOF
86452 #define HAVE_FABSF 1
86453 _ACEOF
86455 cat >>confdefs.h <<\_ACEOF
86456 #define HAVE_FLOORF 1
86457 _ACEOF
86459 cat >>confdefs.h <<\_ACEOF
86460 #define HAVE_FMODF 1
86461 _ACEOF
86463 cat >>confdefs.h <<\_ACEOF
86464 #define HAVE_FREXPF 1
86465 _ACEOF
86467 cat >>confdefs.h <<\_ACEOF
86468 #define HAVE_LDEXPF 1
86469 _ACEOF
86471 cat >>confdefs.h <<\_ACEOF
86472 #define HAVE_LOG10F 1
86473 _ACEOF
86475 cat >>confdefs.h <<\_ACEOF
86476 #define HAVE_LOGF 1
86477 _ACEOF
86479 cat >>confdefs.h <<\_ACEOF
86480 #define HAVE_MODFF 1
86481 _ACEOF
86483 cat >>confdefs.h <<\_ACEOF
86484 #define HAVE_POWF 1
86485 _ACEOF
86487 cat >>confdefs.h <<\_ACEOF
86488 #define HAVE_SINF 1
86489 _ACEOF
86491 cat >>confdefs.h <<\_ACEOF
86492 #define HAVE_SINHF 1
86493 _ACEOF
86495 cat >>confdefs.h <<\_ACEOF
86496 #define HAVE_SQRTF 1
86497 _ACEOF
86499 cat >>confdefs.h <<\_ACEOF
86500 #define HAVE_TANF 1
86501 _ACEOF
86503 cat >>confdefs.h <<\_ACEOF
86504 #define HAVE_TANHF 1
86505 _ACEOF
86507 if test x"long_double_math_on_this_cpu" = x"yes"; then
86508 cat >>confdefs.h <<\_ACEOF
86509 #define HAVE_FINITEL 1
86510 _ACEOF
86512 cat >>confdefs.h <<\_ACEOF
86513 #define HAVE_ISINFL 1
86514 _ACEOF
86516 cat >>confdefs.h <<\_ACEOF
86517 #define HAVE_ISNANL 1
86518 _ACEOF
86522 *-hpux*)
86535 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86536 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86537 fp.h locale.h float.h inttypes.h
86539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86541 echo "$as_me:$LINENO: checking for $ac_header" >&5
86542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86544 echo $ECHO_N "(cached) $ECHO_C" >&6
86546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86548 else
86549 # Is the header compilable?
86550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86552 cat >conftest.$ac_ext <<_ACEOF
86553 /* confdefs.h. */
86554 _ACEOF
86555 cat confdefs.h >>conftest.$ac_ext
86556 cat >>conftest.$ac_ext <<_ACEOF
86557 /* end confdefs.h. */
86558 $ac_includes_default
86559 #include <$ac_header>
86560 _ACEOF
86561 rm -f conftest.$ac_objext
86562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86563 (eval $ac_compile) 2>conftest.er1
86564 ac_status=$?
86565 grep -v '^ *+' conftest.er1 >conftest.err
86566 rm -f conftest.er1
86567 cat conftest.err >&5
86568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86569 (exit $ac_status); } &&
86570 { ac_try='test -z "$ac_c_werror_flag"
86571 || test ! -s conftest.err'
86572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86573 (eval $ac_try) 2>&5
86574 ac_status=$?
86575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86576 (exit $ac_status); }; } &&
86577 { ac_try='test -s conftest.$ac_objext'
86578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86579 (eval $ac_try) 2>&5
86580 ac_status=$?
86581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86582 (exit $ac_status); }; }; then
86583 ac_header_compiler=yes
86584 else
86585 echo "$as_me: failed program was:" >&5
86586 sed 's/^/| /' conftest.$ac_ext >&5
86588 ac_header_compiler=no
86590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86592 echo "${ECHO_T}$ac_header_compiler" >&6
86594 # Is the header present?
86595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86597 cat >conftest.$ac_ext <<_ACEOF
86598 /* confdefs.h. */
86599 _ACEOF
86600 cat confdefs.h >>conftest.$ac_ext
86601 cat >>conftest.$ac_ext <<_ACEOF
86602 /* end confdefs.h. */
86603 #include <$ac_header>
86604 _ACEOF
86605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86607 ac_status=$?
86608 grep -v '^ *+' conftest.er1 >conftest.err
86609 rm -f conftest.er1
86610 cat conftest.err >&5
86611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86612 (exit $ac_status); } >/dev/null; then
86613 if test -s conftest.err; then
86614 ac_cpp_err=$ac_c_preproc_warn_flag
86615 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86616 else
86617 ac_cpp_err=
86619 else
86620 ac_cpp_err=yes
86622 if test -z "$ac_cpp_err"; then
86623 ac_header_preproc=yes
86624 else
86625 echo "$as_me: failed program was:" >&5
86626 sed 's/^/| /' conftest.$ac_ext >&5
86628 ac_header_preproc=no
86630 rm -f conftest.err conftest.$ac_ext
86631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86632 echo "${ECHO_T}$ac_header_preproc" >&6
86634 # So? What about this header?
86635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86636 yes:no: )
86637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86641 ac_header_preproc=yes
86643 no:yes:* )
86644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86657 cat <<\_ASBOX
86658 ## ----------------------------------------- ##
86659 ## Report this to the package-unused lists. ##
86660 ## ----------------------------------------- ##
86661 _ASBOX
86663 sed "s/^/$as_me: WARNING: /" >&2
86665 esac
86666 echo "$as_me:$LINENO: checking for $ac_header" >&5
86667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86669 echo $ECHO_N "(cached) $ECHO_C" >&6
86670 else
86671 eval "$as_ac_Header=\$ac_header_preproc"
86673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86678 cat >>confdefs.h <<_ACEOF
86679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86680 _ACEOF
86684 done
86686 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86689 # If we're not using GNU ld, then there's no point in even trying these
86690 # tests. Check for that first. We should have already tested for gld
86691 # by now (in libtool), but require it now just to be safe...
86692 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86693 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86697 # The name set by libtool depends on the version of libtool. Shame on us
86698 # for depending on an impl detail, but c'est la vie. Older versions used
86699 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86700 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86701 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86702 # set (hence we're using an older libtool), then set it.
86703 if test x${with_gnu_ld+set} != xset; then
86704 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86705 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86706 with_gnu_ld=no
86707 else
86708 with_gnu_ld=$ac_cv_prog_gnu_ld
86712 # Start by getting the version number. I think the libtool test already
86713 # does some of this, but throws away the result.
86714 glibcxx_ld_is_gold=no
86715 if test x"$with_gnu_ld" = x"yes"; then
86716 echo "$as_me:$LINENO: checking for ld version" >&5
86717 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86719 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86720 glibcxx_ld_is_gold=yes
86722 ldver=`$LD --version 2>/dev/null | head -1 | \
86723 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86725 glibcxx_gnu_ld_version=`echo $ldver | \
86726 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86727 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86728 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86731 # Set --gc-sections.
86732 glibcxx_have_gc_sections=no
86733 if test "$glibcxx_ld_is_gold" = "yes"; then
86734 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86735 glibcxx_have_gc_sections=yes
86737 else
86738 glibcxx_gcsections_min_ld=21602
86739 if test x"$with_gnu_ld" = x"yes" &&
86740 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86741 glibcxx_have_gc_sections=yes
86744 if test "$glibcxx_have_gc_sections" = "yes"; then
86745 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86746 # NB: This flag only works reliably after 2.16.1. Configure tests
86747 # for this are difficult, so hard wire a value that should work.
86749 ac_test_CFLAGS="${CFLAGS+set}"
86750 ac_save_CFLAGS="$CFLAGS"
86751 CFLAGS='-Wl,--gc-sections'
86753 # Check for -Wl,--gc-sections
86754 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86755 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86756 if test x$gcc_no_link = xyes; then
86757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86759 { (exit 1); exit 1; }; }
86761 cat >conftest.$ac_ext <<_ACEOF
86762 /* confdefs.h. */
86763 _ACEOF
86764 cat confdefs.h >>conftest.$ac_ext
86765 cat >>conftest.$ac_ext <<_ACEOF
86766 /* end confdefs.h. */
86767 int one(void) { return 1; }
86768 int two(void) { return 2; }
86771 main ()
86773 two();
86775 return 0;
86777 _ACEOF
86778 rm -f conftest.$ac_objext conftest$ac_exeext
86779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86780 (eval $ac_link) 2>conftest.er1
86781 ac_status=$?
86782 grep -v '^ *+' conftest.er1 >conftest.err
86783 rm -f conftest.er1
86784 cat conftest.err >&5
86785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86786 (exit $ac_status); } &&
86787 { ac_try='test -z "$ac_c_werror_flag"
86788 || test ! -s conftest.err'
86789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86790 (eval $ac_try) 2>&5
86791 ac_status=$?
86792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86793 (exit $ac_status); }; } &&
86794 { ac_try='test -s conftest$ac_exeext'
86795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86796 (eval $ac_try) 2>&5
86797 ac_status=$?
86798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86799 (exit $ac_status); }; }; then
86800 ac_gcsections=yes
86801 else
86802 echo "$as_me: failed program was:" >&5
86803 sed 's/^/| /' conftest.$ac_ext >&5
86805 ac_gcsections=no
86807 rm -f conftest.err conftest.$ac_objext \
86808 conftest$ac_exeext conftest.$ac_ext
86809 if test "$ac_gcsections" = "yes"; then
86810 rm -f conftest.c
86811 touch conftest.c
86812 if $CC -c conftest.c; then
86813 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86814 grep "Warning: gc-sections option ignored" > /dev/null; then
86815 ac_gcsections=no
86818 rm -f conftest.c conftest.o conftest
86820 if test "$ac_gcsections" = "yes"; then
86821 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86823 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86824 echo "${ECHO_T}$ac_gcsections" >&6
86826 if test "$ac_test_CFLAGS" = set; then
86827 CFLAGS="$ac_save_CFLAGS"
86828 else
86829 # this is the suspicious part
86830 CFLAGS=''
86834 # Set -z,relro.
86835 # Note this is only for shared objects.
86836 ac_ld_relro=no
86837 if test x"$with_gnu_ld" = x"yes"; then
86838 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86839 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86840 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86841 if test -n "$cxx_z_relo"; then
86842 OPT_LDFLAGS="-Wl,-z,relro"
86843 ac_ld_relro=yes
86845 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86846 echo "${ECHO_T}$ac_ld_relro" >&6
86849 # Set linker optimization flags.
86850 if test x"$with_gnu_ld" = x"yes"; then
86851 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86859 echo "$as_me:$LINENO: checking for main in -lm" >&5
86860 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86861 if test "${ac_cv_lib_m_main+set}" = set; then
86862 echo $ECHO_N "(cached) $ECHO_C" >&6
86863 else
86864 ac_check_lib_save_LIBS=$LIBS
86865 LIBS="-lm $LIBS"
86866 if test x$gcc_no_link = xyes; then
86867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86869 { (exit 1); exit 1; }; }
86871 cat >conftest.$ac_ext <<_ACEOF
86872 /* confdefs.h. */
86873 _ACEOF
86874 cat confdefs.h >>conftest.$ac_ext
86875 cat >>conftest.$ac_ext <<_ACEOF
86876 /* end confdefs.h. */
86880 main ()
86882 main ();
86884 return 0;
86886 _ACEOF
86887 rm -f conftest.$ac_objext conftest$ac_exeext
86888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86889 (eval $ac_link) 2>conftest.er1
86890 ac_status=$?
86891 grep -v '^ *+' conftest.er1 >conftest.err
86892 rm -f conftest.er1
86893 cat conftest.err >&5
86894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86895 (exit $ac_status); } &&
86896 { ac_try='test -z "$ac_c_werror_flag"
86897 || test ! -s conftest.err'
86898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86899 (eval $ac_try) 2>&5
86900 ac_status=$?
86901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86902 (exit $ac_status); }; } &&
86903 { ac_try='test -s conftest$ac_exeext'
86904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86905 (eval $ac_try) 2>&5
86906 ac_status=$?
86907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86908 (exit $ac_status); }; }; then
86909 ac_cv_lib_m_main=yes
86910 else
86911 echo "$as_me: failed program was:" >&5
86912 sed 's/^/| /' conftest.$ac_ext >&5
86914 ac_cv_lib_m_main=no
86916 rm -f conftest.err conftest.$ac_objext \
86917 conftest$ac_exeext conftest.$ac_ext
86918 LIBS=$ac_check_lib_save_LIBS
86920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86921 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86922 if test $ac_cv_lib_m_main = yes; then
86923 cat >>confdefs.h <<_ACEOF
86924 #define HAVE_LIBM 1
86925 _ACEOF
86927 LIBS="-lm $LIBS"
86932 for ac_func in copysignf
86934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86935 echo "$as_me:$LINENO: checking for $ac_func" >&5
86936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86937 if eval "test \"\${$as_ac_var+set}\" = set"; then
86938 echo $ECHO_N "(cached) $ECHO_C" >&6
86939 else
86940 if test x$gcc_no_link = xyes; then
86941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86943 { (exit 1); exit 1; }; }
86945 cat >conftest.$ac_ext <<_ACEOF
86946 /* confdefs.h. */
86947 _ACEOF
86948 cat confdefs.h >>conftest.$ac_ext
86949 cat >>conftest.$ac_ext <<_ACEOF
86950 /* end confdefs.h. */
86951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86953 #define $ac_func innocuous_$ac_func
86955 /* System header to define __stub macros and hopefully few prototypes,
86956 which can conflict with char $ac_func (); below.
86957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86958 <limits.h> exists even on freestanding compilers. */
86960 #ifdef __STDC__
86961 # include <limits.h>
86962 #else
86963 # include <assert.h>
86964 #endif
86966 #undef $ac_func
86968 /* Override any gcc2 internal prototype to avoid an error. */
86969 #ifdef __cplusplus
86970 extern "C"
86972 #endif
86973 /* We use char because int might match the return type of a gcc2
86974 builtin and then its argument prototype would still apply. */
86975 char $ac_func ();
86976 /* The GNU C library defines this for functions which it implements
86977 to always fail with ENOSYS. Some functions are actually named
86978 something starting with __ and the normal name is an alias. */
86979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86980 choke me
86981 #else
86982 char (*f) () = $ac_func;
86983 #endif
86984 #ifdef __cplusplus
86986 #endif
86989 main ()
86991 return f != $ac_func;
86993 return 0;
86995 _ACEOF
86996 rm -f conftest.$ac_objext conftest$ac_exeext
86997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86998 (eval $ac_link) 2>conftest.er1
86999 ac_status=$?
87000 grep -v '^ *+' conftest.er1 >conftest.err
87001 rm -f conftest.er1
87002 cat conftest.err >&5
87003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87004 (exit $ac_status); } &&
87005 { ac_try='test -z "$ac_c_werror_flag"
87006 || test ! -s conftest.err'
87007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87008 (eval $ac_try) 2>&5
87009 ac_status=$?
87010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87011 (exit $ac_status); }; } &&
87012 { ac_try='test -s conftest$ac_exeext'
87013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87014 (eval $ac_try) 2>&5
87015 ac_status=$?
87016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87017 (exit $ac_status); }; }; then
87018 eval "$as_ac_var=yes"
87019 else
87020 echo "$as_me: failed program was:" >&5
87021 sed 's/^/| /' conftest.$ac_ext >&5
87023 eval "$as_ac_var=no"
87025 rm -f conftest.err conftest.$ac_objext \
87026 conftest$ac_exeext conftest.$ac_ext
87028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87030 if test `eval echo '${'$as_ac_var'}'` = yes; then
87031 cat >>confdefs.h <<_ACEOF
87032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87033 _ACEOF
87035 else
87036 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87038 done
87042 for ac_func in __signbit
87044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87045 echo "$as_me:$LINENO: checking for $ac_func" >&5
87046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87047 if eval "test \"\${$as_ac_var+set}\" = set"; then
87048 echo $ECHO_N "(cached) $ECHO_C" >&6
87049 else
87050 if test x$gcc_no_link = xyes; then
87051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87053 { (exit 1); exit 1; }; }
87055 cat >conftest.$ac_ext <<_ACEOF
87056 /* confdefs.h. */
87057 _ACEOF
87058 cat confdefs.h >>conftest.$ac_ext
87059 cat >>conftest.$ac_ext <<_ACEOF
87060 /* end confdefs.h. */
87061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87063 #define $ac_func innocuous_$ac_func
87065 /* System header to define __stub macros and hopefully few prototypes,
87066 which can conflict with char $ac_func (); below.
87067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87068 <limits.h> exists even on freestanding compilers. */
87070 #ifdef __STDC__
87071 # include <limits.h>
87072 #else
87073 # include <assert.h>
87074 #endif
87076 #undef $ac_func
87078 /* Override any gcc2 internal prototype to avoid an error. */
87079 #ifdef __cplusplus
87080 extern "C"
87082 #endif
87083 /* We use char because int might match the return type of a gcc2
87084 builtin and then its argument prototype would still apply. */
87085 char $ac_func ();
87086 /* The GNU C library defines this for functions which it implements
87087 to always fail with ENOSYS. Some functions are actually named
87088 something starting with __ and the normal name is an alias. */
87089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87090 choke me
87091 #else
87092 char (*f) () = $ac_func;
87093 #endif
87094 #ifdef __cplusplus
87096 #endif
87099 main ()
87101 return f != $ac_func;
87103 return 0;
87105 _ACEOF
87106 rm -f conftest.$ac_objext conftest$ac_exeext
87107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87108 (eval $ac_link) 2>conftest.er1
87109 ac_status=$?
87110 grep -v '^ *+' conftest.er1 >conftest.err
87111 rm -f conftest.er1
87112 cat conftest.err >&5
87113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87114 (exit $ac_status); } &&
87115 { ac_try='test -z "$ac_c_werror_flag"
87116 || test ! -s conftest.err'
87117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87118 (eval $ac_try) 2>&5
87119 ac_status=$?
87120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87121 (exit $ac_status); }; } &&
87122 { ac_try='test -s conftest$ac_exeext'
87123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87124 (eval $ac_try) 2>&5
87125 ac_status=$?
87126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87127 (exit $ac_status); }; }; then
87128 eval "$as_ac_var=yes"
87129 else
87130 echo "$as_me: failed program was:" >&5
87131 sed 's/^/| /' conftest.$ac_ext >&5
87133 eval "$as_ac_var=no"
87135 rm -f conftest.err conftest.$ac_objext \
87136 conftest$ac_exeext conftest.$ac_ext
87138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87140 if test `eval echo '${'$as_ac_var'}'` = yes; then
87141 cat >>confdefs.h <<_ACEOF
87142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87143 _ACEOF
87145 else
87146 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87148 done
87152 for ac_func in __signbitf
87154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87155 echo "$as_me:$LINENO: checking for $ac_func" >&5
87156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87157 if eval "test \"\${$as_ac_var+set}\" = set"; then
87158 echo $ECHO_N "(cached) $ECHO_C" >&6
87159 else
87160 if test x$gcc_no_link = xyes; then
87161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87163 { (exit 1); exit 1; }; }
87165 cat >conftest.$ac_ext <<_ACEOF
87166 /* confdefs.h. */
87167 _ACEOF
87168 cat confdefs.h >>conftest.$ac_ext
87169 cat >>conftest.$ac_ext <<_ACEOF
87170 /* end confdefs.h. */
87171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87173 #define $ac_func innocuous_$ac_func
87175 /* System header to define __stub macros and hopefully few prototypes,
87176 which can conflict with char $ac_func (); below.
87177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87178 <limits.h> exists even on freestanding compilers. */
87180 #ifdef __STDC__
87181 # include <limits.h>
87182 #else
87183 # include <assert.h>
87184 #endif
87186 #undef $ac_func
87188 /* Override any gcc2 internal prototype to avoid an error. */
87189 #ifdef __cplusplus
87190 extern "C"
87192 #endif
87193 /* We use char because int might match the return type of a gcc2
87194 builtin and then its argument prototype would still apply. */
87195 char $ac_func ();
87196 /* The GNU C library defines this for functions which it implements
87197 to always fail with ENOSYS. Some functions are actually named
87198 something starting with __ and the normal name is an alias. */
87199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87200 choke me
87201 #else
87202 char (*f) () = $ac_func;
87203 #endif
87204 #ifdef __cplusplus
87206 #endif
87209 main ()
87211 return f != $ac_func;
87213 return 0;
87215 _ACEOF
87216 rm -f conftest.$ac_objext conftest$ac_exeext
87217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87218 (eval $ac_link) 2>conftest.er1
87219 ac_status=$?
87220 grep -v '^ *+' conftest.er1 >conftest.err
87221 rm -f conftest.er1
87222 cat conftest.err >&5
87223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87224 (exit $ac_status); } &&
87225 { ac_try='test -z "$ac_c_werror_flag"
87226 || test ! -s conftest.err'
87227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87228 (eval $ac_try) 2>&5
87229 ac_status=$?
87230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87231 (exit $ac_status); }; } &&
87232 { ac_try='test -s conftest$ac_exeext'
87233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87234 (eval $ac_try) 2>&5
87235 ac_status=$?
87236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87237 (exit $ac_status); }; }; then
87238 eval "$as_ac_var=yes"
87239 else
87240 echo "$as_me: failed program was:" >&5
87241 sed 's/^/| /' conftest.$ac_ext >&5
87243 eval "$as_ac_var=no"
87245 rm -f conftest.err conftest.$ac_objext \
87246 conftest$ac_exeext conftest.$ac_ext
87248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87250 if test `eval echo '${'$as_ac_var'}'` = yes; then
87251 cat >>confdefs.h <<_ACEOF
87252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87253 _ACEOF
87255 else
87256 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87258 done
87261 if test x$ac_cv_func_copysignl = x"yes"; then
87263 for ac_func in __signbitl
87265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87266 echo "$as_me:$LINENO: checking for $ac_func" >&5
87267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87268 if eval "test \"\${$as_ac_var+set}\" = set"; then
87269 echo $ECHO_N "(cached) $ECHO_C" >&6
87270 else
87271 if test x$gcc_no_link = xyes; then
87272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87274 { (exit 1); exit 1; }; }
87276 cat >conftest.$ac_ext <<_ACEOF
87277 /* confdefs.h. */
87278 _ACEOF
87279 cat confdefs.h >>conftest.$ac_ext
87280 cat >>conftest.$ac_ext <<_ACEOF
87281 /* end confdefs.h. */
87282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87284 #define $ac_func innocuous_$ac_func
87286 /* System header to define __stub macros and hopefully few prototypes,
87287 which can conflict with char $ac_func (); below.
87288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87289 <limits.h> exists even on freestanding compilers. */
87291 #ifdef __STDC__
87292 # include <limits.h>
87293 #else
87294 # include <assert.h>
87295 #endif
87297 #undef $ac_func
87299 /* Override any gcc2 internal prototype to avoid an error. */
87300 #ifdef __cplusplus
87301 extern "C"
87303 #endif
87304 /* We use char because int might match the return type of a gcc2
87305 builtin and then its argument prototype would still apply. */
87306 char $ac_func ();
87307 /* The GNU C library defines this for functions which it implements
87308 to always fail with ENOSYS. Some functions are actually named
87309 something starting with __ and the normal name is an alias. */
87310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87311 choke me
87312 #else
87313 char (*f) () = $ac_func;
87314 #endif
87315 #ifdef __cplusplus
87317 #endif
87320 main ()
87322 return f != $ac_func;
87324 return 0;
87326 _ACEOF
87327 rm -f conftest.$ac_objext conftest$ac_exeext
87328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87329 (eval $ac_link) 2>conftest.er1
87330 ac_status=$?
87331 grep -v '^ *+' conftest.er1 >conftest.err
87332 rm -f conftest.er1
87333 cat conftest.err >&5
87334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87335 (exit $ac_status); } &&
87336 { ac_try='test -z "$ac_c_werror_flag"
87337 || test ! -s conftest.err'
87338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87339 (eval $ac_try) 2>&5
87340 ac_status=$?
87341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87342 (exit $ac_status); }; } &&
87343 { ac_try='test -s conftest$ac_exeext'
87344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87345 (eval $ac_try) 2>&5
87346 ac_status=$?
87347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87348 (exit $ac_status); }; }; then
87349 eval "$as_ac_var=yes"
87350 else
87351 echo "$as_me: failed program was:" >&5
87352 sed 's/^/| /' conftest.$ac_ext >&5
87354 eval "$as_ac_var=no"
87356 rm -f conftest.err conftest.$ac_objext \
87357 conftest$ac_exeext conftest.$ac_ext
87359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87361 if test `eval echo '${'$as_ac_var'}'` = yes; then
87362 cat >>confdefs.h <<_ACEOF
87363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87364 _ACEOF
87366 else
87367 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87369 done
87373 # Used in libmath/Makefile.am.
87374 if test -n "$LIBMATHOBJS"; then
87375 need_libmath=yes
87379 cat >>confdefs.h <<\_ACEOF
87380 #define HAVE_COPYSIGN 1
87381 _ACEOF
87383 cat >>confdefs.h <<\_ACEOF
87384 #define HAVE_COPYSIGNF 1
87385 _ACEOF
87387 cat >>confdefs.h <<\_ACEOF
87388 #define HAVE_FREXPF 1
87389 _ACEOF
87391 cat >>confdefs.h <<\_ACEOF
87392 #define HAVE_HYPOT 1
87393 _ACEOF
87395 case "$target" in
87396 *-hpux10*)
87397 cat >>confdefs.h <<\_ACEOF
87398 #define HAVE_FINITE 1
87399 _ACEOF
87401 cat >>confdefs.h <<\_ACEOF
87402 #define HAVE_FINITEF 1
87403 _ACEOF
87405 cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_ISINF 1
87407 _ACEOF
87409 cat >>confdefs.h <<\_ACEOF
87410 #define HAVE_ISINFF 1
87411 _ACEOF
87413 cat >>confdefs.h <<\_ACEOF
87414 #define HAVE_ISNAN 1
87415 _ACEOF
87417 cat >>confdefs.h <<\_ACEOF
87418 #define HAVE_ISNANF 1
87419 _ACEOF
87422 esac
87424 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87442 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87443 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87444 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87445 sys/ipc.h sys/sem.h
87447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87449 echo "$as_me:$LINENO: checking for $ac_header" >&5
87450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87452 echo $ECHO_N "(cached) $ECHO_C" >&6
87454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87456 else
87457 # Is the header compilable?
87458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87460 cat >conftest.$ac_ext <<_ACEOF
87461 /* confdefs.h. */
87462 _ACEOF
87463 cat confdefs.h >>conftest.$ac_ext
87464 cat >>conftest.$ac_ext <<_ACEOF
87465 /* end confdefs.h. */
87466 $ac_includes_default
87467 #include <$ac_header>
87468 _ACEOF
87469 rm -f conftest.$ac_objext
87470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87471 (eval $ac_compile) 2>conftest.er1
87472 ac_status=$?
87473 grep -v '^ *+' conftest.er1 >conftest.err
87474 rm -f conftest.er1
87475 cat conftest.err >&5
87476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87477 (exit $ac_status); } &&
87478 { ac_try='test -z "$ac_c_werror_flag"
87479 || test ! -s conftest.err'
87480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87481 (eval $ac_try) 2>&5
87482 ac_status=$?
87483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87484 (exit $ac_status); }; } &&
87485 { ac_try='test -s conftest.$ac_objext'
87486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87487 (eval $ac_try) 2>&5
87488 ac_status=$?
87489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87490 (exit $ac_status); }; }; then
87491 ac_header_compiler=yes
87492 else
87493 echo "$as_me: failed program was:" >&5
87494 sed 's/^/| /' conftest.$ac_ext >&5
87496 ac_header_compiler=no
87498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87500 echo "${ECHO_T}$ac_header_compiler" >&6
87502 # Is the header present?
87503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87505 cat >conftest.$ac_ext <<_ACEOF
87506 /* confdefs.h. */
87507 _ACEOF
87508 cat confdefs.h >>conftest.$ac_ext
87509 cat >>conftest.$ac_ext <<_ACEOF
87510 /* end confdefs.h. */
87511 #include <$ac_header>
87512 _ACEOF
87513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87515 ac_status=$?
87516 grep -v '^ *+' conftest.er1 >conftest.err
87517 rm -f conftest.er1
87518 cat conftest.err >&5
87519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87520 (exit $ac_status); } >/dev/null; then
87521 if test -s conftest.err; then
87522 ac_cpp_err=$ac_c_preproc_warn_flag
87523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87524 else
87525 ac_cpp_err=
87527 else
87528 ac_cpp_err=yes
87530 if test -z "$ac_cpp_err"; then
87531 ac_header_preproc=yes
87532 else
87533 echo "$as_me: failed program was:" >&5
87534 sed 's/^/| /' conftest.$ac_ext >&5
87536 ac_header_preproc=no
87538 rm -f conftest.err conftest.$ac_ext
87539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87540 echo "${ECHO_T}$ac_header_preproc" >&6
87542 # So? What about this header?
87543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87544 yes:no: )
87545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87549 ac_header_preproc=yes
87551 no:yes:* )
87552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87565 cat <<\_ASBOX
87566 ## ----------------------------------------- ##
87567 ## Report this to the package-unused lists. ##
87568 ## ----------------------------------------- ##
87569 _ASBOX
87571 sed "s/^/$as_me: WARNING: /" >&2
87573 esac
87574 echo "$as_me:$LINENO: checking for $ac_header" >&5
87575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87577 echo $ECHO_N "(cached) $ECHO_C" >&6
87578 else
87579 eval "$as_ac_Header=\$ac_header_preproc"
87581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87586 cat >>confdefs.h <<_ACEOF
87587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87588 _ACEOF
87592 done
87594 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87597 # All these tests are for C++; save the language and the compiler flags.
87598 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87599 # found in GLIBCXX_CONFIGURE.
87602 ac_ext=cc
87603 ac_cpp='$CXXCPP $CPPFLAGS'
87604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87608 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87609 ac_save_CXXFLAGS="$CXXFLAGS"
87611 # Check for maintainer-mode bits.
87612 if test x"$USE_MAINTAINER_MODE" = xno; then
87613 WERROR=''
87614 else
87615 WERROR='-Werror'
87618 # Check for -ffunction-sections -fdata-sections
87619 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87620 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87621 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87622 cat >conftest.$ac_ext <<_ACEOF
87623 /* confdefs.h. */
87624 _ACEOF
87625 cat confdefs.h >>conftest.$ac_ext
87626 cat >>conftest.$ac_ext <<_ACEOF
87627 /* end confdefs.h. */
87628 int foo; void bar() { };
87630 main ()
87634 return 0;
87636 _ACEOF
87637 rm -f conftest.$ac_objext
87638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87639 (eval $ac_compile) 2>conftest.er1
87640 ac_status=$?
87641 grep -v '^ *+' conftest.er1 >conftest.err
87642 rm -f conftest.er1
87643 cat conftest.err >&5
87644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645 (exit $ac_status); } &&
87646 { ac_try='test -z "$ac_cxx_werror_flag"
87647 || test ! -s conftest.err'
87648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87649 (eval $ac_try) 2>&5
87650 ac_status=$?
87651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87652 (exit $ac_status); }; } &&
87653 { ac_try='test -s conftest.$ac_objext'
87654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87655 (eval $ac_try) 2>&5
87656 ac_status=$?
87657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87658 (exit $ac_status); }; }; then
87659 ac_fdsections=yes
87660 else
87661 echo "$as_me: failed program was:" >&5
87662 sed 's/^/| /' conftest.$ac_ext >&5
87664 ac_fdsections=no
87666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87667 if test "$ac_test_CXXFLAGS" = set; then
87668 CXXFLAGS="$ac_save_CXXFLAGS"
87669 else
87670 # this is the suspicious part
87671 CXXFLAGS=''
87673 if test x"$ac_fdsections" = x"yes"; then
87674 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87676 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87677 echo "${ECHO_T}$ac_fdsections" >&6
87679 ac_ext=c
87680 ac_cpp='$CPP $CPPFLAGS'
87681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87689 # If we're not using GNU ld, then there's no point in even trying these
87690 # tests. Check for that first. We should have already tested for gld
87691 # by now (in libtool), but require it now just to be safe...
87692 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87693 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87697 # The name set by libtool depends on the version of libtool. Shame on us
87698 # for depending on an impl detail, but c'est la vie. Older versions used
87699 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87700 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87701 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87702 # set (hence we're using an older libtool), then set it.
87703 if test x${with_gnu_ld+set} != xset; then
87704 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87705 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87706 with_gnu_ld=no
87707 else
87708 with_gnu_ld=$ac_cv_prog_gnu_ld
87712 # Start by getting the version number. I think the libtool test already
87713 # does some of this, but throws away the result.
87714 glibcxx_ld_is_gold=no
87715 if test x"$with_gnu_ld" = x"yes"; then
87716 echo "$as_me:$LINENO: checking for ld version" >&5
87717 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87719 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87720 glibcxx_ld_is_gold=yes
87722 ldver=`$LD --version 2>/dev/null | head -1 | \
87723 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87725 glibcxx_gnu_ld_version=`echo $ldver | \
87726 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87727 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87728 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87731 # Set --gc-sections.
87732 glibcxx_have_gc_sections=no
87733 if test "$glibcxx_ld_is_gold" = "yes"; then
87734 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87735 glibcxx_have_gc_sections=yes
87737 else
87738 glibcxx_gcsections_min_ld=21602
87739 if test x"$with_gnu_ld" = x"yes" &&
87740 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87741 glibcxx_have_gc_sections=yes
87744 if test "$glibcxx_have_gc_sections" = "yes"; then
87745 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87746 # NB: This flag only works reliably after 2.16.1. Configure tests
87747 # for this are difficult, so hard wire a value that should work.
87749 ac_test_CFLAGS="${CFLAGS+set}"
87750 ac_save_CFLAGS="$CFLAGS"
87751 CFLAGS='-Wl,--gc-sections'
87753 # Check for -Wl,--gc-sections
87754 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87755 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87756 if test x$gcc_no_link = xyes; then
87757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87759 { (exit 1); exit 1; }; }
87761 cat >conftest.$ac_ext <<_ACEOF
87762 /* confdefs.h. */
87763 _ACEOF
87764 cat confdefs.h >>conftest.$ac_ext
87765 cat >>conftest.$ac_ext <<_ACEOF
87766 /* end confdefs.h. */
87767 int one(void) { return 1; }
87768 int two(void) { return 2; }
87771 main ()
87773 two();
87775 return 0;
87777 _ACEOF
87778 rm -f conftest.$ac_objext conftest$ac_exeext
87779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87780 (eval $ac_link) 2>conftest.er1
87781 ac_status=$?
87782 grep -v '^ *+' conftest.er1 >conftest.err
87783 rm -f conftest.er1
87784 cat conftest.err >&5
87785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87786 (exit $ac_status); } &&
87787 { ac_try='test -z "$ac_c_werror_flag"
87788 || test ! -s conftest.err'
87789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87790 (eval $ac_try) 2>&5
87791 ac_status=$?
87792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87793 (exit $ac_status); }; } &&
87794 { ac_try='test -s conftest$ac_exeext'
87795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87796 (eval $ac_try) 2>&5
87797 ac_status=$?
87798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87799 (exit $ac_status); }; }; then
87800 ac_gcsections=yes
87801 else
87802 echo "$as_me: failed program was:" >&5
87803 sed 's/^/| /' conftest.$ac_ext >&5
87805 ac_gcsections=no
87807 rm -f conftest.err conftest.$ac_objext \
87808 conftest$ac_exeext conftest.$ac_ext
87809 if test "$ac_gcsections" = "yes"; then
87810 rm -f conftest.c
87811 touch conftest.c
87812 if $CC -c conftest.c; then
87813 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87814 grep "Warning: gc-sections option ignored" > /dev/null; then
87815 ac_gcsections=no
87818 rm -f conftest.c conftest.o conftest
87820 if test "$ac_gcsections" = "yes"; then
87821 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87823 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87824 echo "${ECHO_T}$ac_gcsections" >&6
87826 if test "$ac_test_CFLAGS" = set; then
87827 CFLAGS="$ac_save_CFLAGS"
87828 else
87829 # this is the suspicious part
87830 CFLAGS=''
87834 # Set -z,relro.
87835 # Note this is only for shared objects.
87836 ac_ld_relro=no
87837 if test x"$with_gnu_ld" = x"yes"; then
87838 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87839 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87840 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87841 if test -n "$cxx_z_relo"; then
87842 OPT_LDFLAGS="-Wl,-z,relro"
87843 ac_ld_relro=yes
87845 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87846 echo "${ECHO_T}$ac_ld_relro" >&6
87849 # Set linker optimization flags.
87850 if test x"$with_gnu_ld" = x"yes"; then
87851 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87858 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87859 ac_save_CXXFLAGS="$CXXFLAGS"
87860 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87862 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87863 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87864 if test "${ac_cv_lib_m_sin+set}" = set; then
87865 echo $ECHO_N "(cached) $ECHO_C" >&6
87866 else
87867 ac_check_lib_save_LIBS=$LIBS
87868 LIBS="-lm $LIBS"
87869 if test x$gcc_no_link = xyes; then
87870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87872 { (exit 1); exit 1; }; }
87874 cat >conftest.$ac_ext <<_ACEOF
87875 /* confdefs.h. */
87876 _ACEOF
87877 cat confdefs.h >>conftest.$ac_ext
87878 cat >>conftest.$ac_ext <<_ACEOF
87879 /* end confdefs.h. */
87881 /* Override any gcc2 internal prototype to avoid an error. */
87882 #ifdef __cplusplus
87883 extern "C"
87884 #endif
87885 /* We use char because int might match the return type of a gcc2
87886 builtin and then its argument prototype would still apply. */
87887 char sin ();
87889 main ()
87891 sin ();
87893 return 0;
87895 _ACEOF
87896 rm -f conftest.$ac_objext conftest$ac_exeext
87897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87898 (eval $ac_link) 2>conftest.er1
87899 ac_status=$?
87900 grep -v '^ *+' conftest.er1 >conftest.err
87901 rm -f conftest.er1
87902 cat conftest.err >&5
87903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87904 (exit $ac_status); } &&
87905 { ac_try='test -z "$ac_c_werror_flag"
87906 || test ! -s conftest.err'
87907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87908 (eval $ac_try) 2>&5
87909 ac_status=$?
87910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87911 (exit $ac_status); }; } &&
87912 { ac_try='test -s conftest$ac_exeext'
87913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87914 (eval $ac_try) 2>&5
87915 ac_status=$?
87916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87917 (exit $ac_status); }; }; then
87918 ac_cv_lib_m_sin=yes
87919 else
87920 echo "$as_me: failed program was:" >&5
87921 sed 's/^/| /' conftest.$ac_ext >&5
87923 ac_cv_lib_m_sin=no
87925 rm -f conftest.err conftest.$ac_objext \
87926 conftest$ac_exeext conftest.$ac_ext
87927 LIBS=$ac_check_lib_save_LIBS
87929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87930 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87931 if test $ac_cv_lib_m_sin = yes; then
87932 libm="-lm"
87935 ac_save_LIBS="$LIBS"
87936 LIBS="$LIBS $libm"
87940 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87941 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87942 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87943 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87944 echo $ECHO_N "(cached) $ECHO_C" >&6
87945 else
87949 ac_ext=cc
87950 ac_cpp='$CXXCPP $CPPFLAGS'
87951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87955 cat >conftest.$ac_ext <<_ACEOF
87956 /* confdefs.h. */
87957 _ACEOF
87958 cat confdefs.h >>conftest.$ac_ext
87959 cat >>conftest.$ac_ext <<_ACEOF
87960 /* end confdefs.h. */
87961 #include <math.h>
87962 #ifdef HAVE_IEEEFP_H
87963 #include <ieeefp.h>
87964 #endif
87967 main ()
87969 isinf(0);
87971 return 0;
87973 _ACEOF
87974 rm -f conftest.$ac_objext
87975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87976 (eval $ac_compile) 2>conftest.er1
87977 ac_status=$?
87978 grep -v '^ *+' conftest.er1 >conftest.err
87979 rm -f conftest.er1
87980 cat conftest.err >&5
87981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87982 (exit $ac_status); } &&
87983 { ac_try='test -z "$ac_cxx_werror_flag"
87984 || test ! -s conftest.err'
87985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87986 (eval $ac_try) 2>&5
87987 ac_status=$?
87988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87989 (exit $ac_status); }; } &&
87990 { ac_try='test -s conftest.$ac_objext'
87991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87992 (eval $ac_try) 2>&5
87993 ac_status=$?
87994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87995 (exit $ac_status); }; }; then
87996 glibcxx_cv_func_isinf_use=yes
87997 else
87998 echo "$as_me: failed program was:" >&5
87999 sed 's/^/| /' conftest.$ac_ext >&5
88001 glibcxx_cv_func_isinf_use=no
88003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88004 ac_ext=c
88005 ac_cpp='$CPP $CPPFLAGS'
88006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88015 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88017 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88019 for ac_func in isinf
88021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88022 echo "$as_me:$LINENO: checking for $ac_func" >&5
88023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88024 if eval "test \"\${$as_ac_var+set}\" = set"; then
88025 echo $ECHO_N "(cached) $ECHO_C" >&6
88026 else
88027 if test x$gcc_no_link = xyes; then
88028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88030 { (exit 1); exit 1; }; }
88032 cat >conftest.$ac_ext <<_ACEOF
88033 /* confdefs.h. */
88034 _ACEOF
88035 cat confdefs.h >>conftest.$ac_ext
88036 cat >>conftest.$ac_ext <<_ACEOF
88037 /* end confdefs.h. */
88038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88040 #define $ac_func innocuous_$ac_func
88042 /* System header to define __stub macros and hopefully few prototypes,
88043 which can conflict with char $ac_func (); below.
88044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88045 <limits.h> exists even on freestanding compilers. */
88047 #ifdef __STDC__
88048 # include <limits.h>
88049 #else
88050 # include <assert.h>
88051 #endif
88053 #undef $ac_func
88055 /* Override any gcc2 internal prototype to avoid an error. */
88056 #ifdef __cplusplus
88057 extern "C"
88059 #endif
88060 /* We use char because int might match the return type of a gcc2
88061 builtin and then its argument prototype would still apply. */
88062 char $ac_func ();
88063 /* The GNU C library defines this for functions which it implements
88064 to always fail with ENOSYS. Some functions are actually named
88065 something starting with __ and the normal name is an alias. */
88066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88067 choke me
88068 #else
88069 char (*f) () = $ac_func;
88070 #endif
88071 #ifdef __cplusplus
88073 #endif
88076 main ()
88078 return f != $ac_func;
88080 return 0;
88082 _ACEOF
88083 rm -f conftest.$ac_objext conftest$ac_exeext
88084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88085 (eval $ac_link) 2>conftest.er1
88086 ac_status=$?
88087 grep -v '^ *+' conftest.er1 >conftest.err
88088 rm -f conftest.er1
88089 cat conftest.err >&5
88090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88091 (exit $ac_status); } &&
88092 { ac_try='test -z "$ac_c_werror_flag"
88093 || test ! -s conftest.err'
88094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88095 (eval $ac_try) 2>&5
88096 ac_status=$?
88097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88098 (exit $ac_status); }; } &&
88099 { ac_try='test -s conftest$ac_exeext'
88100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88101 (eval $ac_try) 2>&5
88102 ac_status=$?
88103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88104 (exit $ac_status); }; }; then
88105 eval "$as_ac_var=yes"
88106 else
88107 echo "$as_me: failed program was:" >&5
88108 sed 's/^/| /' conftest.$ac_ext >&5
88110 eval "$as_ac_var=no"
88112 rm -f conftest.err conftest.$ac_objext \
88113 conftest$ac_exeext conftest.$ac_ext
88115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88117 if test `eval echo '${'$as_ac_var'}'` = yes; then
88118 cat >>confdefs.h <<_ACEOF
88119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88120 _ACEOF
88123 done
88125 else
88127 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88128 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88129 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88130 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88131 echo $ECHO_N "(cached) $ECHO_C" >&6
88132 else
88136 ac_ext=cc
88137 ac_cpp='$CXXCPP $CPPFLAGS'
88138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88142 cat >conftest.$ac_ext <<_ACEOF
88143 /* confdefs.h. */
88144 _ACEOF
88145 cat confdefs.h >>conftest.$ac_ext
88146 cat >>conftest.$ac_ext <<_ACEOF
88147 /* end confdefs.h. */
88148 #include <math.h>
88149 #ifdef HAVE_IEEEFP_H
88150 #include <ieeefp.h>
88151 #endif
88154 main ()
88156 _isinf(0);
88158 return 0;
88160 _ACEOF
88161 rm -f conftest.$ac_objext
88162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88163 (eval $ac_compile) 2>conftest.er1
88164 ac_status=$?
88165 grep -v '^ *+' conftest.er1 >conftest.err
88166 rm -f conftest.er1
88167 cat conftest.err >&5
88168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88169 (exit $ac_status); } &&
88170 { ac_try='test -z "$ac_cxx_werror_flag"
88171 || test ! -s conftest.err'
88172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88173 (eval $ac_try) 2>&5
88174 ac_status=$?
88175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88176 (exit $ac_status); }; } &&
88177 { ac_try='test -s conftest.$ac_objext'
88178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88179 (eval $ac_try) 2>&5
88180 ac_status=$?
88181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88182 (exit $ac_status); }; }; then
88183 glibcxx_cv_func__isinf_use=yes
88184 else
88185 echo "$as_me: failed program was:" >&5
88186 sed 's/^/| /' conftest.$ac_ext >&5
88188 glibcxx_cv_func__isinf_use=no
88190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88191 ac_ext=c
88192 ac_cpp='$CPP $CPPFLAGS'
88193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88202 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88204 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88206 for ac_func in _isinf
88208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88209 echo "$as_me:$LINENO: checking for $ac_func" >&5
88210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88211 if eval "test \"\${$as_ac_var+set}\" = set"; then
88212 echo $ECHO_N "(cached) $ECHO_C" >&6
88213 else
88214 if test x$gcc_no_link = xyes; then
88215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88217 { (exit 1); exit 1; }; }
88219 cat >conftest.$ac_ext <<_ACEOF
88220 /* confdefs.h. */
88221 _ACEOF
88222 cat confdefs.h >>conftest.$ac_ext
88223 cat >>conftest.$ac_ext <<_ACEOF
88224 /* end confdefs.h. */
88225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88227 #define $ac_func innocuous_$ac_func
88229 /* System header to define __stub macros and hopefully few prototypes,
88230 which can conflict with char $ac_func (); below.
88231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88232 <limits.h> exists even on freestanding compilers. */
88234 #ifdef __STDC__
88235 # include <limits.h>
88236 #else
88237 # include <assert.h>
88238 #endif
88240 #undef $ac_func
88242 /* Override any gcc2 internal prototype to avoid an error. */
88243 #ifdef __cplusplus
88244 extern "C"
88246 #endif
88247 /* We use char because int might match the return type of a gcc2
88248 builtin and then its argument prototype would still apply. */
88249 char $ac_func ();
88250 /* The GNU C library defines this for functions which it implements
88251 to always fail with ENOSYS. Some functions are actually named
88252 something starting with __ and the normal name is an alias. */
88253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88254 choke me
88255 #else
88256 char (*f) () = $ac_func;
88257 #endif
88258 #ifdef __cplusplus
88260 #endif
88263 main ()
88265 return f != $ac_func;
88267 return 0;
88269 _ACEOF
88270 rm -f conftest.$ac_objext conftest$ac_exeext
88271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88272 (eval $ac_link) 2>conftest.er1
88273 ac_status=$?
88274 grep -v '^ *+' conftest.er1 >conftest.err
88275 rm -f conftest.er1
88276 cat conftest.err >&5
88277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88278 (exit $ac_status); } &&
88279 { ac_try='test -z "$ac_c_werror_flag"
88280 || test ! -s conftest.err'
88281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88282 (eval $ac_try) 2>&5
88283 ac_status=$?
88284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285 (exit $ac_status); }; } &&
88286 { ac_try='test -s conftest$ac_exeext'
88287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88288 (eval $ac_try) 2>&5
88289 ac_status=$?
88290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88291 (exit $ac_status); }; }; then
88292 eval "$as_ac_var=yes"
88293 else
88294 echo "$as_me: failed program was:" >&5
88295 sed 's/^/| /' conftest.$ac_ext >&5
88297 eval "$as_ac_var=no"
88299 rm -f conftest.err conftest.$ac_objext \
88300 conftest$ac_exeext conftest.$ac_ext
88302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88304 if test `eval echo '${'$as_ac_var'}'` = yes; then
88305 cat >>confdefs.h <<_ACEOF
88306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88307 _ACEOF
88310 done
88320 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88321 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88322 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88323 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88324 echo $ECHO_N "(cached) $ECHO_C" >&6
88325 else
88329 ac_ext=cc
88330 ac_cpp='$CXXCPP $CPPFLAGS'
88331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88335 cat >conftest.$ac_ext <<_ACEOF
88336 /* confdefs.h. */
88337 _ACEOF
88338 cat confdefs.h >>conftest.$ac_ext
88339 cat >>conftest.$ac_ext <<_ACEOF
88340 /* end confdefs.h. */
88341 #include <math.h>
88342 #ifdef HAVE_IEEEFP_H
88343 #include <ieeefp.h>
88344 #endif
88347 main ()
88349 isnan(0);
88351 return 0;
88353 _ACEOF
88354 rm -f conftest.$ac_objext
88355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88356 (eval $ac_compile) 2>conftest.er1
88357 ac_status=$?
88358 grep -v '^ *+' conftest.er1 >conftest.err
88359 rm -f conftest.er1
88360 cat conftest.err >&5
88361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88362 (exit $ac_status); } &&
88363 { ac_try='test -z "$ac_cxx_werror_flag"
88364 || test ! -s conftest.err'
88365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88366 (eval $ac_try) 2>&5
88367 ac_status=$?
88368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88369 (exit $ac_status); }; } &&
88370 { ac_try='test -s conftest.$ac_objext'
88371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88372 (eval $ac_try) 2>&5
88373 ac_status=$?
88374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88375 (exit $ac_status); }; }; then
88376 glibcxx_cv_func_isnan_use=yes
88377 else
88378 echo "$as_me: failed program was:" >&5
88379 sed 's/^/| /' conftest.$ac_ext >&5
88381 glibcxx_cv_func_isnan_use=no
88383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88384 ac_ext=c
88385 ac_cpp='$CPP $CPPFLAGS'
88386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88395 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88397 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88399 for ac_func in isnan
88401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88402 echo "$as_me:$LINENO: checking for $ac_func" >&5
88403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88404 if eval "test \"\${$as_ac_var+set}\" = set"; then
88405 echo $ECHO_N "(cached) $ECHO_C" >&6
88406 else
88407 if test x$gcc_no_link = xyes; then
88408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88410 { (exit 1); exit 1; }; }
88412 cat >conftest.$ac_ext <<_ACEOF
88413 /* confdefs.h. */
88414 _ACEOF
88415 cat confdefs.h >>conftest.$ac_ext
88416 cat >>conftest.$ac_ext <<_ACEOF
88417 /* end confdefs.h. */
88418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88420 #define $ac_func innocuous_$ac_func
88422 /* System header to define __stub macros and hopefully few prototypes,
88423 which can conflict with char $ac_func (); below.
88424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88425 <limits.h> exists even on freestanding compilers. */
88427 #ifdef __STDC__
88428 # include <limits.h>
88429 #else
88430 # include <assert.h>
88431 #endif
88433 #undef $ac_func
88435 /* Override any gcc2 internal prototype to avoid an error. */
88436 #ifdef __cplusplus
88437 extern "C"
88439 #endif
88440 /* We use char because int might match the return type of a gcc2
88441 builtin and then its argument prototype would still apply. */
88442 char $ac_func ();
88443 /* The GNU C library defines this for functions which it implements
88444 to always fail with ENOSYS. Some functions are actually named
88445 something starting with __ and the normal name is an alias. */
88446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88447 choke me
88448 #else
88449 char (*f) () = $ac_func;
88450 #endif
88451 #ifdef __cplusplus
88453 #endif
88456 main ()
88458 return f != $ac_func;
88460 return 0;
88462 _ACEOF
88463 rm -f conftest.$ac_objext conftest$ac_exeext
88464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88465 (eval $ac_link) 2>conftest.er1
88466 ac_status=$?
88467 grep -v '^ *+' conftest.er1 >conftest.err
88468 rm -f conftest.er1
88469 cat conftest.err >&5
88470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88471 (exit $ac_status); } &&
88472 { ac_try='test -z "$ac_c_werror_flag"
88473 || test ! -s conftest.err'
88474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88475 (eval $ac_try) 2>&5
88476 ac_status=$?
88477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88478 (exit $ac_status); }; } &&
88479 { ac_try='test -s conftest$ac_exeext'
88480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88481 (eval $ac_try) 2>&5
88482 ac_status=$?
88483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88484 (exit $ac_status); }; }; then
88485 eval "$as_ac_var=yes"
88486 else
88487 echo "$as_me: failed program was:" >&5
88488 sed 's/^/| /' conftest.$ac_ext >&5
88490 eval "$as_ac_var=no"
88492 rm -f conftest.err conftest.$ac_objext \
88493 conftest$ac_exeext conftest.$ac_ext
88495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88497 if test `eval echo '${'$as_ac_var'}'` = yes; then
88498 cat >>confdefs.h <<_ACEOF
88499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88500 _ACEOF
88503 done
88505 else
88507 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88508 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88509 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88510 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88511 echo $ECHO_N "(cached) $ECHO_C" >&6
88512 else
88516 ac_ext=cc
88517 ac_cpp='$CXXCPP $CPPFLAGS'
88518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88522 cat >conftest.$ac_ext <<_ACEOF
88523 /* confdefs.h. */
88524 _ACEOF
88525 cat confdefs.h >>conftest.$ac_ext
88526 cat >>conftest.$ac_ext <<_ACEOF
88527 /* end confdefs.h. */
88528 #include <math.h>
88529 #ifdef HAVE_IEEEFP_H
88530 #include <ieeefp.h>
88531 #endif
88534 main ()
88536 _isnan(0);
88538 return 0;
88540 _ACEOF
88541 rm -f conftest.$ac_objext
88542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88543 (eval $ac_compile) 2>conftest.er1
88544 ac_status=$?
88545 grep -v '^ *+' conftest.er1 >conftest.err
88546 rm -f conftest.er1
88547 cat conftest.err >&5
88548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88549 (exit $ac_status); } &&
88550 { ac_try='test -z "$ac_cxx_werror_flag"
88551 || test ! -s conftest.err'
88552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88553 (eval $ac_try) 2>&5
88554 ac_status=$?
88555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88556 (exit $ac_status); }; } &&
88557 { ac_try='test -s conftest.$ac_objext'
88558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88559 (eval $ac_try) 2>&5
88560 ac_status=$?
88561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88562 (exit $ac_status); }; }; then
88563 glibcxx_cv_func__isnan_use=yes
88564 else
88565 echo "$as_me: failed program was:" >&5
88566 sed 's/^/| /' conftest.$ac_ext >&5
88568 glibcxx_cv_func__isnan_use=no
88570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88571 ac_ext=c
88572 ac_cpp='$CPP $CPPFLAGS'
88573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88582 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88584 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88586 for ac_func in _isnan
88588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88589 echo "$as_me:$LINENO: checking for $ac_func" >&5
88590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88591 if eval "test \"\${$as_ac_var+set}\" = set"; then
88592 echo $ECHO_N "(cached) $ECHO_C" >&6
88593 else
88594 if test x$gcc_no_link = xyes; then
88595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88597 { (exit 1); exit 1; }; }
88599 cat >conftest.$ac_ext <<_ACEOF
88600 /* confdefs.h. */
88601 _ACEOF
88602 cat confdefs.h >>conftest.$ac_ext
88603 cat >>conftest.$ac_ext <<_ACEOF
88604 /* end confdefs.h. */
88605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88607 #define $ac_func innocuous_$ac_func
88609 /* System header to define __stub macros and hopefully few prototypes,
88610 which can conflict with char $ac_func (); below.
88611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88612 <limits.h> exists even on freestanding compilers. */
88614 #ifdef __STDC__
88615 # include <limits.h>
88616 #else
88617 # include <assert.h>
88618 #endif
88620 #undef $ac_func
88622 /* Override any gcc2 internal prototype to avoid an error. */
88623 #ifdef __cplusplus
88624 extern "C"
88626 #endif
88627 /* We use char because int might match the return type of a gcc2
88628 builtin and then its argument prototype would still apply. */
88629 char $ac_func ();
88630 /* The GNU C library defines this for functions which it implements
88631 to always fail with ENOSYS. Some functions are actually named
88632 something starting with __ and the normal name is an alias. */
88633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88634 choke me
88635 #else
88636 char (*f) () = $ac_func;
88637 #endif
88638 #ifdef __cplusplus
88640 #endif
88643 main ()
88645 return f != $ac_func;
88647 return 0;
88649 _ACEOF
88650 rm -f conftest.$ac_objext conftest$ac_exeext
88651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88652 (eval $ac_link) 2>conftest.er1
88653 ac_status=$?
88654 grep -v '^ *+' conftest.er1 >conftest.err
88655 rm -f conftest.er1
88656 cat conftest.err >&5
88657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88658 (exit $ac_status); } &&
88659 { ac_try='test -z "$ac_c_werror_flag"
88660 || test ! -s conftest.err'
88661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88662 (eval $ac_try) 2>&5
88663 ac_status=$?
88664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88665 (exit $ac_status); }; } &&
88666 { ac_try='test -s conftest$ac_exeext'
88667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88668 (eval $ac_try) 2>&5
88669 ac_status=$?
88670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88671 (exit $ac_status); }; }; then
88672 eval "$as_ac_var=yes"
88673 else
88674 echo "$as_me: failed program was:" >&5
88675 sed 's/^/| /' conftest.$ac_ext >&5
88677 eval "$as_ac_var=no"
88679 rm -f conftest.err conftest.$ac_objext \
88680 conftest$ac_exeext conftest.$ac_ext
88682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88684 if test `eval echo '${'$as_ac_var'}'` = yes; then
88685 cat >>confdefs.h <<_ACEOF
88686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88687 _ACEOF
88690 done
88700 echo "$as_me:$LINENO: checking for finite declaration" >&5
88701 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88702 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88703 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88704 echo $ECHO_N "(cached) $ECHO_C" >&6
88705 else
88709 ac_ext=cc
88710 ac_cpp='$CXXCPP $CPPFLAGS'
88711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88715 cat >conftest.$ac_ext <<_ACEOF
88716 /* confdefs.h. */
88717 _ACEOF
88718 cat confdefs.h >>conftest.$ac_ext
88719 cat >>conftest.$ac_ext <<_ACEOF
88720 /* end confdefs.h. */
88721 #include <math.h>
88722 #ifdef HAVE_IEEEFP_H
88723 #include <ieeefp.h>
88724 #endif
88727 main ()
88729 finite(0);
88731 return 0;
88733 _ACEOF
88734 rm -f conftest.$ac_objext
88735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88736 (eval $ac_compile) 2>conftest.er1
88737 ac_status=$?
88738 grep -v '^ *+' conftest.er1 >conftest.err
88739 rm -f conftest.er1
88740 cat conftest.err >&5
88741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88742 (exit $ac_status); } &&
88743 { ac_try='test -z "$ac_cxx_werror_flag"
88744 || test ! -s conftest.err'
88745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88746 (eval $ac_try) 2>&5
88747 ac_status=$?
88748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88749 (exit $ac_status); }; } &&
88750 { ac_try='test -s conftest.$ac_objext'
88751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88752 (eval $ac_try) 2>&5
88753 ac_status=$?
88754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88755 (exit $ac_status); }; }; then
88756 glibcxx_cv_func_finite_use=yes
88757 else
88758 echo "$as_me: failed program was:" >&5
88759 sed 's/^/| /' conftest.$ac_ext >&5
88761 glibcxx_cv_func_finite_use=no
88763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88764 ac_ext=c
88765 ac_cpp='$CPP $CPPFLAGS'
88766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88775 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88777 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88779 for ac_func in finite
88781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88782 echo "$as_me:$LINENO: checking for $ac_func" >&5
88783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88784 if eval "test \"\${$as_ac_var+set}\" = set"; then
88785 echo $ECHO_N "(cached) $ECHO_C" >&6
88786 else
88787 if test x$gcc_no_link = xyes; then
88788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88790 { (exit 1); exit 1; }; }
88792 cat >conftest.$ac_ext <<_ACEOF
88793 /* confdefs.h. */
88794 _ACEOF
88795 cat confdefs.h >>conftest.$ac_ext
88796 cat >>conftest.$ac_ext <<_ACEOF
88797 /* end confdefs.h. */
88798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88800 #define $ac_func innocuous_$ac_func
88802 /* System header to define __stub macros and hopefully few prototypes,
88803 which can conflict with char $ac_func (); below.
88804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88805 <limits.h> exists even on freestanding compilers. */
88807 #ifdef __STDC__
88808 # include <limits.h>
88809 #else
88810 # include <assert.h>
88811 #endif
88813 #undef $ac_func
88815 /* Override any gcc2 internal prototype to avoid an error. */
88816 #ifdef __cplusplus
88817 extern "C"
88819 #endif
88820 /* We use char because int might match the return type of a gcc2
88821 builtin and then its argument prototype would still apply. */
88822 char $ac_func ();
88823 /* The GNU C library defines this for functions which it implements
88824 to always fail with ENOSYS. Some functions are actually named
88825 something starting with __ and the normal name is an alias. */
88826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88827 choke me
88828 #else
88829 char (*f) () = $ac_func;
88830 #endif
88831 #ifdef __cplusplus
88833 #endif
88836 main ()
88838 return f != $ac_func;
88840 return 0;
88842 _ACEOF
88843 rm -f conftest.$ac_objext conftest$ac_exeext
88844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88845 (eval $ac_link) 2>conftest.er1
88846 ac_status=$?
88847 grep -v '^ *+' conftest.er1 >conftest.err
88848 rm -f conftest.er1
88849 cat conftest.err >&5
88850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88851 (exit $ac_status); } &&
88852 { ac_try='test -z "$ac_c_werror_flag"
88853 || test ! -s conftest.err'
88854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88855 (eval $ac_try) 2>&5
88856 ac_status=$?
88857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88858 (exit $ac_status); }; } &&
88859 { ac_try='test -s conftest$ac_exeext'
88860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88861 (eval $ac_try) 2>&5
88862 ac_status=$?
88863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88864 (exit $ac_status); }; }; then
88865 eval "$as_ac_var=yes"
88866 else
88867 echo "$as_me: failed program was:" >&5
88868 sed 's/^/| /' conftest.$ac_ext >&5
88870 eval "$as_ac_var=no"
88872 rm -f conftest.err conftest.$ac_objext \
88873 conftest$ac_exeext conftest.$ac_ext
88875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88877 if test `eval echo '${'$as_ac_var'}'` = yes; then
88878 cat >>confdefs.h <<_ACEOF
88879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88880 _ACEOF
88883 done
88885 else
88887 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88888 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88889 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88890 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88891 echo $ECHO_N "(cached) $ECHO_C" >&6
88892 else
88896 ac_ext=cc
88897 ac_cpp='$CXXCPP $CPPFLAGS'
88898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88902 cat >conftest.$ac_ext <<_ACEOF
88903 /* confdefs.h. */
88904 _ACEOF
88905 cat confdefs.h >>conftest.$ac_ext
88906 cat >>conftest.$ac_ext <<_ACEOF
88907 /* end confdefs.h. */
88908 #include <math.h>
88909 #ifdef HAVE_IEEEFP_H
88910 #include <ieeefp.h>
88911 #endif
88914 main ()
88916 _finite(0);
88918 return 0;
88920 _ACEOF
88921 rm -f conftest.$ac_objext
88922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88923 (eval $ac_compile) 2>conftest.er1
88924 ac_status=$?
88925 grep -v '^ *+' conftest.er1 >conftest.err
88926 rm -f conftest.er1
88927 cat conftest.err >&5
88928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88929 (exit $ac_status); } &&
88930 { ac_try='test -z "$ac_cxx_werror_flag"
88931 || test ! -s conftest.err'
88932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88933 (eval $ac_try) 2>&5
88934 ac_status=$?
88935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88936 (exit $ac_status); }; } &&
88937 { ac_try='test -s conftest.$ac_objext'
88938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88939 (eval $ac_try) 2>&5
88940 ac_status=$?
88941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88942 (exit $ac_status); }; }; then
88943 glibcxx_cv_func__finite_use=yes
88944 else
88945 echo "$as_me: failed program was:" >&5
88946 sed 's/^/| /' conftest.$ac_ext >&5
88948 glibcxx_cv_func__finite_use=no
88950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88951 ac_ext=c
88952 ac_cpp='$CPP $CPPFLAGS'
88953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88962 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88964 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88966 for ac_func in _finite
88968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88969 echo "$as_me:$LINENO: checking for $ac_func" >&5
88970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88971 if eval "test \"\${$as_ac_var+set}\" = set"; then
88972 echo $ECHO_N "(cached) $ECHO_C" >&6
88973 else
88974 if test x$gcc_no_link = xyes; then
88975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88977 { (exit 1); exit 1; }; }
88979 cat >conftest.$ac_ext <<_ACEOF
88980 /* confdefs.h. */
88981 _ACEOF
88982 cat confdefs.h >>conftest.$ac_ext
88983 cat >>conftest.$ac_ext <<_ACEOF
88984 /* end confdefs.h. */
88985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88987 #define $ac_func innocuous_$ac_func
88989 /* System header to define __stub macros and hopefully few prototypes,
88990 which can conflict with char $ac_func (); below.
88991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88992 <limits.h> exists even on freestanding compilers. */
88994 #ifdef __STDC__
88995 # include <limits.h>
88996 #else
88997 # include <assert.h>
88998 #endif
89000 #undef $ac_func
89002 /* Override any gcc2 internal prototype to avoid an error. */
89003 #ifdef __cplusplus
89004 extern "C"
89006 #endif
89007 /* We use char because int might match the return type of a gcc2
89008 builtin and then its argument prototype would still apply. */
89009 char $ac_func ();
89010 /* The GNU C library defines this for functions which it implements
89011 to always fail with ENOSYS. Some functions are actually named
89012 something starting with __ and the normal name is an alias. */
89013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89014 choke me
89015 #else
89016 char (*f) () = $ac_func;
89017 #endif
89018 #ifdef __cplusplus
89020 #endif
89023 main ()
89025 return f != $ac_func;
89027 return 0;
89029 _ACEOF
89030 rm -f conftest.$ac_objext conftest$ac_exeext
89031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89032 (eval $ac_link) 2>conftest.er1
89033 ac_status=$?
89034 grep -v '^ *+' conftest.er1 >conftest.err
89035 rm -f conftest.er1
89036 cat conftest.err >&5
89037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89038 (exit $ac_status); } &&
89039 { ac_try='test -z "$ac_c_werror_flag"
89040 || test ! -s conftest.err'
89041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89042 (eval $ac_try) 2>&5
89043 ac_status=$?
89044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89045 (exit $ac_status); }; } &&
89046 { ac_try='test -s conftest$ac_exeext'
89047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048 (eval $ac_try) 2>&5
89049 ac_status=$?
89050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051 (exit $ac_status); }; }; then
89052 eval "$as_ac_var=yes"
89053 else
89054 echo "$as_me: failed program was:" >&5
89055 sed 's/^/| /' conftest.$ac_ext >&5
89057 eval "$as_ac_var=no"
89059 rm -f conftest.err conftest.$ac_objext \
89060 conftest$ac_exeext conftest.$ac_ext
89062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89064 if test `eval echo '${'$as_ac_var'}'` = yes; then
89065 cat >>confdefs.h <<_ACEOF
89066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89067 _ACEOF
89070 done
89080 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89081 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89082 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89083 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89084 echo $ECHO_N "(cached) $ECHO_C" >&6
89085 else
89089 ac_ext=cc
89090 ac_cpp='$CXXCPP $CPPFLAGS'
89091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89095 cat >conftest.$ac_ext <<_ACEOF
89096 /* confdefs.h. */
89097 _ACEOF
89098 cat confdefs.h >>conftest.$ac_ext
89099 cat >>conftest.$ac_ext <<_ACEOF
89100 /* end confdefs.h. */
89101 #include <math.h>
89103 main ()
89105 copysign(0, 0);
89107 return 0;
89109 _ACEOF
89110 rm -f conftest.$ac_objext
89111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89112 (eval $ac_compile) 2>conftest.er1
89113 ac_status=$?
89114 grep -v '^ *+' conftest.er1 >conftest.err
89115 rm -f conftest.er1
89116 cat conftest.err >&5
89117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89118 (exit $ac_status); } &&
89119 { ac_try='test -z "$ac_cxx_werror_flag"
89120 || test ! -s conftest.err'
89121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89122 (eval $ac_try) 2>&5
89123 ac_status=$?
89124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89125 (exit $ac_status); }; } &&
89126 { ac_try='test -s conftest.$ac_objext'
89127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89128 (eval $ac_try) 2>&5
89129 ac_status=$?
89130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89131 (exit $ac_status); }; }; then
89132 glibcxx_cv_func_copysign_use=yes
89133 else
89134 echo "$as_me: failed program was:" >&5
89135 sed 's/^/| /' conftest.$ac_ext >&5
89137 glibcxx_cv_func_copysign_use=no
89139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89140 ac_ext=c
89141 ac_cpp='$CPP $CPPFLAGS'
89142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89150 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89151 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89153 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89155 for ac_func in copysign
89157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89158 echo "$as_me:$LINENO: checking for $ac_func" >&5
89159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89160 if eval "test \"\${$as_ac_var+set}\" = set"; then
89161 echo $ECHO_N "(cached) $ECHO_C" >&6
89162 else
89163 if test x$gcc_no_link = xyes; then
89164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89166 { (exit 1); exit 1; }; }
89168 cat >conftest.$ac_ext <<_ACEOF
89169 /* confdefs.h. */
89170 _ACEOF
89171 cat confdefs.h >>conftest.$ac_ext
89172 cat >>conftest.$ac_ext <<_ACEOF
89173 /* end confdefs.h. */
89174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89176 #define $ac_func innocuous_$ac_func
89178 /* System header to define __stub macros and hopefully few prototypes,
89179 which can conflict with char $ac_func (); below.
89180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89181 <limits.h> exists even on freestanding compilers. */
89183 #ifdef __STDC__
89184 # include <limits.h>
89185 #else
89186 # include <assert.h>
89187 #endif
89189 #undef $ac_func
89191 /* Override any gcc2 internal prototype to avoid an error. */
89192 #ifdef __cplusplus
89193 extern "C"
89195 #endif
89196 /* We use char because int might match the return type of a gcc2
89197 builtin and then its argument prototype would still apply. */
89198 char $ac_func ();
89199 /* The GNU C library defines this for functions which it implements
89200 to always fail with ENOSYS. Some functions are actually named
89201 something starting with __ and the normal name is an alias. */
89202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89203 choke me
89204 #else
89205 char (*f) () = $ac_func;
89206 #endif
89207 #ifdef __cplusplus
89209 #endif
89212 main ()
89214 return f != $ac_func;
89216 return 0;
89218 _ACEOF
89219 rm -f conftest.$ac_objext conftest$ac_exeext
89220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89221 (eval $ac_link) 2>conftest.er1
89222 ac_status=$?
89223 grep -v '^ *+' conftest.er1 >conftest.err
89224 rm -f conftest.er1
89225 cat conftest.err >&5
89226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89227 (exit $ac_status); } &&
89228 { ac_try='test -z "$ac_c_werror_flag"
89229 || test ! -s conftest.err'
89230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89231 (eval $ac_try) 2>&5
89232 ac_status=$?
89233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89234 (exit $ac_status); }; } &&
89235 { ac_try='test -s conftest$ac_exeext'
89236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89237 (eval $ac_try) 2>&5
89238 ac_status=$?
89239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89240 (exit $ac_status); }; }; then
89241 eval "$as_ac_var=yes"
89242 else
89243 echo "$as_me: failed program was:" >&5
89244 sed 's/^/| /' conftest.$ac_ext >&5
89246 eval "$as_ac_var=no"
89248 rm -f conftest.err conftest.$ac_objext \
89249 conftest$ac_exeext conftest.$ac_ext
89251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89253 if test `eval echo '${'$as_ac_var'}'` = yes; then
89254 cat >>confdefs.h <<_ACEOF
89255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89256 _ACEOF
89259 done
89261 else
89263 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89264 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89265 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89266 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89267 echo $ECHO_N "(cached) $ECHO_C" >&6
89268 else
89272 ac_ext=cc
89273 ac_cpp='$CXXCPP $CPPFLAGS'
89274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89278 cat >conftest.$ac_ext <<_ACEOF
89279 /* confdefs.h. */
89280 _ACEOF
89281 cat confdefs.h >>conftest.$ac_ext
89282 cat >>conftest.$ac_ext <<_ACEOF
89283 /* end confdefs.h. */
89284 #include <math.h>
89286 main ()
89288 _copysign(0, 0);
89290 return 0;
89292 _ACEOF
89293 rm -f conftest.$ac_objext
89294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89295 (eval $ac_compile) 2>conftest.er1
89296 ac_status=$?
89297 grep -v '^ *+' conftest.er1 >conftest.err
89298 rm -f conftest.er1
89299 cat conftest.err >&5
89300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89301 (exit $ac_status); } &&
89302 { ac_try='test -z "$ac_cxx_werror_flag"
89303 || test ! -s conftest.err'
89304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89305 (eval $ac_try) 2>&5
89306 ac_status=$?
89307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89308 (exit $ac_status); }; } &&
89309 { ac_try='test -s conftest.$ac_objext'
89310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89311 (eval $ac_try) 2>&5
89312 ac_status=$?
89313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89314 (exit $ac_status); }; }; then
89315 glibcxx_cv_func__copysign_use=yes
89316 else
89317 echo "$as_me: failed program was:" >&5
89318 sed 's/^/| /' conftest.$ac_ext >&5
89320 glibcxx_cv_func__copysign_use=no
89322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89323 ac_ext=c
89324 ac_cpp='$CPP $CPPFLAGS'
89325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89334 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89336 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89338 for ac_func in _copysign
89340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89341 echo "$as_me:$LINENO: checking for $ac_func" >&5
89342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89343 if eval "test \"\${$as_ac_var+set}\" = set"; then
89344 echo $ECHO_N "(cached) $ECHO_C" >&6
89345 else
89346 if test x$gcc_no_link = xyes; then
89347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89349 { (exit 1); exit 1; }; }
89351 cat >conftest.$ac_ext <<_ACEOF
89352 /* confdefs.h. */
89353 _ACEOF
89354 cat confdefs.h >>conftest.$ac_ext
89355 cat >>conftest.$ac_ext <<_ACEOF
89356 /* end confdefs.h. */
89357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89359 #define $ac_func innocuous_$ac_func
89361 /* System header to define __stub macros and hopefully few prototypes,
89362 which can conflict with char $ac_func (); below.
89363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89364 <limits.h> exists even on freestanding compilers. */
89366 #ifdef __STDC__
89367 # include <limits.h>
89368 #else
89369 # include <assert.h>
89370 #endif
89372 #undef $ac_func
89374 /* Override any gcc2 internal prototype to avoid an error. */
89375 #ifdef __cplusplus
89376 extern "C"
89378 #endif
89379 /* We use char because int might match the return type of a gcc2
89380 builtin and then its argument prototype would still apply. */
89381 char $ac_func ();
89382 /* The GNU C library defines this for functions which it implements
89383 to always fail with ENOSYS. Some functions are actually named
89384 something starting with __ and the normal name is an alias. */
89385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89386 choke me
89387 #else
89388 char (*f) () = $ac_func;
89389 #endif
89390 #ifdef __cplusplus
89392 #endif
89395 main ()
89397 return f != $ac_func;
89399 return 0;
89401 _ACEOF
89402 rm -f conftest.$ac_objext conftest$ac_exeext
89403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89404 (eval $ac_link) 2>conftest.er1
89405 ac_status=$?
89406 grep -v '^ *+' conftest.er1 >conftest.err
89407 rm -f conftest.er1
89408 cat conftest.err >&5
89409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89410 (exit $ac_status); } &&
89411 { ac_try='test -z "$ac_c_werror_flag"
89412 || test ! -s conftest.err'
89413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89414 (eval $ac_try) 2>&5
89415 ac_status=$?
89416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89417 (exit $ac_status); }; } &&
89418 { ac_try='test -s conftest$ac_exeext'
89419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89420 (eval $ac_try) 2>&5
89421 ac_status=$?
89422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89423 (exit $ac_status); }; }; then
89424 eval "$as_ac_var=yes"
89425 else
89426 echo "$as_me: failed program was:" >&5
89427 sed 's/^/| /' conftest.$ac_ext >&5
89429 eval "$as_ac_var=no"
89431 rm -f conftest.err conftest.$ac_objext \
89432 conftest$ac_exeext conftest.$ac_ext
89434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89436 if test `eval echo '${'$as_ac_var'}'` = yes; then
89437 cat >>confdefs.h <<_ACEOF
89438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89439 _ACEOF
89442 done
89452 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89453 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89454 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89455 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89456 echo $ECHO_N "(cached) $ECHO_C" >&6
89457 else
89461 ac_ext=cc
89462 ac_cpp='$CXXCPP $CPPFLAGS'
89463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89467 cat >conftest.$ac_ext <<_ACEOF
89468 /* confdefs.h. */
89469 _ACEOF
89470 cat confdefs.h >>conftest.$ac_ext
89471 cat >>conftest.$ac_ext <<_ACEOF
89472 /* end confdefs.h. */
89473 #include <math.h>
89475 main ()
89477 sincos(0, 0, 0);
89479 return 0;
89481 _ACEOF
89482 rm -f conftest.$ac_objext
89483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89484 (eval $ac_compile) 2>conftest.er1
89485 ac_status=$?
89486 grep -v '^ *+' conftest.er1 >conftest.err
89487 rm -f conftest.er1
89488 cat conftest.err >&5
89489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89490 (exit $ac_status); } &&
89491 { ac_try='test -z "$ac_cxx_werror_flag"
89492 || test ! -s conftest.err'
89493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89494 (eval $ac_try) 2>&5
89495 ac_status=$?
89496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89497 (exit $ac_status); }; } &&
89498 { ac_try='test -s conftest.$ac_objext'
89499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89500 (eval $ac_try) 2>&5
89501 ac_status=$?
89502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89503 (exit $ac_status); }; }; then
89504 glibcxx_cv_func_sincos_use=yes
89505 else
89506 echo "$as_me: failed program was:" >&5
89507 sed 's/^/| /' conftest.$ac_ext >&5
89509 glibcxx_cv_func_sincos_use=no
89511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89512 ac_ext=c
89513 ac_cpp='$CPP $CPPFLAGS'
89514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89523 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89525 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89527 for ac_func in sincos
89529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89530 echo "$as_me:$LINENO: checking for $ac_func" >&5
89531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89532 if eval "test \"\${$as_ac_var+set}\" = set"; then
89533 echo $ECHO_N "(cached) $ECHO_C" >&6
89534 else
89535 if test x$gcc_no_link = xyes; then
89536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89538 { (exit 1); exit 1; }; }
89540 cat >conftest.$ac_ext <<_ACEOF
89541 /* confdefs.h. */
89542 _ACEOF
89543 cat confdefs.h >>conftest.$ac_ext
89544 cat >>conftest.$ac_ext <<_ACEOF
89545 /* end confdefs.h. */
89546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89548 #define $ac_func innocuous_$ac_func
89550 /* System header to define __stub macros and hopefully few prototypes,
89551 which can conflict with char $ac_func (); below.
89552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89553 <limits.h> exists even on freestanding compilers. */
89555 #ifdef __STDC__
89556 # include <limits.h>
89557 #else
89558 # include <assert.h>
89559 #endif
89561 #undef $ac_func
89563 /* Override any gcc2 internal prototype to avoid an error. */
89564 #ifdef __cplusplus
89565 extern "C"
89567 #endif
89568 /* We use char because int might match the return type of a gcc2
89569 builtin and then its argument prototype would still apply. */
89570 char $ac_func ();
89571 /* The GNU C library defines this for functions which it implements
89572 to always fail with ENOSYS. Some functions are actually named
89573 something starting with __ and the normal name is an alias. */
89574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89575 choke me
89576 #else
89577 char (*f) () = $ac_func;
89578 #endif
89579 #ifdef __cplusplus
89581 #endif
89584 main ()
89586 return f != $ac_func;
89588 return 0;
89590 _ACEOF
89591 rm -f conftest.$ac_objext conftest$ac_exeext
89592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89593 (eval $ac_link) 2>conftest.er1
89594 ac_status=$?
89595 grep -v '^ *+' conftest.er1 >conftest.err
89596 rm -f conftest.er1
89597 cat conftest.err >&5
89598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89599 (exit $ac_status); } &&
89600 { ac_try='test -z "$ac_c_werror_flag"
89601 || test ! -s conftest.err'
89602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89603 (eval $ac_try) 2>&5
89604 ac_status=$?
89605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89606 (exit $ac_status); }; } &&
89607 { ac_try='test -s conftest$ac_exeext'
89608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89609 (eval $ac_try) 2>&5
89610 ac_status=$?
89611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89612 (exit $ac_status); }; }; then
89613 eval "$as_ac_var=yes"
89614 else
89615 echo "$as_me: failed program was:" >&5
89616 sed 's/^/| /' conftest.$ac_ext >&5
89618 eval "$as_ac_var=no"
89620 rm -f conftest.err conftest.$ac_objext \
89621 conftest$ac_exeext conftest.$ac_ext
89623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89625 if test `eval echo '${'$as_ac_var'}'` = yes; then
89626 cat >>confdefs.h <<_ACEOF
89627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89628 _ACEOF
89631 done
89633 else
89635 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89636 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89637 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89638 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89639 echo $ECHO_N "(cached) $ECHO_C" >&6
89640 else
89644 ac_ext=cc
89645 ac_cpp='$CXXCPP $CPPFLAGS'
89646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89650 cat >conftest.$ac_ext <<_ACEOF
89651 /* confdefs.h. */
89652 _ACEOF
89653 cat confdefs.h >>conftest.$ac_ext
89654 cat >>conftest.$ac_ext <<_ACEOF
89655 /* end confdefs.h. */
89656 #include <math.h>
89658 main ()
89660 _sincos(0, 0, 0);
89662 return 0;
89664 _ACEOF
89665 rm -f conftest.$ac_objext
89666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89667 (eval $ac_compile) 2>conftest.er1
89668 ac_status=$?
89669 grep -v '^ *+' conftest.er1 >conftest.err
89670 rm -f conftest.er1
89671 cat conftest.err >&5
89672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89673 (exit $ac_status); } &&
89674 { ac_try='test -z "$ac_cxx_werror_flag"
89675 || test ! -s conftest.err'
89676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89677 (eval $ac_try) 2>&5
89678 ac_status=$?
89679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89680 (exit $ac_status); }; } &&
89681 { ac_try='test -s conftest.$ac_objext'
89682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89683 (eval $ac_try) 2>&5
89684 ac_status=$?
89685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89686 (exit $ac_status); }; }; then
89687 glibcxx_cv_func__sincos_use=yes
89688 else
89689 echo "$as_me: failed program was:" >&5
89690 sed 's/^/| /' conftest.$ac_ext >&5
89692 glibcxx_cv_func__sincos_use=no
89694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89695 ac_ext=c
89696 ac_cpp='$CPP $CPPFLAGS'
89697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89706 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89708 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89710 for ac_func in _sincos
89712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89713 echo "$as_me:$LINENO: checking for $ac_func" >&5
89714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89715 if eval "test \"\${$as_ac_var+set}\" = set"; then
89716 echo $ECHO_N "(cached) $ECHO_C" >&6
89717 else
89718 if test x$gcc_no_link = xyes; then
89719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89721 { (exit 1); exit 1; }; }
89723 cat >conftest.$ac_ext <<_ACEOF
89724 /* confdefs.h. */
89725 _ACEOF
89726 cat confdefs.h >>conftest.$ac_ext
89727 cat >>conftest.$ac_ext <<_ACEOF
89728 /* end confdefs.h. */
89729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89731 #define $ac_func innocuous_$ac_func
89733 /* System header to define __stub macros and hopefully few prototypes,
89734 which can conflict with char $ac_func (); below.
89735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89736 <limits.h> exists even on freestanding compilers. */
89738 #ifdef __STDC__
89739 # include <limits.h>
89740 #else
89741 # include <assert.h>
89742 #endif
89744 #undef $ac_func
89746 /* Override any gcc2 internal prototype to avoid an error. */
89747 #ifdef __cplusplus
89748 extern "C"
89750 #endif
89751 /* We use char because int might match the return type of a gcc2
89752 builtin and then its argument prototype would still apply. */
89753 char $ac_func ();
89754 /* The GNU C library defines this for functions which it implements
89755 to always fail with ENOSYS. Some functions are actually named
89756 something starting with __ and the normal name is an alias. */
89757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89758 choke me
89759 #else
89760 char (*f) () = $ac_func;
89761 #endif
89762 #ifdef __cplusplus
89764 #endif
89767 main ()
89769 return f != $ac_func;
89771 return 0;
89773 _ACEOF
89774 rm -f conftest.$ac_objext conftest$ac_exeext
89775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89776 (eval $ac_link) 2>conftest.er1
89777 ac_status=$?
89778 grep -v '^ *+' conftest.er1 >conftest.err
89779 rm -f conftest.er1
89780 cat conftest.err >&5
89781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89782 (exit $ac_status); } &&
89783 { ac_try='test -z "$ac_c_werror_flag"
89784 || test ! -s conftest.err'
89785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89786 (eval $ac_try) 2>&5
89787 ac_status=$?
89788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89789 (exit $ac_status); }; } &&
89790 { ac_try='test -s conftest$ac_exeext'
89791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89792 (eval $ac_try) 2>&5
89793 ac_status=$?
89794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89795 (exit $ac_status); }; }; then
89796 eval "$as_ac_var=yes"
89797 else
89798 echo "$as_me: failed program was:" >&5
89799 sed 's/^/| /' conftest.$ac_ext >&5
89801 eval "$as_ac_var=no"
89803 rm -f conftest.err conftest.$ac_objext \
89804 conftest$ac_exeext conftest.$ac_ext
89806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89808 if test `eval echo '${'$as_ac_var'}'` = yes; then
89809 cat >>confdefs.h <<_ACEOF
89810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89811 _ACEOF
89814 done
89824 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89825 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89826 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89827 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89828 echo $ECHO_N "(cached) $ECHO_C" >&6
89829 else
89833 ac_ext=cc
89834 ac_cpp='$CXXCPP $CPPFLAGS'
89835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89839 cat >conftest.$ac_ext <<_ACEOF
89840 /* confdefs.h. */
89841 _ACEOF
89842 cat confdefs.h >>conftest.$ac_ext
89843 cat >>conftest.$ac_ext <<_ACEOF
89844 /* end confdefs.h. */
89845 #include <math.h>
89846 #ifdef HAVE_IEEEFP_H
89847 #include <ieeefp.h>
89848 #endif
89851 main ()
89853 fpclass(0);
89855 return 0;
89857 _ACEOF
89858 rm -f conftest.$ac_objext
89859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89860 (eval $ac_compile) 2>conftest.er1
89861 ac_status=$?
89862 grep -v '^ *+' conftest.er1 >conftest.err
89863 rm -f conftest.er1
89864 cat conftest.err >&5
89865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89866 (exit $ac_status); } &&
89867 { ac_try='test -z "$ac_cxx_werror_flag"
89868 || test ! -s conftest.err'
89869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89870 (eval $ac_try) 2>&5
89871 ac_status=$?
89872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89873 (exit $ac_status); }; } &&
89874 { ac_try='test -s conftest.$ac_objext'
89875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89876 (eval $ac_try) 2>&5
89877 ac_status=$?
89878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89879 (exit $ac_status); }; }; then
89880 glibcxx_cv_func_fpclass_use=yes
89881 else
89882 echo "$as_me: failed program was:" >&5
89883 sed 's/^/| /' conftest.$ac_ext >&5
89885 glibcxx_cv_func_fpclass_use=no
89887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89888 ac_ext=c
89889 ac_cpp='$CPP $CPPFLAGS'
89890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89899 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89901 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89903 for ac_func in fpclass
89905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89906 echo "$as_me:$LINENO: checking for $ac_func" >&5
89907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89908 if eval "test \"\${$as_ac_var+set}\" = set"; then
89909 echo $ECHO_N "(cached) $ECHO_C" >&6
89910 else
89911 if test x$gcc_no_link = xyes; then
89912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89914 { (exit 1); exit 1; }; }
89916 cat >conftest.$ac_ext <<_ACEOF
89917 /* confdefs.h. */
89918 _ACEOF
89919 cat confdefs.h >>conftest.$ac_ext
89920 cat >>conftest.$ac_ext <<_ACEOF
89921 /* end confdefs.h. */
89922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89924 #define $ac_func innocuous_$ac_func
89926 /* System header to define __stub macros and hopefully few prototypes,
89927 which can conflict with char $ac_func (); below.
89928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89929 <limits.h> exists even on freestanding compilers. */
89931 #ifdef __STDC__
89932 # include <limits.h>
89933 #else
89934 # include <assert.h>
89935 #endif
89937 #undef $ac_func
89939 /* Override any gcc2 internal prototype to avoid an error. */
89940 #ifdef __cplusplus
89941 extern "C"
89943 #endif
89944 /* We use char because int might match the return type of a gcc2
89945 builtin and then its argument prototype would still apply. */
89946 char $ac_func ();
89947 /* The GNU C library defines this for functions which it implements
89948 to always fail with ENOSYS. Some functions are actually named
89949 something starting with __ and the normal name is an alias. */
89950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89951 choke me
89952 #else
89953 char (*f) () = $ac_func;
89954 #endif
89955 #ifdef __cplusplus
89957 #endif
89960 main ()
89962 return f != $ac_func;
89964 return 0;
89966 _ACEOF
89967 rm -f conftest.$ac_objext conftest$ac_exeext
89968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89969 (eval $ac_link) 2>conftest.er1
89970 ac_status=$?
89971 grep -v '^ *+' conftest.er1 >conftest.err
89972 rm -f conftest.er1
89973 cat conftest.err >&5
89974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89975 (exit $ac_status); } &&
89976 { ac_try='test -z "$ac_c_werror_flag"
89977 || test ! -s conftest.err'
89978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89979 (eval $ac_try) 2>&5
89980 ac_status=$?
89981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89982 (exit $ac_status); }; } &&
89983 { ac_try='test -s conftest$ac_exeext'
89984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89985 (eval $ac_try) 2>&5
89986 ac_status=$?
89987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89988 (exit $ac_status); }; }; then
89989 eval "$as_ac_var=yes"
89990 else
89991 echo "$as_me: failed program was:" >&5
89992 sed 's/^/| /' conftest.$ac_ext >&5
89994 eval "$as_ac_var=no"
89996 rm -f conftest.err conftest.$ac_objext \
89997 conftest$ac_exeext conftest.$ac_ext
89999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90001 if test `eval echo '${'$as_ac_var'}'` = yes; then
90002 cat >>confdefs.h <<_ACEOF
90003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90004 _ACEOF
90007 done
90009 else
90011 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90012 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90013 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90014 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90015 echo $ECHO_N "(cached) $ECHO_C" >&6
90016 else
90020 ac_ext=cc
90021 ac_cpp='$CXXCPP $CPPFLAGS'
90022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90026 cat >conftest.$ac_ext <<_ACEOF
90027 /* confdefs.h. */
90028 _ACEOF
90029 cat confdefs.h >>conftest.$ac_ext
90030 cat >>conftest.$ac_ext <<_ACEOF
90031 /* end confdefs.h. */
90032 #include <math.h>
90033 #ifdef HAVE_IEEEFP_H
90034 #include <ieeefp.h>
90035 #endif
90038 main ()
90040 _fpclass(0);
90042 return 0;
90044 _ACEOF
90045 rm -f conftest.$ac_objext
90046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90047 (eval $ac_compile) 2>conftest.er1
90048 ac_status=$?
90049 grep -v '^ *+' conftest.er1 >conftest.err
90050 rm -f conftest.er1
90051 cat conftest.err >&5
90052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90053 (exit $ac_status); } &&
90054 { ac_try='test -z "$ac_cxx_werror_flag"
90055 || test ! -s conftest.err'
90056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90057 (eval $ac_try) 2>&5
90058 ac_status=$?
90059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90060 (exit $ac_status); }; } &&
90061 { ac_try='test -s conftest.$ac_objext'
90062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90063 (eval $ac_try) 2>&5
90064 ac_status=$?
90065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90066 (exit $ac_status); }; }; then
90067 glibcxx_cv_func__fpclass_use=yes
90068 else
90069 echo "$as_me: failed program was:" >&5
90070 sed 's/^/| /' conftest.$ac_ext >&5
90072 glibcxx_cv_func__fpclass_use=no
90074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90075 ac_ext=c
90076 ac_cpp='$CPP $CPPFLAGS'
90077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90085 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90086 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90088 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90090 for ac_func in _fpclass
90092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90093 echo "$as_me:$LINENO: checking for $ac_func" >&5
90094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90095 if eval "test \"\${$as_ac_var+set}\" = set"; then
90096 echo $ECHO_N "(cached) $ECHO_C" >&6
90097 else
90098 if test x$gcc_no_link = xyes; then
90099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90101 { (exit 1); exit 1; }; }
90103 cat >conftest.$ac_ext <<_ACEOF
90104 /* confdefs.h. */
90105 _ACEOF
90106 cat confdefs.h >>conftest.$ac_ext
90107 cat >>conftest.$ac_ext <<_ACEOF
90108 /* end confdefs.h. */
90109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90111 #define $ac_func innocuous_$ac_func
90113 /* System header to define __stub macros and hopefully few prototypes,
90114 which can conflict with char $ac_func (); below.
90115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90116 <limits.h> exists even on freestanding compilers. */
90118 #ifdef __STDC__
90119 # include <limits.h>
90120 #else
90121 # include <assert.h>
90122 #endif
90124 #undef $ac_func
90126 /* Override any gcc2 internal prototype to avoid an error. */
90127 #ifdef __cplusplus
90128 extern "C"
90130 #endif
90131 /* We use char because int might match the return type of a gcc2
90132 builtin and then its argument prototype would still apply. */
90133 char $ac_func ();
90134 /* The GNU C library defines this for functions which it implements
90135 to always fail with ENOSYS. Some functions are actually named
90136 something starting with __ and the normal name is an alias. */
90137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90138 choke me
90139 #else
90140 char (*f) () = $ac_func;
90141 #endif
90142 #ifdef __cplusplus
90144 #endif
90147 main ()
90149 return f != $ac_func;
90151 return 0;
90153 _ACEOF
90154 rm -f conftest.$ac_objext conftest$ac_exeext
90155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90156 (eval $ac_link) 2>conftest.er1
90157 ac_status=$?
90158 grep -v '^ *+' conftest.er1 >conftest.err
90159 rm -f conftest.er1
90160 cat conftest.err >&5
90161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90162 (exit $ac_status); } &&
90163 { ac_try='test -z "$ac_c_werror_flag"
90164 || test ! -s conftest.err'
90165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90166 (eval $ac_try) 2>&5
90167 ac_status=$?
90168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90169 (exit $ac_status); }; } &&
90170 { ac_try='test -s conftest$ac_exeext'
90171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90172 (eval $ac_try) 2>&5
90173 ac_status=$?
90174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90175 (exit $ac_status); }; }; then
90176 eval "$as_ac_var=yes"
90177 else
90178 echo "$as_me: failed program was:" >&5
90179 sed 's/^/| /' conftest.$ac_ext >&5
90181 eval "$as_ac_var=no"
90183 rm -f conftest.err conftest.$ac_objext \
90184 conftest$ac_exeext conftest.$ac_ext
90186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90188 if test `eval echo '${'$as_ac_var'}'` = yes; then
90189 cat >>confdefs.h <<_ACEOF
90190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90191 _ACEOF
90194 done
90204 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90205 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90206 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90207 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90208 echo $ECHO_N "(cached) $ECHO_C" >&6
90209 else
90213 ac_ext=cc
90214 ac_cpp='$CXXCPP $CPPFLAGS'
90215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90219 cat >conftest.$ac_ext <<_ACEOF
90220 /* confdefs.h. */
90221 _ACEOF
90222 cat confdefs.h >>conftest.$ac_ext
90223 cat >>conftest.$ac_ext <<_ACEOF
90224 /* end confdefs.h. */
90225 #include <math.h>
90226 #ifdef HAVE_IEEEFP_H
90227 #include <ieeefp.h>
90228 #endif
90231 main ()
90233 qfpclass(0);
90235 return 0;
90237 _ACEOF
90238 rm -f conftest.$ac_objext
90239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90240 (eval $ac_compile) 2>conftest.er1
90241 ac_status=$?
90242 grep -v '^ *+' conftest.er1 >conftest.err
90243 rm -f conftest.er1
90244 cat conftest.err >&5
90245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90246 (exit $ac_status); } &&
90247 { ac_try='test -z "$ac_cxx_werror_flag"
90248 || test ! -s conftest.err'
90249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90250 (eval $ac_try) 2>&5
90251 ac_status=$?
90252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90253 (exit $ac_status); }; } &&
90254 { ac_try='test -s conftest.$ac_objext'
90255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90256 (eval $ac_try) 2>&5
90257 ac_status=$?
90258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90259 (exit $ac_status); }; }; then
90260 glibcxx_cv_func_qfpclass_use=yes
90261 else
90262 echo "$as_me: failed program was:" >&5
90263 sed 's/^/| /' conftest.$ac_ext >&5
90265 glibcxx_cv_func_qfpclass_use=no
90267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90268 ac_ext=c
90269 ac_cpp='$CPP $CPPFLAGS'
90270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90278 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90279 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90281 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90283 for ac_func in qfpclass
90285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90286 echo "$as_me:$LINENO: checking for $ac_func" >&5
90287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90288 if eval "test \"\${$as_ac_var+set}\" = set"; then
90289 echo $ECHO_N "(cached) $ECHO_C" >&6
90290 else
90291 if test x$gcc_no_link = xyes; then
90292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90294 { (exit 1); exit 1; }; }
90296 cat >conftest.$ac_ext <<_ACEOF
90297 /* confdefs.h. */
90298 _ACEOF
90299 cat confdefs.h >>conftest.$ac_ext
90300 cat >>conftest.$ac_ext <<_ACEOF
90301 /* end confdefs.h. */
90302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90304 #define $ac_func innocuous_$ac_func
90306 /* System header to define __stub macros and hopefully few prototypes,
90307 which can conflict with char $ac_func (); below.
90308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90309 <limits.h> exists even on freestanding compilers. */
90311 #ifdef __STDC__
90312 # include <limits.h>
90313 #else
90314 # include <assert.h>
90315 #endif
90317 #undef $ac_func
90319 /* Override any gcc2 internal prototype to avoid an error. */
90320 #ifdef __cplusplus
90321 extern "C"
90323 #endif
90324 /* We use char because int might match the return type of a gcc2
90325 builtin and then its argument prototype would still apply. */
90326 char $ac_func ();
90327 /* The GNU C library defines this for functions which it implements
90328 to always fail with ENOSYS. Some functions are actually named
90329 something starting with __ and the normal name is an alias. */
90330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90331 choke me
90332 #else
90333 char (*f) () = $ac_func;
90334 #endif
90335 #ifdef __cplusplus
90337 #endif
90340 main ()
90342 return f != $ac_func;
90344 return 0;
90346 _ACEOF
90347 rm -f conftest.$ac_objext conftest$ac_exeext
90348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90349 (eval $ac_link) 2>conftest.er1
90350 ac_status=$?
90351 grep -v '^ *+' conftest.er1 >conftest.err
90352 rm -f conftest.er1
90353 cat conftest.err >&5
90354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90355 (exit $ac_status); } &&
90356 { ac_try='test -z "$ac_c_werror_flag"
90357 || test ! -s conftest.err'
90358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90359 (eval $ac_try) 2>&5
90360 ac_status=$?
90361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90362 (exit $ac_status); }; } &&
90363 { ac_try='test -s conftest$ac_exeext'
90364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90365 (eval $ac_try) 2>&5
90366 ac_status=$?
90367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90368 (exit $ac_status); }; }; then
90369 eval "$as_ac_var=yes"
90370 else
90371 echo "$as_me: failed program was:" >&5
90372 sed 's/^/| /' conftest.$ac_ext >&5
90374 eval "$as_ac_var=no"
90376 rm -f conftest.err conftest.$ac_objext \
90377 conftest$ac_exeext conftest.$ac_ext
90379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90381 if test `eval echo '${'$as_ac_var'}'` = yes; then
90382 cat >>confdefs.h <<_ACEOF
90383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90384 _ACEOF
90387 done
90389 else
90391 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90392 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90393 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90394 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90395 echo $ECHO_N "(cached) $ECHO_C" >&6
90396 else
90400 ac_ext=cc
90401 ac_cpp='$CXXCPP $CPPFLAGS'
90402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90406 cat >conftest.$ac_ext <<_ACEOF
90407 /* confdefs.h. */
90408 _ACEOF
90409 cat confdefs.h >>conftest.$ac_ext
90410 cat >>conftest.$ac_ext <<_ACEOF
90411 /* end confdefs.h. */
90412 #include <math.h>
90413 #ifdef HAVE_IEEEFP_H
90414 #include <ieeefp.h>
90415 #endif
90418 main ()
90420 _qfpclass(0);
90422 return 0;
90424 _ACEOF
90425 rm -f conftest.$ac_objext
90426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90427 (eval $ac_compile) 2>conftest.er1
90428 ac_status=$?
90429 grep -v '^ *+' conftest.er1 >conftest.err
90430 rm -f conftest.er1
90431 cat conftest.err >&5
90432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90433 (exit $ac_status); } &&
90434 { ac_try='test -z "$ac_cxx_werror_flag"
90435 || test ! -s conftest.err'
90436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90437 (eval $ac_try) 2>&5
90438 ac_status=$?
90439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90440 (exit $ac_status); }; } &&
90441 { ac_try='test -s conftest.$ac_objext'
90442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90443 (eval $ac_try) 2>&5
90444 ac_status=$?
90445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90446 (exit $ac_status); }; }; then
90447 glibcxx_cv_func__qfpclass_use=yes
90448 else
90449 echo "$as_me: failed program was:" >&5
90450 sed 's/^/| /' conftest.$ac_ext >&5
90452 glibcxx_cv_func__qfpclass_use=no
90454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90455 ac_ext=c
90456 ac_cpp='$CPP $CPPFLAGS'
90457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90465 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90466 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90468 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90470 for ac_func in _qfpclass
90472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90473 echo "$as_me:$LINENO: checking for $ac_func" >&5
90474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90475 if eval "test \"\${$as_ac_var+set}\" = set"; then
90476 echo $ECHO_N "(cached) $ECHO_C" >&6
90477 else
90478 if test x$gcc_no_link = xyes; then
90479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90481 { (exit 1); exit 1; }; }
90483 cat >conftest.$ac_ext <<_ACEOF
90484 /* confdefs.h. */
90485 _ACEOF
90486 cat confdefs.h >>conftest.$ac_ext
90487 cat >>conftest.$ac_ext <<_ACEOF
90488 /* end confdefs.h. */
90489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90491 #define $ac_func innocuous_$ac_func
90493 /* System header to define __stub macros and hopefully few prototypes,
90494 which can conflict with char $ac_func (); below.
90495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90496 <limits.h> exists even on freestanding compilers. */
90498 #ifdef __STDC__
90499 # include <limits.h>
90500 #else
90501 # include <assert.h>
90502 #endif
90504 #undef $ac_func
90506 /* Override any gcc2 internal prototype to avoid an error. */
90507 #ifdef __cplusplus
90508 extern "C"
90510 #endif
90511 /* We use char because int might match the return type of a gcc2
90512 builtin and then its argument prototype would still apply. */
90513 char $ac_func ();
90514 /* The GNU C library defines this for functions which it implements
90515 to always fail with ENOSYS. Some functions are actually named
90516 something starting with __ and the normal name is an alias. */
90517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90518 choke me
90519 #else
90520 char (*f) () = $ac_func;
90521 #endif
90522 #ifdef __cplusplus
90524 #endif
90527 main ()
90529 return f != $ac_func;
90531 return 0;
90533 _ACEOF
90534 rm -f conftest.$ac_objext conftest$ac_exeext
90535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90536 (eval $ac_link) 2>conftest.er1
90537 ac_status=$?
90538 grep -v '^ *+' conftest.er1 >conftest.err
90539 rm -f conftest.er1
90540 cat conftest.err >&5
90541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90542 (exit $ac_status); } &&
90543 { ac_try='test -z "$ac_c_werror_flag"
90544 || test ! -s conftest.err'
90545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90546 (eval $ac_try) 2>&5
90547 ac_status=$?
90548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90549 (exit $ac_status); }; } &&
90550 { ac_try='test -s conftest$ac_exeext'
90551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90552 (eval $ac_try) 2>&5
90553 ac_status=$?
90554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90555 (exit $ac_status); }; }; then
90556 eval "$as_ac_var=yes"
90557 else
90558 echo "$as_me: failed program was:" >&5
90559 sed 's/^/| /' conftest.$ac_ext >&5
90561 eval "$as_ac_var=no"
90563 rm -f conftest.err conftest.$ac_objext \
90564 conftest$ac_exeext conftest.$ac_ext
90566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90568 if test `eval echo '${'$as_ac_var'}'` = yes; then
90569 cat >>confdefs.h <<_ACEOF
90570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90571 _ACEOF
90574 done
90584 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90585 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90586 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90587 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90588 echo $ECHO_N "(cached) $ECHO_C" >&6
90589 else
90593 ac_ext=cc
90594 ac_cpp='$CXXCPP $CPPFLAGS'
90595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90599 cat >conftest.$ac_ext <<_ACEOF
90600 /* confdefs.h. */
90601 _ACEOF
90602 cat confdefs.h >>conftest.$ac_ext
90603 cat >>conftest.$ac_ext <<_ACEOF
90604 /* end confdefs.h. */
90605 #include <math.h>
90607 main ()
90609 hypot(0, 0);
90611 return 0;
90613 _ACEOF
90614 rm -f conftest.$ac_objext
90615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90616 (eval $ac_compile) 2>conftest.er1
90617 ac_status=$?
90618 grep -v '^ *+' conftest.er1 >conftest.err
90619 rm -f conftest.er1
90620 cat conftest.err >&5
90621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90622 (exit $ac_status); } &&
90623 { ac_try='test -z "$ac_cxx_werror_flag"
90624 || test ! -s conftest.err'
90625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90626 (eval $ac_try) 2>&5
90627 ac_status=$?
90628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90629 (exit $ac_status); }; } &&
90630 { ac_try='test -s conftest.$ac_objext'
90631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90632 (eval $ac_try) 2>&5
90633 ac_status=$?
90634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90635 (exit $ac_status); }; }; then
90636 glibcxx_cv_func_hypot_use=yes
90637 else
90638 echo "$as_me: failed program was:" >&5
90639 sed 's/^/| /' conftest.$ac_ext >&5
90641 glibcxx_cv_func_hypot_use=no
90643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90644 ac_ext=c
90645 ac_cpp='$CPP $CPPFLAGS'
90646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90654 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90655 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90657 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90659 for ac_func in hypot
90661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90662 echo "$as_me:$LINENO: checking for $ac_func" >&5
90663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90664 if eval "test \"\${$as_ac_var+set}\" = set"; then
90665 echo $ECHO_N "(cached) $ECHO_C" >&6
90666 else
90667 if test x$gcc_no_link = xyes; then
90668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90670 { (exit 1); exit 1; }; }
90672 cat >conftest.$ac_ext <<_ACEOF
90673 /* confdefs.h. */
90674 _ACEOF
90675 cat confdefs.h >>conftest.$ac_ext
90676 cat >>conftest.$ac_ext <<_ACEOF
90677 /* end confdefs.h. */
90678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90680 #define $ac_func innocuous_$ac_func
90682 /* System header to define __stub macros and hopefully few prototypes,
90683 which can conflict with char $ac_func (); below.
90684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90685 <limits.h> exists even on freestanding compilers. */
90687 #ifdef __STDC__
90688 # include <limits.h>
90689 #else
90690 # include <assert.h>
90691 #endif
90693 #undef $ac_func
90695 /* Override any gcc2 internal prototype to avoid an error. */
90696 #ifdef __cplusplus
90697 extern "C"
90699 #endif
90700 /* We use char because int might match the return type of a gcc2
90701 builtin and then its argument prototype would still apply. */
90702 char $ac_func ();
90703 /* The GNU C library defines this for functions which it implements
90704 to always fail with ENOSYS. Some functions are actually named
90705 something starting with __ and the normal name is an alias. */
90706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90707 choke me
90708 #else
90709 char (*f) () = $ac_func;
90710 #endif
90711 #ifdef __cplusplus
90713 #endif
90716 main ()
90718 return f != $ac_func;
90720 return 0;
90722 _ACEOF
90723 rm -f conftest.$ac_objext conftest$ac_exeext
90724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90725 (eval $ac_link) 2>conftest.er1
90726 ac_status=$?
90727 grep -v '^ *+' conftest.er1 >conftest.err
90728 rm -f conftest.er1
90729 cat conftest.err >&5
90730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90731 (exit $ac_status); } &&
90732 { ac_try='test -z "$ac_c_werror_flag"
90733 || test ! -s conftest.err'
90734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90735 (eval $ac_try) 2>&5
90736 ac_status=$?
90737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90738 (exit $ac_status); }; } &&
90739 { ac_try='test -s conftest$ac_exeext'
90740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90741 (eval $ac_try) 2>&5
90742 ac_status=$?
90743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90744 (exit $ac_status); }; }; then
90745 eval "$as_ac_var=yes"
90746 else
90747 echo "$as_me: failed program was:" >&5
90748 sed 's/^/| /' conftest.$ac_ext >&5
90750 eval "$as_ac_var=no"
90752 rm -f conftest.err conftest.$ac_objext \
90753 conftest$ac_exeext conftest.$ac_ext
90755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90757 if test `eval echo '${'$as_ac_var'}'` = yes; then
90758 cat >>confdefs.h <<_ACEOF
90759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90760 _ACEOF
90763 done
90765 else
90767 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90768 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90769 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90770 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90771 echo $ECHO_N "(cached) $ECHO_C" >&6
90772 else
90776 ac_ext=cc
90777 ac_cpp='$CXXCPP $CPPFLAGS'
90778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90782 cat >conftest.$ac_ext <<_ACEOF
90783 /* confdefs.h. */
90784 _ACEOF
90785 cat confdefs.h >>conftest.$ac_ext
90786 cat >>conftest.$ac_ext <<_ACEOF
90787 /* end confdefs.h. */
90788 #include <math.h>
90790 main ()
90792 _hypot(0, 0);
90794 return 0;
90796 _ACEOF
90797 rm -f conftest.$ac_objext
90798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90799 (eval $ac_compile) 2>conftest.er1
90800 ac_status=$?
90801 grep -v '^ *+' conftest.er1 >conftest.err
90802 rm -f conftest.er1
90803 cat conftest.err >&5
90804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90805 (exit $ac_status); } &&
90806 { ac_try='test -z "$ac_cxx_werror_flag"
90807 || test ! -s conftest.err'
90808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90809 (eval $ac_try) 2>&5
90810 ac_status=$?
90811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90812 (exit $ac_status); }; } &&
90813 { ac_try='test -s conftest.$ac_objext'
90814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90815 (eval $ac_try) 2>&5
90816 ac_status=$?
90817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90818 (exit $ac_status); }; }; then
90819 glibcxx_cv_func__hypot_use=yes
90820 else
90821 echo "$as_me: failed program was:" >&5
90822 sed 's/^/| /' conftest.$ac_ext >&5
90824 glibcxx_cv_func__hypot_use=no
90826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90827 ac_ext=c
90828 ac_cpp='$CPP $CPPFLAGS'
90829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90837 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90838 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90840 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90842 for ac_func in _hypot
90844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90845 echo "$as_me:$LINENO: checking for $ac_func" >&5
90846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90847 if eval "test \"\${$as_ac_var+set}\" = set"; then
90848 echo $ECHO_N "(cached) $ECHO_C" >&6
90849 else
90850 if test x$gcc_no_link = xyes; then
90851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90853 { (exit 1); exit 1; }; }
90855 cat >conftest.$ac_ext <<_ACEOF
90856 /* confdefs.h. */
90857 _ACEOF
90858 cat confdefs.h >>conftest.$ac_ext
90859 cat >>conftest.$ac_ext <<_ACEOF
90860 /* end confdefs.h. */
90861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90863 #define $ac_func innocuous_$ac_func
90865 /* System header to define __stub macros and hopefully few prototypes,
90866 which can conflict with char $ac_func (); below.
90867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90868 <limits.h> exists even on freestanding compilers. */
90870 #ifdef __STDC__
90871 # include <limits.h>
90872 #else
90873 # include <assert.h>
90874 #endif
90876 #undef $ac_func
90878 /* Override any gcc2 internal prototype to avoid an error. */
90879 #ifdef __cplusplus
90880 extern "C"
90882 #endif
90883 /* We use char because int might match the return type of a gcc2
90884 builtin and then its argument prototype would still apply. */
90885 char $ac_func ();
90886 /* The GNU C library defines this for functions which it implements
90887 to always fail with ENOSYS. Some functions are actually named
90888 something starting with __ and the normal name is an alias. */
90889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90890 choke me
90891 #else
90892 char (*f) () = $ac_func;
90893 #endif
90894 #ifdef __cplusplus
90896 #endif
90899 main ()
90901 return f != $ac_func;
90903 return 0;
90905 _ACEOF
90906 rm -f conftest.$ac_objext conftest$ac_exeext
90907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90908 (eval $ac_link) 2>conftest.er1
90909 ac_status=$?
90910 grep -v '^ *+' conftest.er1 >conftest.err
90911 rm -f conftest.er1
90912 cat conftest.err >&5
90913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90914 (exit $ac_status); } &&
90915 { ac_try='test -z "$ac_c_werror_flag"
90916 || test ! -s conftest.err'
90917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90918 (eval $ac_try) 2>&5
90919 ac_status=$?
90920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90921 (exit $ac_status); }; } &&
90922 { ac_try='test -s conftest$ac_exeext'
90923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90924 (eval $ac_try) 2>&5
90925 ac_status=$?
90926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90927 (exit $ac_status); }; }; then
90928 eval "$as_ac_var=yes"
90929 else
90930 echo "$as_me: failed program was:" >&5
90931 sed 's/^/| /' conftest.$ac_ext >&5
90933 eval "$as_ac_var=no"
90935 rm -f conftest.err conftest.$ac_objext \
90936 conftest$ac_exeext conftest.$ac_ext
90938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90940 if test `eval echo '${'$as_ac_var'}'` = yes; then
90941 cat >>confdefs.h <<_ACEOF
90942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90943 _ACEOF
90946 done
90956 echo "$as_me:$LINENO: checking for float trig functions" >&5
90957 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90958 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90959 echo $ECHO_N "(cached) $ECHO_C" >&6
90960 else
90964 ac_ext=cc
90965 ac_cpp='$CXXCPP $CPPFLAGS'
90966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90970 cat >conftest.$ac_ext <<_ACEOF
90971 /* confdefs.h. */
90972 _ACEOF
90973 cat confdefs.h >>conftest.$ac_ext
90974 cat >>conftest.$ac_ext <<_ACEOF
90975 /* end confdefs.h. */
90976 #include <math.h>
90978 main ()
90980 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90982 return 0;
90984 _ACEOF
90985 rm -f conftest.$ac_objext
90986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90987 (eval $ac_compile) 2>conftest.er1
90988 ac_status=$?
90989 grep -v '^ *+' conftest.er1 >conftest.err
90990 rm -f conftest.er1
90991 cat conftest.err >&5
90992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90993 (exit $ac_status); } &&
90994 { ac_try='test -z "$ac_cxx_werror_flag"
90995 || test ! -s conftest.err'
90996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90997 (eval $ac_try) 2>&5
90998 ac_status=$?
90999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91000 (exit $ac_status); }; } &&
91001 { ac_try='test -s conftest.$ac_objext'
91002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91003 (eval $ac_try) 2>&5
91004 ac_status=$?
91005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91006 (exit $ac_status); }; }; then
91007 glibcxx_cv_func_float_trig_use=yes
91008 else
91009 echo "$as_me: failed program was:" >&5
91010 sed 's/^/| /' conftest.$ac_ext >&5
91012 glibcxx_cv_func_float_trig_use=no
91014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91015 ac_ext=c
91016 ac_cpp='$CPP $CPPFLAGS'
91017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91024 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91025 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91035 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91038 echo "$as_me:$LINENO: checking for $ac_func" >&5
91039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91040 if eval "test \"\${$as_ac_var+set}\" = set"; then
91041 echo $ECHO_N "(cached) $ECHO_C" >&6
91042 else
91043 if test x$gcc_no_link = xyes; then
91044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91046 { (exit 1); exit 1; }; }
91048 cat >conftest.$ac_ext <<_ACEOF
91049 /* confdefs.h. */
91050 _ACEOF
91051 cat confdefs.h >>conftest.$ac_ext
91052 cat >>conftest.$ac_ext <<_ACEOF
91053 /* end confdefs.h. */
91054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91056 #define $ac_func innocuous_$ac_func
91058 /* System header to define __stub macros and hopefully few prototypes,
91059 which can conflict with char $ac_func (); below.
91060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91061 <limits.h> exists even on freestanding compilers. */
91063 #ifdef __STDC__
91064 # include <limits.h>
91065 #else
91066 # include <assert.h>
91067 #endif
91069 #undef $ac_func
91071 /* Override any gcc2 internal prototype to avoid an error. */
91072 #ifdef __cplusplus
91073 extern "C"
91075 #endif
91076 /* We use char because int might match the return type of a gcc2
91077 builtin and then its argument prototype would still apply. */
91078 char $ac_func ();
91079 /* The GNU C library defines this for functions which it implements
91080 to always fail with ENOSYS. Some functions are actually named
91081 something starting with __ and the normal name is an alias. */
91082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91083 choke me
91084 #else
91085 char (*f) () = $ac_func;
91086 #endif
91087 #ifdef __cplusplus
91089 #endif
91092 main ()
91094 return f != $ac_func;
91096 return 0;
91098 _ACEOF
91099 rm -f conftest.$ac_objext conftest$ac_exeext
91100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91101 (eval $ac_link) 2>conftest.er1
91102 ac_status=$?
91103 grep -v '^ *+' conftest.er1 >conftest.err
91104 rm -f conftest.er1
91105 cat conftest.err >&5
91106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91107 (exit $ac_status); } &&
91108 { ac_try='test -z "$ac_c_werror_flag"
91109 || test ! -s conftest.err'
91110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91111 (eval $ac_try) 2>&5
91112 ac_status=$?
91113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91114 (exit $ac_status); }; } &&
91115 { ac_try='test -s conftest$ac_exeext'
91116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91117 (eval $ac_try) 2>&5
91118 ac_status=$?
91119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91120 (exit $ac_status); }; }; then
91121 eval "$as_ac_var=yes"
91122 else
91123 echo "$as_me: failed program was:" >&5
91124 sed 's/^/| /' conftest.$ac_ext >&5
91126 eval "$as_ac_var=no"
91128 rm -f conftest.err conftest.$ac_objext \
91129 conftest$ac_exeext conftest.$ac_ext
91131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91133 if test `eval echo '${'$as_ac_var'}'` = yes; then
91134 cat >>confdefs.h <<_ACEOF
91135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91136 _ACEOF
91139 done
91141 else
91142 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91143 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91144 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91145 echo $ECHO_N "(cached) $ECHO_C" >&6
91146 else
91150 ac_ext=cc
91151 ac_cpp='$CXXCPP $CPPFLAGS'
91152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91156 cat >conftest.$ac_ext <<_ACEOF
91157 /* confdefs.h. */
91158 _ACEOF
91159 cat confdefs.h >>conftest.$ac_ext
91160 cat >>conftest.$ac_ext <<_ACEOF
91161 /* end confdefs.h. */
91162 #include <math.h>
91164 main ()
91166 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91168 return 0;
91170 _ACEOF
91171 rm -f conftest.$ac_objext
91172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91173 (eval $ac_compile) 2>conftest.er1
91174 ac_status=$?
91175 grep -v '^ *+' conftest.er1 >conftest.err
91176 rm -f conftest.er1
91177 cat conftest.err >&5
91178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91179 (exit $ac_status); } &&
91180 { ac_try='test -z "$ac_cxx_werror_flag"
91181 || test ! -s conftest.err'
91182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91183 (eval $ac_try) 2>&5
91184 ac_status=$?
91185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91186 (exit $ac_status); }; } &&
91187 { ac_try='test -s conftest.$ac_objext'
91188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91189 (eval $ac_try) 2>&5
91190 ac_status=$?
91191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91192 (exit $ac_status); }; }; then
91193 glibcxx_cv_func__float_trig_use=yes
91194 else
91195 echo "$as_me: failed program was:" >&5
91196 sed 's/^/| /' conftest.$ac_ext >&5
91198 glibcxx_cv_func__float_trig_use=no
91200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91201 ac_ext=c
91202 ac_cpp='$CPP $CPPFLAGS'
91203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91210 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91211 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91221 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91224 echo "$as_me:$LINENO: checking for $ac_func" >&5
91225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91226 if eval "test \"\${$as_ac_var+set}\" = set"; then
91227 echo $ECHO_N "(cached) $ECHO_C" >&6
91228 else
91229 if test x$gcc_no_link = xyes; then
91230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91232 { (exit 1); exit 1; }; }
91234 cat >conftest.$ac_ext <<_ACEOF
91235 /* confdefs.h. */
91236 _ACEOF
91237 cat confdefs.h >>conftest.$ac_ext
91238 cat >>conftest.$ac_ext <<_ACEOF
91239 /* end confdefs.h. */
91240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91242 #define $ac_func innocuous_$ac_func
91244 /* System header to define __stub macros and hopefully few prototypes,
91245 which can conflict with char $ac_func (); below.
91246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91247 <limits.h> exists even on freestanding compilers. */
91249 #ifdef __STDC__
91250 # include <limits.h>
91251 #else
91252 # include <assert.h>
91253 #endif
91255 #undef $ac_func
91257 /* Override any gcc2 internal prototype to avoid an error. */
91258 #ifdef __cplusplus
91259 extern "C"
91261 #endif
91262 /* We use char because int might match the return type of a gcc2
91263 builtin and then its argument prototype would still apply. */
91264 char $ac_func ();
91265 /* The GNU C library defines this for functions which it implements
91266 to always fail with ENOSYS. Some functions are actually named
91267 something starting with __ and the normal name is an alias. */
91268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91269 choke me
91270 #else
91271 char (*f) () = $ac_func;
91272 #endif
91273 #ifdef __cplusplus
91275 #endif
91278 main ()
91280 return f != $ac_func;
91282 return 0;
91284 _ACEOF
91285 rm -f conftest.$ac_objext conftest$ac_exeext
91286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91287 (eval $ac_link) 2>conftest.er1
91288 ac_status=$?
91289 grep -v '^ *+' conftest.er1 >conftest.err
91290 rm -f conftest.er1
91291 cat conftest.err >&5
91292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91293 (exit $ac_status); } &&
91294 { ac_try='test -z "$ac_c_werror_flag"
91295 || test ! -s conftest.err'
91296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91297 (eval $ac_try) 2>&5
91298 ac_status=$?
91299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91300 (exit $ac_status); }; } &&
91301 { ac_try='test -s conftest$ac_exeext'
91302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303 (eval $ac_try) 2>&5
91304 ac_status=$?
91305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306 (exit $ac_status); }; }; then
91307 eval "$as_ac_var=yes"
91308 else
91309 echo "$as_me: failed program was:" >&5
91310 sed 's/^/| /' conftest.$ac_ext >&5
91312 eval "$as_ac_var=no"
91314 rm -f conftest.err conftest.$ac_objext \
91315 conftest$ac_exeext conftest.$ac_ext
91317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91319 if test `eval echo '${'$as_ac_var'}'` = yes; then
91320 cat >>confdefs.h <<_ACEOF
91321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91322 _ACEOF
91325 done
91343 echo "$as_me:$LINENO: checking for float round functions" >&5
91344 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91345 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91346 echo $ECHO_N "(cached) $ECHO_C" >&6
91347 else
91351 ac_ext=cc
91352 ac_cpp='$CXXCPP $CPPFLAGS'
91353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91357 cat >conftest.$ac_ext <<_ACEOF
91358 /* confdefs.h. */
91359 _ACEOF
91360 cat confdefs.h >>conftest.$ac_ext
91361 cat >>conftest.$ac_ext <<_ACEOF
91362 /* end confdefs.h. */
91363 #include <math.h>
91365 main ()
91367 ceilf (0); floorf (0);
91369 return 0;
91371 _ACEOF
91372 rm -f conftest.$ac_objext
91373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91374 (eval $ac_compile) 2>conftest.er1
91375 ac_status=$?
91376 grep -v '^ *+' conftest.er1 >conftest.err
91377 rm -f conftest.er1
91378 cat conftest.err >&5
91379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91380 (exit $ac_status); } &&
91381 { ac_try='test -z "$ac_cxx_werror_flag"
91382 || test ! -s conftest.err'
91383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91384 (eval $ac_try) 2>&5
91385 ac_status=$?
91386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91387 (exit $ac_status); }; } &&
91388 { ac_try='test -s conftest.$ac_objext'
91389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91390 (eval $ac_try) 2>&5
91391 ac_status=$?
91392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91393 (exit $ac_status); }; }; then
91394 glibcxx_cv_func_float_round_use=yes
91395 else
91396 echo "$as_me: failed program was:" >&5
91397 sed 's/^/| /' conftest.$ac_ext >&5
91399 glibcxx_cv_func_float_round_use=no
91401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91402 ac_ext=c
91403 ac_cpp='$CPP $CPPFLAGS'
91404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91410 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91411 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91412 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91415 for ac_func in ceilf floorf
91417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91418 echo "$as_me:$LINENO: checking for $ac_func" >&5
91419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91420 if eval "test \"\${$as_ac_var+set}\" = set"; then
91421 echo $ECHO_N "(cached) $ECHO_C" >&6
91422 else
91423 if test x$gcc_no_link = xyes; then
91424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91426 { (exit 1); exit 1; }; }
91428 cat >conftest.$ac_ext <<_ACEOF
91429 /* confdefs.h. */
91430 _ACEOF
91431 cat confdefs.h >>conftest.$ac_ext
91432 cat >>conftest.$ac_ext <<_ACEOF
91433 /* end confdefs.h. */
91434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91436 #define $ac_func innocuous_$ac_func
91438 /* System header to define __stub macros and hopefully few prototypes,
91439 which can conflict with char $ac_func (); below.
91440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91441 <limits.h> exists even on freestanding compilers. */
91443 #ifdef __STDC__
91444 # include <limits.h>
91445 #else
91446 # include <assert.h>
91447 #endif
91449 #undef $ac_func
91451 /* Override any gcc2 internal prototype to avoid an error. */
91452 #ifdef __cplusplus
91453 extern "C"
91455 #endif
91456 /* We use char because int might match the return type of a gcc2
91457 builtin and then its argument prototype would still apply. */
91458 char $ac_func ();
91459 /* The GNU C library defines this for functions which it implements
91460 to always fail with ENOSYS. Some functions are actually named
91461 something starting with __ and the normal name is an alias. */
91462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91463 choke me
91464 #else
91465 char (*f) () = $ac_func;
91466 #endif
91467 #ifdef __cplusplus
91469 #endif
91472 main ()
91474 return f != $ac_func;
91476 return 0;
91478 _ACEOF
91479 rm -f conftest.$ac_objext conftest$ac_exeext
91480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91481 (eval $ac_link) 2>conftest.er1
91482 ac_status=$?
91483 grep -v '^ *+' conftest.er1 >conftest.err
91484 rm -f conftest.er1
91485 cat conftest.err >&5
91486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91487 (exit $ac_status); } &&
91488 { ac_try='test -z "$ac_c_werror_flag"
91489 || test ! -s conftest.err'
91490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91491 (eval $ac_try) 2>&5
91492 ac_status=$?
91493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91494 (exit $ac_status); }; } &&
91495 { ac_try='test -s conftest$ac_exeext'
91496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91497 (eval $ac_try) 2>&5
91498 ac_status=$?
91499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91500 (exit $ac_status); }; }; then
91501 eval "$as_ac_var=yes"
91502 else
91503 echo "$as_me: failed program was:" >&5
91504 sed 's/^/| /' conftest.$ac_ext >&5
91506 eval "$as_ac_var=no"
91508 rm -f conftest.err conftest.$ac_objext \
91509 conftest$ac_exeext conftest.$ac_ext
91511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91513 if test `eval echo '${'$as_ac_var'}'` = yes; then
91514 cat >>confdefs.h <<_ACEOF
91515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91516 _ACEOF
91519 done
91521 else
91522 echo "$as_me:$LINENO: checking for _float round functions" >&5
91523 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91524 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91525 echo $ECHO_N "(cached) $ECHO_C" >&6
91526 else
91530 ac_ext=cc
91531 ac_cpp='$CXXCPP $CPPFLAGS'
91532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91536 cat >conftest.$ac_ext <<_ACEOF
91537 /* confdefs.h. */
91538 _ACEOF
91539 cat confdefs.h >>conftest.$ac_ext
91540 cat >>conftest.$ac_ext <<_ACEOF
91541 /* end confdefs.h. */
91542 #include <math.h>
91544 main ()
91546 _ceilf (0); _floorf (0);
91548 return 0;
91550 _ACEOF
91551 rm -f conftest.$ac_objext
91552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91553 (eval $ac_compile) 2>conftest.er1
91554 ac_status=$?
91555 grep -v '^ *+' conftest.er1 >conftest.err
91556 rm -f conftest.er1
91557 cat conftest.err >&5
91558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91559 (exit $ac_status); } &&
91560 { ac_try='test -z "$ac_cxx_werror_flag"
91561 || test ! -s conftest.err'
91562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91563 (eval $ac_try) 2>&5
91564 ac_status=$?
91565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91566 (exit $ac_status); }; } &&
91567 { ac_try='test -s conftest.$ac_objext'
91568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91569 (eval $ac_try) 2>&5
91570 ac_status=$?
91571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91572 (exit $ac_status); }; }; then
91573 glibcxx_cv_func__float_round_use=yes
91574 else
91575 echo "$as_me: failed program was:" >&5
91576 sed 's/^/| /' conftest.$ac_ext >&5
91578 glibcxx_cv_func__float_round_use=no
91580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91581 ac_ext=c
91582 ac_cpp='$CPP $CPPFLAGS'
91583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91590 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91591 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91594 for ac_func in _ceilf _floorf
91596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91597 echo "$as_me:$LINENO: checking for $ac_func" >&5
91598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91599 if eval "test \"\${$as_ac_var+set}\" = set"; then
91600 echo $ECHO_N "(cached) $ECHO_C" >&6
91601 else
91602 if test x$gcc_no_link = xyes; then
91603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91605 { (exit 1); exit 1; }; }
91607 cat >conftest.$ac_ext <<_ACEOF
91608 /* confdefs.h. */
91609 _ACEOF
91610 cat confdefs.h >>conftest.$ac_ext
91611 cat >>conftest.$ac_ext <<_ACEOF
91612 /* end confdefs.h. */
91613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91615 #define $ac_func innocuous_$ac_func
91617 /* System header to define __stub macros and hopefully few prototypes,
91618 which can conflict with char $ac_func (); below.
91619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91620 <limits.h> exists even on freestanding compilers. */
91622 #ifdef __STDC__
91623 # include <limits.h>
91624 #else
91625 # include <assert.h>
91626 #endif
91628 #undef $ac_func
91630 /* Override any gcc2 internal prototype to avoid an error. */
91631 #ifdef __cplusplus
91632 extern "C"
91634 #endif
91635 /* We use char because int might match the return type of a gcc2
91636 builtin and then its argument prototype would still apply. */
91637 char $ac_func ();
91638 /* The GNU C library defines this for functions which it implements
91639 to always fail with ENOSYS. Some functions are actually named
91640 something starting with __ and the normal name is an alias. */
91641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91642 choke me
91643 #else
91644 char (*f) () = $ac_func;
91645 #endif
91646 #ifdef __cplusplus
91648 #endif
91651 main ()
91653 return f != $ac_func;
91655 return 0;
91657 _ACEOF
91658 rm -f conftest.$ac_objext conftest$ac_exeext
91659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91660 (eval $ac_link) 2>conftest.er1
91661 ac_status=$?
91662 grep -v '^ *+' conftest.er1 >conftest.err
91663 rm -f conftest.er1
91664 cat conftest.err >&5
91665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91666 (exit $ac_status); } &&
91667 { ac_try='test -z "$ac_c_werror_flag"
91668 || test ! -s conftest.err'
91669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91670 (eval $ac_try) 2>&5
91671 ac_status=$?
91672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91673 (exit $ac_status); }; } &&
91674 { ac_try='test -s conftest$ac_exeext'
91675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91676 (eval $ac_try) 2>&5
91677 ac_status=$?
91678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91679 (exit $ac_status); }; }; then
91680 eval "$as_ac_var=yes"
91681 else
91682 echo "$as_me: failed program was:" >&5
91683 sed 's/^/| /' conftest.$ac_ext >&5
91685 eval "$as_ac_var=no"
91687 rm -f conftest.err conftest.$ac_objext \
91688 conftest$ac_exeext conftest.$ac_ext
91690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91692 if test `eval echo '${'$as_ac_var'}'` = yes; then
91693 cat >>confdefs.h <<_ACEOF
91694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91695 _ACEOF
91698 done
91710 echo "$as_me:$LINENO: checking for expf declaration" >&5
91711 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91712 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91713 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91714 echo $ECHO_N "(cached) $ECHO_C" >&6
91715 else
91719 ac_ext=cc
91720 ac_cpp='$CXXCPP $CPPFLAGS'
91721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91725 cat >conftest.$ac_ext <<_ACEOF
91726 /* confdefs.h. */
91727 _ACEOF
91728 cat confdefs.h >>conftest.$ac_ext
91729 cat >>conftest.$ac_ext <<_ACEOF
91730 /* end confdefs.h. */
91731 #include <math.h>
91732 #ifdef HAVE_IEEEFP_H
91733 #include <ieeefp.h>
91734 #endif
91737 main ()
91739 expf(0);
91741 return 0;
91743 _ACEOF
91744 rm -f conftest.$ac_objext
91745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91746 (eval $ac_compile) 2>conftest.er1
91747 ac_status=$?
91748 grep -v '^ *+' conftest.er1 >conftest.err
91749 rm -f conftest.er1
91750 cat conftest.err >&5
91751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91752 (exit $ac_status); } &&
91753 { ac_try='test -z "$ac_cxx_werror_flag"
91754 || test ! -s conftest.err'
91755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91756 (eval $ac_try) 2>&5
91757 ac_status=$?
91758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91759 (exit $ac_status); }; } &&
91760 { ac_try='test -s conftest.$ac_objext'
91761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91762 (eval $ac_try) 2>&5
91763 ac_status=$?
91764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91765 (exit $ac_status); }; }; then
91766 glibcxx_cv_func_expf_use=yes
91767 else
91768 echo "$as_me: failed program was:" >&5
91769 sed 's/^/| /' conftest.$ac_ext >&5
91771 glibcxx_cv_func_expf_use=no
91773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91774 ac_ext=c
91775 ac_cpp='$CPP $CPPFLAGS'
91776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91785 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91787 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91789 for ac_func in expf
91791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91792 echo "$as_me:$LINENO: checking for $ac_func" >&5
91793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91794 if eval "test \"\${$as_ac_var+set}\" = set"; then
91795 echo $ECHO_N "(cached) $ECHO_C" >&6
91796 else
91797 if test x$gcc_no_link = xyes; then
91798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91800 { (exit 1); exit 1; }; }
91802 cat >conftest.$ac_ext <<_ACEOF
91803 /* confdefs.h. */
91804 _ACEOF
91805 cat confdefs.h >>conftest.$ac_ext
91806 cat >>conftest.$ac_ext <<_ACEOF
91807 /* end confdefs.h. */
91808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91810 #define $ac_func innocuous_$ac_func
91812 /* System header to define __stub macros and hopefully few prototypes,
91813 which can conflict with char $ac_func (); below.
91814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91815 <limits.h> exists even on freestanding compilers. */
91817 #ifdef __STDC__
91818 # include <limits.h>
91819 #else
91820 # include <assert.h>
91821 #endif
91823 #undef $ac_func
91825 /* Override any gcc2 internal prototype to avoid an error. */
91826 #ifdef __cplusplus
91827 extern "C"
91829 #endif
91830 /* We use char because int might match the return type of a gcc2
91831 builtin and then its argument prototype would still apply. */
91832 char $ac_func ();
91833 /* The GNU C library defines this for functions which it implements
91834 to always fail with ENOSYS. Some functions are actually named
91835 something starting with __ and the normal name is an alias. */
91836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91837 choke me
91838 #else
91839 char (*f) () = $ac_func;
91840 #endif
91841 #ifdef __cplusplus
91843 #endif
91846 main ()
91848 return f != $ac_func;
91850 return 0;
91852 _ACEOF
91853 rm -f conftest.$ac_objext conftest$ac_exeext
91854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91855 (eval $ac_link) 2>conftest.er1
91856 ac_status=$?
91857 grep -v '^ *+' conftest.er1 >conftest.err
91858 rm -f conftest.er1
91859 cat conftest.err >&5
91860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91861 (exit $ac_status); } &&
91862 { ac_try='test -z "$ac_c_werror_flag"
91863 || test ! -s conftest.err'
91864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91865 (eval $ac_try) 2>&5
91866 ac_status=$?
91867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91868 (exit $ac_status); }; } &&
91869 { ac_try='test -s conftest$ac_exeext'
91870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91871 (eval $ac_try) 2>&5
91872 ac_status=$?
91873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91874 (exit $ac_status); }; }; then
91875 eval "$as_ac_var=yes"
91876 else
91877 echo "$as_me: failed program was:" >&5
91878 sed 's/^/| /' conftest.$ac_ext >&5
91880 eval "$as_ac_var=no"
91882 rm -f conftest.err conftest.$ac_objext \
91883 conftest$ac_exeext conftest.$ac_ext
91885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91887 if test `eval echo '${'$as_ac_var'}'` = yes; then
91888 cat >>confdefs.h <<_ACEOF
91889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91890 _ACEOF
91893 done
91895 else
91897 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91898 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91899 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91900 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91901 echo $ECHO_N "(cached) $ECHO_C" >&6
91902 else
91906 ac_ext=cc
91907 ac_cpp='$CXXCPP $CPPFLAGS'
91908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91912 cat >conftest.$ac_ext <<_ACEOF
91913 /* confdefs.h. */
91914 _ACEOF
91915 cat confdefs.h >>conftest.$ac_ext
91916 cat >>conftest.$ac_ext <<_ACEOF
91917 /* end confdefs.h. */
91918 #include <math.h>
91919 #ifdef HAVE_IEEEFP_H
91920 #include <ieeefp.h>
91921 #endif
91924 main ()
91926 _expf(0);
91928 return 0;
91930 _ACEOF
91931 rm -f conftest.$ac_objext
91932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91933 (eval $ac_compile) 2>conftest.er1
91934 ac_status=$?
91935 grep -v '^ *+' conftest.er1 >conftest.err
91936 rm -f conftest.er1
91937 cat conftest.err >&5
91938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91939 (exit $ac_status); } &&
91940 { ac_try='test -z "$ac_cxx_werror_flag"
91941 || test ! -s conftest.err'
91942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91943 (eval $ac_try) 2>&5
91944 ac_status=$?
91945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91946 (exit $ac_status); }; } &&
91947 { ac_try='test -s conftest.$ac_objext'
91948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91949 (eval $ac_try) 2>&5
91950 ac_status=$?
91951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91952 (exit $ac_status); }; }; then
91953 glibcxx_cv_func__expf_use=yes
91954 else
91955 echo "$as_me: failed program was:" >&5
91956 sed 's/^/| /' conftest.$ac_ext >&5
91958 glibcxx_cv_func__expf_use=no
91960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91961 ac_ext=c
91962 ac_cpp='$CPP $CPPFLAGS'
91963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91972 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91974 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91976 for ac_func in _expf
91978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91979 echo "$as_me:$LINENO: checking for $ac_func" >&5
91980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91981 if eval "test \"\${$as_ac_var+set}\" = set"; then
91982 echo $ECHO_N "(cached) $ECHO_C" >&6
91983 else
91984 if test x$gcc_no_link = xyes; then
91985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91987 { (exit 1); exit 1; }; }
91989 cat >conftest.$ac_ext <<_ACEOF
91990 /* confdefs.h. */
91991 _ACEOF
91992 cat confdefs.h >>conftest.$ac_ext
91993 cat >>conftest.$ac_ext <<_ACEOF
91994 /* end confdefs.h. */
91995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91997 #define $ac_func innocuous_$ac_func
91999 /* System header to define __stub macros and hopefully few prototypes,
92000 which can conflict with char $ac_func (); below.
92001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92002 <limits.h> exists even on freestanding compilers. */
92004 #ifdef __STDC__
92005 # include <limits.h>
92006 #else
92007 # include <assert.h>
92008 #endif
92010 #undef $ac_func
92012 /* Override any gcc2 internal prototype to avoid an error. */
92013 #ifdef __cplusplus
92014 extern "C"
92016 #endif
92017 /* We use char because int might match the return type of a gcc2
92018 builtin and then its argument prototype would still apply. */
92019 char $ac_func ();
92020 /* The GNU C library defines this for functions which it implements
92021 to always fail with ENOSYS. Some functions are actually named
92022 something starting with __ and the normal name is an alias. */
92023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92024 choke me
92025 #else
92026 char (*f) () = $ac_func;
92027 #endif
92028 #ifdef __cplusplus
92030 #endif
92033 main ()
92035 return f != $ac_func;
92037 return 0;
92039 _ACEOF
92040 rm -f conftest.$ac_objext conftest$ac_exeext
92041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92042 (eval $ac_link) 2>conftest.er1
92043 ac_status=$?
92044 grep -v '^ *+' conftest.er1 >conftest.err
92045 rm -f conftest.er1
92046 cat conftest.err >&5
92047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92048 (exit $ac_status); } &&
92049 { ac_try='test -z "$ac_c_werror_flag"
92050 || test ! -s conftest.err'
92051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92052 (eval $ac_try) 2>&5
92053 ac_status=$?
92054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92055 (exit $ac_status); }; } &&
92056 { ac_try='test -s conftest$ac_exeext'
92057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92058 (eval $ac_try) 2>&5
92059 ac_status=$?
92060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92061 (exit $ac_status); }; }; then
92062 eval "$as_ac_var=yes"
92063 else
92064 echo "$as_me: failed program was:" >&5
92065 sed 's/^/| /' conftest.$ac_ext >&5
92067 eval "$as_ac_var=no"
92069 rm -f conftest.err conftest.$ac_objext \
92070 conftest$ac_exeext conftest.$ac_ext
92072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92074 if test `eval echo '${'$as_ac_var'}'` = yes; then
92075 cat >>confdefs.h <<_ACEOF
92076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92077 _ACEOF
92080 done
92090 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92091 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92092 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92093 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92094 echo $ECHO_N "(cached) $ECHO_C" >&6
92095 else
92099 ac_ext=cc
92100 ac_cpp='$CXXCPP $CPPFLAGS'
92101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92105 cat >conftest.$ac_ext <<_ACEOF
92106 /* confdefs.h. */
92107 _ACEOF
92108 cat confdefs.h >>conftest.$ac_ext
92109 cat >>conftest.$ac_ext <<_ACEOF
92110 /* end confdefs.h. */
92111 #include <math.h>
92112 #ifdef HAVE_IEEEFP_H
92113 #include <ieeefp.h>
92114 #endif
92117 main ()
92119 isnanf(0);
92121 return 0;
92123 _ACEOF
92124 rm -f conftest.$ac_objext
92125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92126 (eval $ac_compile) 2>conftest.er1
92127 ac_status=$?
92128 grep -v '^ *+' conftest.er1 >conftest.err
92129 rm -f conftest.er1
92130 cat conftest.err >&5
92131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92132 (exit $ac_status); } &&
92133 { ac_try='test -z "$ac_cxx_werror_flag"
92134 || test ! -s conftest.err'
92135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92136 (eval $ac_try) 2>&5
92137 ac_status=$?
92138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92139 (exit $ac_status); }; } &&
92140 { ac_try='test -s conftest.$ac_objext'
92141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92142 (eval $ac_try) 2>&5
92143 ac_status=$?
92144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92145 (exit $ac_status); }; }; then
92146 glibcxx_cv_func_isnanf_use=yes
92147 else
92148 echo "$as_me: failed program was:" >&5
92149 sed 's/^/| /' conftest.$ac_ext >&5
92151 glibcxx_cv_func_isnanf_use=no
92153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92154 ac_ext=c
92155 ac_cpp='$CPP $CPPFLAGS'
92156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92165 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92167 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92169 for ac_func in isnanf
92171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92172 echo "$as_me:$LINENO: checking for $ac_func" >&5
92173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92174 if eval "test \"\${$as_ac_var+set}\" = set"; then
92175 echo $ECHO_N "(cached) $ECHO_C" >&6
92176 else
92177 if test x$gcc_no_link = xyes; then
92178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92180 { (exit 1); exit 1; }; }
92182 cat >conftest.$ac_ext <<_ACEOF
92183 /* confdefs.h. */
92184 _ACEOF
92185 cat confdefs.h >>conftest.$ac_ext
92186 cat >>conftest.$ac_ext <<_ACEOF
92187 /* end confdefs.h. */
92188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92190 #define $ac_func innocuous_$ac_func
92192 /* System header to define __stub macros and hopefully few prototypes,
92193 which can conflict with char $ac_func (); below.
92194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92195 <limits.h> exists even on freestanding compilers. */
92197 #ifdef __STDC__
92198 # include <limits.h>
92199 #else
92200 # include <assert.h>
92201 #endif
92203 #undef $ac_func
92205 /* Override any gcc2 internal prototype to avoid an error. */
92206 #ifdef __cplusplus
92207 extern "C"
92209 #endif
92210 /* We use char because int might match the return type of a gcc2
92211 builtin and then its argument prototype would still apply. */
92212 char $ac_func ();
92213 /* The GNU C library defines this for functions which it implements
92214 to always fail with ENOSYS. Some functions are actually named
92215 something starting with __ and the normal name is an alias. */
92216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92217 choke me
92218 #else
92219 char (*f) () = $ac_func;
92220 #endif
92221 #ifdef __cplusplus
92223 #endif
92226 main ()
92228 return f != $ac_func;
92230 return 0;
92232 _ACEOF
92233 rm -f conftest.$ac_objext conftest$ac_exeext
92234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92235 (eval $ac_link) 2>conftest.er1
92236 ac_status=$?
92237 grep -v '^ *+' conftest.er1 >conftest.err
92238 rm -f conftest.er1
92239 cat conftest.err >&5
92240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92241 (exit $ac_status); } &&
92242 { ac_try='test -z "$ac_c_werror_flag"
92243 || test ! -s conftest.err'
92244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92245 (eval $ac_try) 2>&5
92246 ac_status=$?
92247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92248 (exit $ac_status); }; } &&
92249 { ac_try='test -s conftest$ac_exeext'
92250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92251 (eval $ac_try) 2>&5
92252 ac_status=$?
92253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92254 (exit $ac_status); }; }; then
92255 eval "$as_ac_var=yes"
92256 else
92257 echo "$as_me: failed program was:" >&5
92258 sed 's/^/| /' conftest.$ac_ext >&5
92260 eval "$as_ac_var=no"
92262 rm -f conftest.err conftest.$ac_objext \
92263 conftest$ac_exeext conftest.$ac_ext
92265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92267 if test `eval echo '${'$as_ac_var'}'` = yes; then
92268 cat >>confdefs.h <<_ACEOF
92269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92270 _ACEOF
92273 done
92275 else
92277 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92278 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92279 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92280 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92281 echo $ECHO_N "(cached) $ECHO_C" >&6
92282 else
92286 ac_ext=cc
92287 ac_cpp='$CXXCPP $CPPFLAGS'
92288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92292 cat >conftest.$ac_ext <<_ACEOF
92293 /* confdefs.h. */
92294 _ACEOF
92295 cat confdefs.h >>conftest.$ac_ext
92296 cat >>conftest.$ac_ext <<_ACEOF
92297 /* end confdefs.h. */
92298 #include <math.h>
92299 #ifdef HAVE_IEEEFP_H
92300 #include <ieeefp.h>
92301 #endif
92304 main ()
92306 _isnanf(0);
92308 return 0;
92310 _ACEOF
92311 rm -f conftest.$ac_objext
92312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92313 (eval $ac_compile) 2>conftest.er1
92314 ac_status=$?
92315 grep -v '^ *+' conftest.er1 >conftest.err
92316 rm -f conftest.er1
92317 cat conftest.err >&5
92318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92319 (exit $ac_status); } &&
92320 { ac_try='test -z "$ac_cxx_werror_flag"
92321 || test ! -s conftest.err'
92322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92323 (eval $ac_try) 2>&5
92324 ac_status=$?
92325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92326 (exit $ac_status); }; } &&
92327 { ac_try='test -s conftest.$ac_objext'
92328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92329 (eval $ac_try) 2>&5
92330 ac_status=$?
92331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92332 (exit $ac_status); }; }; then
92333 glibcxx_cv_func__isnanf_use=yes
92334 else
92335 echo "$as_me: failed program was:" >&5
92336 sed 's/^/| /' conftest.$ac_ext >&5
92338 glibcxx_cv_func__isnanf_use=no
92340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92341 ac_ext=c
92342 ac_cpp='$CPP $CPPFLAGS'
92343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92352 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92354 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92356 for ac_func in _isnanf
92358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92359 echo "$as_me:$LINENO: checking for $ac_func" >&5
92360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92361 if eval "test \"\${$as_ac_var+set}\" = set"; then
92362 echo $ECHO_N "(cached) $ECHO_C" >&6
92363 else
92364 if test x$gcc_no_link = xyes; then
92365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92367 { (exit 1); exit 1; }; }
92369 cat >conftest.$ac_ext <<_ACEOF
92370 /* confdefs.h. */
92371 _ACEOF
92372 cat confdefs.h >>conftest.$ac_ext
92373 cat >>conftest.$ac_ext <<_ACEOF
92374 /* end confdefs.h. */
92375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92377 #define $ac_func innocuous_$ac_func
92379 /* System header to define __stub macros and hopefully few prototypes,
92380 which can conflict with char $ac_func (); below.
92381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92382 <limits.h> exists even on freestanding compilers. */
92384 #ifdef __STDC__
92385 # include <limits.h>
92386 #else
92387 # include <assert.h>
92388 #endif
92390 #undef $ac_func
92392 /* Override any gcc2 internal prototype to avoid an error. */
92393 #ifdef __cplusplus
92394 extern "C"
92396 #endif
92397 /* We use char because int might match the return type of a gcc2
92398 builtin and then its argument prototype would still apply. */
92399 char $ac_func ();
92400 /* The GNU C library defines this for functions which it implements
92401 to always fail with ENOSYS. Some functions are actually named
92402 something starting with __ and the normal name is an alias. */
92403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92404 choke me
92405 #else
92406 char (*f) () = $ac_func;
92407 #endif
92408 #ifdef __cplusplus
92410 #endif
92413 main ()
92415 return f != $ac_func;
92417 return 0;
92419 _ACEOF
92420 rm -f conftest.$ac_objext conftest$ac_exeext
92421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92422 (eval $ac_link) 2>conftest.er1
92423 ac_status=$?
92424 grep -v '^ *+' conftest.er1 >conftest.err
92425 rm -f conftest.er1
92426 cat conftest.err >&5
92427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92428 (exit $ac_status); } &&
92429 { ac_try='test -z "$ac_c_werror_flag"
92430 || test ! -s conftest.err'
92431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92432 (eval $ac_try) 2>&5
92433 ac_status=$?
92434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92435 (exit $ac_status); }; } &&
92436 { ac_try='test -s conftest$ac_exeext'
92437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92438 (eval $ac_try) 2>&5
92439 ac_status=$?
92440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92441 (exit $ac_status); }; }; then
92442 eval "$as_ac_var=yes"
92443 else
92444 echo "$as_me: failed program was:" >&5
92445 sed 's/^/| /' conftest.$ac_ext >&5
92447 eval "$as_ac_var=no"
92449 rm -f conftest.err conftest.$ac_objext \
92450 conftest$ac_exeext conftest.$ac_ext
92452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92454 if test `eval echo '${'$as_ac_var'}'` = yes; then
92455 cat >>confdefs.h <<_ACEOF
92456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92457 _ACEOF
92460 done
92470 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92471 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92472 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92473 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92474 echo $ECHO_N "(cached) $ECHO_C" >&6
92475 else
92479 ac_ext=cc
92480 ac_cpp='$CXXCPP $CPPFLAGS'
92481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92485 cat >conftest.$ac_ext <<_ACEOF
92486 /* confdefs.h. */
92487 _ACEOF
92488 cat confdefs.h >>conftest.$ac_ext
92489 cat >>conftest.$ac_ext <<_ACEOF
92490 /* end confdefs.h. */
92491 #include <math.h>
92492 #ifdef HAVE_IEEEFP_H
92493 #include <ieeefp.h>
92494 #endif
92497 main ()
92499 isinff(0);
92501 return 0;
92503 _ACEOF
92504 rm -f conftest.$ac_objext
92505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92506 (eval $ac_compile) 2>conftest.er1
92507 ac_status=$?
92508 grep -v '^ *+' conftest.er1 >conftest.err
92509 rm -f conftest.er1
92510 cat conftest.err >&5
92511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92512 (exit $ac_status); } &&
92513 { ac_try='test -z "$ac_cxx_werror_flag"
92514 || test ! -s conftest.err'
92515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92516 (eval $ac_try) 2>&5
92517 ac_status=$?
92518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92519 (exit $ac_status); }; } &&
92520 { ac_try='test -s conftest.$ac_objext'
92521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92522 (eval $ac_try) 2>&5
92523 ac_status=$?
92524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92525 (exit $ac_status); }; }; then
92526 glibcxx_cv_func_isinff_use=yes
92527 else
92528 echo "$as_me: failed program was:" >&5
92529 sed 's/^/| /' conftest.$ac_ext >&5
92531 glibcxx_cv_func_isinff_use=no
92533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92534 ac_ext=c
92535 ac_cpp='$CPP $CPPFLAGS'
92536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92545 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92547 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92549 for ac_func in isinff
92551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92552 echo "$as_me:$LINENO: checking for $ac_func" >&5
92553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92554 if eval "test \"\${$as_ac_var+set}\" = set"; then
92555 echo $ECHO_N "(cached) $ECHO_C" >&6
92556 else
92557 if test x$gcc_no_link = xyes; then
92558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92560 { (exit 1); exit 1; }; }
92562 cat >conftest.$ac_ext <<_ACEOF
92563 /* confdefs.h. */
92564 _ACEOF
92565 cat confdefs.h >>conftest.$ac_ext
92566 cat >>conftest.$ac_ext <<_ACEOF
92567 /* end confdefs.h. */
92568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92570 #define $ac_func innocuous_$ac_func
92572 /* System header to define __stub macros and hopefully few prototypes,
92573 which can conflict with char $ac_func (); below.
92574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92575 <limits.h> exists even on freestanding compilers. */
92577 #ifdef __STDC__
92578 # include <limits.h>
92579 #else
92580 # include <assert.h>
92581 #endif
92583 #undef $ac_func
92585 /* Override any gcc2 internal prototype to avoid an error. */
92586 #ifdef __cplusplus
92587 extern "C"
92589 #endif
92590 /* We use char because int might match the return type of a gcc2
92591 builtin and then its argument prototype would still apply. */
92592 char $ac_func ();
92593 /* The GNU C library defines this for functions which it implements
92594 to always fail with ENOSYS. Some functions are actually named
92595 something starting with __ and the normal name is an alias. */
92596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92597 choke me
92598 #else
92599 char (*f) () = $ac_func;
92600 #endif
92601 #ifdef __cplusplus
92603 #endif
92606 main ()
92608 return f != $ac_func;
92610 return 0;
92612 _ACEOF
92613 rm -f conftest.$ac_objext conftest$ac_exeext
92614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92615 (eval $ac_link) 2>conftest.er1
92616 ac_status=$?
92617 grep -v '^ *+' conftest.er1 >conftest.err
92618 rm -f conftest.er1
92619 cat conftest.err >&5
92620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92621 (exit $ac_status); } &&
92622 { ac_try='test -z "$ac_c_werror_flag"
92623 || test ! -s conftest.err'
92624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92625 (eval $ac_try) 2>&5
92626 ac_status=$?
92627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92628 (exit $ac_status); }; } &&
92629 { ac_try='test -s conftest$ac_exeext'
92630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92631 (eval $ac_try) 2>&5
92632 ac_status=$?
92633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92634 (exit $ac_status); }; }; then
92635 eval "$as_ac_var=yes"
92636 else
92637 echo "$as_me: failed program was:" >&5
92638 sed 's/^/| /' conftest.$ac_ext >&5
92640 eval "$as_ac_var=no"
92642 rm -f conftest.err conftest.$ac_objext \
92643 conftest$ac_exeext conftest.$ac_ext
92645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92647 if test `eval echo '${'$as_ac_var'}'` = yes; then
92648 cat >>confdefs.h <<_ACEOF
92649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92650 _ACEOF
92653 done
92655 else
92657 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92658 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92659 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92660 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92661 echo $ECHO_N "(cached) $ECHO_C" >&6
92662 else
92666 ac_ext=cc
92667 ac_cpp='$CXXCPP $CPPFLAGS'
92668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92672 cat >conftest.$ac_ext <<_ACEOF
92673 /* confdefs.h. */
92674 _ACEOF
92675 cat confdefs.h >>conftest.$ac_ext
92676 cat >>conftest.$ac_ext <<_ACEOF
92677 /* end confdefs.h. */
92678 #include <math.h>
92679 #ifdef HAVE_IEEEFP_H
92680 #include <ieeefp.h>
92681 #endif
92684 main ()
92686 _isinff(0);
92688 return 0;
92690 _ACEOF
92691 rm -f conftest.$ac_objext
92692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92693 (eval $ac_compile) 2>conftest.er1
92694 ac_status=$?
92695 grep -v '^ *+' conftest.er1 >conftest.err
92696 rm -f conftest.er1
92697 cat conftest.err >&5
92698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92699 (exit $ac_status); } &&
92700 { ac_try='test -z "$ac_cxx_werror_flag"
92701 || test ! -s conftest.err'
92702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92703 (eval $ac_try) 2>&5
92704 ac_status=$?
92705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706 (exit $ac_status); }; } &&
92707 { ac_try='test -s conftest.$ac_objext'
92708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92709 (eval $ac_try) 2>&5
92710 ac_status=$?
92711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712 (exit $ac_status); }; }; then
92713 glibcxx_cv_func__isinff_use=yes
92714 else
92715 echo "$as_me: failed program was:" >&5
92716 sed 's/^/| /' conftest.$ac_ext >&5
92718 glibcxx_cv_func__isinff_use=no
92720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92721 ac_ext=c
92722 ac_cpp='$CPP $CPPFLAGS'
92723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92732 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92734 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92736 for ac_func in _isinff
92738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92739 echo "$as_me:$LINENO: checking for $ac_func" >&5
92740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92741 if eval "test \"\${$as_ac_var+set}\" = set"; then
92742 echo $ECHO_N "(cached) $ECHO_C" >&6
92743 else
92744 if test x$gcc_no_link = xyes; then
92745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92747 { (exit 1); exit 1; }; }
92749 cat >conftest.$ac_ext <<_ACEOF
92750 /* confdefs.h. */
92751 _ACEOF
92752 cat confdefs.h >>conftest.$ac_ext
92753 cat >>conftest.$ac_ext <<_ACEOF
92754 /* end confdefs.h. */
92755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92757 #define $ac_func innocuous_$ac_func
92759 /* System header to define __stub macros and hopefully few prototypes,
92760 which can conflict with char $ac_func (); below.
92761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92762 <limits.h> exists even on freestanding compilers. */
92764 #ifdef __STDC__
92765 # include <limits.h>
92766 #else
92767 # include <assert.h>
92768 #endif
92770 #undef $ac_func
92772 /* Override any gcc2 internal prototype to avoid an error. */
92773 #ifdef __cplusplus
92774 extern "C"
92776 #endif
92777 /* We use char because int might match the return type of a gcc2
92778 builtin and then its argument prototype would still apply. */
92779 char $ac_func ();
92780 /* The GNU C library defines this for functions which it implements
92781 to always fail with ENOSYS. Some functions are actually named
92782 something starting with __ and the normal name is an alias. */
92783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92784 choke me
92785 #else
92786 char (*f) () = $ac_func;
92787 #endif
92788 #ifdef __cplusplus
92790 #endif
92793 main ()
92795 return f != $ac_func;
92797 return 0;
92799 _ACEOF
92800 rm -f conftest.$ac_objext conftest$ac_exeext
92801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92802 (eval $ac_link) 2>conftest.er1
92803 ac_status=$?
92804 grep -v '^ *+' conftest.er1 >conftest.err
92805 rm -f conftest.er1
92806 cat conftest.err >&5
92807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92808 (exit $ac_status); } &&
92809 { ac_try='test -z "$ac_c_werror_flag"
92810 || test ! -s conftest.err'
92811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92812 (eval $ac_try) 2>&5
92813 ac_status=$?
92814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92815 (exit $ac_status); }; } &&
92816 { ac_try='test -s conftest$ac_exeext'
92817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92818 (eval $ac_try) 2>&5
92819 ac_status=$?
92820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92821 (exit $ac_status); }; }; then
92822 eval "$as_ac_var=yes"
92823 else
92824 echo "$as_me: failed program was:" >&5
92825 sed 's/^/| /' conftest.$ac_ext >&5
92827 eval "$as_ac_var=no"
92829 rm -f conftest.err conftest.$ac_objext \
92830 conftest$ac_exeext conftest.$ac_ext
92832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92834 if test `eval echo '${'$as_ac_var'}'` = yes; then
92835 cat >>confdefs.h <<_ACEOF
92836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92837 _ACEOF
92840 done
92850 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92851 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92852 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92853 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92854 echo $ECHO_N "(cached) $ECHO_C" >&6
92855 else
92859 ac_ext=cc
92860 ac_cpp='$CXXCPP $CPPFLAGS'
92861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92865 cat >conftest.$ac_ext <<_ACEOF
92866 /* confdefs.h. */
92867 _ACEOF
92868 cat confdefs.h >>conftest.$ac_ext
92869 cat >>conftest.$ac_ext <<_ACEOF
92870 /* end confdefs.h. */
92871 #include <math.h>
92873 main ()
92875 atan2f(0, 0);
92877 return 0;
92879 _ACEOF
92880 rm -f conftest.$ac_objext
92881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92882 (eval $ac_compile) 2>conftest.er1
92883 ac_status=$?
92884 grep -v '^ *+' conftest.er1 >conftest.err
92885 rm -f conftest.er1
92886 cat conftest.err >&5
92887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92888 (exit $ac_status); } &&
92889 { ac_try='test -z "$ac_cxx_werror_flag"
92890 || test ! -s conftest.err'
92891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92892 (eval $ac_try) 2>&5
92893 ac_status=$?
92894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92895 (exit $ac_status); }; } &&
92896 { ac_try='test -s conftest.$ac_objext'
92897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92898 (eval $ac_try) 2>&5
92899 ac_status=$?
92900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92901 (exit $ac_status); }; }; then
92902 glibcxx_cv_func_atan2f_use=yes
92903 else
92904 echo "$as_me: failed program was:" >&5
92905 sed 's/^/| /' conftest.$ac_ext >&5
92907 glibcxx_cv_func_atan2f_use=no
92909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92910 ac_ext=c
92911 ac_cpp='$CPP $CPPFLAGS'
92912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92921 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92923 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92925 for ac_func in atan2f
92927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92928 echo "$as_me:$LINENO: checking for $ac_func" >&5
92929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92930 if eval "test \"\${$as_ac_var+set}\" = set"; then
92931 echo $ECHO_N "(cached) $ECHO_C" >&6
92932 else
92933 if test x$gcc_no_link = xyes; then
92934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92936 { (exit 1); exit 1; }; }
92938 cat >conftest.$ac_ext <<_ACEOF
92939 /* confdefs.h. */
92940 _ACEOF
92941 cat confdefs.h >>conftest.$ac_ext
92942 cat >>conftest.$ac_ext <<_ACEOF
92943 /* end confdefs.h. */
92944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92946 #define $ac_func innocuous_$ac_func
92948 /* System header to define __stub macros and hopefully few prototypes,
92949 which can conflict with char $ac_func (); below.
92950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92951 <limits.h> exists even on freestanding compilers. */
92953 #ifdef __STDC__
92954 # include <limits.h>
92955 #else
92956 # include <assert.h>
92957 #endif
92959 #undef $ac_func
92961 /* Override any gcc2 internal prototype to avoid an error. */
92962 #ifdef __cplusplus
92963 extern "C"
92965 #endif
92966 /* We use char because int might match the return type of a gcc2
92967 builtin and then its argument prototype would still apply. */
92968 char $ac_func ();
92969 /* The GNU C library defines this for functions which it implements
92970 to always fail with ENOSYS. Some functions are actually named
92971 something starting with __ and the normal name is an alias. */
92972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92973 choke me
92974 #else
92975 char (*f) () = $ac_func;
92976 #endif
92977 #ifdef __cplusplus
92979 #endif
92982 main ()
92984 return f != $ac_func;
92986 return 0;
92988 _ACEOF
92989 rm -f conftest.$ac_objext conftest$ac_exeext
92990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92991 (eval $ac_link) 2>conftest.er1
92992 ac_status=$?
92993 grep -v '^ *+' conftest.er1 >conftest.err
92994 rm -f conftest.er1
92995 cat conftest.err >&5
92996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92997 (exit $ac_status); } &&
92998 { ac_try='test -z "$ac_c_werror_flag"
92999 || test ! -s conftest.err'
93000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93001 (eval $ac_try) 2>&5
93002 ac_status=$?
93003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93004 (exit $ac_status); }; } &&
93005 { ac_try='test -s conftest$ac_exeext'
93006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93007 (eval $ac_try) 2>&5
93008 ac_status=$?
93009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93010 (exit $ac_status); }; }; then
93011 eval "$as_ac_var=yes"
93012 else
93013 echo "$as_me: failed program was:" >&5
93014 sed 's/^/| /' conftest.$ac_ext >&5
93016 eval "$as_ac_var=no"
93018 rm -f conftest.err conftest.$ac_objext \
93019 conftest$ac_exeext conftest.$ac_ext
93021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93023 if test `eval echo '${'$as_ac_var'}'` = yes; then
93024 cat >>confdefs.h <<_ACEOF
93025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93026 _ACEOF
93029 done
93031 else
93033 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93034 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93035 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93036 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93037 echo $ECHO_N "(cached) $ECHO_C" >&6
93038 else
93042 ac_ext=cc
93043 ac_cpp='$CXXCPP $CPPFLAGS'
93044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93048 cat >conftest.$ac_ext <<_ACEOF
93049 /* confdefs.h. */
93050 _ACEOF
93051 cat confdefs.h >>conftest.$ac_ext
93052 cat >>conftest.$ac_ext <<_ACEOF
93053 /* end confdefs.h. */
93054 #include <math.h>
93056 main ()
93058 _atan2f(0, 0);
93060 return 0;
93062 _ACEOF
93063 rm -f conftest.$ac_objext
93064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93065 (eval $ac_compile) 2>conftest.er1
93066 ac_status=$?
93067 grep -v '^ *+' conftest.er1 >conftest.err
93068 rm -f conftest.er1
93069 cat conftest.err >&5
93070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93071 (exit $ac_status); } &&
93072 { ac_try='test -z "$ac_cxx_werror_flag"
93073 || test ! -s conftest.err'
93074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93075 (eval $ac_try) 2>&5
93076 ac_status=$?
93077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93078 (exit $ac_status); }; } &&
93079 { ac_try='test -s conftest.$ac_objext'
93080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93081 (eval $ac_try) 2>&5
93082 ac_status=$?
93083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93084 (exit $ac_status); }; }; then
93085 glibcxx_cv_func__atan2f_use=yes
93086 else
93087 echo "$as_me: failed program was:" >&5
93088 sed 's/^/| /' conftest.$ac_ext >&5
93090 glibcxx_cv_func__atan2f_use=no
93092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93093 ac_ext=c
93094 ac_cpp='$CPP $CPPFLAGS'
93095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93104 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93106 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93108 for ac_func in _atan2f
93110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93111 echo "$as_me:$LINENO: checking for $ac_func" >&5
93112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93113 if eval "test \"\${$as_ac_var+set}\" = set"; then
93114 echo $ECHO_N "(cached) $ECHO_C" >&6
93115 else
93116 if test x$gcc_no_link = xyes; then
93117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93119 { (exit 1); exit 1; }; }
93121 cat >conftest.$ac_ext <<_ACEOF
93122 /* confdefs.h. */
93123 _ACEOF
93124 cat confdefs.h >>conftest.$ac_ext
93125 cat >>conftest.$ac_ext <<_ACEOF
93126 /* end confdefs.h. */
93127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93129 #define $ac_func innocuous_$ac_func
93131 /* System header to define __stub macros and hopefully few prototypes,
93132 which can conflict with char $ac_func (); below.
93133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93134 <limits.h> exists even on freestanding compilers. */
93136 #ifdef __STDC__
93137 # include <limits.h>
93138 #else
93139 # include <assert.h>
93140 #endif
93142 #undef $ac_func
93144 /* Override any gcc2 internal prototype to avoid an error. */
93145 #ifdef __cplusplus
93146 extern "C"
93148 #endif
93149 /* We use char because int might match the return type of a gcc2
93150 builtin and then its argument prototype would still apply. */
93151 char $ac_func ();
93152 /* The GNU C library defines this for functions which it implements
93153 to always fail with ENOSYS. Some functions are actually named
93154 something starting with __ and the normal name is an alias. */
93155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93156 choke me
93157 #else
93158 char (*f) () = $ac_func;
93159 #endif
93160 #ifdef __cplusplus
93162 #endif
93165 main ()
93167 return f != $ac_func;
93169 return 0;
93171 _ACEOF
93172 rm -f conftest.$ac_objext conftest$ac_exeext
93173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93174 (eval $ac_link) 2>conftest.er1
93175 ac_status=$?
93176 grep -v '^ *+' conftest.er1 >conftest.err
93177 rm -f conftest.er1
93178 cat conftest.err >&5
93179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93180 (exit $ac_status); } &&
93181 { ac_try='test -z "$ac_c_werror_flag"
93182 || test ! -s conftest.err'
93183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93184 (eval $ac_try) 2>&5
93185 ac_status=$?
93186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93187 (exit $ac_status); }; } &&
93188 { ac_try='test -s conftest$ac_exeext'
93189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93190 (eval $ac_try) 2>&5
93191 ac_status=$?
93192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93193 (exit $ac_status); }; }; then
93194 eval "$as_ac_var=yes"
93195 else
93196 echo "$as_me: failed program was:" >&5
93197 sed 's/^/| /' conftest.$ac_ext >&5
93199 eval "$as_ac_var=no"
93201 rm -f conftest.err conftest.$ac_objext \
93202 conftest$ac_exeext conftest.$ac_ext
93204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93206 if test `eval echo '${'$as_ac_var'}'` = yes; then
93207 cat >>confdefs.h <<_ACEOF
93208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93209 _ACEOF
93212 done
93222 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93223 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93224 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93225 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93226 echo $ECHO_N "(cached) $ECHO_C" >&6
93227 else
93231 ac_ext=cc
93232 ac_cpp='$CXXCPP $CPPFLAGS'
93233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93237 cat >conftest.$ac_ext <<_ACEOF
93238 /* confdefs.h. */
93239 _ACEOF
93240 cat confdefs.h >>conftest.$ac_ext
93241 cat >>conftest.$ac_ext <<_ACEOF
93242 /* end confdefs.h. */
93243 #include <math.h>
93244 #ifdef HAVE_IEEEFP_H
93245 #include <ieeefp.h>
93246 #endif
93249 main ()
93251 fabsf(0);
93253 return 0;
93255 _ACEOF
93256 rm -f conftest.$ac_objext
93257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93258 (eval $ac_compile) 2>conftest.er1
93259 ac_status=$?
93260 grep -v '^ *+' conftest.er1 >conftest.err
93261 rm -f conftest.er1
93262 cat conftest.err >&5
93263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93264 (exit $ac_status); } &&
93265 { ac_try='test -z "$ac_cxx_werror_flag"
93266 || test ! -s conftest.err'
93267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93268 (eval $ac_try) 2>&5
93269 ac_status=$?
93270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93271 (exit $ac_status); }; } &&
93272 { ac_try='test -s conftest.$ac_objext'
93273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93274 (eval $ac_try) 2>&5
93275 ac_status=$?
93276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93277 (exit $ac_status); }; }; then
93278 glibcxx_cv_func_fabsf_use=yes
93279 else
93280 echo "$as_me: failed program was:" >&5
93281 sed 's/^/| /' conftest.$ac_ext >&5
93283 glibcxx_cv_func_fabsf_use=no
93285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93286 ac_ext=c
93287 ac_cpp='$CPP $CPPFLAGS'
93288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93297 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93299 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93301 for ac_func in fabsf
93303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93304 echo "$as_me:$LINENO: checking for $ac_func" >&5
93305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93306 if eval "test \"\${$as_ac_var+set}\" = set"; then
93307 echo $ECHO_N "(cached) $ECHO_C" >&6
93308 else
93309 if test x$gcc_no_link = xyes; then
93310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93312 { (exit 1); exit 1; }; }
93314 cat >conftest.$ac_ext <<_ACEOF
93315 /* confdefs.h. */
93316 _ACEOF
93317 cat confdefs.h >>conftest.$ac_ext
93318 cat >>conftest.$ac_ext <<_ACEOF
93319 /* end confdefs.h. */
93320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93322 #define $ac_func innocuous_$ac_func
93324 /* System header to define __stub macros and hopefully few prototypes,
93325 which can conflict with char $ac_func (); below.
93326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93327 <limits.h> exists even on freestanding compilers. */
93329 #ifdef __STDC__
93330 # include <limits.h>
93331 #else
93332 # include <assert.h>
93333 #endif
93335 #undef $ac_func
93337 /* Override any gcc2 internal prototype to avoid an error. */
93338 #ifdef __cplusplus
93339 extern "C"
93341 #endif
93342 /* We use char because int might match the return type of a gcc2
93343 builtin and then its argument prototype would still apply. */
93344 char $ac_func ();
93345 /* The GNU C library defines this for functions which it implements
93346 to always fail with ENOSYS. Some functions are actually named
93347 something starting with __ and the normal name is an alias. */
93348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93349 choke me
93350 #else
93351 char (*f) () = $ac_func;
93352 #endif
93353 #ifdef __cplusplus
93355 #endif
93358 main ()
93360 return f != $ac_func;
93362 return 0;
93364 _ACEOF
93365 rm -f conftest.$ac_objext conftest$ac_exeext
93366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93367 (eval $ac_link) 2>conftest.er1
93368 ac_status=$?
93369 grep -v '^ *+' conftest.er1 >conftest.err
93370 rm -f conftest.er1
93371 cat conftest.err >&5
93372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93373 (exit $ac_status); } &&
93374 { ac_try='test -z "$ac_c_werror_flag"
93375 || test ! -s conftest.err'
93376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93377 (eval $ac_try) 2>&5
93378 ac_status=$?
93379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93380 (exit $ac_status); }; } &&
93381 { ac_try='test -s conftest$ac_exeext'
93382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93383 (eval $ac_try) 2>&5
93384 ac_status=$?
93385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93386 (exit $ac_status); }; }; then
93387 eval "$as_ac_var=yes"
93388 else
93389 echo "$as_me: failed program was:" >&5
93390 sed 's/^/| /' conftest.$ac_ext >&5
93392 eval "$as_ac_var=no"
93394 rm -f conftest.err conftest.$ac_objext \
93395 conftest$ac_exeext conftest.$ac_ext
93397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93399 if test `eval echo '${'$as_ac_var'}'` = yes; then
93400 cat >>confdefs.h <<_ACEOF
93401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93402 _ACEOF
93405 done
93407 else
93409 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93410 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93411 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93412 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93413 echo $ECHO_N "(cached) $ECHO_C" >&6
93414 else
93418 ac_ext=cc
93419 ac_cpp='$CXXCPP $CPPFLAGS'
93420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93424 cat >conftest.$ac_ext <<_ACEOF
93425 /* confdefs.h. */
93426 _ACEOF
93427 cat confdefs.h >>conftest.$ac_ext
93428 cat >>conftest.$ac_ext <<_ACEOF
93429 /* end confdefs.h. */
93430 #include <math.h>
93431 #ifdef HAVE_IEEEFP_H
93432 #include <ieeefp.h>
93433 #endif
93436 main ()
93438 _fabsf(0);
93440 return 0;
93442 _ACEOF
93443 rm -f conftest.$ac_objext
93444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93445 (eval $ac_compile) 2>conftest.er1
93446 ac_status=$?
93447 grep -v '^ *+' conftest.er1 >conftest.err
93448 rm -f conftest.er1
93449 cat conftest.err >&5
93450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93451 (exit $ac_status); } &&
93452 { ac_try='test -z "$ac_cxx_werror_flag"
93453 || test ! -s conftest.err'
93454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93455 (eval $ac_try) 2>&5
93456 ac_status=$?
93457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93458 (exit $ac_status); }; } &&
93459 { ac_try='test -s conftest.$ac_objext'
93460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93461 (eval $ac_try) 2>&5
93462 ac_status=$?
93463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93464 (exit $ac_status); }; }; then
93465 glibcxx_cv_func__fabsf_use=yes
93466 else
93467 echo "$as_me: failed program was:" >&5
93468 sed 's/^/| /' conftest.$ac_ext >&5
93470 glibcxx_cv_func__fabsf_use=no
93472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93473 ac_ext=c
93474 ac_cpp='$CPP $CPPFLAGS'
93475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93484 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93486 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93488 for ac_func in _fabsf
93490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93491 echo "$as_me:$LINENO: checking for $ac_func" >&5
93492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93493 if eval "test \"\${$as_ac_var+set}\" = set"; then
93494 echo $ECHO_N "(cached) $ECHO_C" >&6
93495 else
93496 if test x$gcc_no_link = xyes; then
93497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93499 { (exit 1); exit 1; }; }
93501 cat >conftest.$ac_ext <<_ACEOF
93502 /* confdefs.h. */
93503 _ACEOF
93504 cat confdefs.h >>conftest.$ac_ext
93505 cat >>conftest.$ac_ext <<_ACEOF
93506 /* end confdefs.h. */
93507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93509 #define $ac_func innocuous_$ac_func
93511 /* System header to define __stub macros and hopefully few prototypes,
93512 which can conflict with char $ac_func (); below.
93513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93514 <limits.h> exists even on freestanding compilers. */
93516 #ifdef __STDC__
93517 # include <limits.h>
93518 #else
93519 # include <assert.h>
93520 #endif
93522 #undef $ac_func
93524 /* Override any gcc2 internal prototype to avoid an error. */
93525 #ifdef __cplusplus
93526 extern "C"
93528 #endif
93529 /* We use char because int might match the return type of a gcc2
93530 builtin and then its argument prototype would still apply. */
93531 char $ac_func ();
93532 /* The GNU C library defines this for functions which it implements
93533 to always fail with ENOSYS. Some functions are actually named
93534 something starting with __ and the normal name is an alias. */
93535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93536 choke me
93537 #else
93538 char (*f) () = $ac_func;
93539 #endif
93540 #ifdef __cplusplus
93542 #endif
93545 main ()
93547 return f != $ac_func;
93549 return 0;
93551 _ACEOF
93552 rm -f conftest.$ac_objext conftest$ac_exeext
93553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93554 (eval $ac_link) 2>conftest.er1
93555 ac_status=$?
93556 grep -v '^ *+' conftest.er1 >conftest.err
93557 rm -f conftest.er1
93558 cat conftest.err >&5
93559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93560 (exit $ac_status); } &&
93561 { ac_try='test -z "$ac_c_werror_flag"
93562 || test ! -s conftest.err'
93563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93564 (eval $ac_try) 2>&5
93565 ac_status=$?
93566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93567 (exit $ac_status); }; } &&
93568 { ac_try='test -s conftest$ac_exeext'
93569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93570 (eval $ac_try) 2>&5
93571 ac_status=$?
93572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93573 (exit $ac_status); }; }; then
93574 eval "$as_ac_var=yes"
93575 else
93576 echo "$as_me: failed program was:" >&5
93577 sed 's/^/| /' conftest.$ac_ext >&5
93579 eval "$as_ac_var=no"
93581 rm -f conftest.err conftest.$ac_objext \
93582 conftest$ac_exeext conftest.$ac_ext
93584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93586 if test `eval echo '${'$as_ac_var'}'` = yes; then
93587 cat >>confdefs.h <<_ACEOF
93588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93589 _ACEOF
93592 done
93602 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93603 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93604 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93605 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93606 echo $ECHO_N "(cached) $ECHO_C" >&6
93607 else
93611 ac_ext=cc
93612 ac_cpp='$CXXCPP $CPPFLAGS'
93613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93617 cat >conftest.$ac_ext <<_ACEOF
93618 /* confdefs.h. */
93619 _ACEOF
93620 cat confdefs.h >>conftest.$ac_ext
93621 cat >>conftest.$ac_ext <<_ACEOF
93622 /* end confdefs.h. */
93623 #include <math.h>
93625 main ()
93627 fmodf(0, 0);
93629 return 0;
93631 _ACEOF
93632 rm -f conftest.$ac_objext
93633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93634 (eval $ac_compile) 2>conftest.er1
93635 ac_status=$?
93636 grep -v '^ *+' conftest.er1 >conftest.err
93637 rm -f conftest.er1
93638 cat conftest.err >&5
93639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93640 (exit $ac_status); } &&
93641 { ac_try='test -z "$ac_cxx_werror_flag"
93642 || test ! -s conftest.err'
93643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93644 (eval $ac_try) 2>&5
93645 ac_status=$?
93646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93647 (exit $ac_status); }; } &&
93648 { ac_try='test -s conftest.$ac_objext'
93649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93650 (eval $ac_try) 2>&5
93651 ac_status=$?
93652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93653 (exit $ac_status); }; }; then
93654 glibcxx_cv_func_fmodf_use=yes
93655 else
93656 echo "$as_me: failed program was:" >&5
93657 sed 's/^/| /' conftest.$ac_ext >&5
93659 glibcxx_cv_func_fmodf_use=no
93661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93662 ac_ext=c
93663 ac_cpp='$CPP $CPPFLAGS'
93664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93672 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93673 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93675 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93677 for ac_func in fmodf
93679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93680 echo "$as_me:$LINENO: checking for $ac_func" >&5
93681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93682 if eval "test \"\${$as_ac_var+set}\" = set"; then
93683 echo $ECHO_N "(cached) $ECHO_C" >&6
93684 else
93685 if test x$gcc_no_link = xyes; then
93686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93688 { (exit 1); exit 1; }; }
93690 cat >conftest.$ac_ext <<_ACEOF
93691 /* confdefs.h. */
93692 _ACEOF
93693 cat confdefs.h >>conftest.$ac_ext
93694 cat >>conftest.$ac_ext <<_ACEOF
93695 /* end confdefs.h. */
93696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93698 #define $ac_func innocuous_$ac_func
93700 /* System header to define __stub macros and hopefully few prototypes,
93701 which can conflict with char $ac_func (); below.
93702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93703 <limits.h> exists even on freestanding compilers. */
93705 #ifdef __STDC__
93706 # include <limits.h>
93707 #else
93708 # include <assert.h>
93709 #endif
93711 #undef $ac_func
93713 /* Override any gcc2 internal prototype to avoid an error. */
93714 #ifdef __cplusplus
93715 extern "C"
93717 #endif
93718 /* We use char because int might match the return type of a gcc2
93719 builtin and then its argument prototype would still apply. */
93720 char $ac_func ();
93721 /* The GNU C library defines this for functions which it implements
93722 to always fail with ENOSYS. Some functions are actually named
93723 something starting with __ and the normal name is an alias. */
93724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93725 choke me
93726 #else
93727 char (*f) () = $ac_func;
93728 #endif
93729 #ifdef __cplusplus
93731 #endif
93734 main ()
93736 return f != $ac_func;
93738 return 0;
93740 _ACEOF
93741 rm -f conftest.$ac_objext conftest$ac_exeext
93742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93743 (eval $ac_link) 2>conftest.er1
93744 ac_status=$?
93745 grep -v '^ *+' conftest.er1 >conftest.err
93746 rm -f conftest.er1
93747 cat conftest.err >&5
93748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93749 (exit $ac_status); } &&
93750 { ac_try='test -z "$ac_c_werror_flag"
93751 || test ! -s conftest.err'
93752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93753 (eval $ac_try) 2>&5
93754 ac_status=$?
93755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93756 (exit $ac_status); }; } &&
93757 { ac_try='test -s conftest$ac_exeext'
93758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93759 (eval $ac_try) 2>&5
93760 ac_status=$?
93761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93762 (exit $ac_status); }; }; then
93763 eval "$as_ac_var=yes"
93764 else
93765 echo "$as_me: failed program was:" >&5
93766 sed 's/^/| /' conftest.$ac_ext >&5
93768 eval "$as_ac_var=no"
93770 rm -f conftest.err conftest.$ac_objext \
93771 conftest$ac_exeext conftest.$ac_ext
93773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93775 if test `eval echo '${'$as_ac_var'}'` = yes; then
93776 cat >>confdefs.h <<_ACEOF
93777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93778 _ACEOF
93781 done
93783 else
93785 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93786 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93787 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93788 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93789 echo $ECHO_N "(cached) $ECHO_C" >&6
93790 else
93794 ac_ext=cc
93795 ac_cpp='$CXXCPP $CPPFLAGS'
93796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93800 cat >conftest.$ac_ext <<_ACEOF
93801 /* confdefs.h. */
93802 _ACEOF
93803 cat confdefs.h >>conftest.$ac_ext
93804 cat >>conftest.$ac_ext <<_ACEOF
93805 /* end confdefs.h. */
93806 #include <math.h>
93808 main ()
93810 _fmodf(0, 0);
93812 return 0;
93814 _ACEOF
93815 rm -f conftest.$ac_objext
93816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93817 (eval $ac_compile) 2>conftest.er1
93818 ac_status=$?
93819 grep -v '^ *+' conftest.er1 >conftest.err
93820 rm -f conftest.er1
93821 cat conftest.err >&5
93822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93823 (exit $ac_status); } &&
93824 { ac_try='test -z "$ac_cxx_werror_flag"
93825 || test ! -s conftest.err'
93826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93827 (eval $ac_try) 2>&5
93828 ac_status=$?
93829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93830 (exit $ac_status); }; } &&
93831 { ac_try='test -s conftest.$ac_objext'
93832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93833 (eval $ac_try) 2>&5
93834 ac_status=$?
93835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93836 (exit $ac_status); }; }; then
93837 glibcxx_cv_func__fmodf_use=yes
93838 else
93839 echo "$as_me: failed program was:" >&5
93840 sed 's/^/| /' conftest.$ac_ext >&5
93842 glibcxx_cv_func__fmodf_use=no
93844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93845 ac_ext=c
93846 ac_cpp='$CPP $CPPFLAGS'
93847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93856 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93858 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93860 for ac_func in _fmodf
93862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93863 echo "$as_me:$LINENO: checking for $ac_func" >&5
93864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93865 if eval "test \"\${$as_ac_var+set}\" = set"; then
93866 echo $ECHO_N "(cached) $ECHO_C" >&6
93867 else
93868 if test x$gcc_no_link = xyes; then
93869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93871 { (exit 1); exit 1; }; }
93873 cat >conftest.$ac_ext <<_ACEOF
93874 /* confdefs.h. */
93875 _ACEOF
93876 cat confdefs.h >>conftest.$ac_ext
93877 cat >>conftest.$ac_ext <<_ACEOF
93878 /* end confdefs.h. */
93879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93881 #define $ac_func innocuous_$ac_func
93883 /* System header to define __stub macros and hopefully few prototypes,
93884 which can conflict with char $ac_func (); below.
93885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93886 <limits.h> exists even on freestanding compilers. */
93888 #ifdef __STDC__
93889 # include <limits.h>
93890 #else
93891 # include <assert.h>
93892 #endif
93894 #undef $ac_func
93896 /* Override any gcc2 internal prototype to avoid an error. */
93897 #ifdef __cplusplus
93898 extern "C"
93900 #endif
93901 /* We use char because int might match the return type of a gcc2
93902 builtin and then its argument prototype would still apply. */
93903 char $ac_func ();
93904 /* The GNU C library defines this for functions which it implements
93905 to always fail with ENOSYS. Some functions are actually named
93906 something starting with __ and the normal name is an alias. */
93907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93908 choke me
93909 #else
93910 char (*f) () = $ac_func;
93911 #endif
93912 #ifdef __cplusplus
93914 #endif
93917 main ()
93919 return f != $ac_func;
93921 return 0;
93923 _ACEOF
93924 rm -f conftest.$ac_objext conftest$ac_exeext
93925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93926 (eval $ac_link) 2>conftest.er1
93927 ac_status=$?
93928 grep -v '^ *+' conftest.er1 >conftest.err
93929 rm -f conftest.er1
93930 cat conftest.err >&5
93931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93932 (exit $ac_status); } &&
93933 { ac_try='test -z "$ac_c_werror_flag"
93934 || test ! -s conftest.err'
93935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93936 (eval $ac_try) 2>&5
93937 ac_status=$?
93938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93939 (exit $ac_status); }; } &&
93940 { ac_try='test -s conftest$ac_exeext'
93941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93942 (eval $ac_try) 2>&5
93943 ac_status=$?
93944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93945 (exit $ac_status); }; }; then
93946 eval "$as_ac_var=yes"
93947 else
93948 echo "$as_me: failed program was:" >&5
93949 sed 's/^/| /' conftest.$ac_ext >&5
93951 eval "$as_ac_var=no"
93953 rm -f conftest.err conftest.$ac_objext \
93954 conftest$ac_exeext conftest.$ac_ext
93956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93958 if test `eval echo '${'$as_ac_var'}'` = yes; then
93959 cat >>confdefs.h <<_ACEOF
93960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93961 _ACEOF
93964 done
93974 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93975 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93976 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93977 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93978 echo $ECHO_N "(cached) $ECHO_C" >&6
93979 else
93983 ac_ext=cc
93984 ac_cpp='$CXXCPP $CPPFLAGS'
93985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93989 cat >conftest.$ac_ext <<_ACEOF
93990 /* confdefs.h. */
93991 _ACEOF
93992 cat confdefs.h >>conftest.$ac_ext
93993 cat >>conftest.$ac_ext <<_ACEOF
93994 /* end confdefs.h. */
93995 #include <math.h>
93997 main ()
93999 frexpf(0, 0);
94001 return 0;
94003 _ACEOF
94004 rm -f conftest.$ac_objext
94005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94006 (eval $ac_compile) 2>conftest.er1
94007 ac_status=$?
94008 grep -v '^ *+' conftest.er1 >conftest.err
94009 rm -f conftest.er1
94010 cat conftest.err >&5
94011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94012 (exit $ac_status); } &&
94013 { ac_try='test -z "$ac_cxx_werror_flag"
94014 || test ! -s conftest.err'
94015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94016 (eval $ac_try) 2>&5
94017 ac_status=$?
94018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94019 (exit $ac_status); }; } &&
94020 { ac_try='test -s conftest.$ac_objext'
94021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94022 (eval $ac_try) 2>&5
94023 ac_status=$?
94024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94025 (exit $ac_status); }; }; then
94026 glibcxx_cv_func_frexpf_use=yes
94027 else
94028 echo "$as_me: failed program was:" >&5
94029 sed 's/^/| /' conftest.$ac_ext >&5
94031 glibcxx_cv_func_frexpf_use=no
94033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94034 ac_ext=c
94035 ac_cpp='$CPP $CPPFLAGS'
94036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94045 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94047 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94049 for ac_func in frexpf
94051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94052 echo "$as_me:$LINENO: checking for $ac_func" >&5
94053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94054 if eval "test \"\${$as_ac_var+set}\" = set"; then
94055 echo $ECHO_N "(cached) $ECHO_C" >&6
94056 else
94057 if test x$gcc_no_link = xyes; then
94058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94060 { (exit 1); exit 1; }; }
94062 cat >conftest.$ac_ext <<_ACEOF
94063 /* confdefs.h. */
94064 _ACEOF
94065 cat confdefs.h >>conftest.$ac_ext
94066 cat >>conftest.$ac_ext <<_ACEOF
94067 /* end confdefs.h. */
94068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94070 #define $ac_func innocuous_$ac_func
94072 /* System header to define __stub macros and hopefully few prototypes,
94073 which can conflict with char $ac_func (); below.
94074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94075 <limits.h> exists even on freestanding compilers. */
94077 #ifdef __STDC__
94078 # include <limits.h>
94079 #else
94080 # include <assert.h>
94081 #endif
94083 #undef $ac_func
94085 /* Override any gcc2 internal prototype to avoid an error. */
94086 #ifdef __cplusplus
94087 extern "C"
94089 #endif
94090 /* We use char because int might match the return type of a gcc2
94091 builtin and then its argument prototype would still apply. */
94092 char $ac_func ();
94093 /* The GNU C library defines this for functions which it implements
94094 to always fail with ENOSYS. Some functions are actually named
94095 something starting with __ and the normal name is an alias. */
94096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94097 choke me
94098 #else
94099 char (*f) () = $ac_func;
94100 #endif
94101 #ifdef __cplusplus
94103 #endif
94106 main ()
94108 return f != $ac_func;
94110 return 0;
94112 _ACEOF
94113 rm -f conftest.$ac_objext conftest$ac_exeext
94114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94115 (eval $ac_link) 2>conftest.er1
94116 ac_status=$?
94117 grep -v '^ *+' conftest.er1 >conftest.err
94118 rm -f conftest.er1
94119 cat conftest.err >&5
94120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94121 (exit $ac_status); } &&
94122 { ac_try='test -z "$ac_c_werror_flag"
94123 || test ! -s conftest.err'
94124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94125 (eval $ac_try) 2>&5
94126 ac_status=$?
94127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94128 (exit $ac_status); }; } &&
94129 { ac_try='test -s conftest$ac_exeext'
94130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94131 (eval $ac_try) 2>&5
94132 ac_status=$?
94133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94134 (exit $ac_status); }; }; then
94135 eval "$as_ac_var=yes"
94136 else
94137 echo "$as_me: failed program was:" >&5
94138 sed 's/^/| /' conftest.$ac_ext >&5
94140 eval "$as_ac_var=no"
94142 rm -f conftest.err conftest.$ac_objext \
94143 conftest$ac_exeext conftest.$ac_ext
94145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94147 if test `eval echo '${'$as_ac_var'}'` = yes; then
94148 cat >>confdefs.h <<_ACEOF
94149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94150 _ACEOF
94153 done
94155 else
94157 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94158 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94159 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94160 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94161 echo $ECHO_N "(cached) $ECHO_C" >&6
94162 else
94166 ac_ext=cc
94167 ac_cpp='$CXXCPP $CPPFLAGS'
94168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94172 cat >conftest.$ac_ext <<_ACEOF
94173 /* confdefs.h. */
94174 _ACEOF
94175 cat confdefs.h >>conftest.$ac_ext
94176 cat >>conftest.$ac_ext <<_ACEOF
94177 /* end confdefs.h. */
94178 #include <math.h>
94180 main ()
94182 _frexpf(0, 0);
94184 return 0;
94186 _ACEOF
94187 rm -f conftest.$ac_objext
94188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94189 (eval $ac_compile) 2>conftest.er1
94190 ac_status=$?
94191 grep -v '^ *+' conftest.er1 >conftest.err
94192 rm -f conftest.er1
94193 cat conftest.err >&5
94194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94195 (exit $ac_status); } &&
94196 { ac_try='test -z "$ac_cxx_werror_flag"
94197 || test ! -s conftest.err'
94198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94199 (eval $ac_try) 2>&5
94200 ac_status=$?
94201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94202 (exit $ac_status); }; } &&
94203 { ac_try='test -s conftest.$ac_objext'
94204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94205 (eval $ac_try) 2>&5
94206 ac_status=$?
94207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94208 (exit $ac_status); }; }; then
94209 glibcxx_cv_func__frexpf_use=yes
94210 else
94211 echo "$as_me: failed program was:" >&5
94212 sed 's/^/| /' conftest.$ac_ext >&5
94214 glibcxx_cv_func__frexpf_use=no
94216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94217 ac_ext=c
94218 ac_cpp='$CPP $CPPFLAGS'
94219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94228 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94230 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94232 for ac_func in _frexpf
94234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94235 echo "$as_me:$LINENO: checking for $ac_func" >&5
94236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94237 if eval "test \"\${$as_ac_var+set}\" = set"; then
94238 echo $ECHO_N "(cached) $ECHO_C" >&6
94239 else
94240 if test x$gcc_no_link = xyes; then
94241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94243 { (exit 1); exit 1; }; }
94245 cat >conftest.$ac_ext <<_ACEOF
94246 /* confdefs.h. */
94247 _ACEOF
94248 cat confdefs.h >>conftest.$ac_ext
94249 cat >>conftest.$ac_ext <<_ACEOF
94250 /* end confdefs.h. */
94251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94253 #define $ac_func innocuous_$ac_func
94255 /* System header to define __stub macros and hopefully few prototypes,
94256 which can conflict with char $ac_func (); below.
94257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94258 <limits.h> exists even on freestanding compilers. */
94260 #ifdef __STDC__
94261 # include <limits.h>
94262 #else
94263 # include <assert.h>
94264 #endif
94266 #undef $ac_func
94268 /* Override any gcc2 internal prototype to avoid an error. */
94269 #ifdef __cplusplus
94270 extern "C"
94272 #endif
94273 /* We use char because int might match the return type of a gcc2
94274 builtin and then its argument prototype would still apply. */
94275 char $ac_func ();
94276 /* The GNU C library defines this for functions which it implements
94277 to always fail with ENOSYS. Some functions are actually named
94278 something starting with __ and the normal name is an alias. */
94279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94280 choke me
94281 #else
94282 char (*f) () = $ac_func;
94283 #endif
94284 #ifdef __cplusplus
94286 #endif
94289 main ()
94291 return f != $ac_func;
94293 return 0;
94295 _ACEOF
94296 rm -f conftest.$ac_objext conftest$ac_exeext
94297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94298 (eval $ac_link) 2>conftest.er1
94299 ac_status=$?
94300 grep -v '^ *+' conftest.er1 >conftest.err
94301 rm -f conftest.er1
94302 cat conftest.err >&5
94303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94304 (exit $ac_status); } &&
94305 { ac_try='test -z "$ac_c_werror_flag"
94306 || test ! -s conftest.err'
94307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94308 (eval $ac_try) 2>&5
94309 ac_status=$?
94310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94311 (exit $ac_status); }; } &&
94312 { ac_try='test -s conftest$ac_exeext'
94313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314 (eval $ac_try) 2>&5
94315 ac_status=$?
94316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317 (exit $ac_status); }; }; then
94318 eval "$as_ac_var=yes"
94319 else
94320 echo "$as_me: failed program was:" >&5
94321 sed 's/^/| /' conftest.$ac_ext >&5
94323 eval "$as_ac_var=no"
94325 rm -f conftest.err conftest.$ac_objext \
94326 conftest$ac_exeext conftest.$ac_ext
94328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94330 if test `eval echo '${'$as_ac_var'}'` = yes; then
94331 cat >>confdefs.h <<_ACEOF
94332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94333 _ACEOF
94336 done
94346 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94347 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94348 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94349 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94350 echo $ECHO_N "(cached) $ECHO_C" >&6
94351 else
94355 ac_ext=cc
94356 ac_cpp='$CXXCPP $CPPFLAGS'
94357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94361 cat >conftest.$ac_ext <<_ACEOF
94362 /* confdefs.h. */
94363 _ACEOF
94364 cat confdefs.h >>conftest.$ac_ext
94365 cat >>conftest.$ac_ext <<_ACEOF
94366 /* end confdefs.h. */
94367 #include <math.h>
94369 main ()
94371 hypotf(0, 0);
94373 return 0;
94375 _ACEOF
94376 rm -f conftest.$ac_objext
94377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94378 (eval $ac_compile) 2>conftest.er1
94379 ac_status=$?
94380 grep -v '^ *+' conftest.er1 >conftest.err
94381 rm -f conftest.er1
94382 cat conftest.err >&5
94383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94384 (exit $ac_status); } &&
94385 { ac_try='test -z "$ac_cxx_werror_flag"
94386 || test ! -s conftest.err'
94387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94388 (eval $ac_try) 2>&5
94389 ac_status=$?
94390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94391 (exit $ac_status); }; } &&
94392 { ac_try='test -s conftest.$ac_objext'
94393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94394 (eval $ac_try) 2>&5
94395 ac_status=$?
94396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94397 (exit $ac_status); }; }; then
94398 glibcxx_cv_func_hypotf_use=yes
94399 else
94400 echo "$as_me: failed program was:" >&5
94401 sed 's/^/| /' conftest.$ac_ext >&5
94403 glibcxx_cv_func_hypotf_use=no
94405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94406 ac_ext=c
94407 ac_cpp='$CPP $CPPFLAGS'
94408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94417 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94419 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94421 for ac_func in hypotf
94423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94424 echo "$as_me:$LINENO: checking for $ac_func" >&5
94425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94426 if eval "test \"\${$as_ac_var+set}\" = set"; then
94427 echo $ECHO_N "(cached) $ECHO_C" >&6
94428 else
94429 if test x$gcc_no_link = xyes; then
94430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94432 { (exit 1); exit 1; }; }
94434 cat >conftest.$ac_ext <<_ACEOF
94435 /* confdefs.h. */
94436 _ACEOF
94437 cat confdefs.h >>conftest.$ac_ext
94438 cat >>conftest.$ac_ext <<_ACEOF
94439 /* end confdefs.h. */
94440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94442 #define $ac_func innocuous_$ac_func
94444 /* System header to define __stub macros and hopefully few prototypes,
94445 which can conflict with char $ac_func (); below.
94446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94447 <limits.h> exists even on freestanding compilers. */
94449 #ifdef __STDC__
94450 # include <limits.h>
94451 #else
94452 # include <assert.h>
94453 #endif
94455 #undef $ac_func
94457 /* Override any gcc2 internal prototype to avoid an error. */
94458 #ifdef __cplusplus
94459 extern "C"
94461 #endif
94462 /* We use char because int might match the return type of a gcc2
94463 builtin and then its argument prototype would still apply. */
94464 char $ac_func ();
94465 /* The GNU C library defines this for functions which it implements
94466 to always fail with ENOSYS. Some functions are actually named
94467 something starting with __ and the normal name is an alias. */
94468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94469 choke me
94470 #else
94471 char (*f) () = $ac_func;
94472 #endif
94473 #ifdef __cplusplus
94475 #endif
94478 main ()
94480 return f != $ac_func;
94482 return 0;
94484 _ACEOF
94485 rm -f conftest.$ac_objext conftest$ac_exeext
94486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94487 (eval $ac_link) 2>conftest.er1
94488 ac_status=$?
94489 grep -v '^ *+' conftest.er1 >conftest.err
94490 rm -f conftest.er1
94491 cat conftest.err >&5
94492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493 (exit $ac_status); } &&
94494 { ac_try='test -z "$ac_c_werror_flag"
94495 || test ! -s conftest.err'
94496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94497 (eval $ac_try) 2>&5
94498 ac_status=$?
94499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94500 (exit $ac_status); }; } &&
94501 { ac_try='test -s conftest$ac_exeext'
94502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94503 (eval $ac_try) 2>&5
94504 ac_status=$?
94505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94506 (exit $ac_status); }; }; then
94507 eval "$as_ac_var=yes"
94508 else
94509 echo "$as_me: failed program was:" >&5
94510 sed 's/^/| /' conftest.$ac_ext >&5
94512 eval "$as_ac_var=no"
94514 rm -f conftest.err conftest.$ac_objext \
94515 conftest$ac_exeext conftest.$ac_ext
94517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94519 if test `eval echo '${'$as_ac_var'}'` = yes; then
94520 cat >>confdefs.h <<_ACEOF
94521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94522 _ACEOF
94525 done
94527 else
94529 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94530 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94531 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94532 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94533 echo $ECHO_N "(cached) $ECHO_C" >&6
94534 else
94538 ac_ext=cc
94539 ac_cpp='$CXXCPP $CPPFLAGS'
94540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94544 cat >conftest.$ac_ext <<_ACEOF
94545 /* confdefs.h. */
94546 _ACEOF
94547 cat confdefs.h >>conftest.$ac_ext
94548 cat >>conftest.$ac_ext <<_ACEOF
94549 /* end confdefs.h. */
94550 #include <math.h>
94552 main ()
94554 _hypotf(0, 0);
94556 return 0;
94558 _ACEOF
94559 rm -f conftest.$ac_objext
94560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94561 (eval $ac_compile) 2>conftest.er1
94562 ac_status=$?
94563 grep -v '^ *+' conftest.er1 >conftest.err
94564 rm -f conftest.er1
94565 cat conftest.err >&5
94566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94567 (exit $ac_status); } &&
94568 { ac_try='test -z "$ac_cxx_werror_flag"
94569 || test ! -s conftest.err'
94570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94571 (eval $ac_try) 2>&5
94572 ac_status=$?
94573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94574 (exit $ac_status); }; } &&
94575 { ac_try='test -s conftest.$ac_objext'
94576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94577 (eval $ac_try) 2>&5
94578 ac_status=$?
94579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94580 (exit $ac_status); }; }; then
94581 glibcxx_cv_func__hypotf_use=yes
94582 else
94583 echo "$as_me: failed program was:" >&5
94584 sed 's/^/| /' conftest.$ac_ext >&5
94586 glibcxx_cv_func__hypotf_use=no
94588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94589 ac_ext=c
94590 ac_cpp='$CPP $CPPFLAGS'
94591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94600 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94602 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94604 for ac_func in _hypotf
94606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94607 echo "$as_me:$LINENO: checking for $ac_func" >&5
94608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94609 if eval "test \"\${$as_ac_var+set}\" = set"; then
94610 echo $ECHO_N "(cached) $ECHO_C" >&6
94611 else
94612 if test x$gcc_no_link = xyes; then
94613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94615 { (exit 1); exit 1; }; }
94617 cat >conftest.$ac_ext <<_ACEOF
94618 /* confdefs.h. */
94619 _ACEOF
94620 cat confdefs.h >>conftest.$ac_ext
94621 cat >>conftest.$ac_ext <<_ACEOF
94622 /* end confdefs.h. */
94623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94625 #define $ac_func innocuous_$ac_func
94627 /* System header to define __stub macros and hopefully few prototypes,
94628 which can conflict with char $ac_func (); below.
94629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94630 <limits.h> exists even on freestanding compilers. */
94632 #ifdef __STDC__
94633 # include <limits.h>
94634 #else
94635 # include <assert.h>
94636 #endif
94638 #undef $ac_func
94640 /* Override any gcc2 internal prototype to avoid an error. */
94641 #ifdef __cplusplus
94642 extern "C"
94644 #endif
94645 /* We use char because int might match the return type of a gcc2
94646 builtin and then its argument prototype would still apply. */
94647 char $ac_func ();
94648 /* The GNU C library defines this for functions which it implements
94649 to always fail with ENOSYS. Some functions are actually named
94650 something starting with __ and the normal name is an alias. */
94651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94652 choke me
94653 #else
94654 char (*f) () = $ac_func;
94655 #endif
94656 #ifdef __cplusplus
94658 #endif
94661 main ()
94663 return f != $ac_func;
94665 return 0;
94667 _ACEOF
94668 rm -f conftest.$ac_objext conftest$ac_exeext
94669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94670 (eval $ac_link) 2>conftest.er1
94671 ac_status=$?
94672 grep -v '^ *+' conftest.er1 >conftest.err
94673 rm -f conftest.er1
94674 cat conftest.err >&5
94675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94676 (exit $ac_status); } &&
94677 { ac_try='test -z "$ac_c_werror_flag"
94678 || test ! -s conftest.err'
94679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94680 (eval $ac_try) 2>&5
94681 ac_status=$?
94682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94683 (exit $ac_status); }; } &&
94684 { ac_try='test -s conftest$ac_exeext'
94685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94686 (eval $ac_try) 2>&5
94687 ac_status=$?
94688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94689 (exit $ac_status); }; }; then
94690 eval "$as_ac_var=yes"
94691 else
94692 echo "$as_me: failed program was:" >&5
94693 sed 's/^/| /' conftest.$ac_ext >&5
94695 eval "$as_ac_var=no"
94697 rm -f conftest.err conftest.$ac_objext \
94698 conftest$ac_exeext conftest.$ac_ext
94700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94702 if test `eval echo '${'$as_ac_var'}'` = yes; then
94703 cat >>confdefs.h <<_ACEOF
94704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94705 _ACEOF
94708 done
94718 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94719 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94720 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94721 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94722 echo $ECHO_N "(cached) $ECHO_C" >&6
94723 else
94727 ac_ext=cc
94728 ac_cpp='$CXXCPP $CPPFLAGS'
94729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94733 cat >conftest.$ac_ext <<_ACEOF
94734 /* confdefs.h. */
94735 _ACEOF
94736 cat confdefs.h >>conftest.$ac_ext
94737 cat >>conftest.$ac_ext <<_ACEOF
94738 /* end confdefs.h. */
94739 #include <math.h>
94741 main ()
94743 ldexpf(0, 0);
94745 return 0;
94747 _ACEOF
94748 rm -f conftest.$ac_objext
94749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94750 (eval $ac_compile) 2>conftest.er1
94751 ac_status=$?
94752 grep -v '^ *+' conftest.er1 >conftest.err
94753 rm -f conftest.er1
94754 cat conftest.err >&5
94755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94756 (exit $ac_status); } &&
94757 { ac_try='test -z "$ac_cxx_werror_flag"
94758 || test ! -s conftest.err'
94759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94760 (eval $ac_try) 2>&5
94761 ac_status=$?
94762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94763 (exit $ac_status); }; } &&
94764 { ac_try='test -s conftest.$ac_objext'
94765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94766 (eval $ac_try) 2>&5
94767 ac_status=$?
94768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94769 (exit $ac_status); }; }; then
94770 glibcxx_cv_func_ldexpf_use=yes
94771 else
94772 echo "$as_me: failed program was:" >&5
94773 sed 's/^/| /' conftest.$ac_ext >&5
94775 glibcxx_cv_func_ldexpf_use=no
94777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94778 ac_ext=c
94779 ac_cpp='$CPP $CPPFLAGS'
94780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94789 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94791 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94793 for ac_func in ldexpf
94795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94796 echo "$as_me:$LINENO: checking for $ac_func" >&5
94797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94798 if eval "test \"\${$as_ac_var+set}\" = set"; then
94799 echo $ECHO_N "(cached) $ECHO_C" >&6
94800 else
94801 if test x$gcc_no_link = xyes; then
94802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94804 { (exit 1); exit 1; }; }
94806 cat >conftest.$ac_ext <<_ACEOF
94807 /* confdefs.h. */
94808 _ACEOF
94809 cat confdefs.h >>conftest.$ac_ext
94810 cat >>conftest.$ac_ext <<_ACEOF
94811 /* end confdefs.h. */
94812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94814 #define $ac_func innocuous_$ac_func
94816 /* System header to define __stub macros and hopefully few prototypes,
94817 which can conflict with char $ac_func (); below.
94818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94819 <limits.h> exists even on freestanding compilers. */
94821 #ifdef __STDC__
94822 # include <limits.h>
94823 #else
94824 # include <assert.h>
94825 #endif
94827 #undef $ac_func
94829 /* Override any gcc2 internal prototype to avoid an error. */
94830 #ifdef __cplusplus
94831 extern "C"
94833 #endif
94834 /* We use char because int might match the return type of a gcc2
94835 builtin and then its argument prototype would still apply. */
94836 char $ac_func ();
94837 /* The GNU C library defines this for functions which it implements
94838 to always fail with ENOSYS. Some functions are actually named
94839 something starting with __ and the normal name is an alias. */
94840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94841 choke me
94842 #else
94843 char (*f) () = $ac_func;
94844 #endif
94845 #ifdef __cplusplus
94847 #endif
94850 main ()
94852 return f != $ac_func;
94854 return 0;
94856 _ACEOF
94857 rm -f conftest.$ac_objext conftest$ac_exeext
94858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94859 (eval $ac_link) 2>conftest.er1
94860 ac_status=$?
94861 grep -v '^ *+' conftest.er1 >conftest.err
94862 rm -f conftest.er1
94863 cat conftest.err >&5
94864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94865 (exit $ac_status); } &&
94866 { ac_try='test -z "$ac_c_werror_flag"
94867 || test ! -s conftest.err'
94868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94869 (eval $ac_try) 2>&5
94870 ac_status=$?
94871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94872 (exit $ac_status); }; } &&
94873 { ac_try='test -s conftest$ac_exeext'
94874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94875 (eval $ac_try) 2>&5
94876 ac_status=$?
94877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94878 (exit $ac_status); }; }; then
94879 eval "$as_ac_var=yes"
94880 else
94881 echo "$as_me: failed program was:" >&5
94882 sed 's/^/| /' conftest.$ac_ext >&5
94884 eval "$as_ac_var=no"
94886 rm -f conftest.err conftest.$ac_objext \
94887 conftest$ac_exeext conftest.$ac_ext
94889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94891 if test `eval echo '${'$as_ac_var'}'` = yes; then
94892 cat >>confdefs.h <<_ACEOF
94893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94894 _ACEOF
94897 done
94899 else
94901 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94902 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94903 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94904 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94905 echo $ECHO_N "(cached) $ECHO_C" >&6
94906 else
94910 ac_ext=cc
94911 ac_cpp='$CXXCPP $CPPFLAGS'
94912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94916 cat >conftest.$ac_ext <<_ACEOF
94917 /* confdefs.h. */
94918 _ACEOF
94919 cat confdefs.h >>conftest.$ac_ext
94920 cat >>conftest.$ac_ext <<_ACEOF
94921 /* end confdefs.h. */
94922 #include <math.h>
94924 main ()
94926 _ldexpf(0, 0);
94928 return 0;
94930 _ACEOF
94931 rm -f conftest.$ac_objext
94932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94933 (eval $ac_compile) 2>conftest.er1
94934 ac_status=$?
94935 grep -v '^ *+' conftest.er1 >conftest.err
94936 rm -f conftest.er1
94937 cat conftest.err >&5
94938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94939 (exit $ac_status); } &&
94940 { ac_try='test -z "$ac_cxx_werror_flag"
94941 || test ! -s conftest.err'
94942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94943 (eval $ac_try) 2>&5
94944 ac_status=$?
94945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94946 (exit $ac_status); }; } &&
94947 { ac_try='test -s conftest.$ac_objext'
94948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94949 (eval $ac_try) 2>&5
94950 ac_status=$?
94951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94952 (exit $ac_status); }; }; then
94953 glibcxx_cv_func__ldexpf_use=yes
94954 else
94955 echo "$as_me: failed program was:" >&5
94956 sed 's/^/| /' conftest.$ac_ext >&5
94958 glibcxx_cv_func__ldexpf_use=no
94960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94961 ac_ext=c
94962 ac_cpp='$CPP $CPPFLAGS'
94963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94972 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94974 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94976 for ac_func in _ldexpf
94978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94979 echo "$as_me:$LINENO: checking for $ac_func" >&5
94980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94981 if eval "test \"\${$as_ac_var+set}\" = set"; then
94982 echo $ECHO_N "(cached) $ECHO_C" >&6
94983 else
94984 if test x$gcc_no_link = xyes; then
94985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94987 { (exit 1); exit 1; }; }
94989 cat >conftest.$ac_ext <<_ACEOF
94990 /* confdefs.h. */
94991 _ACEOF
94992 cat confdefs.h >>conftest.$ac_ext
94993 cat >>conftest.$ac_ext <<_ACEOF
94994 /* end confdefs.h. */
94995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94997 #define $ac_func innocuous_$ac_func
94999 /* System header to define __stub macros and hopefully few prototypes,
95000 which can conflict with char $ac_func (); below.
95001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95002 <limits.h> exists even on freestanding compilers. */
95004 #ifdef __STDC__
95005 # include <limits.h>
95006 #else
95007 # include <assert.h>
95008 #endif
95010 #undef $ac_func
95012 /* Override any gcc2 internal prototype to avoid an error. */
95013 #ifdef __cplusplus
95014 extern "C"
95016 #endif
95017 /* We use char because int might match the return type of a gcc2
95018 builtin and then its argument prototype would still apply. */
95019 char $ac_func ();
95020 /* The GNU C library defines this for functions which it implements
95021 to always fail with ENOSYS. Some functions are actually named
95022 something starting with __ and the normal name is an alias. */
95023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95024 choke me
95025 #else
95026 char (*f) () = $ac_func;
95027 #endif
95028 #ifdef __cplusplus
95030 #endif
95033 main ()
95035 return f != $ac_func;
95037 return 0;
95039 _ACEOF
95040 rm -f conftest.$ac_objext conftest$ac_exeext
95041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95042 (eval $ac_link) 2>conftest.er1
95043 ac_status=$?
95044 grep -v '^ *+' conftest.er1 >conftest.err
95045 rm -f conftest.er1
95046 cat conftest.err >&5
95047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95048 (exit $ac_status); } &&
95049 { ac_try='test -z "$ac_c_werror_flag"
95050 || test ! -s conftest.err'
95051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95052 (eval $ac_try) 2>&5
95053 ac_status=$?
95054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95055 (exit $ac_status); }; } &&
95056 { ac_try='test -s conftest$ac_exeext'
95057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95058 (eval $ac_try) 2>&5
95059 ac_status=$?
95060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95061 (exit $ac_status); }; }; then
95062 eval "$as_ac_var=yes"
95063 else
95064 echo "$as_me: failed program was:" >&5
95065 sed 's/^/| /' conftest.$ac_ext >&5
95067 eval "$as_ac_var=no"
95069 rm -f conftest.err conftest.$ac_objext \
95070 conftest$ac_exeext conftest.$ac_ext
95072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95074 if test `eval echo '${'$as_ac_var'}'` = yes; then
95075 cat >>confdefs.h <<_ACEOF
95076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95077 _ACEOF
95080 done
95090 echo "$as_me:$LINENO: checking for logf declaration" >&5
95091 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95092 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95093 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95094 echo $ECHO_N "(cached) $ECHO_C" >&6
95095 else
95099 ac_ext=cc
95100 ac_cpp='$CXXCPP $CPPFLAGS'
95101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95105 cat >conftest.$ac_ext <<_ACEOF
95106 /* confdefs.h. */
95107 _ACEOF
95108 cat confdefs.h >>conftest.$ac_ext
95109 cat >>conftest.$ac_ext <<_ACEOF
95110 /* end confdefs.h. */
95111 #include <math.h>
95112 #ifdef HAVE_IEEEFP_H
95113 #include <ieeefp.h>
95114 #endif
95117 main ()
95119 logf(0);
95121 return 0;
95123 _ACEOF
95124 rm -f conftest.$ac_objext
95125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95126 (eval $ac_compile) 2>conftest.er1
95127 ac_status=$?
95128 grep -v '^ *+' conftest.er1 >conftest.err
95129 rm -f conftest.er1
95130 cat conftest.err >&5
95131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95132 (exit $ac_status); } &&
95133 { ac_try='test -z "$ac_cxx_werror_flag"
95134 || test ! -s conftest.err'
95135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95136 (eval $ac_try) 2>&5
95137 ac_status=$?
95138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95139 (exit $ac_status); }; } &&
95140 { ac_try='test -s conftest.$ac_objext'
95141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95142 (eval $ac_try) 2>&5
95143 ac_status=$?
95144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95145 (exit $ac_status); }; }; then
95146 glibcxx_cv_func_logf_use=yes
95147 else
95148 echo "$as_me: failed program was:" >&5
95149 sed 's/^/| /' conftest.$ac_ext >&5
95151 glibcxx_cv_func_logf_use=no
95153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95154 ac_ext=c
95155 ac_cpp='$CPP $CPPFLAGS'
95156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95165 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95167 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95169 for ac_func in logf
95171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95172 echo "$as_me:$LINENO: checking for $ac_func" >&5
95173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95174 if eval "test \"\${$as_ac_var+set}\" = set"; then
95175 echo $ECHO_N "(cached) $ECHO_C" >&6
95176 else
95177 if test x$gcc_no_link = xyes; then
95178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95180 { (exit 1); exit 1; }; }
95182 cat >conftest.$ac_ext <<_ACEOF
95183 /* confdefs.h. */
95184 _ACEOF
95185 cat confdefs.h >>conftest.$ac_ext
95186 cat >>conftest.$ac_ext <<_ACEOF
95187 /* end confdefs.h. */
95188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95190 #define $ac_func innocuous_$ac_func
95192 /* System header to define __stub macros and hopefully few prototypes,
95193 which can conflict with char $ac_func (); below.
95194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95195 <limits.h> exists even on freestanding compilers. */
95197 #ifdef __STDC__
95198 # include <limits.h>
95199 #else
95200 # include <assert.h>
95201 #endif
95203 #undef $ac_func
95205 /* Override any gcc2 internal prototype to avoid an error. */
95206 #ifdef __cplusplus
95207 extern "C"
95209 #endif
95210 /* We use char because int might match the return type of a gcc2
95211 builtin and then its argument prototype would still apply. */
95212 char $ac_func ();
95213 /* The GNU C library defines this for functions which it implements
95214 to always fail with ENOSYS. Some functions are actually named
95215 something starting with __ and the normal name is an alias. */
95216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95217 choke me
95218 #else
95219 char (*f) () = $ac_func;
95220 #endif
95221 #ifdef __cplusplus
95223 #endif
95226 main ()
95228 return f != $ac_func;
95230 return 0;
95232 _ACEOF
95233 rm -f conftest.$ac_objext conftest$ac_exeext
95234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95235 (eval $ac_link) 2>conftest.er1
95236 ac_status=$?
95237 grep -v '^ *+' conftest.er1 >conftest.err
95238 rm -f conftest.er1
95239 cat conftest.err >&5
95240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95241 (exit $ac_status); } &&
95242 { ac_try='test -z "$ac_c_werror_flag"
95243 || test ! -s conftest.err'
95244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95245 (eval $ac_try) 2>&5
95246 ac_status=$?
95247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95248 (exit $ac_status); }; } &&
95249 { ac_try='test -s conftest$ac_exeext'
95250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95251 (eval $ac_try) 2>&5
95252 ac_status=$?
95253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95254 (exit $ac_status); }; }; then
95255 eval "$as_ac_var=yes"
95256 else
95257 echo "$as_me: failed program was:" >&5
95258 sed 's/^/| /' conftest.$ac_ext >&5
95260 eval "$as_ac_var=no"
95262 rm -f conftest.err conftest.$ac_objext \
95263 conftest$ac_exeext conftest.$ac_ext
95265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95267 if test `eval echo '${'$as_ac_var'}'` = yes; then
95268 cat >>confdefs.h <<_ACEOF
95269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95270 _ACEOF
95273 done
95275 else
95277 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95278 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95279 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95280 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95281 echo $ECHO_N "(cached) $ECHO_C" >&6
95282 else
95286 ac_ext=cc
95287 ac_cpp='$CXXCPP $CPPFLAGS'
95288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95292 cat >conftest.$ac_ext <<_ACEOF
95293 /* confdefs.h. */
95294 _ACEOF
95295 cat confdefs.h >>conftest.$ac_ext
95296 cat >>conftest.$ac_ext <<_ACEOF
95297 /* end confdefs.h. */
95298 #include <math.h>
95299 #ifdef HAVE_IEEEFP_H
95300 #include <ieeefp.h>
95301 #endif
95304 main ()
95306 _logf(0);
95308 return 0;
95310 _ACEOF
95311 rm -f conftest.$ac_objext
95312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95313 (eval $ac_compile) 2>conftest.er1
95314 ac_status=$?
95315 grep -v '^ *+' conftest.er1 >conftest.err
95316 rm -f conftest.er1
95317 cat conftest.err >&5
95318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95319 (exit $ac_status); } &&
95320 { ac_try='test -z "$ac_cxx_werror_flag"
95321 || test ! -s conftest.err'
95322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95323 (eval $ac_try) 2>&5
95324 ac_status=$?
95325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95326 (exit $ac_status); }; } &&
95327 { ac_try='test -s conftest.$ac_objext'
95328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95329 (eval $ac_try) 2>&5
95330 ac_status=$?
95331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95332 (exit $ac_status); }; }; then
95333 glibcxx_cv_func__logf_use=yes
95334 else
95335 echo "$as_me: failed program was:" >&5
95336 sed 's/^/| /' conftest.$ac_ext >&5
95338 glibcxx_cv_func__logf_use=no
95340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95341 ac_ext=c
95342 ac_cpp='$CPP $CPPFLAGS'
95343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95352 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95354 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95356 for ac_func in _logf
95358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95359 echo "$as_me:$LINENO: checking for $ac_func" >&5
95360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95361 if eval "test \"\${$as_ac_var+set}\" = set"; then
95362 echo $ECHO_N "(cached) $ECHO_C" >&6
95363 else
95364 if test x$gcc_no_link = xyes; then
95365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95367 { (exit 1); exit 1; }; }
95369 cat >conftest.$ac_ext <<_ACEOF
95370 /* confdefs.h. */
95371 _ACEOF
95372 cat confdefs.h >>conftest.$ac_ext
95373 cat >>conftest.$ac_ext <<_ACEOF
95374 /* end confdefs.h. */
95375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95377 #define $ac_func innocuous_$ac_func
95379 /* System header to define __stub macros and hopefully few prototypes,
95380 which can conflict with char $ac_func (); below.
95381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95382 <limits.h> exists even on freestanding compilers. */
95384 #ifdef __STDC__
95385 # include <limits.h>
95386 #else
95387 # include <assert.h>
95388 #endif
95390 #undef $ac_func
95392 /* Override any gcc2 internal prototype to avoid an error. */
95393 #ifdef __cplusplus
95394 extern "C"
95396 #endif
95397 /* We use char because int might match the return type of a gcc2
95398 builtin and then its argument prototype would still apply. */
95399 char $ac_func ();
95400 /* The GNU C library defines this for functions which it implements
95401 to always fail with ENOSYS. Some functions are actually named
95402 something starting with __ and the normal name is an alias. */
95403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95404 choke me
95405 #else
95406 char (*f) () = $ac_func;
95407 #endif
95408 #ifdef __cplusplus
95410 #endif
95413 main ()
95415 return f != $ac_func;
95417 return 0;
95419 _ACEOF
95420 rm -f conftest.$ac_objext conftest$ac_exeext
95421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95422 (eval $ac_link) 2>conftest.er1
95423 ac_status=$?
95424 grep -v '^ *+' conftest.er1 >conftest.err
95425 rm -f conftest.er1
95426 cat conftest.err >&5
95427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95428 (exit $ac_status); } &&
95429 { ac_try='test -z "$ac_c_werror_flag"
95430 || test ! -s conftest.err'
95431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95432 (eval $ac_try) 2>&5
95433 ac_status=$?
95434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95435 (exit $ac_status); }; } &&
95436 { ac_try='test -s conftest$ac_exeext'
95437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95438 (eval $ac_try) 2>&5
95439 ac_status=$?
95440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95441 (exit $ac_status); }; }; then
95442 eval "$as_ac_var=yes"
95443 else
95444 echo "$as_me: failed program was:" >&5
95445 sed 's/^/| /' conftest.$ac_ext >&5
95447 eval "$as_ac_var=no"
95449 rm -f conftest.err conftest.$ac_objext \
95450 conftest$ac_exeext conftest.$ac_ext
95452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95454 if test `eval echo '${'$as_ac_var'}'` = yes; then
95455 cat >>confdefs.h <<_ACEOF
95456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95457 _ACEOF
95460 done
95470 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95471 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95472 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95473 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95474 echo $ECHO_N "(cached) $ECHO_C" >&6
95475 else
95479 ac_ext=cc
95480 ac_cpp='$CXXCPP $CPPFLAGS'
95481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95485 cat >conftest.$ac_ext <<_ACEOF
95486 /* confdefs.h. */
95487 _ACEOF
95488 cat confdefs.h >>conftest.$ac_ext
95489 cat >>conftest.$ac_ext <<_ACEOF
95490 /* end confdefs.h. */
95491 #include <math.h>
95492 #ifdef HAVE_IEEEFP_H
95493 #include <ieeefp.h>
95494 #endif
95497 main ()
95499 log10f(0);
95501 return 0;
95503 _ACEOF
95504 rm -f conftest.$ac_objext
95505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95506 (eval $ac_compile) 2>conftest.er1
95507 ac_status=$?
95508 grep -v '^ *+' conftest.er1 >conftest.err
95509 rm -f conftest.er1
95510 cat conftest.err >&5
95511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95512 (exit $ac_status); } &&
95513 { ac_try='test -z "$ac_cxx_werror_flag"
95514 || test ! -s conftest.err'
95515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95516 (eval $ac_try) 2>&5
95517 ac_status=$?
95518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95519 (exit $ac_status); }; } &&
95520 { ac_try='test -s conftest.$ac_objext'
95521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95522 (eval $ac_try) 2>&5
95523 ac_status=$?
95524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95525 (exit $ac_status); }; }; then
95526 glibcxx_cv_func_log10f_use=yes
95527 else
95528 echo "$as_me: failed program was:" >&5
95529 sed 's/^/| /' conftest.$ac_ext >&5
95531 glibcxx_cv_func_log10f_use=no
95533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95534 ac_ext=c
95535 ac_cpp='$CPP $CPPFLAGS'
95536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95545 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95547 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95549 for ac_func in log10f
95551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95552 echo "$as_me:$LINENO: checking for $ac_func" >&5
95553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95554 if eval "test \"\${$as_ac_var+set}\" = set"; then
95555 echo $ECHO_N "(cached) $ECHO_C" >&6
95556 else
95557 if test x$gcc_no_link = xyes; then
95558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95560 { (exit 1); exit 1; }; }
95562 cat >conftest.$ac_ext <<_ACEOF
95563 /* confdefs.h. */
95564 _ACEOF
95565 cat confdefs.h >>conftest.$ac_ext
95566 cat >>conftest.$ac_ext <<_ACEOF
95567 /* end confdefs.h. */
95568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95570 #define $ac_func innocuous_$ac_func
95572 /* System header to define __stub macros and hopefully few prototypes,
95573 which can conflict with char $ac_func (); below.
95574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95575 <limits.h> exists even on freestanding compilers. */
95577 #ifdef __STDC__
95578 # include <limits.h>
95579 #else
95580 # include <assert.h>
95581 #endif
95583 #undef $ac_func
95585 /* Override any gcc2 internal prototype to avoid an error. */
95586 #ifdef __cplusplus
95587 extern "C"
95589 #endif
95590 /* We use char because int might match the return type of a gcc2
95591 builtin and then its argument prototype would still apply. */
95592 char $ac_func ();
95593 /* The GNU C library defines this for functions which it implements
95594 to always fail with ENOSYS. Some functions are actually named
95595 something starting with __ and the normal name is an alias. */
95596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95597 choke me
95598 #else
95599 char (*f) () = $ac_func;
95600 #endif
95601 #ifdef __cplusplus
95603 #endif
95606 main ()
95608 return f != $ac_func;
95610 return 0;
95612 _ACEOF
95613 rm -f conftest.$ac_objext conftest$ac_exeext
95614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95615 (eval $ac_link) 2>conftest.er1
95616 ac_status=$?
95617 grep -v '^ *+' conftest.er1 >conftest.err
95618 rm -f conftest.er1
95619 cat conftest.err >&5
95620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95621 (exit $ac_status); } &&
95622 { ac_try='test -z "$ac_c_werror_flag"
95623 || test ! -s conftest.err'
95624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95625 (eval $ac_try) 2>&5
95626 ac_status=$?
95627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95628 (exit $ac_status); }; } &&
95629 { ac_try='test -s conftest$ac_exeext'
95630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95631 (eval $ac_try) 2>&5
95632 ac_status=$?
95633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95634 (exit $ac_status); }; }; then
95635 eval "$as_ac_var=yes"
95636 else
95637 echo "$as_me: failed program was:" >&5
95638 sed 's/^/| /' conftest.$ac_ext >&5
95640 eval "$as_ac_var=no"
95642 rm -f conftest.err conftest.$ac_objext \
95643 conftest$ac_exeext conftest.$ac_ext
95645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95647 if test `eval echo '${'$as_ac_var'}'` = yes; then
95648 cat >>confdefs.h <<_ACEOF
95649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95650 _ACEOF
95653 done
95655 else
95657 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95658 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95659 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95660 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95661 echo $ECHO_N "(cached) $ECHO_C" >&6
95662 else
95666 ac_ext=cc
95667 ac_cpp='$CXXCPP $CPPFLAGS'
95668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95672 cat >conftest.$ac_ext <<_ACEOF
95673 /* confdefs.h. */
95674 _ACEOF
95675 cat confdefs.h >>conftest.$ac_ext
95676 cat >>conftest.$ac_ext <<_ACEOF
95677 /* end confdefs.h. */
95678 #include <math.h>
95679 #ifdef HAVE_IEEEFP_H
95680 #include <ieeefp.h>
95681 #endif
95684 main ()
95686 _log10f(0);
95688 return 0;
95690 _ACEOF
95691 rm -f conftest.$ac_objext
95692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95693 (eval $ac_compile) 2>conftest.er1
95694 ac_status=$?
95695 grep -v '^ *+' conftest.er1 >conftest.err
95696 rm -f conftest.er1
95697 cat conftest.err >&5
95698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95699 (exit $ac_status); } &&
95700 { ac_try='test -z "$ac_cxx_werror_flag"
95701 || test ! -s conftest.err'
95702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95703 (eval $ac_try) 2>&5
95704 ac_status=$?
95705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95706 (exit $ac_status); }; } &&
95707 { ac_try='test -s conftest.$ac_objext'
95708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95709 (eval $ac_try) 2>&5
95710 ac_status=$?
95711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95712 (exit $ac_status); }; }; then
95713 glibcxx_cv_func__log10f_use=yes
95714 else
95715 echo "$as_me: failed program was:" >&5
95716 sed 's/^/| /' conftest.$ac_ext >&5
95718 glibcxx_cv_func__log10f_use=no
95720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95721 ac_ext=c
95722 ac_cpp='$CPP $CPPFLAGS'
95723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95732 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95734 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95736 for ac_func in _log10f
95738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95739 echo "$as_me:$LINENO: checking for $ac_func" >&5
95740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95741 if eval "test \"\${$as_ac_var+set}\" = set"; then
95742 echo $ECHO_N "(cached) $ECHO_C" >&6
95743 else
95744 if test x$gcc_no_link = xyes; then
95745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95747 { (exit 1); exit 1; }; }
95749 cat >conftest.$ac_ext <<_ACEOF
95750 /* confdefs.h. */
95751 _ACEOF
95752 cat confdefs.h >>conftest.$ac_ext
95753 cat >>conftest.$ac_ext <<_ACEOF
95754 /* end confdefs.h. */
95755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95757 #define $ac_func innocuous_$ac_func
95759 /* System header to define __stub macros and hopefully few prototypes,
95760 which can conflict with char $ac_func (); below.
95761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95762 <limits.h> exists even on freestanding compilers. */
95764 #ifdef __STDC__
95765 # include <limits.h>
95766 #else
95767 # include <assert.h>
95768 #endif
95770 #undef $ac_func
95772 /* Override any gcc2 internal prototype to avoid an error. */
95773 #ifdef __cplusplus
95774 extern "C"
95776 #endif
95777 /* We use char because int might match the return type of a gcc2
95778 builtin and then its argument prototype would still apply. */
95779 char $ac_func ();
95780 /* The GNU C library defines this for functions which it implements
95781 to always fail with ENOSYS. Some functions are actually named
95782 something starting with __ and the normal name is an alias. */
95783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95784 choke me
95785 #else
95786 char (*f) () = $ac_func;
95787 #endif
95788 #ifdef __cplusplus
95790 #endif
95793 main ()
95795 return f != $ac_func;
95797 return 0;
95799 _ACEOF
95800 rm -f conftest.$ac_objext conftest$ac_exeext
95801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95802 (eval $ac_link) 2>conftest.er1
95803 ac_status=$?
95804 grep -v '^ *+' conftest.er1 >conftest.err
95805 rm -f conftest.er1
95806 cat conftest.err >&5
95807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95808 (exit $ac_status); } &&
95809 { ac_try='test -z "$ac_c_werror_flag"
95810 || test ! -s conftest.err'
95811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95812 (eval $ac_try) 2>&5
95813 ac_status=$?
95814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95815 (exit $ac_status); }; } &&
95816 { ac_try='test -s conftest$ac_exeext'
95817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95818 (eval $ac_try) 2>&5
95819 ac_status=$?
95820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95821 (exit $ac_status); }; }; then
95822 eval "$as_ac_var=yes"
95823 else
95824 echo "$as_me: failed program was:" >&5
95825 sed 's/^/| /' conftest.$ac_ext >&5
95827 eval "$as_ac_var=no"
95829 rm -f conftest.err conftest.$ac_objext \
95830 conftest$ac_exeext conftest.$ac_ext
95832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95834 if test `eval echo '${'$as_ac_var'}'` = yes; then
95835 cat >>confdefs.h <<_ACEOF
95836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95837 _ACEOF
95840 done
95850 echo "$as_me:$LINENO: checking for modff declaration" >&5
95851 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95852 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95853 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95854 echo $ECHO_N "(cached) $ECHO_C" >&6
95855 else
95859 ac_ext=cc
95860 ac_cpp='$CXXCPP $CPPFLAGS'
95861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95865 cat >conftest.$ac_ext <<_ACEOF
95866 /* confdefs.h. */
95867 _ACEOF
95868 cat confdefs.h >>conftest.$ac_ext
95869 cat >>conftest.$ac_ext <<_ACEOF
95870 /* end confdefs.h. */
95871 #include <math.h>
95873 main ()
95875 modff(0, 0);
95877 return 0;
95879 _ACEOF
95880 rm -f conftest.$ac_objext
95881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95882 (eval $ac_compile) 2>conftest.er1
95883 ac_status=$?
95884 grep -v '^ *+' conftest.er1 >conftest.err
95885 rm -f conftest.er1
95886 cat conftest.err >&5
95887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95888 (exit $ac_status); } &&
95889 { ac_try='test -z "$ac_cxx_werror_flag"
95890 || test ! -s conftest.err'
95891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95892 (eval $ac_try) 2>&5
95893 ac_status=$?
95894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95895 (exit $ac_status); }; } &&
95896 { ac_try='test -s conftest.$ac_objext'
95897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95898 (eval $ac_try) 2>&5
95899 ac_status=$?
95900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95901 (exit $ac_status); }; }; then
95902 glibcxx_cv_func_modff_use=yes
95903 else
95904 echo "$as_me: failed program was:" >&5
95905 sed 's/^/| /' conftest.$ac_ext >&5
95907 glibcxx_cv_func_modff_use=no
95909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95910 ac_ext=c
95911 ac_cpp='$CPP $CPPFLAGS'
95912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95921 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95923 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95925 for ac_func in modff
95927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95928 echo "$as_me:$LINENO: checking for $ac_func" >&5
95929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95930 if eval "test \"\${$as_ac_var+set}\" = set"; then
95931 echo $ECHO_N "(cached) $ECHO_C" >&6
95932 else
95933 if test x$gcc_no_link = xyes; then
95934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95936 { (exit 1); exit 1; }; }
95938 cat >conftest.$ac_ext <<_ACEOF
95939 /* confdefs.h. */
95940 _ACEOF
95941 cat confdefs.h >>conftest.$ac_ext
95942 cat >>conftest.$ac_ext <<_ACEOF
95943 /* end confdefs.h. */
95944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95946 #define $ac_func innocuous_$ac_func
95948 /* System header to define __stub macros and hopefully few prototypes,
95949 which can conflict with char $ac_func (); below.
95950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95951 <limits.h> exists even on freestanding compilers. */
95953 #ifdef __STDC__
95954 # include <limits.h>
95955 #else
95956 # include <assert.h>
95957 #endif
95959 #undef $ac_func
95961 /* Override any gcc2 internal prototype to avoid an error. */
95962 #ifdef __cplusplus
95963 extern "C"
95965 #endif
95966 /* We use char because int might match the return type of a gcc2
95967 builtin and then its argument prototype would still apply. */
95968 char $ac_func ();
95969 /* The GNU C library defines this for functions which it implements
95970 to always fail with ENOSYS. Some functions are actually named
95971 something starting with __ and the normal name is an alias. */
95972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95973 choke me
95974 #else
95975 char (*f) () = $ac_func;
95976 #endif
95977 #ifdef __cplusplus
95979 #endif
95982 main ()
95984 return f != $ac_func;
95986 return 0;
95988 _ACEOF
95989 rm -f conftest.$ac_objext conftest$ac_exeext
95990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95991 (eval $ac_link) 2>conftest.er1
95992 ac_status=$?
95993 grep -v '^ *+' conftest.er1 >conftest.err
95994 rm -f conftest.er1
95995 cat conftest.err >&5
95996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95997 (exit $ac_status); } &&
95998 { ac_try='test -z "$ac_c_werror_flag"
95999 || test ! -s conftest.err'
96000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96001 (eval $ac_try) 2>&5
96002 ac_status=$?
96003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96004 (exit $ac_status); }; } &&
96005 { ac_try='test -s conftest$ac_exeext'
96006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96007 (eval $ac_try) 2>&5
96008 ac_status=$?
96009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96010 (exit $ac_status); }; }; then
96011 eval "$as_ac_var=yes"
96012 else
96013 echo "$as_me: failed program was:" >&5
96014 sed 's/^/| /' conftest.$ac_ext >&5
96016 eval "$as_ac_var=no"
96018 rm -f conftest.err conftest.$ac_objext \
96019 conftest$ac_exeext conftest.$ac_ext
96021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96023 if test `eval echo '${'$as_ac_var'}'` = yes; then
96024 cat >>confdefs.h <<_ACEOF
96025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96026 _ACEOF
96029 done
96031 else
96033 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96034 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96035 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96036 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96037 echo $ECHO_N "(cached) $ECHO_C" >&6
96038 else
96042 ac_ext=cc
96043 ac_cpp='$CXXCPP $CPPFLAGS'
96044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96048 cat >conftest.$ac_ext <<_ACEOF
96049 /* confdefs.h. */
96050 _ACEOF
96051 cat confdefs.h >>conftest.$ac_ext
96052 cat >>conftest.$ac_ext <<_ACEOF
96053 /* end confdefs.h. */
96054 #include <math.h>
96056 main ()
96058 _modff(0, 0);
96060 return 0;
96062 _ACEOF
96063 rm -f conftest.$ac_objext
96064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96065 (eval $ac_compile) 2>conftest.er1
96066 ac_status=$?
96067 grep -v '^ *+' conftest.er1 >conftest.err
96068 rm -f conftest.er1
96069 cat conftest.err >&5
96070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96071 (exit $ac_status); } &&
96072 { ac_try='test -z "$ac_cxx_werror_flag"
96073 || test ! -s conftest.err'
96074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96075 (eval $ac_try) 2>&5
96076 ac_status=$?
96077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96078 (exit $ac_status); }; } &&
96079 { ac_try='test -s conftest.$ac_objext'
96080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96081 (eval $ac_try) 2>&5
96082 ac_status=$?
96083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96084 (exit $ac_status); }; }; then
96085 glibcxx_cv_func__modff_use=yes
96086 else
96087 echo "$as_me: failed program was:" >&5
96088 sed 's/^/| /' conftest.$ac_ext >&5
96090 glibcxx_cv_func__modff_use=no
96092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96093 ac_ext=c
96094 ac_cpp='$CPP $CPPFLAGS'
96095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96104 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96106 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96108 for ac_func in _modff
96110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96111 echo "$as_me:$LINENO: checking for $ac_func" >&5
96112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96113 if eval "test \"\${$as_ac_var+set}\" = set"; then
96114 echo $ECHO_N "(cached) $ECHO_C" >&6
96115 else
96116 if test x$gcc_no_link = xyes; then
96117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96119 { (exit 1); exit 1; }; }
96121 cat >conftest.$ac_ext <<_ACEOF
96122 /* confdefs.h. */
96123 _ACEOF
96124 cat confdefs.h >>conftest.$ac_ext
96125 cat >>conftest.$ac_ext <<_ACEOF
96126 /* end confdefs.h. */
96127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96129 #define $ac_func innocuous_$ac_func
96131 /* System header to define __stub macros and hopefully few prototypes,
96132 which can conflict with char $ac_func (); below.
96133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96134 <limits.h> exists even on freestanding compilers. */
96136 #ifdef __STDC__
96137 # include <limits.h>
96138 #else
96139 # include <assert.h>
96140 #endif
96142 #undef $ac_func
96144 /* Override any gcc2 internal prototype to avoid an error. */
96145 #ifdef __cplusplus
96146 extern "C"
96148 #endif
96149 /* We use char because int might match the return type of a gcc2
96150 builtin and then its argument prototype would still apply. */
96151 char $ac_func ();
96152 /* The GNU C library defines this for functions which it implements
96153 to always fail with ENOSYS. Some functions are actually named
96154 something starting with __ and the normal name is an alias. */
96155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96156 choke me
96157 #else
96158 char (*f) () = $ac_func;
96159 #endif
96160 #ifdef __cplusplus
96162 #endif
96165 main ()
96167 return f != $ac_func;
96169 return 0;
96171 _ACEOF
96172 rm -f conftest.$ac_objext conftest$ac_exeext
96173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96174 (eval $ac_link) 2>conftest.er1
96175 ac_status=$?
96176 grep -v '^ *+' conftest.er1 >conftest.err
96177 rm -f conftest.er1
96178 cat conftest.err >&5
96179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96180 (exit $ac_status); } &&
96181 { ac_try='test -z "$ac_c_werror_flag"
96182 || test ! -s conftest.err'
96183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96184 (eval $ac_try) 2>&5
96185 ac_status=$?
96186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96187 (exit $ac_status); }; } &&
96188 { ac_try='test -s conftest$ac_exeext'
96189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96190 (eval $ac_try) 2>&5
96191 ac_status=$?
96192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96193 (exit $ac_status); }; }; then
96194 eval "$as_ac_var=yes"
96195 else
96196 echo "$as_me: failed program was:" >&5
96197 sed 's/^/| /' conftest.$ac_ext >&5
96199 eval "$as_ac_var=no"
96201 rm -f conftest.err conftest.$ac_objext \
96202 conftest$ac_exeext conftest.$ac_ext
96204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96206 if test `eval echo '${'$as_ac_var'}'` = yes; then
96207 cat >>confdefs.h <<_ACEOF
96208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96209 _ACEOF
96212 done
96222 echo "$as_me:$LINENO: checking for modf declaration" >&5
96223 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96224 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96225 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96226 echo $ECHO_N "(cached) $ECHO_C" >&6
96227 else
96231 ac_ext=cc
96232 ac_cpp='$CXXCPP $CPPFLAGS'
96233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96237 cat >conftest.$ac_ext <<_ACEOF
96238 /* confdefs.h. */
96239 _ACEOF
96240 cat confdefs.h >>conftest.$ac_ext
96241 cat >>conftest.$ac_ext <<_ACEOF
96242 /* end confdefs.h. */
96243 #include <math.h>
96245 main ()
96247 modf(0, 0);
96249 return 0;
96251 _ACEOF
96252 rm -f conftest.$ac_objext
96253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96254 (eval $ac_compile) 2>conftest.er1
96255 ac_status=$?
96256 grep -v '^ *+' conftest.er1 >conftest.err
96257 rm -f conftest.er1
96258 cat conftest.err >&5
96259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96260 (exit $ac_status); } &&
96261 { ac_try='test -z "$ac_cxx_werror_flag"
96262 || test ! -s conftest.err'
96263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96264 (eval $ac_try) 2>&5
96265 ac_status=$?
96266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96267 (exit $ac_status); }; } &&
96268 { ac_try='test -s conftest.$ac_objext'
96269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96270 (eval $ac_try) 2>&5
96271 ac_status=$?
96272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96273 (exit $ac_status); }; }; then
96274 glibcxx_cv_func_modf_use=yes
96275 else
96276 echo "$as_me: failed program was:" >&5
96277 sed 's/^/| /' conftest.$ac_ext >&5
96279 glibcxx_cv_func_modf_use=no
96281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96282 ac_ext=c
96283 ac_cpp='$CPP $CPPFLAGS'
96284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96293 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96295 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96297 for ac_func in modf
96299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96300 echo "$as_me:$LINENO: checking for $ac_func" >&5
96301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96302 if eval "test \"\${$as_ac_var+set}\" = set"; then
96303 echo $ECHO_N "(cached) $ECHO_C" >&6
96304 else
96305 if test x$gcc_no_link = xyes; then
96306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96308 { (exit 1); exit 1; }; }
96310 cat >conftest.$ac_ext <<_ACEOF
96311 /* confdefs.h. */
96312 _ACEOF
96313 cat confdefs.h >>conftest.$ac_ext
96314 cat >>conftest.$ac_ext <<_ACEOF
96315 /* end confdefs.h. */
96316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96318 #define $ac_func innocuous_$ac_func
96320 /* System header to define __stub macros and hopefully few prototypes,
96321 which can conflict with char $ac_func (); below.
96322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96323 <limits.h> exists even on freestanding compilers. */
96325 #ifdef __STDC__
96326 # include <limits.h>
96327 #else
96328 # include <assert.h>
96329 #endif
96331 #undef $ac_func
96333 /* Override any gcc2 internal prototype to avoid an error. */
96334 #ifdef __cplusplus
96335 extern "C"
96337 #endif
96338 /* We use char because int might match the return type of a gcc2
96339 builtin and then its argument prototype would still apply. */
96340 char $ac_func ();
96341 /* The GNU C library defines this for functions which it implements
96342 to always fail with ENOSYS. Some functions are actually named
96343 something starting with __ and the normal name is an alias. */
96344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96345 choke me
96346 #else
96347 char (*f) () = $ac_func;
96348 #endif
96349 #ifdef __cplusplus
96351 #endif
96354 main ()
96356 return f != $ac_func;
96358 return 0;
96360 _ACEOF
96361 rm -f conftest.$ac_objext conftest$ac_exeext
96362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96363 (eval $ac_link) 2>conftest.er1
96364 ac_status=$?
96365 grep -v '^ *+' conftest.er1 >conftest.err
96366 rm -f conftest.er1
96367 cat conftest.err >&5
96368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369 (exit $ac_status); } &&
96370 { ac_try='test -z "$ac_c_werror_flag"
96371 || test ! -s conftest.err'
96372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96373 (eval $ac_try) 2>&5
96374 ac_status=$?
96375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96376 (exit $ac_status); }; } &&
96377 { ac_try='test -s conftest$ac_exeext'
96378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96379 (eval $ac_try) 2>&5
96380 ac_status=$?
96381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96382 (exit $ac_status); }; }; then
96383 eval "$as_ac_var=yes"
96384 else
96385 echo "$as_me: failed program was:" >&5
96386 sed 's/^/| /' conftest.$ac_ext >&5
96388 eval "$as_ac_var=no"
96390 rm -f conftest.err conftest.$ac_objext \
96391 conftest$ac_exeext conftest.$ac_ext
96393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96395 if test `eval echo '${'$as_ac_var'}'` = yes; then
96396 cat >>confdefs.h <<_ACEOF
96397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96398 _ACEOF
96401 done
96403 else
96405 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96406 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96407 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96408 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96409 echo $ECHO_N "(cached) $ECHO_C" >&6
96410 else
96414 ac_ext=cc
96415 ac_cpp='$CXXCPP $CPPFLAGS'
96416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96420 cat >conftest.$ac_ext <<_ACEOF
96421 /* confdefs.h. */
96422 _ACEOF
96423 cat confdefs.h >>conftest.$ac_ext
96424 cat >>conftest.$ac_ext <<_ACEOF
96425 /* end confdefs.h. */
96426 #include <math.h>
96428 main ()
96430 _modf(0, 0);
96432 return 0;
96434 _ACEOF
96435 rm -f conftest.$ac_objext
96436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96437 (eval $ac_compile) 2>conftest.er1
96438 ac_status=$?
96439 grep -v '^ *+' conftest.er1 >conftest.err
96440 rm -f conftest.er1
96441 cat conftest.err >&5
96442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96443 (exit $ac_status); } &&
96444 { ac_try='test -z "$ac_cxx_werror_flag"
96445 || test ! -s conftest.err'
96446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96447 (eval $ac_try) 2>&5
96448 ac_status=$?
96449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96450 (exit $ac_status); }; } &&
96451 { ac_try='test -s conftest.$ac_objext'
96452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96453 (eval $ac_try) 2>&5
96454 ac_status=$?
96455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96456 (exit $ac_status); }; }; then
96457 glibcxx_cv_func__modf_use=yes
96458 else
96459 echo "$as_me: failed program was:" >&5
96460 sed 's/^/| /' conftest.$ac_ext >&5
96462 glibcxx_cv_func__modf_use=no
96464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96465 ac_ext=c
96466 ac_cpp='$CPP $CPPFLAGS'
96467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96476 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96478 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96480 for ac_func in _modf
96482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96483 echo "$as_me:$LINENO: checking for $ac_func" >&5
96484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96485 if eval "test \"\${$as_ac_var+set}\" = set"; then
96486 echo $ECHO_N "(cached) $ECHO_C" >&6
96487 else
96488 if test x$gcc_no_link = xyes; then
96489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96491 { (exit 1); exit 1; }; }
96493 cat >conftest.$ac_ext <<_ACEOF
96494 /* confdefs.h. */
96495 _ACEOF
96496 cat confdefs.h >>conftest.$ac_ext
96497 cat >>conftest.$ac_ext <<_ACEOF
96498 /* end confdefs.h. */
96499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96501 #define $ac_func innocuous_$ac_func
96503 /* System header to define __stub macros and hopefully few prototypes,
96504 which can conflict with char $ac_func (); below.
96505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96506 <limits.h> exists even on freestanding compilers. */
96508 #ifdef __STDC__
96509 # include <limits.h>
96510 #else
96511 # include <assert.h>
96512 #endif
96514 #undef $ac_func
96516 /* Override any gcc2 internal prototype to avoid an error. */
96517 #ifdef __cplusplus
96518 extern "C"
96520 #endif
96521 /* We use char because int might match the return type of a gcc2
96522 builtin and then its argument prototype would still apply. */
96523 char $ac_func ();
96524 /* The GNU C library defines this for functions which it implements
96525 to always fail with ENOSYS. Some functions are actually named
96526 something starting with __ and the normal name is an alias. */
96527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96528 choke me
96529 #else
96530 char (*f) () = $ac_func;
96531 #endif
96532 #ifdef __cplusplus
96534 #endif
96537 main ()
96539 return f != $ac_func;
96541 return 0;
96543 _ACEOF
96544 rm -f conftest.$ac_objext conftest$ac_exeext
96545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96546 (eval $ac_link) 2>conftest.er1
96547 ac_status=$?
96548 grep -v '^ *+' conftest.er1 >conftest.err
96549 rm -f conftest.er1
96550 cat conftest.err >&5
96551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96552 (exit $ac_status); } &&
96553 { ac_try='test -z "$ac_c_werror_flag"
96554 || test ! -s conftest.err'
96555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96556 (eval $ac_try) 2>&5
96557 ac_status=$?
96558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96559 (exit $ac_status); }; } &&
96560 { ac_try='test -s conftest$ac_exeext'
96561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96562 (eval $ac_try) 2>&5
96563 ac_status=$?
96564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96565 (exit $ac_status); }; }; then
96566 eval "$as_ac_var=yes"
96567 else
96568 echo "$as_me: failed program was:" >&5
96569 sed 's/^/| /' conftest.$ac_ext >&5
96571 eval "$as_ac_var=no"
96573 rm -f conftest.err conftest.$ac_objext \
96574 conftest$ac_exeext conftest.$ac_ext
96576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96578 if test `eval echo '${'$as_ac_var'}'` = yes; then
96579 cat >>confdefs.h <<_ACEOF
96580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96581 _ACEOF
96584 done
96594 echo "$as_me:$LINENO: checking for powf declaration" >&5
96595 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96596 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96597 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96598 echo $ECHO_N "(cached) $ECHO_C" >&6
96599 else
96603 ac_ext=cc
96604 ac_cpp='$CXXCPP $CPPFLAGS'
96605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96609 cat >conftest.$ac_ext <<_ACEOF
96610 /* confdefs.h. */
96611 _ACEOF
96612 cat confdefs.h >>conftest.$ac_ext
96613 cat >>conftest.$ac_ext <<_ACEOF
96614 /* end confdefs.h. */
96615 #include <math.h>
96617 main ()
96619 powf(0, 0);
96621 return 0;
96623 _ACEOF
96624 rm -f conftest.$ac_objext
96625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96626 (eval $ac_compile) 2>conftest.er1
96627 ac_status=$?
96628 grep -v '^ *+' conftest.er1 >conftest.err
96629 rm -f conftest.er1
96630 cat conftest.err >&5
96631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96632 (exit $ac_status); } &&
96633 { ac_try='test -z "$ac_cxx_werror_flag"
96634 || test ! -s conftest.err'
96635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96636 (eval $ac_try) 2>&5
96637 ac_status=$?
96638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96639 (exit $ac_status); }; } &&
96640 { ac_try='test -s conftest.$ac_objext'
96641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96642 (eval $ac_try) 2>&5
96643 ac_status=$?
96644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96645 (exit $ac_status); }; }; then
96646 glibcxx_cv_func_powf_use=yes
96647 else
96648 echo "$as_me: failed program was:" >&5
96649 sed 's/^/| /' conftest.$ac_ext >&5
96651 glibcxx_cv_func_powf_use=no
96653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96654 ac_ext=c
96655 ac_cpp='$CPP $CPPFLAGS'
96656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96665 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96667 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96669 for ac_func in powf
96671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96672 echo "$as_me:$LINENO: checking for $ac_func" >&5
96673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96674 if eval "test \"\${$as_ac_var+set}\" = set"; then
96675 echo $ECHO_N "(cached) $ECHO_C" >&6
96676 else
96677 if test x$gcc_no_link = xyes; then
96678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96680 { (exit 1); exit 1; }; }
96682 cat >conftest.$ac_ext <<_ACEOF
96683 /* confdefs.h. */
96684 _ACEOF
96685 cat confdefs.h >>conftest.$ac_ext
96686 cat >>conftest.$ac_ext <<_ACEOF
96687 /* end confdefs.h. */
96688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96690 #define $ac_func innocuous_$ac_func
96692 /* System header to define __stub macros and hopefully few prototypes,
96693 which can conflict with char $ac_func (); below.
96694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96695 <limits.h> exists even on freestanding compilers. */
96697 #ifdef __STDC__
96698 # include <limits.h>
96699 #else
96700 # include <assert.h>
96701 #endif
96703 #undef $ac_func
96705 /* Override any gcc2 internal prototype to avoid an error. */
96706 #ifdef __cplusplus
96707 extern "C"
96709 #endif
96710 /* We use char because int might match the return type of a gcc2
96711 builtin and then its argument prototype would still apply. */
96712 char $ac_func ();
96713 /* The GNU C library defines this for functions which it implements
96714 to always fail with ENOSYS. Some functions are actually named
96715 something starting with __ and the normal name is an alias. */
96716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96717 choke me
96718 #else
96719 char (*f) () = $ac_func;
96720 #endif
96721 #ifdef __cplusplus
96723 #endif
96726 main ()
96728 return f != $ac_func;
96730 return 0;
96732 _ACEOF
96733 rm -f conftest.$ac_objext conftest$ac_exeext
96734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96735 (eval $ac_link) 2>conftest.er1
96736 ac_status=$?
96737 grep -v '^ *+' conftest.er1 >conftest.err
96738 rm -f conftest.er1
96739 cat conftest.err >&5
96740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96741 (exit $ac_status); } &&
96742 { ac_try='test -z "$ac_c_werror_flag"
96743 || test ! -s conftest.err'
96744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96745 (eval $ac_try) 2>&5
96746 ac_status=$?
96747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96748 (exit $ac_status); }; } &&
96749 { ac_try='test -s conftest$ac_exeext'
96750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96751 (eval $ac_try) 2>&5
96752 ac_status=$?
96753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96754 (exit $ac_status); }; }; then
96755 eval "$as_ac_var=yes"
96756 else
96757 echo "$as_me: failed program was:" >&5
96758 sed 's/^/| /' conftest.$ac_ext >&5
96760 eval "$as_ac_var=no"
96762 rm -f conftest.err conftest.$ac_objext \
96763 conftest$ac_exeext conftest.$ac_ext
96765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96767 if test `eval echo '${'$as_ac_var'}'` = yes; then
96768 cat >>confdefs.h <<_ACEOF
96769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96770 _ACEOF
96773 done
96775 else
96777 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96778 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96779 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96780 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96781 echo $ECHO_N "(cached) $ECHO_C" >&6
96782 else
96786 ac_ext=cc
96787 ac_cpp='$CXXCPP $CPPFLAGS'
96788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96792 cat >conftest.$ac_ext <<_ACEOF
96793 /* confdefs.h. */
96794 _ACEOF
96795 cat confdefs.h >>conftest.$ac_ext
96796 cat >>conftest.$ac_ext <<_ACEOF
96797 /* end confdefs.h. */
96798 #include <math.h>
96800 main ()
96802 _powf(0, 0);
96804 return 0;
96806 _ACEOF
96807 rm -f conftest.$ac_objext
96808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96809 (eval $ac_compile) 2>conftest.er1
96810 ac_status=$?
96811 grep -v '^ *+' conftest.er1 >conftest.err
96812 rm -f conftest.er1
96813 cat conftest.err >&5
96814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96815 (exit $ac_status); } &&
96816 { ac_try='test -z "$ac_cxx_werror_flag"
96817 || test ! -s conftest.err'
96818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96819 (eval $ac_try) 2>&5
96820 ac_status=$?
96821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96822 (exit $ac_status); }; } &&
96823 { ac_try='test -s conftest.$ac_objext'
96824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96825 (eval $ac_try) 2>&5
96826 ac_status=$?
96827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96828 (exit $ac_status); }; }; then
96829 glibcxx_cv_func__powf_use=yes
96830 else
96831 echo "$as_me: failed program was:" >&5
96832 sed 's/^/| /' conftest.$ac_ext >&5
96834 glibcxx_cv_func__powf_use=no
96836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96837 ac_ext=c
96838 ac_cpp='$CPP $CPPFLAGS'
96839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96848 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96850 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96852 for ac_func in _powf
96854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96855 echo "$as_me:$LINENO: checking for $ac_func" >&5
96856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96857 if eval "test \"\${$as_ac_var+set}\" = set"; then
96858 echo $ECHO_N "(cached) $ECHO_C" >&6
96859 else
96860 if test x$gcc_no_link = xyes; then
96861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96863 { (exit 1); exit 1; }; }
96865 cat >conftest.$ac_ext <<_ACEOF
96866 /* confdefs.h. */
96867 _ACEOF
96868 cat confdefs.h >>conftest.$ac_ext
96869 cat >>conftest.$ac_ext <<_ACEOF
96870 /* end confdefs.h. */
96871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96873 #define $ac_func innocuous_$ac_func
96875 /* System header to define __stub macros and hopefully few prototypes,
96876 which can conflict with char $ac_func (); below.
96877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96878 <limits.h> exists even on freestanding compilers. */
96880 #ifdef __STDC__
96881 # include <limits.h>
96882 #else
96883 # include <assert.h>
96884 #endif
96886 #undef $ac_func
96888 /* Override any gcc2 internal prototype to avoid an error. */
96889 #ifdef __cplusplus
96890 extern "C"
96892 #endif
96893 /* We use char because int might match the return type of a gcc2
96894 builtin and then its argument prototype would still apply. */
96895 char $ac_func ();
96896 /* The GNU C library defines this for functions which it implements
96897 to always fail with ENOSYS. Some functions are actually named
96898 something starting with __ and the normal name is an alias. */
96899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96900 choke me
96901 #else
96902 char (*f) () = $ac_func;
96903 #endif
96904 #ifdef __cplusplus
96906 #endif
96909 main ()
96911 return f != $ac_func;
96913 return 0;
96915 _ACEOF
96916 rm -f conftest.$ac_objext conftest$ac_exeext
96917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96918 (eval $ac_link) 2>conftest.er1
96919 ac_status=$?
96920 grep -v '^ *+' conftest.er1 >conftest.err
96921 rm -f conftest.er1
96922 cat conftest.err >&5
96923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96924 (exit $ac_status); } &&
96925 { ac_try='test -z "$ac_c_werror_flag"
96926 || test ! -s conftest.err'
96927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96928 (eval $ac_try) 2>&5
96929 ac_status=$?
96930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96931 (exit $ac_status); }; } &&
96932 { ac_try='test -s conftest$ac_exeext'
96933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96934 (eval $ac_try) 2>&5
96935 ac_status=$?
96936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96937 (exit $ac_status); }; }; then
96938 eval "$as_ac_var=yes"
96939 else
96940 echo "$as_me: failed program was:" >&5
96941 sed 's/^/| /' conftest.$ac_ext >&5
96943 eval "$as_ac_var=no"
96945 rm -f conftest.err conftest.$ac_objext \
96946 conftest$ac_exeext conftest.$ac_ext
96948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96950 if test `eval echo '${'$as_ac_var'}'` = yes; then
96951 cat >>confdefs.h <<_ACEOF
96952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96953 _ACEOF
96956 done
96966 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96967 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96968 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96969 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96970 echo $ECHO_N "(cached) $ECHO_C" >&6
96971 else
96975 ac_ext=cc
96976 ac_cpp='$CXXCPP $CPPFLAGS'
96977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96981 cat >conftest.$ac_ext <<_ACEOF
96982 /* confdefs.h. */
96983 _ACEOF
96984 cat confdefs.h >>conftest.$ac_ext
96985 cat >>conftest.$ac_ext <<_ACEOF
96986 /* end confdefs.h. */
96987 #include <math.h>
96988 #ifdef HAVE_IEEEFP_H
96989 #include <ieeefp.h>
96990 #endif
96993 main ()
96995 sqrtf(0);
96997 return 0;
96999 _ACEOF
97000 rm -f conftest.$ac_objext
97001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97002 (eval $ac_compile) 2>conftest.er1
97003 ac_status=$?
97004 grep -v '^ *+' conftest.er1 >conftest.err
97005 rm -f conftest.er1
97006 cat conftest.err >&5
97007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97008 (exit $ac_status); } &&
97009 { ac_try='test -z "$ac_cxx_werror_flag"
97010 || test ! -s conftest.err'
97011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97012 (eval $ac_try) 2>&5
97013 ac_status=$?
97014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97015 (exit $ac_status); }; } &&
97016 { ac_try='test -s conftest.$ac_objext'
97017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97018 (eval $ac_try) 2>&5
97019 ac_status=$?
97020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97021 (exit $ac_status); }; }; then
97022 glibcxx_cv_func_sqrtf_use=yes
97023 else
97024 echo "$as_me: failed program was:" >&5
97025 sed 's/^/| /' conftest.$ac_ext >&5
97027 glibcxx_cv_func_sqrtf_use=no
97029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97030 ac_ext=c
97031 ac_cpp='$CPP $CPPFLAGS'
97032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97041 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97043 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97045 for ac_func in sqrtf
97047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97048 echo "$as_me:$LINENO: checking for $ac_func" >&5
97049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97050 if eval "test \"\${$as_ac_var+set}\" = set"; then
97051 echo $ECHO_N "(cached) $ECHO_C" >&6
97052 else
97053 if test x$gcc_no_link = xyes; then
97054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97056 { (exit 1); exit 1; }; }
97058 cat >conftest.$ac_ext <<_ACEOF
97059 /* confdefs.h. */
97060 _ACEOF
97061 cat confdefs.h >>conftest.$ac_ext
97062 cat >>conftest.$ac_ext <<_ACEOF
97063 /* end confdefs.h. */
97064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97066 #define $ac_func innocuous_$ac_func
97068 /* System header to define __stub macros and hopefully few prototypes,
97069 which can conflict with char $ac_func (); below.
97070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97071 <limits.h> exists even on freestanding compilers. */
97073 #ifdef __STDC__
97074 # include <limits.h>
97075 #else
97076 # include <assert.h>
97077 #endif
97079 #undef $ac_func
97081 /* Override any gcc2 internal prototype to avoid an error. */
97082 #ifdef __cplusplus
97083 extern "C"
97085 #endif
97086 /* We use char because int might match the return type of a gcc2
97087 builtin and then its argument prototype would still apply. */
97088 char $ac_func ();
97089 /* The GNU C library defines this for functions which it implements
97090 to always fail with ENOSYS. Some functions are actually named
97091 something starting with __ and the normal name is an alias. */
97092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97093 choke me
97094 #else
97095 char (*f) () = $ac_func;
97096 #endif
97097 #ifdef __cplusplus
97099 #endif
97102 main ()
97104 return f != $ac_func;
97106 return 0;
97108 _ACEOF
97109 rm -f conftest.$ac_objext conftest$ac_exeext
97110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97111 (eval $ac_link) 2>conftest.er1
97112 ac_status=$?
97113 grep -v '^ *+' conftest.er1 >conftest.err
97114 rm -f conftest.er1
97115 cat conftest.err >&5
97116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97117 (exit $ac_status); } &&
97118 { ac_try='test -z "$ac_c_werror_flag"
97119 || test ! -s conftest.err'
97120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97121 (eval $ac_try) 2>&5
97122 ac_status=$?
97123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97124 (exit $ac_status); }; } &&
97125 { ac_try='test -s conftest$ac_exeext'
97126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97127 (eval $ac_try) 2>&5
97128 ac_status=$?
97129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97130 (exit $ac_status); }; }; then
97131 eval "$as_ac_var=yes"
97132 else
97133 echo "$as_me: failed program was:" >&5
97134 sed 's/^/| /' conftest.$ac_ext >&5
97136 eval "$as_ac_var=no"
97138 rm -f conftest.err conftest.$ac_objext \
97139 conftest$ac_exeext conftest.$ac_ext
97141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97143 if test `eval echo '${'$as_ac_var'}'` = yes; then
97144 cat >>confdefs.h <<_ACEOF
97145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97146 _ACEOF
97149 done
97151 else
97153 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97154 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97155 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97156 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97157 echo $ECHO_N "(cached) $ECHO_C" >&6
97158 else
97162 ac_ext=cc
97163 ac_cpp='$CXXCPP $CPPFLAGS'
97164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97168 cat >conftest.$ac_ext <<_ACEOF
97169 /* confdefs.h. */
97170 _ACEOF
97171 cat confdefs.h >>conftest.$ac_ext
97172 cat >>conftest.$ac_ext <<_ACEOF
97173 /* end confdefs.h. */
97174 #include <math.h>
97175 #ifdef HAVE_IEEEFP_H
97176 #include <ieeefp.h>
97177 #endif
97180 main ()
97182 _sqrtf(0);
97184 return 0;
97186 _ACEOF
97187 rm -f conftest.$ac_objext
97188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97189 (eval $ac_compile) 2>conftest.er1
97190 ac_status=$?
97191 grep -v '^ *+' conftest.er1 >conftest.err
97192 rm -f conftest.er1
97193 cat conftest.err >&5
97194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97195 (exit $ac_status); } &&
97196 { ac_try='test -z "$ac_cxx_werror_flag"
97197 || test ! -s conftest.err'
97198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97199 (eval $ac_try) 2>&5
97200 ac_status=$?
97201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97202 (exit $ac_status); }; } &&
97203 { ac_try='test -s conftest.$ac_objext'
97204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97205 (eval $ac_try) 2>&5
97206 ac_status=$?
97207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97208 (exit $ac_status); }; }; then
97209 glibcxx_cv_func__sqrtf_use=yes
97210 else
97211 echo "$as_me: failed program was:" >&5
97212 sed 's/^/| /' conftest.$ac_ext >&5
97214 glibcxx_cv_func__sqrtf_use=no
97216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97217 ac_ext=c
97218 ac_cpp='$CPP $CPPFLAGS'
97219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97228 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97230 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97232 for ac_func in _sqrtf
97234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97235 echo "$as_me:$LINENO: checking for $ac_func" >&5
97236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97237 if eval "test \"\${$as_ac_var+set}\" = set"; then
97238 echo $ECHO_N "(cached) $ECHO_C" >&6
97239 else
97240 if test x$gcc_no_link = xyes; then
97241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97243 { (exit 1); exit 1; }; }
97245 cat >conftest.$ac_ext <<_ACEOF
97246 /* confdefs.h. */
97247 _ACEOF
97248 cat confdefs.h >>conftest.$ac_ext
97249 cat >>conftest.$ac_ext <<_ACEOF
97250 /* end confdefs.h. */
97251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97253 #define $ac_func innocuous_$ac_func
97255 /* System header to define __stub macros and hopefully few prototypes,
97256 which can conflict with char $ac_func (); below.
97257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97258 <limits.h> exists even on freestanding compilers. */
97260 #ifdef __STDC__
97261 # include <limits.h>
97262 #else
97263 # include <assert.h>
97264 #endif
97266 #undef $ac_func
97268 /* Override any gcc2 internal prototype to avoid an error. */
97269 #ifdef __cplusplus
97270 extern "C"
97272 #endif
97273 /* We use char because int might match the return type of a gcc2
97274 builtin and then its argument prototype would still apply. */
97275 char $ac_func ();
97276 /* The GNU C library defines this for functions which it implements
97277 to always fail with ENOSYS. Some functions are actually named
97278 something starting with __ and the normal name is an alias. */
97279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97280 choke me
97281 #else
97282 char (*f) () = $ac_func;
97283 #endif
97284 #ifdef __cplusplus
97286 #endif
97289 main ()
97291 return f != $ac_func;
97293 return 0;
97295 _ACEOF
97296 rm -f conftest.$ac_objext conftest$ac_exeext
97297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97298 (eval $ac_link) 2>conftest.er1
97299 ac_status=$?
97300 grep -v '^ *+' conftest.er1 >conftest.err
97301 rm -f conftest.er1
97302 cat conftest.err >&5
97303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97304 (exit $ac_status); } &&
97305 { ac_try='test -z "$ac_c_werror_flag"
97306 || test ! -s conftest.err'
97307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97308 (eval $ac_try) 2>&5
97309 ac_status=$?
97310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97311 (exit $ac_status); }; } &&
97312 { ac_try='test -s conftest$ac_exeext'
97313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97314 (eval $ac_try) 2>&5
97315 ac_status=$?
97316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97317 (exit $ac_status); }; }; then
97318 eval "$as_ac_var=yes"
97319 else
97320 echo "$as_me: failed program was:" >&5
97321 sed 's/^/| /' conftest.$ac_ext >&5
97323 eval "$as_ac_var=no"
97325 rm -f conftest.err conftest.$ac_objext \
97326 conftest$ac_exeext conftest.$ac_ext
97328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97330 if test `eval echo '${'$as_ac_var'}'` = yes; then
97331 cat >>confdefs.h <<_ACEOF
97332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97333 _ACEOF
97336 done
97346 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97347 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97348 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97349 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97350 echo $ECHO_N "(cached) $ECHO_C" >&6
97351 else
97355 ac_ext=cc
97356 ac_cpp='$CXXCPP $CPPFLAGS'
97357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97361 cat >conftest.$ac_ext <<_ACEOF
97362 /* confdefs.h. */
97363 _ACEOF
97364 cat confdefs.h >>conftest.$ac_ext
97365 cat >>conftest.$ac_ext <<_ACEOF
97366 /* end confdefs.h. */
97367 #include <math.h>
97369 main ()
97371 sincosf(0, 0, 0);
97373 return 0;
97375 _ACEOF
97376 rm -f conftest.$ac_objext
97377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97378 (eval $ac_compile) 2>conftest.er1
97379 ac_status=$?
97380 grep -v '^ *+' conftest.er1 >conftest.err
97381 rm -f conftest.er1
97382 cat conftest.err >&5
97383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97384 (exit $ac_status); } &&
97385 { ac_try='test -z "$ac_cxx_werror_flag"
97386 || test ! -s conftest.err'
97387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97388 (eval $ac_try) 2>&5
97389 ac_status=$?
97390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97391 (exit $ac_status); }; } &&
97392 { ac_try='test -s conftest.$ac_objext'
97393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97394 (eval $ac_try) 2>&5
97395 ac_status=$?
97396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97397 (exit $ac_status); }; }; then
97398 glibcxx_cv_func_sincosf_use=yes
97399 else
97400 echo "$as_me: failed program was:" >&5
97401 sed 's/^/| /' conftest.$ac_ext >&5
97403 glibcxx_cv_func_sincosf_use=no
97405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97406 ac_ext=c
97407 ac_cpp='$CPP $CPPFLAGS'
97408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97417 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97419 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97421 for ac_func in sincosf
97423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97424 echo "$as_me:$LINENO: checking for $ac_func" >&5
97425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97426 if eval "test \"\${$as_ac_var+set}\" = set"; then
97427 echo $ECHO_N "(cached) $ECHO_C" >&6
97428 else
97429 if test x$gcc_no_link = xyes; then
97430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97432 { (exit 1); exit 1; }; }
97434 cat >conftest.$ac_ext <<_ACEOF
97435 /* confdefs.h. */
97436 _ACEOF
97437 cat confdefs.h >>conftest.$ac_ext
97438 cat >>conftest.$ac_ext <<_ACEOF
97439 /* end confdefs.h. */
97440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97442 #define $ac_func innocuous_$ac_func
97444 /* System header to define __stub macros and hopefully few prototypes,
97445 which can conflict with char $ac_func (); below.
97446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97447 <limits.h> exists even on freestanding compilers. */
97449 #ifdef __STDC__
97450 # include <limits.h>
97451 #else
97452 # include <assert.h>
97453 #endif
97455 #undef $ac_func
97457 /* Override any gcc2 internal prototype to avoid an error. */
97458 #ifdef __cplusplus
97459 extern "C"
97461 #endif
97462 /* We use char because int might match the return type of a gcc2
97463 builtin and then its argument prototype would still apply. */
97464 char $ac_func ();
97465 /* The GNU C library defines this for functions which it implements
97466 to always fail with ENOSYS. Some functions are actually named
97467 something starting with __ and the normal name is an alias. */
97468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97469 choke me
97470 #else
97471 char (*f) () = $ac_func;
97472 #endif
97473 #ifdef __cplusplus
97475 #endif
97478 main ()
97480 return f != $ac_func;
97482 return 0;
97484 _ACEOF
97485 rm -f conftest.$ac_objext conftest$ac_exeext
97486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97487 (eval $ac_link) 2>conftest.er1
97488 ac_status=$?
97489 grep -v '^ *+' conftest.er1 >conftest.err
97490 rm -f conftest.er1
97491 cat conftest.err >&5
97492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97493 (exit $ac_status); } &&
97494 { ac_try='test -z "$ac_c_werror_flag"
97495 || test ! -s conftest.err'
97496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97497 (eval $ac_try) 2>&5
97498 ac_status=$?
97499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97500 (exit $ac_status); }; } &&
97501 { ac_try='test -s conftest$ac_exeext'
97502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97503 (eval $ac_try) 2>&5
97504 ac_status=$?
97505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97506 (exit $ac_status); }; }; then
97507 eval "$as_ac_var=yes"
97508 else
97509 echo "$as_me: failed program was:" >&5
97510 sed 's/^/| /' conftest.$ac_ext >&5
97512 eval "$as_ac_var=no"
97514 rm -f conftest.err conftest.$ac_objext \
97515 conftest$ac_exeext conftest.$ac_ext
97517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97519 if test `eval echo '${'$as_ac_var'}'` = yes; then
97520 cat >>confdefs.h <<_ACEOF
97521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97522 _ACEOF
97525 done
97527 else
97529 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97530 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97531 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97532 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97533 echo $ECHO_N "(cached) $ECHO_C" >&6
97534 else
97538 ac_ext=cc
97539 ac_cpp='$CXXCPP $CPPFLAGS'
97540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97544 cat >conftest.$ac_ext <<_ACEOF
97545 /* confdefs.h. */
97546 _ACEOF
97547 cat confdefs.h >>conftest.$ac_ext
97548 cat >>conftest.$ac_ext <<_ACEOF
97549 /* end confdefs.h. */
97550 #include <math.h>
97552 main ()
97554 _sincosf(0, 0, 0);
97556 return 0;
97558 _ACEOF
97559 rm -f conftest.$ac_objext
97560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97561 (eval $ac_compile) 2>conftest.er1
97562 ac_status=$?
97563 grep -v '^ *+' conftest.er1 >conftest.err
97564 rm -f conftest.er1
97565 cat conftest.err >&5
97566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97567 (exit $ac_status); } &&
97568 { ac_try='test -z "$ac_cxx_werror_flag"
97569 || test ! -s conftest.err'
97570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97571 (eval $ac_try) 2>&5
97572 ac_status=$?
97573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97574 (exit $ac_status); }; } &&
97575 { ac_try='test -s conftest.$ac_objext'
97576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97577 (eval $ac_try) 2>&5
97578 ac_status=$?
97579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97580 (exit $ac_status); }; }; then
97581 glibcxx_cv_func__sincosf_use=yes
97582 else
97583 echo "$as_me: failed program was:" >&5
97584 sed 's/^/| /' conftest.$ac_ext >&5
97586 glibcxx_cv_func__sincosf_use=no
97588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97589 ac_ext=c
97590 ac_cpp='$CPP $CPPFLAGS'
97591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97600 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97602 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97604 for ac_func in _sincosf
97606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97607 echo "$as_me:$LINENO: checking for $ac_func" >&5
97608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97609 if eval "test \"\${$as_ac_var+set}\" = set"; then
97610 echo $ECHO_N "(cached) $ECHO_C" >&6
97611 else
97612 if test x$gcc_no_link = xyes; then
97613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97615 { (exit 1); exit 1; }; }
97617 cat >conftest.$ac_ext <<_ACEOF
97618 /* confdefs.h. */
97619 _ACEOF
97620 cat confdefs.h >>conftest.$ac_ext
97621 cat >>conftest.$ac_ext <<_ACEOF
97622 /* end confdefs.h. */
97623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97625 #define $ac_func innocuous_$ac_func
97627 /* System header to define __stub macros and hopefully few prototypes,
97628 which can conflict with char $ac_func (); below.
97629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97630 <limits.h> exists even on freestanding compilers. */
97632 #ifdef __STDC__
97633 # include <limits.h>
97634 #else
97635 # include <assert.h>
97636 #endif
97638 #undef $ac_func
97640 /* Override any gcc2 internal prototype to avoid an error. */
97641 #ifdef __cplusplus
97642 extern "C"
97644 #endif
97645 /* We use char because int might match the return type of a gcc2
97646 builtin and then its argument prototype would still apply. */
97647 char $ac_func ();
97648 /* The GNU C library defines this for functions which it implements
97649 to always fail with ENOSYS. Some functions are actually named
97650 something starting with __ and the normal name is an alias. */
97651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97652 choke me
97653 #else
97654 char (*f) () = $ac_func;
97655 #endif
97656 #ifdef __cplusplus
97658 #endif
97661 main ()
97663 return f != $ac_func;
97665 return 0;
97667 _ACEOF
97668 rm -f conftest.$ac_objext conftest$ac_exeext
97669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97670 (eval $ac_link) 2>conftest.er1
97671 ac_status=$?
97672 grep -v '^ *+' conftest.er1 >conftest.err
97673 rm -f conftest.er1
97674 cat conftest.err >&5
97675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97676 (exit $ac_status); } &&
97677 { ac_try='test -z "$ac_c_werror_flag"
97678 || test ! -s conftest.err'
97679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97680 (eval $ac_try) 2>&5
97681 ac_status=$?
97682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97683 (exit $ac_status); }; } &&
97684 { ac_try='test -s conftest$ac_exeext'
97685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97686 (eval $ac_try) 2>&5
97687 ac_status=$?
97688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97689 (exit $ac_status); }; }; then
97690 eval "$as_ac_var=yes"
97691 else
97692 echo "$as_me: failed program was:" >&5
97693 sed 's/^/| /' conftest.$ac_ext >&5
97695 eval "$as_ac_var=no"
97697 rm -f conftest.err conftest.$ac_objext \
97698 conftest$ac_exeext conftest.$ac_ext
97700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97702 if test `eval echo '${'$as_ac_var'}'` = yes; then
97703 cat >>confdefs.h <<_ACEOF
97704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97705 _ACEOF
97708 done
97718 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97719 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97720 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97721 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97722 echo $ECHO_N "(cached) $ECHO_C" >&6
97723 else
97727 ac_ext=cc
97728 ac_cpp='$CXXCPP $CPPFLAGS'
97729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97733 cat >conftest.$ac_ext <<_ACEOF
97734 /* confdefs.h. */
97735 _ACEOF
97736 cat confdefs.h >>conftest.$ac_ext
97737 cat >>conftest.$ac_ext <<_ACEOF
97738 /* end confdefs.h. */
97739 #include <math.h>
97740 #ifdef HAVE_IEEEFP_H
97741 #include <ieeefp.h>
97742 #endif
97745 main ()
97747 finitef(0);
97749 return 0;
97751 _ACEOF
97752 rm -f conftest.$ac_objext
97753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97754 (eval $ac_compile) 2>conftest.er1
97755 ac_status=$?
97756 grep -v '^ *+' conftest.er1 >conftest.err
97757 rm -f conftest.er1
97758 cat conftest.err >&5
97759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97760 (exit $ac_status); } &&
97761 { ac_try='test -z "$ac_cxx_werror_flag"
97762 || test ! -s conftest.err'
97763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97764 (eval $ac_try) 2>&5
97765 ac_status=$?
97766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97767 (exit $ac_status); }; } &&
97768 { ac_try='test -s conftest.$ac_objext'
97769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97770 (eval $ac_try) 2>&5
97771 ac_status=$?
97772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97773 (exit $ac_status); }; }; then
97774 glibcxx_cv_func_finitef_use=yes
97775 else
97776 echo "$as_me: failed program was:" >&5
97777 sed 's/^/| /' conftest.$ac_ext >&5
97779 glibcxx_cv_func_finitef_use=no
97781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97782 ac_ext=c
97783 ac_cpp='$CPP $CPPFLAGS'
97784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97793 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97795 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97797 for ac_func in finitef
97799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97800 echo "$as_me:$LINENO: checking for $ac_func" >&5
97801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97802 if eval "test \"\${$as_ac_var+set}\" = set"; then
97803 echo $ECHO_N "(cached) $ECHO_C" >&6
97804 else
97805 if test x$gcc_no_link = xyes; then
97806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97808 { (exit 1); exit 1; }; }
97810 cat >conftest.$ac_ext <<_ACEOF
97811 /* confdefs.h. */
97812 _ACEOF
97813 cat confdefs.h >>conftest.$ac_ext
97814 cat >>conftest.$ac_ext <<_ACEOF
97815 /* end confdefs.h. */
97816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97818 #define $ac_func innocuous_$ac_func
97820 /* System header to define __stub macros and hopefully few prototypes,
97821 which can conflict with char $ac_func (); below.
97822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97823 <limits.h> exists even on freestanding compilers. */
97825 #ifdef __STDC__
97826 # include <limits.h>
97827 #else
97828 # include <assert.h>
97829 #endif
97831 #undef $ac_func
97833 /* Override any gcc2 internal prototype to avoid an error. */
97834 #ifdef __cplusplus
97835 extern "C"
97837 #endif
97838 /* We use char because int might match the return type of a gcc2
97839 builtin and then its argument prototype would still apply. */
97840 char $ac_func ();
97841 /* The GNU C library defines this for functions which it implements
97842 to always fail with ENOSYS. Some functions are actually named
97843 something starting with __ and the normal name is an alias. */
97844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97845 choke me
97846 #else
97847 char (*f) () = $ac_func;
97848 #endif
97849 #ifdef __cplusplus
97851 #endif
97854 main ()
97856 return f != $ac_func;
97858 return 0;
97860 _ACEOF
97861 rm -f conftest.$ac_objext conftest$ac_exeext
97862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97863 (eval $ac_link) 2>conftest.er1
97864 ac_status=$?
97865 grep -v '^ *+' conftest.er1 >conftest.err
97866 rm -f conftest.er1
97867 cat conftest.err >&5
97868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97869 (exit $ac_status); } &&
97870 { ac_try='test -z "$ac_c_werror_flag"
97871 || test ! -s conftest.err'
97872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97873 (eval $ac_try) 2>&5
97874 ac_status=$?
97875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97876 (exit $ac_status); }; } &&
97877 { ac_try='test -s conftest$ac_exeext'
97878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97879 (eval $ac_try) 2>&5
97880 ac_status=$?
97881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97882 (exit $ac_status); }; }; then
97883 eval "$as_ac_var=yes"
97884 else
97885 echo "$as_me: failed program was:" >&5
97886 sed 's/^/| /' conftest.$ac_ext >&5
97888 eval "$as_ac_var=no"
97890 rm -f conftest.err conftest.$ac_objext \
97891 conftest$ac_exeext conftest.$ac_ext
97893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97895 if test `eval echo '${'$as_ac_var'}'` = yes; then
97896 cat >>confdefs.h <<_ACEOF
97897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97898 _ACEOF
97901 done
97903 else
97905 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97906 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97907 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97908 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97909 echo $ECHO_N "(cached) $ECHO_C" >&6
97910 else
97914 ac_ext=cc
97915 ac_cpp='$CXXCPP $CPPFLAGS'
97916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97920 cat >conftest.$ac_ext <<_ACEOF
97921 /* confdefs.h. */
97922 _ACEOF
97923 cat confdefs.h >>conftest.$ac_ext
97924 cat >>conftest.$ac_ext <<_ACEOF
97925 /* end confdefs.h. */
97926 #include <math.h>
97927 #ifdef HAVE_IEEEFP_H
97928 #include <ieeefp.h>
97929 #endif
97932 main ()
97934 _finitef(0);
97936 return 0;
97938 _ACEOF
97939 rm -f conftest.$ac_objext
97940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97941 (eval $ac_compile) 2>conftest.er1
97942 ac_status=$?
97943 grep -v '^ *+' conftest.er1 >conftest.err
97944 rm -f conftest.er1
97945 cat conftest.err >&5
97946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97947 (exit $ac_status); } &&
97948 { ac_try='test -z "$ac_cxx_werror_flag"
97949 || test ! -s conftest.err'
97950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97951 (eval $ac_try) 2>&5
97952 ac_status=$?
97953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97954 (exit $ac_status); }; } &&
97955 { ac_try='test -s conftest.$ac_objext'
97956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97957 (eval $ac_try) 2>&5
97958 ac_status=$?
97959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97960 (exit $ac_status); }; }; then
97961 glibcxx_cv_func__finitef_use=yes
97962 else
97963 echo "$as_me: failed program was:" >&5
97964 sed 's/^/| /' conftest.$ac_ext >&5
97966 glibcxx_cv_func__finitef_use=no
97968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97969 ac_ext=c
97970 ac_cpp='$CPP $CPPFLAGS'
97971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97979 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97980 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97982 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97984 for ac_func in _finitef
97986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97987 echo "$as_me:$LINENO: checking for $ac_func" >&5
97988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97989 if eval "test \"\${$as_ac_var+set}\" = set"; then
97990 echo $ECHO_N "(cached) $ECHO_C" >&6
97991 else
97992 if test x$gcc_no_link = xyes; then
97993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97995 { (exit 1); exit 1; }; }
97997 cat >conftest.$ac_ext <<_ACEOF
97998 /* confdefs.h. */
97999 _ACEOF
98000 cat confdefs.h >>conftest.$ac_ext
98001 cat >>conftest.$ac_ext <<_ACEOF
98002 /* end confdefs.h. */
98003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98005 #define $ac_func innocuous_$ac_func
98007 /* System header to define __stub macros and hopefully few prototypes,
98008 which can conflict with char $ac_func (); below.
98009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98010 <limits.h> exists even on freestanding compilers. */
98012 #ifdef __STDC__
98013 # include <limits.h>
98014 #else
98015 # include <assert.h>
98016 #endif
98018 #undef $ac_func
98020 /* Override any gcc2 internal prototype to avoid an error. */
98021 #ifdef __cplusplus
98022 extern "C"
98024 #endif
98025 /* We use char because int might match the return type of a gcc2
98026 builtin and then its argument prototype would still apply. */
98027 char $ac_func ();
98028 /* The GNU C library defines this for functions which it implements
98029 to always fail with ENOSYS. Some functions are actually named
98030 something starting with __ and the normal name is an alias. */
98031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98032 choke me
98033 #else
98034 char (*f) () = $ac_func;
98035 #endif
98036 #ifdef __cplusplus
98038 #endif
98041 main ()
98043 return f != $ac_func;
98045 return 0;
98047 _ACEOF
98048 rm -f conftest.$ac_objext conftest$ac_exeext
98049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98050 (eval $ac_link) 2>conftest.er1
98051 ac_status=$?
98052 grep -v '^ *+' conftest.er1 >conftest.err
98053 rm -f conftest.er1
98054 cat conftest.err >&5
98055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98056 (exit $ac_status); } &&
98057 { ac_try='test -z "$ac_c_werror_flag"
98058 || test ! -s conftest.err'
98059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98060 (eval $ac_try) 2>&5
98061 ac_status=$?
98062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98063 (exit $ac_status); }; } &&
98064 { ac_try='test -s conftest$ac_exeext'
98065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98066 (eval $ac_try) 2>&5
98067 ac_status=$?
98068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98069 (exit $ac_status); }; }; then
98070 eval "$as_ac_var=yes"
98071 else
98072 echo "$as_me: failed program was:" >&5
98073 sed 's/^/| /' conftest.$ac_ext >&5
98075 eval "$as_ac_var=no"
98077 rm -f conftest.err conftest.$ac_objext \
98078 conftest$ac_exeext conftest.$ac_ext
98080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98082 if test `eval echo '${'$as_ac_var'}'` = yes; then
98083 cat >>confdefs.h <<_ACEOF
98084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98085 _ACEOF
98088 done
98098 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98099 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98100 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98101 echo $ECHO_N "(cached) $ECHO_C" >&6
98102 else
98106 ac_ext=cc
98107 ac_cpp='$CXXCPP $CPPFLAGS'
98108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98112 cat >conftest.$ac_ext <<_ACEOF
98113 /* confdefs.h. */
98114 _ACEOF
98115 cat confdefs.h >>conftest.$ac_ext
98116 cat >>conftest.$ac_ext <<_ACEOF
98117 /* end confdefs.h. */
98118 #include <math.h>
98120 main ()
98122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98124 return 0;
98126 _ACEOF
98127 rm -f conftest.$ac_objext
98128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98129 (eval $ac_compile) 2>conftest.er1
98130 ac_status=$?
98131 grep -v '^ *+' conftest.er1 >conftest.err
98132 rm -f conftest.er1
98133 cat conftest.err >&5
98134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98135 (exit $ac_status); } &&
98136 { ac_try='test -z "$ac_cxx_werror_flag"
98137 || test ! -s conftest.err'
98138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98139 (eval $ac_try) 2>&5
98140 ac_status=$?
98141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98142 (exit $ac_status); }; } &&
98143 { ac_try='test -s conftest.$ac_objext'
98144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98145 (eval $ac_try) 2>&5
98146 ac_status=$?
98147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98148 (exit $ac_status); }; }; then
98149 glibcxx_cv_func_long_double_trig_use=yes
98150 else
98151 echo "$as_me: failed program was:" >&5
98152 sed 's/^/| /' conftest.$ac_ext >&5
98154 glibcxx_cv_func_long_double_trig_use=no
98156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98157 ac_ext=c
98158 ac_cpp='$CPP $CPPFLAGS'
98159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98166 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98167 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98177 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98180 echo "$as_me:$LINENO: checking for $ac_func" >&5
98181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98182 if eval "test \"\${$as_ac_var+set}\" = set"; then
98183 echo $ECHO_N "(cached) $ECHO_C" >&6
98184 else
98185 if test x$gcc_no_link = xyes; then
98186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98188 { (exit 1); exit 1; }; }
98190 cat >conftest.$ac_ext <<_ACEOF
98191 /* confdefs.h. */
98192 _ACEOF
98193 cat confdefs.h >>conftest.$ac_ext
98194 cat >>conftest.$ac_ext <<_ACEOF
98195 /* end confdefs.h. */
98196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98198 #define $ac_func innocuous_$ac_func
98200 /* System header to define __stub macros and hopefully few prototypes,
98201 which can conflict with char $ac_func (); below.
98202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98203 <limits.h> exists even on freestanding compilers. */
98205 #ifdef __STDC__
98206 # include <limits.h>
98207 #else
98208 # include <assert.h>
98209 #endif
98211 #undef $ac_func
98213 /* Override any gcc2 internal prototype to avoid an error. */
98214 #ifdef __cplusplus
98215 extern "C"
98217 #endif
98218 /* We use char because int might match the return type of a gcc2
98219 builtin and then its argument prototype would still apply. */
98220 char $ac_func ();
98221 /* The GNU C library defines this for functions which it implements
98222 to always fail with ENOSYS. Some functions are actually named
98223 something starting with __ and the normal name is an alias. */
98224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98225 choke me
98226 #else
98227 char (*f) () = $ac_func;
98228 #endif
98229 #ifdef __cplusplus
98231 #endif
98234 main ()
98236 return f != $ac_func;
98238 return 0;
98240 _ACEOF
98241 rm -f conftest.$ac_objext conftest$ac_exeext
98242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98243 (eval $ac_link) 2>conftest.er1
98244 ac_status=$?
98245 grep -v '^ *+' conftest.er1 >conftest.err
98246 rm -f conftest.er1
98247 cat conftest.err >&5
98248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98249 (exit $ac_status); } &&
98250 { ac_try='test -z "$ac_c_werror_flag"
98251 || test ! -s conftest.err'
98252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98253 (eval $ac_try) 2>&5
98254 ac_status=$?
98255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98256 (exit $ac_status); }; } &&
98257 { ac_try='test -s conftest$ac_exeext'
98258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98259 (eval $ac_try) 2>&5
98260 ac_status=$?
98261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98262 (exit $ac_status); }; }; then
98263 eval "$as_ac_var=yes"
98264 else
98265 echo "$as_me: failed program was:" >&5
98266 sed 's/^/| /' conftest.$ac_ext >&5
98268 eval "$as_ac_var=no"
98270 rm -f conftest.err conftest.$ac_objext \
98271 conftest$ac_exeext conftest.$ac_ext
98273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98275 if test `eval echo '${'$as_ac_var'}'` = yes; then
98276 cat >>confdefs.h <<_ACEOF
98277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98278 _ACEOF
98281 done
98283 else
98284 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98285 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98286 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98287 echo $ECHO_N "(cached) $ECHO_C" >&6
98288 else
98292 ac_ext=cc
98293 ac_cpp='$CXXCPP $CPPFLAGS'
98294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98298 cat >conftest.$ac_ext <<_ACEOF
98299 /* confdefs.h. */
98300 _ACEOF
98301 cat confdefs.h >>conftest.$ac_ext
98302 cat >>conftest.$ac_ext <<_ACEOF
98303 /* end confdefs.h. */
98304 #include <math.h>
98306 main ()
98308 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98310 return 0;
98312 _ACEOF
98313 rm -f conftest.$ac_objext
98314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98315 (eval $ac_compile) 2>conftest.er1
98316 ac_status=$?
98317 grep -v '^ *+' conftest.er1 >conftest.err
98318 rm -f conftest.er1
98319 cat conftest.err >&5
98320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98321 (exit $ac_status); } &&
98322 { ac_try='test -z "$ac_cxx_werror_flag"
98323 || test ! -s conftest.err'
98324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98325 (eval $ac_try) 2>&5
98326 ac_status=$?
98327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98328 (exit $ac_status); }; } &&
98329 { ac_try='test -s conftest.$ac_objext'
98330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98331 (eval $ac_try) 2>&5
98332 ac_status=$?
98333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98334 (exit $ac_status); }; }; then
98335 glibcxx_cv_func__long_double_trig_use=yes
98336 else
98337 echo "$as_me: failed program was:" >&5
98338 sed 's/^/| /' conftest.$ac_ext >&5
98340 glibcxx_cv_func__long_double_trig_use=no
98342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98343 ac_ext=c
98344 ac_cpp='$CPP $CPPFLAGS'
98345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98352 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98353 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98363 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98366 echo "$as_me:$LINENO: checking for $ac_func" >&5
98367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98368 if eval "test \"\${$as_ac_var+set}\" = set"; then
98369 echo $ECHO_N "(cached) $ECHO_C" >&6
98370 else
98371 if test x$gcc_no_link = xyes; then
98372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98374 { (exit 1); exit 1; }; }
98376 cat >conftest.$ac_ext <<_ACEOF
98377 /* confdefs.h. */
98378 _ACEOF
98379 cat confdefs.h >>conftest.$ac_ext
98380 cat >>conftest.$ac_ext <<_ACEOF
98381 /* end confdefs.h. */
98382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98384 #define $ac_func innocuous_$ac_func
98386 /* System header to define __stub macros and hopefully few prototypes,
98387 which can conflict with char $ac_func (); below.
98388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98389 <limits.h> exists even on freestanding compilers. */
98391 #ifdef __STDC__
98392 # include <limits.h>
98393 #else
98394 # include <assert.h>
98395 #endif
98397 #undef $ac_func
98399 /* Override any gcc2 internal prototype to avoid an error. */
98400 #ifdef __cplusplus
98401 extern "C"
98403 #endif
98404 /* We use char because int might match the return type of a gcc2
98405 builtin and then its argument prototype would still apply. */
98406 char $ac_func ();
98407 /* The GNU C library defines this for functions which it implements
98408 to always fail with ENOSYS. Some functions are actually named
98409 something starting with __ and the normal name is an alias. */
98410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98411 choke me
98412 #else
98413 char (*f) () = $ac_func;
98414 #endif
98415 #ifdef __cplusplus
98417 #endif
98420 main ()
98422 return f != $ac_func;
98424 return 0;
98426 _ACEOF
98427 rm -f conftest.$ac_objext conftest$ac_exeext
98428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98429 (eval $ac_link) 2>conftest.er1
98430 ac_status=$?
98431 grep -v '^ *+' conftest.er1 >conftest.err
98432 rm -f conftest.er1
98433 cat conftest.err >&5
98434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98435 (exit $ac_status); } &&
98436 { ac_try='test -z "$ac_c_werror_flag"
98437 || test ! -s conftest.err'
98438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98439 (eval $ac_try) 2>&5
98440 ac_status=$?
98441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98442 (exit $ac_status); }; } &&
98443 { ac_try='test -s conftest$ac_exeext'
98444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98445 (eval $ac_try) 2>&5
98446 ac_status=$?
98447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98448 (exit $ac_status); }; }; then
98449 eval "$as_ac_var=yes"
98450 else
98451 echo "$as_me: failed program was:" >&5
98452 sed 's/^/| /' conftest.$ac_ext >&5
98454 eval "$as_ac_var=no"
98456 rm -f conftest.err conftest.$ac_objext \
98457 conftest$ac_exeext conftest.$ac_ext
98459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98461 if test `eval echo '${'$as_ac_var'}'` = yes; then
98462 cat >>confdefs.h <<_ACEOF
98463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98464 _ACEOF
98467 done
98485 echo "$as_me:$LINENO: checking for long double round functions" >&5
98486 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98487 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98488 echo $ECHO_N "(cached) $ECHO_C" >&6
98489 else
98493 ac_ext=cc
98494 ac_cpp='$CXXCPP $CPPFLAGS'
98495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98499 cat >conftest.$ac_ext <<_ACEOF
98500 /* confdefs.h. */
98501 _ACEOF
98502 cat confdefs.h >>conftest.$ac_ext
98503 cat >>conftest.$ac_ext <<_ACEOF
98504 /* end confdefs.h. */
98505 #include <math.h>
98507 main ()
98509 ceill (0); floorl (0);
98511 return 0;
98513 _ACEOF
98514 rm -f conftest.$ac_objext
98515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98516 (eval $ac_compile) 2>conftest.er1
98517 ac_status=$?
98518 grep -v '^ *+' conftest.er1 >conftest.err
98519 rm -f conftest.er1
98520 cat conftest.err >&5
98521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98522 (exit $ac_status); } &&
98523 { ac_try='test -z "$ac_cxx_werror_flag"
98524 || test ! -s conftest.err'
98525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98526 (eval $ac_try) 2>&5
98527 ac_status=$?
98528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98529 (exit $ac_status); }; } &&
98530 { ac_try='test -s conftest.$ac_objext'
98531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98532 (eval $ac_try) 2>&5
98533 ac_status=$?
98534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98535 (exit $ac_status); }; }; then
98536 glibcxx_cv_func_long_double_round_use=yes
98537 else
98538 echo "$as_me: failed program was:" >&5
98539 sed 's/^/| /' conftest.$ac_ext >&5
98541 glibcxx_cv_func_long_double_round_use=no
98543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98544 ac_ext=c
98545 ac_cpp='$CPP $CPPFLAGS'
98546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98553 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98554 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98557 for ac_func in ceill floorl
98559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98560 echo "$as_me:$LINENO: checking for $ac_func" >&5
98561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98562 if eval "test \"\${$as_ac_var+set}\" = set"; then
98563 echo $ECHO_N "(cached) $ECHO_C" >&6
98564 else
98565 if test x$gcc_no_link = xyes; then
98566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98568 { (exit 1); exit 1; }; }
98570 cat >conftest.$ac_ext <<_ACEOF
98571 /* confdefs.h. */
98572 _ACEOF
98573 cat confdefs.h >>conftest.$ac_ext
98574 cat >>conftest.$ac_ext <<_ACEOF
98575 /* end confdefs.h. */
98576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98578 #define $ac_func innocuous_$ac_func
98580 /* System header to define __stub macros and hopefully few prototypes,
98581 which can conflict with char $ac_func (); below.
98582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98583 <limits.h> exists even on freestanding compilers. */
98585 #ifdef __STDC__
98586 # include <limits.h>
98587 #else
98588 # include <assert.h>
98589 #endif
98591 #undef $ac_func
98593 /* Override any gcc2 internal prototype to avoid an error. */
98594 #ifdef __cplusplus
98595 extern "C"
98597 #endif
98598 /* We use char because int might match the return type of a gcc2
98599 builtin and then its argument prototype would still apply. */
98600 char $ac_func ();
98601 /* The GNU C library defines this for functions which it implements
98602 to always fail with ENOSYS. Some functions are actually named
98603 something starting with __ and the normal name is an alias. */
98604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98605 choke me
98606 #else
98607 char (*f) () = $ac_func;
98608 #endif
98609 #ifdef __cplusplus
98611 #endif
98614 main ()
98616 return f != $ac_func;
98618 return 0;
98620 _ACEOF
98621 rm -f conftest.$ac_objext conftest$ac_exeext
98622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98623 (eval $ac_link) 2>conftest.er1
98624 ac_status=$?
98625 grep -v '^ *+' conftest.er1 >conftest.err
98626 rm -f conftest.er1
98627 cat conftest.err >&5
98628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98629 (exit $ac_status); } &&
98630 { ac_try='test -z "$ac_c_werror_flag"
98631 || test ! -s conftest.err'
98632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98633 (eval $ac_try) 2>&5
98634 ac_status=$?
98635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98636 (exit $ac_status); }; } &&
98637 { ac_try='test -s conftest$ac_exeext'
98638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98639 (eval $ac_try) 2>&5
98640 ac_status=$?
98641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98642 (exit $ac_status); }; }; then
98643 eval "$as_ac_var=yes"
98644 else
98645 echo "$as_me: failed program was:" >&5
98646 sed 's/^/| /' conftest.$ac_ext >&5
98648 eval "$as_ac_var=no"
98650 rm -f conftest.err conftest.$ac_objext \
98651 conftest$ac_exeext conftest.$ac_ext
98653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98655 if test `eval echo '${'$as_ac_var'}'` = yes; then
98656 cat >>confdefs.h <<_ACEOF
98657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98658 _ACEOF
98661 done
98663 else
98664 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98665 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98666 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98667 echo $ECHO_N "(cached) $ECHO_C" >&6
98668 else
98672 ac_ext=cc
98673 ac_cpp='$CXXCPP $CPPFLAGS'
98674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98678 cat >conftest.$ac_ext <<_ACEOF
98679 /* confdefs.h. */
98680 _ACEOF
98681 cat confdefs.h >>conftest.$ac_ext
98682 cat >>conftest.$ac_ext <<_ACEOF
98683 /* end confdefs.h. */
98684 #include <math.h>
98686 main ()
98688 _ceill (0); _floorl (0);
98690 return 0;
98692 _ACEOF
98693 rm -f conftest.$ac_objext
98694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98695 (eval $ac_compile) 2>conftest.er1
98696 ac_status=$?
98697 grep -v '^ *+' conftest.er1 >conftest.err
98698 rm -f conftest.er1
98699 cat conftest.err >&5
98700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98701 (exit $ac_status); } &&
98702 { ac_try='test -z "$ac_cxx_werror_flag"
98703 || test ! -s conftest.err'
98704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98705 (eval $ac_try) 2>&5
98706 ac_status=$?
98707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98708 (exit $ac_status); }; } &&
98709 { ac_try='test -s conftest.$ac_objext'
98710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98711 (eval $ac_try) 2>&5
98712 ac_status=$?
98713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98714 (exit $ac_status); }; }; then
98715 glibcxx_cv_func__long_double_round_use=yes
98716 else
98717 echo "$as_me: failed program was:" >&5
98718 sed 's/^/| /' conftest.$ac_ext >&5
98720 glibcxx_cv_func__long_double_round_use=no
98722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98723 ac_ext=c
98724 ac_cpp='$CPP $CPPFLAGS'
98725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98732 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98733 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98736 for ac_func in _ceill _floorl
98738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98739 echo "$as_me:$LINENO: checking for $ac_func" >&5
98740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98741 if eval "test \"\${$as_ac_var+set}\" = set"; then
98742 echo $ECHO_N "(cached) $ECHO_C" >&6
98743 else
98744 if test x$gcc_no_link = xyes; then
98745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98747 { (exit 1); exit 1; }; }
98749 cat >conftest.$ac_ext <<_ACEOF
98750 /* confdefs.h. */
98751 _ACEOF
98752 cat confdefs.h >>conftest.$ac_ext
98753 cat >>conftest.$ac_ext <<_ACEOF
98754 /* end confdefs.h. */
98755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98757 #define $ac_func innocuous_$ac_func
98759 /* System header to define __stub macros and hopefully few prototypes,
98760 which can conflict with char $ac_func (); below.
98761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98762 <limits.h> exists even on freestanding compilers. */
98764 #ifdef __STDC__
98765 # include <limits.h>
98766 #else
98767 # include <assert.h>
98768 #endif
98770 #undef $ac_func
98772 /* Override any gcc2 internal prototype to avoid an error. */
98773 #ifdef __cplusplus
98774 extern "C"
98776 #endif
98777 /* We use char because int might match the return type of a gcc2
98778 builtin and then its argument prototype would still apply. */
98779 char $ac_func ();
98780 /* The GNU C library defines this for functions which it implements
98781 to always fail with ENOSYS. Some functions are actually named
98782 something starting with __ and the normal name is an alias. */
98783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98784 choke me
98785 #else
98786 char (*f) () = $ac_func;
98787 #endif
98788 #ifdef __cplusplus
98790 #endif
98793 main ()
98795 return f != $ac_func;
98797 return 0;
98799 _ACEOF
98800 rm -f conftest.$ac_objext conftest$ac_exeext
98801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98802 (eval $ac_link) 2>conftest.er1
98803 ac_status=$?
98804 grep -v '^ *+' conftest.er1 >conftest.err
98805 rm -f conftest.er1
98806 cat conftest.err >&5
98807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98808 (exit $ac_status); } &&
98809 { ac_try='test -z "$ac_c_werror_flag"
98810 || test ! -s conftest.err'
98811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98812 (eval $ac_try) 2>&5
98813 ac_status=$?
98814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98815 (exit $ac_status); }; } &&
98816 { ac_try='test -s conftest$ac_exeext'
98817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98818 (eval $ac_try) 2>&5
98819 ac_status=$?
98820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98821 (exit $ac_status); }; }; then
98822 eval "$as_ac_var=yes"
98823 else
98824 echo "$as_me: failed program was:" >&5
98825 sed 's/^/| /' conftest.$ac_ext >&5
98827 eval "$as_ac_var=no"
98829 rm -f conftest.err conftest.$ac_objext \
98830 conftest$ac_exeext conftest.$ac_ext
98832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98834 if test `eval echo '${'$as_ac_var'}'` = yes; then
98835 cat >>confdefs.h <<_ACEOF
98836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98837 _ACEOF
98840 done
98852 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98853 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98854 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98855 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98856 echo $ECHO_N "(cached) $ECHO_C" >&6
98857 else
98861 ac_ext=cc
98862 ac_cpp='$CXXCPP $CPPFLAGS'
98863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98867 cat >conftest.$ac_ext <<_ACEOF
98868 /* confdefs.h. */
98869 _ACEOF
98870 cat confdefs.h >>conftest.$ac_ext
98871 cat >>conftest.$ac_ext <<_ACEOF
98872 /* end confdefs.h. */
98873 #include <math.h>
98874 #ifdef HAVE_IEEEFP_H
98875 #include <ieeefp.h>
98876 #endif
98879 main ()
98881 isnanl(0);
98883 return 0;
98885 _ACEOF
98886 rm -f conftest.$ac_objext
98887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98888 (eval $ac_compile) 2>conftest.er1
98889 ac_status=$?
98890 grep -v '^ *+' conftest.er1 >conftest.err
98891 rm -f conftest.er1
98892 cat conftest.err >&5
98893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98894 (exit $ac_status); } &&
98895 { ac_try='test -z "$ac_cxx_werror_flag"
98896 || test ! -s conftest.err'
98897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98898 (eval $ac_try) 2>&5
98899 ac_status=$?
98900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98901 (exit $ac_status); }; } &&
98902 { ac_try='test -s conftest.$ac_objext'
98903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98904 (eval $ac_try) 2>&5
98905 ac_status=$?
98906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98907 (exit $ac_status); }; }; then
98908 glibcxx_cv_func_isnanl_use=yes
98909 else
98910 echo "$as_me: failed program was:" >&5
98911 sed 's/^/| /' conftest.$ac_ext >&5
98913 glibcxx_cv_func_isnanl_use=no
98915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98916 ac_ext=c
98917 ac_cpp='$CPP $CPPFLAGS'
98918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98926 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98927 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98929 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98931 for ac_func in isnanl
98933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98934 echo "$as_me:$LINENO: checking for $ac_func" >&5
98935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98936 if eval "test \"\${$as_ac_var+set}\" = set"; then
98937 echo $ECHO_N "(cached) $ECHO_C" >&6
98938 else
98939 if test x$gcc_no_link = xyes; then
98940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98942 { (exit 1); exit 1; }; }
98944 cat >conftest.$ac_ext <<_ACEOF
98945 /* confdefs.h. */
98946 _ACEOF
98947 cat confdefs.h >>conftest.$ac_ext
98948 cat >>conftest.$ac_ext <<_ACEOF
98949 /* end confdefs.h. */
98950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98952 #define $ac_func innocuous_$ac_func
98954 /* System header to define __stub macros and hopefully few prototypes,
98955 which can conflict with char $ac_func (); below.
98956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98957 <limits.h> exists even on freestanding compilers. */
98959 #ifdef __STDC__
98960 # include <limits.h>
98961 #else
98962 # include <assert.h>
98963 #endif
98965 #undef $ac_func
98967 /* Override any gcc2 internal prototype to avoid an error. */
98968 #ifdef __cplusplus
98969 extern "C"
98971 #endif
98972 /* We use char because int might match the return type of a gcc2
98973 builtin and then its argument prototype would still apply. */
98974 char $ac_func ();
98975 /* The GNU C library defines this for functions which it implements
98976 to always fail with ENOSYS. Some functions are actually named
98977 something starting with __ and the normal name is an alias. */
98978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98979 choke me
98980 #else
98981 char (*f) () = $ac_func;
98982 #endif
98983 #ifdef __cplusplus
98985 #endif
98988 main ()
98990 return f != $ac_func;
98992 return 0;
98994 _ACEOF
98995 rm -f conftest.$ac_objext conftest$ac_exeext
98996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98997 (eval $ac_link) 2>conftest.er1
98998 ac_status=$?
98999 grep -v '^ *+' conftest.er1 >conftest.err
99000 rm -f conftest.er1
99001 cat conftest.err >&5
99002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99003 (exit $ac_status); } &&
99004 { ac_try='test -z "$ac_c_werror_flag"
99005 || test ! -s conftest.err'
99006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99007 (eval $ac_try) 2>&5
99008 ac_status=$?
99009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99010 (exit $ac_status); }; } &&
99011 { ac_try='test -s conftest$ac_exeext'
99012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99013 (eval $ac_try) 2>&5
99014 ac_status=$?
99015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99016 (exit $ac_status); }; }; then
99017 eval "$as_ac_var=yes"
99018 else
99019 echo "$as_me: failed program was:" >&5
99020 sed 's/^/| /' conftest.$ac_ext >&5
99022 eval "$as_ac_var=no"
99024 rm -f conftest.err conftest.$ac_objext \
99025 conftest$ac_exeext conftest.$ac_ext
99027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99029 if test `eval echo '${'$as_ac_var'}'` = yes; then
99030 cat >>confdefs.h <<_ACEOF
99031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99032 _ACEOF
99035 done
99037 else
99039 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99040 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99041 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99042 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99043 echo $ECHO_N "(cached) $ECHO_C" >&6
99044 else
99048 ac_ext=cc
99049 ac_cpp='$CXXCPP $CPPFLAGS'
99050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99054 cat >conftest.$ac_ext <<_ACEOF
99055 /* confdefs.h. */
99056 _ACEOF
99057 cat confdefs.h >>conftest.$ac_ext
99058 cat >>conftest.$ac_ext <<_ACEOF
99059 /* end confdefs.h. */
99060 #include <math.h>
99061 #ifdef HAVE_IEEEFP_H
99062 #include <ieeefp.h>
99063 #endif
99066 main ()
99068 _isnanl(0);
99070 return 0;
99072 _ACEOF
99073 rm -f conftest.$ac_objext
99074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99075 (eval $ac_compile) 2>conftest.er1
99076 ac_status=$?
99077 grep -v '^ *+' conftest.er1 >conftest.err
99078 rm -f conftest.er1
99079 cat conftest.err >&5
99080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99081 (exit $ac_status); } &&
99082 { ac_try='test -z "$ac_cxx_werror_flag"
99083 || test ! -s conftest.err'
99084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99085 (eval $ac_try) 2>&5
99086 ac_status=$?
99087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99088 (exit $ac_status); }; } &&
99089 { ac_try='test -s conftest.$ac_objext'
99090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99091 (eval $ac_try) 2>&5
99092 ac_status=$?
99093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99094 (exit $ac_status); }; }; then
99095 glibcxx_cv_func__isnanl_use=yes
99096 else
99097 echo "$as_me: failed program was:" >&5
99098 sed 's/^/| /' conftest.$ac_ext >&5
99100 glibcxx_cv_func__isnanl_use=no
99102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99103 ac_ext=c
99104 ac_cpp='$CPP $CPPFLAGS'
99105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99114 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99118 for ac_func in _isnanl
99120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99121 echo "$as_me:$LINENO: checking for $ac_func" >&5
99122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99123 if eval "test \"\${$as_ac_var+set}\" = set"; then
99124 echo $ECHO_N "(cached) $ECHO_C" >&6
99125 else
99126 if test x$gcc_no_link = xyes; then
99127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99129 { (exit 1); exit 1; }; }
99131 cat >conftest.$ac_ext <<_ACEOF
99132 /* confdefs.h. */
99133 _ACEOF
99134 cat confdefs.h >>conftest.$ac_ext
99135 cat >>conftest.$ac_ext <<_ACEOF
99136 /* end confdefs.h. */
99137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99139 #define $ac_func innocuous_$ac_func
99141 /* System header to define __stub macros and hopefully few prototypes,
99142 which can conflict with char $ac_func (); below.
99143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99144 <limits.h> exists even on freestanding compilers. */
99146 #ifdef __STDC__
99147 # include <limits.h>
99148 #else
99149 # include <assert.h>
99150 #endif
99152 #undef $ac_func
99154 /* Override any gcc2 internal prototype to avoid an error. */
99155 #ifdef __cplusplus
99156 extern "C"
99158 #endif
99159 /* We use char because int might match the return type of a gcc2
99160 builtin and then its argument prototype would still apply. */
99161 char $ac_func ();
99162 /* The GNU C library defines this for functions which it implements
99163 to always fail with ENOSYS. Some functions are actually named
99164 something starting with __ and the normal name is an alias. */
99165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99166 choke me
99167 #else
99168 char (*f) () = $ac_func;
99169 #endif
99170 #ifdef __cplusplus
99172 #endif
99175 main ()
99177 return f != $ac_func;
99179 return 0;
99181 _ACEOF
99182 rm -f conftest.$ac_objext conftest$ac_exeext
99183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99184 (eval $ac_link) 2>conftest.er1
99185 ac_status=$?
99186 grep -v '^ *+' conftest.er1 >conftest.err
99187 rm -f conftest.er1
99188 cat conftest.err >&5
99189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99190 (exit $ac_status); } &&
99191 { ac_try='test -z "$ac_c_werror_flag"
99192 || test ! -s conftest.err'
99193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99194 (eval $ac_try) 2>&5
99195 ac_status=$?
99196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99197 (exit $ac_status); }; } &&
99198 { ac_try='test -s conftest$ac_exeext'
99199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99200 (eval $ac_try) 2>&5
99201 ac_status=$?
99202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99203 (exit $ac_status); }; }; then
99204 eval "$as_ac_var=yes"
99205 else
99206 echo "$as_me: failed program was:" >&5
99207 sed 's/^/| /' conftest.$ac_ext >&5
99209 eval "$as_ac_var=no"
99211 rm -f conftest.err conftest.$ac_objext \
99212 conftest$ac_exeext conftest.$ac_ext
99214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99216 if test `eval echo '${'$as_ac_var'}'` = yes; then
99217 cat >>confdefs.h <<_ACEOF
99218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99219 _ACEOF
99222 done
99232 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99233 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99234 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99235 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99236 echo $ECHO_N "(cached) $ECHO_C" >&6
99237 else
99241 ac_ext=cc
99242 ac_cpp='$CXXCPP $CPPFLAGS'
99243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99247 cat >conftest.$ac_ext <<_ACEOF
99248 /* confdefs.h. */
99249 _ACEOF
99250 cat confdefs.h >>conftest.$ac_ext
99251 cat >>conftest.$ac_ext <<_ACEOF
99252 /* end confdefs.h. */
99253 #include <math.h>
99254 #ifdef HAVE_IEEEFP_H
99255 #include <ieeefp.h>
99256 #endif
99259 main ()
99261 isinfl(0);
99263 return 0;
99265 _ACEOF
99266 rm -f conftest.$ac_objext
99267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99268 (eval $ac_compile) 2>conftest.er1
99269 ac_status=$?
99270 grep -v '^ *+' conftest.er1 >conftest.err
99271 rm -f conftest.er1
99272 cat conftest.err >&5
99273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99274 (exit $ac_status); } &&
99275 { ac_try='test -z "$ac_cxx_werror_flag"
99276 || test ! -s conftest.err'
99277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99278 (eval $ac_try) 2>&5
99279 ac_status=$?
99280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99281 (exit $ac_status); }; } &&
99282 { ac_try='test -s conftest.$ac_objext'
99283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99284 (eval $ac_try) 2>&5
99285 ac_status=$?
99286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99287 (exit $ac_status); }; }; then
99288 glibcxx_cv_func_isinfl_use=yes
99289 else
99290 echo "$as_me: failed program was:" >&5
99291 sed 's/^/| /' conftest.$ac_ext >&5
99293 glibcxx_cv_func_isinfl_use=no
99295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99296 ac_ext=c
99297 ac_cpp='$CPP $CPPFLAGS'
99298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99307 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99309 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99311 for ac_func in isinfl
99313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99314 echo "$as_me:$LINENO: checking for $ac_func" >&5
99315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99316 if eval "test \"\${$as_ac_var+set}\" = set"; then
99317 echo $ECHO_N "(cached) $ECHO_C" >&6
99318 else
99319 if test x$gcc_no_link = xyes; then
99320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99322 { (exit 1); exit 1; }; }
99324 cat >conftest.$ac_ext <<_ACEOF
99325 /* confdefs.h. */
99326 _ACEOF
99327 cat confdefs.h >>conftest.$ac_ext
99328 cat >>conftest.$ac_ext <<_ACEOF
99329 /* end confdefs.h. */
99330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99332 #define $ac_func innocuous_$ac_func
99334 /* System header to define __stub macros and hopefully few prototypes,
99335 which can conflict with char $ac_func (); below.
99336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99337 <limits.h> exists even on freestanding compilers. */
99339 #ifdef __STDC__
99340 # include <limits.h>
99341 #else
99342 # include <assert.h>
99343 #endif
99345 #undef $ac_func
99347 /* Override any gcc2 internal prototype to avoid an error. */
99348 #ifdef __cplusplus
99349 extern "C"
99351 #endif
99352 /* We use char because int might match the return type of a gcc2
99353 builtin and then its argument prototype would still apply. */
99354 char $ac_func ();
99355 /* The GNU C library defines this for functions which it implements
99356 to always fail with ENOSYS. Some functions are actually named
99357 something starting with __ and the normal name is an alias. */
99358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99359 choke me
99360 #else
99361 char (*f) () = $ac_func;
99362 #endif
99363 #ifdef __cplusplus
99365 #endif
99368 main ()
99370 return f != $ac_func;
99372 return 0;
99374 _ACEOF
99375 rm -f conftest.$ac_objext conftest$ac_exeext
99376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99377 (eval $ac_link) 2>conftest.er1
99378 ac_status=$?
99379 grep -v '^ *+' conftest.er1 >conftest.err
99380 rm -f conftest.er1
99381 cat conftest.err >&5
99382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99383 (exit $ac_status); } &&
99384 { ac_try='test -z "$ac_c_werror_flag"
99385 || test ! -s conftest.err'
99386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99387 (eval $ac_try) 2>&5
99388 ac_status=$?
99389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99390 (exit $ac_status); }; } &&
99391 { ac_try='test -s conftest$ac_exeext'
99392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99393 (eval $ac_try) 2>&5
99394 ac_status=$?
99395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99396 (exit $ac_status); }; }; then
99397 eval "$as_ac_var=yes"
99398 else
99399 echo "$as_me: failed program was:" >&5
99400 sed 's/^/| /' conftest.$ac_ext >&5
99402 eval "$as_ac_var=no"
99404 rm -f conftest.err conftest.$ac_objext \
99405 conftest$ac_exeext conftest.$ac_ext
99407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99409 if test `eval echo '${'$as_ac_var'}'` = yes; then
99410 cat >>confdefs.h <<_ACEOF
99411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99412 _ACEOF
99415 done
99417 else
99419 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99420 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99421 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99422 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99423 echo $ECHO_N "(cached) $ECHO_C" >&6
99424 else
99428 ac_ext=cc
99429 ac_cpp='$CXXCPP $CPPFLAGS'
99430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99434 cat >conftest.$ac_ext <<_ACEOF
99435 /* confdefs.h. */
99436 _ACEOF
99437 cat confdefs.h >>conftest.$ac_ext
99438 cat >>conftest.$ac_ext <<_ACEOF
99439 /* end confdefs.h. */
99440 #include <math.h>
99441 #ifdef HAVE_IEEEFP_H
99442 #include <ieeefp.h>
99443 #endif
99446 main ()
99448 _isinfl(0);
99450 return 0;
99452 _ACEOF
99453 rm -f conftest.$ac_objext
99454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99455 (eval $ac_compile) 2>conftest.er1
99456 ac_status=$?
99457 grep -v '^ *+' conftest.er1 >conftest.err
99458 rm -f conftest.er1
99459 cat conftest.err >&5
99460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99461 (exit $ac_status); } &&
99462 { ac_try='test -z "$ac_cxx_werror_flag"
99463 || test ! -s conftest.err'
99464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99465 (eval $ac_try) 2>&5
99466 ac_status=$?
99467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99468 (exit $ac_status); }; } &&
99469 { ac_try='test -s conftest.$ac_objext'
99470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99471 (eval $ac_try) 2>&5
99472 ac_status=$?
99473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99474 (exit $ac_status); }; }; then
99475 glibcxx_cv_func__isinfl_use=yes
99476 else
99477 echo "$as_me: failed program was:" >&5
99478 sed 's/^/| /' conftest.$ac_ext >&5
99480 glibcxx_cv_func__isinfl_use=no
99482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99483 ac_ext=c
99484 ac_cpp='$CPP $CPPFLAGS'
99485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99493 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99494 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99496 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99498 for ac_func in _isinfl
99500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99501 echo "$as_me:$LINENO: checking for $ac_func" >&5
99502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99503 if eval "test \"\${$as_ac_var+set}\" = set"; then
99504 echo $ECHO_N "(cached) $ECHO_C" >&6
99505 else
99506 if test x$gcc_no_link = xyes; then
99507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99509 { (exit 1); exit 1; }; }
99511 cat >conftest.$ac_ext <<_ACEOF
99512 /* confdefs.h. */
99513 _ACEOF
99514 cat confdefs.h >>conftest.$ac_ext
99515 cat >>conftest.$ac_ext <<_ACEOF
99516 /* end confdefs.h. */
99517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99519 #define $ac_func innocuous_$ac_func
99521 /* System header to define __stub macros and hopefully few prototypes,
99522 which can conflict with char $ac_func (); below.
99523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99524 <limits.h> exists even on freestanding compilers. */
99526 #ifdef __STDC__
99527 # include <limits.h>
99528 #else
99529 # include <assert.h>
99530 #endif
99532 #undef $ac_func
99534 /* Override any gcc2 internal prototype to avoid an error. */
99535 #ifdef __cplusplus
99536 extern "C"
99538 #endif
99539 /* We use char because int might match the return type of a gcc2
99540 builtin and then its argument prototype would still apply. */
99541 char $ac_func ();
99542 /* The GNU C library defines this for functions which it implements
99543 to always fail with ENOSYS. Some functions are actually named
99544 something starting with __ and the normal name is an alias. */
99545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99546 choke me
99547 #else
99548 char (*f) () = $ac_func;
99549 #endif
99550 #ifdef __cplusplus
99552 #endif
99555 main ()
99557 return f != $ac_func;
99559 return 0;
99561 _ACEOF
99562 rm -f conftest.$ac_objext conftest$ac_exeext
99563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99564 (eval $ac_link) 2>conftest.er1
99565 ac_status=$?
99566 grep -v '^ *+' conftest.er1 >conftest.err
99567 rm -f conftest.er1
99568 cat conftest.err >&5
99569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99570 (exit $ac_status); } &&
99571 { ac_try='test -z "$ac_c_werror_flag"
99572 || test ! -s conftest.err'
99573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99574 (eval $ac_try) 2>&5
99575 ac_status=$?
99576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99577 (exit $ac_status); }; } &&
99578 { ac_try='test -s conftest$ac_exeext'
99579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99580 (eval $ac_try) 2>&5
99581 ac_status=$?
99582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99583 (exit $ac_status); }; }; then
99584 eval "$as_ac_var=yes"
99585 else
99586 echo "$as_me: failed program was:" >&5
99587 sed 's/^/| /' conftest.$ac_ext >&5
99589 eval "$as_ac_var=no"
99591 rm -f conftest.err conftest.$ac_objext \
99592 conftest$ac_exeext conftest.$ac_ext
99594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99596 if test `eval echo '${'$as_ac_var'}'` = yes; then
99597 cat >>confdefs.h <<_ACEOF
99598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99599 _ACEOF
99602 done
99612 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99613 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99614 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99615 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99616 echo $ECHO_N "(cached) $ECHO_C" >&6
99617 else
99621 ac_ext=cc
99622 ac_cpp='$CXXCPP $CPPFLAGS'
99623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99627 cat >conftest.$ac_ext <<_ACEOF
99628 /* confdefs.h. */
99629 _ACEOF
99630 cat confdefs.h >>conftest.$ac_ext
99631 cat >>conftest.$ac_ext <<_ACEOF
99632 /* end confdefs.h. */
99633 #include <math.h>
99635 main ()
99637 copysignl(0, 0);
99639 return 0;
99641 _ACEOF
99642 rm -f conftest.$ac_objext
99643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99644 (eval $ac_compile) 2>conftest.er1
99645 ac_status=$?
99646 grep -v '^ *+' conftest.er1 >conftest.err
99647 rm -f conftest.er1
99648 cat conftest.err >&5
99649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99650 (exit $ac_status); } &&
99651 { ac_try='test -z "$ac_cxx_werror_flag"
99652 || test ! -s conftest.err'
99653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99654 (eval $ac_try) 2>&5
99655 ac_status=$?
99656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99657 (exit $ac_status); }; } &&
99658 { ac_try='test -s conftest.$ac_objext'
99659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99660 (eval $ac_try) 2>&5
99661 ac_status=$?
99662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99663 (exit $ac_status); }; }; then
99664 glibcxx_cv_func_copysignl_use=yes
99665 else
99666 echo "$as_me: failed program was:" >&5
99667 sed 's/^/| /' conftest.$ac_ext >&5
99669 glibcxx_cv_func_copysignl_use=no
99671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99672 ac_ext=c
99673 ac_cpp='$CPP $CPPFLAGS'
99674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99683 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99685 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99687 for ac_func in copysignl
99689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99690 echo "$as_me:$LINENO: checking for $ac_func" >&5
99691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99692 if eval "test \"\${$as_ac_var+set}\" = set"; then
99693 echo $ECHO_N "(cached) $ECHO_C" >&6
99694 else
99695 if test x$gcc_no_link = xyes; then
99696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99698 { (exit 1); exit 1; }; }
99700 cat >conftest.$ac_ext <<_ACEOF
99701 /* confdefs.h. */
99702 _ACEOF
99703 cat confdefs.h >>conftest.$ac_ext
99704 cat >>conftest.$ac_ext <<_ACEOF
99705 /* end confdefs.h. */
99706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99708 #define $ac_func innocuous_$ac_func
99710 /* System header to define __stub macros and hopefully few prototypes,
99711 which can conflict with char $ac_func (); below.
99712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99713 <limits.h> exists even on freestanding compilers. */
99715 #ifdef __STDC__
99716 # include <limits.h>
99717 #else
99718 # include <assert.h>
99719 #endif
99721 #undef $ac_func
99723 /* Override any gcc2 internal prototype to avoid an error. */
99724 #ifdef __cplusplus
99725 extern "C"
99727 #endif
99728 /* We use char because int might match the return type of a gcc2
99729 builtin and then its argument prototype would still apply. */
99730 char $ac_func ();
99731 /* The GNU C library defines this for functions which it implements
99732 to always fail with ENOSYS. Some functions are actually named
99733 something starting with __ and the normal name is an alias. */
99734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99735 choke me
99736 #else
99737 char (*f) () = $ac_func;
99738 #endif
99739 #ifdef __cplusplus
99741 #endif
99744 main ()
99746 return f != $ac_func;
99748 return 0;
99750 _ACEOF
99751 rm -f conftest.$ac_objext conftest$ac_exeext
99752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99753 (eval $ac_link) 2>conftest.er1
99754 ac_status=$?
99755 grep -v '^ *+' conftest.er1 >conftest.err
99756 rm -f conftest.er1
99757 cat conftest.err >&5
99758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99759 (exit $ac_status); } &&
99760 { ac_try='test -z "$ac_c_werror_flag"
99761 || test ! -s conftest.err'
99762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99763 (eval $ac_try) 2>&5
99764 ac_status=$?
99765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99766 (exit $ac_status); }; } &&
99767 { ac_try='test -s conftest$ac_exeext'
99768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99769 (eval $ac_try) 2>&5
99770 ac_status=$?
99771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99772 (exit $ac_status); }; }; then
99773 eval "$as_ac_var=yes"
99774 else
99775 echo "$as_me: failed program was:" >&5
99776 sed 's/^/| /' conftest.$ac_ext >&5
99778 eval "$as_ac_var=no"
99780 rm -f conftest.err conftest.$ac_objext \
99781 conftest$ac_exeext conftest.$ac_ext
99783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99785 if test `eval echo '${'$as_ac_var'}'` = yes; then
99786 cat >>confdefs.h <<_ACEOF
99787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99788 _ACEOF
99791 done
99793 else
99795 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99796 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99797 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99798 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99799 echo $ECHO_N "(cached) $ECHO_C" >&6
99800 else
99804 ac_ext=cc
99805 ac_cpp='$CXXCPP $CPPFLAGS'
99806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99810 cat >conftest.$ac_ext <<_ACEOF
99811 /* confdefs.h. */
99812 _ACEOF
99813 cat confdefs.h >>conftest.$ac_ext
99814 cat >>conftest.$ac_ext <<_ACEOF
99815 /* end confdefs.h. */
99816 #include <math.h>
99818 main ()
99820 _copysignl(0, 0);
99822 return 0;
99824 _ACEOF
99825 rm -f conftest.$ac_objext
99826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99827 (eval $ac_compile) 2>conftest.er1
99828 ac_status=$?
99829 grep -v '^ *+' conftest.er1 >conftest.err
99830 rm -f conftest.er1
99831 cat conftest.err >&5
99832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99833 (exit $ac_status); } &&
99834 { ac_try='test -z "$ac_cxx_werror_flag"
99835 || test ! -s conftest.err'
99836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99837 (eval $ac_try) 2>&5
99838 ac_status=$?
99839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99840 (exit $ac_status); }; } &&
99841 { ac_try='test -s conftest.$ac_objext'
99842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99843 (eval $ac_try) 2>&5
99844 ac_status=$?
99845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99846 (exit $ac_status); }; }; then
99847 glibcxx_cv_func__copysignl_use=yes
99848 else
99849 echo "$as_me: failed program was:" >&5
99850 sed 's/^/| /' conftest.$ac_ext >&5
99852 glibcxx_cv_func__copysignl_use=no
99854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99855 ac_ext=c
99856 ac_cpp='$CPP $CPPFLAGS'
99857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99866 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99868 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99870 for ac_func in _copysignl
99872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99873 echo "$as_me:$LINENO: checking for $ac_func" >&5
99874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99875 if eval "test \"\${$as_ac_var+set}\" = set"; then
99876 echo $ECHO_N "(cached) $ECHO_C" >&6
99877 else
99878 if test x$gcc_no_link = xyes; then
99879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99881 { (exit 1); exit 1; }; }
99883 cat >conftest.$ac_ext <<_ACEOF
99884 /* confdefs.h. */
99885 _ACEOF
99886 cat confdefs.h >>conftest.$ac_ext
99887 cat >>conftest.$ac_ext <<_ACEOF
99888 /* end confdefs.h. */
99889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99891 #define $ac_func innocuous_$ac_func
99893 /* System header to define __stub macros and hopefully few prototypes,
99894 which can conflict with char $ac_func (); below.
99895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99896 <limits.h> exists even on freestanding compilers. */
99898 #ifdef __STDC__
99899 # include <limits.h>
99900 #else
99901 # include <assert.h>
99902 #endif
99904 #undef $ac_func
99906 /* Override any gcc2 internal prototype to avoid an error. */
99907 #ifdef __cplusplus
99908 extern "C"
99910 #endif
99911 /* We use char because int might match the return type of a gcc2
99912 builtin and then its argument prototype would still apply. */
99913 char $ac_func ();
99914 /* The GNU C library defines this for functions which it implements
99915 to always fail with ENOSYS. Some functions are actually named
99916 something starting with __ and the normal name is an alias. */
99917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99918 choke me
99919 #else
99920 char (*f) () = $ac_func;
99921 #endif
99922 #ifdef __cplusplus
99924 #endif
99927 main ()
99929 return f != $ac_func;
99931 return 0;
99933 _ACEOF
99934 rm -f conftest.$ac_objext conftest$ac_exeext
99935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99936 (eval $ac_link) 2>conftest.er1
99937 ac_status=$?
99938 grep -v '^ *+' conftest.er1 >conftest.err
99939 rm -f conftest.er1
99940 cat conftest.err >&5
99941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99942 (exit $ac_status); } &&
99943 { ac_try='test -z "$ac_c_werror_flag"
99944 || test ! -s conftest.err'
99945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99946 (eval $ac_try) 2>&5
99947 ac_status=$?
99948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99949 (exit $ac_status); }; } &&
99950 { ac_try='test -s conftest$ac_exeext'
99951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99952 (eval $ac_try) 2>&5
99953 ac_status=$?
99954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99955 (exit $ac_status); }; }; then
99956 eval "$as_ac_var=yes"
99957 else
99958 echo "$as_me: failed program was:" >&5
99959 sed 's/^/| /' conftest.$ac_ext >&5
99961 eval "$as_ac_var=no"
99963 rm -f conftest.err conftest.$ac_objext \
99964 conftest$ac_exeext conftest.$ac_ext
99966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99968 if test `eval echo '${'$as_ac_var'}'` = yes; then
99969 cat >>confdefs.h <<_ACEOF
99970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99971 _ACEOF
99974 done
99984 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99985 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99986 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99987 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99988 echo $ECHO_N "(cached) $ECHO_C" >&6
99989 else
99993 ac_ext=cc
99994 ac_cpp='$CXXCPP $CPPFLAGS'
99995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99999 cat >conftest.$ac_ext <<_ACEOF
100000 /* confdefs.h. */
100001 _ACEOF
100002 cat confdefs.h >>conftest.$ac_ext
100003 cat >>conftest.$ac_ext <<_ACEOF
100004 /* end confdefs.h. */
100005 #include <math.h>
100007 main ()
100009 atan2l(0, 0);
100011 return 0;
100013 _ACEOF
100014 rm -f conftest.$ac_objext
100015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100016 (eval $ac_compile) 2>conftest.er1
100017 ac_status=$?
100018 grep -v '^ *+' conftest.er1 >conftest.err
100019 rm -f conftest.er1
100020 cat conftest.err >&5
100021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100022 (exit $ac_status); } &&
100023 { ac_try='test -z "$ac_cxx_werror_flag"
100024 || test ! -s conftest.err'
100025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100026 (eval $ac_try) 2>&5
100027 ac_status=$?
100028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100029 (exit $ac_status); }; } &&
100030 { ac_try='test -s conftest.$ac_objext'
100031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100032 (eval $ac_try) 2>&5
100033 ac_status=$?
100034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100035 (exit $ac_status); }; }; then
100036 glibcxx_cv_func_atan2l_use=yes
100038 echo "$as_me: failed program was:" >&5
100039 sed 's/^/| /' conftest.$ac_ext >&5
100041 glibcxx_cv_func_atan2l_use=no
100043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100044 ac_ext=c
100045 ac_cpp='$CPP $CPPFLAGS'
100046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100055 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100057 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100059 for ac_func in atan2l
100061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100062 echo "$as_me:$LINENO: checking for $ac_func" >&5
100063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100064 if eval "test \"\${$as_ac_var+set}\" = set"; then
100065 echo $ECHO_N "(cached) $ECHO_C" >&6
100067 if test x$gcc_no_link = xyes; then
100068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100070 { (exit 1); exit 1; }; }
100072 cat >conftest.$ac_ext <<_ACEOF
100073 /* confdefs.h. */
100074 _ACEOF
100075 cat confdefs.h >>conftest.$ac_ext
100076 cat >>conftest.$ac_ext <<_ACEOF
100077 /* end confdefs.h. */
100078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100080 #define $ac_func innocuous_$ac_func
100082 /* System header to define __stub macros and hopefully few prototypes,
100083 which can conflict with char $ac_func (); below.
100084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100085 <limits.h> exists even on freestanding compilers. */
100087 #ifdef __STDC__
100088 # include <limits.h>
100089 #else
100090 # include <assert.h>
100091 #endif
100093 #undef $ac_func
100095 /* Override any gcc2 internal prototype to avoid an error. */
100096 #ifdef __cplusplus
100097 extern "C"
100099 #endif
100100 /* We use char because int might match the return type of a gcc2
100101 builtin and then its argument prototype would still apply. */
100102 char $ac_func ();
100103 /* The GNU C library defines this for functions which it implements
100104 to always fail with ENOSYS. Some functions are actually named
100105 something starting with __ and the normal name is an alias. */
100106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100107 choke me
100108 #else
100109 char (*f) () = $ac_func;
100110 #endif
100111 #ifdef __cplusplus
100113 #endif
100116 main ()
100118 return f != $ac_func;
100120 return 0;
100122 _ACEOF
100123 rm -f conftest.$ac_objext conftest$ac_exeext
100124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100125 (eval $ac_link) 2>conftest.er1
100126 ac_status=$?
100127 grep -v '^ *+' conftest.er1 >conftest.err
100128 rm -f conftest.er1
100129 cat conftest.err >&5
100130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100131 (exit $ac_status); } &&
100132 { ac_try='test -z "$ac_c_werror_flag"
100133 || test ! -s conftest.err'
100134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100135 (eval $ac_try) 2>&5
100136 ac_status=$?
100137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100138 (exit $ac_status); }; } &&
100139 { ac_try='test -s conftest$ac_exeext'
100140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100141 (eval $ac_try) 2>&5
100142 ac_status=$?
100143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100144 (exit $ac_status); }; }; then
100145 eval "$as_ac_var=yes"
100147 echo "$as_me: failed program was:" >&5
100148 sed 's/^/| /' conftest.$ac_ext >&5
100150 eval "$as_ac_var=no"
100152 rm -f conftest.err conftest.$ac_objext \
100153 conftest$ac_exeext conftest.$ac_ext
100155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100157 if test `eval echo '${'$as_ac_var'}'` = yes; then
100158 cat >>confdefs.h <<_ACEOF
100159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100160 _ACEOF
100167 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100168 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100169 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100170 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100171 echo $ECHO_N "(cached) $ECHO_C" >&6
100176 ac_ext=cc
100177 ac_cpp='$CXXCPP $CPPFLAGS'
100178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100182 cat >conftest.$ac_ext <<_ACEOF
100183 /* confdefs.h. */
100184 _ACEOF
100185 cat confdefs.h >>conftest.$ac_ext
100186 cat >>conftest.$ac_ext <<_ACEOF
100187 /* end confdefs.h. */
100188 #include <math.h>
100190 main ()
100192 _atan2l(0, 0);
100194 return 0;
100196 _ACEOF
100197 rm -f conftest.$ac_objext
100198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100199 (eval $ac_compile) 2>conftest.er1
100200 ac_status=$?
100201 grep -v '^ *+' conftest.er1 >conftest.err
100202 rm -f conftest.er1
100203 cat conftest.err >&5
100204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100205 (exit $ac_status); } &&
100206 { ac_try='test -z "$ac_cxx_werror_flag"
100207 || test ! -s conftest.err'
100208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100209 (eval $ac_try) 2>&5
100210 ac_status=$?
100211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100212 (exit $ac_status); }; } &&
100213 { ac_try='test -s conftest.$ac_objext'
100214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100215 (eval $ac_try) 2>&5
100216 ac_status=$?
100217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100218 (exit $ac_status); }; }; then
100219 glibcxx_cv_func__atan2l_use=yes
100221 echo "$as_me: failed program was:" >&5
100222 sed 's/^/| /' conftest.$ac_ext >&5
100224 glibcxx_cv_func__atan2l_use=no
100226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100227 ac_ext=c
100228 ac_cpp='$CPP $CPPFLAGS'
100229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100238 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100240 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100242 for ac_func in _atan2l
100244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100245 echo "$as_me:$LINENO: checking for $ac_func" >&5
100246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100247 if eval "test \"\${$as_ac_var+set}\" = set"; then
100248 echo $ECHO_N "(cached) $ECHO_C" >&6
100250 if test x$gcc_no_link = xyes; then
100251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100253 { (exit 1); exit 1; }; }
100255 cat >conftest.$ac_ext <<_ACEOF
100256 /* confdefs.h. */
100257 _ACEOF
100258 cat confdefs.h >>conftest.$ac_ext
100259 cat >>conftest.$ac_ext <<_ACEOF
100260 /* end confdefs.h. */
100261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100263 #define $ac_func innocuous_$ac_func
100265 /* System header to define __stub macros and hopefully few prototypes,
100266 which can conflict with char $ac_func (); below.
100267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100268 <limits.h> exists even on freestanding compilers. */
100270 #ifdef __STDC__
100271 # include <limits.h>
100272 #else
100273 # include <assert.h>
100274 #endif
100276 #undef $ac_func
100278 /* Override any gcc2 internal prototype to avoid an error. */
100279 #ifdef __cplusplus
100280 extern "C"
100282 #endif
100283 /* We use char because int might match the return type of a gcc2
100284 builtin and then its argument prototype would still apply. */
100285 char $ac_func ();
100286 /* The GNU C library defines this for functions which it implements
100287 to always fail with ENOSYS. Some functions are actually named
100288 something starting with __ and the normal name is an alias. */
100289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100290 choke me
100291 #else
100292 char (*f) () = $ac_func;
100293 #endif
100294 #ifdef __cplusplus
100296 #endif
100299 main ()
100301 return f != $ac_func;
100303 return 0;
100305 _ACEOF
100306 rm -f conftest.$ac_objext conftest$ac_exeext
100307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100308 (eval $ac_link) 2>conftest.er1
100309 ac_status=$?
100310 grep -v '^ *+' conftest.er1 >conftest.err
100311 rm -f conftest.er1
100312 cat conftest.err >&5
100313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100314 (exit $ac_status); } &&
100315 { ac_try='test -z "$ac_c_werror_flag"
100316 || test ! -s conftest.err'
100317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100318 (eval $ac_try) 2>&5
100319 ac_status=$?
100320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100321 (exit $ac_status); }; } &&
100322 { ac_try='test -s conftest$ac_exeext'
100323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100324 (eval $ac_try) 2>&5
100325 ac_status=$?
100326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100327 (exit $ac_status); }; }; then
100328 eval "$as_ac_var=yes"
100330 echo "$as_me: failed program was:" >&5
100331 sed 's/^/| /' conftest.$ac_ext >&5
100333 eval "$as_ac_var=no"
100335 rm -f conftest.err conftest.$ac_objext \
100336 conftest$ac_exeext conftest.$ac_ext
100338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100340 if test `eval echo '${'$as_ac_var'}'` = yes; then
100341 cat >>confdefs.h <<_ACEOF
100342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100343 _ACEOF
100356 echo "$as_me:$LINENO: checking for expl declaration" >&5
100357 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100358 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100359 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100360 echo $ECHO_N "(cached) $ECHO_C" >&6
100365 ac_ext=cc
100366 ac_cpp='$CXXCPP $CPPFLAGS'
100367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100371 cat >conftest.$ac_ext <<_ACEOF
100372 /* confdefs.h. */
100373 _ACEOF
100374 cat confdefs.h >>conftest.$ac_ext
100375 cat >>conftest.$ac_ext <<_ACEOF
100376 /* end confdefs.h. */
100377 #include <math.h>
100378 #ifdef HAVE_IEEEFP_H
100379 #include <ieeefp.h>
100380 #endif
100383 main ()
100385 expl(0);
100387 return 0;
100389 _ACEOF
100390 rm -f conftest.$ac_objext
100391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100392 (eval $ac_compile) 2>conftest.er1
100393 ac_status=$?
100394 grep -v '^ *+' conftest.er1 >conftest.err
100395 rm -f conftest.er1
100396 cat conftest.err >&5
100397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100398 (exit $ac_status); } &&
100399 { ac_try='test -z "$ac_cxx_werror_flag"
100400 || test ! -s conftest.err'
100401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100402 (eval $ac_try) 2>&5
100403 ac_status=$?
100404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100405 (exit $ac_status); }; } &&
100406 { ac_try='test -s conftest.$ac_objext'
100407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100408 (eval $ac_try) 2>&5
100409 ac_status=$?
100410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100411 (exit $ac_status); }; }; then
100412 glibcxx_cv_func_expl_use=yes
100414 echo "$as_me: failed program was:" >&5
100415 sed 's/^/| /' conftest.$ac_ext >&5
100417 glibcxx_cv_func_expl_use=no
100419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100420 ac_ext=c
100421 ac_cpp='$CPP $CPPFLAGS'
100422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100431 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100435 for ac_func in expl
100437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100438 echo "$as_me:$LINENO: checking for $ac_func" >&5
100439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100440 if eval "test \"\${$as_ac_var+set}\" = set"; then
100441 echo $ECHO_N "(cached) $ECHO_C" >&6
100443 if test x$gcc_no_link = xyes; then
100444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100446 { (exit 1); exit 1; }; }
100448 cat >conftest.$ac_ext <<_ACEOF
100449 /* confdefs.h. */
100450 _ACEOF
100451 cat confdefs.h >>conftest.$ac_ext
100452 cat >>conftest.$ac_ext <<_ACEOF
100453 /* end confdefs.h. */
100454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100456 #define $ac_func innocuous_$ac_func
100458 /* System header to define __stub macros and hopefully few prototypes,
100459 which can conflict with char $ac_func (); below.
100460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100461 <limits.h> exists even on freestanding compilers. */
100463 #ifdef __STDC__
100464 # include <limits.h>
100465 #else
100466 # include <assert.h>
100467 #endif
100469 #undef $ac_func
100471 /* Override any gcc2 internal prototype to avoid an error. */
100472 #ifdef __cplusplus
100473 extern "C"
100475 #endif
100476 /* We use char because int might match the return type of a gcc2
100477 builtin and then its argument prototype would still apply. */
100478 char $ac_func ();
100479 /* The GNU C library defines this for functions which it implements
100480 to always fail with ENOSYS. Some functions are actually named
100481 something starting with __ and the normal name is an alias. */
100482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100483 choke me
100484 #else
100485 char (*f) () = $ac_func;
100486 #endif
100487 #ifdef __cplusplus
100489 #endif
100492 main ()
100494 return f != $ac_func;
100496 return 0;
100498 _ACEOF
100499 rm -f conftest.$ac_objext conftest$ac_exeext
100500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100501 (eval $ac_link) 2>conftest.er1
100502 ac_status=$?
100503 grep -v '^ *+' conftest.er1 >conftest.err
100504 rm -f conftest.er1
100505 cat conftest.err >&5
100506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100507 (exit $ac_status); } &&
100508 { ac_try='test -z "$ac_c_werror_flag"
100509 || test ! -s conftest.err'
100510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100511 (eval $ac_try) 2>&5
100512 ac_status=$?
100513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100514 (exit $ac_status); }; } &&
100515 { ac_try='test -s conftest$ac_exeext'
100516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100517 (eval $ac_try) 2>&5
100518 ac_status=$?
100519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100520 (exit $ac_status); }; }; then
100521 eval "$as_ac_var=yes"
100523 echo "$as_me: failed program was:" >&5
100524 sed 's/^/| /' conftest.$ac_ext >&5
100526 eval "$as_ac_var=no"
100528 rm -f conftest.err conftest.$ac_objext \
100529 conftest$ac_exeext conftest.$ac_ext
100531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100533 if test `eval echo '${'$as_ac_var'}'` = yes; then
100534 cat >>confdefs.h <<_ACEOF
100535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100536 _ACEOF
100543 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100544 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100545 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100546 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100547 echo $ECHO_N "(cached) $ECHO_C" >&6
100552 ac_ext=cc
100553 ac_cpp='$CXXCPP $CPPFLAGS'
100554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100558 cat >conftest.$ac_ext <<_ACEOF
100559 /* confdefs.h. */
100560 _ACEOF
100561 cat confdefs.h >>conftest.$ac_ext
100562 cat >>conftest.$ac_ext <<_ACEOF
100563 /* end confdefs.h. */
100564 #include <math.h>
100565 #ifdef HAVE_IEEEFP_H
100566 #include <ieeefp.h>
100567 #endif
100570 main ()
100572 _expl(0);
100574 return 0;
100576 _ACEOF
100577 rm -f conftest.$ac_objext
100578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100579 (eval $ac_compile) 2>conftest.er1
100580 ac_status=$?
100581 grep -v '^ *+' conftest.er1 >conftest.err
100582 rm -f conftest.er1
100583 cat conftest.err >&5
100584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100585 (exit $ac_status); } &&
100586 { ac_try='test -z "$ac_cxx_werror_flag"
100587 || test ! -s conftest.err'
100588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100589 (eval $ac_try) 2>&5
100590 ac_status=$?
100591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100592 (exit $ac_status); }; } &&
100593 { ac_try='test -s conftest.$ac_objext'
100594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100595 (eval $ac_try) 2>&5
100596 ac_status=$?
100597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100598 (exit $ac_status); }; }; then
100599 glibcxx_cv_func__expl_use=yes
100601 echo "$as_me: failed program was:" >&5
100602 sed 's/^/| /' conftest.$ac_ext >&5
100604 glibcxx_cv_func__expl_use=no
100606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100607 ac_ext=c
100608 ac_cpp='$CPP $CPPFLAGS'
100609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100618 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100620 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100622 for ac_func in _expl
100624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100625 echo "$as_me:$LINENO: checking for $ac_func" >&5
100626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100627 if eval "test \"\${$as_ac_var+set}\" = set"; then
100628 echo $ECHO_N "(cached) $ECHO_C" >&6
100630 if test x$gcc_no_link = xyes; then
100631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100633 { (exit 1); exit 1; }; }
100635 cat >conftest.$ac_ext <<_ACEOF
100636 /* confdefs.h. */
100637 _ACEOF
100638 cat confdefs.h >>conftest.$ac_ext
100639 cat >>conftest.$ac_ext <<_ACEOF
100640 /* end confdefs.h. */
100641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100643 #define $ac_func innocuous_$ac_func
100645 /* System header to define __stub macros and hopefully few prototypes,
100646 which can conflict with char $ac_func (); below.
100647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100648 <limits.h> exists even on freestanding compilers. */
100650 #ifdef __STDC__
100651 # include <limits.h>
100652 #else
100653 # include <assert.h>
100654 #endif
100656 #undef $ac_func
100658 /* Override any gcc2 internal prototype to avoid an error. */
100659 #ifdef __cplusplus
100660 extern "C"
100662 #endif
100663 /* We use char because int might match the return type of a gcc2
100664 builtin and then its argument prototype would still apply. */
100665 char $ac_func ();
100666 /* The GNU C library defines this for functions which it implements
100667 to always fail with ENOSYS. Some functions are actually named
100668 something starting with __ and the normal name is an alias. */
100669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100670 choke me
100671 #else
100672 char (*f) () = $ac_func;
100673 #endif
100674 #ifdef __cplusplus
100676 #endif
100679 main ()
100681 return f != $ac_func;
100683 return 0;
100685 _ACEOF
100686 rm -f conftest.$ac_objext conftest$ac_exeext
100687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100688 (eval $ac_link) 2>conftest.er1
100689 ac_status=$?
100690 grep -v '^ *+' conftest.er1 >conftest.err
100691 rm -f conftest.er1
100692 cat conftest.err >&5
100693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100694 (exit $ac_status); } &&
100695 { ac_try='test -z "$ac_c_werror_flag"
100696 || test ! -s conftest.err'
100697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100698 (eval $ac_try) 2>&5
100699 ac_status=$?
100700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100701 (exit $ac_status); }; } &&
100702 { ac_try='test -s conftest$ac_exeext'
100703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100704 (eval $ac_try) 2>&5
100705 ac_status=$?
100706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100707 (exit $ac_status); }; }; then
100708 eval "$as_ac_var=yes"
100710 echo "$as_me: failed program was:" >&5
100711 sed 's/^/| /' conftest.$ac_ext >&5
100713 eval "$as_ac_var=no"
100715 rm -f conftest.err conftest.$ac_objext \
100716 conftest$ac_exeext conftest.$ac_ext
100718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100720 if test `eval echo '${'$as_ac_var'}'` = yes; then
100721 cat >>confdefs.h <<_ACEOF
100722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100723 _ACEOF
100736 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100737 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100738 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100739 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100740 echo $ECHO_N "(cached) $ECHO_C" >&6
100745 ac_ext=cc
100746 ac_cpp='$CXXCPP $CPPFLAGS'
100747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100751 cat >conftest.$ac_ext <<_ACEOF
100752 /* confdefs.h. */
100753 _ACEOF
100754 cat confdefs.h >>conftest.$ac_ext
100755 cat >>conftest.$ac_ext <<_ACEOF
100756 /* end confdefs.h. */
100757 #include <math.h>
100758 #ifdef HAVE_IEEEFP_H
100759 #include <ieeefp.h>
100760 #endif
100763 main ()
100765 fabsl(0);
100767 return 0;
100769 _ACEOF
100770 rm -f conftest.$ac_objext
100771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100772 (eval $ac_compile) 2>conftest.er1
100773 ac_status=$?
100774 grep -v '^ *+' conftest.er1 >conftest.err
100775 rm -f conftest.er1
100776 cat conftest.err >&5
100777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100778 (exit $ac_status); } &&
100779 { ac_try='test -z "$ac_cxx_werror_flag"
100780 || test ! -s conftest.err'
100781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100782 (eval $ac_try) 2>&5
100783 ac_status=$?
100784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100785 (exit $ac_status); }; } &&
100786 { ac_try='test -s conftest.$ac_objext'
100787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100788 (eval $ac_try) 2>&5
100789 ac_status=$?
100790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100791 (exit $ac_status); }; }; then
100792 glibcxx_cv_func_fabsl_use=yes
100794 echo "$as_me: failed program was:" >&5
100795 sed 's/^/| /' conftest.$ac_ext >&5
100797 glibcxx_cv_func_fabsl_use=no
100799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100800 ac_ext=c
100801 ac_cpp='$CPP $CPPFLAGS'
100802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100811 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100813 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100815 for ac_func in fabsl
100817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100818 echo "$as_me:$LINENO: checking for $ac_func" >&5
100819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100820 if eval "test \"\${$as_ac_var+set}\" = set"; then
100821 echo $ECHO_N "(cached) $ECHO_C" >&6
100823 if test x$gcc_no_link = xyes; then
100824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100826 { (exit 1); exit 1; }; }
100828 cat >conftest.$ac_ext <<_ACEOF
100829 /* confdefs.h. */
100830 _ACEOF
100831 cat confdefs.h >>conftest.$ac_ext
100832 cat >>conftest.$ac_ext <<_ACEOF
100833 /* end confdefs.h. */
100834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100836 #define $ac_func innocuous_$ac_func
100838 /* System header to define __stub macros and hopefully few prototypes,
100839 which can conflict with char $ac_func (); below.
100840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100841 <limits.h> exists even on freestanding compilers. */
100843 #ifdef __STDC__
100844 # include <limits.h>
100845 #else
100846 # include <assert.h>
100847 #endif
100849 #undef $ac_func
100851 /* Override any gcc2 internal prototype to avoid an error. */
100852 #ifdef __cplusplus
100853 extern "C"
100855 #endif
100856 /* We use char because int might match the return type of a gcc2
100857 builtin and then its argument prototype would still apply. */
100858 char $ac_func ();
100859 /* The GNU C library defines this for functions which it implements
100860 to always fail with ENOSYS. Some functions are actually named
100861 something starting with __ and the normal name is an alias. */
100862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100863 choke me
100864 #else
100865 char (*f) () = $ac_func;
100866 #endif
100867 #ifdef __cplusplus
100869 #endif
100872 main ()
100874 return f != $ac_func;
100876 return 0;
100878 _ACEOF
100879 rm -f conftest.$ac_objext conftest$ac_exeext
100880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100881 (eval $ac_link) 2>conftest.er1
100882 ac_status=$?
100883 grep -v '^ *+' conftest.er1 >conftest.err
100884 rm -f conftest.er1
100885 cat conftest.err >&5
100886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100887 (exit $ac_status); } &&
100888 { ac_try='test -z "$ac_c_werror_flag"
100889 || test ! -s conftest.err'
100890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100891 (eval $ac_try) 2>&5
100892 ac_status=$?
100893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100894 (exit $ac_status); }; } &&
100895 { ac_try='test -s conftest$ac_exeext'
100896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100897 (eval $ac_try) 2>&5
100898 ac_status=$?
100899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100900 (exit $ac_status); }; }; then
100901 eval "$as_ac_var=yes"
100903 echo "$as_me: failed program was:" >&5
100904 sed 's/^/| /' conftest.$ac_ext >&5
100906 eval "$as_ac_var=no"
100908 rm -f conftest.err conftest.$ac_objext \
100909 conftest$ac_exeext conftest.$ac_ext
100911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100913 if test `eval echo '${'$as_ac_var'}'` = yes; then
100914 cat >>confdefs.h <<_ACEOF
100915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100916 _ACEOF
100923 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100924 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100925 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100926 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100927 echo $ECHO_N "(cached) $ECHO_C" >&6
100932 ac_ext=cc
100933 ac_cpp='$CXXCPP $CPPFLAGS'
100934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100938 cat >conftest.$ac_ext <<_ACEOF
100939 /* confdefs.h. */
100940 _ACEOF
100941 cat confdefs.h >>conftest.$ac_ext
100942 cat >>conftest.$ac_ext <<_ACEOF
100943 /* end confdefs.h. */
100944 #include <math.h>
100945 #ifdef HAVE_IEEEFP_H
100946 #include <ieeefp.h>
100947 #endif
100950 main ()
100952 _fabsl(0);
100954 return 0;
100956 _ACEOF
100957 rm -f conftest.$ac_objext
100958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100959 (eval $ac_compile) 2>conftest.er1
100960 ac_status=$?
100961 grep -v '^ *+' conftest.er1 >conftest.err
100962 rm -f conftest.er1
100963 cat conftest.err >&5
100964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100965 (exit $ac_status); } &&
100966 { ac_try='test -z "$ac_cxx_werror_flag"
100967 || test ! -s conftest.err'
100968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100969 (eval $ac_try) 2>&5
100970 ac_status=$?
100971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100972 (exit $ac_status); }; } &&
100973 { ac_try='test -s conftest.$ac_objext'
100974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100975 (eval $ac_try) 2>&5
100976 ac_status=$?
100977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100978 (exit $ac_status); }; }; then
100979 glibcxx_cv_func__fabsl_use=yes
100981 echo "$as_me: failed program was:" >&5
100982 sed 's/^/| /' conftest.$ac_ext >&5
100984 glibcxx_cv_func__fabsl_use=no
100986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100987 ac_ext=c
100988 ac_cpp='$CPP $CPPFLAGS'
100989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100998 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101000 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101002 for ac_func in _fabsl
101004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101005 echo "$as_me:$LINENO: checking for $ac_func" >&5
101006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101007 if eval "test \"\${$as_ac_var+set}\" = set"; then
101008 echo $ECHO_N "(cached) $ECHO_C" >&6
101010 if test x$gcc_no_link = xyes; then
101011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101013 { (exit 1); exit 1; }; }
101015 cat >conftest.$ac_ext <<_ACEOF
101016 /* confdefs.h. */
101017 _ACEOF
101018 cat confdefs.h >>conftest.$ac_ext
101019 cat >>conftest.$ac_ext <<_ACEOF
101020 /* end confdefs.h. */
101021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101023 #define $ac_func innocuous_$ac_func
101025 /* System header to define __stub macros and hopefully few prototypes,
101026 which can conflict with char $ac_func (); below.
101027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101028 <limits.h> exists even on freestanding compilers. */
101030 #ifdef __STDC__
101031 # include <limits.h>
101032 #else
101033 # include <assert.h>
101034 #endif
101036 #undef $ac_func
101038 /* Override any gcc2 internal prototype to avoid an error. */
101039 #ifdef __cplusplus
101040 extern "C"
101042 #endif
101043 /* We use char because int might match the return type of a gcc2
101044 builtin and then its argument prototype would still apply. */
101045 char $ac_func ();
101046 /* The GNU C library defines this for functions which it implements
101047 to always fail with ENOSYS. Some functions are actually named
101048 something starting with __ and the normal name is an alias. */
101049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101050 choke me
101051 #else
101052 char (*f) () = $ac_func;
101053 #endif
101054 #ifdef __cplusplus
101056 #endif
101059 main ()
101061 return f != $ac_func;
101063 return 0;
101065 _ACEOF
101066 rm -f conftest.$ac_objext conftest$ac_exeext
101067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101068 (eval $ac_link) 2>conftest.er1
101069 ac_status=$?
101070 grep -v '^ *+' conftest.er1 >conftest.err
101071 rm -f conftest.er1
101072 cat conftest.err >&5
101073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101074 (exit $ac_status); } &&
101075 { ac_try='test -z "$ac_c_werror_flag"
101076 || test ! -s conftest.err'
101077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101078 (eval $ac_try) 2>&5
101079 ac_status=$?
101080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101081 (exit $ac_status); }; } &&
101082 { ac_try='test -s conftest$ac_exeext'
101083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101084 (eval $ac_try) 2>&5
101085 ac_status=$?
101086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101087 (exit $ac_status); }; }; then
101088 eval "$as_ac_var=yes"
101090 echo "$as_me: failed program was:" >&5
101091 sed 's/^/| /' conftest.$ac_ext >&5
101093 eval "$as_ac_var=no"
101095 rm -f conftest.err conftest.$ac_objext \
101096 conftest$ac_exeext conftest.$ac_ext
101098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101100 if test `eval echo '${'$as_ac_var'}'` = yes; then
101101 cat >>confdefs.h <<_ACEOF
101102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101103 _ACEOF
101116 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101117 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101118 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101119 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101120 echo $ECHO_N "(cached) $ECHO_C" >&6
101125 ac_ext=cc
101126 ac_cpp='$CXXCPP $CPPFLAGS'
101127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101131 cat >conftest.$ac_ext <<_ACEOF
101132 /* confdefs.h. */
101133 _ACEOF
101134 cat confdefs.h >>conftest.$ac_ext
101135 cat >>conftest.$ac_ext <<_ACEOF
101136 /* end confdefs.h. */
101137 #include <math.h>
101139 main ()
101141 fmodl(0, 0);
101143 return 0;
101145 _ACEOF
101146 rm -f conftest.$ac_objext
101147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101148 (eval $ac_compile) 2>conftest.er1
101149 ac_status=$?
101150 grep -v '^ *+' conftest.er1 >conftest.err
101151 rm -f conftest.er1
101152 cat conftest.err >&5
101153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101154 (exit $ac_status); } &&
101155 { ac_try='test -z "$ac_cxx_werror_flag"
101156 || test ! -s conftest.err'
101157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101158 (eval $ac_try) 2>&5
101159 ac_status=$?
101160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101161 (exit $ac_status); }; } &&
101162 { ac_try='test -s conftest.$ac_objext'
101163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101164 (eval $ac_try) 2>&5
101165 ac_status=$?
101166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101167 (exit $ac_status); }; }; then
101168 glibcxx_cv_func_fmodl_use=yes
101170 echo "$as_me: failed program was:" >&5
101171 sed 's/^/| /' conftest.$ac_ext >&5
101173 glibcxx_cv_func_fmodl_use=no
101175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101176 ac_ext=c
101177 ac_cpp='$CPP $CPPFLAGS'
101178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101187 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101189 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101191 for ac_func in fmodl
101193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101194 echo "$as_me:$LINENO: checking for $ac_func" >&5
101195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101196 if eval "test \"\${$as_ac_var+set}\" = set"; then
101197 echo $ECHO_N "(cached) $ECHO_C" >&6
101199 if test x$gcc_no_link = xyes; then
101200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101202 { (exit 1); exit 1; }; }
101204 cat >conftest.$ac_ext <<_ACEOF
101205 /* confdefs.h. */
101206 _ACEOF
101207 cat confdefs.h >>conftest.$ac_ext
101208 cat >>conftest.$ac_ext <<_ACEOF
101209 /* end confdefs.h. */
101210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101212 #define $ac_func innocuous_$ac_func
101214 /* System header to define __stub macros and hopefully few prototypes,
101215 which can conflict with char $ac_func (); below.
101216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101217 <limits.h> exists even on freestanding compilers. */
101219 #ifdef __STDC__
101220 # include <limits.h>
101221 #else
101222 # include <assert.h>
101223 #endif
101225 #undef $ac_func
101227 /* Override any gcc2 internal prototype to avoid an error. */
101228 #ifdef __cplusplus
101229 extern "C"
101231 #endif
101232 /* We use char because int might match the return type of a gcc2
101233 builtin and then its argument prototype would still apply. */
101234 char $ac_func ();
101235 /* The GNU C library defines this for functions which it implements
101236 to always fail with ENOSYS. Some functions are actually named
101237 something starting with __ and the normal name is an alias. */
101238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101239 choke me
101240 #else
101241 char (*f) () = $ac_func;
101242 #endif
101243 #ifdef __cplusplus
101245 #endif
101248 main ()
101250 return f != $ac_func;
101252 return 0;
101254 _ACEOF
101255 rm -f conftest.$ac_objext conftest$ac_exeext
101256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101257 (eval $ac_link) 2>conftest.er1
101258 ac_status=$?
101259 grep -v '^ *+' conftest.er1 >conftest.err
101260 rm -f conftest.er1
101261 cat conftest.err >&5
101262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101263 (exit $ac_status); } &&
101264 { ac_try='test -z "$ac_c_werror_flag"
101265 || test ! -s conftest.err'
101266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101267 (eval $ac_try) 2>&5
101268 ac_status=$?
101269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101270 (exit $ac_status); }; } &&
101271 { ac_try='test -s conftest$ac_exeext'
101272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101273 (eval $ac_try) 2>&5
101274 ac_status=$?
101275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101276 (exit $ac_status); }; }; then
101277 eval "$as_ac_var=yes"
101279 echo "$as_me: failed program was:" >&5
101280 sed 's/^/| /' conftest.$ac_ext >&5
101282 eval "$as_ac_var=no"
101284 rm -f conftest.err conftest.$ac_objext \
101285 conftest$ac_exeext conftest.$ac_ext
101287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101289 if test `eval echo '${'$as_ac_var'}'` = yes; then
101290 cat >>confdefs.h <<_ACEOF
101291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101292 _ACEOF
101299 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101300 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101301 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101302 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101303 echo $ECHO_N "(cached) $ECHO_C" >&6
101308 ac_ext=cc
101309 ac_cpp='$CXXCPP $CPPFLAGS'
101310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101314 cat >conftest.$ac_ext <<_ACEOF
101315 /* confdefs.h. */
101316 _ACEOF
101317 cat confdefs.h >>conftest.$ac_ext
101318 cat >>conftest.$ac_ext <<_ACEOF
101319 /* end confdefs.h. */
101320 #include <math.h>
101322 main ()
101324 _fmodl(0, 0);
101326 return 0;
101328 _ACEOF
101329 rm -f conftest.$ac_objext
101330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101331 (eval $ac_compile) 2>conftest.er1
101332 ac_status=$?
101333 grep -v '^ *+' conftest.er1 >conftest.err
101334 rm -f conftest.er1
101335 cat conftest.err >&5
101336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101337 (exit $ac_status); } &&
101338 { ac_try='test -z "$ac_cxx_werror_flag"
101339 || test ! -s conftest.err'
101340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101341 (eval $ac_try) 2>&5
101342 ac_status=$?
101343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101344 (exit $ac_status); }; } &&
101345 { ac_try='test -s conftest.$ac_objext'
101346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101347 (eval $ac_try) 2>&5
101348 ac_status=$?
101349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101350 (exit $ac_status); }; }; then
101351 glibcxx_cv_func__fmodl_use=yes
101353 echo "$as_me: failed program was:" >&5
101354 sed 's/^/| /' conftest.$ac_ext >&5
101356 glibcxx_cv_func__fmodl_use=no
101358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101359 ac_ext=c
101360 ac_cpp='$CPP $CPPFLAGS'
101361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101370 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101372 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101374 for ac_func in _fmodl
101376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101377 echo "$as_me:$LINENO: checking for $ac_func" >&5
101378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101379 if eval "test \"\${$as_ac_var+set}\" = set"; then
101380 echo $ECHO_N "(cached) $ECHO_C" >&6
101382 if test x$gcc_no_link = xyes; then
101383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101385 { (exit 1); exit 1; }; }
101387 cat >conftest.$ac_ext <<_ACEOF
101388 /* confdefs.h. */
101389 _ACEOF
101390 cat confdefs.h >>conftest.$ac_ext
101391 cat >>conftest.$ac_ext <<_ACEOF
101392 /* end confdefs.h. */
101393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101395 #define $ac_func innocuous_$ac_func
101397 /* System header to define __stub macros and hopefully few prototypes,
101398 which can conflict with char $ac_func (); below.
101399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101400 <limits.h> exists even on freestanding compilers. */
101402 #ifdef __STDC__
101403 # include <limits.h>
101404 #else
101405 # include <assert.h>
101406 #endif
101408 #undef $ac_func
101410 /* Override any gcc2 internal prototype to avoid an error. */
101411 #ifdef __cplusplus
101412 extern "C"
101414 #endif
101415 /* We use char because int might match the return type of a gcc2
101416 builtin and then its argument prototype would still apply. */
101417 char $ac_func ();
101418 /* The GNU C library defines this for functions which it implements
101419 to always fail with ENOSYS. Some functions are actually named
101420 something starting with __ and the normal name is an alias. */
101421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101422 choke me
101423 #else
101424 char (*f) () = $ac_func;
101425 #endif
101426 #ifdef __cplusplus
101428 #endif
101431 main ()
101433 return f != $ac_func;
101435 return 0;
101437 _ACEOF
101438 rm -f conftest.$ac_objext conftest$ac_exeext
101439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101440 (eval $ac_link) 2>conftest.er1
101441 ac_status=$?
101442 grep -v '^ *+' conftest.er1 >conftest.err
101443 rm -f conftest.er1
101444 cat conftest.err >&5
101445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101446 (exit $ac_status); } &&
101447 { ac_try='test -z "$ac_c_werror_flag"
101448 || test ! -s conftest.err'
101449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101450 (eval $ac_try) 2>&5
101451 ac_status=$?
101452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101453 (exit $ac_status); }; } &&
101454 { ac_try='test -s conftest$ac_exeext'
101455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101456 (eval $ac_try) 2>&5
101457 ac_status=$?
101458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101459 (exit $ac_status); }; }; then
101460 eval "$as_ac_var=yes"
101462 echo "$as_me: failed program was:" >&5
101463 sed 's/^/| /' conftest.$ac_ext >&5
101465 eval "$as_ac_var=no"
101467 rm -f conftest.err conftest.$ac_objext \
101468 conftest$ac_exeext conftest.$ac_ext
101470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101472 if test `eval echo '${'$as_ac_var'}'` = yes; then
101473 cat >>confdefs.h <<_ACEOF
101474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101475 _ACEOF
101488 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101489 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101490 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101491 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101492 echo $ECHO_N "(cached) $ECHO_C" >&6
101497 ac_ext=cc
101498 ac_cpp='$CXXCPP $CPPFLAGS'
101499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101503 cat >conftest.$ac_ext <<_ACEOF
101504 /* confdefs.h. */
101505 _ACEOF
101506 cat confdefs.h >>conftest.$ac_ext
101507 cat >>conftest.$ac_ext <<_ACEOF
101508 /* end confdefs.h. */
101509 #include <math.h>
101511 main ()
101513 frexpl(0, 0);
101515 return 0;
101517 _ACEOF
101518 rm -f conftest.$ac_objext
101519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101520 (eval $ac_compile) 2>conftest.er1
101521 ac_status=$?
101522 grep -v '^ *+' conftest.er1 >conftest.err
101523 rm -f conftest.er1
101524 cat conftest.err >&5
101525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101526 (exit $ac_status); } &&
101527 { ac_try='test -z "$ac_cxx_werror_flag"
101528 || test ! -s conftest.err'
101529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101530 (eval $ac_try) 2>&5
101531 ac_status=$?
101532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101533 (exit $ac_status); }; } &&
101534 { ac_try='test -s conftest.$ac_objext'
101535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101536 (eval $ac_try) 2>&5
101537 ac_status=$?
101538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101539 (exit $ac_status); }; }; then
101540 glibcxx_cv_func_frexpl_use=yes
101542 echo "$as_me: failed program was:" >&5
101543 sed 's/^/| /' conftest.$ac_ext >&5
101545 glibcxx_cv_func_frexpl_use=no
101547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101548 ac_ext=c
101549 ac_cpp='$CPP $CPPFLAGS'
101550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101559 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101561 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101563 for ac_func in frexpl
101565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101566 echo "$as_me:$LINENO: checking for $ac_func" >&5
101567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101568 if eval "test \"\${$as_ac_var+set}\" = set"; then
101569 echo $ECHO_N "(cached) $ECHO_C" >&6
101571 if test x$gcc_no_link = xyes; then
101572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101574 { (exit 1); exit 1; }; }
101576 cat >conftest.$ac_ext <<_ACEOF
101577 /* confdefs.h. */
101578 _ACEOF
101579 cat confdefs.h >>conftest.$ac_ext
101580 cat >>conftest.$ac_ext <<_ACEOF
101581 /* end confdefs.h. */
101582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101584 #define $ac_func innocuous_$ac_func
101586 /* System header to define __stub macros and hopefully few prototypes,
101587 which can conflict with char $ac_func (); below.
101588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101589 <limits.h> exists even on freestanding compilers. */
101591 #ifdef __STDC__
101592 # include <limits.h>
101593 #else
101594 # include <assert.h>
101595 #endif
101597 #undef $ac_func
101599 /* Override any gcc2 internal prototype to avoid an error. */
101600 #ifdef __cplusplus
101601 extern "C"
101603 #endif
101604 /* We use char because int might match the return type of a gcc2
101605 builtin and then its argument prototype would still apply. */
101606 char $ac_func ();
101607 /* The GNU C library defines this for functions which it implements
101608 to always fail with ENOSYS. Some functions are actually named
101609 something starting with __ and the normal name is an alias. */
101610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101611 choke me
101612 #else
101613 char (*f) () = $ac_func;
101614 #endif
101615 #ifdef __cplusplus
101617 #endif
101620 main ()
101622 return f != $ac_func;
101624 return 0;
101626 _ACEOF
101627 rm -f conftest.$ac_objext conftest$ac_exeext
101628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101629 (eval $ac_link) 2>conftest.er1
101630 ac_status=$?
101631 grep -v '^ *+' conftest.er1 >conftest.err
101632 rm -f conftest.er1
101633 cat conftest.err >&5
101634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101635 (exit $ac_status); } &&
101636 { ac_try='test -z "$ac_c_werror_flag"
101637 || test ! -s conftest.err'
101638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101639 (eval $ac_try) 2>&5
101640 ac_status=$?
101641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101642 (exit $ac_status); }; } &&
101643 { ac_try='test -s conftest$ac_exeext'
101644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101645 (eval $ac_try) 2>&5
101646 ac_status=$?
101647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101648 (exit $ac_status); }; }; then
101649 eval "$as_ac_var=yes"
101651 echo "$as_me: failed program was:" >&5
101652 sed 's/^/| /' conftest.$ac_ext >&5
101654 eval "$as_ac_var=no"
101656 rm -f conftest.err conftest.$ac_objext \
101657 conftest$ac_exeext conftest.$ac_ext
101659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101661 if test `eval echo '${'$as_ac_var'}'` = yes; then
101662 cat >>confdefs.h <<_ACEOF
101663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101664 _ACEOF
101671 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101672 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101673 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101674 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101675 echo $ECHO_N "(cached) $ECHO_C" >&6
101680 ac_ext=cc
101681 ac_cpp='$CXXCPP $CPPFLAGS'
101682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101686 cat >conftest.$ac_ext <<_ACEOF
101687 /* confdefs.h. */
101688 _ACEOF
101689 cat confdefs.h >>conftest.$ac_ext
101690 cat >>conftest.$ac_ext <<_ACEOF
101691 /* end confdefs.h. */
101692 #include <math.h>
101694 main ()
101696 _frexpl(0, 0);
101698 return 0;
101700 _ACEOF
101701 rm -f conftest.$ac_objext
101702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101703 (eval $ac_compile) 2>conftest.er1
101704 ac_status=$?
101705 grep -v '^ *+' conftest.er1 >conftest.err
101706 rm -f conftest.er1
101707 cat conftest.err >&5
101708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101709 (exit $ac_status); } &&
101710 { ac_try='test -z "$ac_cxx_werror_flag"
101711 || test ! -s conftest.err'
101712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101713 (eval $ac_try) 2>&5
101714 ac_status=$?
101715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101716 (exit $ac_status); }; } &&
101717 { ac_try='test -s conftest.$ac_objext'
101718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101719 (eval $ac_try) 2>&5
101720 ac_status=$?
101721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101722 (exit $ac_status); }; }; then
101723 glibcxx_cv_func__frexpl_use=yes
101725 echo "$as_me: failed program was:" >&5
101726 sed 's/^/| /' conftest.$ac_ext >&5
101728 glibcxx_cv_func__frexpl_use=no
101730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101731 ac_ext=c
101732 ac_cpp='$CPP $CPPFLAGS'
101733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101742 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101744 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101746 for ac_func in _frexpl
101748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101749 echo "$as_me:$LINENO: checking for $ac_func" >&5
101750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101751 if eval "test \"\${$as_ac_var+set}\" = set"; then
101752 echo $ECHO_N "(cached) $ECHO_C" >&6
101754 if test x$gcc_no_link = xyes; then
101755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101757 { (exit 1); exit 1; }; }
101759 cat >conftest.$ac_ext <<_ACEOF
101760 /* confdefs.h. */
101761 _ACEOF
101762 cat confdefs.h >>conftest.$ac_ext
101763 cat >>conftest.$ac_ext <<_ACEOF
101764 /* end confdefs.h. */
101765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101767 #define $ac_func innocuous_$ac_func
101769 /* System header to define __stub macros and hopefully few prototypes,
101770 which can conflict with char $ac_func (); below.
101771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101772 <limits.h> exists even on freestanding compilers. */
101774 #ifdef __STDC__
101775 # include <limits.h>
101776 #else
101777 # include <assert.h>
101778 #endif
101780 #undef $ac_func
101782 /* Override any gcc2 internal prototype to avoid an error. */
101783 #ifdef __cplusplus
101784 extern "C"
101786 #endif
101787 /* We use char because int might match the return type of a gcc2
101788 builtin and then its argument prototype would still apply. */
101789 char $ac_func ();
101790 /* The GNU C library defines this for functions which it implements
101791 to always fail with ENOSYS. Some functions are actually named
101792 something starting with __ and the normal name is an alias. */
101793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101794 choke me
101795 #else
101796 char (*f) () = $ac_func;
101797 #endif
101798 #ifdef __cplusplus
101800 #endif
101803 main ()
101805 return f != $ac_func;
101807 return 0;
101809 _ACEOF
101810 rm -f conftest.$ac_objext conftest$ac_exeext
101811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101812 (eval $ac_link) 2>conftest.er1
101813 ac_status=$?
101814 grep -v '^ *+' conftest.er1 >conftest.err
101815 rm -f conftest.er1
101816 cat conftest.err >&5
101817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101818 (exit $ac_status); } &&
101819 { ac_try='test -z "$ac_c_werror_flag"
101820 || test ! -s conftest.err'
101821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101822 (eval $ac_try) 2>&5
101823 ac_status=$?
101824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101825 (exit $ac_status); }; } &&
101826 { ac_try='test -s conftest$ac_exeext'
101827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101828 (eval $ac_try) 2>&5
101829 ac_status=$?
101830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101831 (exit $ac_status); }; }; then
101832 eval "$as_ac_var=yes"
101834 echo "$as_me: failed program was:" >&5
101835 sed 's/^/| /' conftest.$ac_ext >&5
101837 eval "$as_ac_var=no"
101839 rm -f conftest.err conftest.$ac_objext \
101840 conftest$ac_exeext conftest.$ac_ext
101842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101844 if test `eval echo '${'$as_ac_var'}'` = yes; then
101845 cat >>confdefs.h <<_ACEOF
101846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101847 _ACEOF
101860 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101861 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101862 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101863 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101864 echo $ECHO_N "(cached) $ECHO_C" >&6
101869 ac_ext=cc
101870 ac_cpp='$CXXCPP $CPPFLAGS'
101871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101875 cat >conftest.$ac_ext <<_ACEOF
101876 /* confdefs.h. */
101877 _ACEOF
101878 cat confdefs.h >>conftest.$ac_ext
101879 cat >>conftest.$ac_ext <<_ACEOF
101880 /* end confdefs.h. */
101881 #include <math.h>
101883 main ()
101885 hypotl(0, 0);
101887 return 0;
101889 _ACEOF
101890 rm -f conftest.$ac_objext
101891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101892 (eval $ac_compile) 2>conftest.er1
101893 ac_status=$?
101894 grep -v '^ *+' conftest.er1 >conftest.err
101895 rm -f conftest.er1
101896 cat conftest.err >&5
101897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101898 (exit $ac_status); } &&
101899 { ac_try='test -z "$ac_cxx_werror_flag"
101900 || test ! -s conftest.err'
101901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101902 (eval $ac_try) 2>&5
101903 ac_status=$?
101904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101905 (exit $ac_status); }; } &&
101906 { ac_try='test -s conftest.$ac_objext'
101907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101908 (eval $ac_try) 2>&5
101909 ac_status=$?
101910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101911 (exit $ac_status); }; }; then
101912 glibcxx_cv_func_hypotl_use=yes
101914 echo "$as_me: failed program was:" >&5
101915 sed 's/^/| /' conftest.$ac_ext >&5
101917 glibcxx_cv_func_hypotl_use=no
101919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101920 ac_ext=c
101921 ac_cpp='$CPP $CPPFLAGS'
101922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101931 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101933 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101935 for ac_func in hypotl
101937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101938 echo "$as_me:$LINENO: checking for $ac_func" >&5
101939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101940 if eval "test \"\${$as_ac_var+set}\" = set"; then
101941 echo $ECHO_N "(cached) $ECHO_C" >&6
101943 if test x$gcc_no_link = xyes; then
101944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101946 { (exit 1); exit 1; }; }
101948 cat >conftest.$ac_ext <<_ACEOF
101949 /* confdefs.h. */
101950 _ACEOF
101951 cat confdefs.h >>conftest.$ac_ext
101952 cat >>conftest.$ac_ext <<_ACEOF
101953 /* end confdefs.h. */
101954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101956 #define $ac_func innocuous_$ac_func
101958 /* System header to define __stub macros and hopefully few prototypes,
101959 which can conflict with char $ac_func (); below.
101960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101961 <limits.h> exists even on freestanding compilers. */
101963 #ifdef __STDC__
101964 # include <limits.h>
101965 #else
101966 # include <assert.h>
101967 #endif
101969 #undef $ac_func
101971 /* Override any gcc2 internal prototype to avoid an error. */
101972 #ifdef __cplusplus
101973 extern "C"
101975 #endif
101976 /* We use char because int might match the return type of a gcc2
101977 builtin and then its argument prototype would still apply. */
101978 char $ac_func ();
101979 /* The GNU C library defines this for functions which it implements
101980 to always fail with ENOSYS. Some functions are actually named
101981 something starting with __ and the normal name is an alias. */
101982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101983 choke me
101984 #else
101985 char (*f) () = $ac_func;
101986 #endif
101987 #ifdef __cplusplus
101989 #endif
101992 main ()
101994 return f != $ac_func;
101996 return 0;
101998 _ACEOF
101999 rm -f conftest.$ac_objext conftest$ac_exeext
102000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102001 (eval $ac_link) 2>conftest.er1
102002 ac_status=$?
102003 grep -v '^ *+' conftest.er1 >conftest.err
102004 rm -f conftest.er1
102005 cat conftest.err >&5
102006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102007 (exit $ac_status); } &&
102008 { ac_try='test -z "$ac_c_werror_flag"
102009 || test ! -s conftest.err'
102010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102011 (eval $ac_try) 2>&5
102012 ac_status=$?
102013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102014 (exit $ac_status); }; } &&
102015 { ac_try='test -s conftest$ac_exeext'
102016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102017 (eval $ac_try) 2>&5
102018 ac_status=$?
102019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102020 (exit $ac_status); }; }; then
102021 eval "$as_ac_var=yes"
102023 echo "$as_me: failed program was:" >&5
102024 sed 's/^/| /' conftest.$ac_ext >&5
102026 eval "$as_ac_var=no"
102028 rm -f conftest.err conftest.$ac_objext \
102029 conftest$ac_exeext conftest.$ac_ext
102031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102033 if test `eval echo '${'$as_ac_var'}'` = yes; then
102034 cat >>confdefs.h <<_ACEOF
102035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102036 _ACEOF
102043 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102044 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102045 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102046 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102047 echo $ECHO_N "(cached) $ECHO_C" >&6
102052 ac_ext=cc
102053 ac_cpp='$CXXCPP $CPPFLAGS'
102054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102058 cat >conftest.$ac_ext <<_ACEOF
102059 /* confdefs.h. */
102060 _ACEOF
102061 cat confdefs.h >>conftest.$ac_ext
102062 cat >>conftest.$ac_ext <<_ACEOF
102063 /* end confdefs.h. */
102064 #include <math.h>
102066 main ()
102068 _hypotl(0, 0);
102070 return 0;
102072 _ACEOF
102073 rm -f conftest.$ac_objext
102074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102075 (eval $ac_compile) 2>conftest.er1
102076 ac_status=$?
102077 grep -v '^ *+' conftest.er1 >conftest.err
102078 rm -f conftest.er1
102079 cat conftest.err >&5
102080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102081 (exit $ac_status); } &&
102082 { ac_try='test -z "$ac_cxx_werror_flag"
102083 || test ! -s conftest.err'
102084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102085 (eval $ac_try) 2>&5
102086 ac_status=$?
102087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102088 (exit $ac_status); }; } &&
102089 { ac_try='test -s conftest.$ac_objext'
102090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102091 (eval $ac_try) 2>&5
102092 ac_status=$?
102093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102094 (exit $ac_status); }; }; then
102095 glibcxx_cv_func__hypotl_use=yes
102097 echo "$as_me: failed program was:" >&5
102098 sed 's/^/| /' conftest.$ac_ext >&5
102100 glibcxx_cv_func__hypotl_use=no
102102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102103 ac_ext=c
102104 ac_cpp='$CPP $CPPFLAGS'
102105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102114 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102116 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102118 for ac_func in _hypotl
102120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102121 echo "$as_me:$LINENO: checking for $ac_func" >&5
102122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102123 if eval "test \"\${$as_ac_var+set}\" = set"; then
102124 echo $ECHO_N "(cached) $ECHO_C" >&6
102126 if test x$gcc_no_link = xyes; then
102127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102129 { (exit 1); exit 1; }; }
102131 cat >conftest.$ac_ext <<_ACEOF
102132 /* confdefs.h. */
102133 _ACEOF
102134 cat confdefs.h >>conftest.$ac_ext
102135 cat >>conftest.$ac_ext <<_ACEOF
102136 /* end confdefs.h. */
102137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102139 #define $ac_func innocuous_$ac_func
102141 /* System header to define __stub macros and hopefully few prototypes,
102142 which can conflict with char $ac_func (); below.
102143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102144 <limits.h> exists even on freestanding compilers. */
102146 #ifdef __STDC__
102147 # include <limits.h>
102148 #else
102149 # include <assert.h>
102150 #endif
102152 #undef $ac_func
102154 /* Override any gcc2 internal prototype to avoid an error. */
102155 #ifdef __cplusplus
102156 extern "C"
102158 #endif
102159 /* We use char because int might match the return type of a gcc2
102160 builtin and then its argument prototype would still apply. */
102161 char $ac_func ();
102162 /* The GNU C library defines this for functions which it implements
102163 to always fail with ENOSYS. Some functions are actually named
102164 something starting with __ and the normal name is an alias. */
102165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102166 choke me
102167 #else
102168 char (*f) () = $ac_func;
102169 #endif
102170 #ifdef __cplusplus
102172 #endif
102175 main ()
102177 return f != $ac_func;
102179 return 0;
102181 _ACEOF
102182 rm -f conftest.$ac_objext conftest$ac_exeext
102183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102184 (eval $ac_link) 2>conftest.er1
102185 ac_status=$?
102186 grep -v '^ *+' conftest.er1 >conftest.err
102187 rm -f conftest.er1
102188 cat conftest.err >&5
102189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102190 (exit $ac_status); } &&
102191 { ac_try='test -z "$ac_c_werror_flag"
102192 || test ! -s conftest.err'
102193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102194 (eval $ac_try) 2>&5
102195 ac_status=$?
102196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102197 (exit $ac_status); }; } &&
102198 { ac_try='test -s conftest$ac_exeext'
102199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102200 (eval $ac_try) 2>&5
102201 ac_status=$?
102202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102203 (exit $ac_status); }; }; then
102204 eval "$as_ac_var=yes"
102206 echo "$as_me: failed program was:" >&5
102207 sed 's/^/| /' conftest.$ac_ext >&5
102209 eval "$as_ac_var=no"
102211 rm -f conftest.err conftest.$ac_objext \
102212 conftest$ac_exeext conftest.$ac_ext
102214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102216 if test `eval echo '${'$as_ac_var'}'` = yes; then
102217 cat >>confdefs.h <<_ACEOF
102218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102219 _ACEOF
102232 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102233 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102234 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102235 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102236 echo $ECHO_N "(cached) $ECHO_C" >&6
102241 ac_ext=cc
102242 ac_cpp='$CXXCPP $CPPFLAGS'
102243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102247 cat >conftest.$ac_ext <<_ACEOF
102248 /* confdefs.h. */
102249 _ACEOF
102250 cat confdefs.h >>conftest.$ac_ext
102251 cat >>conftest.$ac_ext <<_ACEOF
102252 /* end confdefs.h. */
102253 #include <math.h>
102255 main ()
102257 ldexpl(0, 0);
102259 return 0;
102261 _ACEOF
102262 rm -f conftest.$ac_objext
102263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102264 (eval $ac_compile) 2>conftest.er1
102265 ac_status=$?
102266 grep -v '^ *+' conftest.er1 >conftest.err
102267 rm -f conftest.er1
102268 cat conftest.err >&5
102269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102270 (exit $ac_status); } &&
102271 { ac_try='test -z "$ac_cxx_werror_flag"
102272 || test ! -s conftest.err'
102273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102274 (eval $ac_try) 2>&5
102275 ac_status=$?
102276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102277 (exit $ac_status); }; } &&
102278 { ac_try='test -s conftest.$ac_objext'
102279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102280 (eval $ac_try) 2>&5
102281 ac_status=$?
102282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102283 (exit $ac_status); }; }; then
102284 glibcxx_cv_func_ldexpl_use=yes
102286 echo "$as_me: failed program was:" >&5
102287 sed 's/^/| /' conftest.$ac_ext >&5
102289 glibcxx_cv_func_ldexpl_use=no
102291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102292 ac_ext=c
102293 ac_cpp='$CPP $CPPFLAGS'
102294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102302 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102303 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102305 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102307 for ac_func in ldexpl
102309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102310 echo "$as_me:$LINENO: checking for $ac_func" >&5
102311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102312 if eval "test \"\${$as_ac_var+set}\" = set"; then
102313 echo $ECHO_N "(cached) $ECHO_C" >&6
102315 if test x$gcc_no_link = xyes; then
102316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102318 { (exit 1); exit 1; }; }
102320 cat >conftest.$ac_ext <<_ACEOF
102321 /* confdefs.h. */
102322 _ACEOF
102323 cat confdefs.h >>conftest.$ac_ext
102324 cat >>conftest.$ac_ext <<_ACEOF
102325 /* end confdefs.h. */
102326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102328 #define $ac_func innocuous_$ac_func
102330 /* System header to define __stub macros and hopefully few prototypes,
102331 which can conflict with char $ac_func (); below.
102332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102333 <limits.h> exists even on freestanding compilers. */
102335 #ifdef __STDC__
102336 # include <limits.h>
102337 #else
102338 # include <assert.h>
102339 #endif
102341 #undef $ac_func
102343 /* Override any gcc2 internal prototype to avoid an error. */
102344 #ifdef __cplusplus
102345 extern "C"
102347 #endif
102348 /* We use char because int might match the return type of a gcc2
102349 builtin and then its argument prototype would still apply. */
102350 char $ac_func ();
102351 /* The GNU C library defines this for functions which it implements
102352 to always fail with ENOSYS. Some functions are actually named
102353 something starting with __ and the normal name is an alias. */
102354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102355 choke me
102356 #else
102357 char (*f) () = $ac_func;
102358 #endif
102359 #ifdef __cplusplus
102361 #endif
102364 main ()
102366 return f != $ac_func;
102368 return 0;
102370 _ACEOF
102371 rm -f conftest.$ac_objext conftest$ac_exeext
102372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102373 (eval $ac_link) 2>conftest.er1
102374 ac_status=$?
102375 grep -v '^ *+' conftest.er1 >conftest.err
102376 rm -f conftest.er1
102377 cat conftest.err >&5
102378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102379 (exit $ac_status); } &&
102380 { ac_try='test -z "$ac_c_werror_flag"
102381 || test ! -s conftest.err'
102382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102383 (eval $ac_try) 2>&5
102384 ac_status=$?
102385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102386 (exit $ac_status); }; } &&
102387 { ac_try='test -s conftest$ac_exeext'
102388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102389 (eval $ac_try) 2>&5
102390 ac_status=$?
102391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102392 (exit $ac_status); }; }; then
102393 eval "$as_ac_var=yes"
102395 echo "$as_me: failed program was:" >&5
102396 sed 's/^/| /' conftest.$ac_ext >&5
102398 eval "$as_ac_var=no"
102400 rm -f conftest.err conftest.$ac_objext \
102401 conftest$ac_exeext conftest.$ac_ext
102403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102405 if test `eval echo '${'$as_ac_var'}'` = yes; then
102406 cat >>confdefs.h <<_ACEOF
102407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102408 _ACEOF
102415 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102416 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102417 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102418 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102419 echo $ECHO_N "(cached) $ECHO_C" >&6
102424 ac_ext=cc
102425 ac_cpp='$CXXCPP $CPPFLAGS'
102426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102430 cat >conftest.$ac_ext <<_ACEOF
102431 /* confdefs.h. */
102432 _ACEOF
102433 cat confdefs.h >>conftest.$ac_ext
102434 cat >>conftest.$ac_ext <<_ACEOF
102435 /* end confdefs.h. */
102436 #include <math.h>
102438 main ()
102440 _ldexpl(0, 0);
102442 return 0;
102444 _ACEOF
102445 rm -f conftest.$ac_objext
102446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102447 (eval $ac_compile) 2>conftest.er1
102448 ac_status=$?
102449 grep -v '^ *+' conftest.er1 >conftest.err
102450 rm -f conftest.er1
102451 cat conftest.err >&5
102452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102453 (exit $ac_status); } &&
102454 { ac_try='test -z "$ac_cxx_werror_flag"
102455 || test ! -s conftest.err'
102456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102457 (eval $ac_try) 2>&5
102458 ac_status=$?
102459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102460 (exit $ac_status); }; } &&
102461 { ac_try='test -s conftest.$ac_objext'
102462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102463 (eval $ac_try) 2>&5
102464 ac_status=$?
102465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102466 (exit $ac_status); }; }; then
102467 glibcxx_cv_func__ldexpl_use=yes
102469 echo "$as_me: failed program was:" >&5
102470 sed 's/^/| /' conftest.$ac_ext >&5
102472 glibcxx_cv_func__ldexpl_use=no
102474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102475 ac_ext=c
102476 ac_cpp='$CPP $CPPFLAGS'
102477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102486 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102488 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102490 for ac_func in _ldexpl
102492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102493 echo "$as_me:$LINENO: checking for $ac_func" >&5
102494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102495 if eval "test \"\${$as_ac_var+set}\" = set"; then
102496 echo $ECHO_N "(cached) $ECHO_C" >&6
102498 if test x$gcc_no_link = xyes; then
102499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102501 { (exit 1); exit 1; }; }
102503 cat >conftest.$ac_ext <<_ACEOF
102504 /* confdefs.h. */
102505 _ACEOF
102506 cat confdefs.h >>conftest.$ac_ext
102507 cat >>conftest.$ac_ext <<_ACEOF
102508 /* end confdefs.h. */
102509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102511 #define $ac_func innocuous_$ac_func
102513 /* System header to define __stub macros and hopefully few prototypes,
102514 which can conflict with char $ac_func (); below.
102515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102516 <limits.h> exists even on freestanding compilers. */
102518 #ifdef __STDC__
102519 # include <limits.h>
102520 #else
102521 # include <assert.h>
102522 #endif
102524 #undef $ac_func
102526 /* Override any gcc2 internal prototype to avoid an error. */
102527 #ifdef __cplusplus
102528 extern "C"
102530 #endif
102531 /* We use char because int might match the return type of a gcc2
102532 builtin and then its argument prototype would still apply. */
102533 char $ac_func ();
102534 /* The GNU C library defines this for functions which it implements
102535 to always fail with ENOSYS. Some functions are actually named
102536 something starting with __ and the normal name is an alias. */
102537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102538 choke me
102539 #else
102540 char (*f) () = $ac_func;
102541 #endif
102542 #ifdef __cplusplus
102544 #endif
102547 main ()
102549 return f != $ac_func;
102551 return 0;
102553 _ACEOF
102554 rm -f conftest.$ac_objext conftest$ac_exeext
102555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102556 (eval $ac_link) 2>conftest.er1
102557 ac_status=$?
102558 grep -v '^ *+' conftest.er1 >conftest.err
102559 rm -f conftest.er1
102560 cat conftest.err >&5
102561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102562 (exit $ac_status); } &&
102563 { ac_try='test -z "$ac_c_werror_flag"
102564 || test ! -s conftest.err'
102565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102566 (eval $ac_try) 2>&5
102567 ac_status=$?
102568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102569 (exit $ac_status); }; } &&
102570 { ac_try='test -s conftest$ac_exeext'
102571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102572 (eval $ac_try) 2>&5
102573 ac_status=$?
102574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102575 (exit $ac_status); }; }; then
102576 eval "$as_ac_var=yes"
102578 echo "$as_me: failed program was:" >&5
102579 sed 's/^/| /' conftest.$ac_ext >&5
102581 eval "$as_ac_var=no"
102583 rm -f conftest.err conftest.$ac_objext \
102584 conftest$ac_exeext conftest.$ac_ext
102586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102588 if test `eval echo '${'$as_ac_var'}'` = yes; then
102589 cat >>confdefs.h <<_ACEOF
102590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102591 _ACEOF
102604 echo "$as_me:$LINENO: checking for logl declaration" >&5
102605 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102606 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102607 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102608 echo $ECHO_N "(cached) $ECHO_C" >&6
102613 ac_ext=cc
102614 ac_cpp='$CXXCPP $CPPFLAGS'
102615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102619 cat >conftest.$ac_ext <<_ACEOF
102620 /* confdefs.h. */
102621 _ACEOF
102622 cat confdefs.h >>conftest.$ac_ext
102623 cat >>conftest.$ac_ext <<_ACEOF
102624 /* end confdefs.h. */
102625 #include <math.h>
102626 #ifdef HAVE_IEEEFP_H
102627 #include <ieeefp.h>
102628 #endif
102631 main ()
102633 logl(0);
102635 return 0;
102637 _ACEOF
102638 rm -f conftest.$ac_objext
102639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102640 (eval $ac_compile) 2>conftest.er1
102641 ac_status=$?
102642 grep -v '^ *+' conftest.er1 >conftest.err
102643 rm -f conftest.er1
102644 cat conftest.err >&5
102645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102646 (exit $ac_status); } &&
102647 { ac_try='test -z "$ac_cxx_werror_flag"
102648 || test ! -s conftest.err'
102649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102650 (eval $ac_try) 2>&5
102651 ac_status=$?
102652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102653 (exit $ac_status); }; } &&
102654 { ac_try='test -s conftest.$ac_objext'
102655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102656 (eval $ac_try) 2>&5
102657 ac_status=$?
102658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102659 (exit $ac_status); }; }; then
102660 glibcxx_cv_func_logl_use=yes
102662 echo "$as_me: failed program was:" >&5
102663 sed 's/^/| /' conftest.$ac_ext >&5
102665 glibcxx_cv_func_logl_use=no
102667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102668 ac_ext=c
102669 ac_cpp='$CPP $CPPFLAGS'
102670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102679 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102681 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102683 for ac_func in logl
102685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102686 echo "$as_me:$LINENO: checking for $ac_func" >&5
102687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102688 if eval "test \"\${$as_ac_var+set}\" = set"; then
102689 echo $ECHO_N "(cached) $ECHO_C" >&6
102691 if test x$gcc_no_link = xyes; then
102692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102694 { (exit 1); exit 1; }; }
102696 cat >conftest.$ac_ext <<_ACEOF
102697 /* confdefs.h. */
102698 _ACEOF
102699 cat confdefs.h >>conftest.$ac_ext
102700 cat >>conftest.$ac_ext <<_ACEOF
102701 /* end confdefs.h. */
102702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102704 #define $ac_func innocuous_$ac_func
102706 /* System header to define __stub macros and hopefully few prototypes,
102707 which can conflict with char $ac_func (); below.
102708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102709 <limits.h> exists even on freestanding compilers. */
102711 #ifdef __STDC__
102712 # include <limits.h>
102713 #else
102714 # include <assert.h>
102715 #endif
102717 #undef $ac_func
102719 /* Override any gcc2 internal prototype to avoid an error. */
102720 #ifdef __cplusplus
102721 extern "C"
102723 #endif
102724 /* We use char because int might match the return type of a gcc2
102725 builtin and then its argument prototype would still apply. */
102726 char $ac_func ();
102727 /* The GNU C library defines this for functions which it implements
102728 to always fail with ENOSYS. Some functions are actually named
102729 something starting with __ and the normal name is an alias. */
102730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102731 choke me
102732 #else
102733 char (*f) () = $ac_func;
102734 #endif
102735 #ifdef __cplusplus
102737 #endif
102740 main ()
102742 return f != $ac_func;
102744 return 0;
102746 _ACEOF
102747 rm -f conftest.$ac_objext conftest$ac_exeext
102748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102749 (eval $ac_link) 2>conftest.er1
102750 ac_status=$?
102751 grep -v '^ *+' conftest.er1 >conftest.err
102752 rm -f conftest.er1
102753 cat conftest.err >&5
102754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102755 (exit $ac_status); } &&
102756 { ac_try='test -z "$ac_c_werror_flag"
102757 || test ! -s conftest.err'
102758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102759 (eval $ac_try) 2>&5
102760 ac_status=$?
102761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102762 (exit $ac_status); }; } &&
102763 { ac_try='test -s conftest$ac_exeext'
102764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102765 (eval $ac_try) 2>&5
102766 ac_status=$?
102767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102768 (exit $ac_status); }; }; then
102769 eval "$as_ac_var=yes"
102771 echo "$as_me: failed program was:" >&5
102772 sed 's/^/| /' conftest.$ac_ext >&5
102774 eval "$as_ac_var=no"
102776 rm -f conftest.err conftest.$ac_objext \
102777 conftest$ac_exeext conftest.$ac_ext
102779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102781 if test `eval echo '${'$as_ac_var'}'` = yes; then
102782 cat >>confdefs.h <<_ACEOF
102783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102784 _ACEOF
102791 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102792 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102794 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102795 echo $ECHO_N "(cached) $ECHO_C" >&6
102800 ac_ext=cc
102801 ac_cpp='$CXXCPP $CPPFLAGS'
102802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102806 cat >conftest.$ac_ext <<_ACEOF
102807 /* confdefs.h. */
102808 _ACEOF
102809 cat confdefs.h >>conftest.$ac_ext
102810 cat >>conftest.$ac_ext <<_ACEOF
102811 /* end confdefs.h. */
102812 #include <math.h>
102813 #ifdef HAVE_IEEEFP_H
102814 #include <ieeefp.h>
102815 #endif
102818 main ()
102820 _logl(0);
102822 return 0;
102824 _ACEOF
102825 rm -f conftest.$ac_objext
102826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102827 (eval $ac_compile) 2>conftest.er1
102828 ac_status=$?
102829 grep -v '^ *+' conftest.er1 >conftest.err
102830 rm -f conftest.er1
102831 cat conftest.err >&5
102832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102833 (exit $ac_status); } &&
102834 { ac_try='test -z "$ac_cxx_werror_flag"
102835 || test ! -s conftest.err'
102836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102837 (eval $ac_try) 2>&5
102838 ac_status=$?
102839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102840 (exit $ac_status); }; } &&
102841 { ac_try='test -s conftest.$ac_objext'
102842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102843 (eval $ac_try) 2>&5
102844 ac_status=$?
102845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102846 (exit $ac_status); }; }; then
102847 glibcxx_cv_func__logl_use=yes
102849 echo "$as_me: failed program was:" >&5
102850 sed 's/^/| /' conftest.$ac_ext >&5
102852 glibcxx_cv_func__logl_use=no
102854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102855 ac_ext=c
102856 ac_cpp='$CPP $CPPFLAGS'
102857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102866 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102868 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102870 for ac_func in _logl
102872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102873 echo "$as_me:$LINENO: checking for $ac_func" >&5
102874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102875 if eval "test \"\${$as_ac_var+set}\" = set"; then
102876 echo $ECHO_N "(cached) $ECHO_C" >&6
102878 if test x$gcc_no_link = xyes; then
102879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102881 { (exit 1); exit 1; }; }
102883 cat >conftest.$ac_ext <<_ACEOF
102884 /* confdefs.h. */
102885 _ACEOF
102886 cat confdefs.h >>conftest.$ac_ext
102887 cat >>conftest.$ac_ext <<_ACEOF
102888 /* end confdefs.h. */
102889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102891 #define $ac_func innocuous_$ac_func
102893 /* System header to define __stub macros and hopefully few prototypes,
102894 which can conflict with char $ac_func (); below.
102895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102896 <limits.h> exists even on freestanding compilers. */
102898 #ifdef __STDC__
102899 # include <limits.h>
102900 #else
102901 # include <assert.h>
102902 #endif
102904 #undef $ac_func
102906 /* Override any gcc2 internal prototype to avoid an error. */
102907 #ifdef __cplusplus
102908 extern "C"
102910 #endif
102911 /* We use char because int might match the return type of a gcc2
102912 builtin and then its argument prototype would still apply. */
102913 char $ac_func ();
102914 /* The GNU C library defines this for functions which it implements
102915 to always fail with ENOSYS. Some functions are actually named
102916 something starting with __ and the normal name is an alias. */
102917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102918 choke me
102919 #else
102920 char (*f) () = $ac_func;
102921 #endif
102922 #ifdef __cplusplus
102924 #endif
102927 main ()
102929 return f != $ac_func;
102931 return 0;
102933 _ACEOF
102934 rm -f conftest.$ac_objext conftest$ac_exeext
102935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102936 (eval $ac_link) 2>conftest.er1
102937 ac_status=$?
102938 grep -v '^ *+' conftest.er1 >conftest.err
102939 rm -f conftest.er1
102940 cat conftest.err >&5
102941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102942 (exit $ac_status); } &&
102943 { ac_try='test -z "$ac_c_werror_flag"
102944 || test ! -s conftest.err'
102945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102946 (eval $ac_try) 2>&5
102947 ac_status=$?
102948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102949 (exit $ac_status); }; } &&
102950 { ac_try='test -s conftest$ac_exeext'
102951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102952 (eval $ac_try) 2>&5
102953 ac_status=$?
102954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102955 (exit $ac_status); }; }; then
102956 eval "$as_ac_var=yes"
102958 echo "$as_me: failed program was:" >&5
102959 sed 's/^/| /' conftest.$ac_ext >&5
102961 eval "$as_ac_var=no"
102963 rm -f conftest.err conftest.$ac_objext \
102964 conftest$ac_exeext conftest.$ac_ext
102966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102968 if test `eval echo '${'$as_ac_var'}'` = yes; then
102969 cat >>confdefs.h <<_ACEOF
102970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102971 _ACEOF
102984 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102985 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102986 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102987 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102988 echo $ECHO_N "(cached) $ECHO_C" >&6
102993 ac_ext=cc
102994 ac_cpp='$CXXCPP $CPPFLAGS'
102995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102999 cat >conftest.$ac_ext <<_ACEOF
103000 /* confdefs.h. */
103001 _ACEOF
103002 cat confdefs.h >>conftest.$ac_ext
103003 cat >>conftest.$ac_ext <<_ACEOF
103004 /* end confdefs.h. */
103005 #include <math.h>
103006 #ifdef HAVE_IEEEFP_H
103007 #include <ieeefp.h>
103008 #endif
103011 main ()
103013 log10l(0);
103015 return 0;
103017 _ACEOF
103018 rm -f conftest.$ac_objext
103019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103020 (eval $ac_compile) 2>conftest.er1
103021 ac_status=$?
103022 grep -v '^ *+' conftest.er1 >conftest.err
103023 rm -f conftest.er1
103024 cat conftest.err >&5
103025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103026 (exit $ac_status); } &&
103027 { ac_try='test -z "$ac_cxx_werror_flag"
103028 || test ! -s conftest.err'
103029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103030 (eval $ac_try) 2>&5
103031 ac_status=$?
103032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103033 (exit $ac_status); }; } &&
103034 { ac_try='test -s conftest.$ac_objext'
103035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103036 (eval $ac_try) 2>&5
103037 ac_status=$?
103038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103039 (exit $ac_status); }; }; then
103040 glibcxx_cv_func_log10l_use=yes
103042 echo "$as_me: failed program was:" >&5
103043 sed 's/^/| /' conftest.$ac_ext >&5
103045 glibcxx_cv_func_log10l_use=no
103047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103048 ac_ext=c
103049 ac_cpp='$CPP $CPPFLAGS'
103050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103059 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103063 for ac_func in log10l
103065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103066 echo "$as_me:$LINENO: checking for $ac_func" >&5
103067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103068 if eval "test \"\${$as_ac_var+set}\" = set"; then
103069 echo $ECHO_N "(cached) $ECHO_C" >&6
103071 if test x$gcc_no_link = xyes; then
103072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103074 { (exit 1); exit 1; }; }
103076 cat >conftest.$ac_ext <<_ACEOF
103077 /* confdefs.h. */
103078 _ACEOF
103079 cat confdefs.h >>conftest.$ac_ext
103080 cat >>conftest.$ac_ext <<_ACEOF
103081 /* end confdefs.h. */
103082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103084 #define $ac_func innocuous_$ac_func
103086 /* System header to define __stub macros and hopefully few prototypes,
103087 which can conflict with char $ac_func (); below.
103088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103089 <limits.h> exists even on freestanding compilers. */
103091 #ifdef __STDC__
103092 # include <limits.h>
103093 #else
103094 # include <assert.h>
103095 #endif
103097 #undef $ac_func
103099 /* Override any gcc2 internal prototype to avoid an error. */
103100 #ifdef __cplusplus
103101 extern "C"
103103 #endif
103104 /* We use char because int might match the return type of a gcc2
103105 builtin and then its argument prototype would still apply. */
103106 char $ac_func ();
103107 /* The GNU C library defines this for functions which it implements
103108 to always fail with ENOSYS. Some functions are actually named
103109 something starting with __ and the normal name is an alias. */
103110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103111 choke me
103112 #else
103113 char (*f) () = $ac_func;
103114 #endif
103115 #ifdef __cplusplus
103117 #endif
103120 main ()
103122 return f != $ac_func;
103124 return 0;
103126 _ACEOF
103127 rm -f conftest.$ac_objext conftest$ac_exeext
103128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103129 (eval $ac_link) 2>conftest.er1
103130 ac_status=$?
103131 grep -v '^ *+' conftest.er1 >conftest.err
103132 rm -f conftest.er1
103133 cat conftest.err >&5
103134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103135 (exit $ac_status); } &&
103136 { ac_try='test -z "$ac_c_werror_flag"
103137 || test ! -s conftest.err'
103138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103139 (eval $ac_try) 2>&5
103140 ac_status=$?
103141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103142 (exit $ac_status); }; } &&
103143 { ac_try='test -s conftest$ac_exeext'
103144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103145 (eval $ac_try) 2>&5
103146 ac_status=$?
103147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103148 (exit $ac_status); }; }; then
103149 eval "$as_ac_var=yes"
103151 echo "$as_me: failed program was:" >&5
103152 sed 's/^/| /' conftest.$ac_ext >&5
103154 eval "$as_ac_var=no"
103156 rm -f conftest.err conftest.$ac_objext \
103157 conftest$ac_exeext conftest.$ac_ext
103159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103161 if test `eval echo '${'$as_ac_var'}'` = yes; then
103162 cat >>confdefs.h <<_ACEOF
103163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103164 _ACEOF
103171 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103172 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103173 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103174 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103175 echo $ECHO_N "(cached) $ECHO_C" >&6
103180 ac_ext=cc
103181 ac_cpp='$CXXCPP $CPPFLAGS'
103182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103186 cat >conftest.$ac_ext <<_ACEOF
103187 /* confdefs.h. */
103188 _ACEOF
103189 cat confdefs.h >>conftest.$ac_ext
103190 cat >>conftest.$ac_ext <<_ACEOF
103191 /* end confdefs.h. */
103192 #include <math.h>
103193 #ifdef HAVE_IEEEFP_H
103194 #include <ieeefp.h>
103195 #endif
103198 main ()
103200 _log10l(0);
103202 return 0;
103204 _ACEOF
103205 rm -f conftest.$ac_objext
103206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103207 (eval $ac_compile) 2>conftest.er1
103208 ac_status=$?
103209 grep -v '^ *+' conftest.er1 >conftest.err
103210 rm -f conftest.er1
103211 cat conftest.err >&5
103212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103213 (exit $ac_status); } &&
103214 { ac_try='test -z "$ac_cxx_werror_flag"
103215 || test ! -s conftest.err'
103216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103217 (eval $ac_try) 2>&5
103218 ac_status=$?
103219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103220 (exit $ac_status); }; } &&
103221 { ac_try='test -s conftest.$ac_objext'
103222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103223 (eval $ac_try) 2>&5
103224 ac_status=$?
103225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103226 (exit $ac_status); }; }; then
103227 glibcxx_cv_func__log10l_use=yes
103229 echo "$as_me: failed program was:" >&5
103230 sed 's/^/| /' conftest.$ac_ext >&5
103232 glibcxx_cv_func__log10l_use=no
103234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103235 ac_ext=c
103236 ac_cpp='$CPP $CPPFLAGS'
103237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103246 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103248 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103250 for ac_func in _log10l
103252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103253 echo "$as_me:$LINENO: checking for $ac_func" >&5
103254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103255 if eval "test \"\${$as_ac_var+set}\" = set"; then
103256 echo $ECHO_N "(cached) $ECHO_C" >&6
103258 if test x$gcc_no_link = xyes; then
103259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103261 { (exit 1); exit 1; }; }
103263 cat >conftest.$ac_ext <<_ACEOF
103264 /* confdefs.h. */
103265 _ACEOF
103266 cat confdefs.h >>conftest.$ac_ext
103267 cat >>conftest.$ac_ext <<_ACEOF
103268 /* end confdefs.h. */
103269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103271 #define $ac_func innocuous_$ac_func
103273 /* System header to define __stub macros and hopefully few prototypes,
103274 which can conflict with char $ac_func (); below.
103275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103276 <limits.h> exists even on freestanding compilers. */
103278 #ifdef __STDC__
103279 # include <limits.h>
103280 #else
103281 # include <assert.h>
103282 #endif
103284 #undef $ac_func
103286 /* Override any gcc2 internal prototype to avoid an error. */
103287 #ifdef __cplusplus
103288 extern "C"
103290 #endif
103291 /* We use char because int might match the return type of a gcc2
103292 builtin and then its argument prototype would still apply. */
103293 char $ac_func ();
103294 /* The GNU C library defines this for functions which it implements
103295 to always fail with ENOSYS. Some functions are actually named
103296 something starting with __ and the normal name is an alias. */
103297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103298 choke me
103299 #else
103300 char (*f) () = $ac_func;
103301 #endif
103302 #ifdef __cplusplus
103304 #endif
103307 main ()
103309 return f != $ac_func;
103311 return 0;
103313 _ACEOF
103314 rm -f conftest.$ac_objext conftest$ac_exeext
103315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103316 (eval $ac_link) 2>conftest.er1
103317 ac_status=$?
103318 grep -v '^ *+' conftest.er1 >conftest.err
103319 rm -f conftest.er1
103320 cat conftest.err >&5
103321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103322 (exit $ac_status); } &&
103323 { ac_try='test -z "$ac_c_werror_flag"
103324 || test ! -s conftest.err'
103325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103326 (eval $ac_try) 2>&5
103327 ac_status=$?
103328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103329 (exit $ac_status); }; } &&
103330 { ac_try='test -s conftest$ac_exeext'
103331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103332 (eval $ac_try) 2>&5
103333 ac_status=$?
103334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103335 (exit $ac_status); }; }; then
103336 eval "$as_ac_var=yes"
103338 echo "$as_me: failed program was:" >&5
103339 sed 's/^/| /' conftest.$ac_ext >&5
103341 eval "$as_ac_var=no"
103343 rm -f conftest.err conftest.$ac_objext \
103344 conftest$ac_exeext conftest.$ac_ext
103346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103348 if test `eval echo '${'$as_ac_var'}'` = yes; then
103349 cat >>confdefs.h <<_ACEOF
103350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103351 _ACEOF
103364 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103365 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103366 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103367 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103368 echo $ECHO_N "(cached) $ECHO_C" >&6
103373 ac_ext=cc
103374 ac_cpp='$CXXCPP $CPPFLAGS'
103375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103379 cat >conftest.$ac_ext <<_ACEOF
103380 /* confdefs.h. */
103381 _ACEOF
103382 cat confdefs.h >>conftest.$ac_ext
103383 cat >>conftest.$ac_ext <<_ACEOF
103384 /* end confdefs.h. */
103385 #include <math.h>
103387 main ()
103389 modfl(0, 0);
103391 return 0;
103393 _ACEOF
103394 rm -f conftest.$ac_objext
103395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103396 (eval $ac_compile) 2>conftest.er1
103397 ac_status=$?
103398 grep -v '^ *+' conftest.er1 >conftest.err
103399 rm -f conftest.er1
103400 cat conftest.err >&5
103401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103402 (exit $ac_status); } &&
103403 { ac_try='test -z "$ac_cxx_werror_flag"
103404 || test ! -s conftest.err'
103405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103406 (eval $ac_try) 2>&5
103407 ac_status=$?
103408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103409 (exit $ac_status); }; } &&
103410 { ac_try='test -s conftest.$ac_objext'
103411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103412 (eval $ac_try) 2>&5
103413 ac_status=$?
103414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103415 (exit $ac_status); }; }; then
103416 glibcxx_cv_func_modfl_use=yes
103418 echo "$as_me: failed program was:" >&5
103419 sed 's/^/| /' conftest.$ac_ext >&5
103421 glibcxx_cv_func_modfl_use=no
103423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103424 ac_ext=c
103425 ac_cpp='$CPP $CPPFLAGS'
103426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103434 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103435 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103437 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103439 for ac_func in modfl
103441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103442 echo "$as_me:$LINENO: checking for $ac_func" >&5
103443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103444 if eval "test \"\${$as_ac_var+set}\" = set"; then
103445 echo $ECHO_N "(cached) $ECHO_C" >&6
103447 if test x$gcc_no_link = xyes; then
103448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103450 { (exit 1); exit 1; }; }
103452 cat >conftest.$ac_ext <<_ACEOF
103453 /* confdefs.h. */
103454 _ACEOF
103455 cat confdefs.h >>conftest.$ac_ext
103456 cat >>conftest.$ac_ext <<_ACEOF
103457 /* end confdefs.h. */
103458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103460 #define $ac_func innocuous_$ac_func
103462 /* System header to define __stub macros and hopefully few prototypes,
103463 which can conflict with char $ac_func (); below.
103464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103465 <limits.h> exists even on freestanding compilers. */
103467 #ifdef __STDC__
103468 # include <limits.h>
103469 #else
103470 # include <assert.h>
103471 #endif
103473 #undef $ac_func
103475 /* Override any gcc2 internal prototype to avoid an error. */
103476 #ifdef __cplusplus
103477 extern "C"
103479 #endif
103480 /* We use char because int might match the return type of a gcc2
103481 builtin and then its argument prototype would still apply. */
103482 char $ac_func ();
103483 /* The GNU C library defines this for functions which it implements
103484 to always fail with ENOSYS. Some functions are actually named
103485 something starting with __ and the normal name is an alias. */
103486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103487 choke me
103488 #else
103489 char (*f) () = $ac_func;
103490 #endif
103491 #ifdef __cplusplus
103493 #endif
103496 main ()
103498 return f != $ac_func;
103500 return 0;
103502 _ACEOF
103503 rm -f conftest.$ac_objext conftest$ac_exeext
103504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103505 (eval $ac_link) 2>conftest.er1
103506 ac_status=$?
103507 grep -v '^ *+' conftest.er1 >conftest.err
103508 rm -f conftest.er1
103509 cat conftest.err >&5
103510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103511 (exit $ac_status); } &&
103512 { ac_try='test -z "$ac_c_werror_flag"
103513 || test ! -s conftest.err'
103514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103515 (eval $ac_try) 2>&5
103516 ac_status=$?
103517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103518 (exit $ac_status); }; } &&
103519 { ac_try='test -s conftest$ac_exeext'
103520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103521 (eval $ac_try) 2>&5
103522 ac_status=$?
103523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103524 (exit $ac_status); }; }; then
103525 eval "$as_ac_var=yes"
103527 echo "$as_me: failed program was:" >&5
103528 sed 's/^/| /' conftest.$ac_ext >&5
103530 eval "$as_ac_var=no"
103532 rm -f conftest.err conftest.$ac_objext \
103533 conftest$ac_exeext conftest.$ac_ext
103535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103537 if test `eval echo '${'$as_ac_var'}'` = yes; then
103538 cat >>confdefs.h <<_ACEOF
103539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103540 _ACEOF
103547 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103548 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103549 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103550 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103551 echo $ECHO_N "(cached) $ECHO_C" >&6
103556 ac_ext=cc
103557 ac_cpp='$CXXCPP $CPPFLAGS'
103558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103562 cat >conftest.$ac_ext <<_ACEOF
103563 /* confdefs.h. */
103564 _ACEOF
103565 cat confdefs.h >>conftest.$ac_ext
103566 cat >>conftest.$ac_ext <<_ACEOF
103567 /* end confdefs.h. */
103568 #include <math.h>
103570 main ()
103572 _modfl(0, 0);
103574 return 0;
103576 _ACEOF
103577 rm -f conftest.$ac_objext
103578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103579 (eval $ac_compile) 2>conftest.er1
103580 ac_status=$?
103581 grep -v '^ *+' conftest.er1 >conftest.err
103582 rm -f conftest.er1
103583 cat conftest.err >&5
103584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103585 (exit $ac_status); } &&
103586 { ac_try='test -z "$ac_cxx_werror_flag"
103587 || test ! -s conftest.err'
103588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103589 (eval $ac_try) 2>&5
103590 ac_status=$?
103591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103592 (exit $ac_status); }; } &&
103593 { ac_try='test -s conftest.$ac_objext'
103594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103595 (eval $ac_try) 2>&5
103596 ac_status=$?
103597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103598 (exit $ac_status); }; }; then
103599 glibcxx_cv_func__modfl_use=yes
103601 echo "$as_me: failed program was:" >&5
103602 sed 's/^/| /' conftest.$ac_ext >&5
103604 glibcxx_cv_func__modfl_use=no
103606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103607 ac_ext=c
103608 ac_cpp='$CPP $CPPFLAGS'
103609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103618 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103620 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103622 for ac_func in _modfl
103624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103625 echo "$as_me:$LINENO: checking for $ac_func" >&5
103626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103627 if eval "test \"\${$as_ac_var+set}\" = set"; then
103628 echo $ECHO_N "(cached) $ECHO_C" >&6
103630 if test x$gcc_no_link = xyes; then
103631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103633 { (exit 1); exit 1; }; }
103635 cat >conftest.$ac_ext <<_ACEOF
103636 /* confdefs.h. */
103637 _ACEOF
103638 cat confdefs.h >>conftest.$ac_ext
103639 cat >>conftest.$ac_ext <<_ACEOF
103640 /* end confdefs.h. */
103641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103643 #define $ac_func innocuous_$ac_func
103645 /* System header to define __stub macros and hopefully few prototypes,
103646 which can conflict with char $ac_func (); below.
103647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103648 <limits.h> exists even on freestanding compilers. */
103650 #ifdef __STDC__
103651 # include <limits.h>
103652 #else
103653 # include <assert.h>
103654 #endif
103656 #undef $ac_func
103658 /* Override any gcc2 internal prototype to avoid an error. */
103659 #ifdef __cplusplus
103660 extern "C"
103662 #endif
103663 /* We use char because int might match the return type of a gcc2
103664 builtin and then its argument prototype would still apply. */
103665 char $ac_func ();
103666 /* The GNU C library defines this for functions which it implements
103667 to always fail with ENOSYS. Some functions are actually named
103668 something starting with __ and the normal name is an alias. */
103669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103670 choke me
103671 #else
103672 char (*f) () = $ac_func;
103673 #endif
103674 #ifdef __cplusplus
103676 #endif
103679 main ()
103681 return f != $ac_func;
103683 return 0;
103685 _ACEOF
103686 rm -f conftest.$ac_objext conftest$ac_exeext
103687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103688 (eval $ac_link) 2>conftest.er1
103689 ac_status=$?
103690 grep -v '^ *+' conftest.er1 >conftest.err
103691 rm -f conftest.er1
103692 cat conftest.err >&5
103693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103694 (exit $ac_status); } &&
103695 { ac_try='test -z "$ac_c_werror_flag"
103696 || test ! -s conftest.err'
103697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103698 (eval $ac_try) 2>&5
103699 ac_status=$?
103700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103701 (exit $ac_status); }; } &&
103702 { ac_try='test -s conftest$ac_exeext'
103703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103704 (eval $ac_try) 2>&5
103705 ac_status=$?
103706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103707 (exit $ac_status); }; }; then
103708 eval "$as_ac_var=yes"
103710 echo "$as_me: failed program was:" >&5
103711 sed 's/^/| /' conftest.$ac_ext >&5
103713 eval "$as_ac_var=no"
103715 rm -f conftest.err conftest.$ac_objext \
103716 conftest$ac_exeext conftest.$ac_ext
103718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103720 if test `eval echo '${'$as_ac_var'}'` = yes; then
103721 cat >>confdefs.h <<_ACEOF
103722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103723 _ACEOF
103736 echo "$as_me:$LINENO: checking for powl declaration" >&5
103737 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103738 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103739 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103740 echo $ECHO_N "(cached) $ECHO_C" >&6
103745 ac_ext=cc
103746 ac_cpp='$CXXCPP $CPPFLAGS'
103747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103751 cat >conftest.$ac_ext <<_ACEOF
103752 /* confdefs.h. */
103753 _ACEOF
103754 cat confdefs.h >>conftest.$ac_ext
103755 cat >>conftest.$ac_ext <<_ACEOF
103756 /* end confdefs.h. */
103757 #include <math.h>
103759 main ()
103761 powl(0, 0);
103763 return 0;
103765 _ACEOF
103766 rm -f conftest.$ac_objext
103767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103768 (eval $ac_compile) 2>conftest.er1
103769 ac_status=$?
103770 grep -v '^ *+' conftest.er1 >conftest.err
103771 rm -f conftest.er1
103772 cat conftest.err >&5
103773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103774 (exit $ac_status); } &&
103775 { ac_try='test -z "$ac_cxx_werror_flag"
103776 || test ! -s conftest.err'
103777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103778 (eval $ac_try) 2>&5
103779 ac_status=$?
103780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103781 (exit $ac_status); }; } &&
103782 { ac_try='test -s conftest.$ac_objext'
103783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103784 (eval $ac_try) 2>&5
103785 ac_status=$?
103786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103787 (exit $ac_status); }; }; then
103788 glibcxx_cv_func_powl_use=yes
103790 echo "$as_me: failed program was:" >&5
103791 sed 's/^/| /' conftest.$ac_ext >&5
103793 glibcxx_cv_func_powl_use=no
103795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103796 ac_ext=c
103797 ac_cpp='$CPP $CPPFLAGS'
103798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103807 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103809 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103811 for ac_func in powl
103813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103814 echo "$as_me:$LINENO: checking for $ac_func" >&5
103815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103816 if eval "test \"\${$as_ac_var+set}\" = set"; then
103817 echo $ECHO_N "(cached) $ECHO_C" >&6
103819 if test x$gcc_no_link = xyes; then
103820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103822 { (exit 1); exit 1; }; }
103824 cat >conftest.$ac_ext <<_ACEOF
103825 /* confdefs.h. */
103826 _ACEOF
103827 cat confdefs.h >>conftest.$ac_ext
103828 cat >>conftest.$ac_ext <<_ACEOF
103829 /* end confdefs.h. */
103830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103832 #define $ac_func innocuous_$ac_func
103834 /* System header to define __stub macros and hopefully few prototypes,
103835 which can conflict with char $ac_func (); below.
103836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103837 <limits.h> exists even on freestanding compilers. */
103839 #ifdef __STDC__
103840 # include <limits.h>
103841 #else
103842 # include <assert.h>
103843 #endif
103845 #undef $ac_func
103847 /* Override any gcc2 internal prototype to avoid an error. */
103848 #ifdef __cplusplus
103849 extern "C"
103851 #endif
103852 /* We use char because int might match the return type of a gcc2
103853 builtin and then its argument prototype would still apply. */
103854 char $ac_func ();
103855 /* The GNU C library defines this for functions which it implements
103856 to always fail with ENOSYS. Some functions are actually named
103857 something starting with __ and the normal name is an alias. */
103858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103859 choke me
103860 #else
103861 char (*f) () = $ac_func;
103862 #endif
103863 #ifdef __cplusplus
103865 #endif
103868 main ()
103870 return f != $ac_func;
103872 return 0;
103874 _ACEOF
103875 rm -f conftest.$ac_objext conftest$ac_exeext
103876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103877 (eval $ac_link) 2>conftest.er1
103878 ac_status=$?
103879 grep -v '^ *+' conftest.er1 >conftest.err
103880 rm -f conftest.er1
103881 cat conftest.err >&5
103882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103883 (exit $ac_status); } &&
103884 { ac_try='test -z "$ac_c_werror_flag"
103885 || test ! -s conftest.err'
103886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103887 (eval $ac_try) 2>&5
103888 ac_status=$?
103889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103890 (exit $ac_status); }; } &&
103891 { ac_try='test -s conftest$ac_exeext'
103892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103893 (eval $ac_try) 2>&5
103894 ac_status=$?
103895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103896 (exit $ac_status); }; }; then
103897 eval "$as_ac_var=yes"
103899 echo "$as_me: failed program was:" >&5
103900 sed 's/^/| /' conftest.$ac_ext >&5
103902 eval "$as_ac_var=no"
103904 rm -f conftest.err conftest.$ac_objext \
103905 conftest$ac_exeext conftest.$ac_ext
103907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103909 if test `eval echo '${'$as_ac_var'}'` = yes; then
103910 cat >>confdefs.h <<_ACEOF
103911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103912 _ACEOF
103919 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103920 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103921 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103922 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103923 echo $ECHO_N "(cached) $ECHO_C" >&6
103928 ac_ext=cc
103929 ac_cpp='$CXXCPP $CPPFLAGS'
103930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103934 cat >conftest.$ac_ext <<_ACEOF
103935 /* confdefs.h. */
103936 _ACEOF
103937 cat confdefs.h >>conftest.$ac_ext
103938 cat >>conftest.$ac_ext <<_ACEOF
103939 /* end confdefs.h. */
103940 #include <math.h>
103942 main ()
103944 _powl(0, 0);
103946 return 0;
103948 _ACEOF
103949 rm -f conftest.$ac_objext
103950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103951 (eval $ac_compile) 2>conftest.er1
103952 ac_status=$?
103953 grep -v '^ *+' conftest.er1 >conftest.err
103954 rm -f conftest.er1
103955 cat conftest.err >&5
103956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103957 (exit $ac_status); } &&
103958 { ac_try='test -z "$ac_cxx_werror_flag"
103959 || test ! -s conftest.err'
103960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103961 (eval $ac_try) 2>&5
103962 ac_status=$?
103963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103964 (exit $ac_status); }; } &&
103965 { ac_try='test -s conftest.$ac_objext'
103966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103967 (eval $ac_try) 2>&5
103968 ac_status=$?
103969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103970 (exit $ac_status); }; }; then
103971 glibcxx_cv_func__powl_use=yes
103973 echo "$as_me: failed program was:" >&5
103974 sed 's/^/| /' conftest.$ac_ext >&5
103976 glibcxx_cv_func__powl_use=no
103978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103979 ac_ext=c
103980 ac_cpp='$CPP $CPPFLAGS'
103981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103990 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103992 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103994 for ac_func in _powl
103996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103997 echo "$as_me:$LINENO: checking for $ac_func" >&5
103998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103999 if eval "test \"\${$as_ac_var+set}\" = set"; then
104000 echo $ECHO_N "(cached) $ECHO_C" >&6
104002 if test x$gcc_no_link = xyes; then
104003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104005 { (exit 1); exit 1; }; }
104007 cat >conftest.$ac_ext <<_ACEOF
104008 /* confdefs.h. */
104009 _ACEOF
104010 cat confdefs.h >>conftest.$ac_ext
104011 cat >>conftest.$ac_ext <<_ACEOF
104012 /* end confdefs.h. */
104013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104015 #define $ac_func innocuous_$ac_func
104017 /* System header to define __stub macros and hopefully few prototypes,
104018 which can conflict with char $ac_func (); below.
104019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104020 <limits.h> exists even on freestanding compilers. */
104022 #ifdef __STDC__
104023 # include <limits.h>
104024 #else
104025 # include <assert.h>
104026 #endif
104028 #undef $ac_func
104030 /* Override any gcc2 internal prototype to avoid an error. */
104031 #ifdef __cplusplus
104032 extern "C"
104034 #endif
104035 /* We use char because int might match the return type of a gcc2
104036 builtin and then its argument prototype would still apply. */
104037 char $ac_func ();
104038 /* The GNU C library defines this for functions which it implements
104039 to always fail with ENOSYS. Some functions are actually named
104040 something starting with __ and the normal name is an alias. */
104041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104042 choke me
104043 #else
104044 char (*f) () = $ac_func;
104045 #endif
104046 #ifdef __cplusplus
104048 #endif
104051 main ()
104053 return f != $ac_func;
104055 return 0;
104057 _ACEOF
104058 rm -f conftest.$ac_objext conftest$ac_exeext
104059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104060 (eval $ac_link) 2>conftest.er1
104061 ac_status=$?
104062 grep -v '^ *+' conftest.er1 >conftest.err
104063 rm -f conftest.er1
104064 cat conftest.err >&5
104065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104066 (exit $ac_status); } &&
104067 { ac_try='test -z "$ac_c_werror_flag"
104068 || test ! -s conftest.err'
104069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104070 (eval $ac_try) 2>&5
104071 ac_status=$?
104072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104073 (exit $ac_status); }; } &&
104074 { ac_try='test -s conftest$ac_exeext'
104075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104076 (eval $ac_try) 2>&5
104077 ac_status=$?
104078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104079 (exit $ac_status); }; }; then
104080 eval "$as_ac_var=yes"
104082 echo "$as_me: failed program was:" >&5
104083 sed 's/^/| /' conftest.$ac_ext >&5
104085 eval "$as_ac_var=no"
104087 rm -f conftest.err conftest.$ac_objext \
104088 conftest$ac_exeext conftest.$ac_ext
104090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104092 if test `eval echo '${'$as_ac_var'}'` = yes; then
104093 cat >>confdefs.h <<_ACEOF
104094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104095 _ACEOF
104108 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104109 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104110 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104111 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104112 echo $ECHO_N "(cached) $ECHO_C" >&6
104117 ac_ext=cc
104118 ac_cpp='$CXXCPP $CPPFLAGS'
104119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104123 cat >conftest.$ac_ext <<_ACEOF
104124 /* confdefs.h. */
104125 _ACEOF
104126 cat confdefs.h >>conftest.$ac_ext
104127 cat >>conftest.$ac_ext <<_ACEOF
104128 /* end confdefs.h. */
104129 #include <math.h>
104130 #ifdef HAVE_IEEEFP_H
104131 #include <ieeefp.h>
104132 #endif
104135 main ()
104137 sqrtl(0);
104139 return 0;
104141 _ACEOF
104142 rm -f conftest.$ac_objext
104143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104144 (eval $ac_compile) 2>conftest.er1
104145 ac_status=$?
104146 grep -v '^ *+' conftest.er1 >conftest.err
104147 rm -f conftest.er1
104148 cat conftest.err >&5
104149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104150 (exit $ac_status); } &&
104151 { ac_try='test -z "$ac_cxx_werror_flag"
104152 || test ! -s conftest.err'
104153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104154 (eval $ac_try) 2>&5
104155 ac_status=$?
104156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104157 (exit $ac_status); }; } &&
104158 { ac_try='test -s conftest.$ac_objext'
104159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104160 (eval $ac_try) 2>&5
104161 ac_status=$?
104162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104163 (exit $ac_status); }; }; then
104164 glibcxx_cv_func_sqrtl_use=yes
104166 echo "$as_me: failed program was:" >&5
104167 sed 's/^/| /' conftest.$ac_ext >&5
104169 glibcxx_cv_func_sqrtl_use=no
104171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104172 ac_ext=c
104173 ac_cpp='$CPP $CPPFLAGS'
104174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104183 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104185 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104187 for ac_func in sqrtl
104189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104190 echo "$as_me:$LINENO: checking for $ac_func" >&5
104191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104192 if eval "test \"\${$as_ac_var+set}\" = set"; then
104193 echo $ECHO_N "(cached) $ECHO_C" >&6
104195 if test x$gcc_no_link = xyes; then
104196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104198 { (exit 1); exit 1; }; }
104200 cat >conftest.$ac_ext <<_ACEOF
104201 /* confdefs.h. */
104202 _ACEOF
104203 cat confdefs.h >>conftest.$ac_ext
104204 cat >>conftest.$ac_ext <<_ACEOF
104205 /* end confdefs.h. */
104206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104208 #define $ac_func innocuous_$ac_func
104210 /* System header to define __stub macros and hopefully few prototypes,
104211 which can conflict with char $ac_func (); below.
104212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104213 <limits.h> exists even on freestanding compilers. */
104215 #ifdef __STDC__
104216 # include <limits.h>
104217 #else
104218 # include <assert.h>
104219 #endif
104221 #undef $ac_func
104223 /* Override any gcc2 internal prototype to avoid an error. */
104224 #ifdef __cplusplus
104225 extern "C"
104227 #endif
104228 /* We use char because int might match the return type of a gcc2
104229 builtin and then its argument prototype would still apply. */
104230 char $ac_func ();
104231 /* The GNU C library defines this for functions which it implements
104232 to always fail with ENOSYS. Some functions are actually named
104233 something starting with __ and the normal name is an alias. */
104234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104235 choke me
104236 #else
104237 char (*f) () = $ac_func;
104238 #endif
104239 #ifdef __cplusplus
104241 #endif
104244 main ()
104246 return f != $ac_func;
104248 return 0;
104250 _ACEOF
104251 rm -f conftest.$ac_objext conftest$ac_exeext
104252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104253 (eval $ac_link) 2>conftest.er1
104254 ac_status=$?
104255 grep -v '^ *+' conftest.er1 >conftest.err
104256 rm -f conftest.er1
104257 cat conftest.err >&5
104258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104259 (exit $ac_status); } &&
104260 { ac_try='test -z "$ac_c_werror_flag"
104261 || test ! -s conftest.err'
104262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104263 (eval $ac_try) 2>&5
104264 ac_status=$?
104265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104266 (exit $ac_status); }; } &&
104267 { ac_try='test -s conftest$ac_exeext'
104268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104269 (eval $ac_try) 2>&5
104270 ac_status=$?
104271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104272 (exit $ac_status); }; }; then
104273 eval "$as_ac_var=yes"
104275 echo "$as_me: failed program was:" >&5
104276 sed 's/^/| /' conftest.$ac_ext >&5
104278 eval "$as_ac_var=no"
104280 rm -f conftest.err conftest.$ac_objext \
104281 conftest$ac_exeext conftest.$ac_ext
104283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104285 if test `eval echo '${'$as_ac_var'}'` = yes; then
104286 cat >>confdefs.h <<_ACEOF
104287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104288 _ACEOF
104295 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104296 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104297 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104298 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104299 echo $ECHO_N "(cached) $ECHO_C" >&6
104304 ac_ext=cc
104305 ac_cpp='$CXXCPP $CPPFLAGS'
104306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104310 cat >conftest.$ac_ext <<_ACEOF
104311 /* confdefs.h. */
104312 _ACEOF
104313 cat confdefs.h >>conftest.$ac_ext
104314 cat >>conftest.$ac_ext <<_ACEOF
104315 /* end confdefs.h. */
104316 #include <math.h>
104317 #ifdef HAVE_IEEEFP_H
104318 #include <ieeefp.h>
104319 #endif
104322 main ()
104324 _sqrtl(0);
104326 return 0;
104328 _ACEOF
104329 rm -f conftest.$ac_objext
104330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104331 (eval $ac_compile) 2>conftest.er1
104332 ac_status=$?
104333 grep -v '^ *+' conftest.er1 >conftest.err
104334 rm -f conftest.er1
104335 cat conftest.err >&5
104336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104337 (exit $ac_status); } &&
104338 { ac_try='test -z "$ac_cxx_werror_flag"
104339 || test ! -s conftest.err'
104340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104341 (eval $ac_try) 2>&5
104342 ac_status=$?
104343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104344 (exit $ac_status); }; } &&
104345 { ac_try='test -s conftest.$ac_objext'
104346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104347 (eval $ac_try) 2>&5
104348 ac_status=$?
104349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104350 (exit $ac_status); }; }; then
104351 glibcxx_cv_func__sqrtl_use=yes
104353 echo "$as_me: failed program was:" >&5
104354 sed 's/^/| /' conftest.$ac_ext >&5
104356 glibcxx_cv_func__sqrtl_use=no
104358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104359 ac_ext=c
104360 ac_cpp='$CPP $CPPFLAGS'
104361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104370 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104372 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104374 for ac_func in _sqrtl
104376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104377 echo "$as_me:$LINENO: checking for $ac_func" >&5
104378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104379 if eval "test \"\${$as_ac_var+set}\" = set"; then
104380 echo $ECHO_N "(cached) $ECHO_C" >&6
104382 if test x$gcc_no_link = xyes; then
104383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104385 { (exit 1); exit 1; }; }
104387 cat >conftest.$ac_ext <<_ACEOF
104388 /* confdefs.h. */
104389 _ACEOF
104390 cat confdefs.h >>conftest.$ac_ext
104391 cat >>conftest.$ac_ext <<_ACEOF
104392 /* end confdefs.h. */
104393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104395 #define $ac_func innocuous_$ac_func
104397 /* System header to define __stub macros and hopefully few prototypes,
104398 which can conflict with char $ac_func (); below.
104399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104400 <limits.h> exists even on freestanding compilers. */
104402 #ifdef __STDC__
104403 # include <limits.h>
104404 #else
104405 # include <assert.h>
104406 #endif
104408 #undef $ac_func
104410 /* Override any gcc2 internal prototype to avoid an error. */
104411 #ifdef __cplusplus
104412 extern "C"
104414 #endif
104415 /* We use char because int might match the return type of a gcc2
104416 builtin and then its argument prototype would still apply. */
104417 char $ac_func ();
104418 /* The GNU C library defines this for functions which it implements
104419 to always fail with ENOSYS. Some functions are actually named
104420 something starting with __ and the normal name is an alias. */
104421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104422 choke me
104423 #else
104424 char (*f) () = $ac_func;
104425 #endif
104426 #ifdef __cplusplus
104428 #endif
104431 main ()
104433 return f != $ac_func;
104435 return 0;
104437 _ACEOF
104438 rm -f conftest.$ac_objext conftest$ac_exeext
104439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104440 (eval $ac_link) 2>conftest.er1
104441 ac_status=$?
104442 grep -v '^ *+' conftest.er1 >conftest.err
104443 rm -f conftest.er1
104444 cat conftest.err >&5
104445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104446 (exit $ac_status); } &&
104447 { ac_try='test -z "$ac_c_werror_flag"
104448 || test ! -s conftest.err'
104449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104450 (eval $ac_try) 2>&5
104451 ac_status=$?
104452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104453 (exit $ac_status); }; } &&
104454 { ac_try='test -s conftest$ac_exeext'
104455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104456 (eval $ac_try) 2>&5
104457 ac_status=$?
104458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104459 (exit $ac_status); }; }; then
104460 eval "$as_ac_var=yes"
104462 echo "$as_me: failed program was:" >&5
104463 sed 's/^/| /' conftest.$ac_ext >&5
104465 eval "$as_ac_var=no"
104467 rm -f conftest.err conftest.$ac_objext \
104468 conftest$ac_exeext conftest.$ac_ext
104470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104472 if test `eval echo '${'$as_ac_var'}'` = yes; then
104473 cat >>confdefs.h <<_ACEOF
104474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104475 _ACEOF
104488 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104489 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104490 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104491 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104492 echo $ECHO_N "(cached) $ECHO_C" >&6
104497 ac_ext=cc
104498 ac_cpp='$CXXCPP $CPPFLAGS'
104499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104503 cat >conftest.$ac_ext <<_ACEOF
104504 /* confdefs.h. */
104505 _ACEOF
104506 cat confdefs.h >>conftest.$ac_ext
104507 cat >>conftest.$ac_ext <<_ACEOF
104508 /* end confdefs.h. */
104509 #include <math.h>
104511 main ()
104513 sincosl(0, 0, 0);
104515 return 0;
104517 _ACEOF
104518 rm -f conftest.$ac_objext
104519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104520 (eval $ac_compile) 2>conftest.er1
104521 ac_status=$?
104522 grep -v '^ *+' conftest.er1 >conftest.err
104523 rm -f conftest.er1
104524 cat conftest.err >&5
104525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104526 (exit $ac_status); } &&
104527 { ac_try='test -z "$ac_cxx_werror_flag"
104528 || test ! -s conftest.err'
104529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104530 (eval $ac_try) 2>&5
104531 ac_status=$?
104532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104533 (exit $ac_status); }; } &&
104534 { ac_try='test -s conftest.$ac_objext'
104535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104536 (eval $ac_try) 2>&5
104537 ac_status=$?
104538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104539 (exit $ac_status); }; }; then
104540 glibcxx_cv_func_sincosl_use=yes
104542 echo "$as_me: failed program was:" >&5
104543 sed 's/^/| /' conftest.$ac_ext >&5
104545 glibcxx_cv_func_sincosl_use=no
104547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104548 ac_ext=c
104549 ac_cpp='$CPP $CPPFLAGS'
104550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104559 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104561 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104563 for ac_func in sincosl
104565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104566 echo "$as_me:$LINENO: checking for $ac_func" >&5
104567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104568 if eval "test \"\${$as_ac_var+set}\" = set"; then
104569 echo $ECHO_N "(cached) $ECHO_C" >&6
104571 if test x$gcc_no_link = xyes; then
104572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104574 { (exit 1); exit 1; }; }
104576 cat >conftest.$ac_ext <<_ACEOF
104577 /* confdefs.h. */
104578 _ACEOF
104579 cat confdefs.h >>conftest.$ac_ext
104580 cat >>conftest.$ac_ext <<_ACEOF
104581 /* end confdefs.h. */
104582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104584 #define $ac_func innocuous_$ac_func
104586 /* System header to define __stub macros and hopefully few prototypes,
104587 which can conflict with char $ac_func (); below.
104588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104589 <limits.h> exists even on freestanding compilers. */
104591 #ifdef __STDC__
104592 # include <limits.h>
104593 #else
104594 # include <assert.h>
104595 #endif
104597 #undef $ac_func
104599 /* Override any gcc2 internal prototype to avoid an error. */
104600 #ifdef __cplusplus
104601 extern "C"
104603 #endif
104604 /* We use char because int might match the return type of a gcc2
104605 builtin and then its argument prototype would still apply. */
104606 char $ac_func ();
104607 /* The GNU C library defines this for functions which it implements
104608 to always fail with ENOSYS. Some functions are actually named
104609 something starting with __ and the normal name is an alias. */
104610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104611 choke me
104612 #else
104613 char (*f) () = $ac_func;
104614 #endif
104615 #ifdef __cplusplus
104617 #endif
104620 main ()
104622 return f != $ac_func;
104624 return 0;
104626 _ACEOF
104627 rm -f conftest.$ac_objext conftest$ac_exeext
104628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104629 (eval $ac_link) 2>conftest.er1
104630 ac_status=$?
104631 grep -v '^ *+' conftest.er1 >conftest.err
104632 rm -f conftest.er1
104633 cat conftest.err >&5
104634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104635 (exit $ac_status); } &&
104636 { ac_try='test -z "$ac_c_werror_flag"
104637 || test ! -s conftest.err'
104638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104639 (eval $ac_try) 2>&5
104640 ac_status=$?
104641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104642 (exit $ac_status); }; } &&
104643 { ac_try='test -s conftest$ac_exeext'
104644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104645 (eval $ac_try) 2>&5
104646 ac_status=$?
104647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104648 (exit $ac_status); }; }; then
104649 eval "$as_ac_var=yes"
104651 echo "$as_me: failed program was:" >&5
104652 sed 's/^/| /' conftest.$ac_ext >&5
104654 eval "$as_ac_var=no"
104656 rm -f conftest.err conftest.$ac_objext \
104657 conftest$ac_exeext conftest.$ac_ext
104659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104661 if test `eval echo '${'$as_ac_var'}'` = yes; then
104662 cat >>confdefs.h <<_ACEOF
104663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104664 _ACEOF
104671 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104672 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104673 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104674 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104675 echo $ECHO_N "(cached) $ECHO_C" >&6
104680 ac_ext=cc
104681 ac_cpp='$CXXCPP $CPPFLAGS'
104682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104686 cat >conftest.$ac_ext <<_ACEOF
104687 /* confdefs.h. */
104688 _ACEOF
104689 cat confdefs.h >>conftest.$ac_ext
104690 cat >>conftest.$ac_ext <<_ACEOF
104691 /* end confdefs.h. */
104692 #include <math.h>
104694 main ()
104696 _sincosl(0, 0, 0);
104698 return 0;
104700 _ACEOF
104701 rm -f conftest.$ac_objext
104702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104703 (eval $ac_compile) 2>conftest.er1
104704 ac_status=$?
104705 grep -v '^ *+' conftest.er1 >conftest.err
104706 rm -f conftest.er1
104707 cat conftest.err >&5
104708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104709 (exit $ac_status); } &&
104710 { ac_try='test -z "$ac_cxx_werror_flag"
104711 || test ! -s conftest.err'
104712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104713 (eval $ac_try) 2>&5
104714 ac_status=$?
104715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104716 (exit $ac_status); }; } &&
104717 { ac_try='test -s conftest.$ac_objext'
104718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104719 (eval $ac_try) 2>&5
104720 ac_status=$?
104721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104722 (exit $ac_status); }; }; then
104723 glibcxx_cv_func__sincosl_use=yes
104725 echo "$as_me: failed program was:" >&5
104726 sed 's/^/| /' conftest.$ac_ext >&5
104728 glibcxx_cv_func__sincosl_use=no
104730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104731 ac_ext=c
104732 ac_cpp='$CPP $CPPFLAGS'
104733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104742 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104744 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104746 for ac_func in _sincosl
104748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104749 echo "$as_me:$LINENO: checking for $ac_func" >&5
104750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104751 if eval "test \"\${$as_ac_var+set}\" = set"; then
104752 echo $ECHO_N "(cached) $ECHO_C" >&6
104754 if test x$gcc_no_link = xyes; then
104755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104757 { (exit 1); exit 1; }; }
104759 cat >conftest.$ac_ext <<_ACEOF
104760 /* confdefs.h. */
104761 _ACEOF
104762 cat confdefs.h >>conftest.$ac_ext
104763 cat >>conftest.$ac_ext <<_ACEOF
104764 /* end confdefs.h. */
104765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104767 #define $ac_func innocuous_$ac_func
104769 /* System header to define __stub macros and hopefully few prototypes,
104770 which can conflict with char $ac_func (); below.
104771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104772 <limits.h> exists even on freestanding compilers. */
104774 #ifdef __STDC__
104775 # include <limits.h>
104776 #else
104777 # include <assert.h>
104778 #endif
104780 #undef $ac_func
104782 /* Override any gcc2 internal prototype to avoid an error. */
104783 #ifdef __cplusplus
104784 extern "C"
104786 #endif
104787 /* We use char because int might match the return type of a gcc2
104788 builtin and then its argument prototype would still apply. */
104789 char $ac_func ();
104790 /* The GNU C library defines this for functions which it implements
104791 to always fail with ENOSYS. Some functions are actually named
104792 something starting with __ and the normal name is an alias. */
104793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104794 choke me
104795 #else
104796 char (*f) () = $ac_func;
104797 #endif
104798 #ifdef __cplusplus
104800 #endif
104803 main ()
104805 return f != $ac_func;
104807 return 0;
104809 _ACEOF
104810 rm -f conftest.$ac_objext conftest$ac_exeext
104811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104812 (eval $ac_link) 2>conftest.er1
104813 ac_status=$?
104814 grep -v '^ *+' conftest.er1 >conftest.err
104815 rm -f conftest.er1
104816 cat conftest.err >&5
104817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104818 (exit $ac_status); } &&
104819 { ac_try='test -z "$ac_c_werror_flag"
104820 || test ! -s conftest.err'
104821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104822 (eval $ac_try) 2>&5
104823 ac_status=$?
104824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104825 (exit $ac_status); }; } &&
104826 { ac_try='test -s conftest$ac_exeext'
104827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104828 (eval $ac_try) 2>&5
104829 ac_status=$?
104830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104831 (exit $ac_status); }; }; then
104832 eval "$as_ac_var=yes"
104834 echo "$as_me: failed program was:" >&5
104835 sed 's/^/| /' conftest.$ac_ext >&5
104837 eval "$as_ac_var=no"
104839 rm -f conftest.err conftest.$ac_objext \
104840 conftest$ac_exeext conftest.$ac_ext
104842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104844 if test `eval echo '${'$as_ac_var'}'` = yes; then
104845 cat >>confdefs.h <<_ACEOF
104846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104847 _ACEOF
104860 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104861 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104862 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104863 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104864 echo $ECHO_N "(cached) $ECHO_C" >&6
104869 ac_ext=cc
104870 ac_cpp='$CXXCPP $CPPFLAGS'
104871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104875 cat >conftest.$ac_ext <<_ACEOF
104876 /* confdefs.h. */
104877 _ACEOF
104878 cat confdefs.h >>conftest.$ac_ext
104879 cat >>conftest.$ac_ext <<_ACEOF
104880 /* end confdefs.h. */
104881 #include <math.h>
104882 #ifdef HAVE_IEEEFP_H
104883 #include <ieeefp.h>
104884 #endif
104887 main ()
104889 finitel(0);
104891 return 0;
104893 _ACEOF
104894 rm -f conftest.$ac_objext
104895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104896 (eval $ac_compile) 2>conftest.er1
104897 ac_status=$?
104898 grep -v '^ *+' conftest.er1 >conftest.err
104899 rm -f conftest.er1
104900 cat conftest.err >&5
104901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104902 (exit $ac_status); } &&
104903 { ac_try='test -z "$ac_cxx_werror_flag"
104904 || test ! -s conftest.err'
104905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104906 (eval $ac_try) 2>&5
104907 ac_status=$?
104908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104909 (exit $ac_status); }; } &&
104910 { ac_try='test -s conftest.$ac_objext'
104911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104912 (eval $ac_try) 2>&5
104913 ac_status=$?
104914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104915 (exit $ac_status); }; }; then
104916 glibcxx_cv_func_finitel_use=yes
104918 echo "$as_me: failed program was:" >&5
104919 sed 's/^/| /' conftest.$ac_ext >&5
104921 glibcxx_cv_func_finitel_use=no
104923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104924 ac_ext=c
104925 ac_cpp='$CPP $CPPFLAGS'
104926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104935 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104937 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104939 for ac_func in finitel
104941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104942 echo "$as_me:$LINENO: checking for $ac_func" >&5
104943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104944 if eval "test \"\${$as_ac_var+set}\" = set"; then
104945 echo $ECHO_N "(cached) $ECHO_C" >&6
104947 if test x$gcc_no_link = xyes; then
104948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104950 { (exit 1); exit 1; }; }
104952 cat >conftest.$ac_ext <<_ACEOF
104953 /* confdefs.h. */
104954 _ACEOF
104955 cat confdefs.h >>conftest.$ac_ext
104956 cat >>conftest.$ac_ext <<_ACEOF
104957 /* end confdefs.h. */
104958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104960 #define $ac_func innocuous_$ac_func
104962 /* System header to define __stub macros and hopefully few prototypes,
104963 which can conflict with char $ac_func (); below.
104964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104965 <limits.h> exists even on freestanding compilers. */
104967 #ifdef __STDC__
104968 # include <limits.h>
104969 #else
104970 # include <assert.h>
104971 #endif
104973 #undef $ac_func
104975 /* Override any gcc2 internal prototype to avoid an error. */
104976 #ifdef __cplusplus
104977 extern "C"
104979 #endif
104980 /* We use char because int might match the return type of a gcc2
104981 builtin and then its argument prototype would still apply. */
104982 char $ac_func ();
104983 /* The GNU C library defines this for functions which it implements
104984 to always fail with ENOSYS. Some functions are actually named
104985 something starting with __ and the normal name is an alias. */
104986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104987 choke me
104988 #else
104989 char (*f) () = $ac_func;
104990 #endif
104991 #ifdef __cplusplus
104993 #endif
104996 main ()
104998 return f != $ac_func;
105000 return 0;
105002 _ACEOF
105003 rm -f conftest.$ac_objext conftest$ac_exeext
105004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105005 (eval $ac_link) 2>conftest.er1
105006 ac_status=$?
105007 grep -v '^ *+' conftest.er1 >conftest.err
105008 rm -f conftest.er1
105009 cat conftest.err >&5
105010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105011 (exit $ac_status); } &&
105012 { ac_try='test -z "$ac_c_werror_flag"
105013 || test ! -s conftest.err'
105014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105015 (eval $ac_try) 2>&5
105016 ac_status=$?
105017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105018 (exit $ac_status); }; } &&
105019 { ac_try='test -s conftest$ac_exeext'
105020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105021 (eval $ac_try) 2>&5
105022 ac_status=$?
105023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105024 (exit $ac_status); }; }; then
105025 eval "$as_ac_var=yes"
105027 echo "$as_me: failed program was:" >&5
105028 sed 's/^/| /' conftest.$ac_ext >&5
105030 eval "$as_ac_var=no"
105032 rm -f conftest.err conftest.$ac_objext \
105033 conftest$ac_exeext conftest.$ac_ext
105035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105037 if test `eval echo '${'$as_ac_var'}'` = yes; then
105038 cat >>confdefs.h <<_ACEOF
105039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105040 _ACEOF
105047 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105048 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105049 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105050 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105051 echo $ECHO_N "(cached) $ECHO_C" >&6
105056 ac_ext=cc
105057 ac_cpp='$CXXCPP $CPPFLAGS'
105058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105062 cat >conftest.$ac_ext <<_ACEOF
105063 /* confdefs.h. */
105064 _ACEOF
105065 cat confdefs.h >>conftest.$ac_ext
105066 cat >>conftest.$ac_ext <<_ACEOF
105067 /* end confdefs.h. */
105068 #include <math.h>
105069 #ifdef HAVE_IEEEFP_H
105070 #include <ieeefp.h>
105071 #endif
105074 main ()
105076 _finitel(0);
105078 return 0;
105080 _ACEOF
105081 rm -f conftest.$ac_objext
105082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105083 (eval $ac_compile) 2>conftest.er1
105084 ac_status=$?
105085 grep -v '^ *+' conftest.er1 >conftest.err
105086 rm -f conftest.er1
105087 cat conftest.err >&5
105088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105089 (exit $ac_status); } &&
105090 { ac_try='test -z "$ac_cxx_werror_flag"
105091 || test ! -s conftest.err'
105092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105093 (eval $ac_try) 2>&5
105094 ac_status=$?
105095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105096 (exit $ac_status); }; } &&
105097 { ac_try='test -s conftest.$ac_objext'
105098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105099 (eval $ac_try) 2>&5
105100 ac_status=$?
105101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105102 (exit $ac_status); }; }; then
105103 glibcxx_cv_func__finitel_use=yes
105105 echo "$as_me: failed program was:" >&5
105106 sed 's/^/| /' conftest.$ac_ext >&5
105108 glibcxx_cv_func__finitel_use=no
105110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105111 ac_ext=c
105112 ac_cpp='$CPP $CPPFLAGS'
105113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105122 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105124 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105126 for ac_func in _finitel
105128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105129 echo "$as_me:$LINENO: checking for $ac_func" >&5
105130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105131 if eval "test \"\${$as_ac_var+set}\" = set"; then
105132 echo $ECHO_N "(cached) $ECHO_C" >&6
105134 if test x$gcc_no_link = xyes; then
105135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105137 { (exit 1); exit 1; }; }
105139 cat >conftest.$ac_ext <<_ACEOF
105140 /* confdefs.h. */
105141 _ACEOF
105142 cat confdefs.h >>conftest.$ac_ext
105143 cat >>conftest.$ac_ext <<_ACEOF
105144 /* end confdefs.h. */
105145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105147 #define $ac_func innocuous_$ac_func
105149 /* System header to define __stub macros and hopefully few prototypes,
105150 which can conflict with char $ac_func (); below.
105151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105152 <limits.h> exists even on freestanding compilers. */
105154 #ifdef __STDC__
105155 # include <limits.h>
105156 #else
105157 # include <assert.h>
105158 #endif
105160 #undef $ac_func
105162 /* Override any gcc2 internal prototype to avoid an error. */
105163 #ifdef __cplusplus
105164 extern "C"
105166 #endif
105167 /* We use char because int might match the return type of a gcc2
105168 builtin and then its argument prototype would still apply. */
105169 char $ac_func ();
105170 /* The GNU C library defines this for functions which it implements
105171 to always fail with ENOSYS. Some functions are actually named
105172 something starting with __ and the normal name is an alias. */
105173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105174 choke me
105175 #else
105176 char (*f) () = $ac_func;
105177 #endif
105178 #ifdef __cplusplus
105180 #endif
105183 main ()
105185 return f != $ac_func;
105187 return 0;
105189 _ACEOF
105190 rm -f conftest.$ac_objext conftest$ac_exeext
105191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105192 (eval $ac_link) 2>conftest.er1
105193 ac_status=$?
105194 grep -v '^ *+' conftest.er1 >conftest.err
105195 rm -f conftest.er1
105196 cat conftest.err >&5
105197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105198 (exit $ac_status); } &&
105199 { ac_try='test -z "$ac_c_werror_flag"
105200 || test ! -s conftest.err'
105201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105202 (eval $ac_try) 2>&5
105203 ac_status=$?
105204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105205 (exit $ac_status); }; } &&
105206 { ac_try='test -s conftest$ac_exeext'
105207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105208 (eval $ac_try) 2>&5
105209 ac_status=$?
105210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105211 (exit $ac_status); }; }; then
105212 eval "$as_ac_var=yes"
105214 echo "$as_me: failed program was:" >&5
105215 sed 's/^/| /' conftest.$ac_ext >&5
105217 eval "$as_ac_var=no"
105219 rm -f conftest.err conftest.$ac_objext \
105220 conftest$ac_exeext conftest.$ac_ext
105222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105224 if test `eval echo '${'$as_ac_var'}'` = yes; then
105225 cat >>confdefs.h <<_ACEOF
105226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105227 _ACEOF
105239 LIBS="$ac_save_LIBS"
105240 CXXFLAGS="$ac_save_CXXFLAGS"
105244 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105245 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105246 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105247 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105248 echo $ECHO_N "(cached) $ECHO_C" >&6
105253 ac_ext=cc
105254 ac_cpp='$CXXCPP $CPPFLAGS'
105255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105259 cat >conftest.$ac_ext <<_ACEOF
105260 /* confdefs.h. */
105261 _ACEOF
105262 cat confdefs.h >>conftest.$ac_ext
105263 cat >>conftest.$ac_ext <<_ACEOF
105264 /* end confdefs.h. */
105265 #include <math.h>
105267 main ()
105269 __builtin_abs(0);
105271 return 0;
105273 _ACEOF
105274 rm -f conftest.$ac_objext
105275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105276 (eval $ac_compile) 2>conftest.er1
105277 ac_status=$?
105278 grep -v '^ *+' conftest.er1 >conftest.err
105279 rm -f conftest.er1
105280 cat conftest.err >&5
105281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105282 (exit $ac_status); } &&
105283 { ac_try='test -z "$ac_cxx_werror_flag"
105284 || test ! -s conftest.err'
105285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105286 (eval $ac_try) 2>&5
105287 ac_status=$?
105288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105289 (exit $ac_status); }; } &&
105290 { ac_try='test -s conftest.$ac_objext'
105291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105292 (eval $ac_try) 2>&5
105293 ac_status=$?
105294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105295 (exit $ac_status); }; }; then
105296 glibcxx_cv_func___builtin_abs_use=yes
105298 echo "$as_me: failed program was:" >&5
105299 sed 's/^/| /' conftest.$ac_ext >&5
105301 glibcxx_cv_func___builtin_abs_use=no
105303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105304 ac_ext=c
105305 ac_cpp='$CPP $CPPFLAGS'
105306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105314 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105315 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105316 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105317 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105318 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105319 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105320 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105321 echo $ECHO_N "(cached) $ECHO_C" >&6
105324 if test x$gcc_no_link = xyes; then
105325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105327 { (exit 1); exit 1; }; }
105329 cat >conftest.$ac_ext <<_ACEOF
105330 /* confdefs.h. */
105331 _ACEOF
105332 cat confdefs.h >>conftest.$ac_ext
105333 cat >>conftest.$ac_ext <<_ACEOF
105334 /* end confdefs.h. */
105335 #include <math.h>
105337 main ()
105339 __builtin_abs(0);
105341 return 0;
105343 _ACEOF
105344 rm -f conftest.$ac_objext conftest$ac_exeext
105345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105346 (eval $ac_link) 2>conftest.er1
105347 ac_status=$?
105348 grep -v '^ *+' conftest.er1 >conftest.err
105349 rm -f conftest.er1
105350 cat conftest.err >&5
105351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105352 (exit $ac_status); } &&
105353 { ac_try='test -z "$ac_c_werror_flag"
105354 || test ! -s conftest.err'
105355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105356 (eval $ac_try) 2>&5
105357 ac_status=$?
105358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105359 (exit $ac_status); }; } &&
105360 { ac_try='test -s conftest$ac_exeext'
105361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105362 (eval $ac_try) 2>&5
105363 ac_status=$?
105364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105365 (exit $ac_status); }; }; then
105366 glibcxx_cv_func___builtin_abs_link=yes
105368 echo "$as_me: failed program was:" >&5
105369 sed 's/^/| /' conftest.$ac_ext >&5
105371 glibcxx_cv_func___builtin_abs_link=no
105373 rm -f conftest.err conftest.$ac_objext \
105374 conftest$ac_exeext conftest.$ac_ext
105379 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105380 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105382 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105384 cat >>confdefs.h <<\_ACEOF
105385 #define HAVE___BUILTIN_ABS 1
105386 _ACEOF
105393 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105394 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105395 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105396 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105397 echo $ECHO_N "(cached) $ECHO_C" >&6
105402 ac_ext=cc
105403 ac_cpp='$CXXCPP $CPPFLAGS'
105404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105408 cat >conftest.$ac_ext <<_ACEOF
105409 /* confdefs.h. */
105410 _ACEOF
105411 cat confdefs.h >>conftest.$ac_ext
105412 cat >>conftest.$ac_ext <<_ACEOF
105413 /* end confdefs.h. */
105414 #include <math.h>
105416 main ()
105418 __builtin_fabsf(0);
105420 return 0;
105422 _ACEOF
105423 rm -f conftest.$ac_objext
105424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105425 (eval $ac_compile) 2>conftest.er1
105426 ac_status=$?
105427 grep -v '^ *+' conftest.er1 >conftest.err
105428 rm -f conftest.er1
105429 cat conftest.err >&5
105430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105431 (exit $ac_status); } &&
105432 { ac_try='test -z "$ac_cxx_werror_flag"
105433 || test ! -s conftest.err'
105434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105435 (eval $ac_try) 2>&5
105436 ac_status=$?
105437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105438 (exit $ac_status); }; } &&
105439 { ac_try='test -s conftest.$ac_objext'
105440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105441 (eval $ac_try) 2>&5
105442 ac_status=$?
105443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105444 (exit $ac_status); }; }; then
105445 glibcxx_cv_func___builtin_fabsf_use=yes
105447 echo "$as_me: failed program was:" >&5
105448 sed 's/^/| /' conftest.$ac_ext >&5
105450 glibcxx_cv_func___builtin_fabsf_use=no
105452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105453 ac_ext=c
105454 ac_cpp='$CPP $CPPFLAGS'
105455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105464 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105465 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105466 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105467 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105468 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105469 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105470 echo $ECHO_N "(cached) $ECHO_C" >&6
105473 if test x$gcc_no_link = xyes; then
105474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105476 { (exit 1); exit 1; }; }
105478 cat >conftest.$ac_ext <<_ACEOF
105479 /* confdefs.h. */
105480 _ACEOF
105481 cat confdefs.h >>conftest.$ac_ext
105482 cat >>conftest.$ac_ext <<_ACEOF
105483 /* end confdefs.h. */
105484 #include <math.h>
105486 main ()
105488 __builtin_fabsf(0);
105490 return 0;
105492 _ACEOF
105493 rm -f conftest.$ac_objext conftest$ac_exeext
105494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105495 (eval $ac_link) 2>conftest.er1
105496 ac_status=$?
105497 grep -v '^ *+' conftest.er1 >conftest.err
105498 rm -f conftest.er1
105499 cat conftest.err >&5
105500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105501 (exit $ac_status); } &&
105502 { ac_try='test -z "$ac_c_werror_flag"
105503 || test ! -s conftest.err'
105504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105505 (eval $ac_try) 2>&5
105506 ac_status=$?
105507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105508 (exit $ac_status); }; } &&
105509 { ac_try='test -s conftest$ac_exeext'
105510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105511 (eval $ac_try) 2>&5
105512 ac_status=$?
105513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105514 (exit $ac_status); }; }; then
105515 glibcxx_cv_func___builtin_fabsf_link=yes
105517 echo "$as_me: failed program was:" >&5
105518 sed 's/^/| /' conftest.$ac_ext >&5
105520 glibcxx_cv_func___builtin_fabsf_link=no
105522 rm -f conftest.err conftest.$ac_objext \
105523 conftest$ac_exeext conftest.$ac_ext
105528 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105529 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105531 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105533 cat >>confdefs.h <<\_ACEOF
105534 #define HAVE___BUILTIN_FABSF 1
105535 _ACEOF
105542 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105543 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105544 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105545 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105546 echo $ECHO_N "(cached) $ECHO_C" >&6
105551 ac_ext=cc
105552 ac_cpp='$CXXCPP $CPPFLAGS'
105553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105557 cat >conftest.$ac_ext <<_ACEOF
105558 /* confdefs.h. */
105559 _ACEOF
105560 cat confdefs.h >>conftest.$ac_ext
105561 cat >>conftest.$ac_ext <<_ACEOF
105562 /* end confdefs.h. */
105563 #include <math.h>
105565 main ()
105567 __builtin_fabs(0);
105569 return 0;
105571 _ACEOF
105572 rm -f conftest.$ac_objext
105573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105574 (eval $ac_compile) 2>conftest.er1
105575 ac_status=$?
105576 grep -v '^ *+' conftest.er1 >conftest.err
105577 rm -f conftest.er1
105578 cat conftest.err >&5
105579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105580 (exit $ac_status); } &&
105581 { ac_try='test -z "$ac_cxx_werror_flag"
105582 || test ! -s conftest.err'
105583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105584 (eval $ac_try) 2>&5
105585 ac_status=$?
105586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105587 (exit $ac_status); }; } &&
105588 { ac_try='test -s conftest.$ac_objext'
105589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105590 (eval $ac_try) 2>&5
105591 ac_status=$?
105592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105593 (exit $ac_status); }; }; then
105594 glibcxx_cv_func___builtin_fabs_use=yes
105596 echo "$as_me: failed program was:" >&5
105597 sed 's/^/| /' conftest.$ac_ext >&5
105599 glibcxx_cv_func___builtin_fabs_use=no
105601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105602 ac_ext=c
105603 ac_cpp='$CPP $CPPFLAGS'
105604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105612 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105613 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105614 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105615 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105616 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105617 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105618 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105619 echo $ECHO_N "(cached) $ECHO_C" >&6
105622 if test x$gcc_no_link = xyes; then
105623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105625 { (exit 1); exit 1; }; }
105627 cat >conftest.$ac_ext <<_ACEOF
105628 /* confdefs.h. */
105629 _ACEOF
105630 cat confdefs.h >>conftest.$ac_ext
105631 cat >>conftest.$ac_ext <<_ACEOF
105632 /* end confdefs.h. */
105633 #include <math.h>
105635 main ()
105637 __builtin_fabs(0);
105639 return 0;
105641 _ACEOF
105642 rm -f conftest.$ac_objext conftest$ac_exeext
105643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105644 (eval $ac_link) 2>conftest.er1
105645 ac_status=$?
105646 grep -v '^ *+' conftest.er1 >conftest.err
105647 rm -f conftest.er1
105648 cat conftest.err >&5
105649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105650 (exit $ac_status); } &&
105651 { ac_try='test -z "$ac_c_werror_flag"
105652 || test ! -s conftest.err'
105653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105654 (eval $ac_try) 2>&5
105655 ac_status=$?
105656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105657 (exit $ac_status); }; } &&
105658 { ac_try='test -s conftest$ac_exeext'
105659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105660 (eval $ac_try) 2>&5
105661 ac_status=$?
105662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105663 (exit $ac_status); }; }; then
105664 glibcxx_cv_func___builtin_fabs_link=yes
105666 echo "$as_me: failed program was:" >&5
105667 sed 's/^/| /' conftest.$ac_ext >&5
105669 glibcxx_cv_func___builtin_fabs_link=no
105671 rm -f conftest.err conftest.$ac_objext \
105672 conftest$ac_exeext conftest.$ac_ext
105677 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105678 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105680 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105682 cat >>confdefs.h <<\_ACEOF
105683 #define HAVE___BUILTIN_FABS 1
105684 _ACEOF
105691 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105692 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105693 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105694 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105695 echo $ECHO_N "(cached) $ECHO_C" >&6
105700 ac_ext=cc
105701 ac_cpp='$CXXCPP $CPPFLAGS'
105702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105706 cat >conftest.$ac_ext <<_ACEOF
105707 /* confdefs.h. */
105708 _ACEOF
105709 cat confdefs.h >>conftest.$ac_ext
105710 cat >>conftest.$ac_ext <<_ACEOF
105711 /* end confdefs.h. */
105712 #include <math.h>
105714 main ()
105716 __builtin_fabsl(0);
105718 return 0;
105720 _ACEOF
105721 rm -f conftest.$ac_objext
105722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105723 (eval $ac_compile) 2>conftest.er1
105724 ac_status=$?
105725 grep -v '^ *+' conftest.er1 >conftest.err
105726 rm -f conftest.er1
105727 cat conftest.err >&5
105728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105729 (exit $ac_status); } &&
105730 { ac_try='test -z "$ac_cxx_werror_flag"
105731 || test ! -s conftest.err'
105732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105733 (eval $ac_try) 2>&5
105734 ac_status=$?
105735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105736 (exit $ac_status); }; } &&
105737 { ac_try='test -s conftest.$ac_objext'
105738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105739 (eval $ac_try) 2>&5
105740 ac_status=$?
105741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105742 (exit $ac_status); }; }; then
105743 glibcxx_cv_func___builtin_fabsl_use=yes
105745 echo "$as_me: failed program was:" >&5
105746 sed 's/^/| /' conftest.$ac_ext >&5
105748 glibcxx_cv_func___builtin_fabsl_use=no
105750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105751 ac_ext=c
105752 ac_cpp='$CPP $CPPFLAGS'
105753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105761 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105762 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105763 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105764 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105765 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105766 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105767 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105768 echo $ECHO_N "(cached) $ECHO_C" >&6
105771 if test x$gcc_no_link = xyes; then
105772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105774 { (exit 1); exit 1; }; }
105776 cat >conftest.$ac_ext <<_ACEOF
105777 /* confdefs.h. */
105778 _ACEOF
105779 cat confdefs.h >>conftest.$ac_ext
105780 cat >>conftest.$ac_ext <<_ACEOF
105781 /* end confdefs.h. */
105782 #include <math.h>
105784 main ()
105786 __builtin_fabsl(0);
105788 return 0;
105790 _ACEOF
105791 rm -f conftest.$ac_objext conftest$ac_exeext
105792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105793 (eval $ac_link) 2>conftest.er1
105794 ac_status=$?
105795 grep -v '^ *+' conftest.er1 >conftest.err
105796 rm -f conftest.er1
105797 cat conftest.err >&5
105798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105799 (exit $ac_status); } &&
105800 { ac_try='test -z "$ac_c_werror_flag"
105801 || test ! -s conftest.err'
105802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105803 (eval $ac_try) 2>&5
105804 ac_status=$?
105805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105806 (exit $ac_status); }; } &&
105807 { ac_try='test -s conftest$ac_exeext'
105808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105809 (eval $ac_try) 2>&5
105810 ac_status=$?
105811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105812 (exit $ac_status); }; }; then
105813 glibcxx_cv_func___builtin_fabsl_link=yes
105815 echo "$as_me: failed program was:" >&5
105816 sed 's/^/| /' conftest.$ac_ext >&5
105818 glibcxx_cv_func___builtin_fabsl_link=no
105820 rm -f conftest.err conftest.$ac_objext \
105821 conftest$ac_exeext conftest.$ac_ext
105826 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105827 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105829 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105831 cat >>confdefs.h <<\_ACEOF
105832 #define HAVE___BUILTIN_FABSL 1
105833 _ACEOF
105840 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105841 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105842 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105843 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105844 echo $ECHO_N "(cached) $ECHO_C" >&6
105849 ac_ext=cc
105850 ac_cpp='$CXXCPP $CPPFLAGS'
105851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105855 cat >conftest.$ac_ext <<_ACEOF
105856 /* confdefs.h. */
105857 _ACEOF
105858 cat confdefs.h >>conftest.$ac_ext
105859 cat >>conftest.$ac_ext <<_ACEOF
105860 /* end confdefs.h. */
105861 #include <math.h>
105863 main ()
105865 __builtin_labs(0);
105867 return 0;
105869 _ACEOF
105870 rm -f conftest.$ac_objext
105871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105872 (eval $ac_compile) 2>conftest.er1
105873 ac_status=$?
105874 grep -v '^ *+' conftest.er1 >conftest.err
105875 rm -f conftest.er1
105876 cat conftest.err >&5
105877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105878 (exit $ac_status); } &&
105879 { ac_try='test -z "$ac_cxx_werror_flag"
105880 || test ! -s conftest.err'
105881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105882 (eval $ac_try) 2>&5
105883 ac_status=$?
105884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105885 (exit $ac_status); }; } &&
105886 { ac_try='test -s conftest.$ac_objext'
105887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105888 (eval $ac_try) 2>&5
105889 ac_status=$?
105890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105891 (exit $ac_status); }; }; then
105892 glibcxx_cv_func___builtin_labs_use=yes
105894 echo "$as_me: failed program was:" >&5
105895 sed 's/^/| /' conftest.$ac_ext >&5
105897 glibcxx_cv_func___builtin_labs_use=no
105899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105900 ac_ext=c
105901 ac_cpp='$CPP $CPPFLAGS'
105902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105911 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105912 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105913 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105914 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105915 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105916 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105917 echo $ECHO_N "(cached) $ECHO_C" >&6
105920 if test x$gcc_no_link = xyes; then
105921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105923 { (exit 1); exit 1; }; }
105925 cat >conftest.$ac_ext <<_ACEOF
105926 /* confdefs.h. */
105927 _ACEOF
105928 cat confdefs.h >>conftest.$ac_ext
105929 cat >>conftest.$ac_ext <<_ACEOF
105930 /* end confdefs.h. */
105931 #include <math.h>
105933 main ()
105935 __builtin_labs(0);
105937 return 0;
105939 _ACEOF
105940 rm -f conftest.$ac_objext conftest$ac_exeext
105941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105942 (eval $ac_link) 2>conftest.er1
105943 ac_status=$?
105944 grep -v '^ *+' conftest.er1 >conftest.err
105945 rm -f conftest.er1
105946 cat conftest.err >&5
105947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105948 (exit $ac_status); } &&
105949 { ac_try='test -z "$ac_c_werror_flag"
105950 || test ! -s conftest.err'
105951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105952 (eval $ac_try) 2>&5
105953 ac_status=$?
105954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105955 (exit $ac_status); }; } &&
105956 { ac_try='test -s conftest$ac_exeext'
105957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105958 (eval $ac_try) 2>&5
105959 ac_status=$?
105960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105961 (exit $ac_status); }; }; then
105962 glibcxx_cv_func___builtin_labs_link=yes
105964 echo "$as_me: failed program was:" >&5
105965 sed 's/^/| /' conftest.$ac_ext >&5
105967 glibcxx_cv_func___builtin_labs_link=no
105969 rm -f conftest.err conftest.$ac_objext \
105970 conftest$ac_exeext conftest.$ac_ext
105975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105976 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105978 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105980 cat >>confdefs.h <<\_ACEOF
105981 #define HAVE___BUILTIN_LABS 1
105982 _ACEOF
105990 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105991 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105992 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105993 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105994 echo $ECHO_N "(cached) $ECHO_C" >&6
105999 ac_ext=cc
106000 ac_cpp='$CXXCPP $CPPFLAGS'
106001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106005 cat >conftest.$ac_ext <<_ACEOF
106006 /* confdefs.h. */
106007 _ACEOF
106008 cat confdefs.h >>conftest.$ac_ext
106009 cat >>conftest.$ac_ext <<_ACEOF
106010 /* end confdefs.h. */
106011 #include <math.h>
106013 main ()
106015 __builtin_sqrtf(0);
106017 return 0;
106019 _ACEOF
106020 rm -f conftest.$ac_objext
106021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106022 (eval $ac_compile) 2>conftest.er1
106023 ac_status=$?
106024 grep -v '^ *+' conftest.er1 >conftest.err
106025 rm -f conftest.er1
106026 cat conftest.err >&5
106027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106028 (exit $ac_status); } &&
106029 { ac_try='test -z "$ac_cxx_werror_flag"
106030 || test ! -s conftest.err'
106031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106032 (eval $ac_try) 2>&5
106033 ac_status=$?
106034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106035 (exit $ac_status); }; } &&
106036 { ac_try='test -s conftest.$ac_objext'
106037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106038 (eval $ac_try) 2>&5
106039 ac_status=$?
106040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106041 (exit $ac_status); }; }; then
106042 glibcxx_cv_func___builtin_sqrtf_use=yes
106044 echo "$as_me: failed program was:" >&5
106045 sed 's/^/| /' conftest.$ac_ext >&5
106047 glibcxx_cv_func___builtin_sqrtf_use=no
106049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106050 ac_ext=c
106051 ac_cpp='$CPP $CPPFLAGS'
106052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106062 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106063 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106064 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106065 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106066 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106067 echo $ECHO_N "(cached) $ECHO_C" >&6
106070 if test x$gcc_no_link = xyes; then
106071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106073 { (exit 1); exit 1; }; }
106075 cat >conftest.$ac_ext <<_ACEOF
106076 /* confdefs.h. */
106077 _ACEOF
106078 cat confdefs.h >>conftest.$ac_ext
106079 cat >>conftest.$ac_ext <<_ACEOF
106080 /* end confdefs.h. */
106081 #include <math.h>
106083 main ()
106085 __builtin_sqrtf(0);
106087 return 0;
106089 _ACEOF
106090 rm -f conftest.$ac_objext conftest$ac_exeext
106091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106092 (eval $ac_link) 2>conftest.er1
106093 ac_status=$?
106094 grep -v '^ *+' conftest.er1 >conftest.err
106095 rm -f conftest.er1
106096 cat conftest.err >&5
106097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106098 (exit $ac_status); } &&
106099 { ac_try='test -z "$ac_c_werror_flag"
106100 || test ! -s conftest.err'
106101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106102 (eval $ac_try) 2>&5
106103 ac_status=$?
106104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106105 (exit $ac_status); }; } &&
106106 { ac_try='test -s conftest$ac_exeext'
106107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106108 (eval $ac_try) 2>&5
106109 ac_status=$?
106110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106111 (exit $ac_status); }; }; then
106112 glibcxx_cv_func___builtin_sqrtf_link=yes
106114 echo "$as_me: failed program was:" >&5
106115 sed 's/^/| /' conftest.$ac_ext >&5
106117 glibcxx_cv_func___builtin_sqrtf_link=no
106119 rm -f conftest.err conftest.$ac_objext \
106120 conftest$ac_exeext conftest.$ac_ext
106125 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106126 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106128 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106130 cat >>confdefs.h <<\_ACEOF
106131 #define HAVE___BUILTIN_SQRTF 1
106132 _ACEOF
106139 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106140 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106141 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106142 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106143 echo $ECHO_N "(cached) $ECHO_C" >&6
106148 ac_ext=cc
106149 ac_cpp='$CXXCPP $CPPFLAGS'
106150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106154 cat >conftest.$ac_ext <<_ACEOF
106155 /* confdefs.h. */
106156 _ACEOF
106157 cat confdefs.h >>conftest.$ac_ext
106158 cat >>conftest.$ac_ext <<_ACEOF
106159 /* end confdefs.h. */
106160 #include <math.h>
106162 main ()
106164 __builtin_sqrt(0);
106166 return 0;
106168 _ACEOF
106169 rm -f conftest.$ac_objext
106170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106171 (eval $ac_compile) 2>conftest.er1
106172 ac_status=$?
106173 grep -v '^ *+' conftest.er1 >conftest.err
106174 rm -f conftest.er1
106175 cat conftest.err >&5
106176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106177 (exit $ac_status); } &&
106178 { ac_try='test -z "$ac_cxx_werror_flag"
106179 || test ! -s conftest.err'
106180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106181 (eval $ac_try) 2>&5
106182 ac_status=$?
106183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106184 (exit $ac_status); }; } &&
106185 { ac_try='test -s conftest.$ac_objext'
106186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106187 (eval $ac_try) 2>&5
106188 ac_status=$?
106189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106190 (exit $ac_status); }; }; then
106191 glibcxx_cv_func___builtin_sqrt_use=yes
106193 echo "$as_me: failed program was:" >&5
106194 sed 's/^/| /' conftest.$ac_ext >&5
106196 glibcxx_cv_func___builtin_sqrt_use=no
106198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106199 ac_ext=c
106200 ac_cpp='$CPP $CPPFLAGS'
106201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106210 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106211 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106212 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106213 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106214 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106215 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106216 echo $ECHO_N "(cached) $ECHO_C" >&6
106219 if test x$gcc_no_link = xyes; then
106220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106222 { (exit 1); exit 1; }; }
106224 cat >conftest.$ac_ext <<_ACEOF
106225 /* confdefs.h. */
106226 _ACEOF
106227 cat confdefs.h >>conftest.$ac_ext
106228 cat >>conftest.$ac_ext <<_ACEOF
106229 /* end confdefs.h. */
106230 #include <math.h>
106232 main ()
106234 __builtin_sqrt(0);
106236 return 0;
106238 _ACEOF
106239 rm -f conftest.$ac_objext conftest$ac_exeext
106240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106241 (eval $ac_link) 2>conftest.er1
106242 ac_status=$?
106243 grep -v '^ *+' conftest.er1 >conftest.err
106244 rm -f conftest.er1
106245 cat conftest.err >&5
106246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106247 (exit $ac_status); } &&
106248 { ac_try='test -z "$ac_c_werror_flag"
106249 || test ! -s conftest.err'
106250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106251 (eval $ac_try) 2>&5
106252 ac_status=$?
106253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106254 (exit $ac_status); }; } &&
106255 { ac_try='test -s conftest$ac_exeext'
106256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106257 (eval $ac_try) 2>&5
106258 ac_status=$?
106259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260 (exit $ac_status); }; }; then
106261 glibcxx_cv_func___builtin_sqrt_link=yes
106263 echo "$as_me: failed program was:" >&5
106264 sed 's/^/| /' conftest.$ac_ext >&5
106266 glibcxx_cv_func___builtin_sqrt_link=no
106268 rm -f conftest.err conftest.$ac_objext \
106269 conftest$ac_exeext conftest.$ac_ext
106274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106275 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106277 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106279 cat >>confdefs.h <<\_ACEOF
106280 #define HAVE___BUILTIN_SQRT 1
106281 _ACEOF
106288 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106289 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106290 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106291 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106292 echo $ECHO_N "(cached) $ECHO_C" >&6
106297 ac_ext=cc
106298 ac_cpp='$CXXCPP $CPPFLAGS'
106299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106303 cat >conftest.$ac_ext <<_ACEOF
106304 /* confdefs.h. */
106305 _ACEOF
106306 cat confdefs.h >>conftest.$ac_ext
106307 cat >>conftest.$ac_ext <<_ACEOF
106308 /* end confdefs.h. */
106309 #include <math.h>
106311 main ()
106313 __builtin_sqrtl(0);
106315 return 0;
106317 _ACEOF
106318 rm -f conftest.$ac_objext
106319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106320 (eval $ac_compile) 2>conftest.er1
106321 ac_status=$?
106322 grep -v '^ *+' conftest.er1 >conftest.err
106323 rm -f conftest.er1
106324 cat conftest.err >&5
106325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106326 (exit $ac_status); } &&
106327 { ac_try='test -z "$ac_cxx_werror_flag"
106328 || test ! -s conftest.err'
106329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106330 (eval $ac_try) 2>&5
106331 ac_status=$?
106332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106333 (exit $ac_status); }; } &&
106334 { ac_try='test -s conftest.$ac_objext'
106335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106336 (eval $ac_try) 2>&5
106337 ac_status=$?
106338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106339 (exit $ac_status); }; }; then
106340 glibcxx_cv_func___builtin_sqrtl_use=yes
106342 echo "$as_me: failed program was:" >&5
106343 sed 's/^/| /' conftest.$ac_ext >&5
106345 glibcxx_cv_func___builtin_sqrtl_use=no
106347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106348 ac_ext=c
106349 ac_cpp='$CPP $CPPFLAGS'
106350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106360 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106361 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106362 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106363 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106364 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106365 echo $ECHO_N "(cached) $ECHO_C" >&6
106368 if test x$gcc_no_link = xyes; then
106369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106371 { (exit 1); exit 1; }; }
106373 cat >conftest.$ac_ext <<_ACEOF
106374 /* confdefs.h. */
106375 _ACEOF
106376 cat confdefs.h >>conftest.$ac_ext
106377 cat >>conftest.$ac_ext <<_ACEOF
106378 /* end confdefs.h. */
106379 #include <math.h>
106381 main ()
106383 __builtin_sqrtl(0);
106385 return 0;
106387 _ACEOF
106388 rm -f conftest.$ac_objext conftest$ac_exeext
106389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106390 (eval $ac_link) 2>conftest.er1
106391 ac_status=$?
106392 grep -v '^ *+' conftest.er1 >conftest.err
106393 rm -f conftest.er1
106394 cat conftest.err >&5
106395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106396 (exit $ac_status); } &&
106397 { ac_try='test -z "$ac_c_werror_flag"
106398 || test ! -s conftest.err'
106399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106400 (eval $ac_try) 2>&5
106401 ac_status=$?
106402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106403 (exit $ac_status); }; } &&
106404 { ac_try='test -s conftest$ac_exeext'
106405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106406 (eval $ac_try) 2>&5
106407 ac_status=$?
106408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106409 (exit $ac_status); }; }; then
106410 glibcxx_cv_func___builtin_sqrtl_link=yes
106412 echo "$as_me: failed program was:" >&5
106413 sed 's/^/| /' conftest.$ac_ext >&5
106415 glibcxx_cv_func___builtin_sqrtl_link=no
106417 rm -f conftest.err conftest.$ac_objext \
106418 conftest$ac_exeext conftest.$ac_ext
106423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106426 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106428 cat >>confdefs.h <<\_ACEOF
106429 #define HAVE___BUILTIN_SQRTL 1
106430 _ACEOF
106438 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106439 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106440 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106441 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106442 echo $ECHO_N "(cached) $ECHO_C" >&6
106447 ac_ext=cc
106448 ac_cpp='$CXXCPP $CPPFLAGS'
106449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106453 cat >conftest.$ac_ext <<_ACEOF
106454 /* confdefs.h. */
106455 _ACEOF
106456 cat confdefs.h >>conftest.$ac_ext
106457 cat >>conftest.$ac_ext <<_ACEOF
106458 /* end confdefs.h. */
106459 #include <math.h>
106461 main ()
106463 __builtin_sinf(0);
106465 return 0;
106467 _ACEOF
106468 rm -f conftest.$ac_objext
106469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106470 (eval $ac_compile) 2>conftest.er1
106471 ac_status=$?
106472 grep -v '^ *+' conftest.er1 >conftest.err
106473 rm -f conftest.er1
106474 cat conftest.err >&5
106475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106476 (exit $ac_status); } &&
106477 { ac_try='test -z "$ac_cxx_werror_flag"
106478 || test ! -s conftest.err'
106479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106480 (eval $ac_try) 2>&5
106481 ac_status=$?
106482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106483 (exit $ac_status); }; } &&
106484 { ac_try='test -s conftest.$ac_objext'
106485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106486 (eval $ac_try) 2>&5
106487 ac_status=$?
106488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106489 (exit $ac_status); }; }; then
106490 glibcxx_cv_func___builtin_sinf_use=yes
106492 echo "$as_me: failed program was:" >&5
106493 sed 's/^/| /' conftest.$ac_ext >&5
106495 glibcxx_cv_func___builtin_sinf_use=no
106497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106498 ac_ext=c
106499 ac_cpp='$CPP $CPPFLAGS'
106500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106509 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106510 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106511 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106512 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106513 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106514 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106515 echo $ECHO_N "(cached) $ECHO_C" >&6
106518 if test x$gcc_no_link = xyes; then
106519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106521 { (exit 1); exit 1; }; }
106523 cat >conftest.$ac_ext <<_ACEOF
106524 /* confdefs.h. */
106525 _ACEOF
106526 cat confdefs.h >>conftest.$ac_ext
106527 cat >>conftest.$ac_ext <<_ACEOF
106528 /* end confdefs.h. */
106529 #include <math.h>
106531 main ()
106533 __builtin_sinf(0);
106535 return 0;
106537 _ACEOF
106538 rm -f conftest.$ac_objext conftest$ac_exeext
106539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106540 (eval $ac_link) 2>conftest.er1
106541 ac_status=$?
106542 grep -v '^ *+' conftest.er1 >conftest.err
106543 rm -f conftest.er1
106544 cat conftest.err >&5
106545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106546 (exit $ac_status); } &&
106547 { ac_try='test -z "$ac_c_werror_flag"
106548 || test ! -s conftest.err'
106549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106550 (eval $ac_try) 2>&5
106551 ac_status=$?
106552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106553 (exit $ac_status); }; } &&
106554 { ac_try='test -s conftest$ac_exeext'
106555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106556 (eval $ac_try) 2>&5
106557 ac_status=$?
106558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106559 (exit $ac_status); }; }; then
106560 glibcxx_cv_func___builtin_sinf_link=yes
106562 echo "$as_me: failed program was:" >&5
106563 sed 's/^/| /' conftest.$ac_ext >&5
106565 glibcxx_cv_func___builtin_sinf_link=no
106567 rm -f conftest.err conftest.$ac_objext \
106568 conftest$ac_exeext conftest.$ac_ext
106573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106576 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106578 cat >>confdefs.h <<\_ACEOF
106579 #define HAVE___BUILTIN_SINF 1
106580 _ACEOF
106587 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106588 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106589 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106590 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106591 echo $ECHO_N "(cached) $ECHO_C" >&6
106596 ac_ext=cc
106597 ac_cpp='$CXXCPP $CPPFLAGS'
106598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106602 cat >conftest.$ac_ext <<_ACEOF
106603 /* confdefs.h. */
106604 _ACEOF
106605 cat confdefs.h >>conftest.$ac_ext
106606 cat >>conftest.$ac_ext <<_ACEOF
106607 /* end confdefs.h. */
106608 #include <math.h>
106610 main ()
106612 __builtin_sin(0);
106614 return 0;
106616 _ACEOF
106617 rm -f conftest.$ac_objext
106618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106619 (eval $ac_compile) 2>conftest.er1
106620 ac_status=$?
106621 grep -v '^ *+' conftest.er1 >conftest.err
106622 rm -f conftest.er1
106623 cat conftest.err >&5
106624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106625 (exit $ac_status); } &&
106626 { ac_try='test -z "$ac_cxx_werror_flag"
106627 || test ! -s conftest.err'
106628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106629 (eval $ac_try) 2>&5
106630 ac_status=$?
106631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106632 (exit $ac_status); }; } &&
106633 { ac_try='test -s conftest.$ac_objext'
106634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106635 (eval $ac_try) 2>&5
106636 ac_status=$?
106637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106638 (exit $ac_status); }; }; then
106639 glibcxx_cv_func___builtin_sin_use=yes
106641 echo "$as_me: failed program was:" >&5
106642 sed 's/^/| /' conftest.$ac_ext >&5
106644 glibcxx_cv_func___builtin_sin_use=no
106646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106647 ac_ext=c
106648 ac_cpp='$CPP $CPPFLAGS'
106649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106658 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106659 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106660 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106661 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106662 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106663 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106664 echo $ECHO_N "(cached) $ECHO_C" >&6
106667 if test x$gcc_no_link = xyes; then
106668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106670 { (exit 1); exit 1; }; }
106672 cat >conftest.$ac_ext <<_ACEOF
106673 /* confdefs.h. */
106674 _ACEOF
106675 cat confdefs.h >>conftest.$ac_ext
106676 cat >>conftest.$ac_ext <<_ACEOF
106677 /* end confdefs.h. */
106678 #include <math.h>
106680 main ()
106682 __builtin_sin(0);
106684 return 0;
106686 _ACEOF
106687 rm -f conftest.$ac_objext conftest$ac_exeext
106688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106689 (eval $ac_link) 2>conftest.er1
106690 ac_status=$?
106691 grep -v '^ *+' conftest.er1 >conftest.err
106692 rm -f conftest.er1
106693 cat conftest.err >&5
106694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106695 (exit $ac_status); } &&
106696 { ac_try='test -z "$ac_c_werror_flag"
106697 || test ! -s conftest.err'
106698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106699 (eval $ac_try) 2>&5
106700 ac_status=$?
106701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106702 (exit $ac_status); }; } &&
106703 { ac_try='test -s conftest$ac_exeext'
106704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106705 (eval $ac_try) 2>&5
106706 ac_status=$?
106707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106708 (exit $ac_status); }; }; then
106709 glibcxx_cv_func___builtin_sin_link=yes
106711 echo "$as_me: failed program was:" >&5
106712 sed 's/^/| /' conftest.$ac_ext >&5
106714 glibcxx_cv_func___builtin_sin_link=no
106716 rm -f conftest.err conftest.$ac_objext \
106717 conftest$ac_exeext conftest.$ac_ext
106722 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106723 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106725 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106727 cat >>confdefs.h <<\_ACEOF
106728 #define HAVE___BUILTIN_SIN 1
106729 _ACEOF
106736 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106737 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106738 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106739 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106740 echo $ECHO_N "(cached) $ECHO_C" >&6
106745 ac_ext=cc
106746 ac_cpp='$CXXCPP $CPPFLAGS'
106747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106751 cat >conftest.$ac_ext <<_ACEOF
106752 /* confdefs.h. */
106753 _ACEOF
106754 cat confdefs.h >>conftest.$ac_ext
106755 cat >>conftest.$ac_ext <<_ACEOF
106756 /* end confdefs.h. */
106757 #include <math.h>
106759 main ()
106761 __builtin_sinl(0);
106763 return 0;
106765 _ACEOF
106766 rm -f conftest.$ac_objext
106767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106768 (eval $ac_compile) 2>conftest.er1
106769 ac_status=$?
106770 grep -v '^ *+' conftest.er1 >conftest.err
106771 rm -f conftest.er1
106772 cat conftest.err >&5
106773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106774 (exit $ac_status); } &&
106775 { ac_try='test -z "$ac_cxx_werror_flag"
106776 || test ! -s conftest.err'
106777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106778 (eval $ac_try) 2>&5
106779 ac_status=$?
106780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106781 (exit $ac_status); }; } &&
106782 { ac_try='test -s conftest.$ac_objext'
106783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106784 (eval $ac_try) 2>&5
106785 ac_status=$?
106786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106787 (exit $ac_status); }; }; then
106788 glibcxx_cv_func___builtin_sinl_use=yes
106790 echo "$as_me: failed program was:" >&5
106791 sed 's/^/| /' conftest.$ac_ext >&5
106793 glibcxx_cv_func___builtin_sinl_use=no
106795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106796 ac_ext=c
106797 ac_cpp='$CPP $CPPFLAGS'
106798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106807 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106808 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106809 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106810 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106811 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106812 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106813 echo $ECHO_N "(cached) $ECHO_C" >&6
106816 if test x$gcc_no_link = xyes; then
106817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106819 { (exit 1); exit 1; }; }
106821 cat >conftest.$ac_ext <<_ACEOF
106822 /* confdefs.h. */
106823 _ACEOF
106824 cat confdefs.h >>conftest.$ac_ext
106825 cat >>conftest.$ac_ext <<_ACEOF
106826 /* end confdefs.h. */
106827 #include <math.h>
106829 main ()
106831 __builtin_sinl(0);
106833 return 0;
106835 _ACEOF
106836 rm -f conftest.$ac_objext conftest$ac_exeext
106837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106838 (eval $ac_link) 2>conftest.er1
106839 ac_status=$?
106840 grep -v '^ *+' conftest.er1 >conftest.err
106841 rm -f conftest.er1
106842 cat conftest.err >&5
106843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106844 (exit $ac_status); } &&
106845 { ac_try='test -z "$ac_c_werror_flag"
106846 || test ! -s conftest.err'
106847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106848 (eval $ac_try) 2>&5
106849 ac_status=$?
106850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106851 (exit $ac_status); }; } &&
106852 { ac_try='test -s conftest$ac_exeext'
106853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106854 (eval $ac_try) 2>&5
106855 ac_status=$?
106856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106857 (exit $ac_status); }; }; then
106858 glibcxx_cv_func___builtin_sinl_link=yes
106860 echo "$as_me: failed program was:" >&5
106861 sed 's/^/| /' conftest.$ac_ext >&5
106863 glibcxx_cv_func___builtin_sinl_link=no
106865 rm -f conftest.err conftest.$ac_objext \
106866 conftest$ac_exeext conftest.$ac_ext
106871 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106872 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106874 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106876 cat >>confdefs.h <<\_ACEOF
106877 #define HAVE___BUILTIN_SINL 1
106878 _ACEOF
106886 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106887 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106888 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106889 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106890 echo $ECHO_N "(cached) $ECHO_C" >&6
106895 ac_ext=cc
106896 ac_cpp='$CXXCPP $CPPFLAGS'
106897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106901 cat >conftest.$ac_ext <<_ACEOF
106902 /* confdefs.h. */
106903 _ACEOF
106904 cat confdefs.h >>conftest.$ac_ext
106905 cat >>conftest.$ac_ext <<_ACEOF
106906 /* end confdefs.h. */
106907 #include <math.h>
106909 main ()
106911 __builtin_cosf(0);
106913 return 0;
106915 _ACEOF
106916 rm -f conftest.$ac_objext
106917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106918 (eval $ac_compile) 2>conftest.er1
106919 ac_status=$?
106920 grep -v '^ *+' conftest.er1 >conftest.err
106921 rm -f conftest.er1
106922 cat conftest.err >&5
106923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106924 (exit $ac_status); } &&
106925 { ac_try='test -z "$ac_cxx_werror_flag"
106926 || test ! -s conftest.err'
106927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106928 (eval $ac_try) 2>&5
106929 ac_status=$?
106930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106931 (exit $ac_status); }; } &&
106932 { ac_try='test -s conftest.$ac_objext'
106933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106934 (eval $ac_try) 2>&5
106935 ac_status=$?
106936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106937 (exit $ac_status); }; }; then
106938 glibcxx_cv_func___builtin_cosf_use=yes
106940 echo "$as_me: failed program was:" >&5
106941 sed 's/^/| /' conftest.$ac_ext >&5
106943 glibcxx_cv_func___builtin_cosf_use=no
106945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106946 ac_ext=c
106947 ac_cpp='$CPP $CPPFLAGS'
106948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106957 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106958 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106959 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106960 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106961 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106962 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106963 echo $ECHO_N "(cached) $ECHO_C" >&6
106966 if test x$gcc_no_link = xyes; then
106967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106969 { (exit 1); exit 1; }; }
106971 cat >conftest.$ac_ext <<_ACEOF
106972 /* confdefs.h. */
106973 _ACEOF
106974 cat confdefs.h >>conftest.$ac_ext
106975 cat >>conftest.$ac_ext <<_ACEOF
106976 /* end confdefs.h. */
106977 #include <math.h>
106979 main ()
106981 __builtin_cosf(0);
106983 return 0;
106985 _ACEOF
106986 rm -f conftest.$ac_objext conftest$ac_exeext
106987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106988 (eval $ac_link) 2>conftest.er1
106989 ac_status=$?
106990 grep -v '^ *+' conftest.er1 >conftest.err
106991 rm -f conftest.er1
106992 cat conftest.err >&5
106993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106994 (exit $ac_status); } &&
106995 { ac_try='test -z "$ac_c_werror_flag"
106996 || test ! -s conftest.err'
106997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106998 (eval $ac_try) 2>&5
106999 ac_status=$?
107000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107001 (exit $ac_status); }; } &&
107002 { ac_try='test -s conftest$ac_exeext'
107003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107004 (eval $ac_try) 2>&5
107005 ac_status=$?
107006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107007 (exit $ac_status); }; }; then
107008 glibcxx_cv_func___builtin_cosf_link=yes
107010 echo "$as_me: failed program was:" >&5
107011 sed 's/^/| /' conftest.$ac_ext >&5
107013 glibcxx_cv_func___builtin_cosf_link=no
107015 rm -f conftest.err conftest.$ac_objext \
107016 conftest$ac_exeext conftest.$ac_ext
107021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107022 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107024 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107026 cat >>confdefs.h <<\_ACEOF
107027 #define HAVE___BUILTIN_COSF 1
107028 _ACEOF
107035 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107036 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107037 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107038 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107039 echo $ECHO_N "(cached) $ECHO_C" >&6
107044 ac_ext=cc
107045 ac_cpp='$CXXCPP $CPPFLAGS'
107046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107050 cat >conftest.$ac_ext <<_ACEOF
107051 /* confdefs.h. */
107052 _ACEOF
107053 cat confdefs.h >>conftest.$ac_ext
107054 cat >>conftest.$ac_ext <<_ACEOF
107055 /* end confdefs.h. */
107056 #include <math.h>
107058 main ()
107060 __builtin_cos(0);
107062 return 0;
107064 _ACEOF
107065 rm -f conftest.$ac_objext
107066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107067 (eval $ac_compile) 2>conftest.er1
107068 ac_status=$?
107069 grep -v '^ *+' conftest.er1 >conftest.err
107070 rm -f conftest.er1
107071 cat conftest.err >&5
107072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107073 (exit $ac_status); } &&
107074 { ac_try='test -z "$ac_cxx_werror_flag"
107075 || test ! -s conftest.err'
107076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107077 (eval $ac_try) 2>&5
107078 ac_status=$?
107079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107080 (exit $ac_status); }; } &&
107081 { ac_try='test -s conftest.$ac_objext'
107082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107083 (eval $ac_try) 2>&5
107084 ac_status=$?
107085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107086 (exit $ac_status); }; }; then
107087 glibcxx_cv_func___builtin_cos_use=yes
107089 echo "$as_me: failed program was:" >&5
107090 sed 's/^/| /' conftest.$ac_ext >&5
107092 glibcxx_cv_func___builtin_cos_use=no
107094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107095 ac_ext=c
107096 ac_cpp='$CPP $CPPFLAGS'
107097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107106 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107107 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107108 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107109 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107110 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107111 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107112 echo $ECHO_N "(cached) $ECHO_C" >&6
107115 if test x$gcc_no_link = xyes; then
107116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107118 { (exit 1); exit 1; }; }
107120 cat >conftest.$ac_ext <<_ACEOF
107121 /* confdefs.h. */
107122 _ACEOF
107123 cat confdefs.h >>conftest.$ac_ext
107124 cat >>conftest.$ac_ext <<_ACEOF
107125 /* end confdefs.h. */
107126 #include <math.h>
107128 main ()
107130 __builtin_cos(0);
107132 return 0;
107134 _ACEOF
107135 rm -f conftest.$ac_objext conftest$ac_exeext
107136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107137 (eval $ac_link) 2>conftest.er1
107138 ac_status=$?
107139 grep -v '^ *+' conftest.er1 >conftest.err
107140 rm -f conftest.er1
107141 cat conftest.err >&5
107142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107143 (exit $ac_status); } &&
107144 { ac_try='test -z "$ac_c_werror_flag"
107145 || test ! -s conftest.err'
107146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107147 (eval $ac_try) 2>&5
107148 ac_status=$?
107149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107150 (exit $ac_status); }; } &&
107151 { ac_try='test -s conftest$ac_exeext'
107152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107153 (eval $ac_try) 2>&5
107154 ac_status=$?
107155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107156 (exit $ac_status); }; }; then
107157 glibcxx_cv_func___builtin_cos_link=yes
107159 echo "$as_me: failed program was:" >&5
107160 sed 's/^/| /' conftest.$ac_ext >&5
107162 glibcxx_cv_func___builtin_cos_link=no
107164 rm -f conftest.err conftest.$ac_objext \
107165 conftest$ac_exeext conftest.$ac_ext
107170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107171 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107173 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107175 cat >>confdefs.h <<\_ACEOF
107176 #define HAVE___BUILTIN_COS 1
107177 _ACEOF
107184 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107185 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107186 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107187 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107188 echo $ECHO_N "(cached) $ECHO_C" >&6
107193 ac_ext=cc
107194 ac_cpp='$CXXCPP $CPPFLAGS'
107195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107199 cat >conftest.$ac_ext <<_ACEOF
107200 /* confdefs.h. */
107201 _ACEOF
107202 cat confdefs.h >>conftest.$ac_ext
107203 cat >>conftest.$ac_ext <<_ACEOF
107204 /* end confdefs.h. */
107205 #include <math.h>
107207 main ()
107209 __builtin_cosl(0);
107211 return 0;
107213 _ACEOF
107214 rm -f conftest.$ac_objext
107215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107216 (eval $ac_compile) 2>conftest.er1
107217 ac_status=$?
107218 grep -v '^ *+' conftest.er1 >conftest.err
107219 rm -f conftest.er1
107220 cat conftest.err >&5
107221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107222 (exit $ac_status); } &&
107223 { ac_try='test -z "$ac_cxx_werror_flag"
107224 || test ! -s conftest.err'
107225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107226 (eval $ac_try) 2>&5
107227 ac_status=$?
107228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107229 (exit $ac_status); }; } &&
107230 { ac_try='test -s conftest.$ac_objext'
107231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107232 (eval $ac_try) 2>&5
107233 ac_status=$?
107234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107235 (exit $ac_status); }; }; then
107236 glibcxx_cv_func___builtin_cosl_use=yes
107238 echo "$as_me: failed program was:" >&5
107239 sed 's/^/| /' conftest.$ac_ext >&5
107241 glibcxx_cv_func___builtin_cosl_use=no
107243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107244 ac_ext=c
107245 ac_cpp='$CPP $CPPFLAGS'
107246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107255 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107256 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107257 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107258 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107259 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107260 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107261 echo $ECHO_N "(cached) $ECHO_C" >&6
107264 if test x$gcc_no_link = xyes; then
107265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107267 { (exit 1); exit 1; }; }
107269 cat >conftest.$ac_ext <<_ACEOF
107270 /* confdefs.h. */
107271 _ACEOF
107272 cat confdefs.h >>conftest.$ac_ext
107273 cat >>conftest.$ac_ext <<_ACEOF
107274 /* end confdefs.h. */
107275 #include <math.h>
107277 main ()
107279 __builtin_cosl(0);
107281 return 0;
107283 _ACEOF
107284 rm -f conftest.$ac_objext conftest$ac_exeext
107285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107286 (eval $ac_link) 2>conftest.er1
107287 ac_status=$?
107288 grep -v '^ *+' conftest.er1 >conftest.err
107289 rm -f conftest.er1
107290 cat conftest.err >&5
107291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107292 (exit $ac_status); } &&
107293 { ac_try='test -z "$ac_c_werror_flag"
107294 || test ! -s conftest.err'
107295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107296 (eval $ac_try) 2>&5
107297 ac_status=$?
107298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107299 (exit $ac_status); }; } &&
107300 { ac_try='test -s conftest$ac_exeext'
107301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107302 (eval $ac_try) 2>&5
107303 ac_status=$?
107304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107305 (exit $ac_status); }; }; then
107306 glibcxx_cv_func___builtin_cosl_link=yes
107308 echo "$as_me: failed program was:" >&5
107309 sed 's/^/| /' conftest.$ac_ext >&5
107311 glibcxx_cv_func___builtin_cosl_link=no
107313 rm -f conftest.err conftest.$ac_objext \
107314 conftest$ac_exeext conftest.$ac_ext
107319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107320 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107322 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107324 cat >>confdefs.h <<\_ACEOF
107325 #define HAVE___BUILTIN_COSL 1
107326 _ACEOF
107335 echo "$as_me:$LINENO: checking for main in -lm" >&5
107336 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107337 if test "${ac_cv_lib_m_main+set}" = set; then
107338 echo $ECHO_N "(cached) $ECHO_C" >&6
107340 ac_check_lib_save_LIBS=$LIBS
107341 LIBS="-lm $LIBS"
107342 if test x$gcc_no_link = xyes; then
107343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107345 { (exit 1); exit 1; }; }
107347 cat >conftest.$ac_ext <<_ACEOF
107348 /* confdefs.h. */
107349 _ACEOF
107350 cat confdefs.h >>conftest.$ac_ext
107351 cat >>conftest.$ac_ext <<_ACEOF
107352 /* end confdefs.h. */
107356 main ()
107358 main ();
107360 return 0;
107362 _ACEOF
107363 rm -f conftest.$ac_objext conftest$ac_exeext
107364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107365 (eval $ac_link) 2>conftest.er1
107366 ac_status=$?
107367 grep -v '^ *+' conftest.er1 >conftest.err
107368 rm -f conftest.er1
107369 cat conftest.err >&5
107370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107371 (exit $ac_status); } &&
107372 { ac_try='test -z "$ac_c_werror_flag"
107373 || test ! -s conftest.err'
107374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107375 (eval $ac_try) 2>&5
107376 ac_status=$?
107377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107378 (exit $ac_status); }; } &&
107379 { ac_try='test -s conftest$ac_exeext'
107380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107381 (eval $ac_try) 2>&5
107382 ac_status=$?
107383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107384 (exit $ac_status); }; }; then
107385 ac_cv_lib_m_main=yes
107387 echo "$as_me: failed program was:" >&5
107388 sed 's/^/| /' conftest.$ac_ext >&5
107390 ac_cv_lib_m_main=no
107392 rm -f conftest.err conftest.$ac_objext \
107393 conftest$ac_exeext conftest.$ac_ext
107394 LIBS=$ac_check_lib_save_LIBS
107396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107397 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107398 if test $ac_cv_lib_m_main = yes; then
107399 cat >>confdefs.h <<_ACEOF
107400 #define HAVE_LIBM 1
107401 _ACEOF
107403 LIBS="-lm $LIBS"
107408 for ac_func in copysignf
107410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107411 echo "$as_me:$LINENO: checking for $ac_func" >&5
107412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107413 if eval "test \"\${$as_ac_var+set}\" = set"; then
107414 echo $ECHO_N "(cached) $ECHO_C" >&6
107416 if test x$gcc_no_link = xyes; then
107417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107419 { (exit 1); exit 1; }; }
107421 cat >conftest.$ac_ext <<_ACEOF
107422 /* confdefs.h. */
107423 _ACEOF
107424 cat confdefs.h >>conftest.$ac_ext
107425 cat >>conftest.$ac_ext <<_ACEOF
107426 /* end confdefs.h. */
107427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107429 #define $ac_func innocuous_$ac_func
107431 /* System header to define __stub macros and hopefully few prototypes,
107432 which can conflict with char $ac_func (); below.
107433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107434 <limits.h> exists even on freestanding compilers. */
107436 #ifdef __STDC__
107437 # include <limits.h>
107438 #else
107439 # include <assert.h>
107440 #endif
107442 #undef $ac_func
107444 /* Override any gcc2 internal prototype to avoid an error. */
107445 #ifdef __cplusplus
107446 extern "C"
107448 #endif
107449 /* We use char because int might match the return type of a gcc2
107450 builtin and then its argument prototype would still apply. */
107451 char $ac_func ();
107452 /* The GNU C library defines this for functions which it implements
107453 to always fail with ENOSYS. Some functions are actually named
107454 something starting with __ and the normal name is an alias. */
107455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107456 choke me
107457 #else
107458 char (*f) () = $ac_func;
107459 #endif
107460 #ifdef __cplusplus
107462 #endif
107465 main ()
107467 return f != $ac_func;
107469 return 0;
107471 _ACEOF
107472 rm -f conftest.$ac_objext conftest$ac_exeext
107473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107474 (eval $ac_link) 2>conftest.er1
107475 ac_status=$?
107476 grep -v '^ *+' conftest.er1 >conftest.err
107477 rm -f conftest.er1
107478 cat conftest.err >&5
107479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107480 (exit $ac_status); } &&
107481 { ac_try='test -z "$ac_c_werror_flag"
107482 || test ! -s conftest.err'
107483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107484 (eval $ac_try) 2>&5
107485 ac_status=$?
107486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107487 (exit $ac_status); }; } &&
107488 { ac_try='test -s conftest$ac_exeext'
107489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107490 (eval $ac_try) 2>&5
107491 ac_status=$?
107492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107493 (exit $ac_status); }; }; then
107494 eval "$as_ac_var=yes"
107496 echo "$as_me: failed program was:" >&5
107497 sed 's/^/| /' conftest.$ac_ext >&5
107499 eval "$as_ac_var=no"
107501 rm -f conftest.err conftest.$ac_objext \
107502 conftest$ac_exeext conftest.$ac_ext
107504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107506 if test `eval echo '${'$as_ac_var'}'` = yes; then
107507 cat >>confdefs.h <<_ACEOF
107508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107509 _ACEOF
107512 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107518 for ac_func in __signbit
107520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107521 echo "$as_me:$LINENO: checking for $ac_func" >&5
107522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107523 if eval "test \"\${$as_ac_var+set}\" = set"; then
107524 echo $ECHO_N "(cached) $ECHO_C" >&6
107526 if test x$gcc_no_link = xyes; then
107527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107529 { (exit 1); exit 1; }; }
107531 cat >conftest.$ac_ext <<_ACEOF
107532 /* confdefs.h. */
107533 _ACEOF
107534 cat confdefs.h >>conftest.$ac_ext
107535 cat >>conftest.$ac_ext <<_ACEOF
107536 /* end confdefs.h. */
107537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107539 #define $ac_func innocuous_$ac_func
107541 /* System header to define __stub macros and hopefully few prototypes,
107542 which can conflict with char $ac_func (); below.
107543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107544 <limits.h> exists even on freestanding compilers. */
107546 #ifdef __STDC__
107547 # include <limits.h>
107548 #else
107549 # include <assert.h>
107550 #endif
107552 #undef $ac_func
107554 /* Override any gcc2 internal prototype to avoid an error. */
107555 #ifdef __cplusplus
107556 extern "C"
107558 #endif
107559 /* We use char because int might match the return type of a gcc2
107560 builtin and then its argument prototype would still apply. */
107561 char $ac_func ();
107562 /* The GNU C library defines this for functions which it implements
107563 to always fail with ENOSYS. Some functions are actually named
107564 something starting with __ and the normal name is an alias. */
107565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107566 choke me
107567 #else
107568 char (*f) () = $ac_func;
107569 #endif
107570 #ifdef __cplusplus
107572 #endif
107575 main ()
107577 return f != $ac_func;
107579 return 0;
107581 _ACEOF
107582 rm -f conftest.$ac_objext conftest$ac_exeext
107583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107584 (eval $ac_link) 2>conftest.er1
107585 ac_status=$?
107586 grep -v '^ *+' conftest.er1 >conftest.err
107587 rm -f conftest.er1
107588 cat conftest.err >&5
107589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107590 (exit $ac_status); } &&
107591 { ac_try='test -z "$ac_c_werror_flag"
107592 || test ! -s conftest.err'
107593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107594 (eval $ac_try) 2>&5
107595 ac_status=$?
107596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107597 (exit $ac_status); }; } &&
107598 { ac_try='test -s conftest$ac_exeext'
107599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107600 (eval $ac_try) 2>&5
107601 ac_status=$?
107602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107603 (exit $ac_status); }; }; then
107604 eval "$as_ac_var=yes"
107606 echo "$as_me: failed program was:" >&5
107607 sed 's/^/| /' conftest.$ac_ext >&5
107609 eval "$as_ac_var=no"
107611 rm -f conftest.err conftest.$ac_objext \
107612 conftest$ac_exeext conftest.$ac_ext
107614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107616 if test `eval echo '${'$as_ac_var'}'` = yes; then
107617 cat >>confdefs.h <<_ACEOF
107618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107619 _ACEOF
107622 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107628 for ac_func in __signbitf
107630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107631 echo "$as_me:$LINENO: checking for $ac_func" >&5
107632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107633 if eval "test \"\${$as_ac_var+set}\" = set"; then
107634 echo $ECHO_N "(cached) $ECHO_C" >&6
107636 if test x$gcc_no_link = xyes; then
107637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107639 { (exit 1); exit 1; }; }
107641 cat >conftest.$ac_ext <<_ACEOF
107642 /* confdefs.h. */
107643 _ACEOF
107644 cat confdefs.h >>conftest.$ac_ext
107645 cat >>conftest.$ac_ext <<_ACEOF
107646 /* end confdefs.h. */
107647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107649 #define $ac_func innocuous_$ac_func
107651 /* System header to define __stub macros and hopefully few prototypes,
107652 which can conflict with char $ac_func (); below.
107653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107654 <limits.h> exists even on freestanding compilers. */
107656 #ifdef __STDC__
107657 # include <limits.h>
107658 #else
107659 # include <assert.h>
107660 #endif
107662 #undef $ac_func
107664 /* Override any gcc2 internal prototype to avoid an error. */
107665 #ifdef __cplusplus
107666 extern "C"
107668 #endif
107669 /* We use char because int might match the return type of a gcc2
107670 builtin and then its argument prototype would still apply. */
107671 char $ac_func ();
107672 /* The GNU C library defines this for functions which it implements
107673 to always fail with ENOSYS. Some functions are actually named
107674 something starting with __ and the normal name is an alias. */
107675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107676 choke me
107677 #else
107678 char (*f) () = $ac_func;
107679 #endif
107680 #ifdef __cplusplus
107682 #endif
107685 main ()
107687 return f != $ac_func;
107689 return 0;
107691 _ACEOF
107692 rm -f conftest.$ac_objext conftest$ac_exeext
107693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107694 (eval $ac_link) 2>conftest.er1
107695 ac_status=$?
107696 grep -v '^ *+' conftest.er1 >conftest.err
107697 rm -f conftest.er1
107698 cat conftest.err >&5
107699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107700 (exit $ac_status); } &&
107701 { ac_try='test -z "$ac_c_werror_flag"
107702 || test ! -s conftest.err'
107703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107704 (eval $ac_try) 2>&5
107705 ac_status=$?
107706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107707 (exit $ac_status); }; } &&
107708 { ac_try='test -s conftest$ac_exeext'
107709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107710 (eval $ac_try) 2>&5
107711 ac_status=$?
107712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107713 (exit $ac_status); }; }; then
107714 eval "$as_ac_var=yes"
107716 echo "$as_me: failed program was:" >&5
107717 sed 's/^/| /' conftest.$ac_ext >&5
107719 eval "$as_ac_var=no"
107721 rm -f conftest.err conftest.$ac_objext \
107722 conftest$ac_exeext conftest.$ac_ext
107724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107726 if test `eval echo '${'$as_ac_var'}'` = yes; then
107727 cat >>confdefs.h <<_ACEOF
107728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107729 _ACEOF
107732 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107737 if test x$ac_cv_func_copysignl = x"yes"; then
107739 for ac_func in __signbitl
107741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107742 echo "$as_me:$LINENO: checking for $ac_func" >&5
107743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107744 if eval "test \"\${$as_ac_var+set}\" = set"; then
107745 echo $ECHO_N "(cached) $ECHO_C" >&6
107747 if test x$gcc_no_link = xyes; then
107748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107750 { (exit 1); exit 1; }; }
107752 cat >conftest.$ac_ext <<_ACEOF
107753 /* confdefs.h. */
107754 _ACEOF
107755 cat confdefs.h >>conftest.$ac_ext
107756 cat >>conftest.$ac_ext <<_ACEOF
107757 /* end confdefs.h. */
107758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107760 #define $ac_func innocuous_$ac_func
107762 /* System header to define __stub macros and hopefully few prototypes,
107763 which can conflict with char $ac_func (); below.
107764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107765 <limits.h> exists even on freestanding compilers. */
107767 #ifdef __STDC__
107768 # include <limits.h>
107769 #else
107770 # include <assert.h>
107771 #endif
107773 #undef $ac_func
107775 /* Override any gcc2 internal prototype to avoid an error. */
107776 #ifdef __cplusplus
107777 extern "C"
107779 #endif
107780 /* We use char because int might match the return type of a gcc2
107781 builtin and then its argument prototype would still apply. */
107782 char $ac_func ();
107783 /* The GNU C library defines this for functions which it implements
107784 to always fail with ENOSYS. Some functions are actually named
107785 something starting with __ and the normal name is an alias. */
107786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107787 choke me
107788 #else
107789 char (*f) () = $ac_func;
107790 #endif
107791 #ifdef __cplusplus
107793 #endif
107796 main ()
107798 return f != $ac_func;
107800 return 0;
107802 _ACEOF
107803 rm -f conftest.$ac_objext conftest$ac_exeext
107804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107805 (eval $ac_link) 2>conftest.er1
107806 ac_status=$?
107807 grep -v '^ *+' conftest.er1 >conftest.err
107808 rm -f conftest.er1
107809 cat conftest.err >&5
107810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107811 (exit $ac_status); } &&
107812 { ac_try='test -z "$ac_c_werror_flag"
107813 || test ! -s conftest.err'
107814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107815 (eval $ac_try) 2>&5
107816 ac_status=$?
107817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107818 (exit $ac_status); }; } &&
107819 { ac_try='test -s conftest$ac_exeext'
107820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107821 (eval $ac_try) 2>&5
107822 ac_status=$?
107823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107824 (exit $ac_status); }; }; then
107825 eval "$as_ac_var=yes"
107827 echo "$as_me: failed program was:" >&5
107828 sed 's/^/| /' conftest.$ac_ext >&5
107830 eval "$as_ac_var=no"
107832 rm -f conftest.err conftest.$ac_objext \
107833 conftest$ac_exeext conftest.$ac_ext
107835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107837 if test `eval echo '${'$as_ac_var'}'` = yes; then
107838 cat >>confdefs.h <<_ACEOF
107839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107840 _ACEOF
107843 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107849 # Used in libmath/Makefile.am.
107850 if test -n "$LIBMATHOBJS"; then
107851 need_libmath=yes
107856 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107857 ac_save_CXXFLAGS="$CXXFLAGS"
107858 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107861 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107862 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107863 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107864 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107865 echo $ECHO_N "(cached) $ECHO_C" >&6
107870 ac_ext=cc
107871 ac_cpp='$CXXCPP $CPPFLAGS'
107872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107876 cat >conftest.$ac_ext <<_ACEOF
107877 /* confdefs.h. */
107878 _ACEOF
107879 cat confdefs.h >>conftest.$ac_ext
107880 cat >>conftest.$ac_ext <<_ACEOF
107881 /* end confdefs.h. */
107882 #include <stdlib.h>
107884 main ()
107886 strtold(0, 0);
107888 return 0;
107890 _ACEOF
107891 rm -f conftest.$ac_objext
107892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107893 (eval $ac_compile) 2>conftest.er1
107894 ac_status=$?
107895 grep -v '^ *+' conftest.er1 >conftest.err
107896 rm -f conftest.er1
107897 cat conftest.err >&5
107898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107899 (exit $ac_status); } &&
107900 { ac_try='test -z "$ac_cxx_werror_flag"
107901 || test ! -s conftest.err'
107902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107903 (eval $ac_try) 2>&5
107904 ac_status=$?
107905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107906 (exit $ac_status); }; } &&
107907 { ac_try='test -s conftest.$ac_objext'
107908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107909 (eval $ac_try) 2>&5
107910 ac_status=$?
107911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107912 (exit $ac_status); }; }; then
107913 glibcxx_cv_func_strtold_use=yes
107915 echo "$as_me: failed program was:" >&5
107916 sed 's/^/| /' conftest.$ac_ext >&5
107918 glibcxx_cv_func_strtold_use=no
107920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107921 ac_ext=c
107922 ac_cpp='$CPP $CPPFLAGS'
107923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107932 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107933 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107935 for ac_func in strtold
107937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107938 echo "$as_me:$LINENO: checking for $ac_func" >&5
107939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107940 if eval "test \"\${$as_ac_var+set}\" = set"; then
107941 echo $ECHO_N "(cached) $ECHO_C" >&6
107943 if test x$gcc_no_link = xyes; then
107944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107946 { (exit 1); exit 1; }; }
107948 cat >conftest.$ac_ext <<_ACEOF
107949 /* confdefs.h. */
107950 _ACEOF
107951 cat confdefs.h >>conftest.$ac_ext
107952 cat >>conftest.$ac_ext <<_ACEOF
107953 /* end confdefs.h. */
107954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107956 #define $ac_func innocuous_$ac_func
107958 /* System header to define __stub macros and hopefully few prototypes,
107959 which can conflict with char $ac_func (); below.
107960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107961 <limits.h> exists even on freestanding compilers. */
107963 #ifdef __STDC__
107964 # include <limits.h>
107965 #else
107966 # include <assert.h>
107967 #endif
107969 #undef $ac_func
107971 /* Override any gcc2 internal prototype to avoid an error. */
107972 #ifdef __cplusplus
107973 extern "C"
107975 #endif
107976 /* We use char because int might match the return type of a gcc2
107977 builtin and then its argument prototype would still apply. */
107978 char $ac_func ();
107979 /* The GNU C library defines this for functions which it implements
107980 to always fail with ENOSYS. Some functions are actually named
107981 something starting with __ and the normal name is an alias. */
107982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107983 choke me
107984 #else
107985 char (*f) () = $ac_func;
107986 #endif
107987 #ifdef __cplusplus
107989 #endif
107992 main ()
107994 return f != $ac_func;
107996 return 0;
107998 _ACEOF
107999 rm -f conftest.$ac_objext conftest$ac_exeext
108000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108001 (eval $ac_link) 2>conftest.er1
108002 ac_status=$?
108003 grep -v '^ *+' conftest.er1 >conftest.err
108004 rm -f conftest.er1
108005 cat conftest.err >&5
108006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108007 (exit $ac_status); } &&
108008 { ac_try='test -z "$ac_c_werror_flag"
108009 || test ! -s conftest.err'
108010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108011 (eval $ac_try) 2>&5
108012 ac_status=$?
108013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108014 (exit $ac_status); }; } &&
108015 { ac_try='test -s conftest$ac_exeext'
108016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108017 (eval $ac_try) 2>&5
108018 ac_status=$?
108019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108020 (exit $ac_status); }; }; then
108021 eval "$as_ac_var=yes"
108023 echo "$as_me: failed program was:" >&5
108024 sed 's/^/| /' conftest.$ac_ext >&5
108026 eval "$as_ac_var=no"
108028 rm -f conftest.err conftest.$ac_objext \
108029 conftest$ac_exeext conftest.$ac_ext
108031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108033 if test `eval echo '${'$as_ac_var'}'` = yes; then
108034 cat >>confdefs.h <<_ACEOF
108035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108036 _ACEOF
108047 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108048 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108049 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108050 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108051 echo $ECHO_N "(cached) $ECHO_C" >&6
108056 ac_ext=cc
108057 ac_cpp='$CXXCPP $CPPFLAGS'
108058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108062 cat >conftest.$ac_ext <<_ACEOF
108063 /* confdefs.h. */
108064 _ACEOF
108065 cat confdefs.h >>conftest.$ac_ext
108066 cat >>conftest.$ac_ext <<_ACEOF
108067 /* end confdefs.h. */
108068 #include <stdlib.h>
108070 main ()
108072 strtof(0, 0);
108074 return 0;
108076 _ACEOF
108077 rm -f conftest.$ac_objext
108078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108079 (eval $ac_compile) 2>conftest.er1
108080 ac_status=$?
108081 grep -v '^ *+' conftest.er1 >conftest.err
108082 rm -f conftest.er1
108083 cat conftest.err >&5
108084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108085 (exit $ac_status); } &&
108086 { ac_try='test -z "$ac_cxx_werror_flag"
108087 || test ! -s conftest.err'
108088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108089 (eval $ac_try) 2>&5
108090 ac_status=$?
108091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108092 (exit $ac_status); }; } &&
108093 { ac_try='test -s conftest.$ac_objext'
108094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108095 (eval $ac_try) 2>&5
108096 ac_status=$?
108097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108098 (exit $ac_status); }; }; then
108099 glibcxx_cv_func_strtof_use=yes
108101 echo "$as_me: failed program was:" >&5
108102 sed 's/^/| /' conftest.$ac_ext >&5
108104 glibcxx_cv_func_strtof_use=no
108106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108107 ac_ext=c
108108 ac_cpp='$CPP $CPPFLAGS'
108109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108118 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108119 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108121 for ac_func in strtof
108123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108124 echo "$as_me:$LINENO: checking for $ac_func" >&5
108125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108126 if eval "test \"\${$as_ac_var+set}\" = set"; then
108127 echo $ECHO_N "(cached) $ECHO_C" >&6
108129 if test x$gcc_no_link = xyes; then
108130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108132 { (exit 1); exit 1; }; }
108134 cat >conftest.$ac_ext <<_ACEOF
108135 /* confdefs.h. */
108136 _ACEOF
108137 cat confdefs.h >>conftest.$ac_ext
108138 cat >>conftest.$ac_ext <<_ACEOF
108139 /* end confdefs.h. */
108140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108142 #define $ac_func innocuous_$ac_func
108144 /* System header to define __stub macros and hopefully few prototypes,
108145 which can conflict with char $ac_func (); below.
108146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108147 <limits.h> exists even on freestanding compilers. */
108149 #ifdef __STDC__
108150 # include <limits.h>
108151 #else
108152 # include <assert.h>
108153 #endif
108155 #undef $ac_func
108157 /* Override any gcc2 internal prototype to avoid an error. */
108158 #ifdef __cplusplus
108159 extern "C"
108161 #endif
108162 /* We use char because int might match the return type of a gcc2
108163 builtin and then its argument prototype would still apply. */
108164 char $ac_func ();
108165 /* The GNU C library defines this for functions which it implements
108166 to always fail with ENOSYS. Some functions are actually named
108167 something starting with __ and the normal name is an alias. */
108168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108169 choke me
108170 #else
108171 char (*f) () = $ac_func;
108172 #endif
108173 #ifdef __cplusplus
108175 #endif
108178 main ()
108180 return f != $ac_func;
108182 return 0;
108184 _ACEOF
108185 rm -f conftest.$ac_objext conftest$ac_exeext
108186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108187 (eval $ac_link) 2>conftest.er1
108188 ac_status=$?
108189 grep -v '^ *+' conftest.er1 >conftest.err
108190 rm -f conftest.er1
108191 cat conftest.err >&5
108192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108193 (exit $ac_status); } &&
108194 { ac_try='test -z "$ac_c_werror_flag"
108195 || test ! -s conftest.err'
108196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108197 (eval $ac_try) 2>&5
108198 ac_status=$?
108199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108200 (exit $ac_status); }; } &&
108201 { ac_try='test -s conftest$ac_exeext'
108202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108203 (eval $ac_try) 2>&5
108204 ac_status=$?
108205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108206 (exit $ac_status); }; }; then
108207 eval "$as_ac_var=yes"
108209 echo "$as_me: failed program was:" >&5
108210 sed 's/^/| /' conftest.$ac_ext >&5
108212 eval "$as_ac_var=no"
108214 rm -f conftest.err conftest.$ac_objext \
108215 conftest$ac_exeext conftest.$ac_ext
108217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108219 if test `eval echo '${'$as_ac_var'}'` = yes; then
108220 cat >>confdefs.h <<_ACEOF
108221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108222 _ACEOF
108233 CXXFLAGS="$ac_save_CXXFLAGS"
108236 # For LFS.
108237 cat >>confdefs.h <<\_ACEOF
108238 #define HAVE_INT64_T 1
108239 _ACEOF
108244 ac_ext=cc
108245 ac_cpp='$CXXCPP $CPPFLAGS'
108246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108250 ac_save_CXXFLAGS="$CXXFLAGS"
108251 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108252 echo "$as_me:$LINENO: checking for LFS support" >&5
108253 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108254 if test "${glibcxx_cv_LFS+set}" = set; then
108255 echo $ECHO_N "(cached) $ECHO_C" >&6
108258 if test x$gcc_no_link = xyes; then
108259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108261 { (exit 1); exit 1; }; }
108263 cat >conftest.$ac_ext <<_ACEOF
108264 /* confdefs.h. */
108265 _ACEOF
108266 cat confdefs.h >>conftest.$ac_ext
108267 cat >>conftest.$ac_ext <<_ACEOF
108268 /* end confdefs.h. */
108269 #include <unistd.h>
108270 #include <stdio.h>
108271 #include <sys/stat.h>
108274 main ()
108276 FILE* fp;
108277 fopen64("t", "w");
108278 fseeko64(fp, 0, SEEK_CUR);
108279 ftello64(fp);
108280 lseek64(1, 0, SEEK_CUR);
108281 struct stat64 buf;
108282 fstat64(1, &buf);
108284 return 0;
108286 _ACEOF
108287 rm -f conftest.$ac_objext conftest$ac_exeext
108288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108289 (eval $ac_link) 2>conftest.er1
108290 ac_status=$?
108291 grep -v '^ *+' conftest.er1 >conftest.err
108292 rm -f conftest.er1
108293 cat conftest.err >&5
108294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108295 (exit $ac_status); } &&
108296 { ac_try='test -z "$ac_cxx_werror_flag"
108297 || test ! -s conftest.err'
108298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108299 (eval $ac_try) 2>&5
108300 ac_status=$?
108301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108302 (exit $ac_status); }; } &&
108303 { ac_try='test -s conftest$ac_exeext'
108304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108305 (eval $ac_try) 2>&5
108306 ac_status=$?
108307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108308 (exit $ac_status); }; }; then
108309 glibcxx_cv_LFS=yes
108311 echo "$as_me: failed program was:" >&5
108312 sed 's/^/| /' conftest.$ac_ext >&5
108314 glibcxx_cv_LFS=no
108316 rm -f conftest.err conftest.$ac_objext \
108317 conftest$ac_exeext conftest.$ac_ext
108321 if test $glibcxx_cv_LFS = yes; then
108323 cat >>confdefs.h <<\_ACEOF
108324 #define _GLIBCXX_USE_LFS 1
108325 _ACEOF
108328 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108329 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108330 CXXFLAGS="$ac_save_CXXFLAGS"
108331 ac_ext=c
108332 ac_cpp='$CPP $CPPFLAGS'
108333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108339 # For showmanyc_helper().
108342 for ac_header in sys/ioctl.h sys/filio.h
108344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108346 echo "$as_me:$LINENO: checking for $ac_header" >&5
108347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108349 echo $ECHO_N "(cached) $ECHO_C" >&6
108351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108354 # Is the header compilable?
108355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108357 cat >conftest.$ac_ext <<_ACEOF
108358 /* confdefs.h. */
108359 _ACEOF
108360 cat confdefs.h >>conftest.$ac_ext
108361 cat >>conftest.$ac_ext <<_ACEOF
108362 /* end confdefs.h. */
108363 $ac_includes_default
108364 #include <$ac_header>
108365 _ACEOF
108366 rm -f conftest.$ac_objext
108367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108368 (eval $ac_compile) 2>conftest.er1
108369 ac_status=$?
108370 grep -v '^ *+' conftest.er1 >conftest.err
108371 rm -f conftest.er1
108372 cat conftest.err >&5
108373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108374 (exit $ac_status); } &&
108375 { ac_try='test -z "$ac_c_werror_flag"
108376 || test ! -s conftest.err'
108377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108378 (eval $ac_try) 2>&5
108379 ac_status=$?
108380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108381 (exit $ac_status); }; } &&
108382 { ac_try='test -s conftest.$ac_objext'
108383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108384 (eval $ac_try) 2>&5
108385 ac_status=$?
108386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108387 (exit $ac_status); }; }; then
108388 ac_header_compiler=yes
108390 echo "$as_me: failed program was:" >&5
108391 sed 's/^/| /' conftest.$ac_ext >&5
108393 ac_header_compiler=no
108395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108397 echo "${ECHO_T}$ac_header_compiler" >&6
108399 # Is the header present?
108400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108402 cat >conftest.$ac_ext <<_ACEOF
108403 /* confdefs.h. */
108404 _ACEOF
108405 cat confdefs.h >>conftest.$ac_ext
108406 cat >>conftest.$ac_ext <<_ACEOF
108407 /* end confdefs.h. */
108408 #include <$ac_header>
108409 _ACEOF
108410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108412 ac_status=$?
108413 grep -v '^ *+' conftest.er1 >conftest.err
108414 rm -f conftest.er1
108415 cat conftest.err >&5
108416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108417 (exit $ac_status); } >/dev/null; then
108418 if test -s conftest.err; then
108419 ac_cpp_err=$ac_c_preproc_warn_flag
108420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108422 ac_cpp_err=
108425 ac_cpp_err=yes
108427 if test -z "$ac_cpp_err"; then
108428 ac_header_preproc=yes
108430 echo "$as_me: failed program was:" >&5
108431 sed 's/^/| /' conftest.$ac_ext >&5
108433 ac_header_preproc=no
108435 rm -f conftest.err conftest.$ac_ext
108436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108437 echo "${ECHO_T}$ac_header_preproc" >&6
108439 # So? What about this header?
108440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108441 yes:no: )
108442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108446 ac_header_preproc=yes
108448 no:yes:* )
108449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108462 cat <<\_ASBOX
108463 ## ----------------------------------------- ##
108464 ## Report this to the package-unused lists. ##
108465 ## ----------------------------------------- ##
108466 _ASBOX
108468 sed "s/^/$as_me: WARNING: /" >&2
108471 echo "$as_me:$LINENO: checking for $ac_header" >&5
108472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108474 echo $ECHO_N "(cached) $ECHO_C" >&6
108476 eval "$as_ac_Header=\$ac_header_preproc"
108478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108483 cat >>confdefs.h <<_ACEOF
108484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108485 _ACEOF
108492 echo "$as_me:$LINENO: checking for poll" >&5
108493 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108494 if test "${glibcxx_cv_POLL+set}" = set; then
108495 echo $ECHO_N "(cached) $ECHO_C" >&6
108498 if test x$gcc_no_link = xyes; then
108499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108501 { (exit 1); exit 1; }; }
108503 cat >conftest.$ac_ext <<_ACEOF
108504 /* confdefs.h. */
108505 _ACEOF
108506 cat confdefs.h >>conftest.$ac_ext
108507 cat >>conftest.$ac_ext <<_ACEOF
108508 /* end confdefs.h. */
108509 #include <poll.h>
108511 main ()
108513 struct pollfd pfd[1];
108514 pfd[0].events = POLLIN;
108515 poll(pfd, 1, 0);
108517 return 0;
108519 _ACEOF
108520 rm -f conftest.$ac_objext conftest$ac_exeext
108521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108522 (eval $ac_link) 2>conftest.er1
108523 ac_status=$?
108524 grep -v '^ *+' conftest.er1 >conftest.err
108525 rm -f conftest.er1
108526 cat conftest.err >&5
108527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108528 (exit $ac_status); } &&
108529 { ac_try='test -z "$ac_c_werror_flag"
108530 || test ! -s conftest.err'
108531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108532 (eval $ac_try) 2>&5
108533 ac_status=$?
108534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108535 (exit $ac_status); }; } &&
108536 { ac_try='test -s conftest$ac_exeext'
108537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108538 (eval $ac_try) 2>&5
108539 ac_status=$?
108540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108541 (exit $ac_status); }; }; then
108542 glibcxx_cv_POLL=yes
108544 echo "$as_me: failed program was:" >&5
108545 sed 's/^/| /' conftest.$ac_ext >&5
108547 glibcxx_cv_POLL=no
108549 rm -f conftest.err conftest.$ac_objext \
108550 conftest$ac_exeext conftest.$ac_ext
108554 if test $glibcxx_cv_POLL = yes; then
108556 cat >>confdefs.h <<\_ACEOF
108557 #define HAVE_POLL 1
108558 _ACEOF
108561 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108562 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108565 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108566 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108567 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108568 echo $ECHO_N "(cached) $ECHO_C" >&6
108571 if test x$gcc_no_link = xyes; then
108572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108574 { (exit 1); exit 1; }; }
108576 cat >conftest.$ac_ext <<_ACEOF
108577 /* confdefs.h. */
108578 _ACEOF
108579 cat confdefs.h >>conftest.$ac_ext
108580 cat >>conftest.$ac_ext <<_ACEOF
108581 /* end confdefs.h. */
108582 #include <sys/stat.h>
108584 main ()
108586 struct stat buffer;
108587 fstat(0, &buffer);
108588 S_ISREG(buffer.st_mode);
108590 return 0;
108592 _ACEOF
108593 rm -f conftest.$ac_objext conftest$ac_exeext
108594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108595 (eval $ac_link) 2>conftest.er1
108596 ac_status=$?
108597 grep -v '^ *+' conftest.er1 >conftest.err
108598 rm -f conftest.er1
108599 cat conftest.err >&5
108600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108601 (exit $ac_status); } &&
108602 { ac_try='test -z "$ac_c_werror_flag"
108603 || test ! -s conftest.err'
108604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108605 (eval $ac_try) 2>&5
108606 ac_status=$?
108607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108608 (exit $ac_status); }; } &&
108609 { ac_try='test -s conftest$ac_exeext'
108610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108611 (eval $ac_try) 2>&5
108612 ac_status=$?
108613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108614 (exit $ac_status); }; }; then
108615 glibcxx_cv_S_ISREG=yes
108617 echo "$as_me: failed program was:" >&5
108618 sed 's/^/| /' conftest.$ac_ext >&5
108620 glibcxx_cv_S_ISREG=no
108622 rm -f conftest.err conftest.$ac_objext \
108623 conftest$ac_exeext conftest.$ac_ext
108627 if test "${glibcxx_cv_S_IFREG+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_IFREG & 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_IFREG=yes
108677 echo "$as_me: failed program was:" >&5
108678 sed 's/^/| /' conftest.$ac_ext >&5
108680 glibcxx_cv_S_IFREG=no
108682 rm -f conftest.err conftest.$ac_objext \
108683 conftest$ac_exeext conftest.$ac_ext
108687 res=no
108688 if test $glibcxx_cv_S_ISREG = yes; then
108690 cat >>confdefs.h <<\_ACEOF
108691 #define HAVE_S_ISREG 1
108692 _ACEOF
108694 res=S_ISREG
108695 elif test $glibcxx_cv_S_IFREG = yes; then
108697 cat >>confdefs.h <<\_ACEOF
108698 #define HAVE_S_IFREG 1
108699 _ACEOF
108701 res=S_IFREG
108703 echo "$as_me:$LINENO: result: $res" >&5
108704 echo "${ECHO_T}$res" >&6
108707 # For xsputn_2().
108709 for ac_header in sys/uio.h
108711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108713 echo "$as_me:$LINENO: checking for $ac_header" >&5
108714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108716 echo $ECHO_N "(cached) $ECHO_C" >&6
108718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108721 # Is the header compilable?
108722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108724 cat >conftest.$ac_ext <<_ACEOF
108725 /* confdefs.h. */
108726 _ACEOF
108727 cat confdefs.h >>conftest.$ac_ext
108728 cat >>conftest.$ac_ext <<_ACEOF
108729 /* end confdefs.h. */
108730 $ac_includes_default
108731 #include <$ac_header>
108732 _ACEOF
108733 rm -f conftest.$ac_objext
108734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108735 (eval $ac_compile) 2>conftest.er1
108736 ac_status=$?
108737 grep -v '^ *+' conftest.er1 >conftest.err
108738 rm -f conftest.er1
108739 cat conftest.err >&5
108740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108741 (exit $ac_status); } &&
108742 { ac_try='test -z "$ac_c_werror_flag"
108743 || test ! -s conftest.err'
108744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108745 (eval $ac_try) 2>&5
108746 ac_status=$?
108747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108748 (exit $ac_status); }; } &&
108749 { ac_try='test -s conftest.$ac_objext'
108750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108751 (eval $ac_try) 2>&5
108752 ac_status=$?
108753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108754 (exit $ac_status); }; }; then
108755 ac_header_compiler=yes
108757 echo "$as_me: failed program was:" >&5
108758 sed 's/^/| /' conftest.$ac_ext >&5
108760 ac_header_compiler=no
108762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108764 echo "${ECHO_T}$ac_header_compiler" >&6
108766 # Is the header present?
108767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108769 cat >conftest.$ac_ext <<_ACEOF
108770 /* confdefs.h. */
108771 _ACEOF
108772 cat confdefs.h >>conftest.$ac_ext
108773 cat >>conftest.$ac_ext <<_ACEOF
108774 /* end confdefs.h. */
108775 #include <$ac_header>
108776 _ACEOF
108777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108779 ac_status=$?
108780 grep -v '^ *+' conftest.er1 >conftest.err
108781 rm -f conftest.er1
108782 cat conftest.err >&5
108783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108784 (exit $ac_status); } >/dev/null; then
108785 if test -s conftest.err; then
108786 ac_cpp_err=$ac_c_preproc_warn_flag
108787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108789 ac_cpp_err=
108792 ac_cpp_err=yes
108794 if test -z "$ac_cpp_err"; then
108795 ac_header_preproc=yes
108797 echo "$as_me: failed program was:" >&5
108798 sed 's/^/| /' conftest.$ac_ext >&5
108800 ac_header_preproc=no
108802 rm -f conftest.err conftest.$ac_ext
108803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108804 echo "${ECHO_T}$ac_header_preproc" >&6
108806 # So? What about this header?
108807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108808 yes:no: )
108809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108812 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108813 ac_header_preproc=yes
108815 no:yes:* )
108816 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108817 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108818 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108819 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108820 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108821 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108822 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108823 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108826 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108827 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108829 cat <<\_ASBOX
108830 ## ----------------------------------------- ##
108831 ## Report this to the package-unused lists. ##
108832 ## ----------------------------------------- ##
108833 _ASBOX
108835 sed "s/^/$as_me: WARNING: /" >&2
108838 echo "$as_me:$LINENO: checking for $ac_header" >&5
108839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108841 echo $ECHO_N "(cached) $ECHO_C" >&6
108843 eval "$as_ac_Header=\$ac_header_preproc"
108845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108850 cat >>confdefs.h <<_ACEOF
108851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108852 _ACEOF
108859 echo "$as_me:$LINENO: checking for writev" >&5
108860 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108861 if test "${glibcxx_cv_WRITEV+set}" = set; then
108862 echo $ECHO_N "(cached) $ECHO_C" >&6
108865 if test x$gcc_no_link = xyes; then
108866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108868 { (exit 1); exit 1; }; }
108870 cat >conftest.$ac_ext <<_ACEOF
108871 /* confdefs.h. */
108872 _ACEOF
108873 cat confdefs.h >>conftest.$ac_ext
108874 cat >>conftest.$ac_ext <<_ACEOF
108875 /* end confdefs.h. */
108876 #include <sys/uio.h>
108878 main ()
108880 struct iovec iov[2];
108881 writev(0, iov, 0);
108883 return 0;
108885 _ACEOF
108886 rm -f conftest.$ac_objext conftest$ac_exeext
108887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108888 (eval $ac_link) 2>conftest.er1
108889 ac_status=$?
108890 grep -v '^ *+' conftest.er1 >conftest.err
108891 rm -f conftest.er1
108892 cat conftest.err >&5
108893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108894 (exit $ac_status); } &&
108895 { ac_try='test -z "$ac_c_werror_flag"
108896 || test ! -s conftest.err'
108897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108898 (eval $ac_try) 2>&5
108899 ac_status=$?
108900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108901 (exit $ac_status); }; } &&
108902 { ac_try='test -s conftest$ac_exeext'
108903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108904 (eval $ac_try) 2>&5
108905 ac_status=$?
108906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108907 (exit $ac_status); }; }; then
108908 glibcxx_cv_WRITEV=yes
108910 echo "$as_me: failed program was:" >&5
108911 sed 's/^/| /' conftest.$ac_ext >&5
108913 glibcxx_cv_WRITEV=no
108915 rm -f conftest.err conftest.$ac_objext \
108916 conftest$ac_exeext conftest.$ac_ext
108920 if test $glibcxx_cv_WRITEV = yes; then
108922 cat >>confdefs.h <<\_ACEOF
108923 #define HAVE_WRITEV 1
108924 _ACEOF
108927 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108928 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108931 # For C99 support to TR1.
108936 ac_ext=cc
108937 ac_cpp='$CXXCPP $CPPFLAGS'
108938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108943 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108944 # undefined and fake C99 facilities may be spuriously enabled.
108945 ac_save_CXXFLAGS="$CXXFLAGS"
108946 CXXFLAGS="$CXXFLAGS -std=c++98"
108948 # Check for the existence of <complex.h> complex math functions used
108949 # by tr1/complex.
108951 for ac_header in complex.h
108953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108955 echo "$as_me:$LINENO: checking for $ac_header" >&5
108956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108958 echo $ECHO_N "(cached) $ECHO_C" >&6
108960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108963 # Is the header compilable?
108964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108966 cat >conftest.$ac_ext <<_ACEOF
108967 /* confdefs.h. */
108968 _ACEOF
108969 cat confdefs.h >>conftest.$ac_ext
108970 cat >>conftest.$ac_ext <<_ACEOF
108971 /* end confdefs.h. */
108972 $ac_includes_default
108973 #include <$ac_header>
108974 _ACEOF
108975 rm -f conftest.$ac_objext
108976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108977 (eval $ac_compile) 2>conftest.er1
108978 ac_status=$?
108979 grep -v '^ *+' conftest.er1 >conftest.err
108980 rm -f conftest.er1
108981 cat conftest.err >&5
108982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108983 (exit $ac_status); } &&
108984 { ac_try='test -z "$ac_cxx_werror_flag"
108985 || test ! -s conftest.err'
108986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108987 (eval $ac_try) 2>&5
108988 ac_status=$?
108989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108990 (exit $ac_status); }; } &&
108991 { ac_try='test -s conftest.$ac_objext'
108992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108993 (eval $ac_try) 2>&5
108994 ac_status=$?
108995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108996 (exit $ac_status); }; }; then
108997 ac_header_compiler=yes
108999 echo "$as_me: failed program was:" >&5
109000 sed 's/^/| /' conftest.$ac_ext >&5
109002 ac_header_compiler=no
109004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109006 echo "${ECHO_T}$ac_header_compiler" >&6
109008 # Is the header present?
109009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109011 cat >conftest.$ac_ext <<_ACEOF
109012 /* confdefs.h. */
109013 _ACEOF
109014 cat confdefs.h >>conftest.$ac_ext
109015 cat >>conftest.$ac_ext <<_ACEOF
109016 /* end confdefs.h. */
109017 #include <$ac_header>
109018 _ACEOF
109019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109021 ac_status=$?
109022 grep -v '^ *+' conftest.er1 >conftest.err
109023 rm -f conftest.er1
109024 cat conftest.err >&5
109025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109026 (exit $ac_status); } >/dev/null; then
109027 if test -s conftest.err; then
109028 ac_cpp_err=$ac_cxx_preproc_warn_flag
109029 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109031 ac_cpp_err=
109034 ac_cpp_err=yes
109036 if test -z "$ac_cpp_err"; then
109037 ac_header_preproc=yes
109039 echo "$as_me: failed program was:" >&5
109040 sed 's/^/| /' conftest.$ac_ext >&5
109042 ac_header_preproc=no
109044 rm -f conftest.err conftest.$ac_ext
109045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109046 echo "${ECHO_T}$ac_header_preproc" >&6
109048 # So? What about this header?
109049 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109050 yes:no: )
109051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109055 ac_header_preproc=yes
109057 no:yes:* )
109058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109071 cat <<\_ASBOX
109072 ## ----------------------------------------- ##
109073 ## Report this to the package-unused lists. ##
109074 ## ----------------------------------------- ##
109075 _ASBOX
109077 sed "s/^/$as_me: WARNING: /" >&2
109080 echo "$as_me:$LINENO: checking for $ac_header" >&5
109081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109083 echo $ECHO_N "(cached) $ECHO_C" >&6
109085 eval "$as_ac_Header=\$ac_header_preproc"
109087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109092 cat >>confdefs.h <<_ACEOF
109093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109094 _ACEOF
109095 ac_has_complex_h=yes
109097 ac_has_complex_h=no
109102 ac_c99_complex_tr1=no;
109103 if test x"$ac_has_complex_h" = x"yes"; then
109104 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109105 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109106 cat >conftest.$ac_ext <<_ACEOF
109107 /* confdefs.h. */
109108 _ACEOF
109109 cat confdefs.h >>conftest.$ac_ext
109110 cat >>conftest.$ac_ext <<_ACEOF
109111 /* end confdefs.h. */
109112 #include <complex.h>
109114 main ()
109116 typedef __complex__ float float_type; float_type tmpf;
109117 cacosf(tmpf);
109118 casinf(tmpf);
109119 catanf(tmpf);
109120 cacoshf(tmpf);
109121 casinhf(tmpf);
109122 catanhf(tmpf);
109123 typedef __complex__ double double_type; double_type tmpd;
109124 cacos(tmpd);
109125 casin(tmpd);
109126 catan(tmpd);
109127 cacosh(tmpd);
109128 casinh(tmpd);
109129 catanh(tmpd);
109130 typedef __complex__ long double ld_type; ld_type tmpld;
109131 cacosl(tmpld);
109132 casinl(tmpld);
109133 catanl(tmpld);
109134 cacoshl(tmpld);
109135 casinhl(tmpld);
109136 catanhl(tmpld);
109139 return 0;
109141 _ACEOF
109142 rm -f conftest.$ac_objext
109143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109144 (eval $ac_compile) 2>conftest.er1
109145 ac_status=$?
109146 grep -v '^ *+' conftest.er1 >conftest.err
109147 rm -f conftest.er1
109148 cat conftest.err >&5
109149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109150 (exit $ac_status); } &&
109151 { ac_try='test -z "$ac_cxx_werror_flag"
109152 || test ! -s conftest.err'
109153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109154 (eval $ac_try) 2>&5
109155 ac_status=$?
109156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109157 (exit $ac_status); }; } &&
109158 { ac_try='test -s conftest.$ac_objext'
109159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109160 (eval $ac_try) 2>&5
109161 ac_status=$?
109162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109163 (exit $ac_status); }; }; then
109164 ac_c99_complex_tr1=yes
109166 echo "$as_me: failed program was:" >&5
109167 sed 's/^/| /' conftest.$ac_ext >&5
109169 ac_c99_complex_tr1=no
109171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109173 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109174 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109175 if test x"$ac_c99_complex_tr1" = x"yes"; then
109177 cat >>confdefs.h <<\_ACEOF
109178 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109179 _ACEOF
109183 # Check for the existence of <ctype.h> functions.
109184 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109185 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109186 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109187 echo $ECHO_N "(cached) $ECHO_C" >&6
109190 cat >conftest.$ac_ext <<_ACEOF
109191 /* confdefs.h. */
109192 _ACEOF
109193 cat confdefs.h >>conftest.$ac_ext
109194 cat >>conftest.$ac_ext <<_ACEOF
109195 /* end confdefs.h. */
109196 #include <ctype.h>
109198 main ()
109200 int ch;
109201 int ret;
109202 ret = isblank(ch);
109205 return 0;
109207 _ACEOF
109208 rm -f conftest.$ac_objext
109209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109210 (eval $ac_compile) 2>conftest.er1
109211 ac_status=$?
109212 grep -v '^ *+' conftest.er1 >conftest.err
109213 rm -f conftest.er1
109214 cat conftest.err >&5
109215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109216 (exit $ac_status); } &&
109217 { ac_try='test -z "$ac_cxx_werror_flag"
109218 || test ! -s conftest.err'
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); }; } &&
109224 { ac_try='test -s conftest.$ac_objext'
109225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109226 (eval $ac_try) 2>&5
109227 ac_status=$?
109228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109229 (exit $ac_status); }; }; then
109230 glibcxx_cv_c99_ctype_tr1=yes
109232 echo "$as_me: failed program was:" >&5
109233 sed 's/^/| /' conftest.$ac_ext >&5
109235 glibcxx_cv_c99_ctype_tr1=no
109237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109241 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109242 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109243 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109245 cat >>confdefs.h <<\_ACEOF
109246 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109247 _ACEOF
109251 # Check for the existence of <fenv.h> functions.
109253 for ac_header in fenv.h
109255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109257 echo "$as_me:$LINENO: checking for $ac_header" >&5
109258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109260 echo $ECHO_N "(cached) $ECHO_C" >&6
109262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109265 # Is the header compilable?
109266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109268 cat >conftest.$ac_ext <<_ACEOF
109269 /* confdefs.h. */
109270 _ACEOF
109271 cat confdefs.h >>conftest.$ac_ext
109272 cat >>conftest.$ac_ext <<_ACEOF
109273 /* end confdefs.h. */
109274 $ac_includes_default
109275 #include <$ac_header>
109276 _ACEOF
109277 rm -f conftest.$ac_objext
109278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109279 (eval $ac_compile) 2>conftest.er1
109280 ac_status=$?
109281 grep -v '^ *+' conftest.er1 >conftest.err
109282 rm -f conftest.er1
109283 cat conftest.err >&5
109284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109285 (exit $ac_status); } &&
109286 { ac_try='test -z "$ac_cxx_werror_flag"
109287 || test ! -s conftest.err'
109288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109289 (eval $ac_try) 2>&5
109290 ac_status=$?
109291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109292 (exit $ac_status); }; } &&
109293 { ac_try='test -s conftest.$ac_objext'
109294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109295 (eval $ac_try) 2>&5
109296 ac_status=$?
109297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109298 (exit $ac_status); }; }; then
109299 ac_header_compiler=yes
109301 echo "$as_me: failed program was:" >&5
109302 sed 's/^/| /' conftest.$ac_ext >&5
109304 ac_header_compiler=no
109306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109308 echo "${ECHO_T}$ac_header_compiler" >&6
109310 # Is the header present?
109311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109313 cat >conftest.$ac_ext <<_ACEOF
109314 /* confdefs.h. */
109315 _ACEOF
109316 cat confdefs.h >>conftest.$ac_ext
109317 cat >>conftest.$ac_ext <<_ACEOF
109318 /* end confdefs.h. */
109319 #include <$ac_header>
109320 _ACEOF
109321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109323 ac_status=$?
109324 grep -v '^ *+' conftest.er1 >conftest.err
109325 rm -f conftest.er1
109326 cat conftest.err >&5
109327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109328 (exit $ac_status); } >/dev/null; then
109329 if test -s conftest.err; then
109330 ac_cpp_err=$ac_cxx_preproc_warn_flag
109331 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109333 ac_cpp_err=
109336 ac_cpp_err=yes
109338 if test -z "$ac_cpp_err"; then
109339 ac_header_preproc=yes
109341 echo "$as_me: failed program was:" >&5
109342 sed 's/^/| /' conftest.$ac_ext >&5
109344 ac_header_preproc=no
109346 rm -f conftest.err conftest.$ac_ext
109347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109348 echo "${ECHO_T}$ac_header_preproc" >&6
109350 # So? What about this header?
109351 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109352 yes:no: )
109353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109357 ac_header_preproc=yes
109359 no:yes:* )
109360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109373 cat <<\_ASBOX
109374 ## ----------------------------------------- ##
109375 ## Report this to the package-unused lists. ##
109376 ## ----------------------------------------- ##
109377 _ASBOX
109379 sed "s/^/$as_me: WARNING: /" >&2
109382 echo "$as_me:$LINENO: checking for $ac_header" >&5
109383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109385 echo $ECHO_N "(cached) $ECHO_C" >&6
109387 eval "$as_ac_Header=\$ac_header_preproc"
109389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109394 cat >>confdefs.h <<_ACEOF
109395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109396 _ACEOF
109397 ac_has_fenv_h=yes
109399 ac_has_fenv_h=no
109404 ac_c99_fenv_tr1=no;
109405 if test x"$ac_has_fenv_h" = x"yes"; then
109406 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109407 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109408 cat >conftest.$ac_ext <<_ACEOF
109409 /* confdefs.h. */
109410 _ACEOF
109411 cat confdefs.h >>conftest.$ac_ext
109412 cat >>conftest.$ac_ext <<_ACEOF
109413 /* end confdefs.h. */
109414 #include <fenv.h>
109416 main ()
109418 int except, mode;
109419 fexcept_t* pflag;
109420 fenv_t* penv;
109421 int ret;
109422 ret = feclearexcept(except);
109423 ret = fegetexceptflag(pflag, except);
109424 ret = feraiseexcept(except);
109425 ret = fesetexceptflag(pflag, except);
109426 ret = fetestexcept(except);
109427 ret = fegetround();
109428 ret = fesetround(mode);
109429 ret = fegetenv(penv);
109430 ret = feholdexcept(penv);
109431 ret = fesetenv(penv);
109432 ret = feupdateenv(penv);
109435 return 0;
109437 _ACEOF
109438 rm -f conftest.$ac_objext
109439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109440 (eval $ac_compile) 2>conftest.er1
109441 ac_status=$?
109442 grep -v '^ *+' conftest.er1 >conftest.err
109443 rm -f conftest.er1
109444 cat conftest.err >&5
109445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109446 (exit $ac_status); } &&
109447 { ac_try='test -z "$ac_cxx_werror_flag"
109448 || test ! -s conftest.err'
109449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109450 (eval $ac_try) 2>&5
109451 ac_status=$?
109452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109453 (exit $ac_status); }; } &&
109454 { ac_try='test -s conftest.$ac_objext'
109455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109456 (eval $ac_try) 2>&5
109457 ac_status=$?
109458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109459 (exit $ac_status); }; }; then
109460 ac_c99_fenv_tr1=yes
109462 echo "$as_me: failed program was:" >&5
109463 sed 's/^/| /' conftest.$ac_ext >&5
109465 ac_c99_fenv_tr1=no
109467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109469 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109470 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109471 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109473 cat >>confdefs.h <<\_ACEOF
109474 #define _GLIBCXX_USE_C99_FENV_TR1 1
109475 _ACEOF
109479 # Check for the existence of <stdint.h> types.
109480 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109481 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109482 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
109483 echo $ECHO_N "(cached) $ECHO_C" >&6
109486 cat >conftest.$ac_ext <<_ACEOF
109487 /* confdefs.h. */
109488 _ACEOF
109489 cat confdefs.h >>conftest.$ac_ext
109490 cat >>conftest.$ac_ext <<_ACEOF
109491 /* end confdefs.h. */
109492 #include <stdint.h>
109494 main ()
109496 typedef int8_t my_int8_t;
109497 typedef int16_t my_int16_t;
109498 typedef int32_t my_int32_t;
109499 typedef int64_t my_int64_t;
109500 typedef int_fast8_t my_int_fast8_t;
109501 typedef int_fast16_t my_int_fast16_t;
109502 typedef int_fast32_t my_int_fast32_t;
109503 typedef int_fast64_t my_int_fast64_t;
109504 typedef int_least8_t my_int_least8_t;
109505 typedef int_least16_t my_int_least16_t;
109506 typedef int_least32_t my_int_least32_t;
109507 typedef int_least64_t my_int_least64_t;
109508 typedef intmax_t my_intmax_t;
109509 typedef intptr_t my_intptr_t;
109510 typedef uint8_t my_uint8_t;
109511 typedef uint16_t my_uint16_t;
109512 typedef uint32_t my_uint32_t;
109513 typedef uint64_t my_uint64_t;
109514 typedef uint_fast8_t my_uint_fast8_t;
109515 typedef uint_fast16_t my_uint_fast16_t;
109516 typedef uint_fast32_t my_uint_fast32_t;
109517 typedef uint_fast64_t my_uint_fast64_t;
109518 typedef uint_least8_t my_uint_least8_t;
109519 typedef uint_least16_t my_uint_least16_t;
109520 typedef uint_least32_t my_uint_least32_t;
109521 typedef uint_least64_t my_uint_least64_t;
109522 typedef uintmax_t my_uintmax_t;
109523 typedef uintptr_t my_uintptr_t;
109526 return 0;
109528 _ACEOF
109529 rm -f conftest.$ac_objext
109530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109531 (eval $ac_compile) 2>conftest.er1
109532 ac_status=$?
109533 grep -v '^ *+' conftest.er1 >conftest.err
109534 rm -f conftest.er1
109535 cat conftest.err >&5
109536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109537 (exit $ac_status); } &&
109538 { ac_try='test -z "$ac_cxx_werror_flag"
109539 || test ! -s conftest.err'
109540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109541 (eval $ac_try) 2>&5
109542 ac_status=$?
109543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109544 (exit $ac_status); }; } &&
109545 { ac_try='test -s conftest.$ac_objext'
109546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109547 (eval $ac_try) 2>&5
109548 ac_status=$?
109549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109550 (exit $ac_status); }; }; then
109551 glibcxx_cv_c99_stdint_tr1=yes
109553 echo "$as_me: failed program was:" >&5
109554 sed 's/^/| /' conftest.$ac_ext >&5
109556 glibcxx_cv_c99_stdint_tr1=no
109558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109562 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
109563 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
109564 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109566 cat >>confdefs.h <<\_ACEOF
109567 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109568 _ACEOF
109572 # Check for the existence of <math.h> functions.
109573 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109574 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109575 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
109576 echo $ECHO_N "(cached) $ECHO_C" >&6
109579 cat >conftest.$ac_ext <<_ACEOF
109580 /* confdefs.h. */
109581 _ACEOF
109582 cat confdefs.h >>conftest.$ac_ext
109583 cat >>conftest.$ac_ext <<_ACEOF
109584 /* end confdefs.h. */
109585 #include <math.h>
109587 main ()
109589 typedef double_t my_double_t;
109590 typedef float_t my_float_t;
109591 acosh(0.0);
109592 acoshf(0.0f);
109593 acoshl(0.0l);
109594 asinh(0.0);
109595 asinhf(0.0f);
109596 asinhl(0.0l);
109597 atanh(0.0);
109598 atanhf(0.0f);
109599 atanhl(0.0l);
109600 cbrt(0.0);
109601 cbrtf(0.0f);
109602 cbrtl(0.0l);
109603 copysign(0.0, 0.0);
109604 copysignf(0.0f, 0.0f);
109605 copysignl(0.0l, 0.0l);
109606 erf(0.0);
109607 erff(0.0f);
109608 erfl(0.0l);
109609 erfc(0.0);
109610 erfcf(0.0f);
109611 erfcl(0.0l);
109612 exp2(0.0);
109613 exp2f(0.0f);
109614 exp2l(0.0l);
109615 expm1(0.0);
109616 expm1f(0.0f);
109617 expm1l(0.0l);
109618 fdim(0.0, 0.0);
109619 fdimf(0.0f, 0.0f);
109620 fdiml(0.0l, 0.0l);
109621 fma(0.0, 0.0, 0.0);
109622 fmaf(0.0f, 0.0f, 0.0f);
109623 fmal(0.0l, 0.0l, 0.0l);
109624 fmax(0.0, 0.0);
109625 fmaxf(0.0f, 0.0f);
109626 fmaxl(0.0l, 0.0l);
109627 fmin(0.0, 0.0);
109628 fminf(0.0f, 0.0f);
109629 fminl(0.0l, 0.0l);
109630 hypot(0.0, 0.0);
109631 hypotf(0.0f, 0.0f);
109632 hypotl(0.0l, 0.0l);
109633 ilogb(0.0);
109634 ilogbf(0.0f);
109635 ilogbl(0.0l);
109636 lgamma(0.0);
109637 lgammaf(0.0f);
109638 lgammal(0.0l);
109639 llrint(0.0);
109640 llrintf(0.0f);
109641 llrintl(0.0l);
109642 llround(0.0);
109643 llroundf(0.0f);
109644 llroundl(0.0l);
109645 log1p(0.0);
109646 log1pf(0.0f);
109647 log1pl(0.0l);
109648 log2(0.0);
109649 log2f(0.0f);
109650 log2l(0.0l);
109651 logb(0.0);
109652 logbf(0.0f);
109653 logbl(0.0l);
109654 lrint(0.0);
109655 lrintf(0.0f);
109656 lrintl(0.0l);
109657 lround(0.0);
109658 lroundf(0.0f);
109659 lroundl(0.0l);
109660 nan(0);
109661 nanf(0);
109662 nanl(0);
109663 nearbyint(0.0);
109664 nearbyintf(0.0f);
109665 nearbyintl(0.0l);
109666 nextafter(0.0, 0.0);
109667 nextafterf(0.0f, 0.0f);
109668 nextafterl(0.0l, 0.0l);
109669 nexttoward(0.0, 0.0);
109670 nexttowardf(0.0f, 0.0f);
109671 nexttowardl(0.0l, 0.0l);
109672 remainder(0.0, 0.0);
109673 remainderf(0.0f, 0.0f);
109674 remainderl(0.0l, 0.0l);
109675 remquo(0.0, 0.0, 0);
109676 remquo(0.0f, 0.0f, 0);
109677 remquo(0.0l, 0.0l, 0);
109678 rint(0.0);
109679 rintf(0.0f);
109680 rintl(0.0l);
109681 round(0.0);
109682 roundf(0.0f);
109683 roundl(0.0l);
109684 scalbln(0.0, 0l);
109685 scalblnf(0.0f, 0l);
109686 scalblnl(0.0l, 0l);
109687 scalbn(0.0, 0);
109688 scalbnf(0.0f, 0);
109689 scalbnl(0.0l, 0);
109690 tgamma(0.0);
109691 tgammaf(0.0f);
109692 tgammal(0.0l);
109693 trunc(0.0);
109694 truncf(0.0f);
109695 truncl(0.0l);
109698 return 0;
109700 _ACEOF
109701 rm -f conftest.$ac_objext
109702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109703 (eval $ac_compile) 2>conftest.er1
109704 ac_status=$?
109705 grep -v '^ *+' conftest.er1 >conftest.err
109706 rm -f conftest.er1
109707 cat conftest.err >&5
109708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109709 (exit $ac_status); } &&
109710 { ac_try='test -z "$ac_cxx_werror_flag"
109711 || test ! -s conftest.err'
109712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109713 (eval $ac_try) 2>&5
109714 ac_status=$?
109715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109716 (exit $ac_status); }; } &&
109717 { ac_try='test -s conftest.$ac_objext'
109718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109719 (eval $ac_try) 2>&5
109720 ac_status=$?
109721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109722 (exit $ac_status); }; }; then
109723 glibcxx_cv_c99_math_tr1=yes
109725 echo "$as_me: failed program was:" >&5
109726 sed 's/^/| /' conftest.$ac_ext >&5
109728 glibcxx_cv_c99_math_tr1=no
109730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109734 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
109735 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
109736 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
109738 cat >>confdefs.h <<\_ACEOF
109739 #define _GLIBCXX_USE_C99_MATH_TR1 1
109740 _ACEOF
109744 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109745 # sense if the previous check fails, per C99, 7.8/1).
109746 ac_c99_inttypes_tr1=no;
109747 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109748 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109749 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109750 cat >conftest.$ac_ext <<_ACEOF
109751 /* confdefs.h. */
109752 _ACEOF
109753 cat confdefs.h >>conftest.$ac_ext
109754 cat >>conftest.$ac_ext <<_ACEOF
109755 /* end confdefs.h. */
109756 #include <inttypes.h>
109758 main ()
109760 intmax_t i, numer, denom, base;
109761 const char* s;
109762 char** endptr;
109763 intmax_t ret = imaxabs(i);
109764 imaxdiv_t dret = imaxdiv(numer, denom);
109765 ret = strtoimax(s, endptr, base);
109766 uintmax_t uret = strtoumax(s, endptr, base);
109769 return 0;
109771 _ACEOF
109772 rm -f conftest.$ac_objext
109773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109774 (eval $ac_compile) 2>conftest.er1
109775 ac_status=$?
109776 grep -v '^ *+' conftest.er1 >conftest.err
109777 rm -f conftest.er1
109778 cat conftest.err >&5
109779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109780 (exit $ac_status); } &&
109781 { ac_try='test -z "$ac_cxx_werror_flag"
109782 || test ! -s conftest.err'
109783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109784 (eval $ac_try) 2>&5
109785 ac_status=$?
109786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109787 (exit $ac_status); }; } &&
109788 { ac_try='test -s conftest.$ac_objext'
109789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109790 (eval $ac_try) 2>&5
109791 ac_status=$?
109792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109793 (exit $ac_status); }; }; then
109794 ac_c99_inttypes_tr1=yes
109796 echo "$as_me: failed program was:" >&5
109797 sed 's/^/| /' conftest.$ac_ext >&5
109799 ac_c99_inttypes_tr1=no
109801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109803 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109804 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109805 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109807 cat >>confdefs.h <<\_ACEOF
109808 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109809 _ACEOF
109813 # Check for the existence of the <stdbool.h> header.
109815 for ac_header in stdbool.h
109817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109819 echo "$as_me:$LINENO: checking for $ac_header" >&5
109820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109822 echo $ECHO_N "(cached) $ECHO_C" >&6
109824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109827 # Is the header compilable?
109828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109830 cat >conftest.$ac_ext <<_ACEOF
109831 /* confdefs.h. */
109832 _ACEOF
109833 cat confdefs.h >>conftest.$ac_ext
109834 cat >>conftest.$ac_ext <<_ACEOF
109835 /* end confdefs.h. */
109836 $ac_includes_default
109837 #include <$ac_header>
109838 _ACEOF
109839 rm -f conftest.$ac_objext
109840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109841 (eval $ac_compile) 2>conftest.er1
109842 ac_status=$?
109843 grep -v '^ *+' conftest.er1 >conftest.err
109844 rm -f conftest.er1
109845 cat conftest.err >&5
109846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109847 (exit $ac_status); } &&
109848 { ac_try='test -z "$ac_cxx_werror_flag"
109849 || test ! -s conftest.err'
109850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109851 (eval $ac_try) 2>&5
109852 ac_status=$?
109853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109854 (exit $ac_status); }; } &&
109855 { ac_try='test -s conftest.$ac_objext'
109856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109857 (eval $ac_try) 2>&5
109858 ac_status=$?
109859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109860 (exit $ac_status); }; }; then
109861 ac_header_compiler=yes
109863 echo "$as_me: failed program was:" >&5
109864 sed 's/^/| /' conftest.$ac_ext >&5
109866 ac_header_compiler=no
109868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109870 echo "${ECHO_T}$ac_header_compiler" >&6
109872 # Is the header present?
109873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109875 cat >conftest.$ac_ext <<_ACEOF
109876 /* confdefs.h. */
109877 _ACEOF
109878 cat confdefs.h >>conftest.$ac_ext
109879 cat >>conftest.$ac_ext <<_ACEOF
109880 /* end confdefs.h. */
109881 #include <$ac_header>
109882 _ACEOF
109883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109885 ac_status=$?
109886 grep -v '^ *+' conftest.er1 >conftest.err
109887 rm -f conftest.er1
109888 cat conftest.err >&5
109889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109890 (exit $ac_status); } >/dev/null; then
109891 if test -s conftest.err; then
109892 ac_cpp_err=$ac_cxx_preproc_warn_flag
109893 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109895 ac_cpp_err=
109898 ac_cpp_err=yes
109900 if test -z "$ac_cpp_err"; then
109901 ac_header_preproc=yes
109903 echo "$as_me: failed program was:" >&5
109904 sed 's/^/| /' conftest.$ac_ext >&5
109906 ac_header_preproc=no
109908 rm -f conftest.err conftest.$ac_ext
109909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109910 echo "${ECHO_T}$ac_header_preproc" >&6
109912 # So? What about this header?
109913 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109914 yes:no: )
109915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109919 ac_header_preproc=yes
109921 no:yes:* )
109922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109926 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109928 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109929 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109932 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109935 cat <<\_ASBOX
109936 ## ----------------------------------------- ##
109937 ## Report this to the package-unused lists. ##
109938 ## ----------------------------------------- ##
109939 _ASBOX
109941 sed "s/^/$as_me: WARNING: /" >&2
109944 echo "$as_me:$LINENO: checking for $ac_header" >&5
109945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109947 echo $ECHO_N "(cached) $ECHO_C" >&6
109949 eval "$as_ac_Header=\$ac_header_preproc"
109951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109956 cat >>confdefs.h <<_ACEOF
109957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109958 _ACEOF
109965 CXXFLAGS="$ac_save_CXXFLAGS"
109966 ac_ext=c
109967 ac_cpp='$CPP $CPPFLAGS'
109968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109974 cat >>confdefs.h <<\_ACEOF
109975 #define _GLIBCXX_USE_RANDOM_TR1 1
109976 _ACEOF
109980 if test "${ac_cv_header_locale_h+set}" = set; then
109981 echo "$as_me:$LINENO: checking for locale.h" >&5
109982 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
109983 if test "${ac_cv_header_locale_h+set}" = set; then
109984 echo $ECHO_N "(cached) $ECHO_C" >&6
109986 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
109987 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
109989 # Is the header compilable?
109990 echo "$as_me:$LINENO: checking locale.h usability" >&5
109991 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
109992 cat >conftest.$ac_ext <<_ACEOF
109993 /* confdefs.h. */
109994 _ACEOF
109995 cat confdefs.h >>conftest.$ac_ext
109996 cat >>conftest.$ac_ext <<_ACEOF
109997 /* end confdefs.h. */
109998 $ac_includes_default
109999 #include <locale.h>
110000 _ACEOF
110001 rm -f conftest.$ac_objext
110002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110003 (eval $ac_compile) 2>conftest.er1
110004 ac_status=$?
110005 grep -v '^ *+' conftest.er1 >conftest.err
110006 rm -f conftest.er1
110007 cat conftest.err >&5
110008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110009 (exit $ac_status); } &&
110010 { ac_try='test -z "$ac_c_werror_flag"
110011 || test ! -s conftest.err'
110012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110013 (eval $ac_try) 2>&5
110014 ac_status=$?
110015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110016 (exit $ac_status); }; } &&
110017 { ac_try='test -s conftest.$ac_objext'
110018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110019 (eval $ac_try) 2>&5
110020 ac_status=$?
110021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110022 (exit $ac_status); }; }; then
110023 ac_header_compiler=yes
110025 echo "$as_me: failed program was:" >&5
110026 sed 's/^/| /' conftest.$ac_ext >&5
110028 ac_header_compiler=no
110030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110032 echo "${ECHO_T}$ac_header_compiler" >&6
110034 # Is the header present?
110035 echo "$as_me:$LINENO: checking locale.h presence" >&5
110036 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110037 cat >conftest.$ac_ext <<_ACEOF
110038 /* confdefs.h. */
110039 _ACEOF
110040 cat confdefs.h >>conftest.$ac_ext
110041 cat >>conftest.$ac_ext <<_ACEOF
110042 /* end confdefs.h. */
110043 #include <locale.h>
110044 _ACEOF
110045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110047 ac_status=$?
110048 grep -v '^ *+' conftest.er1 >conftest.err
110049 rm -f conftest.er1
110050 cat conftest.err >&5
110051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110052 (exit $ac_status); } >/dev/null; then
110053 if test -s conftest.err; then
110054 ac_cpp_err=$ac_c_preproc_warn_flag
110055 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110057 ac_cpp_err=
110060 ac_cpp_err=yes
110062 if test -z "$ac_cpp_err"; then
110063 ac_header_preproc=yes
110065 echo "$as_me: failed program was:" >&5
110066 sed 's/^/| /' conftest.$ac_ext >&5
110068 ac_header_preproc=no
110070 rm -f conftest.err conftest.$ac_ext
110071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110072 echo "${ECHO_T}$ac_header_preproc" >&6
110074 # So? What about this header?
110075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110076 yes:no: )
110077 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
110078 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
110079 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
110080 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
110081 ac_header_preproc=yes
110083 no:yes:* )
110084 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
110085 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
110086 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
110087 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
110088 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
110089 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
110090 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
110091 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
110092 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
110093 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
110094 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
110095 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
110097 cat <<\_ASBOX
110098 ## ----------------------------------------- ##
110099 ## Report this to the package-unused lists. ##
110100 ## ----------------------------------------- ##
110101 _ASBOX
110103 sed "s/^/$as_me: WARNING: /" >&2
110106 echo "$as_me:$LINENO: checking for locale.h" >&5
110107 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110108 if test "${ac_cv_header_locale_h+set}" = set; then
110109 echo $ECHO_N "(cached) $ECHO_C" >&6
110111 ac_cv_header_locale_h=$ac_header_preproc
110113 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110114 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110117 if test $ac_cv_header_locale_h = yes; then
110119 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
110120 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
110121 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
110122 echo $ECHO_N "(cached) $ECHO_C" >&6
110124 if test x$gcc_no_link = xyes; then
110125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110127 { (exit 1); exit 1; }; }
110129 cat >conftest.$ac_ext <<_ACEOF
110130 /* confdefs.h. */
110131 _ACEOF
110132 cat confdefs.h >>conftest.$ac_ext
110133 cat >>conftest.$ac_ext <<_ACEOF
110134 /* end confdefs.h. */
110135 #include <locale.h>
110137 main ()
110139 return LC_MESSAGES
110141 return 0;
110143 _ACEOF
110144 rm -f conftest.$ac_objext conftest$ac_exeext
110145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110146 (eval $ac_link) 2>conftest.er1
110147 ac_status=$?
110148 grep -v '^ *+' conftest.er1 >conftest.err
110149 rm -f conftest.er1
110150 cat conftest.err >&5
110151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110152 (exit $ac_status); } &&
110153 { ac_try='test -z "$ac_c_werror_flag"
110154 || test ! -s conftest.err'
110155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110156 (eval $ac_try) 2>&5
110157 ac_status=$?
110158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110159 (exit $ac_status); }; } &&
110160 { ac_try='test -s conftest$ac_exeext'
110161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110162 (eval $ac_try) 2>&5
110163 ac_status=$?
110164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110165 (exit $ac_status); }; }; then
110166 ac_cv_val_LC_MESSAGES=yes
110168 echo "$as_me: failed program was:" >&5
110169 sed 's/^/| /' conftest.$ac_ext >&5
110171 ac_cv_val_LC_MESSAGES=no
110173 rm -f conftest.err conftest.$ac_objext \
110174 conftest$ac_exeext conftest.$ac_ext
110176 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
110177 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
110178 if test $ac_cv_val_LC_MESSAGES = yes; then
110180 cat >>confdefs.h <<\_ACEOF
110181 #define HAVE_LC_MESSAGES 1
110182 _ACEOF
110191 # Check for sigsetjmp
110192 cat >conftest.$ac_ext <<_ACEOF
110193 /* confdefs.h. */
110194 _ACEOF
110195 cat confdefs.h >>conftest.$ac_ext
110196 cat >>conftest.$ac_ext <<_ACEOF
110197 /* end confdefs.h. */
110198 #include <setjmp.h>
110200 main ()
110202 sigjmp_buf env;
110203 while (! sigsetjmp (env, 1))
110204 siglongjmp (env, 1);
110207 return 0;
110209 _ACEOF
110210 rm -f conftest.$ac_objext
110211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110212 (eval $ac_compile) 2>conftest.er1
110213 ac_status=$?
110214 grep -v '^ *+' conftest.er1 >conftest.err
110215 rm -f conftest.er1
110216 cat conftest.err >&5
110217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110218 (exit $ac_status); } &&
110219 { ac_try='test -z "$ac_c_werror_flag"
110220 || test ! -s conftest.err'
110221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110222 (eval $ac_try) 2>&5
110223 ac_status=$?
110224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110225 (exit $ac_status); }; } &&
110226 { ac_try='test -s conftest.$ac_objext'
110227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110228 (eval $ac_try) 2>&5
110229 ac_status=$?
110230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110231 (exit $ac_status); }; }; then
110233 cat >>confdefs.h <<\_ACEOF
110234 #define HAVE_SIGSETJMP 1
110235 _ACEOF
110238 echo "$as_me: failed program was:" >&5
110239 sed 's/^/| /' conftest.$ac_ext >&5
110242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110244 cat >>confdefs.h <<\_ACEOF
110245 #define HAVE_MMAP 1
110246 _ACEOF
110249 # For iconv support.
110255 am_save_CPPFLAGS="$CPPFLAGS"
110257 for element in $INCICONV; do
110258 haveit=
110259 for x in $CPPFLAGS; do
110261 acl_save_prefix="$prefix"
110262 prefix="$acl_final_prefix"
110263 acl_save_exec_prefix="$exec_prefix"
110264 exec_prefix="$acl_final_exec_prefix"
110265 eval x=\"$x\"
110266 exec_prefix="$acl_save_exec_prefix"
110267 prefix="$acl_save_prefix"
110269 if test "X$x" = "X$element"; then
110270 haveit=yes
110271 break
110274 if test -z "$haveit"; then
110275 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
110280 echo "$as_me:$LINENO: checking for iconv" >&5
110281 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
110282 if test "${am_cv_func_iconv+set}" = set; then
110283 echo $ECHO_N "(cached) $ECHO_C" >&6
110286 am_cv_func_iconv="no, consider installing GNU libiconv"
110287 am_cv_lib_iconv=no
110288 if test x$gcc_no_link = xyes; then
110289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110291 { (exit 1); exit 1; }; }
110293 cat >conftest.$ac_ext <<_ACEOF
110294 /* confdefs.h. */
110295 _ACEOF
110296 cat confdefs.h >>conftest.$ac_ext
110297 cat >>conftest.$ac_ext <<_ACEOF
110298 /* end confdefs.h. */
110299 #include <stdlib.h>
110300 #include <iconv.h>
110302 main ()
110304 iconv_t cd = iconv_open("","");
110305 iconv(cd,NULL,NULL,NULL,NULL);
110306 iconv_close(cd);
110308 return 0;
110310 _ACEOF
110311 rm -f conftest.$ac_objext conftest$ac_exeext
110312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110313 (eval $ac_link) 2>conftest.er1
110314 ac_status=$?
110315 grep -v '^ *+' conftest.er1 >conftest.err
110316 rm -f conftest.er1
110317 cat conftest.err >&5
110318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110319 (exit $ac_status); } &&
110320 { ac_try='test -z "$ac_c_werror_flag"
110321 || test ! -s conftest.err'
110322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110323 (eval $ac_try) 2>&5
110324 ac_status=$?
110325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110326 (exit $ac_status); }; } &&
110327 { ac_try='test -s conftest$ac_exeext'
110328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110329 (eval $ac_try) 2>&5
110330 ac_status=$?
110331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110332 (exit $ac_status); }; }; then
110333 am_cv_func_iconv=yes
110335 echo "$as_me: failed program was:" >&5
110336 sed 's/^/| /' conftest.$ac_ext >&5
110339 rm -f conftest.err conftest.$ac_objext \
110340 conftest$ac_exeext conftest.$ac_ext
110341 if test "$am_cv_func_iconv" != yes; then
110342 am_save_LIBS="$LIBS"
110343 LIBS="$LIBS $LIBICONV"
110344 if test x$gcc_no_link = xyes; then
110345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110347 { (exit 1); exit 1; }; }
110349 cat >conftest.$ac_ext <<_ACEOF
110350 /* confdefs.h. */
110351 _ACEOF
110352 cat confdefs.h >>conftest.$ac_ext
110353 cat >>conftest.$ac_ext <<_ACEOF
110354 /* end confdefs.h. */
110355 #include <stdlib.h>
110356 #include <iconv.h>
110358 main ()
110360 iconv_t cd = iconv_open("","");
110361 iconv(cd,NULL,NULL,NULL,NULL);
110362 iconv_close(cd);
110364 return 0;
110366 _ACEOF
110367 rm -f conftest.$ac_objext conftest$ac_exeext
110368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110369 (eval $ac_link) 2>conftest.er1
110370 ac_status=$?
110371 grep -v '^ *+' conftest.er1 >conftest.err
110372 rm -f conftest.er1
110373 cat conftest.err >&5
110374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110375 (exit $ac_status); } &&
110376 { ac_try='test -z "$ac_c_werror_flag"
110377 || test ! -s conftest.err'
110378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110379 (eval $ac_try) 2>&5
110380 ac_status=$?
110381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110382 (exit $ac_status); }; } &&
110383 { ac_try='test -s conftest$ac_exeext'
110384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110385 (eval $ac_try) 2>&5
110386 ac_status=$?
110387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110388 (exit $ac_status); }; }; then
110389 am_cv_lib_iconv=yes
110390 am_cv_func_iconv=yes
110392 echo "$as_me: failed program was:" >&5
110393 sed 's/^/| /' conftest.$ac_ext >&5
110396 rm -f conftest.err conftest.$ac_objext \
110397 conftest$ac_exeext conftest.$ac_ext
110398 LIBS="$am_save_LIBS"
110402 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
110403 echo "${ECHO_T}$am_cv_func_iconv" >&6
110404 if test "$am_cv_func_iconv" = yes; then
110406 cat >>confdefs.h <<\_ACEOF
110407 #define HAVE_ICONV 1
110408 _ACEOF
110411 if test "$am_cv_lib_iconv" = yes; then
110412 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
110413 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
110414 echo "$as_me:$LINENO: result: $LIBICONV" >&5
110415 echo "${ECHO_T}$LIBICONV" >&6
110417 CPPFLAGS="$am_save_CPPFLAGS"
110418 LIBICONV=
110419 LTLIBICONV=
110424 if test "$am_cv_func_iconv" = yes; then
110425 echo "$as_me:$LINENO: checking for iconv declaration" >&5
110426 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
110427 if test "${am_cv_proto_iconv+set}" = set; then
110428 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
110438 #include <stdlib.h>
110439 #include <iconv.h>
110440 extern
110441 #ifdef __cplusplus
110443 #endif
110444 #if defined(__STDC__) || defined(__cplusplus)
110445 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
110446 #else
110447 size_t iconv();
110448 #endif
110451 main ()
110455 return 0;
110457 _ACEOF
110458 rm -f conftest.$ac_objext
110459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110460 (eval $ac_compile) 2>conftest.er1
110461 ac_status=$?
110462 grep -v '^ *+' conftest.er1 >conftest.err
110463 rm -f conftest.er1
110464 cat conftest.err >&5
110465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110466 (exit $ac_status); } &&
110467 { ac_try='test -z "$ac_c_werror_flag"
110468 || test ! -s conftest.err'
110469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110470 (eval $ac_try) 2>&5
110471 ac_status=$?
110472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110473 (exit $ac_status); }; } &&
110474 { ac_try='test -s conftest.$ac_objext'
110475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110476 (eval $ac_try) 2>&5
110477 ac_status=$?
110478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110479 (exit $ac_status); }; }; then
110480 am_cv_proto_iconv_arg1=""
110482 echo "$as_me: failed program was:" >&5
110483 sed 's/^/| /' conftest.$ac_ext >&5
110485 am_cv_proto_iconv_arg1="const"
110487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110488 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);"
110491 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
110492 echo "$as_me:$LINENO: result: ${ac_t:-
110493 }$am_cv_proto_iconv" >&5
110494 echo "${ECHO_T}${ac_t:-
110495 }$am_cv_proto_iconv" >&6
110497 cat >>confdefs.h <<_ACEOF
110498 #define ICONV_CONST $am_cv_proto_iconv_arg1
110499 _ACEOF
110504 *-mingw32*)
110508 for ac_header in sys/types.h locale.h float.h
110510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110512 echo "$as_me:$LINENO: checking for $ac_header" >&5
110513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110515 echo $ECHO_N "(cached) $ECHO_C" >&6
110517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110520 # Is the header compilable?
110521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110523 cat >conftest.$ac_ext <<_ACEOF
110524 /* confdefs.h. */
110525 _ACEOF
110526 cat confdefs.h >>conftest.$ac_ext
110527 cat >>conftest.$ac_ext <<_ACEOF
110528 /* end confdefs.h. */
110529 $ac_includes_default
110530 #include <$ac_header>
110531 _ACEOF
110532 rm -f conftest.$ac_objext
110533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110534 (eval $ac_compile) 2>conftest.er1
110535 ac_status=$?
110536 grep -v '^ *+' conftest.er1 >conftest.err
110537 rm -f conftest.er1
110538 cat conftest.err >&5
110539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110540 (exit $ac_status); } &&
110541 { ac_try='test -z "$ac_c_werror_flag"
110542 || test ! -s conftest.err'
110543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110544 (eval $ac_try) 2>&5
110545 ac_status=$?
110546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110547 (exit $ac_status); }; } &&
110548 { ac_try='test -s conftest.$ac_objext'
110549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110550 (eval $ac_try) 2>&5
110551 ac_status=$?
110552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110553 (exit $ac_status); }; }; then
110554 ac_header_compiler=yes
110556 echo "$as_me: failed program was:" >&5
110557 sed 's/^/| /' conftest.$ac_ext >&5
110559 ac_header_compiler=no
110561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110563 echo "${ECHO_T}$ac_header_compiler" >&6
110565 # Is the header present?
110566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110568 cat >conftest.$ac_ext <<_ACEOF
110569 /* confdefs.h. */
110570 _ACEOF
110571 cat confdefs.h >>conftest.$ac_ext
110572 cat >>conftest.$ac_ext <<_ACEOF
110573 /* end confdefs.h. */
110574 #include <$ac_header>
110575 _ACEOF
110576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110578 ac_status=$?
110579 grep -v '^ *+' conftest.er1 >conftest.err
110580 rm -f conftest.er1
110581 cat conftest.err >&5
110582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110583 (exit $ac_status); } >/dev/null; then
110584 if test -s conftest.err; then
110585 ac_cpp_err=$ac_c_preproc_warn_flag
110586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110588 ac_cpp_err=
110591 ac_cpp_err=yes
110593 if test -z "$ac_cpp_err"; then
110594 ac_header_preproc=yes
110596 echo "$as_me: failed program was:" >&5
110597 sed 's/^/| /' conftest.$ac_ext >&5
110599 ac_header_preproc=no
110601 rm -f conftest.err conftest.$ac_ext
110602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110603 echo "${ECHO_T}$ac_header_preproc" >&6
110605 # So? What about this header?
110606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110607 yes:no: )
110608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110612 ac_header_preproc=yes
110614 no:yes:* )
110615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110628 cat <<\_ASBOX
110629 ## ----------------------------------------- ##
110630 ## Report this to the package-unused lists. ##
110631 ## ----------------------------------------- ##
110632 _ASBOX
110634 sed "s/^/$as_me: WARNING: /" >&2
110637 echo "$as_me:$LINENO: checking for $ac_header" >&5
110638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110640 echo $ECHO_N "(cached) $ECHO_C" >&6
110642 eval "$as_ac_Header=\$ac_header_preproc"
110644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110649 cat >>confdefs.h <<_ACEOF
110650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110651 _ACEOF
110657 cat >>confdefs.h <<\_ACEOF
110658 #define HAVE_STRTOF 1
110659 _ACEOF
110661 cat >>confdefs.h <<\_ACEOF
110662 #define HAVE_STRTOLD 1
110663 _ACEOF
110666 # If we're not using GNU ld, then there's no point in even trying these
110667 # tests. Check for that first. We should have already tested for gld
110668 # by now (in libtool), but require it now just to be safe...
110669 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110670 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110674 # The name set by libtool depends on the version of libtool. Shame on us
110675 # for depending on an impl detail, but c'est la vie. Older versions used
110676 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110677 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110678 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110679 # set (hence we're using an older libtool), then set it.
110680 if test x${with_gnu_ld+set} != xset; then
110681 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110682 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110683 with_gnu_ld=no
110685 with_gnu_ld=$ac_cv_prog_gnu_ld
110689 # Start by getting the version number. I think the libtool test already
110690 # does some of this, but throws away the result.
110691 glibcxx_ld_is_gold=no
110692 if test x"$with_gnu_ld" = x"yes"; then
110693 echo "$as_me:$LINENO: checking for ld version" >&5
110694 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110696 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110697 glibcxx_ld_is_gold=yes
110699 ldver=`$LD --version 2>/dev/null | head -1 | \
110700 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110702 glibcxx_gnu_ld_version=`echo $ldver | \
110703 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110704 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110705 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110708 # Set --gc-sections.
110709 glibcxx_have_gc_sections=no
110710 if test "$glibcxx_ld_is_gold" = "yes"; then
110711 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110712 glibcxx_have_gc_sections=yes
110715 glibcxx_gcsections_min_ld=21602
110716 if test x"$with_gnu_ld" = x"yes" &&
110717 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110718 glibcxx_have_gc_sections=yes
110721 if test "$glibcxx_have_gc_sections" = "yes"; then
110722 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110723 # NB: This flag only works reliably after 2.16.1. Configure tests
110724 # for this are difficult, so hard wire a value that should work.
110726 ac_test_CFLAGS="${CFLAGS+set}"
110727 ac_save_CFLAGS="$CFLAGS"
110728 CFLAGS='-Wl,--gc-sections'
110730 # Check for -Wl,--gc-sections
110731 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110732 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110733 if test x$gcc_no_link = xyes; then
110734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110736 { (exit 1); exit 1; }; }
110738 cat >conftest.$ac_ext <<_ACEOF
110739 /* confdefs.h. */
110740 _ACEOF
110741 cat confdefs.h >>conftest.$ac_ext
110742 cat >>conftest.$ac_ext <<_ACEOF
110743 /* end confdefs.h. */
110744 int one(void) { return 1; }
110745 int two(void) { return 2; }
110748 main ()
110750 two();
110752 return 0;
110754 _ACEOF
110755 rm -f conftest.$ac_objext conftest$ac_exeext
110756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110757 (eval $ac_link) 2>conftest.er1
110758 ac_status=$?
110759 grep -v '^ *+' conftest.er1 >conftest.err
110760 rm -f conftest.er1
110761 cat conftest.err >&5
110762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110763 (exit $ac_status); } &&
110764 { ac_try='test -z "$ac_c_werror_flag"
110765 || test ! -s conftest.err'
110766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110767 (eval $ac_try) 2>&5
110768 ac_status=$?
110769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110770 (exit $ac_status); }; } &&
110771 { ac_try='test -s conftest$ac_exeext'
110772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110773 (eval $ac_try) 2>&5
110774 ac_status=$?
110775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110776 (exit $ac_status); }; }; then
110777 ac_gcsections=yes
110779 echo "$as_me: failed program was:" >&5
110780 sed 's/^/| /' conftest.$ac_ext >&5
110782 ac_gcsections=no
110784 rm -f conftest.err conftest.$ac_objext \
110785 conftest$ac_exeext conftest.$ac_ext
110786 if test "$ac_gcsections" = "yes"; then
110787 rm -f conftest.c
110788 touch conftest.c
110789 if $CC -c conftest.c; then
110790 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110791 grep "Warning: gc-sections option ignored" > /dev/null; then
110792 ac_gcsections=no
110795 rm -f conftest.c conftest.o conftest
110797 if test "$ac_gcsections" = "yes"; then
110798 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110800 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110801 echo "${ECHO_T}$ac_gcsections" >&6
110803 if test "$ac_test_CFLAGS" = set; then
110804 CFLAGS="$ac_save_CFLAGS"
110806 # this is the suspicious part
110807 CFLAGS=''
110811 # Set -z,relro.
110812 # Note this is only for shared objects.
110813 ac_ld_relro=no
110814 if test x"$with_gnu_ld" = x"yes"; then
110815 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110816 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110817 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110818 if test -n "$cxx_z_relo"; then
110819 OPT_LDFLAGS="-Wl,-z,relro"
110820 ac_ld_relro=yes
110822 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110823 echo "${ECHO_T}$ac_ld_relro" >&6
110826 # Set linker optimization flags.
110827 if test x"$with_gnu_ld" = x"yes"; then
110828 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110836 echo "$as_me:$LINENO: checking for main in -lm" >&5
110837 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110838 if test "${ac_cv_lib_m_main+set}" = set; then
110839 echo $ECHO_N "(cached) $ECHO_C" >&6
110841 ac_check_lib_save_LIBS=$LIBS
110842 LIBS="-lm $LIBS"
110843 if test x$gcc_no_link = xyes; then
110844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110846 { (exit 1); exit 1; }; }
110848 cat >conftest.$ac_ext <<_ACEOF
110849 /* confdefs.h. */
110850 _ACEOF
110851 cat confdefs.h >>conftest.$ac_ext
110852 cat >>conftest.$ac_ext <<_ACEOF
110853 /* end confdefs.h. */
110857 main ()
110859 main ();
110861 return 0;
110863 _ACEOF
110864 rm -f conftest.$ac_objext conftest$ac_exeext
110865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110866 (eval $ac_link) 2>conftest.er1
110867 ac_status=$?
110868 grep -v '^ *+' conftest.er1 >conftest.err
110869 rm -f conftest.er1
110870 cat conftest.err >&5
110871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110872 (exit $ac_status); } &&
110873 { ac_try='test -z "$ac_c_werror_flag"
110874 || test ! -s conftest.err'
110875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110876 (eval $ac_try) 2>&5
110877 ac_status=$?
110878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110879 (exit $ac_status); }; } &&
110880 { ac_try='test -s conftest$ac_exeext'
110881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110882 (eval $ac_try) 2>&5
110883 ac_status=$?
110884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110885 (exit $ac_status); }; }; then
110886 ac_cv_lib_m_main=yes
110888 echo "$as_me: failed program was:" >&5
110889 sed 's/^/| /' conftest.$ac_ext >&5
110891 ac_cv_lib_m_main=no
110893 rm -f conftest.err conftest.$ac_objext \
110894 conftest$ac_exeext conftest.$ac_ext
110895 LIBS=$ac_check_lib_save_LIBS
110897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110898 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110899 if test $ac_cv_lib_m_main = yes; then
110900 cat >>confdefs.h <<_ACEOF
110901 #define HAVE_LIBM 1
110902 _ACEOF
110904 LIBS="-lm $LIBS"
110909 for ac_func in copysignf
110911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110912 echo "$as_me:$LINENO: checking for $ac_func" >&5
110913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110914 if eval "test \"\${$as_ac_var+set}\" = set"; then
110915 echo $ECHO_N "(cached) $ECHO_C" >&6
110917 if test x$gcc_no_link = xyes; then
110918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110920 { (exit 1); exit 1; }; }
110922 cat >conftest.$ac_ext <<_ACEOF
110923 /* confdefs.h. */
110924 _ACEOF
110925 cat confdefs.h >>conftest.$ac_ext
110926 cat >>conftest.$ac_ext <<_ACEOF
110927 /* end confdefs.h. */
110928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110930 #define $ac_func innocuous_$ac_func
110932 /* System header to define __stub macros and hopefully few prototypes,
110933 which can conflict with char $ac_func (); below.
110934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110935 <limits.h> exists even on freestanding compilers. */
110937 #ifdef __STDC__
110938 # include <limits.h>
110939 #else
110940 # include <assert.h>
110941 #endif
110943 #undef $ac_func
110945 /* Override any gcc2 internal prototype to avoid an error. */
110946 #ifdef __cplusplus
110947 extern "C"
110949 #endif
110950 /* We use char because int might match the return type of a gcc2
110951 builtin and then its argument prototype would still apply. */
110952 char $ac_func ();
110953 /* The GNU C library defines this for functions which it implements
110954 to always fail with ENOSYS. Some functions are actually named
110955 something starting with __ and the normal name is an alias. */
110956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110957 choke me
110958 #else
110959 char (*f) () = $ac_func;
110960 #endif
110961 #ifdef __cplusplus
110963 #endif
110966 main ()
110968 return f != $ac_func;
110970 return 0;
110972 _ACEOF
110973 rm -f conftest.$ac_objext conftest$ac_exeext
110974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110975 (eval $ac_link) 2>conftest.er1
110976 ac_status=$?
110977 grep -v '^ *+' conftest.er1 >conftest.err
110978 rm -f conftest.er1
110979 cat conftest.err >&5
110980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110981 (exit $ac_status); } &&
110982 { ac_try='test -z "$ac_c_werror_flag"
110983 || test ! -s conftest.err'
110984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110985 (eval $ac_try) 2>&5
110986 ac_status=$?
110987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110988 (exit $ac_status); }; } &&
110989 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
110995 eval "$as_ac_var=yes"
110997 echo "$as_me: failed program was:" >&5
110998 sed 's/^/| /' conftest.$ac_ext >&5
111000 eval "$as_ac_var=no"
111002 rm -f conftest.err conftest.$ac_objext \
111003 conftest$ac_exeext conftest.$ac_ext
111005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111007 if test `eval echo '${'$as_ac_var'}'` = yes; then
111008 cat >>confdefs.h <<_ACEOF
111009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111010 _ACEOF
111013 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111019 for ac_func in __signbit
111021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111022 echo "$as_me:$LINENO: checking for $ac_func" >&5
111023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111024 if eval "test \"\${$as_ac_var+set}\" = set"; then
111025 echo $ECHO_N "(cached) $ECHO_C" >&6
111027 if test x$gcc_no_link = xyes; then
111028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111030 { (exit 1); exit 1; }; }
111032 cat >conftest.$ac_ext <<_ACEOF
111033 /* confdefs.h. */
111034 _ACEOF
111035 cat confdefs.h >>conftest.$ac_ext
111036 cat >>conftest.$ac_ext <<_ACEOF
111037 /* end confdefs.h. */
111038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111040 #define $ac_func innocuous_$ac_func
111042 /* System header to define __stub macros and hopefully few prototypes,
111043 which can conflict with char $ac_func (); below.
111044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111045 <limits.h> exists even on freestanding compilers. */
111047 #ifdef __STDC__
111048 # include <limits.h>
111049 #else
111050 # include <assert.h>
111051 #endif
111053 #undef $ac_func
111055 /* Override any gcc2 internal prototype to avoid an error. */
111056 #ifdef __cplusplus
111057 extern "C"
111059 #endif
111060 /* We use char because int might match the return type of a gcc2
111061 builtin and then its argument prototype would still apply. */
111062 char $ac_func ();
111063 /* The GNU C library defines this for functions which it implements
111064 to always fail with ENOSYS. Some functions are actually named
111065 something starting with __ and the normal name is an alias. */
111066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111067 choke me
111068 #else
111069 char (*f) () = $ac_func;
111070 #endif
111071 #ifdef __cplusplus
111073 #endif
111076 main ()
111078 return f != $ac_func;
111080 return 0;
111082 _ACEOF
111083 rm -f conftest.$ac_objext conftest$ac_exeext
111084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111085 (eval $ac_link) 2>conftest.er1
111086 ac_status=$?
111087 grep -v '^ *+' conftest.er1 >conftest.err
111088 rm -f conftest.er1
111089 cat conftest.err >&5
111090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111091 (exit $ac_status); } &&
111092 { ac_try='test -z "$ac_c_werror_flag"
111093 || test ! -s conftest.err'
111094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111095 (eval $ac_try) 2>&5
111096 ac_status=$?
111097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111098 (exit $ac_status); }; } &&
111099 { ac_try='test -s conftest$ac_exeext'
111100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111101 (eval $ac_try) 2>&5
111102 ac_status=$?
111103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111104 (exit $ac_status); }; }; then
111105 eval "$as_ac_var=yes"
111107 echo "$as_me: failed program was:" >&5
111108 sed 's/^/| /' conftest.$ac_ext >&5
111110 eval "$as_ac_var=no"
111112 rm -f conftest.err conftest.$ac_objext \
111113 conftest$ac_exeext conftest.$ac_ext
111115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111117 if test `eval echo '${'$as_ac_var'}'` = yes; then
111118 cat >>confdefs.h <<_ACEOF
111119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111120 _ACEOF
111123 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111129 for ac_func in __signbitf
111131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111132 echo "$as_me:$LINENO: checking for $ac_func" >&5
111133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111134 if eval "test \"\${$as_ac_var+set}\" = set"; then
111135 echo $ECHO_N "(cached) $ECHO_C" >&6
111137 if test x$gcc_no_link = xyes; then
111138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111140 { (exit 1); exit 1; }; }
111142 cat >conftest.$ac_ext <<_ACEOF
111143 /* confdefs.h. */
111144 _ACEOF
111145 cat confdefs.h >>conftest.$ac_ext
111146 cat >>conftest.$ac_ext <<_ACEOF
111147 /* end confdefs.h. */
111148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111150 #define $ac_func innocuous_$ac_func
111152 /* System header to define __stub macros and hopefully few prototypes,
111153 which can conflict with char $ac_func (); below.
111154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111155 <limits.h> exists even on freestanding compilers. */
111157 #ifdef __STDC__
111158 # include <limits.h>
111159 #else
111160 # include <assert.h>
111161 #endif
111163 #undef $ac_func
111165 /* Override any gcc2 internal prototype to avoid an error. */
111166 #ifdef __cplusplus
111167 extern "C"
111169 #endif
111170 /* We use char because int might match the return type of a gcc2
111171 builtin and then its argument prototype would still apply. */
111172 char $ac_func ();
111173 /* The GNU C library defines this for functions which it implements
111174 to always fail with ENOSYS. Some functions are actually named
111175 something starting with __ and the normal name is an alias. */
111176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111177 choke me
111178 #else
111179 char (*f) () = $ac_func;
111180 #endif
111181 #ifdef __cplusplus
111183 #endif
111186 main ()
111188 return f != $ac_func;
111190 return 0;
111192 _ACEOF
111193 rm -f conftest.$ac_objext conftest$ac_exeext
111194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111195 (eval $ac_link) 2>conftest.er1
111196 ac_status=$?
111197 grep -v '^ *+' conftest.er1 >conftest.err
111198 rm -f conftest.er1
111199 cat conftest.err >&5
111200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111201 (exit $ac_status); } &&
111202 { ac_try='test -z "$ac_c_werror_flag"
111203 || test ! -s conftest.err'
111204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111205 (eval $ac_try) 2>&5
111206 ac_status=$?
111207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111208 (exit $ac_status); }; } &&
111209 { ac_try='test -s conftest$ac_exeext'
111210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111211 (eval $ac_try) 2>&5
111212 ac_status=$?
111213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111214 (exit $ac_status); }; }; then
111215 eval "$as_ac_var=yes"
111217 echo "$as_me: failed program was:" >&5
111218 sed 's/^/| /' conftest.$ac_ext >&5
111220 eval "$as_ac_var=no"
111222 rm -f conftest.err conftest.$ac_objext \
111223 conftest$ac_exeext conftest.$ac_ext
111225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111227 if test `eval echo '${'$as_ac_var'}'` = yes; then
111228 cat >>confdefs.h <<_ACEOF
111229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111230 _ACEOF
111233 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111238 if test x$ac_cv_func_copysignl = x"yes"; then
111240 for ac_func in __signbitl
111242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111243 echo "$as_me:$LINENO: checking for $ac_func" >&5
111244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111245 if eval "test \"\${$as_ac_var+set}\" = set"; then
111246 echo $ECHO_N "(cached) $ECHO_C" >&6
111248 if test x$gcc_no_link = xyes; then
111249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111251 { (exit 1); exit 1; }; }
111253 cat >conftest.$ac_ext <<_ACEOF
111254 /* confdefs.h. */
111255 _ACEOF
111256 cat confdefs.h >>conftest.$ac_ext
111257 cat >>conftest.$ac_ext <<_ACEOF
111258 /* end confdefs.h. */
111259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111261 #define $ac_func innocuous_$ac_func
111263 /* System header to define __stub macros and hopefully few prototypes,
111264 which can conflict with char $ac_func (); below.
111265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111266 <limits.h> exists even on freestanding compilers. */
111268 #ifdef __STDC__
111269 # include <limits.h>
111270 #else
111271 # include <assert.h>
111272 #endif
111274 #undef $ac_func
111276 /* Override any gcc2 internal prototype to avoid an error. */
111277 #ifdef __cplusplus
111278 extern "C"
111280 #endif
111281 /* We use char because int might match the return type of a gcc2
111282 builtin and then its argument prototype would still apply. */
111283 char $ac_func ();
111284 /* The GNU C library defines this for functions which it implements
111285 to always fail with ENOSYS. Some functions are actually named
111286 something starting with __ and the normal name is an alias. */
111287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111288 choke me
111289 #else
111290 char (*f) () = $ac_func;
111291 #endif
111292 #ifdef __cplusplus
111294 #endif
111297 main ()
111299 return f != $ac_func;
111301 return 0;
111303 _ACEOF
111304 rm -f conftest.$ac_objext conftest$ac_exeext
111305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111306 (eval $ac_link) 2>conftest.er1
111307 ac_status=$?
111308 grep -v '^ *+' conftest.er1 >conftest.err
111309 rm -f conftest.er1
111310 cat conftest.err >&5
111311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111312 (exit $ac_status); } &&
111313 { ac_try='test -z "$ac_c_werror_flag"
111314 || test ! -s conftest.err'
111315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111316 (eval $ac_try) 2>&5
111317 ac_status=$?
111318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111319 (exit $ac_status); }; } &&
111320 { ac_try='test -s conftest$ac_exeext'
111321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111322 (eval $ac_try) 2>&5
111323 ac_status=$?
111324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111325 (exit $ac_status); }; }; then
111326 eval "$as_ac_var=yes"
111328 echo "$as_me: failed program was:" >&5
111329 sed 's/^/| /' conftest.$ac_ext >&5
111331 eval "$as_ac_var=no"
111333 rm -f conftest.err conftest.$ac_objext \
111334 conftest$ac_exeext conftest.$ac_ext
111336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111338 if test `eval echo '${'$as_ac_var'}'` = yes; then
111339 cat >>confdefs.h <<_ACEOF
111340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111341 _ACEOF
111344 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111350 # Used in libmath/Makefile.am.
111351 if test -n "$LIBMATHOBJS"; then
111352 need_libmath=yes
111357 *-netbsd*)
111370 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
111371 machine/endian.h machine/param.h sys/machine.h sys/types.h \
111372 fp.h locale.h float.h inttypes.h
111374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111376 echo "$as_me:$LINENO: checking for $ac_header" >&5
111377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111379 echo $ECHO_N "(cached) $ECHO_C" >&6
111381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111384 # Is the header compilable?
111385 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111387 cat >conftest.$ac_ext <<_ACEOF
111388 /* confdefs.h. */
111389 _ACEOF
111390 cat confdefs.h >>conftest.$ac_ext
111391 cat >>conftest.$ac_ext <<_ACEOF
111392 /* end confdefs.h. */
111393 $ac_includes_default
111394 #include <$ac_header>
111395 _ACEOF
111396 rm -f conftest.$ac_objext
111397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111398 (eval $ac_compile) 2>conftest.er1
111399 ac_status=$?
111400 grep -v '^ *+' conftest.er1 >conftest.err
111401 rm -f conftest.er1
111402 cat conftest.err >&5
111403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111404 (exit $ac_status); } &&
111405 { ac_try='test -z "$ac_c_werror_flag"
111406 || test ! -s conftest.err'
111407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111408 (eval $ac_try) 2>&5
111409 ac_status=$?
111410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111411 (exit $ac_status); }; } &&
111412 { ac_try='test -s conftest.$ac_objext'
111413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111414 (eval $ac_try) 2>&5
111415 ac_status=$?
111416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111417 (exit $ac_status); }; }; then
111418 ac_header_compiler=yes
111420 echo "$as_me: failed program was:" >&5
111421 sed 's/^/| /' conftest.$ac_ext >&5
111423 ac_header_compiler=no
111425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111427 echo "${ECHO_T}$ac_header_compiler" >&6
111429 # Is the header present?
111430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111432 cat >conftest.$ac_ext <<_ACEOF
111433 /* confdefs.h. */
111434 _ACEOF
111435 cat confdefs.h >>conftest.$ac_ext
111436 cat >>conftest.$ac_ext <<_ACEOF
111437 /* end confdefs.h. */
111438 #include <$ac_header>
111439 _ACEOF
111440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111442 ac_status=$?
111443 grep -v '^ *+' conftest.er1 >conftest.err
111444 rm -f conftest.er1
111445 cat conftest.err >&5
111446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111447 (exit $ac_status); } >/dev/null; then
111448 if test -s conftest.err; then
111449 ac_cpp_err=$ac_c_preproc_warn_flag
111450 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111452 ac_cpp_err=
111455 ac_cpp_err=yes
111457 if test -z "$ac_cpp_err"; then
111458 ac_header_preproc=yes
111460 echo "$as_me: failed program was:" >&5
111461 sed 's/^/| /' conftest.$ac_ext >&5
111463 ac_header_preproc=no
111465 rm -f conftest.err conftest.$ac_ext
111466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111467 echo "${ECHO_T}$ac_header_preproc" >&6
111469 # So? What about this header?
111470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111471 yes:no: )
111472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111476 ac_header_preproc=yes
111478 no:yes:* )
111479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111492 cat <<\_ASBOX
111493 ## ----------------------------------------- ##
111494 ## Report this to the package-unused lists. ##
111495 ## ----------------------------------------- ##
111496 _ASBOX
111498 sed "s/^/$as_me: WARNING: /" >&2
111501 echo "$as_me:$LINENO: checking for $ac_header" >&5
111502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111504 echo $ECHO_N "(cached) $ECHO_C" >&6
111506 eval "$as_ac_Header=\$ac_header_preproc"
111508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111513 cat >>confdefs.h <<_ACEOF
111514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111515 _ACEOF
111521 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111524 # If we're not using GNU ld, then there's no point in even trying these
111525 # tests. Check for that first. We should have already tested for gld
111526 # by now (in libtool), but require it now just to be safe...
111527 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111528 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111532 # The name set by libtool depends on the version of libtool. Shame on us
111533 # for depending on an impl detail, but c'est la vie. Older versions used
111534 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111535 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111536 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111537 # set (hence we're using an older libtool), then set it.
111538 if test x${with_gnu_ld+set} != xset; then
111539 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111540 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111541 with_gnu_ld=no
111543 with_gnu_ld=$ac_cv_prog_gnu_ld
111547 # Start by getting the version number. I think the libtool test already
111548 # does some of this, but throws away the result.
111549 glibcxx_ld_is_gold=no
111550 if test x"$with_gnu_ld" = x"yes"; then
111551 echo "$as_me:$LINENO: checking for ld version" >&5
111552 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111554 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111555 glibcxx_ld_is_gold=yes
111557 ldver=`$LD --version 2>/dev/null | head -1 | \
111558 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111560 glibcxx_gnu_ld_version=`echo $ldver | \
111561 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111562 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111563 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111566 # Set --gc-sections.
111567 glibcxx_have_gc_sections=no
111568 if test "$glibcxx_ld_is_gold" = "yes"; then
111569 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111570 glibcxx_have_gc_sections=yes
111573 glibcxx_gcsections_min_ld=21602
111574 if test x"$with_gnu_ld" = x"yes" &&
111575 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111576 glibcxx_have_gc_sections=yes
111579 if test "$glibcxx_have_gc_sections" = "yes"; then
111580 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111581 # NB: This flag only works reliably after 2.16.1. Configure tests
111582 # for this are difficult, so hard wire a value that should work.
111584 ac_test_CFLAGS="${CFLAGS+set}"
111585 ac_save_CFLAGS="$CFLAGS"
111586 CFLAGS='-Wl,--gc-sections'
111588 # Check for -Wl,--gc-sections
111589 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111590 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111591 if test x$gcc_no_link = xyes; then
111592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111594 { (exit 1); exit 1; }; }
111596 cat >conftest.$ac_ext <<_ACEOF
111597 /* confdefs.h. */
111598 _ACEOF
111599 cat confdefs.h >>conftest.$ac_ext
111600 cat >>conftest.$ac_ext <<_ACEOF
111601 /* end confdefs.h. */
111602 int one(void) { return 1; }
111603 int two(void) { return 2; }
111606 main ()
111608 two();
111610 return 0;
111612 _ACEOF
111613 rm -f conftest.$ac_objext conftest$ac_exeext
111614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111615 (eval $ac_link) 2>conftest.er1
111616 ac_status=$?
111617 grep -v '^ *+' conftest.er1 >conftest.err
111618 rm -f conftest.er1
111619 cat conftest.err >&5
111620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111621 (exit $ac_status); } &&
111622 { ac_try='test -z "$ac_c_werror_flag"
111623 || test ! -s conftest.err'
111624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111625 (eval $ac_try) 2>&5
111626 ac_status=$?
111627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111628 (exit $ac_status); }; } &&
111629 { ac_try='test -s conftest$ac_exeext'
111630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111631 (eval $ac_try) 2>&5
111632 ac_status=$?
111633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111634 (exit $ac_status); }; }; then
111635 ac_gcsections=yes
111637 echo "$as_me: failed program was:" >&5
111638 sed 's/^/| /' conftest.$ac_ext >&5
111640 ac_gcsections=no
111642 rm -f conftest.err conftest.$ac_objext \
111643 conftest$ac_exeext conftest.$ac_ext
111644 if test "$ac_gcsections" = "yes"; then
111645 rm -f conftest.c
111646 touch conftest.c
111647 if $CC -c conftest.c; then
111648 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111649 grep "Warning: gc-sections option ignored" > /dev/null; then
111650 ac_gcsections=no
111653 rm -f conftest.c conftest.o conftest
111655 if test "$ac_gcsections" = "yes"; then
111656 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111658 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111659 echo "${ECHO_T}$ac_gcsections" >&6
111661 if test "$ac_test_CFLAGS" = set; then
111662 CFLAGS="$ac_save_CFLAGS"
111664 # this is the suspicious part
111665 CFLAGS=''
111669 # Set -z,relro.
111670 # Note this is only for shared objects.
111671 ac_ld_relro=no
111672 if test x"$with_gnu_ld" = x"yes"; then
111673 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111674 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111675 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111676 if test -n "$cxx_z_relo"; then
111677 OPT_LDFLAGS="-Wl,-z,relro"
111678 ac_ld_relro=yes
111680 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111681 echo "${ECHO_T}$ac_ld_relro" >&6
111684 # Set linker optimization flags.
111685 if test x"$with_gnu_ld" = x"yes"; then
111686 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111694 echo "$as_me:$LINENO: checking for main in -lm" >&5
111695 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111696 if test "${ac_cv_lib_m_main+set}" = set; then
111697 echo $ECHO_N "(cached) $ECHO_C" >&6
111699 ac_check_lib_save_LIBS=$LIBS
111700 LIBS="-lm $LIBS"
111701 if test x$gcc_no_link = xyes; then
111702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111704 { (exit 1); exit 1; }; }
111706 cat >conftest.$ac_ext <<_ACEOF
111707 /* confdefs.h. */
111708 _ACEOF
111709 cat confdefs.h >>conftest.$ac_ext
111710 cat >>conftest.$ac_ext <<_ACEOF
111711 /* end confdefs.h. */
111715 main ()
111717 main ();
111719 return 0;
111721 _ACEOF
111722 rm -f conftest.$ac_objext conftest$ac_exeext
111723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111724 (eval $ac_link) 2>conftest.er1
111725 ac_status=$?
111726 grep -v '^ *+' conftest.er1 >conftest.err
111727 rm -f conftest.er1
111728 cat conftest.err >&5
111729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111730 (exit $ac_status); } &&
111731 { ac_try='test -z "$ac_c_werror_flag"
111732 || test ! -s conftest.err'
111733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111734 (eval $ac_try) 2>&5
111735 ac_status=$?
111736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111737 (exit $ac_status); }; } &&
111738 { ac_try='test -s conftest$ac_exeext'
111739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111740 (eval $ac_try) 2>&5
111741 ac_status=$?
111742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111743 (exit $ac_status); }; }; then
111744 ac_cv_lib_m_main=yes
111746 echo "$as_me: failed program was:" >&5
111747 sed 's/^/| /' conftest.$ac_ext >&5
111749 ac_cv_lib_m_main=no
111751 rm -f conftest.err conftest.$ac_objext \
111752 conftest$ac_exeext conftest.$ac_ext
111753 LIBS=$ac_check_lib_save_LIBS
111755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111756 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111757 if test $ac_cv_lib_m_main = yes; then
111758 cat >>confdefs.h <<_ACEOF
111759 #define HAVE_LIBM 1
111760 _ACEOF
111762 LIBS="-lm $LIBS"
111767 for ac_func in copysignf
111769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111770 echo "$as_me:$LINENO: checking for $ac_func" >&5
111771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111772 if eval "test \"\${$as_ac_var+set}\" = set"; then
111773 echo $ECHO_N "(cached) $ECHO_C" >&6
111775 if test x$gcc_no_link = xyes; then
111776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111778 { (exit 1); exit 1; }; }
111780 cat >conftest.$ac_ext <<_ACEOF
111781 /* confdefs.h. */
111782 _ACEOF
111783 cat confdefs.h >>conftest.$ac_ext
111784 cat >>conftest.$ac_ext <<_ACEOF
111785 /* end confdefs.h. */
111786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111788 #define $ac_func innocuous_$ac_func
111790 /* System header to define __stub macros and hopefully few prototypes,
111791 which can conflict with char $ac_func (); below.
111792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111793 <limits.h> exists even on freestanding compilers. */
111795 #ifdef __STDC__
111796 # include <limits.h>
111797 #else
111798 # include <assert.h>
111799 #endif
111801 #undef $ac_func
111803 /* Override any gcc2 internal prototype to avoid an error. */
111804 #ifdef __cplusplus
111805 extern "C"
111807 #endif
111808 /* We use char because int might match the return type of a gcc2
111809 builtin and then its argument prototype would still apply. */
111810 char $ac_func ();
111811 /* The GNU C library defines this for functions which it implements
111812 to always fail with ENOSYS. Some functions are actually named
111813 something starting with __ and the normal name is an alias. */
111814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111815 choke me
111816 #else
111817 char (*f) () = $ac_func;
111818 #endif
111819 #ifdef __cplusplus
111821 #endif
111824 main ()
111826 return f != $ac_func;
111828 return 0;
111830 _ACEOF
111831 rm -f conftest.$ac_objext conftest$ac_exeext
111832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111833 (eval $ac_link) 2>conftest.er1
111834 ac_status=$?
111835 grep -v '^ *+' conftest.er1 >conftest.err
111836 rm -f conftest.er1
111837 cat conftest.err >&5
111838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111839 (exit $ac_status); } &&
111840 { ac_try='test -z "$ac_c_werror_flag"
111841 || test ! -s conftest.err'
111842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111843 (eval $ac_try) 2>&5
111844 ac_status=$?
111845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111846 (exit $ac_status); }; } &&
111847 { ac_try='test -s conftest$ac_exeext'
111848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111849 (eval $ac_try) 2>&5
111850 ac_status=$?
111851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111852 (exit $ac_status); }; }; then
111853 eval "$as_ac_var=yes"
111855 echo "$as_me: failed program was:" >&5
111856 sed 's/^/| /' conftest.$ac_ext >&5
111858 eval "$as_ac_var=no"
111860 rm -f conftest.err conftest.$ac_objext \
111861 conftest$ac_exeext conftest.$ac_ext
111863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111865 if test `eval echo '${'$as_ac_var'}'` = yes; then
111866 cat >>confdefs.h <<_ACEOF
111867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111868 _ACEOF
111871 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111877 for ac_func in __signbit
111879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111880 echo "$as_me:$LINENO: checking for $ac_func" >&5
111881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111882 if eval "test \"\${$as_ac_var+set}\" = set"; then
111883 echo $ECHO_N "(cached) $ECHO_C" >&6
111885 if test x$gcc_no_link = xyes; then
111886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111888 { (exit 1); exit 1; }; }
111890 cat >conftest.$ac_ext <<_ACEOF
111891 /* confdefs.h. */
111892 _ACEOF
111893 cat confdefs.h >>conftest.$ac_ext
111894 cat >>conftest.$ac_ext <<_ACEOF
111895 /* end confdefs.h. */
111896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111898 #define $ac_func innocuous_$ac_func
111900 /* System header to define __stub macros and hopefully few prototypes,
111901 which can conflict with char $ac_func (); below.
111902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111903 <limits.h> exists even on freestanding compilers. */
111905 #ifdef __STDC__
111906 # include <limits.h>
111907 #else
111908 # include <assert.h>
111909 #endif
111911 #undef $ac_func
111913 /* Override any gcc2 internal prototype to avoid an error. */
111914 #ifdef __cplusplus
111915 extern "C"
111917 #endif
111918 /* We use char because int might match the return type of a gcc2
111919 builtin and then its argument prototype would still apply. */
111920 char $ac_func ();
111921 /* The GNU C library defines this for functions which it implements
111922 to always fail with ENOSYS. Some functions are actually named
111923 something starting with __ and the normal name is an alias. */
111924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111925 choke me
111926 #else
111927 char (*f) () = $ac_func;
111928 #endif
111929 #ifdef __cplusplus
111931 #endif
111934 main ()
111936 return f != $ac_func;
111938 return 0;
111940 _ACEOF
111941 rm -f conftest.$ac_objext conftest$ac_exeext
111942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111943 (eval $ac_link) 2>conftest.er1
111944 ac_status=$?
111945 grep -v '^ *+' conftest.er1 >conftest.err
111946 rm -f conftest.er1
111947 cat conftest.err >&5
111948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111949 (exit $ac_status); } &&
111950 { ac_try='test -z "$ac_c_werror_flag"
111951 || test ! -s conftest.err'
111952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111953 (eval $ac_try) 2>&5
111954 ac_status=$?
111955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111956 (exit $ac_status); }; } &&
111957 { ac_try='test -s conftest$ac_exeext'
111958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111959 (eval $ac_try) 2>&5
111960 ac_status=$?
111961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111962 (exit $ac_status); }; }; then
111963 eval "$as_ac_var=yes"
111965 echo "$as_me: failed program was:" >&5
111966 sed 's/^/| /' conftest.$ac_ext >&5
111968 eval "$as_ac_var=no"
111970 rm -f conftest.err conftest.$ac_objext \
111971 conftest$ac_exeext conftest.$ac_ext
111973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111975 if test `eval echo '${'$as_ac_var'}'` = yes; then
111976 cat >>confdefs.h <<_ACEOF
111977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111978 _ACEOF
111981 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111987 for ac_func in __signbitf
111989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111990 echo "$as_me:$LINENO: checking for $ac_func" >&5
111991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111992 if eval "test \"\${$as_ac_var+set}\" = set"; then
111993 echo $ECHO_N "(cached) $ECHO_C" >&6
111995 if test x$gcc_no_link = xyes; then
111996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111998 { (exit 1); exit 1; }; }
112000 cat >conftest.$ac_ext <<_ACEOF
112001 /* confdefs.h. */
112002 _ACEOF
112003 cat confdefs.h >>conftest.$ac_ext
112004 cat >>conftest.$ac_ext <<_ACEOF
112005 /* end confdefs.h. */
112006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112008 #define $ac_func innocuous_$ac_func
112010 /* System header to define __stub macros and hopefully few prototypes,
112011 which can conflict with char $ac_func (); below.
112012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112013 <limits.h> exists even on freestanding compilers. */
112015 #ifdef __STDC__
112016 # include <limits.h>
112017 #else
112018 # include <assert.h>
112019 #endif
112021 #undef $ac_func
112023 /* Override any gcc2 internal prototype to avoid an error. */
112024 #ifdef __cplusplus
112025 extern "C"
112027 #endif
112028 /* We use char because int might match the return type of a gcc2
112029 builtin and then its argument prototype would still apply. */
112030 char $ac_func ();
112031 /* The GNU C library defines this for functions which it implements
112032 to always fail with ENOSYS. Some functions are actually named
112033 something starting with __ and the normal name is an alias. */
112034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112035 choke me
112036 #else
112037 char (*f) () = $ac_func;
112038 #endif
112039 #ifdef __cplusplus
112041 #endif
112044 main ()
112046 return f != $ac_func;
112048 return 0;
112050 _ACEOF
112051 rm -f conftest.$ac_objext conftest$ac_exeext
112052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112053 (eval $ac_link) 2>conftest.er1
112054 ac_status=$?
112055 grep -v '^ *+' conftest.er1 >conftest.err
112056 rm -f conftest.er1
112057 cat conftest.err >&5
112058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112059 (exit $ac_status); } &&
112060 { ac_try='test -z "$ac_c_werror_flag"
112061 || test ! -s conftest.err'
112062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112063 (eval $ac_try) 2>&5
112064 ac_status=$?
112065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112066 (exit $ac_status); }; } &&
112067 { ac_try='test -s conftest$ac_exeext'
112068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112069 (eval $ac_try) 2>&5
112070 ac_status=$?
112071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112072 (exit $ac_status); }; }; then
112073 eval "$as_ac_var=yes"
112075 echo "$as_me: failed program was:" >&5
112076 sed 's/^/| /' conftest.$ac_ext >&5
112078 eval "$as_ac_var=no"
112080 rm -f conftest.err conftest.$ac_objext \
112081 conftest$ac_exeext conftest.$ac_ext
112083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112085 if test `eval echo '${'$as_ac_var'}'` = yes; then
112086 cat >>confdefs.h <<_ACEOF
112087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112088 _ACEOF
112091 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112096 if test x$ac_cv_func_copysignl = x"yes"; then
112098 for ac_func in __signbitl
112100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112101 echo "$as_me:$LINENO: checking for $ac_func" >&5
112102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112103 if eval "test \"\${$as_ac_var+set}\" = set"; then
112104 echo $ECHO_N "(cached) $ECHO_C" >&6
112106 if test x$gcc_no_link = xyes; then
112107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112109 { (exit 1); exit 1; }; }
112111 cat >conftest.$ac_ext <<_ACEOF
112112 /* confdefs.h. */
112113 _ACEOF
112114 cat confdefs.h >>conftest.$ac_ext
112115 cat >>conftest.$ac_ext <<_ACEOF
112116 /* end confdefs.h. */
112117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112119 #define $ac_func innocuous_$ac_func
112121 /* System header to define __stub macros and hopefully few prototypes,
112122 which can conflict with char $ac_func (); below.
112123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112124 <limits.h> exists even on freestanding compilers. */
112126 #ifdef __STDC__
112127 # include <limits.h>
112128 #else
112129 # include <assert.h>
112130 #endif
112132 #undef $ac_func
112134 /* Override any gcc2 internal prototype to avoid an error. */
112135 #ifdef __cplusplus
112136 extern "C"
112138 #endif
112139 /* We use char because int might match the return type of a gcc2
112140 builtin and then its argument prototype would still apply. */
112141 char $ac_func ();
112142 /* The GNU C library defines this for functions which it implements
112143 to always fail with ENOSYS. Some functions are actually named
112144 something starting with __ and the normal name is an alias. */
112145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112146 choke me
112147 #else
112148 char (*f) () = $ac_func;
112149 #endif
112150 #ifdef __cplusplus
112152 #endif
112155 main ()
112157 return f != $ac_func;
112159 return 0;
112161 _ACEOF
112162 rm -f conftest.$ac_objext conftest$ac_exeext
112163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112164 (eval $ac_link) 2>conftest.er1
112165 ac_status=$?
112166 grep -v '^ *+' conftest.er1 >conftest.err
112167 rm -f conftest.er1
112168 cat conftest.err >&5
112169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112170 (exit $ac_status); } &&
112171 { ac_try='test -z "$ac_c_werror_flag"
112172 || test ! -s conftest.err'
112173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112174 (eval $ac_try) 2>&5
112175 ac_status=$?
112176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112177 (exit $ac_status); }; } &&
112178 { ac_try='test -s conftest$ac_exeext'
112179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112180 (eval $ac_try) 2>&5
112181 ac_status=$?
112182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112183 (exit $ac_status); }; }; then
112184 eval "$as_ac_var=yes"
112186 echo "$as_me: failed program was:" >&5
112187 sed 's/^/| /' conftest.$ac_ext >&5
112189 eval "$as_ac_var=no"
112191 rm -f conftest.err conftest.$ac_objext \
112192 conftest$ac_exeext conftest.$ac_ext
112194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112196 if test `eval echo '${'$as_ac_var'}'` = yes; then
112197 cat >>confdefs.h <<_ACEOF
112198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112199 _ACEOF
112202 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112208 # Used in libmath/Makefile.am.
112209 if test -n "$LIBMATHOBJS"; then
112210 need_libmath=yes
112214 cat >>confdefs.h <<\_ACEOF
112215 #define HAVE_COPYSIGN 1
112216 _ACEOF
112218 cat >>confdefs.h <<\_ACEOF
112219 #define HAVE_COPYSIGNF 1
112220 _ACEOF
112222 cat >>confdefs.h <<\_ACEOF
112223 #define HAVE_FINITEF 1
112224 _ACEOF
112226 cat >>confdefs.h <<\_ACEOF
112227 #define HAVE_FINITE 1
112228 _ACEOF
112230 cat >>confdefs.h <<\_ACEOF
112231 #define HAVE_FREXPF 1
112232 _ACEOF
112234 cat >>confdefs.h <<\_ACEOF
112235 #define HAVE_HYPOTF 1
112236 _ACEOF
112238 cat >>confdefs.h <<\_ACEOF
112239 #define HAVE_ISINF 1
112240 _ACEOF
112242 cat >>confdefs.h <<\_ACEOF
112243 #define HAVE_ISINFF 1
112244 _ACEOF
112246 cat >>confdefs.h <<\_ACEOF
112247 #define HAVE_ISNAN 1
112248 _ACEOF
112250 cat >>confdefs.h <<\_ACEOF
112251 #define HAVE_ISNANF 1
112252 _ACEOF
112254 if test x"long_double_math_on_this_cpu" = x"yes"; then
112255 cat >>confdefs.h <<\_ACEOF
112256 #define HAVE_FINITEL 1
112257 _ACEOF
112259 cat >>confdefs.h <<\_ACEOF
112260 #define HAVE_ISINFL 1
112261 _ACEOF
112263 cat >>confdefs.h <<\_ACEOF
112264 #define HAVE_ISNANL 1
112265 _ACEOF
112269 *-netware)
112278 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
112279 sys/types.h locale.h float.h inttypes.h
112281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112283 echo "$as_me:$LINENO: checking for $ac_header" >&5
112284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112286 echo $ECHO_N "(cached) $ECHO_C" >&6
112288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112291 # Is the header compilable?
112292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112294 cat >conftest.$ac_ext <<_ACEOF
112295 /* confdefs.h. */
112296 _ACEOF
112297 cat confdefs.h >>conftest.$ac_ext
112298 cat >>conftest.$ac_ext <<_ACEOF
112299 /* end confdefs.h. */
112300 $ac_includes_default
112301 #include <$ac_header>
112302 _ACEOF
112303 rm -f conftest.$ac_objext
112304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112305 (eval $ac_compile) 2>conftest.er1
112306 ac_status=$?
112307 grep -v '^ *+' conftest.er1 >conftest.err
112308 rm -f conftest.er1
112309 cat conftest.err >&5
112310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112311 (exit $ac_status); } &&
112312 { ac_try='test -z "$ac_c_werror_flag"
112313 || test ! -s conftest.err'
112314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112315 (eval $ac_try) 2>&5
112316 ac_status=$?
112317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112318 (exit $ac_status); }; } &&
112319 { ac_try='test -s conftest.$ac_objext'
112320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112321 (eval $ac_try) 2>&5
112322 ac_status=$?
112323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112324 (exit $ac_status); }; }; then
112325 ac_header_compiler=yes
112327 echo "$as_me: failed program was:" >&5
112328 sed 's/^/| /' conftest.$ac_ext >&5
112330 ac_header_compiler=no
112332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112334 echo "${ECHO_T}$ac_header_compiler" >&6
112336 # Is the header present?
112337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112339 cat >conftest.$ac_ext <<_ACEOF
112340 /* confdefs.h. */
112341 _ACEOF
112342 cat confdefs.h >>conftest.$ac_ext
112343 cat >>conftest.$ac_ext <<_ACEOF
112344 /* end confdefs.h. */
112345 #include <$ac_header>
112346 _ACEOF
112347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112349 ac_status=$?
112350 grep -v '^ *+' conftest.er1 >conftest.err
112351 rm -f conftest.er1
112352 cat conftest.err >&5
112353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112354 (exit $ac_status); } >/dev/null; then
112355 if test -s conftest.err; then
112356 ac_cpp_err=$ac_c_preproc_warn_flag
112357 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112359 ac_cpp_err=
112362 ac_cpp_err=yes
112364 if test -z "$ac_cpp_err"; then
112365 ac_header_preproc=yes
112367 echo "$as_me: failed program was:" >&5
112368 sed 's/^/| /' conftest.$ac_ext >&5
112370 ac_header_preproc=no
112372 rm -f conftest.err conftest.$ac_ext
112373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112374 echo "${ECHO_T}$ac_header_preproc" >&6
112376 # So? What about this header?
112377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112378 yes:no: )
112379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112383 ac_header_preproc=yes
112385 no:yes:* )
112386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112399 cat <<\_ASBOX
112400 ## ----------------------------------------- ##
112401 ## Report this to the package-unused lists. ##
112402 ## ----------------------------------------- ##
112403 _ASBOX
112405 sed "s/^/$as_me: WARNING: /" >&2
112408 echo "$as_me:$LINENO: checking for $ac_header" >&5
112409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112411 echo $ECHO_N "(cached) $ECHO_C" >&6
112413 eval "$as_ac_Header=\$ac_header_preproc"
112415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112420 cat >>confdefs.h <<_ACEOF
112421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112422 _ACEOF
112428 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112431 # If we're not using GNU ld, then there's no point in even trying these
112432 # tests. Check for that first. We should have already tested for gld
112433 # by now (in libtool), but require it now just to be safe...
112434 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112435 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112439 # The name set by libtool depends on the version of libtool. Shame on us
112440 # for depending on an impl detail, but c'est la vie. Older versions used
112441 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112442 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112443 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112444 # set (hence we're using an older libtool), then set it.
112445 if test x${with_gnu_ld+set} != xset; then
112446 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112447 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112448 with_gnu_ld=no
112450 with_gnu_ld=$ac_cv_prog_gnu_ld
112454 # Start by getting the version number. I think the libtool test already
112455 # does some of this, but throws away the result.
112456 glibcxx_ld_is_gold=no
112457 if test x"$with_gnu_ld" = x"yes"; then
112458 echo "$as_me:$LINENO: checking for ld version" >&5
112459 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112461 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112462 glibcxx_ld_is_gold=yes
112464 ldver=`$LD --version 2>/dev/null | head -1 | \
112465 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112467 glibcxx_gnu_ld_version=`echo $ldver | \
112468 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112469 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112470 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112473 # Set --gc-sections.
112474 glibcxx_have_gc_sections=no
112475 if test "$glibcxx_ld_is_gold" = "yes"; then
112476 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112477 glibcxx_have_gc_sections=yes
112480 glibcxx_gcsections_min_ld=21602
112481 if test x"$with_gnu_ld" = x"yes" &&
112482 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112483 glibcxx_have_gc_sections=yes
112486 if test "$glibcxx_have_gc_sections" = "yes"; then
112487 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112488 # NB: This flag only works reliably after 2.16.1. Configure tests
112489 # for this are difficult, so hard wire a value that should work.
112491 ac_test_CFLAGS="${CFLAGS+set}"
112492 ac_save_CFLAGS="$CFLAGS"
112493 CFLAGS='-Wl,--gc-sections'
112495 # Check for -Wl,--gc-sections
112496 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112497 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112498 if test x$gcc_no_link = xyes; then
112499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112501 { (exit 1); exit 1; }; }
112503 cat >conftest.$ac_ext <<_ACEOF
112504 /* confdefs.h. */
112505 _ACEOF
112506 cat confdefs.h >>conftest.$ac_ext
112507 cat >>conftest.$ac_ext <<_ACEOF
112508 /* end confdefs.h. */
112509 int one(void) { return 1; }
112510 int two(void) { return 2; }
112513 main ()
112515 two();
112517 return 0;
112519 _ACEOF
112520 rm -f conftest.$ac_objext conftest$ac_exeext
112521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112522 (eval $ac_link) 2>conftest.er1
112523 ac_status=$?
112524 grep -v '^ *+' conftest.er1 >conftest.err
112525 rm -f conftest.er1
112526 cat conftest.err >&5
112527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112528 (exit $ac_status); } &&
112529 { ac_try='test -z "$ac_c_werror_flag"
112530 || test ! -s conftest.err'
112531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112532 (eval $ac_try) 2>&5
112533 ac_status=$?
112534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112535 (exit $ac_status); }; } &&
112536 { ac_try='test -s conftest$ac_exeext'
112537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112538 (eval $ac_try) 2>&5
112539 ac_status=$?
112540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112541 (exit $ac_status); }; }; then
112542 ac_gcsections=yes
112544 echo "$as_me: failed program was:" >&5
112545 sed 's/^/| /' conftest.$ac_ext >&5
112547 ac_gcsections=no
112549 rm -f conftest.err conftest.$ac_objext \
112550 conftest$ac_exeext conftest.$ac_ext
112551 if test "$ac_gcsections" = "yes"; then
112552 rm -f conftest.c
112553 touch conftest.c
112554 if $CC -c conftest.c; then
112555 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112556 grep "Warning: gc-sections option ignored" > /dev/null; then
112557 ac_gcsections=no
112560 rm -f conftest.c conftest.o conftest
112562 if test "$ac_gcsections" = "yes"; then
112563 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112565 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112566 echo "${ECHO_T}$ac_gcsections" >&6
112568 if test "$ac_test_CFLAGS" = set; then
112569 CFLAGS="$ac_save_CFLAGS"
112571 # this is the suspicious part
112572 CFLAGS=''
112576 # Set -z,relro.
112577 # Note this is only for shared objects.
112578 ac_ld_relro=no
112579 if test x"$with_gnu_ld" = x"yes"; then
112580 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112581 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112582 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112583 if test -n "$cxx_z_relo"; then
112584 OPT_LDFLAGS="-Wl,-z,relro"
112585 ac_ld_relro=yes
112587 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112588 echo "${ECHO_T}$ac_ld_relro" >&6
112591 # Set linker optimization flags.
112592 if test x"$with_gnu_ld" = x"yes"; then
112593 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112601 echo "$as_me:$LINENO: checking for main in -lm" >&5
112602 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112603 if test "${ac_cv_lib_m_main+set}" = set; then
112604 echo $ECHO_N "(cached) $ECHO_C" >&6
112606 ac_check_lib_save_LIBS=$LIBS
112607 LIBS="-lm $LIBS"
112608 if test x$gcc_no_link = xyes; then
112609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112611 { (exit 1); exit 1; }; }
112613 cat >conftest.$ac_ext <<_ACEOF
112614 /* confdefs.h. */
112615 _ACEOF
112616 cat confdefs.h >>conftest.$ac_ext
112617 cat >>conftest.$ac_ext <<_ACEOF
112618 /* end confdefs.h. */
112622 main ()
112624 main ();
112626 return 0;
112628 _ACEOF
112629 rm -f conftest.$ac_objext conftest$ac_exeext
112630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112631 (eval $ac_link) 2>conftest.er1
112632 ac_status=$?
112633 grep -v '^ *+' conftest.er1 >conftest.err
112634 rm -f conftest.er1
112635 cat conftest.err >&5
112636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112637 (exit $ac_status); } &&
112638 { ac_try='test -z "$ac_c_werror_flag"
112639 || test ! -s conftest.err'
112640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112641 (eval $ac_try) 2>&5
112642 ac_status=$?
112643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112644 (exit $ac_status); }; } &&
112645 { ac_try='test -s conftest$ac_exeext'
112646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112647 (eval $ac_try) 2>&5
112648 ac_status=$?
112649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112650 (exit $ac_status); }; }; then
112651 ac_cv_lib_m_main=yes
112653 echo "$as_me: failed program was:" >&5
112654 sed 's/^/| /' conftest.$ac_ext >&5
112656 ac_cv_lib_m_main=no
112658 rm -f conftest.err conftest.$ac_objext \
112659 conftest$ac_exeext conftest.$ac_ext
112660 LIBS=$ac_check_lib_save_LIBS
112662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112663 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112664 if test $ac_cv_lib_m_main = yes; then
112665 cat >>confdefs.h <<_ACEOF
112666 #define HAVE_LIBM 1
112667 _ACEOF
112669 LIBS="-lm $LIBS"
112674 for ac_func in copysignf
112676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112677 echo "$as_me:$LINENO: checking for $ac_func" >&5
112678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112679 if eval "test \"\${$as_ac_var+set}\" = set"; then
112680 echo $ECHO_N "(cached) $ECHO_C" >&6
112682 if test x$gcc_no_link = xyes; then
112683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112685 { (exit 1); exit 1; }; }
112687 cat >conftest.$ac_ext <<_ACEOF
112688 /* confdefs.h. */
112689 _ACEOF
112690 cat confdefs.h >>conftest.$ac_ext
112691 cat >>conftest.$ac_ext <<_ACEOF
112692 /* end confdefs.h. */
112693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112695 #define $ac_func innocuous_$ac_func
112697 /* System header to define __stub macros and hopefully few prototypes,
112698 which can conflict with char $ac_func (); below.
112699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112700 <limits.h> exists even on freestanding compilers. */
112702 #ifdef __STDC__
112703 # include <limits.h>
112704 #else
112705 # include <assert.h>
112706 #endif
112708 #undef $ac_func
112710 /* Override any gcc2 internal prototype to avoid an error. */
112711 #ifdef __cplusplus
112712 extern "C"
112714 #endif
112715 /* We use char because int might match the return type of a gcc2
112716 builtin and then its argument prototype would still apply. */
112717 char $ac_func ();
112718 /* The GNU C library defines this for functions which it implements
112719 to always fail with ENOSYS. Some functions are actually named
112720 something starting with __ and the normal name is an alias. */
112721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112722 choke me
112723 #else
112724 char (*f) () = $ac_func;
112725 #endif
112726 #ifdef __cplusplus
112728 #endif
112731 main ()
112733 return f != $ac_func;
112735 return 0;
112737 _ACEOF
112738 rm -f conftest.$ac_objext conftest$ac_exeext
112739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112740 (eval $ac_link) 2>conftest.er1
112741 ac_status=$?
112742 grep -v '^ *+' conftest.er1 >conftest.err
112743 rm -f conftest.er1
112744 cat conftest.err >&5
112745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112746 (exit $ac_status); } &&
112747 { ac_try='test -z "$ac_c_werror_flag"
112748 || test ! -s conftest.err'
112749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112750 (eval $ac_try) 2>&5
112751 ac_status=$?
112752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112753 (exit $ac_status); }; } &&
112754 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
112760 eval "$as_ac_var=yes"
112762 echo "$as_me: failed program was:" >&5
112763 sed 's/^/| /' conftest.$ac_ext >&5
112765 eval "$as_ac_var=no"
112767 rm -f conftest.err conftest.$ac_objext \
112768 conftest$ac_exeext conftest.$ac_ext
112770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112772 if test `eval echo '${'$as_ac_var'}'` = yes; then
112773 cat >>confdefs.h <<_ACEOF
112774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112775 _ACEOF
112778 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112784 for ac_func in __signbit
112786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112787 echo "$as_me:$LINENO: checking for $ac_func" >&5
112788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112789 if eval "test \"\${$as_ac_var+set}\" = set"; then
112790 echo $ECHO_N "(cached) $ECHO_C" >&6
112792 if test x$gcc_no_link = xyes; then
112793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112795 { (exit 1); exit 1; }; }
112797 cat >conftest.$ac_ext <<_ACEOF
112798 /* confdefs.h. */
112799 _ACEOF
112800 cat confdefs.h >>conftest.$ac_ext
112801 cat >>conftest.$ac_ext <<_ACEOF
112802 /* end confdefs.h. */
112803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112805 #define $ac_func innocuous_$ac_func
112807 /* System header to define __stub macros and hopefully few prototypes,
112808 which can conflict with char $ac_func (); below.
112809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112810 <limits.h> exists even on freestanding compilers. */
112812 #ifdef __STDC__
112813 # include <limits.h>
112814 #else
112815 # include <assert.h>
112816 #endif
112818 #undef $ac_func
112820 /* Override any gcc2 internal prototype to avoid an error. */
112821 #ifdef __cplusplus
112822 extern "C"
112824 #endif
112825 /* We use char because int might match the return type of a gcc2
112826 builtin and then its argument prototype would still apply. */
112827 char $ac_func ();
112828 /* The GNU C library defines this for functions which it implements
112829 to always fail with ENOSYS. Some functions are actually named
112830 something starting with __ and the normal name is an alias. */
112831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112832 choke me
112833 #else
112834 char (*f) () = $ac_func;
112835 #endif
112836 #ifdef __cplusplus
112838 #endif
112841 main ()
112843 return f != $ac_func;
112845 return 0;
112847 _ACEOF
112848 rm -f conftest.$ac_objext conftest$ac_exeext
112849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112850 (eval $ac_link) 2>conftest.er1
112851 ac_status=$?
112852 grep -v '^ *+' conftest.er1 >conftest.err
112853 rm -f conftest.er1
112854 cat conftest.err >&5
112855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112856 (exit $ac_status); } &&
112857 { ac_try='test -z "$ac_c_werror_flag"
112858 || test ! -s conftest.err'
112859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112860 (eval $ac_try) 2>&5
112861 ac_status=$?
112862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112863 (exit $ac_status); }; } &&
112864 { ac_try='test -s conftest$ac_exeext'
112865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112866 (eval $ac_try) 2>&5
112867 ac_status=$?
112868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112869 (exit $ac_status); }; }; then
112870 eval "$as_ac_var=yes"
112872 echo "$as_me: failed program was:" >&5
112873 sed 's/^/| /' conftest.$ac_ext >&5
112875 eval "$as_ac_var=no"
112877 rm -f conftest.err conftest.$ac_objext \
112878 conftest$ac_exeext conftest.$ac_ext
112880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112882 if test `eval echo '${'$as_ac_var'}'` = yes; then
112883 cat >>confdefs.h <<_ACEOF
112884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112885 _ACEOF
112888 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112894 for ac_func in __signbitf
112896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112897 echo "$as_me:$LINENO: checking for $ac_func" >&5
112898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112899 if eval "test \"\${$as_ac_var+set}\" = set"; then
112900 echo $ECHO_N "(cached) $ECHO_C" >&6
112902 if test x$gcc_no_link = xyes; then
112903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112905 { (exit 1); exit 1; }; }
112907 cat >conftest.$ac_ext <<_ACEOF
112908 /* confdefs.h. */
112909 _ACEOF
112910 cat confdefs.h >>conftest.$ac_ext
112911 cat >>conftest.$ac_ext <<_ACEOF
112912 /* end confdefs.h. */
112913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112915 #define $ac_func innocuous_$ac_func
112917 /* System header to define __stub macros and hopefully few prototypes,
112918 which can conflict with char $ac_func (); below.
112919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112920 <limits.h> exists even on freestanding compilers. */
112922 #ifdef __STDC__
112923 # include <limits.h>
112924 #else
112925 # include <assert.h>
112926 #endif
112928 #undef $ac_func
112930 /* Override any gcc2 internal prototype to avoid an error. */
112931 #ifdef __cplusplus
112932 extern "C"
112934 #endif
112935 /* We use char because int might match the return type of a gcc2
112936 builtin and then its argument prototype would still apply. */
112937 char $ac_func ();
112938 /* The GNU C library defines this for functions which it implements
112939 to always fail with ENOSYS. Some functions are actually named
112940 something starting with __ and the normal name is an alias. */
112941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112942 choke me
112943 #else
112944 char (*f) () = $ac_func;
112945 #endif
112946 #ifdef __cplusplus
112948 #endif
112951 main ()
112953 return f != $ac_func;
112955 return 0;
112957 _ACEOF
112958 rm -f conftest.$ac_objext conftest$ac_exeext
112959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112960 (eval $ac_link) 2>conftest.er1
112961 ac_status=$?
112962 grep -v '^ *+' conftest.er1 >conftest.err
112963 rm -f conftest.er1
112964 cat conftest.err >&5
112965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112966 (exit $ac_status); } &&
112967 { ac_try='test -z "$ac_c_werror_flag"
112968 || test ! -s conftest.err'
112969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112970 (eval $ac_try) 2>&5
112971 ac_status=$?
112972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112973 (exit $ac_status); }; } &&
112974 { ac_try='test -s conftest$ac_exeext'
112975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112976 (eval $ac_try) 2>&5
112977 ac_status=$?
112978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112979 (exit $ac_status); }; }; then
112980 eval "$as_ac_var=yes"
112982 echo "$as_me: failed program was:" >&5
112983 sed 's/^/| /' conftest.$ac_ext >&5
112985 eval "$as_ac_var=no"
112987 rm -f conftest.err conftest.$ac_objext \
112988 conftest$ac_exeext conftest.$ac_ext
112990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112992 if test `eval echo '${'$as_ac_var'}'` = yes; then
112993 cat >>confdefs.h <<_ACEOF
112994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112995 _ACEOF
112998 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113003 if test x$ac_cv_func_copysignl = x"yes"; then
113005 for ac_func in __signbitl
113007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113008 echo "$as_me:$LINENO: checking for $ac_func" >&5
113009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113010 if eval "test \"\${$as_ac_var+set}\" = set"; then
113011 echo $ECHO_N "(cached) $ECHO_C" >&6
113013 if test x$gcc_no_link = xyes; then
113014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113016 { (exit 1); exit 1; }; }
113018 cat >conftest.$ac_ext <<_ACEOF
113019 /* confdefs.h. */
113020 _ACEOF
113021 cat confdefs.h >>conftest.$ac_ext
113022 cat >>conftest.$ac_ext <<_ACEOF
113023 /* end confdefs.h. */
113024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113026 #define $ac_func innocuous_$ac_func
113028 /* System header to define __stub macros and hopefully few prototypes,
113029 which can conflict with char $ac_func (); below.
113030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113031 <limits.h> exists even on freestanding compilers. */
113033 #ifdef __STDC__
113034 # include <limits.h>
113035 #else
113036 # include <assert.h>
113037 #endif
113039 #undef $ac_func
113041 /* Override any gcc2 internal prototype to avoid an error. */
113042 #ifdef __cplusplus
113043 extern "C"
113045 #endif
113046 /* We use char because int might match the return type of a gcc2
113047 builtin and then its argument prototype would still apply. */
113048 char $ac_func ();
113049 /* The GNU C library defines this for functions which it implements
113050 to always fail with ENOSYS. Some functions are actually named
113051 something starting with __ and the normal name is an alias. */
113052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113053 choke me
113054 #else
113055 char (*f) () = $ac_func;
113056 #endif
113057 #ifdef __cplusplus
113059 #endif
113062 main ()
113064 return f != $ac_func;
113066 return 0;
113068 _ACEOF
113069 rm -f conftest.$ac_objext conftest$ac_exeext
113070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113071 (eval $ac_link) 2>conftest.er1
113072 ac_status=$?
113073 grep -v '^ *+' conftest.er1 >conftest.err
113074 rm -f conftest.er1
113075 cat conftest.err >&5
113076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113077 (exit $ac_status); } &&
113078 { ac_try='test -z "$ac_c_werror_flag"
113079 || test ! -s conftest.err'
113080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113081 (eval $ac_try) 2>&5
113082 ac_status=$?
113083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113084 (exit $ac_status); }; } &&
113085 { ac_try='test -s conftest$ac_exeext'
113086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113087 (eval $ac_try) 2>&5
113088 ac_status=$?
113089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113090 (exit $ac_status); }; }; then
113091 eval "$as_ac_var=yes"
113093 echo "$as_me: failed program was:" >&5
113094 sed 's/^/| /' conftest.$ac_ext >&5
113096 eval "$as_ac_var=no"
113098 rm -f conftest.err conftest.$ac_objext \
113099 conftest$ac_exeext conftest.$ac_ext
113101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113103 if test `eval echo '${'$as_ac_var'}'` = yes; then
113104 cat >>confdefs.h <<_ACEOF
113105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113106 _ACEOF
113109 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113115 # Used in libmath/Makefile.am.
113116 if test -n "$LIBMATHOBJS"; then
113117 need_libmath=yes
113121 cat >>confdefs.h <<\_ACEOF
113122 #define HAVE_HYPOT 1
113123 _ACEOF
113125 cat >>confdefs.h <<\_ACEOF
113126 #define HAVE_ISINF 1
113127 _ACEOF
113129 cat >>confdefs.h <<\_ACEOF
113130 #define HAVE_ISNAN 1
113131 _ACEOF
113134 # For showmanyc_helper().
113137 for ac_header in sys/ioctl.h sys/filio.h
113139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113141 echo "$as_me:$LINENO: checking for $ac_header" >&5
113142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113144 echo $ECHO_N "(cached) $ECHO_C" >&6
113146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113149 # Is the header compilable?
113150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113152 cat >conftest.$ac_ext <<_ACEOF
113153 /* confdefs.h. */
113154 _ACEOF
113155 cat confdefs.h >>conftest.$ac_ext
113156 cat >>conftest.$ac_ext <<_ACEOF
113157 /* end confdefs.h. */
113158 $ac_includes_default
113159 #include <$ac_header>
113160 _ACEOF
113161 rm -f conftest.$ac_objext
113162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113163 (eval $ac_compile) 2>conftest.er1
113164 ac_status=$?
113165 grep -v '^ *+' conftest.er1 >conftest.err
113166 rm -f conftest.er1
113167 cat conftest.err >&5
113168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113169 (exit $ac_status); } &&
113170 { ac_try='test -z "$ac_c_werror_flag"
113171 || test ! -s conftest.err'
113172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113173 (eval $ac_try) 2>&5
113174 ac_status=$?
113175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113176 (exit $ac_status); }; } &&
113177 { ac_try='test -s conftest.$ac_objext'
113178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113179 (eval $ac_try) 2>&5
113180 ac_status=$?
113181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113182 (exit $ac_status); }; }; then
113183 ac_header_compiler=yes
113185 echo "$as_me: failed program was:" >&5
113186 sed 's/^/| /' conftest.$ac_ext >&5
113188 ac_header_compiler=no
113190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113192 echo "${ECHO_T}$ac_header_compiler" >&6
113194 # Is the header present?
113195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113197 cat >conftest.$ac_ext <<_ACEOF
113198 /* confdefs.h. */
113199 _ACEOF
113200 cat confdefs.h >>conftest.$ac_ext
113201 cat >>conftest.$ac_ext <<_ACEOF
113202 /* end confdefs.h. */
113203 #include <$ac_header>
113204 _ACEOF
113205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113207 ac_status=$?
113208 grep -v '^ *+' conftest.er1 >conftest.err
113209 rm -f conftest.er1
113210 cat conftest.err >&5
113211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113212 (exit $ac_status); } >/dev/null; then
113213 if test -s conftest.err; then
113214 ac_cpp_err=$ac_c_preproc_warn_flag
113215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113217 ac_cpp_err=
113220 ac_cpp_err=yes
113222 if test -z "$ac_cpp_err"; then
113223 ac_header_preproc=yes
113225 echo "$as_me: failed program was:" >&5
113226 sed 's/^/| /' conftest.$ac_ext >&5
113228 ac_header_preproc=no
113230 rm -f conftest.err conftest.$ac_ext
113231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113232 echo "${ECHO_T}$ac_header_preproc" >&6
113234 # So? What about this header?
113235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113236 yes:no: )
113237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113241 ac_header_preproc=yes
113243 no:yes:* )
113244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113257 cat <<\_ASBOX
113258 ## ----------------------------------------- ##
113259 ## Report this to the package-unused lists. ##
113260 ## ----------------------------------------- ##
113261 _ASBOX
113263 sed "s/^/$as_me: WARNING: /" >&2
113266 echo "$as_me:$LINENO: checking for $ac_header" >&5
113267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113269 echo $ECHO_N "(cached) $ECHO_C" >&6
113271 eval "$as_ac_Header=\$ac_header_preproc"
113273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113278 cat >>confdefs.h <<_ACEOF
113279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113280 _ACEOF
113287 echo "$as_me:$LINENO: checking for poll" >&5
113288 echo $ECHO_N "checking for poll... $ECHO_C" >&6
113289 if test "${glibcxx_cv_POLL+set}" = set; then
113290 echo $ECHO_N "(cached) $ECHO_C" >&6
113293 if test x$gcc_no_link = xyes; then
113294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113296 { (exit 1); exit 1; }; }
113298 cat >conftest.$ac_ext <<_ACEOF
113299 /* confdefs.h. */
113300 _ACEOF
113301 cat confdefs.h >>conftest.$ac_ext
113302 cat >>conftest.$ac_ext <<_ACEOF
113303 /* end confdefs.h. */
113304 #include <poll.h>
113306 main ()
113308 struct pollfd pfd[1];
113309 pfd[0].events = POLLIN;
113310 poll(pfd, 1, 0);
113312 return 0;
113314 _ACEOF
113315 rm -f conftest.$ac_objext conftest$ac_exeext
113316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113317 (eval $ac_link) 2>conftest.er1
113318 ac_status=$?
113319 grep -v '^ *+' conftest.er1 >conftest.err
113320 rm -f conftest.er1
113321 cat conftest.err >&5
113322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113323 (exit $ac_status); } &&
113324 { ac_try='test -z "$ac_c_werror_flag"
113325 || test ! -s conftest.err'
113326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113327 (eval $ac_try) 2>&5
113328 ac_status=$?
113329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113330 (exit $ac_status); }; } &&
113331 { ac_try='test -s conftest$ac_exeext'
113332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113333 (eval $ac_try) 2>&5
113334 ac_status=$?
113335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113336 (exit $ac_status); }; }; then
113337 glibcxx_cv_POLL=yes
113339 echo "$as_me: failed program was:" >&5
113340 sed 's/^/| /' conftest.$ac_ext >&5
113342 glibcxx_cv_POLL=no
113344 rm -f conftest.err conftest.$ac_objext \
113345 conftest$ac_exeext conftest.$ac_ext
113349 if test $glibcxx_cv_POLL = yes; then
113351 cat >>confdefs.h <<\_ACEOF
113352 #define HAVE_POLL 1
113353 _ACEOF
113356 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
113357 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
113360 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
113361 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
113362 if test "${glibcxx_cv_S_ISREG+set}" = set; then
113363 echo $ECHO_N "(cached) $ECHO_C" >&6
113366 if test x$gcc_no_link = xyes; then
113367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113369 { (exit 1); exit 1; }; }
113371 cat >conftest.$ac_ext <<_ACEOF
113372 /* confdefs.h. */
113373 _ACEOF
113374 cat confdefs.h >>conftest.$ac_ext
113375 cat >>conftest.$ac_ext <<_ACEOF
113376 /* end confdefs.h. */
113377 #include <sys/stat.h>
113379 main ()
113381 struct stat buffer;
113382 fstat(0, &buffer);
113383 S_ISREG(buffer.st_mode);
113385 return 0;
113387 _ACEOF
113388 rm -f conftest.$ac_objext conftest$ac_exeext
113389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113390 (eval $ac_link) 2>conftest.er1
113391 ac_status=$?
113392 grep -v '^ *+' conftest.er1 >conftest.err
113393 rm -f conftest.er1
113394 cat conftest.err >&5
113395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113396 (exit $ac_status); } &&
113397 { ac_try='test -z "$ac_c_werror_flag"
113398 || test ! -s conftest.err'
113399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113400 (eval $ac_try) 2>&5
113401 ac_status=$?
113402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113403 (exit $ac_status); }; } &&
113404 { ac_try='test -s conftest$ac_exeext'
113405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113406 (eval $ac_try) 2>&5
113407 ac_status=$?
113408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113409 (exit $ac_status); }; }; then
113410 glibcxx_cv_S_ISREG=yes
113412 echo "$as_me: failed program was:" >&5
113413 sed 's/^/| /' conftest.$ac_ext >&5
113415 glibcxx_cv_S_ISREG=no
113417 rm -f conftest.err conftest.$ac_objext \
113418 conftest$ac_exeext conftest.$ac_ext
113422 if test "${glibcxx_cv_S_IFREG+set}" = set; then
113423 echo $ECHO_N "(cached) $ECHO_C" >&6
113426 if test x$gcc_no_link = xyes; then
113427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113429 { (exit 1); exit 1; }; }
113431 cat >conftest.$ac_ext <<_ACEOF
113432 /* confdefs.h. */
113433 _ACEOF
113434 cat confdefs.h >>conftest.$ac_ext
113435 cat >>conftest.$ac_ext <<_ACEOF
113436 /* end confdefs.h. */
113437 #include <sys/stat.h>
113439 main ()
113441 struct stat buffer;
113442 fstat(0, &buffer);
113443 S_IFREG & buffer.st_mode;
113445 return 0;
113447 _ACEOF
113448 rm -f conftest.$ac_objext conftest$ac_exeext
113449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113450 (eval $ac_link) 2>conftest.er1
113451 ac_status=$?
113452 grep -v '^ *+' conftest.er1 >conftest.err
113453 rm -f conftest.er1
113454 cat conftest.err >&5
113455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113456 (exit $ac_status); } &&
113457 { ac_try='test -z "$ac_c_werror_flag"
113458 || test ! -s conftest.err'
113459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113460 (eval $ac_try) 2>&5
113461 ac_status=$?
113462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113463 (exit $ac_status); }; } &&
113464 { ac_try='test -s conftest$ac_exeext'
113465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113466 (eval $ac_try) 2>&5
113467 ac_status=$?
113468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113469 (exit $ac_status); }; }; then
113470 glibcxx_cv_S_IFREG=yes
113472 echo "$as_me: failed program was:" >&5
113473 sed 's/^/| /' conftest.$ac_ext >&5
113475 glibcxx_cv_S_IFREG=no
113477 rm -f conftest.err conftest.$ac_objext \
113478 conftest$ac_exeext conftest.$ac_ext
113482 res=no
113483 if test $glibcxx_cv_S_ISREG = yes; then
113485 cat >>confdefs.h <<\_ACEOF
113486 #define HAVE_S_ISREG 1
113487 _ACEOF
113489 res=S_ISREG
113490 elif test $glibcxx_cv_S_IFREG = yes; then
113492 cat >>confdefs.h <<\_ACEOF
113493 #define HAVE_S_IFREG 1
113494 _ACEOF
113496 res=S_IFREG
113498 echo "$as_me:$LINENO: result: $res" >&5
113499 echo "${ECHO_T}$res" >&6
113502 # For xsputn_2().
113504 for ac_header in sys/uio.h
113506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113508 echo "$as_me:$LINENO: checking for $ac_header" >&5
113509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113511 echo $ECHO_N "(cached) $ECHO_C" >&6
113513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113516 # Is the header compilable?
113517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113519 cat >conftest.$ac_ext <<_ACEOF
113520 /* confdefs.h. */
113521 _ACEOF
113522 cat confdefs.h >>conftest.$ac_ext
113523 cat >>conftest.$ac_ext <<_ACEOF
113524 /* end confdefs.h. */
113525 $ac_includes_default
113526 #include <$ac_header>
113527 _ACEOF
113528 rm -f conftest.$ac_objext
113529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113530 (eval $ac_compile) 2>conftest.er1
113531 ac_status=$?
113532 grep -v '^ *+' conftest.er1 >conftest.err
113533 rm -f conftest.er1
113534 cat conftest.err >&5
113535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113536 (exit $ac_status); } &&
113537 { ac_try='test -z "$ac_c_werror_flag"
113538 || test ! -s conftest.err'
113539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113540 (eval $ac_try) 2>&5
113541 ac_status=$?
113542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113543 (exit $ac_status); }; } &&
113544 { ac_try='test -s conftest.$ac_objext'
113545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113546 (eval $ac_try) 2>&5
113547 ac_status=$?
113548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113549 (exit $ac_status); }; }; then
113550 ac_header_compiler=yes
113552 echo "$as_me: failed program was:" >&5
113553 sed 's/^/| /' conftest.$ac_ext >&5
113555 ac_header_compiler=no
113557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113559 echo "${ECHO_T}$ac_header_compiler" >&6
113561 # Is the header present?
113562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113564 cat >conftest.$ac_ext <<_ACEOF
113565 /* confdefs.h. */
113566 _ACEOF
113567 cat confdefs.h >>conftest.$ac_ext
113568 cat >>conftest.$ac_ext <<_ACEOF
113569 /* end confdefs.h. */
113570 #include <$ac_header>
113571 _ACEOF
113572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113574 ac_status=$?
113575 grep -v '^ *+' conftest.er1 >conftest.err
113576 rm -f conftest.er1
113577 cat conftest.err >&5
113578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113579 (exit $ac_status); } >/dev/null; then
113580 if test -s conftest.err; then
113581 ac_cpp_err=$ac_c_preproc_warn_flag
113582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113584 ac_cpp_err=
113587 ac_cpp_err=yes
113589 if test -z "$ac_cpp_err"; then
113590 ac_header_preproc=yes
113592 echo "$as_me: failed program was:" >&5
113593 sed 's/^/| /' conftest.$ac_ext >&5
113595 ac_header_preproc=no
113597 rm -f conftest.err conftest.$ac_ext
113598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113599 echo "${ECHO_T}$ac_header_preproc" >&6
113601 # So? What about this header?
113602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113603 yes:no: )
113604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113608 ac_header_preproc=yes
113610 no:yes:* )
113611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113624 cat <<\_ASBOX
113625 ## ----------------------------------------- ##
113626 ## Report this to the package-unused lists. ##
113627 ## ----------------------------------------- ##
113628 _ASBOX
113630 sed "s/^/$as_me: WARNING: /" >&2
113633 echo "$as_me:$LINENO: checking for $ac_header" >&5
113634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113636 echo $ECHO_N "(cached) $ECHO_C" >&6
113638 eval "$as_ac_Header=\$ac_header_preproc"
113640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113645 cat >>confdefs.h <<_ACEOF
113646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113647 _ACEOF
113654 echo "$as_me:$LINENO: checking for writev" >&5
113655 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113656 if test "${glibcxx_cv_WRITEV+set}" = set; then
113657 echo $ECHO_N "(cached) $ECHO_C" >&6
113660 if test x$gcc_no_link = xyes; then
113661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113663 { (exit 1); exit 1; }; }
113665 cat >conftest.$ac_ext <<_ACEOF
113666 /* confdefs.h. */
113667 _ACEOF
113668 cat confdefs.h >>conftest.$ac_ext
113669 cat >>conftest.$ac_ext <<_ACEOF
113670 /* end confdefs.h. */
113671 #include <sys/uio.h>
113673 main ()
113675 struct iovec iov[2];
113676 writev(0, iov, 0);
113678 return 0;
113680 _ACEOF
113681 rm -f conftest.$ac_objext conftest$ac_exeext
113682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113683 (eval $ac_link) 2>conftest.er1
113684 ac_status=$?
113685 grep -v '^ *+' conftest.er1 >conftest.err
113686 rm -f conftest.er1
113687 cat conftest.err >&5
113688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113689 (exit $ac_status); } &&
113690 { ac_try='test -z "$ac_c_werror_flag"
113691 || test ! -s conftest.err'
113692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113693 (eval $ac_try) 2>&5
113694 ac_status=$?
113695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113696 (exit $ac_status); }; } &&
113697 { ac_try='test -s conftest$ac_exeext'
113698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113699 (eval $ac_try) 2>&5
113700 ac_status=$?
113701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113702 (exit $ac_status); }; }; then
113703 glibcxx_cv_WRITEV=yes
113705 echo "$as_me: failed program was:" >&5
113706 sed 's/^/| /' conftest.$ac_ext >&5
113708 glibcxx_cv_WRITEV=no
113710 rm -f conftest.err conftest.$ac_objext \
113711 conftest$ac_exeext conftest.$ac_ext
113715 if test $glibcxx_cv_WRITEV = yes; then
113717 cat >>confdefs.h <<\_ACEOF
113718 #define HAVE_WRITEV 1
113719 _ACEOF
113722 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113723 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113726 *-qnx6.1* | *-qnx6.2*)
113727 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113730 # If we're not using GNU ld, then there's no point in even trying these
113731 # tests. Check for that first. We should have already tested for gld
113732 # by now (in libtool), but require it now just to be safe...
113733 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113734 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113738 # The name set by libtool depends on the version of libtool. Shame on us
113739 # for depending on an impl detail, but c'est la vie. Older versions used
113740 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113741 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113742 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113743 # set (hence we're using an older libtool), then set it.
113744 if test x${with_gnu_ld+set} != xset; then
113745 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113746 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113747 with_gnu_ld=no
113749 with_gnu_ld=$ac_cv_prog_gnu_ld
113753 # Start by getting the version number. I think the libtool test already
113754 # does some of this, but throws away the result.
113755 glibcxx_ld_is_gold=no
113756 if test x"$with_gnu_ld" = x"yes"; then
113757 echo "$as_me:$LINENO: checking for ld version" >&5
113758 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113760 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113761 glibcxx_ld_is_gold=yes
113763 ldver=`$LD --version 2>/dev/null | head -1 | \
113764 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113766 glibcxx_gnu_ld_version=`echo $ldver | \
113767 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113768 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113769 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113772 # Set --gc-sections.
113773 glibcxx_have_gc_sections=no
113774 if test "$glibcxx_ld_is_gold" = "yes"; then
113775 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113776 glibcxx_have_gc_sections=yes
113779 glibcxx_gcsections_min_ld=21602
113780 if test x"$with_gnu_ld" = x"yes" &&
113781 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113782 glibcxx_have_gc_sections=yes
113785 if test "$glibcxx_have_gc_sections" = "yes"; then
113786 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113787 # NB: This flag only works reliably after 2.16.1. Configure tests
113788 # for this are difficult, so hard wire a value that should work.
113790 ac_test_CFLAGS="${CFLAGS+set}"
113791 ac_save_CFLAGS="$CFLAGS"
113792 CFLAGS='-Wl,--gc-sections'
113794 # Check for -Wl,--gc-sections
113795 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113796 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113797 if test x$gcc_no_link = xyes; then
113798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113800 { (exit 1); exit 1; }; }
113802 cat >conftest.$ac_ext <<_ACEOF
113803 /* confdefs.h. */
113804 _ACEOF
113805 cat confdefs.h >>conftest.$ac_ext
113806 cat >>conftest.$ac_ext <<_ACEOF
113807 /* end confdefs.h. */
113808 int one(void) { return 1; }
113809 int two(void) { return 2; }
113812 main ()
113814 two();
113816 return 0;
113818 _ACEOF
113819 rm -f conftest.$ac_objext conftest$ac_exeext
113820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113821 (eval $ac_link) 2>conftest.er1
113822 ac_status=$?
113823 grep -v '^ *+' conftest.er1 >conftest.err
113824 rm -f conftest.er1
113825 cat conftest.err >&5
113826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113827 (exit $ac_status); } &&
113828 { ac_try='test -z "$ac_c_werror_flag"
113829 || test ! -s conftest.err'
113830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113831 (eval $ac_try) 2>&5
113832 ac_status=$?
113833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113834 (exit $ac_status); }; } &&
113835 { ac_try='test -s conftest$ac_exeext'
113836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113837 (eval $ac_try) 2>&5
113838 ac_status=$?
113839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113840 (exit $ac_status); }; }; then
113841 ac_gcsections=yes
113843 echo "$as_me: failed program was:" >&5
113844 sed 's/^/| /' conftest.$ac_ext >&5
113846 ac_gcsections=no
113848 rm -f conftest.err conftest.$ac_objext \
113849 conftest$ac_exeext conftest.$ac_ext
113850 if test "$ac_gcsections" = "yes"; then
113851 rm -f conftest.c
113852 touch conftest.c
113853 if $CC -c conftest.c; then
113854 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113855 grep "Warning: gc-sections option ignored" > /dev/null; then
113856 ac_gcsections=no
113859 rm -f conftest.c conftest.o conftest
113861 if test "$ac_gcsections" = "yes"; then
113862 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113864 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113865 echo "${ECHO_T}$ac_gcsections" >&6
113867 if test "$ac_test_CFLAGS" = set; then
113868 CFLAGS="$ac_save_CFLAGS"
113870 # this is the suspicious part
113871 CFLAGS=''
113875 # Set -z,relro.
113876 # Note this is only for shared objects.
113877 ac_ld_relro=no
113878 if test x"$with_gnu_ld" = x"yes"; then
113879 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113880 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113881 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113882 if test -n "$cxx_z_relo"; then
113883 OPT_LDFLAGS="-Wl,-z,relro"
113884 ac_ld_relro=yes
113886 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113887 echo "${ECHO_T}$ac_ld_relro" >&6
113890 # Set linker optimization flags.
113891 if test x"$with_gnu_ld" = x"yes"; then
113892 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113900 echo "$as_me:$LINENO: checking for main in -lm" >&5
113901 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113902 if test "${ac_cv_lib_m_main+set}" = set; then
113903 echo $ECHO_N "(cached) $ECHO_C" >&6
113905 ac_check_lib_save_LIBS=$LIBS
113906 LIBS="-lm $LIBS"
113907 if test x$gcc_no_link = xyes; then
113908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113910 { (exit 1); exit 1; }; }
113912 cat >conftest.$ac_ext <<_ACEOF
113913 /* confdefs.h. */
113914 _ACEOF
113915 cat confdefs.h >>conftest.$ac_ext
113916 cat >>conftest.$ac_ext <<_ACEOF
113917 /* end confdefs.h. */
113921 main ()
113923 main ();
113925 return 0;
113927 _ACEOF
113928 rm -f conftest.$ac_objext conftest$ac_exeext
113929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113930 (eval $ac_link) 2>conftest.er1
113931 ac_status=$?
113932 grep -v '^ *+' conftest.er1 >conftest.err
113933 rm -f conftest.er1
113934 cat conftest.err >&5
113935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113936 (exit $ac_status); } &&
113937 { ac_try='test -z "$ac_c_werror_flag"
113938 || test ! -s conftest.err'
113939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113940 (eval $ac_try) 2>&5
113941 ac_status=$?
113942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113943 (exit $ac_status); }; } &&
113944 { ac_try='test -s conftest$ac_exeext'
113945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113946 (eval $ac_try) 2>&5
113947 ac_status=$?
113948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113949 (exit $ac_status); }; }; then
113950 ac_cv_lib_m_main=yes
113952 echo "$as_me: failed program was:" >&5
113953 sed 's/^/| /' conftest.$ac_ext >&5
113955 ac_cv_lib_m_main=no
113957 rm -f conftest.err conftest.$ac_objext \
113958 conftest$ac_exeext conftest.$ac_ext
113959 LIBS=$ac_check_lib_save_LIBS
113961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113962 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113963 if test $ac_cv_lib_m_main = yes; then
113964 cat >>confdefs.h <<_ACEOF
113965 #define HAVE_LIBM 1
113966 _ACEOF
113968 LIBS="-lm $LIBS"
113973 for ac_func in copysignf
113975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113976 echo "$as_me:$LINENO: checking for $ac_func" >&5
113977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113978 if eval "test \"\${$as_ac_var+set}\" = set"; then
113979 echo $ECHO_N "(cached) $ECHO_C" >&6
113981 if test x$gcc_no_link = xyes; then
113982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113984 { (exit 1); exit 1; }; }
113986 cat >conftest.$ac_ext <<_ACEOF
113987 /* confdefs.h. */
113988 _ACEOF
113989 cat confdefs.h >>conftest.$ac_ext
113990 cat >>conftest.$ac_ext <<_ACEOF
113991 /* end confdefs.h. */
113992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113994 #define $ac_func innocuous_$ac_func
113996 /* System header to define __stub macros and hopefully few prototypes,
113997 which can conflict with char $ac_func (); below.
113998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113999 <limits.h> exists even on freestanding compilers. */
114001 #ifdef __STDC__
114002 # include <limits.h>
114003 #else
114004 # include <assert.h>
114005 #endif
114007 #undef $ac_func
114009 /* Override any gcc2 internal prototype to avoid an error. */
114010 #ifdef __cplusplus
114011 extern "C"
114013 #endif
114014 /* We use char because int might match the return type of a gcc2
114015 builtin and then its argument prototype would still apply. */
114016 char $ac_func ();
114017 /* The GNU C library defines this for functions which it implements
114018 to always fail with ENOSYS. Some functions are actually named
114019 something starting with __ and the normal name is an alias. */
114020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114021 choke me
114022 #else
114023 char (*f) () = $ac_func;
114024 #endif
114025 #ifdef __cplusplus
114027 #endif
114030 main ()
114032 return f != $ac_func;
114034 return 0;
114036 _ACEOF
114037 rm -f conftest.$ac_objext conftest$ac_exeext
114038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114039 (eval $ac_link) 2>conftest.er1
114040 ac_status=$?
114041 grep -v '^ *+' conftest.er1 >conftest.err
114042 rm -f conftest.er1
114043 cat conftest.err >&5
114044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114045 (exit $ac_status); } &&
114046 { ac_try='test -z "$ac_c_werror_flag"
114047 || test ! -s conftest.err'
114048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114049 (eval $ac_try) 2>&5
114050 ac_status=$?
114051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114052 (exit $ac_status); }; } &&
114053 { ac_try='test -s conftest$ac_exeext'
114054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114055 (eval $ac_try) 2>&5
114056 ac_status=$?
114057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114058 (exit $ac_status); }; }; then
114059 eval "$as_ac_var=yes"
114061 echo "$as_me: failed program was:" >&5
114062 sed 's/^/| /' conftest.$ac_ext >&5
114064 eval "$as_ac_var=no"
114066 rm -f conftest.err conftest.$ac_objext \
114067 conftest$ac_exeext conftest.$ac_ext
114069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114071 if test `eval echo '${'$as_ac_var'}'` = yes; then
114072 cat >>confdefs.h <<_ACEOF
114073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114074 _ACEOF
114077 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114083 for ac_func in __signbit
114085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114086 echo "$as_me:$LINENO: checking for $ac_func" >&5
114087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114088 if eval "test \"\${$as_ac_var+set}\" = set"; then
114089 echo $ECHO_N "(cached) $ECHO_C" >&6
114091 if test x$gcc_no_link = xyes; then
114092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114094 { (exit 1); exit 1; }; }
114096 cat >conftest.$ac_ext <<_ACEOF
114097 /* confdefs.h. */
114098 _ACEOF
114099 cat confdefs.h >>conftest.$ac_ext
114100 cat >>conftest.$ac_ext <<_ACEOF
114101 /* end confdefs.h. */
114102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114104 #define $ac_func innocuous_$ac_func
114106 /* System header to define __stub macros and hopefully few prototypes,
114107 which can conflict with char $ac_func (); below.
114108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114109 <limits.h> exists even on freestanding compilers. */
114111 #ifdef __STDC__
114112 # include <limits.h>
114113 #else
114114 # include <assert.h>
114115 #endif
114117 #undef $ac_func
114119 /* Override any gcc2 internal prototype to avoid an error. */
114120 #ifdef __cplusplus
114121 extern "C"
114123 #endif
114124 /* We use char because int might match the return type of a gcc2
114125 builtin and then its argument prototype would still apply. */
114126 char $ac_func ();
114127 /* The GNU C library defines this for functions which it implements
114128 to always fail with ENOSYS. Some functions are actually named
114129 something starting with __ and the normal name is an alias. */
114130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114131 choke me
114132 #else
114133 char (*f) () = $ac_func;
114134 #endif
114135 #ifdef __cplusplus
114137 #endif
114140 main ()
114142 return f != $ac_func;
114144 return 0;
114146 _ACEOF
114147 rm -f conftest.$ac_objext conftest$ac_exeext
114148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114149 (eval $ac_link) 2>conftest.er1
114150 ac_status=$?
114151 grep -v '^ *+' conftest.er1 >conftest.err
114152 rm -f conftest.er1
114153 cat conftest.err >&5
114154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114155 (exit $ac_status); } &&
114156 { ac_try='test -z "$ac_c_werror_flag"
114157 || test ! -s conftest.err'
114158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114159 (eval $ac_try) 2>&5
114160 ac_status=$?
114161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114162 (exit $ac_status); }; } &&
114163 { ac_try='test -s conftest$ac_exeext'
114164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114165 (eval $ac_try) 2>&5
114166 ac_status=$?
114167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114168 (exit $ac_status); }; }; then
114169 eval "$as_ac_var=yes"
114171 echo "$as_me: failed program was:" >&5
114172 sed 's/^/| /' conftest.$ac_ext >&5
114174 eval "$as_ac_var=no"
114176 rm -f conftest.err conftest.$ac_objext \
114177 conftest$ac_exeext conftest.$ac_ext
114179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114181 if test `eval echo '${'$as_ac_var'}'` = yes; then
114182 cat >>confdefs.h <<_ACEOF
114183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114184 _ACEOF
114187 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114193 for ac_func in __signbitf
114195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114196 echo "$as_me:$LINENO: checking for $ac_func" >&5
114197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114198 if eval "test \"\${$as_ac_var+set}\" = set"; then
114199 echo $ECHO_N "(cached) $ECHO_C" >&6
114201 if test x$gcc_no_link = xyes; then
114202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114204 { (exit 1); exit 1; }; }
114206 cat >conftest.$ac_ext <<_ACEOF
114207 /* confdefs.h. */
114208 _ACEOF
114209 cat confdefs.h >>conftest.$ac_ext
114210 cat >>conftest.$ac_ext <<_ACEOF
114211 /* end confdefs.h. */
114212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114214 #define $ac_func innocuous_$ac_func
114216 /* System header to define __stub macros and hopefully few prototypes,
114217 which can conflict with char $ac_func (); below.
114218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114219 <limits.h> exists even on freestanding compilers. */
114221 #ifdef __STDC__
114222 # include <limits.h>
114223 #else
114224 # include <assert.h>
114225 #endif
114227 #undef $ac_func
114229 /* Override any gcc2 internal prototype to avoid an error. */
114230 #ifdef __cplusplus
114231 extern "C"
114233 #endif
114234 /* We use char because int might match the return type of a gcc2
114235 builtin and then its argument prototype would still apply. */
114236 char $ac_func ();
114237 /* The GNU C library defines this for functions which it implements
114238 to always fail with ENOSYS. Some functions are actually named
114239 something starting with __ and the normal name is an alias. */
114240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114241 choke me
114242 #else
114243 char (*f) () = $ac_func;
114244 #endif
114245 #ifdef __cplusplus
114247 #endif
114250 main ()
114252 return f != $ac_func;
114254 return 0;
114256 _ACEOF
114257 rm -f conftest.$ac_objext conftest$ac_exeext
114258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114259 (eval $ac_link) 2>conftest.er1
114260 ac_status=$?
114261 grep -v '^ *+' conftest.er1 >conftest.err
114262 rm -f conftest.er1
114263 cat conftest.err >&5
114264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114265 (exit $ac_status); } &&
114266 { ac_try='test -z "$ac_c_werror_flag"
114267 || test ! -s conftest.err'
114268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114269 (eval $ac_try) 2>&5
114270 ac_status=$?
114271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114272 (exit $ac_status); }; } &&
114273 { ac_try='test -s conftest$ac_exeext'
114274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114275 (eval $ac_try) 2>&5
114276 ac_status=$?
114277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114278 (exit $ac_status); }; }; then
114279 eval "$as_ac_var=yes"
114281 echo "$as_me: failed program was:" >&5
114282 sed 's/^/| /' conftest.$ac_ext >&5
114284 eval "$as_ac_var=no"
114286 rm -f conftest.err conftest.$ac_objext \
114287 conftest$ac_exeext conftest.$ac_ext
114289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114291 if test `eval echo '${'$as_ac_var'}'` = yes; then
114292 cat >>confdefs.h <<_ACEOF
114293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114294 _ACEOF
114297 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114302 if test x$ac_cv_func_copysignl = x"yes"; then
114304 for ac_func in __signbitl
114306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114307 echo "$as_me:$LINENO: checking for $ac_func" >&5
114308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114309 if eval "test \"\${$as_ac_var+set}\" = set"; then
114310 echo $ECHO_N "(cached) $ECHO_C" >&6
114312 if test x$gcc_no_link = xyes; then
114313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114315 { (exit 1); exit 1; }; }
114317 cat >conftest.$ac_ext <<_ACEOF
114318 /* confdefs.h. */
114319 _ACEOF
114320 cat confdefs.h >>conftest.$ac_ext
114321 cat >>conftest.$ac_ext <<_ACEOF
114322 /* end confdefs.h. */
114323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114325 #define $ac_func innocuous_$ac_func
114327 /* System header to define __stub macros and hopefully few prototypes,
114328 which can conflict with char $ac_func (); below.
114329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114330 <limits.h> exists even on freestanding compilers. */
114332 #ifdef __STDC__
114333 # include <limits.h>
114334 #else
114335 # include <assert.h>
114336 #endif
114338 #undef $ac_func
114340 /* Override any gcc2 internal prototype to avoid an error. */
114341 #ifdef __cplusplus
114342 extern "C"
114344 #endif
114345 /* We use char because int might match the return type of a gcc2
114346 builtin and then its argument prototype would still apply. */
114347 char $ac_func ();
114348 /* The GNU C library defines this for functions which it implements
114349 to always fail with ENOSYS. Some functions are actually named
114350 something starting with __ and the normal name is an alias. */
114351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114352 choke me
114353 #else
114354 char (*f) () = $ac_func;
114355 #endif
114356 #ifdef __cplusplus
114358 #endif
114361 main ()
114363 return f != $ac_func;
114365 return 0;
114367 _ACEOF
114368 rm -f conftest.$ac_objext conftest$ac_exeext
114369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114370 (eval $ac_link) 2>conftest.er1
114371 ac_status=$?
114372 grep -v '^ *+' conftest.er1 >conftest.err
114373 rm -f conftest.er1
114374 cat conftest.err >&5
114375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114376 (exit $ac_status); } &&
114377 { ac_try='test -z "$ac_c_werror_flag"
114378 || test ! -s conftest.err'
114379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114380 (eval $ac_try) 2>&5
114381 ac_status=$?
114382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114383 (exit $ac_status); }; } &&
114384 { ac_try='test -s conftest$ac_exeext'
114385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114386 (eval $ac_try) 2>&5
114387 ac_status=$?
114388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114389 (exit $ac_status); }; }; then
114390 eval "$as_ac_var=yes"
114392 echo "$as_me: failed program was:" >&5
114393 sed 's/^/| /' conftest.$ac_ext >&5
114395 eval "$as_ac_var=no"
114397 rm -f conftest.err conftest.$ac_objext \
114398 conftest$ac_exeext conftest.$ac_ext
114400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114402 if test `eval echo '${'$as_ac_var'}'` = yes; then
114403 cat >>confdefs.h <<_ACEOF
114404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114405 _ACEOF
114408 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114414 # Used in libmath/Makefile.am.
114415 if test -n "$LIBMATHOBJS"; then
114416 need_libmath=yes
114420 cat >>confdefs.h <<\_ACEOF
114421 #define HAVE_COSF 1
114422 _ACEOF
114424 cat >>confdefs.h <<\_ACEOF
114425 #define HAVE_COSL 1
114426 _ACEOF
114428 cat >>confdefs.h <<\_ACEOF
114429 #define HAVE_COSHF 1
114430 _ACEOF
114432 cat >>confdefs.h <<\_ACEOF
114433 #define HAVE_COSHL 1
114434 _ACEOF
114436 cat >>confdefs.h <<\_ACEOF
114437 #define HAVE_LOGF 1
114438 _ACEOF
114440 cat >>confdefs.h <<\_ACEOF
114441 #define HAVE_LOGL 1
114442 _ACEOF
114444 cat >>confdefs.h <<\_ACEOF
114445 #define HAVE_LOG10F 1
114446 _ACEOF
114448 cat >>confdefs.h <<\_ACEOF
114449 #define HAVE_LOG10L 1
114450 _ACEOF
114452 cat >>confdefs.h <<\_ACEOF
114453 #define HAVE_SINF 1
114454 _ACEOF
114456 cat >>confdefs.h <<\_ACEOF
114457 #define HAVE_SINL 1
114458 _ACEOF
114460 cat >>confdefs.h <<\_ACEOF
114461 #define HAVE_SINHF 1
114462 _ACEOF
114464 cat >>confdefs.h <<\_ACEOF
114465 #define HAVE_SINHL 1
114466 _ACEOF
114469 *-solaris*)
114470 case "$target" in
114471 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114473 # If we're not using GNU ld, then there's no point in even trying these
114474 # tests. Check for that first. We should have already tested for gld
114475 # by now (in libtool), but require it now just to be safe...
114476 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114477 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114481 # The name set by libtool depends on the version of libtool. Shame on us
114482 # for depending on an impl detail, but c'est la vie. Older versions used
114483 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114484 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114485 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114486 # set (hence we're using an older libtool), then set it.
114487 if test x${with_gnu_ld+set} != xset; then
114488 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114489 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114490 with_gnu_ld=no
114492 with_gnu_ld=$ac_cv_prog_gnu_ld
114496 # Start by getting the version number. I think the libtool test already
114497 # does some of this, but throws away the result.
114498 glibcxx_ld_is_gold=no
114499 if test x"$with_gnu_ld" = x"yes"; then
114500 echo "$as_me:$LINENO: checking for ld version" >&5
114501 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114503 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114504 glibcxx_ld_is_gold=yes
114506 ldver=`$LD --version 2>/dev/null | head -1 | \
114507 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114509 glibcxx_gnu_ld_version=`echo $ldver | \
114510 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114511 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114512 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114515 # Set --gc-sections.
114516 glibcxx_have_gc_sections=no
114517 if test "$glibcxx_ld_is_gold" = "yes"; then
114518 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114519 glibcxx_have_gc_sections=yes
114522 glibcxx_gcsections_min_ld=21602
114523 if test x"$with_gnu_ld" = x"yes" &&
114524 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114525 glibcxx_have_gc_sections=yes
114528 if test "$glibcxx_have_gc_sections" = "yes"; then
114529 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114530 # NB: This flag only works reliably after 2.16.1. Configure tests
114531 # for this are difficult, so hard wire a value that should work.
114533 ac_test_CFLAGS="${CFLAGS+set}"
114534 ac_save_CFLAGS="$CFLAGS"
114535 CFLAGS='-Wl,--gc-sections'
114537 # Check for -Wl,--gc-sections
114538 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114539 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114540 if test x$gcc_no_link = xyes; then
114541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114543 { (exit 1); exit 1; }; }
114545 cat >conftest.$ac_ext <<_ACEOF
114546 /* confdefs.h. */
114547 _ACEOF
114548 cat confdefs.h >>conftest.$ac_ext
114549 cat >>conftest.$ac_ext <<_ACEOF
114550 /* end confdefs.h. */
114551 int one(void) { return 1; }
114552 int two(void) { return 2; }
114555 main ()
114557 two();
114559 return 0;
114561 _ACEOF
114562 rm -f conftest.$ac_objext conftest$ac_exeext
114563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114564 (eval $ac_link) 2>conftest.er1
114565 ac_status=$?
114566 grep -v '^ *+' conftest.er1 >conftest.err
114567 rm -f conftest.er1
114568 cat conftest.err >&5
114569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114570 (exit $ac_status); } &&
114571 { ac_try='test -z "$ac_c_werror_flag"
114572 || test ! -s conftest.err'
114573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114574 (eval $ac_try) 2>&5
114575 ac_status=$?
114576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114577 (exit $ac_status); }; } &&
114578 { ac_try='test -s conftest$ac_exeext'
114579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114580 (eval $ac_try) 2>&5
114581 ac_status=$?
114582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114583 (exit $ac_status); }; }; then
114584 ac_gcsections=yes
114586 echo "$as_me: failed program was:" >&5
114587 sed 's/^/| /' conftest.$ac_ext >&5
114589 ac_gcsections=no
114591 rm -f conftest.err conftest.$ac_objext \
114592 conftest$ac_exeext conftest.$ac_ext
114593 if test "$ac_gcsections" = "yes"; then
114594 rm -f conftest.c
114595 touch conftest.c
114596 if $CC -c conftest.c; then
114597 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114598 grep "Warning: gc-sections option ignored" > /dev/null; then
114599 ac_gcsections=no
114602 rm -f conftest.c conftest.o conftest
114604 if test "$ac_gcsections" = "yes"; then
114605 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114607 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114608 echo "${ECHO_T}$ac_gcsections" >&6
114610 if test "$ac_test_CFLAGS" = set; then
114611 CFLAGS="$ac_save_CFLAGS"
114613 # this is the suspicious part
114614 CFLAGS=''
114618 # Set -z,relro.
114619 # Note this is only for shared objects.
114620 ac_ld_relro=no
114621 if test x"$with_gnu_ld" = x"yes"; then
114622 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114623 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114624 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114625 if test -n "$cxx_z_relo"; then
114626 OPT_LDFLAGS="-Wl,-z,relro"
114627 ac_ld_relro=yes
114629 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114630 echo "${ECHO_T}$ac_ld_relro" >&6
114633 # Set linker optimization flags.
114634 if test x"$with_gnu_ld" = x"yes"; then
114635 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114641 cat >>confdefs.h <<\_ACEOF
114642 #define HAVE_GETPAGESIZE 1
114643 _ACEOF
114645 cat >>confdefs.h <<\_ACEOF
114646 #define HAVE_SIGSETJMP 1
114647 _ACEOF
114649 cat >>confdefs.h <<\_ACEOF
114650 #define HAVE_MBSTATE_T 1
114651 _ACEOF
114653 cat >>confdefs.h <<\_ACEOF
114654 #define HAVE_POLL 1
114655 _ACEOF
114657 cat >>confdefs.h <<\_ACEOF
114658 #define HAVE_S_ISREG 1
114659 _ACEOF
114661 cat >>confdefs.h <<\_ACEOF
114662 #define HAVE_LC_MESSAGES 1
114663 _ACEOF
114665 cat >>confdefs.h <<\_ACEOF
114666 #define HAVE_FINITE 1
114667 _ACEOF
114669 cat >>confdefs.h <<\_ACEOF
114670 #define HAVE_FPCLASS 1
114671 _ACEOF
114673 cat >>confdefs.h <<\_ACEOF
114674 #define HAVE_GETPAGESIZE 1
114675 _ACEOF
114677 # All of the dependencies for wide character support are here, so
114678 # turn it on.
114679 cat >>confdefs.h <<\_ACEOF
114680 #define _GLIBCXX_USE_WCHAR_T 1
114681 _ACEOF
114683 # Are these tested for even when cross?
114684 cat >>confdefs.h <<\_ACEOF
114685 #define HAVE_FLOAT_H 1
114686 _ACEOF
114688 cat >>confdefs.h <<\_ACEOF
114689 #define HAVE_IEEEFP_H 1
114690 _ACEOF
114692 cat >>confdefs.h <<\_ACEOF
114693 #define HAVE_INTTYPES_H 1
114694 _ACEOF
114696 cat >>confdefs.h <<\_ACEOF
114697 #define HAVE_LOCALE_H 1
114698 _ACEOF
114700 cat >>confdefs.h <<\_ACEOF
114701 #define HAVE_NAN_H 1
114702 _ACEOF
114704 cat >>confdefs.h <<\_ACEOF
114705 #define HAVE_SYS_FILIO_H 1
114706 _ACEOF
114708 cat >>confdefs.h <<\_ACEOF
114709 #define HAVE_SYS_IOCTL_H 1
114710 _ACEOF
114712 cat >>confdefs.h <<\_ACEOF
114713 #define HAVE_SYS_ISA_DEFS_H 1
114714 _ACEOF
114716 cat >>confdefs.h <<\_ACEOF
114717 #define HAVE_SYS_RESOURCE_H 1
114718 _ACEOF
114720 cat >>confdefs.h <<\_ACEOF
114721 #define HAVE_SYS_TIME_H 1
114722 _ACEOF
114724 cat >>confdefs.h <<\_ACEOF
114725 #define HAVE_SYS_TYPES_H 1
114726 _ACEOF
114728 cat >>confdefs.h <<\_ACEOF
114729 #define HAVE_UNISTD_H 1
114730 _ACEOF
114732 cat >>confdefs.h <<\_ACEOF
114733 #define HAVE_WCHAR_H 1
114734 _ACEOF
114736 cat >>confdefs.h <<\_ACEOF
114737 #define HAVE_WCTYPE_H 1
114738 _ACEOF
114740 cat >>confdefs.h <<\_ACEOF
114741 #define HAVE_LIBM 1
114742 _ACEOF
114746 case "$target" in
114747 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114748 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114749 cat >>confdefs.h <<\_ACEOF
114750 #define HAVE___BUILTIN_ABS 1
114751 _ACEOF
114753 cat >>confdefs.h <<\_ACEOF
114754 #define HAVE___BUILTIN_LABS 1
114755 _ACEOF
114757 cat >>confdefs.h <<\_ACEOF
114758 #define HAVE___BUILTIN_FABS 1
114759 _ACEOF
114761 cat >>confdefs.h <<\_ACEOF
114762 #define HAVE___BUILTIN_FABSF 1
114763 _ACEOF
114765 cat >>confdefs.h <<\_ACEOF
114766 #define HAVE___BUILTIN_FABSL 1
114767 _ACEOF
114769 cat >>confdefs.h <<\_ACEOF
114770 #define HAVE___BUILTIN_COS 1
114771 _ACEOF
114773 cat >>confdefs.h <<\_ACEOF
114774 #define HAVE___BUILTIN_COSF 1
114775 _ACEOF
114777 cat >>confdefs.h <<\_ACEOF
114778 #define HAVE___BUILTIN_SIN 1
114779 _ACEOF
114781 cat >>confdefs.h <<\_ACEOF
114782 #define HAVE___BUILTIN_SINF 1
114783 _ACEOF
114787 case "$target" in
114788 *-*-solaris2.10)
114789 # These two C99 functions are present only in Solaris >= 10
114790 cat >>confdefs.h <<\_ACEOF
114791 #define HAVE_STRTOF 1
114792 _ACEOF
114794 cat >>confdefs.h <<\_ACEOF
114795 #define HAVE_STRTOLD 1
114796 _ACEOF
114800 cat >>confdefs.h <<\_ACEOF
114801 #define HAVE_MMAP 1
114802 _ACEOF
114804 cat >>confdefs.h <<\_ACEOF
114805 #define HAVE_COPYSIGN 1
114806 _ACEOF
114808 cat >>confdefs.h <<\_ACEOF
114809 #define HAVE_ISNAN 1
114810 _ACEOF
114812 cat >>confdefs.h <<\_ACEOF
114813 #define HAVE_ISNANF 1
114814 _ACEOF
114816 cat >>confdefs.h <<\_ACEOF
114817 #define HAVE_MODFF 1
114818 _ACEOF
114820 cat >>confdefs.h <<\_ACEOF
114821 #define HAVE_HYPOT 1
114822 _ACEOF
114825 *-tpf)
114834 for ac_header in nan.h endian.h machine/endian.h \
114835 sys/param.h sys/types.h locale.h float.h inttypes.h
114837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114839 echo "$as_me:$LINENO: checking for $ac_header" >&5
114840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114842 echo $ECHO_N "(cached) $ECHO_C" >&6
114844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114847 # Is the header compilable?
114848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114850 cat >conftest.$ac_ext <<_ACEOF
114851 /* confdefs.h. */
114852 _ACEOF
114853 cat confdefs.h >>conftest.$ac_ext
114854 cat >>conftest.$ac_ext <<_ACEOF
114855 /* end confdefs.h. */
114856 $ac_includes_default
114857 #include <$ac_header>
114858 _ACEOF
114859 rm -f conftest.$ac_objext
114860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114861 (eval $ac_compile) 2>conftest.er1
114862 ac_status=$?
114863 grep -v '^ *+' conftest.er1 >conftest.err
114864 rm -f conftest.er1
114865 cat conftest.err >&5
114866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114867 (exit $ac_status); } &&
114868 { ac_try='test -z "$ac_c_werror_flag"
114869 || test ! -s conftest.err'
114870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114871 (eval $ac_try) 2>&5
114872 ac_status=$?
114873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114874 (exit $ac_status); }; } &&
114875 { ac_try='test -s conftest.$ac_objext'
114876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114877 (eval $ac_try) 2>&5
114878 ac_status=$?
114879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114880 (exit $ac_status); }; }; then
114881 ac_header_compiler=yes
114883 echo "$as_me: failed program was:" >&5
114884 sed 's/^/| /' conftest.$ac_ext >&5
114886 ac_header_compiler=no
114888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114890 echo "${ECHO_T}$ac_header_compiler" >&6
114892 # Is the header present?
114893 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114895 cat >conftest.$ac_ext <<_ACEOF
114896 /* confdefs.h. */
114897 _ACEOF
114898 cat confdefs.h >>conftest.$ac_ext
114899 cat >>conftest.$ac_ext <<_ACEOF
114900 /* end confdefs.h. */
114901 #include <$ac_header>
114902 _ACEOF
114903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114905 ac_status=$?
114906 grep -v '^ *+' conftest.er1 >conftest.err
114907 rm -f conftest.er1
114908 cat conftest.err >&5
114909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114910 (exit $ac_status); } >/dev/null; then
114911 if test -s conftest.err; then
114912 ac_cpp_err=$ac_c_preproc_warn_flag
114913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114915 ac_cpp_err=
114918 ac_cpp_err=yes
114920 if test -z "$ac_cpp_err"; then
114921 ac_header_preproc=yes
114923 echo "$as_me: failed program was:" >&5
114924 sed 's/^/| /' conftest.$ac_ext >&5
114926 ac_header_preproc=no
114928 rm -f conftest.err conftest.$ac_ext
114929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114930 echo "${ECHO_T}$ac_header_preproc" >&6
114932 # So? What about this header?
114933 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114934 yes:no: )
114935 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114936 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114938 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114939 ac_header_preproc=yes
114941 no:yes:* )
114942 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114943 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114944 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114945 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114946 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114947 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114948 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114949 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114952 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114953 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114955 cat <<\_ASBOX
114956 ## ----------------------------------------- ##
114957 ## Report this to the package-unused lists. ##
114958 ## ----------------------------------------- ##
114959 _ASBOX
114961 sed "s/^/$as_me: WARNING: /" >&2
114964 echo "$as_me:$LINENO: checking for $ac_header" >&5
114965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114967 echo $ECHO_N "(cached) $ECHO_C" >&6
114969 eval "$as_ac_Header=\$ac_header_preproc"
114971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114976 cat >>confdefs.h <<_ACEOF
114977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114978 _ACEOF
114984 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114987 # If we're not using GNU ld, then there's no point in even trying these
114988 # tests. Check for that first. We should have already tested for gld
114989 # by now (in libtool), but require it now just to be safe...
114990 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114991 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114995 # The name set by libtool depends on the version of libtool. Shame on us
114996 # for depending on an impl detail, but c'est la vie. Older versions used
114997 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114998 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114999 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
115000 # set (hence we're using an older libtool), then set it.
115001 if test x${with_gnu_ld+set} != xset; then
115002 if test x${ac_cv_prog_gnu_ld+set} != xset; then
115003 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
115004 with_gnu_ld=no
115006 with_gnu_ld=$ac_cv_prog_gnu_ld
115010 # Start by getting the version number. I think the libtool test already
115011 # does some of this, but throws away the result.
115012 glibcxx_ld_is_gold=no
115013 if test x"$with_gnu_ld" = x"yes"; then
115014 echo "$as_me:$LINENO: checking for ld version" >&5
115015 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115017 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115018 glibcxx_ld_is_gold=yes
115020 ldver=`$LD --version 2>/dev/null | head -1 | \
115021 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115023 glibcxx_gnu_ld_version=`echo $ldver | \
115024 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115025 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115026 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115029 # Set --gc-sections.
115030 glibcxx_have_gc_sections=no
115031 if test "$glibcxx_ld_is_gold" = "yes"; then
115032 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115033 glibcxx_have_gc_sections=yes
115036 glibcxx_gcsections_min_ld=21602
115037 if test x"$with_gnu_ld" = x"yes" &&
115038 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115039 glibcxx_have_gc_sections=yes
115042 if test "$glibcxx_have_gc_sections" = "yes"; then
115043 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
115044 # NB: This flag only works reliably after 2.16.1. Configure tests
115045 # for this are difficult, so hard wire a value that should work.
115047 ac_test_CFLAGS="${CFLAGS+set}"
115048 ac_save_CFLAGS="$CFLAGS"
115049 CFLAGS='-Wl,--gc-sections'
115051 # Check for -Wl,--gc-sections
115052 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115053 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115054 if test x$gcc_no_link = xyes; then
115055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115057 { (exit 1); exit 1; }; }
115059 cat >conftest.$ac_ext <<_ACEOF
115060 /* confdefs.h. */
115061 _ACEOF
115062 cat confdefs.h >>conftest.$ac_ext
115063 cat >>conftest.$ac_ext <<_ACEOF
115064 /* end confdefs.h. */
115065 int one(void) { return 1; }
115066 int two(void) { return 2; }
115069 main ()
115071 two();
115073 return 0;
115075 _ACEOF
115076 rm -f conftest.$ac_objext conftest$ac_exeext
115077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115078 (eval $ac_link) 2>conftest.er1
115079 ac_status=$?
115080 grep -v '^ *+' conftest.er1 >conftest.err
115081 rm -f conftest.er1
115082 cat conftest.err >&5
115083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115084 (exit $ac_status); } &&
115085 { ac_try='test -z "$ac_c_werror_flag"
115086 || test ! -s conftest.err'
115087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115088 (eval $ac_try) 2>&5
115089 ac_status=$?
115090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115091 (exit $ac_status); }; } &&
115092 { ac_try='test -s conftest$ac_exeext'
115093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115094 (eval $ac_try) 2>&5
115095 ac_status=$?
115096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115097 (exit $ac_status); }; }; then
115098 ac_gcsections=yes
115100 echo "$as_me: failed program was:" >&5
115101 sed 's/^/| /' conftest.$ac_ext >&5
115103 ac_gcsections=no
115105 rm -f conftest.err conftest.$ac_objext \
115106 conftest$ac_exeext conftest.$ac_ext
115107 if test "$ac_gcsections" = "yes"; then
115108 rm -f conftest.c
115109 touch conftest.c
115110 if $CC -c conftest.c; then
115111 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115112 grep "Warning: gc-sections option ignored" > /dev/null; then
115113 ac_gcsections=no
115116 rm -f conftest.c conftest.o conftest
115118 if test "$ac_gcsections" = "yes"; then
115119 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115121 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115122 echo "${ECHO_T}$ac_gcsections" >&6
115124 if test "$ac_test_CFLAGS" = set; then
115125 CFLAGS="$ac_save_CFLAGS"
115127 # this is the suspicious part
115128 CFLAGS=''
115132 # Set -z,relro.
115133 # Note this is only for shared objects.
115134 ac_ld_relro=no
115135 if test x"$with_gnu_ld" = x"yes"; then
115136 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115137 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115138 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115139 if test -n "$cxx_z_relo"; then
115140 OPT_LDFLAGS="-Wl,-z,relro"
115141 ac_ld_relro=yes
115143 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115144 echo "${ECHO_T}$ac_ld_relro" >&6
115147 # Set linker optimization flags.
115148 if test x"$with_gnu_ld" = x"yes"; then
115149 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115157 echo "$as_me:$LINENO: checking for main in -lm" >&5
115158 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
115159 if test "${ac_cv_lib_m_main+set}" = set; then
115160 echo $ECHO_N "(cached) $ECHO_C" >&6
115162 ac_check_lib_save_LIBS=$LIBS
115163 LIBS="-lm $LIBS"
115164 if test x$gcc_no_link = xyes; then
115165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115167 { (exit 1); exit 1; }; }
115169 cat >conftest.$ac_ext <<_ACEOF
115170 /* confdefs.h. */
115171 _ACEOF
115172 cat confdefs.h >>conftest.$ac_ext
115173 cat >>conftest.$ac_ext <<_ACEOF
115174 /* end confdefs.h. */
115178 main ()
115180 main ();
115182 return 0;
115184 _ACEOF
115185 rm -f conftest.$ac_objext conftest$ac_exeext
115186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115187 (eval $ac_link) 2>conftest.er1
115188 ac_status=$?
115189 grep -v '^ *+' conftest.er1 >conftest.err
115190 rm -f conftest.er1
115191 cat conftest.err >&5
115192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115193 (exit $ac_status); } &&
115194 { ac_try='test -z "$ac_c_werror_flag"
115195 || test ! -s conftest.err'
115196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115197 (eval $ac_try) 2>&5
115198 ac_status=$?
115199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115200 (exit $ac_status); }; } &&
115201 { ac_try='test -s conftest$ac_exeext'
115202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115203 (eval $ac_try) 2>&5
115204 ac_status=$?
115205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115206 (exit $ac_status); }; }; then
115207 ac_cv_lib_m_main=yes
115209 echo "$as_me: failed program was:" >&5
115210 sed 's/^/| /' conftest.$ac_ext >&5
115212 ac_cv_lib_m_main=no
115214 rm -f conftest.err conftest.$ac_objext \
115215 conftest$ac_exeext conftest.$ac_ext
115216 LIBS=$ac_check_lib_save_LIBS
115218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
115219 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
115220 if test $ac_cv_lib_m_main = yes; then
115221 cat >>confdefs.h <<_ACEOF
115222 #define HAVE_LIBM 1
115223 _ACEOF
115225 LIBS="-lm $LIBS"
115230 for ac_func in copysignf
115232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115233 echo "$as_me:$LINENO: checking for $ac_func" >&5
115234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115235 if eval "test \"\${$as_ac_var+set}\" = set"; then
115236 echo $ECHO_N "(cached) $ECHO_C" >&6
115238 if test x$gcc_no_link = xyes; then
115239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115241 { (exit 1); exit 1; }; }
115243 cat >conftest.$ac_ext <<_ACEOF
115244 /* confdefs.h. */
115245 _ACEOF
115246 cat confdefs.h >>conftest.$ac_ext
115247 cat >>conftest.$ac_ext <<_ACEOF
115248 /* end confdefs.h. */
115249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115251 #define $ac_func innocuous_$ac_func
115253 /* System header to define __stub macros and hopefully few prototypes,
115254 which can conflict with char $ac_func (); below.
115255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115256 <limits.h> exists even on freestanding compilers. */
115258 #ifdef __STDC__
115259 # include <limits.h>
115260 #else
115261 # include <assert.h>
115262 #endif
115264 #undef $ac_func
115266 /* Override any gcc2 internal prototype to avoid an error. */
115267 #ifdef __cplusplus
115268 extern "C"
115270 #endif
115271 /* We use char because int might match the return type of a gcc2
115272 builtin and then its argument prototype would still apply. */
115273 char $ac_func ();
115274 /* The GNU C library defines this for functions which it implements
115275 to always fail with ENOSYS. Some functions are actually named
115276 something starting with __ and the normal name is an alias. */
115277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115278 choke me
115279 #else
115280 char (*f) () = $ac_func;
115281 #endif
115282 #ifdef __cplusplus
115284 #endif
115287 main ()
115289 return f != $ac_func;
115291 return 0;
115293 _ACEOF
115294 rm -f conftest.$ac_objext conftest$ac_exeext
115295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115296 (eval $ac_link) 2>conftest.er1
115297 ac_status=$?
115298 grep -v '^ *+' conftest.er1 >conftest.err
115299 rm -f conftest.er1
115300 cat conftest.err >&5
115301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115302 (exit $ac_status); } &&
115303 { ac_try='test -z "$ac_c_werror_flag"
115304 || test ! -s conftest.err'
115305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115306 (eval $ac_try) 2>&5
115307 ac_status=$?
115308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115309 (exit $ac_status); }; } &&
115310 { ac_try='test -s conftest$ac_exeext'
115311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115312 (eval $ac_try) 2>&5
115313 ac_status=$?
115314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115315 (exit $ac_status); }; }; then
115316 eval "$as_ac_var=yes"
115318 echo "$as_me: failed program was:" >&5
115319 sed 's/^/| /' conftest.$ac_ext >&5
115321 eval "$as_ac_var=no"
115323 rm -f conftest.err conftest.$ac_objext \
115324 conftest$ac_exeext conftest.$ac_ext
115326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115328 if test `eval echo '${'$as_ac_var'}'` = yes; then
115329 cat >>confdefs.h <<_ACEOF
115330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115331 _ACEOF
115334 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
115340 for ac_func in __signbit
115342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115343 echo "$as_me:$LINENO: checking for $ac_func" >&5
115344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115345 if eval "test \"\${$as_ac_var+set}\" = set"; then
115346 echo $ECHO_N "(cached) $ECHO_C" >&6
115348 if test x$gcc_no_link = xyes; then
115349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115351 { (exit 1); exit 1; }; }
115353 cat >conftest.$ac_ext <<_ACEOF
115354 /* confdefs.h. */
115355 _ACEOF
115356 cat confdefs.h >>conftest.$ac_ext
115357 cat >>conftest.$ac_ext <<_ACEOF
115358 /* end confdefs.h. */
115359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115361 #define $ac_func innocuous_$ac_func
115363 /* System header to define __stub macros and hopefully few prototypes,
115364 which can conflict with char $ac_func (); below.
115365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115366 <limits.h> exists even on freestanding compilers. */
115368 #ifdef __STDC__
115369 # include <limits.h>
115370 #else
115371 # include <assert.h>
115372 #endif
115374 #undef $ac_func
115376 /* Override any gcc2 internal prototype to avoid an error. */
115377 #ifdef __cplusplus
115378 extern "C"
115380 #endif
115381 /* We use char because int might match the return type of a gcc2
115382 builtin and then its argument prototype would still apply. */
115383 char $ac_func ();
115384 /* The GNU C library defines this for functions which it implements
115385 to always fail with ENOSYS. Some functions are actually named
115386 something starting with __ and the normal name is an alias. */
115387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115388 choke me
115389 #else
115390 char (*f) () = $ac_func;
115391 #endif
115392 #ifdef __cplusplus
115394 #endif
115397 main ()
115399 return f != $ac_func;
115401 return 0;
115403 _ACEOF
115404 rm -f conftest.$ac_objext conftest$ac_exeext
115405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115406 (eval $ac_link) 2>conftest.er1
115407 ac_status=$?
115408 grep -v '^ *+' conftest.er1 >conftest.err
115409 rm -f conftest.er1
115410 cat conftest.err >&5
115411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115412 (exit $ac_status); } &&
115413 { ac_try='test -z "$ac_c_werror_flag"
115414 || test ! -s conftest.err'
115415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115416 (eval $ac_try) 2>&5
115417 ac_status=$?
115418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115419 (exit $ac_status); }; } &&
115420 { ac_try='test -s conftest$ac_exeext'
115421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115422 (eval $ac_try) 2>&5
115423 ac_status=$?
115424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115425 (exit $ac_status); }; }; then
115426 eval "$as_ac_var=yes"
115428 echo "$as_me: failed program was:" >&5
115429 sed 's/^/| /' conftest.$ac_ext >&5
115431 eval "$as_ac_var=no"
115433 rm -f conftest.err conftest.$ac_objext \
115434 conftest$ac_exeext conftest.$ac_ext
115436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115438 if test `eval echo '${'$as_ac_var'}'` = yes; then
115439 cat >>confdefs.h <<_ACEOF
115440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115441 _ACEOF
115444 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
115450 for ac_func in __signbitf
115452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115453 echo "$as_me:$LINENO: checking for $ac_func" >&5
115454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115455 if eval "test \"\${$as_ac_var+set}\" = set"; then
115456 echo $ECHO_N "(cached) $ECHO_C" >&6
115458 if test x$gcc_no_link = xyes; then
115459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115461 { (exit 1); exit 1; }; }
115463 cat >conftest.$ac_ext <<_ACEOF
115464 /* confdefs.h. */
115465 _ACEOF
115466 cat confdefs.h >>conftest.$ac_ext
115467 cat >>conftest.$ac_ext <<_ACEOF
115468 /* end confdefs.h. */
115469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115471 #define $ac_func innocuous_$ac_func
115473 /* System header to define __stub macros and hopefully few prototypes,
115474 which can conflict with char $ac_func (); below.
115475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115476 <limits.h> exists even on freestanding compilers. */
115478 #ifdef __STDC__
115479 # include <limits.h>
115480 #else
115481 # include <assert.h>
115482 #endif
115484 #undef $ac_func
115486 /* Override any gcc2 internal prototype to avoid an error. */
115487 #ifdef __cplusplus
115488 extern "C"
115490 #endif
115491 /* We use char because int might match the return type of a gcc2
115492 builtin and then its argument prototype would still apply. */
115493 char $ac_func ();
115494 /* The GNU C library defines this for functions which it implements
115495 to always fail with ENOSYS. Some functions are actually named
115496 something starting with __ and the normal name is an alias. */
115497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115498 choke me
115499 #else
115500 char (*f) () = $ac_func;
115501 #endif
115502 #ifdef __cplusplus
115504 #endif
115507 main ()
115509 return f != $ac_func;
115511 return 0;
115513 _ACEOF
115514 rm -f conftest.$ac_objext conftest$ac_exeext
115515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115516 (eval $ac_link) 2>conftest.er1
115517 ac_status=$?
115518 grep -v '^ *+' conftest.er1 >conftest.err
115519 rm -f conftest.er1
115520 cat conftest.err >&5
115521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115522 (exit $ac_status); } &&
115523 { ac_try='test -z "$ac_c_werror_flag"
115524 || test ! -s conftest.err'
115525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115526 (eval $ac_try) 2>&5
115527 ac_status=$?
115528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115529 (exit $ac_status); }; } &&
115530 { ac_try='test -s conftest$ac_exeext'
115531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115532 (eval $ac_try) 2>&5
115533 ac_status=$?
115534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115535 (exit $ac_status); }; }; then
115536 eval "$as_ac_var=yes"
115538 echo "$as_me: failed program was:" >&5
115539 sed 's/^/| /' conftest.$ac_ext >&5
115541 eval "$as_ac_var=no"
115543 rm -f conftest.err conftest.$ac_objext \
115544 conftest$ac_exeext conftest.$ac_ext
115546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115548 if test `eval echo '${'$as_ac_var'}'` = yes; then
115549 cat >>confdefs.h <<_ACEOF
115550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115551 _ACEOF
115554 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115559 if test x$ac_cv_func_copysignl = x"yes"; then
115561 for ac_func in __signbitl
115563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115564 echo "$as_me:$LINENO: checking for $ac_func" >&5
115565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115566 if eval "test \"\${$as_ac_var+set}\" = set"; then
115567 echo $ECHO_N "(cached) $ECHO_C" >&6
115569 if test x$gcc_no_link = xyes; then
115570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115572 { (exit 1); exit 1; }; }
115574 cat >conftest.$ac_ext <<_ACEOF
115575 /* confdefs.h. */
115576 _ACEOF
115577 cat confdefs.h >>conftest.$ac_ext
115578 cat >>conftest.$ac_ext <<_ACEOF
115579 /* end confdefs.h. */
115580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115582 #define $ac_func innocuous_$ac_func
115584 /* System header to define __stub macros and hopefully few prototypes,
115585 which can conflict with char $ac_func (); below.
115586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115587 <limits.h> exists even on freestanding compilers. */
115589 #ifdef __STDC__
115590 # include <limits.h>
115591 #else
115592 # include <assert.h>
115593 #endif
115595 #undef $ac_func
115597 /* Override any gcc2 internal prototype to avoid an error. */
115598 #ifdef __cplusplus
115599 extern "C"
115601 #endif
115602 /* We use char because int might match the return type of a gcc2
115603 builtin and then its argument prototype would still apply. */
115604 char $ac_func ();
115605 /* The GNU C library defines this for functions which it implements
115606 to always fail with ENOSYS. Some functions are actually named
115607 something starting with __ and the normal name is an alias. */
115608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115609 choke me
115610 #else
115611 char (*f) () = $ac_func;
115612 #endif
115613 #ifdef __cplusplus
115615 #endif
115618 main ()
115620 return f != $ac_func;
115622 return 0;
115624 _ACEOF
115625 rm -f conftest.$ac_objext conftest$ac_exeext
115626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115627 (eval $ac_link) 2>conftest.er1
115628 ac_status=$?
115629 grep -v '^ *+' conftest.er1 >conftest.err
115630 rm -f conftest.er1
115631 cat conftest.err >&5
115632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115633 (exit $ac_status); } &&
115634 { ac_try='test -z "$ac_c_werror_flag"
115635 || test ! -s conftest.err'
115636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115637 (eval $ac_try) 2>&5
115638 ac_status=$?
115639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115640 (exit $ac_status); }; } &&
115641 { ac_try='test -s conftest$ac_exeext'
115642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115643 (eval $ac_try) 2>&5
115644 ac_status=$?
115645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115646 (exit $ac_status); }; }; then
115647 eval "$as_ac_var=yes"
115649 echo "$as_me: failed program was:" >&5
115650 sed 's/^/| /' conftest.$ac_ext >&5
115652 eval "$as_ac_var=no"
115654 rm -f conftest.err conftest.$ac_objext \
115655 conftest$ac_exeext conftest.$ac_ext
115657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115659 if test `eval echo '${'$as_ac_var'}'` = yes; then
115660 cat >>confdefs.h <<_ACEOF
115661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115662 _ACEOF
115665 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115671 # Used in libmath/Makefile.am.
115672 if test -n "$LIBMATHOBJS"; then
115673 need_libmath=yes
115677 cat >>confdefs.h <<\_ACEOF
115678 #define HAVE_COPYSIGN 1
115679 _ACEOF
115681 cat >>confdefs.h <<\_ACEOF
115682 #define HAVE_COPYSIGNF 1
115683 _ACEOF
115685 cat >>confdefs.h <<\_ACEOF
115686 #define HAVE_FINITE 1
115687 _ACEOF
115689 cat >>confdefs.h <<\_ACEOF
115690 #define HAVE_FINITEF 1
115691 _ACEOF
115693 cat >>confdefs.h <<\_ACEOF
115694 #define HAVE_FREXPF 1
115695 _ACEOF
115697 cat >>confdefs.h <<\_ACEOF
115698 #define HAVE_HYPOTF 1
115699 _ACEOF
115701 cat >>confdefs.h <<\_ACEOF
115702 #define HAVE_ISINF 1
115703 _ACEOF
115705 cat >>confdefs.h <<\_ACEOF
115706 #define HAVE_ISINFF 1
115707 _ACEOF
115709 cat >>confdefs.h <<\_ACEOF
115710 #define HAVE_ISNAN 1
115711 _ACEOF
115713 cat >>confdefs.h <<\_ACEOF
115714 #define HAVE_ISNANF 1
115715 _ACEOF
115717 cat >>confdefs.h <<\_ACEOF
115718 #define HAVE_SINCOS 1
115719 _ACEOF
115721 cat >>confdefs.h <<\_ACEOF
115722 #define HAVE_SINCOSF 1
115723 _ACEOF
115725 if test x"long_double_math_on_this_cpu" = x"yes"; then
115726 cat >>confdefs.h <<\_ACEOF
115727 #define HAVE_FINITEL 1
115728 _ACEOF
115730 cat >>confdefs.h <<\_ACEOF
115731 #define HAVE_HYPOTL 1
115732 _ACEOF
115734 cat >>confdefs.h <<\_ACEOF
115735 #define HAVE_ISINFL 1
115736 _ACEOF
115738 cat >>confdefs.h <<\_ACEOF
115739 #define HAVE_ISNANL 1
115740 _ACEOF
115744 *-vxworks)
115745 cat >>confdefs.h <<\_ACEOF
115746 #define HAVE_MMAP 1
115747 _ACEOF
115749 cat >>confdefs.h <<\_ACEOF
115750 #define HAVE_ACOSF 1
115751 _ACEOF
115753 cat >>confdefs.h <<\_ACEOF
115754 #define HAVE_ASINF 1
115755 _ACEOF
115757 cat >>confdefs.h <<\_ACEOF
115758 #define HAVE_ATAN2F 1
115759 _ACEOF
115761 cat >>confdefs.h <<\_ACEOF
115762 #define HAVE_ATANF 1
115763 _ACEOF
115765 cat >>confdefs.h <<\_ACEOF
115766 #define HAVE_CEILF 1
115767 _ACEOF
115769 cat >>confdefs.h <<\_ACEOF
115770 #define HAVE_COSF 1
115771 _ACEOF
115773 cat >>confdefs.h <<\_ACEOF
115774 #define HAVE_COSHF 1
115775 _ACEOF
115777 cat >>confdefs.h <<\_ACEOF
115778 #define HAVE_EXPF 1
115779 _ACEOF
115781 cat >>confdefs.h <<\_ACEOF
115782 #define HAVE_FABSF 1
115783 _ACEOF
115785 cat >>confdefs.h <<\_ACEOF
115786 #define HAVE_FLOORF 1
115787 _ACEOF
115789 cat >>confdefs.h <<\_ACEOF
115790 #define HAVE_FMODF 1
115791 _ACEOF
115793 cat >>confdefs.h <<\_ACEOF
115794 #define HAVE_HYPOT 1
115795 _ACEOF
115797 cat >>confdefs.h <<\_ACEOF
115798 #define HAVE_LOG10F 1
115799 _ACEOF
115801 cat >>confdefs.h <<\_ACEOF
115802 #define HAVE_LOGF 1
115803 _ACEOF
115805 cat >>confdefs.h <<\_ACEOF
115806 #define HAVE_POWF 1
115807 _ACEOF
115809 cat >>confdefs.h <<\_ACEOF
115810 #define HAVE_SINF 1
115811 _ACEOF
115813 cat >>confdefs.h <<\_ACEOF
115814 #define HAVE_SINHF 1
115815 _ACEOF
115817 cat >>confdefs.h <<\_ACEOF
115818 #define HAVE_SQRTF 1
115819 _ACEOF
115821 cat >>confdefs.h <<\_ACEOF
115822 #define HAVE_TANF 1
115823 _ACEOF
115825 cat >>confdefs.h <<\_ACEOF
115826 #define HAVE_TANHF 1
115827 _ACEOF
115831 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115832 echo "$as_me: error: No support for this host/target combination." >&2;}
115833 { (exit 1); exit 1; }; }
115839 # At some point, we should differentiate between architectures
115840 # like x86, which have long double versions, and alpha/powerpc/etc.,
115841 # which don't. For the time being, punt.
115842 if test x"long_double_math_on_this_cpu" = x"yes"; then
115843 cat >>confdefs.h <<\_ACEOF
115844 #define HAVE_ACOSL 1
115845 _ACEOF
115847 cat >>confdefs.h <<\_ACEOF
115848 #define HAVE_ASINL 1
115849 _ACEOF
115851 cat >>confdefs.h <<\_ACEOF
115852 #define HAVE_ATAN2L 1
115853 _ACEOF
115855 cat >>confdefs.h <<\_ACEOF
115856 #define HAVE_ATANL 1
115857 _ACEOF
115859 cat >>confdefs.h <<\_ACEOF
115860 #define HAVE_CEILL 1
115861 _ACEOF
115863 cat >>confdefs.h <<\_ACEOF
115864 #define HAVE_COPYSIGNL 1
115865 _ACEOF
115867 cat >>confdefs.h <<\_ACEOF
115868 #define HAVE_COSL 1
115869 _ACEOF
115871 cat >>confdefs.h <<\_ACEOF
115872 #define HAVE_COSHL 1
115873 _ACEOF
115875 cat >>confdefs.h <<\_ACEOF
115876 #define HAVE_EXPL 1
115877 _ACEOF
115879 cat >>confdefs.h <<\_ACEOF
115880 #define HAVE_FABSL 1
115881 _ACEOF
115883 cat >>confdefs.h <<\_ACEOF
115884 #define HAVE_FLOORL 1
115885 _ACEOF
115887 cat >>confdefs.h <<\_ACEOF
115888 #define HAVE_FMODL 1
115889 _ACEOF
115891 cat >>confdefs.h <<\_ACEOF
115892 #define HAVE_FREXPL 1
115893 _ACEOF
115895 cat >>confdefs.h <<\_ACEOF
115896 #define HAVE_LDEXPL 1
115897 _ACEOF
115899 cat >>confdefs.h <<\_ACEOF
115900 #define HAVE_LOG10L 1
115901 _ACEOF
115903 cat >>confdefs.h <<\_ACEOF
115904 #define HAVE_LOGL 1
115905 _ACEOF
115907 cat >>confdefs.h <<\_ACEOF
115908 #define HAVE_MODFL 1
115909 _ACEOF
115911 cat >>confdefs.h <<\_ACEOF
115912 #define HAVE_POWL 1
115913 _ACEOF
115915 cat >>confdefs.h <<\_ACEOF
115916 #define HAVE_SINCOSL 1
115917 _ACEOF
115919 cat >>confdefs.h <<\_ACEOF
115920 #define HAVE_SINL 1
115921 _ACEOF
115923 cat >>confdefs.h <<\_ACEOF
115924 #define HAVE_SINHL 1
115925 _ACEOF
115927 cat >>confdefs.h <<\_ACEOF
115928 #define HAVE_SQRTL 1
115929 _ACEOF
115931 cat >>confdefs.h <<\_ACEOF
115932 #define HAVE_TANL 1
115933 _ACEOF
115935 cat >>confdefs.h <<\_ACEOF
115936 #define HAVE_TANHL 1
115937 _ACEOF
115941 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115942 cat >>confdefs.h <<\_ACEOF
115943 #define HAVE_GETIPINFO 1
115944 _ACEOF
115948 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115949 if test "${enable_linux_futex+set}" = set; then
115950 enableval="$enable_linux_futex"
115952 case "$enableval" in
115953 yes|no|default) ;;
115954 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115955 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115956 { (exit 1); exit 1; }; } ;;
115960 enable_linux_futex=default
115963 case "$target" in
115964 *-linux*)
115965 case "$enable_linux_futex" in
115966 default)
115967 # If headers don't have gettid/futex syscalls definition, then
115968 # default to no, otherwise there will be compile time failures.
115969 # Otherwise, default to yes. If we don't detect we are
115970 # compiled/linked against NPTL and not cross-compiling, check
115971 # if programs are run by default against NPTL and if not, issue
115972 # a warning.
115973 enable_linux_futex=no
115974 if test x$gcc_no_link = xyes; then
115975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115977 { (exit 1); exit 1; }; }
115979 cat >conftest.$ac_ext <<_ACEOF
115980 /* confdefs.h. */
115981 _ACEOF
115982 cat confdefs.h >>conftest.$ac_ext
115983 cat >>conftest.$ac_ext <<_ACEOF
115984 /* end confdefs.h. */
115985 #include <sys/syscall.h>
115986 int lk;
115988 main ()
115990 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115992 return 0;
115994 _ACEOF
115995 rm -f conftest.$ac_objext conftest$ac_exeext
115996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115997 (eval $ac_link) 2>conftest.er1
115998 ac_status=$?
115999 grep -v '^ *+' conftest.er1 >conftest.err
116000 rm -f conftest.er1
116001 cat conftest.err >&5
116002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116003 (exit $ac_status); } &&
116004 { ac_try='test -z "$ac_c_werror_flag"
116005 || test ! -s conftest.err'
116006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116007 (eval $ac_try) 2>&5
116008 ac_status=$?
116009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116010 (exit $ac_status); }; } &&
116011 { ac_try='test -s conftest$ac_exeext'
116012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116013 (eval $ac_try) 2>&5
116014 ac_status=$?
116015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116016 (exit $ac_status); }; }; then
116017 save_LIBS="$LIBS"
116018 LIBS="-lpthread $LIBS"
116019 if test x$gcc_no_link = xyes; then
116020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116022 { (exit 1); exit 1; }; }
116024 cat >conftest.$ac_ext <<_ACEOF
116025 /* confdefs.h. */
116026 _ACEOF
116027 cat confdefs.h >>conftest.$ac_ext
116028 cat >>conftest.$ac_ext <<_ACEOF
116029 /* end confdefs.h. */
116030 #ifndef _GNU_SOURCE
116031 #define _GNU_SOURCE 1
116032 #endif
116033 #include <pthread.h>
116034 pthread_t th; void *status;
116036 main ()
116038 pthread_tryjoin_np (th, &status);
116040 return 0;
116042 _ACEOF
116043 rm -f conftest.$ac_objext conftest$ac_exeext
116044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116045 (eval $ac_link) 2>conftest.er1
116046 ac_status=$?
116047 grep -v '^ *+' conftest.er1 >conftest.err
116048 rm -f conftest.er1
116049 cat conftest.err >&5
116050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116051 (exit $ac_status); } &&
116052 { ac_try='test -z "$ac_c_werror_flag"
116053 || test ! -s conftest.err'
116054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116055 (eval $ac_try) 2>&5
116056 ac_status=$?
116057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116058 (exit $ac_status); }; } &&
116059 { ac_try='test -s conftest$ac_exeext'
116060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116061 (eval $ac_try) 2>&5
116062 ac_status=$?
116063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116064 (exit $ac_status); }; }; then
116065 enable_linux_futex=yes
116067 echo "$as_me: failed program was:" >&5
116068 sed 's/^/| /' conftest.$ac_ext >&5
116070 if test x$cross_compiling = xno; then
116071 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
116072 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
116073 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
116074 If so, please configure with --disable-linux-futex" >&5
116075 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
116076 If so, please configure with --disable-linux-futex" >&2;}
116079 enable_linux_futex=yes
116081 rm -f conftest.err conftest.$ac_objext \
116082 conftest$ac_exeext conftest.$ac_ext
116083 LIBS="$save_LIBS"
116085 echo "$as_me: failed program was:" >&5
116086 sed 's/^/| /' conftest.$ac_ext >&5
116089 rm -f conftest.err conftest.$ac_objext \
116090 conftest$ac_exeext conftest.$ac_ext
116093 if test x$gcc_no_link = xyes; then
116094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116096 { (exit 1); exit 1; }; }
116098 cat >conftest.$ac_ext <<_ACEOF
116099 /* confdefs.h. */
116100 _ACEOF
116101 cat confdefs.h >>conftest.$ac_ext
116102 cat >>conftest.$ac_ext <<_ACEOF
116103 /* end confdefs.h. */
116104 #include <sys/syscall.h>
116105 int lk;
116107 main ()
116109 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116111 return 0;
116113 _ACEOF
116114 rm -f conftest.$ac_objext conftest$ac_exeext
116115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116116 (eval $ac_link) 2>conftest.er1
116117 ac_status=$?
116118 grep -v '^ *+' conftest.er1 >conftest.err
116119 rm -f conftest.er1
116120 cat conftest.err >&5
116121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116122 (exit $ac_status); } &&
116123 { ac_try='test -z "$ac_c_werror_flag"
116124 || test ! -s conftest.err'
116125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116126 (eval $ac_try) 2>&5
116127 ac_status=$?
116128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116129 (exit $ac_status); }; } &&
116130 { ac_try='test -s conftest$ac_exeext'
116131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116132 (eval $ac_try) 2>&5
116133 ac_status=$?
116134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116135 (exit $ac_status); }; }; then
116138 echo "$as_me: failed program was:" >&5
116139 sed 's/^/| /' conftest.$ac_ext >&5
116141 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
116142 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
116143 { (exit 1); exit 1; }; }
116145 rm -f conftest.err conftest.$ac_objext \
116146 conftest$ac_exeext conftest.$ac_ext
116151 enable_linux_futex=no
116154 if test x$enable_linux_futex = xyes; then
116156 cat >>confdefs.h <<\_ACEOF
116157 #define HAVE_LINUX_FUTEX 1
116158 _ACEOF
116165 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
116167 acx_cv_header_stdint=stddef.h
116168 acx_cv_header_stdint_kind="(already complete)"
116169 for i in stdint.h $inttype_headers; do
116170 unset ac_cv_type_uintptr_t
116171 unset ac_cv_type_uintmax_t
116172 unset ac_cv_type_int_least32_t
116173 unset ac_cv_type_int_fast32_t
116174 unset ac_cv_type_uint64_t
116175 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
116176 echo "$as_me:$LINENO: checking for uintmax_t" >&5
116177 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
116178 if test "${ac_cv_type_uintmax_t+set}" = set; then
116179 echo $ECHO_N "(cached) $ECHO_C" >&6
116181 cat >conftest.$ac_ext <<_ACEOF
116182 /* confdefs.h. */
116183 _ACEOF
116184 cat confdefs.h >>conftest.$ac_ext
116185 cat >>conftest.$ac_ext <<_ACEOF
116186 /* end confdefs.h. */
116187 #include <sys/types.h>
116188 #include <$i>
116191 main ()
116193 if ((uintmax_t *) 0)
116194 return 0;
116195 if (sizeof (uintmax_t))
116196 return 0;
116198 return 0;
116200 _ACEOF
116201 rm -f conftest.$ac_objext
116202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116203 (eval $ac_compile) 2>conftest.er1
116204 ac_status=$?
116205 grep -v '^ *+' conftest.er1 >conftest.err
116206 rm -f conftest.er1
116207 cat conftest.err >&5
116208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116209 (exit $ac_status); } &&
116210 { ac_try='test -z "$ac_c_werror_flag"
116211 || test ! -s conftest.err'
116212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116213 (eval $ac_try) 2>&5
116214 ac_status=$?
116215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116216 (exit $ac_status); }; } &&
116217 { ac_try='test -s conftest.$ac_objext'
116218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116219 (eval $ac_try) 2>&5
116220 ac_status=$?
116221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116222 (exit $ac_status); }; }; then
116223 ac_cv_type_uintmax_t=yes
116225 echo "$as_me: failed program was:" >&5
116226 sed 's/^/| /' conftest.$ac_ext >&5
116228 ac_cv_type_uintmax_t=no
116230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116232 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
116233 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
116234 if test $ac_cv_type_uintmax_t = yes; then
116235 acx_cv_header_stdint=$i
116237 continue
116240 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116241 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116242 if test "${ac_cv_type_uintptr_t+set}" = set; then
116243 echo $ECHO_N "(cached) $ECHO_C" >&6
116245 cat >conftest.$ac_ext <<_ACEOF
116246 /* confdefs.h. */
116247 _ACEOF
116248 cat confdefs.h >>conftest.$ac_ext
116249 cat >>conftest.$ac_ext <<_ACEOF
116250 /* end confdefs.h. */
116251 #include <sys/types.h>
116252 #include <$i>
116255 main ()
116257 if ((uintptr_t *) 0)
116258 return 0;
116259 if (sizeof (uintptr_t))
116260 return 0;
116262 return 0;
116264 _ACEOF
116265 rm -f conftest.$ac_objext
116266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116267 (eval $ac_compile) 2>conftest.er1
116268 ac_status=$?
116269 grep -v '^ *+' conftest.er1 >conftest.err
116270 rm -f conftest.er1
116271 cat conftest.err >&5
116272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116273 (exit $ac_status); } &&
116274 { ac_try='test -z "$ac_c_werror_flag"
116275 || test ! -s conftest.err'
116276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116277 (eval $ac_try) 2>&5
116278 ac_status=$?
116279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116280 (exit $ac_status); }; } &&
116281 { ac_try='test -s conftest.$ac_objext'
116282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116283 (eval $ac_try) 2>&5
116284 ac_status=$?
116285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116286 (exit $ac_status); }; }; then
116287 ac_cv_type_uintptr_t=yes
116289 echo "$as_me: failed program was:" >&5
116290 sed 's/^/| /' conftest.$ac_ext >&5
116292 ac_cv_type_uintptr_t=no
116294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116296 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116297 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116298 if test $ac_cv_type_uintptr_t = yes; then
116301 acx_cv_header_stdint_kind="(mostly complete)"
116304 echo "$as_me:$LINENO: checking for int_least32_t" >&5
116305 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116306 if test "${ac_cv_type_int_least32_t+set}" = set; then
116307 echo $ECHO_N "(cached) $ECHO_C" >&6
116309 cat >conftest.$ac_ext <<_ACEOF
116310 /* confdefs.h. */
116311 _ACEOF
116312 cat confdefs.h >>conftest.$ac_ext
116313 cat >>conftest.$ac_ext <<_ACEOF
116314 /* end confdefs.h. */
116315 #include <sys/types.h>
116316 #include <$i>
116319 main ()
116321 if ((int_least32_t *) 0)
116322 return 0;
116323 if (sizeof (int_least32_t))
116324 return 0;
116326 return 0;
116328 _ACEOF
116329 rm -f conftest.$ac_objext
116330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116331 (eval $ac_compile) 2>conftest.er1
116332 ac_status=$?
116333 grep -v '^ *+' conftest.er1 >conftest.err
116334 rm -f conftest.er1
116335 cat conftest.err >&5
116336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116337 (exit $ac_status); } &&
116338 { ac_try='test -z "$ac_c_werror_flag"
116339 || test ! -s conftest.err'
116340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116341 (eval $ac_try) 2>&5
116342 ac_status=$?
116343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116344 (exit $ac_status); }; } &&
116345 { ac_try='test -s conftest.$ac_objext'
116346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116347 (eval $ac_try) 2>&5
116348 ac_status=$?
116349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116350 (exit $ac_status); }; }; then
116351 ac_cv_type_int_least32_t=yes
116353 echo "$as_me: failed program was:" >&5
116354 sed 's/^/| /' conftest.$ac_ext >&5
116356 ac_cv_type_int_least32_t=no
116358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116360 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116361 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116362 if test $ac_cv_type_int_least32_t = yes; then
116365 acx_cv_header_stdint_kind="(mostly complete)"
116368 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116369 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116370 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116371 echo $ECHO_N "(cached) $ECHO_C" >&6
116373 cat >conftest.$ac_ext <<_ACEOF
116374 /* confdefs.h. */
116375 _ACEOF
116376 cat confdefs.h >>conftest.$ac_ext
116377 cat >>conftest.$ac_ext <<_ACEOF
116378 /* end confdefs.h. */
116379 #include <sys/types.h>
116380 #include <$i>
116383 main ()
116385 if ((int_fast32_t *) 0)
116386 return 0;
116387 if (sizeof (int_fast32_t))
116388 return 0;
116390 return 0;
116392 _ACEOF
116393 rm -f conftest.$ac_objext
116394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116395 (eval $ac_compile) 2>conftest.er1
116396 ac_status=$?
116397 grep -v '^ *+' conftest.er1 >conftest.err
116398 rm -f conftest.er1
116399 cat conftest.err >&5
116400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116401 (exit $ac_status); } &&
116402 { ac_try='test -z "$ac_c_werror_flag"
116403 || test ! -s conftest.err'
116404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116405 (eval $ac_try) 2>&5
116406 ac_status=$?
116407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116408 (exit $ac_status); }; } &&
116409 { ac_try='test -s conftest.$ac_objext'
116410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116411 (eval $ac_try) 2>&5
116412 ac_status=$?
116413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116414 (exit $ac_status); }; }; then
116415 ac_cv_type_int_fast32_t=yes
116417 echo "$as_me: failed program was:" >&5
116418 sed 's/^/| /' conftest.$ac_ext >&5
116420 ac_cv_type_int_fast32_t=no
116422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116424 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
116425 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
116426 if test $ac_cv_type_int_fast32_t = yes; then
116429 acx_cv_header_stdint_kind="(mostly complete)"
116432 echo "$as_me:$LINENO: checking for uint64_t" >&5
116433 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116434 if test "${ac_cv_type_uint64_t+set}" = set; then
116435 echo $ECHO_N "(cached) $ECHO_C" >&6
116437 cat >conftest.$ac_ext <<_ACEOF
116438 /* confdefs.h. */
116439 _ACEOF
116440 cat confdefs.h >>conftest.$ac_ext
116441 cat >>conftest.$ac_ext <<_ACEOF
116442 /* end confdefs.h. */
116443 #include <sys/types.h>
116444 #include <$i>
116447 main ()
116449 if ((uint64_t *) 0)
116450 return 0;
116451 if (sizeof (uint64_t))
116452 return 0;
116454 return 0;
116456 _ACEOF
116457 rm -f conftest.$ac_objext
116458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116459 (eval $ac_compile) 2>conftest.er1
116460 ac_status=$?
116461 grep -v '^ *+' conftest.er1 >conftest.err
116462 rm -f conftest.er1
116463 cat conftest.err >&5
116464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116465 (exit $ac_status); } &&
116466 { ac_try='test -z "$ac_c_werror_flag"
116467 || test ! -s conftest.err'
116468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116469 (eval $ac_try) 2>&5
116470 ac_status=$?
116471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116472 (exit $ac_status); }; } &&
116473 { ac_try='test -s conftest.$ac_objext'
116474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116475 (eval $ac_try) 2>&5
116476 ac_status=$?
116477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116478 (exit $ac_status); }; }; then
116479 ac_cv_type_uint64_t=yes
116481 echo "$as_me: failed program was:" >&5
116482 sed 's/^/| /' conftest.$ac_ext >&5
116484 ac_cv_type_uint64_t=no
116486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116488 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116489 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116490 if test $ac_cv_type_uint64_t = yes; then
116493 acx_cv_header_stdint_kind="(lacks uint64_t)"
116496 break
116498 if test "$acx_cv_header_stdint" = stddef.h; then
116499 acx_cv_header_stdint_kind="(lacks uintmax_t)"
116500 for i in stdint.h $inttype_headers; do
116501 unset ac_cv_type_uintptr_t
116502 unset ac_cv_type_uint32_t
116503 unset ac_cv_type_uint64_t
116504 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
116505 echo "$as_me:$LINENO: checking for uint32_t" >&5
116506 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
116507 if test "${ac_cv_type_uint32_t+set}" = set; then
116508 echo $ECHO_N "(cached) $ECHO_C" >&6
116510 cat >conftest.$ac_ext <<_ACEOF
116511 /* confdefs.h. */
116512 _ACEOF
116513 cat confdefs.h >>conftest.$ac_ext
116514 cat >>conftest.$ac_ext <<_ACEOF
116515 /* end confdefs.h. */
116516 #include <sys/types.h>
116517 #include <$i>
116520 main ()
116522 if ((uint32_t *) 0)
116523 return 0;
116524 if (sizeof (uint32_t))
116525 return 0;
116527 return 0;
116529 _ACEOF
116530 rm -f conftest.$ac_objext
116531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116532 (eval $ac_compile) 2>conftest.er1
116533 ac_status=$?
116534 grep -v '^ *+' conftest.er1 >conftest.err
116535 rm -f conftest.er1
116536 cat conftest.err >&5
116537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116538 (exit $ac_status); } &&
116539 { ac_try='test -z "$ac_c_werror_flag"
116540 || test ! -s conftest.err'
116541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116542 (eval $ac_try) 2>&5
116543 ac_status=$?
116544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116545 (exit $ac_status); }; } &&
116546 { ac_try='test -s conftest.$ac_objext'
116547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116548 (eval $ac_try) 2>&5
116549 ac_status=$?
116550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116551 (exit $ac_status); }; }; then
116552 ac_cv_type_uint32_t=yes
116554 echo "$as_me: failed program was:" >&5
116555 sed 's/^/| /' conftest.$ac_ext >&5
116557 ac_cv_type_uint32_t=no
116559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116561 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
116562 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
116563 if test $ac_cv_type_uint32_t = yes; then
116564 acx_cv_header_stdint=$i
116566 continue
116569 echo "$as_me:$LINENO: checking for uint64_t" >&5
116570 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116571 if test "${ac_cv_type_uint64_t+set}" = set; then
116572 echo $ECHO_N "(cached) $ECHO_C" >&6
116574 cat >conftest.$ac_ext <<_ACEOF
116575 /* confdefs.h. */
116576 _ACEOF
116577 cat confdefs.h >>conftest.$ac_ext
116578 cat >>conftest.$ac_ext <<_ACEOF
116579 /* end confdefs.h. */
116580 #include <sys/types.h>
116581 #include <$i>
116584 main ()
116586 if ((uint64_t *) 0)
116587 return 0;
116588 if (sizeof (uint64_t))
116589 return 0;
116591 return 0;
116593 _ACEOF
116594 rm -f conftest.$ac_objext
116595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116596 (eval $ac_compile) 2>conftest.er1
116597 ac_status=$?
116598 grep -v '^ *+' conftest.er1 >conftest.err
116599 rm -f conftest.er1
116600 cat conftest.err >&5
116601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116602 (exit $ac_status); } &&
116603 { ac_try='test -z "$ac_c_werror_flag"
116604 || test ! -s conftest.err'
116605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116606 (eval $ac_try) 2>&5
116607 ac_status=$?
116608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116609 (exit $ac_status); }; } &&
116610 { ac_try='test -s conftest.$ac_objext'
116611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116612 (eval $ac_try) 2>&5
116613 ac_status=$?
116614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116615 (exit $ac_status); }; }; then
116616 ac_cv_type_uint64_t=yes
116618 echo "$as_me: failed program was:" >&5
116619 sed 's/^/| /' conftest.$ac_ext >&5
116621 ac_cv_type_uint64_t=no
116623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116625 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116626 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116628 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116629 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116630 if test "${ac_cv_type_uintptr_t+set}" = set; then
116631 echo $ECHO_N "(cached) $ECHO_C" >&6
116633 cat >conftest.$ac_ext <<_ACEOF
116634 /* confdefs.h. */
116635 _ACEOF
116636 cat confdefs.h >>conftest.$ac_ext
116637 cat >>conftest.$ac_ext <<_ACEOF
116638 /* end confdefs.h. */
116639 #include <sys/types.h>
116640 #include <$i>
116643 main ()
116645 if ((uintptr_t *) 0)
116646 return 0;
116647 if (sizeof (uintptr_t))
116648 return 0;
116650 return 0;
116652 _ACEOF
116653 rm -f conftest.$ac_objext
116654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116655 (eval $ac_compile) 2>conftest.er1
116656 ac_status=$?
116657 grep -v '^ *+' conftest.er1 >conftest.err
116658 rm -f conftest.er1
116659 cat conftest.err >&5
116660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116661 (exit $ac_status); } &&
116662 { ac_try='test -z "$ac_c_werror_flag"
116663 || test ! -s conftest.err'
116664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116665 (eval $ac_try) 2>&5
116666 ac_status=$?
116667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116668 (exit $ac_status); }; } &&
116669 { ac_try='test -s conftest.$ac_objext'
116670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116671 (eval $ac_try) 2>&5
116672 ac_status=$?
116673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116674 (exit $ac_status); }; }; then
116675 ac_cv_type_uintptr_t=yes
116677 echo "$as_me: failed program was:" >&5
116678 sed 's/^/| /' conftest.$ac_ext >&5
116680 ac_cv_type_uintptr_t=no
116682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116684 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116685 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116687 break
116690 if test "$acx_cv_header_stdint" = stddef.h; then
116691 acx_cv_header_stdint_kind="(u_intXX_t style)"
116692 for i in sys/types.h $inttype_headers; do
116693 unset ac_cv_type_u_int32_t
116694 unset ac_cv_type_u_int64_t
116695 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
116696 echo "$as_me:$LINENO: checking for u_int32_t" >&5
116697 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
116698 if test "${ac_cv_type_u_int32_t+set}" = set; then
116699 echo $ECHO_N "(cached) $ECHO_C" >&6
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 #include <sys/types.h>
116708 #include <$i>
116711 main ()
116713 if ((u_int32_t *) 0)
116714 return 0;
116715 if (sizeof (u_int32_t))
116716 return 0;
116718 return 0;
116720 _ACEOF
116721 rm -f conftest.$ac_objext
116722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116723 (eval $ac_compile) 2>conftest.er1
116724 ac_status=$?
116725 grep -v '^ *+' conftest.er1 >conftest.err
116726 rm -f conftest.er1
116727 cat conftest.err >&5
116728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116729 (exit $ac_status); } &&
116730 { ac_try='test -z "$ac_c_werror_flag"
116731 || test ! -s conftest.err'
116732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116733 (eval $ac_try) 2>&5
116734 ac_status=$?
116735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116736 (exit $ac_status); }; } &&
116737 { ac_try='test -s conftest.$ac_objext'
116738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116739 (eval $ac_try) 2>&5
116740 ac_status=$?
116741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116742 (exit $ac_status); }; }; then
116743 ac_cv_type_u_int32_t=yes
116745 echo "$as_me: failed program was:" >&5
116746 sed 's/^/| /' conftest.$ac_ext >&5
116748 ac_cv_type_u_int32_t=no
116750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116752 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116753 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116754 if test $ac_cv_type_u_int32_t = yes; then
116755 acx_cv_header_stdint=$i
116757 continue
116760 echo "$as_me:$LINENO: checking for u_int64_t" >&5
116761 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116762 if test "${ac_cv_type_u_int64_t+set}" = set; then
116763 echo $ECHO_N "(cached) $ECHO_C" >&6
116765 cat >conftest.$ac_ext <<_ACEOF
116766 /* confdefs.h. */
116767 _ACEOF
116768 cat confdefs.h >>conftest.$ac_ext
116769 cat >>conftest.$ac_ext <<_ACEOF
116770 /* end confdefs.h. */
116771 #include <sys/types.h>
116772 #include <$i>
116775 main ()
116777 if ((u_int64_t *) 0)
116778 return 0;
116779 if (sizeof (u_int64_t))
116780 return 0;
116782 return 0;
116784 _ACEOF
116785 rm -f conftest.$ac_objext
116786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116787 (eval $ac_compile) 2>conftest.er1
116788 ac_status=$?
116789 grep -v '^ *+' conftest.er1 >conftest.err
116790 rm -f conftest.er1
116791 cat conftest.err >&5
116792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116793 (exit $ac_status); } &&
116794 { ac_try='test -z "$ac_c_werror_flag"
116795 || test ! -s conftest.err'
116796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116797 (eval $ac_try) 2>&5
116798 ac_status=$?
116799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116800 (exit $ac_status); }; } &&
116801 { ac_try='test -s conftest.$ac_objext'
116802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116803 (eval $ac_try) 2>&5
116804 ac_status=$?
116805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116806 (exit $ac_status); }; }; then
116807 ac_cv_type_u_int64_t=yes
116809 echo "$as_me: failed program was:" >&5
116810 sed 's/^/| /' conftest.$ac_ext >&5
116812 ac_cv_type_u_int64_t=no
116814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116816 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
116817 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
116819 break
116822 if test "$acx_cv_header_stdint" = stddef.h; then
116823 acx_cv_header_stdint_kind="(using manual detection)"
116826 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
116827 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
116828 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
116829 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
116830 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
116832 # ----------------- Summarize what we found so far
116834 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
116835 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
116837 case `$as_basename include/gstdint.h ||
116838 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
116839 Xinclude/gstdint.h : 'X\(//\)$' \| \
116840 Xinclude/gstdint.h : 'X\(/\)$' \| \
116841 . : '\(.\)' 2>/dev/null ||
116842 echo X/include/gstdint.h |
116843 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116844 /^X\/\(\/\/\)$/{ s//\1/; q; }
116845 /^X\/\(\/\).*/{ s//\1/; q; }
116846 s/.*/./; q'` in
116847 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116848 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116849 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116850 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116851 *) ;;
116854 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
116855 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
116857 # ----------------- done included file, check C basic types --------
116859 # Lacking an uintptr_t? Test size of void *
116860 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
116861 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
116862 echo $ECHO_N "checking for void *... $ECHO_C" >&6
116863 if test "${ac_cv_type_void_p+set}" = set; then
116864 echo $ECHO_N "(cached) $ECHO_C" >&6
116866 cat >conftest.$ac_ext <<_ACEOF
116867 /* confdefs.h. */
116868 _ACEOF
116869 cat confdefs.h >>conftest.$ac_ext
116870 cat >>conftest.$ac_ext <<_ACEOF
116871 /* end confdefs.h. */
116872 $ac_includes_default
116874 main ()
116876 if ((void * *) 0)
116877 return 0;
116878 if (sizeof (void *))
116879 return 0;
116881 return 0;
116883 _ACEOF
116884 rm -f conftest.$ac_objext
116885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116886 (eval $ac_compile) 2>conftest.er1
116887 ac_status=$?
116888 grep -v '^ *+' conftest.er1 >conftest.err
116889 rm -f conftest.er1
116890 cat conftest.err >&5
116891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116892 (exit $ac_status); } &&
116893 { ac_try='test -z "$ac_c_werror_flag"
116894 || test ! -s conftest.err'
116895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116896 (eval $ac_try) 2>&5
116897 ac_status=$?
116898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116899 (exit $ac_status); }; } &&
116900 { ac_try='test -s conftest.$ac_objext'
116901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116902 (eval $ac_try) 2>&5
116903 ac_status=$?
116904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116905 (exit $ac_status); }; }; then
116906 ac_cv_type_void_p=yes
116908 echo "$as_me: failed program was:" >&5
116909 sed 's/^/| /' conftest.$ac_ext >&5
116911 ac_cv_type_void_p=no
116913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116915 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
116916 echo "${ECHO_T}$ac_cv_type_void_p" >&6
116918 echo "$as_me:$LINENO: checking size of void *" >&5
116919 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
116920 if test "${ac_cv_sizeof_void_p+set}" = set; then
116921 echo $ECHO_N "(cached) $ECHO_C" >&6
116923 if test "$ac_cv_type_void_p" = yes; then
116924 # The cast to unsigned long works around a bug in the HP C Compiler
116925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116927 # This bug is HP SR number 8606223364.
116928 if test "$cross_compiling" = yes; then
116929 # Depending upon the size, compute the lo and hi bounds.
116930 cat >conftest.$ac_ext <<_ACEOF
116931 /* confdefs.h. */
116932 _ACEOF
116933 cat confdefs.h >>conftest.$ac_ext
116934 cat >>conftest.$ac_ext <<_ACEOF
116935 /* end confdefs.h. */
116936 $ac_includes_default
116938 main ()
116940 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
116941 test_array [0] = 0
116944 return 0;
116946 _ACEOF
116947 rm -f conftest.$ac_objext
116948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116949 (eval $ac_compile) 2>conftest.er1
116950 ac_status=$?
116951 grep -v '^ *+' conftest.er1 >conftest.err
116952 rm -f conftest.er1
116953 cat conftest.err >&5
116954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116955 (exit $ac_status); } &&
116956 { ac_try='test -z "$ac_c_werror_flag"
116957 || test ! -s conftest.err'
116958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116959 (eval $ac_try) 2>&5
116960 ac_status=$?
116961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116962 (exit $ac_status); }; } &&
116963 { ac_try='test -s conftest.$ac_objext'
116964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116965 (eval $ac_try) 2>&5
116966 ac_status=$?
116967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116968 (exit $ac_status); }; }; then
116969 ac_lo=0 ac_mid=0
116970 while :; do
116971 cat >conftest.$ac_ext <<_ACEOF
116972 /* confdefs.h. */
116973 _ACEOF
116974 cat confdefs.h >>conftest.$ac_ext
116975 cat >>conftest.$ac_ext <<_ACEOF
116976 /* end confdefs.h. */
116977 $ac_includes_default
116979 main ()
116981 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116982 test_array [0] = 0
116985 return 0;
116987 _ACEOF
116988 rm -f conftest.$ac_objext
116989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116990 (eval $ac_compile) 2>conftest.er1
116991 ac_status=$?
116992 grep -v '^ *+' conftest.er1 >conftest.err
116993 rm -f conftest.er1
116994 cat conftest.err >&5
116995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116996 (exit $ac_status); } &&
116997 { ac_try='test -z "$ac_c_werror_flag"
116998 || test ! -s conftest.err'
116999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117000 (eval $ac_try) 2>&5
117001 ac_status=$?
117002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117003 (exit $ac_status); }; } &&
117004 { ac_try='test -s conftest.$ac_objext'
117005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117006 (eval $ac_try) 2>&5
117007 ac_status=$?
117008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117009 (exit $ac_status); }; }; then
117010 ac_hi=$ac_mid; break
117012 echo "$as_me: failed program was:" >&5
117013 sed 's/^/| /' conftest.$ac_ext >&5
117015 ac_lo=`expr $ac_mid + 1`
117016 if test $ac_lo -le $ac_mid; then
117017 ac_lo= ac_hi=
117018 break
117020 ac_mid=`expr 2 '*' $ac_mid + 1`
117022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117025 echo "$as_me: failed program was:" >&5
117026 sed 's/^/| /' conftest.$ac_ext >&5
117028 cat >conftest.$ac_ext <<_ACEOF
117029 /* confdefs.h. */
117030 _ACEOF
117031 cat confdefs.h >>conftest.$ac_ext
117032 cat >>conftest.$ac_ext <<_ACEOF
117033 /* end confdefs.h. */
117034 $ac_includes_default
117036 main ()
117038 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117039 test_array [0] = 0
117042 return 0;
117044 _ACEOF
117045 rm -f conftest.$ac_objext
117046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117047 (eval $ac_compile) 2>conftest.er1
117048 ac_status=$?
117049 grep -v '^ *+' conftest.er1 >conftest.err
117050 rm -f conftest.er1
117051 cat conftest.err >&5
117052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117053 (exit $ac_status); } &&
117054 { ac_try='test -z "$ac_c_werror_flag"
117055 || test ! -s conftest.err'
117056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117057 (eval $ac_try) 2>&5
117058 ac_status=$?
117059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117060 (exit $ac_status); }; } &&
117061 { ac_try='test -s conftest.$ac_objext'
117062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117063 (eval $ac_try) 2>&5
117064 ac_status=$?
117065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117066 (exit $ac_status); }; }; then
117067 ac_hi=-1 ac_mid=-1
117068 while :; do
117069 cat >conftest.$ac_ext <<_ACEOF
117070 /* confdefs.h. */
117071 _ACEOF
117072 cat confdefs.h >>conftest.$ac_ext
117073 cat >>conftest.$ac_ext <<_ACEOF
117074 /* end confdefs.h. */
117075 $ac_includes_default
117077 main ()
117079 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
117080 test_array [0] = 0
117083 return 0;
117085 _ACEOF
117086 rm -f conftest.$ac_objext
117087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117088 (eval $ac_compile) 2>conftest.er1
117089 ac_status=$?
117090 grep -v '^ *+' conftest.er1 >conftest.err
117091 rm -f conftest.er1
117092 cat conftest.err >&5
117093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117094 (exit $ac_status); } &&
117095 { ac_try='test -z "$ac_c_werror_flag"
117096 || test ! -s conftest.err'
117097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117098 (eval $ac_try) 2>&5
117099 ac_status=$?
117100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117101 (exit $ac_status); }; } &&
117102 { ac_try='test -s conftest.$ac_objext'
117103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117104 (eval $ac_try) 2>&5
117105 ac_status=$?
117106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117107 (exit $ac_status); }; }; then
117108 ac_lo=$ac_mid; break
117110 echo "$as_me: failed program was:" >&5
117111 sed 's/^/| /' conftest.$ac_ext >&5
117113 ac_hi=`expr '(' $ac_mid ')' - 1`
117114 if test $ac_mid -le $ac_hi; then
117115 ac_lo= ac_hi=
117116 break
117118 ac_mid=`expr 2 '*' $ac_mid`
117120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117123 echo "$as_me: failed program was:" >&5
117124 sed 's/^/| /' conftest.$ac_ext >&5
117126 ac_lo= ac_hi=
117128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117131 # Binary search between lo and hi bounds.
117132 while test "x$ac_lo" != "x$ac_hi"; do
117133 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117134 cat >conftest.$ac_ext <<_ACEOF
117135 /* confdefs.h. */
117136 _ACEOF
117137 cat confdefs.h >>conftest.$ac_ext
117138 cat >>conftest.$ac_ext <<_ACEOF
117139 /* end confdefs.h. */
117140 $ac_includes_default
117142 main ()
117144 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117145 test_array [0] = 0
117148 return 0;
117150 _ACEOF
117151 rm -f conftest.$ac_objext
117152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117153 (eval $ac_compile) 2>conftest.er1
117154 ac_status=$?
117155 grep -v '^ *+' conftest.er1 >conftest.err
117156 rm -f conftest.er1
117157 cat conftest.err >&5
117158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117159 (exit $ac_status); } &&
117160 { ac_try='test -z "$ac_c_werror_flag"
117161 || test ! -s conftest.err'
117162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117163 (eval $ac_try) 2>&5
117164 ac_status=$?
117165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117166 (exit $ac_status); }; } &&
117167 { ac_try='test -s conftest.$ac_objext'
117168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117169 (eval $ac_try) 2>&5
117170 ac_status=$?
117171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117172 (exit $ac_status); }; }; then
117173 ac_hi=$ac_mid
117175 echo "$as_me: failed program was:" >&5
117176 sed 's/^/| /' conftest.$ac_ext >&5
117178 ac_lo=`expr '(' $ac_mid ')' + 1`
117180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117182 case $ac_lo in
117183 ?*) ac_cv_sizeof_void_p=$ac_lo;;
117184 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117185 See \`config.log' for more details." >&5
117186 echo "$as_me: error: cannot compute sizeof (void *), 77
117187 See \`config.log' for more details." >&2;}
117188 { (exit 1); exit 1; }; } ;;
117191 if test "$cross_compiling" = yes; then
117192 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117193 See \`config.log' for more details." >&5
117194 echo "$as_me: error: cannot run test program while cross compiling
117195 See \`config.log' for more details." >&2;}
117196 { (exit 1); exit 1; }; }
117198 cat >conftest.$ac_ext <<_ACEOF
117199 /* confdefs.h. */
117200 _ACEOF
117201 cat confdefs.h >>conftest.$ac_ext
117202 cat >>conftest.$ac_ext <<_ACEOF
117203 /* end confdefs.h. */
117204 $ac_includes_default
117205 long longval () { return (long) (sizeof (void *)); }
117206 unsigned long ulongval () { return (long) (sizeof (void *)); }
117207 #include <stdio.h>
117208 #include <stdlib.h>
117210 main ()
117213 FILE *f = fopen ("conftest.val", "w");
117214 if (! f)
117215 exit (1);
117216 if (((long) (sizeof (void *))) < 0)
117218 long i = longval ();
117219 if (i != ((long) (sizeof (void *))))
117220 exit (1);
117221 fprintf (f, "%ld\n", i);
117225 unsigned long i = ulongval ();
117226 if (i != ((long) (sizeof (void *))))
117227 exit (1);
117228 fprintf (f, "%lu\n", i);
117230 exit (ferror (f) || fclose (f) != 0);
117233 return 0;
117235 _ACEOF
117236 rm -f conftest$ac_exeext
117237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117238 (eval $ac_link) 2>&5
117239 ac_status=$?
117240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117243 (eval $ac_try) 2>&5
117244 ac_status=$?
117245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117246 (exit $ac_status); }; }; then
117247 ac_cv_sizeof_void_p=`cat conftest.val`
117249 echo "$as_me: program exited with status $ac_status" >&5
117250 echo "$as_me: failed program was:" >&5
117251 sed 's/^/| /' conftest.$ac_ext >&5
117253 ( exit $ac_status )
117254 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
117255 See \`config.log' for more details." >&5
117256 echo "$as_me: error: cannot compute sizeof (void *), 77
117257 See \`config.log' for more details." >&2;}
117258 { (exit 1); exit 1; }; }
117260 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117263 rm -f conftest.val
117265 ac_cv_sizeof_void_p=0
117268 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
117269 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117270 cat >>confdefs.h <<_ACEOF
117271 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117272 _ACEOF
117277 # Lacking an uint64_t? Test size of long
117278 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117279 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117280 echo $ECHO_N "checking for long... $ECHO_C" >&6
117281 if test "${ac_cv_type_long+set}" = set; then
117282 echo $ECHO_N "(cached) $ECHO_C" >&6
117284 cat >conftest.$ac_ext <<_ACEOF
117285 /* confdefs.h. */
117286 _ACEOF
117287 cat confdefs.h >>conftest.$ac_ext
117288 cat >>conftest.$ac_ext <<_ACEOF
117289 /* end confdefs.h. */
117290 $ac_includes_default
117292 main ()
117294 if ((long *) 0)
117295 return 0;
117296 if (sizeof (long))
117297 return 0;
117299 return 0;
117301 _ACEOF
117302 rm -f conftest.$ac_objext
117303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117304 (eval $ac_compile) 2>conftest.er1
117305 ac_status=$?
117306 grep -v '^ *+' conftest.er1 >conftest.err
117307 rm -f conftest.er1
117308 cat conftest.err >&5
117309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117310 (exit $ac_status); } &&
117311 { ac_try='test -z "$ac_c_werror_flag"
117312 || test ! -s conftest.err'
117313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117314 (eval $ac_try) 2>&5
117315 ac_status=$?
117316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117317 (exit $ac_status); }; } &&
117318 { ac_try='test -s conftest.$ac_objext'
117319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117320 (eval $ac_try) 2>&5
117321 ac_status=$?
117322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117323 (exit $ac_status); }; }; then
117324 ac_cv_type_long=yes
117326 echo "$as_me: failed program was:" >&5
117327 sed 's/^/| /' conftest.$ac_ext >&5
117329 ac_cv_type_long=no
117331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117333 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117334 echo "${ECHO_T}$ac_cv_type_long" >&6
117336 echo "$as_me:$LINENO: checking size of long" >&5
117337 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117338 if test "${ac_cv_sizeof_long+set}" = set; then
117339 echo $ECHO_N "(cached) $ECHO_C" >&6
117341 if test "$ac_cv_type_long" = yes; then
117342 # The cast to unsigned long works around a bug in the HP C Compiler
117343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117345 # This bug is HP SR number 8606223364.
117346 if test "$cross_compiling" = yes; then
117347 # Depending upon the size, compute the lo and hi bounds.
117348 cat >conftest.$ac_ext <<_ACEOF
117349 /* confdefs.h. */
117350 _ACEOF
117351 cat confdefs.h >>conftest.$ac_ext
117352 cat >>conftest.$ac_ext <<_ACEOF
117353 /* end confdefs.h. */
117354 $ac_includes_default
117356 main ()
117358 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117359 test_array [0] = 0
117362 return 0;
117364 _ACEOF
117365 rm -f conftest.$ac_objext
117366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117367 (eval $ac_compile) 2>conftest.er1
117368 ac_status=$?
117369 grep -v '^ *+' conftest.er1 >conftest.err
117370 rm -f conftest.er1
117371 cat conftest.err >&5
117372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117373 (exit $ac_status); } &&
117374 { ac_try='test -z "$ac_c_werror_flag"
117375 || test ! -s conftest.err'
117376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117377 (eval $ac_try) 2>&5
117378 ac_status=$?
117379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117380 (exit $ac_status); }; } &&
117381 { ac_try='test -s conftest.$ac_objext'
117382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117383 (eval $ac_try) 2>&5
117384 ac_status=$?
117385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117386 (exit $ac_status); }; }; then
117387 ac_lo=0 ac_mid=0
117388 while :; do
117389 cat >conftest.$ac_ext <<_ACEOF
117390 /* confdefs.h. */
117391 _ACEOF
117392 cat confdefs.h >>conftest.$ac_ext
117393 cat >>conftest.$ac_ext <<_ACEOF
117394 /* end confdefs.h. */
117395 $ac_includes_default
117397 main ()
117399 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117400 test_array [0] = 0
117403 return 0;
117405 _ACEOF
117406 rm -f conftest.$ac_objext
117407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117408 (eval $ac_compile) 2>conftest.er1
117409 ac_status=$?
117410 grep -v '^ *+' conftest.er1 >conftest.err
117411 rm -f conftest.er1
117412 cat conftest.err >&5
117413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117414 (exit $ac_status); } &&
117415 { ac_try='test -z "$ac_c_werror_flag"
117416 || test ! -s conftest.err'
117417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117418 (eval $ac_try) 2>&5
117419 ac_status=$?
117420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117421 (exit $ac_status); }; } &&
117422 { ac_try='test -s conftest.$ac_objext'
117423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117424 (eval $ac_try) 2>&5
117425 ac_status=$?
117426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117427 (exit $ac_status); }; }; then
117428 ac_hi=$ac_mid; break
117430 echo "$as_me: failed program was:" >&5
117431 sed 's/^/| /' conftest.$ac_ext >&5
117433 ac_lo=`expr $ac_mid + 1`
117434 if test $ac_lo -le $ac_mid; then
117435 ac_lo= ac_hi=
117436 break
117438 ac_mid=`expr 2 '*' $ac_mid + 1`
117440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117443 echo "$as_me: failed program was:" >&5
117444 sed 's/^/| /' conftest.$ac_ext >&5
117446 cat >conftest.$ac_ext <<_ACEOF
117447 /* confdefs.h. */
117448 _ACEOF
117449 cat confdefs.h >>conftest.$ac_ext
117450 cat >>conftest.$ac_ext <<_ACEOF
117451 /* end confdefs.h. */
117452 $ac_includes_default
117454 main ()
117456 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
117457 test_array [0] = 0
117460 return 0;
117462 _ACEOF
117463 rm -f conftest.$ac_objext
117464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117465 (eval $ac_compile) 2>conftest.er1
117466 ac_status=$?
117467 grep -v '^ *+' conftest.er1 >conftest.err
117468 rm -f conftest.er1
117469 cat conftest.err >&5
117470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117471 (exit $ac_status); } &&
117472 { ac_try='test -z "$ac_c_werror_flag"
117473 || test ! -s conftest.err'
117474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117475 (eval $ac_try) 2>&5
117476 ac_status=$?
117477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117478 (exit $ac_status); }; } &&
117479 { ac_try='test -s conftest.$ac_objext'
117480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117481 (eval $ac_try) 2>&5
117482 ac_status=$?
117483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117484 (exit $ac_status); }; }; then
117485 ac_hi=-1 ac_mid=-1
117486 while :; do
117487 cat >conftest.$ac_ext <<_ACEOF
117488 /* confdefs.h. */
117489 _ACEOF
117490 cat confdefs.h >>conftest.$ac_ext
117491 cat >>conftest.$ac_ext <<_ACEOF
117492 /* end confdefs.h. */
117493 $ac_includes_default
117495 main ()
117497 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
117498 test_array [0] = 0
117501 return 0;
117503 _ACEOF
117504 rm -f conftest.$ac_objext
117505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117506 (eval $ac_compile) 2>conftest.er1
117507 ac_status=$?
117508 grep -v '^ *+' conftest.er1 >conftest.err
117509 rm -f conftest.er1
117510 cat conftest.err >&5
117511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117512 (exit $ac_status); } &&
117513 { ac_try='test -z "$ac_c_werror_flag"
117514 || test ! -s conftest.err'
117515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117516 (eval $ac_try) 2>&5
117517 ac_status=$?
117518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117519 (exit $ac_status); }; } &&
117520 { ac_try='test -s conftest.$ac_objext'
117521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117522 (eval $ac_try) 2>&5
117523 ac_status=$?
117524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117525 (exit $ac_status); }; }; then
117526 ac_lo=$ac_mid; break
117528 echo "$as_me: failed program was:" >&5
117529 sed 's/^/| /' conftest.$ac_ext >&5
117531 ac_hi=`expr '(' $ac_mid ')' - 1`
117532 if test $ac_mid -le $ac_hi; then
117533 ac_lo= ac_hi=
117534 break
117536 ac_mid=`expr 2 '*' $ac_mid`
117538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117541 echo "$as_me: failed program was:" >&5
117542 sed 's/^/| /' conftest.$ac_ext >&5
117544 ac_lo= ac_hi=
117546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117549 # Binary search between lo and hi bounds.
117550 while test "x$ac_lo" != "x$ac_hi"; do
117551 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117552 cat >conftest.$ac_ext <<_ACEOF
117553 /* confdefs.h. */
117554 _ACEOF
117555 cat confdefs.h >>conftest.$ac_ext
117556 cat >>conftest.$ac_ext <<_ACEOF
117557 /* end confdefs.h. */
117558 $ac_includes_default
117560 main ()
117562 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117563 test_array [0] = 0
117566 return 0;
117568 _ACEOF
117569 rm -f conftest.$ac_objext
117570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117571 (eval $ac_compile) 2>conftest.er1
117572 ac_status=$?
117573 grep -v '^ *+' conftest.er1 >conftest.err
117574 rm -f conftest.er1
117575 cat conftest.err >&5
117576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117577 (exit $ac_status); } &&
117578 { ac_try='test -z "$ac_c_werror_flag"
117579 || test ! -s conftest.err'
117580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117581 (eval $ac_try) 2>&5
117582 ac_status=$?
117583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117584 (exit $ac_status); }; } &&
117585 { ac_try='test -s conftest.$ac_objext'
117586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117587 (eval $ac_try) 2>&5
117588 ac_status=$?
117589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117590 (exit $ac_status); }; }; then
117591 ac_hi=$ac_mid
117593 echo "$as_me: failed program was:" >&5
117594 sed 's/^/| /' conftest.$ac_ext >&5
117596 ac_lo=`expr '(' $ac_mid ')' + 1`
117598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117600 case $ac_lo in
117601 ?*) ac_cv_sizeof_long=$ac_lo;;
117602 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117603 See \`config.log' for more details." >&5
117604 echo "$as_me: error: cannot compute sizeof (long), 77
117605 See \`config.log' for more details." >&2;}
117606 { (exit 1); exit 1; }; } ;;
117609 if test "$cross_compiling" = yes; then
117610 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117611 See \`config.log' for more details." >&5
117612 echo "$as_me: error: cannot run test program while cross compiling
117613 See \`config.log' for more details." >&2;}
117614 { (exit 1); exit 1; }; }
117616 cat >conftest.$ac_ext <<_ACEOF
117617 /* confdefs.h. */
117618 _ACEOF
117619 cat confdefs.h >>conftest.$ac_ext
117620 cat >>conftest.$ac_ext <<_ACEOF
117621 /* end confdefs.h. */
117622 $ac_includes_default
117623 long longval () { return (long) (sizeof (long)); }
117624 unsigned long ulongval () { return (long) (sizeof (long)); }
117625 #include <stdio.h>
117626 #include <stdlib.h>
117628 main ()
117631 FILE *f = fopen ("conftest.val", "w");
117632 if (! f)
117633 exit (1);
117634 if (((long) (sizeof (long))) < 0)
117636 long i = longval ();
117637 if (i != ((long) (sizeof (long))))
117638 exit (1);
117639 fprintf (f, "%ld\n", i);
117643 unsigned long i = ulongval ();
117644 if (i != ((long) (sizeof (long))))
117645 exit (1);
117646 fprintf (f, "%lu\n", i);
117648 exit (ferror (f) || fclose (f) != 0);
117651 return 0;
117653 _ACEOF
117654 rm -f conftest$ac_exeext
117655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117656 (eval $ac_link) 2>&5
117657 ac_status=$?
117658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117661 (eval $ac_try) 2>&5
117662 ac_status=$?
117663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117664 (exit $ac_status); }; }; then
117665 ac_cv_sizeof_long=`cat conftest.val`
117667 echo "$as_me: program exited with status $ac_status" >&5
117668 echo "$as_me: failed program was:" >&5
117669 sed 's/^/| /' conftest.$ac_ext >&5
117671 ( exit $ac_status )
117672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117673 See \`config.log' for more details." >&5
117674 echo "$as_me: error: cannot compute sizeof (long), 77
117675 See \`config.log' for more details." >&2;}
117676 { (exit 1); exit 1; }; }
117678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117681 rm -f conftest.val
117683 ac_cv_sizeof_long=0
117686 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
117687 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
117688 cat >>confdefs.h <<_ACEOF
117689 #define SIZEOF_LONG $ac_cv_sizeof_long
117690 _ACEOF
117695 if test $acx_cv_header_stdint = stddef.h; then
117696 # Lacking a good header? Test size of everything and deduce all types.
117697 echo "$as_me:$LINENO: checking for int" >&5
117698 echo $ECHO_N "checking for int... $ECHO_C" >&6
117699 if test "${ac_cv_type_int+set}" = set; then
117700 echo $ECHO_N "(cached) $ECHO_C" >&6
117702 cat >conftest.$ac_ext <<_ACEOF
117703 /* confdefs.h. */
117704 _ACEOF
117705 cat confdefs.h >>conftest.$ac_ext
117706 cat >>conftest.$ac_ext <<_ACEOF
117707 /* end confdefs.h. */
117708 $ac_includes_default
117710 main ()
117712 if ((int *) 0)
117713 return 0;
117714 if (sizeof (int))
117715 return 0;
117717 return 0;
117719 _ACEOF
117720 rm -f conftest.$ac_objext
117721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117722 (eval $ac_compile) 2>conftest.er1
117723 ac_status=$?
117724 grep -v '^ *+' conftest.er1 >conftest.err
117725 rm -f conftest.er1
117726 cat conftest.err >&5
117727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117728 (exit $ac_status); } &&
117729 { ac_try='test -z "$ac_c_werror_flag"
117730 || test ! -s conftest.err'
117731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117732 (eval $ac_try) 2>&5
117733 ac_status=$?
117734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117735 (exit $ac_status); }; } &&
117736 { ac_try='test -s conftest.$ac_objext'
117737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117738 (eval $ac_try) 2>&5
117739 ac_status=$?
117740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117741 (exit $ac_status); }; }; then
117742 ac_cv_type_int=yes
117744 echo "$as_me: failed program was:" >&5
117745 sed 's/^/| /' conftest.$ac_ext >&5
117747 ac_cv_type_int=no
117749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117751 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117752 echo "${ECHO_T}$ac_cv_type_int" >&6
117754 echo "$as_me:$LINENO: checking size of int" >&5
117755 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117756 if test "${ac_cv_sizeof_int+set}" = set; then
117757 echo $ECHO_N "(cached) $ECHO_C" >&6
117759 if test "$ac_cv_type_int" = yes; then
117760 # The cast to unsigned long works around a bug in the HP C Compiler
117761 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117762 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117763 # This bug is HP SR number 8606223364.
117764 if test "$cross_compiling" = yes; then
117765 # Depending upon the size, compute the lo and hi bounds.
117766 cat >conftest.$ac_ext <<_ACEOF
117767 /* confdefs.h. */
117768 _ACEOF
117769 cat confdefs.h >>conftest.$ac_ext
117770 cat >>conftest.$ac_ext <<_ACEOF
117771 /* end confdefs.h. */
117772 $ac_includes_default
117774 main ()
117776 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117777 test_array [0] = 0
117780 return 0;
117782 _ACEOF
117783 rm -f conftest.$ac_objext
117784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117785 (eval $ac_compile) 2>conftest.er1
117786 ac_status=$?
117787 grep -v '^ *+' conftest.er1 >conftest.err
117788 rm -f conftest.er1
117789 cat conftest.err >&5
117790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117791 (exit $ac_status); } &&
117792 { ac_try='test -z "$ac_c_werror_flag"
117793 || test ! -s conftest.err'
117794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117795 (eval $ac_try) 2>&5
117796 ac_status=$?
117797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117798 (exit $ac_status); }; } &&
117799 { ac_try='test -s conftest.$ac_objext'
117800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117801 (eval $ac_try) 2>&5
117802 ac_status=$?
117803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117804 (exit $ac_status); }; }; then
117805 ac_lo=0 ac_mid=0
117806 while :; do
117807 cat >conftest.$ac_ext <<_ACEOF
117808 /* confdefs.h. */
117809 _ACEOF
117810 cat confdefs.h >>conftest.$ac_ext
117811 cat >>conftest.$ac_ext <<_ACEOF
117812 /* end confdefs.h. */
117813 $ac_includes_default
117815 main ()
117817 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117818 test_array [0] = 0
117821 return 0;
117823 _ACEOF
117824 rm -f conftest.$ac_objext
117825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117826 (eval $ac_compile) 2>conftest.er1
117827 ac_status=$?
117828 grep -v '^ *+' conftest.er1 >conftest.err
117829 rm -f conftest.er1
117830 cat conftest.err >&5
117831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117832 (exit $ac_status); } &&
117833 { ac_try='test -z "$ac_c_werror_flag"
117834 || test ! -s conftest.err'
117835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117836 (eval $ac_try) 2>&5
117837 ac_status=$?
117838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117839 (exit $ac_status); }; } &&
117840 { ac_try='test -s conftest.$ac_objext'
117841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117842 (eval $ac_try) 2>&5
117843 ac_status=$?
117844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117845 (exit $ac_status); }; }; then
117846 ac_hi=$ac_mid; break
117848 echo "$as_me: failed program was:" >&5
117849 sed 's/^/| /' conftest.$ac_ext >&5
117851 ac_lo=`expr $ac_mid + 1`
117852 if test $ac_lo -le $ac_mid; then
117853 ac_lo= ac_hi=
117854 break
117856 ac_mid=`expr 2 '*' $ac_mid + 1`
117858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117861 echo "$as_me: failed program was:" >&5
117862 sed 's/^/| /' conftest.$ac_ext >&5
117864 cat >conftest.$ac_ext <<_ACEOF
117865 /* confdefs.h. */
117866 _ACEOF
117867 cat confdefs.h >>conftest.$ac_ext
117868 cat >>conftest.$ac_ext <<_ACEOF
117869 /* end confdefs.h. */
117870 $ac_includes_default
117872 main ()
117874 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
117875 test_array [0] = 0
117878 return 0;
117880 _ACEOF
117881 rm -f conftest.$ac_objext
117882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117883 (eval $ac_compile) 2>conftest.er1
117884 ac_status=$?
117885 grep -v '^ *+' conftest.er1 >conftest.err
117886 rm -f conftest.er1
117887 cat conftest.err >&5
117888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117889 (exit $ac_status); } &&
117890 { ac_try='test -z "$ac_c_werror_flag"
117891 || test ! -s conftest.err'
117892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117893 (eval $ac_try) 2>&5
117894 ac_status=$?
117895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117896 (exit $ac_status); }; } &&
117897 { ac_try='test -s conftest.$ac_objext'
117898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117899 (eval $ac_try) 2>&5
117900 ac_status=$?
117901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117902 (exit $ac_status); }; }; then
117903 ac_hi=-1 ac_mid=-1
117904 while :; do
117905 cat >conftest.$ac_ext <<_ACEOF
117906 /* confdefs.h. */
117907 _ACEOF
117908 cat confdefs.h >>conftest.$ac_ext
117909 cat >>conftest.$ac_ext <<_ACEOF
117910 /* end confdefs.h. */
117911 $ac_includes_default
117913 main ()
117915 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
117916 test_array [0] = 0
117919 return 0;
117921 _ACEOF
117922 rm -f conftest.$ac_objext
117923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117924 (eval $ac_compile) 2>conftest.er1
117925 ac_status=$?
117926 grep -v '^ *+' conftest.er1 >conftest.err
117927 rm -f conftest.er1
117928 cat conftest.err >&5
117929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117930 (exit $ac_status); } &&
117931 { ac_try='test -z "$ac_c_werror_flag"
117932 || test ! -s conftest.err'
117933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117934 (eval $ac_try) 2>&5
117935 ac_status=$?
117936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117937 (exit $ac_status); }; } &&
117938 { ac_try='test -s conftest.$ac_objext'
117939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117940 (eval $ac_try) 2>&5
117941 ac_status=$?
117942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117943 (exit $ac_status); }; }; then
117944 ac_lo=$ac_mid; break
117946 echo "$as_me: failed program was:" >&5
117947 sed 's/^/| /' conftest.$ac_ext >&5
117949 ac_hi=`expr '(' $ac_mid ')' - 1`
117950 if test $ac_mid -le $ac_hi; then
117951 ac_lo= ac_hi=
117952 break
117954 ac_mid=`expr 2 '*' $ac_mid`
117956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117959 echo "$as_me: failed program was:" >&5
117960 sed 's/^/| /' conftest.$ac_ext >&5
117962 ac_lo= ac_hi=
117964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117967 # Binary search between lo and hi bounds.
117968 while test "x$ac_lo" != "x$ac_hi"; do
117969 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117970 cat >conftest.$ac_ext <<_ACEOF
117971 /* confdefs.h. */
117972 _ACEOF
117973 cat confdefs.h >>conftest.$ac_ext
117974 cat >>conftest.$ac_ext <<_ACEOF
117975 /* end confdefs.h. */
117976 $ac_includes_default
117978 main ()
117980 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117981 test_array [0] = 0
117984 return 0;
117986 _ACEOF
117987 rm -f conftest.$ac_objext
117988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117989 (eval $ac_compile) 2>conftest.er1
117990 ac_status=$?
117991 grep -v '^ *+' conftest.er1 >conftest.err
117992 rm -f conftest.er1
117993 cat conftest.err >&5
117994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117995 (exit $ac_status); } &&
117996 { ac_try='test -z "$ac_c_werror_flag"
117997 || test ! -s conftest.err'
117998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117999 (eval $ac_try) 2>&5
118000 ac_status=$?
118001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118002 (exit $ac_status); }; } &&
118003 { ac_try='test -s conftest.$ac_objext'
118004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118005 (eval $ac_try) 2>&5
118006 ac_status=$?
118007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118008 (exit $ac_status); }; }; then
118009 ac_hi=$ac_mid
118011 echo "$as_me: failed program was:" >&5
118012 sed 's/^/| /' conftest.$ac_ext >&5
118014 ac_lo=`expr '(' $ac_mid ')' + 1`
118016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118018 case $ac_lo in
118019 ?*) ac_cv_sizeof_int=$ac_lo;;
118020 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118021 See \`config.log' for more details." >&5
118022 echo "$as_me: error: cannot compute sizeof (int), 77
118023 See \`config.log' for more details." >&2;}
118024 { (exit 1); exit 1; }; } ;;
118027 if test "$cross_compiling" = yes; then
118028 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118029 See \`config.log' for more details." >&5
118030 echo "$as_me: error: cannot run test program while cross compiling
118031 See \`config.log' for more details." >&2;}
118032 { (exit 1); exit 1; }; }
118034 cat >conftest.$ac_ext <<_ACEOF
118035 /* confdefs.h. */
118036 _ACEOF
118037 cat confdefs.h >>conftest.$ac_ext
118038 cat >>conftest.$ac_ext <<_ACEOF
118039 /* end confdefs.h. */
118040 $ac_includes_default
118041 long longval () { return (long) (sizeof (int)); }
118042 unsigned long ulongval () { return (long) (sizeof (int)); }
118043 #include <stdio.h>
118044 #include <stdlib.h>
118046 main ()
118049 FILE *f = fopen ("conftest.val", "w");
118050 if (! f)
118051 exit (1);
118052 if (((long) (sizeof (int))) < 0)
118054 long i = longval ();
118055 if (i != ((long) (sizeof (int))))
118056 exit (1);
118057 fprintf (f, "%ld\n", i);
118061 unsigned long i = ulongval ();
118062 if (i != ((long) (sizeof (int))))
118063 exit (1);
118064 fprintf (f, "%lu\n", i);
118066 exit (ferror (f) || fclose (f) != 0);
118069 return 0;
118071 _ACEOF
118072 rm -f conftest$ac_exeext
118073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118074 (eval $ac_link) 2>&5
118075 ac_status=$?
118076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118079 (eval $ac_try) 2>&5
118080 ac_status=$?
118081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118082 (exit $ac_status); }; }; then
118083 ac_cv_sizeof_int=`cat conftest.val`
118085 echo "$as_me: program exited with status $ac_status" >&5
118086 echo "$as_me: failed program was:" >&5
118087 sed 's/^/| /' conftest.$ac_ext >&5
118089 ( exit $ac_status )
118090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118091 See \`config.log' for more details." >&5
118092 echo "$as_me: error: cannot compute sizeof (int), 77
118093 See \`config.log' for more details." >&2;}
118094 { (exit 1); exit 1; }; }
118096 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118099 rm -f conftest.val
118101 ac_cv_sizeof_int=0
118104 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
118105 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
118106 cat >>confdefs.h <<_ACEOF
118107 #define SIZEOF_INT $ac_cv_sizeof_int
118108 _ACEOF
118111 echo "$as_me:$LINENO: checking for short" >&5
118112 echo $ECHO_N "checking for short... $ECHO_C" >&6
118113 if test "${ac_cv_type_short+set}" = set; then
118114 echo $ECHO_N "(cached) $ECHO_C" >&6
118116 cat >conftest.$ac_ext <<_ACEOF
118117 /* confdefs.h. */
118118 _ACEOF
118119 cat confdefs.h >>conftest.$ac_ext
118120 cat >>conftest.$ac_ext <<_ACEOF
118121 /* end confdefs.h. */
118122 $ac_includes_default
118124 main ()
118126 if ((short *) 0)
118127 return 0;
118128 if (sizeof (short))
118129 return 0;
118131 return 0;
118133 _ACEOF
118134 rm -f conftest.$ac_objext
118135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118136 (eval $ac_compile) 2>conftest.er1
118137 ac_status=$?
118138 grep -v '^ *+' conftest.er1 >conftest.err
118139 rm -f conftest.er1
118140 cat conftest.err >&5
118141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118142 (exit $ac_status); } &&
118143 { ac_try='test -z "$ac_c_werror_flag"
118144 || test ! -s conftest.err'
118145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118146 (eval $ac_try) 2>&5
118147 ac_status=$?
118148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118149 (exit $ac_status); }; } &&
118150 { ac_try='test -s conftest.$ac_objext'
118151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118152 (eval $ac_try) 2>&5
118153 ac_status=$?
118154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118155 (exit $ac_status); }; }; then
118156 ac_cv_type_short=yes
118158 echo "$as_me: failed program was:" >&5
118159 sed 's/^/| /' conftest.$ac_ext >&5
118161 ac_cv_type_short=no
118163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118165 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
118166 echo "${ECHO_T}$ac_cv_type_short" >&6
118168 echo "$as_me:$LINENO: checking size of short" >&5
118169 echo $ECHO_N "checking size of short... $ECHO_C" >&6
118170 if test "${ac_cv_sizeof_short+set}" = set; then
118171 echo $ECHO_N "(cached) $ECHO_C" >&6
118173 if test "$ac_cv_type_short" = yes; then
118174 # The cast to unsigned long works around a bug in the HP C Compiler
118175 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118176 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118177 # This bug is HP SR number 8606223364.
118178 if test "$cross_compiling" = yes; then
118179 # Depending upon the size, compute the lo and hi bounds.
118180 cat >conftest.$ac_ext <<_ACEOF
118181 /* confdefs.h. */
118182 _ACEOF
118183 cat confdefs.h >>conftest.$ac_ext
118184 cat >>conftest.$ac_ext <<_ACEOF
118185 /* end confdefs.h. */
118186 $ac_includes_default
118188 main ()
118190 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
118191 test_array [0] = 0
118194 return 0;
118196 _ACEOF
118197 rm -f conftest.$ac_objext
118198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118199 (eval $ac_compile) 2>conftest.er1
118200 ac_status=$?
118201 grep -v '^ *+' conftest.er1 >conftest.err
118202 rm -f conftest.er1
118203 cat conftest.err >&5
118204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118205 (exit $ac_status); } &&
118206 { ac_try='test -z "$ac_c_werror_flag"
118207 || test ! -s conftest.err'
118208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118209 (eval $ac_try) 2>&5
118210 ac_status=$?
118211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118212 (exit $ac_status); }; } &&
118213 { ac_try='test -s conftest.$ac_objext'
118214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118215 (eval $ac_try) 2>&5
118216 ac_status=$?
118217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118218 (exit $ac_status); }; }; then
118219 ac_lo=0 ac_mid=0
118220 while :; do
118221 cat >conftest.$ac_ext <<_ACEOF
118222 /* confdefs.h. */
118223 _ACEOF
118224 cat confdefs.h >>conftest.$ac_ext
118225 cat >>conftest.$ac_ext <<_ACEOF
118226 /* end confdefs.h. */
118227 $ac_includes_default
118229 main ()
118231 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118232 test_array [0] = 0
118235 return 0;
118237 _ACEOF
118238 rm -f conftest.$ac_objext
118239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118240 (eval $ac_compile) 2>conftest.er1
118241 ac_status=$?
118242 grep -v '^ *+' conftest.er1 >conftest.err
118243 rm -f conftest.er1
118244 cat conftest.err >&5
118245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118246 (exit $ac_status); } &&
118247 { ac_try='test -z "$ac_c_werror_flag"
118248 || test ! -s conftest.err'
118249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118250 (eval $ac_try) 2>&5
118251 ac_status=$?
118252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118253 (exit $ac_status); }; } &&
118254 { ac_try='test -s conftest.$ac_objext'
118255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118256 (eval $ac_try) 2>&5
118257 ac_status=$?
118258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118259 (exit $ac_status); }; }; then
118260 ac_hi=$ac_mid; break
118262 echo "$as_me: failed program was:" >&5
118263 sed 's/^/| /' conftest.$ac_ext >&5
118265 ac_lo=`expr $ac_mid + 1`
118266 if test $ac_lo -le $ac_mid; then
118267 ac_lo= ac_hi=
118268 break
118270 ac_mid=`expr 2 '*' $ac_mid + 1`
118272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118275 echo "$as_me: failed program was:" >&5
118276 sed 's/^/| /' conftest.$ac_ext >&5
118278 cat >conftest.$ac_ext <<_ACEOF
118279 /* confdefs.h. */
118280 _ACEOF
118281 cat confdefs.h >>conftest.$ac_ext
118282 cat >>conftest.$ac_ext <<_ACEOF
118283 /* end confdefs.h. */
118284 $ac_includes_default
118286 main ()
118288 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118289 test_array [0] = 0
118292 return 0;
118294 _ACEOF
118295 rm -f conftest.$ac_objext
118296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118297 (eval $ac_compile) 2>conftest.er1
118298 ac_status=$?
118299 grep -v '^ *+' conftest.er1 >conftest.err
118300 rm -f conftest.er1
118301 cat conftest.err >&5
118302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118303 (exit $ac_status); } &&
118304 { ac_try='test -z "$ac_c_werror_flag"
118305 || test ! -s conftest.err'
118306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118307 (eval $ac_try) 2>&5
118308 ac_status=$?
118309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118310 (exit $ac_status); }; } &&
118311 { ac_try='test -s conftest.$ac_objext'
118312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118313 (eval $ac_try) 2>&5
118314 ac_status=$?
118315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118316 (exit $ac_status); }; }; then
118317 ac_hi=-1 ac_mid=-1
118318 while :; do
118319 cat >conftest.$ac_ext <<_ACEOF
118320 /* confdefs.h. */
118321 _ACEOF
118322 cat confdefs.h >>conftest.$ac_ext
118323 cat >>conftest.$ac_ext <<_ACEOF
118324 /* end confdefs.h. */
118325 $ac_includes_default
118327 main ()
118329 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118330 test_array [0] = 0
118333 return 0;
118335 _ACEOF
118336 rm -f conftest.$ac_objext
118337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118338 (eval $ac_compile) 2>conftest.er1
118339 ac_status=$?
118340 grep -v '^ *+' conftest.er1 >conftest.err
118341 rm -f conftest.er1
118342 cat conftest.err >&5
118343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118344 (exit $ac_status); } &&
118345 { ac_try='test -z "$ac_c_werror_flag"
118346 || test ! -s conftest.err'
118347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118348 (eval $ac_try) 2>&5
118349 ac_status=$?
118350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118351 (exit $ac_status); }; } &&
118352 { ac_try='test -s conftest.$ac_objext'
118353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118354 (eval $ac_try) 2>&5
118355 ac_status=$?
118356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118357 (exit $ac_status); }; }; then
118358 ac_lo=$ac_mid; break
118360 echo "$as_me: failed program was:" >&5
118361 sed 's/^/| /' conftest.$ac_ext >&5
118363 ac_hi=`expr '(' $ac_mid ')' - 1`
118364 if test $ac_mid -le $ac_hi; then
118365 ac_lo= ac_hi=
118366 break
118368 ac_mid=`expr 2 '*' $ac_mid`
118370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118373 echo "$as_me: failed program was:" >&5
118374 sed 's/^/| /' conftest.$ac_ext >&5
118376 ac_lo= ac_hi=
118378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118381 # Binary search between lo and hi bounds.
118382 while test "x$ac_lo" != "x$ac_hi"; do
118383 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118384 cat >conftest.$ac_ext <<_ACEOF
118385 /* confdefs.h. */
118386 _ACEOF
118387 cat confdefs.h >>conftest.$ac_ext
118388 cat >>conftest.$ac_ext <<_ACEOF
118389 /* end confdefs.h. */
118390 $ac_includes_default
118392 main ()
118394 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118395 test_array [0] = 0
118398 return 0;
118400 _ACEOF
118401 rm -f conftest.$ac_objext
118402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118403 (eval $ac_compile) 2>conftest.er1
118404 ac_status=$?
118405 grep -v '^ *+' conftest.er1 >conftest.err
118406 rm -f conftest.er1
118407 cat conftest.err >&5
118408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118409 (exit $ac_status); } &&
118410 { ac_try='test -z "$ac_c_werror_flag"
118411 || test ! -s conftest.err'
118412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118413 (eval $ac_try) 2>&5
118414 ac_status=$?
118415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118416 (exit $ac_status); }; } &&
118417 { ac_try='test -s conftest.$ac_objext'
118418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118419 (eval $ac_try) 2>&5
118420 ac_status=$?
118421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118422 (exit $ac_status); }; }; then
118423 ac_hi=$ac_mid
118425 echo "$as_me: failed program was:" >&5
118426 sed 's/^/| /' conftest.$ac_ext >&5
118428 ac_lo=`expr '(' $ac_mid ')' + 1`
118430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118432 case $ac_lo in
118433 ?*) ac_cv_sizeof_short=$ac_lo;;
118434 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118435 See \`config.log' for more details." >&5
118436 echo "$as_me: error: cannot compute sizeof (short), 77
118437 See \`config.log' for more details." >&2;}
118438 { (exit 1); exit 1; }; } ;;
118441 if test "$cross_compiling" = yes; then
118442 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118443 See \`config.log' for more details." >&5
118444 echo "$as_me: error: cannot run test program while cross compiling
118445 See \`config.log' for more details." >&2;}
118446 { (exit 1); exit 1; }; }
118448 cat >conftest.$ac_ext <<_ACEOF
118449 /* confdefs.h. */
118450 _ACEOF
118451 cat confdefs.h >>conftest.$ac_ext
118452 cat >>conftest.$ac_ext <<_ACEOF
118453 /* end confdefs.h. */
118454 $ac_includes_default
118455 long longval () { return (long) (sizeof (short)); }
118456 unsigned long ulongval () { return (long) (sizeof (short)); }
118457 #include <stdio.h>
118458 #include <stdlib.h>
118460 main ()
118463 FILE *f = fopen ("conftest.val", "w");
118464 if (! f)
118465 exit (1);
118466 if (((long) (sizeof (short))) < 0)
118468 long i = longval ();
118469 if (i != ((long) (sizeof (short))))
118470 exit (1);
118471 fprintf (f, "%ld\n", i);
118475 unsigned long i = ulongval ();
118476 if (i != ((long) (sizeof (short))))
118477 exit (1);
118478 fprintf (f, "%lu\n", i);
118480 exit (ferror (f) || fclose (f) != 0);
118483 return 0;
118485 _ACEOF
118486 rm -f conftest$ac_exeext
118487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118488 (eval $ac_link) 2>&5
118489 ac_status=$?
118490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118493 (eval $ac_try) 2>&5
118494 ac_status=$?
118495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118496 (exit $ac_status); }; }; then
118497 ac_cv_sizeof_short=`cat conftest.val`
118499 echo "$as_me: program exited with status $ac_status" >&5
118500 echo "$as_me: failed program was:" >&5
118501 sed 's/^/| /' conftest.$ac_ext >&5
118503 ( exit $ac_status )
118504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118505 See \`config.log' for more details." >&5
118506 echo "$as_me: error: cannot compute sizeof (short), 77
118507 See \`config.log' for more details." >&2;}
118508 { (exit 1); exit 1; }; }
118510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118513 rm -f conftest.val
118515 ac_cv_sizeof_short=0
118518 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
118519 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
118520 cat >>confdefs.h <<_ACEOF
118521 #define SIZEOF_SHORT $ac_cv_sizeof_short
118522 _ACEOF
118525 echo "$as_me:$LINENO: checking for char" >&5
118526 echo $ECHO_N "checking for char... $ECHO_C" >&6
118527 if test "${ac_cv_type_char+set}" = set; then
118528 echo $ECHO_N "(cached) $ECHO_C" >&6
118530 cat >conftest.$ac_ext <<_ACEOF
118531 /* confdefs.h. */
118532 _ACEOF
118533 cat confdefs.h >>conftest.$ac_ext
118534 cat >>conftest.$ac_ext <<_ACEOF
118535 /* end confdefs.h. */
118536 $ac_includes_default
118538 main ()
118540 if ((char *) 0)
118541 return 0;
118542 if (sizeof (char))
118543 return 0;
118545 return 0;
118547 _ACEOF
118548 rm -f conftest.$ac_objext
118549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118550 (eval $ac_compile) 2>conftest.er1
118551 ac_status=$?
118552 grep -v '^ *+' conftest.er1 >conftest.err
118553 rm -f conftest.er1
118554 cat conftest.err >&5
118555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118556 (exit $ac_status); } &&
118557 { ac_try='test -z "$ac_c_werror_flag"
118558 || test ! -s conftest.err'
118559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118560 (eval $ac_try) 2>&5
118561 ac_status=$?
118562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118563 (exit $ac_status); }; } &&
118564 { ac_try='test -s conftest.$ac_objext'
118565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118566 (eval $ac_try) 2>&5
118567 ac_status=$?
118568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118569 (exit $ac_status); }; }; then
118570 ac_cv_type_char=yes
118572 echo "$as_me: failed program was:" >&5
118573 sed 's/^/| /' conftest.$ac_ext >&5
118575 ac_cv_type_char=no
118577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118579 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
118580 echo "${ECHO_T}$ac_cv_type_char" >&6
118582 echo "$as_me:$LINENO: checking size of char" >&5
118583 echo $ECHO_N "checking size of char... $ECHO_C" >&6
118584 if test "${ac_cv_sizeof_char+set}" = set; then
118585 echo $ECHO_N "(cached) $ECHO_C" >&6
118587 if test "$ac_cv_type_char" = yes; then
118588 # The cast to unsigned long works around a bug in the HP C Compiler
118589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118591 # This bug is HP SR number 8606223364.
118592 if test "$cross_compiling" = yes; then
118593 # Depending upon the size, compute the lo and hi bounds.
118594 cat >conftest.$ac_ext <<_ACEOF
118595 /* confdefs.h. */
118596 _ACEOF
118597 cat confdefs.h >>conftest.$ac_ext
118598 cat >>conftest.$ac_ext <<_ACEOF
118599 /* end confdefs.h. */
118600 $ac_includes_default
118602 main ()
118604 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
118605 test_array [0] = 0
118608 return 0;
118610 _ACEOF
118611 rm -f conftest.$ac_objext
118612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118613 (eval $ac_compile) 2>conftest.er1
118614 ac_status=$?
118615 grep -v '^ *+' conftest.er1 >conftest.err
118616 rm -f conftest.er1
118617 cat conftest.err >&5
118618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118619 (exit $ac_status); } &&
118620 { ac_try='test -z "$ac_c_werror_flag"
118621 || test ! -s conftest.err'
118622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118623 (eval $ac_try) 2>&5
118624 ac_status=$?
118625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118626 (exit $ac_status); }; } &&
118627 { ac_try='test -s conftest.$ac_objext'
118628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118629 (eval $ac_try) 2>&5
118630 ac_status=$?
118631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118632 (exit $ac_status); }; }; then
118633 ac_lo=0 ac_mid=0
118634 while :; do
118635 cat >conftest.$ac_ext <<_ACEOF
118636 /* confdefs.h. */
118637 _ACEOF
118638 cat confdefs.h >>conftest.$ac_ext
118639 cat >>conftest.$ac_ext <<_ACEOF
118640 /* end confdefs.h. */
118641 $ac_includes_default
118643 main ()
118645 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118646 test_array [0] = 0
118649 return 0;
118651 _ACEOF
118652 rm -f conftest.$ac_objext
118653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118654 (eval $ac_compile) 2>conftest.er1
118655 ac_status=$?
118656 grep -v '^ *+' conftest.er1 >conftest.err
118657 rm -f conftest.er1
118658 cat conftest.err >&5
118659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118660 (exit $ac_status); } &&
118661 { ac_try='test -z "$ac_c_werror_flag"
118662 || test ! -s conftest.err'
118663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118664 (eval $ac_try) 2>&5
118665 ac_status=$?
118666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118667 (exit $ac_status); }; } &&
118668 { ac_try='test -s conftest.$ac_objext'
118669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118670 (eval $ac_try) 2>&5
118671 ac_status=$?
118672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118673 (exit $ac_status); }; }; then
118674 ac_hi=$ac_mid; break
118676 echo "$as_me: failed program was:" >&5
118677 sed 's/^/| /' conftest.$ac_ext >&5
118679 ac_lo=`expr $ac_mid + 1`
118680 if test $ac_lo -le $ac_mid; then
118681 ac_lo= ac_hi=
118682 break
118684 ac_mid=`expr 2 '*' $ac_mid + 1`
118686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118689 echo "$as_me: failed program was:" >&5
118690 sed 's/^/| /' conftest.$ac_ext >&5
118692 cat >conftest.$ac_ext <<_ACEOF
118693 /* confdefs.h. */
118694 _ACEOF
118695 cat confdefs.h >>conftest.$ac_ext
118696 cat >>conftest.$ac_ext <<_ACEOF
118697 /* end confdefs.h. */
118698 $ac_includes_default
118700 main ()
118702 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
118703 test_array [0] = 0
118706 return 0;
118708 _ACEOF
118709 rm -f conftest.$ac_objext
118710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118711 (eval $ac_compile) 2>conftest.er1
118712 ac_status=$?
118713 grep -v '^ *+' conftest.er1 >conftest.err
118714 rm -f conftest.er1
118715 cat conftest.err >&5
118716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118717 (exit $ac_status); } &&
118718 { ac_try='test -z "$ac_c_werror_flag"
118719 || test ! -s conftest.err'
118720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118721 (eval $ac_try) 2>&5
118722 ac_status=$?
118723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118724 (exit $ac_status); }; } &&
118725 { ac_try='test -s conftest.$ac_objext'
118726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118727 (eval $ac_try) 2>&5
118728 ac_status=$?
118729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118730 (exit $ac_status); }; }; then
118731 ac_hi=-1 ac_mid=-1
118732 while :; do
118733 cat >conftest.$ac_ext <<_ACEOF
118734 /* confdefs.h. */
118735 _ACEOF
118736 cat confdefs.h >>conftest.$ac_ext
118737 cat >>conftest.$ac_ext <<_ACEOF
118738 /* end confdefs.h. */
118739 $ac_includes_default
118741 main ()
118743 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118744 test_array [0] = 0
118747 return 0;
118749 _ACEOF
118750 rm -f conftest.$ac_objext
118751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118752 (eval $ac_compile) 2>conftest.er1
118753 ac_status=$?
118754 grep -v '^ *+' conftest.er1 >conftest.err
118755 rm -f conftest.er1
118756 cat conftest.err >&5
118757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118758 (exit $ac_status); } &&
118759 { ac_try='test -z "$ac_c_werror_flag"
118760 || test ! -s conftest.err'
118761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118762 (eval $ac_try) 2>&5
118763 ac_status=$?
118764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118765 (exit $ac_status); }; } &&
118766 { ac_try='test -s conftest.$ac_objext'
118767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118768 (eval $ac_try) 2>&5
118769 ac_status=$?
118770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118771 (exit $ac_status); }; }; then
118772 ac_lo=$ac_mid; break
118774 echo "$as_me: failed program was:" >&5
118775 sed 's/^/| /' conftest.$ac_ext >&5
118777 ac_hi=`expr '(' $ac_mid ')' - 1`
118778 if test $ac_mid -le $ac_hi; then
118779 ac_lo= ac_hi=
118780 break
118782 ac_mid=`expr 2 '*' $ac_mid`
118784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118787 echo "$as_me: failed program was:" >&5
118788 sed 's/^/| /' conftest.$ac_ext >&5
118790 ac_lo= ac_hi=
118792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118795 # Binary search between lo and hi bounds.
118796 while test "x$ac_lo" != "x$ac_hi"; do
118797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118798 cat >conftest.$ac_ext <<_ACEOF
118799 /* confdefs.h. */
118800 _ACEOF
118801 cat confdefs.h >>conftest.$ac_ext
118802 cat >>conftest.$ac_ext <<_ACEOF
118803 /* end confdefs.h. */
118804 $ac_includes_default
118806 main ()
118808 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118809 test_array [0] = 0
118812 return 0;
118814 _ACEOF
118815 rm -f conftest.$ac_objext
118816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118817 (eval $ac_compile) 2>conftest.er1
118818 ac_status=$?
118819 grep -v '^ *+' conftest.er1 >conftest.err
118820 rm -f conftest.er1
118821 cat conftest.err >&5
118822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118823 (exit $ac_status); } &&
118824 { ac_try='test -z "$ac_c_werror_flag"
118825 || test ! -s conftest.err'
118826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118827 (eval $ac_try) 2>&5
118828 ac_status=$?
118829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118830 (exit $ac_status); }; } &&
118831 { ac_try='test -s conftest.$ac_objext'
118832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118833 (eval $ac_try) 2>&5
118834 ac_status=$?
118835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118836 (exit $ac_status); }; }; then
118837 ac_hi=$ac_mid
118839 echo "$as_me: failed program was:" >&5
118840 sed 's/^/| /' conftest.$ac_ext >&5
118842 ac_lo=`expr '(' $ac_mid ')' + 1`
118844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118846 case $ac_lo in
118847 ?*) ac_cv_sizeof_char=$ac_lo;;
118848 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118849 See \`config.log' for more details." >&5
118850 echo "$as_me: error: cannot compute sizeof (char), 77
118851 See \`config.log' for more details." >&2;}
118852 { (exit 1); exit 1; }; } ;;
118855 if test "$cross_compiling" = yes; then
118856 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118857 See \`config.log' for more details." >&5
118858 echo "$as_me: error: cannot run test program while cross compiling
118859 See \`config.log' for more details." >&2;}
118860 { (exit 1); exit 1; }; }
118862 cat >conftest.$ac_ext <<_ACEOF
118863 /* confdefs.h. */
118864 _ACEOF
118865 cat confdefs.h >>conftest.$ac_ext
118866 cat >>conftest.$ac_ext <<_ACEOF
118867 /* end confdefs.h. */
118868 $ac_includes_default
118869 long longval () { return (long) (sizeof (char)); }
118870 unsigned long ulongval () { return (long) (sizeof (char)); }
118871 #include <stdio.h>
118872 #include <stdlib.h>
118874 main ()
118877 FILE *f = fopen ("conftest.val", "w");
118878 if (! f)
118879 exit (1);
118880 if (((long) (sizeof (char))) < 0)
118882 long i = longval ();
118883 if (i != ((long) (sizeof (char))))
118884 exit (1);
118885 fprintf (f, "%ld\n", i);
118889 unsigned long i = ulongval ();
118890 if (i != ((long) (sizeof (char))))
118891 exit (1);
118892 fprintf (f, "%lu\n", i);
118894 exit (ferror (f) || fclose (f) != 0);
118897 return 0;
118899 _ACEOF
118900 rm -f conftest$ac_exeext
118901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118902 (eval $ac_link) 2>&5
118903 ac_status=$?
118904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118907 (eval $ac_try) 2>&5
118908 ac_status=$?
118909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118910 (exit $ac_status); }; }; then
118911 ac_cv_sizeof_char=`cat conftest.val`
118913 echo "$as_me: program exited with status $ac_status" >&5
118914 echo "$as_me: failed program was:" >&5
118915 sed 's/^/| /' conftest.$ac_ext >&5
118917 ( exit $ac_status )
118918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118919 See \`config.log' for more details." >&5
118920 echo "$as_me: error: cannot compute sizeof (char), 77
118921 See \`config.log' for more details." >&2;}
118922 { (exit 1); exit 1; }; }
118924 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118927 rm -f conftest.val
118929 ac_cv_sizeof_char=0
118932 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
118933 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
118934 cat >>confdefs.h <<_ACEOF
118935 #define SIZEOF_CHAR $ac_cv_sizeof_char
118936 _ACEOF
118940 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
118941 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
118942 case "$ac_cv_sizeof_char" in
118943 1) acx_cv_type_int8_t=char ;;
118944 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
118945 echo "$as_me: error: no 8-bit type" >&2;}
118946 { (exit please report a bug); exit please report a bug; }; }
118948 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
118949 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
118951 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
118952 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
118953 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
118954 2:*) acx_cv_type_int16_t=int ;;
118955 *:2) acx_cv_type_int16_t=short ;;
118956 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
118957 echo "$as_me: error: no 16-bit type" >&2;}
118958 { (exit please report a bug); exit please report a bug; }; }
118960 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
118961 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
118963 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
118964 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
118965 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
118966 4:*) acx_cv_type_int32_t=int ;;
118967 *:4) acx_cv_type_int32_t=long ;;
118968 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
118969 echo "$as_me: error: no 32-bit type" >&2;}
118970 { (exit please report a bug); exit please report a bug; }; }
118972 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
118973 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
118976 # These tests are here to make the output prettier
118978 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
118979 case "$ac_cv_sizeof_long" in
118980 8) acx_cv_type_int64_t=long ;;
118982 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
118983 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
118984 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
118985 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
118988 # Now we can use the above types
118990 if test "$ac_cv_type_uintptr_t" != yes; then
118991 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
118992 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
118993 case $ac_cv_sizeof_void_p in
118994 2) acx_cv_type_intptr_t=int16_t ;;
118995 4) acx_cv_type_intptr_t=int32_t ;;
118996 8) acx_cv_type_intptr_t=int64_t ;;
118997 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
118998 echo "$as_me: error: no equivalent for intptr_t" >&2;}
118999 { (exit please report a bug); exit please report a bug; }; }
119001 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119002 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119005 # ----------------- done all checks, emit header -------------
119006 ac_config_commands="$ac_config_commands include/gstdint.h"
119011 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
119014 # Check whether --enable-symvers or --disable-symvers was given.
119015 if test "${enable_symvers+set}" = set; then
119016 enableval="$enable_symvers"
119018 case "$enableval" in
119019 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
119020 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
119021 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
119022 { (exit 1); exit 1; }; } ;;
119026 enable_symvers=yes
119030 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
119031 # don't know enough about $LD to do tricks...
119034 # Turn a 'yes' into a suitable default.
119035 if test x$enable_symvers = xyes ; then
119036 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
119037 enable_symvers=no
119039 if test $with_gnu_ld = yes ; then
119040 enable_symvers=gnu
119042 case ${target_os} in
119043 darwin*)
119044 enable_symvers=darwin ;;
119046 enable_symvers=no ;;
119052 # Check to see if 'darwin' or 'darwin-export' can win.
119053 if test x$enable_symvers = xdarwin-export ; then
119054 enable_symvers=darwin
119057 # Check to see if 'gnu' can win.
119058 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
119059 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
119060 echo "$as_me:$LINENO: checking for shared libgcc" >&5
119061 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
119062 ac_save_CFLAGS="$CFLAGS"
119063 CFLAGS=' -lgcc_s'
119064 if test x$gcc_no_link = xyes; then
119065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119067 { (exit 1); exit 1; }; }
119069 cat >conftest.$ac_ext <<_ACEOF
119070 /* confdefs.h. */
119071 _ACEOF
119072 cat confdefs.h >>conftest.$ac_ext
119073 cat >>conftest.$ac_ext <<_ACEOF
119074 /* end confdefs.h. */
119077 main ()
119079 return 0;
119081 return 0;
119083 _ACEOF
119084 rm -f conftest.$ac_objext conftest$ac_exeext
119085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119086 (eval $ac_link) 2>conftest.er1
119087 ac_status=$?
119088 grep -v '^ *+' conftest.er1 >conftest.err
119089 rm -f conftest.er1
119090 cat conftest.err >&5
119091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119092 (exit $ac_status); } &&
119093 { ac_try='test -z "$ac_c_werror_flag"
119094 || test ! -s conftest.err'
119095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119096 (eval $ac_try) 2>&5
119097 ac_status=$?
119098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119099 (exit $ac_status); }; } &&
119100 { ac_try='test -s conftest$ac_exeext'
119101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119102 (eval $ac_try) 2>&5
119103 ac_status=$?
119104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119105 (exit $ac_status); }; }; then
119106 glibcxx_shared_libgcc=yes
119108 echo "$as_me: failed program was:" >&5
119109 sed 's/^/| /' conftest.$ac_ext >&5
119111 glibcxx_shared_libgcc=no
119113 rm -f conftest.err conftest.$ac_objext \
119114 conftest$ac_exeext conftest.$ac_ext
119115 CFLAGS="$ac_save_CFLAGS"
119116 if test $glibcxx_shared_libgcc = no; then
119117 cat > conftest.c <<EOF
119118 int main (void) { return 0; }
119120 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
119121 -shared -shared-libgcc -o conftest.so \
119122 conftest.c -v 2>&1 >/dev/null \
119123 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
119124 rm -f conftest.c conftest.so
119125 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
119126 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
119127 if test x$gcc_no_link = xyes; then
119128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119130 { (exit 1); exit 1; }; }
119132 cat >conftest.$ac_ext <<_ACEOF
119133 /* confdefs.h. */
119134 _ACEOF
119135 cat confdefs.h >>conftest.$ac_ext
119136 cat >>conftest.$ac_ext <<_ACEOF
119137 /* end confdefs.h. */
119140 main ()
119142 return 0;
119144 return 0;
119146 _ACEOF
119147 rm -f conftest.$ac_objext conftest$ac_exeext
119148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119149 (eval $ac_link) 2>conftest.er1
119150 ac_status=$?
119151 grep -v '^ *+' conftest.er1 >conftest.err
119152 rm -f conftest.er1
119153 cat conftest.err >&5
119154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119155 (exit $ac_status); } &&
119156 { ac_try='test -z "$ac_c_werror_flag"
119157 || test ! -s conftest.err'
119158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119159 (eval $ac_try) 2>&5
119160 ac_status=$?
119161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119162 (exit $ac_status); }; } &&
119163 { ac_try='test -s conftest$ac_exeext'
119164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119165 (eval $ac_try) 2>&5
119166 ac_status=$?
119167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119168 (exit $ac_status); }; }; then
119169 glibcxx_shared_libgcc=yes
119171 echo "$as_me: failed program was:" >&5
119172 sed 's/^/| /' conftest.$ac_ext >&5
119175 rm -f conftest.err conftest.$ac_objext \
119176 conftest$ac_exeext conftest.$ac_ext
119177 CFLAGS="$ac_save_CFLAGS"
119180 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
119181 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
119183 # For GNU ld, we need at least this version. The format is described in
119184 # GLIBCXX_CHECK_LINKER_FEATURES above.
119185 glibcxx_min_gnu_ld_version=21400
119187 # If no shared libgcc, can't win.
119188 if test $glibcxx_shared_libgcc != yes; then
119189 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119190 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119191 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
119192 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
119193 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119194 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119195 enable_symvers=no
119196 elif test $with_gnu_ld != yes ; then
119197 # just fail for now
119198 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
119199 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
119200 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
119201 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
119202 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119203 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119204 enable_symvers=no
119205 elif test $glibcxx_ld_is_gold = yes ; then
119206 : All versions of gold support symbol versioning.
119207 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
119208 # The right tools, the right setup, but too old. Fallbacks?
119209 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
119210 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
119211 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
119212 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
119213 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
119214 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
119215 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
119216 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
119217 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
119218 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
119219 enable_symvers=no
119223 # Everything parsed; figure out what file to use.
119224 case $enable_symvers in
119226 SYMVER_FILE=config/abi/pre/none.ver
119229 SYMVER_FILE=config/abi/pre/gnu.ver
119231 cat >>confdefs.h <<\_ACEOF
119232 #define _GLIBCXX_SYMVER_GNU 1
119233 _ACEOF
119236 gnu-versioned-namespace)
119237 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
119239 cat >>confdefs.h <<\_ACEOF
119240 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
119241 _ACEOF
119244 darwin)
119245 SYMVER_FILE=config/abi/pre/gnu.ver
119247 cat >>confdefs.h <<\_ACEOF
119248 #define _GLIBCXX_SYMVER_DARWIN 1
119249 _ACEOF
119254 if test x$enable_symvers != xno ; then
119256 cat >>confdefs.h <<\_ACEOF
119257 #define _GLIBCXX_SYMVER 1
119258 _ACEOF
119268 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
119269 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119271 # Now, set up compatibility support, if any.
119272 # In addition, need this to deal with std::size_t mangling in
119273 # src/compatibility.cc. In a perfect world, could use
119274 # typeid(std::size_t).name()[0] to do direct substitution.
119275 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119276 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119277 ac_save_CFLAGS="$CFLAGS"
119278 CFLAGS="-Werror"
119279 cat >conftest.$ac_ext <<_ACEOF
119280 /* confdefs.h. */
119281 _ACEOF
119282 cat confdefs.h >>conftest.$ac_ext
119283 cat >>conftest.$ac_ext <<_ACEOF
119284 /* end confdefs.h. */
119287 main ()
119289 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119291 return 0;
119293 _ACEOF
119294 rm -f conftest.$ac_objext
119295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119296 (eval $ac_compile) 2>conftest.er1
119297 ac_status=$?
119298 grep -v '^ *+' conftest.er1 >conftest.err
119299 rm -f conftest.er1
119300 cat conftest.err >&5
119301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119302 (exit $ac_status); } &&
119303 { ac_try='test -z "$ac_c_werror_flag"
119304 || test ! -s conftest.err'
119305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119306 (eval $ac_try) 2>&5
119307 ac_status=$?
119308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119309 (exit $ac_status); }; } &&
119310 { ac_try='test -s conftest.$ac_objext'
119311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119312 (eval $ac_try) 2>&5
119313 ac_status=$?
119314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119315 (exit $ac_status); }; }; then
119316 glibcxx_size_t_is_i=yes
119318 echo "$as_me: failed program was:" >&5
119319 sed 's/^/| /' conftest.$ac_ext >&5
119321 glibcxx_size_t_is_i=no
119323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119324 CFLAGS=$ac_save_CFLAGS
119325 if test "$glibcxx_size_t_is_i" = yes; then
119327 cat >>confdefs.h <<\_ACEOF
119328 #define _GLIBCXX_SIZE_T_IS_UINT 1
119329 _ACEOF
119332 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119333 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119335 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119336 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119337 ac_save_CFLAGS="$CFLAGS"
119338 CFLAGS="-Werror"
119339 cat >conftest.$ac_ext <<_ACEOF
119340 /* confdefs.h. */
119341 _ACEOF
119342 cat confdefs.h >>conftest.$ac_ext
119343 cat >>conftest.$ac_ext <<_ACEOF
119344 /* end confdefs.h. */
119347 main ()
119349 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119351 return 0;
119353 _ACEOF
119354 rm -f conftest.$ac_objext
119355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119356 (eval $ac_compile) 2>conftest.er1
119357 ac_status=$?
119358 grep -v '^ *+' conftest.er1 >conftest.err
119359 rm -f conftest.er1
119360 cat conftest.err >&5
119361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119362 (exit $ac_status); } &&
119363 { ac_try='test -z "$ac_c_werror_flag"
119364 || test ! -s conftest.err'
119365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119366 (eval $ac_try) 2>&5
119367 ac_status=$?
119368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119369 (exit $ac_status); }; } &&
119370 { ac_try='test -s conftest.$ac_objext'
119371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119372 (eval $ac_try) 2>&5
119373 ac_status=$?
119374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119375 (exit $ac_status); }; }; then
119376 glibcxx_ptrdiff_t_is_i=yes
119378 echo "$as_me: failed program was:" >&5
119379 sed 's/^/| /' conftest.$ac_ext >&5
119381 glibcxx_ptrdiff_t_is_i=no
119383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119384 CFLAGS=$ac_save_CFLAGS
119385 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
119387 cat >>confdefs.h <<\_ACEOF
119388 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
119389 _ACEOF
119392 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
119393 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
119396 # Check whether --enable-visibility or --disable-visibility was given.
119397 if test "${enable_visibility+set}" = set; then
119398 enableval="$enable_visibility"
119400 case "$enableval" in
119401 yes|no) ;;
119402 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
119403 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
119404 { (exit 1); exit 1; }; } ;;
119408 enable_visibility=yes
119412 if test x$enable_visibility = xyes ; then
119413 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
119414 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
119415 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
119416 echo $ECHO_N "(cached) $ECHO_C" >&6
119419 save_CFLAGS="$CFLAGS"
119420 CFLAGS="$CFLAGS -Werror"
119421 cat >conftest.$ac_ext <<_ACEOF
119422 /* confdefs.h. */
119423 _ACEOF
119424 cat confdefs.h >>conftest.$ac_ext
119425 cat >>conftest.$ac_ext <<_ACEOF
119426 /* end confdefs.h. */
119427 void __attribute__((visibility("hidden"))) foo(void) { }
119429 main ()
119433 return 0;
119435 _ACEOF
119436 rm -f conftest.$ac_objext
119437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119438 (eval $ac_compile) 2>conftest.er1
119439 ac_status=$?
119440 grep -v '^ *+' conftest.er1 >conftest.err
119441 rm -f conftest.er1
119442 cat conftest.err >&5
119443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119444 (exit $ac_status); } &&
119445 { ac_try='test -z "$ac_c_werror_flag"
119446 || test ! -s conftest.err'
119447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119448 (eval $ac_try) 2>&5
119449 ac_status=$?
119450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119451 (exit $ac_status); }; } &&
119452 { ac_try='test -s conftest.$ac_objext'
119453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119454 (eval $ac_try) 2>&5
119455 ac_status=$?
119456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119457 (exit $ac_status); }; }; then
119458 glibcxx_cv_have_attribute_visibility=yes
119460 echo "$as_me: failed program was:" >&5
119461 sed 's/^/| /' conftest.$ac_ext >&5
119463 glibcxx_cv_have_attribute_visibility=no
119465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119466 CFLAGS="$save_CFLAGS"
119468 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
119469 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
119470 if test $glibcxx_cv_have_attribute_visibility = no; then
119471 enable_visibility=no
119476 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
119477 echo "$as_me: visibility supported: $enable_visibility" >&6;}
119480 ac_ldbl_compat=no
119481 case "$target" in
119482 powerpc*-*-linux* | \
119483 powerpc*-*-gnu* | \
119484 sparc*-*-linux* | \
119485 s390*-*-linux* | \
119486 alpha*-*-linux*)
119487 cat >conftest.$ac_ext <<_ACEOF
119488 /* confdefs.h. */
119489 _ACEOF
119490 cat confdefs.h >>conftest.$ac_ext
119491 cat >>conftest.$ac_ext <<_ACEOF
119492 /* end confdefs.h. */
119495 main ()
119498 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
119499 #error no need for long double compatibility
119500 #endif
119503 return 0;
119505 _ACEOF
119506 rm -f conftest.$ac_objext
119507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119508 (eval $ac_compile) 2>conftest.er1
119509 ac_status=$?
119510 grep -v '^ *+' conftest.er1 >conftest.err
119511 rm -f conftest.er1
119512 cat conftest.err >&5
119513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119514 (exit $ac_status); } &&
119515 { ac_try='test -z "$ac_c_werror_flag"
119516 || test ! -s conftest.err'
119517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119518 (eval $ac_try) 2>&5
119519 ac_status=$?
119520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119521 (exit $ac_status); }; } &&
119522 { ac_try='test -s conftest.$ac_objext'
119523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119524 (eval $ac_try) 2>&5
119525 ac_status=$?
119526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119527 (exit $ac_status); }; }; then
119528 ac_ldbl_compat=yes
119530 echo "$as_me: failed program was:" >&5
119531 sed 's/^/| /' conftest.$ac_ext >&5
119533 ac_ldbl_compat=no
119535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119536 if test "$ac_ldbl_compat" = yes; then
119538 cat >>confdefs.h <<\_ACEOF
119539 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
119540 _ACEOF
119542 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
119547 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
119549 if $GLIBCXX_IS_NATIVE ; then
119550 # Do checks for resource limit functions.
119552 setrlimit_have_headers=yes
119556 for ac_header in unistd.h sys/time.h sys/resource.h
119558 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
119559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119560 echo "$as_me:$LINENO: checking for $ac_header" >&5
119561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119563 echo $ECHO_N "(cached) $ECHO_C" >&6
119565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119568 # Is the header compilable?
119569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
119570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
119571 cat >conftest.$ac_ext <<_ACEOF
119572 /* confdefs.h. */
119573 _ACEOF
119574 cat confdefs.h >>conftest.$ac_ext
119575 cat >>conftest.$ac_ext <<_ACEOF
119576 /* end confdefs.h. */
119577 $ac_includes_default
119578 #include <$ac_header>
119579 _ACEOF
119580 rm -f conftest.$ac_objext
119581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119582 (eval $ac_compile) 2>conftest.er1
119583 ac_status=$?
119584 grep -v '^ *+' conftest.er1 >conftest.err
119585 rm -f conftest.er1
119586 cat conftest.err >&5
119587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119588 (exit $ac_status); } &&
119589 { ac_try='test -z "$ac_c_werror_flag"
119590 || test ! -s conftest.err'
119591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119592 (eval $ac_try) 2>&5
119593 ac_status=$?
119594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119595 (exit $ac_status); }; } &&
119596 { ac_try='test -s conftest.$ac_objext'
119597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119598 (eval $ac_try) 2>&5
119599 ac_status=$?
119600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119601 (exit $ac_status); }; }; then
119602 ac_header_compiler=yes
119604 echo "$as_me: failed program was:" >&5
119605 sed 's/^/| /' conftest.$ac_ext >&5
119607 ac_header_compiler=no
119609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
119611 echo "${ECHO_T}$ac_header_compiler" >&6
119613 # Is the header present?
119614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
119615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
119616 cat >conftest.$ac_ext <<_ACEOF
119617 /* confdefs.h. */
119618 _ACEOF
119619 cat confdefs.h >>conftest.$ac_ext
119620 cat >>conftest.$ac_ext <<_ACEOF
119621 /* end confdefs.h. */
119622 #include <$ac_header>
119623 _ACEOF
119624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
119625 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
119632 if test -s conftest.err; then
119633 ac_cpp_err=$ac_c_preproc_warn_flag
119634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
119636 ac_cpp_err=
119639 ac_cpp_err=yes
119641 if test -z "$ac_cpp_err"; then
119642 ac_header_preproc=yes
119644 echo "$as_me: failed program was:" >&5
119645 sed 's/^/| /' conftest.$ac_ext >&5
119647 ac_header_preproc=no
119649 rm -f conftest.err conftest.$ac_ext
119650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
119651 echo "${ECHO_T}$ac_header_preproc" >&6
119653 # So? What about this header?
119654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
119655 yes:no: )
119656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
119657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
119658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
119659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
119660 ac_header_preproc=yes
119662 no:yes:* )
119663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
119664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
119665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
119666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
119667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
119668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
119669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
119670 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
119671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
119672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
119673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
119674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
119676 cat <<\_ASBOX
119677 ## ----------------------------------------- ##
119678 ## Report this to the package-unused lists. ##
119679 ## ----------------------------------------- ##
119680 _ASBOX
119682 sed "s/^/$as_me: WARNING: /" >&2
119685 echo "$as_me:$LINENO: checking for $ac_header" >&5
119686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119688 echo $ECHO_N "(cached) $ECHO_C" >&6
119690 eval "$as_ac_Header=\$ac_header_preproc"
119692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
119697 cat >>confdefs.h <<_ACEOF
119698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
119699 _ACEOF
119702 setrlimit_have_headers=no
119707 # If don't have the headers, then we can't run the tests now, and we
119708 # won't be seeing any of these during testsuite compilation.
119709 if test $setrlimit_have_headers = yes; then
119710 # Can't do these in a loop, else the resulting syntax is wrong.
119712 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
119713 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119714 cat >conftest.$ac_ext <<_ACEOF
119715 /* confdefs.h. */
119716 _ACEOF
119717 cat confdefs.h >>conftest.$ac_ext
119718 cat >>conftest.$ac_ext <<_ACEOF
119719 /* end confdefs.h. */
119720 #include <unistd.h>
119721 #include <sys/time.h>
119722 #include <sys/resource.h>
119725 main ()
119727 int f = RLIMIT_DATA ;
119729 return 0;
119731 _ACEOF
119732 rm -f conftest.$ac_objext
119733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119734 (eval $ac_compile) 2>conftest.er1
119735 ac_status=$?
119736 grep -v '^ *+' conftest.er1 >conftest.err
119737 rm -f conftest.er1
119738 cat conftest.err >&5
119739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119740 (exit $ac_status); } &&
119741 { ac_try='test -z "$ac_c_werror_flag"
119742 || test ! -s conftest.err'
119743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119744 (eval $ac_try) 2>&5
119745 ac_status=$?
119746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119747 (exit $ac_status); }; } &&
119748 { ac_try='test -s conftest.$ac_objext'
119749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119750 (eval $ac_try) 2>&5
119751 ac_status=$?
119752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119753 (exit $ac_status); }; }; then
119754 glibcxx_mresult=1
119756 echo "$as_me: failed program was:" >&5
119757 sed 's/^/| /' conftest.$ac_ext >&5
119759 glibcxx_mresult=0
119761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119763 cat >>confdefs.h <<_ACEOF
119764 #define HAVE_LIMIT_DATA $glibcxx_mresult
119765 _ACEOF
119767 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119768 echo "$as_me:$LINENO: result: $res" >&5
119769 echo "${ECHO_T}$res" >&6
119772 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119773 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119774 cat >conftest.$ac_ext <<_ACEOF
119775 /* confdefs.h. */
119776 _ACEOF
119777 cat confdefs.h >>conftest.$ac_ext
119778 cat >>conftest.$ac_ext <<_ACEOF
119779 /* end confdefs.h. */
119780 #include <unistd.h>
119781 #include <sys/time.h>
119782 #include <sys/resource.h>
119785 main ()
119787 int f = RLIMIT_RSS ;
119789 return 0;
119791 _ACEOF
119792 rm -f conftest.$ac_objext
119793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119794 (eval $ac_compile) 2>conftest.er1
119795 ac_status=$?
119796 grep -v '^ *+' conftest.er1 >conftest.err
119797 rm -f conftest.er1
119798 cat conftest.err >&5
119799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119800 (exit $ac_status); } &&
119801 { ac_try='test -z "$ac_c_werror_flag"
119802 || test ! -s conftest.err'
119803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119804 (eval $ac_try) 2>&5
119805 ac_status=$?
119806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119807 (exit $ac_status); }; } &&
119808 { ac_try='test -s conftest.$ac_objext'
119809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119810 (eval $ac_try) 2>&5
119811 ac_status=$?
119812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119813 (exit $ac_status); }; }; then
119814 glibcxx_mresult=1
119816 echo "$as_me: failed program was:" >&5
119817 sed 's/^/| /' conftest.$ac_ext >&5
119819 glibcxx_mresult=0
119821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119823 cat >>confdefs.h <<_ACEOF
119824 #define HAVE_LIMIT_RSS $glibcxx_mresult
119825 _ACEOF
119827 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119828 echo "$as_me:$LINENO: result: $res" >&5
119829 echo "${ECHO_T}$res" >&6
119832 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
119833 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
119834 cat >conftest.$ac_ext <<_ACEOF
119835 /* confdefs.h. */
119836 _ACEOF
119837 cat confdefs.h >>conftest.$ac_ext
119838 cat >>conftest.$ac_ext <<_ACEOF
119839 /* end confdefs.h. */
119840 #include <unistd.h>
119841 #include <sys/time.h>
119842 #include <sys/resource.h>
119845 main ()
119847 int f = RLIMIT_VMEM ;
119849 return 0;
119851 _ACEOF
119852 rm -f conftest.$ac_objext
119853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119854 (eval $ac_compile) 2>conftest.er1
119855 ac_status=$?
119856 grep -v '^ *+' conftest.er1 >conftest.err
119857 rm -f conftest.er1
119858 cat conftest.err >&5
119859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119860 (exit $ac_status); } &&
119861 { ac_try='test -z "$ac_c_werror_flag"
119862 || test ! -s conftest.err'
119863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119864 (eval $ac_try) 2>&5
119865 ac_status=$?
119866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119867 (exit $ac_status); }; } &&
119868 { ac_try='test -s conftest.$ac_objext'
119869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119870 (eval $ac_try) 2>&5
119871 ac_status=$?
119872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119873 (exit $ac_status); }; }; then
119874 glibcxx_mresult=1
119876 echo "$as_me: failed program was:" >&5
119877 sed 's/^/| /' conftest.$ac_ext >&5
119879 glibcxx_mresult=0
119881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119883 cat >>confdefs.h <<_ACEOF
119884 #define HAVE_LIMIT_VMEM $glibcxx_mresult
119885 _ACEOF
119887 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119888 echo "$as_me:$LINENO: result: $res" >&5
119889 echo "${ECHO_T}$res" >&6
119892 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
119893 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
119894 cat >conftest.$ac_ext <<_ACEOF
119895 /* confdefs.h. */
119896 _ACEOF
119897 cat confdefs.h >>conftest.$ac_ext
119898 cat >>conftest.$ac_ext <<_ACEOF
119899 /* end confdefs.h. */
119900 #include <unistd.h>
119901 #include <sys/time.h>
119902 #include <sys/resource.h>
119905 main ()
119907 int f = RLIMIT_AS ;
119909 return 0;
119911 _ACEOF
119912 rm -f conftest.$ac_objext
119913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119914 (eval $ac_compile) 2>conftest.er1
119915 ac_status=$?
119916 grep -v '^ *+' conftest.er1 >conftest.err
119917 rm -f conftest.er1
119918 cat conftest.err >&5
119919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119920 (exit $ac_status); } &&
119921 { ac_try='test -z "$ac_c_werror_flag"
119922 || test ! -s conftest.err'
119923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119924 (eval $ac_try) 2>&5
119925 ac_status=$?
119926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119927 (exit $ac_status); }; } &&
119928 { ac_try='test -s conftest.$ac_objext'
119929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119930 (eval $ac_try) 2>&5
119931 ac_status=$?
119932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119933 (exit $ac_status); }; }; then
119934 glibcxx_mresult=1
119936 echo "$as_me: failed program was:" >&5
119937 sed 's/^/| /' conftest.$ac_ext >&5
119939 glibcxx_mresult=0
119941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119943 cat >>confdefs.h <<_ACEOF
119944 #define HAVE_LIMIT_AS $glibcxx_mresult
119945 _ACEOF
119947 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119948 echo "$as_me:$LINENO: result: $res" >&5
119949 echo "${ECHO_T}$res" >&6
119952 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
119953 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
119954 cat >conftest.$ac_ext <<_ACEOF
119955 /* confdefs.h. */
119956 _ACEOF
119957 cat confdefs.h >>conftest.$ac_ext
119958 cat >>conftest.$ac_ext <<_ACEOF
119959 /* end confdefs.h. */
119960 #include <unistd.h>
119961 #include <sys/time.h>
119962 #include <sys/resource.h>
119965 main ()
119967 int f = RLIMIT_FSIZE ;
119969 return 0;
119971 _ACEOF
119972 rm -f conftest.$ac_objext
119973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119974 (eval $ac_compile) 2>conftest.er1
119975 ac_status=$?
119976 grep -v '^ *+' conftest.er1 >conftest.err
119977 rm -f conftest.er1
119978 cat conftest.err >&5
119979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119980 (exit $ac_status); } &&
119981 { ac_try='test -z "$ac_c_werror_flag"
119982 || test ! -s conftest.err'
119983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119984 (eval $ac_try) 2>&5
119985 ac_status=$?
119986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119987 (exit $ac_status); }; } &&
119988 { ac_try='test -s conftest.$ac_objext'
119989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119990 (eval $ac_try) 2>&5
119991 ac_status=$?
119992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119993 (exit $ac_status); }; }; then
119994 glibcxx_mresult=1
119996 echo "$as_me: failed program was:" >&5
119997 sed 's/^/| /' conftest.$ac_ext >&5
119999 glibcxx_mresult=0
120001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120003 cat >>confdefs.h <<_ACEOF
120004 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120005 _ACEOF
120007 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120008 echo "$as_me:$LINENO: result: $res" >&5
120009 echo "${ECHO_T}$res" >&6
120012 # Check for rlimit, setrlimit.
120013 if test "${glibcxx_cv_setrlimit+set}" = set; then
120014 echo $ECHO_N "(cached) $ECHO_C" >&6
120017 cat >conftest.$ac_ext <<_ACEOF
120018 /* confdefs.h. */
120019 _ACEOF
120020 cat confdefs.h >>conftest.$ac_ext
120021 cat >>conftest.$ac_ext <<_ACEOF
120022 /* end confdefs.h. */
120023 #include <unistd.h>
120024 #include <sys/time.h>
120025 #include <sys/resource.h>
120028 main ()
120030 struct rlimit r;
120031 setrlimit(0, &r);
120033 return 0;
120035 _ACEOF
120036 rm -f conftest.$ac_objext
120037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120038 (eval $ac_compile) 2>conftest.er1
120039 ac_status=$?
120040 grep -v '^ *+' conftest.er1 >conftest.err
120041 rm -f conftest.er1
120042 cat conftest.err >&5
120043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120044 (exit $ac_status); } &&
120045 { ac_try='test -z "$ac_c_werror_flag"
120046 || test ! -s conftest.err'
120047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120048 (eval $ac_try) 2>&5
120049 ac_status=$?
120050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120051 (exit $ac_status); }; } &&
120052 { ac_try='test -s conftest.$ac_objext'
120053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120054 (eval $ac_try) 2>&5
120055 ac_status=$?
120056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120057 (exit $ac_status); }; }; then
120058 glibcxx_cv_setrlimit=yes
120060 echo "$as_me: failed program was:" >&5
120061 sed 's/^/| /' conftest.$ac_ext >&5
120063 glibcxx_cv_setrlimit=no
120065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120071 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
120072 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
120073 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
120074 ac_res_limits=yes
120076 cat >>confdefs.h <<\_ACEOF
120077 #define _GLIBCXX_RES_LIMITS 1
120078 _ACEOF
120081 ac_res_limits=no
120083 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
120084 echo "${ECHO_T}$ac_res_limits" >&6
120087 # Look for setenv, so that extended locale tests can be performed.
120089 echo "$as_me:$LINENO: checking for setenv declaration" >&5
120090 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
120091 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
120092 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
120093 echo $ECHO_N "(cached) $ECHO_C" >&6
120098 ac_ext=cc
120099 ac_cpp='$CXXCPP $CPPFLAGS'
120100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120104 cat >conftest.$ac_ext <<_ACEOF
120105 /* confdefs.h. */
120106 _ACEOF
120107 cat confdefs.h >>conftest.$ac_ext
120108 cat >>conftest.$ac_ext <<_ACEOF
120109 /* end confdefs.h. */
120110 #include <stdlib.h>
120112 main ()
120114 setenv(0, 0, 0);
120116 return 0;
120118 _ACEOF
120119 rm -f conftest.$ac_objext
120120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120121 (eval $ac_compile) 2>conftest.er1
120122 ac_status=$?
120123 grep -v '^ *+' conftest.er1 >conftest.err
120124 rm -f conftest.er1
120125 cat conftest.err >&5
120126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120127 (exit $ac_status); } &&
120128 { ac_try='test -z "$ac_cxx_werror_flag"
120129 || test ! -s conftest.err'
120130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120131 (eval $ac_try) 2>&5
120132 ac_status=$?
120133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120134 (exit $ac_status); }; } &&
120135 { ac_try='test -s conftest.$ac_objext'
120136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120137 (eval $ac_try) 2>&5
120138 ac_status=$?
120139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120140 (exit $ac_status); }; }; then
120141 glibcxx_cv_func_setenv_use=yes
120143 echo "$as_me: failed program was:" >&5
120144 sed 's/^/| /' conftest.$ac_ext >&5
120146 glibcxx_cv_func_setenv_use=no
120148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120149 ac_ext=c
120150 ac_cpp='$CPP $CPPFLAGS'
120151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
120160 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
120161 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
120163 for ac_func in setenv
120165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120166 echo "$as_me:$LINENO: checking for $ac_func" >&5
120167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120168 if eval "test \"\${$as_ac_var+set}\" = set"; then
120169 echo $ECHO_N "(cached) $ECHO_C" >&6
120171 if test x$gcc_no_link = xyes; then
120172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120174 { (exit 1); exit 1; }; }
120176 cat >conftest.$ac_ext <<_ACEOF
120177 /* confdefs.h. */
120178 _ACEOF
120179 cat confdefs.h >>conftest.$ac_ext
120180 cat >>conftest.$ac_ext <<_ACEOF
120181 /* end confdefs.h. */
120182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120184 #define $ac_func innocuous_$ac_func
120186 /* System header to define __stub macros and hopefully few prototypes,
120187 which can conflict with char $ac_func (); below.
120188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120189 <limits.h> exists even on freestanding compilers. */
120191 #ifdef __STDC__
120192 # include <limits.h>
120193 #else
120194 # include <assert.h>
120195 #endif
120197 #undef $ac_func
120199 /* Override any gcc2 internal prototype to avoid an error. */
120200 #ifdef __cplusplus
120201 extern "C"
120203 #endif
120204 /* We use char because int might match the return type of a gcc2
120205 builtin and then its argument prototype would still apply. */
120206 char $ac_func ();
120207 /* The GNU C library defines this for functions which it implements
120208 to always fail with ENOSYS. Some functions are actually named
120209 something starting with __ and the normal name is an alias. */
120210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120211 choke me
120212 #else
120213 char (*f) () = $ac_func;
120214 #endif
120215 #ifdef __cplusplus
120217 #endif
120220 main ()
120222 return f != $ac_func;
120224 return 0;
120226 _ACEOF
120227 rm -f conftest.$ac_objext conftest$ac_exeext
120228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120229 (eval $ac_link) 2>conftest.er1
120230 ac_status=$?
120231 grep -v '^ *+' conftest.er1 >conftest.err
120232 rm -f conftest.er1
120233 cat conftest.err >&5
120234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120235 (exit $ac_status); } &&
120236 { ac_try='test -z "$ac_c_werror_flag"
120237 || test ! -s conftest.err'
120238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120239 (eval $ac_try) 2>&5
120240 ac_status=$?
120241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120242 (exit $ac_status); }; } &&
120243 { ac_try='test -s conftest$ac_exeext'
120244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120245 (eval $ac_try) 2>&5
120246 ac_status=$?
120247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120248 (exit $ac_status); }; }; then
120249 eval "$as_ac_var=yes"
120251 echo "$as_me: failed program was:" >&5
120252 sed 's/^/| /' conftest.$ac_ext >&5
120254 eval "$as_ac_var=no"
120256 rm -f conftest.err conftest.$ac_objext \
120257 conftest$ac_exeext conftest.$ac_ext
120259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120261 if test `eval echo '${'$as_ac_var'}'` = yes; then
120262 cat >>confdefs.h <<_ACEOF
120263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120264 _ACEOF
120273 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120274 test $enable_symvers != no; then
120275 case "$host" in
120276 *-*-cygwin*)
120277 enable_abi_check=no ;;
120279 enable_abi_check=yes ;;
120282 # Only build this as native, since automake does not understand
120283 # CXX_FOR_BUILD.
120284 enable_abi_check=no
120287 # Export file names for ABI checking.
120288 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120292 # Propagate the target-specific source directories through the build chain.
120293 ATOMICITY_SRCDIR=config/${atomicity_dir}
120294 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120295 ATOMIC_FLAGS=${atomic_flags}
120296 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120297 OS_INC_SRCDIR=config/${os_include_dir}
120298 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120299 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120309 # Determine cross-compile flags and AM_CONDITIONALs.
120310 #AC_SUBST(GLIBCXX_IS_NATIVE)
120311 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120312 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120313 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
120316 if test $is_hosted = yes; then
120317 GLIBCXX_HOSTED_TRUE=
120318 GLIBCXX_HOSTED_FALSE='#'
120320 GLIBCXX_HOSTED_TRUE='#'
120321 GLIBCXX_HOSTED_FALSE=
120327 if test $enable_libstdcxx_pch = yes; then
120328 GLIBCXX_BUILD_PCH_TRUE=
120329 GLIBCXX_BUILD_PCH_FALSE='#'
120331 GLIBCXX_BUILD_PCH_TRUE='#'
120332 GLIBCXX_BUILD_PCH_FALSE=
120338 if test $enable_cheaders = c; then
120339 GLIBCXX_C_HEADERS_C_TRUE=
120340 GLIBCXX_C_HEADERS_C_FALSE='#'
120342 GLIBCXX_C_HEADERS_C_TRUE='#'
120343 GLIBCXX_C_HEADERS_C_FALSE=
120349 if test $enable_cheaders = c_std; then
120350 GLIBCXX_C_HEADERS_C_STD_TRUE=
120351 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120353 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120354 GLIBCXX_C_HEADERS_C_STD_FALSE=
120360 if test $enable_cheaders = c_global; then
120361 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120362 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120364 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120365 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120371 if test $c_compatibility = yes; then
120372 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120373 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120375 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120376 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120382 if test $c_extra = yes; then
120383 GLIBCXX_C_HEADERS_EXTRA_TRUE=
120384 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
120386 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
120387 GLIBCXX_C_HEADERS_EXTRA_FALSE=
120393 if test $enable_libstdcxx_debug = yes; then
120394 GLIBCXX_BUILD_DEBUG_TRUE=
120395 GLIBCXX_BUILD_DEBUG_FALSE='#'
120397 GLIBCXX_BUILD_DEBUG_TRUE='#'
120398 GLIBCXX_BUILD_DEBUG_FALSE=
120404 if test $enable_parallel = yes; then
120405 ENABLE_PARALLEL_TRUE=
120406 ENABLE_PARALLEL_FALSE='#'
120408 ENABLE_PARALLEL_TRUE='#'
120409 ENABLE_PARALLEL_FALSE=
120415 if test $enable_symvers != no; then
120416 ENABLE_SYMVERS_TRUE=
120417 ENABLE_SYMVERS_FALSE='#'
120419 ENABLE_SYMVERS_TRUE='#'
120420 ENABLE_SYMVERS_FALSE=
120426 if test $enable_symvers = gnu; then
120427 ENABLE_SYMVERS_GNU_TRUE=
120428 ENABLE_SYMVERS_GNU_FALSE='#'
120430 ENABLE_SYMVERS_GNU_TRUE='#'
120431 ENABLE_SYMVERS_GNU_FALSE=
120437 if test $enable_symvers = gnu-versioned-namespace; then
120438 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
120439 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
120441 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
120442 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
120448 if test $enable_symvers = darwin; then
120449 ENABLE_SYMVERS_DARWIN_TRUE=
120450 ENABLE_SYMVERS_DARWIN_FALSE='#'
120452 ENABLE_SYMVERS_DARWIN_TRUE='#'
120453 ENABLE_SYMVERS_DARWIN_FALSE=
120459 if test $enable_visibility = yes; then
120460 ENABLE_VISIBILITY_TRUE=
120461 ENABLE_VISIBILITY_FALSE='#'
120463 ENABLE_VISIBILITY_TRUE='#'
120464 ENABLE_VISIBILITY_FALSE=
120470 if test $ac_ldbl_compat = yes; then
120471 GLIBCXX_LDBL_COMPAT_TRUE=
120472 GLIBCXX_LDBL_COMPAT_FALSE='#'
120474 GLIBCXX_LDBL_COMPAT_TRUE='#'
120475 GLIBCXX_LDBL_COMPAT_FALSE=
120481 cat >confcache <<\_ACEOF
120482 # This file is a shell script that caches the results of configure
120483 # tests run on this system so they can be shared between configure
120484 # scripts and configure runs, see configure's option --config-cache.
120485 # It is not useful on other systems. If it contains results you don't
120486 # want to keep, you may remove or edit it.
120488 # config.status only pays attention to the cache file if you give it
120489 # the --recheck option to rerun configure.
120491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120493 # following values.
120495 _ACEOF
120497 # The following way of writing the cache mishandles newlines in values,
120498 # but we know of no workaround that is simple, portable, and efficient.
120499 # So, don't put newlines in cache variables' values.
120500 # Ultrix sh set writes to stderr and can't be redirected directly,
120501 # and sets the high bit in the cache file unless we assign to the vars.
120503 (set) 2>&1 |
120504 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120505 *ac_space=\ *)
120506 # `set' does not quote correctly, so add quotes (double-quote
120507 # substitution turns \\\\ into \\, and sed turns \\ into \).
120508 sed -n \
120509 "s/'/'\\\\''/g;
120510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120513 # `set' quotes correctly as required by POSIX, so do not add quotes.
120514 sed -n \
120515 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120517 esac;
120519 sed '
120520 t clear
120521 : clear
120522 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120523 t end
120524 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120525 : end' >>confcache
120526 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120527 if test -w $cache_file; then
120528 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120529 cat confcache >$cache_file
120531 echo "not updating unwritable cache $cache_file"
120534 rm -f confcache
120536 if test ${multilib} = yes; then
120537 multilib_arg="--enable-multilib"
120539 multilib_arg=
120542 # Export all the install information.
120544 glibcxx_toolexecdir=no
120545 glibcxx_toolexeclibdir=no
120546 glibcxx_prefixdir=$prefix
120548 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
120549 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
120551 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
120552 if test "${with_gxx_include_dir+set}" = set; then
120553 withval="$with_gxx_include_dir"
120554 case "$withval" in
120555 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
120556 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
120557 { (exit 1); exit 1; }; } ;;
120558 no) gxx_include_dir=no ;;
120559 *) gxx_include_dir=$withval ;;
120562 gxx_include_dir=no
120564 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120565 echo "${ECHO_T}$gxx_include_dir" >&6
120567 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
120568 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
120569 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
120570 if test "${enable_version_specific_runtime_libs+set}" = set; then
120571 enableval="$enable_version_specific_runtime_libs"
120572 case "$enableval" in
120573 yes) version_specific_libs=yes ;;
120574 no) version_specific_libs=no ;;
120575 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
120576 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
120577 { (exit 1); exit 1; }; };;
120580 version_specific_libs=no
120582 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
120583 echo "${ECHO_T}$version_specific_libs" >&6
120585 # Default case for install directory for include files.
120586 if test $version_specific_libs = no && test $gxx_include_dir = no; then
120587 gxx_include_dir='include/c++/${gcc_version}'
120588 if test -n "$with_cross_host" &&
120589 test x"$with_cross_host" != x"no"; then
120590 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
120592 gxx_include_dir='${prefix}/'"$gxx_include_dir"
120596 # Version-specific runtime libs processing.
120597 if test $version_specific_libs = yes; then
120598 # Need the gcc compiler version to know where to install libraries
120599 # and header files if --enable-version-specific-runtime-libs option
120600 # is selected. FIXME: these variables are misnamed, there are
120601 # no executables installed in _toolexecdir or _toolexeclibdir.
120602 if test x"$gxx_include_dir" = x"no"; then
120603 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
120605 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120606 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
120609 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
120610 # Install a library built with a cross compiler in tooldir, not libdir.
120611 if test x"$glibcxx_toolexecdir" = x"no"; then
120612 if test -n "$with_cross_host" &&
120613 test x"$with_cross_host" != x"no"; then
120614 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
120615 glibcxx_toolexeclibdir='${toolexecdir}/lib'
120617 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120618 glibcxx_toolexeclibdir='${libdir}'
120620 multi_os_directory=`$CXX -print-multi-os-directory`
120621 case $multi_os_directory in
120622 .) ;; # Avoid trailing /.
120623 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
120627 echo "$as_me:$LINENO: checking for install location" >&5
120628 echo $ECHO_N "checking for install location... $ECHO_C" >&6
120629 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120630 echo "${ECHO_T}$gxx_include_dir" >&6
120638 # Export all the include and flag information to Makefiles.
120640 # Used for every C++ compile we perform.
120641 GLIBCXX_INCLUDES="\
120642 -I$glibcxx_builddir/include/$host_alias \
120643 -I$glibcxx_builddir/include \
120644 -I$glibcxx_srcdir/libsupc++"
120646 # For Canadian crosses, pick this up too.
120647 if test $CANADIAN = yes; then
120648 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
120651 # Stuff in the actual top level. Currently only used by libsupc++ to
120652 # get unwind* headers from the gcc dir.
120653 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
120654 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
120656 # Now, export this to all the little Makefiles....
120661 # Optimization flags that are probably a good idea for thrill-seekers. Just
120662 # uncomment the lines below and make, everything else is ready to go...
120663 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
120664 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
120667 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
120671 if test "$enable_shared" = yes; then
120672 LIBSUPCXX_PICFLAGS="-prefer-pic"
120674 LIBSUPCXX_PICFLAGS=
120678 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
120680 ac_config_files="$ac_config_files scripts/testsuite_flags"
120683 ac_config_commands="$ac_config_commands default"
120686 cat >confcache <<\_ACEOF
120687 # This file is a shell script that caches the results of configure
120688 # tests run on this system so they can be shared between configure
120689 # scripts and configure runs, see configure's option --config-cache.
120690 # It is not useful on other systems. If it contains results you don't
120691 # want to keep, you may remove or edit it.
120693 # config.status only pays attention to the cache file if you give it
120694 # the --recheck option to rerun configure.
120696 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120697 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120698 # following values.
120700 _ACEOF
120702 # The following way of writing the cache mishandles newlines in values,
120703 # but we know of no workaround that is simple, portable, and efficient.
120704 # So, don't put newlines in cache variables' values.
120705 # Ultrix sh set writes to stderr and can't be redirected directly,
120706 # and sets the high bit in the cache file unless we assign to the vars.
120708 (set) 2>&1 |
120709 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120710 *ac_space=\ *)
120711 # `set' does not quote correctly, so add quotes (double-quote
120712 # substitution turns \\\\ into \\, and sed turns \\ into \).
120713 sed -n \
120714 "s/'/'\\\\''/g;
120715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120718 # `set' quotes correctly as required by POSIX, so do not add quotes.
120719 sed -n \
120720 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120722 esac;
120724 sed '
120725 t clear
120726 : clear
120727 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120728 t end
120729 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120730 : end' >>confcache
120731 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120732 if test -w $cache_file; then
120733 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120734 cat confcache >$cache_file
120736 echo "not updating unwritable cache $cache_file"
120739 rm -f confcache
120741 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120742 # Let make expand exec_prefix.
120743 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120745 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120746 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120747 # trailing colons and then remove the whole line if VPATH becomes empty
120748 # (actually we leave an empty line to preserve line numbers).
120749 if test "x$srcdir" = x.; then
120750 ac_vpsub='/^[ ]*VPATH[ ]*=/{
120751 s/:*\$(srcdir):*/:/;
120752 s/:*\${srcdir}:*/:/;
120753 s/:*@srcdir@:*/:/;
120754 s/^\([^=]*=[ ]*\):*/\1/;
120755 s/:*$//;
120756 s/^[^=]*=[ ]*$//;
120760 DEFS=-DHAVE_CONFIG_H
120762 ac_libobjs=
120763 ac_ltlibobjs=
120764 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120765 # 1. Remove the extension, and $U if already installed.
120766 ac_i=`echo "$ac_i" |
120767 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120768 # 2. Add them.
120769 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120770 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120772 LIBOBJS=$ac_libobjs
120774 LTLIBOBJS=$ac_ltlibobjs
120777 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120778 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120779 Usually this means the macro was only invoked conditionally." >&5
120780 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120781 Usually this means the macro was only invoked conditionally." >&2;}
120782 { (exit 1); exit 1; }; }
120784 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120785 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120786 Usually this means the macro was only invoked conditionally." >&5
120787 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120788 Usually this means the macro was only invoked conditionally." >&2;}
120789 { (exit 1); exit 1; }; }
120791 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120792 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120793 Usually this means the macro was only invoked conditionally." >&5
120794 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120795 Usually this means the macro was only invoked conditionally." >&2;}
120796 { (exit 1); exit 1; }; }
120798 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120799 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120800 Usually this means the macro was only invoked conditionally." >&5
120801 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120802 Usually this means the macro was only invoked conditionally." >&2;}
120803 { (exit 1); exit 1; }; }
120805 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120806 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120807 Usually this means the macro was only invoked conditionally." >&5
120808 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120809 Usually this means the macro was only invoked conditionally." >&2;}
120810 { (exit 1); exit 1; }; }
120812 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
120813 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120814 Usually this means the macro was only invoked conditionally." >&5
120815 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120816 Usually this means the macro was only invoked conditionally." >&2;}
120817 { (exit 1); exit 1; }; }
120819 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
120820 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120821 Usually this means the macro was only invoked conditionally." >&5
120822 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120823 Usually this means the macro was only invoked conditionally." >&2;}
120824 { (exit 1); exit 1; }; }
120826 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
120827 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120828 Usually this means the macro was only invoked conditionally." >&5
120829 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120830 Usually this means the macro was only invoked conditionally." >&2;}
120831 { (exit 1); exit 1; }; }
120833 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
120834 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120835 Usually this means the macro was only invoked conditionally." >&5
120836 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120837 Usually this means the macro was only invoked conditionally." >&2;}
120838 { (exit 1); exit 1; }; }
120840 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
120841 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
120842 Usually this means the macro was only invoked conditionally." >&5
120843 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
120844 Usually this means the macro was only invoked conditionally." >&2;}
120845 { (exit 1); exit 1; }; }
120847 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
120848 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
120849 Usually this means the macro was only invoked conditionally." >&5
120850 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
120851 Usually this means the macro was only invoked conditionally." >&2;}
120852 { (exit 1); exit 1; }; }
120854 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
120855 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120856 Usually this means the macro was only invoked conditionally." >&5
120857 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120858 Usually this means the macro was only invoked conditionally." >&2;}
120859 { (exit 1); exit 1; }; }
120861 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
120862 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120863 Usually this means the macro was only invoked conditionally." >&5
120864 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120865 Usually this means the macro was only invoked conditionally." >&2;}
120866 { (exit 1); exit 1; }; }
120868 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
120869 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120870 Usually this means the macro was only invoked conditionally." >&5
120871 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120872 Usually this means the macro was only invoked conditionally." >&2;}
120873 { (exit 1); exit 1; }; }
120875 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
120876 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120877 Usually this means the macro was only invoked conditionally." >&5
120878 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120879 Usually this means the macro was only invoked conditionally." >&2;}
120880 { (exit 1); exit 1; }; }
120882 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
120883 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120884 Usually this means the macro was only invoked conditionally." >&5
120885 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120886 Usually this means the macro was only invoked conditionally." >&2;}
120887 { (exit 1); exit 1; }; }
120890 : ${CONFIG_STATUS=./config.status}
120891 ac_clean_files_save=$ac_clean_files
120892 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
120893 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
120894 echo "$as_me: creating $CONFIG_STATUS" >&6;}
120895 cat >$CONFIG_STATUS <<_ACEOF
120896 #! $SHELL
120897 # Generated by $as_me.
120898 # Run this file to recreate the current configuration.
120899 # Compiler output produced by configure, useful for debugging
120900 # configure, is in config.log if it exists.
120902 debug=false
120903 ac_cs_recheck=false
120904 ac_cs_silent=false
120905 SHELL=\${CONFIG_SHELL-$SHELL}
120906 _ACEOF
120908 cat >>$CONFIG_STATUS <<\_ACEOF
120909 ## --------------------- ##
120910 ## M4sh Initialization. ##
120911 ## --------------------- ##
120913 # Be Bourne compatible
120914 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
120915 emulate sh
120916 NULLCMD=:
120917 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
120918 # is contrary to our usage. Disable this feature.
120919 alias -g '${1+"$@"}'='"$@"'
120920 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
120921 set -o posix
120923 DUALCASE=1; export DUALCASE # for MKS sh
120925 # Support unset when possible.
120926 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
120927 as_unset=unset
120929 as_unset=false
120933 # Work around bugs in pre-3.0 UWIN ksh.
120934 $as_unset ENV MAIL MAILPATH
120935 PS1='$ '
120936 PS2='> '
120937 PS4='+ '
120939 # NLS nuisances.
120940 for as_var in \
120941 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
120942 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120943 LC_TELEPHONE LC_TIME
120945 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
120946 eval $as_var=C; export $as_var
120948 $as_unset $as_var
120952 # Required to use basename.
120953 if expr a : '\(a\)' >/dev/null 2>&1; then
120954 as_expr=expr
120956 as_expr=false
120959 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
120960 as_basename=basename
120962 as_basename=false
120966 # Name of the executable.
120967 as_me=`$as_basename "$0" ||
120968 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120969 X"$0" : 'X\(//\)$' \| \
120970 X"$0" : 'X\(/\)$' \| \
120971 . : '\(.\)' 2>/dev/null ||
120972 echo X/"$0" |
120973 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
120974 /^X\/\(\/\/\)$/{ s//\1/; q; }
120975 /^X\/\(\/\).*/{ s//\1/; q; }
120976 s/.*/./; q'`
120979 # PATH needs CR, and LINENO needs CR and PATH.
120980 # Avoid depending upon Character Ranges.
120981 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
120982 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
120983 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
120984 as_cr_digits='0123456789'
120985 as_cr_alnum=$as_cr_Letters$as_cr_digits
120987 # The user is always right.
120988 if test "${PATH_SEPARATOR+set}" != set; then
120989 echo "#! /bin/sh" >conf$$.sh
120990 echo "exit 0" >>conf$$.sh
120991 chmod +x conf$$.sh
120992 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
120993 PATH_SEPARATOR=';'
120995 PATH_SEPARATOR=:
120997 rm -f conf$$.sh
121001 as_lineno_1=$LINENO
121002 as_lineno_2=$LINENO
121003 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121004 test "x$as_lineno_1" != "x$as_lineno_2" &&
121005 test "x$as_lineno_3" = "x$as_lineno_2" || {
121006 # Find who we are. Look in the path if we contain no path at all
121007 # relative or not.
121008 case $0 in
121009 *[\\/]* ) as_myself=$0 ;;
121010 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121011 for as_dir in $PATH
121013 IFS=$as_save_IFS
121014 test -z "$as_dir" && as_dir=.
121015 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121020 # We did not find ourselves, most probably we were run as `sh COMMAND'
121021 # in which case we are not to be found in the path.
121022 if test "x$as_myself" = x; then
121023 as_myself=$0
121025 if test ! -f "$as_myself"; then
121026 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
121027 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
121028 { (exit 1); exit 1; }; }
121030 case $CONFIG_SHELL in
121032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121033 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
121035 IFS=$as_save_IFS
121036 test -z "$as_dir" && as_dir=.
121037 for as_base in sh bash ksh sh5; do
121038 case $as_dir in
121040 if ("$as_dir/$as_base" -c '
121041 as_lineno_1=$LINENO
121042 as_lineno_2=$LINENO
121043 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121044 test "x$as_lineno_1" != "x$as_lineno_2" &&
121045 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
121046 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
121047 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
121048 CONFIG_SHELL=$as_dir/$as_base
121049 export CONFIG_SHELL
121050 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
121058 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
121059 # uniformly replaced by the line number. The first 'sed' inserts a
121060 # line-number line before each line; the second 'sed' does the real
121061 # work. The second script uses 'N' to pair each line-number line
121062 # with the numbered line, and appends trailing '-' during
121063 # substitution so that $LINENO is not a special case at line end.
121064 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
121065 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
121066 sed '=' <$as_myself |
121067 sed '
121069 s,$,-,
121070 : loop
121071 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
121072 t loop
121073 s,-$,,
121074 s,^['$as_cr_digits']*\n,,
121075 ' >$as_me.lineno &&
121076 chmod +x $as_me.lineno ||
121077 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
121078 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
121079 { (exit 1); exit 1; }; }
121081 # Don't try to exec as it changes $[0], causing all sort of problems
121082 # (the dirname of $[0] is not the place where we might find the
121083 # original and so on. Autoconf is especially sensible to this).
121084 . ./$as_me.lineno
121085 # Exit status is that of the last command.
121090 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
121091 *c*,-n*) ECHO_N= ECHO_C='
121092 ' ECHO_T=' ' ;;
121093 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
121094 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
121097 if expr a : '\(a\)' >/dev/null 2>&1; then
121098 as_expr=expr
121100 as_expr=false
121103 rm -f conf$$ conf$$.exe conf$$.file
121104 echo >conf$$.file
121105 if ln -s conf$$.file conf$$ 2>/dev/null; then
121106 # We could just check for DJGPP; but this test a) works b) is more generic
121107 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
121108 if test -f conf$$.exe; then
121109 # Don't use ln at all; we don't have any links
121110 as_ln_s='cp -p'
121112 as_ln_s='ln -s'
121114 elif ln conf$$.file conf$$ 2>/dev/null; then
121115 as_ln_s=ln
121117 as_ln_s='cp -p'
121119 rm -f conf$$ conf$$.exe conf$$.file
121121 if mkdir -p . 2>/dev/null; then
121122 as_mkdir_p=:
121124 test -d ./-p && rmdir ./-p
121125 as_mkdir_p=false
121128 as_executable_p="test -f"
121130 # Sed expression to map a string onto a valid CPP name.
121131 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
121133 # Sed expression to map a string onto a valid variable name.
121134 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
121137 # IFS
121138 # We need space, tab and new line, in precisely that order.
121139 as_nl='
121141 IFS=" $as_nl"
121143 # CDPATH.
121144 $as_unset CDPATH
121146 exec 6>&1
121148 # Open the log real soon, to keep \$[0] and so on meaningful, and to
121149 # report actual input values of CONFIG_FILES etc. instead of their
121150 # values after options handling. Logging --version etc. is OK.
121151 exec 5>>config.log
121154 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
121155 ## Running $as_me. ##
121156 _ASBOX
121157 } >&5
121158 cat >&5 <<_CSEOF
121160 This file was extended by package-unused $as_me version-unused, which was
121161 generated by GNU Autoconf 2.59. Invocation command line was
121163 CONFIG_FILES = $CONFIG_FILES
121164 CONFIG_HEADERS = $CONFIG_HEADERS
121165 CONFIG_LINKS = $CONFIG_LINKS
121166 CONFIG_COMMANDS = $CONFIG_COMMANDS
121167 $ $0 $@
121169 _CSEOF
121170 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
121171 echo >&5
121172 _ACEOF
121174 # Files that config.status was made for.
121175 if test -n "$ac_config_files"; then
121176 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
121179 if test -n "$ac_config_headers"; then
121180 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
121183 if test -n "$ac_config_links"; then
121184 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
121187 if test -n "$ac_config_commands"; then
121188 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
121191 cat >>$CONFIG_STATUS <<\_ACEOF
121193 ac_cs_usage="\
121194 \`$as_me' instantiates files from templates according to the
121195 current configuration.
121197 Usage: $0 [OPTIONS] [FILE]...
121199 -h, --help print this help, then exit
121200 -V, --version print version number, then exit
121201 -q, --quiet do not print progress messages
121202 -d, --debug don't remove temporary files
121203 --recheck update $as_me by reconfiguring in the same conditions
121204 --file=FILE[:TEMPLATE]
121205 instantiate the configuration file FILE
121206 --header=FILE[:TEMPLATE]
121207 instantiate the configuration header FILE
121209 Configuration files:
121210 $config_files
121212 Configuration headers:
121213 $config_headers
121215 Configuration commands:
121216 $config_commands
121218 Report bugs to <bug-autoconf@gnu.org>."
121219 _ACEOF
121221 cat >>$CONFIG_STATUS <<_ACEOF
121222 ac_cs_version="\\
121223 package-unused config.status version-unused
121224 configured by $0, generated by GNU Autoconf 2.59,
121225 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
121227 Copyright (C) 2003 Free Software Foundation, Inc.
121228 This config.status script is free software; the Free Software Foundation
121229 gives unlimited permission to copy, distribute and modify it."
121230 srcdir=$srcdir
121231 INSTALL="$INSTALL"
121232 _ACEOF
121234 cat >>$CONFIG_STATUS <<\_ACEOF
121235 # If no file are specified by the user, then we need to provide default
121236 # value. By we need to know if files were specified by the user.
121237 ac_need_defaults=:
121238 while test $# != 0
121240 case $1 in
121241 --*=*)
121242 ac_option=`expr "x$1" : 'x\([^=]*\)='`
121243 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
121244 ac_shift=:
121247 ac_option=$1
121248 ac_optarg=$2
121249 ac_shift=shift
121251 *) # This is not an option, so the user has probably given explicit
121252 # arguments.
121253 ac_option=$1
121254 ac_need_defaults=false;;
121257 case $ac_option in
121258 # Handling of the options.
121259 _ACEOF
121260 cat >>$CONFIG_STATUS <<\_ACEOF
121261 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
121262 ac_cs_recheck=: ;;
121263 --version | --vers* | -V )
121264 echo "$ac_cs_version"; exit 0 ;;
121265 --he | --h)
121266 # Conflict between --help and --header
121267 { { echo "$as_me:$LINENO: error: ambiguous option: $1
121268 Try \`$0 --help' for more information." >&5
121269 echo "$as_me: error: ambiguous option: $1
121270 Try \`$0 --help' for more information." >&2;}
121271 { (exit 1); exit 1; }; };;
121272 --help | --hel | -h )
121273 echo "$ac_cs_usage"; exit 0 ;;
121274 --debug | --d* | -d )
121275 debug=: ;;
121276 --file | --fil | --fi | --f )
121277 $ac_shift
121278 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121279 ac_need_defaults=false;;
121280 --header | --heade | --head | --hea )
121281 $ac_shift
121282 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121283 ac_need_defaults=false;;
121284 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121285 | -silent | --silent | --silen | --sile | --sil | --si | --s)
121286 ac_cs_silent=: ;;
121288 # This is an error.
121289 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121290 Try \`$0 --help' for more information." >&5
121291 echo "$as_me: error: unrecognized option: $1
121292 Try \`$0 --help' for more information." >&2;}
121293 { (exit 1); exit 1; }; } ;;
121295 *) ac_config_targets="$ac_config_targets $1" ;;
121298 shift
121301 ac_configure_extra_args=
121303 if $ac_cs_silent; then
121304 exec 6>/dev/null
121305 ac_configure_extra_args="$ac_configure_extra_args --silent"
121308 _ACEOF
121309 cat >>$CONFIG_STATUS <<_ACEOF
121310 if \$ac_cs_recheck; then
121311 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121312 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121315 _ACEOF
121317 cat >>$CONFIG_STATUS <<_ACEOF
121319 # INIT-COMMANDS section.
121323 srcdir="$srcdir"
121324 host="$host"
121325 target="$target"
121326 with_multisubdir="$with_multisubdir"
121327 with_multisrctop="$with_multisrctop"
121328 with_target_subdir="$with_target_subdir"
121329 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121330 multi_basedir="$multi_basedir"
121331 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121332 CC="$CC"
121335 # The HP-UX ksh and POSIX shell print the target directory to stdout
121336 # if CDPATH is set.
121337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121339 sed_quote_subst='$sed_quote_subst'
121340 double_quote_subst='$double_quote_subst'
121341 delay_variable_subst='$delay_variable_subst'
121342 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121343 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121344 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121345 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121346 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121347 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121348 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121349 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121350 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121351 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121352 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121353 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121354 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121355 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121356 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121357 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121358 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121359 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121360 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121361 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121362 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121363 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121364 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121365 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121366 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121367 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121368 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121369 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121370 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121371 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121372 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121373 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121374 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121375 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121376 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121377 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121378 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121379 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121380 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121381 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
121382 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
121383 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
121384 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
121385 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"`'
121386 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
121387 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
121388 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
121389 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
121390 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
121391 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
121392 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
121393 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
121394 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
121395 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
121396 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
121397 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121398 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121399 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
121400 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
121401 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121402 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121403 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
121404 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121405 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121406 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121407 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121408 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121409 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121410 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
121411 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121412 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121413 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121414 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
121415 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
121416 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
121417 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
121418 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
121419 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121420 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
121421 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
121422 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
121423 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
121424 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
121425 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121426 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121427 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121428 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121429 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
121430 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
121431 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
121432 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
121433 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
121434 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121435 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121436 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
121437 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121438 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
121439 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121440 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121441 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121442 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121443 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
121444 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
121445 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121446 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121447 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
121448 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
121449 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
121450 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
121451 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
121452 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
121453 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121454 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121455 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
121456 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
121457 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
121458 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121459 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121460 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121461 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121462 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121463 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121464 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121465 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121466 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121467 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121468 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121469 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121470 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121471 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121472 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121473 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121474 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121475 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121476 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121477 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121478 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121479 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121480 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121481 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121482 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121483 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121484 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121485 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121486 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121487 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121488 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121489 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121490 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121491 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121492 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121493 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121494 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121495 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121496 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121497 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121498 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121499 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121500 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121501 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121502 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121503 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121505 LTCC='$LTCC'
121506 LTCFLAGS='$LTCFLAGS'
121507 compiler='$compiler_DEFAULT'
121509 # Quote evaled strings.
121510 for var in SED \
121511 GREP \
121512 EGREP \
121513 FGREP \
121516 LN_S \
121517 lt_SP2NL \
121518 lt_NL2SP \
121519 reload_flag \
121520 deplibs_check_method \
121521 file_magic_cmd \
121523 AR_FLAGS \
121524 STRIP \
121525 RANLIB \
121527 CFLAGS \
121528 compiler \
121529 lt_cv_sys_global_symbol_pipe \
121530 lt_cv_sys_global_symbol_to_cdecl \
121531 lt_cv_sys_global_symbol_to_c_name_address \
121532 SHELL \
121533 ECHO \
121534 lt_prog_compiler_no_builtin_flag \
121535 lt_prog_compiler_wl \
121536 lt_prog_compiler_pic \
121537 lt_prog_compiler_static \
121538 lt_cv_prog_compiler_c_o \
121539 need_locks \
121540 shrext_cmds \
121541 export_dynamic_flag_spec \
121542 whole_archive_flag_spec \
121543 compiler_needs_object \
121544 with_gnu_ld \
121545 allow_undefined_flag \
121546 no_undefined_flag \
121547 hardcode_libdir_flag_spec \
121548 hardcode_libdir_flag_spec_ld \
121549 hardcode_libdir_separator \
121550 fix_srcfile_path \
121551 exclude_expsyms \
121552 include_expsyms \
121553 file_list_spec \
121554 variables_saved_for_relink \
121555 libname_spec \
121556 library_names_spec \
121557 soname_spec \
121558 finish_eval \
121559 old_striplib \
121560 striplib \
121561 predep_objects \
121562 postdep_objects \
121563 predeps \
121564 postdeps \
121565 compiler_lib_search_path \
121566 LD_CXX \
121567 compiler_CXX \
121568 lt_prog_compiler_no_builtin_flag_CXX \
121569 lt_prog_compiler_wl_CXX \
121570 lt_prog_compiler_pic_CXX \
121571 lt_prog_compiler_static_CXX \
121572 lt_cv_prog_compiler_c_o_CXX \
121573 export_dynamic_flag_spec_CXX \
121574 whole_archive_flag_spec_CXX \
121575 compiler_needs_object_CXX \
121576 with_gnu_ld_CXX \
121577 allow_undefined_flag_CXX \
121578 no_undefined_flag_CXX \
121579 hardcode_libdir_flag_spec_CXX \
121580 hardcode_libdir_flag_spec_ld_CXX \
121581 hardcode_libdir_separator_CXX \
121582 fix_srcfile_path_CXX \
121583 exclude_expsyms_CXX \
121584 include_expsyms_CXX \
121585 file_list_spec_CXX \
121586 predep_objects_CXX \
121587 postdep_objects_CXX \
121588 predeps_CXX \
121589 postdeps_CXX \
121590 compiler_lib_search_path_CXX; do
121591 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121592 *[\\\\\\\`\\"\\\$]*)
121593 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
121596 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121601 # Double-quote double-evaled strings.
121602 for var in reload_cmds \
121603 old_postinstall_cmds \
121604 old_postuninstall_cmds \
121605 old_archive_cmds \
121606 extract_expsyms_cmds \
121607 old_archive_from_new_cmds \
121608 old_archive_from_expsyms_cmds \
121609 archive_cmds \
121610 archive_expsym_cmds \
121611 module_cmds \
121612 module_expsym_cmds \
121613 export_symbols_cmds \
121614 prelink_cmds \
121615 postinstall_cmds \
121616 postuninstall_cmds \
121617 finish_cmds \
121618 sys_lib_search_path_spec \
121619 sys_lib_dlsearch_path_spec \
121620 old_archive_cmds_CXX \
121621 old_archive_from_new_cmds_CXX \
121622 old_archive_from_expsyms_cmds_CXX \
121623 archive_cmds_CXX \
121624 archive_expsym_cmds_CXX \
121625 module_cmds_CXX \
121626 module_expsym_cmds_CXX \
121627 export_symbols_cmds_CXX \
121628 prelink_cmds_CXX; do
121629 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121630 *[\\\\\\\`\\"\\\$]*)
121631 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
121634 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121639 # Fix-up fallback echo if it was mangled by the above quoting rules.
121640 case \$lt_ECHO in
121641 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
121645 ac_aux_dir='$ac_aux_dir'
121646 xsi_shell='$xsi_shell'
121647 lt_shell_append='$lt_shell_append'
121649 # See if we are running on zsh, and set the options which allow our
121650 # commands through without removal of \ escapes INIT.
121651 if test -n "\${ZSH_VERSION+set}" ; then
121652 setopt NO_GLOB_SUBST
121656 PACKAGE='$PACKAGE'
121657 VERSION='$VERSION'
121658 TIMESTAMP='$TIMESTAMP'
121659 RM='$RM'
121660 ofile='$ofile'
121667 GCC="$GCC"
121668 CC="$CC"
121669 acx_cv_header_stdint="$acx_cv_header_stdint"
121670 acx_cv_type_int8_t="$acx_cv_type_int8_t"
121671 acx_cv_type_int16_t="$acx_cv_type_int16_t"
121672 acx_cv_type_int32_t="$acx_cv_type_int32_t"
121673 acx_cv_type_int64_t="$acx_cv_type_int64_t"
121674 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
121675 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
121676 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
121677 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
121678 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
121679 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
121680 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
121681 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
121682 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
121685 # Variables needed in config.status (file generation) which aren't already
121686 # passed by autoconf.
121687 SUBDIRS="$SUBDIRS"
121690 _ACEOF
121694 cat >>$CONFIG_STATUS <<\_ACEOF
121695 for ac_config_target in $ac_config_targets
121697 case "$ac_config_target" in
121698 # Handling of arguments.
121699 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
121700 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
121701 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
121702 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
121703 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
121704 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
121705 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
121706 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
121707 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
121708 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
121709 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
121710 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
121711 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
121712 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
121713 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121714 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121715 { (exit 1); exit 1; }; };;
121719 # If the user did not use the arguments to specify the items to instantiate,
121720 # then the envvar interface is used. Set only those that are not.
121721 # We use the long form for the default assignment because of an extremely
121722 # bizarre bug on SunOS 4.1.3.
121723 if $ac_need_defaults; then
121724 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121725 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121726 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121729 # Have a temporary directory for convenience. Make it in the build tree
121730 # simply because there is no reason to put it here, and in addition,
121731 # creating and moving files from /tmp can sometimes cause problems.
121732 # Create a temporary directory, and hook for its removal unless debugging.
121733 $debug ||
121735 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121736 trap '{ (exit 1); exit 1; }' 1 2 13 15
121739 # Create a (secure) tmp directory for tmp files.
121742 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121743 test -n "$tmp" && test -d "$tmp"
121746 tmp=./confstat$$-$RANDOM
121747 (umask 077 && mkdir $tmp)
121750 echo "$me: cannot create a temporary directory in ." >&2
121751 { (exit 1); exit 1; }
121754 _ACEOF
121756 cat >>$CONFIG_STATUS <<_ACEOF
121759 # CONFIG_FILES section.
121762 # No need to generate the scripts if there are no CONFIG_FILES.
121763 # This happens for instance when ./config.status config.h
121764 if test -n "\$CONFIG_FILES"; then
121765 # Protect against being on the right side of a sed subst in config.status.
121766 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121767 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121768 s,@SHELL@,$SHELL,;t t
121769 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121770 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121771 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121772 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121773 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121774 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121775 s,@exec_prefix@,$exec_prefix,;t t
121776 s,@prefix@,$prefix,;t t
121777 s,@program_transform_name@,$program_transform_name,;t t
121778 s,@bindir@,$bindir,;t t
121779 s,@sbindir@,$sbindir,;t t
121780 s,@libexecdir@,$libexecdir,;t t
121781 s,@datadir@,$datadir,;t t
121782 s,@sysconfdir@,$sysconfdir,;t t
121783 s,@sharedstatedir@,$sharedstatedir,;t t
121784 s,@localstatedir@,$localstatedir,;t t
121785 s,@libdir@,$libdir,;t t
121786 s,@includedir@,$includedir,;t t
121787 s,@oldincludedir@,$oldincludedir,;t t
121788 s,@infodir@,$infodir,;t t
121789 s,@mandir@,$mandir,;t t
121790 s,@build_alias@,$build_alias,;t t
121791 s,@host_alias@,$host_alias,;t t
121792 s,@target_alias@,$target_alias,;t t
121793 s,@DEFS@,$DEFS,;t t
121794 s,@ECHO_C@,$ECHO_C,;t t
121795 s,@ECHO_N@,$ECHO_N,;t t
121796 s,@ECHO_T@,$ECHO_T,;t t
121797 s,@LIBS@,$LIBS,;t t
121798 s,@libtool_VERSION@,$libtool_VERSION,;t t
121799 s,@multi_basedir@,$multi_basedir,;t t
121800 s,@build@,$build,;t t
121801 s,@build_cpu@,$build_cpu,;t t
121802 s,@build_vendor@,$build_vendor,;t t
121803 s,@build_os@,$build_os,;t t
121804 s,@host@,$host,;t t
121805 s,@host_cpu@,$host_cpu,;t t
121806 s,@host_vendor@,$host_vendor,;t t
121807 s,@host_os@,$host_os,;t t
121808 s,@target@,$target,;t t
121809 s,@target_cpu@,$target_cpu,;t t
121810 s,@target_vendor@,$target_vendor,;t t
121811 s,@target_os@,$target_os,;t t
121812 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
121813 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
121814 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
121815 s,@CYGPATH_W@,$CYGPATH_W,;t t
121816 s,@PACKAGE@,$PACKAGE,;t t
121817 s,@VERSION@,$VERSION,;t t
121818 s,@ACLOCAL@,$ACLOCAL,;t t
121819 s,@AUTOCONF@,$AUTOCONF,;t t
121820 s,@AUTOMAKE@,$AUTOMAKE,;t t
121821 s,@AUTOHEADER@,$AUTOHEADER,;t t
121822 s,@MAKEINFO@,$MAKEINFO,;t t
121823 s,@install_sh@,$install_sh,;t t
121824 s,@STRIP@,$STRIP,;t t
121825 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
121826 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
121827 s,@mkdir_p@,$mkdir_p,;t t
121828 s,@AWK@,$AWK,;t t
121829 s,@SET_MAKE@,$SET_MAKE,;t t
121830 s,@am__leading_dot@,$am__leading_dot,;t t
121831 s,@AMTAR@,$AMTAR,;t t
121832 s,@am__tar@,$am__tar,;t t
121833 s,@am__untar@,$am__untar,;t t
121834 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
121835 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
121836 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
121837 s,@CC@,$CC,;t t
121838 s,@ac_ct_CC@,$ac_ct_CC,;t t
121839 s,@EXEEXT@,$EXEEXT,;t t
121840 s,@OBJEXT@,$OBJEXT,;t t
121841 s,@CXX@,$CXX,;t t
121842 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
121843 s,@CFLAGS@,$CFLAGS,;t t
121844 s,@CXXFLAGS@,$CXXFLAGS,;t t
121845 s,@LN_S@,$LN_S,;t t
121846 s,@AS@,$AS,;t t
121847 s,@ac_ct_AS@,$ac_ct_AS,;t t
121848 s,@AR@,$AR,;t t
121849 s,@ac_ct_AR@,$ac_ct_AR,;t t
121850 s,@RANLIB@,$RANLIB,;t t
121851 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
121852 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
121853 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
121854 s,@MAINT@,$MAINT,;t t
121855 s,@CPP@,$CPP,;t t
121856 s,@CPPFLAGS@,$CPPFLAGS,;t t
121857 s,@EGREP@,$EGREP,;t t
121858 s,@LIBTOOL@,$LIBTOOL,;t t
121859 s,@SED@,$SED,;t t
121860 s,@FGREP@,$FGREP,;t t
121861 s,@GREP@,$GREP,;t t
121862 s,@LD@,$LD,;t t
121863 s,@DUMPBIN@,$DUMPBIN,;t t
121864 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
121865 s,@NM@,$NM,;t t
121866 s,@lt_ECHO@,$lt_ECHO,;t t
121867 s,@LDFLAGS@,$LDFLAGS,;t t
121868 s,@CXXCPP@,$CXXCPP,;t t
121869 s,@enable_shared@,$enable_shared,;t t
121870 s,@enable_static@,$enable_static,;t t
121871 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
121872 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
121873 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
121874 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
121875 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
121876 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
121877 s,@WERROR@,$WERROR,;t t
121878 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
121879 s,@CSTDIO_H@,$CSTDIO_H,;t t
121880 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
121881 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
121882 s,@check_msgfmt@,$check_msgfmt,;t t
121883 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
121884 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
121885 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
121886 s,@USE_NLS@,$USE_NLS,;t t
121887 s,@CLOCALE_H@,$CLOCALE_H,;t t
121888 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
121889 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
121890 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
121891 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
121892 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
121893 s,@CMONEY_CC@,$CMONEY_CC,;t t
121894 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
121895 s,@CTIME_H@,$CTIME_H,;t t
121896 s,@CTIME_CC@,$CTIME_CC,;t t
121897 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
121898 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
121899 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
121900 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
121901 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
121902 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
121903 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
121904 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
121905 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
121906 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
121907 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
121908 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
121909 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
121910 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
121911 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
121912 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
121913 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
121914 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
121915 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
121916 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
121917 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
121918 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
121919 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
121920 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
121921 s,@LIBICONV@,$LIBICONV,;t t
121922 s,@LTLIBICONV@,$LTLIBICONV,;t t
121923 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
121924 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
121925 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
121926 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
121927 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
121928 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
121929 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
121930 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
121931 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
121932 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
121933 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
121934 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
121935 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
121936 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
121937 s,@baseline_dir@,$baseline_dir,;t t
121938 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
121939 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
121940 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
121941 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
121942 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
121943 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
121944 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
121945 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
121946 s,@gxx_include_dir@,$gxx_include_dir,;t t
121947 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
121948 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
121949 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
121950 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
121951 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
121952 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
121953 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
121954 s,@LIBOBJS@,$LIBOBJS,;t t
121955 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
121958 _ACEOF
121960 cat >>$CONFIG_STATUS <<\_ACEOF
121961 # Split the substitutions into bite-sized pieces for seds with
121962 # small command number limits, like on Digital OSF/1 and HP-UX.
121963 ac_max_sed_lines=48
121964 ac_sed_frag=1 # Number of current file.
121965 ac_beg=1 # First line for current file.
121966 ac_end=$ac_max_sed_lines # Line after last line for current file.
121967 ac_more_lines=:
121968 ac_sed_cmds=
121969 while $ac_more_lines; do
121970 if test $ac_beg -gt 1; then
121971 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121973 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121975 if test ! -s $tmp/subs.frag; then
121976 ac_more_lines=false
121978 # The purpose of the label and of the branching condition is to
121979 # speed up the sed processing (if there are no `@' at all, there
121980 # is no need to browse any of the substitutions).
121981 # These are the two extra sed commands mentioned above.
121982 (echo ':t
121983 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
121984 if test -z "$ac_sed_cmds"; then
121985 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
121987 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
121989 ac_sed_frag=`expr $ac_sed_frag + 1`
121990 ac_beg=$ac_end
121991 ac_end=`expr $ac_end + $ac_max_sed_lines`
121994 if test -z "$ac_sed_cmds"; then
121995 ac_sed_cmds=cat
121997 fi # test -n "$CONFIG_FILES"
121999 _ACEOF
122000 cat >>$CONFIG_STATUS <<\_ACEOF
122001 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122003 case $ac_file in
122004 - | *:- | *:-:* ) # input from stdin
122005 cat >$tmp/stdin
122006 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122007 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122008 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122010 * ) ac_file_in=$ac_file.in ;;
122013 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
122014 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122016 X"$ac_file" : 'X\(//\)[^/]' \| \
122017 X"$ac_file" : 'X\(//\)$' \| \
122018 X"$ac_file" : 'X\(/\)' \| \
122019 . : '\(.\)' 2>/dev/null ||
122020 echo X"$ac_file" |
122021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122023 /^X\(\/\/\)$/{ s//\1/; q; }
122024 /^X\(\/\).*/{ s//\1/; q; }
122025 s/.*/./; q'`
122026 { if $as_mkdir_p; then
122027 mkdir -p "$ac_dir"
122029 as_dir="$ac_dir"
122030 as_dirs=
122031 while test ! -d "$as_dir"; do
122032 as_dirs="$as_dir $as_dirs"
122033 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122035 X"$as_dir" : 'X\(//\)[^/]' \| \
122036 X"$as_dir" : 'X\(//\)$' \| \
122037 X"$as_dir" : 'X\(/\)' \| \
122038 . : '\(.\)' 2>/dev/null ||
122039 echo X"$as_dir" |
122040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122042 /^X\(\/\/\)$/{ s//\1/; q; }
122043 /^X\(\/\).*/{ s//\1/; q; }
122044 s/.*/./; q'`
122046 test ! -n "$as_dirs" || mkdir $as_dirs
122047 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122048 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122049 { (exit 1); exit 1; }; }; }
122051 ac_builddir=.
122053 if test "$ac_dir" != .; then
122054 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122055 # A "../" for each directory in $ac_dir_suffix.
122056 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122058 ac_dir_suffix= ac_top_builddir=
122061 case $srcdir in
122062 .) # No --srcdir option. We are building in place.
122063 ac_srcdir=.
122064 if test -z "$ac_top_builddir"; then
122065 ac_top_srcdir=.
122067 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122068 fi ;;
122069 [\\/]* | ?:[\\/]* ) # Absolute path.
122070 ac_srcdir=$srcdir$ac_dir_suffix;
122071 ac_top_srcdir=$srcdir ;;
122072 *) # Relative path.
122073 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122074 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122077 # Do not use `cd foo && pwd` to compute absolute paths, because
122078 # the directories may not exist.
122079 case `pwd` in
122080 .) ac_abs_builddir="$ac_dir";;
122082 case "$ac_dir" in
122083 .) ac_abs_builddir=`pwd`;;
122084 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122085 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122086 esac;;
122088 case $ac_abs_builddir in
122089 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122091 case ${ac_top_builddir}. in
122092 .) ac_abs_top_builddir=$ac_abs_builddir;;
122093 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122094 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122095 esac;;
122097 case $ac_abs_builddir in
122098 .) ac_abs_srcdir=$ac_srcdir;;
122100 case $ac_srcdir in
122101 .) ac_abs_srcdir=$ac_abs_builddir;;
122102 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122103 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122104 esac;;
122106 case $ac_abs_builddir in
122107 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122109 case $ac_top_srcdir in
122110 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122111 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122112 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122113 esac;;
122117 case $INSTALL in
122118 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
122119 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
122122 if test x"$ac_file" != x-; then
122123 { echo "$as_me:$LINENO: creating $ac_file" >&5
122124 echo "$as_me: creating $ac_file" >&6;}
122125 rm -f "$ac_file"
122127 # Let's still pretend it is `configure' which instantiates (i.e., don't
122128 # use $as_me), people would be surprised to read:
122129 # /* config.h. Generated by config.status. */
122130 if test x"$ac_file" = x-; then
122131 configure_input=
122133 configure_input="$ac_file. "
122135 configure_input=$configure_input"Generated from `echo $ac_file_in |
122136 sed 's,.*/,,'` by configure."
122138 # First look for the input files in the build tree, otherwise in the
122139 # src tree.
122140 ac_file_inputs=`IFS=:
122141 for f in $ac_file_in; do
122142 case $f in
122143 -) echo $tmp/stdin ;;
122144 [\\/$]*)
122145 # Absolute (can't be DOS-style, as IFS=:)
122146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122147 echo "$as_me: error: cannot find input file: $f" >&2;}
122148 { (exit 1); exit 1; }; }
122149 echo "$f";;
122150 *) # Relative
122151 if test -f "$f"; then
122152 # Build tree
122153 echo "$f"
122154 elif test -f "$srcdir/$f"; then
122155 # Source tree
122156 echo "$srcdir/$f"
122158 # /dev/null tree
122159 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122160 echo "$as_me: error: cannot find input file: $f" >&2;}
122161 { (exit 1); exit 1; }; }
122164 done` || { (exit 1); exit 1; }
122165 _ACEOF
122166 cat >>$CONFIG_STATUS <<_ACEOF
122167 sed "$ac_vpsub
122168 $extrasub
122169 _ACEOF
122170 cat >>$CONFIG_STATUS <<\_ACEOF
122172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
122173 s,@configure_input@,$configure_input,;t t
122174 s,@srcdir@,$ac_srcdir,;t t
122175 s,@abs_srcdir@,$ac_abs_srcdir,;t t
122176 s,@top_srcdir@,$ac_top_srcdir,;t t
122177 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
122178 s,@builddir@,$ac_builddir,;t t
122179 s,@abs_builddir@,$ac_abs_builddir,;t t
122180 s,@top_builddir@,$ac_top_builddir,;t t
122181 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
122182 s,@INSTALL@,$ac_INSTALL,;t t
122183 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
122184 rm -f $tmp/stdin
122185 if test x"$ac_file" != x-; then
122186 mv $tmp/out $ac_file
122188 cat $tmp/out
122189 rm -f $tmp/out
122192 # Run the commands associated with the file.
122193 case $ac_file in
122194 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
122197 _ACEOF
122198 cat >>$CONFIG_STATUS <<\_ACEOF
122201 # CONFIG_HEADER section.
122204 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
122205 # NAME is the cpp macro being defined and VALUE is the value it is being given.
122207 # ac_d sets the value in "#define NAME VALUE" lines.
122208 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
122209 ac_dB='[ ].*$,\1#\2'
122210 ac_dC=' '
122211 ac_dD=',;t'
122212 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
122213 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
122214 ac_uB='$,\1#\2define\3'
122215 ac_uC=' '
122216 ac_uD=',;t'
122218 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
122219 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122220 case $ac_file in
122221 - | *:- | *:-:* ) # input from stdin
122222 cat >$tmp/stdin
122223 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122224 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122225 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122226 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122227 * ) ac_file_in=$ac_file.in ;;
122230 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
122231 echo "$as_me: creating $ac_file" >&6;}
122233 # First look for the input files in the build tree, otherwise in the
122234 # src tree.
122235 ac_file_inputs=`IFS=:
122236 for f in $ac_file_in; do
122237 case $f in
122238 -) echo $tmp/stdin ;;
122239 [\\/$]*)
122240 # Absolute (can't be DOS-style, as IFS=:)
122241 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122242 echo "$as_me: error: cannot find input file: $f" >&2;}
122243 { (exit 1); exit 1; }; }
122244 # Do quote $f, to prevent DOS paths from being IFS'd.
122245 echo "$f";;
122246 *) # Relative
122247 if test -f "$f"; then
122248 # Build tree
122249 echo "$f"
122250 elif test -f "$srcdir/$f"; then
122251 # Source tree
122252 echo "$srcdir/$f"
122254 # /dev/null tree
122255 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
122256 echo "$as_me: error: cannot find input file: $f" >&2;}
122257 { (exit 1); exit 1; }; }
122260 done` || { (exit 1); exit 1; }
122261 # Remove the trailing spaces.
122262 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
122264 _ACEOF
122266 # Transform confdefs.h into two sed scripts, `conftest.defines' and
122267 # `conftest.undefs', that substitutes the proper values into
122268 # config.h.in to produce config.h. The first handles `#define'
122269 # templates, and the second `#undef' templates.
122270 # And first: Protect against being on the right side of a sed subst in
122271 # config.status. Protect against being in an unquoted here document
122272 # in config.status.
122273 rm -f conftest.defines conftest.undefs
122274 # Using a here document instead of a string reduces the quoting nightmare.
122275 # Putting comments in sed scripts is not portable.
122277 # `end' is used to avoid that the second main sed command (meant for
122278 # 0-ary CPP macros) applies to n-ary macro definitions.
122279 # See the Autoconf documentation for `clear'.
122280 cat >confdef2sed.sed <<\_ACEOF
122281 s/[\\&,]/\\&/g
122282 s,[\\$`],\\&,g
122283 t clear
122284 : clear
122285 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122286 t end
122287 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122288 : end
122289 _ACEOF
122290 # If some macros were called several times there might be several times
122291 # the same #defines, which is useless. Nevertheless, we may not want to
122292 # sort them, since we want the *last* AC-DEFINE to be honored.
122293 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122294 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122295 rm -f confdef2sed.sed
122297 # This sed command replaces #undef with comments. This is necessary, for
122298 # example, in the case of _POSIX_SOURCE, which is predefined and required
122299 # on some systems where configure will not decide to define it.
122300 cat >>conftest.undefs <<\_ACEOF
122301 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122302 _ACEOF
122304 # Break up conftest.defines because some shells have a limit on the size
122305 # of here documents, and old seds have small limits too (100 cmds).
122306 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122307 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122308 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122309 echo ' :' >>$CONFIG_STATUS
122310 rm -f conftest.tail
122311 while grep . conftest.defines >/dev/null
122313 # Write a limited-size here document to $tmp/defines.sed.
122314 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122315 # Speed up: don't consider the non `#define' lines.
122316 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
122317 # Work around the forget-to-reset-the-flag bug.
122318 echo 't clr' >>$CONFIG_STATUS
122319 echo ': clr' >>$CONFIG_STATUS
122320 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122321 echo 'CEOF
122322 sed -f $tmp/defines.sed $tmp/in >$tmp/out
122323 rm -f $tmp/in
122324 mv $tmp/out $tmp/in
122325 ' >>$CONFIG_STATUS
122326 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122327 rm -f conftest.defines
122328 mv conftest.tail conftest.defines
122330 rm -f conftest.defines
122331 echo ' fi # grep' >>$CONFIG_STATUS
122332 echo >>$CONFIG_STATUS
122334 # Break up conftest.undefs because some shells have a limit on the size
122335 # of here documents, and old seds have small limits too (100 cmds).
122336 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
122337 rm -f conftest.tail
122338 while grep . conftest.undefs >/dev/null
122340 # Write a limited-size here document to $tmp/undefs.sed.
122341 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122342 # Speed up: don't consider the non `#undef'
122343 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
122344 # Work around the forget-to-reset-the-flag bug.
122345 echo 't clr' >>$CONFIG_STATUS
122346 echo ': clr' >>$CONFIG_STATUS
122347 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122348 echo 'CEOF
122349 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122350 rm -f $tmp/in
122351 mv $tmp/out $tmp/in
122352 ' >>$CONFIG_STATUS
122353 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122354 rm -f conftest.undefs
122355 mv conftest.tail conftest.undefs
122357 rm -f conftest.undefs
122359 cat >>$CONFIG_STATUS <<\_ACEOF
122360 # Let's still pretend it is `configure' which instantiates (i.e., don't
122361 # use $as_me), people would be surprised to read:
122362 # /* config.h. Generated by config.status. */
122363 if test x"$ac_file" = x-; then
122364 echo "/* Generated by configure. */" >$tmp/config.h
122366 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
122368 cat $tmp/in >>$tmp/config.h
122369 rm -f $tmp/in
122370 if test x"$ac_file" != x-; then
122371 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122372 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122373 echo "$as_me: $ac_file is unchanged" >&6;}
122375 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122377 X"$ac_file" : 'X\(//\)[^/]' \| \
122378 X"$ac_file" : 'X\(//\)$' \| \
122379 X"$ac_file" : 'X\(/\)' \| \
122380 . : '\(.\)' 2>/dev/null ||
122381 echo X"$ac_file" |
122382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122384 /^X\(\/\/\)$/{ s//\1/; q; }
122385 /^X\(\/\).*/{ s//\1/; q; }
122386 s/.*/./; q'`
122387 { if $as_mkdir_p; then
122388 mkdir -p "$ac_dir"
122390 as_dir="$ac_dir"
122391 as_dirs=
122392 while test ! -d "$as_dir"; do
122393 as_dirs="$as_dir $as_dirs"
122394 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122396 X"$as_dir" : 'X\(//\)[^/]' \| \
122397 X"$as_dir" : 'X\(//\)$' \| \
122398 X"$as_dir" : 'X\(/\)' \| \
122399 . : '\(.\)' 2>/dev/null ||
122400 echo X"$as_dir" |
122401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122403 /^X\(\/\/\)$/{ s//\1/; q; }
122404 /^X\(\/\).*/{ s//\1/; q; }
122405 s/.*/./; q'`
122407 test ! -n "$as_dirs" || mkdir $as_dirs
122408 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122409 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122410 { (exit 1); exit 1; }; }; }
122412 rm -f $ac_file
122413 mv $tmp/config.h $ac_file
122416 cat $tmp/config.h
122417 rm -f $tmp/config.h
122419 # Compute $ac_file's index in $config_headers.
122420 _am_stamp_count=1
122421 for _am_header in $config_headers :; do
122422 case $_am_header in
122423 $ac_file | $ac_file:* )
122424 break ;;
122426 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
122429 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
122430 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122431 X$ac_file : 'X\(//\)[^/]' \| \
122432 X$ac_file : 'X\(//\)$' \| \
122433 X$ac_file : 'X\(/\)' \| \
122434 . : '\(.\)' 2>/dev/null ||
122435 echo X$ac_file |
122436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122438 /^X\(\/\/\)$/{ s//\1/; q; }
122439 /^X\(\/\).*/{ s//\1/; q; }
122440 s/.*/./; q'`/stamp-h$_am_stamp_count
122442 _ACEOF
122443 cat >>$CONFIG_STATUS <<\_ACEOF
122446 # CONFIG_COMMANDS section.
122448 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
122449 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
122450 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
122451 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
122452 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122453 X"$ac_dest" : 'X\(//\)[^/]' \| \
122454 X"$ac_dest" : 'X\(//\)$' \| \
122455 X"$ac_dest" : 'X\(/\)' \| \
122456 . : '\(.\)' 2>/dev/null ||
122457 echo X"$ac_dest" |
122458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122460 /^X\(\/\/\)$/{ s//\1/; q; }
122461 /^X\(\/\).*/{ s//\1/; q; }
122462 s/.*/./; q'`
122463 { if $as_mkdir_p; then
122464 mkdir -p "$ac_dir"
122466 as_dir="$ac_dir"
122467 as_dirs=
122468 while test ! -d "$as_dir"; do
122469 as_dirs="$as_dir $as_dirs"
122470 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122472 X"$as_dir" : 'X\(//\)[^/]' \| \
122473 X"$as_dir" : 'X\(//\)$' \| \
122474 X"$as_dir" : 'X\(/\)' \| \
122475 . : '\(.\)' 2>/dev/null ||
122476 echo X"$as_dir" |
122477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122479 /^X\(\/\/\)$/{ s//\1/; q; }
122480 /^X\(\/\).*/{ s//\1/; q; }
122481 s/.*/./; q'`
122483 test ! -n "$as_dirs" || mkdir $as_dirs
122484 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122485 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122486 { (exit 1); exit 1; }; }; }
122488 ac_builddir=.
122490 if test "$ac_dir" != .; then
122491 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122492 # A "../" for each directory in $ac_dir_suffix.
122493 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122495 ac_dir_suffix= ac_top_builddir=
122498 case $srcdir in
122499 .) # No --srcdir option. We are building in place.
122500 ac_srcdir=.
122501 if test -z "$ac_top_builddir"; then
122502 ac_top_srcdir=.
122504 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122505 fi ;;
122506 [\\/]* | ?:[\\/]* ) # Absolute path.
122507 ac_srcdir=$srcdir$ac_dir_suffix;
122508 ac_top_srcdir=$srcdir ;;
122509 *) # Relative path.
122510 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122511 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122514 # Do not use `cd foo && pwd` to compute absolute paths, because
122515 # the directories may not exist.
122516 case `pwd` in
122517 .) ac_abs_builddir="$ac_dir";;
122519 case "$ac_dir" in
122520 .) ac_abs_builddir=`pwd`;;
122521 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122522 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122523 esac;;
122525 case $ac_abs_builddir in
122526 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122528 case ${ac_top_builddir}. in
122529 .) ac_abs_top_builddir=$ac_abs_builddir;;
122530 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122531 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122532 esac;;
122534 case $ac_abs_builddir in
122535 .) ac_abs_srcdir=$ac_srcdir;;
122537 case $ac_srcdir in
122538 .) ac_abs_srcdir=$ac_abs_builddir;;
122539 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122540 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122541 esac;;
122543 case $ac_abs_builddir in
122544 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122546 case $ac_top_srcdir in
122547 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122548 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122549 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122550 esac;;
122554 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
122555 echo "$as_me: executing $ac_dest commands" >&6;}
122556 case $ac_dest in
122557 default-1 )
122558 # Only add multilib support code if we just rebuilt the top-level
122559 # Makefile.
122560 case " $CONFIG_FILES " in
122561 *" Makefile "*)
122562 ac_file=Makefile . ${multi_basedir}/config-ml.in
122564 esac ;;
122565 libtool )
122567 # See if we are running on zsh, and set the options which allow our
122568 # commands through without removal of \ escapes.
122569 if test -n "${ZSH_VERSION+set}" ; then
122570 setopt NO_GLOB_SUBST
122573 cfgfile="${ofile}T"
122574 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
122575 $RM "$cfgfile"
122577 cat <<_LT_EOF >> "$cfgfile"
122578 #! $SHELL
122580 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
122581 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
122582 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
122583 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
122585 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
122586 # 2006, 2007 Free Software Foundation, Inc.
122588 # This file is part of GNU Libtool:
122589 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
122591 # This program is free software; you can redistribute it and/or modify
122592 # it under the terms of the GNU General Public License as published by
122593 # the Free Software Foundation; either version 2 of the License, or
122594 # (at your option) any later version.
122596 # This program is distributed in the hope that it will be useful, but
122597 # WITHOUT ANY WARRANTY; without even the implied warranty of
122598 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
122599 # General Public License for more details.
122601 # You should have received a copy of the GNU General Public License
122602 # along with this program; if not, a copy can be downloaded from
122603 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
122604 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
122605 # MA 02110-1301, USA.
122607 # As a special exception to the GNU General Public License, if you
122608 # distribute this file as part of a program that contains a
122609 # configuration script generated by Autoconf, you may include it under
122610 # the same distribution terms that you use for the rest of that program.
122613 # The names of the tagged configurations supported by this script.
122614 available_tags="CXX "
122616 # ### BEGIN LIBTOOL CONFIG
122618 # Which release of libtool.m4 was used?
122619 macro_version=$macro_version
122620 macro_revision=$macro_revision
122622 # Whether or not to build shared libraries.
122623 build_libtool_libs=$enable_shared
122625 # Whether or not to build static libraries.
122626 build_old_libs=$enable_static
122628 # What type of objects to build.
122629 pic_mode=$pic_mode
122631 # Whether or not to optimize for fast installation.
122632 fast_install=$enable_fast_install
122634 # The host system.
122635 host_alias=$host_alias
122636 host=$host
122637 host_os=$host_os
122639 # The build system.
122640 build_alias=$build_alias
122641 build=$build
122642 build_os=$build_os
122644 # A sed program that does not truncate output.
122645 SED=$lt_SED
122647 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
122648 Xsed="\$SED -e 1s/^X//"
122650 # A grep program that handles long lines.
122651 GREP=$lt_GREP
122653 # An ERE matcher.
122654 EGREP=$lt_EGREP
122656 # A literal string matcher.
122657 FGREP=$lt_FGREP
122659 # A BSD- or MS-compatible name lister.
122660 NM=$lt_NM
122662 # Whether we need soft or hard links.
122663 LN_S=$lt_LN_S
122665 # What is the maximum length of a command?
122666 max_cmd_len=$max_cmd_len
122668 # Object file suffix (normally "o").
122669 objext=$ac_objext
122671 # Executable file suffix (normally "").
122672 exeext=$exeext
122674 # whether the shell understands "unset".
122675 lt_unset=$lt_unset
122677 # turn spaces into newlines.
122678 SP2NL=$lt_lt_SP2NL
122680 # turn newlines into spaces.
122681 NL2SP=$lt_lt_NL2SP
122683 # How to create reloadable object files.
122684 reload_flag=$lt_reload_flag
122685 reload_cmds=$lt_reload_cmds
122687 # Method to check whether dependent libraries are shared objects.
122688 deplibs_check_method=$lt_deplibs_check_method
122690 # Command to use when deplibs_check_method == "file_magic".
122691 file_magic_cmd=$lt_file_magic_cmd
122693 # The archiver.
122694 AR=$lt_AR
122695 AR_FLAGS=$lt_AR_FLAGS
122697 # A symbol stripping program.
122698 STRIP=$lt_STRIP
122700 # Commands used to install an old-style archive.
122701 RANLIB=$lt_RANLIB
122702 old_postinstall_cmds=$lt_old_postinstall_cmds
122703 old_postuninstall_cmds=$lt_old_postuninstall_cmds
122705 # A C compiler.
122706 LTCC=$lt_CC
122708 # LTCC compiler flags.
122709 LTCFLAGS=$lt_CFLAGS
122711 # Take the output of nm and produce a listing of raw symbols and C names.
122712 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122714 # Transform the output of nm in a proper C declaration.
122715 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122717 # Transform the output of nm in a C name address pair.
122718 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122720 # The name of the directory that contains temporary libtool files.
122721 objdir=$objdir
122723 # Shell to use when invoking shell scripts.
122724 SHELL=$lt_SHELL
122726 # An echo program that does not interpret backslashes.
122727 ECHO=$lt_ECHO
122729 # Used to examine libraries when file_magic_cmd begins with "file".
122730 MAGIC_CMD=$MAGIC_CMD
122732 # Must we lock files when doing compilation?
122733 need_locks=$lt_need_locks
122735 # Old archive suffix (normally "a").
122736 libext=$libext
122738 # Shared library suffix (normally ".so").
122739 shrext_cmds=$lt_shrext_cmds
122741 # The commands to extract the exported symbol list from a shared archive.
122742 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122744 # Variables whose values should be saved in libtool wrapper scripts and
122745 # restored at link time.
122746 variables_saved_for_relink=$lt_variables_saved_for_relink
122748 # Do we need the "lib" prefix for modules?
122749 need_lib_prefix=$need_lib_prefix
122751 # Do we need a version for libraries?
122752 need_version=$need_version
122754 # Library versioning type.
122755 version_type=$version_type
122757 # Shared library runtime path variable.
122758 runpath_var=$runpath_var
122760 # Shared library path variable.
122761 shlibpath_var=$shlibpath_var
122763 # Is shlibpath searched before the hard-coded library search path?
122764 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122766 # Format of library name prefix.
122767 libname_spec=$lt_libname_spec
122769 # List of archive names. First name is the real one, the rest are links.
122770 # The last name is the one that the linker finds with -lNAME
122771 library_names_spec=$lt_library_names_spec
122773 # The coded name of the library, if different from the real name.
122774 soname_spec=$lt_soname_spec
122776 # Command to use after installation of a shared archive.
122777 postinstall_cmds=$lt_postinstall_cmds
122779 # Command to use after uninstallation of a shared archive.
122780 postuninstall_cmds=$lt_postuninstall_cmds
122782 # Commands used to finish a libtool library installation in a directory.
122783 finish_cmds=$lt_finish_cmds
122785 # As "finish_cmds", except a single script fragment to be evaled but
122786 # not shown.
122787 finish_eval=$lt_finish_eval
122789 # Whether we should hardcode library paths into libraries.
122790 hardcode_into_libs=$hardcode_into_libs
122792 # Compile-time system search path for libraries.
122793 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122795 # Run-time system search path for libraries.
122796 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122798 # Whether dlopen is supported.
122799 dlopen_support=$enable_dlopen
122801 # Whether dlopen of programs is supported.
122802 dlopen_self=$enable_dlopen_self
122804 # Whether dlopen of statically linked programs is supported.
122805 dlopen_self_static=$enable_dlopen_self_static
122807 # Commands to strip libraries.
122808 old_striplib=$lt_old_striplib
122809 striplib=$lt_striplib
122812 # The linker used to build libraries.
122813 LD=$lt_LD
122815 # Commands used to build an old-style archive.
122816 old_archive_cmds=$lt_old_archive_cmds
122818 # A language specific compiler.
122819 CC=$lt_compiler
122821 # Is the compiler the GNU compiler?
122822 with_gcc=$GCC
122824 # Compiler flag to turn off builtin functions.
122825 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
122827 # How to pass a linker flag through the compiler.
122828 wl=$lt_lt_prog_compiler_wl
122830 # Additional compiler flags for building library objects.
122831 pic_flag=$lt_lt_prog_compiler_pic
122833 # Compiler flag to prevent dynamic linking.
122834 link_static_flag=$lt_lt_prog_compiler_static
122836 # Does compiler simultaneously support -c and -o options?
122837 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
122839 # Whether or not to add -lc for building shared libraries.
122840 build_libtool_need_lc=$archive_cmds_need_lc
122842 # Whether or not to disallow shared libs when runtime libs are static.
122843 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
122845 # Compiler flag to allow reflexive dlopens.
122846 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
122848 # Compiler flag to generate shared objects directly from archives.
122849 whole_archive_flag_spec=$lt_whole_archive_flag_spec
122851 # Whether the compiler copes with passing no objects directly.
122852 compiler_needs_object=$lt_compiler_needs_object
122854 # Create an old-style archive from a shared archive.
122855 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
122857 # Create a temporary old-style archive to link instead of a shared archive.
122858 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
122860 # Commands used to build a shared archive.
122861 archive_cmds=$lt_archive_cmds
122862 archive_expsym_cmds=$lt_archive_expsym_cmds
122864 # Commands used to build a loadable module if different from building
122865 # a shared archive.
122866 module_cmds=$lt_module_cmds
122867 module_expsym_cmds=$lt_module_expsym_cmds
122869 # Whether we are building with GNU ld or not.
122870 with_gnu_ld=$lt_with_gnu_ld
122872 # Flag that allows shared libraries with undefined symbols to be built.
122873 allow_undefined_flag=$lt_allow_undefined_flag
122875 # Flag that enforces no undefined symbols.
122876 no_undefined_flag=$lt_no_undefined_flag
122878 # Flag to hardcode \$libdir into a binary during linking.
122879 # This must work even if \$libdir does not exist
122880 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
122882 # If ld is used when linking, flag to hardcode \$libdir into a binary
122883 # during linking. This must work even if \$libdir does not exist.
122884 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
122886 # Whether we need a single "-rpath" flag with a separated argument.
122887 hardcode_libdir_separator=$lt_hardcode_libdir_separator
122889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122890 # DIR into the resulting binary.
122891 hardcode_direct=$hardcode_direct
122893 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122894 # DIR into the resulting binary and the resulting library dependency is
122895 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122896 # library is relocated.
122897 hardcode_direct_absolute=$hardcode_direct_absolute
122899 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122900 # into the resulting binary.
122901 hardcode_minus_L=$hardcode_minus_L
122903 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122904 # into the resulting binary.
122905 hardcode_shlibpath_var=$hardcode_shlibpath_var
122907 # Set to "yes" if building a shared library automatically hardcodes DIR
122908 # into the library and all subsequent libraries and executables linked
122909 # against it.
122910 hardcode_automatic=$hardcode_automatic
122912 # Set to yes if linker adds runtime paths of dependent libraries
122913 # to runtime path list.
122914 inherit_rpath=$inherit_rpath
122916 # Whether libtool must link a program against all its dependency libraries.
122917 link_all_deplibs=$link_all_deplibs
122919 # Fix the shell variable \$srcfile for the compiler.
122920 fix_srcfile_path=$lt_fix_srcfile_path
122922 # Set to "yes" if exported symbols are required.
122923 always_export_symbols=$always_export_symbols
122925 # The commands to list exported symbols.
122926 export_symbols_cmds=$lt_export_symbols_cmds
122928 # Symbols that should not be listed in the preloaded symbols.
122929 exclude_expsyms=$lt_exclude_expsyms
122931 # Symbols that must always be exported.
122932 include_expsyms=$lt_include_expsyms
122934 # Commands necessary for linking programs (against libraries) with templates.
122935 prelink_cmds=$lt_prelink_cmds
122937 # Specify filename containing input files.
122938 file_list_spec=$lt_file_list_spec
122940 # How to hardcode a shared library path into an executable.
122941 hardcode_action=$hardcode_action
122943 # Dependencies to place before and after the objects being linked to
122944 # create a shared library.
122945 predep_objects=$lt_predep_objects
122946 postdep_objects=$lt_postdep_objects
122947 predeps=$lt_predeps
122948 postdeps=$lt_postdeps
122950 # The library search path used internally by the compiler when linking
122951 # a shared library.
122952 compiler_lib_search_path=$lt_compiler_lib_search_path
122954 # ### END LIBTOOL CONFIG
122956 _LT_EOF
122958 case $host_os in
122959 aix3*)
122960 cat <<\_LT_EOF >> "$cfgfile"
122961 # AIX sometimes has problems with the GCC collect2 program. For some
122962 # reason, if we set the COLLECT_NAMES environment variable, the problems
122963 # vanish in a puff of smoke.
122964 if test "X${COLLECT_NAMES+set}" != Xset; then
122965 COLLECT_NAMES=
122966 export COLLECT_NAMES
122968 _LT_EOF
122973 ltmain="$ac_aux_dir/ltmain.sh"
122976 # We use sed instead of cat because bash on DJGPP gets confused if
122977 # if finds mixed CR/LF and LF-only lines. Since sed operates in
122978 # text mode, it properly converts lines to CR/LF. This bash problem
122979 # is reportedly fixed, but why not run on old versions too?
122980 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
122981 || (rm -f "$cfgfile"; exit 1)
122983 case $xsi_shell in
122985 cat << \_LT_EOF >> "$cfgfile"
122986 # func_dirname file append nondir_replacement
122987 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122988 # otherwise set result to NONDIR_REPLACEMENT.
122989 func_dirname ()
122991 case ${1} in
122992 */*) func_dirname_result="${1%/*}${2}" ;;
122993 * ) func_dirname_result="${3}" ;;
122997 # func_basename file
122998 func_basename ()
123000 func_basename_result="${1##*/}"
123003 # func_stripname prefix suffix name
123004 # strip PREFIX and SUFFIX off of NAME.
123005 # PREFIX and SUFFIX must not contain globbing or regex special
123006 # characters, hashes, percent signs, but SUFFIX may contain a leading
123007 # dot (in which case that matches only a dot).
123008 func_stripname ()
123010 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
123011 # positional parameters, so assign one to ordinary parameter first.
123012 func_stripname_result=${3}
123013 func_stripname_result=${func_stripname_result#"${1}"}
123014 func_stripname_result=${func_stripname_result%"${2}"}
123017 # func_opt_split
123018 func_opt_split ()
123020 func_opt_split_opt=${1%%=*}
123021 func_opt_split_arg=${1#*=}
123024 # func_lo2o object
123025 func_lo2o ()
123027 case ${1} in
123028 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
123029 *) func_lo2o_result=${1} ;;
123032 _LT_EOF
123034 *) # Bourne compatible functions.
123035 cat << \_LT_EOF >> "$cfgfile"
123036 # func_dirname file append nondir_replacement
123037 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123038 # otherwise set result to NONDIR_REPLACEMENT.
123039 func_dirname ()
123041 # Extract subdirectory from the argument.
123042 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
123043 if test "X$func_dirname_result" = "X${1}"; then
123044 func_dirname_result="${3}"
123046 func_dirname_result="$func_dirname_result${2}"
123050 # func_basename file
123051 func_basename ()
123053 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
123056 # func_stripname prefix suffix name
123057 # strip PREFIX and SUFFIX off of NAME.
123058 # PREFIX and SUFFIX must not contain globbing or regex special
123059 # characters, hashes, percent signs, but SUFFIX may contain a leading
123060 # dot (in which case that matches only a dot).
123061 # func_strip_suffix prefix name
123062 func_stripname ()
123064 case ${2} in
123065 .*) func_stripname_result=`$ECHO "X${3}" \
123066 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
123067 *) func_stripname_result=`$ECHO "X${3}" \
123068 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
123072 # sed scripts:
123073 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
123074 my_sed_long_arg='1s/^-[^=]*=//'
123076 # func_opt_split
123077 func_opt_split ()
123079 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
123080 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
123083 # func_lo2o object
123084 func_lo2o ()
123086 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
123088 _LT_EOF
123091 case $lt_shell_append in
123093 cat << \_LT_EOF >> "$cfgfile"
123095 # func_append var value
123096 # Append VALUE to the end of shell variable VAR.
123097 func_append ()
123099 eval "$1+=\$2"
123101 _LT_EOF
123104 cat << \_LT_EOF >> "$cfgfile"
123106 # func_append var value
123107 # Append VALUE to the end of shell variable VAR.
123108 func_append ()
123110 eval "$1=\$$1\$2"
123112 _LT_EOF
123117 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
123118 || (rm -f "$cfgfile"; exit 1)
123120 mv -f "$cfgfile" "$ofile" ||
123121 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
123122 chmod +x "$ofile"
123125 cat <<_LT_EOF >> "$ofile"
123127 # ### BEGIN LIBTOOL TAG CONFIG: CXX
123129 # The linker used to build libraries.
123130 LD=$lt_LD_CXX
123132 # Commands used to build an old-style archive.
123133 old_archive_cmds=$lt_old_archive_cmds_CXX
123135 # A language specific compiler.
123136 CC=$lt_compiler_CXX
123138 # Is the compiler the GNU compiler?
123139 with_gcc=$GCC_CXX
123141 # Compiler flag to turn off builtin functions.
123142 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
123144 # How to pass a linker flag through the compiler.
123145 wl=$lt_lt_prog_compiler_wl_CXX
123147 # Additional compiler flags for building library objects.
123148 pic_flag=$lt_lt_prog_compiler_pic_CXX
123150 # Compiler flag to prevent dynamic linking.
123151 link_static_flag=$lt_lt_prog_compiler_static_CXX
123153 # Does compiler simultaneously support -c and -o options?
123154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
123156 # Whether or not to add -lc for building shared libraries.
123157 build_libtool_need_lc=$archive_cmds_need_lc_CXX
123159 # Whether or not to disallow shared libs when runtime libs are static.
123160 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
123162 # Compiler flag to allow reflexive dlopens.
123163 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
123165 # Compiler flag to generate shared objects directly from archives.
123166 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
123168 # Whether the compiler copes with passing no objects directly.
123169 compiler_needs_object=$lt_compiler_needs_object_CXX
123171 # Create an old-style archive from a shared archive.
123172 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
123174 # Create a temporary old-style archive to link instead of a shared archive.
123175 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
123177 # Commands used to build a shared archive.
123178 archive_cmds=$lt_archive_cmds_CXX
123179 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
123181 # Commands used to build a loadable module if different from building
123182 # a shared archive.
123183 module_cmds=$lt_module_cmds_CXX
123184 module_expsym_cmds=$lt_module_expsym_cmds_CXX
123186 # Whether we are building with GNU ld or not.
123187 with_gnu_ld=$lt_with_gnu_ld_CXX
123189 # Flag that allows shared libraries with undefined symbols to be built.
123190 allow_undefined_flag=$lt_allow_undefined_flag_CXX
123192 # Flag that enforces no undefined symbols.
123193 no_undefined_flag=$lt_no_undefined_flag_CXX
123195 # Flag to hardcode \$libdir into a binary during linking.
123196 # This must work even if \$libdir does not exist
123197 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
123199 # If ld is used when linking, flag to hardcode \$libdir into a binary
123200 # during linking. This must work even if \$libdir does not exist.
123201 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
123203 # Whether we need a single "-rpath" flag with a separated argument.
123204 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
123206 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123207 # DIR into the resulting binary.
123208 hardcode_direct=$hardcode_direct_CXX
123210 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123211 # DIR into the resulting binary and the resulting library dependency is
123212 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123213 # library is relocated.
123214 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
123216 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123217 # into the resulting binary.
123218 hardcode_minus_L=$hardcode_minus_L_CXX
123220 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123221 # into the resulting binary.
123222 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
123224 # Set to "yes" if building a shared library automatically hardcodes DIR
123225 # into the library and all subsequent libraries and executables linked
123226 # against it.
123227 hardcode_automatic=$hardcode_automatic_CXX
123229 # Set to yes if linker adds runtime paths of dependent libraries
123230 # to runtime path list.
123231 inherit_rpath=$inherit_rpath_CXX
123233 # Whether libtool must link a program against all its dependency libraries.
123234 link_all_deplibs=$link_all_deplibs_CXX
123236 # Fix the shell variable \$srcfile for the compiler.
123237 fix_srcfile_path=$lt_fix_srcfile_path_CXX
123239 # Set to "yes" if exported symbols are required.
123240 always_export_symbols=$always_export_symbols_CXX
123242 # The commands to list exported symbols.
123243 export_symbols_cmds=$lt_export_symbols_cmds_CXX
123245 # Symbols that should not be listed in the preloaded symbols.
123246 exclude_expsyms=$lt_exclude_expsyms_CXX
123248 # Symbols that must always be exported.
123249 include_expsyms=$lt_include_expsyms_CXX
123251 # Commands necessary for linking programs (against libraries) with templates.
123252 prelink_cmds=$lt_prelink_cmds_CXX
123254 # Specify filename containing input files.
123255 file_list_spec=$lt_file_list_spec_CXX
123257 # How to hardcode a shared library path into an executable.
123258 hardcode_action=$hardcode_action_CXX
123260 # Dependencies to place before and after the objects being linked to
123261 # create a shared library.
123262 predep_objects=$lt_predep_objects_CXX
123263 postdep_objects=$lt_postdep_objects_CXX
123264 predeps=$lt_predeps_CXX
123265 postdeps=$lt_postdeps_CXX
123267 # The library search path used internally by the compiler when linking
123268 # a shared library.
123269 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123271 # ### END LIBTOOL TAG CONFIG: CXX
123272 _LT_EOF
123275 include/gstdint.h )
123276 if test "$GCC" = yes; then
123277 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123279 echo "/* generated for $CC */" > tmp-stdint.h
123282 sed 's/^ *//' >> tmp-stdint.h <<EOF
123284 #ifndef GCC_GENERATED_STDINT_H
123285 #define GCC_GENERATED_STDINT_H 1
123287 #include <sys/types.h>
123290 if test "$acx_cv_header_stdint" != stdint.h; then
123291 echo "#include <stddef.h>" >> tmp-stdint.h
123293 if test "$acx_cv_header_stdint" != stddef.h; then
123294 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123297 sed 's/^ *//' >> tmp-stdint.h <<EOF
123298 /* glibc uses these symbols as guards to prevent redefinitions. */
123299 #ifdef __int8_t_defined
123300 #define _INT8_T
123301 #define _INT16_T
123302 #define _INT32_T
123303 #endif
123304 #ifdef __uint32_t_defined
123305 #define _UINT32_T
123306 #endif
123310 # ----------------- done header, emit basic int types -------------
123311 if test "$acx_cv_header_stdint" = stddef.h; then
123312 sed 's/^ *//' >> tmp-stdint.h <<EOF
123314 #ifndef _UINT8_T
123315 #define _UINT8_T
123316 #ifndef __uint8_t_defined
123317 #define __uint8_t_defined
123318 typedef unsigned $acx_cv_type_int8_t uint8_t;
123319 #endif
123320 #endif
123322 #ifndef _UINT16_T
123323 #define _UINT16_T
123324 #ifndef __uint16_t_defined
123325 #define __uint16_t_defined
123326 typedef unsigned $acx_cv_type_int16_t uint16_t;
123327 #endif
123328 #endif
123330 #ifndef _UINT32_T
123331 #define _UINT32_T
123332 #ifndef __uint32_t_defined
123333 #define __uint32_t_defined
123334 typedef unsigned $acx_cv_type_int32_t uint32_t;
123335 #endif
123336 #endif
123338 #ifndef _INT8_T
123339 #define _INT8_T
123340 #ifndef __int8_t_defined
123341 #define __int8_t_defined
123342 typedef $acx_cv_type_int8_t int8_t;
123343 #endif
123344 #endif
123346 #ifndef _INT16_T
123347 #define _INT16_T
123348 #ifndef __int16_t_defined
123349 #define __int16_t_defined
123350 typedef $acx_cv_type_int16_t int16_t;
123351 #endif
123352 #endif
123354 #ifndef _INT32_T
123355 #define _INT32_T
123356 #ifndef __int32_t_defined
123357 #define __int32_t_defined
123358 typedef $acx_cv_type_int32_t int32_t;
123359 #endif
123360 #endif
123362 elif test "$ac_cv_type_u_int32_t" = yes; then
123363 sed 's/^ *//' >> tmp-stdint.h <<EOF
123365 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123366 #ifndef _INT8_T
123367 #define _INT8_T
123368 #endif
123369 #ifndef _INT16_T
123370 #define _INT16_T
123371 #endif
123372 #ifndef _INT32_T
123373 #define _INT32_T
123374 #endif
123376 #ifndef _UINT8_T
123377 #define _UINT8_T
123378 #ifndef __uint8_t_defined
123379 #define __uint8_t_defined
123380 typedef u_int8_t uint8_t;
123381 #endif
123382 #endif
123384 #ifndef _UINT16_T
123385 #define _UINT16_T
123386 #ifndef __uint16_t_defined
123387 #define __uint16_t_defined
123388 typedef u_int16_t uint16_t;
123389 #endif
123390 #endif
123392 #ifndef _UINT32_T
123393 #define _UINT32_T
123394 #ifndef __uint32_t_defined
123395 #define __uint32_t_defined
123396 typedef u_int32_t uint32_t;
123397 #endif
123398 #endif
123401 sed 's/^ *//' >> tmp-stdint.h <<EOF
123403 /* Some systems have guard macros to prevent redefinitions, define them. */
123404 #ifndef _INT8_T
123405 #define _INT8_T
123406 #endif
123407 #ifndef _INT16_T
123408 #define _INT16_T
123409 #endif
123410 #ifndef _INT32_T
123411 #define _INT32_T
123412 #endif
123413 #ifndef _UINT8_T
123414 #define _UINT8_T
123415 #endif
123416 #ifndef _UINT16_T
123417 #define _UINT16_T
123418 #endif
123419 #ifndef _UINT32_T
123420 #define _UINT32_T
123421 #endif
123425 # ------------- done basic int types, emit int64_t types ------------
123426 if test "$ac_cv_type_uint64_t" = yes; then
123427 sed 's/^ *//' >> tmp-stdint.h <<EOF
123429 /* system headers have good uint64_t and int64_t */
123430 #ifndef _INT64_T
123431 #define _INT64_T
123432 #endif
123433 #ifndef _UINT64_T
123434 #define _UINT64_T
123435 #endif
123437 elif test "$ac_cv_type_u_int64_t" = yes; then
123438 sed 's/^ *//' >> tmp-stdint.h <<EOF
123440 /* system headers have an u_int64_t (and int64_t) */
123441 #ifndef _INT64_T
123442 #define _INT64_T
123443 #endif
123444 #ifndef _UINT64_T
123445 #define _UINT64_T
123446 #ifndef __uint64_t_defined
123447 #define __uint64_t_defined
123448 typedef u_int64_t uint64_t;
123449 #endif
123450 #endif
123452 elif test -n "$acx_cv_type_int64_t"; then
123453 sed 's/^ *//' >> tmp-stdint.h <<EOF
123455 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
123456 #ifndef _INT64_T
123457 #define _INT64_T
123458 typedef $acx_cv_type_int64_t int64_t;
123459 #endif
123460 #ifndef _UINT64_T
123461 #define _UINT64_T
123462 #ifndef __uint64_t_defined
123463 #define __uint64_t_defined
123464 typedef unsigned $acx_cv_type_int64_t uint64_t;
123465 #endif
123466 #endif
123469 sed 's/^ *//' >> tmp-stdint.h <<EOF
123471 /* some common heuristics for int64_t, using compiler-specific tests */
123472 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
123473 #ifndef _INT64_T
123474 #define _INT64_T
123475 #ifndef __int64_t_defined
123476 typedef long long int64_t;
123477 #endif
123478 #endif
123479 #ifndef _UINT64_T
123480 #define _UINT64_T
123481 typedef unsigned long long uint64_t;
123482 #endif
123484 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
123485 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
123486 does not implement __extension__. But that compiler doesn't define
123487 __GNUC_MINOR__. */
123488 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
123489 # define __extension__
123490 # endif
123492 # ifndef _INT64_T
123493 # define _INT64_T
123494 __extension__ typedef long long int64_t;
123495 # endif
123496 # ifndef _UINT64_T
123497 # define _UINT64_T
123498 __extension__ typedef unsigned long long uint64_t;
123499 # endif
123501 #elif !defined __STRICT_ANSI__
123502 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
123504 # ifndef _INT64_T
123505 # define _INT64_T
123506 typedef __int64 int64_t;
123507 # endif
123508 # ifndef _UINT64_T
123509 # define _UINT64_T
123510 typedef unsigned __int64 uint64_t;
123511 # endif
123512 # endif /* compiler */
123514 #endif /* ANSI version */
123518 # ------------- done int64_t types, emit intptr types ------------
123519 if test "$ac_cv_type_uintptr_t" != yes; then
123520 sed 's/^ *//' >> tmp-stdint.h <<EOF
123522 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
123523 #ifndef __uintptr_t_defined
123524 typedef u$acx_cv_type_intptr_t uintptr_t;
123525 #endif
123526 #ifndef __intptr_t_defined
123527 typedef $acx_cv_type_intptr_t intptr_t;
123528 #endif
123532 # ------------- done intptr types, emit int_least types ------------
123533 if test "$ac_cv_type_int_least32_t" != yes; then
123534 sed 's/^ *//' >> tmp-stdint.h <<EOF
123536 /* Define int_least types */
123537 typedef int8_t int_least8_t;
123538 typedef int16_t int_least16_t;
123539 typedef int32_t int_least32_t;
123540 #ifdef _INT64_T
123541 typedef int64_t int_least64_t;
123542 #endif
123544 typedef uint8_t uint_least8_t;
123545 typedef uint16_t uint_least16_t;
123546 typedef uint32_t uint_least32_t;
123547 #ifdef _UINT64_T
123548 typedef uint64_t uint_least64_t;
123549 #endif
123553 # ------------- done intptr types, emit int_fast types ------------
123554 if test "$ac_cv_type_int_fast32_t" != yes; then
123555 sed 's/^ *//' >> tmp-stdint.h <<EOF
123557 /* Define int_fast types. short is often slow */
123558 typedef int8_t int_fast8_t;
123559 typedef int int_fast16_t;
123560 typedef int32_t int_fast32_t;
123561 #ifdef _INT64_T
123562 typedef int64_t int_fast64_t;
123563 #endif
123565 typedef uint8_t uint_fast8_t;
123566 typedef unsigned int uint_fast16_t;
123567 typedef uint32_t uint_fast32_t;
123568 #ifdef _UINT64_T
123569 typedef uint64_t uint_fast64_t;
123570 #endif
123574 if test "$ac_cv_type_uintmax_t" != yes; then
123575 sed 's/^ *//' >> tmp-stdint.h <<EOF
123577 /* Define intmax based on what we found */
123578 #ifdef _INT64_T
123579 typedef int64_t intmax_t;
123580 #else
123581 typedef long intmax_t;
123582 #endif
123583 #ifdef _UINT64_T
123584 typedef uint64_t uintmax_t;
123585 #else
123586 typedef unsigned long uintmax_t;
123587 #endif
123591 sed 's/^ *//' >> tmp-stdint.h <<EOF
123593 #endif /* GCC_GENERATED_STDINT_H */
123596 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
123597 rm -f tmp-stdint.h
123599 mv -f tmp-stdint.h include/gstdint.h
123603 default ) if test -n "$CONFIG_FILES"; then
123604 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
123605 # that multilib installs will end up installed in the correct place.
123606 # The testsuite needs it for multilib-aware ABI baseline files.
123607 # To work around this not being passed down from config-ml.in ->
123608 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
123609 # append it here. Only modify Makefiles that have just been created.
123611 # Also, get rid of this simulated-VPATH thing that automake does.
123612 cat > vpsed << \_EOF
123613 s!`test -f '$<' || echo '$(srcdir)/'`!!
123615 for i in $SUBDIRS; do
123616 case $CONFIG_FILES in
123617 *${i}/Makefile*)
123618 #echo "Adding MULTISUBDIR to $i/Makefile"
123619 sed -f vpsed $i/Makefile > tmp
123620 grep '^MULTISUBDIR =' Makefile >> tmp
123621 mv tmp $i/Makefile
123625 rm vpsed
123627 (cd include && ${MAKE-make})
123631 _ACEOF
123633 cat >>$CONFIG_STATUS <<\_ACEOF
123635 { (exit 0); exit 0; }
123636 _ACEOF
123637 chmod +x $CONFIG_STATUS
123638 ac_clean_files=$ac_clean_files_save
123641 # configure is writing to config.log, and then calls config.status.
123642 # config.status does its own redirection, appending to config.log.
123643 # Unfortunately, on DOS this fails, as config.log is still kept open
123644 # by configure, so config.status won't be able to write to it; its
123645 # output is simply discarded. So we exec the FD to /dev/null,
123646 # effectively closing config.log, so it can be properly (re)opened and
123647 # appended to by config.status. When coming back to configure, we
123648 # need to make the FD available again.
123649 if test "$no_create" != yes; then
123650 ac_cs_success=:
123651 ac_config_status_args=
123652 test "$silent" = yes &&
123653 ac_config_status_args="$ac_config_status_args --quiet"
123654 exec 5>/dev/null
123655 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123656 exec 5>>config.log
123657 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123658 # would make configure fail if this is the last instruction.
123659 $ac_cs_success || { (exit 1); exit 1; }